• Time To Learn

  • Be More Productive


  • Archive for January, 2007

    Update timezone files for earlier Daylight Savings Time

    Wednesday, January 31st, 2007

    I noticed on my MacBook (OS X 10.4.8) that the underlying UNIX based system (POSIX) was not going to update correctly for the Daylight Savings Time (DST) change in my time zone (America/Vancouver). To determine if your time zone has an issue, run this command in Terminal:

    foo$ zdump -v /etc/localtime | grep 2007

    If you see this in the output, then your DST will not start (or end) on the correct day:

    /etc/localtime  Sun Apr  1 09:59:59 2007 UTC = Sun Apr  1 01:59:59 2007 PST isdst=0/etc/localtime  Sun Apr  1 10:00:00 2007 UTC = Sun Apr  1 03:00:00 2007 PDT isdst=1/etc/localtime  Sun Oct 28 08:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 PDT isdst=1/etc/localtime  Sun Oct 28 09:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 PST isdst=0

    Notice that those dates do not correspond to the second Sunday in March nor the fir…

    Google Notifier tips and tidbits

    Monday, January 29th, 2007

    Posted by David Phillip Oster, Mac Software Engineer

    Google Notifier is a program I wrote that lets you know when there is new Gmail ready to be read in your inbox and when you have upcoming Google Calendar events. The basic features of Notifier are …

    Fix a mis-formatted text file with perl and regex

    Sunday, January 28th, 2007
    Dear readers: Sigh, third try’s a charm? I promise this one has no formatting errors … but then again, that’s what I thought the last time, too.

    Dear readers: This hint originally appeared yesterday. However, somewhere between Smultron, Geeklog, and publication, I badly munged the contents. I managed to repeat the intro while skipping all the details I intended to explain. My apologies for this; I have nobody to blame but myself for not concentrating on the task at hand. The corrected hint appears below. Given how badly I messed up the original, I chose to re-run this one again today, just so folks would have a chance to read the corrected version.

    So as to not confuse people, I also removed a couple of comments that basi…

    The Spotlight File System for MacFUSE

    Tuesday, January 23rd, 2007

    Posted by Greg Miller, Software Engineer, Mac Team A little over a week ago, we announced the open-source release of MacFUSE. Since FUSE makes it so easy to slap a file system view on data, I thought it might be neat to give Spotlight a file system in…

    Why I Want a Locked IPhone

    Monday, January 22nd, 2007

    I’m only too happy that the iPhone is locked down tighter than a nun’s knickers. Commentary by Leander Kahney.

    How to uninstall MacFUSE

    Monday, January 22nd, 2007

    Last week, we ran this hint about using MacFUSE to install sshfs, which lets you mount ssh-connected servers like regular folders in the Finder. I tried it last weekend, and while I was generally thrilled with it (it’s amazingly handy being able to work in remote folders as if they’re local), I had some issues. In particular, it seems not to interact well with Path Finder (sshfs connections don’t show as mounted volumes, for instance, unless they’re in /Volumes, but they will do so in the Finder). I also had two kernel panics when I tried to unmount a mounted file system, so I decided to remove MacFUSE for now.

    Unfortunately, there’s no uninstaller included with the disk image distribution. After some rooting around on the MacFUSE site, I found these removal instr…

    Macworld keynote campout

    Friday, January 19th, 2007

    Posted by Rose Yao, Mac Product Manager and Mike Pinkerton, Software EngineerRemember when I said I was “new to the Mac”? Well, after camping out the night before Steve Jobs’ keynote speech at Macworld Expo, I now consider myself a Mac veteran. I joine…

    10.4: How to create an SSH volume using FUSE

    Thursday, January 18th, 2007

    Amit Singh posted an entry on his blog that mentioned the MacFUSE project — the implementation of FUSE for Mac OS X.

    Using the references that he mentions, one can have one’s SSH account appear as a directory — making it easy to handle and manage. Here’s how…
    Steps:

    1. Download the MacFUSE binaries.
    2. Once downloaded, install with this command:
      sudo tar -C / -jxvpf fuse-binaries-0.1.0b006.tar.bz2

      Note that you might have to change the version number to match your download.

    3. Reboot, so that the new kernel extensions are loaded.
    4. Connect to one’s SSH account using the sshf …

      Compile a powerful command-line download tool

      Wednesday, January 17th, 2007

      I have always found that Mac OS X lacks an elegant yet free downloading tool that supports segmented downloading until I met “>aria2, which is a linux-based command-line downloading tool. From their website:

      aria2 is a download utility with resuming and segmented downloading. Supported protocols are HTTP/HTTPS/FTP/BitTorrent. It also supports Metalink version 3.0.

      It is very stable and fast (at least no slower than Speed Download and iGetter on my computer. However, the latest 0.9 version of aria2 does not compile on Mac OS X. After some work, I figured out how to make it compile — read on for the how-to.
      Here’s how I got the latest version (0.9 as of this writing) to compile on OS X:

      1. Download the latest 0.9 version of aria2.
      2. Untar by double-clicking the downloaded file.
      3. Use a plain text edit…

        Taming Mac OS X File Systems

        Thursday, January 11th, 2007

        Posted by Amit Singh, Mac Engineering ManagerGoogle is a fantastic company to work for. I could cite numerous reasons why. Take the concept of “20 percent time.” Google engineers are encouraged to spend 20 percent of their time pursuing projects they’r…

        ET, Phone Steve Jobs

        Monday, January 8th, 2007

        Jobs’ performance at Macworld Tuesday may be his crowning moment. Apple’s new iPhone, introduced by Jobs to an adoring crowd, not only represents another watershed moment for the company, but it forever changes the nature of the personal handheld device. Commentary by Leander Kahney.

        IPhone Takes Apple on New Path

        Monday, January 8th, 2007

        The highly anticipated smartphone combines music, video and OS X in an ultra-thin design that could shift the company’s center of gravity and upend the mobile phone business. Pete Mortensen reports from San Francisco.

        TiVoToGo Comes to Mac

        Sunday, January 7th, 2007

        Fanatics can now move recorded TV shows to their Mac or iPod. Finally graduating from the Vaporware hall of fame, TiVoToGo becomes a bona fide bit of Apple-friendly software. By Pete Mortensen.

        Spolsky and me

        Thursday, January 4th, 2007

        Posted by Mike Morton, Member of Technical Staff, Mac TeamOne of the nice things about working for Google is that even though we engineers have a lot to do in our day jobs, we’re encouraged to learn new things. We attend “tech talks” (which aren’t …