Archive

Archive for the ‘Apple’ Category

The obligatory retrospective

December 31st, 2009

A lot can change in ten years. Since it seems to be such the in thing, here’s my assessment of what difference ten years can make.

What Then Now
Computer

(my work computer)

Connection 56Kbps 20Mbps (366x faster)
Company

Position Systems Administrator Manager, Information Technology
Me
Becky
Kaelyn
Brian

Apple, Family, Geek, Macintosh, Work

Is it a commute or a video game?

November 7th, 2009

I saw a review of Waze in a blog post by The Unofficial Apple Weblog and while they were a bit cool on it as a navigation app, it is free and has an interesting take. I picked up a Kingston windshield mount which replaced where I had my GPS so am in the market for a GPS app for my iPhone. The reality is, however, that in spite of my frequent time in my car, it’s really just to and from work (all 500+ miles per week). Obviously, I know how to get to work so I can’t justify a significant expense. Since Waze is free, it was a clear choice to give a spin.

The program uses a map that is fed over the phone’s data connection and is community driven. Anytime you drive on a road that hasn’t been traversed before, you “munch” dots much like Pac Man which verifies the geometry and your speed and is uploaded to their servers which is then fed back to others as traffic information for routing alternatives. You can also point out specific traffic problems, speed traps, or even just “chit chat” which can be viewed by other users. As you munch roads, provide updates, or just confirm traffic, you get points and your points determine your ranking. I never thought that driving around would count for anything.

The website allows you to view your routes or edit the dynamic map (presented much like Google’s) to add new roads and update other aspects (house numbers, name, road connections, etc.).

The downside, is that currently the maps have some trouble with accuracy but that presumably will improve as more users use it and especially if they update it from the website. The navigation app is a little rough as well with its presentation but that’ll hopefully improve as well.

It’s a decent little app and a creative service. Back to road munching. I wonder how many points are needed for an extra life?

Apple, Links, Thoughts, Work

I’m Still Alive

April 14th, 2009

I know this is the Occasional Blog, but posts have been too far in between (the Twitter posts don’t count). Please forgive me. I’m not dead, just busy. For the sake of an update here are some highlights of the last several weeks.

  • I’m trying to find a Senior Systems Administrator at work (you’d think that Sony Playstation would have stacks of resumés)
  • My daughter turned twelve and after today’s haircut, she looks ready for high school
  • The pond got its spring cleaning a few weeks ago and looks abfab. Too bad the heron got all our koi and we’re left with only 4-5″ feeders
  • We took a family vacation to San Francisco to coincide with spring break and a business meeting
  • The MacBook Mini is working out quite well especially after adding 2G of RAM and an 8G SDHC card
  • I will be going to both E3 (definite) and WWDC (very likely) so June will be busy as well

I’ll do my best to do an actual post soon, but until I can find a candidate, things will still be busy.

Apple, Family, Geek, Links, Thoughts, Tweets, Work

A new toy for my birthday

March 1st, 2009

If you follow me on Twitter or read my previous Twitter posts, you saw that yesterday we decided that we could afford to buy a Dell Mini 9 for my birthday. I’m kinda excited as I’ve been wanting a netbook for a bit and the Dell is able to run OS X with no significant compromises (aka Hacintosh). Since I think it will be a bit before Apple decides to play in the netbook arena (if ever) and, if they do, will not be likely targeting sub-$400, this will be the best way to get a mini Mac laptop on the cheap.

Of course, the challenge of getting OS X running will be fun in-and-of-itself. Will it be the perfect laptop? No. I know the screen is small, keyboard cramped, and the processor is on the modest side, but I will be able to carry it almost anywhere and will have a full browser, mail, and programs with me. With the SSD disk, it should be silent, too, which is nice.

I’ll be ordering it tomorrow morning and while it won’t make it in time for my 40th birthday on Wednesday, it will hopefully be in before too long. I’ll let you know how it goes and what the experience is like.

Apple, Geek, Links, Macintosh

A little playing around

February 1st, 2009

As I mentioned in a previous post, a few colleagues at work have several of the ever more popular netbooks. One of the guys has been opting to use his personal one and leaving his work one sitting largely idle. He was kind enough to let me take his Acer Aspire One for a spin. At the same time, I’ve been taking a look at the recently released Windows 7 beta. This post is a mini review of both.

Acer Aspire One

First, the Apire One is certainly a cute system but it’s not without its faults. The screen is 8.9″ and 1024×600. It’s enough to get work done, but you don’t realize how spoiled you get with screen real estate until you don’t have it. The one I’m borrowing has a 6 cell battery (rather than the standard 3 cell) which gives it about 4-5 hours of use which is quite nice.

Acer Trackpad

For the Acer itself, I really dislike the fact the trackpad buttons are on the left and right rather than below which makes it awkward to use. Also, due to the smaller form-factor, my palms hang off the side which causes the case edge to dig into them. Of course, if I wasn’t quite so lazy it wouldn’t be a problem.

I’m watching the upcoming 10″ Aspire which has a normal trackpad but with all the other features. I’ll be keeping my eye on it and may look to get one for myself. As solid-state disk (SSD) gets cheaper, the idea of a 64-128G flash drive instead of 2.5″ disk is attractive as the drive on the Apsire is just noisy enough to be noticeable (though not bothersome).

Windows 7

If you know me or have read this site, you know that I’m a Mac guy. I’ve used Macs since 1986 and while I have access to just about any type of system in use, if I’m trying to get something done, I use a Mac.

I do use Windows every day and have since Windows 3.1. Microsoft has done some good things and some bad things. I’ve been using Windows Vista for a bit now and have been underwhelmed but I do think it isn’t quite as bad as the general public perception.

Windows 7 Screenshot

Windows 7 was released as a public beta a few weeks ago and I first created a VM on my MacBook and most recently installed it on the Acer. I can honestly say, for Windows, it is a nice operating system. Netbooks are, by design, lower end systems. As operating systems evolve, they generally require more and more resources. Vista’s requirements have been a source of complaint and at least one lawsuit. Windows 7, as I’ve seen, is far more efficient and runs quite nicely on the little bugger. It’s taken some effort to find proper drivers for things like wireless, touchpad, and video, but even stock, the system was usable.

Having a system you can simply cary around makes keeping a computer handy easy. Of course, I personally hope that Apple jumps into the game, but I’m not holding my breath.

Apple, Friends, Geek, Links, Thoughts, Work

My phone is happy (and so am I)

January 20th, 2009

I picked up a Xtand by Just Mobile to use with my iPhone at work. I previously was using a modified Coke can made by a friend of mine but that wouldn’t allow me to stand the phone vertically while using the audio cable (which comes out the bottom).

This new stand is quite nice. Not only does it match the general Apple aesthetic, it swivels to allow the phone to be displayed both portrait and landscape. Now, I can use my phone as a little digital picture frame while I work.

The other plusses are the fact the rubber corners can be removed to allow my phone to sit nicely while still in its silicon case and the best (and unexpected) of all is the fact it resolve the GSM noise problem I have been trying to eliminate for months.

Since I am done with travels for a bit, I am now all set for spending far too much time at my desk. I guess that’s good?

Apple, Links, Work

Sometimes the truth hurts

January 15th, 2009

From xkcd. This is cute, but I fear it might be more true than I’m willing to admit.

Apple, Geek, Links, Thoughts

But they’re so cute!

January 1st, 2009

I’ve been following the recent development of the new “Netbook” laptop category. It was started with ASUS and their EeePC but there have been many other entries by Dell, Acer, and others. Two of my colleagues at work got the Acer and like them and my brief look at a selection at Circuit City has sold me on the concept. A modestly-powered system (1.6 GHz CPU and 512M to 1G RAM) with a small screen (7-10″) but in a small and affordable package makes a very attractive option for things like web browsing and email.

I am quite hopeful Apple releases one at Macworld Expo next week, but I’m not holding my breath. While I think they would clean up with a $400-500 “MacBook Mini” I can’t help but think they are scared of what that might do to their bottom line.

Apple, Geek, Links, Thoughts

I learned all about Time (Machine) so you don’t have to

August 23rd, 2008

I’ve been learning a lot about the Time Machine feature of Apple’s OS X 10.5 (Leopard) and wanted to take the time to share my experience. In a nutshell, Time Machine watches the files that get modified on your system and copies them to a secondary hard drive or network volume so that you have automatic backups available for anything that was deleted or modified.

It is a very nice user experience and it takes a lot of the work out of making backups. Of course, by taking work out Apple is really just making decisions for the majority of users and for most users, that decision is quite acceptable. I’m not most users. Fortunately, Apple directly or indirectly provides methods for changing the behavior of much of the OS and Time Machine is no exception. Here are many of the things that I’ve gathered over the last few months that might benefit you if you want to get more out of your experience.

Overview

I won’t go into too much detail as I’m going to presume you’ve already used Time Machine and are familiar with how it works. Generally, it performs a backup of your system every hour to an external drive. It is efficient in that only the modified files are copied. Hourly copies are kept for for 24 hours, daily copies for a month, and weekly copies until the destination drive fills up. You are free to put other data on that Time Machine disk, but it will eventually consume all available space.

Space is pretty efficiently used in that a file is copied only if it has changed but ineffecient in that a small change to a large file results in the entire file being backed up again. This can be a problem if the file really is big and changes frequently. This is the case with the virtual hard disk used for a virtual machine under VMware Fusion or Parallels Desktop.

Backing-up to a network volume

Any self-respecting geek has more than one computer in his or her home. Often times, you are using a laptop and have a dedicated computer with more storage sitting by your TV or in the den, closet, or garage. Unfortunately, while Time Machine can back up to a network volume, by default it only supports a specially presented volume served via Apple’s network filling protocol (AFP) from Leopard Server. You can back up to other choices (e.g., Windows or Linux) via Microsoft’s filing protocol (CIFS). To do this, you first need to have a native Apple file system to copy the data to.

Creating a sparseimage

OS X has supported disk images since the beginning but has recently added a format called sparseimage that starts small but grows as more data is added to it. To use a network volume, you first need to create the image that your machine will be storing the actual data in. Type the following on a mac creating the disk on a local hard drive first:

hdiutil create -library SPUD -size $SIZESPEC -fs HFS+J -type SPARSEBUNDLE \
-tgtimagekey sparse-band-size=262144 -volname "Backup of $MACHINENAME" \
$MACHINENAME_$MAC.sparsebundle

Here are explanations on the options that you’ll want to change:

$SIZESPEC – the size of the virtual disk when filled. A good choice is twice the size of what you’re backing up.

$MACHINENAME – The name of your machine

$MAC – The network address of the primary network interface without separators (e.g., aabbccddeeff0011). You can get this from System Profiler or Network Utility.

For education purposes, here is some explanation of some of the other items:

-fs HFS+J – make the filesystem HFS+ with Journaling (the default OS X filesystem)

sparse-band-size – the size of the ‘chunks’ that make up the sparseimage (they aren’t just one single file). Normally, the images are made in 8M chunks but those perform quite poorly over the network. The value provided above represents 128M chunks (2 * 128 * 1024 512-Byte-Blocks = 262144 = 128MB) which is a good size for a hard disk backup.

Copying the image to to the network volume is as simple as dragging the sparseimage file via the Finder or do it in the terminal:

cp -r $MACHINENAME_$MAC.sparsebundle /Volumes/path/to/destination

The last part is to tell the system to allow any network volume as a destination and not just AFP:

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

Using just part of a drive

For some reasons you’ll see below, I wanted to limit the usage of the destination drive local to the system. Normally, Time Machine will use all the space of an external drive chosen as the destination. If you are storing other information on it, that can become a problem. The solution is to convert the physical Time Machine destination volume into a disk image.

The first step is to create a disk image with the same information above. Next, mount the newly created disk image:

hdiutil mount /path/to/created/imagefile

You can also mount it simply by double-clicking on the disk image file. You’ll then copy the contents of the current Time Machine volume to the created disk image. Note, it is best to ensure Time Machine is disabled as you don’t want anything changing as you are copying it:

