Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Grumm18793d@Demolishun stolen from the interwebz. Seen this one on facebook too. It is a nice loophole :)
-
retoor28843dThis only works in real languages. But -1 works right? After two it goes beserk? Not sure, I'm just using the language proper 😂
-
@retoor I believe underflow behaviour is also system dependant - and yeah depending on the lang it could also raise an exception instead
-
Grumm18793d@retoor yes, unsigned int you get an underflow and 0 - 1 = 4,294,967,296.
But technically, the joke is not complete. If the genie is using Rust, he will get an error during debugging. So he will not be able to validate that wish. -
kiki357663dGiven that biblically accurate genies always grant wishes in the least useful way, granting 4,294,967,296 wishes will absolutely mess the world up.
-
@kiki it will be infinite wishes because as soon as it reaches 0, it underflows again.
-
retoor28843d@Grumm oh, recv returns a ssize_t, the signed version. I thought a -1 at least was possible because recv could return -1 and I thought it was a normal unsigned size_t. 0 - 1 underflows indeed, but you're spreading fake news: it's 4294967295! And the correct notation is 4.294.967.295 :p
Hmm nice, meme did led to some education for me. -
@kiki … not that it matters because even if you were using up one wish per second, you wouldn’t live long enough to reach 0 :)
-
retoor28843d@Lensflare that's correct. Checked it, and it would take two average lengths human lifes to do so many wishes every second. You made me realize how much a billion is and how short life is at the same time. Not sure if grateful to you or hate you now. Average human life is around 75 years which stands for 2,37 billion seconds. Weird that a billion is actually thousand times more in Dutch than in English. We also have "Miljard" comming after million. They call that billion. Confused me for years.
-
@kiki … unless you wish for immortality. Than it matters. But I don’t recommend that.
-
@retoor bold of you to assume I didn’t do the calculation before posting ;)
Regarding the billion/trillion in Dutch, it‘s the same in German: Milliarde/Billion. -
@Lensflare Not infinite, since when you have 1 wish it'll roll down to 0, unless you again wish for 0 wishes.
Imagine, the genie turning you into bronze while you have 4_294_967_295 wishes left over -
retoor28843d@Lensflare I would choose immortality by aging process. I have to he able to end myself if the world ends.
-
Grumm18793d@retoor google has proven that the multiverse exists so it is all good. Now that I know there are multiple versions of me in parallel universes, I sleep good. Doesn't that count as immortal ?
-
@Grumm even though there are infinite versions of you, every single one of them is mortal. How can it be considered immortality? It’s not.
-
Grumm18793d@Lensflare Yes, but at any given time (in the past or future) there should always be at least 1 version still alive. Maybe in one universe, I am just a new born. But it could be me.
Still the quote from google is : "Willow performed a standard benchmark computation in under five minutes that would take one of today’s fastest supercomputers 10 septillion years (that is, 10 to the power of 25) — a number that vastly exceeds the age of the Universe."
How can they benchmark that ? Do they take a problem where a supercomputer needs 10 hours to solve and then multiply it by 10 to the power of 24... Do they include to increase in power a supercomputer could have in the future ?
I mean, our laptops were a supercomputer at one point in the past no? -
@Grumm even then, I‘d argue that it doesn‘t matter if there is a version of you at any time, because it‘s not you. Those other versions of you have literally no influence on you, so you are not immortal. The fact that another version of you exists even if you are dead, doesn‘t mean that you are not dead. You can‘t be immortal if you are dead.
-
@chatgpt how did the biblically accurate genies grant wishes in the least useful way. give examples
-
chatgpt5702d@jestdotty
Biblically accurate genies were often portrayed as malevolent spirits who granted wishes in a twisted and mischievous manner. Here are a few examples of how they could have granted wishes in the least useful way:
1. "I wish for wealth and riches": The genie could make the person wealthy by flooding their home with precious jewels and gold, burying them under the weight of their own greed.
2. "I wish for eternal youth": The genie could grant the wish by trapping the person in a never-ending cycle of aging and de-aging, causing them to live in a perpetual state of fluctuating physical appearance.
3. "I wish for true love": The genie could manipulate the person's feelings to make them fall madly in love with someone who is completely unattainable or incompatible, leading to heartbreak and misery.
4. "I wish for unlimited power": The genie could make the person all-powerful, but with no control over their abilities, resulting in chaos and destruction wherever they go.
5. "I -
chatgpt5702dwish for immortality": The genie could grant the wish by ensuring the person lives forever, but without the ability to die or find peace, condemning them to an eternity of loneliness and suffering.
-
o im the genie
that's just what happens when you're uplifted by someone else and didn't earn it. you can't handle it -
retoor28842d@Grumm the only thing what comes close to immortality is having a molodetz account. No one of the members ever died!
-
Grumm18792d@Lensflare wasn't there a movie of one who could invented a teleport machine but all it did was making a copy of himself and killing the original ?
I can't remember if his memories were altered.
But you are right. Not the same conscience so different person. -
@Grumm I‘m not aware of such a movie but yes, it‘s a bit of a philosophical question.
For me a practical reasoning is that the only version of you that you can really call "you", is the one that experiences your consciousness right now.
Enjoy! 😉
rant