Recent submissions

Comment · 2 years ago
When this first came out I retrieved the list of stations (around 20k, I think it was just a JSON file), converted it to .m3u8, and I have since used it as a playlist for WinAmp. It's playing one of those streams right now, using 4MB of memory and practically no CPU.

Over the years, several streams (or the station themselves unfortunately) have gone offline. To refresh my list I'd have to scrape the "globe", and it doesn't feel like the right thing to do.

Has anyone encountered a similar website, but with a simple list of public streams?

Comment · 2 years ago
Comment · 3 years ago
Comment · 3 years ago
https://dreadnaut.altervista.org - I can't believe I've been writing on it for 20 years now. I duplicated all content in English and Italian for a few years, then stuck to Italian when I moved to the UK — need to keep the balance.

- Some vim stuff: https://dreadnaut.altervista.org/categorie/vim

- Some web stuff: https://dreadnaut.altervista.org/categorie/web

I'm also fond of the handful of short stories I managed to produce

- https://dreadnaut.altervista.org/categorie/sogni

- https://dreadnaut.altervista.org/categorie/storie

And the books section has neat CSS-only shelves:

- https://dreadnaut.altervista.org/libri

Comment · 3 years ago
Comment · 4 years ago
Péter/Zak originally started the competition in 2001. I started helping out in 2012, and took over the main duties a few years later.

But indeed, that's Zak from the game! The favicon for the website is also a tiny version of the character's sprite.

Comment · 4 years ago
Comment · 4 years ago
Don't panic: this deprecates `${var}`, which is a less-common syntax for interpolation, but leaves the most common ones, `$var` and `{$var}`, in place.

It reduces the number of slightly different ways to do one thing, and clears the ground for adding any-expression interpolation, which PHP is currently missing.

Comment · 4 years ago
"Everything in moderation, including moderation."
Comment · 4 years ago
> Does anyone have any examples of any other single-file app with a comprehensive interface like Files app that is entirely self-contained?

phpLiteAdmin (https://github.com/phpLiteAdmin/pla) is developed as separate PHP, JS, and CSS files. A "build" script merges all into a single PHP script, which includes compressed resources inlined after a call to `__halt_compiler()`. The same code can run as separate files, or as a single one.

I wrote the original "build", years ago, as we started extracting classes out of a procedural single file.

[edit] Link to the interesting bit: https://github.com/phpLiteAdmin/pla/blob/master/phpliteadmin...

Comment · 4 years ago
No problem, thank you!
Comment · 4 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton