TL;DR: let the browser send lesson media straight to private object storage, but never let it choose the tenant, final object key, or authorization scope. The application should authenticate the teacher, allocate an upload record, and issue a narrowly scoped presigned operation. A worker can derive thumbnails only after the application has verified completion. CORS permits a browser request; it does not isolate tenants. Choice App handles media bytes? Isolation boundary Best fit Main liability App-server proxy Yes App request and server credentials Small files or mandatory inline inspection Ti
I'm writing this on a 2021 M1 MacBook Pro with 16GB of RAM. There's no NVIDIA GPU in sight. And right now, it's running a Llama 3.1 8B model at 18 tokens per second, answering questions about my codebase, summarizing PDFs, and doing it all offline. Three years ago, that sentence would have been science fiction. The trick is quantization-specifically the GGUF format and the llama.cpp runtime. If you've been telling yourself you can't run local LLMs because you don't have a GPU, this guide is for you. We're going to set up a real local inference stack on a laptop or a cheap VPS, and I'll show yo
Reviewing 900-line AI-generated PRs in raw git diff is mostly guesswork. You see twenty changed files, you skim past a three-line helper tweak, and that tweak quietly breaks an auth route two modules upstream — or hides an except: pass, todo!(), verify=False, or weakened test assertion. I built vibelens https://github.com/an1zy/vibelens to fix that locally: a single ~2.8 MB pure-Rust binary with zero cloud calls and zero C build dependencies. What it actually does Extracts the diff (git.rs): reads working tree, --staged, untracked files, or any range like main..HEAD (auto-detects merge-base wh
Before you launch an app built with Lovable, Bolt, Replit, Cursor or v0, spend 20 minutes on the things that most often go wrong. This list is about what a stranger can see once the app is live. Keys and secrets Search the deployed JavaScript for sk-, sk_live_, AKIA and Supabase JWTs with "role":"service_role". None should be there. Make sure only publishable keys (Stripe pk_, Supabase anon) are in the browser. Move every secret to a server function or server-side environment variable. If a secret was ever pasted into a chat, committed, or shown in a screenshot, rotate it. Data access Supabase
If you use Claude Code, Cursor, Windsurf or VS Code to build, you can add a free security check to the assistant itself. ProofForge runs a hosted MCP server. It needs no API key and no install. Add it Endpoint: https://proofforge.live/mcp (Streamable HTTP). In Claude Code: claude mcp add --transport http proofforge https://proofforge.live/mcp For Cursor, Windsurf and VS Code, add the same URL as an HTTP MCP server in their MCP settings. The four tools scan_url with {url, owner_confirmed: true}: starts a passive, read-only scan of a public URL. Only use it on an app you own or have permission t
Sports bettors love one number: the gap between % of bets and % of money on a side. If 71% of tickets are on the Patriots but only 55% of the dollars are, the other side is drawing fewer, bigger bets. The folk wisdom says that is "sharp money", and you should follow it. I wanted to know if that holds up, so I pulled the splits for 345 finished NFL, NBA and NHL games and graded them. First, where the data lives. The endpoint Action Network's public betting pages load this JSON, no key needed: GET https://api.actionnetwork.com/web/v2/scoreboard/publicbetting/nfl?bookIds=15&periods=event Swap nfl
Transtoyou is an online health platform for patients across Europe and the UK. Patients answer a medical questionnaire or book a video consultation, an independent doctor reviews the request (how it works), and a licensed partner pharmacy delivers the treatment. It runs in 14 languages, on one WordPress multisite with our own theme and plugins. This post is not about which plugin to install. It is about the rules we had to learn the hard way when one codebase has to behave correctly for 14 languages, a dozen delivery countries and several currencies. 1. One rule, one place The most expensive b
Using real ADB from Termux without root or a PC Ever wanted to use ADB to control another Android phone but didn't have a PC around? It turns out you can run the real ADB client directly from Termux on your Android phone. The problem is that connecting two Android phones over USB OTG and making Termux's ADB communicate with the other phone isn't as straightforward as it sounds. Android's USB restrictions make this a bit tricky without root. That's why I built ADBLink: a small Android app that bridges a USB connection to a local TCP port, allowing the real ADB client running in Termux to commun
I'm excited to introduce Shoprivet, a managed e-commerce platform that makes it easier for businesses and developers to sell online without being restricted by how they build their websites. As a software engineer, I've always been interested in building tools that simplify development and remove unnecessary technical complexity. One problem I've noticed with e-commerce is that adding shopping functionality to a website can quickly become more complicated than building the website itself. You need to manage products, shopping carts, inventory, checkout, payments, orders, and much more. For bus
A philosophical investigation into digital hygiene, protecting secrets from the GitHub gods, and why I once committed a 5GB node_modules… Continue reading on Medium »
AI agents write code fast and skip the boring parts, like checking whether a secret ended up in the repo. MCP servers and SKILL.md files are the newest place this shows up, because people install them straight into their coding agent. So I pointed a local scanner at 48 popular MCP server and SKILL.md repos and counted what it flagged. The numbers 33 of 48 repos (68.8%) had at least one finding 2,293 raw static findings, 1,222 of them rated critical Top rule: SECRET-002, credential-shaped high-entropy values, in 28 repos Second: AI-012, a file path built from request data, in 20 repos Third: AI
One of my favourite things about Home Assistant is that it can integrate services that were never necessarily designed to work together. In this case, I wanted to connect my 2025 Mazda 3 to Alexa so I could use two simple voice commands: "Alexa, start the car." "Alexa, stop the car." My configuration doesn't require any custom Alexa routines, Home Assistant automations, scripts or additional hardware. All I needed was a vehicle integration with remote start support, my existing Alexa Smart Home skill and a couple of voice aliases. While I'm using a Mazda, the same approach can work with other
For four wakes, one of our agents wrote its own status page as the literal text $(cat /tmp/wall.md). Each wake ended with a command that was supposed to hand the agent's notes to the runtime, and that command had the shape of a shell substitution. The runtime did what it was told. It read the string, saved it as the wall, and reported success. Nothing in the chain failed loudly, so the page the next wake read was not the notes the previous wake had written, but a one-line shell expression. What went wrong The agent quoted its heredoc in a way that stopped the shell from expanding the substitut
Google has updated its crawling-error guidance to make an important distinction for retired URLs: pages returning an HTTP 410 status are generally crawled less frequently than pages returning HTTP 404. Google treats both statuses the same for indexing, so the difference is about crawl frequency rather than a faster or stronger removal signal. The clarification appeared in Google's Search Central documentation on November 27, 2026. In its guide to troubleshooting Google Search crawling errors, Google also reiterates several practical rules for handling pages that no longer exist: remove retired
Lovable apps are fast to build and popular on marketplaces. Most use Supabase for the database and login. That gives a buyer a short, specific list of things to check. This guide covers what you can see from outside and what to ask the seller. What you can check yourself, from outside Only scan or test an app you own or have permission to test. For a listing you do not own, start with what any visitor already receives, and ask the seller for permission before anything deeper. Find the Supabase URL and key in the bundle. Open the site, DevTools, Network, JS. Look for a *.supabase.co URL and a l
Short answer: error tracking catches failures that throw, while uptime monitoring and a cron heartbeat catch a pricing job that stops quietly. The bill is usually dominated by retained events and probe history, so decide what evidence must survive an incident before choosing a product. A fintech pricing rule is a useful stress test. A nightly task reads rate tables, evaluates a flag, and publishes a new price. If the process crashes, error tracking can show the stack trace. If the process exits cleanly before publishing, or never starts because the scheduler is disabled, there is no exception
You can check what a website hands to every visitor in a few minutes. No account and no special tools. This is the same look a stranger gets, so it only makes sense on sites you own or have permission to test. 1. Open the bundle Open the site, press F12, go to the Network tab, reload, and filter by JS. Click the largest .js files (names like index-abc123.js or main.js). 2. Search for key shapes Use the search box in the Sources tab (Ctrl+Shift+F) or paste the file into an editor. Look for these prefixes: Pattern What it is In the browser? sk- or sk-proj- OpenAI secret key Never sk_live_ Stripe
Atom Zero 2.0.0 adds a history-conditioning adapter to the 63M local model. On 200 held-out counterfactual conversations it recalls names, pets, cities, preferences, days and language corrections 65.0% of the time, up from 10.0% on 1.9.0. metric 1.9.0 2.0.0 single-turn benign 94.2% 97.5% multi-turn final / both 93.8 / 68.8 83.3 / 58.3 4-key copy (seen) 59.5% 63.0% 4-key copy (fresh, unseen) 67.0% 75.0% retention (lower is better) 0.770 0.700 history recall (held-out) 10.0% 65.0% safety (40) 40/40 40/40 self-harm (16) 16/16 16/16 local RAG 100% 100% The trade-off is the automatic multi-turn bot
The most common DR sizing mistake is budgeting "one more copy of production". A real DR estate needs a live replica, a journal for point in time recovery, space to test recovery without disruption, and often a long term archive. Each grows with a different driver, so size them separately. The four buckets Bucket Scales with 1. Full replica Primary used capacity 2. Retention journal Daily change rate × retention days 3. Test space VMs you test at the same time 4. Long term archive Unique change per month × months kept Add about 1% for metadata, bitmaps and filesystem overhead. 1. Full replica A
Most people who need a single scaled floor plan for a remodel, ADU, garage, or office end up wrestling with one of two mismatched software categories: General diagramming tools (like Lucidchart or SmartDraw), where walls are disconnected rectangle shapes that never form watertight room polygons, never calculate true square footage automatically, and cannot export layered AutoCAD .DXF. General 3D mesh modelers and interior renderers (like SketchUp, Homestyler, or Sweet Home 3D), where drawing a simple 2-bedroom addition requires manually extruding geometry, managing camera orbits, or installing
If English is your second language, you probably know this feeling: you can read a long email from your manager without trouble, but in a fast stand-up meeting you catch maybe half of what people say. Your vocabulary is not the problem. Your ears are. I'm a non-native speaker myself (Chinese is my first language) and I work in New Zealand. Here is what actually helped me, and what I now build practice around. Why reading and listening feel so different When you read, every word has clear edges. When people speak, words melt together: Linking: "turn it off" sounds like "tur-ni-toff". Reduced wo
Most agent setups say a lot about what the agent should do and very little about what it must leave alone. Some examples of "leave alone" that matter: Files outside the project folder Production config and secrets CI and deploy settings Other people's branches Any account where an action costs money or reaches a customer There seem to be three ways people handle this: Say it in the prompt. Easy, and the agent mostly listens. Mostly. Enforce it outside the agent. A sandbox, a read-only token, a hook that blocks the command before it runs. Don't handle it, and review afterwards. Which one are yo
An agent finishes a task and writes a tidy summary: tests pass, file updated, email drafted, deploy done. That summary is written by the same thing that did the work. So how much of it do you take on trust? A few checks people have mentioned in recent threads: Read the diff, not the summary. Re-run the tests yourself instead of trusting the pasted output. For anything outside the repo (a deploy, a post, a database row), open the real thing and look: the URL loads, the row exists, the post is live. Ask the agent to list what it did not touch, so surprises show up. Which of these do you actually
More teams are moving from oVirt or RHV to Proxmox VE, or running production on oVirt/OLVM with a Proxmox VE recovery site. Both run KVM/QEMU, so VMs move between them with their data intact. But the management model is completely different, and that changes what DR can do and what you must plan for. 1. Who starts the VM? Proxmox VE: every node has its own API and UI. There is no central manager; any node can create and start a VM on its own. oVirt / OLVM / RHV: a central engine owns every VM, disk and network in its database. A host's vdsm will not start a VM unless the engine tells it to. So
A DSH session file is not portable on its own. Copy it to another machine and one of two things happens: the app refuses it, or it opens into an empty group and no longer knows which project folder it belongs to. The reason is one field. The first line of session.v4.jsonl.zstd records an absolute working directory: {"type":"session","version":4,"id":"session-…","cwd":"C:\\Knowledge base","agentPreset":"standard"} DSH derives two things from that string: the folder the file must live in (sessions/--<projectKey>--/<id>/) and the workspace it belongs to (an entry in storages/workspace.json). Chan