ZNZikani Nyirenda Mwaseincode.zikani.me·May 30 · 6 min readHow 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 te00
ZNZikani Nyirenda Mwaseincode.zikani.me·Feb 20 · 6 min readGenerating 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 hundr00
ZNZikani Nyirenda Mwaseincode.zikani.me·Feb 8 · 6 min readMachine 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...00
ZNZikani Nyirenda Mwaseincode.zikani.me·Jan 30 · 4 min readUsing the Zig built LightPanda browser for web automation via playwright-goI am working on a browser automation thingy and want to try supporting LightPanda as I am interested in seeing if it may be a good lightweight alternative to Chromium for CI (Continuous Integration) tests. Komaso (that’s Chichewa, you can read it as ...00
ZNZikani Nyirenda Mwaseincode.zikani.me·Jan 17 · 4 min readPreparation 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. Thinki00