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

I disagree with this: commit messages should explain the Why. For the What, I can read the diff. Sadly, many commit messages are about the What.

Would be curious to know if it works better than writing the Why as human-friendly paragraphs in the body of the commit message.

A few examples are the ability to query historical data and using each action line as a signal for other tooling to build on top but there are many others… you can check what Conventional Commits did in the past and what they unlocked only by introducing structure to commit subjects

I guess it does not help that I dislike conventional commits :)

Most LLM articles depress me. At least this one made me smile, even if it's more about turning a dog into a random generator and generating games from random input.


Another one: depending on the language, 0 is either singular or plural. In French it's singular and it's always fun to see the denial in the eyes of my French colleagues when I tell them that 0 is plural in English.


> I have a very long regular expression (email validation of course) that doesn't fit on one line but no solutions I have found properly break the lines on page overflow.

Have you considered manually splitting the regular expression into multiple lines in the source document, using something like the `VERBOSE` mode from Python re module [1]?

[1]: https://docs.python.org/3/howto/regex.html#using-re-verbose


Looks handy!


I loved my HP 48G when I was in school (even if it was much slower than the Ti 81 it replaced when it came to graphing). I regret throwing it away because of the nostalgia, but I don't feel a need for using it these days.

As such I am genuinely curious about what rewards you get from using an engineering calculator in your work. That's an honest question: I would really like to have an excuse to get my hands on a 48G again!


I broke the screen of my HP48GX when it fell in the crack of the passenger seat of my truck about 20 years ago and I am still pissed about it.


Try Droid48 on your phone. It works for me after I cracked a number key of my HP48GX.


Oh, I’ve tried using emulators, but without the actual physical keyboard it’s just not the same.


Sounds like an character from the Asterix comic book :)


Shameless plug: I wrote a tiny script to install Firefox from their tar.gz, without requiring root access: https://github.com/agateau/tmfi.


I would find it easier to read with more sensible, non-abreviated variable names.


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

Search: