9,663 karma · joined Jun 14, 2010 (16y ago) · 1,502 submissions
comment 2y ago · link · parent
Solvers can also fail for really tiny problems. You simply have to try to figure out how hard (or how well adapted to the solver's heuristics) your particular problem instance is.
comment 2y ago · link · parent
And that's what Sudoku puzzles are. They are made for humans to solve. They are specifically crafted to contain challenging, but possible, solution paths.
comment 2y ago · link · parent
Question: If science communicators use the colloquial meaning instead of the technical one, are they bad science communicators? Or especially good ones?
I think it's the latter. I also think if you're smart enough to know the technical definition, you should be smart enough to make this translation without making a stink about it. And given that half of the given examples are about COVID, there's some chance that the author has an axe to grind.
comment 2y ago · link · parent
That's what the documentation says, no need to assume a conspiracy. I don't know on what authority you claim to know better, you haven't cited anything.
> About what, exactly? As far as i know, what i wrote is factually accurate (or an opinion, which can not be wrong).
Opinions about facts can be wrong. I've cited the source, maybe you have a better one than the official documentation, but you haven't given it.
> Yes, the git manual writes about snapshots, because it's literally true (and sometimes necessary to understand), but it also repeatedly refers to commits as changes
But it doesn't. Again, you didn't cite anything. Conceptually, and in the documentation, changes are always something that's computed after the fact. I've triple checked just now, the official documentation always talks about the changes between commits, or the change introduced by a commit (which means the changes to the parent commit) -- that's fine and in fact exactly the point. It never uses "commit" as a synonym for "change", or claims that a commit somehow stores a change.
comment 2y ago · link · parent
You and some others in this comment section are simply wrong about this. Everybody is wrong sometimes, that’s no problem. But your righteous tone (“meme”, “amazes me”) after clearly having spent zero minutes of research is not what I would consider a constructive way to engage in a discussion.
comment 2y ago · link · parent
This is aesthetics, I won't claim that what I'm saying is more than a (perhaps popular) subjective opinion. But I will point out that at least the way I read programs, the KEYWORDS are the OPPOSITE of what I want to EMPHASIZE when reading code.
I actually want the keywords to disappear so that my eyes can focus on the variable names and see the data flow. That, by the way, is also why punctuation to mark blocks { ... } is so much easier for me to visually parse than BEGIN ... END.
comment 2y ago · link · parent
And consequently, their intention seems to be to bend the rules about the validity of the existing certifications to the max (no pun intended). At what point can an agency rule that Boeing no longer follows the spirit of the pilot certification rules?
comment 2y ago · link · parent
It's typeset in Arial. In freaking Microsoft Word.
comment 2y ago · link · parent
Does anyone know why Wirth never modernized his style? I wonder if there's a place for something that's equally minimalist, but more in line with current aesthetic sensibilities.
comment 2y ago · link · parent
comment 2y ago · link · parent
I'm just curious -- which of the two do you think is the correct mental model to safely drive a car? If you think its the former, my guess is you've never driven where there are mountains and/or never driven manual.
comment 2y ago · link · parent
Also, people really shouldn't teach implementation details to beginners. Or intermediates. Perhaps anyone who casually mentions that Git stores diffs to anyone not currently opening the source code for Git itself should be disqualified from ever giving explanations for technical stuff ever again.
comment 2y ago · link · parent
You might like that explanation because it fits a mental model you may have acquired previously, but at the user interface level, Git stores snapshots. It's not an implementation detail, it's what the entire command line is based on.
comment 2y ago · link · parent
comment 2y ago · link · parent
Saturating NVMe bandwidth is wicked hard if you don't know what you're doing. Most people think they're I/O bound because profiling hinted at some read() function somewhere, when in fact they're CPU bound in a runtime layer they don't understand.
comment 2y ago · link · parent
To be fair, I disagree with my country's cracking laws as well. We should do better here, the right to one's data is an important freedom. I support the fight for saner copyright laws.
But let's also be real: There's no universe where that injustice somehow outweighs the entirety of human rights violations that go on inside Russia. Persecution of minorities, decriminalization of domestic violence, torture in prisons. Just to name a few.
Western copyright laws aren't good. But there are worse fates in life than not being able to watch old blu-rays.
comment 2y ago · link · parent
comment 2y ago · link · parent
(Source: https://www.microsoft.com/en-us/research/project/koka/)
comment 2y ago · link · parent
But thinking about it, I have no doubt that Wizards found out this confusion is somewhat widespread during playtesting, and printing a short reminder was an easy fix.
comment 2y ago · link · parent
This hints at a failure of math education.
As an analogy, many (usually, but not always, weaker) programmers still have magic ideas about booleans and comparison operators, and write nonsensical stuff like if (a == true). When you ask them, it's invariably that in their mind, there's mystic connection between comparison operators and if statements.
comment 2y ago · link · parent
comment 2y ago · link · parent
> Personally, I find code that leverages ranges harder to read, not easier, because lambdas inlined in functions introduce new scopes that have a strong non-linearizing effect on the code. This isn’t a criticism of ranges per se, but certainly is a stylistic preference.
Does anyone know what “non-linearizing” means here?
comment 2y ago · link · parent