Archive: Ruby category
It's been a while. :) So, I ended up buying a Mac Mini, and last week I upgraded the RAM to 2 gigs so I'm sitting pretty well right now. (With the original 512 megs the Mini had at first, things were dog slow, especially when I tried ...
At work last week my boss was about to purchase a piece of software for a substantial sum. When he told me about it, I almost laughed at the ludicrous price. "They said it took about $6,000 worth of labor," he said. Completely outrageous. So I ...
I've been porting the BYUFHLC to PHP, and it's coming along pretty well in spite of a number of mini-setbacks. The only tricky part was figuring out how to parse the HTML from the screenscrape. At first I was going to use Troy Wolf's class_http, but it ...
Lately, the need to finish these major projects at work before I switch jobs at the end of August has turned most of my coding time (well, all of it right now) into ASP.NET time. Blech. It's okay, I suppose, and it could be worse (COBOL, anyone?), but ...
I'm finally starting to understand Rails! :)
Now that school's out I don't have any homework breathing down my neck, so this morning I got up early and decided to write a Rails app that takes a GEDCOM file (using an existing GEDCOM-to-XML parser) and imports it into a Beyond ...
I haven't been in much of a coding mood lately, thus the scarcity of posts. But I think that's changing. Today I made my initial foray into Javascript coding. At work we're porting our genealogy extraction software to the web, so I'm writing some code to manage ...
Finally started doing some Ruby coding today. I'm writing a pedigree parser that takes an XML pedigree and outputs it to HTML, and so the natural first step was to see what Ruby's XML capabilities are. REXML is cool. I've done a fair amount of XML ...
Today I read about the Levenshtein distance algorithm and decided to code it in Ruby.
In information theory, the Levenshtein distance or edit distance between two strings is given by the minimum number of operations needed to transform one string into the other, where an operation is an insertion, deletion, ...
Last night I dreamed a dream. It was this:
family.add(dad, 48, mom, 44, ben, 22)
And so on. family is an object of class Family, and dad, mom, and ben are objects of class Person. The kicker in the dream was that I could parse the arguments (the add ...
Here at work we use ASP.NET, doing most of our coding in VB.NET. After a year and half of this, can I just say that I feel like VB.NET is rotting my brain? Sure, it's a real language, but the more I use it the dumber I feel, ...