quick and dirty ruby
At work I received an email from someone that listed libraries I should use when connecting to their AS400 system. I wanted a quick way to convert their whitespace table into a nice comma-separated...
View Articlecvs history
For alot of people, CVS is history; they’ve switched to SVN and are loving life. For those of us continuing the use this venerable tool, I present the following cobbled together bit of utility. It’s a...
View ArticleSeeing Ruby
This past Friday I participated in my first presentation, Seeing Ruby: An Introduction to the Ruby Programming Language at the iTRC in Louisville, Kentucky. Chuck Fouts, Steven Yelton, and I did our...
View Articleaccessing as400 databases with Ruby, Java, and the RubyJavaBridge
iSeries systems and Ruby are separate universes right now; I know of no native Ruby way to connect to an AS400 system. However, with the help of Java we can bridge the gap. Probably the simplest...
View Articlemanaging disk space with logrotate
At a customer site, the test and production linux servers for some intranet applications were slowly running out of disk space. The apps themselves were running fine, it was the logfiles generated by...
View ArticleSlides for “You’ll Be Seeing Ruby”
The slides for the presentation are finally available, along with a zipfile, on the Presentation: You’ll Be Seeing Ruby page. It’s been a month now since our last performance, but it all comes back...
View ArticleHibernate and your Getters and Setters
When you’re using Hibernate and are mapping to properties, keep your getters and setters as simple and self-contained as possible. The receiver being initialized may not have any other properties set,...
View ArticleRails fixtures with models using set_table_name
If you have a model that uses set_table_name you may hit a snag when trying to use fixtures and unit tests. The solution is twofold: name the fixture file using the legacy table name, and use the...
View Article‘cvs update: move away foo.bar; it is in the way’
A client site still uses cvs, the ever trusty version control system. After what seemed a run of the mill merge I noticed this: C lib/jt400_3_3.jar cvs update: move away lib/jt400_3_3.jar; it is in the...
View ArticleTreetop: Grammar’s Cool
Treetop was one of the more exciting projects I saw at last year’s RubyConf. Nathan Sobo’s Treetop talk is available online and I urge you to watch it. Nathan did a great job of explaining the basics...
View Article