8,214 karma · joined Nov 7, 2019 (7y ago) · 5,323 submissions
comment 2y ago · link · parent
I was not talking about how the preprocessor is implemented, I was talking about the layering. You keep wanting to mix layers because you think you know better; thar be dragons.
comment 2y ago · link · parent
the predatory part is the siphoning money off from the lottery to pay for "shools,etc." but if there is inelastic demand for lottery gambling, that also makes rational sense.
comment 2y ago · link · parent
trigraphs are 100% substitutes for unrepresentable characters. they absolutely positively ALWAYS should be replaced by the character. Pretend it takes place before the character even arrives inside the comment, because it does.
it's very much like the #define/#include c-preprocessor step, it happens first, that's what keeps it clean, understandable, manageable. (Sure you can have more complex macro systems, but they are... complex, they can get very ugly)
if you know how to process a unix shell commandline, you know that there are layers to it. Trigraphs are just like that. If you don't know how a unix shell commandline is processed, learn it, it's worth knowing.
comment 2y ago · link · parent
unions and pro union legislation makes US shipbuilding uncompetitive. it also ruins US merchant marine. We could encourage it, but the world market is fairly competitive so we don't really need to, except for defense.
comment 2y ago · link · parent
the top comment on this thread says:
It lets an app read and write only files the app owns (or read files a user picks through the file picker control).
which would not include writing picker files. Are you saying picker files could be written?
comment 2y ago · link · parent
popcnt of a word counts the number of bits that are "1"
https://www.talkchess.com/forum3/viewtopic.php?t=38521
the NSA wanted to do cryptanalysis on intercepted messages, and since the CDC 6000 had 60-bit words, one word was enough to store most alphabets they were interested in. They were able to:
Split a message into lines
Set a bit for each unique character they encountered per line
Use popcount to count the distinct characters
Use the count as a hash for further cryptanalysis
Curiously, popcount seems to have disappeared from instruction sets between the mid-1970s and the mid-2000s.(of course for all we know this could be NSA disinformation ;)
That's the answer to the NSA question. There are other uses described here https://vaibhavsagar.com/blog/2019/09/08/popcount/ including for Hamming codes and Neural nets and more.
comment 2y ago · link · parent
my point was that there was not "official" procedure to verify, I told him the story, he believed me, and went in the back and reset the password or something. They have the capability if they want to. He was a manager I think, and I didn't get to him through the reservations queue, I just walked up to the counter to find out if this was the place I should go, and after I asked my question he took an interest and solved the problem for me.
comment 2y ago · link · parent
without trying to raise a defense, a number of the minor changes to the copied text were distinct improvements. For example, "analysis was predominantly performed by looking at the details of the time domain waveform of the signal" is significantly tighter language!
"time waveform" in the original is somewhat questionable, but time domain, ok, now I get it! If you are going to have somebody plagiarize you, somebody from MIT is best! Then at least you can plagiarize them back.
comment 2y ago · link · parent
there is no evidence that they were near to each other for 50K years, only that their genomes diverged 50k years ago which was the last time they were near each other.
At the separate-times-and-places that they died in "France", the recent migrants may only have arrived in the last few months, having spent the previous 50K years over in that other far away place, and died only somewhat near each other a decade apart
the mixed genome of early modern humans and the lack of mixing of Neanderthals is a separate piece of evidence, and it may point to Neanderthals not being as sexy-social, but that's just a "may".
comment 2y ago · link · parent
here's my favorite rideshare gouge, I'm sure others have had the same experience.
"currenly 20 minute wait, upgrade to uber+$ for 3 minute availability?"
YES!
"OK booked, your ride at the higher rate is on the way, currently 20 minutes away!"
now, it is possible that "offer" message was shown to a bunch of people at the same time and somebody snagged it in front of me leaving only the other car 20 mins away, i.e. the computer was "honest", but I shouldn't be paying the higher rate. clever programmer types can come up with other scenarios, the point is, we need guarantees that the market making is honest, or we need regulation.
comment 2y ago · link · parent
so what they found is not at odds with what you are suggesting, but there are other explanations, and not much data
comment 2y ago · link · parent
an extra/supernumerary tooth in another part of the mouth would be called, front to back, a mesiodens or a paramolar
supernumerary teeth may be:
Supplemental (where the tooth has a normal shape for the teeth in that series);
Tuberculate (also called barrel shaped);
Conical (also called peg shaped);
Compound odontoma (multiple small tooth-like forms);
Complex odontoma (a disorganized mass of dental tissue)
(most of that info is from wikipedia, but it did not have the definition of distomolar, had to chase that down in wiktionary)
https://en.wikipedia.org/wiki/Hyperdontia which cites Oxford Handbook of Clinical Dentistry.
comment 2y ago · link · parent
your investment going down means the whole economy went down: you are no worse off than the aggregate, and you still own your piece of the economy.
if the whole economy goes down a lot, the widespread largescale unemployment means you are a lot better off than a lot of people, and you still own your segment of the economy.
it's more of an opportunity cost type thing: you can't afford not to be fully invested. In general, the economy grows, you want to grow with it.
nobody can predict downturns; anybody who can is busily correcting the market to make money from it; in any case, that's not us, so we do what we can do.
comment 2y ago · link · parent
vi was a joke. vim/emacs is worth debating. I mention this because the quote is talking about the old days, as if the same debate is continues.
emacs/emacs is also worth debating, because for all its power, emacs usage does not live up to emacs potential.
my problem with the Rust/C debate is that the Rust crowd hates C. I think Rust would be a better language if the community loved C.
comment 2y ago · link · parent
is it ironically appropriate the the worst American disaster of the nuclear age will now be connnected, literally, to the looming disaster of the AI singularity? Well, if so, let's hope this next disaster will be of the same magnitude as the last one; from the article's linked article:
"In 1979, the plant experienced the partial meltdown of one of its two reactors. Though there’s no indication the release of radiation caused any health issues among either employees or the general public, the incident led to stricter federal oversight of nuclear power plants."
comment 2y ago · link · parent
they're not preconceived, you didn't have them when you were a child. I think this points to the benefits to their own development (and then to the rest of us) that abled children get from disabilities being mainstreamed as much as is practical.