Irony

June 16, 2009 – 8:47 am

Today I received an email from my boss with the following quote:

Genesis

In the beginning, there was the system. And the system was null and void.

And the guru moved upon the system and said, "Let there be code." And behold there was code.

And the guru said, "Oh crap, it doesn't work." And the guru called upon the code angels and demanded a code review.
-- end quote

It just so happens I have a large code review today.

Editing WordPress via iPhone

August 4, 2008 – 6:05 pm

Just a quick update to say I'm still alive. I'm working on a couple of projects right now which I'll provide more details about in the coming weeks.

Understanding the Closures Debate

June 24, 2008 – 8:56 pm

JavaWorld has an article discussing three of the closure proposals for Java. The article is titled "Understanding the Closures Debate by Klaus Kreft and Angelika Langer.

So, what are closures?

Essentially, a closure is a block of code that can be passed as an argument to a function call, which will execute the block immediately or some time later. To some extent, a closure is similar to an unnamed (or anonymous) function. There is more to it, but for the time being, let us stick to this definition.

Doing Open Source Alone

June 24, 2008 – 8:44 pm

JavaWorld had an article this morning by Kirill Grouchnikov detailing lessons learned when working solo on open source projects.

In you're interested in working on open source or creating your own project give this article a read. "Party of one: Surviving the solo open source project".

Busy, Busy… and MythTv

May 28, 2008 – 11:25 pm

I'm still around, most of my personal projects have been put on hold. We're finishing out a development cycle at work so we're pulling out all the stops. In addition to work consuming a large portion of my time I have been taking a little break from the comforts of the inter-tubes to spend time with friends and family. It's the time of year we people want to visit and they expect you to come visit. My idea of visiting the family is a video conference on Skype. Fortunately though, my wife is a little more personable than I and sees to it that I have human interaction.

So I say that I've not been doing much on the computer, but I managed to find the time to download the latest copy of MythTv 0.21 and Ubuntu 8.04 together as Mythbuntu.. The setup was pretty straight forward -- a ton easier than it was the first time I installed/setup MythTv version 0.12.

In case you are interested here's the box I installed everything on... I'll warn you it's not fancy.

Processor Intel Pentium4 2.4 Ghz
Memory 1 GB PC2700 @ 400 Mhz
HardDrive 250 GB IDE 133
Video Card nVideo Geforce 6600 w/Tv-out
Video Capture Hauppauge WinTV-PVR-350
Remote Control Streamzap PC Remote
Network Card Linksys Wireless-G PCI Card (WMP54G)
Display Insignia - 32" 720p Flat-Panel LCD HDTV

Sun Game Server (SGS) Example POM file

April 30, 2008 – 7:00 pm

I have always had a passion in gaming and decided to see where that passion takes me. I've been following the development of Project Darkstar: SGS since before release canidate one.

I have started to work on a few tutorials or examples of using SGS recently. I'm also a big fan of Maven, and being that I am thought that it would be a good fit for SGS and it's dependencies.

This version of the POM file does not have support for Berkley DB, but all of the other packages are available. To date the SGS project itself is not available in binary format from one of the maven central repositories, but most of its dependencies are.

 
<?xml version="1.0" encoding="UTF-8"?>
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.sun</groupId>
  <artifactId>sgs</artifactId>
  <version>0.9.5.1</version>
  <description>Sun Gaming Server API</description>
  <dependencies>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>1.4.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-jdk14</artifactId>
      <version>1.4.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.mina</groupId>
      <artifactId>mina-core</artifactId>
      <version>1.1.0</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
</project>
 

Adding an External JAR to Maven

April 27, 2008 – 1:16 pm

One of the things I don’t do very often, so I always forget, is how to install a external jar or 3rd party jar into my local maven repository. I recently needed to do this for a prototype I was working on.

 
mvn install:install-file \
    -DgroupId=external.jar.domain \
    -DartifactId=name.of.external.jar \
    -Dversion=version.of.external.jar \
    -Dfile=/full/path/to/jar \
    -Dpackaging=jar \
    -DgeneratePom=true
 

If you have no clue what maven is, then you might want to check out their website.