Victory over Spotlight

Mac OS 10.4 has a nifty built-in fast-search feature called Spotlight, which supports deep searches (into the contents of a file), not just filename searches. To do this, it maintains an index of all of the files on your hard drive. This is handy.

It is less handy if, like me, you periodically connect an external hard drive for the purposes of backing up your system. As soon as I connect the drive, the BounceBack software I use auto-starts a backup of my (100 GB) Mac hard drive. Spotlight wakes up and starts trying to add the contents of the (300 GB) backup drive to its index… which is stored on the Mac’s hard drive. The first time I noticed this, I also started getting unexplained “I/O permission” errors from BounceBack for a small subset of my backed-up files. I don’t know if that’s the cause, but either way, I definitely don’t want Spotlight to index the backup drive (the utility of doing this is almost nil).

Spotlight’s preferences do permit you to exempt certain files, folders, or drives from being indexed. See System Preferences->Spotlight->Privacy. However, frustratingly, it “forgets” about my exemption of the backup drive each time it is disconnected. This was driving me nuts! Finally, today, I found a solution, courtesy of a comment made nearly two years ago by Systems Boy (thank you Google!).

You can permanently disable Spotlight indexing via:
sudo mdutil -i off /Volumes/YourFireWireDrive

Another possibly useful hint came from an equally old comment by Neil Lee:

The other thing to remember is if you want to add something to Spotlight’s Privacy tab, Spotlight needs to have completely indexed it at least once before it can be added.

I have not tested the latter, since disabling it with mdutil as suggested above seems to have worked like a charm.

Crochet: granny squares

Some time ago, I sat down with my crochet-expert friend, who showed me how to advance beyond basic linear crochet to make circular structures called granny squares. The key idea is to use a combination of double-crochet stitches, which build radial spokes, and chain stitches, which build circumferential bridges between those spokes. By varying the relative length of these components, you get different kinds of structures.

My first granny squares are shown below. The one on the right is straight out of a basic Granny Square pattern:

  • Start: Chain 4, join with slip stitch to first chain stitch to make a ring.
  • Round 1: Chain 3, 2 double-crochet in ring. Chain 2, then (3 double-crochet in ring, chain 2) 3 times. Slip stitch in top of first chain-3 stitch to join.
  • Round 2: To move yarn to new starting place, slip stitch in the first 2 double-crochet stitches and in the first chain 3 loop (moves to next corner of square). Chain 3, 2 double-crochet in the chain-2 space, chain 2, 3 double-crochet in same space. Then (chain 1, 3 double-crochet, chain 2, 3 double-crochet in next chain 2 loop) 3 times. Chain 1, join with slip stitch to top of chain-3 stitches.
  • Round 3: Move yarn as in round 2. Chain 3, 2 double-crochet in the chain-2 space, chain 2, 3 double-crochet in same space. Chain 1, 3 double-crochet in next chain 1 space. Chain 1, then (3 double-crochet, chain 2, 3 double-crochet in next chain-2 space. Chain 1, 3 double-crochet in next chain 1 space. Chain 1.) 3 times. Join with slip stitch to top of chain-3 stitches.
  • Round k: Same as previous, but work the following into each chain 1 space on each side of the square: (chain 1, 3 double-crochet, chain 1).

  • The one on the left is from a sweater pattern that caught our eye in a magazine. I’m still not quite sure that we were executing it correctly (and I don’t have a copy of the pattern; this was just for practice for me), but it made a neat structure:



    Finally, my friend gave me additional instructions for how to make granny triangles! I haven’t attempted one yet, but I’m intrigued, and now I can’t get tiling methods out of my head.