Mulia Nasution (mul14) (@mul14) header
Mulia Nasution (mul14) (@mul14) profile picture

Markdown engineer & Pixel-art lovers

Joined July 2009
Photo by Mulia Nasution (mul14) (@mul14)Photo by Mulia Nasution (mul14) (@mul14)Photo by Mulia Nasution (mul14) (@mul14)Photo by Mulia Nasution (mul14) (@mul14)Photo by Mulia Nasution (mul14) (@mul14)Photo by Mulia Nasution (mul14) (@mul14)Photo by Mulia Nasution (mul14) (@mul14)Photo by Mulia Nasution (mul14) (@mul14)Photo by Mulia Nasution (mul14) (@mul14)Photo by Mulia Nasution (mul14) (@mul14)
Mulia Nasution (mul14) retweeted
Blocking chips to china is idiotic
446
2,652
108
23,094
1,476,333
Mulia Nasution (mul14) retweeted
Not a regular board. Orca Echo. More to come.
84
72
56
1,722
149,931
Mulia Nasution (mul14) retweeted
“wtf is a bloom filter?” you ask I got you. samwho.dev/bloom-filters
🚨🚨🚨 we just used a bloom filter 🚨🚨🚨
45
77
18
1,680
240,200
Mulia Nasution (mul14) retweeted
$4.99 coffee? No problem. $4.99 app? Let me read 300 reviews first.
362
297
83
9,175
230,951
Mulia Nasution (mul14) retweeted
I made my Mac hang every screenshot on a clothesline
535
949
309
14,279
1,043,548
Mulia Nasution (mul14) retweeted
I wanted infinite canvas for my desktop. So I built it with Omarchy and Opus. I'm calling it Phantomat. Grab here: github.com/kaolti/phantomat Thanks for all the feedback, gl and hf.
69
76
22
1,175
61,839
Mulia Nasution (mul14) retweeted
Jev Founder, Diogo Almeida (ex-OpenAI): "The next era is not the Claude Code era. Claude Code is still part of the assistance era - Jev is the next step Jev is x200 faster, x400 cheaper and has 0 hallucination. This is what comes after RLHF" In 17 minutes he explains why every model you use has a human-shaped flaw baked into it and why Jev is better worth more than a $500 Claude Code engineering course watch today, then read how to actually boost yourself x100 with Jev in the post below
How to use Jev, and where it actually gives you the 100x: setup takes 10 minutes: 1. join the waitlist, people are getting approved same day 🔗 typesafe.ai 2. install the official skill so your agent writes correct calls: - npx skills add typesafe-ai/skills --skill typesafe-ai on Claude Code it's two commands, the marketplace add on its own doesn't install anything: - claude plugin marketplace add typesafe-ai/skills - claude plugin install typesafe@typesafe-ai 3. create an API key in the dashboard 4. in your prompt just say: "use the TypeSafe skill" now the part nobody is posting: the 100x isn't the model, it's where you put it you don't get it by swapping your LLM for Jev you get it by deleting the calls that never needed a language model open your agent and find every call that just picks something: > which tool next > is this spam > is this chunk relevant > does this need a human > is this diff risky none of those are writing tasks they're if statements you outsourced to a frontier model here's the upgrade, in order: 1. replace each one with a typed question Choice picks from up to 255 options, Score places it on a 2-10 level scale, Noul returns a raw 0-1 2. batch them questions in one call run in parallel and barely move the latency, and output tokens are free so ask every question you might need, including the ones you'll throw away 3. threshold on confidence, not on the answer under 0.5 escalate to a big model or a human 0.85+ before anything irreversible 4. never let it invent options build the candidate list in code, from the DOM, the retriever, the tool trace then let it pick 5. put it in the loop, not next to it router picks the cheap model, gate checks the tool call before it runs, judge verifies the output after that's where the heaviest calls in your agent are hiding 6. start with compaction tonight score every tool call, drop the dead ones, keep the survivors verbatim instead of a lossy summary lowest effort win available and you'll see it on tomorrow's bill the honest part: text only right now, no images, no audio and on broad benchmarks it loses to frontier models but somebody ran 18,514 emails through it zero-shot and got 98.33% against a TF-IDF classifier trained on 14,800 labelled examples that got 98.39% no training data, $1.12 total it wins on narrow, well specified decisions which is most of what your agent is actually doing all day today gonna share use case how i integrated it to content creation and how i find winning meta ads now in a seconds...
35
152
22
1,292
194,339
Mulia Nasution (mul14) retweeted
29
75
18
1,914
1,409,777
Mulia Nasution (mul14) retweeted
YAK RESMI NINTENDO HADIR DI INDONESIA!!! Nintendo Switch dan Switch 2 akan hadir secara resmi di Desember 2026 nintendo.com/id/index.html
Hari ini sepertinya ada breaking news, tapi tunggu official aja 😶
114
959
729
3,969
360,773
Mulia Nasution (mul14) retweeted
New in Claude Code: your sessions can now message each other. Instead of having to re-explain yourself in another session, you can now tell Claude to do it. It sends a summary (not your history or files), and the other session picks it up mid-task.
1,897
4,570
2,474
59,713
7,992,622
Mulia Nasution (mul14) retweeted
隠し絵できたー!!
56
2,531
173
26,522
11,623,507
Mulia Nasution (mul14) retweeted
ghostty + chromium + niri + vertical/horizontal tabs + splits + helium styling macos + windows + linux cmux v2 coming soon
35
20
10
425
66,085
Mulia Nasution (mul14) retweeted
What's next for OpenTUI? Here's a technical write-up. Over the last few months OpenTUI gained a lot of stability improvements, new unnecessary but fun features like live audio streaming, and useful features like rendering to the scrollback buffer mixed with a live TUI, called footer mode. Overall the feature set enables building large and complex applications. React and Solid make it super simple and convenient. There is still so much to do though. Three big milestones we have set out to achieve are: - Moving most of the behavioural logic currently living in TypeScript down to the native Zig core - Node compatibility - Optimizing the hell out of primitives like text rendering The render tree mechanisms are currently only usable from TypeScript. Think of the DOM, but controllable like a scene graph. Elements in the render tree are called renderables. They can expose a render method to draw themselves. All renderables are derived from a BaseRenderable. Renderables and the render tree will become native primitives. Building blocks usable from any language bindings. Reducing the TypeScript bindings to a very thin layer, with all the behavioural logic living in the native binary. Moving this down is not just a matter of porting TypeScript classes to Zig. TypeScript currently owns the tree, dirty-state propagation, layout reads, culling, and render ordering. If it still has to walk every node and call into native code for each step, we keep most of the complexity and add FFI overhead. Whole passes and their state need to move together. We took a big step towards this recently by building yoga-layout into the native binary. It exposes part of the official yoga-layout TypeScript package via FFI. Only the API surface that is actually used by OpenTUI. Covered by the test suite of the original yoga-layout package. This already gave a median speedup of ~2.5x, and up to 30x for narrow scenarios. The yoga-layout integration is useful beyond the speedup. Built-in text and editor measurement can now happen entirely in native code during layout instead of calling back into JavaScript. I ran an experiment last month taking this even further, having GPT 5.6 port yoga-layout from C++ to Zig, which gave extremely good results. It would be a burden to maintain right now though, so that's off the table for now. I might come back to it. @simonklee is working relentlessly on Node compatibility and already has a full Node version of OpenCode running. Node got FFI support in v26.4.0, thanks to help from the Node community, namely @matteocollina and @p_insogna. Behaviour and interfaces seem similar between Node and Bun, but there are some major differences. To get the best performance out of the Node FFI implementation, its usage has to follow some rules. Node has three ways to call native functions: the generic C++/libffi path, the SharedBuffer path, and the V8 Fast API. The generic path converts every argument in Node's C++ layer and then calls the function through libffi. It is flexible, but also the slowest option for frequently called functions. The SharedBuffer path is a middle ground. JavaScript writes scalar values and BigInt pointers into a small per-function buffer, reducing some conversion work. The actual native call still goes through libffi though. Typed arrays used as pointers cannot be packed into this buffer and fall back to the generic path. The path we really want is the V8 Fast API. Node generates a small machine-code trampoline for the exact function signature, allowing optimized JavaScript to call the native function without going through the generic converter or libffi. This only applies to JavaScript-to-native calls. Callbacks from native code into JavaScript still use libffi closures. Getting onto this path is quite strict. A signature can have at most eight arguments and everything must fit into CPU registers. x86-64 Unix systems have room for six GP (general-purpose) and eight FP (floating-point) arguments. AArch64 has room for seven GP and eight FP arguments. Anything that spills onto the stack falls back to a slower path. These are Node fast-path restrictions, not general FFI restrictions. Bun also does not support passing structs by value through its current FFI API. OpenTUI uses bun-ffi-structs to pack ABI-aligned struct data into an ArrayBuffer and passes a pointer instead. Despite the name, the package also works with Node. Pointers need some care too. Typed arrays and ArrayBuffers normally have to be resolved into BigInt addresses first. Eligible functions with exactly one pointer argument get another Fast API entrypoint that can extract the address directly from the buffer. An eligible signature is still not enough. V8 has to optimize a direct call with a fixed number of consistently typed arguments. Wrappers that collect arguments and forward them using spread or Reflect.apply can hide that call shape and keep the function on a slower path. The practical rules are: keep hot signatures within register limits, use direct fixed-arity calls with stable argument types, reuse owned buffers safely, and batch small operations. Then measure the real call site, because eligibility only makes a function fast-capable. We have to design the ABI around these constraints where it makes sense and gives the expected performance improvement. The third big area is text rendering. Today a Text renderable accepts a string, StyledText, or a tree of TextNodes. Before rendering, the TextNode tree is walked and flattened into styled chunks. Those chunks are packed in TypeScript, sent through FFI, copied into a native TextBuffer, and stored in a rope. Styles are represented separately as highlights. A TextBufferView then wraps the rope into visual lines, which are drawn into the visible buffer. This works, but updates are much more expensive than they should be. setStyledText effectively throws away and rebuilds the rope, copies and reparses all text and recreates the style highlights. Changing one TextNode also walks and flattens the complete tree before going through this path again. Text and style segments should instead live directly in the rope and support incremental replacement. Memory ownership is split between retained JavaScript buffers, the native memory registry, rope arenas, wrapping caches, styled-text storage, and highlights. Different operations preserve or reset different parts of that state. This is hard to reason about and can retain memory for much longer than expected. Text storage needs clearer ownership, with fewer lifetimes split across JavaScript and native code. The public API reflects the same split. The t template literal is convenient, but creates another intermediate chunk representation that is mutable, not cached, and not merged. Text also maintains both StyledText content and a special TextNode tree, which do not compose properly. TextNode is only a style scope, not a normal layout primitive, so Text renderables cannot naturally compose inside each other. I think this should become one Text primitive backed directly by rope segments. The template literal API might disappear or become a very thin helper around those native segments. Editing has another temporary layer in TypeScript. Extmarks currently monkey-patch editing operations, scan and adjust all marks after changes, maintain their own undo state, and recreate native highlights. They should become native marks anchored directly in the rope. A proper mark tree, similar to Neovim's marktree, could update marks together with edits, undo, and redo, and provide the foundation for highlights and concealment. Text wrapping has also become too complex. Supporting CJK, emoji, combining characters, ZWJ sequences, tabs, and different terminal width rules currently mixes byte offsets, grapheme indexes, and display-cell columns across several custom algorithms. Dirty views rewrap the complete document. Measurement and drawing can repeat some of the same work. The wrapping implementation needs an overhaul, but the exact shape is still open. The goal is to make Unicode handling easier to maintain, avoid repeated full-document work, and clearly separate byte offsets, graphemes, and terminal display cells. None of this will happen as one big rewrite. We will replace pieces when we understand the problem well enough and when the result is clearly simpler, faster, or more useful. To achieve all of this we might break public interfaces. Thanks to OpenCode and a lot of good models, migration to a new version with breaking changes mostly is not an issue anymore. What do you want to see next for OpenTUI?
24
28
3
383
31,408
Mulia Nasution (mul14) retweeted
I’m glad the Bun rewrite blog post focused mostly on the methodology of the port! It’s a good post! Good work @jarredsumner. My favorite part is the little detail about the importance of clean context agents for doing different tasks to avoid biases. I’ve found this is a good reason to not use a single long auto compacting coding session for both build and final verify. On the cost, I think $165,000 at API pricing for Fable (didn’t verify) is an incredible deal. There’s absolutely no way an engineer with that salary would’ve been able to achieve the milestones Claude did in 11 days. No way. (Even if you break it down to N engineers paid $165K total in 11 days it doesn’t math out) This does, however, also reconfirm my own biases which is that Fable in particular is most excellent at hard, focused tasks with clear reward functions. I’ve been tweeting about this recently. I would absolutely use Fable for this.
62
97
17
3,462
256,228
Mulia Nasution (mul14) retweeted
Watch git diff while the code is changing! 🤯 👁️ livediff — A real-time diff viewer for the terminal 💯 Watch file changes live as generators, formatters, migrations & refactors modify your code 🦀 Written in Rust & built with @ratatui_rs ⭐ GitHub: github.com/SoCkEt7/Livediff #rustlang #ratatui #tui #git #terminal #devtools #opensource
10
26
2
435
36,688
Mulia Nasution (mul14) retweeted
Muxy 1.1.0 is out! 🚀 In-app Browser and SSH workspaces are here 😍
3
8
154
13,596
Mulia Nasution (mul14) retweeted
I asked Claude Fable 5 to reverse engineer a 1993 DOS game with no source code. It read the raw machine code, rewrote the engine in C, and gave me a fully editable port for every platform. 30 min from EXE to iPhone. Sharing it all so you can revive your own childhood games!
71
79
31
890
152,666
Mulia Nasution (mul14) retweeted
If you haven't updated Composer to 2.9.8 or 2.2.28 (LTS), do so urgently! GitHub will restart the rollout of their new GitHub Actions tokens later today. They've improved secret masking to cover this Composer issue, but you're safer if you update. #composerphp #php #phpc
🚨 Security advisory: Composer 2.9.8 and 2.2.28 are out and fix a vulnerability leaking GitHub Actions new format GITHUB_TOKENs into job logs via error messages. Update now (composer self-update) or disable affected Actions workflows. #composerphp #phpc #php
3
39
2
110
30,325