Posts where I used the Ruby programmming language and thought that was interesting.
tags → ruby
Oct 2, 2014
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?
Nov 11, 2013I 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.
Oct 5, 2010
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.
May 15, 2009
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.
Jan 7, 2008
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.
Jan 6, 2008 (Updated Mar 28, 2015)
Oct 29, 2007 (Updated Jul 11, 2009)
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.
Feb 12, 2007 (Updated Mar 28, 2015)Update 2015-03-28 No idea whether this is still true, or even if it was just something stupid I was doing in 2007. mp4info thinks that my 5 minute Bob Newhart track is 2 seconds long. Looks like that is an issue on several tracks. I need to dig into that, see why Perl’s MP4::Info picks up the correct length but the Ruby counterpart does not.
Oct 1, 2004 (Updated Jul 11, 2009)
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.
Sep 17, 2004 (Updated Jul 11, 2009)The Problem I want to look at the Fark headlines without opening a browser. Why? I dunno, maybe I just want to see what’s new since the last time I looked, without being distracted by the site clutter. Now, I could just turn off images and go to the site, and that would work fine. Actually, it would work quite well. No need for this article, then. I’m off for some coffee …
Mar 10, 2004 (Updated Jul 11, 2009)As much as I admire the clever braintwistings of FreeRide and the many other excellent projects that are out there, I must admit that Web programming is what I know best. And Web programming is what this section is about, from the Ruby side of things. I will take a peek at CGI programming, Embedded Ruby, setting up servers, and anything else I can think of that will make it easier for you to use Ruby as a major component of developing your Web applications.
Mar 10, 2004 (Updated Jul 11, 2009)
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.
Jun 23, 2003 (Updated Apr 9, 2017)
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.
Jun 1, 2002 (Updated Jul 11, 2009)
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.