My coworker recently set up a vibecoded website for people to purchase tickets and raffle tickets for our Christmas party. The site is borderline unusable. Like 15 seconds between clicking on a...
My coworker recently set up a vibecoded website for people to purchase tickets and raffle tickets for our Christmas party. The site is borderline unusable. Like 15 seconds between clicking on a dropdown and it actually dropping down.
Apparently he had no idea it was laggy.
I asked Claude how much data is downloaded when you open the site because it's not particularly visually impressive. It's cute but it doesn't stand out, per se. I thought maybe it was doing something crazy heavy because he'd told ChatGPT to act like a modern site and it went too far.
Claude immediately told me the problem isn't size; the download is quite small.
Why it's slow: the decorative picture in the header (svg.art) is about 268 KB of the 375 KB page. It's drawn from roughly 1,700 shapes (826 paths, 467 circles and more) and is only about 230×238 pixels on screen. Three things make it expensive:
251 separate animations fade parts of the picture in and out. They loop forever, and each one runs on a slightly different timing (4.1 s, 5.5 s, 7.9 s, and so on), so they never line up. Some part of the picture is changing in nearly every frame.
A blurred drop shadow is applied to the whole picture. The browser can't change one twinkling light by itself. Each time anything changes, it has to redraw the entire picture and then recalculate a 25-pixel blurred shadow under it, up to 60 times a second.
This kind of animation competes with your clicks and typing. The page uses SVG's built-in animation tags, which the browser computes on the same thread that handles your input. With that thread busy redrawing the picture, clicks, typing and the card-flip effects get queued behind it. That's the remote-desktop feel you noticed.
All of that was just to make the lights on the Christmas tree twinkle.
People vibecode this shit and then don't check it whatsoever. He kept telling me about being up until 3 am because ChatGPT would fuck something up and it sounded like if he put in a modicum of work himself it would have been super easy. The site isn't anything special. I bet Opus could one-shot that shit.
For some reason, the background is a sky map with constellations labeled. I told him it would be cool if the star on top of the tree were the North Star and he said he tried to do that but ChatGPT just fucked things up more then? Like I probably could have figured it out in 15 minutes even without using an LLM to comb through the code.
Yeah, this is a funny bit. I will reject the "handwritten annotations" thing, though. I'll take those to my grave. Rough Notation is still an S-tier library ;)
Yeah, this is a funny bit.
I will reject the "handwritten annotations" thing, though. I'll take those to my grave. Rough Notation is still an S-tier library ;)
My coworker recently set up a vibecoded website for people to purchase tickets and raffle tickets for our Christmas party. The site is borderline unusable. Like 15 seconds between clicking on a dropdown and it actually dropping down.
Apparently he had no idea it was laggy.
I asked Claude how much data is downloaded when you open the site because it's not particularly visually impressive. It's cute but it doesn't stand out, per se. I thought maybe it was doing something crazy heavy because he'd told ChatGPT to act like a modern site and it went too far.
Claude immediately told me the problem isn't size; the download is quite small.
All of that was just to make the lights on the Christmas tree twinkle.
People vibecode this shit and then don't check it whatsoever. He kept telling me about being up until 3 am because ChatGPT would fuck something up and it sounded like if he put in a modicum of work himself it would have been super easy. The site isn't anything special. I bet Opus could one-shot that shit.
For some reason, the background is a sky map with constellations labeled. I told him it would be cool if the star on top of the tree were the North Star and he said he tried to do that but ChatGPT just fucked things up more then? Like I probably could have figured it out in 15 minutes even without using an LLM to comb through the code.
Luckily, he has made both fixes since yesterday.
It’s always comforting to see the difference in results between a professional web developer and a novice using LLMs.
Yeah, this is a funny bit.
I will reject the "handwritten annotations" thing, though. I'll take those to my grave. Rough Notation is still an S-tier library ;)
This is so intensely but consistently laggy I wonder if it's deliberately set up like that.
I lol'd when my scrolling suddenly reversed itself halfway down the page. That's exactly the sort of bug an entirely vibe coded website would have.
The worst part is that this looks a lot better and well designed compared to the LLM ('nascent machine-gods') generic output.