HNHacker News
TopNewBestAskShowJobs

mattbillenstein

1,783 karma · joined April 5, 2011

matt (at) vazor (dot) com
submissionscomments
mattbillenstein··on Don't rent the cloud, own instead
Honestly, the way I've seen a lot of cloud done, they need _more_ people to manage that than a sensible private cloud setup.
mattbillenstein··on Time Machine-style backups with rsync (2018)
restic to s3 has been very reliable - haven't tried borg.
mattbillenstein··on JuiceFS is a distributed POSIX file system built on top of Redis and S3
The key I think with s3 is using it mostly as a blobstore. We put the important metadata we want into postgres so we can quickly select stuff that needs to be updated based on other things being newer. So, we don't need to touch s3 that often if we don't need the actual data.

When we actually need to manipulate or generate something in Python, we download/upload to S3 and wrap it all in a tempfile.TemporaryDirectory() to cleanup the local disk when we're done. If you don't do this, you end up with a bunch of garbage eventually in /tmp/ you need to deal with.

We also have some longer-lived disk caches and using the data in the db and a os.stat() on the file we can easily know if the cache is up to date without hitting s3. And this cache, we can just delete stuff that's old wrt os.stat() to manage the size of it since we can always get it from s3 again if needed in the future.

mattbillenstein··on Meta cutting ~1500 VR/AR positions to focus on AI
I wonder if they regret the name change - like don't rename the whole company after a research project because when it fails people are eventually going to be like 'wtf is a meta?'
mattbillenstein··on My one-liner Linux Dropbox client
Try syncthing
mattbillenstein··on Everything as code: How we manage our company in one monorepo
Why bother with the rebase if you squash anyway? That history just gets destroyed?
mattbillenstein··on Everything as code: How we manage our company in one monorepo
This - even 5 devs.

Also rebasing is just so fraught with potential errors - every month or two, the devs who were rebasing would screw up some feature branch that they had work on they needed and would look to me to fix it for some reason. Such a time sink for so little benefit.

I eventually banned rebasing, force pushes, and mandated squash merges to main - and we magically stopped having any of these problems.

mattbillenstein··on Hetzner API / Console down ~8hr so far
More info, seems like ipv6 is working but ipv4 is not.
mattbillenstein··on Hetzner API / Console down ~8hr so far
Reportedly fixed ~5hr ago, but api is still failing for many, console sporadically loads, I'm getting:

$ hcloud servers list hcloud: Get "https://api.hetzner.cloud/v1/servers?page=1&per_page=50&sort...": dial tcp 213.239.246.73:443: i/o timeout

as of 2025/12/22 03:26 UTC

mattbillenstein··on Breaking Changes in Python-3.14
Eh, not letting the language ever evolve is a sure way to death, ymmv.

Forkserver is probably a better default, inheriting file handles, globals, and sockets leads to a bunch of subtle bugs - I'm not sure that's even a good feature, also ymmv.

And fork() is still available, so if it breaks things, the solution would be to explicitly ask for fork() - and I'd say for most casual uses of multiprocessing, a user won't know one way or the other which is what I meant by transparent.

mattbillenstein··on Breaking Changes in Python-3.14
Why do you consider using forkserver as the default a breaking change? This should be transparent to most users?

fork() is very hard to get right as it keeps a lot of state around from the parent process you have to cleanly discard...

mattbillenstein··on Decreasing Certificate Lifetimes to 45 Days
fwiw, I host a free little service that can check certs once daily and email you if they're about to expire - https://ismycertexpired.com/check?domain=ismycertexpired.com
mattbillenstein··on Advent of Code 2025
I've done all the years and all the problems.

The part I enjoy the most is after figuring out a solution for myself is seeing what others did on Reddit or among a small group of friends who also does it. We often have slightly different solutions or realize one of our solutions worked "by accident" ignoring some side case that didn't appear in our particular input. That's really the fun of it imho.

