Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,822 posts.
A common mistake when NumPy’s RNG with PyTorch
A bug that plagues thousands of open-source ML projects.
Kaniko: Build container images in Kubernetes
Building images from a standard Dockerfile typically relies upon interactive access to a Docker daemon, which requires root access on your machine to run. This can make it difficult to build container images in environments that can’t easily or securely expose their Docker daemons, such as Kubernetes clusters (for…
Watching Go's new garbage collector move through the heap
Go 1.26 made Green Tea the default GC. We observe its cache-friendliness with perf, visualize the heap to see how Go allocates, and poke at a sparse-page problem a non-moving collector like Go's struggles with.
Introduction to TCP and Sockets (2001)
This section is an introduction to TCP/IP programming using a sockets API. (Sockets can also be used to work with other network protocols, such as IPX/SPX and Appletalk, but that is beyond the scope of this document.) The standard socket API was originally developed in the Unix world, but has been ported to OS/400 as…
Erlang 19.0 Garbage Collector
Each Erlang process has its own stack and heap which are allocated in the same memory block. When the stack and the heap meet, the garbage collector is triggered and memory is reclaimed. Find out more on our blog.
How terminal works. Part 1: Xterm, user input (2021)
Hi there. I am going to post here thing about my work or my technical hobbies. This means c++, java, haskell, python, linux etc.
Simulation Islands
Island management is a fundamental low level feature of physics engines and can have a big impact on solver design and performance. This was one of the first problems I decided to work on for Box2D version 3 (v3). Since I began working on v3 I’ve been comparing several algorithms for island management. My goal has…
Coding interviews are stupid (ish)
Musings on software, technology, and life by Darren Kopp
Do We Worship Complexity?
Complexity is the most important challenge in software development. So it is important to always strive to eliminate complexity. But sometimes we worship complexity - and that can make complexity problems unsolvable.
The rise of industrial software
> _**Industrial**_ > > _adj. (sense 3a)_ > > Of or relating to productive work, trade, or manufacture, esp.
Why Learn Prolog in 2021?
?- learn(prolog).
Gitlab Critical Security Release
GitLab release announcements and feature highlights.
Side projects I've built since 2009
Side projects I have shipped, sold, or shut down, from modern.css to older WordPress experiments.
Security advisory: Breach and Django
Posted by Jacob Kaplan-Moss on Aug. 6, 2013
Cognitive Biases in Software Development
A couple of years ago, I started my first job as a programmer. On the first day, I entered the office, sat in my new chair, turned on the computer, checked out a project from the version control system and opened it in IDE. The first-ever piece of the code I saw looked like that: // TODO it works, but it's ugly…
A little story about the `yes` Unix command
What’s the simplest Unix command you know?<br /…
WASI 0.3
WASI 0.3 is official, and async is now native to WebAssembly Components. The WASI Subgroup voted to ratify WASI 0.3.0, rebasing WASI onto the WebAssembly Component Model’s async primitives. The 0.3.0 specification is now stable, and runt...
Writing a small ray tracer in Rust and Zig
This is where I write about the stuff that I've been working on.
An opinionated guide to Haskell
For me, this month marks the end of an era in my life: as of February 2018, I am no longer employed writing Haskell. It’s been a fascinating two years, and while I am excitedly looking forward to what I’ll be doing next, it’s likely I will continue to write Haskell in my spare time. I’ll probably even write it again…
How we use web components
GitHub has long been a proponent of Web Components. Here's how we use them.
The Hacker Way: How I taught my nephew to program
Over the last year, my 13 year old nephew developed a love for hacking. From anime chat , to snake , a minimal twitter , a blog , to an anime music startup , he’s built some cool stuff (1). What I’m most proud of though, is that he’s done this with self directed play, rather than with a rigid curriculum.