This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

Paul's Time Sink

| Main | Albums |

Automatically launch X11

Paul Westbrook | 28 March, 2005 09:05

I just saw this tip in a comment for this hint on macosxhints.  By adding these lines to your .profile, your shell will automatically launch X11 when you start a shell, and you are not connected via ssh.

# if we're NOT ssh'd in
if [ ! ${SSH_TTY} ]; then
# make sure X is running
if [ "`ps -x | awk '{print $5}' | grep X11`" = "" ]; then
open /Applications/Utilities/X11.app &
# then refocus Terminal.app
osascript -e 'tell application "Terminal" to activate'
fi
# if DISPLAY isn't set
if [ x${DISPLAY} = x ]; then
export DISPLAY=:0
fi
fi

Backup strategy

Paul Westbrook | 27 March, 2005 13:22

After my hard drive failure, I think that I have come up with a backup strategy that I can keep up with.  On a regular bases, maybe once a week, I will back up my whole hard drive to an external firewire drive.  The external drive, is large enough so I can have a partition for every drive that I want to have backed up.  I will use Carbon Copy Cloner to just make a copy of each drive.

Then daily, I will use Apple's Backup to backup my home directory to my iDisk.  (This is all of my home directory, except for my Downloads and Movie folder).  I don't keep my iPhoto or my iTunes library in my home directory.

 (More)

i3 Mac car interface

Paul Westbrook | 27 March, 2005 12:55

1760989444476311Engadget has a post about i3's application that is supposed to make it easier to use a Mac in your car.  It is pretty much a launcher that can launch any other applications.  I think that this is a start, but is not the ideal.  Just launching iTunes is not ideal, especially since the iTunes interface is not great for a car application.

 (More)

geektools.com whois proxy

Paul Westbrook | 27 March, 2005 12:38

geektools.com has setup a whois proxy that makes it easy to get good results from whois queries.  So if you want to find out who is responsible for a domain or ip address you can use this proxy.

To use the geektools proxy, use the following command:

whois -h geektools.com 1.2.3.4

Or you can create an alias like

alias gwhois="whois -h geektools.com"


[Via macosxhints]

Verbose boot

Paul Westbrook | 27 March, 2005 12:24

Last week, I was trying to track down why my computer was so slow to boot (It turned out to be a failing hard drive).  Normally Mac OS X doesn't show you any feedback about what is going on during boot.  You can put Mac OS X into verbose boot mode by holding down the command and 'v' keys.  After doing this you will see all of the output that you should ever need.

[via Justin Blanton]

smtp proxy for sending mail

Paul Westbrook | 27 March, 2005 12:02

I have set up a server to scan all incoming mail, for viruses and spam, for my and some other people's domains.  This is running on an externally hosted VPS, and runs Maia Mailguard.  This works perfectly for all of my incoming mail

I wanted to also use this server to scan all of my outgoing mail as well, for two reasons:

  1. Help train the bayesian spam filter with the good messages that I send
  2. Potentially help reduce the risk of any of my machines being used to relay spam.

 (More)

unison

Paul Westbrook | 26 March, 2005 20:10

I have been using unison to synchronize files between my computers where the the files may change on any of the computers.  It is very similar to rsync, but it allows two way synchronization.

