New
The latest blog posts to take off on Hacker News. 80,918 posts.
Horrible Code, Clean Performance
A short tale of how horrible code yields clean performance.
I liked this simple calculus exercise
From the highly eclectic blog of Mark Dominus
Constraint Programming (2020)
A brief introduction tutorial to Constraint Programming with Python, we introduce some relevant definitions and solve our old Pokémon Centers and Pokémon Gyms problem this time with CP!
'Algebra for none' fails in San Francisco
The goal was equity. The result: Meh.Frustrated by high failure rates in eighth-grade algebra, San Francisco Unified decided in 2015 to delay algebra till ninth grade and place low, average and high achievers in the same classes. The goal was to improve achievement for black and Hispanic students, preparing more for…
The basics of decoupling capacitors
How to stabilize digital supply voltages - and why most of the online advice on this topic is suspect.
Alien Artefacts
The purpose of this blog post is to introduce the concept of alien artefacts 1 , a subcategory of legacy code. I use the term to describe particularly complicated and important pieces of software written by very smart engineers that are no longer working for the company—and thus not available to support it. The…
I used Stable Diffusion and Dreambooth to create an art portrait of my dog
In this post, we walk through my entire workflow/process for bringing Stable Diffusion to life as a high-quality framed art print. We’ll touch on making art with Dreambooth, Stable Diffusion, Outpainting, Inpainting, Upscaling, preparing for print with Photoshop, and finally printing on fine-art paper with an Epson…
Unwinding the Stack the Hard Way
Tutorial on how to make a stack trace or backtrace manually unwinding the stack using ELF’s .eh_frame and call frame information (CFI)
OpenVMS 9.2 for x86: Auto boot, licenses, PAKs, networking and SSH
Published: 15-04-2023 22:30 | Author: Remy van Elst | Text only version of this article
Conway’s Law (2022)
Systems are constrained to follow the communication patterns of their designers.
Clojure Rationale (2008)
Customers and stakeholders have substantial investments in, and are comfortable with the performance, security and stability of, industry-standard platforms like the JVM. While Java developers may envy the succinctness, flexibility and productivity of dynamic languages, they have concerns about running on…
Plain C API design, the real world Kobayashi Maru test
Designing APIs is hard. Designing good APIs that future people will not instantly classify as "total crap" is even harder. There are typical...
SpaceX's Texas Rocket Is Going to Cause a Lot More Damage Than Anyone Thinks
On Friday, the Federal Aviation Administration issued a license for SpaceX to launch the first orbital test of Starship, the largest rocket in human history, as soon as this Monday, April 17th.
Clean front end architecture with SvelteKit
A practical guide for craftspeople seeking to avoid the most common pitfalls when designing modern frontend applications.
Understanding large language models: A cross-section of the relevant literature
A Cross-Section of the Most Relevant Literature To Get Up to Speed
Batch computing and the coming age of AI systems
There’s a lot of excitement right now about human-in-the-loop systems supercharged by foundation models including chat assistants ( ChatGPT ), word processing ( Microsoft Office ), graphic design ( Stable Diffusion ), and code editing ( Copilot ). However, these systems only begin to scratch the surface of the role…
The Military-Industrial Stock Buyback Complex
Why is the US military ceding ground to China? As a new DOD report shows, big defense contractors are middlemen whose main purpose is stock buybacks and dividends.
Load Balancing
A bottom-up, animated guide to HTTP load balancing algorithms.
Nibbles of Rust – Restructuring Patterns
In Rust, there is this feature known as “pattern matching”, whereby you can take apart a piece of structured data by writing out patterns which bind to parts of it. This process is known as “destructuring”, because you’re breaking a structure into parts.
OpenSSH versus SSH
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…
Tabi: The shoe that became a sock and then a shoe again
Stockholm, 1912 At 35° C it was an unusually hot day for Stockholm. Shizo Kanakuri stood at the start line of the marathon in the 1912 Stockholm Olympics. Shizo was carrying the hopes, dreams, and pride of Japan, a country attempting to become a “modern” nation. There was something that
Efficiency trades off against resiliency
What’s the “right” level of CPU utilization for a server? If you look at a monitoring dashboard from a well-designed and well-run service, what CPU utilization should we hope to see, averaged over a day or two? It’s a very general question, and it’s not clear it should have a single answer. That said, for a long time…
The Red Hat model only worked for Red Hat
OCV starts companies around the most promising open source projects.
Digital clutter: Learning to let go and stop hoarding terabytes
Learning to let go and stop hoarding terabytes: Sharing my journey of downsizing my digital storage, letting go of terabytes of data, and moving away from a NAS setup. I decided to use an external Thunderbolt SSD enclosure and an M.2 NVMe SSD to store my data locally. For cloud backup and encryption, I used the Arq…
33TB of text data for a 1T-parameter model
Important: This page summarizes data scaling only, using tokens to parameters as a ratio, and as derived from large language models like GPT-3, Chinchilla, and beyond, linked to the Compute-Optimal scaling laws like Kaplan and Hoffmann/Chinchilla. Please note that compute scaling laws are outside the scope of my…
Algebraic graph calculus (2021)
We describe a graph-theoretic analogue of vector calculus. The linear operators of vector calculus (gradient, divergence, laplacian) correspond to the matrices naturally associated to graphs (incidence matrix, adjacency matrix). This analogy is useful for formalizing the discretization of some problems in image and…
Generalizations of Fourier analysis (2021)
When I first learned about Fourier series and integrals, I hated it because it seemed like a collection of many ad-hoc definitions, formally related but very different.