cgore.comcgore@cgore.commicroblogblogphotosChristianitycryptographyjournalingoutdoorsmy master's thesisprogramming
Thinking Bicycle
Github @cgoreFacebook @cgoreInstagram @christopher.mark.gore

This website is copyright © 1995-2016 Christopher Mark Gore, all rights reserved. The content may not be copied or republished via any means, traditional or electronic, without express written permission of the author.

Chris Gore: Programming: Ruby

Ruby is a very capable programming language that could most quickly be described as a strange cross of Python and Perl. It is my third most favorite programming language, after Lisp and C. It is most often associated with the Rails web framework, which is written in it and is probably the most full-featured web framework available at the moment. Nearly all of the code I have written in Ruby is for Rails, but I would consider it a good choice anywhere that you would want a full-featured scripting-style programming language.

My Ruby Code

btce

BTCE is a gem for interfacing with BTC-e.com, the second-biggest of the cryptocoin exchanges, after Mt. Gox It is being used on my site BTC-Charts.com among other places. The code is on Github but you can just install the gem.

make-rubygem-debs

make-rubygem-debs will generate Debian packages for all of the gems specified in a Gemfile.lock for a Ruby application. This is useful if you need to deliver to a Debian-based system (Debian, Ubuntu, many others) that has no connection to the internet. The code is on Github but you can just install the gem.

monkey-patch

Monkey Patch is a gem where I am slowly adding all the little features that I find missing in the standard Ruby classes that I wish were there. The code is on Github but you can just install the gem.

Talks

Lambda Calculus in Ruby
This is a talk I gave Monday, October 13, 2014 at the STLRuby Meetup. You can view the slides as a PDF, or watch my talk on YouTube.
More is MORE!
This is a lighning talk I gave Monday, January 13, 2014 at STLRuby Meetup here in Saint Louis. You can view the slides as a PDF.

Useful Information

Books

The two best books on Ruby are The Ruby Programming Language by Yukihiro Matsumoto, the creator of Ruby, to learn the language, and Programming Ruby 1.9: The Pragmatic Programmers' Guide (Facets of Ruby) as a language reference, although it isn't as good to learn from initially.