Motivation If you've ever needed to restrict which commands can be run inside a VS Code integrated terminal - nowadays mainly to prevent agents from wreaking havoc - you can achieve this using a combination of VS Code terminal profiles and PowerShell's PSReadLine module. I'm not sure is/how this works with other terminals, however I've … Continue reading Restricting VS Code terminal commands to an approved commands list
Author: George Georgovassilis
OPAW: Tracking Capabilities for Safer Agents
With AI agents rampaging on half the population's computers, there is increased interest in safe-guarding AI agent workflows. In "Tracking Capabilities for Safer Agents" no one less than Martin Odersky (et al) propose a framework for running AI agents subject to security policies. The answer is - of course - Scala. I'm skipping the problem … Continue reading OPAW: Tracking Capabilities for Safer Agents
OPAW: Fuzzy Extractors are Practical
I miss Adrian Colyer's "The Morning Paper" where he discussed one research paper per day - it was a great read and I learned a lot. I'll probably never be able to match his quality and throughput, but I actually do read papers (or, more lazily, watch their presentations) and wanted to keep up Adrian's … Continue reading OPAW: Fuzzy Extractors are Practical
Docker, Ollama, Ubuntu & Radeon GPU
Just a quickie: this is the command I'm using on my Acer Nitro latop to run Ollama in Docker with GPU acceleration: group_id_video=$(getent group video | cut -d: -f3) group_id_render=$(getent group render | cut -d: -f3) docker run -d \ --privileged \ --device /dev/kfd \ --device /dev/dri \ --volume ollama:/root/.ollama \ --volume "/some/path/ollama:/images" \ --group-add … Continue reading Docker, Ollama, Ubuntu & Radeon GPU
Open Watcom C/C++ Compiler: 16-bit 8086 Optimisations Report
A while back I picked up retro programming as a hobby. When programming for the 8086 DOS platform, Open Watcom is indispensable. It runs on both Linux and Windows, produces DOS binaries, has detailed documentation and a whole arsenal of tools. It's also rather fast and produces performant code. Unfortunately there isn't much documentation about … Continue reading Open Watcom C/C++ Compiler: 16-bit 8086 Optimisations Report
