Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 14,544 posts.
How PHP Opcache Works
The opcache PHP extension implements various functionality to speed up PHP in a transparent manner. As the name indicates, its origin and primary purpose is opcode caching, but nowadays it also contains an optimizer and just-in-time compiler. However, this blog post will focus only on the opcode caching aspect.
Needed 1+1, built a functional programming language
A deep dive into converting a simple arithmetic expression into a binary tree, leading to a custom language in C.
Python on Wheels
A quick overview into wheel based Python deployments.
Golang Object Oriented Design
Composition not inheritance, polymorphism through interfaces, and packages for namespacing.
Shrink Go binaries 7x with this one weird trick
Ok, I lied, there’s no weird trick. However, you can easily reduce a Go binary size by more than 6 times with some flags and common tools.
Java Is Unsound: The Industry Perspective
Discussing a recent academic finding on Java and Scala, from industry's perspective.
The Problem with Macros
So we’re supposed to be writing a game, right? But in order to make progress, we have to fix a bug. And in order to fix the bug, we have to write a test. And in order to write a test, we have to write a test framework. And in order to write a test framework, we have to understand a thing or two about macros. Okay. So…
SwiftUI for Mac 2022
Crazy Mac lady. Mac author & developer. Lover of Apple computers and devices. Swift & SwiftUI enthusiast. Unofficial Mac app dev evangelist
Write Like You Code
Similarities between good writing and good code.
Approximating sin(x) to 5 ULP with Chebyshev polynomials
Weblog/homepage for a developer/engineer/artist. DIY projects, opinions and code.
Things I like about Gleam's Syntax
Gleam is a Type-Safe programming language that transpiles to Erlang And javascript . , so you can run its code on the BEAM. I’ve slept on Gleam for a while because its syntax. It was too much Rust and not enough Elixir for me.
Scrambling eggs for Spotify with Knuth's Fibonacci hashing
In this blog post, we explore Spotify's journey from using the Fisher-Yates shuffle to a more sophisticated song shuffling algorithm that prevents clustering of tracks by the same artist. We then connect this challenge to Fibonacci hashing, and propose a novel, evenly distributed artist shuffling method.
Computer Science by Mail
Hypothetically, how would you teach Computer Science or programming to someone who has no access to a computer, and with whom your only communication is books and postal mail?
PEG Parsers
Some years ago someone asked whether it would make sense to switch Python to a PEG parser. (Or a PEG grammar; I don’t recall exactly what…
Architecture of a Real World Haskell Application
There were numerous posts on reddit, SO and the like which were asking for how to architect real world Haskell applications. Well, this is my go at it for an in-house testing tool which is used extensively. I would not claim myself an advanced Haskeller, some of the code is probably not idiomatic Haskell (and also…
The Story of Mel, A Real Programmer, Annotated (1996)
A recent article devoted to the macho side of programming made the bald and unvarnished statement:
Durable Design (2017)
It seems like small thing, but it’s an engineering detail I’ve always had a lot of respect for.
Understanding the code inside Tornado, the asynchronous web server
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
A Pico-8 story: How the fantasy console unlocked Frédéric Souchu’s dreams
Pico-8 and the retro-gaming trend
RegreSQL: Regression Testing for PostgreSQL Queries
Stop deploying broken SQL queries. RegreSQL provides regression testing for PostgreSQL queries with performance baselines and automated warnings.
Adventures in WhatsApp DB – extracting messages from backups, with code examples
Getting your messages without giving a third party your credentials and data