Category Archives: Developer

Efficient Exception Debugging with Xcode 4

When dealing with Objective-C exceptions while developing Cocoa applications, you might not know where the error happened. Calling -[NSMutableDictionary setObject:forKey:] with an nil object will output an error message in the consoleĀ (*** -[NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: … Continue reading

Posted in Apple, Developer, Mac | Tagged , , , | Comments Off

Introducing PageKit

Over the years I have created a few JavaScript classes which I use in various web applications. Today, I released two of them on GitHub: PageMenu and PageList, part of PageKit. To see what is it about, head over to … Continue reading

Posted in Developer, JavaScript, Web | Comments Off

Double-clicking NSTableViews

If you want to handle double-clicks in NSTableViews, be sure to check out following Q&A article from Apple: Debugging NSTableView’s “Action Invocation” binding. It saved me a lot of time.

Posted in Apple, Developer | Comments Off

Never call [object dealloc]

My tip of the day when coding in Objective C: Never call the dealloc method yourself unless you really know what you are doing! Using release is usually a much better choice .

Posted in Apple, Developer | Comments Off

AFLAX

While reading the Ajaxian news, I stumbled upon Aptana which finally led me to AFLAX through one of its screencasts. AFLAX is Flash based canvas object which can be fully accessed by JavaScript. That’s what I call a great idea! … Continue reading

Posted in Developer, Web | Comments Off

JavaScript Debugger for WebKit

The latest WebKit nightly build incorporates a second application called Drosera which is a standalone JavaScript debugger. To debug JavaScript, Drosera can connect to a debug server which can be any application using a recent WebKit build, like the latest … Continue reading

Posted in Apple, Developer, Web | Comments Off

Upgrading to Ruby On Rails 1.1

There is that little web app at work which was based on Rails 1.0 and uses the upload progress indicator. This feature was marked as experimental in the Rails 1.0 API documentation. After upgrading to Rails 1.1 following the simple … Continue reading

Posted in Developer, Web | 1 Comment

The status bar now shows current symbol

Since ages I have been waiting for this feature: And finally, the function menu – a.k.a. symbol menu – has been implemented in my current Text/Code-Editor called TextMate. It’s like christmas in july

Posted in Developer, Software | 2 Comments

Installing WWW::Blog::Metadata

If you think you can just install the CPAN Perl module WWW::Blog::Metadata (v.0.02) by typing perl -MCPAN -e ‘install WWW::Blog::Metadata’ you would be wrong. Here is a quick tutorial to install the module in spite of all obstacles: Install HTML::Tagset … Continue reading

Posted in Developer | Comments Off

Disabling Session Cookie in Tomcat

If for some reasons you need to disable the use of a cookie for session handling, you can edit the context.xml file located in the META-INF directory of your J2EE web application. The following solution works well with Tomcat 5.5 … Continue reading

Posted in Developer, Web | 3 Comments