I had to see it for myself and my jaw hit the floor. Are we living in some cheesy low budget action movie?
- 0 Posts
- 21 Comments
I saw it too, and if you watch tizzyent’s video on TikTok you can see it too.
flying_gel@lemmy.worldto
politics @lemmy.world•Donald Trump says TikTok "worthless," might not save it after all
18·2 years agoI think it’s a threat to ensure that TikTok does what he says. Lots of reports (that I as an Australian can’t verify before it works for me) of searches for Trump incriminating videos are returning no results since it came back. It feels like there were conditions on not banning TikTok.
It makes perfect sense actually. I did write another comment here if you are interested.
This is how operator overloads were written going back to the initial version of C++ back in 1985. The only new thing is that we can now add
= defaultto get the compiler to generate a default implementation that compares all the member variables for you.
Maybe to a non C++ dev, but a lot of C++ is probably incomprehensible to a non C++ dev, just like there are other laguages that are incomprehensible to C++ devs. To me it makes perfect sense as it works just like all the other operator overloads.
auto- let the compiler deduce return typeoperator<=>- override the spaceship operator (pretty sure it exists in python too)(const ClassName&)- compare this class, presumably defined in Class name, with a const reference of type Class name, i.e. its own type.const- comparison can be made for const objects= default;- Use the default implementation, which is comparing all the member variables.An alternate more explicit version, which is actually what people recommend:
auto operator<=>(const ClassName&, const ClassName&) = default;if I just want to have less than comparison for example I would:
This one makes it explicit that you’re comparing two Class name objects.
if I just want to have less than comparison for example I would:
auto operator<(const ClassName&, const ClassName&) = default;If I need to compare against another class I could define:
auto operator<(const ClassName&, const OtherClass&)
You mean copy/move constructor and assignment operator?
Unless you have any special handling the ones generated by the compiler automatically should work just fine. But if you do have to define them for some reason (which is becoming increasingly rare) you would need to define both if you need both copy/move construction and copy/move assignment.
I do appreciate how newer C++ standards have made these kinds of things a lot easier too.
Define all comparison operators with just one one line using C++20
auto operator<=>(const ClassName&) const = default;
flying_gel@lemmy.worldto
politics @lemmy.world•Bernie Sanders: “Netanyahu Prefers to Have Donald Trump in Office”
2·2 years agoTens of billions is technically correct since in the last year US spent about 2 tens of billions, I.e. $20 billion, or about 2.5% of the annual military budget on Israel.
flying_gel@lemmy.worldto
politics @lemmy.world•The 2024 presidential election will be historic no matter who wins
2·2 years agoCould also be the first women president vs 4th worst president of all time.
edit: actually shared 3rd worst, shares with Franklin Pierce
flying_gel@lemmy.worldto
politics @lemmy.world•Tim Walz defiantly defends trans people from Republicans’ “demonizing” attacks
138·2 years agoWhile still to the right of center of the political compass, I do really like how much closer to the center Walz is than the other and previous candidates.
flying_gel@lemmy.worldto
politics @lemmy.world•Biden says he and Kamala Harris are 'singing from the same song sheet' — as she tries distancing herself
41·2 years agoI agree that Palestine is an important issue, do you have any suggestions on how to improve the situation?
flying_gel@lemmy.worldto
politics @lemmy.world•Biden says he and Kamala Harris are 'singing from the same song sheet' — as she tries distancing herself
7·2 years agoUSA is a very pro Israel county and the further right you get the more pro-israel you get.
Once both Democrats and Republicans are right wing parties it’s not news to anyone that they support Israel.
Edit: If you are pro-palestine, I suggest you vote as far left as you can (which at the moment realistically only is Democrats) and contact your congressman/women to let them know what your views on these issues are.
flying_gel@lemmy.worldto
politics @lemmy.world•Biden says he and Kamala Harris are 'singing from the same song sheet' — as she tries distancing herself
6·2 years agoThese are only damning comments if you have the views that Biden’s presidency had been a disaster. So of course Republicans and their news would write negative articles and a Democratic news source would show it as Harris having worked with Biden to get things done.
Nothing to see here really, all Biden said I’d say that they work together for a common goal.
Isn’t politics all about coming together, making compromises and try to agree what’s best for the country?
For those who attack Fox news as a source they have a point, you won’t get factual news from there, it will be very skewed to the right and they will make a story out of nothing for clicks.
flying_gel@lemmy.worldto
politics @lemmy.world•Texas reaches over 18 million registered voters, the highest it's ever been
71·2 years agoThe 1960s had political engagement and division, no one’s denying that.
However it was surpassed in 2020 which was a record year for turnout of 66.8% of eligible voters. Specifically, 90.6% of eligible women were registered, and about 68.4% of them actually voted. Women outpaced men in both categories. Young voters, especially young women, were a big part of that surge.
Trump lost big then, imagine now with all the news about record registrations how much he might lose by now. Personally I think it would be very funny to see Harris break 100M votes,. Can you imagine how angry Trump would be :)
flying_gel@lemmy.worldto
politics @lemmy.world•Texas reaches over 18 million registered voters, the highest it's ever been
25·2 years agoAlso younger voters, especially young women are much more invested in politics and more likely to vote than ever.
flying_gel@lemmy.worldto
politics @lemmy.world•Trump Has Crossed a Truly Unacceptable Line
1·2 years agoOn a post about Trump saying that Haitians are taking other people’s pets and eating them, you said:
Millions of dogs and cats are eaten around the world yearly.
This is a fact, and we can come to certain conclusions.
You can’t blame people from thinking that you are inferring that Trump is telling the truth.
But we’ve come to the conclusion now that Trump is indeed lying and Haitians aren’t stealing people’s pets and eating them. Has it ever happened anywhere? Very possible. Is it currently happening in Springfield? No.
flying_gel@lemmy.worldto
politics @lemmy.world•'I HATE TAYLOR SWIFT': Trump Is Big Mad That the Star Endorsed Harris
3·2 years agoTo expand your analogy to the house on how the rich used their unrealised gains.
You buy a house and it appreciates in value. You bowwow money against the capital gains and use that to live on. Your house price goes up further, generating more capital gains that you can now bowwow against to pay back your previous loan.
edit: also since you’re so filthy rich the banks give you really low interest rates, way less than tax would have been.
flying_gel@lemmy.worldto
politics @lemmy.world•Trump Has Crossed a Truly Unacceptable Line
1·2 years agoYepp, at some point at some time someone in USA has eaten a dog or a cat. But do Haitians regularly steal other people’s pets and eat them? Very unlikely.
flying_gel@lemmy.worldto
politics @lemmy.world•Trump Has Crossed a Truly Unacceptable Line
3·2 years agoIf I were to speculate…
- There are people in some countries that eat dogs and cats.
- Someone’s neighbour’s sister friend said they saw someone with a dead cat with the intent to eat it.
Therefore immigrants are regularly stealing other people’s pets and are eating them.
We can extrapolate this with anything.
- There are people that poop their pants.
- There are reports of Trump wearing diapers and smelling liken poop.
I think ww can draw our own conclusion about this one…

President of peace.