Not my problem sortinfosec.pubimage 0x4E4F ( @0x4E4F@infosec.pub ) Programmer Humor@programming.devEnglish • 19 hours ago message-square25fedilinkarrow-up1334
arrow-up1334imageNot my problem sortinfosec.pub 0x4E4F ( @0x4E4F@infosec.pub ) Programmer Humor@programming.devEnglish • 19 hours ago message-square25fedilink
minus-square BatmanAoD ( @BatmanAoD@programming.dev ) linkfedilink82•19 hours agoReminds me of quantum-bogosort: randomize the list; check if it is sorted. If it is, you’re done; otherwise, destroy this universe.
minus-square Zaphod ( @Zaphod@discuss.tchncs.de ) linkfedilink17•13 hours ago The creation and destruction of universes is left as an exercise to the reader
minus-square BatmanAoD ( @BatmanAoD@programming.dev ) linkfedilink3•6 hours agoCreation is easy, assuming the many-worlds interpretation of quantum mechanics!
minus-square SubArcticTundra ( @SubArcticTundra@lemmy.ml ) linkfedilink9•19 hours agoWhat library are you using for that?
minus-square SkaveRat ( @SkaveRat@discuss.tchncs.de ) linkfedilink7•14 hours agoIn Python you just use import destroy_universe
minus-square jcg ( @jcg@halubilo.social ) linkfedilink19•edit-218 hours agois-sorted and a handful of about 300 other npm packages. Cloning the repo and installing takes about 16 hours but after that you’re pretty much good for the rest of eternity
minus-square Swedneck ( @Swedneck@discuss.tchncs.de ) linkfedilink7•11 hours agothat explains why it took god 7 days to make the universe
minus-square onlinepersona ( @onlinepersona@programming.dev ) linkfedilink1•edit-210 hours agoWe still suffer from the runtime errors that could’ve been caught at compilation time. Anti Commercial-AI license
minus-square frezik ( @frezik@midwest.social ) linkfedilink1•18 hours agoSince randomizing the list increases entropy, it could theoretically make your cpu cooler just before it destroys the universe.
Reminds me of quantum-bogosort: randomize the list; check if it is sorted. If it is, you’re done; otherwise, destroy this universe.
Creation is easy, assuming the many-worlds interpretation of quantum mechanics!
What library are you using for that?
In Python you just use
is-sorted and a handful of about 300 other npm packages. Cloning the repo and installing takes about 16 hours but after that you’re pretty much good for the rest of eternity
that explains why it took god 7 days to make the universe
We still suffer from the runtime errors that could’ve been caught at compilation time.
Anti Commercial-AI license
Since randomizing the list increases entropy, it could theoretically make your cpu cooler just before it destroys the universe.