Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 14,540 posts.
SwiftUI in 2022
Even if you already know a bit (or a lot) of SwiftUI, Stanford’s course is incredible, amazing, wonderful, AND FREE!
Alpine makes Python Docker builds slower, and images larger
Alpine Linux is often recommended as a smaller, faster Docker base image. But if you’re using Python, it will slow down your build and make your image larger.
Show HN: 2D Graphics on Modern GPU
Is the traditional 2D imaging model nearing the end of its usefulness, or does it have a shiny future in the “modern graphics” world? I spent a week on a research retreat in a cottage in the woods to answer this question, as it shapes the future of UI toolkits. Performant UI must use GPU effectively, and it’s…
My favorite C compiler flags during development
The major compilers have an enormous number of knobs . Most are highly specialized, but others are generally useful even if uncommon. For warnings, the venerable -Wall -Wextra is a good start, but circumstances improve by tweaking this warning set. This article covers high-hitting development-time options in GCC…
Without the futex, it's futile
Review: It's a history text, not a CS text
Cache invalidation really is one of the hardest problems in computer science
My colleagues recently wrote a great post on the Netflix tech blog about a tough performance issue they wrestled with. They ultimately diagnosed the problem as false sharing, which is a performance…
Clang Format Tanks Performance
Can using clang-format make your code slower? Kind of.
Jira Is Turing-Complete
Engineering folklore holds that Jira (Atlassian's project-tracking tool) is Turing-complete . Existing claims point vaguely at automation features without exhibiting a reduction. This article supplies a proof, with setup instructions and execution trace.
The Power of Prolog
Facets of Prolog
Hacker, Hack Thyself
We’ve read so many sad stories about communities that were fatally compromised or destroyed due to security exploits. We took that lesson to heart when we founded the Discourse project; we endeavor to build open source software that is secure and safe for communities by default, even if there
The server chose violence
Hubris's oddest syscall
Static B-Trees: A data structure for faster binary search
This section is a follow-up to the previous one , where we optimized binary search by the means of removing branching and improving the memory layout. Here, we will also be searching in sorted arrays, but this time we are not limited to fetching and comparing only one element at a time.
A single line of code cost $8000
Due to a simple bug, Screen Studio app did generate over 2 petabytes of network traffic
Git koans
A Python programmer handed her ~/.gitconfig to Master Git. Among the many lines were the following:
Async Ruby
Async Ruby is a powerful and highly scalable concurrency feature. It's available today, it's production-ready, and it's an awesome addition to Ruby language!
Write thin to write fast
TITANSLOT88 menyediakan info akses login, cara daftar, serta link alternatif terbaru 2026, didukung navigasi mudah dan tampilan responsif di semua perangkat.
The Unix Philosophy and Elixir as an Alternative to Go
If you’ve done web programming for any length of time, you might too feel like we are at the start of some new era. For years, we’ve been using frameworks like Django and Rails in languages like Python and Ruby and PHP which use the old request-response cycle (for lack of a better term). Basically, a request comes…
Nitpicking the shell history scene in 'Tron: Legacy'
In the 2010 film Tron: Legacy , there's a scene where the main character Sam Flynn sits down at a computer in his father’s study, and types some commands to try to figure out what Flynn senior had last been working on, before mysteriously disappearing.
Dirty tricks 6502 programmers use
This post recaps some of the C64 coding tricks used in my little Commodore 64 coding competition . The competition rules were simple: make a C64 executable (PRG) that draws two lines to form the below image. The objective was to do this in as few bytes as possible.
Improving performance of rav1d video decoder
*on macOS with an M3 chip *slightly more than 1%, on a specific benchmark, without any new unsafe code A while ago, memorysafety.org announced a contest for …
Open Source .NET libraries that make your life easier
Building applications with .NET, React, and React Native. Fueled by enthusiasm for Linux, currently rocking Omarchy!
How to start a Go project in 2018
This post is fairly old. See the updated version Starting a Go project in 2023 Getting started with a Go project in 2018 is frankly a little more painful then getting anything else started IMHO. With …
GUM: A better CLI for Git
The books did make me think. A lot. A lot about a tool I use everyday… git http://git-scm.com .
When did I run that command? Update your Bash prompt with the command start time
Update your Bash prompt with the command start time.