Front-page articles summarized hourly.
Could not summarize article.
Bart de Goede shows how to add semantic search to a static site entirely in the browser, without servers. He moves from Lunr.js keyword search to a 4 MB lookup-table model (model2vec/potion-base-8M), embedding posts at build time and querying via vector dot products. He quantizes to int8, uses per-row scales, and reimplements WordPiece in JS. A key lesson is that chunking preserves signal. He fuses keyword and semantic search with Reciprocal Rank Fusion and benchmarks three encoders (4 MB, 23 MB, ternlight). The homepage uses a lazy-loaded, ~300-line JS hybrid search.
HTML Drive lets you edit HTML and Markdown files directly in Google Drive and publish them to the web with one click. It provides an in-browser editor with syntax highlighting, real-time preview, and Google Drive-powered storage; published pages get a public URL and update automatically. Your files stay in Drive; a cached published copy is created and deleted when unpublishing. It’s free for up to 10 published pages. Supports HTML and Markdown (.html, .md/.markdown). Uses OAuth 2.0 for secure access; you can revoke access anytime; viewers don’t need Google accounts.
Explores a fast branchless quicksort using sorting networks and loop unrolling. The header implements small-partition sorting via sorting networks, a median-of-five heuristic, and branch-friendly partitioning; a cosmetic rewrite changes inner swaps to a compact form. The main point: modern compilers like Clang can replace branches with branchless csel/cmov, yielding major speedups. In tests on macOS M1, a rewritten version runs ~6x faster than the original and about twice std::sort for 50 million doubles (4.4s vs 0.7s). Clang's codegen becomes branchless; GCC does not.
An overview of how the Internet works from first principles: data is split into packets, routed across a vast, loosely coordinated network without a central owner; edge devices add reliability (TCP), while IP handles best‑effort delivery and addressing. The stack layers from physical links (Ethernet, Wi‑Fi, fiber) up to DNS, TCP/IP, TLS/HTTPS, and HTTP/3 (QUIC) let apps talk globally. The piece also traces history—from telegraph and circuit switching to ARPANET, Ethernet, and BGP—explaining concepts like CIDR, NAT, ARP, MTU, TTL, tracers, CDNs, and DNSSEC, and how home networks and CDNs reduce latency.
HotSpot's C2 JIT reasons about bit-level facts using a reduced product of two abstractions: a numeric range and per-bit masks (zeros and ones) describing fixed bits. A canonicalization loop refines them together until stable, using transfer rules for operations like AND and SHL. This lets C2 prove tight constraints (e.g., x<<2 has its two least-significant bits zero) and eliminate masks, turning (x<<2) & -4 into x<<2. Implemented in JDK 26–27, the approach is exhaustively tested on tiny widths and illustrated by code and assembly comparisons.
Ghost Font is an experimental anti-AI communication method that encodes messages as motion in a video of dots, readable by humans but not easily deciphered by AI models. It isn’t a traditional TTF font. A hidden decoy message is included to mislead. Screenshots can’t reveal the message; decoding requires watching the video and analyzing motion. The project cites the 2013 ZXX font and notes AI progress, with data processed locally, not on servers. Future plans include open-source code, longer texts, CAPTCHA use, and benchmarking AI perception.
Google is adding a Search Console feature called "platform properties" that lets creators see which search terms bring users to their Instagram, TikTok, X, and YouTube content on Search and how audiences interact with it, expanding Google's effort to make Search a hub for creator content; rollout starts in coming weeks.
dotenv-diff scans codebases to detect environment variable references and catch missing, unused, duplicated, or misused vars before runtime. It supports SvelteKit, Next.js, Nuxt, Node.js, Vue, and modern TS/JS projects. It helps ensure all required vars are defined, reduces risky commits, and scales to monorepos. Features include framework-specific warnings, ignore comments, expiration metadata, and baseline suppression for existing warnings. Usage options: --init to create a config, --baseline to record current state, --explain VAR, and Git hooks/CI/CD integration. MIT license; created by chrilleweb.
Otary Tutorials provide example-driven guidance on using Otary for image processing, geometry, OCR, scoring, and utilities. Topics include image-geometry workflows, advanced manipulation, efficient cropping (including crop-before-loading), area and intersection computations, OCR (single and multi-output), analysis, and transformers, drawing, and rendering components. Tutorials are meant to show how to use Otary and its features, not as a full reference; users are encouraged to explore.
Storing bearer tokens in localStorage is risky due to XSS; best practice is httpOnly, Secure, SameSite cookies tied to a server-side session. Stateless JWTs help with microservices but create revocation issues; for a single app, use server-side sessions with a __Host-session cookie and a DB-backed session store. For OAuth/browser apps, prefer Backend-for-Frontend (BFF) so browser only holds a session cookie while the server handles tokens. Implement CSRF defenses (CSRF tokens, SameSite, origin checks) and token rotation. A new defense is Device-Bound Session Credentials (DBSC) binding cookies to hardware to defeat pass-the-cookie theft.
A Design You Trust feature showcases vintage Soviet-era control rooms, celebrating tactile, analog interfaces with banks of buttons, switches, meters and dials from a pre-digital era. The collection highlights the visual beauty and design of these spaces, including the Chernobyl Reactor 4 Control Room photo by Cary Markerink, and points readers to Present And Correct for more information.
The Lindy effect in software argues that technologies that have persisted longer are likelier to endure, so time-tested languages and tools are safer bets than trendy newcomers. Benefits include stability, mature ecosystems, predictable performance, industry acceptance, and lower risk. Examples cited include C and SQL as long-standing, with JS libraries coming and going. Practical takeaways: adopt new tech cautiously, rely on proven foundations, design for longevity, and favor gradual evolution over wholesale rewrites.
Phobos is a tiny, tile-centric GPU kernel language inspired by Triton that lowers to PTX and runs on NVIDIA GPUs. It targets a scale-free, tile-DAG execution model and can be extended from single-GPU kernels to a cluster prototype using a central scheduler and gRPC communication. The author built the compiler in Rust using MLIR/LLVM, with a pipeline: source -> lexer -> parser -> codegen -> MLIR -> LLVM IR -> NVPTX -> PTX. Example kernels include vector add and SGEMM; performance reaches about 74–76% of cuBLAS SGEMM on a GeForce RTX 2080 SUPER. It’s a learning project, not production-grade.
Aleph trained a model to translate silent-speech tongue ultrasound into text. On open-vocabulary cross-speaker data, it achieves 15.6% WER, using about 50 hours of data collected in a month. They recorded submental ultrasound behind the chin during stories, quality-checked with vocalized speech, and trained a ResNet-18+1d video encoder to align embeddings with Whisper Base’s text outputs. After ~20k samples, phonetic errors emerged, showing learning beyond priors. WER falls from 102% at 15k to 15.6% at 50k. Generalizes to American-accent speakers; non-American accents are harder. Future: thinner probe, hydrogel, wearable patch; more data. Not consumer yet.
The article explains how decorative right-to-left characters (fleurons), notably the Manichaean 𐫱, can disrupt bidirectional text rendering when mixed with left-to-right content. The fleuron is RTL, causing surrounding digits (e.g., “400”) to reorder in display. It sketches the Unicode Bidirectional Algorithm (types like L, R, EN) and how strong types dominate weak ones. Fixes include wrapping the symbol in <bdi> or using CSS unicode-bidi: bidi-override to isolate directionality. These symbols are increasingly appearing in fonts and blog styling.
Explains how to choose an AI agent memory strategy using a five-question decision tree that classifies information into four memory types: working, semantic, episodic, and procedural. For each category, decide: persistence beyond turn and session, whether facts are stable or evolving, how retrieval should work, and whether to learn reusable procedures. Shows how to compose layered memories (e.g., current ticket in working memory, user preferences in semantic memory, history in episodic memory, routines in procedural memory) and common pitfalls like mixing memory layers and inappropriate retrieval. Concludes with next steps to evaluate frameworks.
An end-to-end guide for building an iroh-powered smart fan on an ESP32 (with PSRAM), measuring temperature via a DHT22, and switching a fan based on a threshold. The setup runs a local echo/IRPC protocol, stores a stable endpoint ID in nonvolatile memory, and can be controlled from anywhere using iroh relays; a WASM-based browser GUI shows live temp/humidity and allows threshold changes with authentication. The project uses a separate protocol crate, adds status retrieval, and includes a 3D-printed enclosure; all code is open source in iroh-smart-fan.
Made by Johno Whitaker using FastHTML