Installing gdata on Ubuntu 9.04.

Don’t forget that by default, most python module install themselves in /usr/local/lib/python2.6/dist-packages/. But the default install of python2.6 on Ubuntu 9.04 doesn’t look there. Ugh. So, instead of installing with

python setup.py install

use

python setup.py install –install-layout=deb

and the module will install itself in /usr/lib/python2.6/dist-packages and then python will be able to find it.

Hacked.

Old news. Didn’t upgrade my wordpress for a looong time. Came over this afternoon to make a new post and found the bottom of my blog covered in arabic. Ugh. Someone had added an administrator account, too. So, apply new theme and nuke the old – the templates were altered. Delete all three add-ons. Change passwords. Remove the old admin account. Change passwords on my web hosting account, too. Ugh. Ugh. Ugh.

I got the squirrel and the squirrel got me.

Got a squirrel at 75 yards Sunday. Not a bad shot, but about 1/4 of an inch to the left would have been better.  As it happened, the round passed through it’s neck just aft of the skull and just above the spine, apparently just disabling it’s shoulders.  So, it fell out of the tree and stayed where it fell.  Took me a while to find it.  And then I wasn’t sure what to do.  Wish I’d had a mentor along or that I’d been taught hunting as a boy.

This was my first hunting kill, and I’ll admit – when it came time to finish the killing, I wavered in my conviction.  It seemed the animal wasn’t mortally wounded and at first, I contemplated taking it home and healing it.  My wife helped me see reason and I realised it would be best to finish the poor thing.  But how to do it?  Well, first, take my gloves off to get a better grip.  (Now, anyone that’s handled a wounded animal just winced hard.)  And knows what’s coming next….

As I tried to turn the squirrel in my hands and figure out the most humane method to finish it off, it wriggled around and clamped itself to my now bare hands.  WOW!  About twenty good, deep scratches into untangling it’s claws from my skin, I just gave up and broke it’s neck.  Would have been better for us both if I’d just done that from the start.  So now I know.

Anyway.  That’s my first game animal. Does that make me a hunter? Well, I intend hunting more squirrel, so I think so. I skinned it and dressed it according to directions I found in, believe it or not, The Joy of Cooking.  I’ve got the hide curing and I’ve salted the tail stump so I can save it for the Meps people.  I got a surprising amount of meat off it and I’ll be cooking it tonight I think.  I’ll post about how it tastes, etc.

Seems that serving squirrel was all the rage to serve squirrel at dinner parties in England last summer.  The folks in NYC were at it, too apparently.

Kinesis keyboards and GNOME

Randall Wood wrote a decent article about about customising Gnome for using Kinesis keyboards.

Bbrringg, bbbrrringgg: old phones, new ears.

Power was out this morning.  It’s still out at home but I’m in the office where it’s warm and dry and happy…  ok, let’s not gloat.  Anyway, when the power goes out, we pull the digital, cordless phone base-station off the kitchen wall and plug in an old, analogue, single-line, business telephone.  And it works.  Cool.

ATT Single-line Telephone

ATT Single-line Telephone

Anyway, this morning when I called home to see how it was going there in the dark, apparently Tallis perked up and said – “what’s that funny sound?”

He’d never heard an actually ringing telephone.

Hello world!

Yep, this is the first post. Sorta. I’ve installed and configured WordPress here on our family site so I use it instead of using blogger.  I imported all the posts from my blogger.com site, too.  So, this is the first post *here* at the new home.

About my flock… of chickens…

What I wrote as a comment at http://vituperation.com/

I ordered 35 cornish X from Welp Hatchery two months ago. They specialize in Cornish X and have the best prices I found – spoke with twelve hatcheries. Anyway, they sent me 40. Two died in the first day or so – normal attrition rate, I think. Then in week 5 I lost one I wasn’t expecting – heart attack, maybe. Lost another to a broken thigh bone a day later. And another the following day. Another mystery death. Two more died in week 6 from – uh – who knows what.

So, we processed (killed) ten that were looking peaked last weekend, at week 7 + 3 days. Those are all at about four pounds dressed. I have 21 more to “process” this weekend and next. They’ll be at 8 weeks + 3 day and probably about five pounds dressed.

My last batch – my first, actually – I raised during July and August. They did much better compared to these. After week two, I had them outside in the sun for most of the day, foraging on their own. I put some regular dual-purpose birds in with them to – what? encourage them? Yeah. Well, it worked. Cut way down on feed consumption and mortality. Their droppings were normal, they kept themselves beautifully clean. And they raced around with the other birds like normal, albeit large, birds. And I had no deaths. There’s pics of them up on our web site at http://diehn.net/gallery/spring-2008 – all those birds are the same age, by the way. Oh, it wasn’t spring, it was late summer and fall.

