Category Archives: PHP

You’re only ever done debugging for now.

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 [...]

Any… good… php devs out there looking for some side work?

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 [...]

Whoa, talk about neglecting your weblog! Bad Form!

I know, I know, I’ve been silent for quite some time. Well Let me assure you that I’m quite all right! Are you less worried about me now? Oh good. (Yes I’m a cynical bastage sometimes.) So life has, as it tends to do, come at me pretty fast. I’ve left my previous employer, Ookles, [...]

Programmers don’t like to code?

Rentzsch.com says programmers don’t like to code… Yea… I’ll buy that.  I’ve described “what I do” to many many people as “solving tough problems.”  I’d much rather get into the problem itself than write all the scaffolding and crap that lets me get face to face with it.   So yea. Sign me up. Cheers

CryoPID

Now this is cool: CryoPID a process freezer for linux. “CryoPID allows you to capture the state of a running process in Linux and save it to a file. This file can then be used to resume the process later on, either after a reboot or even on another machine. CryoPID was spawned out of [...]

The (theoretical) web services database

I’ve been kind of floating around this topic for a while… Well databases in general… And I see a lot of people who have rather high standards (which is not a bad thing.)  I imagine the complication of offering a service like this comes from the fact that database people have very stringent standards. Things [...]

New WordPress Patchsets

WordPress 2.0.6 is out, and I’ve made some patches for those of you who’ve modified your installations and would rather not have to redo all of your hard work! 2.0.5 to 2.0.6 2.0.4 to 2.0.6 2.0.3 to 2.0.6 2.0.2 to 2.0.6 2.0.1 to 2.0.6 2.0 to 2.0.6

(PHP code) Gracefully handling the failure of TCP resources

function check_tcp_active($host, $port) { $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array( “sec”=>0, “usec”=>500 ) ); $result = @socket_connect($socket, $host, $port); if ( $result ) { socket_close($socket); return(TRUE); } else { return(FALSE); } } function find_active_server($array) { // Format: $array['127.0.0.1']=3306 if ( is_array($array) ) { foreach ( $array as $host => $port ) { [...]

Is compute as a service for me?

Note to Nick: I havent forgotten your request and I’ll have something on that soon, but when I started in I found that I had something else to say about compute-on-demand (or compute-as-a-service – terms which i use somewhat interchangably) So here it is. For all those people just jumping into a project or considering [...]

WordPress_2.0.3_to_2.0.4.patch

WordPress_2.0.3_to_2.0.4.patch For everyone who prefers patches to overwrites… heres a wordpress 2.0.3 to 2.0.4 upgrade patch