sudo asr restore --source /Volumes/srcvol --target /Volumes/Backup\ of\ $MACHINENAME

asr is Apple’s System Restore utility and it performs copy between volumes but ensures that everything is copied properly. You need the sudo portion to have the command be able to access every file which may not be the case if run just as yourself.

Of course, this copy can take some time depending on the speed of your system but mostly due to the size of the data being copied.

Once completed, you can unmount the disk image and configure Time Machine to use the disk that the disk image is stored on. Time Machine is smart enough to use the image if it sees it (the file has to be at the top-level of the destination hard drive).

Trigger a Time Machine backup from the command-line

If you ever want to trigger a Time Machine backup on a system from the command-line, perhaps on a remote system via ssh, issue the following command:

/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper -auto

Exclude an individual file from being backed up

You can exclude files from being backed up (like previously mentioned virtual disks) using the GUI in the Time Machine preferences (under Options), but it can also be done using the extended attributes in the command-line:

xattr -w com.apple.metadata com_apple_backup_excludeItem /path/to/file/to/exclude

Similarly, you can see if a file is being excluded but listing the extended attributes:

xattr -l /path/to/file/in/question

Hide the Time Machine disk in the Finder

If you aren’t getting all fancy and writting to a disk image, you may want to hide the destiation disk. You can do that just by making the volume invisible:

SetFile -a V /path/to/Time/Machine/Volume

Conclusion

I hope this has been helpful to you and that with the information are able to make a useful tool even more useful. To give credit where credit is due, I’ve included below the links to where much of the information was originally found.

Update

20090527 I’ve revised the sparse-band-size value from 1G to 128M which is the largest band currently support in 10.5.7. Files with larger band files cannot be mounted in 10.5.7. Once I determine the correct procedure for converting an old image, I’ll post a new article. In the meantime, you can get more information here.

Reference

10.5: Set up Time Machine on a NAS in three easy steps

10.5: Improve networked Time Machine performance

Man page for hdiutil

Man page for asr

Exclude Items From Time Machine Backup With Contextual Menu

Time Machine Exposed!

Hide Time Machine’s icon in the Finder

Apple, Geek, Links

Radio is dead to me

July 26th, 2008

I listened to morning radio since high school. In fact, I listened to Jeff & Jer since they first started at B-100 in 1988 and followed them through their many station jumps.

As I got more into listening to podcasts, I would mostly have them on when I was at work. With work getting quite busy and stressful this past January, I realized that I was more productive when I turned them off as I felt I had this weird obligation to wait until a commercial break to do something not at my desk (I didn’t want to miss anything, you know). So, around February, I unceremoniously turned the radio off and haven’t turned it back on since.

Another reason radio is dead is my iPhone. Of course, I’ve had an iPod for years and have listened to my own music, podcasts, and Audible books. Having all of that content with me at all times on my phone is quite liberating. I can listen to whatever I want whenever I want.

With the release of the 2.0 software for iPhone and the support for 3rd party software, one of the applications I’ve been really enjoying is Pandora. The service (which is also available in a browser at their website) let’s you create a “radio station” based on a song or artist you identify. From then on songs are played that are similar as determined by the Music Genome Project. For each track that plays, you can give it a thumbs up if you think it fits and a thumbs down if you think it doesn’t. It is really cool to hit play, and listen to music you like and new music that you are likely to like all without commercial breaks, announcers or anything else that might get in the way.

One of the last benefits of radio for me is the opportunity to hear new music and to identify the songs that catch your ear. While Pandora identifies the songs you are listening to Shazam does one better for the music you hear on the radio, TV, movies, clubs, or elevator. It will take a 12 second sample of whatever is playing and using a really cool fingerprinting technology, identify the song, artist, and album. The results can be saved and it provides links to the iTunes music store for purchase and also YouTube links for similar content like music videos. You have to see it work to believe it.

For me, I don’t think radio is a big deal anymore. I know I don’t miss it.

Apple, Links, Thoughts, Work