Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
deaddabe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
Git Pre-Commit Hook for Rust Projects
(deaddabe.fr)
1 points
by
deaddabe
5y ago
|
0 comments
62.
▲
by
deaddabe
5y ago
Impressive work. What data source are you using for the books, authors and covers? I looked at OpenLibrary [1] but the covers are not the same, so I suppose it is something else? Maybe Amazon directly somehow? [1] https://openlib
63.
▲
by
deaddabe
5y ago
This would make sense, since this type is almost always used for iterations and sizes. Anyways I have played with Compiler Explorer and could not spot the "overflow checks" inside some dumb code: https://godbolt.org
64.
▲
by
deaddabe
5y ago
Interesting, so that would mean that `int` would be faster than `unsigned int` in tight loops because the compiler would not have to check for overflow and do the wrapping (if the upper bound is unknown so that it cannot be optimized out).
65.
▲
by
deaddabe
5y ago
Nice read, I recommend the 3 articles of the series. One thing that I find artificial in the examples is to use signed integers for loops. I always have seen unsigned integers in practice. In general I try to avoid signed integers like plag
66.
▲
by
deaddabe
5y ago
I have the same feeling regarding both Github and Gitlab merge requests. After using Gerrit for almost 4 years at work with enforced fast-forward, having a linear git log is relaxing. The merge commits enforced by these "mainstream&quo
67.
▲
by
deaddabe
5y ago
To my current knowledge, this possible "mandatory vaccine" policy has not been mentioned on local French TV or media. I think it would just reenforce the antivaccine people in their convictions that prevents them from getting vacc
68.
▲
by
deaddabe
5y ago
This website seems like it was not updated since August 2020, from the list of pending pull-requests: https://github.com/areweguiyet/areweguiyet/pulls