Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
flqn
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
flqn
6mo ago
This is a good change. Potentially ambiguous to read syntax is being made clearer in a way that harms no previous code substantially. I sometimes wonder if the comments that say nothing more than "C++ is too complicated" are from
2.
▲
by
flqn
6mo ago
What is a teapot? I cannot make one of those. Refrigerator.
3.
▲
by
flqn
7mo ago
Can't pass a PhoneNumber to a function expecting an EmailAddress, for one, or mix up the order of arguments in a function that may otherwise just take two or more strings
4.
▲
by
flqn
7mo ago
Dates are unfortunate in that you can only really parse them reliably with a TZDB.
5.
▲
by
flqn
8mo ago
Nitpick: icons are about signifiers, not affordances. A button affords being pressed, an icon on the button signifies what pressing it will do.
6.
▲
by
flqn
8mo ago
In context, binary breakup and binary fracture apppear to mean a splitting ofa whole into two parts along a given line or plane
7.
▲
by
flqn
10mo ago
Since the optimiser is allowed to assume you're not invoking UB, and strlen of null is UB, I don't believe that it would consider that case when optimising this function.
8.
▲
by
flqn
1y ago
You mean the same problem that the article is trying to solve in C? Generic data structures?
9.
▲
by
flqn
1y ago
"Just FYI I have a PhD in cosmology" is the credentials for the poster being an expert.
10.
▲
by
flqn
1y ago
That would certainly catch nearly all migration issues, but it doesn't provide a helpful error message like a test for a specific mistake like this does. Ideally both approaches would be used, with the general case being used to detect
11.
▲
by
flqn
1y ago
And the Greek mathematician is pronounced OY-clid ;)
12.
▲
by
flqn
1y ago
I think the author misspoke and meant to say "easy-to-misuse" instead, which it definitely was.
13.
▲
by
flqn
2y ago
The Ninja files being that huge is likely more to do with the Android build environment or the tool that generates them. The main advantages of Ninja as a build executor are that the language is simple and it processes the build graph very
14.
▲
by
flqn
2y ago
They're locale independent, which the C stol, stof, etc functions are not.
15.
▲
by
flqn
2y ago
Is the moon not already tidally locked? The same hemisphere of it always faces the earth. Is there a different kind of tidal locking or orbital resonance it will settle into?
16.
▲
by
flqn
2y ago
Depending on the area of logistics OP is in, it's not unlikely that he'd need on-call engineers for his logistics management system. Blockages in supply chain can be extremely expensive.
17.
▲
by
flqn
2y ago
C++ also has stop_token, so although they're not natively interruptable a mechanism for implementing it exists in the standard.
18.
▲
by
flqn
2y ago
It still can't communicate information faster than light and the sun god can't know your prayers earlier than 8min after you made them
19.
▲
by
flqn
3y ago
Mathematics doesn't usually deal with databases or http requests
20.
▲
by
flqn
3y ago
Perhaps the "rising tide" takes longer to reach some than others. I hope for a more equitable, fairer future, but it's likely my outlook is somewhat jaded.
21.
▲
by
flqn
3y ago
I disagree, it's more an argument that even though advancement of human capability can bring great gains (defeating the dragon) we need to pursue equitability in these gains or otherwise they are unethically allocated. The rising tide
22.
▲
by
flqn
3y ago
A well written fable, but its moral would not be equitable in the world of today. It's inevitable that access to "defeating the dragon" would be available to only the most affluent in society, whom have also led the most comf
23.
▲
by
flqn
3y ago
In this case you are assuming not to have P. The traditional idea of "pick 2 of 3" with respect to CAP is weirdly formulated because you either have a distributed system, in which case P is a given and you must trade C vs A, or yo
24.
▲
by
flqn
3y ago
Constructs an object from kv pairs, definitely assoctiated with the "Object" prototype. Groupby is more dubious
25.
▲
by
flqn
3y ago
Does every set contain the empty set? Arguably yes. Does every sequence contain the empty sequence? If so, does it not contain the empty sequence at every position in itself? Harder to reason about.
26.
▲
by
flqn
3y ago
Not so much "error reporting" as "there is no meaningful return value" for a position in a string -- if it wasn't found, it doesn't have a position. If you use either Optional or Result you don't need to c
27.
▲
by
flqn
3y ago
Depends on your string representation. It's not unreasonable for an empty string to have no internal buffer allocated meaning it wouldn't even have a NUL terminator!
28.
▲
by
flqn
3y ago
Languages that include Option, Promise, and Result other than Haskell beg to differ
29.
▲
by
flqn
3y ago
struct node_t* node node->data node->next Zero "WTF"s
30.
▲
by
flqn
3y ago
Empty sweetness, I'd guess? Tastes nice but it's not real sugar?
More ›