fedi noob question Show more

Announcement: In general, I’d like to reduce the bus factor of the tools I write on my own; if you’re interested in co-maintaining them, you can always contact me. See meta.wikimedia.org/wiki/User:L for a bit more on this.

The tool now supports editing as well! Click the “add region” button, then drag the mouse across the image with the left mouse button held down.

If you’re logged in via OAuth, the edit is made directly, otherwise the tool copies QuickStatements syntax to your clipboard. See wikidata.org/wiki/User:Lucas_W for more documentation.

I think something’s not quite working right here :/ any ideas? (no beetles in my timeline either)

TIL: O_APPEND doesn’t seek to the end of the file when you open it – instead, every write() on that fd appends to the end of the file (seek + write are atomic).

Do you use GNOME Terminal? Do you use tmux? Have you recently encountered problems like “failed to use specified server” or “failed to get screen from object path”? This might help you! github.com/lucaswerkmeister/ho

TIL: Linux supports atomically exchanging files!

renameat2(
AT_FDCWD, oldpath,
AT_FDCWD, newpath,
RENAME_EXCHANGE
)

oldpath and newpath must be on the same mounted file system, but can be in different directories and have different types.

However, there’s no glibc wrapper or coreutils tools for this yet. (Also, note that all Unices already support atomically replacing symbolic links, which is sufficient for a lot of cases where you might use RENAME_EXCHANGE.)

New post! Setting up an encrypted Linux system across an SSD and an HDD, using the SSD to cache frequently used data via LVM: lucaswerkmeister.de/posts/2018

Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!

We adhere to an adapted version of the TootCat Code of Conduct and follow the Toot Café list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators.

Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!