Python Will Soon Support Switch Statements

Rejoice! Gone are the long chains of ifelse statements, because switch statements will soon be here — sort of. What the Python gods are actually giving us are match statements. match statements are awfully similar to switch statements, but have a few really cool and unique features, which I’ll attempt to illustrate below.

Continue reading “Python Will Soon Support Switch Statements”

Firework Ignitors And Controllers Roundup

fireworks ignitor

With the 4th of July around the corner, we thought it would be a good idea to give a controller wrap up and show you how to make some ignitors. Last year we covered a microcontroller based fireworks launcher. If you like the idea of a controller but don’t want to run all the wire, we have the wireless fireworks controller. Adding a little twist to the wireless scene are cell phone triggered fireworks. Maybe controllers are not your cup of tea, you could try to microwave your fireworks. After the break we show you how to make ignitors from a diode and a match.

Continue reading “Firework Ignitors And Controllers Roundup”

Electric Matchstick

Here is a cool little toy, an LED matchstick. We don’t really know what purpose it serves, but [dhananjaygadre] did a pretty good job of reproducing the effect. The light is controlled by a microprocessor to emulate the flickering of a flame. It holds a charge for a short while, staying lit for an amount of time comparable to a match. To turn it on, you even “strike” it on a match box filled with magnets.