Topics /

Web & Frontend

The most popular blog posts about web & frontend on Hacker News. 4,615 posts.

Any year
3002

Trainwreck Design

trainwreck design 2024-08-14 the year is 2024, and i want to know my disk space usage. i recall a simple command i've used probably tens of thousands of times. df -h the year is 2024. instead of sensible output, i get... this: Filesystem Size Used Avail Use% Mounted on dev 7.7G 0 7.7G 0% /dev run 7.8G 1.5M 7.8G 1%…

3008

Facebook leaks user's IP addresses

Actually this is a common method of combatting spam, all of the various spam providers will block facebook as a whole if they don't include this information, which would obviously be a devastating annoyance. Go and send an e-mail from hotmail, or any kind of mailserver.. normal e-mail client, gmail, etc.. and you will…

3009

Building Bubbletea Programs

In the words of its authors Bubble Tea is a “powerful little TUI framework” for Go. It may be little but I found it had a steep learning curve before I could get truly comfortable with its power. I spent many a late night wrangling with broken layouts and unresponsive keys before learning the hard way where I had gone…

3010

Writing Hello World in Web Assembly (2017)

Web Assembly is written in an s-expression syntax (wast) and then needs to be translated down to binary encoded wasm. Below is a gist of wast that imports the stdlib.print function taking a memory location offset and a length, as well as importing a block of memory from the controlling runtime. We then store the…

3012

Twitter Boostrap Goodies

Twitter Bootstrap is a simple and flexible HTML, CSS, and Javascript for popular user interface components and interactions. In this post, I have found many useful tools, plugins and themes created specifically for Twitter Bootstrap. If you love using Twitter Bootstrap, I'm sure you will love all these resources.

3021

GetElementById vs. QuerySelector

A while ago, I was curious how the speed of document.getElementById compared to document.querySelector in Javascript for selecting a single element by ID. querySelector has to do a lot more work, so one would expect that it would be slower, but I didn't know if the difference was enough to care about.

3023

The Missing Protocol: Let Me Know

I want a new protocol, tentatively called “Let Me Know” (LMK). The purpose is to provide someone an anonymous way to get notified when a singular, specific event occurs. Here’s a basic use case: Some random blog author has published Parts 1 and 2 of a series. You enjoyed it, and you want to know…