New
The latest blog posts to take off on Hacker News. 4,614 posts.
Goodbye, Clean Code
Let clean code guide you. Then let it go.
Browser Games Aren't an Easy Target
If you're about my age and had a similarly dull upbringing, you probably also have memories of playing video games behind a teacher's back whenever class involved going to some sort of "computer lab." Flash games were the thing when I was in elementary school, and when I was in middle school, I'd bring Quake with me…
How to start a blog using Hugo
A detailed tutorial to start a blog with Hugo: write posts in Markdown, pick a theme, and deploy your static site for free on Netlify, Vercel, or GitHub Pages.
Mini HTTP Guide for Developers
A glance behind the curtain: it can affect engineering decisions
Promiscuous cookies and their impending death via the SameSite policy
Cookies like to get around. They have no scruples about where they go save for some basic constraints relating to the origin from which they were set. I mean have a think about it: If a website sets a cookie then you click a link to another page on that
Microsoft Edge (Chromium) – Elevation of Privilege to Potential RCE
With some luck and a couple of XSS bugs I was able to break the new Edge
Scammers registering date-based domain names
Yesterday, January 2nd, my wife received a billing alert from her phone provider. Luckily, she's not with EE - because it's a pretty convincing text. That domain name is specifically designed to include the day's date. If you're stood up on a crowded train, with your phone screen cracked, would you notice that a . is…
Performance Testing HTTP/1.1 vs. HTTP/2 vs. HTTP/2 and Server Push for REST APIs
When building web services, a common wisdom is to try to reduce the number of HTTP requests to improve performance.
Reasons to Learn Redux as a JavaScript Developer
Redux greatly shaped how we develop modern JavaScript applications nowadays. Here I want to give a walkthrough on all the mindset changes we went through as JavaScript developers ...
No, that dot in the domain name of the URL is not a mistake (2004)
You've come to this page because you've asked a question similar to the following:
Unintuitive JSON Parsing
Despite the goal of JSON being a subset of JavaScript — which it failed to achieve (update: this was fixed ) — parsing JSON is quite unlike parsing a programming language. For invalid inputs, the specific cause of error is often counter-intuitive. Normally this doesn’t matter, but I recently ran into a case where it…
How I made a website with Svelte
Just like last year, I made a list of the best media I enjoyed over the year. This includes music, films, series and games.
Apple News No Longer Supports RSS
Want to add an RSS feed of a site to News app? Can’t find a site you like in the Apple approved list on News app? No problem, here’s how you can add them yourself from Safari in iOS and subscribe directly[…]
Scaling React Server Side Rendering
I had the opportunity to work on scaling a React rendering service, adapting a fixed hardware provision to deal with increasing load. Over the course of many months, incremental improvements were made to the system to enable it to cope with demand. I thought it might be useful to share the more interesting insights…
Using GoAccess for self-hosted web analytics
Intro With current hot topic of ditching Google services wherever and whenever we can, we often forget about that little piece of JavaScript code embedded in …
Implementing WebGPU in Gecko
As WebGPU specification is approaching a usable shape, we are working on prototype implementations in both Gecko and Servo. If you ever wondered about what i...
Randomize HN: Removing the vote threshold for getting to the front page
You ever notice that there's this funny threshold for getting to the front page on sites like HN? The exact threshold varies depending on how much traffic there is, but, for articles that aren't wildly popular, there's this moment when the article is at N-1 votes. There is, perhaps, a 60% chance that the vote will…
Simpler UI Logic With Finite State Machines
A site for cataloging the many technical musing of Andy Desmarais
The modern web is becoming unusable
Some thoughts about the modern web
Progressive React
Building progressive and performant sites with React
I don’t use Semantic Web technologies anymore, though they still influence me
90Phut TV là trang web không thể bỏ qua dành cho những tín đồ theo dõi bóng đá trực tuyến. Kênh đảm bảo mang đến chất lượng tường thuật mượt mà cùng nhiều tin
Still Why No HTTPS?
Back in July last year, Scott Helme and I shipped a little pet project that tracked the world's largest websites not implementing HTTPS by default [https://www.troyhunt.com/why-no-https-heres-the-worlds-largest-websites-not-redirecting-insecure-requests/] . We called it Why No HTTPS? [https://whynohttps.
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…
Twitter to decentralize something
Twitter is funding a small independent team of up to five open source architects, engineers, and designers to develop an open and decentralized standard for social media. The goal is for Twitter to ultimately be a client of this standard.