Creative Commons License

Unless otherwise expressly stated, all original material of whatever nature created by and included in this weblog is licensed under a Creative Commons License.


Disc of this Summer: La Phaze - Miracle

La Phaze - Miracle

06:31 | Music | Permalink


Opera 9.25 vs Safari JavaScript syntax error forgiveness

The following definition of an Array works without problems in Safari (and probably Firefox too), but triggers an (legitimate) error in Opera 9.25:

var myArray = [





The error is triggered by the superfluous comma after the last element of the Array. It may be argued for both behaviors, but I would prefer all Browsers accepting such an Array definition also since in other languages (C, Python, PHP) such a redundant comma does not cause any trouble.

01:15 | Coding | Permalink


Fast disk upgrade for my MacBook Pro

Here's how to upgrade the disk of a MacBook Pro in 45 minutes while keeping all your data/settings/applications:

  1. Uninstall rEFIt and make sure your MBP restarts with the Apple 'default' bootloader
  2. Follow the iFixit Guide to replace your disk
  3. Put the old disk in a SATA-to-USB case (they are available for $7.89 from
  4. Connect the old disk to your MBP and turn the MBP on. (The MBP automagically recognizes the old system and runs it)
  5. Open the Disk Manager and partition your new disk.
  6. Select your new 'system' Volume and open the "Restore" tab.
  7. Drag your old 'system' Volume to the "Source" field and your new 'system' Volume to the "Target" field. Click on "Restore", the contents of your old disk are now copied to the new disk.
  8. After the restore process finishes, shutdown your MBP.
  9. Disconnect your old disk and turn on your MBP.
  10. VoilĂ . You are booting from the new disk and all your data/settings/applications are there too!

07:58 | Mac | Permalink