So, if I do any more Cornish X, I’ll only start them during the hot months when I can get them outside early and keep them active. Late in fall is *not* the time to start Cornish X chicks. OK, maybe it’s not a great time to start any chicks, but these in particular – no.

Thanks for the thought provoking post.

He reposted it as an example of someone not having bad experiences with the Cornish Rocks. I got ramped up to write another long comment and then decided it would be more appropriate to put it here and put a short comment there with a pointer here. Isn’t that the “done thing?” So….

I’ve got a small flock of eight layers. I have five Hi-Line Brown commercial layers and three normal birds. Four of the Browns are laying now. I’m pretty sure the other and two of the normals will be starting up soon. The normals are a Silver Laced Wyandotte, a Araucana and a Barred Rock.

If you haven’t seen it, you gotta have a look at the Hy-Line.com web site. It’s fascinating. Like really weird things are fascinating. It’s like they’ve completely forgotten they deal in living animals. But hey, that’s commercial egg – uhm, production – for you, I guess.

I like my Hy-Line birds. I got them at five months and they came with clipped beaks. I’d heard about that practice but it never occurred to me the birds I’d ordered would have had it done. Dumb, but there I was – shocked. Birds with clipped beaks look really, really odd. Anyway. They’re all named Hennie. Sometimes if there are a few together that I’m talking to, one is Hennie and another is Cluck. They talk a lot.

I’m ambivalent about commercial breeds like the Cornish Rock X and the Hy-Lines. I feel like maybe I shouldn’t be supporting the industry – as if I knew enough to judge it. On the other hand, they are well – uhm, well designed, I guess I’d have to call it. The Cornish Rock X are good – they’re kinda dull, kinda vanilla, and they’re not around long enough for me to form an attachment.

On the other hand, I’d like to try some larger, longer-lived birds as meat birds too. See if they taste any different. We’ll see. Here’s one I just found out about: The Delaware. Seems they were a common breed for meat birds before the CRX. The Wyandottes are apparently also good dual-purpose birds. Mine is about the largest bird I have right now – probably three to four pounds at six months she is. She’s a layer for me, but shows that the breed has potential for meat.

Well, back to the coop. Gotta clean their ramp again. Maybe I shouldn’t have built it under their perches….

Can a bash script figure out the full pathname to itself?

Yeah, but it needs help. Here’s a script demonstrating a technique I just developed.


#!/bin/bash
#
#--------------------------------------------------------------------------
#
# Written 2008-10-01 by mike@diehn.net.
#
# Demonstrates a technique for acquiring the full pathname of a
# script from within the script itself, using only shell
# features. I also show how to get just the parent directory
# name from that result, again using only shell features.
#
# $0 contains the name of the script as it was invoked.
#
# $PWD always contains the full pathname of the current
# working directory. What you get if you typed "pwd"
# and pressed at the command line.
#
# When a bash script is invoked, these are the possible formats
# for the contents of $0:
#
# /full/path/to/scriptname
# relative/path/to/scriptname
# ./rel/path/to/scriptname
# ./scriptname
# scriptname
#
#--------------------------------------------------------------------------

# First, build the full pathname to this script.
#
case "$0" in
/* ) MyFullPathName="$0" ;;
./* ) MyFullPathName="$PWD/${0#./}" ;;
*/* ) MyFullPathName="$PWD/$0" ;;
* ) echo Whoopssss; exit 1 ;;
esac

MyDir=${MyFullPathName%/*}
MyName=${MyFullPathName##*/}

date
echo $MyFullPathName
echo $MyDir
echo $MyName

Killing the meat birds.

We (ok, I) bought chickens this summer. Got four layers and four meat birds. Now, meat birds are an interesting breed. Amazing really. Our were Cornish Rock cross and by the time they were ten weeks old, last Friday, they were seven or eight pounds already. Big as full grown regular chickens, but clearly still juvenile.

The layers (big pic) are a mix-mash of cool breeds. We have an Ameraucana, a Barred Rock, a New Hampshire and a Silver Laced Wyandotte. They’re all normal sized for ten weeks but next to the meat birds, they looked pretty small.

I built them all a wee coop (big pic) to live in. Actually, just to sleep in. They all run about free range – truly free range – during the day and then they come home to roost at dusk.

This past Sunday, the 21st of September, my neighbor Brent and I killed the four meat birds. Andi, Tallis and Luca documented it as best as they could. Barnaby distracted them as often as he could.

