Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 4,615 posts.

Web & Frontend
Any year
3156

Live Streaming in Rails 4.0

TL;DR Rails 4.0 will allow you to stream arbitrary data at arbitrary intervals with Live Streaming. HAPPY MONDAY EVERYONE! Besides enabling multi-threading by default, one of the things I really wanted for Rails 4.0 is the ability to stream data to the client. I want the ability to treat the response object as an I/O…

3167

CSS: Unavoidable Bad Parts

An ersatz CSS tutorial for people who need to style a web page, but aren't web developers. I am a wrong person to write this kind of thing, as I have neither the time, nor experience. I'd much rather read a book about this. Alas, I had to learn all this stuff from trawling MDN, so perhaps it is valuable to document…

3171

JavaScript Modularity Shaming

Pete Hunt of React fame recently got into an online discussion about the pros and cons of Webpack vs. Browserify . In the discussion he inadvertently coins a hilarious term for a form of rhetoric in some circles of the JavaScript community - “Modularity Shaming”. React itself has been on the receiving end of…

3174

IPFS and Their Gateways

The InterPlanetary File System (IPFS) is according to the Wikipedia description: "a protocol, hypermedia and file sharing peer-to-peer network for storing and sharing data in a distributed file system.". It works a little like bittorrent and you typically access content on it using a very long hash in an ipfs:// URL…

3179

Building the new hypermedia systems

A shiny new edition of Hypermedia Systems is out! Apart from incorporating typo and grammar fixes sent in by readers, the book was completely redesigned inside with a new layout. To achieve a much higher fidelity of design, we ported the book to Typst --- the hot new LaTeX replacement.