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. [...]
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 [...]
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 [...]
Install PDT Plugin in FlexBuilder 3
Installing PDT (PHP Development Tools) Plugin for FlexBuilder allows you to work with PHP projects within the FlexBuilder environment. This is useful if you are using AMFPHP, WebORB for PHP or some other PHP-based remote server. There are similar instructions posted elsewhere, however I found that they have become outdated. Because FlexBuilder 3 is based [...]
sqlite lpad and rpad functionality
sqlite is missing several basic database features compared to typical SQL servers and unfortunately padding is one of them. For a most situations though, you can use a simple hack to get the same functionality. This trick uses a combination of concatenation and substr: — the statement below is almost the same as — select [...]