Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jonathrg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
jonathrg
10mo ago
4xx is for invalid requests. You wouldn't log a 404 as an error
32.
▲
by
jonathrg
10mo ago
Rust is doing great.
33.
▲
by
jonathrg
10mo ago
Why not? They have been proudly vibe coding for a while.
34.
▲
by
jonathrg
10mo ago
It's unbelievable to me that Github allows repo admins to edit other people's comments.
35.
▲
by
jonathrg
11mo ago
This is not an improvement. Having named variables for things is good actually. They will need to be declared again immediately once you want to modify the code. insertCell(i).innerText = c is a nonsense statement, it should be 2 lines for
36.
▲
by
jonathrg
11mo ago
It's really tough to read through a text where you can't go more than a few sentences without having something be described as *an adjective, a second adjective, and a third adjective*. Just let the code example speak for itself,
37.
▲
by
jonathrg
1y ago
You can just make stuff up on this website
38.
▲
by
jonathrg
1y ago
Yeah that's pretty much what happened last time I tried to reinstall my distro
39.
▲
by
jonathrg
1y ago
You can store any data as long as it doesn't contain any ones
40.
▲
by
jonathrg
1y ago
What is Flynn factor?
41.
▲
by
jonathrg
1y ago
It sounds like cuck.
42.
▲
by
jonathrg
1y ago
Why? Does it not set the HTML?
43.
▲
by
jonathrg
1y ago
Every (mathematical) knot is one that can't be untangled, by definition. Every knot with a cut can be trivially collapsed go a point by moving one of the endpoints to the other one through the path of the knot
44.
▲
by
jonathrg
1y ago
That's && & runs the thing in the background. So this is running all the commands in parallel.
45.
▲
by
jonathrg
1y ago
Needs to be capitalized as CuTe
46.
▲
by
jonathrg
1y ago
It's a nice touch that the buttons are styled like ads.
47.
▲
by
jonathrg
1y ago
Her wa[]y hair was a challenge for the hairdresser
48.
▲
by
jonathrg
1y ago
The generated types in go are horrible to work with. You can't store instances of them anywhere, or pass them by value, because they contain a bunch of state and pointers (including a [0]sync.Mutex just to explicitly prohibit copying).
49.
▲
by
jonathrg
1y ago
I understand and empathize with your fear. C++23 added a type with 22 constructors ( http://en.cppreference.com/w/cpp/utility/expected/expected.h... ), that ought to be enough to strike fear into anyone.
50.
▲
by
jonathrg
1y ago
C++ is widely used in embedded. Most compilers support it. Usually you turn some things off (e.g. -fno-rtti, -fno-exceptions) and try to stick to some sane subset of the ++.
51.
▲
by
jonathrg
1y ago
The term to google for more information about this would be Known plaintext attack.
52.
▲
by
jonathrg
1y ago
This reads like a Bryce P. Tetraeder quote
53.
▲
by
jonathrg
1y ago
You would need a little more memory to see/detect that collision.
54.
▲
by
jonathrg
1y ago
Yes, it's so easy to tell which direction each question will push the result, that it kinda distracts from thinking about the question
55.
▲
by
jonathrg
1y ago
> If you already use locking, no volatile needed. Kinda misleading. volatile is for memory mapped I/O and such. volatile means the memory access really happens
56.
▲
by
jonathrg
1y ago
It's much more than 1%, it is what enables commonly used libraries like pytest and Pydantic.
57.
▲
by
jonathrg
1y ago
bool() is not a function named after a fundamental type. bool is a type. As with any type, you can call bool(...) to construct a new object of that type. https://docs.python.org/3/library/functions.html#bool A goo
58.
▲
by
jonathrg
1y ago
> If casting from a string to a type works with ints and floats, why not with bools? What possible justification is there? There's no type casting in Python. int(), float() and bool() just create objects of their respective types, p
59.
▲
by
jonathrg
1y ago
You can't go calling the police on people for writing idiomatic Python code.
60.
▲
by
jonathrg
1y ago
(wrapping) overflow doesn't affect the final result.
More ›