Quantcast
Channel: Adam Cameron's Dev Blog
Browsing all 1332 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

My Dad

This article is very off topic for this blog.My dad, Don Cameron, was born way back in the 1930s, in Dunedin in the South Island of New Zealand. Dunedin was a small city at the far end of a small...

View Article


Another Friday puzzle; and the importance of tests that try to break code

G'day:There was another Friday Puzzle on the CFML Slack channel this week. The question was:The maximum sum subarray problem consists in finding the maximum sum of a contiguous subsequence in an array...

View Article


TIL: Cameron is bloody wrong again

G'day:This is just a short one. I ballsed-up a coupla things in my previous article: "Another Friday puzzle; and the importance of tests that try to break code". It should have also read "and the...

View Article

cflivedead.net

G'day:This is disappointing. cflive.net was an online CFML runner which I used to use a lot to test small bits of code when I did not have a CFML server handy. Or couldn't be arsed starting one and...

View Article

CFML: "It's alive!". Really now?

G'day:Yesterday I was "helping" someone on the CFML Slack channel with some challenges they had with CFC serialisation. The conversation turned to ColdFusion's custom serialisers (see an earlier...

View Article


PHP: what exactly are we testing?

G'day:"the rumours of this blog's demise... [etc]". Yeah. I'm still here. More about that in a separate article.Here's a completely fictitious scenario which bears absolutely no relation to a code...

View Article

Ah ballocks

G'day:I just noticed the context-highlighting thing I've got wasn't cross-referencing on that last article I just did ("PHP: what exactly are we testing?").As it turns out it's cos my JS files were...

View Article

CFML: proposed new meet-up in London?

G'day:Perennial CFML community-member Mark Drew is looking at the feasibility of getting a CFML Meetup going in London. Sounds like a good idea to me.He's just gathering some metrics as to people's...

View Article


PHP: different ways of defining one-off objects

G'day:This one came from a Stack Overflow question I watched be raised, commented-on and summarily closed again because there are rules to follow, and by golly the community moderators on S/O looove...

View Article


Another Friday code puzzle on the Slack Channel

G'day:Another perennial CFML community participant, Ryan Guill, has posted this week's Friday code puzzle, over on the #friday-puzzle subchannel of the #CFML Slack channel.Don't worry about the fact...

View Article

PHP & CFML: I get thrown by how static variables work

G'day:I like it when I demonstrate to myself I'm a bit thick. Today was one of those days. I've been working with PHP for a coupla years now, and pretty much have ported my OO knowledge over to it....

View Article

PHP: decorating async Guzzle calls

G'day:A while back I looked at the decorator pattern in the context of some stuff we were doing:Using a decorator pattern to reduce inappropriate code complexityDecorator Pattern vs simple...

View Article

PHP: decorating async Guzzle calls - handling exceptions

G'day: This is a continuation from my earlier article - "PHP: decorating async Guzzle calls". Hopefully it stands on its own merit, but perhaps y/day's one (ie: Thursday 17/11/2016) will offer some...

View Article


PHP: decorating async Guzzle calls - handling exceptions a different way

G'day:The previous article ("PHP: decorating async Guzzle calls - handling exceptions") detailed how I've used a simple decorator to intercept 4xx & 5xx HTTP responses from my web service and remap...

View Article

PHP: decorating async Guzzle calls - caching

G'day:This continues my series of exercise in decorating guzzle calls. Recap:PHP: decorating async Guzzle callsPHP: decorating async Guzzle calls - handling exceptionsPHP: decorating async Guzzle calls...

View Article


PHP: decorating async GuzzleHttp calls - multiple decorators

G'day:Here's yet another article about decorating an async GuzzleHttp adapter. So far in the series I've got this lot:PHP: decorating async GuzzleHttp callsPHP: decorating async GuzzleHttp calls -...

View Article

PHP: decorating async GuzzleHttp calls - more methods

G'day:Here's yet another article about decorating an async GuzzleHttp adapter. So far in the series I've got this lot:PHP: decorating async GuzzleHttp callsPHP: decorating async GuzzleHttp calls -...

View Article


Thoughts and implementation on that daft FizzBuzz interview question

G'day:I'm not quite sure where I'm gonna go with this article yet. Usually when I start an article like this it ends up being a bit rubbish, so... well sorry if it turns out this way this time...

View Article

Code Twats and Code Bullies

G'day:This is something I should have perhaps written about a while back when it first got on my radar, but was never sure how to make a decent-sized article of, so didn't bother. However the situation...

View Article

cf(it's a~)live.net

G'day:I received some excellent news from Russ Michaels this morning:cflive.net is now back, thanks to hostek who donated me a server for cflive and cfmldeveloper, which will also be back soon. Cool! I...

View Article
Browsing all 1332 articles
Browse latest View live