↓ Skip to main content

Posts

2008

Unit testing debt

·371 words·2 mins
I had the pleasure to listen very interesting podcast where Scott Hanselman and Quetzal Bradley discussed unit testing named "Testing after Unit Tests". To increase the Google Karma of the information discussed I have decided to rehash and sum up few main ideas of this discussion. Quetzal introduced the idea of "negative coverage" - meaning that if you have 88 % test coverage, you should not see this as something positive you have achieved, but as something missing (you miss 12 % of completion) - thus the title of this post.

Fix for iDVD 08 crash after the start

·244 words·2 mins
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: [sourcecode language='xml'] 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

iMovie 08 and mystery of disappearing Project Library

·434 words·3 mins
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 ...

Mac firmware update

·217 words·2 mins
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.

Catching up with Hanselminutes

·254 words·2 mins
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.

Cocoa Programming for Mac OS X, Third Edition is out

·113 words·1 min
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.

Rogers, Bell and Net neutrality

·938 words·5 mins
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.

Easy way how to transfer really big files

·348 words·2 mins
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.

Quick online diagramming tool

·164 words·1 min
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.

A false "hang" of Finder

·154 words·1 min
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).