Click here to subscribe to the RSS Feed in your favorite feed reader
RSS Feed
 

Me

...now browsing by category

 

Happy birthday Matt!

Tuesday, April 6th, 2010

It’s a funny thing not having updated your blog for ages. On the couple of occasions in the last few months that I’ve actually had intentions of updating, I’ve read through my last couple posts and considered all the life that’s happened since then that I didn’t blog about. I would think, “if not then, why now?” and post my thought on Facebook or Twitter instead. And yet – here I am…

My son turns sixteen tomorrow. Forgive me for wallowing in cliched sentimentality, but it seems like yesterday that they let us go home with this red, wrinkled creature without supervision. It seems like yesterday that we laughed till we couldn’t breathe the first time he really laughed that kind of laugh that leaves you exhausted. It seems like yesterday that my wife got a little mad at me when I sat him upright in the shopping cart seat because she thought he was too little, and I didn’t. It seems like yesterday that I took him to see the first of the new Star Wars movies. It wasn’t all just yesterday. It’s been sixteen years. Holy crap.

Matt is smarter than me. I don’t feel bad because he’s smarter than most people I know, which still leaves lots of room for my ego. My wife and I used to tell new parents that among all the other blessings that come with parenthood, what a trip it was to hold a conversation with your kid as if you were talking to another adult. In hindsight, we may have thrown those people a little curve ball because we were enjoying such conversations with Matt much sooner than I’m sure most parents do.

Though there are occasions where a subtle expression or comment makes it known that he’s merely tolerating our nonsense, Matt’s humility and respect of us and other adults is remarkable. When experience and God-established authority trumps his own understanding, Matt says, “Yes sir.” When Matt is introduced to someone, he looks them in the eye and gives a firm handshake. He hugs his parents no matter who’s watching. He has always gotten straight A’s. He’s the funniest person I’ve ever known. He’s an incredible drummer. Matt’s appreciation of movies, food, music, and books has always been that of a person well beyond his years. I’ve watched him learn to do things in a fraction of the time it would take a normal person. Sometimes I don’t get him. Sometimes it’s like God pushed the rewind button on my life.

My wife and I have had some fun with him repeating a Homer Simpson quote for years. “When you’re eighteen you’re outta here!” It’s not funny anymore. College is still a couple years off. Even still, I have to choke back tears just thinking about it. That day will possess epic suck. I love him so much and miss him already.

This is my blog. It’s supposed to be about me. Trust me, it is. I want what most guys want. Among other things, I want to leave a legacy. I want an imprint of who I am to be left when I’m gone. If I got hit by a bus tomorrow and the world knew me through my sixteen-year-old son, I couldn’t be more blessed. Happy birthday Matt.

iPhone, iTunes, & Linux

Sunday, July 5th, 2009

I got the new iPhone 3Gs a couple weeks ago, and apparently like many other Linux users, wrestled with the best way to sync/backup my phone since iTunes only runs on Mac and Windows. I settled on running XP in a VirtualBox machine and running iTunes from there. Although many people are doing this successfully, I thought I’d share a couple hints to save some time for anyone looking to do the same.

First off, this is for Ubuntu 9.04…ymmv on other flavors and versions of Ubuntu.

If you have the open source edition (OSE) of VirtualBox installed, you’ll need to remove it and install the proprietary version. This is necessary for the USB pass-through. I’m using VirtualBox 2.2.24. If you’re using Ubuntu, you can do this through the Synaptic Package Manager or through the command:

jjones@dads-pc:~$ sudo apt-get install virtualbox-2.2

Install XP on the virtual machine. Update your service packs, etc and install iTunes. I disabled some services from automatically starting to keep the boot-up relatively quick. I also used VirtualBox’s shared folders feature to keep all my music in Linux and share it with the VM. I just mapped a network drive in XP and imported that folder into my iTunes library. Next, make sure you have USB enabled. Go to Settings->USB.

usb

You’ll also want to setup a USB filter to have the iPhone passed through to the virtual machine. With the iPhone plugged in, click the button to add a new filter and choose the iPhone.

Once you get this up and running, you’ll find that plugging your iPhone in will cause Ubuntu to mount it as a camera. XP may or may not see it too. But iTunes won’t see it until until you unmount the iPhone camera in Ubuntu. It would be good at this point to make sure that’s the case. I came across a great post on the Ubuntu forums that gave a slick way to supress the automounting of the iPhone as a camera without turning off automounting of removal media altogether. It involves creating a HAL policy to ignore when the iPhone is detected. the HAL daemon actually sees two devices when the phone is plugged in. We need to grab the IDs of both. You can do this by grepping through the output of the command:

