A Fast 64-Bit Date Algorithm (30–40% faster by counting dates backwards)
Counting years backwards unlocks faster speed. The first date algorithm to use only 4 multiplications, instead of 7+
The latest blog posts to take off on Hacker News. 14,537 posts.
Counting years backwards unlocks faster speed. The first date algorithm to use only 4 multiplications, instead of 7+
I have been writing production applications in Go for a few years now. I like some aspects of Go. One aspect I do not like is how easy it is to create data races in Go.
My Agent abstractions keep breaking somewhere I don’t expect.
I like slim and stupid servers, where each endpoint wraps a very dumb DB query. Dumb queries are fast. Fast queries make websites smooth and snappy. Keep those click/render loops sacred. Sweep complexity under a task table.
Fizz Buzz is a counting game that has become oddly popular in the world of computer programming as a simple test of basic programming skills. The rules of the game are straightforward. Players say the numbers aloud in order beginning with one. Whenever a number is divisible by 3, they say 'Fizz' instead. If it is…
I recently discovered that you could make PS2 games in JavaScript.
See cooldowns.dev for up-to-date information on cooldown adoption across various languages and package ecosystems.
After reading the book The AWK Programming Language (recommended!), I was planning to try AWK out on this year’s Advent of Code. Having some time off from work this week, I tried to implement one of the problems in it to get some practice, set up my tooling, see how hard AWK would be, and… I found I’m FP-pilled.
Lately, there has been a lot of excitement around Durable Execution (DE) engines. The basic idea of DE is to take (potentially long-running) multi-step workflows, such as processing a purchase order …
A blog about modern PHP, the web, and programming in general. Follow my newsletter and YouTube channel as well.
A teardown of Rust's mutex internals plus real benchmarks so you know when to choose std or parking_lot.
Outcrop is a modern knowledge base for software teams, built with Rust and Solid.
A breakdown of how I used modern AI tools (Veo 3.1 and Nano Banana) to create a new version of a Google cultural classic.
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…
TIL: `satisfies` is my favorite TypeScript keyword
I've started working on a new edition of Ruby Under a Microscope that covers Ruby 3.x. I'm working on this in my spare time, so it will take a while. Leave a comment or drop me a line and I'll email you when it's finished.
The story of how I wrote a leak-free, thread-safe grep in C23 without shooting yourself in the foot, and how you can too! Introduction Let's be honest: mos...
You don't need Elasticsearch for most projects. I built a simple search engine from scratch that tokenizes everything, stores it in your existing database, and scores results by relevance. Dead simple to understand and maintain.
A review of the 20th anniversary edition of The Pragmatic Programmer, updated for modern software development.
A long time ago, I spent a few years working on garbage collection in the J9 Java VM. 1 And even though I’ve since done mostly done higher-level stuff, having a deeper knowledge of GC has continued to come in useful.
In 2007, I was spending a my norther-hemisphere summer experimenting with UI automation. Born of those efforts, xdotool came into being when I separated it from another project. The goal was modest - write some scripts that execute common keyboard, mouse, and window management tasks. The first commit had only a few…
One of the first things any Rust programmer learns is that you can’t pass an object and a reference to that object around at the same time. It’s impossible to do, even indirectly. This limitation has been the subject of countless questions on Stack Overflow and posts on Reddit and the Rust forums and anywhere else…
Of course you want to design (and implement!) your own programming language! It’s fun. It’s creative. It’s empowering.
written by - Akshat Joshi Sometime back, I set myself a crazy constraint: Load only one thing at boot - A Pong game that fits in one floppy disk sector — 512 bytes. Why would I build this? I have played with Operating Systems and their workings by customizing them and tweaking their
wingolog: article: the last couple years in v8's garbage collector
Stop deploying broken SQL queries. RegreSQL provides regression testing for PostgreSQL queries with performance baselines and automated warnings.
We used to use software; now software started to use us
PebbleOS, mobile app, SDK improvements and more!