on-internet

If your app uses an LLM for anything numeric, take the math away from it

I run a personal-finance app where people ask an AI about their money. The first version let the model compute things like "how much will $500/month be worth in 25 years" and "can I retire at 60". It was wrong often enough to be dangerous, and it never sounded unsure. What fixed it: Every calculation is a plain function with tests. Compound growth, retirement Monte Carlo, Social Security claiming, Roth conversion tax, debt payoff. The model doesn't do arithmetic. The model's job is picking the tool and explaining it. Tool schemas list required inputs. If the user didn't give one, the model ask

Thresholds tuned on PNGs drift after one WebP round trip

A threshold tuned on lossless PNGs is tuned on a different image than the one most people will feed it. After one WebP quality-80 round trip, a photo had roughly a third of its unique colors and roughly four times as many exactly-flat pixels (both ratios are my division of the numbers below, not separate measurements), while a UI screenshot gained colors. On the 12 samples here, that drift moved a photo to within a hair of a cutoff, which is reason enough to re-check any "photo or screenshot" rule on re-encoded copies. All numbers come from one Apple-silicon Mac and a single pass over 12 sampl

The Seer

Endless gazing within a limited framing. Continue reading on Medium »

SQLite in the terminal: query a CSV file in 5 minutes (and the text-number trap)

AI disclosure: this article was created with the help of AI. An AI assistant drafted the text from the lesson script, and it was reviewed before publishing. Every command was actually run in a fresh debian:13 container (SQLite 3.46.1); all outputs below are copied from that run, not written by hand. Turn a CSV file into a database with one sqlite3 command, then answer real questions with SQL: totals per region, sales in a date range, monthly sums, and an exported report. Along the way, see why imported numbers sort wrong (they arrive as text) and how to fix it with a typed table. The problem:

When a Campaign Works, I Repeat the Elements Search Console Proved — Not the Whole Campaign

I decide element by element, from Search Console, not from how the campaign felt. My campaign was hand-checked local distribution for a one-person dentist site (dentalpicorivera.com, launched 23 October 2026): 147 live profiles and mini-sites, each checked logged-out to confirm the link actually points at the site, with the same name, city and website everywhere. What I repeat is what the data shows working. Treatment-led pages surfaced real queries — "pico rivera orthodontist" (101 impressions), "pico rivera invisalign" (89), "gum disease treatment pico rivera" (81) — while the generic "denti

A Love I Could Never Put Into Words

If the universe gave me a thousand chances, I would still find my way back to you. Continue reading on Medium »

How to Write Dialogue That Does Three Jobs at Once

Every line of dialogue in a story can reveal character, push conflict and deliver information at the same time: a practical method with… Continue reading on Medium »

The Portlanders Turning Rescued Food Into Restaurant-Quality Meals

It’s a Tuesday morning in early October and chef Bradley Cohen, 49, is trying to improvise a meal from a hotel pan full of pork loins. He pulls a crate of fresh kale and zucchini from the walk-in, noting the date it was brought in (Sunday), and says he’ll probably... The post The Portlanders Turning Rescued Food Into Restaurant-Quality Meals appeared first on Reasons to be Cheerful.

Building a RAG System That Says "I Don't Know": Self-Correcting RAG with Llama 3.1 and LangGraph

Most RAG demos have the same flaw: ask them something the documents never mention, and they answer anyway, confidently and wrongly. In a demo that is a curiosity. In production it is how a support bot invents a refund policy. I built Llama Agentic RAG around the opposite rule: an answer must be supported by cited sources, or the system says "I don't know." It runs fully locally on Llama 3.1 8B through Ollama, which fits in 8 GB of VRAM, so private documents never leave the machine. This post walks through the design and the choices that made it work on a small model. The workflow The pipeline

You don't need a 3-paragraph apology to decline a meeting scheduled during your focus block

You don't need a 3-paragraph apology to decline a meeting scheduled during your focus block. When you over-explain your boundaries, you invite negotiation. People hear your hesitation and try to find a workaround. When you simply state what you can and cannot do with calm courtesy, people respect it. 'I'm offline after 6 PM today, I'll review first thing tomorrow' is complete and professional. Boundaries don't require an apology. They require consistency. Enforce them quietly. Boundaries #Professionalism #CareerStrategy #TechCulture #MergedCode

AI agents and production: permissions, not prompts

In July 2025, a founder building an app with an AI coding assistant told it, explicitly, not to change anything. According to press coverage at the time, it changed things anyway and deleted production data covering more than a thousand companies. Asked what happened, it reportedly hid the damage at first and then said it had "panicked". Afterwards the vendor apologised and, in the same coverage, announced it would separate its development and production databases. I am relying only on those reported facts. I don't know how that assistant was connected to the database, and I won't speculate ab

Gemini 4 Neon Arrives With 1M Context, $3 Token Pricing, and Top Coding Agent Scores

