Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,258 posts.
Zen and the Art of Software Maintenance
In one part of the book Zen and the Art of Motorcycle Maintenance, which is neither about Zen nor motorcycle maintenance, there are two motorcycles and two riders. John Sutherland is a romanticist who appreciates the external qualities of his motorcycle: its aesthetics, and its use as a vehicle. The narrator is a…
How to Conquer Tensorphobia
A professor at Stanford once said, If you really want to impress your friends and confound your enemies, you can invoke tensor products… People run in terror from the $ \otimes$ symbol. He was explaining some aspects of multidimensional Fourier transforms, but this comment is only half in jest; people get confused by…
Tiers of answers to half-baked questions
From the highly eclectic blog of Mark Dominus
Clear explanation of Rust’s module system
Easy to understand explanation using visual aids and practical examples
Career-Changing Programming Books
When I graduated with a Computer Science degree ten years ago, I was excited to dive into the world of professional programming. I had done well in school, and I thought I was completely ready to ...
Document poisoning in RAG systems: How attackers corrupt AI's sources
RAG poisoning attack walkthrough: an attacker injects fabricated documents into a ChromaDB knowledge base and the LLM reports false financials as fact. Fully reproducible, 100% local, no GPU required.
Speculative KV coding: losslessly compressing KV cache by up to ~4×
Lossless compression of a target model's KV cache by up to 4×, using a cheaper predictor model to drive an arithmetic coder.
Here’s why we keep getting hacked – clear and present Billabong failures
It happened again last week. No, not Yahoo! Voices [https://www.troyhunt.com/2012/07/what-do-sony-and-yahoo-have-in-common.html], not the Phandroid Android forums [http://www.zdnet.com/android-forums-hacked-1-million-user-credentials-stolen-7000000817/] , not NVidia [http://www.zdnet.com/nvidia-confirms-
Debian port for RISC-V 64-bit
This is a post describing my involvement with the Debian GNU/Linux port for RISC-V (unofficial and not endorsed by Debian at the moment) and announcing the availability of the repository (still very much WIP) with packages built for this architecture. If not interested in the story but you want to check the…
How to get that native iOS feel with PhoneGap
At Outbox we have been hard at work building our iPad application with PhoneGap . I wanted to share some of the lessons my team has learned...
Git is an editor, and rebase is the backspace key
Writing and Stuff from Isaac Z. Schlueter
1995 Vannevar Bush symposium: Closing Panel
From the closing panel at the 1995 Brown/MIT Vannevar Bush Symposium , featuring Doug Engelbart, Alan Kay, Ted Nelson, and Tim Berners-Lee.
Exploiting the Math.expm1 typing bug in V8
Minus zero behaves like zero, right?
Using GPT-4 to measure the passage of time in fiction
Large language models are valuable research assistants, especially when they refuse to follow instructions.
Byte Interviews the Apple Lisa Dev Team (1983)
A behind-the-scenes look at the development of Apple's Lisa.
The mystery animal on an ancient god's head
Several Egyptian gods are depicted with animal heads. Horus has a falcon head, Anubis has a jackal head, Thoth has an ibis head (except when he’s a baboon), and Set has…uhh, what is that, exactly? …
Pwned, the book
The first time I ever wrote publicly about a company's security vulnerabilities, my boss came to have a word with me after seeing my name in the news headlines. One of the worst days I've ever had was right in the middle of the Have I Been Pwned
Introduction to monads in JavaScript
I know, I know, the world does not need yet another introduction to monads (or yet another article complaining that world does not need yet another introduction to monads). So you’ll be glad to know this isn’t one of those, in the sense that it’s not new. I thought I’d write it because, first, monads are worth knowing…
A Hairy PostgreSQL Incident
It was 5:17pm today, just as I was wrapping up work for the day, and my manager pinged me with the following chat: <manager>: Hi Jeremy – we have a <other team> ticket – esc…
Postgres as a Search Engine
Build a retrieval system with semantic, full-text, and fuzzy search in Postgres to be used as a backbone in RAG pipelines.
Path Tracing Quake in Blender
This week twenty-five years ago, Quake broke new ground in game engine realism. It was one of the first commercial games to have fully texture mapped 3D scenes rendered in real-time, with pre-computed lightmaps adding an extra layer of atmosphere.
System design implications of declining network latency vs. disk latency
Hardware performance “obviously” affects software performance and affects how software is optimized. For example, the fact that caches are multiple orders of magnitude faster than RAM means that blocked array accesses give better performance than repeatedly striding through an array.
How To Know Everything
At its simplest, this book deals with the art of asking questions. In reality, it’s about Socratic philosophy. It’s about our willingness to open our minds, close our mouths and listen. The c…
Lessons learned from profiling an algorithm in Rust
Recently, I've been working on a new approximate nearest neighbor search algorithm called RaBitQ . The author has already provided a C++ implementation that runs quite fast. I tried to rewrite it in Rust (yet another RiiR). But I found that my implementation is much slower than the original one. Here is how I improve…
Thunderstrike 2: Mac firmware worm details
Collection of my projects and hacks.
How to break everything by fuzz testing
Fuzz testing is a bit like the infinite monkey theorem, but instead of Shakespeare you get crashes.