Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,833 posts.
Bayes' rule in Haskell (2007)
Random code snippets, projects and musings about software from Eric Kidd, a developer and occasional entrepreneur.
Introduction to x64 Assembly
Access technologies that use data for modern code, machine learning, big data, analytics, networking, storage, servers, cloud, and more.
Your developers aren’t slow
“Why didn’t we ship last week?” As managers, it’s easy for us to blame our team for missing deadlines. But are slow developers really the reason you’re not shipping on time? At Sprintly, we have a lot of data on developer cycle time. We track how long it takes them to complete different types of …
A Thought Experiment: Using the ECS Pattern Outside of Game Engines
It’s been about 6 months since I watched Catherine West’s excellent Using Rust for Game Development sent me down the Entity-Component-System (ECS) rabbit hole, and I thought I’d share some of my findings. I’ve been meaning to write about this for quite a while now but it took a while to put my thoughts into a cohesive…
Asdf Performance
I’ve been a maintainer of asdf for about 6 years now. Most of my work these last several years has been fixing bugs, writing automated tests …
Efficient GraphQL Queries in Ruby on Rails and Postgres
We discuss what N+1 queries are, how they are easily produced in GraphQL, and how to solve them using the graphql-batch gem along with a few custom batch loaders.
Why is x & -x equal to the largest power of 2 that divides x?
Or how to find the largest power of 2 that divides x?
Frequent versus infrequent developers, in languages and so on
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…
Everything You Need to Know About the CSS will-change Property
The latest news about Opera web browsers, tech trends, internet tips.
Building a fair multi-tenant queuing system
Building the Inngest queue - Part I
Making a GTK application in Haskell, part 1
Floréal Technologies: Open software, French touch, International reach.
My experience crafting an interpreter with Rust (2021)
Last year I finally decided to learn some Rust. The official book by Steve Klabnik and Carol Nichols is excellent, but even after reading it and working on some small code exercises, I felt that I needed more to really understand the language. I wanted to work on a small project to get some hands-on experience, but…
Revisiting the Business Card Raytracer
What is the most beautiful piece of code you have ever seen? Not only it is subjective, "beauty" is also a word that can mean a lot of things. If we were to be discussing of raw speed, I would bring up the Fast Inverse Square Root [1] . If we were to judge by aesthetic, my answer would be Andrew Kensler's, 1337 bytes…
New Machine Learning Gems for Ruby
In August, I set out to improve the machine learning ecosystem for Ruby and wasn’t sure where it would go. Over the next 5 months, I ended up...
A Technical Perspective on the Apple iPhone Case
The legal dispute between Apple and the FBI might prove pivotal in the long-running battle to protect users' privacy and right to use uncompromised encryption. The case has captured the public imagination. Of course, EFF supports Apple's efforts to protect its users. The case is complicated...
Bevy 0.9: data oriented game engine built in Rust
Thanks to 159 contributors, 430 pull requests, community reviewers, and our generous sponsors, I'm happy to announce the Bevy 0.9 release on crates.io…
Julia 0.3 released
We are pleased to announce the release of Julia 0.3.0. This release contains numerous improvements across the...
Tools I love: mise(-en-place)
Once in a while you get introduced to a tool that instantly changes the way you work. For me, mise is one of those tools.
Introduction to TLA+ Model Checking in the Command Line
Otherwise known as “wait, you mean I can use the TLA toolbox from the command line?”
Writing a Demoscene Intro for the ZX Spectrum
In the late 80s, I spent an embarrassing number of hours hunched over my ZX Spectrum, typing in Sinclair BASIC programs and rudimentary assembler routines copied from magazines, trying to re-create the Amiga crack intros I’d seen round at a friend’s house. Obviously, they never came even slightly close - but now, many…
The Prime That Wasn’t
Life, technology, and other good things
Decorator JITs: Python as a DSL
Spend enough time looking at Python programs and packages for machine learning, and you'll notice that the "JIT decorator" pattern is pretty popular. For example, this JAX snippet: