Related reading
Fixing Server Component Bundle Leaks in Next.js with AST Linting
Server‑only code can silently inflate client bundles in Next.js 15+ apps. The article shows how to spot leaks with @next/bundle-analyzer, prevent them by removing shared barrel files or adding the `server-only` guard, and enforce a deny‑list of server modules via a custom ESLint rule that scans the AST of files with a `'use client'` directive. The rule is wired into a CI bundle‑budget check using…
SitePointsitepoint.com14 minEliminating AI Code Hallucinations with TypeScript Compiler Diagnostics and TDD Loops
The article shows how to replace raw TypeScript compiler output with a programmatic JSON feedback loop that merges diagnostics and Vitest test failures, feeding the structured data back to an LLM coding agent for self‑correction. It provides concrete code for extracting, enriching, validating, and de‑duplicating errors, and demonstrates token savings and deterministic iteration until compilation…
SitePointsitepoint.com15 minApp Hardening: One Obfuscation Pipeline Across Every Port
Codename One adds a cloud‑side hardening step that runs on the merged JAR before it is split into Android, iOS, JavaScript, and desktop binaries. It can rename symbols, encrypt string literals, and insert opaque‑predicate control‑flow guards at configurable levels (off → standard → aggressive → paranoid). The transforms are selective per platform to avoid breaking optimizers, and a mapping is kep…
CodeName Onecodenameone.com6 minEverybody's Lost Their Minds
The author argues that the AI hype wave is draining engineering resources without improving security, and that basic practices like inventory and automated patching are far more valuable. He warns that over‑reliance on AI‑generated code erodes understanding and makes debugging harder.
This Code Is CRAP (2011)
A user praises Crap4J, an old Java code quality tool, for effectively identifying "dangerous" code without false positives, unlike other coverage tools. They note its age and incompatibility with Java 7, urging for updates.
Hacker News front pagegoogleblog.com1 minHN7657



