Random Geekery

Ruby

Posts where I used the Ruby programmming language and thought that was interesting.

tags → ruby

  • iTunes to Rhythmbox

    Jul 27, 2015

    Tools · itunes · ruby · music ·

    I nearly wrote a script that transfers my iTunes ratings to Rhythmbox. Instead I used Edgar Salgado’s version of iTunesToRhythm.

  • Ruby iTunes Ratings Fun

    Mar 16, 2015(UpdatedJul 26, 2015)

    Programming · ruby · itunes · graphing · music ·

    I use the plist and gruff gems to summarize my iTunes music ratings.

  • Counting Words in Blog Posts

    Oct 2, 2014

    Programming · ruby ·

    I want to write at least 250 words per day. This is not a 30 day challenge. It is just something I want to do. I write more than 250 words daily when you count social network posts and chat text. Wouldn’t it be nice if some of those words were organized around a single idea?

  • Welcome to Jekyll!

    Jul 26, 2014

    Programming · site · jekyll · ruby ·

    Just don’t even ask. I am in a highly fickle phase with the Web site.

  • My Own Ruby Fibers Babystep

    Nov 25, 2013

    Programming · ruby ·

    My adventures reading the full Pickaxe book have reached the chapter on Fibers. Interesting stuff. Thought I would extrapolate from their initial example. The old static pages started from a MANIFEST file that looked something like this:

  • Rereading the Pickaxe

    Nov 11, 2013

    Programming · ruby ·

    I have been spending most of my free time working on a┬áRails project for the Mary’s Place day shelter. At some point - probably after many scan/edit cycles with metric_fu - it occurred to me that even though my Rails knowledge has increased over the last year, my core Ruby skills have not. They have stayed static. They may even have deteriorated a bit, since Rails does so much work for the developer.
  • Rake

    Jul 18, 2011

    Coolnamehere · ruby ·

    Rake is a simple build program. You can use it to automate complex or repetitive tasks. It is written in Ruby, but is useful in far more than just Ruby projects.

  • Ruby and the HYG Star Catalog

    Oct 5, 2010

    Coolnamehere · ruby ·

    One of my big projects over the last year has been a Parrot Babysteps tutorial. One of the more interesting tasks in that tutorial was reading a CSV file in Parrot. I used the HYG Star Catalog as a sample CSV file that was large enough to present some interesting data. This was fun in Parrot, but obviously I thought quite a bit about how I would tackle the problem in a higher level language such as Ruby. Today seems like a good day to find out.

  • Quick Praise for JVM languages

    May 15, 2009

    Blogspot · groovy · java · jruby · ruby ·

    I’ve been digging a lot into the Java world in the last few months at work. Not Java specifically, because the language still bugs me. Why does Java bug me? Honestly at this point my disdain for Java is more a habit than anything based on reality. I just don’t enjoy the language.

  • PageTemplate for Site Generation Part 2

    Jan 7, 2008

    Blogspot · pagetemplate · ruby ·

    I’ve got my code filtering Markdown and now I want to stuff that filtered content into an HTML page. I could just use maruku#to_html_document, but I need the ability to add details like a title and site-related links.

  • PageTemplate for Site Generation

    Jan 6, 2008(UpdatedMar 28, 2015)

    Blogspot · pagetemplate · ruby ·

    So I was looking at my Python Blogger client and I tried implementing the same thing in Ruby. gdata-ruby confusion stymied me. I still don’t know whether library issues or my own ignorance blocked me.

  • Another Link

    Jan 4, 2008

    Blogspot · links · ruby · windows ·

    This blog may well be the single best resource ever created for those of use who are learning how to automate Windows with Ruby.

  • Reinstalling JRuby

    Jan 2, 2008

    Blogspot · java · jruby · ruby ·

    I’m still getting everything back together after the iMac upgrade fiasco. JRuby, my favorite Ruby implementation, is still missing. I think I’ll fix that now.

  • Maruku

    Nov 27, 2007

    Blogspot · markdown · ruby ·

    I just came across Maruku, a Markdown Extra library for Ruby. It’s time to reevaluate my site generation tools. Maybe Maruku could fit into a mutant ZenWeb implementation.

  • JRuby

    Oct 29, 2007(UpdatedJul 11, 2009)

    Coolnamehere · ruby ·

    There is more than one way to experiment with Ruby. JRuby is a mature version of Ruby written for the Java Virtual Machine. This gives you a great deal of platform independence, since JRuby will comfortably run anywhere that Java runs. It also provides you with access to Java’s huge standard library. I thought I would take a little time to examine the Jruby implementation, which is nearing a 1.0 release.

  • Mp4Info issues

    Feb 12, 2007(UpdatedMar 28, 2015)

    Blogspot · ruby ·

  • Late Night Thoughts About FM

    Feb 3, 2007

    Blogspot · project · ruby ·

    FM. FXRuby Media. Or f-m, as known on Rubyforge. I probably should have gone for fmm or something like that, but these things are always more obvious when it is too late.

  • FXRuby MPlayer Idea

    Jan 30, 2007

    Blogspot · project · ruby ·

    A few weeks back I wrote up a GUI front-end for mplayer. It works nice enough, but it suffers from a few aesthetic issues:

  • Aliases

    Mar 1, 2006

    Blogspot · ruby ·

    Here’s something I didn’t know. When you override a method in a subclass, you also need to redeclare any aliases for that method. Seems pretty obvious when you think about it. I didn’t think about it, though, and it caught me up for a few minutes.

  • Drawing Celtic Knotwork

    Oct 1, 2004(UpdatedJul 11, 2009)

    Coolnamehere · ruby · learn ·

    Thanks to everybody for the positive feedback on the first MIRE. I still have your attention, so I’ll move on to my next exercise. This one is a little more involved than the first, but bear with me - the results should be worth it.

  • Look at the Latest Fark Headlines

    Sep 17, 2004(UpdatedJul 11, 2009)

    Coolnamehere · ruby · learn ·

  • The MIRES

    Sep 17, 2004(UpdatedJul 11, 2009)

    Coolnamehere · ruby ·

    A short series of posts I wrote on doing moderately interesting ruby exercises.

  • Ruby Web Development

    Mar 10, 2004(UpdatedJul 11, 2009)

    Coolnamehere · ruby · web ·

  • Simple Ruby CGI

    Mar 10, 2004(UpdatedJul 11, 2009)

    Coolnamehere · ruby · web · learn ·

    This article is intended to provide a casual introduction the CGI programming with the Ruby language. You won’t be an expert when you are done, but you will certainly be ready to explore more on your own, and maybe delve into becoming a Ruby/CGI expert.

  • Ruby Babysteps 01 - First Steps

    Jun 23, 2003(UpdatedApr 9, 2017)

    Coolnamehere · ruby · learn ·

    Ruby is an exciting language with a huge number of features that appeal to advanced programmers. You should not let that intimidate you, though. The language is very easy to get started with, and you can work your way into the more arcane corners.

  • Ruby Babysteps

    Jun 22, 2003(UpdatedJul 11, 2009)

    Coolnamehere · ruby · learn ·

  • Ruby

    Jun 1, 2002(UpdatedJul 11, 2009)

    Coolnamehere · ruby ·

    I say that I do not have a favorite programming language. If I did have a favorite language, it might be Ruby. I’ve been messing around with it randomly for a few years, and I am continually amazed by how easy it is to build programs with it. Ruby is a delight to work with. I’m not sure how to describe it, because it uses elements from so many great languages. Freak that I am, I’ve gone out and started fiddling with some of the languages that Ruby borrows from so I can use Ruby better.