Recent submissions

Comment · 3 months ago
No, this only removes parsing CELT inside an ogg container (because CELT itself is going away), not support for ogg itself.
Comment · 6 months ago
> Talk about the war on Christmas!

Not just a war on Christmas, but an actual war too: this led to a whole bunch of Christmas riots throughout England, including Canterbury's famous "Plum pudding Riots", where rioters ended up sacking the mayor's house and taking over control of the city for weeks. The whole of Kent ended up revolting after the rioters' trial, essentially starting the Second English Civil War.

Comment · 7 months ago
Comment · 1 year ago
Putting API contracts aside, the problem is also that people use a package manager as if it was a code snippet manager.

As in, "how do I check if a string starts with a shebang" should result in some code being pasted in your editor, not in a new dependency. There is obviously a complexity threshold where the dependency becomes the better choice, but wherever it is it should be way higher than this.

Comment · 1 year ago
Comment · 4 years ago
Comment · 4 years ago
Comment · 4 years ago
Yes, it works the same.

Since mpv 0.34 it even looks for yt-dlp first, and fallback to youtube-dl otherwise. Before that you had to set an option, or just symlink youtube-dl to yt-dlp.

Comment · 5 years ago
Unicode has both MICRO SIGN (U+00B5) and GREEK SMALL LETTER MU (U+03BC). The former is the one on (most) people's keyboard, and it shouldn't be used to type actual Greek.
Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
On Firefox you can go to `about:processes`.

It lists tabs by process, and includes the PID (on Linux; no idea about other platforms). You can also directly kill tabs and processes from there.

Comment · 5 years ago
To be fair, this is more a Rust Syntax Reference Sheet than any kind of cheat-sheet. It basically has everything.

It's useful to quickly lookup the syntax for something you never use, for example. Or to browse and discover things you didn't know were even possible.

Comment · 6 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton