Category Archives: Coding

Remove MySQL from Mac OS X, Snow Leopard

Tweet If your system has a mishmash of MySQL installs like mine did earlier today, it makes sense to start with a clean slate. I had the default that comes with xcode, the version that comes with MAMP, and then … Continue reading

Posted in Coding, News | Leave a comment

Preliminary hierarchy of programming languages

Tweet A preliminary hierarchy of programming languages. Incomplete but I got most significant languages (for me, anyway). Comments very appreciated. I made this with GraphViz on my MacBook in a day. Programming Language Hierarchy v1 (1.2 MB PNG)

Posted in Coding, News | 1 Comment

TwitterTranslate 2.0 available

Tweet New version of TwitterTranslate out today: it works with the new Twitter web interface shows you the original text if you click on the translation indicator below a tweet automatically translates any new tweets that show up on a … Continue reading

Posted in Coding, News, Social Networking | Leave a comment

My latest project: TwitterTranslate

Tweet Tonight I made this little Safari 5 extension: TwitterTranslate Pretty simple – it finds any foreign tweets on your Twitter feed and translates them to English, or Spanish, or Japanese, or whatever your native language is. Enjoy!

Posted in Coding, News | Leave a comment

PHP best practices #1: duplication is evil

Tweet I am very opinionated about my code.  The source of most of my opinions is the DRY/DIE principal: Don’t Repeat Yourself / Duplication Is Evil.   Take, for instance, a Human Resources application I worked on recently. It is … Continue reading

Posted in Coding, News | Tagged | 1 Comment

PHP Best Practices: Introduction

Tweet   I started programming when I was about 12, did so continuously until I was 18, took a couple years off to be a kid again, and recently started programming again seriously (in professional, production, multiple-developer environments). I have … Continue reading

Posted in Coding, News | Leave a comment

Fancy command-line alarm for Mac OS X

Tweet I have a Calc exam in the morning. Instead of studying for it, I decided to program a command-line alarm for myself so I don’t sleep through the exam. It doesn’t help that my phone is MIA and I’ve … Continue reading

Posted in Coding, News, Personal | Leave a comment

MVC or just pretending?

Tweet I used to think I hated MVC. I realized in the past few months that MVC is great, but not many programmers actually adhere to it in the PHP world. A lot of PHP frameworks pay lip service to … Continue reading

Posted in Coding, News | Tagged | Leave a comment

PHP links of the day

Tweet Here are two helpful pages I discovered working today: RFC 822 compliant email validator for PHP: http://www.iamcal.com/publish/articles/php/parsing_email/ A bunch of handy regular expressions: http://www.roscripts.com/PHP_regular_expressions_examples-136.html (I’m using the currency regular expressions, but they all look handy)

Posted in Coding, Links, News | Leave a comment

Journal system with list and theme features

Tweet I really like journaling. It’s how I process my thoughts. Often, it’s helpful for me to go back and review past thoughts I’ve had or ideas I’ve jotted down. This tends to become difficult if content isn’t marked up, … Continue reading

Posted in Coding, News, Personal | Tagged | Leave a comment