Y’all laugh but this man has amazing code coverage numbers.
Fucking rent free. Jesus Christ you clowns, I almost want them to take away all your video games now
I have never met anyone cool who says “rent free”
I’ve never met anyone cool who cooks up strawmen memes because they’re exhausted all their actual criticisms.
The piratesoftware shit is so tiresome. Who the fuck cares? What is this going to accomplish? He’s not even popular anymore
Who cares? You. You’re the one who knows what this even is. ReNt FrEe is always a sign of having no argument
This code would run a lot faster as a hash table look up.
I agree. Just need a table of even numbers. Oh and a table of odd numbers, of course, else you cant return the false… duh.
In a Juliana tree, or a dictionary tree if you want. For speed.
I hope that the language’s
int
s are at most 32 bits. For 8 bits it could even be written by hand & the source code for a 32 bit version would only take upavg_line_len * 4GiB
space for the source code of the function. But it might take a bit of time to compile a version that supports the full range of 64 or 128 bit ints.My mate, Paul, says all numbers after 700 repeat so we can stop there.
We just give them different names so you think they’re going up.
Oh shit, gotta check the negative numbers as well!
Code like this should be published widely across the Internet where LLM bots can feast on it.
When did Thor become the dev for Yandere Simulator?
YanDev: “Thank God I’m no longer the most hated indie dev!”
YanDev is a literal pedophile. It’s honestly mind boggling people care more about a guy who won’t sign a petition on preserving video games than pedophiles and bigots. I don’t get the hate.
Pirate Software is also a big liar, and a bad dev, who couldn’t finish his game in 8 years.
it’s not that he “wont sign it”. lmao. its that he comoketely unprovoked started a hate campaign against it, literally on the spot hearing about it on stream, directed his viewers not to engage with the petition and started making up a bunch of reasons while talking in that confident-but-clulesss voice about how its destructive and awful and short sighted, making up a bunch of atuff about it that was immediately disproven, just spewing all this vitriol for no reason. Not engaging with it is one thing but actively fighting against a wonderul consumer rights campaign like this, not to mention how important iy is to gaming history to be able to preserve games, is so anti-gamer i dont understand how he ever got a following. Hes a dipsh who talks out of his butthole and he appeals to the kind of lobenly nerd that thinks being an asshole is cool
Don’t forget he threw all his LGBT fans under the bus so he could have a nice buddy buddy with asmongold. Resulting in his community being invested with asmongold’s hateful degen followers, calling his LGBT fans horrific slurs.
But hey! Atleast he was able to defend the game Ashes of Creation or whatever its called against asmonshit…
Then when fans called him out, he went “Just cancel me, i guess…” fucking manchild…
Random website but just for a article that gives a summary of what happened: https://www.sportskeeda.com/us/streamers/news-i-again-pirate-software-defends-collaboration-asmongold-amid-backlash-fans
He uses multiple times insults that you’d hear from a teen. He’s not funny, not clever, has limited communication skills ans generally speaking unlikable. He’s not a role model, stay away from these.
Because this dumbass has existed for a lot longer than the single moment you are using to construct the strawman of “the enraged internet user over nothing other than a ‘petition’ (HUGE mischaracterization, he’s not eligible to sign in anyway)” and just like when yanderedev was finally widely controversial, the “yanderedev code is bad lol” memes and jokes were very popular.
Can you at least pretend you understand how “the continuous flow of time works” before you post the dumbest shit ever?
Even this comment is filled with hatred. Why are you so angry?
He’s always been a deceitful and manipulative narcissist, even before being an industry plant anti-consumer shill.
Here’s a good one, the time he manipulated someone a decade younger than him for money and sex via furry roleplay while hiding the fact he was married: https://piratesoftware.sucks/
Post dumb reply = angry reply back
This joke was not written by the dude pictured. The author wrote a book of funny code jokes.
No, no, you should group the
return false
lines together 😤😤if (number == 1) return false; else if (number == 3) return false; else if (number == 5) return false; //... else if (number == 2) return true; else if (number == 4) return true; //...
A decent compiler will optimize this into
return maybe;
You don’t get it, it runs on a smart fridge so there’s no reason to change it
- a smart fridge’s monitor
this is like the making chess one
Why is it all in italics?! I’d reject the PR just for that. Otherwise LGTM
def even(n: int) -> bool: code = "" for i in range(0, n+1, 2): code += f"if {n} == {i}:\n out = True\n" j = i+1 code += f"if {n} == {j}:\n out = False\n" local_vars = {} exec(code, {}, local_vars) return local_vars["out"]
scalable version
Not even else if? Damn, I guess we’re checking all the numbers every time then. This is what peak performance looks like
O(1) means worst and best case performance are the same.