New
The latest blog posts to take off on Hacker News. 14,543 posts.
Writing a Postgres Foreign Data Wrapper for Clickhouse in Go
Postgres(hereinafter mentioned as PG) is a pretty cool database with lots of nice features, one of them little known ones is the ability of having Foreign data wrappers (hereinafter mentioned as FDWs). Clickhouse(hereinafter mentioned as CH) is another amazing database with an altogether different set of features…
My First Kernel Module: A Debugging Nightmare
This is the story of the time I wrote some code, deployed it to production, and ended up bricking the server it was running on by frying the kernel. Beautiful rendition of me frying the kernel This post is about perils of concurrency and...
My Beef with RuboCop
Consider a hypothetical class that filters out unsafe HTML elements:
All Hail Geometric Algebra
Rotate a cube by 90 degrees around the \(x\)-axis, then rotate it by 90 degrees around the \(z\)-axis. This is equivalent to a single rotation. What is the axis and angle of this single rotation?
Writing a technical book: from idea to print
Ever wanted to know what it's like to write a technical book? This post details my experience co-authoring an O'Reilly book with my colleagues Lak and Mike. Our book, Machine Learning Design Patterns, is available to order now and all royalties go to Girls Who Code.
Write Code Like You Write a Recipe
It starts innocently enough - the business needs you to write a program to automate creating peanut butter cookies (yum).
Graphics for JVM
Introducing Skija, Java bindings for Google graphics library, Skia
Being Glue
Slides and notes for the Being Glue talk.
I failed to make LinkedIn fix their broken international domain URL parser
In Denmark it is possible to register domains with funny characters such as æ, ø and å. And we do. One prominent example is our national portal for booking Covid-19 tests at https://coronaprøver.dk . Wikipedia calls these beasts Internationalised domain names , so they must indeed exist.
Moving my serverless project to Ruby on Rails
Serverless is like a black hole. It promised exciting adventures, but the gravity sucked me in and I spent most of my efforts dealing with its complexity, in...
An Interactive Introduction to Fourier Transforms
Fourier transforms are a tool used in a whole bunch of different things. This is a explanation of what a Fourier transform does, and some different ways it can be useful.
Simulating RAM in Clojure
“Computers are all made out of logic gates”. We’ve heard that saying before. We also have a sense that logic gates are very simple machines, analogous to light switches even. This raises the question: how exactly do kind-of-light-switches come together to form computers ? How does “storing a variable” or “calling a…
Hunting for Malicious Packages on PyPI
I installed every package on PyPI to look for malicious content. This is what I found.
Everything Is an X
Analysis and examples of the popular high-level pattern of making all the things in your system conform to a common interface.
I Still Use Vim
The Stack Overflow blog recently published Modern IDEs are magic. Why are so many coders still using Vim and Emacs? Posts about Vim vs Emacs vs IDEs are...
Evidence-based software engineering: book released
My book, Evidence-based software engineering , is now available; the pdf can be downloaded here , here and here , plus all the code+data . Report any issues here . I’m investigating the possibility of a printed version. Mobile friendly pdf (layout shaky in places).
Booting a macOS Apple Silicon Kernel in QEMU
I booted the arm64e kernel of macOS 11.0.1 beta 1 kernel in QEMU up to launchd. It’s completely useless, but may be interesting if you’re wondering how an Apple Silicon Mac will boot.
CQRS: Command Query Responsibility Segregation (2011)
CQRS (Command Query Responsibility Segregation) is the notion that you can use a different model to update information than the model you use to read information
On Apple's Piss-Poor Documentation
On this week's Under the Radar, Marco and Dave eloquenty discussed Apple's piss-poor documentation.
This is how I git
Every now and then I get questions on how to work with git in a smooth way when developing, bug-fixing or extending curl - or how I do it. After all, I work on open source full time which means I have very frequent interactions with git (and GitHub). Simply put, I work with git … Continue reading This is how I git →