2006-01-31

60 Years of Happiness

Good News Day. My grandparents are celebrating their 60th wedding anniversary today, Feburary the 1st.

Gramps has done a lot in his life, and picked up speed post-retirement. He was the director of Aborigional Affairs in Victoria at some point in the distant past, and since then has worked for Prison Fellowship. Now he's just another retiree in a retirement village. They gave him an Order of Australia medal a few years ago for his work with Prision fellowship.

His first year at the retirement village, he wrote a Microsoft Access database for the village to use to manage the site. That was a few years ago. 1999. Since then he's moved into the Hostel, at the same village.

He still drives. 80+ and sharp enough to drive his old Mazda 929, which he keeps regularly serviced.

I don't think I remember meeting my Grandmother on my father's side, she died many years ago. My Grandfather on my father's side had a heart attack and died a few days after my wedding in 2001. I didn't go to the funeral because I was on my honeymoon at the time. He was taking his caravan on a tour around australia every second year at that point.

I'm looking forward to being old enough to blog about my great grandchildren.

Saying No

Something that's important to learn, is learning to say no. And I think I have learned this lesson quite well. This very day I said no to someone.
[robk] anyone interested in a senior lead programmer job? :)
[robk] must have solid php experience with honkin' big apps
* robk looks at Jerub
[Jerub] I hope I don't offend you personally when I tell you.
[Jerub] robk: Fuck Off.

It's just one of those things. I'm happy where I am.. Even if I wanted to kill myself every time I opened my email, I am secure in the knowledge. I don't have to write PHP.

bookshelf
On another note, a bookstore was closing down. I couldn't resist. I got goodies.

2006-01-30

Joining the Flock

What's the idea behind Flock?
We believe that it should be easy for everyone to contribute to and participate on the web. To that end, we've started with integrating tools that make it easier to blog, publish your photos and share and discover things that are interesting to you.

Flock

I'm sold. I just closed Firefox and am now running Flock.

technorati tags:

Vim stuff

Hah!

I often see other bloggers talking about vi and I want to jump up and down and demonstrate how to do what they're talking about, but without the pain of using vi-ish ways.

What Brad suggests doing in vi is something along the lines of:
  • Go to where you want the comment block to start
  • Hit mm
  • Go to where you want the comment block to end
  • Hit mn
  • Type :'m,'ns/^/#/
Which is archaic! Manaully doing marks like that is so 1980.

The two techniques that are possible in vim, which are both reasonably good, but I like the second one best are:
  • Go to where you want the comment block to start
  • Hit v
  • Go to where you want the comment block to end
  • Hit :s/^/#/
When in visual mode, pressing : will make vim automatically enter in the code that means "from the mark which is the start of the visual block to the mark that is the end of the visual block", or :'<,'>. This will essentially do the same thing as what Brad suggests, but using visual mode instead of manual marking.

The second technique, which as I mentioned, is my preferred one, is using Visual Block mode.
  • Go to where you want the comment block to start
  • Press Zero 0 so that you will be in the very first column
  • Press Control-v
  • Go to where you want the comment block to end
  • Press I#<esc>
This will insert the # (or whatever other text you wish to insert) at the beginning of each of those lines.

Even better, using the last technique I showed you, you can uncomment the same code by selecting the comments in the same way (using Control-v) and hitting x to delete them.

All Software Sucks

Some people tell me, when I suggest they use vim, that vim is an outdated editor, and they want something more modern.

sthorne 19238 0.0 1.5 27760 16056 ? Ss Jan17 11:51 vim controllers.py

I've been running it since the 17th - approximately 14 days. I've been using it for most of my programming since that date. 73 files have been edited at some point by that one process, during that time. It's used 12 minutes of CPU time. I have code folding, syntax highlighting, code completion, whole line completion, exuberant ctags and a kick arse set of macros.

And it's this version: VIM - Vi IMproved 6.3 (2004 June 7, compiled Jan 11 2005 10:58:40).

I hear the latest version has some bugfixes, and some new features.

I love my vim.

Linux Virus

After LCA'06, lots of the delegates have come down with a horrible disease or something, on the irc channel there have been a few quotes like:
[Gman-] 'First Linux Virus wipes out several geeks'
[Remosi] Gman-, 'first linux virus threatens developers'
[pfenwick] I can see a new keynote for next year: Linux Virus
counter-measures: How soap can improve your computing
experience.
[jk-] s/soap/SOAP/
Well. I thought it was funny. :)

2006-01-29

My Stove


(link)
.
It's the stove of the future!

The drawer slides out!

Isn't that amazing..