Archive | Software Development RSS feed for this category

Oops. Forgot to Freeze my Gems.

6 June 2008

0 Comments

Sorry for the outage on this blog yesterday. My hosting provider upgraded to Rails 2.1, and I had cleverly forgotten to: bash# rake freeze:rails:gems If this happens to you, and you make the unfortunate mistake of trying to instead update Typo to Rails 2.1 using: bash# rake rails:update You’ll be in even worse trouble, unless […]

Continue reading...

Block Comments

26 May 2008

128 Comments

Since I seem to be on a “Comment” and “Terseness” rant, I’d like to point out that I dislike block comments for everything but RDoc. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 x ||= ["0"] =begin this is a block comment It's good for auto-generated documentation , I […]

Continue reading...

Sidebar comments in code

26 May 2008

2 Comments

In my post about clever code vs. terse code, I showed some distaste for code that attempts to put a bunch of logical statements on one line. I have a particular coding prejudice that lines of code should be short from left-to-right, if at all possible. The reason? I like sidebar comments. Maybe this is […]

Continue reading...

Amusing struts app goof-up

19 May 2008

0 Comments

I was paying a parking ticket online to Montgomery County, MD. When the site processed my payment, it submitted to the action shown below. Haha. I am pretty sure I wouldn’t make that mistake with rails routes.

Continue reading...

PATH Snafu setting up “git –bare” repository for sharing with ssh

13 May 2008

4 Comments

I use Mac OS X 10.5.2. I was in the process of setting up a master repository for the source code to a couple of projects I am working on that I am not hosting on github. Since I work on them from a couple locations, I figured I’d set up my workstation at home […]

Continue reading...

Rails 2.1 RC1 released

12 May 2008

0 Comments

Well, it’s happened. The Rails 2.1 RC1 release has been tagged at github. If you haven’t already downloaded it after hearing the news on your iPhone RSS Railscast feed, then head on over to Railscasts.com and watch Ryan’s short video on how to install it.

Continue reading...

Converting to and from Unix / Java time (epoch)

6 May 2008

5 Comments

Working in telecom, I have to integrate my Rails and plain Ruby apps with Java or Unix based systems running on remote hosts. Most often these systems are running remotely and are accessed via an XML-over-HTTP interface (no SOAP, no REST, blah…). I’ve found that one of the most infuriating things that UNIX and Java […]

Continue reading...