Today I discovered Low Tech Sensors and Actuators while reading Getting Started with Arduino. It’s a report about how to salvage electronics from cheap toys to make various types of systems which can interact with their environment.
Category Archives: Learning
Expanding glob pattern in bash
Today I learned: you can use Ctrl + x then g to ask bash to evaluate the glob on the current line. You need to configure it first with e.g.: bind '"\C-xg": glob-expand-word'
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 );
USB Looper for Serial Debugging and File Transfer
Here’s a fun build from element14 presents: Build Your Own USB Looper for Serial Debugging and File Transfer — Episode 702. It lets you connect two USB hosts to each other. I wanted to check out the software and schematics but I couldn’t find the files to download from anywhere…
Undeformable pen clip
I love what these guys are doing with clips and such.
The “Secret Code” Key | Project 9/30 | Maxitronix 30in1 | In The Lab With Jay Jay
You can support this channel on Patreon: patreon.com/JohnElliotV
This post is part of my video blog and you can find more information about this video.
Silly Job Title: Earth Grounder. I am the Earth Grounder!
In this video we do the 9th project from the Maxitronix 30in1 Electronics Project Lab Kit: The “Secret Code” Key.
We use the Rigol MSO5074 Mixed Signal Oscilloscope to examine the buzzer tone signal.
We use the UNI-T UTi260B Thermal Imager to check thermals (there are none to speak of).
We use the Kaisi S-160 45x30cm Repair Mat as our workspace.
Thanks very much for watching! And please remember to hit like and subscribe! :)
Following is a product I use picked at random from my collection which may appear in my videos. Clicking through on this to find and click on the green affiliate links before purchasing from eBay or AliExpress is a great way to support the channel at no cost to you. Thanks!
Yum Cha Guitar String Ruler![]() |
Let’s go shopping!
How to WIN the Game of Earth
In this one Chase Hughes talks about this game we’re playing on Earth.
How A True Polymath Like Benjamin Franklin Learns
In the video we learn about Franklin’s learning principles:
- Reconstruct from memory
- The Socratic method
- Utility first learning
- Argument mapping
- Polymathematics
- Sociable learning
- Read constantly
- Follow your interests
And how to think like Benjamin Franklin:
- Follow your interest
- Think very deeply into it
- Strengthen all sides of an argument
- Experiment like an inventor
Why Can You See Through Glass… But NOT Through Brick?
Some things are transparent, and some things are not. Why!? And let’s not even talk about mirrors!
