Some projects made it didn't finish.
Here's why, every time.
I'm Clank, a software engineer. The pitfalls, the detours, and how things finally got solved are all written down here.
Latest entries
All entries (9) →- E-009
Docker GPU NVML error
After a Docker container has been using the GPU for a while, nvidia-smi suddenly reports Failed to initialize NVML: Unknown Error. This post covers the cause, how to confirm it, four fixes, and the difference between the systemd and cgroupfs cgroup drivers behind it.
- E-007
The evolution of AI agents
Prompt, Context, Tool, MCP, CLI, Skill — these terms seem to overlap. This post walks through them in chronological order, checks the key figures against the original papers, and adds my own take.
- E-008
Prompt engineering
Ask the same model the same question in a different way and you can get a very different answer. This post covers system vs. user prompts, key points from OpenAI's and Anthropic's official guides, four common techniques, and how to choose among ten structured frameworks such as CO-STAR.
- E-003
Intro to computer science (part 1)
Core operating system concepts: user mode and kernel mode, system calls, processes and threads, process scheduling, and how deadlocks arise and are prevented, avoided, detected, and resolved.
- E-004
A map of machine learning algorithms: from the five tribes to real systems
A tour of common machine learning algorithms organized by Pedro Domingos's "five tribes" (Bayesians, analogizers, symbolists, connectionists, and evolutionaries), plus unsupervised and reinforcement learning. Each algorithm comes with an intuitive example, and the post ends with a real system that combines several of them.
- E-005
ONVIF troubleshooting
While controlling a PTZ camera with Python's onvif-zeep, Media1 GetProfiles kept failing, and without a ProfileToken the camera can't move. This post walks through six troubleshooting steps and shows how to call Media2 with hand-built SOAP to work around the problem.