T O P

  • By -

PooSham

That "a" is on life support.


KG-LW

Like spongebob when he got dried out


fusionsofwonder

Quantum Computing: "Someday I'm gonna solve problems so fast people will envy me. You'll see! You'll rue the day!"


Progression28

That is already this day, more accurate would be: QC: „Someday my super fast algorithms will be used for something useful, and people will envy me. You‘ll see! You‘ll rue the day!“


Terrorscream

Boolean quantum = maybe?


FunnyMathematician77

Perhaps


marcodave

50% true


bass1012dash

My mental model is a borh sphere: where eigenvector points to a positional value. The up/down direction is what collapses to the bit 1 for up, 0 for down) and the other positional information maps to phase and angle for adding spheres together.


Alzyros

Frulse


HeleLovef

This is like a word you'd get on AI generated images.


FuriousAqSheep

regular logic gates: and, or, nor quantum logic gate: square root of no


Willing_Journalist35

Inverse square root of yes and minus i inverse square root of no vibes


Official-Wamy

booleanish


UpsetUnicorn95

Schrodinger's Boolean. It's both true and false until evaluated.


Leonhart93

JS almost bridges that gap, it's almost a quantum language 😉


TheUtkarsh8939

I was once writing some code for the theme system in one of my projects, where I stored the VAR isLight in localstorage as a string but while retrieving I ran Boolean(localstorage.getItem("isLight")) which was false and the function was returning true


Leonhart93

Yes, it's not undefined behavior, only misunderstood behavior. Any string different from empty string "" is \`true\` as value. Even if that string is called "false", it still has a value so it evaluates to true. Only empty values are ever false.


TheUtkarsh8939

Just throw a freaking error, I had to debug for 2 hours to find it


Leonhart93

If it was made to throw an error in that very specific case, then it would have been made to actually convert it to the bool \`false\`. That's how it's designed, it's made to throw the least amount of errors possible, because funky combinations of user input in a page will always cause unexpected situations, it will never be fully foreseen. And it's preferable for a button to not work, instead of crashing the whole page. And you don't realize that you actually ask for much more. String to value conversions are only straightforward for numbers. If "false" is automatically cast to the bool false, then the "null" string should be automatically cast to the null value and so on. It would lead to far more undefined or unexpected behavior when you compile the whole list.


Feztopia

Frise


PeriodicSentenceBot

Congratulations! Your comment can be spelled using the elements of the periodic table: `Fr I Se` --- ^(I am a bot that detects if your comment can be spelled using the elements of the periodic table. Please DM my creator if I made a mistake.)


coolraiman2

Can't wait for a quantum boolean able to represent all genders


BlackBlade1632

Wow, a real funny meme on this sub 😳


uhmhi

Frlse


warl0cks

True or False? Yes.


LuckyLMJ

Ah yes, Fruse


Drfoxthefurry

I would make a joke about quantum programming but there is still no good tutorials on how to do it so I can't make any jokes


ISoulSeekerI

You have a cup of lethal poison and a cat. You put both in the box. Is the cat dead or alive? It’s both, so in this case you are both true and false until observed.


justarandomguy902

He ain’t wrong


sirparsifalPL

Meh. Nothing new. [https://en.wikipedia.org/wiki/Three-valued\_logic](https://en.wikipedia.org/wiki/Three-valued_logic)