Fix for iDVD 08 crash after the start

Posted 15-May-2008 by Miro Adamy
Categories: Mac

Tags:

Today I tried for the first time the iDVD 08 with intention to create DVD version of the screencast - just to find out that the application dies right after the start. From the error report (thanks for that) the problem was in missing dependency Oxygene framework - a module similar to Windows DLL. Here is the error message:


Link (dyld) error: 

Library not loaded: @executable_path/../Frameworks/Oxygene.framework/Versions/A/Oxygene
Referenced from: /Applications/iDVD.app/Contents/MacOS/iDVD
Reason: image not found 

The solutions described in the Apple discussion groups revolved around using shareware tool Pacifist - something I did not like particularly. The plain reinstallation of the DVD did not help either.

What worked for me and solved the problem was complete removal of iDVD and subsequential reinstall. I used AppZapper to remove the application, but it also can be done manually by deleting the application bundle from /Applications, removing all iDVD receipts from /Library/Receipts and all content from ~/Library/iDVD and ~/Library/Preferences (which is in a nutshell all AppZapper did).

Right after removal, insert Installation disk 1, select Install Bundled Software Only, press Customize and uncheck everything except iDVD. The program starts fine after installation finishes.

One more minor hickup after reinstall was that the Theme introduction would not play in preview - all the application showed was black screen with background music. This was resolved by selecting ‘Check for updates’ and allowing installation of the update. Afterwards, I was able to start working in my first DVD :-).

iMovie 08 and mystery of disappearing Project Library

Posted 13-May-2008 by Miro Adamy
Categories: Mac, lifehacks, podcasts

Tags: , , ,

As if the yesterday’s Firmware update issue was not enough, I had very strange experience with iMovie 08. Suddenly, for no obvious particular reason the user interface became very unresponsive, I was not able to select project in project library. Switching Event library and Project windows on or off stopped working. Windows were not redrawn properly. Creating new project had no visible effect. I could not click on project to select it (well, technically I *could* click, but nothing happened). The time sliders in Events and Projects were either disabled or invisible …

Here is how the iMovie looked like most of the time:

I tried multiple things to fix that: Logout and re-login - no change. Reboot (remember, I came from Windows where this very often used remedy ;-)). No luck. Check and repair the permissions using Disk Utility. No improvement. Verify disk. No errors and still no improvements.

I even resorted to reinstallation of iLife 08. The only effect I achieved was that I got back trial version of Office 2004 which I deleted right after installing Leopard and had to download and install several updates for Garage Band and iWeb - but iMovie still did not work. Installation of iMovie HD (from iLife 06) worked OK as well did the iMovie 06 - but that was not much help because I did not want start from scratch and iMovie 08 with all its bad features is still able to accept way more input formats than ‘06.

After killing well over three hours that was supposed to be spent on finishing the screencast, I started to delete all iMovie project files and even libraries from previous attempts. And suddenly, iMovie sprung to life and was as before.

I think that reason for the issues was moving the Events library for some of the older screencasts to external disk, but leaving the Project files in iMovie. Somehow this must have confused the program and the non-responsiveness could be caused by trying to connect the thumbnails and file references from the projects to the not available source clips from event library.

Lesson learned: whenever I move done an event library used in the screencast to external hard disk, it is probably safest to backup and remove the project as well. In other words - keep these two words separated and disjunct.

But of course - this can also be a pure coincidence and everything can have completely different cause. Time will tell. Too bad that Premiere Elements does not exist for Mac platform. Maybe I should seriously consider looking at Final Cut Express ?

Mac firmware update

Posted 12-May-2008 by Miro Adamy
Categories: Mac

Tags:

Today I (finally) found out that Apple pushed the long expected Java update with Java 6 for OS-X. Together with this update was another one - Firmware update. I installed both, but on next login, the same firmware update showed up again and checking the firmware version with System Profiler has shown that it was not updated.

So I installed firmware update again, and rebooted. But nothing happened again.

After some googling, I found out that the Firmware update - unlike all other updates does NOT really install itself. What it does is to download the Firmware update program. After you start this program (you can locate it by Spotlight), it will display instructions and asks for initiating shutdown. When machine reboots, you need to press and hold power button while it boots - until hearing long beep sound or seeing the sleep light rapidly flashing. After this, system shows update progress bar under grey apple and on finishing the update reboots again. Having done this, firmware is finally updated.

From technical point of view it makes lots of sense to perform firmware update this way, but it would be very helpful if Apple would at least TELL the users what they are supposed to do. This was so un-applish user interaction experience like none before …

Catching up with Hanselminutes

Posted 8-May-2008 by Miro Adamy
Categories: Windows, podcasts

Tags: ,

Thanks to great weather, the walking season is in full progress :-) and that means I was able to add some more listening material to my podcast collection. I still keep track with all part of TWIT network - This week in tech, Security Now!, MacBreak Weekly and Windows Weekly - but that is nowhere close enough for both walking and driving …

I have returned back to listening to Scott Hanselman blog (Hanselminutes) - mostly out of curiosity how did working for Microsoft change is very balanced and realistic view of technologies.

