Needed to use this recently to create a specificity parameter for an API at work, it gives you a key/value array from an ISO date string regardless of what is actually set in the string (e.g. if you give 2011-06-07 04 you’ll get an array back as array(‘year’=>2011, ‘month’ => 6, ‘day’ => 7, ‘hour’ … Read More “Regular Expression (Regex) For Date part extraction/array split” »
Engineering notes from the sharp end
Practical writing about software, systems, delivery, and things that behave strangely under pressure.
wade womersley – york based software engineer I write the way I work: direct, useful, and more interested in what holds up in production than what sounds clever on a slide.
More posts
More posts from the archive
In my leedsphp talk last week I mentioned making a developer (and consumers) life easier by automatically implementing the allow methods functionality that your API may expose (e.g. you call PUT on a URL that only allows GET or POST). I did have an example slide there showing how to implement but I thought I’d … Read More “Automating “Implemented methods” for a web based API” »
Finally got around to uploading my slides (sorry for the delay!) for my talk at leedsphp on Monday 18th. They are now available online at http://www.slideshare.net/wadewomersley/building-a-horizontally-scalable-api-in-php
This is the BEST way to scare people, dress a girl up like the girl from The Ring and just get her to stand in a regular hotel hallway. Win!
UPDATE 14/07/2012: The author of the client has released version 2.5 a short while ago and also a video for using self-signed certificates in the client. RESTClient is a great little CLI and GUI tool for testing your REST API. I recently pushed a new API up in the office and it runs over SSL. … Read More “Using SSL in RestClient” »
I must confess, I love Glee and for some reason after season one I stopped watching – must catch up on it. So how do you make a show like Glee even better? Simple, get them to do a Rocky Horror episode!
This isn’t really safe for work (considering the volume of F word usage) but it’s a more modern version of the classic “uses of the word f**k” flash, the longer you watch, the harder it is to just not laugh out loud. Originally from http://www.newgrounds.com/portal/view/458275
Just came across this when watching the Portal 2 Co-Op (yes, Portal 2 Co-op!) trailer on gametrailers.com. It’s all about a day in the life of 2 turrets. Really made me laugh a few times, worth a few minutes of any Portal fans time. I know it’s probably rather old, but I still just stumbled … Read More “Portal – A Day in the Life of a Turret” »
Years ago (and I do mean years ago now) I used to make maps and mods for Elite Force, then Jedi Academy. My main thing was Stargate, bringing Stargate to the FPS world in a way that I enjoyed playing. Things like a dialing Stargate and so on in an engine that people had not … Read More “Fond memories of a modding past” »