Hacker Newsnew | past | comments | ask | show | jobs | submit | more laybak's commentslogin

same. the older I get, the more I appreciate the "middle of the world" attitude in classical Chinese teachings. there's no single approach that's always / universally right. so it's wise to avoid going to the extreme in any direction


this seems like a chain of good practices. though I find it hard to stay disciplined about keeping commits well scoped and well described


Becoming very comfortable with "rebase --interactive" and other cmds for editing your (local!) history before merging helps a lot. Once you are, it only adds 5m or so of extra work to most PRs. And while acquiring this knowledge used to be difficult, LLMs make it very easy these days.


I would also recommend an editor designed for rebases. I use the nodejs rebase-editor TUI (though it looks like the old non-vibecoded releases have been removed from github, so unclear on the current availability of this one) which makes it easier to organize


You can setup most PR systems to squash on merge using the first commit's message, then enforce that the top commit message is prefixed with a ticket ID. This practice has many benefits: readable git log, easier git bisect for tracking down regressions, it becomes easy to find all commits associated with a block of work, more useful git blame.


I strongly recommend against auto-squashing. It creates large commits without the semantic intent of the author. In a large PR, you want clean, small, semantic commits, which makes it much easier to review and understand.


I agree, though it feels like a bit of a lost cause at times to get people to make those commits


Written a while ago but spot on


> AI can hallucinate, but I've been misdiagnosed by humans so many times too...

I've heard this experience from quite a few folks before, but this is my first time hearing about a mandatory 8 months quarantine as a consequence... damn


how representative are Semgrep's benchmarks? everyone seems to have their own benchmark these days (guess it's good "content marketing") I'm honestly losing track


agreed. we should normalize this level of skepticism/scrutiny for all claims from big AI labs


yeah smells AI generated to me too


haha same! "# new tabs opened" is a poetic metric



wow didn't realize background noise can get so sophisticated haha


Nice! Has anyone figured out a good way to export the sounds and the MIDI?


Sounds are loaded via http, so copy the link and use curl. E.g. https://experiments.withgoogle.com/ai/drum-machine/view/audi... and https://experiments.withgoogle.com/ai/drum-machine/view/meta.... I don't think there's any MIDI.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: