New
The latest blog posts to take off on Hacker News. 49,250 posts.
Philip Anderson 1923-2020
I heard this morning about the death yesterday of Philip Anderson, at the age of 96. It’s not hard to make the case that Anderson was the most important condensed matter theorist of the twent…
Cognitive Biases in Software Development
A couple of years ago, I started my first job as a programmer. On the first day, I entered the office, sat in my new chair, turned on the computer, checked out a project from the version control system and opened it in IDE. The first-ever piece of the code I saw looked like that: // TODO it works, but it's ugly…
Please Fund More Science
Experts on the COVID-19 pandemic seem to think there are three ways out—that is, for life, health, and the economy to return roughly to normal. Either we get a vaccine good enough that R0 for the...
Problems with Japan's Covid-19 reports
The Japanese government seems incapable of getting their act together so that they can provide meaningful data to the public.
Writing an OS in Rust: Async/Await
In this post, we explore cooperative multitasking and the async/await feature of Rust. We take a detailed look at how async/await works in Rust, inclu…
Lead-Free Solder Is Better for You
I spent the morning reading material Safety Data Sheets, because someone on the internet was wrong!
How to burn the most money with a single click in Azure
The twit was followed by a very productive discussion, with many nice people trying to figure out even better ways to spend money on AWS. As an Azure user, I felt sad and left out, so I decided to fix this injustice. If you are in quarantine and you have insane amounts of money to spend, I got you covered: you only…
You’re not writing code, you’re solving problems
If you go beyond software, and frameworks, beyond test suites and sprints and Jira tickets, you will always find a problem that needs to be solved.
Server-Side Only React with Next
You visit a seemingly simple website with little or no interactivity, yet somehow it sends you 2 MB of JavaScript to digest. You're half way down the article that you're reading and suddenly: client-side rendering kicks in, resets everything. You try to find your way back but the page is now janking around. Your…
Give Yourself More Playtime (2015)
I remember my first computer fondly. As a kid I was more than addicted to the Commodore 64.
JITs are un-ergonomic
I lift my LAMP beside the github door. Keep ancient Fortran your storied numeric libs cries she. Give me your interpreted, your slow, the wretched refuse of your (insert pun for ‘teeming shore’).
Log-log plot of new vs. total Covid-19 cases by country
Visualizing the exponential growth of COVID-19 across the world.
Building a Raspberry Pi GPS Speedometer
Back in April of last year, the speedometer failed in my ‘94 Explorer. Rather than hunting down a replacement cable and tearing apart the dash just to restore an old analog needle, I opted to build a digital replacement using a Raspberry Pi and GPS.
I had to build a web scraper to buy groceries
Grocery shopping has been one of my least favorite chores, even before the pandemic. Unlike many people I know, I always preferred online shopping over going to the supermarket. Now it’s not a matter
A Practical Guide to Memory Leaks in Node.js
Memory leaks are like parasites of an application, they creep up into your systems unnoticed and don't cause any harm initially, but once leaks are strong
Clojure on the Desktop
With cljfx and Java 14 it’s finally here
Bokehlicious Selfies
I signed up for the excellent fastai MOOC recently, and one of the project ideas I had was the idea of adding bokehs to selfies using Deep learning. Most phones have a not so great selfie (front-side) camera and therefore this idea has some merits.
New Grad vs. Senior Dev
A student who I used to tutor in CS occasionally sent me a meme yesterday which showed “NEW GRAD vs SENIOR DEVELOPER”; the new grad is all caps yelling NO! YOU CAN’T JUST USE BRUT…
The Hardest Program I've Ever Written – How a code formatter works (2015)
The hardest program I’ve ever written, once you strip out the whitespace, is 3,835 lines long. That handful of code took me almost a year to write. Granted, that doesn’t take into account the code that didn’t make it. The commit history shows that I deleted 20,704 lines of code over that time. Every surviving line has…
How are Unix pipes implemented?
The implementation and history of an iconic Unix feature, with excerpts from the v6 Unix kernel source code, Author: Abhijit Menon-Sen