Topics /
Web & Frontend
The most popular blog posts about web & frontend on Hacker News. 8,467 posts.
Modern Front-end in Rails
An opinionated guide to modern, modular, component-based approach to handling your presentation logic in Rails that does not depend on any frontend framework. Follow our three-part tutorial to learn the bare minimum of up-to-date frontend techniques by example and finally make sense of it all. Part 1: goodbye Asset…
ASCII Clouds
A dynamic ASCII art cloud generator that creates cloud patterns in real-time
An illustrated guide to OAuth
OAuth was first introduced in 2007.
SAML: A fractal of bad design
SAML, the XML-based authentication protocol that birthed the SSO industry, is fundamentally flawed due to XML complexity, canonicalization issues, enveloped signatures, and design ossification, making it vulnerable to signature wrapping attacks and parser differentials that persist despite decades of awareness…
Flat UI Elements Attract Less Attention and Cause Uncertainty
In an eyetracking experiment comparing different clickability clues, weak and flat signifiers required more user effort than strong ones.
HTTP/2 Push is dead
One of the hot features that came with HTTP/2 was PUSH frames. The main idea is that if the server can predict what requests a client might want to make, the server can preemptively send request/response pairs to the client and warm its cache.
Django 1.6 released
The latest official version is 6.1.3
Servo Continues Pushing Forward
An update from Adenilson Cavalcanti and Lars Bergstrom
Useful patterns for building HTML tools
I’ve started using the term HTML tools to refer to HTML applications that I’ve been building which combine HTML, JavaScript, and CSS in a single file and use them to …
Apollo Client 1.0: A flexible, community-focused JavaScript GraphQL client
Today, we are proud to announce Apollo Client 1.0, “Pink Panther”! Apollo Client is now fully featured, stable and production-ready. If you’ve been holding off on trying GraphQL or Apollo, now’s a great time to check it out.
Please make your table headings sticky
I often stumble upon large data sets or table layouts across the web. When these tables contain hundreds of rows of content, things become problematic once you start to scroll…
Most RESTful APIs aren't really RESTful
When talking about REST, it is worth reading the dissertation of Roy Thomas Fielding. The original paper that describes RESTful web, “Architectural Styles and the Design of Network-based Software Architectures” Roy T. Fielding (2000), introduces the Representational State Transfer (REST) architectural style as a…
Rules for creating good-looking user interfaces
Creating good-looking user interfaces has always been a struggle for me. If you’re in the same camp, this might help.
API pagination design
Returning all results for a given query could be a challenge for an API, especially if there are thousands of results. It puts a load on a server, on a [...]
What’s Up With All These Changes in Rails?
Yesterday, there was a blog post entitled "What the Hell is Happening to Rails" that stayed at the number one spot on Hacker News for quite a while. The post and many (but not most) the comments on the post reflect deep-seated concern about the recent direction of Rails.
Easy SVG sparklines
Using SVG to easily create sparkline charts, and rendering them on the server side with Elixir and Phoenix.
The 18 things you must do when launching a new website
The process of launching a new website is, for many entrepreneurs, bloggers and business owners, an uncertain and scary prospect. This is often due to both unanswered questions and incomplete knowledge of which questions to ask. In this post, I'll give my best recommendations for launching a new…
DuckDuckGo email protection beta now open
DuckDuckGo Email Protection is a free email forwarding service that removes multiple kinds of trackers and lets you create unique private email addresses.
Examining the covidtests.gov architecture
A day early, the Biden Administration has quietly launched the new website that allows households to order four COVID-19 rapid antigen tests.
Lies I was told about collab editing, Part 1: Algorithms for offline editing
In early 2024, I began investigating collaborative editing systems for use in Moment ’s core text editor.
WebVM: Server-less x86 virtual machines in the browser
We made a server-less virtual Linux environment that runs unmodified Debian binaries in the browser. This is powered by CheerpX, a WebAssembly virtualization platform. Feel free to play with it and report bugs: https://webvm.io
Migrating from Google Analytics
In this post we'll explore what happened when I migrated away from Google Analytics (GA) to a self-hosted solution. The tool that I migrated to is an open-source platform called Countly . It offers a subset of features from what GA offers.
Htmx 1.9.0 has been released
htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext htmx is small (~14k min.gz’d), dependency-free, extendable, IE11 compatible & has reduced code base sizes by 67% when…
Servo nightly builds on Windows now available
Servo's Windows builds are ready for public consumption.
How to Favicon in 2021: Six files that fit most needs
Prefer SVG over PNG, trust browsers to downscale, drop obscure formats—the ultimate, exhaustive guide to favicons for modern web. Includes steps for static HTML and Webpack.