upvote
You claim to have 30+ years of webdev experience and yet 2 MEGABYTES of javascript only for those features doesn't feel/look wrong to you?
reply
Hey please don't cross into personal attack. You can make your substantive points without that.

https://news.ycombinator.com/newsguidelines.html

reply
You're not really answering the question.

That's the bundle size, not the amount of code in the project.

I've done nothing to try to optimize the bundle size, but I suspect that a lot of it has to do with some of the third party dependencies like mermaid.

reply
Well, i downloaded firefox extension and checked the size of only *.js files without any additional assests - and it's 2 megabytes. Mermaid is around 800kb, so it still leaves over 1 megabyte of javascript.

The amount of abstraction alone for the project of this scope makes me cringe. You introduce unnecessary complexity.

reply
In all fairness, 30+ years of web development is exactly what would convince you that shipping 1+ MB of JS is fine, no? I'm not really kidding... Web development is where all of the worst practices in programming thrive and come from. Some of them are spending minutes (sometimes 10+ minutes) compiling/"building" web pages before they "deploy" them, and so on.

30+ years in web development is what you say at the support group to explain why you're there, not to convince people you've developed good taste and reasonable sensibilities.

reply
[deleted] apparently not ai generated. still sounds weird.
reply
I can assure that it's not. What makes you think I'd waste my time writing HackerNews comments using LLMs? Take a look at my post history and tell me honestly that you believe that to be the case.

No, I just used a phrasing that reminded you of LLMs and that's it. Funnily enough it also has no real bearing on my argument; your 30+ years of web development didn't stop you from shipping more than a MB of JS to add some basic features to HackerNews [because LLMs wrote everything for you].

"Every accusation is a confession" and all that...

reply
Thanks for the feedback!
reply