Archive for April, 2009

Geek Links

Thursday, April 23rd, 2009

PHP Quick Profiler This looks like a pretty cool tool to get a good idea of what's going on in your PHP script without having to install tools like XDebug and Webgrind / KCacheGrind. Apple files patent for browser specific volume I'm not sure how this is anything new, tons of applications have ...

Apparently people hate me

Wednesday, April 22nd, 2009

Not sure what I did, but I found this at the bottom of my chess game on facebook.

Enable Mod Rewrite Error Log

Wednesday, April 22nd, 2009

Just a quickie - throw this in your apache config if you need error logging for mod_rewrite. Useful in a dev environment, not so much in production. RewriteLog /var/log/httpd/rewrite.log RewriteLogLevel 9

Erlang: Understanding gen_server

Wednesday, April 22nd, 2009

Gen_server is a great way to create simple servers without having to write a lot of code at all. Here's a brief overview to get you started. For some reason, figuring out how the gen_server behavior works in erlang was kind of a pain for me. I think it's ...

Interesting Programmer Links

Tuesday, April 21st, 2009

Peeping into memcached. Really interesting read about how to examine what's stored in memcached. Peep uses ptrace to freeze a running memcached server, dump the internal key metadata, and return the server to a running state. If you have a good host ejection mechanism in your client, such as in ...

C# on the Mac with Eclipse

Monday, April 20th, 2009

It looks like developing using c# and eclipse on the Mac is pretty easy, at least on first glance. Here's a good guide to get started. It only took about 2 minutes to go from "I think I'll give this a shot" to "sweet it compiled."

Erlang: Create schema before starting mnesia

Friday, April 17th, 2009

If you're running into trouble with Mnesia not writing your data to disk, make sure you create the schema BEFORE you start mnesia. Otherwise you'll get errors like opt_disc. Directory "c:/Documents and Settings/jhaddad/workspace/Mnesia.localhost@whatever" is NOT used.

Adium crushes every Windows IM client

Friday, April 17th, 2009

So, recent job switch. No longer at Demand, and no longer on Mac. Windows is mandatory. Once again I quest for software that doesn't suck. I've tried Pidgin, Trillian, and now digsby, and all are AWFUL when compared to the beautiful, elegant Adium. Oh, and if you're ...

The Mac Mini Now Supports Dual Monitors

Thursday, April 16th, 2009

The Mac Mini is now capable of running dual monitors. This, to me, is huge. It's a machine that comes in a decent price that developers are used to, while allowing us to keep our dignity and use our own monitors. A few months ago, I bought ...