Bogology
Wednesday, 14 August 2024
JavaScript Destructuring Assignment Gotcha
›
This wasted several hours on me. I'll explain exactly what I was doing that got me into this mess a little later, but the bare essence o...
Thursday, 25 April 2024
try...catch...finally - Not (quite) what I expected
›
Consider this bit of code:- def foo(): print("Called foo()") try: print("In the 'try' block") ...
Wednesday, 3 April 2024
Antenna Experiments - Reprise
›
This is a follow-up to my earlier earlier post : if you haven't already done so, I suggest reading that one first. I caved and bought a ...
Sunday, 17 March 2024
Avoiding Arduino millis() Rollover Bugs
›
If you are using the millis() function to measure time on an Arduino, you might be tempted to do something like this:- unsigned long time...
Antenna Experiments
›
Let me state from the outset that my knowledge of RF and antenna design is very rudimentary. I basically consider it to be black magic. Wit...
Rotary Encoders
›
These are wonderful little things. I got to thinking a bit about exactly how they worked, so I hooked one up to a power-supply and an oscil...
Wednesday, 5 July 2023
Sweet Mystery
›
This packet contains 12 sweets of 4 different colours (black, red, yellow and - my favourites - green). The number and order of the co...
›
Home
View web version