Quite a process, but nowhere near as unpleasant or messy as you’d believe reading most of the accounts I found on the blogs around the ‘net.

The boys were rather upset about the killing, Tallis more than Luca. Luca was contemplative mostly. A bit sad and quiet, but mostly seemed ok with it. They went through grieving the birds’ death really fast, though. Tallis was inside with Andi and Luca for a while, crying really hard. I went in before we did number four (the last) and asked if he wanted to be there for that one and he did. From then on he was in engaged, interested and involved. Andi gave him her camera to work with and had him document and much as he could. That helped a lot, I think. He was solemn – so was Luca and the rest of us, for that mater – but he was upset anymore.

I took a hit to the heart too, actually. This was my first killing of really anything except fish. And road-kill. I was there when each of my two dogs were put down, but I wasn’t doing it myself, you know? So, this grief was wan and shallow and came on stealthily. When it was all done and the carcasses were icing down, I noticed I felt down and grey and letharigic. Took a few hours of sunshine and calmness to come around fully. I expect next time it’ll be a lot easier.

The best help I found on the web is Chicken Processing by Kimberly Bobrow, at her family blog. Her detailed narrative from the perspective of a first-time chicken processor was right on the money. Our experience followed theirs nearly identically, though I didn’t find the plucking or disembowling as difficult or unpleasent as Kimberly reports they did.

We were careful to measure the scalding temperature (140F/60C) and did the scalding for 75 seconds – or as close to that as we could. We found the first and fourth birds easiest to pluck – for both of them, the water was 140F/60C. We numbers one, two and three right together. For numbers two and three, the water cooled slightly, about five degrees F for each bird, to 135F and 130F. And it made a difference. I had a tough time getting the wing feathers out of number three. We let the water heat up again for number four and again, the plucking was easy.

So, the scalding process is important. Most of our time we spend on plucking and if we’d hosed the scalding it would have taken a *lot* longer.

Sharp knives are also very important. So much so that I even stopped to hone one of mine while I was working and found it’d gotten dulled. The first leg I cut off I did wrong and hacked around the bone quite a bit before I figured it out. Soft steel, hard bone, dull knife….

What else? Oh yes, cut the neck out before you try to remove the entrails! Wow. That would have been a lot easier. As I did it, I had two hands buried in the bird each time, trying to cut the off esophagus, just below the neck from inside. Paring knife in one hand, the other wrapped around the guts, fishing for the stringy bits up top. Had to move very slowly and carefully. Still sliced my hands a few times.

So, do the neck bit first. Then cut around the vent (anus) and remove the entrails. And don’t forget the oil gland in the tail.

The gall bladder is delicate. More delicate than you’d expect after you learn how tough everything else is. Just be carefull when you’re seperating it from the liver. Best do that in a large pan so if you spill it, the bile won’t contaminate your table and get all over the meat.

For now, suffice it to say it was a bit unsettling for all of us and about as messy as cleaning a mess of fish. Smells about the same, too. OK, not so fishy, you know, but the guts and stuff smelled the same. Hmmm… so did the horse, come to think of it. I guess everything smells that way when it’s dead and gutted.

Turns out, by the way, that packing tape alone makes a fine killing cone. Don’t even need plastic bags or anything – just wrap the tape around their bodies, pinning their wings down. I tried a bag with the first bird and she just blew out of it like a rocket. I realized that, hey, when it’s time to take this tape off, she’ll be dead. So we just taped her wings down and that worked great. Tape came right off afterwards, too.

We have lots of pictures and when I remember to suck them off the camera, I’ll post some here with some more narrative of the process.

Menu-drive changes to PAM with authconfig.

Authconfig may not be in all distributions. I found it today in RedHat Enterprise Linux 4.0 Application Server (rhel4as) and it was helpful enough that I want to share it here.

I know a bit about how PAM based authentication works but when I looked at /etc/pam.d I found it’s way different in RHEL 4 AS than it is in Ubuntu and openSUSE. In /etc/pam.d/{something} I found a note saying not to edit the file because authconfig would overwrite any changes I made. The authconfig man page is hoary, but here’s what you need to know:

  • authconfig is a curses menu program that offers checkboxes and forms to guide you through setting up various authentication methods.
  • Use “authconfig –test” to play arround – it will pretend to be doing at real reconfiguration but won’t change anything. You can use it to see what you’ll need to know to configure, say, LDAP-base auth.
  • Plain authconfig will bring up the menu in live mode.
  • There are command-line switched to do everything you can in the menu – use those for scripted changes.

That’s it. Enjoy.