RantyDave

Joined 19 years ago

Karma
1,140
Submissions
633
Member since
Mar 25
Wellington, NZ. Currently hacking on yacht performance - Python, Dart, Javascript.
View on Hacker News

Recent submissions

Comment · 5 hours ago
"A simple cache returns None both for a missing key and for a key that maps to None."

No, it returns KeyError. Or at least it should.

Comment · 3 days ago
Is it "actually carcinogenic" or only if you use it 8 hours a day?

FWIW I run the printer in a downstairs bathroom with its own extractor fan and cure in the sun.

Comment · 3 days ago
I have a resin printer (elegoo mars 2p) and have done a number of small "production" runs of things that don't really matter.

I have to say that it is the biggest pain in the arse thing I even own. While the prints come out "good", I find that dimensional accuracy is often really not good at all; and that the whole rinse in isopropyl, finish in the sun process is just a sticky, irritating, and probably carcinogenic drag.

And I can't imagine why USD700 is regarded as a bargain.

So this has served as a fine reminder - I need to sell this damn thing, it just takes up space.

Comment · 21 days ago
I've had limited adventures in embedded software and as part of that became a fan of Zephyr (http://www.zephyrproject.org) and wonder about its potential application as a unikernel.

On the plus side: it's a unikernel. You compile it and your application together and get a binary. It has support for running on virtual hardware (https://docs.zephyrproject.org/latest/hardware/virtualizatio...) and virtio is the new bios, right?

On the minus side: I think porting "traditional" software - say Nginx - to it will be agonising. And I can't make any guarantees about its performance in the same way that Alpine Linux container images are not necessarily fast.

But there's an entire toolchain, debugging story, drivers etc. for something that compiles to tiny and starts up basically instantaneously. Surely that's got to be useful for something?

Comment · 26 days ago
In theory: it's not greenwashing, it's so that the humungous amounts of resources they put into developing F1 engines are not completely wasted ... so that some of the tech can "trickle down" to road car engines. Hence, the interest in hybrids. At least they get to learn how to charge a battery really, really fast.

In practice, of course, it's all going to go a bit south when road cars go to 90% EV. There is already a "formula E", of course.

Comment · 1 month ago
So if nothing moves, you can't make an array that grows?
Comment · 1 month ago
Ummm, wow. That's really bad.
Comment · 1 month ago
I love that “grind” is a keyword.
Comment · 2 months ago
'urllib3' completely saved me once. We had to authenticate with the border proxy using a certificate, then make a request to a web service ... that needed authenticating with a certificate. Urllib3 was the only one that could do it.
Comment · 3 months ago
I'd like to disagree but can't. Letting a foreign power "sell" internet connected microphones and cameras into "our" homes is totally asking for it. I wonder what the rules are around security cameras and similar?

Not sure I mind the routers so much. By the time the traffic is traversing the router it had better be encrypted. OTOH an army of domestic routers can at the very least be made into a quite astounding botnet and if we were to dig deeper I'm sure the data around which hardware address comes online and when could be made extremely useful.

In short: you're right. It's not protectionist bullshit, it's a wide variety of reasonable concerns. It also might be a horse that's bolted.

Comment · 3 months ago
I thought drones were banned already. Are they now un-banned?
Comment · 3 months ago
Don't we have Nuitka for this?
Comment · 4 months ago
Moving my crap onto an old laptop and some kind of tunnel thing ... tomorrow.

Those are some huge increases.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton