Archive | March, 2010

Adding and Removing Children from a Flex XMLList

I seem to always forget how this is done and for whatever reason there’s a lot of posts floating around with confusing information.  The XMLList doesn’t have any methods for adding and removing items, or even obtaining items at a specific index.  Adding and removing children from an XMLList in Flex is actually simple, though. [...]

2 Comments Continue Reading →

Sending from multiple email addresses on iPhone

If you use multiple email addresses that all forward to the same email account, it’s easy to setup with the OSX desktop mail app.  All you have to do is enter your various email addresses into the account setup Address field, separated by commas.  When writing messages, you can select reply-to address from a drop-down. [...]

Leave a comment Continue Reading →

Writing effective code comments

Many programmers, both good and bad, dislike writing comments.  When working on a team, lack of comments will eventually lead to lost productivity due to time spent tracing and re-learning.  The problem continues to get worse as revisions are made over the life-cycle of an application.  This can be especially true in larger teams where [...]

8 Comments Continue Reading →

PHP behaves erratically when writing to files

This is such a dumb error  but I wanted to write it in case anybody else becomes mystified if a stable PHP application starts suddenly behaving erratically when writing to files. The cause of this weird behavior could be that your server’s hard drive has run out of free space.   To check your server’s drive [...]

Leave a comment Continue Reading →