TDD: are tests that just "measure twice, cut once" legit?
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. I have a few articles like this, and I've decided to either complete them if...
View ArticleKotlin / TDD: writing the tests for a small web service
G'day:One of my tasks @ work is to check out how to test a web service. I started with this yesterday's article: Kotlin: getting the khttp library installed and running… then… getting rid of it and...
View ArticleKotlin / TDD: using JetBrains/Exposed to read from the DB
G'day:Earlier today I wrote "Kotlin / TDD: writing the tests for a small web service". I focused on learning how to make HTTP requests and test the results thereof. The last bit I needed to do for the...
View ArticleKotlin / JUnit5: making a test conditional based on a custom condition
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), and as a first step I ran my tests to remind myself where...
View ArticleKotlin: looking at delegated properties
G'day:In my "Kotlin/Gradle: abstracting versions into a config file, and wondering what delegated properties are" article from a few days ago, I landed upon some syntax in my build.gradle.kts file that...
View ArticleKotlin / Ktor: G'day world from a Docker container
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 attempt to at least get to a "G'day world" sort of...
View ArticleKotlin: more koans, more random investigation
G'day:I started doing the Kotlin koans a while back, and discuss my meagre progress in these articles:Kotlin: an afternoon learning Kotlin stuffKotlin: the next morning learning Kotlin stuffI used the...
View ArticleCFML: addressing confusion around arrays returned from Java methods and using...
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 for them.ContextSometimes it's useful to call a Java...
View ArticleMonumental cock
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, I guess), I'm gonna do my bit and wind-down my usage of...
View ArticleKotlin: overriding operators
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 Kotlin stuff so am hoping if I get a move on with...
View ArticleCFML: AND and OR operators not doing what one might expect
G'day:A question came up on the CFML Slack forums today about some "unexpected behaviour" with ColdFusion's and operator. Here's an example (CF2021): cf-cli>5 && 77cf-cli>5 || 75Compared...
View ArticleKotlin: ranges
G'day:Yet another example of me starting a Kotlin koans exercise, seeing the first interesting word in the koans task description and getting lost in researching how the thing works.Test class...
View ArticleKotlin: more operator overloading
G'day:The Kotlin koans are still focusing on operator overloading, so so am I. Previously (Kotlin: overriding operators), I had a mess around with overloading:unary plus operatorcompareTo...
View ArticleOff-topic / no technical content: I have a dilemma
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 post large wodges of text publicly, hence putting it here....
View ArticleI need another two devs
G'day:I've previously posted similar offerings:Work with me hereWork with me here - revisitedWork with me here - revisited …againWe are growing our team some more, this time looking for two devs....
View ArticlePHP: PrimaryReadReplicaConnection - configuration / usage example
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 PrimaryReadReplicaConnections via Google, so I'm adding...
View ArticlePHP: returning to PHP and setting up a PHP8 dev environment
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 for 2-3 years or so and my old brain doesn't hold on to...
View ArticlePHP: looking at ways of making HTTP requests
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 of it works. This has the added bonus of being able to put...
View ArticleDocker: adding a MariaDB container to my PHP & Nginx ones
G'day:I'm pretty much just noting down how I've progressed my PHP8 test app in this one (see PHP: returning to PHP and setting up a PHP8 dev environment and other articles around this date tagged with...
View ArticleSymfony: installing in my PHP8 container (for a second time, as it turns out)
G'day:First up, I've messed around in the last coupla articles setting up some PHP8.2 containers (PHP: returning to PHP and setting up a PHP8 dev environment), adding MariaDB (Docker: adding a MariaDB...
View Article