Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
abra529
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
Int/str conversions broken in latest Python bugfix releases
(discuss.python.org)
4 points
by
abra529
4y ago
|
0 comments
2.
▲
by
abra529
6y ago
I see, thanks for the explanation. Just read your previous blog post that goes into more detail about this. [1] I don't know much about compilers, but I guess Defect Report #260 supports the interpretation that dereferencing q isn'
3.
▲
by
abra529
6y ago
Is it not guaranteed? Looking at this question [1] on StackOverflow and the quotes from the standard included in the question, it seems that the value should be preserved. (It raises the issue of whether (char※)iq should technically be (cha
4.
▲
by
abra529
6y ago
Commenters here as well as the author seem content with asserting that under C semantics, the code after the second optimization exhibits UB when it dereferences (p+1). Is it really UB? Here's the snippet for reference: char p[1]
5.
▲
by
abra529
6y ago
Surprisingly, it isn't always the case that each driver optimizing their own route will lead to a global optimum - see Braess's paradox. "If every driver takes the path that looks most favourable to them, the resultant runnin
6.
▲
by
abra529
6y ago
> 15,0000 lines Did you mean 150,000 or 15,000?
7.
▲
by
abra529
6y ago
Wikipedia is a tertiary source. Pedagogical resources are also usually tertiary sources.[0] [0] https://en.wikipedia.org/wiki/Wikipedia:TERTIARY