2007 Archive

View by year: 20162015201420132012201120102009200820072006All


Ruby Technorati API Client

09 Dec 2007
So as part of a pet project I decided to write a Ruby client for the Technorati API. There are several available requests that can be made and each has it's own options...

2008 BMW M3

09 Dec 2007
I don't have many vices...but the BMW M3 is one of them. I owned a 2004 M3 but the new "upgraded" version has me salivating.

Updating Ruby Gems in Leopard

05 Dec 2007
This may be old news but I think little tidbits like this are important to document. If you're running Ruby on Leopard (Mac OS) and you're running into issues with your gems, try...

Pandora.com: Best Way to Find Music You Like

05 Dec 2007
During those long sessions of coding music plays a crucial role in keeping the momentum going for me. With all that music I listen to I'm always on the lookout for new and...

MySQL Gem on Leopard

05 Dec 2007
If you're running the Leopard Mac OS, you'll need the following command to properly install the MySQL gem: sudo env ARCHFLAGS="-arch i386" gem install mysql -- \ --with-mysql-config=/usr/local/mysql/bin/mysql_config This page also has some...

ActiveRecord Gem Gotchya

05 Dec 2007
There is a gotchya related to how you require ActiveRecord. Apparently, in older versions of Ruby (eg. the version packaged with Leopard) something like the following will NOT work: require 'activerecord' with something...

BugLabs: Open Source Modular Electronics

01 Dec 2007
I've read some blog posts and saw some video about BugLabs recently and I'm really blown away. Imagine being able to do your own hardware mashups. Well now you can via an open...

Top 20 Ways to Solve a Problem

28 Nov 2007
Divide and conquer: break down large, complex problem into smaller, solvable problems Hill-climbing strategy, (or - rephrased - gradient descent/ascent, difference reduction) - attempting at every step to move closer to the goal...

Leopard 10.5.1 Update Wacks Administrator User Account

15 Nov 2007
So I just finished updating OS X Leopard to 10.5.1 and found my default user account, which was an administrator, is now a standard user. After some Googling, I found a solution on...

Oracle Mix: First Public JRuby on Rails is Launched

14 Nov 2007
Oracle Mix is a joint effort between the folks at Thoughtworks and Oracle to provide a community for Oracle clients to exchange ideas and network with each other and Oracle.

How to Install Ruby on Rails 2.0

10 Nov 2007
If you want to start playing with the latest features of Ruby on Rails (2.0 due out very soon), you can install from source with something like the following: sudo gem install rails...

Uninstalling nginx via apt-get: Stopping nginx: invoke-rc.d: initscript nginx...

07 Nov 2007
If you get something like the following error: Removing nginx ... Stopping nginx: nginx. Stopping nginx: invoke-rc.d: initscript nginx, action "stop" failed. dpkg: error processing nginx (--remove): subprocess pre-removal script returned error exit...

Installing Ruby on Rails on Ubuntu ERROR: While executing gem ...

07 Nov 2007
If you run into this error: ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find rails (> 0) in any repository while running the command: sudo gem install rails --include-dependencies just run the...

