In previous articles, I upgraded my computer to Lion and took the time to install MAMP 2. I discovered while using some Zend Framework components that prior to MAMP 2.0.2, there was a bug with the iconv functions. This bug basically caused several pieces of the framework to timeout. I had unfortunately installed MAMP 2.0.1, so I needed to update to the newest version so that I could again develop ZF-based applications on my local environment.
‘fuser’ Using 100% CPU in Ubuntu 11.10 | Flynsarmy» I have several servers running on Ubuntu 11.10 and yet I only see this bug on one of the servers; on that server, I get the AWS CloudWatch messages at least once a day! Since the site was just a small one, I figured it’d be ok to go with the latest and greatest Ubuntu image. I’m really beginning to regret that decision!
Hello world Facebook App Using Silex on HerokuThis is a slick and simple Hello World app built on the Facebook platform. Facebook is really lowering the bar to entry on building apps.
Using MySQL Workbench with MAMP « Internet Strategy Guide» I’ve been meaning to write a similar article. Now I won’t have to!
I’ve seen this error occasionally, but recently it has caused me some grief, so I finally decided to look it up.
In Debian and Ubuntu, /var/lib/php5, where the session data is stored, has permissions of drwx-wx-wt and should only be cleaned by a cron script. So, the package maintainers disable automatic session garbage collection.
The article linked gives some great background, and the answer seems to be setting session.
To remove the exif data you need to call Imagick::stripImage() on the populated Imagick object and then call Imagick::writeImage() to save your changes.
» If you need to resize an image, you can also use Imagick::resizeThumbnail to strip the exif data in one call!
PHP 5.4 includes a new feature called traits which allow us to do something that seems an awful lot like multiple inheritance at first glance. Traits allow PHP classes to be “extended” horizontally, rather than vertically.
Great explanation and example of traits. PHP 5.4 is looking to be a nice release.
Good is the enemy of Great
Latin-1 is the enemy of UTF-8
You write web apps. You understand the web is global, and want to support internationalization. You want UTF-8. UTF-8 is extremely sane. Well, as sane as an encoding can be that features backwards-compatibility with ASCII.
Silex is awesome and it’s great to see an example using the OAuth library. We recently had a third party spend over a week trying to connect with our web service using OAuth. I couldn’t believe the struggles that they had. Then today I see an article that shows just how simple it really is :).
» Looking at these comparisons, it makes me wonder why I chose Python instead of Ruby as an additional scripting language. Python has some weird naming conventions (and I’ve grown a fond hatred for the indentation-based syntax).