Audio Blog Entries

Archive for February, 2003

Tuesday, February 25th, 2003

I spent a thoroughly interesting lunch time (no, I mean it, it was interesting, honest!) wrapping unit tests around code in Chronicle Lite. The class that provides the brains behind the options dialog in the application is now fully tested. In the process I was able to remove some methods that were unused and better still, found and fixed some bugs that were waiting to bite me. Testing is such a good thing. I am aiming for 100% test coverage on the application as a whole - lets see if that truly comes about!

As a side note, I ran across a buried desktop shortcut to Blog Buddy. I’ve not used that application since Chronicle Lite was finished. It was a moment of nostalgia - “Oh, wow. Ive not seen that app in ages!”

Wednesday, February 19th, 2003

Looks like the newest trailer for X-Men 2 is online!

Tuesday, February 18th, 2003

Tonight is the second full week of the Alpha course our church is running, not counting the celebration supper / kickoff meeting that we had. I’m excited too. The meal will be pizza from Pointers, a pizzaria that’s been in business for about 12 years, close to our house. If you’re in St Louis, take a look, you wont be disappointed. The food is excellent!

We have a diverse group of people no matter how you look at them - education, age, marital status, spiritual walk. Discussions have been lively so far and there no-one seems to be apathetic; everyone has a hunger for more than just the material that the course teaches, everyone seems hungry to experience more of the reality of Jesus. It’s humbling to see. Its humbling to look and think that I used to be that way and ask where is that fervour nowadays? I may be a leader in the group but each time I participate in the course I still learn something new; I am challenged every time to go deeper with God.

Monday, February 17th, 2003

It’s my party and I’ll cry if I want to (but, actually, I dont feel like it) - you wouldnt cry too, if it happened to you. [ Lyrics | History | Filk ] It’s my birthday for another 35 minutes. Work sucked somewhat, and although Alison had the day off she had a bunch of crummy things happen that got her down. Still, all things considered, I had a good day:

  • Got to have lunch with Alison
  • Fiona/Rob gave me a book collecting together the darwin awards and desktop magnetic sculpture
  • Alison cooked me Salmon
  • We went to see DareDevil
  • She also got me the complete boxed set of DVDs for Doctor Who - The Key To Time

Oh, and how could I forget, Ali also gave me my very own brown pen. She claims I am a “theiving weasel” because I took hers - so now I have my very own! :-) Actually, I have them both, but that’s beside the point!

All in all it was a good day. I look forward to reading the Darwin Awards book (and laughing out loud at some of the stories) and espectially to nights snuggled on the couch with Ali, re-living childhood memories as we watch season 16 of Doctor Who. Who cares that I was 8 last time around and I turned 33 today? Memories are memories, and I will be remembering today for a long while to come.

Saturday, February 15th, 2003
The Writer's Block: 768 ideas to jump-start your imagination   Alison was given a writer’s block for Christmas. It’s a gimmick - a 3 inch cube shaped book with pictures, suggestion and nudges from its author (Jason Rekulak) that will hopefully get yor mind working, and words flowing. For example
Trace the journey of a five dollar bill through the lives of five different owners. What was exchanged during the transactions? How much (or how little) did the transaction mean to each of the people involved?

Not so sure what Alison’s reaction to the book was, but, I like it! It gives me ideas and I will certainaly be trying some of the exercises out. Someone said that its important to simply write and its not all that important what you write. The good stuff will flow, ideas will come, but you need to move past the (proverbial) writers blocks on the way.

Though I picked that example at random, it immediately reminded me of a film I watched - a real gem - called “Twenty Bucks“. The film traces the entire life of a $20 bill from the moment it comes out of an ATM through to finally being incinerated. It’s dated enough that you’ll see a bunch of today’s big names playing small parts, so keep an eye open for

Friday, February 14th, 2003

Looks like I am going to take more than 40 days to finish the “Purpose Driven Life” book - chapter 3 nailed me and sent me off into sprirals of healthy introspection. At the end of the chapter Rick Warren asks, “What would your family and friends say is the driving force of your life? What would you like it to be”

On another note: I ***hate*** waking up with a headache and sore throat. Blarghhh! [croaks off to bed]

