How to Truncate a File on FreeBSD

Uncategorized — Titus Barik on November 19, 2009 at 9:26 pm

To truncate a file so that it is zero bytes, do the following:

truncate -s 0 filename

Toronto

Travel — Titus Barik on November 12, 2009 at 10:04 pm

I’m in Toronto on business from November 12 through November 16, and again from November 19 through the 25th. Unlike Germany, Toronto is incredibly similar to the United States.

Microsoft Office 2008 Crashes on Snow Leopard

Uncategorized — Titus Barik on November 3, 2009 at 7:16 am

It doesn’t work. I’m not sure why. The problem is reproducible for me by taking an e-mail message from within Mail and pasting its contents into a blank Microsoft Word document. Word will freeze with a “beach ball of death”. At this point, you must force quit the application.

Things that don’t appear to make a difference:

  • Running Disk Utility.
  • Safe mode. Yes, it still crashes in safe mode.
  • Removing Microsoft Office 2008 and re-installing it.
  • Removing all Microsoft preferences. You can do this by deleting all com.microsoft.* files under Users, Home, Library, Preferences.
  • Select duplicated fonts and resolve duplicates in Font Book. This didn’t seem to do anything useful, so I additionally validated fonts and removed all the non-TTF duplicate fonts.

Things that worked, though I don’t know why:

  • I ran at OS X 10.6 Snow Leopard setup again from the DVD. This fixed the copy and paste issue.

Finally, here’s the crash report. Some additional advice can be found here, though most of it has been useless.

I also find it somewhat hilarious that Mac users rely on complete Voodoo magic when attempting to solve problems.

titus@barik.net | The Weblog of Titus Barik