News for hackers. Stuff that matters.

baptou12

Re:Write code like a human will maintain it on Friday July 10, 2026 @12:25PM (#48862096)
Humans can share context outside the code, while LLMs need it to be more explicitly structured inside. And if we keep the slightly verbose good practices that already help humans understand the intent, we kind of get the best of both worlds.
Re:Write code like a human will maintain it on Friday July 10, 2026 @11:32AM (#48861348)
I agree, but “write code like a human will maintain it” can also be limiting: if LLMs reduce the cost of maintaining more explicit or verbose code, we should use that to raise the standard, not preserve compromises made for human convenience.
Re:If society had a scorecard, what would be on it? on Sunday May 03, 2026 @10:30AM (#47997311)
Good invariant !
Re:If society had a scorecard, what would be on it? on Sunday May 03, 2026 @08:10AM (#47996146)
Interesting, but this feels very economic.

It seems possible to optimize for these metrics and still end up with a society where I wouldn’t want to live if I were randomly placed in it (high stress, low trust, poor quality of life).

Would you add anything to capture that?

Re:If society had a scorecard, what would be on it? on Sunday May 03, 2026 @07:25AM (#47995861)
so social rating as a key signal ?

  But to me, what matters is the actual change to main/master at the time the thing is merged — that is what affects the team.
Totally agree, if the developper goes in wrong product direction at the beginning and add 10 additional commits afterwards: team + 6 month actually don't care about it.

  I certainly see no point in merging it in when it based on an ancient ancestor
If you want the CI to run, before the merge on the result it will produce on main branch ?

Is there still a need for non-linear Git histories in product development?

I've been thinking about the Git development workflow lately and the trend towards linear histories, where every pull request is fast-forwarded and based on a branch rebased onto the main branch. It seems like a clean and streamlined approach, but are there still valid use cases for allowing non-linear Git histories?

( Read More... | 2 comments | on HN )
Re:Try/Catch Considered Harmful on Monday November 06, 2023 @04:10PM (#38169057)
I think that doesn't solve the problem of the variable scope
To some extent Tesla could be Starlink's AWS. Every Tesla user could be a potential starlink customer. Could we even imagine a more efficient data collection?
Re:Ask HN: How do you scale with ActiveAdmin on Thursday January 09, 2020 @10:58AM (#22002226)
We are using ActiveAdmin to manage our backoffice since few years, but we are facing some issue, especially in dev env, where the more you have models, the slower will be hot reloading of the code. Before considering to kill it to create a new backoffice in our rails app from scratch, I wonder if some HN people faced these issue and found some best practice to put AA at scale.
Re:Accelerating Photosynthesis on Thursday January 09, 2020 @07:09AM (#22000523)
"Add Green & Infrared Antennae Proteins" => Nature will become sad to watch

Older »