Hacker Newsnew | past | comments | ask | show | jobs | submit | stbtrax's commentslogin

I assume so to make sure that they're rendering at 60FPS

You joke but having CC open in the terminal hits 10% on my gpu to render the spinning thinking animation for some reason. Switch out of the terminal tab and gpu drops back to zero.

That sounds like an issue with your terminal more than an issue with CC...

Surely you mean 6fps


For those who don't want to visit X:

    Most people's mental model of Claude Code is that "it's just a TUI" but it should really be closer to "a small game engine".
    
    For each frame our pipeline constructs a scene graph with React then
    -> layouts elements
    -> rasterizes them to a 2d screen
    -> diffs that against the previous screen
    -> finally uses the diff to generate ANSI sequences to draw
    
    We have a ~16ms frame budget so we have roughly ~5ms to go from the React scene graph to ANSI written.

This is just the sort of bloated overcomplication I often see in first iteration AI generated solutions before I start pushing back to reduce the complexity.

Usually, after 4-5 iterations, you can get something that has shed 80-90% of the needless overcomplexification.

My personal guess is this is inherent in the way LLMs integrate knowledge during training. You always have a tradeoff in contextualization vs generalization.

So the initial response is often a plugged together hack from 5 different approaches, your pushbacks provide focus and constraints towards more inter-aligned solution approaches.


Kudos to them for figuring out how to complicate what should have been simple.

Interesting. On first glance that seems over engineered. I wonder what the reason is for doing it that way?

Vibecoded ?

Claude made it /s

Implementation details aside (React??), that sounds exactly like “just a TUI”…

Also React?? One of the slowest rendering front-end libraries? Why not use something … I don’t know … faster / more efficient?

How ridiculous is it that instead of a command line binary it's a terminal emulator, with react of all things!

Ok I’m glad I’m not the only one wondering this. I want to give them the benefit of the doubt that there is some reason for doing it this way but I almost wonder if it isn’t just because it’s being built with Claude.

Don't link out to x, its trash

Depends on who you follow

What? Technology has stopped making sense to me. Drawing a UI with React and rasterizing it to ANSI? Are we competing to see what the least appropriate use of React is? Are they really using React to draw a few boxes of text on screen?

I'm just flabbergasted.


The further I scroll the more validated I feel for having the very same reaction.

There is more than meets the eye for sure. I recently compared a popular TUI library in Go (Bubble Tea) to the most popular Rust library (Ratatui). They use significantly different approaches for rendering. From what I can tell, neither is insane. I haven’t looked to see what Claude Code uses.

It's AI all the way down

But it's very subsidizes when compared to API tokens, so we are all being paid by VCs to write prompts actually.


And that's why it's taking so much CPU and is a pain to use with tmux.

Ah, the hell site, no click.

Debating a getting that proart to replace my 27" 4k. Do you find the productivity benefits to be meaningful? I'm wondering if I'll just end up making everything bigger and not benefiting or having to move my head too much

Not that you share the same views but at least directly funneling money to someone harming many.


You do that merely by using the monetary system at all.


"You criticize society, yet you participate in it!"

https://i.kym-cdn.com/photos/images/original/001/259/257/342...


If only you knew how bad things really are. https://i.ibb.co/7NTZdSC8/intelligent.jpg


Even were I to be more charitable to your original comment, it is nihilism, which I dislike. "Don't criticize any particularly immoral component of our system, because it's all bad and resistance is futile".

Nihilism is a self fulfilling prophecy.


You shouldn't confuse disinterest with The Spectacle and its siren song to Support or Oppose every new storyline with belief in nothing at all. I am definitely not a nihilist.


My bad. It's just that when someone criticizes a person for some small, specific action or boycott by saying "don't you know that does nothing and that other places also have their flaws", it usually comes off as nihilism and discouragement to having values.

Surely you recognize how someone could think buying a car from the company owned by a near trillionaore who helped a fascist get power and now tweets about the need for White solidarity is a bad thing.


You won't survive long without using the monetary system, but you could go your whole life without supporting many of the companies who you see as harmful. Now that money is speech and corporations are increasingly running the oligarchy there are very few levers people have left to try to influence their government. I don't think boycotting massive corporations will be any more successful than trying to get our representatives to care more about our wishes than the bribes they get from those same companies, but at least it feels like doing something.


I'm not sure how that adds to the conversation. Let's say North Korea puts out a really cool phone. Are you going to go: "yeah buying it supports a dictator who is brutal to his people but so does participating in a monetary system so nothing matters so it's okay"


I would buy a North Korea phone if it was cool, band-compatible with my domestic carrier, and wasn't embargoed (i.e. if sale was possible), yeah. I already daily a China phone and depending on who you talk to that isn't much better: https://redmagic.tech/pages/redmagic-9s-pro


Haha, as a tangent: I don't get the endurance of the pout pout fish book. It teaches a terrible lesson. It bizarrely mishandles both consent and depression. Similarly bad: the rainbow fish.


To be fair, you stop them from submitting the bad fish before they have a chance. I never submitted a fish that wasn't already 'green' for %


what wearable transponder has that kind of accuracy? ultrawideband is cm level in ideal conditions


we don't all have TVs in our living room


Is it common to eat raw mushroom? I've only even seen it in poorly made salads


Sonoma is wine country in Northern California


It's a gorgeous photo.


Why would you go in to a restaurant that has TVs if you don't want that? This is borderline sociopathic behavior. You sound like the religious police of Iran imposing your view of what culture is. You should assimilate instead of trying to impose your draconian views on others


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: