How to populate a PostgreSQL test container in Go for integration testingIn this article I will show you how to setup a minimal test using testcontainers-go. We are going to extend some ideas from my last article on generating fake data to to insert random data into the teMay 30 · 6 min readcode.zikani.me
Generating test data in JSON, CSV and SQL formats using Go and FakerSometimes, you may need to generate fake data for use for testing behavior of your systems or for load or volume testing, for example to test that pagination behavior works well with hundreds or hundrFeb 20 · 6 min readcode.zikani.me
Machine Learning based SPAM detection using ONNX in JavaIn this article I go over how I implemented a Spring Boot API for Spam Detection using an advanced anti-spam model from the Hugging Face onnx-community and Microsoft’s ONNX Runtime for Java. We will package the API up as a Docker image which we can r...Feb 8 · 6 min readcode.zikani.me
Preparation Isn’t Enough: Preempting Your Future SelfWhenever you work on anything, it's typically to address a present or future need or activity. As much as that is the case, most tasks that people work on were defined or specified in the past. ThinkiJan 17 · 4 min readcode.zikani.me
Pipelined PostgreSQL Queries in GoIn this article we will see how to leverage Postgres support for pipelining queries which “allows applications to send a query without having to read the result of the previously sent query”. This allows you for example to perform batch updates which...Dec 5, 2025 · 7 min readcode.zikani.me