Unofficial Hacker News companion — get notified on comment replies,
and more.
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap
Share → Add to Home Screen, then open the installed app and enable push in Settings.
Of course, and to the extent technically possible. Modern AIs can do pretty much anything as long as there is a clear objective function, and the binary size is absolutely one of them. The problem is just that it is not a commonly asked objective.
You could just as well ask the model to minimize startup time and it'll just move all the init into lazy loading on first click - formally the target metric improves but in reality it only gets worse
Check out os8088, a Mac-like operating system for the original IBM PC that comes with a lot of apps for it. AFAICT everything is vibecoded using Claude, Codex, etc and pretty much all apps are very tiny (a few KB).
Harnesses are complicated beasts, there's a lot more needed than you might expect!
I've been a harness builder this year: Juggler (https://github.com/juggler-ai/juggler) and as a veteran native C++ guy, I'm also a stickler for the "no bloat" approach. I made it a Go binary and used webviews instead of electron, with no node etc.
However, Juggler's download size has grown this year from about 40MB to 70MB, just because of the massive amount of stuff that you need to put in there to cover all the features people want.
Using Juggler as an example, any fully-featured agent is going to end up containing a list of junk like this:
- all the 3rd party libraries for provider APIs like anthropic, codex, etc, some of which contain massive amounts of generated code
- file format parsers and display classes for loads of random file types, including handling all kinds of images for multi-modal agents
- a sqlite engine just to be able to import sessions from other code agents
- a whole WebRTC stack: ICE, DTLS, SCTP and mDNS for remote connection handling
- all the official MCP SDK junk
- google's genai also drags in gRPC and protobuf with it
- Juggler's i18n alone adds about 0.5MB per language, and I've added 8 languages so far
So sure, you can write an basic agent in 5MB, but it's going to be pretty bare-bones!
Having posted the message above, I realised that I've never really tried to optimise juggler's installer size, and discovered that there's a lot of slack in there. So expect it to shrink by about half in the next release..!
I really don't understand the obsession with binary sizes, like, would you really rather take a lesser option or download the bigger binary that will not even put a dent in your storage use compared to games or video data or cache etc?
To be fair, my own obsession isn't really about storage space, it's more about big fragmented apps with thousands of resource files.. I hate it when you see a node/electron app that's actually a folder full of shrapnel. Obviously most people don't notice or care about this, but it just offends my sense of tidiness.
So in juggler's case, it's actually one binary with all the assets it needs baked inside. Nothing to go wrong, get deleted or moved around, etc.
(Yes, I'm sure there are probably packagers for node that can hide it all in a binary too, but it all still feels like a big bag of mess to me)
Because doing it from scratch it's very easy to get the broad-strokes 80%. It takes testing and QA and judgement/knowledge to get it to something I'd actually want to use and won't have weird bugs and misses.
I made my own custom harness with rust. I figured many people will eventually do the same. These little open source utilities will eventually become redundant as everyone starts using AI to make their own bespoke versions.
Not sure I buy this argument. By the same reasoning everyone can make their own editor, but no one does this. Same goes for any other commonly-shaped tool. Why wouldn't you want someone who's churning out fixes and thinking of new features to build and push a tool for you?
It's not true that "no one" builds their own editor. From Emacs to the small projects like notepad++, jedit, Eric/scintilla, idle, codeblocks, etc all the way to the big IDEs, 99% of them started with a guy who wanted his own editor "just so". It is a trope that a new language becoming popular results in a new wave of editors built with/for it.
Harness is just a fancy name for an LLM text editor.
A TUI from the 1980's certainly not, as framebuffer would only be updated on the required changes in most existing hardware.
Now an emulated nostalgic TUI on a system running on top of a GPU using Vulkan, Metal, DirectX to draw a terminal emulator pretending to be a 1980's computer, most likely not.
Of course you don't; you only need to redraw things that have changed, when they change.
Back when computers didn't have so much spare capacity that's how most UIs worked. That's why the Win32 and X11 systems (and probably others but those are the ones I'm familiar with) give your application information about what specific rectangle of the window needs to be repainted when they ask the application to repaint something.
Oh I love the design. This is so much easier to look at compared to something like cursor. Modern design can be pretty, but cleat boxes make it so much easier to just look at what you need to focus on.
If that can be connected to opencode, codex and other providers, I'd swap immediately!
Newb here. So if it's a harness I assume it replaces something like Claude Code. Meaning it has tools? Where is the documentation of all the tools it has? That would have seemed like the number one feature for me, but when I read the Github page I have no idea what this can do over using Claude Code.
Replies (3)
Replies (2)
Replies (4)
Replies (1)
I've been a harness builder this year: Juggler (https://github.com/juggler-ai/juggler) and as a veteran native C++ guy, I'm also a stickler for the "no bloat" approach. I made it a Go binary and used webviews instead of electron, with no node etc.
However, Juggler's download size has grown this year from about 40MB to 70MB, just because of the massive amount of stuff that you need to put in there to cover all the features people want.
Using Juggler as an example, any fully-featured agent is going to end up containing a list of junk like this:
- all the 3rd party libraries for provider APIs like anthropic, codex, etc, some of which contain massive amounts of generated code
- file format parsers and display classes for loads of random file types, including handling all kinds of images for multi-modal agents
- a sqlite engine just to be able to import sessions from other code agents
- a whole WebRTC stack: ICE, DTLS, SCTP and mDNS for remote connection handling
- all the official MCP SDK junk
- google's genai also drags in gRPC and protobuf with it
- Juggler's i18n alone adds about 0.5MB per language, and I've added 8 languages so far
So sure, you can write an basic agent in 5MB, but it's going to be pretty bare-bones!
Replies (3)
Replies (1)
Replies (1)
So in juggler's case, it's actually one binary with all the assets it needs baked inside. Nothing to go wrong, get deleted or moved around, etc.
(Yes, I'm sure there are probably packagers for node that can hide it all in a binary too, but it all still feels like a big bag of mess to me)
Replies (1)
This project looks really fun, and it’s bumping up to the top of my reading list. :D
Replies (3)
Replies (1)
Replies (2)
Replies (1)
Harness is just a fancy name for an LLM text editor.
Replies (4)
Now an emulated nostalgic TUI on a system running on top of a GPU using Vulkan, Metal, DirectX to draw a terminal emulator pretending to be a 1980's computer, most likely not.
Have you got to the second paragraph?
"Unlike conventional ImGui applications, rendering is passive and will not consume resources while idle."
Maybe rendering is easier than diffing in some cases?
It's only in higher level operations that frequent redrawing becomes a problem.
Replies (1)
Back when computers didn't have so much spare capacity that's how most UIs worked. That's why the Win32 and X11 systems (and probably others but those are the ones I'm familiar with) give your application information about what specific rectangle of the window needs to be repainted when they ask the application to repaint something.
Replies (1)
With the current rise in compute capacity, caching is not automatically faster than recomputation.
If that can be connected to opencode, codex and other providers, I'd swap immediately!
Useful at least as a reminder to the industry that you don't need to drag a whole Chromium browser along just to wrap a text API