ColdFusion Posts Around the World
Adam Cameron's Dev Blog
G'day:
I've been using any and unknown in TypeScript for a while now - enough to know that ESLint hates one and tolerates the other, and that sometimes you need to do x as unknown as y to make the compiler shut up. But knowing they exist and actually...
Adam Cameron's Dev Blog
G'day:
I'm learning Python. Not because I particularly want to, but because my 14-year-old son Zachary has IT homework and I should probably be able to help him with it. I've been a web developer for decades, but Python's never been part of my stack. Time to fix that gap.
This art...
Adam Cameron's Dev Blog
G'day:
Earlier this evening I published TypeScript decorators: not actually decorators. And about 5min after it went live, it vanished. Weird. Looking in the back-end of Blogger, I see this warning:
Adam Cameron's Dev Blog
G'day:
I've been working through TypeScript classes, and when I got to decorators I hit the @ syntax and thought "hang on, what the heck is all this doing inside the class being decorated? The class shouldn't know it's being decorated. Fundamentally it should...
Adam Cameron's Dev Blog
G'day:
I've been working through TypeScript classes, and today I hit mixins. For those unfamiliar, mixins are a pattern for composing behavior from multiple sources - think Ruby's modules or PHP's traits. They're basically "poor person's composition" - a way to share behavior between clas...
Adam Cameron's Dev Blog
G'day:
I've been working through TypeScript classes, and today I hit constructor overloading. Coming from PHP where you can't overload constructors at all (you get one constructor, that's it), the TypeScript approach seemed straightforward enough: declare multiple signatures, implement on...
Adam Cameron's Dev Blog
G'day:
I've been working through classes in TypeScript as part of my learning project, and today I hit static methods. Coming from PHP, one of the first questions that popped into my head was "how does late static binding work here?"
In PHP, you can do this:
Adam Cameron's Dev Blog
G'day:
This is one of those "I thought I was learning one thing but ended up discovering fifteen other weird JavaScript behaviors" situations that seems to happen every time I try to understand a JavaScript feature properly.
I was working through my TypeScript learning project, sp...
Adam Cameron's Dev Blog
G'day:
This is one of those "the documentation says one thing, the tooling says another, what the hell am I actually supposed to do?" situations that seems to crop up constantly in modern JavaScript tooling.
I was working through TypeScript enums as part of my learning project, an...
Adam Cameron's Dev Blog
G'day:
I finally relented on the Steam nagging screen, and am writing a review of Starfield, which I have been playing pretty much daily since it was released. I just noticed I'm writing an essay rather tha...
Adam Cameron's Dev Blog
we wanna render th...
Adam Cameron's Dev Blog
G'day
Chortle:
I'm new to cf development and recently joined the cfml slack community. I noticed some curmudgeonly posts from this fella at first and didn't think anything...
Adam Cameron's Dev Blog
G'day:
I'm back on the case working through "Symfony: The Fast Track". This will be part ...
Adam Cameron's Dev Blog
Howdy partner:
Well here's something interesting (well: to me, anyhow). I will be attending the
Adam Cameron's Dev Blog
G'day:
This is a follow on from the previous two articles:
Adam Cameron's Dev Blog
G'day:
Note: there's no real original research / thinking in this. it's just the result of me googling stuff, and arriving at a result. I'm writ...
Adam Cameron's Dev Blog
G'day:
This is more an admission of "not initially thinking things through" on my part, but the outcome has helped me a lot, so in case there ar...
Adam Cameron's Dev Blog
G'day:
Once again I'm gonna continue working through "Symfony: The Fast Track". This will...
Adam Cameron's Dev Blog
G'day:
Today I'm gonna continue working through "Symfony: The Fast Track". This will be p...
Adam Cameron's Dev Blog
G'day:
A while back I documented how to create/configure a
Adam Cameron's Dev Blog
G'day: Sit. rep. OK so last time (PHP / Symfony: ...
Adam Cameron's Dev Blog
G'day: This new PHP app we're shifting in at work is gonna be running Symfony. The other bods on the dev team have been working through "
Adam Cameron's Dev Blog
G'day: Whilst looking for something else, I came across a ticket in TestBox's Jira system the other day that I had voted for a while back:
Adam Cameron's Dev Blog
G'day: Just in case you happen to read this blog, but not Charlie Arehart's one, pls go over to his blog and read his article "
Adam Cameron's Dev Blog
G'day: One of my colleagues at work asked me about this, but it's a good topic to think about, so am gonna write about it here. The questi...
Adam Cameron's Dev Blog
G'day: As posted in the CFML Slack channel by Adobe ColdFusion star, Mark Takata, CF2023 is in public beta now. One can sign up for it here:
Adam Cameron's Dev Blog
G'day: I like to think I'm reasonably confident with my regex usage, indeed have in the past written at length on regex implementation and usage ...
Adam Cameron's Dev Blog
G'day: I'm getting back to this spatie/async library today (see "
Adam Cameron's Dev Blog
G'day: In my article yesterday ("CFML: runAsync doesn't seem ve...
Adam Cameron's Dev Blog
G'day: Well here's a fine use of my frickin time. Lucee's released a new "stable" version and we're being encouraged to use it. Today I up...
Adam Cameron's Dev Blog
G'day: I was wanting to compare how other languages dealt with the promise-style async processing, as I was not completely convinced by what I wa...
Adam Cameron's Dev Blog
G'day: I'm revisiting an article I posted in December, fishing for a coupla devs:
Adam Cameron's Dev Blog
G'day: For no good reason at all, other than it piquing my interest, I've decided to mess around with
Adam Cameron's Dev Blog
G'day: Today's plan I sat down to write an article and some code using the spa...
Adam Cameron's Dev Blog
G'day: There's plenty of stuff online about how to do this the old deprecated way, but I couldn't find any example of how to do it the "current" ...
Adam Cameron's Dev Blog
G'day: Whilst working on my recent code implemneting a postcode look-up ...
Adam Cameron's Dev Blog
G'day: Context In yesterday's article - TDD &...
Adam Cameron's Dev Blog
G'day: Hopefully this one is shorter than the previous monster (
Adam Cameron's Dev Blog
G'day: Background I have a real-world requirement to get a small web service written: one that wraps up calls to the
Adam Cameron's Dev Blog
G'day: This is a quick follow-on from the previous article, "
Adam Cameron's Dev Blog
G'day: First up, I've messed around in the last coupla articles setting up some PHP8.2 containers (
Adam Cameron's Dev Blog
G'day: I'm pretty much just noting down how I've progressed my PHP8 test app in this one (see
Adam Cameron's Dev Blog
G'day: I'm reacquainting myself with PHP, and part of this process is chucking some tests together to demonstrate to myself how bits and pieces o...
Adam Cameron's Dev Blog
G'day: I need to do some PHP work, and for that I need to have a PHP dev environment. I'm very rusty when it comes to PHP - I've not touched it f...
Adam Cameron's Dev Blog
G'day: I've been dusting off my out-of-date PHP skills (such as they are), and I had a right arse of a time finding any documentation for Primary...
Adam Cameron's Dev Blog
G'day: I've previously posted similar offerings: Work with me ...
Adam Cameron's Dev Blog
G'day: This is off-topic and has no technical content to it at all. It is about a personal situation I have. This is the only place I have to pos
Adam Cameron's Dev Blog
G'day: The Kotlin koans are still focusing on operator overloading, so so am I. Previously (
Adam Cameron's Dev Blog
G'day: Yet another example of me starting a Kotlin koans exercise, seeing the first interesting word in the koans task description and getting lo
Adam Cameron's Dev Blog
G'day: A question came up on the CFML Slack forums today about some "unexpected behaviour" with ColdFusion's and operator. Here's an
Adam Cameron's Dev Blog
G'day: Apologies in advance if this article is a bit rubbish. I'm not really "feeling it" today with the writing, but I need to crack on with the
Adam Cameron's Dev Blog
G'day: Because Elon Musk is a monumental cock that no-one at all should be encouraging (other than to fuck off to Mars on one of his rocketships,
Adam Cameron's Dev Blog
G'day: This has come up often enough that it's probably worth having something clear and googleable around for people to find when this crops up
Adam Cameron's Dev Blog
G'day: I started doing the Kotlin koans a while back, and discuss my meagre progress in these articles:
Adam Cameron's Dev Blog
G'day: Not sure what this article is going to end up being about. However I am hovering over the "New Project" button in IntelliJ, and am gonna a
Adam Cameron's Dev Blog
G'day: In my "Kotlin/Gradle: abstracting versions into
Adam Cameron's Dev Blog
G'day: I sat down to continue my "next" blog article, which will be about delegated properties in Kotlin (will cross link here once it's done), a
Adam Cameron's Dev Blog
G'day: Earlier today I wrote "Kotlin / TDD: writing the
Adam Cameron's Dev Blog
G'day: One of my tasks @ work is to check out how to test a web service. I started with this yesterday's article:
Adam Cameron's Dev Blog
G'day: There's a bit of archaeology going on here: I started writing this in Jan 2022, but never got past the first para.
Adam Cameron's Dev Blog
G'day: Currently I have just been following the instructions fairly slavishly when it comes to my dependency management in my application. If som
Adam Cameron's Dev Blog
G'day: So 50% of this was a largely fruitless exercise in the end. Other than the fact that I learned some stuff that I think is worth k
Adam Cameron's Dev Blog
G'day: I needed to use a "data class" in my article last night ("
Adam Cameron's Dev Blog
G'day: One thing I did not look at in any of my examinations of Kotest,
Adam Cameron's Dev Blog
G'day: This should be a short one. I've had this text lying around for a while, wondering if I could spin it out to be a longer article somehow,
Adam Cameron's Dev Blog
G'day: In the rest of my Kotlin articles thusfar I've been using
Adam Cameron's Dev Blog
G'day: I'm just continuing on in the Kotlin "Classes" docs, carrying on from my earlier article "
Adam Cameron's Dev Blog
G'day I'm going to pass this on to the CFWheels Dev Team, but it's applicable in anyone's code, so posting it here first. A lot of t
Adam Cameron's Dev Blog
G'day: In my other random explorations of the Kotlin language, I've already used si
Adam Cameron's Dev Blog
G'day: More Kotlin learning/investigation, following on from these other Kotlin article
Adam Cameron's Dev Blog
https://tinyurl.com/45karnk7
Adam Cameron's Dev Blog
G'day: No content in this one, I just want something I can find when I search for how to config a MySQL datasource in Application.cfc in ColdFusi
Adam Cameron's Dev Blog
G'day: Here's some new unguided Kotlin experimentation, following on from other similar
Adam Cameron's Dev Blog
G'day: Because no-one has specifically screams "FFS stop it, Cameron", I'm gonna continue with another random Kotlin noobie investigation / brain
Adam Cameron's Dev Blog
G'day: OK so you probably weren't talking about application scope proxies, but I was in my previous article:
Adam Cameron's Dev Blog
G'day: This exercise came about from a bug in CFWheels we encountered today. We got a notification that a user had received a 500-error, a
Adam Cameron's Dev Blog
G'day: I needed to have a mess around with ProxySQL today. I knocked together a quick Github
Adam Cameron's Dev Blog
G'day: Whilst writing today's previous article ("CFML: inv
Adam Cameron's Dev Blog
G'day: I noticed this yesterday when I was writing my "Kot
Adam Cameron's Dev Blog
G'day: Whether you like it or not, I'm just gonna continue on from yesterday's random effort:
Adam Cameron's Dev Blog
G'day: This is going to be another fairly stream-of-consciousness effort, much like my earlier "
Adam Cameron's Dev Blog
G'day: I saw an odd question today. Me mate Ray was messing around with the
Adam Cameron's Dev Blog
G'day: As the title suggests, I've done this before: Invest
Adam Cameron's Dev Blog
G'day: I am currently wondering whether this one will ever see light-of-day. It's very much what it says on the tin: I've been messing with my Ko
Adam Cameron's Dev Blog
G'day This whole thing is gonna be a cross between a note-to-self and a pseudo-stream-of-consciousness as I set up a new Kotlin project in Intell
Adam Cameron's Dev Blog
G'day: I've done this twice before: Work with me here
Adam Cameron's Dev Blog
G'day: Yes, it's very odd for me to have something to say about JS stuff. I don't imagine there's anything new here for people that actually do J
Adam Cameron's Dev Blog
G'day: This will be super short as there's not much to say, I just want to note the code down for posterity, and to cross-reference elsewhere.
Adam Cameron's Dev Blog
G'day: In my last article (A super-quick Observer Pattern
Adam Cameron's Dev Blog
G'day: There's a possible "Betteridge's law of headlines
|