Better HN
topnewbestaskshowjobs
Log inSign up

thcz

306 karma · joined Aug 26, 2019 (7y ago) · 73 submissions

Dang, please merge with tomashubelbauer.
Submissions

comment 6y ago · link · parent

This article talks about how you cannot roll back things in Git in one paragraph, then about how your reputation is at stake and then immediately into what to do after you've fixed the problem of having committed a secret. I think it should also talk about how to fix the problem, if it targets an audience which might not know how Git works. Otherwise a novice is walking away from it having learnt that Git is irreversible but you can also still somehow fix an issue of having committed secrets to it. I know I'd be confused if I didn't already know what to do.

comment 6y ago · link · parent

For anyone looking to use Git in JS, check out https://github.com/isomorphic-git/isomorphic-git. I've had great success with it and really like it as a library. It's API design is good and it's tree-shakeable so the size of the library is very reasonable, even if taking it as a whole.

comment 6y ago · link · parent

The C# compiler uses LLVM? Is that for something like Xamarin or something? I was under the impression that it was self-contained. Anyone knows the details of this?

comment 6y ago · link · parent

The "situation" here refers to having to work from home without notice due to Coronavirus. That's not a situation one thrusts upon themselves. I disagree that that's something one should be responsible for preparing for by always carrying their work laptop home. In fact, doing that puts the laptop at a risk of theft when in transit, which before the Coronavirus outbreak was definitely seen as more likely than a random epidemic.

This is no different from the office building burning down or having to close for a few weeks for a similar reason resulting in working from home without notice. In that scenario, I'm also not responsible for "fixing" the fact that some of my equipment stayed in the office and is now not accessible to me, preventing me from being able to work.

comment 6y ago · link · parent

I agree, I meant to address the point the grandparent made about what grade you could possibly need as a software developer which I read as implying that surely you must be good to go with just a laptop. And I wanted to bring attention to the fact that for many developers, "gear" would be that specific work laptop, not any given laptop. So it's not like there would be no disruption, you still need to grab it in advance to work from home.

comment 6y ago · link · parent

I put that restriction on myself, a selection of reasons follows: I don't use AV software but my employer requires it on machines in its domain, I won't allow remote management of my personal hardware but my employer uses remote management for wiping lost devices, and it helps to maintain a clear separation between personal and work time. All of the requirements my employer places on its hardware are reasonable for work hardware and I'm not opposed to these measures, but that's why IMO work hardware needs to remain work hardware - you can't compartmentalize a single device so that say an accidental remote wipe only affects your work files on the machine / phone.

comment 6y ago · link · parent

I'm a software developer who maintains very strict separation between work hardware and personal hardware. I keep my work laptop at work and only take it home with me when I know I'll be working from home the next day. It's amazing to be able to commute with no bags or anything on the days I'm working in the office successively. If I was forced to WFH without notice due to Coronavirus and I didn't have my work laptop with me, I would not work at all. Someone would have to drive to my place with my work laptop or agree to pay for a new computer I'd buy for the purpose for those two weeks or so.

comment 6y ago · link · parent

Specifically this linked article https://lars.ingebrigtsen.no/2020/01/06/whatever-happened-to...

comment 6y ago · link · parent

I hope this will start a trend. A tech meme of sorts - virally producing amazing and useful content with the same theme. :)

comment 6y ago · link · parent

Holy! I've been calling this software American fuzzy_loop_ for years without ever noticing my mistake.

comment 6y ago · link · parent

Sounds like there would be worse people than that.

comment 6y ago · link · parent

This line also stood out to me and perhaps I'm overly charitable, but I decided to interpret it as saying that people who made it to 40 while working in tech must have necessarily matured in their self-care awareness to the point where they don't suffer from burnout anymore, because for a lack of better way to put this, they know better by then.

comment 6y ago · link · parent

While a longer route with public transport is certainly an opportunity to let your mind wander (as long as it is not that crowded and you can autopilot transfers), it is still a forced one. You might find that's not a problem for you, and I believe you, but that's a privileged position to be in and you're the odd one out. Most people, I believe, would rather be in control of when they let their mind wander and when they get to their family or friends faster. I am not arguing against public transit here, I wish for a carless city as much as the next person, but I'm not blind to the fact that public transit is far from perfect and almost certainly not the full answer to a carless city.

comment 6y ago · link · parent

This is an excellent example.

comment 6y ago · link · parent

I'll try to remember to answer when I'm home. I have this working in a private repo so I'll make it public. Just checked it on my iPhone where it doesn't seem to work in Safari though so it's possible the support is not stellar. For sure worked in Firefox on my desktop though.

comment 6y ago · link · parent

You can even embed or link SVGs with CSS animations in them!

comment 6y ago · link · parent

Your readme is absolutely delightful. I love the animated screenshots. Hopefully more projects will take notice of how helpful that is!

comment 6y ago · link · parent

This should change though. That's the correct course of action if a maintainer won't mainline what you want them to. Or is absent altogether.

comment 6y ago · link · parent

Discussed here https://news.ycombinator.com/item?id=22073908

comment 6y ago · link · parent

I can think of a few ways of how this could backfire / be gamed or abused, but all in all, seeing how everything else is just as susceptible to abuse and gaming, it still sounds awesome to me.

comment 6y ago · link · parent

Worth reading the comments on this one. People don't seem to have such an easy time switching, because a lot of basic functionality is missing or behaves slightly differently.

comment 6y ago · link · parent

I have a container per domain of sites that I visit regularly. Right now I'm at about 40 containera.

comment 6y ago · link · parent

I fail to see how the title here matches the title or the content of the linked article?

comment 6y ago · link · parent

The title is missing (2018) or (2019) - not sure if the title should have the created or the updated date actually. Anyway, nothing indicates this is current, so the title should have some year

Also the title is total clickbait and while the topic is interesting, it would be great to have a less biased/reaching submission on it.

comment 6y ago · link · parent

Thank you, I didn't realize the URL safe variant of Base64 had a name and that it was this!

comment 6y ago · link · parent

> Also; relying on base64url is odd as there are no built in functions in JavaScript to encode and decode it.

I'm probably missing something, but aren't window.atob and window.btoa just that? It's not available in Node though.

comment 6y ago · link · parent

There is an API endpoint for file listing so even if it is not possible to fork it using Git, one could probably just list and fetch contents of all the files in the repo, effectively having cloned it.

comment 6y ago · link · parent

Namespaces are a good idea on paper, but you still need to secure the non namespaced name when you reach a bit of popularity or someone else will who will push malware there knowing people will often add a crate by the name they think it has and not necessarily the one it has.

comment 6y ago · link · parent

They link to one:

> A longer list of features and limitations can be found on our documentation site.

But unfortunately it looks like the linked page doesn't actually talk about limitations :) Unless you consider a warning about hlt-ing yourself in the foot a list of limitations I guess.

123