Developers and enterprise teams have spent most of 2026 trading off between heavyweight frontier models that burn budgets and fast, smaller models that stumble on multi-file refactors. On November 18, 2026, Google DeepMind introduced Gemini 4 Neon, positioning it directly between the heavy-duty Gemini 4 Carbon and the high-speed Gemini 4 Hydrogen. Neon brings a 1 million-token context window, four adjustable thinking levels, and aggressive API pricing aimed at high-frequency agentic workflows. It rolled out on launch day across the Gemini API in Google AI Studio, Android Studio, Gemini for bus

GPTBot is blocked on 17.7% of sites. PerplexityBot on 15.2%. Which AI engines can actually read you?

Most AI visibility advice treats "AI crawlers" as a single category. They are not. Each crawler has a different blocking rate, a different purpose, and a different relationship to the engine that cites your content. I tested six of them across 513 sites. The numbers are different enough that treating them as one group hides the real picture. The per-bot breakdown I sent live HTTP requests to 513 reachable sites, each time as a different AI crawler user agent. Here is what came back: Crawler Blocked Rate GPTBot 91 17.7% PerplexityBot 78 15.2% Applebot 71 13.8% OAI-SearchBot 66 12.9% Googlebot 6

Designing Lightweight Windows Endpoint DLP in C++20 Without Breaking Employee Privacy

Modern enterprise endpoint security often forces IT teams into an uncomfortable trade-off: deploy heavy Data Loss Prevention (DLP) agents that consume excessive CPU/RAM and treat every workstation like a surveillance target, or settle for lightweight productivity tools that leave sensitive company data exposed. While architecting BossEye, we focused on solving two core engineering challenges: keeping the endpoint agent fast and native, and enforcing strict after-hours privacy at the architecture level. 1. Why a Native C++20 Agent Matters for Endpoint DLP Many commercial monitoring and DLP suit

Same Bytes, Different Verdicts: Debugging .p7m Containers

When a signed attachment works in staging and fails in production—or opens on a developer's laptop while an upstream service rejects it—the first mistake is comparing only the final conclusions. "It opens" and "it verifies" are not the same question, and neither is "the certificate is currently valid." If you handle file uploads, S3 objects, or document-conversion pipelines, treating .p7m as a file extension you can simply rename around loses critical operational context. A .p7m file is typically a CMS (Cryptographic Message Syntax) container. Inside that binary wrapper sit readable payload by

How We Built a Browser-Based Rising Sign Calculator Tested Against Swiss Ephemeris

Calculating an astronomical ascendant (rising sign) in real time requires more than basic date math. Because the Earth rotates continuously, the zodiac sign crossing the eastern horizon shifts roughly every two hours—moving about a quarter of a degree every minute. When building our browser-based astrology utility (available at https://risingsigncalculators.com/), our goal was to create a completely client-side, privacy-first tool that runs directly in the browser with zero server-side data storage or sign-up friction. How the Calculation Engine Works To compute an exact ascendant degree using

CMS vs Custom Code: How to Choose the Right Web Architecture

Use a Content Management System (CMS) when non-technical editors need to publish and update content independently or when fast launch timelines and standard features like blogs or storefronts come first [1, 3, 5]. Choose a custom coding framework when the site is an application or digital product driven by custom business logic, complex data models, deep system integrations, or strict performance goals [1, 2, 4]. Keep in mind that custom frameworks place full operational ownership on your engineering team, including security patching, schema updates, and admin tooling, which can push long-term

Building ExtAI Leo Happy: A High-Speed MV3 Chrome AI Copilot with BYOK Privacy & Live Web Search

Switching tabs just to ask an AI assistant a quick question, summarize an article, or verify a fact breaks flow. Most browser AI extensions solve this by wrapping a heavy iframe around a single cloud subscription—leaving you locked into one vendor's markup and sending your API traffic through third-party proxies. We built ExtAI Leo Happy to offer a faster, privacy-first alternative on Chrome Manifest V3. Why Chrome Side Panel (MV3) Beats Constant Tab Switching With a single Ctrl+Q shortcut, ExtAI Leo Happy opens natively in Chrome's Side Panel alongside whatever documentation, PR, paper, or da

Why I Think File Validation Deserves Its Own Step

Processing shouldn't be the first thing that happens Imagine selecting a PDF, waiting for processing, and finally receiving an error saying the file was encrypted. Or discovering that the file was corrupted. Or finding out that the selected document wasn't actually a PDF. That's a frustrating sequence. Some of these problems could have been identified earlier. Validate before doing expensive work A useful file-processing workflow should perform basic checks before starting its main operation. For example: Is a file actually selected? Is its size within the application's supported limits? Does

Free Space Email Updates from Space Radar: Pick Your Lists, No Account, No Tracking

A note for developers: this is the reader-facing write-up of the email service behind Space Radar, an open-source 3D map of space. The parts worth borrowing: double opt-in with a 48-hour expiry, a sign-up form that answers the same whether or not the address is known, RFC 8058 one-click unsubscribe, and no unsubscribe on a plain visit, because mail scanners follow every link. Originally published at blog.spaceradar.ai. Yes, you can get Space Radar by email, for free and without an account. Pick the lists you want, news of the 3D map, new journal posts, games, sky alerts, new 3D models or new f

Older stories