HN user

jeshin

104 karma
Posts0
Comments27
View on HN
No posts found.

yeah, I did get it to transpile with the babel command, but I couldn't get it to accept the babel-env preset, so it just transpiled from modern javascript to modern javascript, which is not very useful

on the note of babel, I don't usually do front end stuff but the other day I wanted to transpile one single javascript file to support older browsers, one time and then never again. I tried for like an hour and I could not figure out how to do it, without setting up like a whole environment/pipeline for it. My expectation going into it was "surely there's some sort of command that just lets you do input file -> output file", but i struggled until I just gave up and used their web demo thing to do it (which tbh I should have just done to begin with, but I had not anticipated it would be so difficult).

I mean I'm sure it's possible somehow, but it sure isn't obvious. And I get that this is not at all the usual use case for it, but still

EdgeDB 2.0 4 years ago

TIL about user-select:none;

That's useful, I hate copying code snippets alongside line numbers and other weirdness

Yes, unfortunately this is often the case. people who don't really use or test the site in tor put in some half-baked support and it just ends up making things worse. But my grievances aside (and please don't take this personally, it's just an issue that I've encountered one too many times, so it gets on my nerves), thank you for fixing it, and indeed it looks like the onion URL is now online, it wasn't working for me earlier.

if there's one thing I hate, it's websites "supporting" tor by redirecting from a specific article to the main page of their (in this case non-functional) onion URL.

twitter did this too a while back, they made a big show of how they're supporting tor now, and now whenever i click a link to a tweet via tor, it redirects me to their frontpage.

thanks, can you stop supporting tor now please, so I can use the site with tor again?

dicts are just a little too easy to use. You just smear it down, pass it around, and you're in business. If you really want to shoot yourself in the foot, also modify its structure here and there along the way, it's just so convenient. Who needs all that hassle of declaring a data class for each little thing?

It took me a little too long to realize that a data class represents a contract about the structure of your data, meaning that no matter how many calls deep you are passing it around, you will always know its structure without having to trace it back to the origin, and that's a powerful thing.

Well the article does state:

At first I thought they were jokes or just snarky remarks, but after a day of following up with folks, it actually turns out not to be a joke.

So who's to say he didn't? Twitter seems just to be where he first heard it

Agent Poettering, welcome back. You've done tremendous work for us.

*I actually don't care strongly about systemd one way or the other but couldn't resist the joke

I love 'em but I don't usually use them on nuts, since there's better tools for the job. The fact that they're parallel makes them good for a lot of situations, like pushing something into another thing, or even just gripping onto things over a larger surface without marring them too much (e.g. I use them to get 3d prints off the print bed when they're really on there and refuse to give. Although I've also occasionally used the tiny version of them for e.g. installing a new faucet, when I couldn't get other things into the space.

It's a good tool but I wouldn't reach for it first in every situation. If you have a regular nut with plenty of space, there's better tools.

iOS 12 still sees a pinch of usage, because it was the last version (before 16) that dropped some devices. Anything older than that seems to be pretty much not used anymore except for extremely rare cases, based on browser usage statistics, at least.

What they're getting at is that while it is the amount of amperage that goes through your heart that determines your likelihood of dying, you need a certain voltage to overcome the resistance of your skin to achieve such an amperage. Anything under around 50v is generally safe to touch, and often high amperage applications are under that limit.

So the reason high voltage is more dangerous, if it has sufficient amperage backing it up, is that the higher the voltage, the better its ability to pierce your skins resistance and flow through your body to begin with.

these are with a low voltage high current winding, instead of the standard 2000v winding, though, which is much safer. The danger of the unmodified microwave transformer isn't really so much that it has exposed mains voltage (although obviously you should be careful around that, too), but that it has 2000v+ and it's galvanically isolated, meaning no GFCI/RCD will save you (and obviously the 2000v will also do a much quicker job at passing lethal current through your heart/other organs)

Comparatively, a spot welder is "just" as dangerous as any other mains-based experiment. Not safe, but you have a pretty good shot at surviving, even if you get zapped.

I feel like a lot of people have kind of wisened up about this hypothetical future anyway, now that we're seeing FSD in practice. Sure, some problems would be eliminated by all cars being self driving, and the roads being tailored to that use case. But then, at the same time, trains literally run on tracks and they still have conductors.