Binary to Decimal Conversion in Ruby

This week I wrote an algorithm in Ruby to convert binary numbers into decimal numbers. Here’s the problem description, from Exercism: “Convert a binary number, represented as a string (e.g. ‘101010’), to its decimal equivalent using first principles. Implement binary to decimal conversion. Given a binary input string, your program should produce a decimal output. The program should handle invalid inputs.” ...

May 4, 2017 · 2 min · Jake Worth

Ceramic Nation

Project announcement! Last night I built a Markov Chain-generated novel, titled Ceramic Nation. ...

September 11, 2015 · 1 min · Jake Worth

Don’t miss my next essay

Hear from me immediately when I post: no ads, unsubscribe anytime.