RSSAmplifier

Blog

Mitja Martini

Recent content on Mitja Martini

mitjamartini.comRSS feed ↗40 posts

Latest posts

Senior means simpler

When I was young, I thought of senior engineers, consultants, etc. as experts that are more effective. My assumption was that seniors work harder to get there and be senior. Now that I’m older, I realize: Being efficient is as important and probably more distintctive than being effective: I need to be calm, save time, and work efficiently to achieve the goals in a relaxed way, as I…

Export ChatGPT Conversations as Markdown

Today I learned about Rashid’s solution to export ChatGPT conversations to Markdown or even PDF if you like. I prefer Markdown as I can use it to continue the conversation with Claude for example, or change the content and use it in other contexts. You don’t need to install anything because it’s just a JavaScript snippet. You open the conversation in a browser, select anything in…

Hardware for local coding models is still affordable. For how long?

The recent RAM price hikes have pushed GPU prices up as well. The only systems that have not yet been affected to the same extent are Macs and high-end GPUs (RTX 6000 Pro and above). However, I would already classify GPUs as out of reach: running coding models with sufficiently large context windows would require one or two RTX 6000 Pro cards, or three to six RTX 5090s. Let’s take a look at Macs…

MCP and A2A Attack Vectors for AI Agents

Christian Posta from Solo.io has written an interesting Deep Dive into MCP and A2A Attack Vectors for AI Agents . Here is a shortlist. There are certainly more attack vectors, and the mitigations are a start, but certainly not perfect. Attack Vector How it works Mitigation Naming Attacks Attackers create look-alike names or typosquatted services that trick the AI into picking a malicious resource…

Try vibe coding (again)

In case you haven’t tried vibe coding, recently, you should probably try it (again). Their performance has increased quite a bit thanks to recent models like Opus 4.5. Here are some recent takes on vibe coding: Everyone’s talking about vibe coding without looking at code. I was skeptical. I decided to give it a shot on a challenging problem and was blown away by what I could accomplish…

The Van Halen Test can check if an agent knows it's context

Here’s a trick from the 80s that’s still useful, today: Van Halen’s live shows were potentially dangerous. To make sure the local crew read the rooster, they asked for a candy bowl with M&Ms and added: Warning: Absolutely no brown ones. The Van Halen Test via Left hand writes One day in 1982, they trashed their backstage area because David Lee Roth found a brown M&M. With coding…

From 8 Lines with Dokku to 200 with Kubernetes – Why I'm Still Switching

So far, my web apps run on a Dokku server. I haven’t tried Vercel or Fly because I didn’t want to deal with complex pricing models that incur more costs with every additional project. Dokku works like Heroku: dokku apps:create myapp dokku postgres:create myapp-db dokku postgres:link myapp-db myapp dokku config:set myapp APP_SECRET = ' $( openssl rand -base64 48 ) ' dokku git:from-image…

What Takes Time in Vibe Coding

Vibe scripting, for me, is when I develop small tools for myself with the help of coding agents. It works extremely well, especially for command-line tools. I recently told a tax advisor about it. He was interested and wanted to see how it works. So I developed a small example on the spot: a VAT calculator. Not the best example, but I couldn’t think of anything better on short notice. It…

Terms

Terms and conditions

MCP in ChatGPT Developer Mode Beta

OpenAI just releasesd MCP connectors and ChatGPT developer mode beta. In this post, I describe the process of connecting MCP servers to ChatGPT, show how they look and feel right now in a chat session and give an overview of their current limitations. Activating developer mode # MCP connectors can only be created and edited in developer mode which can look a bit scary: Note: This article is…

Claude Code in Devcontainers

Development Containers or just “devcontainers” add a layer of security, simplify developer onboarding enables developing in parallel with isolated environments. For me, Devcontainers are a great addition to an AI Engineer’s toolbox, even though I don’t use them day-to-day. I have setup Devcontainers with Claude Code using VS Code and the devcontainers cli, adapted it to a…

About

About me

Privacy

Privacy statement

Work with me - AI Engineering

I’ll help you turn prompts into reliable AI features and apps.

Tipps for Migrating to Hugo

In this article, I document some non-technical things I’ve learned migrating my blog from Jekyll to Hugo . The gist is to keep it as simple as possible :

Evals for Voice Agents (Session Notes)

Notes of a whirlwind intro to evals for voice agents by Kwindla and swyx

Coding Agents as Slot Machines

After reading a nice post via HN about On Stepping Back , I habitually scrolled through the comments and found this nugget by evrimoztamur : Interacting with LLM coding tools is much like playing a slot machine, it grabs and chokeholds your gambling instincts. You’re rolling dice for the perfect result without much thought. This probably applies to many systems that use Generative AI,…

