HackerTrans
TopNewTrendsCommentsPastAskShowJobs

flqn

no profile record

comments

flqn
·4 เดือนที่ผ่านมา·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 เดือนที่ผ่านมา·discuss
What is a teapot?

I cannot make one of those.

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