OpenAI's Codex app has 70% GPU usage while it is “thinking” due to tiny useless animation

3 months ago by cm0002 to c/programmer_humor

What version of the Codex App are you using (From “About Codex” dialog)? Version 26.325.31654 (1272) What subscription do you have? Plus What platform is your computer? Darwin 24.6.0 arm64 arm What...
craftrabbit 87 points 3 months ago

The issue is from early April and still open lol

path: 0 24779687, hotness: undefined, score: 87, children: 1
spongeborgcubepants 69 points 3 months ago

"Coding is solved"

path: 0 24779687 24780228, hotness: undefined, score: 69, children: 0
zxqwas 71 points 3 months ago

Was the animation vibe coded by any chance?

path: 0 24779122, hotness: undefined, score: 71, children: 7
brotundspiele 67 points 3 months ago

Not vibecoded, completely vibed:

while(working) {
   chatgpt.prompt("Please generate an image similar to the current spinner image, but rotated a slight bit more to the right.");
}

Their fix will probably be, adding "Give a quick answer, don't think too hard" to the prompt.

path: 0 24779122 24781079, hotness: undefined, score: 67, children: 3
nightwatch_admin 26 points 3 months ago

“don’t make mistakes”

path: 0 24779122 24781079 24781571, hotness: undefined, score: 26, children: 2
pupbiru 15 points 3 months ago

do NOT make mistakes

path: 0 24779122 24781079 24781571 24782242, hotness: undefined, score: 15, children: 1
qarbone 11 points 3 months ago

"You can make a little mistake, as a treat. Because I believe you are a real conscious person that deserves treats. Who loves me. And you're a bratty tsundere."

path: 0 24779122 24781079 24781571 24782242 24793407, hotness: undefined, score: 11, children: 0
chilicheeselies 28 points 3 months ago

I use an agent at work, and it added a little animated icon for me to a page. Seemed just fine. My colleague removed it a week later because he found it was causing a huge performance lag on some of the pages he maintains.

It used a css key frame animation. Seemed fine, but apparently was not.

path: 0 24779122 24779950, hotness: undefined, score: 28, children: 0
floquant 18 points 3 months ago

The Codex TUI has a similar bug where a useless animation costs way too many resources, but it's definitely a different area of code. It was originally redrawing the entire TUI screen every 32ms. That one has a Codex-created fix, but user PR's aren't considered anymore. It was originally memory leaking 20GB (!) over 2-3 days

path: 0 24779122 24781033, hotness: undefined, score: 18, children: 0
mkwt 3 points 3 months ago

I thought the joke was that the bug reporter didn't realize the machine is doing its "thinking" on the GPU, in addition to maybe animating a singer.

path: 0 24779122 24796216, hotness: undefined, score: 3, children: 0
stingpie 28 points 3 months ago

Instead of spinners, you should use progress bars. When the endpoint of a process is unknown, you should just have a ticker that displays an increasing number. In codex, for example, just show me the number of tokens read or generated so far. It gives me feedback that the process hasn't frozen, and it provides useful information. What an easy and cheap solution!

path: 0 24783692, hotness: undefined, score: 28, children: 1
hosaka 7 points 3 months ago

Yeah opencode does that, alongside the "thinking" indicator

path: 0 24783692 24793384, hotness: undefined, score: 7, children: 0
Rentlar 16 points 3 months ago

We should go back to the 8 frame wristwatch from the old Mac days. 🕛🕑🕒🕓🕕🕖🕘🕚 perhaps that will save resources.

path: 0 24781175, hotness: undefined, score: 16, children: 2
ignirtoq 20 points 3 months ago

It's a web app and you just showed we can do it in text with Unicode and a modern browser. This bug is a level of self-inflicted, shouldn't-be-in-the-realm-of-possible problem I struggle to comprehend. It's the software version of not even wrong.

path: 0 24781175 24781558, hotness: undefined, score: 20, children: 1
bandwidthcrisis 13 points 3 months ago

/ - \ | / - \ I

path: 0 24781175 24781558 24788610, hotness: undefined, score: 13, children: 0
FishFace 14 points 3 months ago

Pretty sure I've seen this exact problem in many versions of web browser with their loading throbbers.

I still wouldn't call them "useless". The visual feedback that something is happening is useful.

path: 0 24780133, hotness: undefined, score: 14, children: 5
snooggums 27 points 3 months ago

When the proportion of processing to benefit is that far out of whack it is useless.

path: 0 24780133 24780380, hotness: undefined, score: 27, children: 4
RedstoneValley 12 points 3 months ago

Especially if you could use the space to display what the model is actually doing, like the thinking process or other current model states (prefill, decode, idly waiting for a slot...)

path: 0 24780133 24780380 24781068, hotness: undefined, score: 12, children: 0
brotundspiele 7 points 3 months ago

Wrong. If more processing power is used for displaying the spinner, then the actual task will take longer, thus the spinner will be displayed for a longer time, so the spinner becomes even more useful.

path: 0 24780133 24780380 24781164, hotness: undefined, score: 7, children: 2
RogueBanana 5 points 3 months ago

Well, its a good thing we have the spinner then. Ship it to prod.

path: 0 24780133 24780380 24781164 24781626, hotness: undefined, score: 5, children: 1
qarbone 4 points 3 months ago

Why even produce anything? Just send an infinite spinner to show that things are always happening

path: 0 24780133 24780380 24781164 24781626 24793436, hotness: undefined, score: 4, children: 0
Marija_ 9 points 3 months ago

That's... an expensive loading spinner.

path: 0 24795936, hotness: undefined, score: 9, children: 0
BlackLaZoR 5 points 3 months ago

Crypto sites are even better: it takes them like 5 seconds of desktop CPU to load a fucking chart.

path: 0 24793287, hotness: undefined, score: 5, children: 0
dil 1 point 3 months ago

Ngl I had ai make me a portfolio template using hermes (never used threejs, have used blender, wanted a reference for certain visual styles), now I'm worried it unnecessarily eats performance and I won't be able to figure out how, not really an issue, but ai makes it harder to learn sht because you have to backtrack to find out whats wrong Ai Generated Site

path: 0 24818290, hotness: undefined, score: 1, children: 0
hperrin -2 points 3 months ago

All apps developed by AI use useless, annoying, battery draining animations. That’s why you have to close them once you’re done if you want any battery life at all. The Suno app will chew through 50% of my battery in an hour.

path: 0 24781895, hotness: undefined, score: -2, children: 0
programmer_humor
programmer_humor

@programming.dev

login for more options
33653
2567
7610

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.

go to feed...