Monthly Archives: June 2011

PHP Date in Human Readable Format

I’m working on a PHP project that requires human readable, relative date formatting. Below is the PHP function I’m using. The function handles past and future dates. Sample Future Output : 30 seconds to go 1 minute to go 5

Posted in Computers, Programming Tagged with: ,

Super Simple WCF Caching

The other day I had an interesting problem at work. My new project had a web service call that was pulling metadata off an MS SQL cube. When I started to the the project the call had 6 nested loops

Posted in Computers, Programming Tagged with: , ,

Placing Blame

“If words of command are not clear and distinct, if orders are not thoroughly understood, the general is to blame. But if his orders ARE clear, and the soldiers nevertheless disobey then it is the fault of their officers” Sun

Posted in General Tagged with: ,