HN user

syberspace

39 karma

https://github.com/Syberspace

Posts2
Comments30
View on HN

as far as I've understood the AI mode on my new-ish washing machine: it's just a renamed "automatic" mode that uses a sensor to measure how heavy the load is and adjusts the cycle length. there is absolutely no AI involved, just an if-statement or equivalent logic gates. I'd guess yours does something similar

Koralm Railway 7 months ago

There is, the Koralpe massif. Previously to get to Klagenfurt from Graz you first had to go north through a somewhat tight valley for about 50km before the train would turn to the south-west towards Klagenfurt, again tough alpine valleys, and with a lot of stops inbetween. The new route goes south/south-west immediatley, is very straight compared to the old route, and has at most 3 stops.

I've gotten into the habit of generally using single quoted strings (with 'around them') which alleviates most problems with escaping double quotes. And for the odd string that needs to have a single quote inside I switch back to double quoting.

This approach also has the added bonus of stopping PHP from accidentally evaluating something inside the strings.

Sorry what? When has anyone ever said breathing is the cause for climate change? Or even talked about disallowing breathing?

I think you are correct with your assessment of how most people use computers.

But I don't agree with your conclusion that they need to be protected. If I want to hammer in a nail and accidentally hit my finger that's not the hammer-manufacturer's fault or responsibility. So why should it be the email-client's fault/responsibility to make sure I don't send my private keys?

If people refuse to learn how to use a hammer they will keep hitting their fingers, if people are refuse to learn how to use their email-client they will keep sending their private keys to bad actors.

With teaching UI you breed the class of people who will shout the loudest when something changes. Teaching your parents that "the internet" is the blue icon in the taskbar will teach them to call you when microsoft decides to install chromium-edge on their machine because "the internet is gone". Don't teach anyone how to use a specific UI, teach the concepts that made the UI look the way it does. And with that anyone will be able to transfer that knowledge to a slightly different looking UI without much of a problem.

Portals API 6 years ago

So the tradeoff we're making is between the user seeing a white screen for a couple of (mili)seconds and the websites getting even more bloated by preloading content that the user might or might not want to see in the future?

Why not just optimize page loading performace?

yes, passive listeners are great. What I don't want in my browser is a static analyzing tool as the first comment I answered to suggested

You seem to be misunderstanding my point. I'm definitely all for passive listeners. But I am very much against putting more workarounds for shitty developers directly into the browser.

But wouldn't a developer who is surprised by performance penalties caused by empty scroll event handlers also not use passive listeners?

The point of passive listeners would be to make it easier for developers to not accidentally write shitty code and boost performance on well written code that doesn't have to be blocking the scroll.

I don't think I said people write shitty code on purpose, I'll have to go back and read my own comment to make sure though.

You might find that it is even a better option to do _more_ testing and debugging as opposed to cramming yet another pointless feature into already bloated browsers. And as a sibling to my previous comment mentioned: this is ripe with "unpredictability and interoperability issues"

Maybe create a `static js analysis` browser extension for developers to aide them in their endeavours to stop writing shitty code, but don't force that down everybody's throat.

Imagine your government made it mandatory to leave keys in a certain place so police could enter a property in a hurry.

Isn't that literally what the TSA lock on luggage is? Granted, I wouldn't regard a suitcase made of bunch of plastic or fabric as very secure against any form of attack, but why do all these arguments against backdoors never mention this? And with the TSA master keys leaked a couple of years ago all it needs is one malicious airport worker to open your bags and sniff your panties, erm, steal your laptop.

why yes, let's cram machine learning into everything so people don't have to learn anymore. Learning is boring and takes so much time. /s

I don't understand the love for voluntary infantilism. Why is it such an impossibility to have to learn a system before using it? I don't think anybody here would argue that using a keyboard is too difficult. But couldn't we just back it with machine learning and let that algorithm figure out what we want to type when we just hit random keys?

slightly off topic: how is diy tooth alignment going to affect criminal investigations? on all those crime shows on tv (csi, navy cis, ...) they use dental records to identify otherwise unidentifyable bodies. is this method even used in real life and how would they find any records of your teeth if you fixed them yourself?