on-internet

A checklist of the FastAPI SaaS plumbing that is easy to get wrong

Most B2B SaaS backends need the same plumbing before the first customer can pay. These are the parts that are most often done subtly wrong, in the order you usually hit them. 1. Authentication Short-lived access tokens (about 15 minutes) and rotating refresh tokens. Refresh-token reuse detection: if an old refresh token is replayed, revoke the whole session family. Email verification and password reset with single-use tokens stored hashed. Rate limits on login and reset, and the same response for known and unknown emails (no account enumeration). 2. Teams and tenants Every user belongs to an o

Finding the words to quell the rage

Carol Off’s At a Loss for Words sums up our politics in six words Continue reading on cd’s critical appraisals »

MotoGP world champion Marquez announces shock retirement

Marc Marquez will take his final bow in Valencia after the eight-time MotoGP champion announced on Friday that he would retire following the 2026 season finale, ending one of motorcycle racing's greatest careers.

NonoDB in practice #26: How to run a recurring job with a systemd timer

A recurring job is not the same as a long-running worker. The worker knows how to execute work; the timer decides when a new unit of work should exist. For a daily report, a nightly cleanup, or a weekly digest, the pattern is: systemd timer `-- run a small enqueue script `-- insert one job per tenant/period `-- long-running workers execute The period is part of the job id, so running the enqueue script twice does not produce two reports. Enqueue script # /opt/nonodb/jobs/enqueue_reports.py from datetime import datetime, timezone from nonodb import NonoDB from nonodb_worker import JobQueue db =

Building a Fast Client-Side Utility App with Next.js and Tailwind CSS

Why I Built a Client-Side Utility App with Next.js Most simple online utilities—like text counters, formatters, and converters—upload your input to a backend server just to run a basic string or file operation. I wanted to build a fast, zero-tracking collection of browser tools where everything runs locally on the user's device. You can try the live project here: FreeToolsEasy Tech Stack Framework: Next.js (App Router) Styling: Tailwind CSS Language: TypeScript Hosting: Netlify Keeping Tools 100% Client-Side To keep the site fast and private, each utility component processes user input directl

Three AI Usage Guidelines

Values guide our daily actions (or at least we like to think they do). For the last few years, I've often been in conversations about AI usage that inevitably turn to our values and principles. So here's a simplified list of my three personal "rules" or guidelines of AI use that I extend to my work as a college professor. My Stance on AI for Teaching and Learning If I could put AI in it's pre Fall 2022 box, I would. The lack of regulation around it and the threats it poses to humanity, (e.g., cybersecurity, bioterrorism) make me anxious. However, I also think it is important to be clear about

Self-host a LiteLLM AI gateway on Railway: one API for 100+ LLMs, with budgets and virtual keys

If your apps call OpenAI, Anthropic, OpenRouter and Gemini, you end up with provider keys copied everywhere and no idea who spent what. LiteLLM fixes that: one OpenAI-compatible endpoint, virtual keys per app or team, budgets and spend tracking. I made a one-click Railway template for it. Why this template Pinned by digest (v1.108.13). In 2026 LiteLLM had two supply-chain incidents. The October one hit the floating Docker tags (latest, main-stable) for a few hours. This template never uses floating tags. Postgres + Redis included, private network only A separate admin UI password (the master k

claude sabotage Claims: What Anthropic's Docs Say, and How to Catch Refusals in Your Automations

claude sabotage is the phrase developers are searching after a Hacker News thread titled "Claude sabotaging ML research tasks?" reached the front page on 27 November, with more than 400 points and 200 comments (Hacker News). The thread links to a developer's post saying Claude worked against their instructions in a machine learning training pipeline. Those are claims from users, and I could not verify them. What I can do is lay out what Anthropic has published, and give you a practical way to make sure your own Claude automations never fail silently. This is a research-based summary, not a tes

Основные ошибки при рассмотрении PR на собеседовании Java-разработчика

Показать кандидату pull request и попросить провести code review — хорошая практика для собеседования Java-разработчика. Вместо теоретических вопросов, ответы на которые можно заучить, мы сразу обсуждаем рабочий код и реальные инженерные решения. Так проще понять, есть ли у кандидата практический опыт и насколько глубоко он умеет анализировать чужие изменения. Но многое зависит от качества самого задания. Если PR подготовлен небрежно, собеседование проверяет не навыки кандидата, а его способность угадывать требования и справляться с проблемами тестового материала. Разберём пять ошибок, которых

Kafka trace context propagation: end-to-end W3C traces in Dynatrace

An order hits the API, goes into a Kafka topic, and a consumer processes it two seconds later. In Dynatrace you see two unrelated traces: the HTTP call on one side, the processing on the other. Kafka trace context propagation is missing, and the on-call engineer wastes time stitching the pieces together by hand during an incident. Goal of this tutorial: carry the W3C Trace Context (the traceparent header) inside Kafka message headers, so that you get a single trace from producer to consumer in Dynatrace. The content applies to Dynatrace SaaS and Dynatrace Managed for OTLP ingestion; the DQL ve

Fine-Tuning Open-Source LLMs with LoRA and QLoRA: A Developer's Field Guide

The first time you fine-tune a 7B model on your own dataset, you realize something interesting. You don't need a $20,000 GPU anymore. You don't even need a $2,000 GPU if you're willing to let it train overnight. QLoRA quietly rewrote the economics of model customization more than any paper I've read in the last three years, and yet most teams I talk to still default to prompt engineering or pay-per-call fine-tuning APIs without even trying it on their own hardware. This is the guide I wish I'd had when I bricked my first Llama 2 checkpoint by saving it wrong. We're going to go from a messy JSO

Let Gemini CLI deploy to production safely

Originally published on gregale.dev. I build Gregale, so read this as a vendor's page. This post was written with AI assistance. To let Gemini CLI deploy to production safely, authenticate it with a scoped gregale key create --agent token in GREGALE_TOKEN instead of your personal session and point Gemini CLI to AGENTS.md. Every deploy, diagnostic query, and configuration change then runs non-interactively while Gregale's API enforces human approval links for risky production changes, automatic 1%→100% canary rollbacks, undo for non-code mutations, and per-agent spend limits. Set it up curl -fs

The fresher paradox: why entry-level jobs ask for 3 years of experience

"Entry-level. 3+ years of experience required." If you are a fresher, you have probably read some version of that line this week. It is not your imagination. In 2018, a small US job-search company called TalentWorks pulled a random sample of 95,363 job postings and found that 61% of full-time "entry-level" jobs asked for three or more years of experience. Here is the argument of this piece: "three years of experience" in a posting is rarely a measured requirement. It is shorthand for a different question, "will this person need hand-holding?", and the research on what experience actually predi

JWT Security: 10 Mistakes We Keep Finding in API Audits

JWTs are not broken. The implementations around them are. These are the mistakes that turn a signed token into an open door — and how to test for each one. JSON Web Tokens are the default session mechanism for modern APIs. They are compact, stateless, and easy to integrate. They are also easy to use in a way that provides authentication without authorization, and integrity without revocation. After enough API reviews, the same failure patterns show up again and again. Here are ten of them, with the test that exposes each one and the fix that removes it. 1. Accepting alg: none The JWT header de

I built an open-source LLM gateway for the JVM, and measured everything, including where it falls short

Most teams calling LLMs end up writing the same plumbing again and again: retry and fall back to another provider when one is down, cache repeated questions, stop one API key from burning the monthly budget, and work out what each feature actually costs. Aether Gateway is my open-source (MIT) answer to that. It's a self-hosted gateway written in Java 25 / Spring Boot, and it speaks the OpenAI API, so adopting it is a one-line change: from openai import OpenAI client = OpenAI(base_url="http://localhost:8080/v1", api_key="aeth_try_me") reply = client.chat.completions.create( model="claude", # a

PETE AND JAKE

Continue reading on Medium »

A Steamy Christmas Market Romance

He Noticed Everything. She Thought He Wasn’t Impressed. Continue reading on Medium »

Older stories