Fortunately - it did not.

Scott is still same great, very open minded developer that can see value and strength as well as issues and problems in technology regardless of its origin. It speaks a lot positives about Microsoft as well - by allowing this to happen.

Very good episodes are (back from 2007) from my personal point of view were:

I was pretty intrigued with the title of the episode “The Worst Show Ever with Chris Sells and Rory Blyth” - which is Episode 112 and I have to agree, the title was pretty descriptive :-) - but it was at least reasonably funny.

I am looking forward catching up with rest of the year, which according the Weather Network should not take too long.

Thanks, Scott. Keep up the great content coming.

Cocoa Programming for Mac OS X, Third Edition is out

Posted 4-May-2008 by Miro Adamy
Categories: Mac

Tags: , ,

as long as you are Safari Books online subscriber - see it here.

Completely updated with XCode 3.x and Objective C 2.0. The screenshots even show the iPhone project templates, indicating the XCode 3.1 in some places. So far the only difference against reality I have found is not covering the XIB resource format (which is generated by default) and sticking with NIB. This blog entry has good explanation of the difference.

If you are fan of dead tree-ware books, the official publication date is May 2008, so expect it any day :-).

Strangely enough, as of May 4th, the author’s web (The Big Nerd Ranch) does not really advertise its availability (yet)

Rogers, Bell and Net neutrality

Posted 3-May-2008 by Miro Adamy
Categories: Uncategorized

Tags:

I do not blog on political issues, but this one is kind of different.

Couple of weeks ago I received a letter from my ISP provider (Rogers Cable), stating that days of unlimited downloads are over. More or less. Rogers capped the monthly transfer depending on your subscription plan, which in my case means maximum 95 GB / month for sum of upload and download.

They started to monitor the traffic in December and will start charging for the transfer exceeding the cap in June.

