Overlapping hobbies: computer technology and Ham radio – Ham Radio Now’s interview with TWiT

I probably have far too many hobbies 🙂 I’ve always been interested in radio communications, and I’ve decided recently I’m going to take the plunge and get my Technician ham radio license. I was just watching a past episode of Ham Radio Now where they went and toured Leo Laporte’s TWiT studios in Petaluma, and wow, holy cow, I had no idea how much was actually involved behind the scenes at the TWiT studios, my jaw was on the floor.

This is a fantastic behind the scenes look at what’s involved in producing the TWiT shows, well worth a watch (check out part 2) if you’re familiar with Leo’s shows or are just interested in what’s involved to produce an online video podcast based show: http://arvideonews.com/hrn/HRN_Episode_0032.html

Committing file deletes to Git

My normal git usage pattern is:

git add .
git commit -m "commit message"

and then when needed:

git push remotename master

The trouble with ‘git add .’ is that is doesn’t stage any deleted files for committing. You can see this if you do a ‘git status’ and you’ll see it list deleted files, but listed as not staged:

$git status
# On branch master
# Changes not staged for commit:
#  (use "git add/rm " to update what will be committed)
# deleted: ...

You’ll notice the comment mentions to use ‘git rm’ to delete files from the repo, but if you’ve deleted files locally, you can either do a ‘git rm filename’ for each of the locally deleted files, or more simply, do this to pick up all changed files for staging, including deletes:

git add -A

Configuring Ubuntu to access a wireless HP printer

hplip is an opensource project to support multiple HP printers on Linux. On Ubuntu 12.04 I already had this installed, but running ‘sudo hp-setup’ gave me this error:

kev@ubuntu:~$ sudo hp-setup

HP Linux Imaging and Printing System (ver. 3.12.2)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

warning: Qt/PyQt 4 initialization failed.
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.

A quick Google turned up this post, and installing hplip-gui installed the missing libraries and got me up and running.

sudo apt-get install hplip-gui

Starting up hp-setup again and following the wizard to point to the IP of my printer was all I needed to get my printer working.