I use this to synchronize our iPhoto library between our two laptops.  From each laptop, I run unison to synchronize the iPhoto library to our linux sever (via ssh).  Since this is a two way synchronization, all of the laptops have access to the same iPhoto library.  (I generally do all additions to the iPhoto library on one of the laptops, so I don't have to deal with potential conflicts.)

 (More)

View ip address in GeekTool

Paul Westbrook | 26 March, 2005 12:41

In the course of reconstructing my computer from the bad hard drive, I needed to find all of the GeekTool scripts that I had been using.  The macosxhints hint describes a script that will display the local ip address as well as the public ip on the desktop.

XM installed in Honda Odyssey

Paul Westbrook | 23 March, 2005 20:44

XM Commander installed in sunglass holderToday, we had XM installed into out Honda Odyssey.  We deicded to go with the XM Commander, since we didn't want to change our head unit, and we wanted a small interface. One of my main goals of this will to have the van still look stock, and not make it look like there is a lot of aftermarket equipment installed.

The XM commander interface was installed into the sunglass holder, above the rear view mirror.  With this installation, when it is closed, noone would be able to tell if XM had been installed at all.

While the XM was being installed, I asked the stereo installers to move the sound output of the DVD player from FM modulation to line-in though the CD changer port.  (The FM modulatio that was installed with the DVD player appears to not be shielded well.  While driving near high voltage lines, a lot of static can be heard.

The XM commander is using its FM modulator, but I am not that concerned about this one.  I had an XM Commander installed in our Jetta, and there were no problems with interference.

 (More)

Hard drive failed

Paul Westbrook | 23 March, 2005 01:11

Yesterday the hard drive in my laptop failed.  I knew that it was coming, as my computer was making a lot of noise and would slow to a halt.  With hindsight being what it is, I know I should have taken care of the problem when the noise started happening.

Since I needed to get a new drive, I decided to get the largest one that I could.  I got a 100 GB drive for $179 at Fry's Electronics.  I spent a lot of time last night attempting to recover the data from the bad drive.  Since the drive was still readable, I was hoping that I would be able to copy all of the data off the drive onto the new one.
 (More)

$11 LCD Photo Frame

Paul Westbrook | 21 March, 2005 14:21

The MAKE blog has a post that has some pictures where someone made a $11 LCD photo frame. I hope this person posts some instructions on how to do this, as it sounds like a fun project.

Holes in GPS

Paul Westbrook | 21 March, 2005 13:39

This weekend we went to the Monterey Bay Aquarium. On the way home we noticed that for about half of the way we were not receiving any signal from the GPS satellites. The system was still able to plot a route, as well as keep track of the location of the car, since it has a gyroscopic system that works when the GPS signals are not received.

The strange thing about this, is that the signals appeared to stop when we were driving near Fort Ord. This is not strange in itself, but the same thing happened when driving though San Bernardino. Since both of these areas are near military bases, I wonder if there is something creating interference from these bases. (Maybe it is genetically enhanced monkeys)

This problem could be cause becuase it was raining both of these times. But rain is not supposed to affect GPS signals, at least according to this document.

Spam getting though

Paul Westbrook | 16 March, 2005 10:43

I have started seeing spam messages getting though my filter. It looks like it is being cause because the spammers a sending mail from computers that have not been listed as untrusted relays. So as spammer are taking over more and more zombie PCs, the ALL_TRUSTED rule is being triggered.

The ALL_TRUSTED rule decreases the spam score when it determines that the mail did not go through any "untrusted" computers.

I have found this page that suggests adjusting the score values for this rule. I adjusted the score for this rule by 2. So now the scores for ALL_TRUSTED look like:

score ALL_TRUSTED -0.400 -0.820 -0.867 -1.300

My First LeapPad vs Power Touch

Paul Westbrook | 15 March, 2005 19:58

B00005Bhk6.01. Sclzzzzzzz B000062Ts8.01.Pt01. Sclzzzzzzz

Our son just got a My First LeapPad as a gift. He also has a Power Touch reading system. Each of these are meant to teach kids while they play. For what they are meant to do, they have the same functionality, but each implementation has its own pros and cons.
 (More)

New TomTom GO

Paul Westbrook | 11 March, 2005 19:33

3622853427551507TomTom has announced their TomTom GO 700 Satellite Navigation unit. It has a couple of new features over their previous products (previous post). This version has Bluetooth and a hard drive.

Bluetooth allows you to use the TomTom GO 700 as a hands free speaker phone for your Bluetooth capable cell phone. Also you will be able to access your phone book on the TomTom's screen. Also with a Bluetooth cell phone, the TomTom GO 700 can connect to the internet to get real-time traffic information. (This competes with XM Radio's navigation data). The 2.5GB drive, allows you to store many more maps on the device than were possible on the compact flash card of the TomTom GO 300.

The TomTom web site does not list when this will be available, or how much it will cost.

 (More)

Powered by LifeType
Design by Book of Styles