Nov 122008
 

On Monday I went to the dojo as usual, though I’d had a cold over the week-end and wasn’t quite over it (I’m still not over it now..). During form practice, I was constantly correcting myself – I guess that goes to show I need to practice a lot more, if I dedicate this much mindpower to each form.. :)

Nov 042008
 

The MIM keeps 60 days by default. That may be too much for you..

By default, the folder C:\Program Files\MIM\config should make you really happy, it’s got lots of plain text files with configuration for all kinds of settings.

cleanup.txt has “ARCHIVE LEFTOVER AGE (DAYS) := 60

Change that to whatever you feel is appropriate for you needs.

Nov 042008
 

Yesterday evening a man who trained about as long as sensei came to train with us. Black obi, rather frayed to white. He’d trained a long time under his uncle, and then ~15 years under sensei’s sensei. He’d taken a break for a while, so he was a bit out of shape, but his mindset, his attitude, his devotion were 100% into everything he did – an important lesson which I forget all too often.

He left, very happy to have joined us. I hope we’ll see him again.

Nov 042008
 

Whoo! I haven’t done a post that long in a while! Also makes me think I should get a wordpress plugin for some ‘code’ tags..

I put ‘activerecord’ in there to take advantage of the ’24.hours.ago’ notation, which makes life much easier. The cost is a little less than 2 seconds to load the library, so I think it’s worth it. It runs as a daily job before backup to tape, to clear old backups from the directory tree.

require 'activerecord'

def delete_recursively(in_here)
  Dir.chdir(in_here)
  Dir.glob('*') do |filename|
    if File.directory?(filename)
      delete_recursively(filename)
      else
        if File.mtime(filename) > 24.hours.ago
        File.delete(filename)
      end
    end
  end
Dir.chdir('..')
end

delete_recursively("your/path/here")
Nov 042008
 

This blog may yet come alive! I’ve figured out how to post to this from my Blackberry :) I use an app called bbmetablog (google for ‘bbmetablog opencod’), currently version 1.2.2 . I had a bit of an issue getting xmlrpc line set up propery, until I changed their default ‘xml-rpc?openagent’ to ‘xmlrpc.php’ .. And I’m live!