RSS Amplifier

Blog

Code inComplete

Recent content on Code inComplete

codeincomplete.comRSS feed ↗5 posts

Latest posts

AI, ML, and Large Language Models

I often describe myself as a generalist software engineer with a broad range of experience in web app development, system development, front end, back end, devops, etc, but I must confess I have a somewhat blind spot when it comes to data science. In the past, I’ve worked with machine learning at Eagleview , constructed analytic dashboards at LiquidPlanner , and tackled an array of random…

Testing Dates in Elixir

I recently worked on an Elixir/Phoenix project with some complex date processing logic and needed to test the behaviour in a simple and predictable way. Unfortunately any code that directly uses DateTime.utc_now will generate different results every time we run the test suite and make it hard to assert the correct results. For example, consider the following trivial example: defmodule Event…

Building a Website with Hugo and Netlify

This website has been dormant for a couple of years while I’ve been busy elsewhere, but I’m hoping to be more active in 2020. I’m resurrecting this site and slowly dipping my toes back into the tech community. I thought it might be valuable to start by writing up a little on how the site itself is made… Table of Contents Static Websites Markdown Content Extending Markdown…

Javascript State Machine 3.0

Earlier this year, the javascript-state-machine libary underwent a major rewrite for version 3.0 in order to support more advanced use cases - as well as tidy up some of the existing ones. It has been available as a pre-release candidate for the last few months and has now been formally released as v3.0.1 Installing You can install using npm: npm install javascript-state-machine Highlights…

Javascript State Machine 3.0 RC1

The javascript-state-machine library is having a major rewrite for version 3.0 in order to support more advanced use cases - as well as tidy up some of the existing ones. It is now available as a pre-release candidate for early adopters. Installing You can install the release candidate using npm: npm install --save javascript-state-machine@3.0.0-rc.1 Highlights Improved Construction. Arbitrary…