Jul 222013
 

I’ve been playing with Hazel a bit recently, mostly so I can get a handle on it to support others’ usage of a simple file automation/ housekeeping application. I like it, but it is somewhat limited in not allowed nested conditional and other basic logic statements. Anyway, what Hazel does is not much more– and very frequently less– that what I’ve been doing with ad hoc cron scripts. These are not very tidy having built built up over the years. And so I Googled and I found a x-platform, ruby based Hazel alternative in maid.

$ gem install maid

Well I get a slew of errors, so:

$ which ruby
/usr/local/bin/ruby
$ ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.10.1]

This version corresponds to Apple’s default on early 2008 Macbook Pros which came preinstalled with Leopard (OS X 10.5). I guess this shows that although I am running Mountain Lion now on a mid-2012 MBP I have not had a clean OS install since April ’08, and I have never done so myself on my own machine. So, proof that:

  1. I am lazy?
  2. Upgrades work ‘plenty fine’, and Apple do a pretty good job in this regard?
  3. I’m scared of losing all the custom build of compilers, interpreters, symlinks, scripts in odd locations doing various things, settings galore… etc, etc. that make this machine mine?

Think I’ll persist on this path through Mavericks *then* start fresh with OS XI… if I am am still using an increasingly annoying Apple OS.

$ ls -la /usr/bin | grep ruby
lrwxr-xr-x     1 root   wheel        76 Jul 27  2012 ruby -> ../../System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby
-rwxr-xr-x     1 root   wheel       450 Nov 18  2011 sqlite3_ruby

$ rvm -v
rvm 1.9.0 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com]
$ ls -la /Users/yearlus/.rvm/rubies/
drwxr-xr-x   8 yearlus  yearlus  272 Oct 26  2011 ruby-1.9.2-p290

update rvm:

$ cd ~/.rvm/
$ \curl -L https://get.rvm.io | bash -s -- --version latest
$ rvm -v
A RVM version 1.21.13 is installed yet 1.9.0 is loaded.
 Please do one of the following:
  * 'rvm reload'
  * open a new shell

$ rvm reload
RVM reloaded!

$ rvm -v
rvm 1.21.13 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]

$ rvm use 1.9.2
Using /Users/yearlus/.rvm/gems/ruby-1.9.2-p290
$ which ruby
/Users/yearlus/.rvm/rubies/ruby-1.9.2-p290/bin/ruby

I could fsck with .profile, but will keep flexible for now. Could also use the default flag:

$ rvm use 1.9.2 --default
$sudo gem install maid
dyld: Library not loaded: /Users/sjy2/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.1.9.1.dylib Referenced from: /Users/yearlus/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
Reason: image not found

oh brother!

$ rvm list known
$ rvm list
rvm rubies=> ruby-1.9.2-p290 [ x86_64 ]
$ rvm install 1.9.1
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-1.9.1-p431.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
You requested building with '/usr/bin/gcc-4.2' but it is not in your path.
[/cc]

Grrrr!

[cc_dos]$ sudo rvm requirements
Aborting
Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master
Failed to update Homebrew, follow instructions here: <a href="https://github.com/mxcl/homebrew/wiki/Common-Issues">https://github.com/mxcl/homebrew/wiki/Common-Issues</a> and make sure `brew update` works before continuing.
Requirements installation failed with status: 1

Following worked (outputs omitted):

$ chown -R yearlus $(brew --prefix)/.git
$ sudo chgrp -R admin /usr/local
$ sudo chmod -R g+rwx /usr/local
$ sudo chmod -R o-w /usr/local
$ cd /usr/local &amp;&amp; git reset --hard &amp;&amp; git clean -d -f/
$rvm requirements
$brew update
$ sudo gem install maid
$ sudo gem update

FINIS!!

Jul 182013
 

Butterfly stitches out now…. Still in the Duran-friendly dorsal blocking splint, wrist cocked @ 20º. More exercises! Largely these are Duran/ modified Duran protocol, i.e. passive flexion, semi-active extension. The three main rehab protocols seem to be:

With the aim of full ROM by week 12. Basically it’s a balancing act. Too much active flexion risks rupture, and too little leads to scaring and adhesion. But I should be getting ultrasound therapy twice weekly starting next week to break up scar tissue. W00t

And it would appear that external stitches of the Bruner incision counted 30, not the 25 I’d mentioned earlier.

Scar

Jul 082013
 

 

They took out 25 stitches today and replaced them with the butterfly stitches to reduce superficial scaring. Nice of them, but skin scars do no really matter much to me.

 

Anyway the big stuff:

  • Flexor Digitalis Superficialis @ 2, 3 and 4 was completely severed as was the Flexor Carpi Radialis and the Flexor Digitalis Profundus of 3.
  • FDP-2 and FDP-4 cut but not severed
  • FDS-5 was damaged. 
  • A portion of FDS-3 was transferred and sutured to FDP-3.

All internal suturing was done with FiberWire using modified (Tajima) Kessler grasping knots.

No damage to nerves…. that’s good news! Damed close call on the radial, however.

Back on July 23 to see the surgeon, and in the meantime I have hand therapy scheduled for this July 11 and the following Monday (July 15).

Fingers and wrist are immobilized in a splint– and will be for another six weeks, except for scheduled exercises.

Still fucking painful; still feels like molten lead is flowing through my forearm!

Jun 272013
 

Had surgery today to repair the severed tendons in  my wrist yesterday. Full-on, no holds barred general anesthetic and two and a half hours under the knife of a very well respected orthopedic surgeon working out of New England Baptist Hospital. General anaesthetic worked like a charm, but I wish that i had more time to enjoy it. About 5 minuted of pre-anaesthesia sedative and then some pure oxygen. The last number I remember counting to was only 3!

 

The pic. here is the temporary suturing done  at Newton-Wellesley ER after clean up and glass removal, a small infusion of blood and my first experience with percocet. Sunday June 23, 2013, a day not to be forgotten.  It’s a teaching hospital, and Mr. K. asked for my consent to have videos/ photographs taken of the proceedings for later classroom use. I agreed on the proviso that I get copies of any materials so used.

I wish I had the foresight to take a photo before these temporary stitches were put in. As I watched the physician stitch away I was quite taken with the depth of the wound, and the weirdness of trying to wiggle my fingers knowing that the index, middle and ring fingers were not actually connected to flexor muscles anymore.

Follow up meeting in two weeks time. Until then it’s Rest, Ice, Compression, Elevation, and lots of HBO reruns with my new best friend Percocet 5/325. The nerve block on the right brachial plexus before seeing me home last night is starting to wear off. That’s good in that I can move my arm, bad in that it feels as though molten lead is pouring through my veins.

Since typing is a royal pain in the arse, I’m just going to copy “what happened” from a FB message I sent to a friend:

Going to the toilet, middle of the night. Used ambient light to see my way back to bed as I always do. Stepped on a f^cking kids’ toy. Put my hand out to catch my fall… found a 8×8 glass pane instead.Un-f^cking-believable! All the sh1t I’ve punched (glass and otherwise) when either angry or drunk and nothing happens. Then sober and sleepy I completely sever tendons. I think it’s true what they say: God really does protect the intoxicated.

 

 

 

Social Widgets powered by AB-WebLog.com.