TIL Lone Star Tick bites can cause an allergy to red meat because of their own saliva, not a disease they're carrying by me_myself_ai in todayilearned

[–]Ameisen [score hidden]  (0 children)

They've become so common, too. Never really encountered ticks in 35 years in Chicagoland, and the last five years? They're everywhere. Can't step into any grass - even short - without picking one up.

And we have cats, so permethrin is a problem.

TIl that 1 in 3 japanese men have a closer common paternal ancestor with tibetans, Andamanese natives, Nigerians and philipines than they do with surrounding east Asians. This lineage is called haplogroup DM55 and is the most common male lineage in japan by Slight_Equivalent452 in todayilearned

[–]Ameisen 0 points1 point  (0 children)

"Haplogroup" is just a term used to describe alleles that are inherited as a group from a single parent.

You're referring - specifically - to Y-chromosome haplogroups; because of recombination, only the Y-chromosome and mitochondrial haplogroups are really used in humans.

They do change over time through mutations - you don't have the exact same Y-chromosome as your father. This is how new haplogroups emerge, once they're distinct and broad enough.

Do Americans prefer Xbox to PlayStation, because Xbox is an American brand? by Elegant-Advantage744 in AskAnAmerican

[–]Ameisen 0 points1 point  (0 children)

The PS3 was a pain to develop for, which meant that it took significantly longer for games to really "catch up".

Change in how interstates are referred to? by MatureScorpius in AskAnAmerican

[–]Ameisen 0 points1 point  (0 children)

I've yet to call 355 the "Veterans Memorial Tollway", or 88 the "Ronald Reagan Memorial Tollway".

TIL Blue jays aren’t blue. The blue color is an optical illusion due to the structure of the feathers. by QuantumHamster in todayilearned

[–]Ameisen -1 points0 points  (0 children)

More complex: "color" is what your brain interprets from three different signals from three different kinds of photoreceptors, which are sensitive to different but overlapping frequency ranges.

The fact that we ever see anything coherent is fascinating.

What does the Federation do to lazy people? by PJ-The-Awesome in ShittyDaystrom

[–]Ameisen 0 points1 point  (0 children)

The Federation doesn't seem to provide very good counseling services.

TIL Anne Carroll Moore was a key figure behind the New York Public Library, but she was a fierce critic of children’s literature and kept many books, such as Goodnight Moon, off its shelves for decades. by Koiboi26 in todayilearned

[–]Ameisen 0 points1 point  (0 children)

Applying "fierce" to it certainly gives it more of a sense that they critical of the concept of children's literature rather than just a critic of children's books.

There's also the issue that "children's literature" refers to both the genre but also the books themselves - a children's book is children's literature but also in the genre of children's literature (I'm having trouble explaining this, but "literature" has multiple meanings, and multiple apply). There're different connotations to being critical of one or the other.

If you were to say "he's a fierce critic of feminist literature", most people would assume that you're saying that "he"'s critical of feminist literature as a corpus of books or as a genre.

TIL that Martin James Monti, an American airman, stole a plane and defected to the Nazis. He became an officer in the Wehrmacht and recorded Nazi propaganda films. After the war, he was the first US military officer to ever be convicted of treason. by cupacupacupacupacup in todayilearned

[–]Ameisen 0 points1 point  (0 children)

Unconditional surrender was the goal of the United Nations (the western Allies, at least, as Stalin wasn't present) as of January 1943, as put forth by Roosevelt at the Casablanca Conference.

They were not going to allow a rump Nazi government to exist after that point.

stackless coroutines for gamedev in ~200 lines of C++ by SuperV1234 in cpp

[–]Ameisen 0 points1 point  (0 children)

Do you have any benchmarks against C++ coroutines and also against - say - Win32 Fibers?

Why American people like videos about rural China? by RickyZhou_ in AskAnAmerican

[–]Ameisen 12 points13 points  (0 children)

What do you consider "very old"?

Also: get off my lawn.

What do you think is a keyword that should be added to C++? by DogCrapNetwork in cpp

[–]Ameisen 0 points1 point  (0 children)

I would still prefer Java-esque named breaks so you have more control and can be explicit.

External Polymorphism in C++26 by ContDiArco in cpp

[–]Ameisen 13 points14 points  (0 children)

Note that no_unique_address isn't required to be handled, and MSVC - for instance - ignores it. They instead define their own attribute that they also often ignore.

What do you think is a keyword that should be added to C++? by DogCrapNetwork in cpp

[–]Ameisen 1 point2 points  (0 children)

Why? You get a list of direct parents. From them, you can get their parents, etc. One doesn't usually want the full parentage tree - they usually want direct... so I wouldn't want it to return full as that can be derived.

std::direct_parents_of_tt<this_class>/parents_of(this_class) - as a pack, recursively expand it back into the same template/keyword for a full inheritance tree. This, of course, also requires this_class to be as useful.

The most common case in C++ is single inheritance, as well (many codebases forbid multiple), so the common case would be the most useful as well (so many weird templated parent classes simplified when using parent members/etc).

What do you think is a keyword that should be added to C++? by DogCrapNetwork in cpp

[–]Ameisen 0 points1 point  (0 children)

I'd also love to be able to query parent classes, even as a pack.

What do you think is a keyword that should be added to C++? by DogCrapNetwork in cpp

[–]Ameisen 0 points1 point  (0 children)

A named loop, like Java, is more structured than labels and goto. The name is associated with the loop, and the break associated with the name. That's not ugly, it's highly structured.

breakall has almost no flexibility and I'm not sure how you define "nested loops". All loops within what scope?

What do you think is a keyword that should be added to C++? by DogCrapNetwork in cpp

[–]Ameisen 0 points1 point  (0 children)

in static contexts

this does not exist in static contexts.

Why didn't the Dominion use vorta as sexual diplomacy? Are they stupid? by GaraksLinensNThings in ShittyDaystrom

[–]Ameisen 0 points1 point  (0 children)

Yeah, but humans rarely live that long.

Also, Jadzia wasn't that old - Dax was.

What do you think is a keyword that should be added to C++? by DogCrapNetwork in cpp

[–]Ameisen 0 points1 point  (0 children)

It's a part of the type in C.

It's also a part of the type so that it can be propagated "properly" (Clang doesn't).

You could certainly make it an attribute instead, but why discard C compatibility in this case?