Tomorrow I’ll do a livestream where I play the piano! 20:00 CET (19:00 UTC), one hour, here: twitch.tv/lucaswerkmeister/

fedi noob question 

Do people on Mastodon not fav as much as people like on Twitter? I think of them as equivalent, but am very confused by some RT-to-fav ratios I’ve seen here (often I’m the only one to fav, which feels bizarre).

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.

Show thread

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

Show more
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!