Things

June and July Photos

Tagged:  •    •    •    •  

Look! Only two months worth of photos this time; I'm getting better!

Here's some things, events and pictures of Jocelyn:

http://www.silfreed.net/gallery/v/things/New+Fridge+and+Playground/
http://www.silfreed.net/gallery/v/trips/Raystown+2008/Logan+and+Jocelyn+...
http://www.silfreed.net/gallery/v/trips/Raystown+2008/Tiffany+and+Jocely...
http://www.silfreed.net/gallery/v/events/Dads+Birthday+2008/
http://www.silfreed.net/gallery/v/events/4th+of+July+2008/
http://www.silfreed.net/gallery/v/events/Ella+Jones+2nd+Birthday/
http://www.silfreed.net/gallery/v/life/Family-Photos/Baby2/Tiffany+at+30...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Jocelyn+on+...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Bubble+Bear...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/First+Facep...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Lounging+on...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Enjoying+Gr...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Caged/
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Eating+pop-...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Computing+a...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Jocelyn+Swi...

Here's my OSCON trip so far:
http://www.silfreed.net/gallery/v/events/OSCON+2008/Day+0+-+20080722/
http://www.silfreed.net/gallery/v/events/OSCON+2008/Day+1+-+20080723/
http://www.silfreed.net/gallery/v/events/OSCON+2008/Day+2+-+20080724/

MediaIndexer project setup

Tagged:  •    •    •  

I was able to setup the MediaIndexer (working project name) website and repository tonight so Brady and I have a place to coordinate. Trac + Mercurial was really pretty easy to setup; and I've had the sources in Mercurial for a week or so already (made it nice for copying code around between my computers and tracking changes).

Our goals are pretty ambitious; develop a media indexer that can detect when files go bad and synchronize/backup those files between friends.

Already Brady has some scripts thrown together that accomplish a lot of identification of files which we can then use to create rsync commands to try to pull his damaged files back from my server.

Longer term we'd like to try to create an architecture where friends can have their files indexed locally but search other friends' files for better versions, versions with less errors, or recover their own files with problems if they were synced from the same source.

sshing to multiple ports at the same host without warnings

Tagged:  •    •    •  

I ran into an article that addresses a long-standing problem I've had with OpenSSH's known_hosts file; it doesn't store the port for a host so you can't ssh to different ports behind a router without getting warnings about fingerprint mismatches. The article descries how to access multiple machines at the same host. Below is my workflow.

$ ssh host.example.com

Here I accept the fingerprint. This saves into my standard .ssh/known_hosts file. I logout of the server and ssh back with a new port and temporary known_hosts file.

$ ssh -o "UserKnownHostsFile kh2" host.example.com -p 2222

I get a different new fingerprint prompt and also accept it. I logout of the server then copy this fingerprint to my existing known_hosts file:

$ cat kh2 >> .ssh/known_hosts && rm kh2

I can now ssh to the same host with different ports without warnings about man-in-the-middle attacks.

$ ssh host.example.com
$ ssh host.example.com -p 2222

Version controlling my home dir

Tagged:  •    •    •    •    •  

For awhile now I've noticed that things in my home dir aren't setup optimally for my work flow. I've been trying to run with SELinux enabled and I run into development problems when I try to run web applications out of my home directory. Various parts of my home directory are version controlled separately due to the software projects they're part of, but not as a whole.

What I'd like is to setup some other place for "projects" (Mozdev code and docs, other software projects, RPM building, etc) and then version control my home dir.

The problem is I'm not sure how much this helps me. Things like IM clients still are going to want to log things to ~/.somedir/log which is evil. SELinux contexts for files in /home/myprojects is still going to be wrong; I'm not going to be able to run webapps out of there, either. Moving my docs out of my home dir might be a pain due to xdg-user-dirs needing to be setup correctly to point at the document dir

I'd really love to have a lean, mean homedir that is version controlled that I can port around between boxes. Have people attempted this before? What about the above problems?

6 months of photos

Tagged:  •    •    •    •    •  

Our recent trip to Lake Raystown:
http://www.silfreed.net/gallery/v/trips/Raystown+2008/

Events:
http://www.silfreed.net/gallery/v/events/Jocelyns+1st+Birthday+Party/
http://www.silfreed.net/gallery/v/events/Dougs+28th+Birthday+Party+at+Sh...
http://www.silfreed.net/gallery/v/events/Easter+Egg+Hunt+at+South+Newton...
http://www.silfreed.net/gallery/v/events/Easter+Presents+at+Warners/
http://www.silfreed.net/gallery/v/events/Swimming+Lessons+with+Mom/
http://www.silfreed.net/gallery/v/events/Pre-Fathers+Day/
http://www.silfreed.net/gallery/v/events/Summertime+Playing+at+Warners/
http://www.silfreed.net/gallery/v/events/Swimming+at+Parents/
http://www.silfreed.net/gallery/v/events/2008+LAN+Party+at+Bitleap/

Hikes:
http://www.silfreed.net/gallery/v/outdoor/Appalatian+Trail+Pivot+Rock/

Things:
http://www.silfreed.net/gallery/v/things/motorized/Deer+Attacks+WRX/
http://www.silfreed.net/gallery/v/things/Argo-3+Dell+sc1425/
http://www.silfreed.net/gallery/v/things/Dads+Truck+Wheel+Hub+Cover/

