Zorched / One Line Fix

Musings of a software developer in Milwaukee, WI.
index

On Singletons

The Singleton Pattern is one of the most widely used patterns from the Gang of Four (GoF) Desgin Patterns Book. One the reasons that it's so widely used, I think, is because it's also very easy to understand. The basic idea is that you control the creation of an ...

Mocking .NET Objects with NUnit

NUnit is my Unit Testing tool of choice for .NET development. Microsoft provides a unit testing framework but it only works with some higher-end versions of Visual Studio. They're so similar that it's almost ridiculous that Microsoft created their own version. (See one of my previous posts for more information on ...

Coffee DSL in Groovy

I thought I'd follow up with my previous post with the Coffee Domain Specific Language in the Groovy Language. This is really one of my first forays into Groovy, so it's pretty rough. It's really just a direct translation of the Ruby code and not what I would expect to ...

Understanding Domain Specific Languages as Jargon

Domain Specific Languages (DSLs) are the idea of creating syntaxes that model a very specific problem domain. Domain Specific Languages are not a new concept. Some people call them 'little languages'. The Unix world has a bunch of little languages. Grep, awk, sed, lex, and yacc all exhibit features of ...

Groovy Programming Language

Welcome to the disco era...wait, wrong Groovy. Groovy the programming language is dynamic programming language that runs on the Java Virtual Machine. At a first glance it looks a lot like Ruby, but it's built from the ground up to leverage the JVM. This offers a lot of power as ...

Colophon

Geoff Lane is a software developer / architect / coder who writes about technology.

July 18th 2008
Tags: Code One Comment

Member of the orignal 416 - Pradipta’s Rolodex

The 416 is an elite group of software developers (alright, some of them weren't software developers, and some of them were fresh out of school) brought together by Pradipita's mistaken use of CC. Who would have known what would come of such an innocent message: I have a couple of Ruby ...
June 19th 2008
Tags: Automation, Ruby One Comment

Capistrano and Ferret DRB

This is a bit of a followup to my previous post on Capistrano with Git and Passenger. I decided to use Ferret via the acts_as_ferret (AAF) plugin. Ferret is a full-text search inspired by Apache's Lucene but written in Ruby. Basically Ferret and Lucene keep a full-text index outside of the ...
June 17th 2008
Tags: Ruby 2 Comments

Capistrano Deploy with Git and Passenger

One of the great things about Rails and its community is that they are very lazy. Lazy in the good way of not wanting to do boring, repetitive, error prone things manually. They metaprogram and they automate. A great example of this is Capistrano. Capistrano allows you to deploy Rails ...
June 10th 2008
Tags: Groovy 2 Comments

Package Grails DBMigrations in your WAR File

The Grails DBMigrate Plugin is a handy way to give you control over the generation of your database if you don't want Grails to auto-munge your schema. It works fine in development, but when you create a WAR for deployment on another machine the Migrations are not packaged in the ...
May 30th 2008
Tags: Erlang 2 Comments

Erlang Examples: Talk with Erlang

This is part of a series on the Erlang Exercises which is a great set of programming problems that challenge you to implement solutions to some common Erlang problems. I'm going to share some of my solutions to these problems. Implementing Talk with Distributed Erlang Make a simple Talk program that makes ...
May 29th 2008
Tags: Erlang One Comment

Erlang Examples: Talk with Sockets

This is part of a series on the Erlang Exercises which is a great set of programming problems that challenge you to implement solutions to some common Erlang problems. I'm going to share some of my solutions to these problems. Erlang using UNIX sockets Do you want to talk with a friend ...
May 29th 2008
Tags: Erlang No Comments

Erlang Example: Star Messages

This is part of a series on the Erlang Exercises which is a great set of programming problems that challenge you to implement solutions to some common Erlang problems. I'm going to share some of my solutions to these problems. Interaction between processes, Concurrency 3) Write a function which starts N processes ...

Search

The archives run deep. Feel free to search older content using topic keywords.

Add to Technorati Favorites

SliceHost VPS

The Few, The Proud, The Pradipta 416