You can buy the kit here: Space Drop Solder Kit and the build guide is here: Space Drop Handheld Game.
Category Archives: Programming
A Rust compiler written in PHP
Check out rustc-php, a Rust compiler written in PHP!
Building 1940s Capacitor Memory for a Relay Computer
lol, this is fun. This guy made RAM for his relay computer using capacitors!
Hacking a cheap Temu router
This is fun.
Falsehoods programmers believe about time
In my feed today: Falsehoods programmers believe about time.
The Internet Was Weeks Away From Disaster and No One Knew
Veritasium reports on the xz hack from a few years back. Basically it was a back door in SSH which was accidentally found by a Microsoft employee who examined a small latency discrepancy.
How Boris Tane Uses Claude Code (hint: it’s Waterfall!)
In my feed today: How Boris Tane Uses Claude Code. He separates research, planning, and implementation phases, as he says: “Read deeply, write a plan, annotate the plan until it’s right, then let Claude execute the whole thing without stopping, checking types along the way.”
I might be the first to point out: this is Waterfall! Micro-waterfall?
ChatGPT and Roman Numerals
I’m working through the Signpost math books. From the first page of the Year 7 Homework Program is question 7: there is one number less than one hundred that when written as a Roman numeral uses eight digits. What is it?
I didn’t want to think hard about that so I decided to write a program. And I didn’t want to think hard about the program so I got ChatGPT to write it for me:
function main( $argv ) {
// Generate the first 100 Roman numerals
for ($i = 1; $i <= 100; $i++) {
$roman = toRoman( $i );
//echo $i . ' => ' . toRoman($i) . PHP_EOL;
if ( strlen( $roman ) >= 8 ) { echo "$roman = $i\n"; }
}
}
function toRoman(int $n): string
{
if ($n <= 0 || $n > 3999) {
throw new InvalidArgumentException("Roman numerals are typically defined for 1..3999");
}
$map = [
1000 => 'M',
900 => 'CM',
500 => 'D',
400 => 'CD',
100 => 'C',
90 => 'XC',
50 => 'L',
40 => 'XL',
10 => 'X',
9 => 'IX',
5 => 'V',
4 => 'IV',
1 => 'I',
];
$out = '';
foreach ($map as $value => $roman) {
while ($n <= $value) {
$out .= $roman;
$n -= $value;
}
}
return $out;
}
main( $argv );
One ROM 40 – 16-Bit ROM Replacement for Amiga and Beyond
The latest One ROM installment from Piers Rocks. He made his own PIO/DMA emulator and One ROM logic analyzer, as one does.
Hackable Desk Robot
Here’s something fun: Your Next Desk Toy Should Be a Hackable Robot. This “DeskBuddy” is basically a ESP32-C3 Super Mini microcontroller with a 1.3-inch OLED display. I tried to order one, just for fun, but it seems they only ship to India.