assigning TCP ports to services (e.g. http is 80) makes sense

until you learn about DNS SRV records

and the fact that virtualhosts are a half-as-good, HTTP only, hacky solution for the same problem

(so hacky that they had to put it into TLS even though it's the wrong level in the stack)

like, we could have multiple web servers running on multiple ports of the same machine, and DNS would just point to the right thing

but no, it has to be port 80

Yet another mildly disorganized post about sockets! But hey, at least the article I'm linking to is really good.

, episode 13.

Simon :emacs: boosted
Simon :emacs: boosted

Please boost if you like , niche programming languages, retro computing, or smallnet, please. I'm looking for online nerd friends.

Simon :emacs: boosted
Simon :emacs: boosted

Why does saving a tiny file onto an NFS mount take so much time that I have enough time to write toots while it's happening?

(NFS is nice in theory, but somehow always impressively bad in practice)

I figured out a lot more about how GRUB works than I did know about before... especially on how it finds its various parts if you have a lot of hard drives. Here is an article with the results:

, episode 12.

Simon :emacs: boosted

TIL: Flamingos can stand on one leg, even if they're dead. Also, the reason you usually see flamingos standing on one leg is because it's easier for them. They're less stable on two legs due to how their knee joints evolved.

Simon :emacs: boosted

@sotolf "windows with a linux kernel" is a really fun conspiracy theory! and I do agree that it'd actually work, even. (they've swapped out kernels under their OS once already, after all)

Actually, I got so much into this last year that I ended up writing a random essay on it; just put it up on my site in case anyone is interested :) (comes with a timeline up to 2028 ;))

Why can't we neatly have bidirectional pipes forwarded over most remote file system protocols?

(and how awesome it'd be if we could)

, episode 11.

Simon :emacs: boosted

Wow, after 25 years of Unix experience, I learned that you can filter output in #less.

Press ampersand (&) and enter a regex to show only lines matching the regex.

Press ampersand (&) and then exclamation mark (!) to apply an inverse filter.

looks like fruit flies do sleep sometimes.

In fact, by recognizing that it's 3am, they're clearly exhibiting a higher level of intelligence than I do.

(but no, that late afternoon coffee was _still_ worth it.)

On billionaires, capitalism, and how it's "making a difference" that counts, but... in a somewhat non-conventional sense.

, episode 10.

Simon :emacs: boosted

Mozilla: *removes icons for ""better usability""*
Also Mozilla: *won't add a single checkbox or button to toggle dark mode on websites*

Absolutely perfect priorities right there, 10/10

... so my site ended up having a global sidebar with links... but how do you auto-update them on all pages if it's all written by hand & you don't have infinite amounts of time?

Writeup & demo at

(... well, um, it's not quite on the side though. But it's a bar! Kinda.)

, episode 9.

tax return time!

mine has a

this year's "improvement": it doesn't only calculate taxes and concatenate all the pdfs, but also recompiles since I had to add a bit of code to it to make some things work

I do have a vague feeling that this is not how most people do their taxes

Simon :emacs: boosted

Signal created targeted ads for Instagram that show the personal data that Facebook collects about you and sells access to.

They were blocked.

Simon :emacs: boosted

Uhh, so /dev/yes is now a thing for real too 😆

Since it's kernel-side, there has to be a separate implementation for each kernel. As of now, the following kernels are supported: Linux, GNU #Hurd, XNU (Darwin), and #SerenityOS.

Performance and supported features depends on the particular implementation and kernel, but at least on Linux and the Hurd, /dev/yes is ≈3 times faster than GNU yes(1).

Show thread
Simon :emacs: boosted

'Mute Thread' and 'Follow Thread'. I would like to see these features added to mastodon. I don't want to follow people just to have a look at the interesting conversation they are having nor do I want to look at some conversations that don't interest me on my home timeline.

Show older

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.