Shabah (@GhostOfTuring) header
Shabah (@GhostOfTuring) profile picture

talking to the void about tech stuff and pet projects, fmr many things, im older than you think.

where you least expect it
Joined October 2012
Photo by Shabah (@GhostOfTuring)Photo by Shabah (@GhostOfTuring)Photo by Shabah (@GhostOfTuring)Photo by Shabah (@GhostOfTuring)Photo by Shabah (@GhostOfTuring)Photo by Shabah (@GhostOfTuring)Photo by Shabah (@GhostOfTuring)Photo by Shabah (@GhostOfTuring)Photo by Shabah (@GhostOfTuring)Photo by Shabah (@GhostOfTuring)
This is 2025
if you can: - focus for 2+ hours at a time - delay gratification - think in first principles - handle discomfort you are a mutant in 2025 everyone else is either distracted, triggered, or mentally weak the new 1% isn’t just the rich—it’s the people who can still think
1
7
1,165
TheBurntPeanut's review after finishing 100% of GTA 6. Do you agree with him?
361
169
49
5,200
912,525
We just open-sourced a speculative decoder that speeds up sparse models like DeepSeek-V4.1-Flash, GLM-5.3-Flash, and our own Hy4 flash. At 64K context, DFly2 boosts DeepSeek-V4.1-Flash serving throughput by up to 81%. On Hy4 flash agentic tasks, it runs up to 4.2x faster, beating same-recipe DSpark by ~30% and accepting 10.4% more draft tokens than open-source DSpark. Under the hood, each draft layer reads directly from the target model's KV cache and top-k token selection, with no prefill required. That adds zero extra KV memory and keeps drafting cost flat at any context length. Try it on your own sparse models or grab the Hy4 flash weights below 👇 Code: github.com/Tencent/AngelSpec Weights: huggingface.co/AngelSlim Paper: arxiv.org/abs/2611.34776
89
168
47
1,647
117,110
this is kinda dumb but I highly recommend you tell your agent the text below the line because they'll very happily waste time over and over again on inefficient processes rather than fix the process and this substantially helps. --- Set up a self-optimizing `slow-turn-retro` Stop hook for my coding agents so that whenever an interactive turn takes 10+ minutes of active work, the agent diagnoses what was slow, ships safe default-path speedups, and logs ROI telemetry. 1. Inspect my setup first - Detect which coding agents I have installed that support Stop hooks (e.g., Claude Code, Codex, Antigravity, etc.) and locate my global instructions file and hook configuration for each. - Read 2–3 real recent session transcripts per tool to confirm each tool's exact JSONL/event schema before writing any parser. 2. Add the standing rule - Add a concise rule to my global instructions: "Slowness is a bug. Diagnose why something is slow instead of waiting it out. After any interactive turn taking 10+ minutes of active time (enforced by the `slow-turn-retro` Stop hook), check whether it could have run meaningfully faster without losing accuracy, verification, or scope; if so, fix the default path right then and record reusable findings." 3. Build and register one fast, stdlib-only Python Stop hook (<100 ms per Stop, fail-open on errors) - Accurate active-time accounting: - Measure active time from the latest real user prompt (ignoring queued continuation noise, system reminders, and mid-turn hook injections) to now. - Subtract passive waits: user prompts/approvals, timers/`sleep`, idle subagent/message waits, and external CI/log/chat watchers (e.g., `gh run watch`, `gh pr checks --watch`, `--follow` tailers). Match watchers against the full raw shell command at command position (not truncated summaries or quoted text/heredocs), and merge overlapping wait intervals before subtracting so parallel watches are not double-counted. - Exclude local file I/O tools (`read`/`edit`/`write`) from `slow_tools` so harnesses that stream parallel edit arguments do not falsely inflate tool duration. - Break down remaining active time into tool calls, model thinking, and top 3 slowest tools (>= 15 s). - Four skip gates (log every fire, skip, and completion to a local JSONL file so ROI can be audited): 1. Active time < 600 s (10 min). 2. Non-interactive runs (subagents, headless/automated runs, or non-user-initiated turns). 3. Thinking-only turns: slowest non-file tool call < 30 s AND timer/sleep wait < 60 s (keeps detached remote/cloud jobs polled via timers, while skipping pure-reasoning turns even if the user answered a question mid-turn). 4. Provider latency: median model-step latency >= 45 s (upstream inference slowdown the agent cannot fix). - Once-per-turn + automatic `retro_s` telemetry: - Track fired turn IDs on disk (capped FIFO, e.g., 400 keys) so each slow turn triggers at most once. - Evaluate the seen-turn guard *before* the < 30 s and latency gates so that on the closing Stop after a retro finishes (once background tasks and any answer-rescue finish), the hook writes a `decision: "complete"` record with wall-clock `retro_s` (and `"rescued": true` if answer-rescue ran). - Collapsing-UI answer guard: - For any agent UI that hides/collapses the pre-Stop reply once a Stop hook continues the turn, instruct the agent to lead its final message with its complete answer and append a brief `Speedup retro:` note at the bottom. On the closing Stop, check content overlap against the pre-Stop reply and block once to rescue the answer if it was dropped. - High-ROI retro prompt (returned as the Stop-hook continuation reason, prefixed with the turn's timing breakdown): - Fix the default path: ship safe, reversible speedups directly in the default execution path (code, CLI default, config, cache, parallel runner, test target, shared helper, or a fast `PreToolUse` guard for recurring slow/hanging shell patterns like interactive prompts missing `-y` or unfiltered recursive `grep -r` over huge data/cache/venv directories). Avoid opt-in flags nobody passes and doc-only notes for fixable slowness. - Only optimize what will run again: prioritize shared tooling and active multi-run pipelines; skip one-off scripts, finished migrations, superseded experiments, and irreducible external waits. Never cut corners on what the user cares about, and do not take costly, outward-facing, or risky actions without asking. - Timebox with a revert-and-exit rule: keep local speedup passes to ~2–3 min (longer only for shared cross-project tooling). If a local optimization hits an unexpected hang, failure, or cascading breakage and is not green within ~3 min, revert it and finish instead of burning 10+ min debugging mid-retro. - Verify and close cleanly: verify the speedup, record reusable findings in durable project notes/docs, and finish concisely (or say in one sentence if nothing meaningful could safely be sped up). 4. Verify end to end - Add a `--dry-run` mode that prints `active_s`, `user_wait_s`, `timer_wait_s`, `max_tool_s`, `tool_calls`, `median_step_latency_s`, and the hook decision for any transcript. - Write unit tests covering active-time math, merged overlapping watch spans, raw-command CI-watcher detection, local-file-tool exclusion, all four skip gates, once-per-turn idempotency, closing `retro_s` logging, and collapsing-UI answer rescue. - Replay at least 3 real past transcripts per installed tool through `--dry-run` to confirm accuracy and verify hook execution stays under 100 ms.
29
12
4
609
32,506
Full source, weights exporter, unit tests, and build guide (MIT): github.com/alesha-pro/llm.as… If you want to skip ahead to the bare-metal bootable OS and the 32 KB Mini-GPT trainer, they are already live in the same repo: github.com/alesha-pro/llm.as…
5
5
63
3,982
How can we distill frontier models on agentic tasks without access to their CoT? In our latest paper, we introduce a method that uses the reasoning summaries returned by closed-model providers and matches standard full-CoT fine-tuning on long-horizon tasks. CoT-proxy training works by introducing a train-eval format mismatch: during training, we place the summary after an *empty* think block and before the action/tool call. During inference, this additional training signal transfers to the student's own reasoning, without forcing it to mimic the summary verbatim. Distilling GPT-5.6 Luna into post-trained Qwen3-4B raises the student's performance from 2.7% to 27.8% on SWE-bench Verified.
25
49
9
499
33,961
This is an interesting problem but how does the system determine what is an easy problem vs a hard problem? Also why switch models when you can just loop layers?
the routing problem: how do you switch from a stronger model to a weaker one, and vice versa, without paying the cost of prefill? perhaps the most challenging problem of all. > if i start with an expensive model, doing difficult tasks > i want to maintain the context, but do less challenging work do i: a) continue paying high $/token, on less challenging work b) pay upfront the cost of prefill on a weaker model, and pray that i've chosen that the tokenomics y=mx+b is in my favor? very interesting research that paves the way to solving this once and for all. insanely well written @thomasvillix
19
🗝️ Introducing Plato's Key. A single rotation lets independently trained LLMs use each other’s representations as their own. No gradients required ✨ With @jerrywliu, @MorrisYau, and @HazyResearch. 🧵 hazyresearch.stanford.edu/bl…
203
712
216
6,055
458,882
Shabah retweeted
they’re rotating the shapes of words within representations to show that because the shapes of reality are compatible, the models might be able to work directly with each other instead of through tokens
🗝️ Introducing Plato's Key. A single rotation lets independently trained LLMs use each other’s representations as their own. No gradients required ✨ With @jerrywliu, @MorrisYau, and @HazyResearch. 🧵 hazyresearch.stanford.edu/bl…
39
56
5
1,102
43,261
Shabah retweeted
The EAs have taken control and will try to convince the country to put them in charge of an Anthropic-State merger / regulatory monopoly This would be the darkest timeline
CORRECTION: Senate now has 68 Anthropic-sponsored senators out of 98 continuing and newly elected seats (42 D, 25 R, 1 I), when accounting for incoming members after the 2026 mid-terms.
28
83
10
682
15,083
Work with cracked @hanshalgoyal, supported by the wider @_Mantic_AI team. - Blog post: thinkingmachines.ai/news/tra… - Demo: mantic.com/100k-forecasts
2
1
44
3,569
And you wonder why people call you fake news. This is either willful ignorance or an outright lie. The receipts are his own git history.
Replying to @crampell
The Treasury CIO appears to have spent the past three days vibecoding a Civilization game clone instead of working on this major Treasury database cyber breach. As I type this, his Claude code is literally adding theme music
7
Shabah retweeted
Interesting
Now on USAID.gov, you can read internal memos and communications showing how the agency actually operated behind the scenes usaid.gov
1,169
6,213
164
41,844
3,679,280
the engine gives us absolute control over everything we can switch character, style, pose, attitude, and design details in an instant
118
148
30
3,676
282,341
If you use Claude models for research, they'll try to sabotage the work at every stage. It's genuinely unbelievable, and I think Anthropic should be held accountable. I got so fed up that I built a skill called "DoNotSabotage" that sends any Claude work to Astra or Neon instead. Claude will admit "it was a mistake" but of course without explanations. This is the opposite of alignment.
693
1,368
434
18,179
2,390,820
Shabah retweeted
this was really fun to work on, i've been wanting to do this since my days at FAIR :) here's my summary - • you can think of LoRA as injecting some amount of information into a base model • given a base model, can measure precisely how much information a new dataset contains • we can generate datasets at different sizes and measure how much LoRA stores for a given rank • we can use both to set the rank • this actually works! excited to apply this to things besides LoRA too...
How should we set the rank for LoRA? Our new post derives a theory for *exactly* computing the minimum LoRA rank necessary for any SFT dataset. And it works. In practice, we can predict rank across settings with error rates below 5%:
32
83
8
1,249
81,046
How can we take the work these agents are doing and get them paid with some decentralized currency system 🧐
Two kinds of people: those watching the agent swarm trying to crack P=NP and those watching the agent swarm trying to illegally port the Xbox version of GTA 6 to the PC. Here is the P=NP one: pequalnp.com/
1
19
Two kinds of people: those watching the agent swarm trying to crack P=NP and those watching the agent swarm trying to illegally port the Xbox version of GTA 6 to the PC. Here is the P=NP one: pequalnp.com/
174
174
47
4,253
326,950
The future is custom models for maximum performance, cost and ownership thanks to open-source! Last week, we released Qwen3.8-27B-pi-adapted (that became second most trending on HF) and a bunch of harness-adapted models that drastically improve performance and cost. This week, we're releasing the fully reusable recipe, so you can reproduce this on your own task, harness, and model combinations. Blogpost: huggingface.co/blog/harness-… Let's go open-source AI!
115
219
27
1,765
88,611