New
The latest blog posts to take off on Hacker News. 8,469 posts.
Firefox on the brink?
The Big Three may effectively be down to a Big Two, and right quick.
Django 5.0
Posted by Natalia Bidart on Dec. 4, 2023
HTML attributes for improved accessibility and user experience
A collection of bad practices in HTML, copied from real websites.
Learn how modern JavaScript frameworks work by building one
In my day job, I work on a JavaScript framework (LWC). And although I’ve been working on it for almost three years, I still feel like a dilettante. When I read…
Build your own WebAssembly Compiler (2019)
Have you ever wanted to write your own compiler? ... yes? ... of course you have! I've always wanted to have a go at writing a compiler, and with the recent release of WebAssembly, I had the perfect excuse to have a go.
A new approach to domain ranking
This is a very brief post announcing a fascinating discovery. It appears to be possible to use the cosine similarity approach powering explore2.marginalia.nu as a substitute for the link graph in an eigenvector-based ranking algorithm (i.e. PageRank). The original PageRank algorithm can be conceptualized as a…
Dark patterns in UX design and how to avoid them
Ten dark patterns in UX design, from confirmshaming to the roach motel, what each one costs you in trust, and honest alternatives to use instead.
You don't need JavaScript for that
A collection of bad practices in HTML, copied from real websites.
Buggy animation in Atlassian Bitbucket is wasting half a CPU core at all times
I was running some benchmarks the other day. I usually have a lot of things running (Teams, Chrome, IDE, etc…) but I have to close everything to run some tight benchmarks. When I am done, one of th…
PeerTube v6
It's #givingtuesday, so we're giving you PeerTube v6 today! PeerTube is the software we develop for creators, media, institutions, educators... to manage their own video platform, as an alternative to YouTube and Twitch. 🦆 VS 😈: Let's take back some ground from the tech giants! Thanks to your donations to our…
The `hanging-punctuation property` in CSS
(I did a Twitter thread on this a while back, against my better judgment, and now moving to a proper blog.) The hanging-punctuation property in CSS is almost a no-brainer. The classic example is a …
$20k bounty was claimed
Prettier, a JavaScript code formatter, has seen an incredible adoption thanks to its careful handling of the very, very, long tail of ways people can write code. At this point, the formatting logic has been solid and after our work on ternaries lands, it will be in a happy state.
Web Components Eliminate JavaScript Framework Lock-In
Web components can dramatically loosen the coupling of JavaScript frameworks. To prove it, we're going to do something kinda crazy: build an app where every single component is written in a different JavaScript framework.
Demystifying Web Push Notifications
For my recent One Day Build: Expense Tracking project I wanted to enable notifications in a progressive web app. ChatGPT struggled to generate any good code for me, and I also struggled to find any minimal clear explanations online.
Chrome pushes forward with plans to limit ad blockers in the future
Google has set a date for the introduction of Manifest V3 which will hurt the capabilities of many ad blockers.
An Interactive Guide to CSS Grid
CSS Grid is an incredibly powerful tool for building layouts on the web, but like all powerful tools, there's a significant learning curve. In this tutorial, we'll build a mental model for how CSS Grid works and how we can use it effectively. I'll share the biggest 💡 lightbulb moments I've had in my own learning…
.NET Blazor
Programming, Coffee and Indie Hacking
RSS can be used to distribute all sorts of information
Thoughts for Nov 19, 2023
Why I tend not to use content negotiation
In this essay, Carson Gross explores his preference for separating JSON and hypermedia APIs instead of using content negotiation, a feature in HTTP that allows clients to request different formats (e.g., HTML, JSON). He discusses the limitations of content negotiation in APIs, especially when mixing stable, versioned…
Rocket v0.5: Stable, Async
Rocket is a web framework for the Rust programming language that makes it simple to write fast web applications without sacrificing flexibility or type safety.
HTML Web Components: An Example
In my article on HTML web components , I said: But the unique power of web components (in the browser) is that they can render before JavaScript. React…
Google resumes transition to Manifest V3 for Chrome extensions
In December of last year, we paused the planned deprecation of Manifest V2 in order to address developer feedback and deliver better solutions to migration issues . As a result of this feedback, we’ve made a number of changes to Manifest V3 to close these gaps , including:
You don't need a CRDT to build a collaborative experience
You don’t need CRDTs You don’t need CRDTs for collaborative experiences. First lets get the ‘what-about-ery’ out the way… Things you do need CRDTs for …
The Small Website Discoverability Crisis (2021)
There are a lot of small websites on the Internet: Interesting websites, beautiful websites, unique websites. Unfortunately they are incredibly hard to find. You cannot find them on Google or Reddit, and while you can stumble onto them with my search engine, it is not in a very directed fashion. It is an unfortunate…
Bring Back Webrings
I built a webring for personal websites.
Discouraging the use of web application firewalls
Mac's Tech Blog
HTML Web Components
I think the word “component” in “web components” confused a lot of people — at least it did me. “Web components” sounded like the web platform’s equivalent to…