ColdFusion Posts Around the World.
ColdFusion Posts Around the World. OT: StarfieldAdam Cameron's Dev BlogG'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...I'm a big meany againAdam Cameron's Dev BlogG'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...PHP / Symfony: working through "Symfony: The Fast Track", part 5: Twig stuff, and irritationAdam Cameron's Dev BlogG'day: I'm back on the case working through "Symfony: The Fast Track". This will be part ...CFML: Into the Box 2023Adam Cameron's Dev BlogHowdy partner: Well here's something interesting (well: to me, anyhow). I will be attending theGetting Windows Terminal to open my Ubuntu Bash session in the right directoryAdam Cameron's Dev BlogG'day: This is a follow on from the previous two articles:Changing my WSL Bash prompt to include my current Git branchAdam Cameron's Dev BlogG'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...Changing where I home my source code dramatically speeds up my Windows / WSL2 / Docker environmentAdam Cameron's Dev BlogG'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...PHP / Symfony: working through "Symfony: The Fast Track", part 4: not really about Symfony, this oneAdam Cameron's Dev BlogG'day: Once again I'm gonna continue working through "Symfony: The Fast Track". This will...PHP / Symfony: working through "Symfony: The Fast Track", part 3: doing some ORM / DB configAdam Cameron's Dev BlogG'day: Today I'm gonna continue working through "Symfony: The Fast Track". This will be p...Symfony / Doctrine / DBAL: convincing/configuring it to use a PrimaryReadReplicaConnection connectionAdam Cameron's Dev BlogG'day: A while back I documented how to create/configure aPHP / Symfony: working through "Symfony: The Fast Track", part 2: creating a controller (eventually)Adam Cameron's Dev BlogG'day: Sit. rep. OK so last time (PHP / Symfony: ...PHP / Symfony: working through "Symfony: The Fast Track", part 1: preparation and pre-requisites (and not actually any Symfony!)Adam Cameron's Dev BlogG'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 "CFML / TestBox: spying on a method without mocking itAdam Cameron's Dev BlogG'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:FAO ColdFusion users: you need to address a critical vuln in your systemAdam Cameron's Dev BlogG'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 "PHP / PHPUnit / TDD: unit testing abstract classes. Or not.Adam Cameron's Dev BlogG'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...CFML: ColdFusion 2023 is in public beta nowAdam Cameron's Dev BlogG'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:TIL: something new about regex processing that made me feel dumbAdam Cameron's Dev BlogG'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 ...PHP: looking at spatie/async some moreAdam Cameron's Dev BlogG'day: I'm getting back to this spatie/async library today (see "ColdFusion: bug in runAsyncAdam Cameron's Dev BlogG'day: In my article yesterday ("CFML: runAsync doesn't seem ve...Lucee bug surfaced by CFWheels's "architecture"Adam Cameron's Dev BlogG'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...CFML: runAsync doesn't seem very asynchronous on LuceeAdam Cameron's Dev BlogG'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...PHP: I need another two devsAdam Cameron's Dev BlogG'day: I'm revisiting an article I posted in December, fishing for a coupla devs:PHP: looking at spatie/asyncAdam Cameron's Dev BlogG'day: For no good reason at all, other than it piquing my interest, I've decided to mess around withUgh. PHPUnit and dealing with deprecation noticesAdam Cameron's Dev BlogG'day: Today's plan I sat down to write an article and some code using the spa...PHP / Doctrine/DBAL: adding a logger to an connectionAdam Cameron's Dev BlogG'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" ...PHP 8: a quick look at enumsAdam Cameron's Dev BlogG'day: Whilst working on my recent code implemneting a postcode look-up ...PHP: refactoring logic out of a controller and into a service classAdam Cameron's Dev BlogG'day: Context In yesterday's article - TDD &...TDD & Symfony & Monolog: adding some logging to that endpoint from last timeAdam Cameron's Dev BlogG'day: Hopefully this one is shorter than the previous monster (TDD & Symfony: creating a small web service end pointAdam Cameron's Dev BlogG'day: Background I have a real-world requirement to get a small web service written: one that wraps up calls to theSymfony: getting rid of App namespace and using a well-formed oneAdam Cameron's Dev BlogG'day: This is a quick follow-on from the previous article, "Symfony: installing in my PHP8 container (for a second time, as it turns out)Adam Cameron's Dev BlogG'day: First up, I've messed around in the last coupla articles setting up some PHP8.2 containers (Docker: adding a MariaDB container to my PHP & Nginx onesAdam Cameron's Dev BlogG'day: I'm pretty much just noting down how I've progressed my PHP8 test app in this one (seePHP: looking at ways of making HTTP requestsAdam Cameron's Dev BlogG'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...PHP: returning to PHP and setting up a PHP8 dev environmentAdam Cameron's Dev BlogG'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...PHP: PrimaryReadReplicaConnection - configuration / usage exampleAdam Cameron's Dev BlogG'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...I need another two devsAdam Cameron's Dev BlogG'day: I've previously posted similar offerings: Work with me ...Off-topic / no technical content: I have a dilemmaAdam Cameron's Dev BlogG'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 posKotlin: more operator overloadingAdam Cameron's Dev BlogG'day: The Kotlin koans are still focusing on operator overloading, so so am I. Previously (Kotlin: rangesAdam Cameron's Dev BlogG'day: Yet another example of me starting a Kotlin koans exercise, seeing the first interesting word in the koans task description and getting loCFML: AND and OR operators not doing what one might expectAdam Cameron's Dev BlogG'day: A question came up on the CFML Slack forums today about some "unexpected behaviour" with ColdFusion's and operator. Here's anKotlin: overriding operatorsAdam Cameron's Dev BlogG'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 theMonumental cockAdam Cameron's Dev BlogG'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,CFML: addressing confusion around arrays returned from Java methods and using them with CFML codeAdam Cameron's Dev BlogG'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 upKotlin: more koans, more random investigationAdam Cameron's Dev BlogG'day: I started doing the Kotlin koans a while back, and discuss my meagre progress in these articles:Kotlin / Ktor: G'day world from a Docker containerAdam Cameron's Dev BlogG'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 aKotlin: looking at delegated propertiesAdam Cameron's Dev BlogG'day: In my "Kotlin/Gradle: abstracting versions intoKotlin / JUnit5: making a test conditional based on a custom conditionAdam Cameron's Dev BlogG'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), aKotlin / TDD: using JetBrains/Exposed to read from the DBAdam Cameron's Dev BlogG'day: Earlier today I wrote "Kotlin / TDD: writing theKotlin / TDD: writing the tests for a small web serviceAdam Cameron's Dev BlogG'day: One of my tasks @ work is to check out how to test a web service. I started with this yesterday's article:TDD: are tests that just "measure twice, cut once" legit?Adam Cameron's Dev BlogG'day: There's a bit of archaeology going on here: I started writing this in Jan 2022, but never got past the first para.Kotlin/Gradle: abstracting versions into a config file, and wondering what delegated properties areAdam Cameron's Dev BlogG'day: Currently I have just been following the instructions fairly slavishly when it comes to my dependency management in my application. If somKotlin: getting the khttp library installed and running... then... getting rid of it and using something elseAdam Cameron's Dev BlogG'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 kKotlin: Data classes & componentN methodsAdam Cameron's Dev BlogG'day: I needed to use a "data class" in my article last night ("Data-driven tests in JUnit and Kotest (and starting with TestBox & PHPUnit)Adam Cameron's Dev BlogG'day: One thing I did not look at in any of my examinations of Kotest,DRY: don't repeat yourselfAdam Cameron's Dev BlogG'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,Kotlin: looking at JUnit instead of KotestAdam Cameron's Dev BlogG'day: In the rest of my Kotlin articles thusfar I've been usingKotlin: abstract classes, backing fields/properties, lateinit, and frustrationAdam Cameron's Dev BlogG'day: I'm just continuing on in the Kotlin "Classes" docs, carrying on from my earlier article "CFWheels: a recommendation for their dev teamAdam Cameron's Dev BlogG'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 tKotlin: investigating classesAdam Cameron's Dev BlogG'day: In my other random explorations of the Kotlin language, I've already used siKotlin: scope functions (mostly)Adam Cameron's Dev BlogG'day: More Kotlin learning/investigation, following on from these other Kotlin articleCFML: working MySQL datasource in Application.cfc (this is just a note-to-self/Google)Adam Cameron's Dev BlogG'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 ColdFusiKotlin: looking at Numbers, more Kotest stuff, and something about "function literals with receivers"?Adam Cameron's Dev BlogG'day: Here's some new unguided Kotlin experimentation, following on from other similarKotlin: another Friday afternoon, another round of random investigationAdam Cameron's Dev BlogG'day: Because no-one has specifically screams "FFS stop it, Cameron", I'm gonna continue with another random Kotlin noobie investigation / brainCFML: speaking of application scope proxiesAdam Cameron's Dev BlogG'day: OK so you probably weren't talking about application scope proxies, but I was in my previous article:CFML: looking at how CFWheels messes up a loopAdam Cameron's Dev BlogG'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, aExamining how ProxySQL worksAdam Cameron's Dev BlogG'day: I needed to have a mess around with ProxySQL today. I knocked together a quick GithubKotlin: there's no such thing as static, apparentlyAdam Cameron's Dev BlogG'day: Whilst writing today's previous article ("CFML: invCFML: invokeImplicitAccessor on CFCsAdam Cameron's Dev BlogG'day: I noticed this yesterday when I was writing my "KotKotlin: the next morning learning Kotlin stuffAdam Cameron's Dev BlogG'day: Whether you like it or not, I'm just gonna continue on from yesterday's random effort:Kotlin: an afternoon learning Kotlin stuffAdam Cameron's Dev BlogG'day: This is going to be another fairly stream-of-consciousness effort, much like my earlier "CFML: outputting text from within inline Java in CFMLAdam Cameron's Dev BlogG'day: I saw an odd question today. Me mate Ray was messing around with theCFML: testing applicationStop behaviour. Again.Adam Cameron's Dev BlogG'day: As the title suggests, I've done this before: InvestKotlin / Gradle / Kotest random explorationAdam Cameron's Dev BlogG'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 KoKotlin: creating a project and getting some code (and tests) to runAdam Cameron's Dev BlogG'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 IntellWork with me here - revisited ...againAdam Cameron's Dev BlogG'day: I've done this twice before: Work with me hereJS: Server-sent eventsAdam Cameron's Dev BlogG'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 JLucee: Creating a log file programmaticallyAdam Cameron's Dev BlogG'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.CFML: Implementing an ObservableScopeAdapter using the Adapter Pattern, Decorator Pattern and Observer PatternAdam Cameron's Dev BlogG'day: In my last article (A super-quick Observer PatternA super-quick Observer Pattern implementation in CFML, and I skip TDD. Or do I?Adam Cameron's Dev BlogG'day: There's a possible "Betteridge's law of headlinesCFML: Filler article with code but no TDD at allAdam Cameron's Dev BlogG'day: I'm still working on the TinyTestFramework though: someWhy I'm doing this TinyTestFramework exerciseAdam Cameron's Dev BlogG'day: I have listened to both Modernize or Die® andIf yer a CFML dev, you should consider financially supporting trycf.comAdam Cameron's Dev BlogG'day: I'll keep this on-point today. If you are a CFML developer, you will be aware and likely useCFML: fixing a coupla bugs in my recent work on TinyTestFrameworkAdam Cameron's Dev BlogG'day: Last week I did some more work on my TinyTestFramework:CFML: adding aroundEach to TinyTestFramework was way easier than I expectedAdam Cameron's Dev BlogG'day: I'm still pottering around with my TinyTestFramework. Last nightCFML: for the sake of completeness, here's the afterEach treatmentAdam Cameron's Dev BlogG'day: This immediately follows on from "CFML: Adding beCFML: Adding beforeEach handlers to my TinyTestFramework. Another exercise in TDDAdam Cameron's Dev BlogG'day: I have to admit I'm not sure where I'm going with this one yet. I dunno how to implement what I'm needing to do, but I'm gonna start withRunning CFML code on trycf.com via a remote HTTP requestAdam Cameron's Dev BlogG'day: This ended up being more of a rabbit hole than I expected it to be. But in the process I've learned a bit more about curl, PHP, Python, JSColdFusion: probable bug with the implementation of the rest operatorAdam Cameron's Dev BlogG'day: |