on-internet

Template Literal Types Explained: Catching Path Typos at Compile Time

Somewhere in your codebase there's a function that looks like this: function get(obj: any, path: string) { return path.split(".").reduce((acc, key) => acc?.[key], obj); } const primaryColor = get(config, "theme.colros.primary"); Read that path again. colros, not colors. TypeScript compiles it without a single complaint. The app ships. primaryColor is undefined, some fallback kicks in, and the button is the wrong shade of blue for three weeks before a designer notices and files a ticket nobody can reproduce on the first try. The type system had everything it needed to catch this. config has a r

Running Local GGUF AI Models & Full-Stack Dev Servers on Unrooted Android

Most mobile development workflows force a compromise: either spend hours manually configuring packages in a terminal every time you reset an environment, or pay for an external cloud VPS just to test a small API or run a quantized LLM. I built VPServ to turn any unrooted Android device (Android 8.0+, arm64-v8a) into a repeatable, self-contained development workspace and offline local AI runner. What VPServ Runs Locally on Android VPServ pairs a visual project and service manager with a built-in Linux-style CLI (pkg / vpkg) inside a private app runtime—no root required: On-Device Local AI (llam

The negotiation doesn't start until there's an offer on paper

👋 I'm Parsa Jiravand — I work in IT, and this is Best Practice. One article every day, one soft-skills episode every week. It all lives at bestpractic.org — come join us. You get the email, or the call, and there's a number in it. Your first read of the number happens in about four seconds, and it's purely emotional — relief, mostly, because the process is over and somebody wants you. Then the second read starts, the one where you compare it to what you were hoping for, and it's a little lower, or the base is fine but the equity feels thin, or the title is one notch under what you were doing a

Why LLMs Hallucinate Lunar Calendar & I Ching Calculations (And Our Open-Source 2027 Deterministic Dataset)

If you have ever asked an LLM to compute a traditional East Asian calendar boundary—or convert six I Ching three-coin tosses (6, 7, 8, 9) into a primary and relating hexagram—you have probably seen it silently invent a date, flip a yin/yang line, or mix up two completely different new-year cutoffs. That happens because LLMs predict probable tokens rather than executing astronomical ephemerides or deterministic bit-flip tables. A Concrete 2027 Edge Case: Feb 4 vs. Feb 6 In 2027 (Ding Wei / 丁未年), the two traditional Chinese year boundaries fall two days apart: Solar Li Chun (立春): 2027-02-04T01:4

Do not,

Continue reading on Medium »

Your WebSocket Reconnects Fine. The Messages It Missed Never Do.

The badge in the corner goes from green to red to green again. Three seconds, tops — long enough to walk through a subway turnstile, short enough that nobody files a bug. Your reconnect logic did exactly its job: it noticed the drop, waited, and opened a fresh connection before the user even looked up. Two days later, someone on your team says "wait, I never got the update you pushed at 2:14." You check the logs. The server sent it. The client was definitely connected by 2:16. The message is just gone. It's gone because "reconnected" and "caught up" are two different claims, and the reconnect

What AI Cannot Fix in a Bad Car Photo

If you work on anything that automatically improves photographs, you end up having the same conversation every few weeks. Somebody sends a genuinely bad photo and asks whether the model can fix it. Sometimes the answer is yes and it looks like magic. Sometimes the answer is no and it is hard to explain why without sounding evasive, because from the outside the two cases look similar. Both are just photos of a car. The line between them is actually quite clean once you see it, and it is worth articulating properly, because it determines what you can promise and what you should never promise. Th

Next.js 16 use cache: remote vs use cache: private

A team ships personalized product recommendations on a product page. The data depends on the visitor's session cookie, so a teammate wraps the fetch in a plain 'use cache' function and reads cookies() inside it. next build passes. next start doesn't: every request to that route throws next-request-in-use-cache, because use cache cannot see request-time APIs at all, by design. The fix looks obvious: switch to 'use cache: private', since the docs say it's the directive that can read cookies. It compiles, it renders, the recommendations are personalized again — and the team, having just learned t

TypeScript Type Narrowing: The Complete Guide

You write function greet(value: string | null), guard it with if (value === null) return;, and schedule a setTimeout callback that uses value. Right after scheduling it, you reset value back to null — a one-line cleanup, nothing dramatic. TypeScript suddenly reports "value is possibly null" inside the callback, on a check you already passed three lines earlier. Nothing about the check was wrong. You just ran into one of the specific, learnable rules of type narrowing, the mechanism TypeScript uses to track which members of a union type are still possible at each line of your code. What you'll

How deep are your code reviews? Three numbers from GitHub

A code review can be a real read or one click on Approve. Most stats count both as one review. These three numbers show the difference. 1. Comments per review Count the inline comments in the reviews you gave. Divide by the number of reviews. Then count the approvals with no comment. No comment on a 5-line fix is fine. No comment on a big PR is a reason to ask why. 2. Comments per PR How much discussion your own PRs get. Very low: maybe nobody reads them. Very high: maybe the PRs are too big or not clear. 3. Resolved threads Resolved review threads on your PRs, against all threads. It shows if

Waktu

Walau kita tidak tahu apa yang akan terjadi pada masa hadapan, hidup mesti diteruskan, bukan? Continue reading on Medium »

Password Has A History

The secret life of raju’s passwords: Every password had a story, and some were better left forgotten! Continue reading on Quirky Rants »

Tired of Moral Stories? Here's a Funny One!

Are you tired of listening to moral stories all the time? Then, here's a funny story for you. Enjoy! Continue reading on Medium »

20 Vector Search Concepts Every AI Engineer Should Know

From similarity metrics and vector compression to indexing and ranking, understand the mathematics that shapes retrieval speed and… Continue reading on Let’s Code Future »

Willard Bowsky!

Continue reading on Medium »

NestJS platform-node (12.3): The Adapter That Reorders Your Routes

A team upgrades @nestjs/core and swaps NestFactory.create(AppModule) for NestFactory.create(AppModule, new NodeAdapter()) — NestJS's brand-new, Express-free HTTP adapter, chasing the ~50% throughput bump its author measured against Express. Everything passes locally. In production, a request to /users/Me — a stray capital from an old mobile build nobody's shipped in a year — starts returning 404 instead of the profile it always returned. Nobody touched routing. Nobody touched that controller. The adapter just started enforcing something Express never did. This article is about @nestjs/platform

RoboDojo Sim, an Isaac Sim Benchmark Cited in the Fable 5.2 Model Card, Reopens the Simulation Debate

RoboDojo Sim, an Isaac Sim Benchmark Cited in the Fable 5.2 Model Card, Reopens the Simulation Debate RoboDojo sim, a robotics benchmark built on NVIDIA's Isaac Sim and cited in the model card for Fable 5.2, is the subject of a new technical assessment that concludes the simulator is "not even wrong" — and that its shortcomings are representative of a wider problem in how embodied AI gets evaluated. The assessment, published as a blog post and circulated with a demo video that has drawn roughly 10,000 views, argues that LLM-powered agents can generate better simulation than the hand-built envi

What a published pricing formula lets you verify in five minutes

Two weeks ago a procurement lead forwarded a PDF with one number circled: a per-token rate, described as "discounted". She asked a fair question — is this good? I could not answer from the PDF. There was nothing in it to compare the number against. That is the trouble with a quote. It arrives without a denominator. A published pricing formula means a rate built from two parts a buyer can check independently — the model vendor's public list price and a coefficient the supplier states in advance — so the same arithmetic produces the same number on your desk as on theirs. This article covers: ① t

OpenTelemetry Collector Kubernetes setup for Dynatrace: Helm, Operator and k8sattributes

Your pods send OpenTelemetry traces, but in Dynatrace they arrive with no pod name, no namespace and no node. You cannot tie a latency spike to a specific deployment, and MTTR grows. Deploying an OpenTelemetry Collector Kubernetes DaemonSet, enriched by the k8sattributes processor, fixes this at the source. Goal of this tutorial: install a Collector in the cluster with Helm (or with the OpenTelemetry Operator), add Kubernetes metadata to every span, metric and log, then export everything over OTLP to Dynatrace. The content applies to both Dynatrace SaaS and Dynatrace Managed; only the ingest U

How to Configure Git Hooks: Stop Pushing Secrets and Broken Commits

The first time I watched a teammate push an AWS access key to a public GitHub repo, I learned two things. First, GitHub's secret scanning alerts are fast - we got the email in 47 seconds. Second, the team had a pre-commit hook that should have caught it. It just wasn't installed on her laptop, because hooks don't sync with the repo, and nobody had set up a way to make them sync. The four hours we spent rotating keys, scrubbing git history, and notifying downstream forks could have been prevented by 30 lines of YAML and a one-line install command. Git hooks are the last line of defense between

I blocked our own fonts on all 38 pages: 30 per cent of the text moved, and the layout shift went to zero

Notifio self-hosts its fonts, not for privacy points but because next/font/google broke on an ampersand and the two woff2 files ended up committed to the repo. Since then I have written about what is inside them and which pages preload them. What I had never looked at is the other half of the mechanism: the fallback. next/font writes a second @font-face for each family, pointing at a font already on your machine, with the metrics bent to match the one being downloaded. It is the thing that is supposed to make the swap free. This post measures whether it does. Five font-face rules, three of the

How to Compress PDFs in the Browser Without Uploading Them Anywhere

You're about to email a 40 MB contract draft to outside counsel. Outlook bounces it. Gmail quietly downgrades the link. The other side fires back asking for a Dropbox upload. None of those options feel right when the file contains settlement terms, employee reviews, or a draft acquisition that hasn't been announced. Cloud-based PDF compressors promise a quick fix, but they ask you to hand the same sensitive file to a stranger's server. Most pretend they delete it after an hour. Some hold onto it longer. A few — the ones that run on shaky SaaS stacks — don't get a clean deletion at all. There's

Messenger --concurrency in Symfony 8.2: What the First Message of Every Class Costs You

You upgraded to Symfony 8.2, replaced four messenger:consume processes with one --concurrency=4, and the dashboard looks better: one connection to the broker instead of four, one process to supervise. Then a deploy restarts the worker, and for a minute the short messages that used to take half a second sit in the queue while three of the four children do nothing. The cause is a design decision in the new parallel worker. It cannot know whether a handler batches until it has run one message of that class, so the first message of every bus, transport and class combination runs alone, as a probe.

Obfuscating CsvHelper without breaking column headers

CsvHelper is the default answer for CSV in .NET, and it earns that by hiding the tedious part: you hand it a DTO and it figures out the columns. The way it figures them out is the part that collides with an obfuscator. When CsvHelper needs a column header for a member — to write the header row, or to find that member's column when reading — its default source for that header is the member's own name. public string FirstName becomes a column headed FirstName. That derivation reads the member's metadata name at runtime, and an obfuscator's whole job is to replace that name with a. So the moment

Older stories