Jun 22 2006

Your Code Sucks in Russian, Too

admin @ 11:13 am

Alexey Moudrick has translated my “Why Your Code Sucks” blog post into Russian. Enjoy.. and if you don’t read Russian.. it still looks pretty cool.

Tags: 

Jun 18 2006

Screw it, Let’s Do It.

admin @ 12:48 am

I just read this fabulous little book: Screw It, Let’s Do It: Lessons in Life by Sir Richard Branson, founder of Virgin Music, Virgin Airlines, etc.

The book is low price, short, easy to read, and packing with good advice. More encouraging than enlightening, but that’s never a bad thing.

From the Amazon page: Global entrepreneur Sir Richard Branson has built a business empire and made billions, yet is renowned for his approachability, ability to challenge and succeed against the odds. Screw It, Let’s Do It reveals the lessons from life that have helped him through his business and personal life such as, believe it can be done and that, if others disagree with you, try and try again until you achieve your goal; or that you must love what you do. These and other lessons, with examples of how he learned them and how he’s used them, are included in this stirring and candid look at his lessons from an exceptional life, which will inspire you to make a difference in your own life.

Tags: 

Jun 18 2006

Cool screensaver

admin @ 12:21 am

If you’re a fan of Leonardo da Vinci or The Davinci Code… (and run OS X) check out this screensaver.

Tags: 

Jun 13 2006

My Public Key

admin @ 5:22 pm

For those who are security minded (and shouldn’t we all be), here is my public key:

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.3 (Darwin)

mQGiBEQSJQwRBACDG+JyKiEkMiPzcWaeOQ/C/OOpe3/nzSN0jemo8yWPR2e/2uuy
B6dtV3TaPI14wl3Mx85RTtSyshepU14FFDa4sZwAB/Q/aId9tnz1fViJj5K1FX5c
PMgbYJ8iCQNyPgpIM1Kp1a1lmIEJ6xfJy9Y/yaeFKthP5vO4ac+2yZUScwCg48sw
M9+VyU4SrS0LtmLeEW4A2dsD/iQfr82FAxOOmi/0iM+o/suU9js29MxOc17PASLR
Dd2FFgeVUazvl4cwnBpe9/npK8kX3gGBz/CDCZAuRGsU+Zr2yC8jCD2Ik7Ah/n0I
LFFz12+186CJDZ/jQvgALBlxSdkO7XU3j2/y9JmMJhggFzZ00DtaG5i/pSeQznMm
lHT8A/4sYiAt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2l0CwsSpy8Fif1dbl
CT/ZDmRWWUaGlMR0K7LvVPgKQPz+o3sbZRRSWZUi7T10vPHYjnHrQJrsiYciCVTK
H1+QFkVqoUwYge+ITPG8OKYQ0n0RBZbO7v/ctM9TP/fvlwzbIf+6ojGHRPzjZAki
OApDt0O3nQdB5ixeiEYEGBECAAYFAkQSJRIACgkQauez/L4x7g4hogCfZRUN5pYA
HQ0Hyj0rggNfwz2iFpUAn0kl+VFM045S8dGcBcVWNDZVnCmw
=SqLo
-----END PGP PUBLIC KEY BLOCK-----
Tags: 

Jun 09 2006

My Girlfriend’s a Geek part 4

admin @ 10:35 pm

Tuesday morning my laptop died.. no not my Powerbook.. that would have completely unexpected… the Windows ThinkPad I use for my current client… courtesy of said client. It just wouldn’t boot. Something about an unmountable drive.. bluescreen but it didn’t stay in place long enough to read before it valiantly, yet futilely, tried to boot again.

Not good. I wasn’t heading back to Chicago & the client for almost a week. Was I dead in the water? Could I not work for the week?

Well.. Nancy to the rescue! It took most of the day, but she eventually found some bad sectors, blocked them out, etc and got the thing to boot again. No data loss.. nothing acting odd. It’s been behaving itself all week so far.

Tags: 

Jun 07 2006

It’s Alive!!!

admin @ 12:23 am

sSpec is up & running under VisualWorks!

DO-ITing

TextSpecRunner verbose
	runAll: (OrderedCollection
		with: SampleContextWithFailingSpec new
		with: SampleContext new)

results in the following in the Transcript:

sample context with failing spec
	should fail (FAILED 1)
	should pass
sample context
	should be spec one
	should be spec two

2 contexts, 4 specs, 1 failures
0.044 seconds
1) ExpectationNotMetError in ' sample context with failing spec should fail'
should be even
SSpec.ShouldHelper(SSpec.ShouldBase)>>failWithMessage:

The code for the example specs is trivial, for example:

Smalltalk.SSpec defineClass: #SampleContextWithFailingSpec
	superclass: #{SSpec.SpecContext}
	indexedType: #none
	private: false
	instanceVariableNames: ''
	classInstanceVariableNames: ''
	imports: ''
	category: 'SSpec-Structural Tests'!

!SSpec.SampleContextWithFailingSpec methodsFor: 'specs'!

shouldFail
	5 should be even!

shouldPass
	5 should be odd! !

Sure, a few things need tweaking… and there needs to be a gui based runner, ability to debug a failing spec, etc. ( I want to hook into the sUnit browser integration :) )… but the core is up & running nicely. With a builtin rSpec-like Mock framework as well.
Tags: 


Jun 05 2006

Settler’s becoming a routine

admin @ 1:44 am

As you know if you’ve been following my blog, we’ve recently started playing Settlers of Catan. The other day Nancy picked up the expansion so we can play up to 6 players now.

Since picking up the 2 player rules, Nancy & I have made it a nightly routine to play a couple games. Here’s our gaming “corner” in the office:

100_1704.jpg

Tags: 

Jun 05 2006

My Girlfriend’s a Geek part 3

admin @ 1:36 am

So we had 4G iPod cradles from my earlier iPod (one came with the iPod, then I got a stereo connect kit). So when we got 5G iPods they sort of fit.. then we got hardshell cases to prevent scratching.. and the cradles no longer fit.

Not to be defeated by this, nancy just spent the evening sawing, Dremeling, and carving to make the necessary adjustments (aka hacks) to the cradles to make them fit once more.

100_1703.jpg

She took some pics and expect she’ll be blogging about the process.

Tags: 

Jun 02 2006

Seaside is the new black

admin @ 9:23 pm

Seaside is the new black: “

More Seaside buzz, from a guy going to OSCON:

Seaside is a somewhat heretical web framework. They generate their HTML. They don’t embrace meaningful URLs. They use Smalltalk, of all things.

Of course, by making these crazy choices, they get insane amounts of power. When we were building Jifty, we stole liberally from everything that had good ideas. We dragged Rails down a dark alley and rifled through its pockets. We grabbed Catalyst’s wallet.

But really, Seaside’s killer features like Continuations and Halos…just stopped me in my tracks. Once we got them into our grubby little perlish hands, I realized: This is the way development is supposed to be.

Come on in, the water’s fine :)

(Via Smalltalk Tidbits, Industry Rants.)

Tags: