Posts

Three apps, three stacks, one AI-assisted workflow — a practical writeup

Image
Sharing the technical details of three systems I built with an iterative AI-assisted process. Different domains, different stacks, same method. The useful part is where the process held and where I had to take over. TRM — Training Management System Stack: ASP.NET Core 8 MVC, PostgreSQL, Dapper, ASP.NET Core Identity with custom Dapper stores, QuestPDF, SMTP. Three roles with real separation: Admin manages users, roles and course requirements; Teacher creates courses, uploads materials, marks attendance; Student enrolls, accesses materials, downloads certificates. Worth noting: Custom Identity stores over Dapper. Identity assumes EF Core. Wiring it to Dapper stores was manual work — the generated starting point needed real correction. Certificates generate as PDFs at completion (QuestPDF), driven by attendance-based completion percentage. Audit fields on every table ( created_by , created_date , modified_by , modified_date ) — decided up front, which meant it never had to be retrofi...

Building an MES with AI-assisted development — what actually worked

Image
I want to share a practical breakdown of building Basirah MES , a Manufacturing Execution System, using an iterative AI-assisted workflow inside VS Code. Posting this because MES is a genuinely hard domain and I think the friction points are more useful than the highlight reel. Modules built: Production management (production orders, work orders, scheduling) Quality control (inspections, certifications, compliance tracking) Inventory (real-time tracking + material transactions) Equipment monitoring (status, maintenance schedules, OEE) Shop floor control (barcode scanning, real-time tracking, operator UI) Analytics and reporting (KPIs, performance metrics) Stack: Backend Node.js / Express, PostgreSQL, JWT, WebSocket, Docker Frontend React + TypeScript, Material-UI, WebSocket client Data Knex migrations + seeds Docs Swagger at /api-docs Tests Jest (backend + frontend), Cypress for E2E Workflow: Requirements first — modules, features, stack, database. Written down, ...

The Divine Deadline: 5 Surprising Insights into the Islamic Theology of Destiny and Death

Image
Mortality often evokes a visceral fear—a fragmented anxiety rooted in the perception of life as a series of random, chaotic events. To the human mind, death is a biological failure or a tragic accident. However, through the lens of Islamic theology and spiritual psychology, death is understood as the fulfillment of a divinely orchestrated decree known as  Ajal . This is not merely a terminal point, but an ontological milestone—a precisely timed command that marks the completion of a "precious trust." By shifting our perspective from the randomness of the "what if" to the coherence of a divinely measured term, we can achieve what spiritual psychologists call "Soul Coherence"—a state where the heart finds rest in the amidst of life's inherent uncertainty. 1. Your Life Story Was Written Before You Were Born The timeline of a human life is established long before the first breath is drawn. According to the Prophetic tradition, a profound metaphysical even...

The Blueprint of Resilience: 5 Surprising Lessons from the Stories of the Prophets

Image
In the landscape of our late-modern malaise, the sensation of being perpetually overwhelmed is no longer an anomaly; it is a defining characteristic of our age. We navigate a world of escalating challenges and fragmented frameworks, searching for a cohesive logic to sustain us through the storms of crisis. It is within this context that Surah Al-Anbiya (The Prophets), the 21st chapter of the Qur’an, reveals its profound relevance. Far from being a mere collection of ancient hagiographies, the text functions as a rigorous diagnostic—a "comprehensive analytical report" on the human soul’s capacity for endurance and the mechanics of divine intervention. Revealed during the twilight of the Makkan period, the surah addressed a community under the crushing weight of social ostracism and systemic persecution. To these early believers, the scripture offered a "blueprint" for resilience. It did so by weaving a rapid succession of prophetic narratives that serve as both a sp...

The Shadow Plumbing of the State: 5 Hidden Mechanics Re-Engineering Global Power

Image
  1. Introduction: The Polite Fiction of the Surface World In the high-stakes theater of global policy and finance, the public is fed a polite fiction. We are taught to watch the floor speeches, the televised debates, and the ticker tapes as if they represent the heart of governance. In reality, these are merely the surface layer of a system governed by asymmetric information . While the cameras focus on political posturing, the true architecture of sovereignty is being traded in secondary debt markets, codified in ancient trust law, and re-engineered through theological algorithms. To understand how the world actually functions, one must look past the headlines and into the "hidden plumbing"—the underlying mechanics that move power and capital behind the curtain. From the tactical arbitrage of national debt to the resurrection of Roman legal frameworks, five specific systems are quietly reconfiguring modern reality, shifting the very definition of what it means to lead and t...