Installing Mongrel on Ubuntu ERROR: While executing gem ... (OpenURI::HTTPEr...

07 Nov 2007
If you get the following error: ERROR: While executing gem ... (OpenURI::HTTPError) 404 Not Found when running the following: sudo gem install mongrel Then run it again. Sometimes it takes running the command...

JRuby 1.1 Beta Faster than MRI

05 Nov 2007
Exciting news for those of you that are following the break-neck pace of JRuby. Thomas Enebo has announced that the JRuby 1.1 beta (released this past weekend) is faster than the original implementation....

The Ideal Job Description

27 Oct 2007
37Signals just posted a description for adding another person to their team. Why can't more job descriptions (and more importantly more jobs) be like this one? "37signals is searching for another full-time Rails...

Gym Jones: Physical and Mental Discipline Defined

22 Sep 2007
I recently read a post about a gym called Gym Jones. What caught my interest is that I recently saw the movie "300", in which the Spartans had near perfect human physiques. I've...

CodeGear Releases Feature Rich Ruby and RoR Editor

17 Sep 2007
I have to say I'm impressed unimpressed with this new eclipse-based IDE, 3rdRail, from CodeGear. Update: As I've actually started to use the editor I've encountered several exceptions that seem to be related...

Google, Ganeti and Paravirtualization

03 Sep 2007
Google recently announced the first beta release of Ganeti, an open source virtual server management software built on top of Xen and other open source software. Naturally, since I've been using VMWare for...

Rabbit in the Moon: Decade

02 Sep 2007
I don't generally write about music but I think this will be the first of more mini reviews to come. I've listened to techno music pretty much since I moved to Orlando. At...

The Perfect Development Environment

01 Sep 2007
One of my obsessions (I have many) surrounding software development is the environment that I develop in. Naturally, whenever I start a new gig or begin work for a new company, I tend...

JetBrains Announces JRuby Support for Ruby Plugin

26 Aug 2007
Oleg Shpynov, the lead for the IntelliJ IDEA Ruby plugin, announced JRuby support will be available as part of a public beta version due out in early September. New Features will include: Scope...

Making the Case For Externalizing Application Configurations

20 Aug 2007
Background What do I mean by externalizing? I really mean addressing separation of concerns and making an application more portable. If you think about it, a configuration is a module that other modules...

Apache HTTPD: Address already in use: make_sock: could not bind to address 0....

18 Aug 2007
During my latest Apache configuration change I ran into an issue where I wasn't able to restart/start. This was the first time I encountered this and I was fairly positive the issue wasn't...

20 Tips for Using Tomcat in Production

18 Aug 2007
I've been working with Apache Tomcat for years and always seem to stumble upon new information related to the proper setup and configuration for a production environment. I've decided to put the instructions...

How to Find Out Exactly What Your Shoe Size Is

15 Aug 2007
OK, so this is a slightly off the path most traveled but still technical nonetheless. It's time for me to purchase another pair of running shoes and it occurred to me that I...

Connecting to Oracle from Rails

01 Aug 2007
Since there are several variations of docs on this (some of which are out of date) I figured I'd document this. Download and install the Ruby interface from http://rubyforge.org/projects/ruby-oci8/ Then, in your config/database.yml...

Installing Oracle Instant Client on Mac OS X

26 Jul 2007
Getting right down to business... Download the Instant Client Packages (4 files) Unzip the files into instantclient10_1 unzip instantclient-basic-macosx-10.1.0.3.zip unzip instantclient-sqlplus-macosx-10.1.0.3.zip unzip instantclient-sdk-macosx-10.1.0.3.zip unzip instantclient-jdbc-macosx-10.1.0.3.zip Create two symbolic links for the files that...

JRuby: Calling Ruby's ActiveRecord from Java Using the Bean Scripting Framework

25 Jul 2007
Here we need to use the Bean Scripting Framework (BSF) since Java 5 doesn't have the built-in scripting support that Java 6 has. I will also use 2 helper classes (JRubyHelper.java and BSFHelper.java)...

JRuby: Deploying a Rails Application on Tomcat

24 Jul 2007
This is a brief tutorial on how to get a simple Ruby on Rails application up and running on Tomcat. What you will need subversion client Java 5 JDK Tomcat 5.5.x JRuby 1.0...

JRuby: An Introduction and Install Guide

23 Jul 2007
What is JRuby? JRuby is simply a Java implementation of the Ruby programming language. Why Should I Use JRuby? Leverage both Java and Ruby libraries (gems) Use existing Java platform to deploy Ruby...

Best of Both Worlds: Java, Spring and Ruby Using JRuby

17 Jul 2007
I've started putting together some resources related to JRuby and the Spring framework. There is a lot of interest in being able to write a Rails application and deploy it to an existing...

Desktop GUI Options

09 Jun 2007
Using OmniGraffle, a neat app for putting together snazzy diagrams, I decided to try to visualize the most popular desktop GUI options based on language and platform. Here's the result: Download the PDF...

OFX: Open Financial Exchange

06 Jun 2007
My latest interest is looking at an API called OFX or Open Financial Exchange. OFX exists to allow clients to connect directly to financial institutions and download transactions. An example is downloading the...

Learning from Poor Development Environments and Processes

16 May 2007
I've decided to put together a post of bad development environment practices that I've witnessed in companies I've worked for. For each bad practice there's usually an easy fix to although the hard...

svn: Not authorized to open root of edit operation

25 Apr 2007
So this was a new one for me. After I successfully imported a couple projects on a Windows XP subversion repository I received the error: svn: Not authorized to open root of edit...

Helpful Guides for Bash Scripting

20 Mar 2007
Once in a while I create bash scripts to do various things on a Linux box. I'm by no means a bash scripting guru so I rely on various references: An in-depth exploration...

House of Cards

21 Feb 2007
Being a software developer, it's easy to recognize the importance of having a great environment to work in. Most of the time I spend tends to be 80% or more on thought and...

3 Ways to Run a Servlet Container on Port 80 as Non-Root

17 Feb 2007
This is a very brief outline of how to run the Apache Tomcat servlet container on port 80 (the standard web server port) on a Linux operating system. The steps illustrated here are...

Performance Tuning Best Practices for MySQL

07 Feb 2007
For those of you using MySQL, I just found this great Google Tech Ed video on Performance Tuning Best Practices for MySQL from the co-author of the book Pro MySQL (Expert's Voice in...

Ubuntu Crazy

31 Jan 2007
Several excellent resources for people crazy over Ubuntu: UbuntuHQ ArsGeek (Ubuntu Category) The Perfect Setup - Ubuntu 6.10 Server (Edgy Eft) Install Subversion 1.4 in Dapper with SSL and Berkeley DB Support Ubuntu...

Conky: A Sexy System Monitor

31 Jan 2007
The name may not be sexy but I just found this really cool system monitor app called Conky. To install on Ubuntu: sudo apt-get install conky It may not be obvious from the...

libstdc++-libc6.2-2.so.3 on Ubuntu

28 Jan 2007
If you get an error like this one on Ubuntu, error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory it means the library isn't available and...

Blogger.com Front Page Causes Pegged CPU Spike

28 Jan 2007
I went to Blogger.com today to check out the newest features and noticed when I navigated there my system slowed to a crawl. I quickly realized it was the Blogger.com site! You can...

Ruby Arrives in IntelliJ IDEA

27 Jan 2007
I've just start fooling around with the initial (0.1) release of the Ruby plugin for JetBrains's IntelliJ IDEA IDE. I'm pretty impressed with the initial release since it has some code completion and...

Installing Rails and Mongrel on Ubuntu

27 Jan 2007
So you have ruby installed and now you want to start putting together some web applications. There are several options when it comes to what web server you actually run your app on....

How to Make an ISO Image Using DD

26 Jan 2007
The basic syntax for dd is: dd if=INPUT-FILE-NAME of=OUTPUT-FILE-NAME To make an ISO from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it. dd...

Compiling Ruby on Ubuntu 6.10 (Edgy) How-to

23 Jan 2007
Here's a quick and dirty guide for compiling the latest recommended version of Ruby from source on Ubuntu 6.10: Download ruby-1.8.5-p12.tar.gz and unzip the contents to a temporary directory I'll call INSTALL_DIR. Make...

From Java to Ruby Journal Part 1: Introduction and the Decision

21 Jan 2007
Introduction This is the first post of many to come documenting my progress of porting an existing e-commerce web application from Java to Ruby on Rails. Background on the Java Application The Java...

The Uber Java Web Application Directory Structure

16 Jan 2007
As an exercise using a great new open source (free as in beer) tool I discovered called FreeMind, I put together this quick outline of my standard directory structure for Java web applications....

Decreasing Your Development Time with Tomcat

14 Jan 2007
It seems like I always forget the magic combination for being able to get away with not reloading Tomcat for each class change/compilation. If for nothing else than to document it for myself...

Futurism 2.0

01 Jan 2007
In my research to find an interesting niche market for my next project, I began reading about Modernist, avant-gard, and Futurist movements. What I read pertained mostly to music, architecture and art. As...

« 2006 archive · 2008 archive »