Skip to main content

Posts

FinOps Beyond Cloud: Flagging Which LLM Path Runs

It’s 2026, and I pretend less that coding stops at merge. Plans still matter, but margin (revenue minus cost) matters too: if usage jumps, many users pile onto cheap tiers, or ARPU (average revenue per user) stays low, is your default technical path still affordable? If you tilt product-minded , you often want costs and revenue to steer behavior—not just quarterly decks—and you ship guardrails (limits and alerts for spend and risk) plus metrics so typo fixes aren’t casually riding flagship AI tiers. This post is a relaxed tour of one slice of that: treating cloud and model spend as something you design for, not something you discover on the invoice. 1. What a product-minded engineer optimizes beyond “merged” Shipped  is rarely the final step. The sharper test: multiply usage, push traffic through loss-leader tiers—does profitability still behave? Checklist framing: Costs and revenue should sway day-to-day decisions. Use the cheapest  good-enough path  first; expensive m...

Local AI on an M1 Pro: From "Post-Apocalyptic" Slowness to a Functional Reality

We’ve all seen headlines like this: "The end of paid coding assistants!" or "Run your own private AI locally for free!" As someone who values privacy and hates the dependency on monthly subscriptions, I decided to see if my trusty MacBook Pro (M1 Pro, 32GB RAM) could become my trustworthy coding workstation. My journey started with a massive failure, moved through a "thinking" loop, and finally landed on a configuration that actually works. Here is how I turned my Mac into a functional local coding station. ( Yeah... I’ve reached the stage where I won’t bother with perfect screenshots. If I need to show the output of my fun tinkering on an isolated machine, I’ll just take a blurry photo of the screen with my old phone. It’s much more relaxed that way.) Phase 1: The "Heavyweight" Disaster with " Qwen 3.5 Coder Next" I started ambitious. Installing Ollama was the simplest part. Then I pulled  Qwen 3.5 Coder Next . I thought 32GB of RAM w...

The Rise of the Product Engineer: Title Trend or New Reality?

  This career topic has been on my mind for a while, and I've been trying to collect more information about it for my own career's sake. And now I think I have an idea clear enough to be shared. I hope it benefits someone out there. The "Product Engineer" title has exploded in popularity this year. This shift is happening for three main reasons: AI-Assisted Coding:  Since AI can now handle basic coding tasks, companies need engineers who can move "above" the code to control the requirements (inputs) and the architecture (outputs). Flatter Teams:  Tech companies are removing middle layers, requiring engineers to be more independent. Faster Delivery:  To move quickly, the line between "thinking about the product" and "writing the code" must disappear. However, after talking to managers, recruiters, and "Product Engineers", I realized that not everyone defines this role the same way. Here are the three main types of "Product E...

My ESP8266 Blog: An Experiment in Minimalist Web Hosting inside a Mushroom House!

A few weeks ago, I did something unconventional: I moved a blog of mine to an ESP8266 microcontroller. Yes, you read that right: a €10 chip with 80KB of RAM now hosts my thoughts on the internet. (plus the SD card shield of course) To make it even funnier, I decided to place it inside a wooden mushroom house I was recently working on! As a minimalist who believes in independence and focusing on what matters without unnecessary complexity, this project was more than a technical experiment. It was a return to first principles: control over your own infrastructure, elimination of unnecessary complexity, and the freedom to build things the simplest way possible. What started as a nostalgic journey into hardware became a fascinating lesson about how little you actually need. The Hardware Reality: Back to Basics As a Senior Fullstack Developer, I've spent recent years living in high-level languages and cloud infrastructure. Docker containers with gigabytes of RAM, Kubernetes clusters, se...

Creating a prayer times action on Google Home

Saving a lot of time during the COVID-19 shutdown gave me the chance to do something I wanted to try for a while, getting my Google Home Mini to tell me the prayer time instead of looking at a screen. So this weekend I got to play with a dummy piece of code I made during the week and finalize my test version of my own prayer times assistant. So far, I can only ask about the next prayer or name a specific prayer to know its time. Important note: you cannot replicate the following project without a premium account on Firebase to enable calls to external APIs. Here is what I had to do in simple words: 1- Create a new Dialogflow agent Dialogflow is where I started my project with creating a blank agent with nothing but a Welcome intent. 2 - Modify the default welcome intent For the sake of having fun, I changed the way of addressing the user to say the magic word: "Salam! How can I help you?" plus accepting similar magic words like "Assalm Alaykom"....

Retry ruby code with exceptions multiple times

This problem I faced is pretty simple. A method calling an external API or resource which might throw a random error or fail intermittently. So I want to simple retry because this error is ignorable if it happens one or two times. Now the standard ruby's retry and redo keywords are not helping here. Because the retry will keep retrying endlessly and I want to raise the error after a few retries, and the redo requires a flag to make it stop. So my solution to retry my ruby code for a few times if a specific exception happens was as simple as a method with the retry logic and accepting a block to keep my code cleaner. And whenever I need to retry a not-so-reliable API, I wrap my code in this method as a block and choose the exception to retry when it happens and how many times to retry. # whatever method I am using def do_something_with_tolerance_to_errors response = with_error_retry(WhateverException, 2) do # my code goes here end end # my retry handler def with_...

How investigate a failed Docker build

While working on a recent task, I got stuck with a Dockerfile which was failing to build. The failing container was failing at one step of building with native extensions of some Ruby gems. I wanted get into the container to see what the logs were saying. This is the code snippet I used to do so: Step 1: Get the container ID by running $ docker ps -a I could look for the  CONTAINER ID  of the failing container. Step 2: Commit container to an image Using the container ID from the previous step, commit the container to create an image with its current state $ docker commit ca73ac766f36 sha256 5b4586632f690964d3a2e2b958cf6d211bc924e47e80a9bc4a84c53779f39f79 Step 3: Run the image Using the sha256 code from the previous step, run the image with bash and debug the image however you want. You don't have to use the full sha256 string $ docker run -it 5b4586632f [bash -il] And that's it!

Week 7 Reloaded - Fine-tuning VGG16 model for CIFAR-10 dataset

Week 7 is the last week of this deep-learning plan. And I didn’t want to finish before trying a bit more to have better results. So here we go again. This time I learned two things: Google Colaboratory and Lambda layer. Those two have helped me refactor my code in two notebooks to get better results. Google Colaboratory Because my computer was so slow to process such dataset, I didn’t have the luxury of experimenting with models and hyperparameters. So one obvious step was to look for an online solution to process my python code with an acceptable speed. Google Colaboratory was a nice and free solution that fitted my needs. If you haven’t used it before, here is a  nice tutorial This processing power allowed me to rerun a previous notebook to train my own CNN for CIFAR-10 dataset. But for 100 epochs instead of only 15. This allowed me to see how my model was performing well enough to reach an accuracy of 82.68%. (compared to 74.53% with 15 epochs) You can find th...