Exploring Coroutines in PHP
Coroutines are functions that pause and resume with state, allowing flexible, bidirectional control flow in PHP.
The latest blog posts to take off on Hacker News. 21,819 posts.
Coroutines are functions that pause and resume with state, allowing flexible, bidirectional control flow in PHP.
We’ve discussed SIMD and vectorization extensively on this blog, and it was only a matter of time before SIMD (or vector) functions came up. In this post, we explore what SIMD functions are, when they are useful, and how to declare and use them effectively. A SIMD function is a function that processes more than… Read
prompt engineering is nothing but an attempt to reverse-engineer a non-deterministic black box for which any of the parameters below are unknown: - training set - weights - constraints on the model - layers between you and the model that transform both your input and the model's output that can change at any time …
Not just `#[derive(Clone)]`, but all of the standard trait derives are
Celebrating a little bit of legacy from Placemark and a new product for hydraulic simulation
A Rust port of tmux
Serverless means it's secure, right?
Carson Gross explores the Locality of Behaviour (LoB) principle, which emphasizes making the behavior of code units obvious on inspection to enhance maintainability. He discusses the tradeoffs between LoB and other software design principles like DRY and SoC, offering insights on balancing clarity, abstraction, and…
Baba is You is a sokoban puzzle game where the rules themselves have to be manipulated to win. (For the uninitiated, the store page should explain the idea best.) The level of abstraction required to solve most levels makes it a formidable reasoning benchmark, with many reasoning steps being completely orthogonal to…
This is a contribution to the Emacs Carnival 2025-06: Take Two collection of posts on Christian Tietze’s blog. My first take with Eshell many years back did not leave a good impression. My...
GitHub Archive logs every public commit, even the ones developers try to delete. Force pushes often cover up mistakes like leaked credentials by rewriting Git history. GitHub keeps these dangling commits, from what we can tell, forever. In the archive, they show up as “zero-commit” PushEvents.
We recently ran across a strange higgs-bugson that manifested itself in a critical system that stores and distributes the firm’s trading activity data, calle...
This is a beginner-friendly post exploring some of my favourite parts of the D programming language , ranging from smaller quality of life stuff, to more major features.
At hackArcana, we deliver professional educational content authored by world-class experts in programming, binary analysis, and cybersecurity.
I built a small proof-of-concept for a system that enables real-time bidirectional editing between any modern code editor and a GUI, enabled by an LSP1 server. Code-based CAD I like working on small projects at home that benefit from CAD. I’m also a programmer with a personal development environment that I’ve spent…
Patterns for managing agent context.
I've always been told that caching is a tool to make software faster. That, given some careful considerations to consistency, caching makes it so that when...
LLMs make it easier to write code, but understanding, reviewing, and maintaining it still takes time, trust, and good judgment.
Context Engineering is the new skill in AI. It is about providing the right information and tools, in the right format, at the right time.
Last year, I discovered that the Kosinski compression format is actually LZEXE, which was used for compressing DOS executables back in the 90s and the late 80s. Its developer catalogues three versi…
See my follow-up article: “A Fast, Growable Array With Stable Pointers in C” I write type safe generic data structures in C using a technique that I haven’t seen elsewhere1. It uses unions to associate type information with a generic data structure, but we’ll get to that. My approach works for any type of data…
You are seeing this because the administrator of this website has set up Anubis to protect the server against the scourge of AI companies aggressively scraping websites. This can and does cause downtime for the websites, which makes their resources inaccessible for everyone.
This is a story about Imagebin. Imagebin is the longest-lived software project that I still maintain. I'm the only user. I use it to host images, mainly to include in my blog, sometimes for sharing in other places. Imagebin's oldest changelog entry is dated May 2010, but I know it had already existed for about a year…
[The wordpress markdown inclusion does a very bad job, it seems, there have been some idiotic formatting errors. I hope that these are fixed, now.] A years-long effort led by Kayvan Memarian and Pe…
A blog, mostly about programming
Once in a while you get introduced to a tool that instantly changes the way you work. For me, mise is one of those tools.
For the last few years, I've been developing caching library, and today I'd like to talk about the evolution of caches in Go and where we stand today. Especially since Go 1.24 was officially supposed to focus on caching improvements, but I haven't heard much news about them - time to fix that .
...so the malware would finally shut up and run
A Bloom filter is a data structure designed to tell you, rapidly and memory-efficiently, whether an element is present in a set.