Bumped everything in an attempt to find a working daap server to serve my music to stupid performance-and-playlist-challenged iTunes.

  • on the server, udev kindly requested that I remove crufty old CONFIG_SYSFS_DEPRECATED && _V2 – in menuconfig, uncheck General->remove blahblahblah.
  • silly apache [/etc/conf.d/apache2] conf file update, make sure you don’t lose PHP and PERL support
  • ridiculous KDE 3.5 errors keep coming, and KDE 4 having all kinds of blocks – I say just keep [–unmerge]’ing ’til it works!
  • I used [emerge –skipfirst –resume] to get past nepomuk failure cruft.  Googled some, looks like a crappy old java config file is still pointing to a crappy old java JDK.  MAN I hate the lies that are Java…  [rm /etc/env.d/20java && emerge –oneshot -av soprano && emerge -Davu world].  Whatevah…

Next I compiled some new kernels.  To get OpenGL working on the ATI-driven  media center so MythTV is all purdy…

  • bump kernel and reboot
  • emerge -av ati-drivers
  • [eselect opengl set ati]
  • [aticonfig –ovt opengl]

Still need to fix the lousy alsa sound mixing for my hirez mkv files, I’m getting mixer channel errors in the MythTV log…

And xbmc is still segmentation faulting on startup…

I bumped up a Windows 7 release candidate install to the retail Windows 7 today.  Microsoft decided it was too much trouble to support an upgrade from the final Windows 7 RC, forcing you to do a completely new installation.  Blow-by-blow:

  • Fire up the Macbook Pro
  • Select System Preferences->Startup Disk->Windows on BOOTCAMP, Restart…
  • Uninstall Bootcamp for Windows (W7 isn’t happy until you do)
  • Install Windows 7
    • you’ll get errors unless you perform a custom install
    • pick the existing C: (BOOTCAMP) drive, the existing Windows folder will be renamed
    • go through the complete installation
  • Insert the Snow Leopard DVD and reinstall Bootcamp for Windows

If you followed this closely, that’s all you should need!  Not that bad.  Now to reinstall all the Windows software… when I get around to it, yawn…

From the “why-do-I-need-Perl-any-more” department…

PHP now provides perl-like regex functions, and writing websites has never been so much fun! I have always loved Perl for text parsing of any kind, and I realize that was because of its powerful regex functionality. During some recent PHP contract work for my friend John, I discovered that PHP’s got perl regex, via this…

preg_match( $perl_style_regex, $source, $match_result_array ).

I can scrape like a madman now. Happy happy joy joy. Anyone who disparages PHP has either never used it or has been trained in the pretentious ways of the Java prima donna. (JUST KIDDIN’ yall!) 😛

The easiest way I came up with was to use Vista’s “Windows Contacts” as a gateway.

  • Sync your Treo with the Palm Desktop.
  • Export contacts from the Palm Desktop as a CSV file, keeping track of the exported columns and names (yuck).
    • After exporting, I had to open the CSV file and remove all question marks in the contact names before the next step would work (doh).
    • After discovering that most carriers require you to dial 10 digits these days, I did a regex replace to add my area code to all 7-digit phone numbers.
  • Import into Windows Contacts, adjusting the mapping using the list of fields from the export (yuck).
  • Open iTunes and connect your iPhone.
  • Click on the Device, and select the Info tab.
  • Scroll down to the Contacts section, and select [x] Sync contacts with Windows Contacts.
  • Sync up! iTunes will warn you if you’re trying to import a lot of contacts.
  • I turned off the Windows Contacts sync after the import, I won’t be using it.

Wow, now I have a whole bunch of crappy old contacts in my iPhone, yay! :> At least Windows Contacts managed to remove duplicates, something I could never accomplish with my Palm/kpilot/etc. syncing.

I have used adhoc scripts that do nightly backups of my important files. I zip up critical directories into huge tarballs – not too pretty but gets the job done.
I wanted to back up an entire linux system so it could be easily recreated, and decided it was time to get a little more sophisticated. Enter [rdiff-backup]. I’m emerging it now, but it’s requiring several updates. For one, it’s new kernel time, and there are a few new options to choose when using [make oldconfig]. I went with defaults, as usual, for every option that provided one. I had to pick these though:

Kernel compression mode: 1. Gzip
RCU Subsystem: 1. Classic RCU

Then I had to add FUSE to the kernel and emerge [ntfs-3g], so I could mount my external drive and back up to it.

[make menuconfig]: File systems->[x] FUSE (and rebuild and install kernel of course)
emerge -Davu sys-fs/fuse ntfs-3g

Then I emerged rdiff-backup, and ran the following:

rdiff-backup --exclude-other-filesystems --exclude-special-files -v5 --exclude /home/me/backup / /mnt/external_drive/backup/machinename

And away we go!