HackerTrans
TopNewTrendsCommentsPastAskShowJobs

flqn

no profile record

comments

flqn
·4 maanden geleden·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 maanden geleden·discuss
What is a teapot?

I cannot make one of those.

Refrigerator.
flqn
·5 maanden geleden·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 maanden geleden·discuss
Dates are unfortunate in that you can only really parse them reliably with a TZDB.
flqn
·6 maanden geleden·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 maanden geleden·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 maanden geleden·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
·vorig jaar·discuss
You mean the same problem that the article is trying to solve in C? Generic data structures?
flqn
·vorig jaar·discuss
"Just FYI I have a PhD in cosmology" is the credentials for the poster being an expert.
flqn
·vorig jaar·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
·vorig jaar·discuss
And the Greek mathematician is pronounced OY-clid ;)
flqn
·vorig jaar·discuss
I think the author misspoke and meant to say "easy-to-misuse" instead, which it definitely was.
flqn
·2 jaar geleden·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 jaar geleden·discuss
They're locale independent, which the C stol, stof, etc functions are not.
flqn
·2 jaar geleden·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 jaar geleden·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 jaar geleden·discuss
C++ also has stop_token, so although they're not natively interruptable a mechanism for implementing it exists in the standard.
flqn
·2 jaar geleden·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 jaar geleden·discuss
Mathematics doesn't usually deal with databases or http requests
flqn
·2 jaar geleden·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.