jjones@dads-pc:~$ sudo hal-device

We’ll use the values for each ‘info.udi’. Here’s a little snippet that should grab what we need:

jjones@dads-pc:~$ hal-device | grep Apple -A 36 | grep info.udi
info.udi = '/org/freedesktop/Hal/devices/usb_device_5ac_1294_bcc2f6da7f53acb1b65d03d87c7bf1ac0748faeb' (string)
info.udi = '/org/freedesktop/Hal/devices/net_00_50_56_c0_00_08' (string)

Next, create a file like /etc/hal/fdi/policy/10-noiphone.fdi (”noiphone” is arbitrary…you can name it whatever you like) with the following:

<?xml version="1.0" encoding="UTF-8"?>

<deviceinfo version="0.2">
  <device>
    <match key="info.udi" string="$info.udi1">
       <merge key="info.ignore" type="bool">true</merge>

    </match>
  </device>
  <device>
    <match key="info.udi" string="$info.udi2">
       <merge key="info.ignore" type="bool">true</merge>

    </match>
  </device>
</deviceinfo>
  • where $info.udi1 = first info.udi value from hal-device search
  • where $info.udi2 = second info.udi value from hal-device search

I needed to reboot to see this take effect. But afterwards, you should be able to plug in your iPhone without it being mounted in Ubuntu as a camera. If you have USB enabled and a filter set up, XP and iTunes should have no trouble detecting the phone.

If you’re like me and intend to use the XP virtual machine for iTunes only, here’s a way to have your virtual XP loaded automatically when the iPhone is attached and unloaded when removed. Here’s how:

Get the id of the virtual machine running XP:

jjones@dads-pc:~$ VBoxManage list vms

Create the following two scripts substituting my vm id and other info with your own:

/usr/local/bin/iphone_attach.sh

#!/bin/bash
export XAUTHORITY=/home/jjones/.Xauthority
export DISPLAY=:0.0
su jjones -c "/usr/bin/VBoxManage startvm 376e6b19-1602-4e73-bc7e-7248c49be9a3" >> /var/log/iphone.log

/usr/local/bin/iphone_remove.sh

#!/bin/bash
export XAUTHORITY=/home/jjones/.Xauthority
export DISPLAY=:0.0
su jjones -c "/usr/bin/VBoxManage controlvm 376e6b19-1602-4e73-bc7e-7248c49be9a3 acpipowerbutton" >> /var/log/iphone.log

Set the executable bit on these scripts:
jjones@dads-pc:~$ sudo chmod +x /usr/local/bin/iphone_*

With the iPhone unplugged, run the following command:

jjones@dads-pc:~$ sudo udevadm monitor --environment

Plug in the iPhone and take note of the output of udevadm. We’re looking for line similar to:

PRODUCT=5ac/1294/1

Lastly, create the file:
/etc/udev/rules.d/98-iphone.rules

SUBSYSTEM=="usb", ENV{PRODUCT}=="5ac/1294/1", ACTION=="add", RUN+="/usr/local/bin/iphone_attach.sh"
SUBSYSTEM=="usb", ENV{PRODUCT}=="5ac/1294/1", ACTION=="remove", RUN+="/usr/local/bin/iphone_remove.sh"

Again, substitute the appropriate values for your own stuff.

Now when you plug in your iPhone, your VirtualBox XP machine should load automatically and autorun iTunes when booted up. When you remove the iPhone, XP detects an ACPI shutdown and closes. Enjoy!

Should I stay or should I go?

Tuesday, January 20th, 2009

I originally put up this blog (which will also show on facebook) to chronicle my progress through PRK recovery. Before I had the surgery, I found other recovery blogs very helpful. Since then, It's been kinda nice to have a place to sound off about whatever or share what's going on with me. But I've found since opening a facebook account, my desire for occasional catharsis is largely satisfied by FB status updates and posting pics, etc. I'm considering what place this blog has now.

If you have a blog and have made a similar consideration, or if your time is so invaluable that you've actually taken the time to read my increasingly rare posts, let me know what you think.

New ink

Monday, July 7th, 2008

After two years of being unsatisfied with the cross designs for tattoos we had seen, the Mrs. and I got some new ink over the weekend. Hers is a simple cross with script-style lines on the back of her neck./ I love it!

