HackerTrans
TopNewTrendsCommentsPastAskShowJobs

flqn

no profile record

comments

flqn
·4 mesi fa·discuss
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 people who use it regularly, much less people who are even commenting on TFA
flqn
·4 mesi fa·discuss
What is a teapot?

I cannot make one of those.

Refrigerator.
flqn
·5 mesi fa·discuss
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
flqn
·5 mesi fa·discuss
Dates are unfortunate in that you can only really parse them reliably with a TZDB.
flqn
·6 mesi fa·discuss
Nitpick: icons are about signifiers, not affordances. A button affords being pressed, an icon on the button signifies what pressing it will do.
flqn
·6 mesi fa·discuss
In context, binary breakup and binary fracture apppear to mean a splitting ofa whole into two parts along a given line or plane
flqn
·7 mesi fa·discuss
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.
flqn
·anno scorso·discuss
You mean the same problem that the article is trying to solve in C? Generic data structures?
flqn
·anno scorso·discuss
"Just FYI I have a PhD in cosmology" is the credentials for the poster being an expert.
flqn
·anno scorso·discuss
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 and inform more targeted tests.
flqn
·anno scorso·discuss
And the Greek mathematician is pronounced OY-clid ;)
flqn
·anno scorso·discuss
I think the author misspoke and meant to say "easy-to-misuse" instead, which it definitely was.
flqn
·2 anni fa·discuss
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 quickly.
flqn
·2 anni fa·discuss
They're locale independent, which the C stol, stof, etc functions are not.
flqn
·2 anni fa·discuss
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?
flqn
·2 anni fa·discuss
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.
flqn
·2 anni fa·discuss
C++ also has stop_token, so although they're not natively interruptable a mechanism for implementing it exists in the standard.
flqn
·2 anni fa·discuss
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
flqn
·2 anni fa·discuss
Mathematics doesn't usually deal with databases or http requests
flqn
·2 anni fa·discuss
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.