Sep 14 2006

rSpec Bundle for TextMate

dastels @ 2:07 am

I’ve whipped up a simple TextMate bundle for making rSpec a bit nicer to work with. You can download it here.

You might need to unzip the file (Safari does automatically), and put it in ~/Library/ApplicationSupport/TextMate/Bundles. Note you might have to create the Bundles folder.

At the moment it tweaks the ruby rules for coloring to colour context, specify, setup, and teardown as keywords. It also adds snippets for the same four: context<tab>, specify<tab>, setup<tab>, and teardown<tab>.


Sep 09 2006

rSpec Cheat Sheet

dastels @ 8:20 pm

I’ve made up a cheat sheet for rSpec. It’s checked into the rSpec repository on rubyforge. You can grab it directly here.

Tweaks will be made as rSpec moves forward.

Update: I should mention, it’s 2 pages with a cmd line reference reference on the second page. Works great printed two sided.

SafariScreenSnapz002.png


Sep 01 2006

Open for Business

dastels @ 5:25 am

I am pleased to announce that we are opening our doors as a boutique web application/site development and hosting company.

Dave, who heads up development, has over 2 decades of experience developing software.
He is a thought leader in the areas of Object Oriented Techniques and Agile Software Development Practices.
Nancy, who is in charge of hosting, has extensive experience with web application hosting and server management.
We leverage various state of the art techniques and technologies including OS X, Debian Linux, Ruby, Rails, and AJAX, to name a few.

What’s this mean to you as a client? Solid, high quality applications delivered as efficiently as possible.
Because we can host your application as well as develop it, it’s easy for you to have changes and enhancements made.
There’s only one company to deal with, and our development and hosting are tightly integrated, providing you with the quickest turnaround time possible.

Not only do we use the lastest, most productive technologies available, but we’ve been around long enough to
have a deep understanding of the issues involved in developing and maintaining high quality, robust applications.

Legend has it that Pablo Picasso was sketching in the park when a woman approached him and asked him to sketch her.

After studying her for a moment, he used a single pencil stroke to create her portrait.

When she asked the price, he replied “Five thousand dollars.”

The woman was flabergasted: “How could you want so much money for this picture? It only took you a second to draw it!”

To which Picasso responded, “Madame, it took me my entire life.”

Experience counts. Who do you want developing your applications?

For more information, contact us at info ‘at’ daveastels.com


Sep 01 2006

A Tale of two codebases

dastels @ 5:10 am

I just finished working on notes for a Java5/jUnit4/TDD tutorial. This is a version of a Ruby/rSpec/BDD tutorial that I recently wrote. The app is a simple “guess the secret code” game. The contexts of the two are the same other than where language differences make themselves known. Primarily this is the in code. So, two codebases, same set of tests/specs, same functionallity.. 100% same. Both written by me… which, IMO, means pretty clean, tight code.

I’ll be looking over the code in the next few days, and probably blogging anything interesting that I find. But I’ll start off with this comparison… just how much difference is there in the amount of code?

 

 

 

 

  Ruby Java % difference
Lines 396 551 39%
Characters 11479 16641 45%

So, in Java there is almost 50% more code. In this case.. a simple app… that’s only about 5000 characters… but what about a bigger app? That will add up fast. I can’t help but wonder if that comparison will be linear with the size of the app. Somehow I doubt it.




Steve Jobs Memorial

Stay Hungry, Stay Foolish!
Steve Jobs

In memory of Steve Jobs