mac

Aperture 3 migration tips

Being quite geek I'm one of those early adopter guys. So wonder what? I've migrated my Aperture 2 library to just released Aperture 3. You may wonder why wouldn't I use Lightroom, but well, I just like Apreture's workflow + look and feel a bit more. That's it. Also faces and locations in Aperture 3 (apparently migrated from iPhoto) are just killer features comparing to Lightroom.

Migration was quite easy but it took quite a time to rebuild the Aperture's database to a new version. You can migrate from previous library, old vault or my way was to save (export) projects from v.2 to external drive and import them in v.3 one by one afterwards. This also helped me to clean up some older projects which were on standby for quite a long time.

7 tips to power up MAMP on OSX 10.6 (Snow Leopard)

First off I don't really like to go with extra apps on my Mac. So with Leopard I'd use (mark's) PHP (as 10.5.x didn't have GD support at least) and official MySQL distribution. With Snow Leopard (OS X 10.6) Apple did a great job rolling out quite a nice http server but to the date it's way too advanced for my normal dev life. None of the web apps I do develop with (Druapl, ExpressionEngine, Joomla, WP ... ) are ready for PHP 5.3 yet. So the only choice was downgrade.

I've tried a few ways as MacProts, compiling my own PHP (and libs) but that was not even 90% successful or buggy. So I looked to MAMP again. Here are a few tips to get MAMP running nicely at OS X 10.6 (Snow Leopard):

VMWare Fusion 2, Windows 2000, Omnikey 3121. It takes three to tango.

I can not say I was exactly pissed off by this situation. But I would say inadequate "user experience" was guaranteed. Well. It took me more then an hour but I payed for my 3G connection while away from WinXP VMs on my external HD. One thing is that VMWare somehow degraded the product for older OS with new major update. The other is why smart guys at e-bank use Windows only compatible "security" software at all which is not so needed in the real world. It is just unprofessional (though it looks like). I understand that developing "hardware enabled software security system" will attract a larger budget but isn't it about end user convenience anyway?

Emergency fix OSX permissions (the rookie way)

I've ruined permissions at my home backup drive (it was 75% my fault to be honest). I tried to fix it terminal/unix way but it ended up with something even worser. Broken resource forks, fancy non existing users and permissions... (OMG, my lovely icons collection gone in bits and pieces). Then I was looking for easy solution to get back those zillion files live and proper. And you know what?

The easiest way is to copy your files to FAT32 dive if you have any handy. What will happen: all your permissions will null comparing to HFS+ (but keeping icons, forks, bundles etc intact though).

SE P1i iSync synchronization tips

I've been reinstalling my P1i again (experimenting too much...). Next step is to sync it with my Mac. But there is a glitch with Sony's iSync plugin: connection lost with the phone when syncing for a first time. I think the problem is with amount of contacts you have in your Address Book. I have over 500 and it never worked for me straight away.

A small hint to deal with the situation: backup your Address Book (File -> Export -> Address Book Archive) then delete all the contacts in your Address Book (don't be scared, you have a backup). Sync your P1i again with empty Address Book. The process should go fine now. Right after that restore your Address Book archive (File -> Import -> Address Book Archive) and sync devices again. Here you go: all contacts transfered smoothly.

Delete .svn folders on your Mac

Sometimes you need to get rid of .svn hidden folders on your Mac. In my case it was about resyncing my local working copy with client subversion repository. Everything was broken at both ends.

A couple of terminal commands to get rid of unneeded svn tracks:

cd /some/of/your/folders/
rm -rf `find . -type d -name .svn`

It will delete any .svn folders under your current.

For lazy typists: don't forget that you can drag and drop folder from finder to terminal to populate path.

Configuring terminal to work with MAMP mysql on Leopard

I've decided to try MAMP on new Mac OS X 10.5. Mostly because PHP bundled with Leopard doesn't have GD library (otherwise it has quite cool set of modules). The other reason that is better Marc Liyanage's PHP installer is not yet ready for Leopard.

But after backing up all my MySQL databases (around 200Mb dump) it turned out that you can't acces MAMP's mysql via terminal to restore it (or I was something terribly missing from FAQs).