New
The latest blog posts to take off on Hacker News. 21,827 posts.
One decade later, Minecraft world generation is interesting again
I became a big fan of Minecraft when I first started playing it in early-2011. I have stopped in recent years since I find it dangerously addictive, though I sometimes keep up with the new changes. Today I want to look back at a development mistake that was made in Beta 1.8, one that took a decade to recover from.
All Horses Are the Same Color
Problem: Show that all horses are of the same color. “Solution”: We will show, by induction, that for any set of $ n$ horses, every horse in that set has the same color. Suppose $ n=1$, this is obviously true. Now suppose for all sets of $ n$ horses, every horse in the set has the same color. Consider any set $ H$ of…
Writing and publishing a Python module in Rust
This post is a quick walkthrough of how I wrote a Python library, procmaps , in nothing but Rust. It uses PyO3 for the bindings and maturin to manage the build (as well as produce manylinux1 -compatible wheels).
Three Ways to Debug Code in Elixir
Explore three common methods of debugging code in Elixir, as well as how to debug Elixir processes using trace and observer.
LLVM internals, part 4: attributes and attribute groups
This is the last post I plan to do on parsing LLVM’s bitcode, at least for a while. I’ll keep working on the various libraries that I’ve started under the mollusc umbrella, but they won’t be accompanied by regular posts anymore — I’d like to refocus on writing smaller, less dense (read: lower-pressure) posts for a…
Fast CSV Processing with SIMD
I recently learned of csvquote , a tool that encodes troublesome CSV characters such that unix tools can correctly process them. It reverses the encoding at the end of the pipeline, recovering the original input. The original implementation handles CSV quotes using the straightforward, naive method. However, there’s a…
Tips on adding JSON output to your CLI app
Best practices when adding a JSON output option to your command-line application.
Rusty Typestates – Starting Out
This post is part of a series, you can see an overview of the whole series in [ rust-typestate-index ].
An Inconsistent Truth: Next.js and Typesafety
Next.js is a great framework. The frontend and backend have never been closer. Can we bridge the remaining gap in a typesafe way?
Notes on Writing Web Scrapers
easier than scraping a hide, I suppose
Ideal Monitor Rotation for Programmers
How to be a pro programmer
The Fastest FizzBuzz Implementation
Benchmarks & Tips for Big Data, Hadoop, AWS, Google Cloud, PostgreSQL, Spark, Python & More...
Tvix: We Are Rewriting Nix
TVL's blog
Avy Can Do Anything
Update (2024-09-08): Read this article in Japanese at Qiita or at Emacs-JP. You’re using Avy wrong. Too harsh? Let me rephrase: you’re barely using Avy. Still too broad? Okay, the noninflammatory version: Avy, the Emacs package to jump around the screen, lends itself to efficient composable usage that’s obscured by…
Firefox's Optimized Zip Format
This post is about minimizing amount of disk IO and CPU overhead when reading Zip files. I recently saw an article about a new format that was faster than zip. This is quite surprising as to my mind, zip is one of the most flexible and low-overhead formats I’ve encountered. Some googling showed me that over past 11…
My worst tech interview experience
Everyone in tech seems to have a “terrible tech interview” story. The topic quietly orbits in the ether of our industry and periodically bursts through the a...
Julia 1.7 Highlights
Some highlights of the Julia 1.7 release.
Anti-patterns when building container images
This is a list of recurring anti-patterns that I see when I help folks with their container build pipelines, and suggestions to avoid them or refactor them into something better.
Hubris – A small operating system for deeply-embedded computer systems
The release of a small open-source operating system for deeply-embedded computer systems.
4x Smaller, 50x Faster
News about asciinema development and new releases
Will Nix Overtake Docker?
Nix and Docker both tackle the works-on-my-machine problem, but in different ways. A practical comparison of their approaches to reproducible environments.
Some thoughts on microservices
A blog about programming, technology and open-source stuff.
Fleet, a Lightweight IDE from JetBrains
Update (Dec 3, 2021): We’ve received an overwhelming number of requests for the Fleet Early Preview program. Unfortunately we can't accept any new requests, but we will continue sending invites to tho
Calling Rust from Python using PyO3
speed up your Python using Rust
Measuring Software Complexity: What Metrics to Use?
Do we need to measure complexity? With what metrics? What benefits can it brings? This is the questions we'll answer in this article.
Venus on QEMU: Enabling the new virtual Vulkan driver
How to enable 3D acceleration of Vulkan applications in QEMU through the new Venus experimental Vulkan driver for VirtIO-GPU