HNHacker News
TopNewBestAskShowJobs

mattbillenstein

1,783 karma · joined April 5, 2011

matt (at) vazor (dot) com
submissionscomments
mattbillenstein··on Ask HN: What's a strong tech opinion you have that few agree with you on?
I think it's not that hard - I have configs and I even build Postgres from source so I can get the same version in dev environments supporting Linux and MacOS.

In production I find it a bit easier to profile what's happening if the db is performing poorly since I can login to the box and use standard tools - is it cpu/io bound, etc.

mattbillenstein··on Ask HN: What's a strong tech opinion you have that few agree with you on?
No, I mean I'd rather build tooling to run Postgres than use a 3rd party service to run it for me.
mattbillenstein··on Ask HN: What's a strong tech opinion you have that few agree with you on?
In some smaller startups I've been in, they seem allergic to building anything they can just buy and call via an api despite the problems that might cause - it's another level of tech debt imo.
mattbillenstein··on Ask HN: What's a strong tech opinion you have that few agree with you on?
I'd almost always rather build something than use a 3rd party service.

I understand it, I run it, and I don't have to deal with 3rd party's changes, performance problems, or downtime. Also, less bugs related to data consistency.

mattbillenstein··on Ask HN: What's a strong tech opinion you have that few agree with you on?
I like this - have started to think more this way, but I'd almost always deploy three boxes instead of one. I like the flexibility of having something that can auto-failover should an az or instance die or disk die.

That being said, I've seen VMs with multiple years of uptime on various clouds, so ymmv.

mattbillenstein··on Ask HN: Do You Self Host?
Was self-hosting email for maybe 20 years myself - but I'd say I only really understood enough to make it work. Been using https://mailinabox.email/ for the last 5 years or so and I'm pretty happy with that - works better than what I was doing myself using mostly the same underlying tools.
mattbillenstein··on Ask HN: What lesser-known Python libraries do you wish people knew about?
Perhaps Mako - everything uses Jinja2, but you have to essentially learn a limited DSL when you could just be using Python in templates.
mattbillenstein··on A Postgres task queue implementation
Thank you, interesting, I had not seen this before.

Seems complex - any ideas why the use of Rust extensions vs doing it natively in PG?

mattbillenstein··on A Postgres task queue implementation
Saw a thread discussing Postgres queue tech a couple weeks ago, but I couldn't find a fleshed-out implementation, so I decided to build a little prototype.

Interested to see in what ways people could improve this. I followed some of the principles and terminology of beanstalkd which I used some years ago, but seems to have fallen out of use.

mattbillenstein··on SciPy builds for Python 3.12 on Windows are a minor miracle
Very naive question, but are the semantics of Fortran so different that it can't be translated to C first and then compiled using a C compiler? Perhaps maintained in C going forward?

I can't imagine there are a lot of Fortran folks around maintaining these old libraries - they must need maintenance no?

mattbillenstein··on Git rebase, what can go wrong
There are just too many things you have to know about which commits are what and what's going on - especially with a larger team - it's not a good use of time imho to be fixing rebases when they go wrong. Like the big list of dos and don'ts at the end of this should be a red flag.

Better alternative I've found is squash merge - topic/feature branches are squashed as a single commit instead of bringing down each individual commit or creating a merge commit. You're history is cleaner, you're able to revert stuff easily, and it's really hard to mess up since it's just an atomic last step you do in your workflow.

mattbillenstein··on The costs of microservices (2020)
I think most organizations should take a stab at scaling out with in-process services first - ie, instead of an rpc it's a function call, instead of a process, it's a module, etc.

In a well-factored app, stepping on one another's toes should be the exception, not the rule.

Unfortunately, I think modern web frameworks don't do a good job of enabling this. They often encourage "God object" patterns and having code/data very tightly coupled.

mattbillenstein··on Elon Musk gives X employees one year to replace your bank
Also the ire Musk holds for the SEC - do not trust him at all...
mattbillenstein··on Ask HN: How do I overcome a PiP at a startup?
You and your employer are vastly misaligned. They want to fire you - they would have already fired you if HR had allowed them.

Try to understand why, learn from it; but get out, this isn't going to end well.

