Code and sleep (@codeandsleep) profile picture

low latency guy

San Francisco, CA
Joined June 2009
Photo by Code and sleep (@codeandsleep)Photo by Code and sleep (@codeandsleep)Photo by Code and sleep (@codeandsleep)Photo by Code and sleep (@codeandsleep)Photo by Code and sleep (@codeandsleep)Photo by Code and sleep (@codeandsleep)Photo by Code and sleep (@codeandsleep)Photo by Code and sleep (@codeandsleep)Photo by Code and sleep (@codeandsleep)Photo by Code and sleep (@codeandsleep)
Code and sleep retweeted
Big Black Friday for Shopify merchants: - $7.6B in sales on Friday - Peak sales hit $6.8M per minute - Edge peaked at 13.1M requests per second - Database queries peaked at 71.2M requests per second - Shopify Functions peaked at 252K per second
270
304
120
4,664
761,688
Code and sleep retweeted
oMLX 0.8.3 is out! Meet a faster Inkling 2 Mini, and Hy4 and Hy4-Flash with a more optimized implementation. github.com/jundot/omlx/relea… Faster Inkling 2 Mini (oQ4e, Lightning MTP on, M5 Max) - Prefill: 1,869 -> 2,255 tok/s at 4K (+21%) - Decode: 86.0 -> 96.8 tok/s (+13%) - Rewriting a file from context: 62.7 -> 158.5 tok/s on M3 Ultra (+153%). Drafts now copy up to 15 tokens at a time. - A 98K context needs about a sixth of the KV memory, 18 -> 3 GB. Better-optimized Hy4 and Hy4-Flash - Hy4-Flash gets its first token 20% sooner with the SSD cache on, 9.75 -> 7.78 s on a 5.8K prompt. - Hy4-Flash prefill on M5 Max: 660 -> 743 tok/s at 17K (+13%) - SSD N-gram Offload keeps the Engram tables on SSD, so memory goes 124.7 -> 87.7 GiB (-30%). - Multi-turn chats and agent sessions no longer lose earlier turns after a cache hit. Also in 0.8.3 - Claude Code's WebSearch now works with local models. - DeepSeek V4.1 2-bit decodes 148 -> 165 tok/s with 8 requests (+11%), and a single request is 11% faster with 5-token MTP drafts. - An RTX 4090 Prefill Accelerator holds up to 43 layers of 8-bit Qwen3.8 27B instead of 22, and 32K prefill goes 720 -> 1,095 tok/s at 39 layers (+52%). And don't forget LoRA harness adapters, new since 0.8.2! - Run adapters like Qwen3.8-27B-opencode-adapted and Qwen3.8-27B-pi-adapted on your oMLX. huggingface.co/blog/harness-… - Pick one in Model Settings > Advanced. PEFT and mlx-lm adapters both work, also on oQ, oQh and Lightning MTP models. Thanks to everyone who sent PRs and tested builds, and a warm welcome to the eight new contributors! Since my last post here, 0.8.1 and 0.8.2 also came out, with day-0 support for Inkling 2 Mini and Hy4. I'll try to keep this account as busy as the commit log. What are you running on oMLX these days? I'd love to hear what to work on next.
25
31
5
455
33,481
Code and sleep retweeted
Atlassian: "hey can we talk?" Me: "Remember when you acquired DX for $1B? And the CEO canceled my advisory shares and the advisory shares of a bunch of other advisors. And screwed over a bunch of employees on the sale. Until it's sorted for everyone, no."
69
58
18
2,734
491,000
Code and sleep retweeted
Got off a call with the an MS team lead who was on the bridge for this incident on what exactly happened in the outage: 1. This was a "latent bug" - a commit going in ~4 months ago to a Windows build, that only activated much later. Super hard to spot 2. Zero AI, this code was human written + committed 3. Machines got saturated and unreachable at a result 4. So many other things went wrong during this outage: a series of unlucky events 5. It was a dev who found the root cause, poking around and seeing a dump that reminded them of an error seen here. AI diagnostic tools were used and helped progress with the outage A detailed, public postmortem is on its way. MS wants to make sure they have everything patched globally before the postmortem. I'll add my two cents when it's out, and those details will be VERY educational
Madness - 12 hours into the outage. Microsoft is posting regular updates but they have not figured out what is causing servers to die when brought back online From their updates it sounds like it’s a thundering herd + some other weird issue they’ve yet to pinpoint
160
242
38
3,328
337,280
Code and sleep retweeted
How the hell does Jev cost $0.00 after using more than 1M tokens (on my new search site) an LLM would have charged me $3-5 already. Jev pricing is incredible, pricing is per *billions* of tokens not millions huge reason this spreads like wildfire. great work @CompleteSkeptic
78
31
9
1,086
92,541
Replying to @AnthropicAI
Value added by VCs who invested in Anthropic post–Series D
2
2
136
15,955
NASA только завершили пресс-конференцию по ускорению программы Artemis, и да, космический Титаник начал потихоньку разворачиваться. Это, пожалуй, было самое убедительное выступление менеджмента NASA под руководством Джареда Айзекмана. Отдельно стоит отметить менеджера всей программы Artemis Джереми Парсонса, который дал больше всего конкретики. В общем, чуть меньше лирики и больше информации про железо, таймлайны и текущий прогресс. Эпоха ответственности начала проглядываться через бюрократический мрак, но текущие задержки и ограничения — результат многолетних неудачных решений. К слову, NASA нацелены доставить корабль Orion на низкую лунную орбиту, что он не мог делать ещё недавно в силу ограничений, которые были заложены в него ещё 20 лет назад. И только за этот год, от многомиллиардного кадавра, в котором задержки били рекорды и здравый смысл, начали принимать конкретные решения по ускорению, как в случае ракеты SLS и её подготовки, так и партнёров. NASA теперь не перекладывает всё на внешних подрядчиков, а своими силами контролирует производственные этапы «на полу». Про ряд аспектов будут детальные посты, а пока в общем: - Artemis 3 с запуском 3 разных сверхтяжёлых ракет на НОО для тестов посадочных модулей стоит на лето 2027; - Artemis 3 продлится 14 дней, до самой миссии Blue Origin запустит свой модуль Blue Moon и уже после этого SLS, а стыковка со Starship только через 8 дней после начала миссии; - С июня экипаж Artemis 3 уже провёл 350 часов на учениях по теоретической части, 22 симуляции миссии, команда управления полётом провела 55 симуляций со своей стороны, и наземная команда более 100 часов симуляций подготовки к пуску; - NASA утвердили упрощённую версию скафандра Axiom для первых высадок Artemis, которая в 2 раза легче (~115кг), и позволит находиться на поверхности хотя бы несколько часов; - Для Artemis 4 планируется 2 экспедиции на поверхность Луны минимум по 2 часа каждая; - Сборку боковых твердотопливных ускорителей для SLS под Artemis 3 провели в 2 раза быстрее Artemis 2; - Orion для Artemis 3 уже собран на 95%, на этой неделе на него установят 2 новых терминала Starlink, которых полгода назад ещё не было; - NASA без участиях внешних подрядчиков сами переделали клапаны на интерфейсе для заправки центральной ступени SLS и приступили к тестами за 5 месяцев — ранее на это ушло бы в несколько раз больше времени и намного больше денег; - Для SLS утвердили удлинённую вторую ступень Centaur V, в которой до 50% больше горючего (~80 тонн) — она позволит вводить до 43 тонн к Луне; - Для комбинации Orion и Centaur V также рассматривают дополнительный разгонный блок (кикер), чтобы гарантированно вывести Orion на низкую лунную орбиту, и чтобы он мог с неё вернуться на Землю — основное ограничение запас горючего на Orion; - NASA также приняли концепцию по разгону Orion до низкой лунной орбиты с помощью Starship HLS, необходимые изменения в железо Orion уже одобрены; - Blue уже приступили к сборке части лётного железа для лунного посадочного модуля — он ещё не утверждён до конца, но часть уже можно делать сейчас. - И да, в обе посадочные системы от SpaceX и Blue Origin заложены экстренные сценарии на случай отмены посадки на Луну.
6
11
1
303
12,590
Code and sleep retweeted
🚨 @NVIDIAAI just quietly dropped its own local inference server... No announcement. Single-digit stars It's called Flare and Apache 2.0 Built for SM120/SM121 GPUs RTX PRO 6000 Blackwell and DGX Spark >PyTorch + FlashInfer at build time >Rust runtime at serve time. No Python. >CUDA graphs captured before serving >FP8 KV cache by default >Recipes for Qwen Flash, GLM and DeepSeek github.com/NVIDIA/flare-loca…
48
85
27
737
70,098
Коллеги из Смартли некоторое время использовали домен smartly.af (читается «smartly as fuck», «дохуя умный») для внутреннего artifactory, но потом решили перестать поддерживать экономику Афганистана :-)
Every once in a while, some unsuspecting country's domain economy goes vertical 😂 .𝚌𝚘 → Colombia .𝚒𝚘 → I/O → Island Ocean .𝚖𝚍 → Markdown → Moldova .𝚛𝚜 → Rust → Serbia .𝚊𝚒 → AI → Anguilla .𝚜𝚒 → SI → Slovenia
2
1
106
10,477
Code and sleep retweeted
I gave a talk on data parallelism this week, and I discussed 'runtime dispatching'. It is a trick whereas you check what the CPU supports (at runtime) and selects the right code path. The engineer asked 'what happens if the processor speculates wrong?' Indeed, whenever there is a branch, a compiler might try to evaluate the wrong branch. If you try to execute an instruction that your processor does not support, you typically get a crash. So it might be possible that you would check what the CPU supports, and somehow end up on a code path with unsupported instructions due to speculation. So would it crash if it speculated wrong? I said that I expected that there should be no crash, and no side-effect. I am happy to report that my answer was correct. Civilization saved, once again.
11
8
1
139
8,745
Code and sleep retweeted
Opus 5.5 is the result of your feedback. It communicates clearly, it's cheaper per token than Opus 5.0 with the intelligence of Fable 5.1, it’s very token efficient and works across every effort level. We're also increasing 5h rate limits & giving you a banked reset.
Introducing Claude Opus 5.5, the first model in our new Claude 5.5 family. It performs at the level of Claude Fable 5.1 for most tasks, and costs 40% less to run than Opus 5.
752
410
169
12,050
688,111
Code and sleep retweeted
I used Opus 5.5 to formally verify the Claude Agent SDK using Lean. A couple short prompts = 16 PRs fixing various bugs and race conditions. Video attached. TLA+ also works well. I sometimes combine Lean and TLA+ to look for issues around data flow, concurrency, and state mgmt. I don't know either language well, but Claude is excellent at both. This approach is super useful for formally modeling your code and finding bugs that a human probably wouldn't have spotted. Is formal verification the future of coding (or at least, bug finding)?
487
351
307
6,374
2,248,757
Code and sleep retweeted
Replying to @arvidkahl
Perfectly fine in good tools
4
1
5
701
Code and sleep retweeted
It snowed in San Francisco in 1976
Where has snow fallen at any point since 1940?
57
144
23
5,867
606,019
Code and sleep retweeted
Deploying agent is not a trivial task, especially for team: you have to configure inference tokens, git, deploy somewhere, configure authentication. Also how to invite your whole slack to it? Now you can ask Happy Agent to install itself anywhere and invite people via emails. It will do autonomously and deploy to any VM you have access to. In this video i am using my exe.dev account. Tested with AWS. You can use virtually any place you wish. It doesnt neeed public ports, special networking, explicit authentication configuration - everything is handled automatically. Networking is done via tailcat. It will install, configure and invite people all by itself autonomously in any environment.
1
1
492
Code and sleep retweeted
A 35B language model running on an iPhone using only 1–2.5 GB of peak memory. No cloud. No remote server. No desktop GPU. Today, we’re open-sourcing Edge0 — a framework for running large AI models fully on-device.
397
829
151
10,202
731,629
Claude Fable 5.1 tops the Artificial Analysis Intelligence Index but costs 20% more per task than Fable 5 despite a 75% cache read price cut We supported @AnthropicAI with pre-release evaluation of Claude Fable 5.1. At max effort it scores 66 on the Artificial Analysis Intelligence Index, the highest score we have measured, ahead of Claude Opus 5 (max, 63), Claude Fable 5 (max, 62), GPT-5.6 Sol (max, 61) and Grok 4.6 (high, 61). We evaluated the model with Anthropic's ‘default’ server-side fallback, which routes safety-flagged requests to Claude Opus 4.8 or Claude Opus 5; fallback served ~4% of output tokens across the Intelligence Index. Key takeaways ➤ Frontier Intelligence with improvements across benchmarks: Fable 5.1 gains +4 points on the Intelligence Index over Fable 5. On HLE, Fable 5.1 scores 59.1%, ahead of the previous best of 55.5% from Claude Fable 5. It posts the narrowly highest scores we’ve seen on Terminal-Bench v2.1 (91.4%) and SciCode (62.0%), and on τ³-Banking it gains 9 points over Fable 5 ➤ 75% cache read price cut, but Fable 5.1 still costs more per task: Anthropic has cut the cache read price from $1 to $0.25 per 1M cached input tokens, with standard pricing unchanged at $10/$50 per 1M input/output tokens. Fable 5.1 (max) costs $3.76 per Intelligence Index task, 20% more than Fable 5 (max), because it uses ~1.7x the output tokens. The cache cut saves ~$1.40 per task, concentrated in the agentic evaluations where the majority of input tokens are cache reads. At xhigh effort Fable 5.1 scores 65 at $2.72 per task, $1.04 less than max, but still above Claude Opus 5 (max, 63) at $2.34 ➤ Claude Fable 5.1 holds the upper end of the Intelligence vs Output Tokens per Task Pareto frontier: every model variant scoring higher than GPT-5.6 Sol (medium) on the Intelligence Index is matched or beaten by a Fable 5.1 effort level on both intelligence and token usage ➤ Highest scores on agentic work tasks, but effectively tied with Opus 5: Fable 5.1 sets the highest scores we have measured on GDPval-AA v2 (1,853 Elo, +130 over Fable 5) and AA-Briefcase (1,694 Elo, +122 over Fable 5), our agentic knowledge work evaluations. Against Claude Opus 5 the GDPval-AA v2 lead is within the confidence interval and AA-Briefcase (1,685) is effectively tied, with Fable 5.1 ahead on analytical quality and rubric correctness, but behind on presentation Other model details: ➤ Context window: 1 million tokens, supporting image and text inputs as with Anthropic’s other recent launches ➤ Pricing: Fable 5.1 retains the $10/$50/$12.5 input, output, and cache write prices per million tokens from Fable 5, but cache hits have been reduced to $0.25 per million tokens, a 75% relative reduction from before that will materially reduce agentic workload costs
110
188
120
2,070
507,639
Code and sleep retweeted
We’re introducing Claude Fable 5.1 and Claude Mythos 5.1. They're the world’s most advanced models for coding and knowledge work.
2,844
7,230
4,816
65,100
21,167,044
Code and sleep retweeted
Sun Microsystems again decades ahead of its time.
Edge compute startup @armada_ai unveiled Orion, the latest (and greatest, capacity-wise) in its Galleon data-centers-at-the-edge family. It's Armada's "largest and most powerful Galleon yet,” CEO @danwrightSF told Tectonic. 🔗Read the full story at the link below
30
21
2
229
14,258
Code and sleep retweeted
Mr. President, I know exactly where to put this: Space Academy should be built in the Presidio, in San Francisco.
BREAKING: President Donald J. Trump just signed an Executive Order establishing a new federal academy, THE UNITED STATES SPACE ACADEMY. 🚀🇺🇸
190
119
23
3,566
211,825