• The Yubikey OTP Algorithm

    The yubikey is a fascinating device capable of generating passwords that are only useful in the instant they are generated. By the end of this post you should understand how passwords are generated, encrypted, decrypted, parsed, and validated.


  • Beer Stock Exchange

    Abusing the sigmoid function for fun and profit


  • The Naive Shuffle Algorithm

    Aside from saving time, why are programmers always told not to write code that has been written for us? Short answer: you don’t know what you don’t know.


  • Understanding Bike Frame Geometry

    Frames are a frequently misunderstood part of buying a bike. There are tons of measurements and nobody seems to know what they all do. If I tell you a bike has a 625mm effective top tube, 38.1mm rake, 71.0 head tube angle, 423mm chainstay, and 74mm trail, would you be able to tell me the handling characteristics of that bike? I thought not. The simple truth is that nobody really can. Some people know more about what each of these measurements mean than others, but the only way to know for sure how a bike is going to ride is to ride it. That being said, there are a few simple things to look for when looking for a bike frame.