Saturday, October 1, 2011

/wasted time

I've been working a project that uses CodeIgniter as the underlying framework and my partner and I felt it was ready for an alpha release on some live environment. Picked up a little bit of cloud at RackSpace and started apt-geting everything I need to get the sucker to run. Git, check... apache2, check... php5 check... Now git the code, configure apache, and configure CodeIgniter. Load the site... nothing. Check the logs... nothing. Then time passes, checking, double checking configs. Fuck fuck fuck. SOMETHING should be broken, SOMETHING should be telling me an error, SOMETHING should kick me in the balls. A grab a quick smoke and ask a friend to check it out with me and 4 hours pass...
It appears that CodeIgniter likes to suppress database errors. 

mysql_driver.php
return @mysql_pconnect($this->hostname, $this->username, $this->password);
The '@' that fucked my night. You see, I'm a bit of an idiot for not installing php5-mysql. However it's bad fucking taste to say nothing when your software requires a 3rd party lib.

Big muchas gracias to my favorite part time Denis Leary impersonator, <3 
 
 

Monday, August 22, 2011

/hello_world

So I've finally got my shit together and created a new blog, abandoning my old blog after 4 or so years. Frankly, it's hard to stay motivated blogging about music when so many other blogs out there do it better. But I did enjoy blogging immensely, so I've decided to make a blog with a more personal touch.

This blog will be mainly geared towards programming and interesting tech with a dash of hockey and music rants. Things I've been interested in recently are hadoop, redis, python and git. So expect some discussion on those topics as well as the up and coming hockey season and some hot jams.

In an unrelated note, Jack Layton died today. We have lost the most entertaining, charming and hardest working man in Canadian politics. His passion should be an inspiration to us all.

Stuart Thursby put together some great posters highlighting Jack's works that are worth a look [link].