mattbillenstein··on Advent of Code 2025
The global leaderboard was a great way to find really crazy good people and solutions however - I picked through a couple of these guys solutions and learned a few things. One guy had even written his own special purpose language mainly to make AoC problems fast - he was of course a compilers guy.
mattbillenstein··on Advent of Code 2025
Realize in anything, there are people who are much better than even the very best. The people doing official collegiate level competitive programming would find AoC problems pretty easy.
mattbillenstein··on Hyperflask – Full stack Flask and Htmx framework
I think you lack perspective - there is still a lot of sync code being written - I'd argue probably most deployed python is not async.

And most apps don't need crazy scale, they need simplicity.

mattbillenstein··on Why is everything so scalable?
I think more engineers would benefit from "you can just build stuff" thinking. Like you don't have to use all the complicated whizz-bang tech that everyone else is using.

You can build a boring backend on Linux VMs without containers using open-source software - it's simpler or at least a different level of complexity compared to the big clouds and orchestration systems like k8s, and honestly, it's just more fun to work on - I almost never write yaml - it's a joy.

I wrote my own deployment system using this idea - machines, roles, software and services that map to those roles, idempotent operations, and a constantly-connected async rpc system to orchestrate it all. Written from scratch in a language I like with a config language I like. My deploys are often < 10s (if I'm not waiting on webpack to build the UI) and all connect up to a chatops channel in Slack. I understand it because I wrote it all. Will it scale to infinity? Definitely not, but it's good enough for my uses.

So, I guess - just build stuff using simple primitives. Write simple software - modules and functions and a lot of stateless code. Use postgres for persistence - it's really that good. Use nginx and dns load balancing - tried and true simple architecture.

mattbillenstein··on My first contribution to Linux
Pretty cool writeup - wish I had time or need to hack on stuff like this - maybe someday ;)
mattbillenstein··on Amazon's AWS CEO chides staff for slow product rollouts
How Amazon keeps doing so well when they flog the talent so much is a mystery to me.
mattbillenstein··on iPhone 17 chip becomes the fastest single-core CPU in the world on PassMark
I came to realize by soldering a lot of fast ram on to the board of newer laptops and phones, maybe it's not the instruction set that matters that much.

Modern Apple hardware has so much more memory bandwidth than the x86 systems they're being compared to - I'm not sure it's apples to apples.

mattbillenstein··on I regret building this $3000 Pi AI cluster
Perhaps, but I don't really get the dozens of TB of storage in the home use case a lot of the time either.

Like if you have a large media library, you need to push maybe 10MB/s, you don't need 128GB of RAM to do that...

It's mostly just hardware porn - perhaps there are a few legit use cases for the old hardware, but they are exceedingly rare in my estimate.

mattbillenstein··on I regret building this $3000 Pi AI cluster
This is the correct analysis - there's a reason you see this stuff cheap or free.

The homelab group on Reddit is full of people who don't understand any of this - they have full racks in their house that could be replaced with one high-end desktop.

mattbillenstein··on I regret building this $3000 Pi AI cluster
Power and noise - old server hardware is not something you want in your home.

Commodity desktop cpus with 32 or 64GB RAM can do all of this in a low-power and quiet way without a lot more expense.

mattbillenstein··on I regret building this $3000 Pi AI cluster
LOL, no
mattbillenstein··on I just sold my Bored Ape (#3707) today for $37,000. I bought it for $425,000.
If you are not part of the grift, you are being grifted...
mattbillenstein··on Tech CEOs take turns praising Trump
South Park becoming a credible news source.
mattbillenstein··on Databricks is raising a Series K Investment at >$100B valuation
Technically speaking - "FUCKED"
mattbillenstein··on US reportedly forcing TSMC to buy 49% stake in Intel to secure tariff relief
In a way it kinda does though - like definitely the information ecosystem distorts things, but some people do not have (or do not exercise) the critical reasoning skills to decipher what's true from what's not. Or what issues are actually important from those that are meant to just distract - not everyone can tell the difference and see how the incentives actually point to what's going on. reply
mattbillenstein··on From Async/Await to Virtual Threads
I'm still using gevent, it still solves a bunch of problems nicely for me - yeah, the monkey patching is kinda ugly, but yolo.
mattbillenstein··on Webflow Down for >31 Hours
We're sorry https://www.youtube.com/watch?v=9u0EL_u4nvw

Edit, an outage of this length smells of bad systems architecture...

← PreviousPage 2 of 31Next →