Grygorii (@smartyByte) header
Grygorii (@smartyByte) profile picture

Frontier Deployed Engineer & platform architect. 15+ yrs Node.js, React, TypeScript. RAG, AI agents, MCP, private LLMs, EV/OCPP billing.

Poland
Joined November 2010
mlx-lm hit 484 tok/s at 16 parallel. It dropped 25 of 64 requests. Hy-MT2-7B 8-bit, Mac Studio 96 GB. Python's ThreadingHTTPServer underneath: 𝚋𝚊𝚌𝚔𝚕𝚘𝚐=𝟻 At 8+ clients the extras get refused before the server sees them. Do you load test with real concurrency?
4
2
105
Same 7B model, same Mac: 4.2 s per chunk vs 29.8 s. Hy-MT2-7B 8-bit, Mac Studio M5 Ultra 96 GB, 16 chunks at once, p50: llama.cpp 4.20 s, 671 tok/s Ollama 29.77 s, 104 tok/s Ollama was left untuned: 𝙾𝙻𝙻𝙰𝙼𝙰_𝙽𝚄𝙼_𝙿𝙰𝚁𝙰𝙻𝙻𝙴𝙻=𝟷 Do you tune Ollama or switch runtimes?
4
2
121
Vite 8.4 is out: the dev server can now serve only what you import Released Nov 26. server.fs was a block list, and the team kept patching bypasses. Set server.fs.strict to 'extended' with an empty server.fs.allow and Vite serves only files reachable from your entrypoint, via import or CSS url(). They plan to make this the default in the next major. Plugins that emit assets call this.environment.addSafeModule. Browsers can now retry a failed dynamic import (Chrome 156+, Firefox 155+), and Vite's preload helper re-fetches the chunk's CSS on retry. Also new: subpath imports in CSS url(), an error when you start a second dev server for the same project, Wasm source phase imports, and a highly experimental bundled dev mode for SSR. 𝚗𝚙𝚖 𝚒 𝚟𝚒𝚝𝚎@𝟾.𝟺.𝟶 My take: turn on the allow-list in a branch now and find the plugins that break before the next major does it for you. Which plugin do you expect to break first? #javascript #vitejs
14
MTP drafts: +25% on one model, +7% on another. 3 local LLM gotchas from my Mac Studio: 1. MTP: Qwen3.8 Flash-Next Q2 58.5 to 73.4 tok/s, Hy4-flash 52.1 to 55.6 2. TensorFold 1.3.0 has no Hy4 backend. Use 1.3.2 3. Works only on Flash-Next: --𝚙𝚕𝚎-𝚘𝚗-𝚜𝚜𝚍 Which one bit you?
5
4
183
154 tok/s inside a 96 GB memory budget. Qwen3.8 Flash-Next 4-bit on TensorFold, 1 stream, with --𝚙𝚕𝚎-𝚘𝚗-𝚜𝚜𝚍 Hy4-flash: llama.cpp IQ2 only, 43 tok/s, 52 GiB RSS GLM-5.3-Flash, full Hy4: don't fit Proxy on my 256 GB Mac, not a real 96 GB one. What's in your 96 GB?
1
1
90
99 tok/s from GLM-5.3-Flash on one 256 GB Mac. TensorFold 4-bit: 2.4x llama.cpp (40.7), one stream only Hy4 (770B, 49B active): 17.7 tok/s on llama.cpp IQ2, 27.6 at 4 streams. 209 GiB RSS, 9 min load Hy4 in llama.cpp is still an open PR. Biggest model you run locally?
1
1
60
llama.cpp did 2x TensorFold's throughput on Hy4-flash. Mac Studio M5 Ultra 256 GB, TF 4-bit vs llama.cpp Q4_K_M: 1 stream: 55.6 vs 42.2 tok/s 16K prefill: 1,342 vs 881 4 streams: 49.4 vs 95.0 TensorFold won every test on Qwen and GLM. One user or several on your box?
2
2
126
Remix 3.3 is out: lazy frames, navigation events, a fake clock for tests Released Nov 19. Frames get most of it: defaultResolveFrame lets you override fetch and commit, so apps can cache responses and animate navigations, redirects included. A new rmx:navigation event gives the initiating element, the destination and one completion promise through redirects, scroll and focus. Below-the-fold frames can now load lazily near the viewport, with the fallback rendered on the server. prefetch() takes anchors and cancels stale prefetches, and updateUrl() puts local state in the URL without a fetch. Outside the UI, remix/data-table rows have the same shape on every adapter (json parsed, booleans true/false, timestamps as Date), and t.useFakeTimers() now also fakes Date and performance.now(). 𝚗𝚙𝚖 𝚒 𝚛𝚎𝚖𝚒𝚡@𝟹.𝟹.𝟶 My take: check data-table before bumping. If you worked around per-adapter row shapes, those workarounds may now break. Would lazy frames replace client-side fetching for you? #javascript #webdev
14
Same Mac, same model, 2.7x the speed. Qwen3.8 Flash-Next 4-bit on a Mac Studio M5 Ultra (256 GB): TensorFold (MLX): 154 tok/s llama.cpp Q4 GGUF: 56 tok/s 16K-token prefill: 3,931 vs 1,400 tok/s. Which engine runs your local models? xitter.cf/smartyByte/status/2124…
1
1
6
210
Solid 2.0 is stable: 23 release candidates in 14 weeks, 971 PRs merged Shipped Nov 17, five years after 1.0. The big change is async in the reactive graph: a computation can return a Promise or an async iterator, and everything downstream handles it. Race conditions are handled, optimistic state rolls back so the server stays the source of truth, and live() streams server functions over persistent connections. The API got smaller: createResource, batch, startTransition, on, produce, createComputed and createMutable are gone. Dev builds report reactive mistakes with a stable code, source location and fix, and flag waterfalls and runaway effects. Router and cache are your choice, via framework-agnostic Vite plugins. Try it: 𝚗𝚙𝚖 𝚌𝚛𝚎𝚊𝚝𝚎 𝚜𝚘𝚕𝚒𝚍@𝚕𝚊𝚝𝚎𝚜𝚝 My take: dropping createResource means every 1.x data-fetching path gets touched, so read the migration guide before bumping. 1.x stays on npm as solid-js@v1-latest, so there's no rush. Would async in the graph change how you fetch data? #javascript #webdev
22
Waiting, waiting...
1
17
React Flow 13 is out, and big node graphs should finally stop re-rendering everything First major in two years, shipped today. The internal store got split up: useStore is gone, replaced by hooks for nodes, edges, viewport, selection and connections. New useNode and useEdge let a component subscribe to just the node or edge it cares about. That's the fix for laggy large flows. It's also ESM-only now (no UMD), needs React 18+, and ships src/ plus source maps, so go-to-definition lands in real code. Parents no longer have to come before children in the nodes array, and dark/light mode is detected automatically. Biggest migration change: onNodesChange gets a changeset, and applyNodeChanges is gone: 𝚜𝚎𝚝𝙽𝚘𝚍𝚎𝚜((𝚗𝚍𝚜) => 𝚌𝚑𝚊𝚗𝚐𝚎𝚜.𝚊𝚙𝚙𝚕𝚢𝚃𝚘(𝚗𝚍𝚜)) My take: upgrade if big flows lag. Most breaking changes are mechanical, so grep for useStore and your change handlers before you bump. What are you building with node-based UIs? #reactjs #javascript
1
1
66
Same 7B model, 4x the RAM Peak server memory, Hy-MT2-7B at 8 bits: mlx-lm 7.8 GB LM Studio 12.0 GB Ollama 16.5 GB llama.cpp 31.2 GB Mostly not the weights: it's the KV cache preallocated by -𝚗𝚙 𝟷𝟼 -𝚌 𝟷𝟹𝟷𝟶𝟽𝟸 Do you size your KV cache, or keep the defaults?
5
5
67
Temperature 0 is not the same as deterministic. Hy-MT2-7B, 108 translations compared byte for byte: llama.cpp = Ollama = MLX-Serve: 100% llama.cpp, 16 concurrent vs 1: 100% LM Studio vs llama.cpp: 28% LM Studio vs itself, 16 vs 1: 73% Would you trust temp 0 for a cache?
5
3
56
Playwright 1.65 is out, and your e2e runner can now run on Bun The big one: the test runner works under Bun. Bun transpiles your TypeScript tests itself, so Playwright skips Babel and its compilation cache. You need the --bun flag, otherwise bunx still runs it on Node: 𝚋𝚞𝚗𝚡 --𝚋𝚞𝚗 𝚙𝚕𝚊𝚢𝚠𝚛𝚒𝚐𝚑𝚝 𝚝𝚎𝚜𝚝 Catch: no watch mode, --tsconfig is ignored, and stack traces lose async frames. Two CI wins I'd grab right away. The new failures reporter prints only failures and successful retries, no progress noise. And onlyFailures on the HTML, JSON and JUnit reporters keeps only unexpected, flaky and interrupted tests. Plus a lock: '-exclusive-' option for a test that must run alone while the rest stay parallel. Read the breaking changes before bumping CI. Class fields now follow useDefineForClassFields, so a page object that sets this.page.getByRole(...) as a field throws a TypeError. Actions now wait for inert elements, cookie matching follows RFC 6265, and Node.js 20 is no longer tested. Would you move your e2e suite to Bun without watch mode? #playwright #testing
2
96
The median hides the slow requests. p95 end-to-end latency, same JSON workload: 4 concurrent: llama.cpp 44.0 s, TensorFold 8.9 s 8 concurrent: 33.8 s vs 14.4 s 16 concurrent: 61.5 s vs 21.9 s Answers agree on 93.6% of JSON fields. Do you alert on p95 or the median?
3
1
44
Vitest 5.1 is out, and it's clearly built for the AI-agent era The headline feature: --since-last-run. The first run records every file each test loaded (imports, mocks, setup, snapshots). After that, Vitest checks mtimes and reruns only the tests your edit actually touched. No Git needed, so it works in containers, temp worktrees and agent sandboxes. 𝚟𝚒𝚝𝚎𝚜𝚝 𝚛𝚞𝚗 --𝚜𝚒𝚗𝚌𝚎-𝚕𝚊𝚜𝚝-𝚛𝚞𝚗 Two more I'd turn on right away. Interactive snapshot review: press i in watch mode and accept or reject each snapshot instead of nuking them all with u. And --last-failed reruns only the previous run's failures, even from a new process. Browser Mode got the biggest speed win: mocks now go through an import map instead of request interception. Official benchmark: 56.4s to 27.2s on a mock-heavy suite (-52%). Istanbul coverage dropped Babel for Oxc and is 5-10x faster. Gotchas before upgrading: Browser Mode's default port moved to 23315, and with the new mocking, importing a module before vi.mock registers it now throws instead of silently using the original. Would you let your coding agent run only affected tests, or is the full suite non-negotiable? #vitest #javascript
18