How to Use Ternary and Null Coalesce
? : for if-else. ?? for null fallback. ??= for assign if null.
How to Use Ternary and Null Coalesce
? : for if-else. ?? for null fallback. ??= for assign if null.
The Setun Was a Ternary Computer from the USSR in 1958 https://hackaday.com/2026/01/03/the-setun-was-a-ternary-computer-from-the-ussr-in-1958/
#Computerhacks #Hardware #3VL #MoscowStateUniversity #SETUN #Ternary #Ternarycomputer #Threevaluedlogic #USSR
Ternary Associativity
PHP ternary operator is left-associative! This trap catches everyone. Can you predict the output?
OK, maybe I went too nerdy 🤓 on this one? 🤣
Now when I see 2012 I realise that the hour is about to change. I'm learning! 😉
For those of you in Europe that just had #DST end, I hope you remembered to update your clocks and watches. My watch already updated itself correctly, as you can see. 😉
#ClockChange #TimeChange #Ternary #Time #WristCheck #Wintertime
As fun as the previous face was, I decided I wanted a bit more information displayed.
So I switched to this alternate ternary dial (also made by my friend).
The colours are all customisable. I have the minutes in a different colour to the hour so that I can locate them quickly at a glance, as I tend to decode them first (given I usually know the hour already).
This face can also show a step count but that is way too much effort to decode right now! 🤣
Morning all. Looks like it is time to wake up.
Had I waited any longer I could have potentially been SOL. #nonbinary #protest #uspol #ternary #transrights #tech #uspolitics #gender #lgbt #lgbtq #axab #passport #intersex #protecttranslives
NOT Binary code of 1 or 0, Control Unit coded to like ternary 012, Quaternary Coding 0123, etc😜
If you have time to waste🤷♀️, there's so much more nonsense here👇
https://www.5021.tips/ujanja/eepromwork
👆👆👆
#programming #coding #controlunit #binarycode #programmingtips #codingtips #5021tips #diytips #techtips #HapaUjanjaTu #teachyourself #ecu #ecuprogramming #ecurepairs #eepromwork #EEPROM #EPROM #ternary #quatenary #binary
Hegel 2.0: The imaginary history of ternary computing (2018)
https://www.cabinetmagazine.org/issues/65/weatherby.php
#HackerNews #Hegel #2.0 #ternary #computing #imaginary #history #technology #philosophy
One day, one decomposition
A233010: In balanced ternary notation, either a palindrome or becomes a palindrome if trailing 0's are omitted
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A233010.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A233010.html
#decompwlj #math #mathematics #sequence #OEIS #javascript #php #3D #numbers #balanced #ternary #notation #palindrome #graph #threejs #webGL
Quanta Magazine writer, Stephen Ornes makes a case for ternary computing in 2024, surveying recent efforts to revive tri-state systems, and their advantages over their binary counterparts in certain types of computation.
"How Base 3 Computing Beats Binary"
https://www.quantamagazine.org/how-base-3-computing-beats-binary-20240809/
I'm looking to sort of recreate the #setun or #setun70 processors for fun. They are Soviet computers created during the cold war. Soviet computing in that era is interesting caused they kinda had to create their own alternatives because of social isolation. While everyone when the tube route they created computers out of coil and ferrite cores. Since ferrite can be magnetised in multiple directions they created computers that works with 3 states. 0, 1 and T. Those units where not bits but trits. It's not binary but #ternary. Of course, that changes all the logic. According to my researches at the moment, it seems like memory reading was destructive so memory needed to be rewritten every single time. It's just an other world.
One day, one decomposition
A154314: Numbers with not more than two distinct digits in ternary representation
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A154314.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A154314.html
#decompwlj #math #mathematics #sequence #OEIS #javascript #php #3D #numbers #digits #ternary #representation #graph #threejs #webGL
One day, one decomposition
A134027: Numbers that are palindromes in balanced ternary representation
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A134027.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A134027.html
#decompwlj #math #mathematics #sequence #OEIS #javascript #php #3D #numbers #palindromes #balanced #ternary #representation #graph #threejs #webGL