Topics /
Web & Frontend
The most popular blog posts about web & frontend on Hacker News. 4,614 posts.
Reality Check for Cloudflare Wasm Workers and Rust
With native Rust support announced for Cloudflare Workers, one may be eager to jump in head first. I know I wanted to. However, I tested out a few use cases and found it too limiting. Either the desired APIs weren’t available, code size was too large, or the program couldn’t run within resource constraints. I remain…
A first look at Django's new background tasks
Django 6.0 introduces a built-in background tasks framework in `django.tasks`. But don't expect to phase out Celery, Huey or other preferred solutions just yet.
Dear Every Site That Paginates Articles
I’m sure you split stories like this into two pages for a good reason: to save my bandwidth. After all, the remaining 3,126 characters of the story’s body (1,530 bytes as transferred with gzip compression) would have increased the page’s total size by 0.32%.
The CSS Behind Figma
A look at some interesting use-cases for CSS flexbox and grid in Figma app.
The Re-Frame Guide: Front-End Architecture in Clojure
This Re-frame tutorial walks you through the main parts of Re-frame's structure, how they work together, and how they help you succeed in the long run building your single page application.
Cross-Site Request Forgery
Cross-Site Request Forgery countermeasures can be greatly simplified using request metadata provided by modern browsers.
New Khan Academy Exercise Framework Is Live
Today we’re pushing live a complete rewrite of the Khan Academy Exercise framework ( live demo ).
Things engineers believe about Web development
I wrote most of this post sometime in 2022 but I think it holds up alright in 2024 so I decided to publish it for posterity. I don’t really like doing posts like this—I’d much rather share some innocuous learnings or tips but it turns out I have opinions too 😓 Sorry! 2024-02-21: I’ve added a few reflections at the end…
Stop Validating Email Addresses With Your Complex Regex
Just stop, y’all. It’s a waste of your time and your effort. Put down your Google search for an email regular expression, take a step back, and breathe.
C++ UI Libraries
A list of free, cross-platform GUI solutions for C++.
Userdir URLs like https://example.org/~username/ are dangerous
This blog is written by Hanno Böck. Unless noted otherwise, its content is licensed as CC0 .
The web as a GUI toolkit
The web is kinda weird because it was originally created as a typesetting system, rather than a GUI toolkit. While this definitely has its drawbacks 1 and isn’t suitable for everything , I personally rather like the “web as a GUI toolkit” exactly because of its typesetting roots; it provides some features that few…
A new Microsoft browser?
Recently the news broke that Microsoft may be working on another browser instead of IE. After reviewing the available evidence I’ve come to the conclusion that, although Microsoft is making a few adjustments, and a name change for IE might be a good idea, the new browser will essentially be IE12. Still, I think we web…
John Gruber's Post-I/O Thoughts
The big loser this week, though, was Microsoft. They’re simply not even part of the game.
Common mistakes writing React components with hooks
The most common mistakes I found while writing react components, why they are mistakes and how to avoid or fix them.
Passwords For Your Facebook Account
This is interesting. You can log into your Facebook account using three passwords – one is the main password that you created and the other passwords can…
Coping with Flexbox
If only someone paid me everytime I visited CSSTrick's flexbox guide…or at least all those times when I fiddled around {justify,align}-{content,items} trying to make _something_ happen on screen. I wanted to form a better mental model of all the basic functionality that flexbox provides for all those…
Rails and Merb Merge
Today is a fairly momentous day in the history of Ruby web frameworks. You will probably find the news I’m about to share with you fairly shocking, but I will attempt to explain the situation. Before talking tech, and even going into the details of the announcement, I want
Fun with gzip bombs and email clients
I served a 10MB gzip bomb as an image in HTML email. Most clients and proxies coped, iOS Mail crashed and Evolution wrote 100GB of cache to my disk.
How to get that native iOS feel with PhoneGap
At Outbox we have been hard at work building our iPad application with PhoneGap . I wanted to share some of the lessons my team has learned...
Right-to-Left Styling 101
An extensive guide on how to style for RTL in CSS