New
The latest blog posts to take off on Hacker News. 21,819 posts.
Marching Events: What does iCalendar have to do with ray marching?
... and why signed distance functions are cool!
Four Years of Jai (2024)
I’ve been programming for long enough to be righteously cantankerous about a lot of things. The list of languages, frameworks and libraries I’ve worked with professionally or on personal projects is too long to list – but it includes everything from C and assembly languages through C++, Pascal and Delphi, through Java…
What the hell is a target triple?
Cross-compiling is taking a computer program and compiling it for a machine that isn’t the one hosting the compilation. Although historically compilers would only compile for the host machine, this is considered an anachronism: all serious native compilers are now cross-compilers.
The case of the UI thread that hung in a kernel call
I did tell you not to do that.
JSX over the Wire
Turning your API inside-out.
The problem with "vibe coding"
An article from dylanbeattie.net
GPT-4.1 in the API
Introducing GPT-4.1 in the API—a new family of models with across-the-board improvements, including major gains in coding, instruction following, and long-context understanding. We’re also releasing our first nano model. Available to developers worldwide starting today.
Monte Carlo Crash Course: Sampling
In the previous chapter, we assumed that we can uniformly randomly sample our domain. However, it’s not obvious how to actually do so—in fact, how can a deterministic computer even generate random numbers? 1
Concurrency in Haskell: Fast, Simple, Correct
Yet another programming blog. Thoughts on software and related misadventures.
Zig's new LinkedList API (it's time to learn fieldParentPtr)
Karl Seguin's Blog - A mix of coding and creative writing
Fun with -fsanitize=undefined and Picolibc
Both GCC and Clang support the -fsanitize=undefined flag which instruments the generated code to detect places where the program wanders into parts of the C language specification which are either undefined or implementation defined. Many of these are also common programming errors. It would be great if there were…
Writing my own dithering algorithm in Racket
My journey implementing a new dithering algorithm in the Racket programming language.
Problems with Go channels (2016)
Update: If you’re coming to this blog post from a compendium titled “Go is not good,” I want to make it clear that I am ashamed to be on such a list. Go is absolutely the least worst programming language I’ve ever used. At the time I wrote this, I wanted to curb a trend I was seeing, namely, overuse of one of the more…
YAML: The Norway Problem (2022)
Earlier this week, Haroen Viaene posted this tweet about YAML: worst part of yaml: https://yaml.org/type/bool.html — Haroen Viaene (@haroenv) January 10, 2022 The linked-to page contains the documentation on what defines a boolean in YAML, and details that it can be parsed using this regex…
Emacs Lisp Elements
This book, written by Protesilaos Stavrou, also known as ‘Prot’, provides a big picture view of the Emacs Lisp programming language.
Rust to C compiler – 95.9% test pass rate, odd platforms
I am experimenting a bit with a new article format: instead of an overarching theme, this is more of a collection of smaller bits and pieces, sewn together.
AI coding and the peanut butter and jelly problem
Why clear communication—not clever prompts—is your real AI superpower
Datastar: Web Framework for the Future?
# TLDR Datastar is a new hypermedia framework that makes building real-time web applications simpler and more efficient. It prioritizes server-side logic, uses “signals” for automatic UI updates, and leverages Server-Sent Events for lightning-fast performance. If you’re looking for a streamlined alternative to…
Erlang's not about lightweight processes and message passing (2023)
I used to think that the big idea of Erlang is its lightweight processes and message passing. Over the last couple of years I’ve realised that there’s a bigger insight to be had, and in this post I’d like to share it with you.
Behind the 6-digit code: Building HOTP and TOTP from scratch
Personal website of Doğaç Eldenk.
Why I Program in Lisp
A blog about computers, functional languages, Lisp, and Scheme.
Crystal 1.16.0
We are announcing a new Crystal release 1.16.0 with several new features and bug fixes.
The Story Behind “100 Go Mistakes and How to Avoid Them”
The Story Behind 100 Go Mistakes and How to Avoid Them
My Own Private Binary: An Idiosyncratic Introduction to Linux Kernel Modules
Several years ago, I spent a serious chunk of time figuring out how to make really teensy ELF executable files. I started down this path because I was annoyed that all of my programs, no matter how short they were, never got smaller than 4k or so. I felt that was excessive, for C, and so I started looking at what ELF…
Demystifying the (Shebang): Kernel Adventures
Clarifying the shebang (#!) mechanism: A step-by-step look using strace and kernel code shows how Linux handles script execution directly, revealing the shell isn't involved initially.
PHP Core Security Audit Results
The PHP Foundation — Supporting, Advancing, and Developing the PHP Language
Usability Improvements in GCC 15
GCC 15 brings better error messages and diagnostics for your code, including prettier execution paths and easier-to-read compiler errors for C++ templates.
Elliptical Python Programming
One thing I love about Python is how it comes with its very own built-in zen. In moments of tribulations, when I am wrestling with crooked code and tangled thoughts, I often find solace in its timeless wisdom. Here's a glimpse of the clarity it provides: