Recent submissions

Comment · 13 hours ago
Comment · 1 month ago
Soft like breaks in a code editor? That's insane
Comment · 1 month ago
`git add -p` is your friend to avoid adding unintended files/changes.
Comment · 2 months ago
I totally agree with you about the comments. Code is so much easier to grok. The comments are there as a reference that you can concentrate on if the code doesn't make sense to you.
Comment · 2 months ago
Comment · 3 months ago
But do you actually gain anything if you need to write detailed specifications? That seems just as time consuming as writing code, but less gratifying.

Code is just detailed specifications on how things should operate.

Comment · 4 months ago
All the things in between my commits is a messy soup. Looking there is not useful to anyone. I rewrite my history with git rebase so each commit is small and atomic. The story I create with my commits is what explains why things are as they are, it doesn't matter if it's the true chronological story on how it actually happened.

I agree with the author that reviewing pull requests is too late. The problem with pull request is that they make it hard to review individual commits since they are geared towards reviewing the result of an entire branch at once. But the answer is not to share all the noise, it should be to encourage small atomic commits so you can review the early work before the entire feature/fix is complete.

Comment · 6 months ago
I've never been to a theater without assigned seats. Maybe it's a regional difference?
Comment · 6 months ago
My approach is to color ssh sessions to prod servers red, less dangerous servers orange, my own non shared computers blue.
Comment · 1 year ago
It would be hard to find manufacturers to use it. None of the existing Android phone manufacturers would be able to release phones with this fork without also abandoning the official Android platform on all markets. Google are very strict with this in their tos. You cannot release devices using non official Android builds without losing your right to use GMS and Android Brandice on your other Android devices.
Comment · 1 year ago
They mention that there are mitigations in the kernel nowadays, so the mitigations they turned off here are now redundant. But I'm uncertain if that refers to the same cve that you mention.
Comment · 1 year ago
Americans and ISO? That sounds like an oxymoron.
Comment · 3 years ago
That is what Android does. Each application (by default) gets its own user id.
Comment · 3 years ago
"If you exit vim, it will restart."

This is like exception handling code with the comment:

// this will never happen

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton