Sinjo

Joined 16 years ago

Karma
221
Submissions
46
Member since
Apr 5
Blog - https://blog.sinjakli.co.uk/

Mastodon (I post here more than Twitter) - https://tech.lgbt/@Sinjo

Twitter (DMs open) - https://twitter.com/ChrisSinjo

GitHub - https://github.com/Sinjo

View on Hacker News

Recent submissions

Comment · 1 year ago
Fixed! I grabbed that example from the bug tracker issue where the change was discussed and that wasn’t based on a version where the backtick change had been made.
Comment · 1 year ago
Ooh, I hadn't heard of rbs-inline before. I was always a bit put off by the type definitions having to live in separate files.
Comment · 1 year ago
Oh nice! I haven't used Sorbet yet, but this is the second time I've heard good things about it outside of Stripe (where it originated). I'll have to give it a proper look.
Comment · 3 years ago
By coincidence I just ordered my first PC Engines computer to use as a router last week.

Glad I got in while they're still being made. It seems like an underserved niche.

Comment · 4 years ago
Honestly state machines are fantastic in Rails too. My last company built Statesman (https://github.com/gocardless/statesman/) and being able to lean on it to prevent you getting into invalid states is fantastic. You also get the bonus of tracking the history of states your resources went through (which is especially useful when you're dealing with payments).

At some point you'll have to think about query performance on the state transition table, but it'll go further than you think and is firmly in the realm of problems of success.

Comment · 4 years ago
Ah that makes sense! Having current in opposite directions in the two wires in the cable cancels it out. Thanks for explaining.

I guess the warnings about not running loads of current through coiled cables are more to do with heat dissapation then?

Comment · 4 years ago
Doesn't coiling cables while passing increasing levels of power through them (which is exactly what's happening with new USB-C PD specs) start giving off more and more heat?

EDIT: Nope! See the replies.

Comment · 4 years ago
We stopped using HDDs and CRTs, and started using SSDs and LCDs.
Comment · 9 years ago
Pretty much number 1 on my Postgres wishlist.
Comment · 9 years ago
Thanks for the extra info, and the insight into how you're using Patroni. Always helpful to hear about someone using it for real, especially someone who's come from Pacemaker. :)
Comment · 9 years ago
It's a little lost in another comment thread (https://news.ycombinator.com/item?id=15862584), but I'm definitely excited about solutions like Patroni and Stolon that have come along more recently.
Comment · 9 years ago
Oh for sure!

My claim is that you need to hire some expensive people if you want that performance, not that there aren't reasons to run your own database instances!

Comment · 9 years ago
Right!

A thing that scares me is anyone saying they're running their own HA cluster (not single instance) for cost reasons. Infra people are not cheaper than the hosted solutions (Amazon RDS, Google Cloud SQL, Heroku Postgres).

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton