September 28, 2018

Caesar's Cipher in Python (AVW ZLJYLA!)

Aol Ffily-Vtlsslaal

Growing up I was always fascinated by hidden messages, secret codes, ancient languages, and all manner of disguised communication. As I started learning math and computer science, that interest strangely faded. This was likely because modern cryptography seemed so complicated I didn't think I'd be able to make sense of it.

This all changed recently when I read a spectacular book called The Code Book. It starts with examples of secret codes (or ciphers) used in Ancient Rome, Medieval Scotland, and Victorian England. It carries on through WWI, WWII, early internet encryption, and ends with a breakdown of the expected uses of Quantum Computing.

I would love to share much more about this book, but you're better off to just read it and I'll get on  with my post. 

While reading the early chapters, I started thinking about how powerful I could have been in Medieval times if I had access to a computer and a python interpreter. Naturally I started writing some code just in case. The resulting program ended up being both fun, and pretty beginner friendly. So I have decided to write up a guide to how these work.

In this post I will start with what is called Caesar's Cipher.

Caesar's Cipher

June 03, 2018

Glass vs Reflective Film Smart Mirror Showdown

After upgrading my Smart Mirror from a reflective film mirror to a glass two way mirror, I thought it would be interesting to attempt a (semi) scientific comparison between the two types of mirror.

This test involves taking a bunch of pictures and rating the mirrors on a few categories. I decided to focus on transmission, reflection, and simplicity when evaluating each solution.

You can also checkout my album of comparison photos here to draw your own conclusions!

February 19, 2018

Laser Cut Cutlery Drawer

I recently joined Toronto's SteamLabs, and got access to a laser cutter for the first time. Laser cutters are incredible machines which use a freakin' laser to carve or etch patterns into flat materials like wood or plastic. They are fast too!

Over the past few years of 3D printing, I have learned that often some of the best uses for these amazing tools are to take something really mundane and just make it easier to make. For example, one of my most useful 3D prints was some "S" shaped hooks to hang Christmas tree ornaments. Within about 20 minutes, we had enough for all the ornaments we could hang.

Well, my laser cutting got off to a start with a similarly thrilling project. A cutlery drawer! It's pretty straightforward, but since it has proved to be so easy and useful, I decided to share it in case anyone else needs a custom drawer organizer.

Here's how it went down.