

Any advantages to this over scp, samba/nfs, or even something like LocalSend?


Any advantages to this over scp, samba/nfs, or even something like LocalSend?


Oh very neat, that works great! A much better solution.


Good call on DBUS. Setting XDG_RUNTIME_DIR seems to be enough to fix it up, I’ll update my other response.


I know you’re looking for a desktop solution, but here’s something that you can try in case you can’t find one – I’m betting that having a solution is better than having none!
So I just had a quick muck around:
pgrep to detect if a process with a given name is running/dev/pts/0 to trigger a desktop notificationAs a test, the following command will look for a process called syncthing and send a desktop notification if it can’t find it:
pgrep syncthing || echo "Syncthing is not running > /dev/pts/0"
To set up a cron job:
crontab -e (if you need to pick an editor, nano will probably be your best bet, it’s easiest to use)0 * * * * pgrep syncthing || echo "Syncthing is not running" > /dev/pts/0
0 * * * * sets up the schedule (on the 0th minute of every hour, every day of the month, every month, on every day of the week)If you ever want to get rid of it, just open the cron file again (crontab -e) and remove the line.
I gave this a go on KDE under Wayland and it seems to do the trick. Good luck, I hope you find what you’re looking for!
[edit-1] added step (2) to install libnotify-bin in case you don’t have it already.
[edit-2] added XDG_RUNTIME_DIR to step (4)
[edit-3] removed references to libnotify, replace with /dev/pts/0 (Nice one, @sun_is_ra@sh.itjust.works !)


Hello! I don’t know of a desktop watchdog application that will do this for you, but you may be able to achieve this with a simple cron job. Probably just an hourly crontab entry that looks for a running process with the right name, and uses something like notify-send to send an alert if it’s not found.
I’ll jump on the computer and have a quick play, though I run gnome not plasma so I don’t know how well it will translate.
Sure, I would guess that the same goes for just about any contest that can’t be objectively measured.
At least they’re trying to do fun, interesting, and useful. 🙂
Not sure if you’re familiar or not with the Ig Nobel Prize (the “ig”is important - it’s not the same as the Nobel Prize), but it’s a kind of parody-but-not of the Nobel prize. It typically covers off-beat or weird science, to “honor achievements that first make people laugh, and then make them think.”
It’s about as quirky as the science it covers:
Miss Sweetie Poo, a little girl who repeatedly cries out, “Please stop: I’m bored”, in a high-pitched voice if speakers go on too long
Throwing paper planes onto the stage is a long-standing tradition. For many years Professor Roy J. Glauber swept the stage clean of the airplanes as the official “Keeper of the Broom”. Glauber could not attend the 2005 awards because he was traveling to Stockholm to claim a genuine Nobel Prize in Physics.
Calling each subsequent event the “first” is definitely on brand!


I knew what was coming and I looked anyway. I don’t know why, because it will never not make me sad.


I had a poke around but couldn’t find an exact match. At face value it does appear to be a molex variant, though.
Perhaps you might have some luck thumbing through the molex catalog: https://www.molex.com/en-us/products/connectors/wire-to-wire-connectors


Something something South Park, something something Ookie Mouth.
🫠


Don’t know much about the training side of things, but I have Piper set up with home assistant using the Wyoming protocol and it just goes. Some of the out-of-the-box voices are pretty decent too.
You may need to log out and log back in for the addition of the sudo group to take effect.
The default config sudo should be fine, but if the above doesn’t work then you may also want to look up “visudo” to check/modify the sudo config.


Save you a click:
Robinson was making an appearance at the Mayberry truck show in Mount Airy when he was injured, campaign spokesperson Mike Lonergan said in a statement.
Robinson was treated at Northern regional hospital in Mount Airy for second-degree burns, he added.
The rest of the article is fluff.


Must be a problem with floating point precision.


Save you a click:
Joe Emerson had been struggling over the death of his best friend, Scott, a pilot who died while on a run six years earlier. Emerson had been away for the weekend with friends, celebrating and remembering Scott.
…
On Friday night, the group took psychedelic mushrooms – a drug that can make you hallucinate and typically has effects that last a few hours. Emerson said that for him, the physical side effects lasted days, and the consequences a lifetime.
…
“There are two red handles in front of my face,” Emerson recalled. “And thinking that I was going to wake up, thinking this is my way to get out of this non-real reality, I reached up and I grabbed them, and I pulled the levers.”
I thought that was…
mandated


Save you a click:
The second case that begins next month began with a lawsuit filed in the US District Court for the Eastern District of Virginia by the Justice Department and eight states in December 2020, during former President Trump’s administration.
Prosecutors allege that since at least 2015 Google has thwarted meaningful competition and deterred innovation through its ownership of the entities and software that power the online advertising technology market.


I’m sure there are ways to suppress output from stdin presenting in the terminal but I couldn’t tell you how to do it without looking it up myself.
The easiest entry point to this problem that I can think of off the top of my head is password input masking (e.g., when you run sudo and type your password, it prevents character output even though the characters are read by the application).
There is almost certainly a much better and more appropriate mechanism to prevent stdin characters from printing directly to the terminal (perhaps some kind of special character? A TTY control option?) but I don’t know it off-hand.


In general allowing content to be supplied in advance on stdin is desirable behavior, because it allows a developer to (for example) write applications that work as pipes that can have content queued on the input stream ready for processing.
If that behaviour doesn’t suit your use case and you need to only accept input after a certain point, you could read() and simply ignore/discard the current content of stdin before you write your question/accept the answer from the user.
For everyone who wanted to know what a fish would look like if it was a sock puppet, now you know.
Nature’s wild.