FUUUUUUUUUUUCKING LMAOOOOOOOOOO
>>106571691Aaaaaaahahahahahahhahahahahaha
>>106571691why is that funny.
>>106571729Because he's jeetcoded in python
>>106571691kek.in original story you had unlimited amount of wishes and two genies
has anyone watched this?is it any good?
>>106571750>language made by nocoderWouldn't bother
>>106571691Where's the logic in that? You had to pay using one of your wishes first, then have your wishes set to zero.Sonic mightve been able to cheat death and gain 255 lives, but not this time for your wishes.
But even if you could do that, you're not allowed to wishes for more wishes, saar
>>106571691nigger, would have made sense if he wished for -1 wishes
>>106571994it sets it to 0 and then decrements the wish count
>>106571691the thing I find unrealistic about this is that they'd bother storing the wish count as a single byte instead of whatever the native int size is. They probably wouldn't bother making it unsigned either.So for my 0xFFFFFFFFth wish I'd like you to give Jasmine a fatter ass
>>106572151then the count should be -32768
Congrats you now have 0x00 wishesretard
Just wish for 85 copies (with attributes) of the magic lamp.
>>106572151>genie uses signed int>-1 wish>get to unwish my own wish if I regret it
>>106572182Now YOU own genie wishes.
0 is 256 actually
>>106571741Python uses bigints though. You can't overflow or underflow numbers with it.
>>106572769You good?
>>106571691I don't get it. If you make it 0 it's 0. To make it 255 you have to subtract 4 from 3.
>>106571750yes. it was good
>>106571750terrible. you will see 98.7% more women of color of code for python inclusive crap, than actual code. it's a video by, for and about nocoders.
>>106572151integer overflow/underflow is undefined behavior in some programming languagesyour wish might compile but it wouldn't necessarily produce that result and it might fault
>>106571691num_wishes--;num_wishes = 0;problem?
num_wishes--;num_wishes = 0;
>>106571691
>>106572685>>106572182i think this is actual original genie lore. you get more genies by people trying to trick genies and having to become genies themselves as punishment
>>106572182Can't believe genies run on 16bit cores.
>>106576182I loled
>>106572151That doesnt make sense. Why would he post-decrement? Genies never do this in the series. They always pre-decrement.
use case for sense of humor?
>>106571814the genie sets wishes_remaining to zero before decrementing
>>106571729Integer overflow on unsigned byte
>>106577014geeeeeg is this him?
>>106574661I start by saying "I wish I knew how many wishes I have at the moment this wish is granted."If the answer is two, it must be pre-decrement, so I wish for something else, then for my last wish I wish that I had one less wish than I have at the time the wish is granted. If the answer is three, it must be post-decrement, so I wish for 0 wishes.
great anime /g/ :)
>>106571691>8bit genie
>>106580732Tranime *
>>106577032who the fuck use int8 in 2025?
>>106580812cniles
>>106580812why would you use more if you don't need more than 256 numbers?
>>106580803yeah that's lain :)
>>106573866>>106572964>>106571791it was ok ish.the only thing i learned is that python.com was a porn site.