Overview: This article is about understanding why AI assistants and related AI systems seemingly misbehave. It explains why semantic understanding does not guarantee reliable instruction following. It examines why important constraints and factual requirements can be enforced more reliably. It offers guidance for setting realistic expectations when using AI systems. keywords: AI assistants, large language models, LLMs, instruction-following, constraints, behavioral alignment, semantics, understanding, behavior, software engineering, invariants, agentic extraction pipelines, Retrieval-Augmented Generation, RAG, tool use Semantic capability does not guarantee reliable instruction following. One of the strangest experiences with modern AI assistants is watching them fail at instructions that would be almost trivial for a human to follow. Consider a simple request: "Review this programming script, but leave all existing comments exactly as they are." The instruction is clear. There is little ambiguity. A human programmer would normally understand the boundary immediately: "Review or modify the code, but treat the existing comments as read-only." Yet an AI assistant may acknowledge the instruction, explicitly confirm that it understands it, and then proceed to modify the comments anyway. So why does this happen? The problem is not necessarily that the AI failed to understand the words. Modern LLMs can process vocabulary, context, and many forms of natural-language meaning at a high level. Their ability to interpret language has improved substantially across many domains, although performance remains uneven, especially for ambiguous, specialized, or high-stakes tasks. The deeper problem is that understanding an instruction and reliably enforcing it are two very different things. A model can understand a request while still responding in a way that does not satisfy the user's intended objective. This does not mean that LLMs cannot represent or follow constraints. Instructi
You want a private LLM, and the obvious move is to buy a box and run it yourself. Before you do, it's worth understanding what that hardware really costs, what happens when it's out of date in two years and you're still paying it off, and what the other options are. There are three routes: your own hardware, a cloud provider under contract, or confidential inference on hardware that can't read the prompt in the first place. This post walks through your options for Private LLMs, what each costs, and a deeper look into AI privacy when you're sharing the agent with the rest of your team. What does "private" mean for an LLM? Option 1: a local LLM on your own hardware Option 2: a cloud provider with a contract Option 3: confidential inference with SayGM How do the three compare? The other side: private memory in shared agents Common questions about private LLMs Which one should you pick? The term Private LLM / AI is used across various contexts Physical privacy means the prompt never leaves a machine you control. Contractual privacy means it leaves, but the provider has agreed in writing not to train on it, share it, or keep it past a set window. Technical privacy means it leaves, but it's processed inside hardware that the operator can't see into, and you can check that yourself. Who is able to read the prompt, and is the thing stopping them a wall, a promise, or a chip? A local LLM is the cleanest answer to the privacy question. Nothing leaves the building, there's no provider to trust, and no terms of service to reread every time they change. A current hardware roundup puts an RTX 5090 at $1,999 MSRP (USD) with 32 GB of VRAM, managing roughly 25 to 30 tokens per second on a 70B model, and a 128 GB Mac Studio at $3,500 to $4,000 for similar speeds (fungies.io hardware guide). That's a perfectly good setup for one person. Tradeoffs are: Concurrency. One card serving 25 tokens per second is one conversation. An agent that fans out into ten parallel calls is queueing on t
I spent three months and roughly $500 on GPU hardware trying to prove a point. That point was that I could run my own AI models, free from the shackles of API pricing and vendor lock-in. I was wrong, and the journey was both humbling and expensive. This isn't just a "cloud good, self-host bad" tirade. There are legitimate reasons to self-host—privacy, data sovereignty, or just the sheer nerdery of building your own inference rig. But for 99% of us building real applications, it's the wrong financial move, the wrong engineering move, and often the wrong business move. Here's what I learned from burning my weekend nights and a solid chunk of my freelance budget. It started innocently enough. I saw a viral post about someone running Llama 3 locally and thought, I can do that. I had an old gaming PC with a GeForce RTX 3080 (10GB VRAM). I reasoned I could run 7B parameter models pretty easily. Let me walk you through the reality. Installing Ollama was a breeze. Running ollama run llama3 was magical. It was fast, private, and I was riding the high of the open-source movement. I'd closed my terminal and felt a deep sense of satisfaction. I had beaten the system. But here’s the thing about a local model: it’s easy to run a big model slowly. It’s much harder to run it fast enough to matter. My use case was code generation and summarizing long pull requests. The 32k context window I bragged about was eating my VRAM alive. I remember writing a quick script to test summarization of a legacy codebase. The file was about 5,000 lines. My little GPU choked. It wasn't just slow; it was stuttering. I could literally watch my RAM usage in htop spike to 95%, and the prompt window would freeze for 45 seconds just to process the input. # The naive approach that failed me def summarize_big_file(file_path: str, model: str = "llama3:8b") -> str: with open(file_path, 'r') as f: content = f.read() prompt = f"Summarize this: {content}" # This line was the killer. It blew up my VRAM. output = o
Where MobaXterm stores bookmarks and keys, how to export them, and how to land the whole setup in a cross-platform client — plus when to stay. MobaXterm earned its following. On Windows it's the Swiss Army knife: tabbed terminal, a real X server, SFTP browser docked beside every shell, and a pile of bundled Unix tools that mean you rarely reach for anything else. If you live on Windows and lean on the X server, you may not need to leave at all — this guide will even tell you when to stay. But two itches send people looking. One is the platform wall: MobaXterm is Windows-only, so the day you pick up a Mac or a Linux box, your whole setup stays behind. The other is the opposite of its strength — some people want a fast, focused SSH client, not a toolbox that does everything. Either way, getting out with your sessions, keys and habits intact is a smaller job than it looks. It's written with Termalin as the destination, but the first half applies to any modern client. MobaXterm calls saved sessions bookmarks, and where they live depends on which edition you run: Installer edition — in the Windows registry, under HKEY_CURRENT_USER\Software\Mobatek\MobaXterm. Portable edition — in a MobaXterm.ini file sitting next to the .exe. That single file is your whole configuration, which is why the portable build travels on a USB stick. Private keys — wherever you saved them. MobaXterm works with standard OpenSSH keys and with PuTTY's .ppk, and it ships MobaKeyGen (a PuTTYgen clone) for making and converting them. Saved passwords — in MobaXterm's own credential store, protected by its master password. These do not export in plaintext, by design — you'll re-enter them once in the new client. The portable, any-OS route: open the Sessions sidebar, right-click the top User sessions node, and choose Export sessions to write a .mxtsessions file (it's plain text — you can open it and read your inventory). That file is what an importer consumes on a Mac or Linux box where the registry does
This blog shows three (3) different ways to host an app on Azure safely and efficiently. The three ways are as follows: Azure Container Instances. Web App for Containers + Azure Database for PostgreSQL. Virtual Machine + Docker Compose. REQUIREMENTS: No.1: Azure Container Instances. http://localhost:3000 in your browser. Publish Your Image to Docker Hub: At this moment, your app image exists only on your computer. Azure can't access your laptop, so you need to upload the image to a registry Azure can pull from. Now log into your Azure Account in your terminal using Azure CLI command and create a resource group. Also I create an aci-notes.yaml file that tells Azure which containers to run and how to configure them. Azure reads this file the way Docker Compose reads docker-compose.yaml. open in browser: No. 2: Web App for Containers and a Managed Database: Azure handles backups, patching, high availability and scaling for you. The app itself runs on Azure Web App for Containers, a platform built for hosting containerized web apps, with automatic HTTPS, scaling and deployment slots. This is the recommended pattern. Create the managed PostgreSQL server. Checking the server to capture its address. Creating the App Service plan. Creating the web app from your image. Point the app at the managed database. Restart the app and wait. No.3: Virtual Machine + Docker Compose: Sometimes you want full control over the server, custom software, specific networking, or simply to understand what platforms like Web App for Containers do behind the scenes. In this option you rent a Linux server, install Docker on it yourself, and run the same kind of compose file you used locally. You are now the system administrator. Create a resource group and a small Ubuntu Linux server inside it. Opening port 3000. Connecting to the VM. Refreshing the package list. Install Docker and Docker Compose on the VM. Install helper tools. Create a folder for repository keys. Download Docker's signing key. M
Dell warned customers to patch a critical vulnerability in the System Update (DSU) command-line interface (CLI) deployment tool as soon as possible. [...]
Securing a web application usually means either routing private traffic through a third-party cloud CDN or wrestling with complex Nginx configurations. Here is how to set up Aegis—an open-source, self-hosted Web Application Firewall (WAF) and reverse proxy—in under two minutes. Choose either the quick installation script or Docker: Clone the repository and run the automated installer: git clone https://github.com/divinelabio/aegis.git cd aegis sudo bash install.sh Verify the systemd service is active: sudo systemctl status aegis Run the self-contained container with persistent data storage: docker run -d --name aegis_server \ --restart unless-stopped \ -p 8080:8080 -p 8081:8081 \ -v aegis_data:/var/lib/aegis/data \ -e AEGIS_ADMIN_PASSWORD="ChooseStrongAdminPassword123!" \ ghcr.io/divinelabio/aegis:latest Port 8080: Public Ingress Proxy (sits in front of your applications). Port 8081: Web Dashboard for traffic monitoring and policy tuning. Aegis inspects incoming requests and blocks common web exploits (SQL Injection, XSS, Remote Code Execution) out of the box. Test it by sending a simulated SQL Injection payload to the proxy: curl -i "http://localhost:8080/?id=1%27%20OR%201=1--" Aegis intercepts the attack and returns HTTP 403 Forbidden: HTTP/1.1 403 Forbidden X-WAF-Rule-ID: 942100 Access denied: This request was rejected by the application security layer. The attack is dropped at the edge and never reaches your backend servers. Open http://localhost:8081 in your browser. From the dashboard, you can: Route incoming traffic to your backend origin servers. View blocked attacks and threat telemetry in real time. Adjust Layer 7 rate limits, toggle Geo-IP blocking, and manage SSL certificates. All policy updates reload dynamically in memory with zero downtime—no proxy restarts required. The Community Edition is free to self-host on your own servers and homelabs: GitHub: https://github.com/divinelabio/aegis Documentation: https://divinelab.io/products/aegis/docs
The validity period is the only part of a certificate written as text. Everything else DER encodes is bytes with structural rules (a length, a two's complement integer, a base-128 OID arc), and those rules are mechanical enough that a reader either applies them or visibly does not. notBefore and notAfter are ASCII digits sitting inside a binary format, and that is where leniency collects: none of the minimality machinery that catches a padded integer or a long-form length ever looks inside a string. So take three documents. One carries 2501011200Z, a time with no seconds. One carries 250101120000+0200, a time with an offset instead of Z. One carries 250230120000Z, February 30. DER defines exactly one spelling of a time and none of these is it. No cryptography is broken by accepting them, which is the problem: each one is an instant that two readers place differently, and the signature over the bytes verifies in both readings. I keep these rules in derstrict, a DER reader whose whole premise is refusing what DER already forbids. A time without seconds fails as a shape. A reader that accepts it has to supply the seconds. Zero is the obvious supplement and it is still an invention: the writer may have truncated a real 30. The document that reader produces now has a notAfter up to fifty-nine seconds away from the one its peer produced. On a long-lived certificate that is nothing. On a short-lived one, or on a check performed near the boundary, it decides valid against not valid. An offset fails as a zone. +0200 is a complete, unambiguous instant to a reader that implements offsets. The danger is not ambiguity in the bytes. It is that a reader which does not implement offsets still has to do something, and the usual something is to consume the leading 250101120000 and ignore the tail. One verifier then holds 10:00Z and the other holds 12:00Z. Same bytes, same signature, two instants. A bare local time with no zone at all breaks the same rule the same way, and derstrict r
You might think SpecKit Companion only works with GitHub's spec-kit. It doesn't. Spec-driven development is exploding right now — there are dozens of workflows and methodologies emerging across the community — and SpecKit Companion can work with any of them. One that caught my attention is Gentle AI by Gentleman Programming. It's an ecosystem configurator that transforms AI coding agents into comprehensive development systems. It takes a different approach to SDD: instead of one AI doing everything, it delegates to specialized sub-agents for each phase — explore, specify, design, implement, verify. One command sets up the entire workflow, and it pairs perfectly with SpecKit Companion's visual interface. Let me show you how to set it up and run through a quick feature build. By default, SpecKit Companion uses GitHub spec-kit's commands — speckit.specify, speckit.plan, speckit.tasks, speckit.implement. A custom workflow lets you swap those out for commands from a different SDD methodology. You define the steps, the commands they run, and the files they produce. SpecKit Companion handles the rest — sidebar navigation, phase tracking, progress indicators — all working with your workflow instead of the default. Before configuring the custom workflow, you need to install Gentle AI. Run gentle-ai install in the terminal — the interactive TUI lets you select your agent (Claude Code, Cursor, etc.) and components (SDD, Engram memory, skills). This bootstraps the SDD commands and file structure in your project. Once initialized, you need to add the SpecKit Companion configuration to .vscode/settings.json — Gentle AI doesn't do this for you. Here's what the workflow configuration looks like: // 📃 .vscode/settings.json { "speckit.customWorkflows": [ { "name": "gentle-ai", "displayName": "Gentle AI (SDD)", "description": "Multi-agent SDD workflow using gentle-ai", "steps": [ { "name": "specify", "label": "Spec", "command": "sdd-spec", "file": "spec.md", "subDir": "specs" }, { "n
What Is OpenCode OpenCode is an open-source AI coding CLI with 167k stars. It launched in 2026 and has been quietly gaining traction among developers who want a terminal-based AI coder that works with Claude, GPT, and Gemini models. The pitch is simple: one CLI, any model, zero markup. You bring your own keys, pick the model, and OpenCode routes the request. No silent model switching. No vendor lock-in. No surprise bills. I tested OpenCode for a week across Claude Code, Codex, Cursor, OpenCode, Cline, and Copilot. I used it for code generation, debugging, code review, and planning. Here is what I found, the good, the bad, and the ugly. OpenCode ships with several features that make it stand out: Terminal-first, run AI coding agents from the command line. No IDE needed. Just a terminal and your favorite model. Multi-model support, works with Claude, GPT, Gemini, and any OpenAI-compatible model. Switch models mid-task without losing context. VS Code integration, OpenCode has a VS Code extension for in-editor AI assistance. MCP support, OpenCode supports Model Context Protocol. This means you can use OpenCode with any tool that supports MCP. Zero markup, you pay the model provider's rate directly. No markup, no hidden fees. The terminal-first approach is genuine. I used OpenCode from the CLI for code generation, debugging, and code review. It works well for quick tasks and long-running sessions alike. The multi-model support is the real star. OpenCode routes requests to Claude, GPT, Gemini, and any OpenAI-compatible model through a single unified endpoint. You can switch models mid-task without losing context. I tested this by running the same task through different models. The quality difference was noticeable, Claude and GPT produced better code, but the cheap models were fast enough for simple tasks. The key is that you have the choice, not OpenCode. The VS Code extension is a big deal. You can use OpenCode from your terminal or install the VS Code extension for in-
До 30 сентября DeepSeek Harness запускали командой npx @deepseek-ai/dsh web в терминале, интерфейс открывался в браузере на локальном адресе. Нужны были Node.js, терминал и pnpm для первой установки плагина. Для новичка это барьер. 30 сентября вышла десктопная версия: скачать установщик, поставить, войти в аккаунт. DeepSeek Harness, коротко dsh, — агентный харнесс. Он связывает языковую модель с инструментами: агент читает и правит файлы в папке, запускает команды, выходит в сеть, строит план и готовит отчёт. Код открыт под лицензией MIT. Репозиторий создан 13 августа 2026 года, к началу октября у него 243 тысячи звёзд и 29 тысяч форков. Девиз — «Everything is a Plugin». На фреймворке Cordis собраны модель, инструменты, песочница, хранилище сессий, интерфейс и цикл агента. Поэтому поведение меняется без правки исходников, и за полтора месяца вырос каталог сторонних дополнений. На странице deepseek.com/harness есть кнопки для macOS на Apple и Windows 64 бита. Размеры сняты запросом заголовков к серверу загрузок. Сборка Файл Размер Windows x64 dsh-latest-windows-x64.exe 289 МБ macOS, Apple Silicon dsh-latest-macos-arm64.dmg 370 МБ macOS, Intel dsh-latest-macos-x64.dmg 386 МБ Все три файла датированы 29 сентября, выпуск — 0.2.0-rc.2. Сборки для Intel на странице загрузки нет, хотя файл лежит на сервере. В журнале выпуска для неё указана починка: неверная подпись встроенного Node, из-за чего при запуске падали офисные навыки. Эту сборку проверяют меньше. Оболочка — Electron вокруг того же веб-интерфейса. README называет её тонкой и такой же по поведению, как веб-версия. Большой вес объясняется просто: внутрь упаковали всё сразу. Слоёв четыре: dsh с полным деревом зависимостей в подписанном архиве приложения; Node.js (исполняемый файл Electron) и pnpm для установки плагинов; отдельный Python с numpy, pandas, python-docx, python-pptx, openpyxl, Pillow, lxml, XlsxWriter; три офисных навыка по умолчанию: Word, презентации, Excel. Мастер установки классический, в конце галоч
Why a Custom Voice Matters for Your Brand A distinctive voice is the audio equivalent of a logo. It can reinforce brand personality, improve accessibility, and even boost conversion rates on calls‑to‑action. With modern text‑to‑speech (TTS) engines, you no longer need to settle for a generic “robot” voice—today you can train a model that sounds like your founder, a mascot, or any tone you define. In this guide we’ll walk through the practical steps to create a custom AI voice, from data collection to deployment, and we’ll lean on ElevenLabs as the core service that makes the heavy lifting painless. The foundation of any voice clone is a clean, well‑labeled audio corpus. Tip Details Consistent mic & environment Record in a quiet room using a cardioid condenser mic (e.g., Audio‑Technica AT2020). Keep the distance constant (≈6‑12 in). Script design Aim for 2‑3 hours of diverse text: short prompts, long paragraphs, numbers, dates, and brand‑specific jargon. File format 24‑bit WAV, 44.1 kHz. Avoid compression artifacts. Metadata Name each file sentenceID.wav and keep a matching metadata.csv with sentenceID,text. Pro tip: If you already have podcasts or webinars, you can extract clean segments with tools like Audacity or FFmpeg, but be ready to trim background noise. Even the best recordings need a bit of polishing before they’re fed into a TTS engine. # Install ffmpeg if you don’t have it sudo apt-get install ffmpeg # Normalize volume to -23 LUFS (standard for broadcast) ffmpeg -i raw.wav -af loudnorm=I=-23:TP=-2:LRA=7 normalized.wav # Trim silence from start/end (helps the model learn speech, not silence) ffmpeg -i normalized.wav -af silenceremove=1:0:-50dB trimmed.wav After batch processing, verify that each file is under 30 seconds—most APIs reject longer clips for training. There are a handful of options (OpenAI, Microsoft Azure, Google Cloud), but for a developer‑first experience with a generous free tier, ElevenLabs stands out. Their API lets you: Upload a dataset
HAULR 🚛 — The Open Road, Planned to the Minute What I Built I built HAULR, an AI-powered HOS Trip Planner and ELD Log Generator for truck drivers and dispatchers. Planning a long-haul trip is much more complicated than simply finding the shortest route. A driver has to account for driving limits, mandatory breaks, rest periods, fuel stops, duty windows, and cycle limits — all while making sure the final schedule remains compliant. HAULR brings all of that together into one application. A driver enters their current location, pickup location, drop-off location, and current cycle hours. HAULR then generates: 🗺️ An interactive route with planned stops ⏱️ HOS-compliant driving and rest schedules ⛽ Fuel and break stops 📋 Automatically generated daily ELD logs 📄 Exportable PDF logs 🤖 An AI Copilot called Rig 📚 RAG-powered answers to FMCSA/HOS questions 🧠 Agentic controls that allow the AI to interact with the trip planner The most important design decision was keeping the HOS calculations deterministic. The AI is used for reasoning, retrieval, natural-language interaction, and tool use — while the actual compliance calculations are handled by a dedicated Python HOS engine. This makes HAULR much more than a chatbot for truck drivers. It's an AI interface on top of a real trip-planning system. The complete source code is available here: https://github.com/LakSHyaMudgal1/CargoTrip HAULR is built as a full-stack application with a React/TypeScript frontend, Django/DRF backend, agentic AI layer, PostgreSQL/pgvector storage, and a deterministic HOS simulation engine. The frontend is built with React, TypeScript and Vite, while the backend uses Django and Django REST Framework. The AI layer uses LangChain and LangGraph to create an agent capable of: Understanding a driver's request Retrieving relevant HOS/FMCSA information Calling application tools Maintaining conversation state Explaining compliance decisions Interacting with the trip-planning workflow I experimented wit
Browser-based account flows often treat email as an external dependency. The browser submits a form, the application sends a message, and the test waits for a link or code. What is less often designed is the lifetime of the email data after the assertion passes. That missing decision creates a quiet privacy problem. A shared inbox can contain addresses, verification tokens, account names, and copied message bodies long after a test run has finished. The test don't know whether this information is still needed, so it keeps everything by default. I have found a useful boundary for this kind of work: a browser email test may keep only the minimum evidence needed to explain its result, and it must delete or expire the rest. This makes a disposable email address more than a convenience. It becomes a controlled test resource with an owner, a deadline, and a small audit trail. Email verification tests usually fail in one of three places: the application did not send a message, the test looked in the wrong place, or the browser used an expired or already-consumed link. Keeping the whole inbox seems helpful during an incident, but it can expose more data than the failure requires. The first step is to name the data categories. The recipient address is test input. The message body may contain a secret. The message ID, delivery timestamp, and a hash of the recipient can usually serve as diagnostic evidence without preserving the full content. A retention boundary says which of these categories survives the run, for how long, and why. This is also a maintainability concern. A CI system that collects every message slowly turns a test tool into an unplanned archive. A small policy document beside the fixture is often more useful than another dashboard. For deployments where email is part of the release signal, the idea is close to rollback emails as a CI/CD gate: the signal needs a clear meaning and an explicit owner. Before choosing a provider or a temporary email service, write
Why this lesson exists When a program runs on a GPU, the only way to know where the real cost lies is to measure that GPU. Defaulting to the CPU surface is a common mistake that can waste days of debugging. This episode shows how to use csperf to discover the right backend and switch when necessary. Ep 1: Why a single ./a.out time misleads – we learned that reproducible evidence is essential. Ep 2: Warm vs Cold – a single trial is unreliable; we introduced warm‑up and repeat. Ep 3: Screenshots aren’t evidence – csperf gives metadata‑rich artifacts. Ep 4: Comparing across machines – metadata matters for cross‑machine claims. Ep 5: csperf observatory – quick, reliable evidence of the toolchain. Ep 6: csperf Doctor – diagnose toolchain issues. Ep 7: Quickstart – 30‑second first win. Ep 8: Reading csperf JSON – the source of truth. Many developers assume that a program’s performance is dominated by the CPU, even when the workload is offloaded to a GPU. They run csperf run --backend cpu and interpret the results as the whole story. In reality, the CPU may only be orchestrating kernel launches, while the GPU does the heavy lifting. If you never measure the GPU, you’ll never know where the bottleneck is. csperf gives you a simple, declarative way to list available backends, enumerate devices for a chosen backend, and run a workload on any backend. By inspecting the artifacts you can decide whether to stay on the CPU surface or switch to the GPU surface. List backends – see what execution surfaces csperf knows. List devices – for a chosen backend, see the concrete hardware. Run on a backend – execute the workload and collect artifacts. Inspect artifacts – look at execution_time_ms and other metrics. Decide – if CPU metrics are trivial compared to GPU metrics, switch. # 1. List all backends csperf knows about csperf list-backends # 2. For the CPU backend, list the devices that can be used csperf list-devices --backend cpu # 3. Run the matrix traversal example on the CPU back
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend My friend writes down everything in class. Every lecture, every assignment, page after page. The problem shows up the night before an exam: he photographs his notes, uploads them to an AI chatbot, asks for a summary, and gets nothing useful back. It can't read his handwriting. When I ran his pages through a vision model myself, I found something worse than "can't read it". The model read most of it, and the mistakes looked right: The Perennial Student (the book he was writing about) became The **Peripheral* Student* "satirical" became "spatialical" "his reputation" became "her reputation" a date in a letter disappeared, and "5:00 to 7:00 pm" became "8:00 to 8:00" And then there's his shorthand. He writes "acc" for according and "gitq" for given in the question, which no model is ever going to guess. A tired student skimming a summary at 2 AM would never catch any of that. So I built HandNotes: a handwriting reader that runs entirely on his laptop, lets you correct what it got wrong, and remembers those corrections for the next page. What it does: Reads a photo of his notes live. Text streams in word by word from an open vision model running locally. Highlights words it isn't sure about, with one-click jumps to each one so checking a page is fast. Learns from corrections. Every fix is compared word by word with what the model wrote. His vocabulary and past misreads go into the prompt for the next page, and a misread you've corrected twice gets fixed automatically. Knows his short forms. Teach it "gitq = given in the question" once, either by adding it or just by expanding it while correcting a page, and it expands it on every page after that. Shows its work. An accuracy chart per page, a list of his usual misreads, and a "compare with plain model" view that shows, word by word, what the memory changed. Turns notes into revision material: a summary with likely exam questions, flip-to-reve
My Mum Keeps Getting Scam Texts. I Built Her a Telegram Shield. This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend. Live: t.me/scamsshield_bot · Dashboard · Repo My mum gets parcel-scam SMSes in Thai almost weekly — "พัสดุถูกระงับ, ยืนยันตัวตนด่วน" with a bit.ly link, fake bank warnings, the works. She forwards them to me, I tell her "don't click that," and the cycle repeats. She's not going to learn to read headers. So I built the thing that reads them for her: ScamShield. She forwards any suspicious message to a Telegram bot, and in seconds gets back a verdict card — SCAM / SUSPICIOUS / LIKELY SAFE — with reasons in Thai first, English second, and what to do next. Send anything — an SMS forward, a link, a wallet address — and the bot runs a triage pipeline: Signal extraction — links, crypto addresses, phone numbers, urgency phrases ("ด่วน", "airdrop", "verify now"), impersonation hits (banks, Binance, Shopee, "ตำรวจ"…). Live web grounding (SerpApi) — the suspicious domain gets searched for scam/fraud reports, so the verdict cites the web, not vibes. On-chain probe — wallet addresses are checked against public RPCs: contract code (drainer pattern) vs plain wallet vs fresh/empty. Score — transparent point rules, capped at 100. ≥70 SCAM, ≥40 SUSPICIOUS, else LIKELY SAFE. Explanation by an open-weight model (Gemma) — two short sentences, Thai then English, written for a non-technical reader. The model explains; the rules decide. If the model is unreachable, the verdict still lands, honestly labelled rule-based. Real outputs from the pipeline (cards exactly as the bot sends them): 🚨 Thai parcel scam → SCAM 75 🚨 อันตราย: น่าจะเป็นมิจฉาชีพ (SCAM, 75/100) เหตุผล / Why: • pressure tactics: ด่วน, ระงับ, ยืนยันตัวตน • impersonates: พัสดุ • suspicious link (shortener / risky domain) ลิงก์ / Links: `http://bit.ly/kerry-th-99` เว็บพูดถึง / Web: • bit.ly url scan | Free Url Scanner & Phishing Detection — checkphish.bolster.ai/… 🤖 ข้อความนี้ดูน่าส
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built this for Kanishka, who is preparing for Engineering 1st sem exams. She has a problem every serious student knows: hundreds of pages of lecture slides, scanned handwritten notes and typed summaries, scattered across folders, none of it searchable. Before every revision session she spends the first hour just finding things. The obvious fix is to upload everything to a chatbot. She won't, and I agree with her. Her notes hold her draft answers, her mnemonics and her margin scribbles about what she doesn't understand. That is a record of how she thinks, and she shouldn't have to hand it to a server she has never heard of. StudyBuddy is a local-first study assistant: Drop a PDF into a folder, and about a minute later it's searchable. Ask a question in plain English and get a short, cited answer pointing at the exact page of her own notes. Take quizzes (MCQ) generated from those same notes. See her weak spots, with topics ranked by how often she gets them wrong. It runs on a laptop. After the one-time model download it works with the Wi-Fi off, including on her commute. The recording shows: A new PDF dropped into /uploads, with its status flipping from pending to ready "What is a pointer?" answered with two cited bullets instead of a page of text A repeated question answered instantly from cache and counted as an LLM call skipped A quiz, a wrong answer, and that topic moving up the weak-topics list Her real notes never leave her machine. GitHub Repository: StudyBuddy drop file → parse → chunk → embed → pgvector question → cache → hybrid search → rerank → gate → (LLM only if needed) quiz → cached questions → code-graded MCQs → weak-topic ranking The principle: the LLM is the last resort. A small local model is slow and sometimes unreliable, so every step that can work without it does. Ingestion has no LLM. Search has no LLM. Repeat questions hit a semantic cache. MCQs are graded in plai
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend A fully offline C++ tutor that runs on a phone, built for [friend's name], who is learning C++ from scratch. Most AI tools hand over the answer, and my friend ended up copy-pasting code without understanding it. Byte-Gemma is a fine-tuned Gemma 3 1B that teaches Socratically. It stays under ~100 words, praises one thing you got right, and asks one guiding question. It runs locally on Android, so it works without internet or an API bill. Slash commands control how much help you get: Command Behaviour /explain Concept via analogy, tiny example, one question /debug Only the first hint /hint A more specific hint, no full solution /solution Full fix, explanation, practice question /review One thing done right, the key issue, you fix it /quiz One question, waits for your answer Model: https://huggingface.co/99Amit99/byte_v2-gemma-3-1b-it-v2-GGUF/tree/main Repo: https://github.com/amitsinha-cell/byte_v2.git How I Built It Base: Gemma 3 1B (open weights), fine-tuned and quantized to Q4_K_M GGUF. Data: [~300] examples generated with Gemma 4 as a teacher via the Gemini API. Validation scripts filtered out low-quality outputs, and I merged in cleaned examples from my friend's real coding mistakes. Runtime: llama.cpp-based, with PocketPal/Termux on Android. A pivot: My first version was a gamified "Byte" persona. Testing showed it wasn't teaching well, so I rebuilt it around Socratic tutoring. My friend and I compared Byte-Gemma against stock Gemma 3 1B on struct vs class, pointers vs references, and multithreading. My first attempt gave only Byte-Gemma the tutoring system prompt, which made the result meaningless. So I re-ran it with the identical system prompt, runtime, and questions for both models. Where Byte-Gemma won: following the tutoring rules. 6 of 6 replies stayed under 100 words (about 66 words on average for first replies). The stock model went over in 3 of 3 (131 to 214 words). Byte-G
Comparing two JSON documents with an ordinary text diff often produces a wall of red and green for changes that don't matter. Reordered keys, different indentation, or a minified file on one side are all differences in text but not in meaning. A JSON-aware diff compares the data itself. Whitespace and formatting: the same data can be pretty-printed or minified. Key order: JSON objects are unordered, so {"a":1,"b":2} and {"b":2,"a":1} are equal. Number formatting: 1.0 and 1 may be the same value. Line-based tools report a whole line as changed even when a single value changed. Added: a key or array item present only in the new document. Removed: something present only in the old document. Changed: the same path holds a different value. Unchanged data is not shown, or is dimmed. old: { "name": "Ada", "role": "user", "tags": ["a"] } new: { "name": "Ada", "role": "admin", "tags": ["a", "b"], "active": true } changed: role "user" -> "admin" added: tags[1] "b" added: active true Objects are compared by key, but arrays are ordered, so most tools compare them by index. Inserting an item at the start can make every following item look changed. If your arrays hold records with IDs, match items by ID rather than position. Sort keys and format both files the same way first if you need a text diff. Compare against the same environment or version; timestamps and IDs often differ legitimately. Strip fields that always change, such as generated timestamps, before comparing. For machine-readable changes, JSON Patch (RFC 6902) describes differences as a list of operations. Private data API responses and configs often include secrets or personal data. Use a diff tool that runs in your browser so neither document is uploaded. Paste both into a JSON diff tool, which compares the data structure and highlights added, removed, and changed values. No. JSON objects are unordered, so a semantic diff ignores key order. Array order does matter. A standard (RFC 6902) format that describes change
This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend BillBhasha — a privacy-first bill scanner that reads any paper receipt, prescription, or invoice out loud in my parents' own language. My mother is 62, hindi-first, and has low vision. She still handles every household bill, medicine strip, and ration document by hand. Right now that means either squinting at faded paper or asking someone else to read it for her — and neither option lets her stay independent. BillBhasha lets her simply take a photo of any document. The app cleans the image, reads the text with open-source OCR, understands it with an open-weight language model, and then speaks the explanation back in warm, simple Hindi or Bengali. It also watches her spending history and speaks a gentle warning when an amount jumps unusually. Everything runs inside a single free-tier web service. No app store, no login, no credit card. She opens the site, snaps a photo, and listens. Live link: https://billbhasha.onrender.com (first visit may take ~40s to wake the free service) How it feels for her: open the page → tap the camera → snap a bill → hear a 30-second Hindi explanation → see a plain ₹ amount and a simple "check this" warning if something looks off GitHub repo: https://github.com/N-Garai/Bill-Bhasa Stack: FastAPI backend · Tesseract OCR · SmolLM2-360M (GGUF, Apache-2.0) · Piper Hindi/Bengali voice · Neon Postgres · vanilla JS frontend with GSAP + Three.js BillBhasha is not a wrapper around a closed API. Open-weight model at the core The default brain is SmolLM2-360M in GGUF format (LLM_MODEL env var). It turns raw OCR text into a simple Hindi/Bengali explanation with amount, date, and action items. It runs locally inside the same container via llama.cpp subprocess isolation, so there is no external inference bill and no data leaves the box. The model is swappable in one config line: Qwen2.5-0.5B, Phi-3, or any GGUF-compatible model. I started with Phi-3 Mini but it OOM'd on the
En los laboratorios analizamos el código de una aplicación con SonarCloud, gosec, el analizador Para demostrar que la herramienta funciona de verdad, la aplicamos a una 17 hallazgos, cinco de ellos de severidad alta. gosec analiza el código buscando patrones que se sabe que son peligrosos: credenciales o claves privadas escritas en el fuente comandos del sistema construidos con variables rutas de archivo tomadas de entrada externa algoritmos de hash débiles consultas SQL por concatenación de cadenas redirecciones y plantillas construidas con datos del usuario Cada regla tiene un identificador (G###), una severidad y un CWE asociado, curl -sSfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh gosec -no-fail -fmt=json -out=informe.json ./... Un detalle que puede arruinar el resultado: gosec necesita el compilador de Go Files: 0, lo que parece un Es un servidor web pequeño, en un solo archivo, con seis rutas. Cada una contiene Ruta Fallo introducido /saludo plantilla HTML sin escapar y redirección con datos del usuario /descarga escritura en ruta construida sin restringir /archivo lectura de archivo con ruta de la petición /token secreto concatenado sin validar /tipo comando del sistema con valor del usuario /hash MD5 y SHA1 para derivar contraseñas No está publicada en ningún servicio y no debe usarse con datos reales. Es un Resultado real de gosec -no-fail -fmt=json: Severidad Regla Línea Hallazgo HIGH G101 30 Credencial escrita en el código HIGH G101 33-35 Clave privada RSA embebida HIGH G702 39 Inyección de comandos por análisis de taint HIGH G703 45 Recorrido de rutas por análisis de taint HIGH G703 51 Recorrido de rutas por análisis de taint MEDIUM G112 138-143 Slowloris: falta ReadHeaderTimeout MEDIUM G202 56 Concatenación de cadenas en SQL MEDIUM G204 39 Subproceso lanzado con variable MEDIUM G304 45 Inclusión de archivo vía variable MEDIUM G401 70-71 Primitiva criptográfica débil MEDIUM G401 70 Primitiva criptográfica débil MEDIUM G501 1
Microsoft Corp. today issued updates to plug at least 974 security holes in its Windows operating systems and other software, by far its biggest single patch batch ever. Microsoft says artificial intelligence is helping to speed the discovery of vulnerabilities, but security experts warn that many organizations already are struggling to prioritize the more human-intensive endeavor of testing and deploying so many fixes each month.
In August, I posted here about TeXbrain, a LaTeX editor that runs completely in the browser, with no need for an account or server. (I didn't excpect it to get that much feedback, bug reports and help from here!) This is the same idea for the other half of my studies, the handwritten notes. I take them on a convertible laptop, and I've had a hard time with apps for that, taking notes from a device to another, exporting as PDF, needing an account for many of them, etc. So I've been working on the version of it that I always wanted. Open a tab, the slides of the lecture or multiple PDFs open next to the page or even become the page, write on them with my pen, and nothing ever leaves my browser. braiNOTES is a static website and has no backend. Strokes are perfect-freehand outlines which support pen pressure, the PDF files are rendered by pdf.js in a worker, and for storage it uses IndexedDB a moment after every change. No account, no analytics, and completely offline and local-first. You can export notebooks as .brainotes files, which in the background is a zip with one json per page + the PDFs and pictures you import. It keeps the original pages and puts the vectorized ink on top, this way the text stays selectable in the slides. You can try it here: https://notes.swimmingbrain.dev GitHub Repo: https://github.com/swimmingbrain/brainotes (MIT) In Study mode, the PDF opens on the side of the tab, you can read it simultaneously to the notes, snip a formula or diagrams directly into the notes with the snip tool, and then write around it. In Board mode, you have just a Whiteboard for tutoring or simply for more place for exercises, and can also highlight or draw things with the laser pointer tool while presenting. The line of the ink appears the moment the pen moves, and a one euro filter calms shaky hands while you write + a light a refit when you lift the pen. I also have a video editor and an animation tool which are still a work in progress, on the same GitHub profile
Structured data has always mattered to search engines. When a search engine reads your page, it sees HTML: a heading, some paragraphs, a date somewhere, a name somewhere else. Structured data tells it
When booting the Linux kernel using UEFI SecureBoot, the kernel is put in the lockdown mode to restrict the ability to modify the running kernel image or leaking data from kernel memory. Kernel lockdown mode can also be manually enabled by the user/administrator. Among the limitations imposed in Linux's lockdown mode is no hibernation support. But that soon may be relieved with new patches proposed...
Microsoft says devices running unsupported versions of Windows will stop receiving security updates after next year's Windows Update certificate rotation. [...]