HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jeshin

no profile record

comments

jeshin
·4 yıl önce·discuss
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
jeshin
·4 yıl önce·discuss
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
jeshin
·4 yıl önce·discuss
i hadn't heard about this, that certainly sounds pretty good
jeshin
·4 yıl önce·discuss
people can already do that with javascript anyway
jeshin
·4 yıl önce·discuss
TIL about user-select:none;

That's useful, I hate copying code snippets alongside line numbers and other weirdness
jeshin
·4 yıl önce·discuss
no it doesn't, the simple no-prefix solution requires infinite lookahead
jeshin
·4 yıl önce·discuss
maybe not all at once, but if you go back a hundred years, life is pretty different indeed.
jeshin
·4 yıl önce·discuss
jeeze, what were you wearing at the time in terms of pants?
jeshin
·4 yıl önce·discuss
yeah, a book is a particularly strange object to do that with. It's not like it's going to have gold rims, automatic spill prevention and drop parachute, and self-reading abilities. it's probably going to be some textbook
jeshin
·4 yıl önce·discuss
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.
jeshin
·4 yıl önce·discuss
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?
jeshin
·4 yıl önce·discuss
the pine phone has end user replaceable firmware for its LTE modem. there exists an unofficial open source alternative for the official firmware (which incidentally has vulnerabilities that quectel seems to be unwilling to patch)
jeshin
·4 yıl önce·discuss
and yet they chose to use strings for their api, eh?
jeshin
·4 yıl önce·discuss
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.
jeshin
·4 yıl önce·discuss
if you really care about static type checking, you probably wouldn't be using C
jeshin
·4 yıl önce·discuss
i hate the english version of amazon.de, for some reason amazon keeps activating this for me, and now whenever i type in an english book title it "helpfully" translates it to german
jeshin
·4 yıl önce·discuss
I guess otherwise book stores might order more conservatively, which might result in less sales
jeshin
·4 yıl önce·discuss
I think their point was less to assign blame, but whether or not it was war related.
jeshin
·4 yıl önce·discuss
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
jeshin
·4 yıl önce·discuss
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