Fixing Golang GORM AutoMigrate postgresql error
With the release of new pg driver AutoMigrate is throwing errors...
In my new Go project that was using GORM I started getting error:
pq: got 2 parameters but the statement requires 1
With the release of new pg driver AutoMigrate is throwing errors...
In my new Go project that was using GORM I started getting error:
pq: got 2 parameters but the statement requires 1
Free database management tool in Linux and Windows
DBeaver is a universal database management tool and SQL client designed for developers, database administrators, analysts, and anyone who works with data professionally.
Understand Ollama concurrency, queueing, and how to tune OLLAMA_NUM_PARALLEL for stable parallel requests.
This guide explains how Ollama handles parallel requests (concurrency, queuing, and resource limits), and how to tune it using the OLLAMA_NUM_PARALLEL environment variable (and related knobs).
A bit of system administration
Probably shoud call this platform engineering now. Here are some notes on how to install connect and remove the Portainer - docker images and containers manager UI.
some useful venv commands
Venv is a virtual environment management commandline tool. A much more simple one, comparing to Anaconda. Here are some useful venv commands.
When you quickly need some async happening in the cloud
Short comparison of the RabbitMQ on AWS EKS and AWS SQS
VS Code extension installs by language
I aggregated Visual Studio Code extension installation statistics by programming language and framework. Python leads by a wide margin, then C/C++ is second.
When you need to pull out image from a PDF file
Sometimes there is a real need to save images from a PDF without screenshotting or rendering the PDF on screen. pdfimages helps with that.
AI-assisted coding where you describe, not type
Vibe coding is an AI-driven programming approach where developers describe desired functionality in natural language and let AI tools generate the code automatically — with minimal direct writing.
Visual Studio Code Cheatsheet is here
Quickly have a look inside jwt token
Here are some effective methods for decoding and printing JWT tokens directly from the command line:
Encode and decode Base64 on Windows, Linux, and Mac.
This cheatsheet shows how to encode and decode Base64 on Windows, Linux, and macOS with certutil, PowerShell, and base64, including the flags that differ by system.
Sometomes you need to add a page to pdf...
Or another day you want to extract image and text from the pdf.
Whole set of MM* tools is on EOL...
I’ve used MMDetection (mmengine, mdet, mmcv) quite a bit, And now looks like it’s out of the game. It’s a pity. I liked it’s model zoo.
Sometimes you need to add a form submission to your hugo - based website.
Not every second Friday, but still… We have two mainstream approaches
Running any executable as a linux service
Here’s a set of instructions on How to Configure to Run any Executable as a Service in Linux with Systemd.
Get new posts on AI systems, Infrastructure, and AI engineering.