Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 1,839 posts.
Infrastructure & DevOps
Any year
HAproxy in the era of Microservices
Tales of a Software Craftsman
The UK has an entire IPv4 /8 that it isn't using
IMPORTANT UPDATES BELOW If you take a look at the list of IPv4 allocated /8 blocks there's one interesting block in there: 51.0.0.0/8 ...
Data scientists shouldn’t need to know Kubernetes
[Hacker News discussion, Twitter thread]
Awk driven IoT
With a Raspberry Pi or other modern single-board computers, you can make very simple toys. I started with the hello world of interactive apps: the soundboard. But even then, I was too ambitious. The soundpad Since the main target was kids. I wanted a simple, screen-less toy that would teach …
The End of the General Purpose Operating System
As interesting chat on Twitter today reminded me that not everyone is probably aware that we’re seeing a concerted attempt to dislodge the general purpose operating system from our servers.
How to install Linux from a Windows installer
I'm not sure why you would want to do this. Presumably for the same reason as me? I also don't know what that was.
Python Application Deployment with Native Packages
Speed, reproducibility, easy rollbacks, and predictability is what we strive for when deploying our diverse Python applications. And that’s what we achieved by leveraging virtual environments and Linux system packages.
Continuous Deployment
Last winter John Allspaw joined Etsy to run tech ops. John has written several important books on web ops and is one of the experts in operating large scale web services. One of the first things John did when he arrived at Etsy is work with the dev and ops teams to put in place […]
How to use your DSLR from 2008 as a webcam in 2022 (NixOS)
Why throw away your old Camera? In this guide we'll show you how simple it is to reuse your old Camera as a webcam using the NixOS linux distribution.
Linux v4.15: Performance Goodies
With the Meltdown and Spectre fiascos , performance isn't a very hot topic at the moment. In fact, with Linux v4.15 released, it is one ...
Using cgroups to limit I/O
Developers running their apps on tsuru can choose plans based on memory and cpu usage. We were looking at adding I/O usage as one of the plan’s features, so one could choose how many I/O operations per second or bytes per second a container may be able to read/write. Being able to limit I/O is particulary important…
The long life of Apache httpd 2.4
You're probably reading this page because you've attempted to access some part of my blog (Wandering Thoughts) or CSpace , the wiki thing it's part of. Unfortunately you're using a browser version that my anti-crawler precautions consider suspicious, most often because it's too old (most often this applies to versions…
Testing on production
It might seem like a click baity title but it’s not. Let me explain.
I host this blog from my garage
Over-engineering for fun (and not much profit)
Disable transparent hugepages
tl;dr “Transparent Hugepages” is a Linux kernel feature intended to improve performance by making more efficient use of your processor’s memory-mapping hardware. It is enabled ("enabled=always") by default in most Linux distributions. Transparent Hugepages gives some applications a small performance improvement (~ 10%…
Linux kernel cgroups writeback high CPU troubleshooting
Read on to learn how we used network packet captures and BPF to debug web server performance, ultimately uncovering a Linux kernel performance issue. This investigation was a collaboration between myself and my colleagues.
Golang: Don't be afraid of makefiles
I’m using Golang for a while. During the development, I was used to repeatedly execute “go build”,“go test” manually. This was a bad habit on which I resign. It is not so painful if you use simple command without any args. But in case of more complex tasks, naturally, it is going to be a…
Requests dropped when using Cloudflare’s free tier for a commercial project
Visits counter was a critical feature of every website just 20 years ago. In this tutorial, we will implement it with Rust Cloudflare Workers by adding persistence and dynamic behaviors to an otherwise static page. We will also discuss other practical use cases of CF workers edge proxy.
Securing Ubuntu
Table of Contents Initial Setup Setting up iptables and Fail2Ban Fail2Ban iptables rules Make shared memory read-only Setting up Bastille Linux Configuring Bastille sysctl hardening Setting up a chroot environment Securing nginx inside the chroot Extras Initial Setup Let’s login to our new machine and take some…
Hitler Uses Docker, Annotated
If you haven’t seen it, this is a very accurate and smart Downfall satire on Docker’s ecosystem, technology, and culture. It’s so good that I thought it would be instructive to an…
Powering the Lunar Base
NASA’s selection of SpaceX’s Starship within the Human Lander System (HLS) program was both surprising and exciting for space nerds all over. Previously I have written about how Starshi…
Building My Own Home Router
This page has moved. If your browser hasn't redirected you already, click here .