Soy 0 got truthmogged by chad 1 😎
- 4 months
https://en.wikipedia.org/wiki/Ternary_computer
Think of the fun we’d have, still no 2 though.
- 3 months
Nah you’re just reading the voltage instead of its logical representation
- 4 months
Now get ready for fuzzy logic!
- -1.0 = false
- 0.0 = neutral
- 1.0 = true
Also now you know more about AI than most AI bros on the internet.
- 4 months
The not so funny thing is that if you try this in scripting languages -1 and 1 are both truthy so…
- 4 months
Because you need to infer the fuzzy boolean as a type (I personally plan to make one that works between -127 and 127, on integers instead of floats), and then write an interpreter to use the values accordingly.
- jaybone@lemmy.zipEnglish4 months
And it’s an error code from a library call, because false means the call succeeded.
- 3 months
I used to use enums for my return codes.
Then I got pissed I had to add my enum definition to every project I worked on.
I now return integers based on errno
A_norny_mousse@piefed.zipEnglish
4 monthsI’d just like to interject for a moment. What you’re refering to as Bash, does in fact apply to all UNIX-like shells.
- 4 months
Yes I know, I was gonna say “shell is confused” but it just didn’t feel like it had the same ring to it
Use perl exec to run a bash script. Now you’re confused, too. And not just about why you’re using perl.
- 4 months
I think some memes should have a sign that says: “You must be this high to ride”.
- GlenRambo@jlai.luEnglish4 months
New Drake meme format?
Orange jacket guy, for those that don’t know. https://knowyourmeme.com/memes/drakeposting/photos and now you know.









