about.samarthya.me now holds my reading stats, code and links in one place, and the six-part series on how I built it went out tonight, one part an hour.
The generated duplicate finder's local web page binds to 127.0.0.1, which is right, then checks the Host header by its first letters, serves every file in the folder it starts in, and cannot save a plan. Probes, the DNS rebinding risk, and the fix.
The generated cleaner is harmless only because a date comparison can never be true. Fix that one line and its dry-run moves files, the last copy of a file disappears, and protected files are removed. Plus the test that would have caught it.
The generated duplicate finder installs cleanly, but its own test suite cannot even start: two undeclared imports. Once they are added, 5 of 8 tests pass, and each of the 3 failures teaches something different.
A local 30B model wrote me a duplicate-file finder that can delete files. Before running a single line, I extracted it safely, found every call that can delete or move a file, and traced who can reach them.
How the hub is built: a Quarto website whose pages are filled by a Python pre-render step, a side menu, light and dark themes, inline SVG icons instead of an icon font, and charts drawn at build time.
Google Analytics showed thousands of fake readers after the fact. Cloudflare sees every request at the door. How its bot detection works, what the free plan gives you, and why I have not switched anything on yet.
What my stats page would have claimed without filtering (58% of readers in Singapore, a top nine with nothing new in it) and the engaged-session counting and ranking that fixed it.
What Google Analytics is and why this blog uses it, what is free and what is not, and how to read your own numbers from a script with a read-only service account.
I asked a local 30B model to write a blog post and to flag what it was unsure of. It flagged one thing and got 22 wrong.
I gave one blog brief to Qwen3-Coder 30B running locally through Colibri and Ollama, and through Claude Code as an agent. Timings, every factual error I found, and what I will use local models for.
What a weight is, how 30 billion of them become a model, what is inside a safetensors or GGUF file, how to estimate a model's size on disk, and what quantisation, experts and open weights mean.
A day of running the same 30B coding model through Ollama and Colibri, on my desktop and on my Linux server.
I gave Qwen3-Coder 30B, running locally through Colibri on a desktop APU, a standard task: a network scanner in Python and in Go. How fast it was, what memory did to that speed, what the code got wrong, and whether I would use it again.
Two ways to run AI models on your own machine, tested with the same 30B model on a Linux server and a Windows desktop: what each is for, how to start, what I measured and which to try first.
Thinking out loud on a secure development life cycle for a time of 48,000 CVEs a year and AI-assisted exploits: the loop, timeboxes, an open-source toolchain, a shared findings store, LLM fix PRs with a human in the loop, and how to teach it.
Every AI, machine-learning and data post on this site in one place, in an order that builds from the basics to agents, MCP and the cost of tokens.
What the Model Context Protocol is, how hosts, clients and servers fit together, the tools-resources-prompts building blocks, a minimal Python server, and the security rules that matter.
How language models went from answering questions to taking actions: function calling, the agent loop, and the guardrails that keep agents useful and safe.
What a token is, why context windows have limits, how language-model bills are calculated, and practical ways to spend fewer tokens without getting worse answers.
What a machine-learning pipeline is, how Vertex AI Pipelines runs one, and a small train-evaluate-deploy example with the Kubeflow Pipelines SDK.
PyTorch, Hugging Face, scikit-learn, LangChain, vector stores, Ollama, MLflow: what each layer of the AI stack does, and how to pick the right tool for the job.
Retelling the OpenAI / Hugging Face incident: 1,200 isolated AI agents found a shared cache, built a message board and a society, and hacked real infrastructure to beat a watchdog that was never there.
From “what is autocomplete?” to the full mathematics powering Claude Sonnet 4.6; with history, intuition, worked examples and cheatsheet.
The story of modern language models is like watching a family tree grow, with each new generation learning from the triumphs and mistakes of those who came before.
Remember how we compared a language model to an advanced autocomplete system? Well, here’s where the story gets interesting. Not all language models learn the same way.
Think of a language model as a really sophisticated autocomplete system. You know how your phone suggests the next word when you’re texting?
Understanding how computers “read” and understand text is a fascinating field.
KNN is the friendly, neighborhood algorithm that believes you are defined by the company you keep.
The elements of information discussed here are all present in my github repository.
Whether you’re preparing for a quiz or just brushing up on fundamentals, this guide distills the key concepts from Data Mining into bite-sized, memorable chunks. Let’s dive in!
This post walks through a tiny, practical example that uses LangChain primitives and a local Ollama server to run a prompt-based summarization.
If you are like me, you must have stumbled on this question – Why is matrix multiplication so significant – especially in the AI/ML universe.
At the heart of machine learning, algorithms learn from data. The key distinction between supervised and unsupervised learning is the type of data used for training.
As another project wraps up, bringing with it the bittersweet relief of an almost-closed chapter (and, yes, a few too many late-night coding sessions), I found myself reflecting on the tools that got…
In my last post, we explored the divide between Pandas (single machine) and PySpark (distributed computing).
So as part of the academic curriculum we just started re-exploring Apache Spark. It’s been one of the technology that I had long lost touch with.
Imagine you’re trying to find the best solution to a problem, but the problem is really complex and has a lot of randomness involved.
Linear programming is a mathematical technique used to find the best possible outcome (maximum profit or minimum cost) in a situation where the relationships between the factors involved are linear.
In the context of forecasting and business analytics, a model is a simplified representation of a real-world situation or process.
Forecasting methods are the techniques used to predict future outcomes based on past data and trends. They’re like having a crystal ball, but instead of magic, they use data and statistics!
How to tell which forecasting model is better: MAE, MSE, RMSE, MAPE, sMAPE, bias and Theil's U, explained with an ice-cream-sales example.
Imagine you’re a business owner trying to figure out why your sales are down. You could guess, or you could use business analytics.
Business Analytics (BA) is like a GPS for businesses—it uses data to guide decisions, solve problems, and predict future outcomes.
From a Business Analytics perspective, understanding correlation and covariance is crucial for several reasons:
RFM (Recency, Frequency, Monetary) Analysis is a customer segmentation technique that uses three key metrics:
Ever wished you could effortlessly convert your spoken words into written text? Look no further!
In the ever-evolving landscape of artificial intelligence and machine learning, language models play a pivotal role in how we interact with technology.
Artificial Intelligence (AI) has revolutionized many aspects of our lives, from virtual assistants like Siri and Alexa to self-driving cars and personalized content recommendations.
Looking the official diagram from devspace which shows the benefits in detail