This on Hacker News today: Controlling RGB LEDs With Only the Powerlines: Anatomy of a Christmas Light String.
Monthly Archives: January 2022
How FreeDOS Grew Up and Became a Modern DOS
An article about the history of FreeDOS: How FreeDOS Grew Up and Became a Modern DOS.
Computer Science courses with video lectures
This is pretty awesome: Computer Science courses with video lectures.
300in1 diodes
I made some notes about my 300in1 diodes. I have switching diodes, rectifier diodes, zener diodes, and germanium diodes. One thing to note is that germanium diodes are supposed to have a forward voltage of 300mV. One diode I thought was a germanium diode (it was clear with two black bands but no other markings) had a forward voltage of 600mV, I’m not sure what’s up with that, so I put it in my “unknown parts” drawer.
Doom 3 locker codes
These are pretty good Doom 3 locker codes.
UPS batteries from Battery World
Note to self: my mate Mitchell from Battery World, Penrith hooked me up with new batteries for my PowerShield Defender 1200VA systems: ‘LOVE UPS’ and ‘ORAC UPS’. The batteries have a 12 month warranty if there turns out to be problems.
RisingLight
RisingLight is an OLAP database system for educational purposes: RisingLight. If I had more time I would check this out.
Arrays in PHP
Some notes about arrays in PHP over here: PHP: Frankenstein arrays. I was already aware of most of that but I thought the notes at the bottom about supporting JSON were handy:
If you want to enforce an array to encode to a JSON list (all array keys will be discarded), use:
json_encode(array_values($array));
And if you want to enforce an array to encode to a JSON object, use:
json_encode((object)$array);
Also array_is_list is available as of PHP 8.1.
Marking caches on my workstation
I added a CACHEDIR.TAG file to the following directories on my workstation:
- ~/.cache
- ~/.local/share/akonadi
- ~/.local/share/baloo
Mysticism and Morality
From 1.4.9. – Mysticism and Morality – Pt. 1:
Now, you see, I’m not talking about a philosophy, I’m not talking about a rationalization, some sort of theory that somebody cooked up in order to explain the world and make it seem a tolerable place to live in. I’m talking about a rather whimsical, unpredictable experience that suddenly hits people, and it includes this element of feeling the total harmoniousness of everything.