New
The latest blog posts to take off on Hacker News. 1,839 posts.
Infrastructure & DevOps
Any year
Downloading files from S3 with multithreading and Boto3
Yesterday I found myself googling how to do something that I’d think it was pretty standard: How to download multiple files from AWS S3 in parallel using Python? After not finding anything reliable in Stack Overflow, I went to the Boto3 documentation and started coding. Something I thought it would take me like 15…
A Ceph war story
It all started with the big bang! We nearly lost 33 of 36 disks on a Proxmox / Ceph Cluster; this is the story of how we recovered them.
Screw it, I’ll host it myself
It’s all fun and games until someone loses an eye. Likewise, it’s all fun and games until someone loses access to their private and/or business data because they trusted it to someone else.
Don’t use environment variables for configuration
Suppose you need to create a function for adding two numbers together in plain C. How would you write it? What sort of an API would it have?...
Apt Encounters of the Third Kind
A few weeks ago an ordinary security assessment turned into an incident response whirlwind. It was definitely a first for me, and I was kindly granted permission to outline the events in this blog post. This investigation started scary but turned out be quite fun, and I hope reading it will be informative to you too…
All my servers have an 8 GB empty file on disk
Last night I was listening to the latest Under the Radar , where Marco Arment dove into nerdy detail about his recent Overcast server issues. The discussion was great, and you should listen to it, but Marco's recent server troubles were pretty similar to my own server issues from last year, and so I figured I'd share…
Unironically using Kubernetes for my personal blog
There’s no shortage of posts like “Let’s use Kubernetes!” Now you have 8 problems, or Do I Really Need Kubernetes?, which tend to argue that unless you’re orchestrating 1000 containers, you’re good without Kubernetes. Also, I thought this tweet was hilarious: So… Hi, I’m the guy using Kubernetes for my blog and small…
Reverse Engineering a Docker Image
This started with a consulting snafu: Government organisation A got government organisation B to develop a web application. Government organisation B subcontracted part of the work to somebody. Hosting and maintenance of the project was later contracted out to a private-sector company C. Company C discovered that the…
Moderation in Infrastructure
Infrastructure companies need a distinct approach to moderation that focuses on neutrality and due process.
The security scanner that cried wolf
If you’ve ever been alarmed by how many security vulnerabilities your Docker image has, even after you’ve installed security updates, here’s what’s going on.
Building a high-scale chat server on Cloud Run
In this blog, I will show you how to use WebSockets support to build a fleet of serverless containers that make up a chatroom server that can scale a high number of concurrent connections (250,000 clients).
Take a look at Nomad before jumping on Kubernetes
Hashicorp's Nomad is a great, easy to use and very flexible task scheduler/orchestrator, and actually fares up decently against Kubernetes.
Google Cloud vs. AWS Onboarding Comparison
Kevin Lin builds tools for humans and agents.
You need to be able to run your system
"Run the unit tests" doesn't count. The complexity of your system is in the interactions between the units.
Please do not put IP addresses into DNS MX records
This blog is written by Hanno Böck. Unless noted otherwise, its content is licensed as CC0 .
Build an SMS Forwarder with Raspberry Pi Zero W and Waveshare SIM7000E Hat
In this guide, I will explain how to receive SMS messages and forward them to your Telegram account using Raspberry PI Zero W and Wireshare GSM hat. Python will be used to read SMS messages and forward them to Telegram Bot API. Messages will be listened to by Gammu SMS service and it will trigger the Python script…
Running Nomad for a Home Server
Setting up a single node Nomad and Consul server to deploy self hosted workloads.
Is Your Linux Version Hiding Interrupt CPU Usage from You?
TL;DR: Some Linux distros and even different kernel versions within a distro have disabled IRQ time accounting. In such case, your monitoring tools will report zero time spent in hardware interrupt handlers (shown as %hi, %irq, hiq, etc). It’s easy to check how your kernel is behaving by looking at /proc/stat and you…
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.
Docker, Django, Traefik, and IntercoolerJS: My go-to stack for building a SaaS
I provide a deeper-dive on the tech stack I like to use in 2021. It is simple, easy to work with, and allows you to grow out of it when the time comes. Updated for 2021!
Creating my awesome Windows 10 dev setup
Blake Mealey's digital garden.
Replacing Dropbox in favor of DigitalOcean spaces
A few months ago I experimented with DigitalOcean spaces as my backup solutionthat could replace Dropboxeventually.
Cgit, Nginx and Gitolite: A Personal Git Server
Hi'ya I'm Bryan, and this is my collection of projects, ideas, thoughts, feelings, opinions, ramblings, concepts, concerns, notions, conclusions, blurbs, and schemes, to name a few.
Container networking is simple (2020)
Begin with the basics to understand Docker and Kubernetes networking: learn how to create and interconnect Linux network namespaces using only command-line tools.