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
Photo by Grygorii (@smartyByte)Photo by Grygorii (@smartyByte)Photo by Grygorii (@smartyByte)Photo by Grygorii (@smartyByte)Photo by Grygorii (@smartyByte)Photo by Grygorii (@smartyByte)Photo by Grygorii (@smartyByte)Photo by Grygorii (@smartyByte)Photo by Grygorii (@smartyByte)Photo by Grygorii (@smartyByte)
Hi, I'm Grygorii πŸ‘‹ 15+ years building Node.js/React/TypeScript systems: billing, EV charging (OCPP), solar IoT, video pipelines. Since 2023: RAG, AI agents, MCP and private LLMs. Here: architecture, DB tuning, JS tricks. Open to contracts β†’ kylypko.com/en/
1
5
198
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
4 local LLMs, 2 engines, one 256 GB Mac Studio. Fastest: Qwen3.8 Flash-Next on TensorFold, 154 tok/s single, 237 across 4 streams Biggest: Hy4 770B on llama.cpp, 17.7 tok/s at 209 GiB RSS Every run, the method and the caveats: xitter.cf/smartyByte/status/2124…
2
3
125
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
Clef ran faster, then matched my labels on 27.5% of one field M4 Max 64GB, 50 real prompts, req/min at 1 / 2 / 4 parallel: Clef 7.2 / 7.37 / 7.16 Qwen3.8-27B 5.56 / 7.48 / 5.90 Interim label match: role 92%, seniority 74%, remote scope 27.5%. Do you score quality per field?
2
39
Half my long translation requests returned only the title Hy-MT2-7B, a 1,550-word article as one request: 40 of 80 came back with just the title. Every de→fr and en→ja stopped after 21 to 28 tokens. Same text in 16 chunks: zero cut-offs. Chunk by tokens or by paragraphs?
14
Scare me with one word (not GTA) πŸ˜€
13
Rewrite it in Go? Only if RAM is the bill Same JSON API, Node vs Go, 300 connections: πšŠπšžπšπš˜πšŒπšŠπš—πš—πš˜πš— -𝚌 𝟹𝟢𝟢 Throughput: tie. p99: tie. RSS after load: Go 32 MB, Node 84 MB. A scary 230 ms Node max? The memory sampler stealing CPU. Would you port for 2.6x less RAM?
1
18