mattbillenstein··on Ask HN: What's your most annoying issue with using cloud dev environments?
Why don't you just work local?
mattbillenstein··on Hackers stole access tokens from Okta's support unit
How any of these companies convinced people to put all their eggs in one basket, I'll never know.
mattbillenstein··on US ad revenue at Musk's X declined each month since takeover
Play stupid games, win stupid prizes.
mattbillenstein··on Why SQLite does not use Git (2018)
Point could be made people don't really use git anymore - they use github as the primary interface. Branching, merging, review, etc.
mattbillenstein··on WordPress Playground: A WordPress that runs entirely in the browser
Yes, but practically speaking, waiting 20 years isn't an option. Moore's Law has stopped delivering rapid single-threaded performance gains and not everything is trivially parallelable.

The fastest single-threaded cpus today are only 2x faster than the fastest single-threaded cpus of a decade ago...

mattbillenstein··on WordPress Playground: A WordPress that runs entirely in the browser
I worked on a Strattic conversion some time back - they basically scrape all your pages and serve them statically, but you do have to do some things to support search, forms, etc and you'll end up pruning plugins that don't work well with it.

But, serving static pages is very very fast afterwards.

mattbillenstein··on Ask HN: Why are you still on Twitter?
Inertia, there's more content on Twitter still than Threads.

Elon is definitely working to kill the platform with all these random by fiat changes he's making in the name of "free speech" - which to the right means you can lie and spread as many conspiracy theories as you want. I don't think the general population is interested in that - there is a medium of sensible moderation that keeps discourse civil and roots out the worst of the lies and conspiracies.

mattbillenstein··on Is ORM still an anti-pattern?
ORM, Python GIL, need for k8s, mongo is webscale - pick your summertime bikeshedding topic instead of going outside and re-evaluating your life friends!
mattbillenstein··on GraphQL Cursor Connections Specification
I guess the question becomes, how do you actually implement this using something like postgres on the backend? You actually need to keep a transaction open to perhaps guarantee the results in the cursor are consistent with the results from the previous page?
mattbillenstein··on Ask HN: Engineering managers, how do you “upskill” your team?
I'd say it was mostly focused somewhat on the problems at hand or a deeper understanding of what made things work.
mattbillenstein··on Ask HN: Engineering managers, how do you “upskill” your team?
Yes, we keep a schedule, people can signup with a topic - I just ask for volunteers or suggest stuff for people to take a look at.
mattbillenstein··on Ask HN: Engineering managers, how do you “upskill” your team?
I liked to do an "Eng Weekly" meet where we took a deeper dive on some technical thing. Might involve someone doing some research and showing off something they learned, or doing a deep dive on some tech we used or looking at data structures or design patterns in our code base that could be improved in some non-obvious way.

Anything was fair game as long as it was technical and interesting. My main goal was to level-up the team a bit, show them how fun actually building stuff was vs adding a dependency of some 3rd party service or library, and have some fun just nerding out a bit on what other stuff was going on in OSS or the community at large.

mattbillenstein··on Monoliths are not dinosaurs
This is not well understood at all - and a lot of frameworks don't really lend to simply splitting a piece off.

I've seen terrible spaghetti code apps where literally nothing can be refactored because of the model / view, God object dependency stuff all over the place.

mattbillenstein··on Ask HN: Advice on flipping SWE interviews upside-down?
Few problems - this is a lot of overhead for you I think, and it'll be hard to measure the strength of one candidate vs another.

Also, a lot of SWEs most significant code bases they've worked on will not be theirs, but property of a previous employer.

The best I've figured out is to have a straightforward coding exercise that doesn't have a lot of dependencies and can be solved fairly quickly in any language the candidate chooses. Do this live in one of your interview sessions - I don't like take-home stuff, it discourages above-average candidates.

Have a couple places where they could chose the wrong data structure or algorithm. And have a follow-up that modifies the first solution to do something slightly different. Give this same exercise to all candidates - you'll more easily know if candidate A is better than candidate B, etc.

mattbillenstein··on Ask HN: Has anyone been hired from Who Wants to be Hired?
I do wonder this - I also wonder about companies constantly posting they're hiring - like, why are your employees churning so badly?
mattbillenstein··on Htmx Is So Good
Would love to see a writeup about how you put this together.
← PreviousPage 6 of 31Next →