HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Sinjo

no profile record

Submissions

How we built it: incident.io Status Pages

incident.io
4 points·by Sinjo·3 năm trước·1 comments

Waiting for apt locks without hacky Bash scripts

blog.sinjakli.co.uk
41 points·by Sinjo·5 năm trước·27 comments

comments

Sinjo
·2 năm trước·discuss
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.
Sinjo
·2 năm trước·discuss
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.
Sinjo
·2 năm trước·discuss
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.
Sinjo
·3 năm trước·discuss
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.
Sinjo
·4 năm trước·discuss
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.
Sinjo
·4 năm trước·discuss
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?
Sinjo
·4 năm trước·discuss
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.
Sinjo
·4 năm trước·discuss
We stopped using HDDs and CRTs, and started using SSDs and LCDs.