Wednesday, May 30th, 2007
Occam’s razor strikes again! Tonight we ran into an interesting problem. A web service – with a very simple time-elapsed check – started reporting negatives… Racking our brain, pouring over the code, produced nothing. It was as if the clock were jumping around randomly! No! On a whim Barry checked it and the clock was, [...]
Congrats to http://claudiacanals.wordpress.com/ which happens to be our one millionth hosted blog. This happened around 11:38pm PDT, and weighed 7lbs 6oz
Often times you end up with the need to pull something from the database conditionally depending upon some other criteria. For example, given the following table, how would list the first names shared by one or more people? table: users col: firstname col: lastname Commonly people will either put in a counter somewhere or it [...]
Most times when people write command line scripts they just let the output flow down the screen as a status indicator, or just figure “it’s done when it’s done” But sometimes it would be nice to have a simple clean status indicator, allowing you to monitor progress and gauge time-to-completion. This is actually very easy [...]
Sometimes it’s desirable to have a chain of commands backgrounded so that a multi-step process can be run in parallel. And often times its not desirable to have yet another script made to do a simple task that doesn’t warrant the added complexity. An example of this would be running backups in parallel. The script [...]
I’m the kinda guy who owns up to my mistakes. I also strive to be the kinda guy who learns from them. So I figured I would pass this on as some good advice from a guy who’s “screwed that pooch” There was a project on which I was working, and that project sent me [...]
I know a group of guys looking to do some cool stuff who could use a few good contractors. Drop me an e-mail with maybe a sample or something cool you did in php and I’ll pass it on. apokalyptik apokalyptik com — Subject: “PHP Consulting” (I’ll likely completely overlook your mail if you use [...]
Lets face it… sharing files (especially photos and videos) is easy and free. Flickr, Youtube, Photobucket, Divshare all make it spectacularly freaking easy to share a file. And I’ so fed up with “sharing a file” that I’m ready to be sick. Stop putting speed holes in a technology that already works pretty damn well [...]
This is a small hack I did to the excellent SWFUpload script (v 1.0.2) which allows you to specify what variable you would like the file to be uploaded as. You are, therefor, no longer chained to using “Filedata” you could use “Photo,” “Document,” “Movie,” or whatever. Granted in the grand scheme of things this [...]