Ever wondered how to build a decentralized messenger without any central servers? It s all about federation - just like email! In this post, I ll show you how to design a simple protocol from scratch, from server discovery using .well-known files to handling end-to-end encryption.
Tech people spend all day inside logic, syntax, and expected outputs. Art does not work like that, and that is exactly why it can help. In this post, I talk about why you do not need talent or fancy tools to create something and rest your brain from code.
Wrapping database calls in a simple try-catch block is just asking for trouble. Here is a practical look at how to handle transactions properly, avoid the dreaded ORM lost update, and keep your data actually safe.
AI chatbots should be deprecated! I feel like creativity died recently, and now we’re offloading interface design to users by making them write prompts. We spent decades building intuitive GUIs, so why go back to the command-line era? In this post, I talk about integrating AI directly into the UI - hiding the prompts and giving users the results they want. Let’s use that "additional brain" to get…
Stop thinking of Docker as a mini-VM. It’s not! It’s just a normal Linux process that has been told a very elaborate series of lies. I ll show you exactly how the Linux kernel uses Namespaces and cgroups to create the "magic" of containers without any of the VM overhead.
Do you really trust documentation for your evolving codebase? Probably not fully! So why do we even write documentation or constantly complain about lack of it? Let s talk about that :D
Currently almost all MCP provided by companies are kinda pointless, but the whole concept it s not that bad. I will share with you how I started to use MCP server.
Ever heard of Google Apps Script? You re missing out! This free Google tool lets you automate tasks across all Google apps with custom JS scripts, no servers needed. I ll show you how I use it to magically update my nerdiflix site every time I add a video to a YouTube playlist. It s like having your own digital assistant for all the boring stuff!
Time to wire everything together. We ll create controllers using the DI container, execute controller methods, and return responses. This is where it all comes together - request goes in, response comes out. Our framework is complete!
Now we need to match incoming requests to the right controller. We ll build a router that handles both static routes like `/about` and dynamic routes with parameters like `/users/{id}`. Simple regex pattern matching, no magic.
You don t need a complex DI container library. I ll show you how to build your own from scratch using PHP reflections. It handles recursive dependency resolution, primitive arguments, and object caching. Dead simple to understand and works perfectly for our framework.
Ever wondered what happens under the hood when you use frameworks like Symfony or Laravel? We ll start building our own framework from scratch, covering the absolute basics - how to handle HTTP requests and responses. This is the foundation that everything else builds on.
Tired of sending your analytics data to Google? Build with me a simple, self-hosted tracking system from scratch that respects user privacy, detects bots, and keeps everything on your own servers.
Train meal ordering apps require internet, but trains often don t have it. Here s how to make them work offline using local servers and JWT authentication
You don t need Elasticsearch for most projects. I built a simple search engine from scratch that tokenizes everything, stores it in your existing database, and scores results by relevance. Dead simple to understand and maintain.
Why are we still forcing users to click annoying verification links? That flow is broken. There s a much smoother, simpler, and just-as-secure solution: Use OTP codes instead.
You don t own your email; you rent it. This vulnerability leaves your entire digital life at risk. Read how to seize back control of your most critical online asset by switching providers and setting up your own unbannable email server.
You built the parser, now let s make it fast. This guide shows you how to replace a slow interpreter with a simple compiler and Virtual Machine (VM), turning your code into efficient bytecode that executes at high speed.
How do you stop your LLM from going off the rails? You can t, but you can build a better system around it. Here are my go-to techniques for making AI apps more reliable.