Pipecat Cloud Latency for EU Users

Pipecat Cloud is located in the US. Is its latency ok for voice agents for EU Users.

K/V Cache Quantization in Ollama

A somewhat hidden feature of Ollama is K/V Cache quantization. This is relevant for local AI as it reduces memory consumption, especially for small LLMs with large context windows. This post describes how to activate K/V Cache in Ollama and gives an overview of its benefits, drawbacks and use cases. Activating K/V cache quantization in Ollama # K/V Cache quantization in Ollama is not on by…

Deploying Voice Agents to Production

Here are my notes on the session about deploying voice agents to production which is part of the Voice Agents Course . The course if held by kwindla und swyx, the CTO und an investor of Daily.co, a WebRTC und Voice AI infrastructure provider. Some of their recommendations might be predisposed. I still state them as is as I trust them and because I don’t have enough experience with voice…

An Overview of the Voice AI Landscape (Session Notes)

I’m so happy to be part of the Voice Agents Course by Kwindla and swyx. Yesterday, Kwindla kicked it off with an overview of the voice AI landscape. The pace, insights, and questions from the audience were just great. Here are my personal notes, probably incomplete and maybe not always correct. For a more authoritative overview of the Voice AI landscape, check out their free online book…

The Fast Solopreneur

In The Batch 300 , Andrew Ng shared some insights about the importance of speed for startups and how to move fast as a startup. I think they apply well to ideas for a fast solopreneur: Focus on one idea, Code prototypes intuitively, Be creative about getting user feedback quickly (it doesn’t have to scale), Pivot quickly but stay within your domain, Use a KISS stack you know, and Learn AI…

Installing Docker on Raspberry PI

How to Install Docker and Docker Compose on Raspberry Pi OS (rootful and rootless).

A note on the hidden complexities of WebSockets

AI Apps are often expected to be realtime. On the web, realtime communication can be implemented with WebSockets. I’ve started with WebSockets to create chatbots and other live-updated interfaces, but then switched to SSE and now mostly follow these rules of thumbs: Use WebSockets for server-to-server communication. Use SSE for server-to-client communication. If you still want or need to use…

RTX 5090 for Local AI

A look at the NVIDIA RTX 5090 specs for local LLM inference.

ChatGPT can use information from internal sites

The ChatGPT search feature can also search and use information from intranet websites.

AI as Repository of Human Knowledge

An interesting statement by Yann LeCun.

Deploy a Static Site on Dokku

This article describes how to deploy a static site on Dokku, including activating Let’s encrypt signed certificates for the domain. Configure DNS # Register the domain and point it to the Dokku server. I usually set these records in the domain’s DNS zone: A @ 7200 $DOKKU_SERVER_IPv4 A * 7200 $DOKKU_SERVER_IPv4 CNAME www 7200 $APP_DOMAIN AAAA @ 7200 $DOKKU_SERVER_IPv6 AAAA * 7200…

Dokku SSH Alias

A quick tip to make working a bit easier.

Launch VS Code from the Command Line

A quick tip to make your life a bit easier with VSCode and Python.

Deploying a SaaS Pegasus Based Django App on Dokku

In this post I’ll share the steps I did to deploy a SaaS Pegasus bootstrapped Django app (Scriv from the SaaS Pegasus marketplace to be precise) with Celery, Redis and Postgres on a Dokku host. There were some hickups along the way, but I believe, when you go step-by-step, it is quite straightforward.

The Furo Sphinx Theme Looks Good with Small Documentations

A quick note about the Furo theme for the Sphinx documentation system.

A Script to Export Models from Ollama

A workaround for transferring models to air-gapped Ollama instances.

Ollama on Windows

A tutorial and video about installing and using Ollama and OpenWebUI on Windows.

Summarizing Large Texts with LLMs and a Tree of Summaries

How to summarize texts with LLMs that are too large for their context window.

Hands-on ChatGPT in Excel (Book)

Example Excel workbooks for a book about using OpenAI models in Excel Formulas.

ChatGPT Image Inputs Use Cases

Practical use cases of ChatGPT’s / GPT-4’s image input feature.

Prompting Small LLMs.

What are small LLMs good at and how to get good results from small LLMs.

Fetching Data from REST APIs with Python and httpx

How to install and use httpx.

What is new in Excel in Q1 2022

Microsoft keeps adding new exciting features to Excel all the time. Here is an overview of new features added in the first quarter of 2022. For me, TEXTSPLIT is the best new Excel feature of this quarter. With it you can split text that is eg. formatted as CSV into multiple rows and columns. This is extremely helpful if you want to use ChatGPT in Excel. I base this on the Excel Blog. Please drop…