HN user

hummingn3rd

29 karma

[ my public key: https://keybase.io/alexgaspard; my proof: https://keybase.io/alexgaspard/sigs/vbSuJLjOh0jxJ_WXyGe1j6vp9E8mbB3R7TOiph0HkI0 ]

---

meet.hn/city/fr-Lyon

Interests: Climbing, Cybersecurity, Fitness, Outdoor Activities, Programming, Remote Work, Sports, Technology

---

Posts1
Comments15
View on HN

I am a bit confused by not talking about the salary right away, I have seen advice like yours and in this article about not giving the number fisrt but the opposite in other articles saying to leverage the anchoring bias by giving a high number first. That would help raising the following offers. Both approaches seem to make sense so I am not sure what to choose.

I have been wearing barefoot shoes for walking and felt better, no more pain in the knee, but outside of my personal experience, I haven't been able to find convincing studies on the benefits of barefoot shoes. Does anyone know any links about that ?

Discworld Rules 1 year ago

I thought this was going to be about all the physics rules in the discwolrd, like how light travels, the rule of the one chance in a million, or that cats can see the eight color or Death etc. I'd love to see a list of all of them, I haven't noticed any inconsistencies so far but I haven't read that many novels yet.

Most of the issues described there are solved for me by using pydantic: https://docs.pydantic.dev/latest/ (whose core has actually been recently rewritten in rust ^^).

To avoid switching parameters with the same type, I like to use * in my methods definitions instead of NewType to force naming parameters. Pydantic allows to validate methods parameters too (see https://docs.pydantic.dev/latest/usage/validation_decorator/) but this is at runtime and can add a performance overhead so it could be enough for the modules interfaces with the rest of the code only. For static checking, the NewType method is probably better, using a simple * avoided us many mistakes already.

Hi, using git flow I would be more in favor for the rebase strategy, I think conflict resolving should be the responsibility of the developer adding the feature. It's part of the cost of developing it. However, it is essential to rebase all the time and do non breaking and microcommits, I suggest doing a rebase many times a day to handle conflicts a little at a time. Moreover, a feature branch should merge with the dev branch and not last more than three days at most to mutualize code and sharing value. This should prevent never ending conflicts