Wednesday, November 29, 2006

Access a remote DAAP share by tunneling over SSH (Ubuntu/Edgy)

The mt-daapd wiki has a nice write up on how to access a remote DAAP (aka iTunes protocol) share by tunneling over SSH.

But the instructions are quite right for an Ubuntu/Edgy desktop. The short, short steps are:

$ ssh homeserver -N -f -L 192.168.118.33:6689:localhost:3689

Instead of using the default 3689 port, pick a high number. First of all it means you won't have to start the ssh tunnel as root and it won't confuse banshee which wants to use that port itself. Also you need to specify your local ip address (eg: 192.168.118.33)

$ avahi-publish-address -v -H UbuntuLaptop.local -s "my personal homeserver tunes" _daap._tcp. 6689 &

Avahi is not Apple based code, so there is no mDNSProxyResponderPosix command. The above line is the equivalent to "mDNSProxyResponderPosix 127.0.0.1 squeal "shareName" _daap._tcp. 3689 &"

$ banshee

To debug this, keep an eye on /var/log/mt-daapd.log on the system running mt-daapd.

It appears that Rhythmbox gets a little confused about trying to connect to localhost:6689. Now only banshee dies when closing.

Friday, November 3, 2006

NH -- DIRTY GOP TRICKS ALERT! URGENT: MISLEADING PHONE CALLS BEING REPORTED!

This was mentioned on this evening NHPR on the drive home tonight. There is the email from the NH Democratic Party:

We have received word that households are receiving numerous, misleading automated phone calls that sound as if they are coming from Paul Hodes when they in fact are NOT. These calls potentially violate New Hampshire election law and need to be stopped immediately.

We have seen it before from Republican operatives in New Hampshire. This is an example of a last minute desperate attempt by forces who are scrambling in the face of potential defeat on Tuesday.

If you receive any suspicious phone calls, please listen carefully and save the recording on your answering machines. Call Kathleen Strand at the New Hampshire Democratic Party at (603) 625-0010 or email office@nhdp.org.

Paid for and maintained by The New Hampshire Democratic Party (NHDP). Not
authorized by any candidate or candidates' committee. Contributions to the NHDP
are not tax-deductible for federal income tax purposes.

Thursday, October 26, 2006

Most exciting upgrade to Ubuntu/Edgy

This morning I had a free hour and this is how I upgraded my hp compaq nc6000 laptop from Ubuntu/Dapper to Ubuntu/Edgy. After updating /etc/apt/sources.list to point to the edgy repos...

sudo apt-get update && sudo apt-get -dy dist-upgrade && sudo apt-get dist-upgrade

Well there was a conflict between x11-common and xinit which both wanted to provide the man page XSession.5.gz.




11:45am Wendy calls me and says the school just called and Griffin is in a ambulance on the way to the hospital and to meet her there. He accidentally ate something that contained pineapple -- to which he has a severe allergic reactions to.

11:49 I'm on the road approaching the hospital and get a call on my cell phone. The woman says she is the school nurse and starts saying my son is having an allergic reaction. I interrupt her and say 'Yes, I just talked to my wife and I'll meet the ambulance at the hospital'. She says 'Well, your son is sitting here with me in my office.' Then we realize she is the school nurse from a different chool and is talking about Trevor who is having an allergic reaction! Trevor had his bee/wasp allergy shot earlier this morning and is reacting to that. Since he too was having difficulty breathing, he too is sent via ambulance to the ER.

12:05 -- Wendy and I both arrive at the ER before either of the kids do. Explain to the ER admitting person that yes both boys are ours, they are coming from different schools, with the same problem (allergic reaction, breathing difficulty), but different reasons (food allergy vs reaction to allergy desensitizing injection).

Long story short, after evaluation, some benedril and alburterol breathing treatments, we were sent home.


Around 3pm I worked through a few iterations of apt-get update, apt-get dist-upgrade, apt-get -f install, aptitude dist-upgrade, I have a fully upgraded from Ubuntu/Dapper to Ubuntu/Edgy.

There are a bunch of new, interesting packages to take a look out. The list is here: EdgyConfiguration

Now that was a stressful upgrade.

Tuesday, October 10, 2006

Converting Creative MuVo WAV to a 'real' WAV

I recently recorded an event using my little Creative MuVo TX FM mp3 player. It created a 22M WAV file of reasonable quality, but lame and audacity had problems converting it to an MP3 file.

The work around is to open the original wav file with audacity and then File->Export as WAV. The resulting wav file is about four times as large, but is in a usable format. From there use your favorite tools to create an OGG or MP3 file.

It appears the problem has to do with the way the MuVo encodes the wav:



VOC001-original.wav: RIFF (little-endian) data, WAVE audio, IMA ADPCM, mono 8000 Hz
VOC001-clean.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz