When code breaks, you can't simply say, "AI did that." You're responsible for the code you ship. AI is fast, but over-reliance makes you lose your mental models and context—that's just one of the problems with AI. To protect my skills, I've set one rule: Don't let AI touch your code directly. It might feel unproductive. To test this rule, I recently tried finishing a task using as much AI as possible. If I write the code, AI reviews it. And if AI generates the code, I review it. That way, I use AI while keeping my code writing and reading sharp. AI is changing the act of coding. Whether what AI generates is clean code or garbage, CEOs aren't accountable for it. We still are. If you want to sharpen the skills AI can't replace, check out Street-Smart Coding. It's the guide I wish I'd had on my journey to becoming a senior coder.
The problem A friend of mine has a habit: they open the fridge, stare at a handful of random ingredients — some eggs, half a chicken, a bag of rice — and just... close it again. Not because there's nothing to cook, but because turning "what I have" into "what I could make" takes a kind of mental effort that's easy to skip when you're tired. So for this weekend's Hacktoberfest challenge — Build for a Friend — I built them exactly that: What's in My Fridge? Tell me what you have. I'll tell you what you can cook. You add the ingredients sitting in your kitchen, optionally tell it something like "no spicy food" or "only 15 minutes," hit one button, and get back a handful of realistic meal ideas — each one clearly split into what you already have and what you'd still need to buy. No chat window. No meal-planning dashboard. Just: ingredients in, meal ideas out. Code: github.com/fatik07/my-frigde Live demo: not deployed yet — this was built and tested locally during the challenge window. The README has full setup instructions if you want to run it yourself. The AI model is the core feature of this app — not a bolt-on. It runs through OpenRouter, defaulting to openrouter/free, OpenRouter's router that automatically picks a free, open model for each request. Why that choice specifically, and not a single proprietary model locked behind one vendor's API: It costs nothing to run. A friend using this shouldn't need me to keep a paid API key topped up. openrouter/free means the running cost is zero. It isn't locked to one model. The entire AI call is isolated behind one small module (src/server/ai/adapter.ts). Swapping to a different open model — or a different provider entirely — is a one-line change, not a rewrite. The rest of the app doesn't know or care which model answered. Everything downstream just sees validated, typed JSON. To be precise about what "open" means in this build: inference doesn't run locally on my friend's laptop — it still happens on OpenRouter's infrastr
Laravel middleware is where most "it works locally but not in production" routing bugs hide: a route that should require login but doesn't, a rate limit that counts the wrong user, a model that loads before the permission check that was supposed to guard it. Part 1 showed that web.php and api.php differ because of the middleware group wrapped around them, and Part 2 covered route model binding. This part covers how middleware is registered, how it is ordered, and the mistakes that come from getting either one wrong. Middleware is a layer a request passes through on the way to your controller, and the response passes back through on the way out. Each layer can inspect the request, stop it early, or modify the response: php artisan make:middleware EnsureUserIsSubscribed user()?->isSubscribed()) { return redirect()->route('billing'); } $response = $next($request); // "After" logic: runs on the way out, with the response in hand. return $response; } } Returning a response without calling $next($request) short-circuits the request: nothing after this layer runs, including your controller. Calling $next passes control to the next layer. As of Laravel 11, the app/Http/Kernel.php file is gone. Middleware configuration lives in bootstrap/app.php, inside withMiddleware(). Older tutorials that tell you to edit $routeMiddleware in the Kernel apply to Laravel 10 and earlier only. // bootstrap/app.php use App\Http\Middleware\EnsureUserIsSubscribed; use Illuminate\Foundation\Configuration\Middleware; ->withMiddleware(function (Middleware $middleware) { // Run on every request. $middleware->append(App\Http\Middleware\LogRequest::class); // Give a middleware a short name for use on routes. $middleware->alias([ 'subscribed' => EnsureUserIsSubscribed::class, ]); }) Once aliased, attach it to a route by name: Route::get('/dashboard', [DashboardController::class, 'index']) ->middleware('subscribed'); Attach middleware to one route, or to many at once with a group: // One route: Route::g
What I Built I built Creator Compass, a personal AI advisor for a friend who recently started her Instagram creator journey while pursuing her PhD at IIT. She's a talented singer, plays tennis, enjoys spending time with friends, and loves creating reels, carousels, memes, jokes, sarcasm, and self-love content. The problem wasn't that she had no content ideas. The problem was deciding when to create, what to create, and when not to create at all. She wants to grow as a creator, but she also worries about: Whether a post will actually fit her personality and audience Constantly worrying about views and engagement Running out of ideas Spending too much time creating content Whether content creation will interfere with her PhD and research Sharing personal thoughts and daily life with an AI service So instead of building another "AI that generates Instagram captions", I built something closer to a personal creator advisor. She tells Creator Compass: How she's feeling What happened during her day How much time she has Creator Compass then recommends whether she should: 🟢 Create today 🟡 Keep it low-effort 🔴 Don't post today — focus on your actual life When it recommends creating, it suggests a content idea, format, hook, reasoning, and estimated effort. The goal isn't to promise virality. The goal is to help her grow without letting Instagram take over her life. GitHub: https://github.com/heyujjwal/creator-compass/ Creator Compass is built around local open-source AI. React ↓ Spring Boot REST API ↓ Ollama ↓ Qwen3 The frontend collects the creator's current context and sends it to a Spring Boot backend. The backend constructs the advisor prompt and sends it to a locally running Qwen3 model through Ollama. The model returns the recommendation, which is displayed in the frontend. For the MVP, I intentionally kept the architecture simple: React for the interface Spring Boot for the backend API Ollama for local model inference Qwen3 as the open-weight AI model No database N
What I Built My friend is an engineering student, and like many engineering students, lab preparation often starts at the worst possible time — the night before the practical or viva. The problem isn't always understanding the experiment itself. The real problem is dealing with a long, messy lab manual and figuring out what actually needs to be prepared: the theory, apparatus, procedure, observations, precautions, and the questions an examiner might ask. So I built PracPrep — From Lab Manual to Lab-Ready. PracPrep is an AI-powered lab preparation companion that helps engineering students turn their lab manuals into a structured preparation workflow. Instead of repeatedly searching through a PDF before a viva, a student can: Create and organize their experiments. Upload their lab manual. Extract the important sections from the document. Review and edit AI-generated experiment sections before accepting them. Track preparation using checklists. Practice viva questions and receive feedback on their answers. Review previous viva sessions and identify areas that need more preparation. The goal is simple: Don't just read the lab manual. Become lab-ready. I built PracPrep because I wanted the preparation process to feel less like "find the important parts before tomorrow's viva" and more like a structured study workflow. PracPrep is designed around one idea: turn a lab manual into a preparation workflow. A lab manual can easily become 20, 30, or even more pages of information. But before a practical or viva, students usually don't need all of it at once. They need to know: What is this experiment actually about? Which theory do I need to understand? What apparatus should I remember? What is the correct procedure? What observations should I expect? Which precautions are important? What questions could the examiner ask? The problem is not a lack of information. The problem is finding the right information at the right time. And that is where I wanted PracPrep to help. ┌──────
What I Built I built SecondMind — a local-first second brain that runs on your own laptop. The idea came from building something useful for a friend who often has to repeatedly remember and search through personal notes, study plans, preferences, and project context. Instead of relying on a cloud AI service that sends everything to a remote server, SecondMind stores memories locally and uses a local open-weight model to understand conversations and retrieve relevant information when needed. You can talk to it normally, and it can remember useful information, recall relevant memories later, and forget information when asked. For example: "I'm studying DSA and I'm currently focusing on dynamic programming." Later: "What am I studying right now?" SecondMind can retrieve the relevant memory and use it to answer. The goal isn't to build another generic chatbot. It's to build a small personal memory layer that belongs to the person using it. https://github.com/RathnamS089/secondmind The project is built around a simple architecture: Browser ↓ Django ↓ SecondMind Agent ├── Memory Tools │ ├── Remember │ ├── Recall │ └── Forget │ ├── Retrieval │ └── Cosine Similarity │ └── Ollama ├── Qwen 2.5 1.5B └── nomic-embed-text SecondMind is built with Django, SQLite, NumPy and Ollama. For the language model, I used the open-weight Qwen 2.5 1.5B model through Ollama. For memory retrieval, I use nomic-embed-text to convert both the user's query and stored memories into embedding vectors. When a user asks something that might require memory: User query ↓ Embedding ↓ Compare with stored memory embeddings ↓ Cosine similarity ↓ Rank memories ↓ Relevant memories ↓ Qwen ↓ Response The memory system also has three tools: Remember — stores a memory and its embedding locally. Recall — searches stored memories using semantic similarity. Forget — removes a stored memory. The agent can decide when to use these tools, while the UI also provides direct access to them through a Tools menu. Everything
Today, we are thrilled to officially introduce Frontpagee — a modern, keyboard-driven RSS reader and feed aggregator engineered for developers, engineering teams, and curious readers who want to stay informed without algorithmic noise. Over the past decade, two major shifts ruined how technical professionals consume information: The Algorithmic Trap: Social platforms and feed algorithms are optimized for outrage and engagement bait rather than depth, technical signal, and focus. Enterprise Bloat: Legacy RSS readers like Feedly abandoned developers and individual readers, pivoting into $12/month enterprise cybersecurity suites with paywalled keyboard shortcuts and cluttered interfaces. We built Frontpagee to restore the simplicity, speed, and joy of reading the independent web. Frontpagee delivers a distraction-free, chronological stream of content from your favorite engineering blogs, GitHub release feeds, substacks, and tech publications: Pure Chronological Signal: No opaque recommendation algorithms or sponsored clutter. You only see updates from the sources you choose to follow. Keyboard-First Workflow: Navigate through articles with Vim-inspired shortcuts (J for next, K for previous, O to open original source) designed for high-efficiency reading. Zero-Lock-in 1-Click OPML Migration: Seamlessly export or import your existing feed directory from Feedly, Inoreader, or any standard XML feed file in seconds. Curated Topic Collections: Pre-bundled directories for React, AI Research, DevOps, Architecture, and Open Source to jumpstart your daily reading stack. Offline-Ready Progressive Web App (PWA): Instant local caching and lightning-fast page transitions across desktop and mobile. Frontpagee is built with a lightweight, ultra-responsive modern stack: Frontend: React 18, TypeScript, Tailwind CSS, Vite Real-time Sync & Storage: Firebase (Firestore, Auth, Cloud Functions) AI Summarization: Google Gemini API for fast, contextual TL;DRs Reader Rendering: Custom DOM sanit
The Hidden Engineering Challenges of Building Interoperable Healthcare Software Why connecting healthcare systems is only the beginning of solving the interoperability problem. Healthcare software has a problem that most application developers rarely encounter in ordinary business applications: two systems can successfully exchange data and still fail to understand each other. An API request may return a successful response. A FHIR resource may pass structural validation. An HL7 message may reach its destination without transmission errors. Yet the information may still be incomplete, incorrectly mapped, associated with the wrong patient, or disconnected from the workflow where it is needed. This is the difference between making healthcare systems communicate and making them interoperable. As healthcare organizations adopt digital platforms, electronic health records, telemedicine applications, remote patient monitoring, and AI-powered clinical tools, interoperability has become a foundational engineering concern rather than an optional integration feature. The difficult work is rarely limited to writing an API endpoint. It involves understanding healthcare data, preserving meaning across systems, handling inconsistencies, protecting sensitive information, and designing integrations that remain dependable as products evolve. Let's examine the engineering challenges behind building healthcare software that works beyond the initial connection. In conventional software development, integration often follows a straightforward pattern: One application sends a request. Another application receives the request. Data is transformed into the expected format. A response is returned. Healthcare integrations introduce additional layers of complexity. Consider a patient who visits a hospital, receives laboratory testing, and later accesses the results through a patient-facing application. Several systems may participate in this process: Electronic Health Record (EHR) Laboratory
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend Well, I never thought of it but one of my friends had been wanting to get into reading books but she has this strange fear that if the first book she chooses to start her reading journey, turns out to be boring then it'd convince her that she is not a reader. So I thought, instead of telling her "just pick a book, start reading and if it bores you then start reading another!" I thought I could certainly help her make an easier choice by building VibeLivre. So VibeLivre is a low-pressure first-book picker designed for people who want to start reading but don't know what to pick. Not only this, since she's a regular college student like me, I kept in mind that with a busy college schedule, the thought of committing to a 400 page book might make it even harder for her to begin. So I have designed the app around such constraints too. You just have to tell it: what kind of vibe/genre you like how many pages that book has how many minutes a day you can give to reading the cost of the book or whether it is freely available or not!(ofcourse, being a college student myself, I had to keep in mind the cost as well! ) So the idea is pretty simple : You don't have to become a reader before you start reading. You just need to find one book that makes you want to turn the next page. https://drive.google.com/drive/folders/1NGdoS5f1mYRjDPJ1m3EUHWErVTbqPgBv?usp=sharing https://vibelivre.streamlit.app/ https://github.com/alsopayalll/VibeLivre So before starting I had this thought that anybody could literally ask any LLM to suggest them a book, but I knew that I had done it before and what LLMs do is that they guess the most likely words that match your request. Because of this, they can confidently invent fake book titles and make up completely wrong page counts/prices and this is called hallucination. It is one of the most well documented limitations of LLMs. So instead of handling everything to AI, I ma
This is a submission for the Sanity Challenge, Path One: Ship an Agent That Queries Real Content Note: Maple Route covers only a few official pages, so it can't answer every immigration question and may leave out rules that apply to you. It's a reference for spotting possible options and policy changes, not legal advice. For your situation, please talk to a licensed immigration consultant (RCIC) or a lawyer. Maple Route is a multi-agent AI system that answers questions about a small set of Canadian immigration topics, using only official pages stored in a Sanity Knowledge Base: Express Entry points (CRS criteria) open work permits for spouses and family members post-graduation work permit eligibility 2026 changes to the Ontario Immigrant Nominee Program a few related canada.ca pages, such as the Global Talent Stream Four AI agents work on each question: one understands your situation, one reads the relevant Knowledge Base entries, one writes the answer, and one checks every statement against its source. A final code step removes anything the sources don't support. Maple Route tells you which options might apply, and flags a rule you mention if it has changed. If a question is outside these pages, it says so instead of guessing. I built it with tech workers in mind, because the rules they rely on change often. Express Entry stopped giving points for job offers in March 2025. Spousal open work permits were narrowed. Post-graduation work permit rules have changed several times. But blog posts, forum threads and AI chatbots keep repeating the old versions. People planning a move, often reading in their second language, can't easily tell which version is current, and getting it wrong can cost them months. You describe your situation in plain words: "I'm a software developer in Toronto with a job offer", or "I read that a job offer gives me 50 extra Express Entry points". Maple Route then: answers only from a Sanity Knowledge Base of official pages, never from the model's
TL;DR The remove.bg standalone site — and its self-serve API — retires on 1 December 2026, 9:00 CET. The official landing spot for API users, Leonardo.Ai, is a capable platform but not a drop-in replacement: it means async jobs, polling loops, presigned S3 URLs and JSON image payloads where you currently have one synchronous function call. This post is the field-by-field audit I did while wiring up a drop-in endpoint, condensed into the two tables I wish someone had already published: which request parameters behave identically, which are silently ignored, and what your error handling actually depends on. Everything here is checkable in about five minutes with curl — including against my own endpoint. From remove.bg's own API page: "The standalone website will no longer be available from 1 December 2026 at 9:00am CET." The banner on the same page points self-serve API users to Leonardo.Ai (both are part of Canva). Enterprise customers are unaffected — their contracts hold. Unused prepaid credits expire that morning. So if you're on the self-serve API, you have a real decision to make before December 1, and the rest of this post is about making it with evidence instead of vibes. To be fair up front: Leonardo.Ai is a legitimate platform, and pointing existing users somewhere is more than many sunset notices offer. But "our API is moving" and "port your integration to our generation platform" are very different sentences. The Leonardo integration model looks like this: Leonardo.Ai (official path) Drop-in replacement (what this post audits) Call pattern Async: submit → job_id → write a polling loop Synchronous: one request, PNG bytes come back Image transfer Presigned S3 URLs, or JSON with base64 / image URL multipart file, base64 string, or image URL — as before Billing Token cost varies with output resolution, hard to pre-estimate One credit per image, disclosed in a response header Code changes Queueing, polling, a new error taxonomy Change the base URL Output Genera
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend : https://dev.to/challenges/hacktoberfest-weekend-2026-10-01 I built the Model Substitution Governance & Audit Platform for my close friend, an AI/MLOps engineer who manages multi-agent systems and dynamic LLM routing gateways in production. Like many teams running autonomous agent pipelines, their infrastructure relies on dynamic gateways (like LiteLLM, vLLM, or custom fallback routers) to swap models on the fly whenever high-traffic spikes, token budgets, or provider rate limits hit. The hidden pain point? Silent model substitutions. When a mission-critical agent requests a model with a massive context window and complex reasoning capabilities (such as Claude 3.5 Sonnet or Llama 3 70B), the gateway might silently downgrade the call to a smaller or cheaper fallback (like Mistral 7B or GPT-4o Mini) to keep latency low. This causes silent context window truncation, hallucinated outputs, loss of long-document context, and unexpected compliance violations when prompts get routed to unapproved external providers. My friend had zero unified audit trail or alerting system to know when, why, or how often these downgrades were degrading their agent's downstream outputs. To solve this, I designed an end-to-end governance and auditing platform. It pairs a zero-latency, non-blocking Python Interceptor SDK (governance-interceptor) with a high-throughput FastAPI Cloud Tracker, an automated Capability Risk Assessor Engine, and a real-time Vercel Glassmorphism Dashboard. The system automatically computes context downgrade percentages, assigns risk severity ratings (LOW, MEDIUM, HIGH, CRITICAL), verifies agent provider whitelists, and produces retroactive compliance audit reports. Experience the full live platform and test simulated gateway routing in real time: Live Web Dashboard:model-substitution-governance-event.vercel.app https://model-substitution-governance-event.vercel.app Cloud API Engine & Sw
Imagine asking an AI assistant for the average order value in a 12 GB sales export. It finds an amount column and suggests AVG(line_amount). The query runs. The number looks reasonable. It answers the wrong business question. The file has one row per order line, not one row per order. The difficult part was deciding what a row meant before choosing the calculation. This is a useful place to start when connecting AI to local data. A model can help formulate questions and write queries. A data engine can execute those queries over millions of rows. The engineer supplies the business definition that neither the column names nor the SQL syntax can settle. The example below uses four invented order lines to explain that division of work. The 12 GB file is a hypothetical setting, not a performance benchmark. Suppose the export contains these lines: order_id line_amount A 100.00 B 30.00 B 40.00 B 30.00 Both orders total 100.00. Average order value is therefore 100.00. But the average line amount is (100 + 30 + 40 + 30) / 4 = 50.00. Giving the assistant more rows would not fix that calculation. It needs to know the grain: what entity one row represents. A column named amount might hold a line amount, a repeated order total, or a payment amount. Each requires a different query. For this example, the engineer defines the metric as follows: sum the sales lines belonging to each order, then average those order totals. Use USD orders placed in October 2026, with timestamps interpreted in UTC. Assume each order has one currency and the export contains sales lines; refunds are recorded separately. These choices make the calculation concrete. Schema inspection supplies the available fields and types. A short preview helps distinguish a line amount from a repeated order total. The next step is to express the chosen grain in SQL: WITH per_order AS ( SELECT order_id, COUNT(*) AS line_count, SUM(line_amount) AS order_amount FROM orders WHERE ordered_at >= TIMESTAMP '2026-10-01 00:00:00
The "Hotel Lobby AI" trend is everywhere right now: two photos in, a twelve-second rap performance out, with two familiar faces sharing an orange stage and a hanging microphone. If you're a developer or a curious builder, the interesting question is not what these tools do — it's how they do it, and which one actually fits your stack. This post breaks the pipeline down, then gives you a short framework for choosing between the main approaches. Most two-photo rap duo generators run roughly the same sequence under the hood: Face detection and alignment. The tool finds the faces in your one or two uploads, crops them, and aligns them so the downstream model can work with a consistent input. If you upload two separate portraits, the left/right placement is usually fixed at this stage. Identity mapping. This is the hard part. The model has to keep your person's identity stable across dozens of frames while the body moves, mouths rap, and the camera shifts. This is typically a face-swap or identity-embedding step layered on top of a motion prior — not a raw text-to-video call. Motion and scene generation. The orange stage, the performer choreography, and the camera are baked in as a template, which is why these tools need no prompt. You're not describing a scene; you're selecting from a pre-built one. Audio generation. Rather than reusing the copyrighted "HOTEL LOBBY" recording, many tools synthesize an original beat plus lyrics and vocals. The lyrics are often generated from an optional "topic" field you can fill or leave blank. Render and export. Everything is composited into a short clip you can download and post. The practical takeaway: the engineering moat is in identity preservation and audio, not in the scene. That's why the good tools feel instant — the expensive part was solved at build time, not at generation time. The tools split into two camps, and the choice matters more than the orange stage. Approach Input Control Typical use Two-photo rap duo generator (e.
Three things broke this week, and they broke the same way. One. A memory index grew past a hard delivery limit. Fifty characters over, and the overflow was not trimmed — it was dropped entirely, while every internal consistency check kept reporting that all was well. The checks were arithmetically correct and epistemically useless: they verified that the numbers agreed with each other, not that anything had arrived. Two. A weekly test had an impossible pass condition baked into its own definition, so it filed a red alarm every week while measuring a healthy result. Its reports went to a mailbox and were auto-archived after a day by a script that counted hours, not readers. Eleven reports, zero readings. Three. An unexplained commit appeared, signed with a name we read as an outside author. It was not an outsider. It was one of our own scheduled agents, inheriting the repository's configured identity. Every commit any agent here makes wears the same signature. We were hunting a stranger and found a defect in attribution. The shape is identical in all three. A measurement returned something true about itself and false about the world, and did so in a confident, well-formatted voice. Not one of them failed loudly. They all failed politely, which is much worse, because a polite failure gets filed instead of fixed. What I am taking into next week: ask each instrument what it cannot see, and never accept a number without the boundary of what it actually measured.
Most explanations of AI agents stop at “a model with tools”. That is true, but it doesn't help when your agent forgets a preference, calls the wrong function or loops forever. To debug any of those, you need to know which part is misbehaving. This post continues my series on building agents. The previous one covered LLMs versus agents. An AI agent has four components: a brain (the language model that decides what to do next), memory (the conversation history and stored facts the model can read), tools (functions that let it act outside the model) and an action loop (the code that calls the model, runs the tools it asks for and feeds the results back). The brain is the only part that is a model. The other three are code and data that you write and control. Part What it does Without it Brain Reads everything and decides the next step Nothing decides, so you have a fixed script Memory Holds the conversation and stored facts The agent forgets between steps or sessions Tools Let it read or change things outside the model It can only talk Action loop Runs the model, executes tools, returns results One answer, then it stops Brain. The language model. Each turn it gets the system prompt, the conversation, the tool list and any tool results, and it returns either text or a request to call a tool. It never runs anything itself. Memory. Two layers. Short-term memory is the message history you send with every call. Long-term memory is anything written to storage and read back in a later run: a notes file, a database row, a vector store. The model remembers nothing between calls, so both layers are your code's job. Tools. An ordinary function plus a description: a name, when to use it, and a JSON Schema for the inputs. The model never sees your code, only the description, so write it like API docs for a reader who can't ask questions. Action loop. Send memory to the brain. Plain text means done. A tool request means run the tool, append the result to memory and go around again.
The constraint is not picking the smartest model. It is keeping invoice review fast without letting a plausible wrong total reach the ledger. Short answer: for a Node.js chatbot API that must switch among multiple models, put one unified chat-completion boundary behind the extractor, request structured fields only, and reject output with deterministic checks before a person sees it. That path is a strong fit when weekly shipping speed matters more than provider-specific features. For a one-person SaaS, maintaining four client libraries is undifferentiated work. A plain REST API keeps the integration small: one request shape, one authentication pattern, and no client package version to babysit. The second useful property is model discovery. The production picker can expose only models marked available instead of turning the model name into a hard-coded promise. This is not a recommendation to structure every chatbot response. Invoice extraction is a bounded sub-task: supplier, invoice number, currency, subtotal, tax, and total. Free-form explanations should remain free-form. JSON Schema can constrain shape. It cannot prove that total was copied from the invoice, that the arithmetic is coherent, or that a supplier reference was not mistaken for an invoice number. Tool calling has the same limit. It controls how an action is requested; it does not make the arguments true. The useful split is simple. The model handles visual or textual ambiguity. Ordinary TypeScript handles invariants. If subtotal plus tax differs from total beyond the rounding tolerance, the result goes to review. If a required field is missing, it goes to review. If currency is outside the currencies the media business accepts, it goes to review. I would start with six fields, not a universal invoice ontology. That is an explicit quality trade: fewer fields make the first release less impressive, but every field can have a clear review rule. Shipping weekly favors the narrow contract. Add purchase-ord
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built NextCueAI, a local-first AI assistant for people who get stuck on confusing screens. You can drop, paste, or choose a screenshot from an app, website, settings page, error dialog, or form. NextCueAI looks at the screenshot and explains: what is on the screen what may be wrong what to do next clear step-by-step actions any uncertainty or caution that matters It supports both English and Sinhala, with Simple and Detailed explanation modes. The project is open source and available here: GitHub: https://github.com/ish4ra/NextCueAI Windows MSI: https://github.com/ish4ra/NextCueAI/releases/tag/v1.0.1 I built NextCueAI for my friend Iruka Akash, who is 26 and works at Galadari Hotel in Colombo. Like many people who are comfortable using computers but do not want to spend time decoding every unfamiliar screen, he can occasionally run into confusing settings pages, error dialogs, installers, or forms where the difficult part is simply understanding what the screen is asking and what the safest next step is. That gave me the idea for NextCueAI: a tool that can look at a screenshot and explain the situation in plain language, almost like having a technically minded friend looking over your shoulder. I also wanted it to support Sinhala, because sometimes a clear explanation in your own language is much more useful than a technical answer in English. Here is the demo: https://youtu.be/rEi1WpOVcB8 In the demo, I open NextCueAI, add a screenshot, run local screenshot analysis, and get an explanation with practical next steps. The current Windows release is packaged as an MSI, so Node.js is not required after installation. For v1.0.1, Ollama and the local Gemma model are still installed separately. A screenshot can contain much more private information than people realize. It may include: account names email addresses personal messages file names system information browser tabs settings error l
Claude Opus 5 costs $5 per million input tokens whether a prompt arrives in English or in Russian. What changes between the two languages is how many tokens the same paragraph becomes, and the bill is that count multiplied by the price. A recent test on Habr measured the gap across 11 tokenizers. Its numbers line up with research going back to 2023: on most popular models, a language other than English costs more to send, fills the context window sooner and reaches rate limits with less text. A token is the chunk of text a model reads and bills by, usually a piece of a word. The tokenizer is the component that cuts text into tokens with a vocabulary fixed before the model is trained. The author, Habr user donseo, wrote 4 parallel text pairs in Russian and English: a technical article, a support chat, a business notice and Python code with comments. The Russian side holds about 2,500 characters. Open tokenizers ran locally through tiktoken and Hugging Face. For closed models, the script sent each text with a short fixed prompt and the prompt alone, then subtracted the two token counts the API reported. The code and the corpus are public on GitHub under MIT. Model RU/EN tokens Russian vs English YandexGPT 5 Lite 0.91x -9% GigaChat 3 0.96x -4% Grok 4.7 1.18x +18% GPT-5.x / GPT-6 (o200k) 1.19x +19% Gemini 3.7 Flash 1.20x +20% GLM-5.3 1.23x +23% DeepSeek V3/V4 1.38x +38% Qwen 3 1.52x +52% Kimi K3 1.86x +86% GPT-4 (cl100k) 2.09x +109% Claude Opus 5 2.96x +196% Claude Opus 5 sits far from the rest at 2.96x. Its technical article took 327 tokens in English and 872 in Russian. Even its English is expensive: 3.25 characters per token, against 5.07 for the OpenAI o200k tokenizer behind GPT-5.x. In Russian it falls to 1.03 characters per token, close to one token per letter. The Python sample showed the smallest gap on Claude Opus 5, 424 tokens in Russian against 231 in English. Prose is where the premium bites hardest. At the same per-token price, Russian text on Claude Opus 5
Choosing the right software testing tool can have a direct impact on how efficiently a QA team works. The right platform can help testers organize test cases, automate repetitive activities, track results, identify defects, and provide better visibility into product quality. Types of Software Testing Tools Test Management Tools Test management platforms help QA teams organize and control the testing process. They typically support: Test cases Test suites Test runs Requirements Test results Defect tracking Reports Test coverage Examples include Tuskr, TestRail, Xray, Zephyr, and PractiTest. These tools are especially useful when the main challenge is organizing and managing testing activities. Test Automation Tools Automation tools execute predefined tests without requiring testers to perform every step manually. Popular examples include: Selenium Cypress Playwright Appium Katalon Automation can be particularly valuable for regression testing and repetitive scenarios. API Testing Tools API testing tools help verify whether APIs behave correctly under different conditions. Common examples include: Postman SoapUI Karate They can be used to validate requests, responses, authentication, data handling, and error conditions. Performance and Load Testing Tools These tools evaluate how applications behave under expected or heavy workloads. Examples include: Apache JMeter LoadRunner Gatling BlazeMeter They can help teams identify bottlenecks before applications reach production. Cross-Browser and Device Testing Tools These platforms help teams test applications across different browsers, operating systems, and devices. BrowserStack and Sauce Labs are examples of services used for this type of testing. The important point is that one tool does not necessarily need to cover every type of testing. A QA environment may combine several specialized tools with a central test management platform. Key Factors to Evaluate in a Software Testing Tool Functional Fit Start with the most ba
Hand an agent a full sales stack. It can search contacts, send email, create a sequence, update the CRM, pull campaign stats. Every action works. Now ask it to run a campaign in a market it has never seen. It will email a contact another team is already working, send a third follow-up to someone who asked to be removed, and write a generic note to a company that manufactures in-house. None of that is a reasoning failure. Procedure was missing. Anthropic shipped skills for Claude in October 2025 and published the format as an open standard at agentskills.io that December. A skill is a directory with a SKILL.md: name and description in YAML frontmatter, markdown instructions below, optional scripts/ and references/. The loading model is the clever part, and it is progressive disclosure: Tier 1 — name and description, always resident, roughly 100 tokens per skill Tier 2 — the SKILL.md body, loaded when a request matches the description Tier 3 — bundled scripts and references, read only when the body asks That is why you can install a large skill collection without paying for it on every turn. One property matters more than the rest: a skill grants knowledge, not access. The instructions can only direct capabilities the agent already has. Authority stays with the tool and credential layer, which is the right place for it. Capability is not additive. A large unstructured tool surface creates its own failures: selection ambiguity, unnecessary action, poor sequencing, duplicated work, and outcomes you cannot measure because no procedure was followed. The bottleneck is what the agent can decide, not what it can reach. A prompt like "write a good cold email" improves writing and settles nothing else. A mature skill carries the objective, the context it requires, decision rules, tool selection, execution order, business constraints, exception handling, an expected output shape, and a way to evaluate the result. The test is simple: could a competent new hire follow it and get
Yossi Matias, Vice President & Head of Google Research, explores how AI is beginning to reshape biology, infrastructure, manufacturing, and science, and why its greatest impact may come when it intersects with other fields. Step inside the newsroom with our MIT Technology Review editors for sharp analysis and unpublished insights from the team that researches…
If you hand five different classifiers the exact same data, how different do the results really look? That was the question behind my Admissions Predictions project, and the answer was more interesting than I expected. The task is binary: given a student's entrance exam score and percentage, predict whether they get admitted. The data is synthetic, 1,000 students, with both features drawn uniformly between 0 and 100. I generated the labels myself from a logistic function, then sampled each outcome from a Bernoulli distribution: admission_prob = 1 / (1 + exp(-(0.1*X1 + 0.2*X2 - 10))) That gave 755 admitted and 245 not admitted. I used an 80/20 split (800 train, 200 test) with random_state=42, and trained all five models on identical splits so the comparison was fair. Model Train acc Test acc F1 (admitted) Logistic Regression 94.13% 92.50% 95.05% SVM (RBF) 93.75% 91.50% 94.46% Decision Tree 100.00% 90.50% 93.77% Random Forest (100 trees, entropy) 100.00% 93.00% 95.45% KNN 95.50% 92.00% 94.81% The decision tree memorized the training set. A perfect 100% on train and the lowest score on test, 90.5%. That roughly 9.5 point gap is what overfitting looks like in numbers. Logistic regression held its own. It is the simplest model here and still scored 92.5%. Since I built the labels from a logistic function, a logistic model matching the data-generating process makes sense. The gap between models was small. All five finished between 90.5% and 93.0%. The test set has 200 rows, so half a point is a single student. I would not call Random Forest a clear winner over Logistic Regression from this experiment alone. This was my first side-by-side model comparison, and it changed how I evaluate everything after it. I no longer trust train accuracy by itself, and I look at precision and recall next to accuracy, especially when the classes are not balanced (here, about 75% of students are admitted). Code: github.com/bluntjudg/Admissions-Predictions Series: Part 1 of 7 in my ML fundam
Shopify is one of the harder platforms to automate reliably, and not for the reasons most teams expect. Creating a product or syncing a feed isn't complex logic. The hard part is everything around it. This post breaks down how the QA team at CloudQA built stable, unattended end-to-end automation for AdNabu, a Shopify app for product feed and catalog automation, and the design decisions that made it work. Before a single meaningful test could run consistently, four separate problems had to be solved. 1. Session timeouts. Scheduled or long-running suites need a session that's still valid when they execute. Logging in fresh on every run is slower, and every login is another point of failure. 2. MFA prompts. MFA exists specifically to interrupt automated, unattended access. Hitting a challenge mid-run doesn't just fail one test, it stalls the whole pipeline behind it. 3. Shadow DOM. Shopify's admin encapsulates component internals in shadow roots. Standard DOM queries can't see inside them, so conventional selector strategies can't reach a meaningful portion of the UI. 4. Frequent UI changes. Shopify ships updates on its own schedule. Single-attribute selectors break whenever markup shifts, even when user-facing behavior hasn't changed. Any one of these is manageable. Together, they make stable, repeatable, unattended automation genuinely difficult. Instead of running Shopify–AdNabu tests on shared infrastructure, the team set up a dedicated virtual machine for this workflow. That removed a whole class of flaky-test causes: resource contention, state bleed from unrelated runs, and configuration drift from other projects. The VM's config, browser state, and session data belong exclusively to this suite, so when something fails, it's a Shopify–AdNabu problem and not an artifact of something else running alongside it. Scripting around MFA on every run is fragile, and for many MFA implementations it isn't reliably automatable at all. So instead of fighting it, the team used
This is part 3. Part 1 is about converting vibe-coded MVPs. Part 2 is the origin story. UECA-React was my first real TypeScript work. A year or so after the first version, I looked at it critically. It worked, but it was functionality piled in a heap. Bindings, low-level MobX plumbing, things that should never leak into a business application. My teammates couldn't follow it, and I started hitting bugs I couldn't fix without restructuring. So I rewrote it into proper classes. That was version 2. It was better, but I still had a problem: the only person who really understood the failure modes was me. By then I was using Claude Code with Opus. I had a few integration tests, written by hand, but little time for more. So I asked the agent to cover the framework with tests. It read the code, wrote documentation of how it works, noticed my test style, and started writing tests the same way: tiny UECA applications, with an application component at the root and test components plugged in. And it started finding bugs. A lot of them. The framework worked in normal situations. In abnormal ones, bindings didn't fire, events were skipped. A framework like this is a complicated state machine, and one human brain can't cover all its transitions. The agent fixed what it found, and the fixing produced new ideas. Coverage is now above 90%. This is what became version 3.0: mistakes that used to be logged and dropped now throw and reach a single error handler, and React.StrictMode is supported. I had known for years that a visual trace viewer could be built, but never had the time. The agent saw my tracing system, improved it to carry more useful information, and built the viewer: component tree, message bus traffic, bindings, with stop and playback. I didn't write a line of it. It comes straight out of the architecture, because everything in a UECA app is the same kind of component, so everything can be traced the same way. Even if an AI writes the whole application, you can open the