New
The latest blog posts to take off on Hacker News. 49,211 posts.
Writing summaries is more important than reading more books
One thing I’ve learned over time is to read fewer books but to take the time to write summaries for the good ones. The ROI of spending 2h writing a synopsis is much higher than spending those 2h powering through the next book on your list. Reading is not about page count or speed. What matters is ho
Building a Signal Analyzer with Modern Web Tech
An overview of the design of a signal analyzer module for a browser-based digital audio workstation built with modern web tech. The post goes over the specific web tech used (things like SharedArrayBuffer, OffscreenCanvas, WebAssembly, etc.) as well as the code design patterns used to build the interactive…
The long life of Apache httpd 2.4
You're probably reading this page because you've attempted to access some part of my blog (Wandering Thoughts) or CSpace , the wiki thing it's part of. Unfortunately you're using a browser version that my anti-crawler precautions consider suspicious, most often because it's too old (most often this applies to versions…
Getting Stuff Done by Not Being Mean to Yourself (2010)
I’ve spent a lot of time in my life trying to force myself to do things. Really good things. Things that are important to me. Things like meditating, journaling, going... READ MORE
PyTorch for WebGPU
TL;DR I’ve been working on a WebGPU optimized inference and autograd library called webgpu-torch with an API that matches PyTorch. The goal is to run neural networks in the browser at speeds comparable to a Linux workstation. Many kernels have been implemented and its design is easily extensible. It’s available on NPM…
I wrote a GameBoy emulator for my hobby OS (2022)
The Nintendo GameBoy is an exceptionally well-documented system, perfect for anybody who’d like to take a crack at emulation. Publicly-maintained resources like the Pan Docs make it both approachable and convenient to get an overview of the GameBoy’s address space layout, to understand the mechanics of hardware…
My solar-powered blog is now on lithium iron phosphate
In my last blog post I discussed how a small solar project - to power this blog on a Raspberry Pi - escalated into a full-blown off-grid solar setup, large enough to power the computer I use at the moment to write this update 1 . In this update, I want to discuss my battery upgrade.
Dandelion Root Recipes
Dandelion root recipes offer a variety of uses, from herbal teas to hearty dishes. Discover how to incorporate this nutritious root into your meals and remedies.
Hands-Free Coding (2020)
Earlier this year, I lost the ability to use a keyboard and mouse for extended periods. Fortunately, this wasn't as catastrophic as it sounds! This article chronicles my experience using adaptive tools like dictation and eye-tracking as my primary mechanisms for writing code.
High-performance tidy trees visualization (2022)
This article introduces the algorithm to draw non-layered trees in linear time and re-layout partially when some nodes change in O(d) time, where d is the maximum depth of the changed node.
CLI tools for working with ChatGPT and other LLMs
I’ve been building out a small suite of command-line tools for working with ChatGPT, GPT-4 and potentially other language models in the future. The three tools I’ve built so far …
Recreating Medieval English Ales (1998)
In medieval England, ale was an alcoholic drink made from grain, water, and fermented with yeast. The difference between medieval ale and beer was that beer also used hops as an ingredient. Virtually everyone drank ale. It provided significant nutrition as well as hydration (and inebriation). The aristocracy could…
Windows XP Activation: Game Over
For almost two decades, MSKey Readme 1 has heralded the defeat of Windows XP's product activation, not via mere circumvention , but by cracking the encryption algorithm itself.
Unit Testing eBPF Programs
They provide a safety net when making changes, and give you that nice, warm feeling when you see them all pass after a change.
20 Years of Gentoo
Let’s see how Gentoo is doing these days. Below is a plot of Gentoo’s rankings on DistroWatch :
Where have all the hackers gone?
A way to talk about programming languages, and a plea to Think Different™
Who wants to be tracked?
“We value your privacy…”, the clichéd beginning of many a privacy notice. I legitimately do value my own online privacy, and whenever I read that phrase as part of a website consent banner it sounds like lip service at best. Consent banners ostensibly exist to give users control over their data & personal privacy. Far…
The Case for Bash (2021)
Bash is oft-maligned: you hear it sneered at in sentences like “our continuous integration pipeline is just a pile of bash scripts .” It is commonly regarded as unintelligible and thus unmaintainable. The pile of bash scripts are the toxic byproduct of an infrastructure team understaffed, pressed for time, unwilling…
User Driven UI
Notes about creative coding on the Web.
What happened with ASUS routers this morning?
Update on 2023/05/19: ASUS has publicly acknowledged the issue and provided an explanation and workaround of their own (rebooting, or a hard reset if the reboot doesn’t fix it). The original post is below:
Using Bun.js as a Bundler
Bun.js is a new (as of 2023) JavaScript runtime that is still very much in development, with it’s primary focus being on extreme speed. I’ve been following it for a while but until toda…
Conditional CSS with:has and:nth-last-child
A modern look at how to combine CSS :has, :nth-last-child, and style queries to create dynamic components.
The Staff Engineer's Path – Book Review
The Staff Engineer’s Path: A Guide for Individual Contributors Navigating Growth and Change is written by Tanya Reilly and published on October 25, 2022, by O’Reilly Media. Favorite Quotes Early in your career, if you do a great job on something that turns out to be unnecessary, you’ve still done a great job. At the…
Managing State with Signals
An experiment of using incremental computations for managing state in Humble UI
Beautiful Documents with Groff (Part I)
Of course, I’ve used Word here and there when I didn’t have a choice, but not since MultiMate —and before that, WordStar —have I intentionally sat down with full possession of my faculties and opened up a word processor in order to write something I care about.