BrT

Musings about technology and other neat stuff

BrT random header image

Entries from October 2008




How to trick an RHEL5 client install to use server RPMs

October 22nd, 2008 · No Comments

For one of my projects at work, I am using a test install of RHEL5 in “workstation” mode, but I needed to install some packages that are only available in the “server” package list. To temporarily make yum search the server repositories, just change the following line in /etc/sysconfig/rhn/up2date:
versionOverride=5Server
(normally the value [...]

[Read more →]

Tags: · · ·




WILTAC #3: NSZombieEnabled

October 17th, 2008 · 2 Comments

I learned today about the NSZombieEnabled environment variable (this is its correct name, and not NSZombiesEnabled as stated in Hillegass’ book). If you set it to YES, whenever you try to send a message to a deallocated object you will get a message like this in the console:

message sent to deallocated instance 0xe02b790

And the debugger [...]

[Read more →]

Tags: · ·

Apple – MacBook design video – Very interesting video about the design and manufacture of the new MacBooks. The scenes showing the making of the unibody enclosure are awesome. (tags: mac video hardware )
(0)




Easy video conversion in Mac OS X

October 10th, 2008 · No Comments

After a lot of searching (and trying iMovie) for how to convert an AVI video file to flash (.flv) format, I found ffmpegX, a nice tool that does all the hard work, invoking other tools in the backend as needed.
Posted by email from zzamboni’s posterous

[Read more →]

Tags: · · ·

WILTAC #2: Designated initializers

October 10th, 2008 · No Comments

I learned today the term designated initializer:

When a class has multiple initializers, the designated initializer is the one that actually does the work, normally the one with the most parameters. All other initializers call the designated one, providing different amounts of default parameter values.

I was aware of the concept – many classes have [...]

[Read more →]

Tags: · · · ·

WILTAC #1: invoking methods on nil in Objective-C

October 7th, 2008 · No Comments

Welcome to the first installment of “What I learned today about Cocoa” (WILTAC).
I have recently started reading Aaron Hillegass’ excellent Cocoa Programming for Mac OS X, third edition, with the intention of brushing up my very lacking Cocoa skills (all of them learned empirically by looking at other people’s code and reading the documentation). To [...]

[Read more →]

Tags: · · · ·