
How Linux RAG works, from FTS5 and BM25 to virtual RAG nodes
A technical walkthrough of how Linux RAG works: chunking, SQLite FTS5 and BM25 ranking, numbered prompts, citations and live virtual RAG nodes.
FinalCap, ProTune AI Camera, AI Music Radar and Music Reader: on-device AI, FFmpeg in the browser, Core ML and ONNX, and the decisions behind them.

A technical walkthrough of how Linux RAG works: chunking, SQLite FTS5 and BM25 ranking, numbered prompts, citations and live virtual RAG nodes.

When you are logged in as admin, Linux RAG reads fresh nginx, MySQL and health data at the moment you ask, then redacts it before answering.

Linux RAG at grepawk.com/rag answers Linux questions from kernel docs, man pages and source, and cites the files it used.

One GBK Studio session, started by the prompt to make a song more epic: louder tracks, hall reverb and wider chorus, and a 34-point CC11 crescendo.

Eight public songs from the GBK composer, and the MIDI CC curves and SoundFont presets that shape their sound.

How GBK routes MIDI events from files, the workstation, sheet scans and the recorder through one player worker into the SoundFont synth.

How GBK's fugue generator builds a Bach-style fugue: a seeded subject, tonal answers, episodes, stretto, and a grader that marks the counterpoint.

How SoundFonts work inside the GBK synth: reading the file, the two envelopes, LFOs, the lowpass filter, reverb, chorus and pitch by resampling.

How the GBK SoundFont renderer works: MIDI notes become voices, run through envelopes, a filter and LFOs, then send effects and a mastering bus.

How FinalCap turns a chat message into a finished edit: a language model plans tool calls, and the phone or browser does the rendering.

FinalCap on iPhone now shows a multi-clip timeline and turns spoken words into Chinese captions you can burn in, with a chat box for the request.

How the GBK music composer turned its gbk_* tools into a remote MCP server any MCP client can call, plus five songs an agent wrote with them.

How an AI agent used GBK's gbk_* WebMCP tools to compose, voice, mix and render a D minor string fugue, and what the music does.

GBK exposes 29 WebMCP tools so a browser AI agent can draw CC curves, write counterpoint and design sounds, while you A/B, Accept or undo.

How our fork of FilmCraft, an open-source video editor in Rust and WebAssembly, turns typed requests into checked editor commands.

A step by step guide to wrapping a browser JRPG in a SwiftUI shell and adding Game Center, haptics, controllers, iCloud Keychain and StoreKit 2.

How FinalCap streams a video's audio to ElevenLabs realtime speech-to-text and builds bilingual captions with a live overlay and a caption track.

How filmcraft's browser export went from about 18 minutes to about 10 seconds for 6 s of 4K, in eight changes, with the benchmark numbers.

How our filmcraft fork's browser export got up to 111 times faster: hardware encoding, lean caches, GPU compositing and GPU color conversion.

A green test said our export worked, but not that it was right or fast. This is the Chrome bench we built to check browser video export, and why.

A step-by-step guide to a Chrome test bench for a WebAssembly app: drive Chrome over CDP, fixed media, timed exports and ffmpeg checks.

How SIMD, a 4-pixel color kernel and an adaptive render budget make filmcraft's WebAssembly build convert frames faster and stay steadier under load.

ProTune AI Camera 1.4 is on the App Store. It adds ProTune Pro with unlimited Auto Optimize and Coach, a 7-day free trial and a steadier paywall.

WebAssembly SIMD makes filmcraft's 1080p frame conversion about 20% faster. Browser tests show mixed results at full speed and a steadier UI under load.

In the next ProTune update, Auto Optimize on the front camera reads the light on your face and picks one of five selfie looks. Here is how it decides.

ProTune reads the scene, picks a photo recipe and writes shutter, ISO, EV, white balance and focus to the iPhone camera. Here is how that loop works.

Music Reader reads a photo of sheet music on the iPhone with ONNX Runtime and its Core ML provider. What we measured, what it costs, and what we chose.

How Music Reader turns a photo of printed sheet music into MIDI on the iPhone: segmentation, staff geometry, a transformer decoder, and no server.

FinalCap maps a typed request to an FFmpeg edit that runs in your browser, and transcribes speech into subtitles with an on-device Whisper model.

A short video and notes on the ffmpeg.wasm fork we are building for FinalCap, covering WebAssembly threads, SharedArrayBuffer, SIMD and the bugs we fixed.

AI Music Radar transcribes playing, singing or humming into an engraved score on the iPhone itself. A walk through the pipeline and recent accuracy work.