you’d end up using modulus and move on quickly.
But where’s the fun in that?
There are so many better for obfuscation ways of checking for oddness!
(a & 1) > 0
a.toString()[a.toString().length()-1] - '1' == 0
iseven(a)?(1==0):(1!=0)
you’d end up using modulus and move on quickly.
But where’s the fun in that?
There are so many better for obfuscation ways of checking for oddness!
(a & 1) > 0
a.toString()[a.toString().length()-1] - '1' == 0
iseven(a)?(1==0):(1!=0)
That code is so wrong. We’re talking about Jason “Thor” Hall here—that function should be returning 1 and 0, not booleans.
In the source code for his GameMaker game, he never uses true
or false
. It’s always comparing a number equal to 1.
Karen demands to talk to the manager, while adding fuel to the fire.
You must be this rich to vote:
$100b |
|
$10b |
|
$1b |
| Minimum
$100m |---------- - - - - - - - - - -
| |
$10m | |
| |
$1m | | ↓ You are here
| |---------
$100k | | |
: | |
$0 | | |
It’s actually getting kind of hard to think of new, stupider ways to ruin the economy and raise the cost of living. Parody is getting close to being indistinguishable from reality.
Linux isn’t derived from Unix, just originally based on it. The BSDs and Darwin (Mac) would be the unfortunate casualties, but at least most of the country won’t be stuck with Windows?
Edit: And, I guess, Nintendo Switch and PlayStation 4/5. The former “borrowed” the networking stack from OpenBSD, and the latter are based on some BSD variant if I recall correctly.
Point one is that he promotes the idea that the second American Revolution will be “bloodless” only if the left allows it to be
Fuck this asshole. “It won’t hurt if you don’t resist” isn’t a civil war, it’s a hostile coup led by jackboot-supported fascists.
It’s not that everyone owns a gun, but that some people own a lot of guns. And it just so happens to be that those people support this kind of government tyranny.
It would be a very different story if the “tyranny” was punishing people for hate speech. That would be the wrong people being hurt, and that’s unacceptable.
This is the main problem when it comes to politicians not caring that incarceration costs more than helping people.
An entire industry is built on profiting from legally-permissible slavery, and the only way to achieve growth is to either extract more value from the prisoners or the number of prisoners. The former isn’t an option since prison work isn’t mandatory, so that means growth is only achievable by imprisoning more people.
To make that happen, the prison-industrial complex uses lobbyists to encourage more “tough on crime” laws and harsher sentencing.
It really isn’t a surprise that the whole idea of rehabilitation scares the politicians getting kickbacks from a private prison industry that thrives on recividivism and driving people to do things that get themselves incarcerated. They don’t give a rat’s ass that it costs the taxpayer more money when the alternative means that their own livelihood will be negatively affected.
And that’s precisely why we need more elected progressive politicians. The career politicians we have right now don’t care about their constituents, they only care about themselves and by extension their corporate masters.
You’re the opposition party
That’s the problem. They’re not, and they don’t want to be. The Democratic Party leadership runs it as the alternative party to the Republican Party and nothing more. There were plenty of opportunities to platform and support actual progressive candidates, but they instead choose to run the same old kind of moderate “don’t rock the boat”-type candidates and court conservative voters in the hopes of leeching votes away from Republicans.
That’s an optimistic timeline. A whole year without hurting the gay or trans kids is much too long for this administration to be comfortable with.
going after trump’s businesses will probably avoid a military response
More likely, it makes the poor baby (-hands) cry and throw a tantrum. Being the malignant narcissist he is, he thinks the resources of the United States government are entirely at his disposal. With that in mind, he’s absolutely going to demand a military response to any attacks on his businesses.
Whether saner heads prevail, all we can do is hope.
Yes. Only in fantasy land. As Logi above said, nuclear detonation is an extremely precise, controlled process that has very specific conditions to achieve successfully. Even an actual fission bomb only manages to consume a fraction of the radioactive material.
The only thing someone would achieve by denotating a conventional explosive near a reactor or nuclear stockpile is spreading highly radioactive dust around. That does not nor will ever look like uncontrolled nuclear fission, let alone a detonation from a thermonuclear warhead.
Not quite. The other 0.1% are the rich, and the remaining 27.9% are either just stupid or are delusional enough to think that they’ll ever become the rich.
std::string
doesn’t have a template type for the allocator. You are stuck using the verbose basic_string
type if you need a special allocator.
But, of course, nobody sane would write that by hand every time. They would use a typedef, like how std::string
is just a typedef for std::basic_string<char, std::char_traits<char>, std::allocator<char>>
. Regardless, the C++ standard library is insanely verbose when you start dropping down into template types and using features at an intermediate level. SFINAE in older versions of C++ was mindfuck on the best of days, for example.
Don’t get me wrong, though. I’m not saying Rust is much better. Its saving grace is its type inference in let
expressions. Without it, chaining functional operations on iterators would be an unfathomable hellscape of Collect<Skip<Map<vec::Iter<Item = &'a str>>>>
TypeScript […] only adds syntax, and doesn’t re-write it.
I believe enum
, const enum
, and decorators would like to have a word with you.
Swift also uses backticks and Rust has a dumb one in the form of r
. Still much better than introducing a async
as a new keyword in a minor version of a language and breaking a bunch of libraries.
Rust is verbose, but C++ might still take the cake with its standard library templates. Especially when using fully-qualified type names…
auto a = ::std::make_shared<::std::basic_string<char, ::std::char_traits<char>, MyAllocator<char>>>();
A reference-counted shared pointer to a string of unspecified character encoding and using a non-default memory allocator.
What long weekend? Their asswipe of a boss doesn’t believe in anything but the 80-hour workweek for employees, and there’s no way he’s not demanding more overtime to rebuild after this fuck-up.
It’s the same for a lot of people. Beginners are still learning good practices for maintainable code, and they’re expected to get better over time.
The reason people are ragging on PirateSoftware/Jason/Thor isn’t because he’s bad at writing code. It’s because he’s bad at writing code, proclaiming to be an experienced game development veteran, and doubling down and making excuses whenever people point out where his code could be better.
Nobody would have cared if he admitted that he has some areas for improvement, but he seemingly has to flaunt his overstated qualifications and act like the be-all, end-all, know-it-all of video game development. I’m more invested in watching the drama unfold than I should be, but it’s hard not to appreciate the schadenfreude from watching arrogant influencers destroy their reputation.