You get what you measure – be careful what you incentivise

I worked on a project where there was a ‘bug bounty’ with prizes for fixing the most bugs in a month. The developer that won in the first month fixed an incredible number of bugs compared to all other developers and won an iPod. How did he fix more than everyone else? He searched far back in the backlog and picked up and fixed all the simplest/easiest/quickest to fix bugs. A lot of those issues resolved were trivial ‘nice to haves’ that didn’t add any substantial value.

Be careful what you measure because by incentivising something that’s what you’ll end up with, whether that’s really what you were aiming to achieve or not.

Running local LLMs: ollama + opencode with gemma4:e2b

Assuming you have ollama installed and a local model already downloaded, install opencode following steps here.

Create an opencode.json with config pointing to your downloaded model:

{
"$schema": "https://opencode.ai/config.json",
"provider": {
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ollama",
"options": {
"baseURL": "http://localhost:11434/v1"
},
"models": {
"gemma4": {
"name": "gemma4:e4b"
}
}
}
}
}

Start opencode from ollama with:

ollama launch opencode

Scroll down to other models and select the model you configured above.

You have a backup for your homelab pfSense config, right?

I’ve fallen into the trap of not having backups for parts of my homelab, in this case pfsense.

I’ve been using pfsense to bridge traffic between my home network and a vlan in my Proxnox homelab (documented here), but after attempting to update my config to use a static up for the wan up, apparently I broke all access to the web config hi, and then after trying to put it back, I still can’t access it, a,though it appears to be running running (routing traffic from my home lan to my homelab lan as expected).

I don’t have a backup of the settings, or even a snapshot of the VW that I can restore.

Hard lessons learnt are often then best lessons ☹️