There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

future_turtle

@[email protected]

This profile is from a federated server and may be incomplete. Browse more on the original instance.

future_turtle ,

Hanging transparent “jewelry holder” for the hall closet. Instead of a box/drawer, I now have 80 little pockets for all the various adapters, connectors, and small cables

How can I launch a program from a bash XTerm and run a while loop at the same time?

I want to launch Oobabooga Textgen WebUI from the command line with its serial output. I also want to run a while loop that retrieves the Nvidia GPU memory available and temperature for display on the header bar with a 5 second sleep delay. How do I run both of those at the same time?

future_turtle ,

You probably want to make a launcher script. An easy start would be to background your main process and route the output wherever you want. Run your monitor loop and send the output wherever you want. Then you can examine and kill the main background pid on script exit. The simplest way in bash might be something like kill $(jobs -p)

This can get a bit more complicated if you want it all to exit if anything fails or something like that. Read up on pkill, disown, kill, $$, trap…tons of possibilities

Some of these things aren’t very portable though, so do check if you decide to switch shells….or do what the rest of us do and scratch your head for an hour before cussing ourselves for not being posix compliant, swear we will next time, then don’t

future_turtle ,

I have Black Sea by Caroline Eden. It’s as much of a travelogue as a cookbook, so it does make for an entertaining read. You might guess that it doesn’t cover the entire Balkan region…just the parts around the Black Sea.

It’s certainly not grandmas secret, but everything I’ve made from there has at least been well received by Romanians. Then again, it’s as good of a starting point as an American BBQ cookbook if you read it with the understanding that similar ingredients might yield quite different results regionally.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines