[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


FUUUUUUUUUUUCKING LMAOOOOOOOOOO
>>
>>106571691
Aaaaaaahahahahahahhahahahahaha
>>
File: 1757704246355.jpg (51 KB, 687x612)
51 KB
51 KB JPG
>>106571691
why is that funny.
>>
File: 1738968086356835.png (250 KB, 718x588)
250 KB
250 KB PNG
>>106571729
Because he's jeetcoded in python
>>
>>106571691
kek.
in original story you had unlimited amount of wishes and two genies
>>
File: python.png (920 KB, 1707x1516)
920 KB
920 KB PNG
has anyone watched this?
is it any good?
>>
>>106571750
>language made by nocoder
Wouldn't bother
>>
>>106571691
Where'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
>>
>>106571691
nigger, would have made sense if he wished for -1 wishes
>>
>>106571994
it sets it to 0 and then decrements the wish count
>>
>>106571691
the 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
>>
File: 1757710337598.jpg (56 KB, 816x664)
56 KB
56 KB JPG
>>106572151
then the count should be -32768
>>
Congrats you now have 0x00 wishes
retard
>>
Just wish for 85 copies (with attributes) of the magic lamp.
>>
File: 1265816-gallery25.jpg (18 KB, 537x240)
18 KB
18 KB JPG
>>106572151
>genie uses signed int
>-1 wish
>get to unwish my own wish if I regret it
>>
>>106572182
Now YOU own genie wishes.
>>
0 is 256 actually
>>
>>106571741
Python uses bigints though. You can't overflow or underflow numbers with it.
>>
>>106572769
You good?
>>
>>106571691
I don't get it. If you make it 0 it's 0. To make it 255 you have to subtract 4 from 3.
>>
>>106571750
yes. it was good
>>
>>106571750
terrible. 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.
>>
>>106572151
integer overflow/underflow is undefined behavior in some programming languages
your wish might compile but it wouldn't necessarily produce that result and it might fault
>>
>>106571691
num_wishes--;
num_wishes = 0;

problem?
>>
File: 899033bbbee350ec.jpg (200 KB, 1052x678)
200 KB
200 KB JPG
>>106571691
>>
>>106572685
>>106572182
i 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
>>
>>106572182
Can't believe genies run on 16bit cores.
>>
>>106576182
I loled
>>
>>106572151
That doesnt make sense. Why would he post-decrement? Genies never do this in the series. They always pre-decrement.
>>
File: 0bc41c54d897cb11.png (1.02 MB, 1052x1080)
1.02 MB
1.02 MB PNG
>>106571691
>>
File: 1757576370141733.png (246 KB, 450x399)
246 KB
246 KB PNG
use case for sense of humor?
>>
>>106571814
the genie sets wishes_remaining to zero before decrementing
>>
>>106571729
Integer overflow on unsigned byte
>>
>>106577014
geeeeeg is this him?
>>
>>106574661
I 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.
>>
File: 1757802020353484.jpg (729 KB, 1746x1345)
729 KB
729 KB JPG
great anime /g/ :)
>>
>>106571691
>8bit genie
>>
>>106580732
Tranime *
>>
>>106577032
who the fuck use int8 in 2025?
>>
>>106580812
cniles
>>
>>106580812
why would you use more if you don't need more than 256 numbers?
>>
>>106580803
yeah that's lain :)
>>
>>106573866
>>106572964
>>106571791
it was ok ish.
the only thing i learned is that python.com was a porn site.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.