I've been playing around with running coding agents fully locally. The setup I landed on is: LM Studio + Pi agent + Gemma 4 26B A4B (Q4_K_M) Gemma 4 running in LM Studio, connected to Pi as the terminal agent. It works surprisingly well, and this post walks through how to set it up. Here's what we'll cover: Install LM Studio Download Gemma 4 Start a local server Configure context size Install Pi…
TLDR: 2025 was an incredibly intense but exciting year, filled with career highlights, plenty of travel, and new connections. General # 🇩🇪Second year back in Berlin and I've started to settled in 🇫🇷🇺🇸🇸🇪🇵🇱🇫🇮🇨🇭🇺🇸🇫🇷🇫🇮🇪🇸🇪🇸Took 11 trips (2 personal, 9 for work): Paris (2x), Mountain View, Stockholm, Warsaw, Zurich, New York, Helsinki (2x), Málaga, and Madrid. Work # Joined…
Gemini models are accessible using the AI SDK by Vercel. This guide helps you get started with the AI SDK and Gemini, and provides code snippets for most of the important features. For more information, see the following resources: AI SDK docs AI SDK Google Generative AI docs Setup # Install the AI SDK and the Google Generative AI integration: npm install ai npm install @ai-sdk/google // pnpm:…
Gemini 2.0 Flash is extremely good (and fast!) at processing and understanding different file types. In this blog post, you'll learn how easy it is to use Gemini 2.0 Flash with text, audio, images, videos, and PDFs. TLDR: This is almost all the Python code you need: from google import genai client = genai . Client ( ) uploaded_file = client . files . upload ( file = 'sample.mp3' ) # .wav, .jpg,…
TLDR: 2024 was a year of career focus. I traded travel and online content creation for settling into Berlin and making significant career advancements. 🇩🇪I moved back to Berlin permanently. 🇺🇸🇮🇹🇬🇧🇺🇸I did 4 trips: Las Vegas, Sicily, Northern Ireland, New York City. (TIL: Northern Ireland does not have its own emoji flag). US was for work, the rest for vacation. Work: I shifted my focus to…
Learn everything about using AI for speech understanding with Python. With modern AI models, you can do much more than transcribing audio files. Let me show you a few cool things you can do to quickly understand your audio data better. I'll show you how to perform the following tasks on a ~3-hour-long podcast episode: Automatic speech recognition (ASR) Getting word-level timestamps Getting…
I built a locally running typing assistant with Ollama, Mistral 7B, and Python. In this post, I'll show you how to do it. It's a script with less than 100 lines of code that can run in the background and listen to hotkeys, then uses a Large Language Model to fix the text. Inspired by this tweet: https://twitter.com/karpathy/status/1725553780878647482 "GPT is surprisingly good at correcting minor…
Monthly running stats. I also try to listen to one audiobook per month while running. Month Distance Book Rating 02/24 108.9 km Killers of the Flower Moon by David Grann 2 01/24 150.8 km Friends, Lovers and the Big Terrible Thing by Matthew Perry 4.5 12/23 86.1 km Pet Sematary by Stephen King 4.5 11/23 171.7 km A Brief History of Time by Stephen Hawking 4 10/23 121.5 km Cloud Cuckoo Land by…
In 2023 I did 279 workouts for a total duration of 169h 42m 2s, and burned 100.562 kcal. How do I know that? By using Python and the data from my WHOOP fitness band . In this blog post I'll show you how you can do the same. These are the full 2023 stats my little script is showing me: ❯ python analyze_workouts . py Number of workouts in 2023 : 279 Total kcal : 100562.94 kcal Average kcal : 360.44…
2023 was one of the best years I’ve had in a long time. Experiences, career, happiness, fitness - everything’s at an all-time high except for YouTube where I took it a bit slower this year: Lived 6 months as a digital nomad in 🇳🇴🇹🇭🇯🇵🇰🇷 and collected lots of unforgettable memories. Very grateful for my 100% remote job that made this possible! Now back in Berlin 🇩🇪 4 Open-Source…
A coding session with Sebastián Ramírez where we showed how to build a Machine Learning app with FastAPI and Docker. The session was on August 31st, 2023. The accompanying repo is on GitHub .
Learn how to use a simple terminal-based Pomodoro timer on Mac. It provides the following features: Start work and rest periods easily from your terminal Displays a beautiful progress bar Displays a Notification when timer is up It only requires two Open Source packages to use it. Below are some screenshots. Work timer: Rest timer: Notification when timer is up: Install # Requires…
Last year in February I joined AssemblyAI as a Developer Advocate. The decision was not easy for me. Should I really make the switch from Software Engineer to Developer Advocate? And should I leave my comfortable and safe job in Germany behind to join an early-stage startup based in the US? A company I've heard of for the first time just weeks before? One year later I can say this was the best…
Last update: Dec 31, 2023 I have so many books on my reading list, yet I barely manage to read more than 20 pages per week. That's why I decided to give audiobooks a try and combine it with running. This year, I want to "read" 12 (audio) books in 12 months while running. I want to document my running journey and keep track of the books in this article. I also want to significantly increase my…
As the year is coming to an end, I want to take a moment and reflect on the past year and the goals I wanted to achieve with my YouTube channel , and in the end set new ones for 2023. (If you're interested in last year, here is the 2021 review .) TLDR: It was a fantastic year for the channel, my career, and the side income through YouTube, but I want to change a few things next year. Before we go…
I rebuilt my website, so it's time for yet another "How I built my blog" post. TLDR: The site is built with Eleventy and Tailwind CSS, and GitHub Issues are used to store the blog posts. This is what I used to build the current version of the website: 11ty as static site generator Tailwind CSS for styling Nunjucks as the template language Markdown to write the blog posts GitHub for hosting the…
In this tutorial, we'll build a media library and content analysis dashboard with Python & Cloudinary. First, you'll learn how to work with the Cloudinary API to upload, store, and automatically tag images, and also how to retrieve images again and search for specific tags. Then, we go on and build a web app using Streamlit. The app contains an image gallery that allows for filtering by tags, and…
Python 3.11 is out! Learn about all important changes in this article. You can also watch the video here: Faster CPython # It got faster! Python 3.11 is on average 25% faster than 3.10. Depending on your workload, the speedup could be up to 10-60% faster. Learn more about the speed improvements here . Better Error Messages # It got better error messages. The interpreter will now point to the exact…
In this tutorial we build and deploy a fitness app that sends you new workouts per email every day using Python and HarperDB. In the end, we will have a deployed cloud database and a deployed function that runs every day and sends you a new workout! And all of those services can be used for free! Tech Stack we use: Streamlit for the Frontend HarperDB for the Backend HarperDB Custom Functions to…
I'm incredibly excited to share that in February 2022, I joined AssemblyAI full-time as a Developer Advocate! About AssemblyAI # AssemblyAI is a Deep Learning startup focused on a state-of-the-art Speech-To-Text API and additional Audio Intelligence features . One critical point for us is to make this technology accessible to everyday developers through a simple API and a great developer…
As the year is coming to an end, I want to take a moment and reflect on the past year and the goals I wanted to achieve with my YouTube channel . I also want to write down my goals for next year, and I have some personal news to share at the end. The goals I had # In January my channel had 18k subscribers and I had set the following goals for myself in 2021: 50k subscribers $3000 MRR at end of…
In this article I show you all Python libraries I use for Machine Learning, Deep Learning, and Data Science. The list is not exhaustive, there are of course many other great libraries out there, but it covers 95% of the frameworks I use. I’ve split the frameworks roughly into these categories: The base libraries you almost always need for Machine Learning and Data Science Optional helpful…