Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
renox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
31.
▲
by
renox
8mo ago
It's a minor detail but list starting at 1, with -1 being the last élément and 0 being 'none' is weird.. Why did you make this choice instead of 0 for the first élément, -1 for the last one? It would avoid the 0 'trap&#x
32.
▲
by
renox
8mo ago
> Eventually both Windows and Linux programs moved to a model where the OS just gave you the window as a drawing surface, and you were supposed to fill it. If you follow this model, how do you solve the accessibility issue?
33.
▲
by
renox
9mo ago
>signed integer overflow being UB would count for C/C++ Then, I raise you to Zig which has unsigned integer overflow being UB.
34.
▲
by
renox
10mo ago
> Java everything is boxed anyway Not true, there's int and Integer.
35.
▲
by
renox
10mo ago
> I noticed during my three week summer vacation that it took me a good week to unwind and slow down. It depends a lot on what you do on your holiday. I think it's best to start with something "mind focussing": you'r
36.
▲
by
renox
11mo ago
For && and || I disagree: they are 'shortcircuiting' operators and as such they deserve a différent name than just 'and', 'or'. That said &| should have been named and,or which would have freed &
37.
▲
by
renox
1y ago
> The cost of dead people is a lot higher than the cost of developer time. So you're using proof on every line of code you produce?
38.
▲
by
renox
1y ago
Once Claude found a bug in my code but I had to explain the structure of the data. Then and only then it found the bug.
39.
▲
by
renox
1y ago
Of 'yourself', if a text field contain embedded/nested text you need to escape the delimiter.
40.
▲
by
renox
1y ago
Error safe, the : or :: I kind of doubt it, I think that finding a typing mistake (two : instead of 1) won't be easy..
41.
▲
by
renox
1y ago
Your point is funny but if you're not anal-retentive about the syntax you get monstrosity such as the CSV-escape rule instead of the passwd-escape rule..
42.
▲
by
renox
1y ago
> Dual use means extra ceremony with escaping It depends, if you allow nesting you also need escaping.
43.
▲
by
renox
1y ago
I wonder if it wouldn't be better to have two fans: one at a high position and one at a low position.
44.
▲
by
renox
1y ago
No, it doesn't. But I'm not sure that this matter, a sufficiently "smart" compiler understand that this is the same thing.
45.
▲
by
renox
1y ago
> you can't have practical automobiles without inventing the windshield wiper Sure, but remember that some wipers were "hand activated".
46.
▲
by
renox
1y ago
D (as always) is clever: the operator is ~ So no confusion between addition and concatenation and you can keep | for or.
47.
▲
by
renox
1y ago
Next time can you to do Python's string interpolation? ;-) It's much more pleasant to read (when properly used).
48.
▲
by
renox
1y ago
Not the GP but while Odin has a syntax similar to Go, it has manual memory management instead of a GC, that's a pretty big difference.
49.
▲
by
renox
1y ago
I'd say that is not its biggest issue. The way to escape things is by far its biggest issue, a passwd like \, \", \\ would have been far easier.
50.
▲
by
renox
1y ago
> or just dumb design (e.g. showing onedrive locations first when trying to save a file in Word) Your example is not one of a 'dumb' design, it is a deliberate 'dark pattern' --> pushing you to use OneDrive as much
51.
▲
by
renox
1y ago
Well given that often the alternative was BASIC which was interpreted, it also felt fast to run..
52.
▲
by
renox
1y ago
I remember having two class about networking, the first one was top down, it was awful, the second one was bottom up, everything clicked.
53.
▲
by
renox
1y ago
And if it is the fault of the other driver and they refused to provide the data?
54.
▲
by
renox
1y ago
That is a dumb réaction, sorry. The cars who 'rat' on you can also rat on the other driver or show that you didn't do anything wrong..
55.
▲
by
renox
1y ago
> Or exercise more and it becomes easier to exercise. Only if you don't injure yourself while exercising.
56.
▲
by
renox
1y ago
Interesting topic, too bad I didn't know about this a few years ago..
57.
▲
by
renox
1y ago
I didn't find it very interesting sorry.
58.
▲
by
renox
1y ago
> Atheism is not a sin - not if a sincere belief. An honest mistake is not sin. Historically, religions (when there in position of power of course) have not been especially kind with atheists..
59.
▲
by
renox
1y ago
Ah OK, yes you're right.
60.
▲
by
renox
1y ago
In the countryside, I doubt that this is the case in Tokyo.
More ›