Code is not a business: what 20 paying customers taught me
I built a POS SaaS, sold it to about 20 shops, then saw it solved the wrong problem. How I validate a SaaS idea now, and the checklist I use before coding.
Gul’s Notebook
I’m Gul, a founder and full stack engineer. I write down what I learn turning code into products: founder lessons that cost me something, engineering deep dives, AI systems research, and how to explain technical work clearly.
Explore the notebook
Suggestions can use your activity on this device when you accept optional storage.
I built a POS SaaS, sold it to about 20 shops, then saw it solved the wrong problem. How I validate a SaaS idea now, and the checklist I use before coding.
Design a Laravel, Python and Redis AI agent with durable queues, safe tool execution, retries, audit logs and evaluation before release.
A practical process for clear technical articles, from finding the one idea to editing for skimmers, plus a live reference of every block this blog supports.
Who it’s for
Building companies: validation, distribution, pricing and hiring.
Start with Code is not a business: what 20 paying customers taught me
Laravel, React, SaaS architecture and shipping production systems.
Start with How to Build a Production-Ready AI Agent with Laravel, Python, and Redis
RAG, agents, evaluation and what actually works with LLMs.
Start with Agents that do real work: a pragmatic multi-agent design
The craft of explaining technical work clearly.
Start with How I write technical posts: a field guide with examples
I built a POS SaaS, sold it to about 20 shops, then saw it solved the wrong problem. How I validate a SaaS idea now, and the checklist I use before coding.
Read in order
Blog series
A 15-part field guide for technical founders
Blog series
What building and selling software taught me
Wire laravel-agent-guard into a laravel/ai agent: tenant budgets, loop detection, the kill switch and the gotchas I found running v1.2.0 step by step.
A Pakistan-focused guide to school software pricing, with published local rates, practical PKR examples and costs to check before quoting.
Design a Laravel, Python and Redis AI agent with durable queues, safe tool execution, retries, audit logs and evaluation before release.
AI agents can loop for hours and run up a bill nobody sees. Why I built laravel-agent-guard, a free, open-source safety net for Laravel apps that use agents.
A practical process for clear technical articles, from finding the one idea to editing for skimmers, plus a live reference of every block this blog supports.
Start with a workflow and add an agent only where the path can’t be known. The design I use at SynergyFlow Labs: narrow tools, state, budgets and approvals.
A practical guide to when to turn down a software client, with fictional project scenarios, alternatives and a checklist for saying no respectfully.
People pick software they enjoy over the longest feature list. A practical guide to designing SaaS for users who would rather not use software at all.
What cold-calling school principals taught me about selling software to schools: the script, the numbers, and why a rejected call beats a landing page.
A practical first-call checklist for scoping an MVP, from the user's problem and core workflow to risks, estimates and a one-page proposal.
How a cloud-first point-of-sale product missed an offline requirement, and what I would change about discovery, transactions and synchronisation.
Single database or one per tenant? A production-tested multi-tenant setup for Laravel SaaS: global scopes, tenant resolution, queues and the mistakes to avoid.
How ZeroExam AI keeps generated exam questions inside the syllabus: hybrid retrieval, rank fusion, grounding checks and an evaluation plan you can run.
A practical approach to chunking PDF textbooks for RAG, preserving table context, formulas and Urdu text, with a retrieval evaluation fixture.
A practical prompt regression testing workflow: compare baseline and candidate, check hard failures, review quality and gate a release.
What research says about AI grading of subjective answers, with a sample rubric, teacher review workflow and a plan for measuring agreement.
LLM calls are slow, flaky and expensive. How I wrap them in Laravel with queues, streaming, retries, caching and cost tracking so users never wait on a spinner.
A Laravel code review checklist covering authorisation, validation, queries, migrations, queues and constructive feedback, with before-and-after code.
Design a fast school attendance register for teachers: a mobile flow, safe defaults, reliable saves and a practical way to measure completion time.
A tested MySQL schema for a school ERP: dated enrolments for promotions, composite tenant keys and an append-only fee ledger in paisa. With Laravel migration.
What Pakistani private schools asked for when I pitched school software: fee vouchers that follow their rules, a defaulter list they trust and Urdu SMS.
A README is the landing page of your code. Four questions to answer in order, plus a template for open-source projects, client handovers and internal tools.
Browse by tag