HNHacker News
TopNewBestAskShowJobs

chociej

289 karma · joined January 19, 2021

submissionscomments
chociej··on Idiot Proof Git
TBF (at least with GNU find) you don't have to:

    find -name foo
chociej··on Idiot Proof Git
Soft reset is a rebase too
chociej··on Idiot Proof Git
None of the opinions described in this thread can fix the problem of ultimately having too many or too few commits, whatever norms are enforced. Squashing errs toward too few, not squashing errs toward too many. Probably the ideal is that a PR has meaningful, thoughtful commits which each contain a coherent, self-contained increment of functionality.
chociej··on Idiot Proof Git
Such as?
chociej··on Deadlines are pointless – what to do instead
I think it's easy to argue that all those things are what the author would call preëmption points
chociej··on Poll HN: Do you use SSH certificates (not mere public-key authentication)?
You could simply choose a short TTL, or your tool could check for e.g. "some-name._sshkeys.whatever.tld" as well as "_revoked.some-name._sshkeys.whatever.tld" to handle revocation instantly
chociej··on Poll HN: Do you use SSH certificates (not mere public-key authentication)?
With a short TTL I imagine it's quite workable.
chociej··on USPTO to add surcharge on non-DOCX patent applications in 2023
Not really for their own purposes, no. They do convert to PDF (and TIFF!) for various archiving and display needs.
chociej··on FBI is hiding details about a raid on Americans’ safe deposit boxes
IIRC judges aren't exactly lining up to throw the book at the feds when they misbehave. I'd love to to hear from someone more well informed though -- do judges just look the other way?
chociej··on Bun: A Complete Overhaul of the JavaScript Ecosystem
I remember feeling like they snuck that feature in without a lot of fanfare. Seems like it was easy to miss!
chociej··on Bun: A Complete Overhaul of the JavaScript Ecosystem
That was a fun read, and I'm really interested to see where Bun goes. That said:

> No more calling util.promisify(fs.writefile) just to get a function you can await

I'm sorry to say you've been missing out on `fs.promises.writeFile()` (or `require('fs/promises')`) for quite a while!

chociej··on Why we ignore thousands of daily car crashes
I think Strong Towns would suggest they should include the infrastructure involved as a point to analyze when determining root cause. For example, if a driver was speeding, could the street or road have been built in a way that better discouraged speeding?
chociej··on Tell HN: You can't hire because you don't post salary ranges
High salary won't make you happy, but low salary will definitely make you sad.
chociej··on Tooth-Pick (1891) [pdf]
I understand why you might not want to share, but I'd be interested to see your patents if you're willing
chociej··on We will never have enough software developers (2020)
I like this in a certain light. It's not so much a problem that PRs should be associated with tickets, it just sounds like the gatekeeping involved in getting tickets into an iteration is horribly overbearing. There _should_ be work happening that is driven by technical wants and needs, and the PO should be amenable to that.
chociej··on What a gas stove ban means for restaurants
That's only 30 kilowatts, which is really modest in terms of power demand for a commercial kitchen. And electric cooking can often deliver heat more efficiently to the cookware. Electric equivalent to 100k BTU/hr gas is not very hard to achieve.
chociej··on What a gas stove ban means for restaurants
Consumer Reports, for one, is happy to report that "No other cooking technology we’ve tested is faster than induction."

I would think a lot of the advantages of induction are really obvious, so I don't think your statement that they are "inferior to gas in every way" is particularly in good faith. No gas in a building should be obviously advantageous. Reduced ability to cause burns or fires too. Reduction of use of a potent greenhouse gas.

chociej··on My students cheated... a lot
Look, I was a pretty crappy student in a lot of ways. But this thread has a few instances of folks implying that, especially at more "elite" schools, blatant cheating is practically routine and everyone does it. Again, I was not a model student, but it's pretty maddening to hear that. I didn't cheat to get my degree. I'd ask that you all not rationalize your cheating to the point of making your successors feel comfortable doing so, or worse, feel like outcasts for not doing so.
chociej··on Credit Scores Can Run – and Ruin – Our Lives
Put some charity donations on autopay using a dedicated credit card, then configure the card to autopay the balance every month. Or, get hyperoptimal and set it up so that your overall credit card utilization stays at 1%, which is better under the FICO system than 0%.
chociej··on Ask HN: What’s a good laptop for software development at around $2k?
I just put linux on the MBP in the end. Much better docker experience. I can't believe companies elect to pay for Docker Desktop only to have it be so crappy.
chociej··on Ask HN: What’s a good laptop for software development at around $2k?
I get and respect that this is true for some people, but goodness, I am exactly the opposite. I find all of their builtin software to be irritating and unobvious.
chociej··on Ask HN: What’s a good laptop for software development at around $2k?
Agreed. I can't stand the feel of the MBP (16" 2019) keyboard. For one thing, it's too far to the right. But I also agree with you on the weird flat keys and soft F keys. At least mine has a real esc key. And this is purely habit & preference, but the control/option/command nonsense is infuriating. Everybody else does this the right way, get with the program Apple.
chociej··on Ask HN: What’s a good laptop for software development at around $2k?
YMMV. Linux on the 2019 16" MBP has a lot of issues that make it irritating. It works, but not perfectly by any stretch. And yes the machine is nice, except for the keyboard, which is probably one of the most important parts!
chociej··on Ask HN: What’s a good laptop for software development at around $2k?
Virtualization is a far cry, performance and experience wise, from running the OS natively.
chociej··on We lost 54k GitHub stars
They admitted exactly what they did. This experience is still really bad UX IMO.
chociej··on B773 at Paris on Apr 5th, airplane did not respond to commands
On this aircraft you must move the column with something like 20-25 pounds of force before the autopilot decides that you are overriding it.
chociej··on Tell HN: Recruiters are lying about remote positions
IANAL but this sounds like a recipe for a lawsuit against the recruiter?
chociej··on A better way to divide the pie
You assume Alice isn't the hungrier of the two and cares little for Bob's hunger, which sort of outlines my point: give more to who's hungrier.
chociej··on Justice Department Issues Web Accessibility Guidance Under the ADA
I don't think anyone is really unclear on law. You are expected to follow it, lest you be punished.
chociej··on Justice Department Issues Web Accessibility Guidance Under the ADA
No, I don't think you are. You're being arrested for not paying the fine. Each was an independent choice on your part.
← PreviousPage 2 of 4Next →