Mine is based on another design I found with lots of swirly, ornate stuff in the middle. I worked with the artist to have a triquetra in the middle replace the swirly stuff. I'm stoked with how that came out.
/
I wanted the sharp bottom of the cross to appear to just pierce the skin. The artist took a little license with that idea and "opened the wound" a bit. I suppose that if you're gonna say something with a tattoo, say it! I'm ok with it. The scripture verses are Isaiah 53:5 and 2 Corinthians 12:7-10.

Take two – week 2

Friday, February 1st, 2008

Just a quick update on my progress. The eye is coming along slowly, which is what it's supposed to do I guess. I saw Dr. M on Tuesday and she noted some progress and decrease in the haze from a week before. I need to remind myself to put tears in because my eye feels great. I really haven't felt any dryness or irritation since day four or so. I would put my vision in that eye at about what it was before surgery. So it's still a little blurry…little ghosting. But I've gotten so used to "monovision" that, most of the time it's not that noticeable.

Here we go again

Saturday, January 19th, 2008

I had my "enhancement" PRK procedure on my left eye yesterday. I expect the recovery to be even easier than the last time now that the element of uncertainty is all but gone. It's been 24 hours and I'm feeling pretty good. It's much better recovering with one good eye. So much so that if I had to do it all over again, I'd probably go one eye at a time. I drove to Dr. T's office this morning for the post-op checkup and  all looks good. Dr. said that I'm healing very quickly and thought that's probably why I reverted in the first place.

I should be getting the bandage contact off next Tue. If the recovery goes the same as last time, I'll have some severe light sensitivity on Monday. That was probably the worst of the experience first time around. I have an eye patch to wear if it gets bad and am completely prepared for the pirate jokes. I'll post again in a couple days.

All I want for Christmas is 20/20

Monday, December 24th, 2007

It's been a while since I've posted a recovery update, pretty much because I had to wait so long for the next step. In a nutshell, my left eye never really came around better than 20/50 vision. I saw Dr. T a couple months ago and he said if it didn't get better by December, he would do a touchup. Here we are…almost Christmas and it still isn't better. So I had to consider the whole monovision thing again. If I left well enough alone, I probably wouldn't need reading glasses later because of the nearsightedness in my left eye. But I've decided, again, to go under the laser and get this eye "dialed in" as Dr. T puts it. I'll be going in for pre-op on Wed and the surgery on Jan. 18th. Stay tuned!

Merry Christmas!

Into the fire

Tuesday, October 30th, 2007

Wow it's been a long time since I've updated. I have so many projects going on that even when I'm watching TV with the PC in front of me for that "hour-of-no-obligation", I still find myself working. I suppose that's good in a way.

I'm currently in Ontario, Ca on business. This is smack in the middle of the California wildfires. Thankfully a few days ago the wind died down and they were able to get a grip on the situation. So I've not even seen a puff of smoke or any evidence of big fires.

This place is beautiful. It's amazing how flat it is in town while in full view of the mountains. It's almost like a bulldozer with a scoop 10 miles wide and driven by the Iron Giant was used to grade the valleys while leaving big piles of dirt at the job site.

After all this time without posting, I hope you weren't expecting a point to this post. I just had some time (I got up at 4:30 am PST). Okay…here's a point. One of the perks of traveling to the west coast from the east is you get up and shower before anyone else does, and the water pressure is awesome!

Week six

Wednesday, August 8th, 2007

I saw Dr. M yesterday for my six week checkup. Everything is looking ok. My left eye is still improving very slowly. The prescription is a little better than three weeks ago and the haziness is subsiding. My right eye is great. I think with a little help of adjusting to the monovision thing, I tested 20/20 with both eyes open. I can legally get my license changed now.

I'll be able to stop the steroid drops in another two weeks and I go back for a checkup in another 6 weeks, which will be the three month mark.

Somewhere in the last week I stopped reaching for my glasses in the morning.

Wimpy Church Guys

Monday, July 30th, 2007

I don't think I'm ready to step in for Billy Graham just yet, but I preached yesterday! I read a great book called "Wild at Heart" by John Eldridge (Don't be fooled by the Harlequin novel title). I recommended that my pastor do a sermon on the thesis of the book, which is about how our culture is wussifying men in and out of church. She liked the idea but thought I should write and deliver the message. So I did. Here's the audio.