I Am Not a Reverse Centaur
miguelgrinberg.com
miguelgrinberg.com
Suppose that you have a configuration file in JSON. Something like this: { "width": 1920, "height": 1080, "fullscreen": true, "title": "My Game", "volume": 0.8 } Normally you ship this file alongside your program, open it at startup, read it, and parse it....
Large DELETEs add work instead of reclaiming it. Structure your database so deletion becomes DROP TABLE or TRUNCATE.
This is a post I’ve been meaning to write and publish for years, and only recently got around to doing it. I’m hoping to get back into writing more! …
I have a stress test written in C: 100,000 cubes flying around in space. The CPU rebuilds every cube’s 4x4 transform matrix on every frame and sends all of them to the GPU. That is around 900,000 sine evaluations and 6 MB of matrix data per frame, and after...
In my recent series ANSI art and webcomics, I debunked a false assertion that began in a history book and propagated across the web. Now it’s time to solve the mystery of an old ANSI art screen that I helped propagate across the web 20 years ago. Allow me...
Meta-build-system for bootstrapping operating system distributions. - Mintsuki/Jinx
As is well known, because 2 and 10 do not share the same prime factors, binary fractions cannot represent decimal fractions exactly. For example, f64 has the classic arithmetic error: 0.1 + 0.2 != 0.3.
Comments
If you want to see more comics like this, sign up for my saturday comics newsletter or browse more comics!