HNHacker News
TopNewBestAskShowJobs

old_hat

37 karma · joined November 8, 2020

submissionscomments
old_hat··on WebVM is a server-less virtual Linux environment running client-side
This isn't WebVM specifically, but one example using WebContainers we've built is https://demo.graphweaver.com/

This runs a NodeJS server and frontend in your browser so you can see what Graphweaver can do without having to install or run anything more than a browser on your computer. The example has an SQLite database joined to a REST API. Graphweaver serves a GraphQL API with the result.

old_hat··on Batteries: How cheap can they get?
Yeah, it's all fun and games until you're at Macca's and someone says, "Oi, can you pass me a chippy?" and they get real confused when you go find a carpenter.
old_hat··on Cable ISP fined $10k for lying to FCC about where it offers broadband
fast.com checks the speed to Netflix servers. So if they juice that, they also have to juice Netflix streaming speed unless they've figured out a clever way to fingerprint just fast.com traffic over HTTPS.
old_hat··on US developers can offer non-app store purchasing, Apple still collect commission
I can't use another company's GPS system in my car, so in the market of, "Using GPS navigation / menus / etc in my 10 year old Mini's dashboard" there's no meaningful competitor. They charge for map updates and everything.

At some point a company is just building a feature, and they're not required to make every single feature accomodate every other manufacturer's competing version of the feature. I knew I was buying the Mini system when I bought the car, and I accepted it. Same is true for iPhone users.

old_hat··on Show HN: Graphweaver – Instant GraphQL API on Postgres, MySQL, SQLite and More
This looks really interesting. I'm regularly building systems that are plugged into multiple SaaS things, and would love a way to make that easier.

I'll give this a go with a toy project and see if I can find the edges.

Do you have any performance benchmarks available to compare to other similar tools?

old_hat··on macOS Cursors
System Settings -> Accessibility -> Display -> Pointer

There are options for pointer size, outline colour and fill colour. Go nuts.

old_hat··on A senior engineer's guide to the system design interview
That's obvious. It's called "x".
old_hat··on Amazon employees push CEO Andy Jassy to drop return-to-office mandate
I'm 40 and I work from the office 5 days a week for roughly the same reasons. General expectation from the company is around 2 days a week in the office, but I prefer it, so I come in every day.
old_hat··on For your next side project, make a browser extension
Not OP, I built an extension for a site that sent CSP headers. Because the browser extension wasn't allowed in the list of JS sources, it all borked.

Not certain that's this user's issue, but that is another thing to check.

old_hat··on India follows EU's example in requiring USB-C charging for smart devices
On average it takes about double the power to charge the device. Coils aren't always properly aligned, and it's not as efficient in the first place.

If we adopt this tech en masse, we'll need to build some more power plants.

https://debugger.medium.com/wireless-charging-is-a-disaster-...

old_hat··on Have lots of AWS accounts
The main counter to this is account limits. For example we had our staging and live environments in one account. We load tested on staging (which has its own VPC) expecting it not to affect production. But because we hit account limits in the process of load testing, production Lambdas stopped responding as we exceeded the account limits.

We now have a Control Tower setup to ensure that anything we do to staging can never take down production, even if it's an account limit breach.

old_hat··on High-speed rail board completes environmental clearance in northern California
Pass laws which provide less grounds for suing these kinds of projects, or at least group them into one class action lawsuit instead of a smattering of actions. Provide abridged proceedings for infrastructure projects so judgements can be rendered more quickly. I'm thinking things like judge only trials, etc.
old_hat··on Being-Doing Balance over Work-Life Balance
He knew what we'd understand and how we'd interpret these laws when he wrote it that way and left the wording exactly like this anyway. If he really didn't want people having Eruvs in their cities, he'd have defined walls and houses better.

All knowing by necessity means knowing about the loopholes we'd exploit, or he's not all knowing.

old_hat··on Tell HN: Job interview canceled due to looming recession
Unfortunately whenever we test intercessory prayer we find that it doesn't work.

https://pubmed.ncbi.nlm.nih.gov/16569567/

old_hat··on Why America has a school bus driver shortage
In Australia we only have school busses for incredibly remote communities. Most kids just take public transport.

Of course for that to work, you have to have a viable public transport system.

old_hat··on The U.S.' vaccine rollout is world-beating
In school I was taught, "You're so lucky to have been born here. We're the best country in the world at everything." I'm not exaggerating, and we were told to expect to be the best all the time.

https://en.wikipedia.org/wiki/American_exceptionalism#:~:tex....

old_hat··on Biden wins White House, vowing new direction for divided U.S.
I'd say you lobby for preferential voting like we have here as the first step. You write numbers in boxes for your 1st choice, 2nd choice, etc until you're done.

They put all the ballots in piles by everyone's first choice. The smallest pile (e.g. least voted for candidate) then loses, and their ballots get sorted onto their second choices. Repeat until you have a candidate with a clear majority, and you have a winner.

This allows people to say, "I want Rubio, but if not, then Cruz, and if not then Jeb" etc. I suspect if this system were in play in both parties now, we'd have different nominees, and they'd be the candidates that the majority can live with instead of being the candidates that most excite the extremes. And the people on the extremes can see that their candidate lost even with people being able to vote for them without 'wasting' their vote.

Yes, in our senate this gets a bit crazy with tablecloth sized ballots (https://upload.wikimedia.org/wikipedia/commons/a/aa/Victoria...), and the first time I voted here I allocated every single preference down to about 160 something with pride. You don't have to obviously, but I chose to.

old_hat··on Biden wins White House, vowing new direction for divided U.S.
I'm from the US, moved to Australia and am now a dual citizen.

I think the reason for this here is because we have preferences in our voting, and we have compulsory voting. I can say, "First the communist, then the gun people, and if neither of those, finally go for a major party." if that suits me. That means our voices get heard, and the major parties listen.

In NSW government for example we had an unpopular law put in place that killed our nightlife, so an entire political party was created just to fight that one law. They got lots of first preference votes, and the votes for all who did that were routed back to candidates that actually won because of the preferences. Being able to allocate our votes back to major parties with our voices being heard is important. Liberal then realised this wasn't a hill they were particularly keen to die on, so they repealed the law. (https://www.timeout.com/sydney/nightlife/keep-sydney-opens-o...)

Also, compulsory voting means that everyone is going to vote. They have to by law. So there's no need to stoke the base to get turnout. Stoking the base makes you scary to everyone else and you get the smack down at the polls for it.

We currently have Greens members in our house of reps, and many many 3rd party candidates in the senate. It's nowhere near perfect, but having your voice heard clearly, having that reflected in law, and ensuring there's no apathetic middle that lets the extremes dictate policy cuts the crazy right down.