Monday, February 10th, 2003

I knew that the SciFi channel were planning a follow-up to their “Dune” miniseries, but until now have not been able to find any downloadable trailers. It looks awesome! I cant wait until March!

Sunday, February 9th, 2003

Day 2 (chapter 2) of “The Purpse Driven Life” by Rick Warren quotes a poem by Russel Kelfer

You are who you are for a reason.
You’re part of an intricate plan.
You’re a precious and perfect unique design,
Called God’s special woman or man.

You look like you look for a reason.
Our God made no mistake.
He knit you together within the womb,
You’re just what he wanted to make.

The parents you had were the ones he chose,
And no matter how you may feel,
They were custom-designed with God’s plan in mind,
And they bear the Master’s seal.

No, the trauma you faced was not easy.
And God wept that it hurt you so;
BUt it was allowed to shape your heart
So that into his likeness you’d grow.

You are who you are for a reason,
You’ve been formed by the Master’s rod.
You are who you are, beloved.
Because there is a God!

And, the question today to consider is: Knowing that God uniquely created you, what areas of your personality, background, and physical appearance are you struggling to accept?

Saturday, February 8th, 2003

From “The Purpse Driven Life” by Rick Warren

One reason most books dont transform us is that we are so eager to read the next chapter, we dont pause and take the time to seriously consider what we have just read. We rush to the next truth without reflecting on what we have learned.

Dont just read this book. Interact with it. Underline it. Write your own thoughts in the margins. Make it your book. Personalize it! The books that have helped me the most are the ones that I reacted to, not just read.

Or, in my case (since I will be sharing my copy of the book with Alison, I plan to journal the most personal thoughts and blog the others, along with the questions so that others visiting here can benefit.

Saturday, February 8th, 2003

I now design software according to a simple set of principles:

  • Do the simplest thing that could possibly work
  • code the test first, then the feature. Stop coding the feature once the test passes
  • Take a cold, hard look at the code and remember: Once and ONLY Once. Remove duplication mercilessly and by any means necessary.
  • Allow the code to speak to you about it’s design

Inside every application there’s a framework waiting to come out

There are general pieces of code in every application. If you ruthlessly follow the once and only once (OAOO) rule then you should look for duplication from one project to the next not just within one code base.

I love writing code that sits at the upper levels of the opertating system: services and useful framework stuff that allows other people to do their job. “This is going to be so useful” is a common thought in my head. At least it was until I arrived on my latest project. First time I said something about that thought the guy I was pairing with said “YAGNI” in a loud voice. What?

Y-ou
A-int
G-onna
N-eed
I-t

I was mortified! A beautiful abstraction was shot by the cruel farmer just as it was to take flight. My pair reminded me that the customer was paying for my time and the abstraction I was suggesting violated the first of my deign principles: it wasn’t the simplest thing that could possibly work.

A few days later, working on a different story for the user we met another problem. Several pair switches had occured and my ego was feeling a lot less bruised about the YAGNI comment. In fact I’d had the pleasure of yelling “YAGNI” at points and seeing people pull faces as they too realized that they were over complicated the code. My pair and I finished up looking at the problem and realized that we were going to cause duplication by applying the same simplest thing as last time and he set about creating the beautiful abstraction I’d suggested before. Why? In this case both features could share most of the code that solved the problem. In this case we neede to avoid duplication. In this case the abstraction was called for.

It’s called Emergent Design. Some claim that eXtreme Programming is chaotic and undisciplined, that it lacks design and attracts cowboy coders. My experience has been the exact opposite: solid well balanced people with an eye for design patterns, architecture and disciplined work ethic. All of us so far listen to the code and when it calls for an abstraction, we give it one, to satisfy the OAOO rule.

That is the problem that I saw in my old coworker’s code base. He’d abstracted too early, and you had to step to and fro through at least 4 classes and at least one interface to actually do anything. Since it was a single application there was no need, Im not saying there wasnt beauty in the design, but there wasnt a need to apply the abstractions that he had. His complaint about not being able to follow the code screamed to me that the code needed simplifying. I hope he doesnt mind!