After overcoming feelings of being cheated (after all, I signed up for “unlimited” service and that !@#$ ISP did change the level of the service unilaterally) and discovering there is probably no real alternative (I could not find reasonably priced ISP that would not be reselling Bell ADSL service), I started to think about what does this actually mean and what are the consequences.

If you have limited capacity resource (like bandwidth) and potentially unlimited demand, some measures must be taken. In ideal world - when the number of subscribers is optimal with respect to capacity and their behaviour is not trying to consume as much bandwidth as humanly possible - you may get by without restrictions.

In real world where some people are downloading movies in hundreds of gigabytes, this approach does not work quite so good. Limiting consumption of the bandwidth is the solution most providers end up implementing.

This can be done two way: transfer cap and traffic shaping. In transfer cap, ISP measures the total volume transfered. In traffic shaping the ISP goes after protocols that usually related with really high volumes and try to throttle them. Usual victim is Bittorrent, which is quite often used to download illegal copyrighted content in form of movies and music, as well as other Peer-To-Peer protocols used in file sharing.

It is not easy to choose between these two bad (from consumer standpoint) solutions to congestion problem. I am no way a Rogers fanboy (despite of - or because of - being their customer for almost 10 years), but I think that their solution is better one.

I do not download movies or MP3 from torrent sites, but I have two large issues with traffic shaping approach. First, who decides which traffic is being throttled and how ? Torrent is preferred way how to distribute large binary images of Linux distributions or VMWare appliances, and targeting torrents significantly affects the open source communities, which cannot pay for data bandwidth and host the downloads on sites like Amazon S3. These projects are put into same category like PirateBay just because they use same protocol - so this approach is violation of the presumption of innocence.

To make absurdity of the approach more obvious, this is same logic as if somebody would start dropping HTTP just because there are sites on the net that are providing illegal or dangerous content: viruses, exploits, pornography … For the argument that (unlike in HTTP case) most of torrent traffic is illegal (which is an assumption, because nobody has really good data), let’s have a look at email: assumably around 90% of all email traffic is spam. Why not fight the bad guys by crippling SMTP/POP3 traffic, if we use same logic ?

My second issue is that, once the traffic shaping is acceptable business practice, who guarantees that only reason for throttling is to (assumably) limit possibly illegal content and not e.g. hurt the service of competition providing e.g. VOIP services ?

Recently the whole issue of traffic shaping got lot of attention in Canada - read the excellent blog of Michael Geist. There are even plans to organize a Net Neutrality rally on Parlament Hill - see the http://netneutralityrally.ca/ - so if you are in Ottawa on given date, give it a thought.

So however I hate Roger’s cap, I have to agree that this time, they approached the problem correctly. Only two concerns: with more and more services moving online, the 95GB is definitely not enough. I am subscriber of MSDN/Technet as well as Apple Developer’s Connection and with updates, patches etc I can easily need 40-50 GB a month just for the downloads they provide. Also more and more audio and video is delivered online - I just checked the size of Movies folder in iTunes, containing only video’s of Apple developers series and few selected videocasts and it has well over 120 GB. Add using YouTube, Lynda.com, Safari books online and similar and the final number will be well above. Unless the monthly allowance will increase, we will run out pretty soon.

Second concerns is about reliability of the traffic data. I am not measuring my internet traffic, but quite often I think there may be pretty large gap between what I was doing online and what daily meter (available from Roger’s website) reports.

I think that what we in Canada really need is more competition in the telecom and ISP area. The comparison of what Canadians can get for their money to USA in data and wireless plans looks pretty depressing - and do not even try to compare with Scandinavia or some Asian countries. Unless there is real alternative to Rogers (other than Bell), there will be hardly any pressure on prices and services offered. Maybe we should think about opening the regulation of the telecom market and allowing more foreign competition during next election campaign ?

Oh, one more thing: Steve Gibson of Security Now! fame did excellent coverage of the issues network capacity and network congestion. I highly recommend to listen to this episode if you haven’t done so.

Easy way how to transfer really big files

Posted 29-April-2008 by Miro Adamy
Categories: Web 2.0, lifehacks

Tags: , ,

What does really big mean ? In my case few hundred megabytes, up to 1 GB. Clearly, too much for email attachments - most providers caps them at around 5-15 MB.

Since we started doing screencasts, I need quite often to transfer  work in progress - screen recordings, rendered MOV files between me and my co-host of the screencasts. I tried to upload the file to the company servers using VPN, but the speed of the secure uploads is nowhere close to being practical.

What works much better is free service called TransferBigFiles.com. There is no registration required, you just enter the recipient email and start upload. After uploading, the system sends you an email with link and the files stays up for few days, then is deleted. More than enough for the other party to download. With self-destruction, it is also less worries for you to  remember clean-up.

The site also offers client for Windows, which I did not try (for obvious reasons) and shows ads selling software. These ads made me (strangely enough) more comfortable, as the intention of the creators is clear: attract traffic by free service and monetize on software sales / ads.

The other possible explanation is of course collecting of email adresses for not-so-noble purposes. I have no knowledge of this being the fact - since about a week and half of using the service, there was no spike in amount of spam. No spike meaning nothing beyond usual 300+ offers of 10 dollar Rolex, body enlargements, natural weight loss programs and help requests to transfer money from Nigeria and similars …

All my emails are consolidated on Gmail, which does terrific job of weeding out 99.99% of these - so I do not really care so much if one more spammer gets my email. But if you are really worried, you can always get the 10 minute email, use it for receiving notifications and then email the link manually. The down side is that you must keep the 10 minute email alive until upload finishes - this may take few refreshes.

Quick online diagramming tool

Posted 28-April-2008 by Miro Adamy
Categories: Web 2.0

Tags:

I am using OmniGraffle for most of my diagrams. OmniGraffle is an OS-X platform replacement for Visio - only easier to use and better looking (in my opinion). On rare occasions I do not work on my notebook, it is quite useful to have free alternative that allows to create a diagram that does not look too awful, without going through the hoops of downloading and installing software. The bubl.us is exactly that tool.

Using bubl.us you can very quickly create visual representation of simple structure with basic relations (parent/child) and links. You can define the text and links between elements and save the result as XML, HTML or JPG/PNG image. The result can look e.g. like this:

No a bad result, considering that its creation took less than 60 seconds.

If you need more control - like different shapes and stencils, look at Gliffy, which is much closer to actual desktop diagramming tool. It is free tool with paid enhanced version, available here.

A false “hang” of Finder

Posted 24-April-2008 by Miro Adamy
Categories: Mac, lifehacks

Tags: , ,

Yesterday, I have noticed interesting thing related to Finder and “beach ball of the death”. Suddenly, for no obvious reason, the top menu became unavailable and cursor changed to beachball every time I moved it there. The Bluetooth mouse stopped responding. Finder stopped responding. All symptoms as if Finder would hanging …

The cause of the issue was crash of unrelated application (iShowU, if you are curious), which brought up the crash report window. For some reason - maybe because it happened while changing spaces - the window was not visible. After closing the window, everything came back to life and even mouse reconnected (after disabling and re-enabling Bluetooth).

So next time it looks like an application did hang, make first sure that no windows expecting input are not open and hidden. Do not rely upon jumping dock icon - with bad luck and Spaces enabled, it is easy to switch the notification off.

Agile development team member mantra

Posted 21-April-2008 by Miro Adamy
Categories: programming

Tags: ,

Introducing code review and pair programming has often an impact on relationships in the team - especially when a critique needs to be delivered. It takes great degree of experience on both sides to communicate defects in the code for both the reviewer as well as for the code author to get something useful out of it.

I found this at http://www.finetix.com/blogs/finetixblogs.html which can be helpful (page is 404-ing now, but I luckily saved it in Google Docs way back) :

Everyone, including me, repeat after me:

  • I am not my code. A criticism of my code doesn’t have to be a personal attack on me.
  • I am not the tools that I use.
    A criticism of my tools shouldn’t be construed as a personal attack on me.
  • I am not the programming language that I use

I will try to remember it (and read it to all participants) next time we get into the passionate discussion about whether inheritance or delegation is the correct approach to implement feature X :-)