HNHacker News
TopNewBestAskShowJobs

plasticeagle

694 karma · joined November 4, 2022

submissionscomments
plasticeagle··on Ask HN: Can you recommend an “instant-switch” Monitor? Does one exist?
There could be, but there are (at least) three parties involved in whatever's causing the slow monitor response. I find it irritating even without a switch, just plugging in my external monitor should not take what seems like thirty seconds to actually turn on.

But in reality, you've got whatever tiny micro is inside the monitor, talking to whatever's on the graphics card, in turn talking to display drivers and who-knows-what-else on the PC side.

Slightly related to this, in some ways, is things like wifi connection. I have an ESP8226 that I've built a clock around. That thing will connect to the wifi, negotiate security, contact a time server, probably within one second. None of that is down to my ingenuity, it's literally how it works out of the box.

So the problem may just as much be on the OS side, rather than the monitor and the E-DID protocol.

plasticeagle··on Wendy Carlos: The brilliant but lonely life of an electronic music pioneer
"Sisters with Transistors" is a superb film. Before I watched it, the only one of the many extraordinary women presented therein that I knew of was Delia Derbyshire.

I had no idea that the soundtrack to The Forbidden Planet (which may very well be the greatest Science Fiction film ever made), was by Louis and Bebe Barron on equipment they pretty much entirely built themselves. Today, we plug in a laptop, back then you were a true pioneer.

plasticeagle··on Windy City Heat
All practical jokes are essentially bullying. There are no exceptions to this rule.
plasticeagle··on Framer's Magic Motion
I implemented this once, for an animation system prior to the existence of CSS animations. It was an obvious solution, hardly worth making a big deal about.

It is a very well-written and beautifully explained article though.

plasticeagle··on PFC bans are going to change waterproof garments
Cast iron, stainless steel AND carbon steel.

A carbon steel wok is my favourite cooking implement of all.

Non-stick is not for people who know how to cook.

plasticeagle··on Affinity 2
I bought Affinity Photo. The keyboard shortcuts don't work unless "focus" is on the image, I think. So often, they don't, and you have to click on the image to make them work. This rather defeats the purpose of shortcuts.

Using the keyboard shortcut to select a tool, also changes which subtool is selected. This is infuriating, and a magnificently stupid UI design.

I really wanted to like Affinity Photo, and I certainly use it as a photo editor, but every time I do I just wish I'd paid for Photoshop instead. It's pretty bad.

plasticeagle··on The type system is a programmer's best friend
For a while in the codebase I was working on, we had a set of distinct types for different units. You know, a type for meters, another for centimetres, etc etc. We had types for radians, types for degrees.

We had conversion functions between them, and type inference when you performed certain operations.

The result was a disaster. Not an enormous disaster, but enough of a problem to rip the entire thing out and replace it with plain double-prevision floating points, and sensible variable names, everywhere.

Why was this? It was a combination of there being nothing sensible to infer when you, say, multiply an angle and a distance (which happens when you're doing algebra), and everything in the whole codebase needing to be aware of these types.

The downside of all these brilliant ideas is dependency. If you define an "EmailAddress" type, as the article suggests, you've got to write the code for it somewhere. Now all your projects are dependent on this library, with all the pain and anguish that versioning and linking/including/whatever the library brings.

Before, you depended on nothing but the String type, which is very likely built into your language. When all your code needed to do was pull that email address out of some persistent store (say), and send to some other piece of code, your dependency list was just the Persistence library. But with your fancy EmailAddress type, your dependencies are now much worse.

Keep things as simple as they can be. An EmailAddress type is not useful.

plasticeagle··on Stripe laying off around 14% of workforce
NZ does not have a zero covid strategy, and never did. Pretty much all of NZ's covid restrictions have been removed, and there are thousands of reported cases at the moment.
← PreviousPage 6 of 6