Children:
http://www.silfreed.net/gallery/v/life/Pets/Sage+and+Tycho+snuggling+on+...
http://www.silfreed.net/gallery/v/life/Family-Photos/Baby2/Baby+2+W17/
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Easter+Dres...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Bra+on+Head...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/First+day+o...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Eggs+in+Shi...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Lacross/
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Naked+Hiney...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Shinguards+...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Sleeping+on...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Ella+Jones+...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Mom+Reading...
http://www.silfreed.net/gallery/v/life/Family-Photos/Jocelyn/Tiffany+and...

Open Discussion Day 2008

Tagged:  •    •    •    •  

Today's the day I said I'd be ditching AIM, so now I'm doing it. If you'd like to IM me, catch me on IRC or XMPP/Jabber.

Program your Logitech Harmony remote in linux

Tagged:  •    •    •  

Concordance has finally made it's way into Fedora!

I've been maintaining packages separately from Fedora for awhile now; the review has been there since October 2007! Unfortunately there were some legal concerns about the trademark over the name of the project ("harmony") originally, then when 0.20 was finally released with a new name the package required some work since the library was split off from the cli.

At any rate, if you need to program your remote from Fedora, all you need to do is:
yum install concordance

You can then login to the Logitech Harmony website and use the program to update your remote (even firmware on some models)!

This Modern Life

Tagged:

SpringLanParty2008

Tagged:  •    •  

Location Info

Saturday, May 17th 10:00am - ??
Bitleap
Murata Business Center
Directions/Map
Pictures

Games

  • Unreal Tournament 2004
  • Quake 3
  • Team Fortress 2
  • Counter Strike: Source
  • Warcraft 3 (media + maps available at event)
  • Worms World Party
  • Starcraft

Review

The event pretty much went off without a hitch. Lots of gaming to be had, and lots of fragging.

Attendance

Invited(19+)

Attending (16/25)

Waiting List (1+)

Attended (12)

Unable to attend (6)

Gear


CategoryEvents

Jocelyn the Vi user

Tagged:  •  

Jocelyn's definitely going to be a vi user; when she's done typing she immediately hits 'escape' and will pound 'escape' repeatedly when things aren't acting the way she thinks they should.

I don't like the new Runts

Tagged:  •  

I don't like the new runts.

They replaced the green (lime) and red (cherry) ones that used to be there with a new yellow (pineapple) and red (mango). Here's a look at the perpetrators:

After you remove them, this is all you're left with:

Orange, pink (strawberry), and yellow banana (which nobody ever liked). At least they got rid of blue (blueberry) at the same time.

Incremental compressed backups with perms and no root keys

Tagged:  •  

I've looked for incremental backups that don't require root before, but I finally found it. Similar to rdiff-backup is a program called duplicity. It uses tar, gpg, and the rsync algorithm to store encrypted differential backups.

duplicity needs to be scripted a little bit to automate the backups. I came up with a script that will backup certain directories fully once a week and incrementally the rest of the week. I also disabled the encryption since the transfer method is secure (ssh in my case) and the end server is trusted. If you were using Amazon's S3 service or a public FTP share you might want to tweak this a bit.

/etc/cron.d/backup

32 3 * * 1-7 root /usr/local/sbin/backup.sh cmd=full
32 3 * * 0 root /usr/local/sbin/backup.sh

/usr/local/sbin/backup.sh

#!/bin/bash

[ "$v" = "" ] && v="-v0 --no-print-statistics"
[ "$cmd" = "" ] && cmd=""
duplicity="duplicity"
opt="--no-encryption $v"
dest="scp://taonas@thor.home.silfreed.net"
maxage="1M"

dcmd_backup="$duplicity $cmd $opt"
dcmd_age="$duplicity remove-older-than $maxage $opt"

# backups
$dcmd_backup /etc $dest/etc
$dcmd_backup /var/log $dest/var-log
$dcmd_backup /home \
        --exclude /home/silfreed/tmp \
        --exclude /home/silfreed/src/silfreednet/tmp \
        --exclude /home/silfreed/src/workspace \
        --exclude /home/silfreed/src/mozdev/workspace \
        $dest/home

mysqldump_dir=/tmp/mysqldump
mkdir $mysqldump_dir &&
        chmod 700 $mysqldump_dir &&
        mysqldump -u root -A > $mysqldump_dir/mysqldump.sql &&
        $dcmd_backup $mysqldump_dir $dest/mysql
rm -rf $mysqldump_dir

# age out paths
for path in /etc /var-log /home /mysql; do
        $dcmd_age $dest$path
done

Mozdev status update for W7-2008

Tagged:  •  

This week I will spending some time ensuring our download system can handle FireFox updates (we had some problems handling the last FireFox 2.0.0.12 update), working on ideas for improving site navigation, and continuing on a download file registration system to be used by Project Owners for approving files and verifying uploads.

Dear Lazyweb: Garmin Forerunner 50 linux support

Tagged:  •    •    •  

I'm thinking about getting a Garmin Forerunner 50 but am concerned that the ANT USB thing won't work with Linux. I've seen a thread about ANT development drivers going into the kernel, but I haven't found any firsthand experiences. Anyone with any information about it? If it helps, the Garmin Forerunner 405 supposedly uses the same ANT technology.

Dell Latitude D630 ordered

Tagged:  •  

Yesterday I said I was looking at the D830 or the T61, but I had forgotten about the Dell Latitude D630 that I had looked at a couple times. After talking with Tiff about getting a new laptop and getting the okay, I finally went with the D630.

I think this will be a nice compromise of screen real estate and portability. I really like having the WSXGA+ screen, but the laptop is big. I think the WXGA+ resolution will be workable while on the road and when I'm at my desk I'll typically be hooked up to an external LCD anyway, so the drop in resolution shouldn't be as horrible as I thought it might be.

I guess we'll see if I made the right choice in a couple weeks.