Migrating my Blog from Ghost to Hugo

The Story Like any hipster developer, I got caught up hard in the node.js craze circa 2015 and when go started gaining traction, heck I jumped over there too. I first started my blog in an attempt to ‘practice what I preach’ to my peers and young minds that I was hoping to help mould for the best. I think that every developer should have their own blog. Not in a vain attempt to get clicks or ad revenue, but to keep a log of that tough-to-diagnose error that they tried for weeks to diagnose and fix. My blog acts a lot as a personal reference for issues I’ve faced in my coding life and what I did to get around them. ...

July 1, 2020

Learning Go - Morse Code!

I was watching Churchill’s secret agents on Netflix the other day When all of a sudden I got a hit of nostalgia when they got to the portion on morse code. Such an ingenious little method of communcation that I still, to this day, couldn’t follow for the life of me! I took a class on encryption and one of the first concepts they spoke of was morse code. Taking language and transcribing it into a not-so-easy to decipher combination of beeps and blips to send messages over a wire. Some other fun facts for those of you that haven’t taken any introductory encryption classes, morse code is designed very closely following a common english language frequency table. That is, a table that determines the frequency at which a letter appears in the alphabet. Letters that appear frequently are, in morse code, encoded using fewer and shorter . and -’s! I’ve added in a column to the table found at: http://pi.math.cornell.edu/~mec/2003-2004/cryptography/subs/frequencies.html and put in the morse code equilvalent for a quick reference ...

August 15, 2018 · James D Hughes