Live data from Hacker News

The 49MB web page

thatshubham.com

371–380 of 389 posts

Re: The 49MB web page

#371

Our developers managed to run around 750MB per website open once. They have put in ticket with ops that the server is slow and could we look at it. So we looked. Every single video on a page with long video list pre-loaded a part of it. The single reason the site didn't ran like shit for them is coz office had direct fiber to out datacenter few blocks away. We really shouldn't allow web developers more than 128kbit o…

I built an internal dashboard once that displayed thumbnails of building plans. Actually no, I built the dashboard, then the new guy added the thumbnails, but anyway. We didn't actually have a thumbnail generator because the sprint for that was skipped. Most of our users had only a couple of projects so even if each image was several mbs large, it wasn't that huge of an issue for them. The internal dashboard though, loaded a thousand projects per page.

I chewed through 7Gb of data in about 30 minutes while working tethered to my phone.

Re: The 49MB web page

#372

Earlier quoted context omitted.

It's not a sign of their incompetence, it's a sign of the realities of many corporate environments. But hey, if you want to rail against incompetent developers who exist in a make-believe world where they hold all the power are simply too lazy and incompetent to 'do the right thing' then go ahead!

> realities of many corporate environments Stop making excuses and start taking ownership and responsibility of your craft. I work in huge government departments, large financial orgs, and other "enterprise" places that are the poster child for the "realities of corporate environments". Automatically saying "yes" to everything makes you a useless meat robot. If you do everything that the customer asks, without push b…

> Similarly, if someone asks for lights inside their pool, an electrician that strings ordinary mains cabling through the water should be jailed for criminal negligence. Obviously, only special low-voltage lighting can be used in water, especially near people. Duh.

I recon the US electrical code for swimming pool allpows mains voltage as long as the conduit/cabling is certified for use in water (ie: watertight), properly grounded, and behind a GFCI.

And you can skip grounding/GFCI for anything below 24V.

Re: The 49MB web page

#373
post #153

Not only are loading times and total network usage ridiculous, sites will continue to violate your privacy via trackers and waste your CPU even when background idling. I've written about these issues a few times in the last few years, so just sharing for those interested: A comparison of CPU usage for idling popular webpages: https://ericra.com/writing/site_cpu.html Regarding tracker domains on the New Yorker site: h…

This! I need some better browser extensions to just start suspending JavaScript after the pages been in the background for a period of time.

I've tried all of the auto discard type extensions but yeah back on CPU usage is crazy

Re: The 49MB web page

#374
post #165

Allowing scripting on websites (in the mid-90s) was a completely wrong decision. And an outrage. Programs are downloaded to my computer and executed without me being able to review them first—or rely on audits by people I trust. That’s completely unacceptable; it’s fundamentally flawed. Of course, you disable scripts on websites. But there are sites that are so broken that they no longer work properly, since the deve…

> Programs are downloaded to my computer and executed without me being able to review them first—or rely on audits by people I trust. JavaScript and WebAssembly programs are always executed in a sandboxed VM, without read access to the host OS files (unless, of course, you grant it). Enabling scripting was a necessary step for interactive websites. Without it, a full page load would be required every time you upvote…

The Triptych Proposals [1] cover a lot of common use cases for submitting information to a server and updating part of a page. Something like that should have been possible to implement early in web history (I perceive some similarity to frames).

Modern CSS (and some newer HTML features) also reduces the need for scripting.

I very much doubt that "Enabling scripting was a necessary step for interactive websites." (emphasis added). It may well have been the most convenient and fastest way to get the functionality to the most users. With Javascript each website could provide functionality without waiting for such to be implemented by all browsers.

However distribution of power also leads to more complex trust relationships (even if one is confident that sandboxing is effective). Independent implementation also leads to more complexity overall.

[1] https://alexanderpetros.com/triptych/

Re: The 49MB web page

#375

Earlier quoted context omitted.

People riot when they can't make ends meet, not when they can't install an app on their phone. Rioting is very costly.

The rioting in Washington a while back had little to do with people not being able to make ends meet. Many civil wars (including the US Civil War) came about for other reasons.

US Civil War was a civil war in name only. For all practical purposes, it was an interstate conflict.

And yes, riots can be caused by other things too - e.g. religious riots. But whatever it is, people have to care a lot about it, enough so to be willing to put their own life and limb on the line. This is not one of those cases.

Re: The 49MB web page

#376

Earlier quoted context omitted.

I as a developer cannot refuse to not build as-is what was signed off by product manager in figma. Recently had to put so many huge blurs that there was screen tearing like effect whenver you srcolled a table. AND No i was not allowed to use prebake-blurs because they wouldnt resize "responsively"

Yes. If the UX group has the power to compel you to do what you describe through a PM, without any involvement from or consideration for the warnings of you or your managers, then the problem is not "UX dEsIgNeRs".

Look at literally every website you use. How many of them aren’t doing shitty things like what’s being described? If you want to define every single organization as ‘broken’… okay then. It’s the organizations. But I will still blame the people whose job is supposedly UI and the “experience” of users, but who mostly just want to make their own kewl widgets because they think they have exquisite taste and are smarter than the people who designed the operating system.

Re: The 49MB web page

#377

Earlier quoted context omitted.

> Let’s demand to reimplement every single standard widget in a way that has 50% odds of being accessible, has bugs, doesn’t work correctly with autofill most of the time, and adds 600kB of code per widget. You're describing the web developers again. (Or, if UX has the power to demand this from software engineering, then the problem is not the UX designers.)

That e.g. a form should work predictably according to some unambiguous set of principles is of course a UX concern. If it doesn't, then maybe someone responsible for UX should be more involved in the change review process so that they can actually execute on their responsibility and make sure that user experience concerns are being addressed. But sure, the current state of brokenness is a result of a combination of o…

That stupid thing where they make 6 separate inputs for a TOTP code is infuriating to me. I’m actually impressed though that I’m able to paste into one of those abominations without incident nearly 70% of the time, and over 50% of the time, they have gone to the trouble of reimplementing a mostly working backspace key there too. None of it should have had to be done of course, but I’m “impressed.”

Re: The 49MB web page

#378
post #223

Earlier quoted context omitted.

What a weird comment, not sure what you are trying to achieve. Any web developer knows how to find the network tab of the web developer tools in any browser including Firefox, and then the throttle option is immediately there. You can make it look like any feature in any UI is hidden by choosing the longest path to reach it, using many words to describe it despite the target audience already knowing this stuff, and m…

Any web developer knows how to find the network tab of the web developer tools Exactly. As you point out, any web developer . My comment was aimed at helping out people who aren't web developers.

Seven paragraphs for that reply to prattle on condescendingly about nuances - but the more I chewed on it, the more it seems like LLM.

Re: The 49MB web page

#379
post #376

Earlier quoted context omitted.

Yes. If the UX group has the power to compel you to do what you describe through a PM, without any involvement from or consideration for the warnings of you or your managers, then the problem is not "UX dEsIgNeRs".

Look at literally every website you use. How many of them aren’t doing shitty things like what’s being described? If you want to define every single organization as ‘broken’… okay then. It’s the organizations. But I will still blame the people whose job is supposedly UI and the “experience” of users, but who mostly just want to make their own kewl widgets because they think they have exquisite taste and are smarter t…

[flagged]

Re: The 49MB web page

#380
post #227
post #160

Earlier quoted context omitted.

Love both of them. CNN has become a bit "left-leaning Fox News" for my taste, though. If Al Jazeera or BBC had a similar text only site, that would be best. I really love the different perspectives. I mostly use brutalist.report to find the articles, then deal with them on a case by case basis.

At least the BBC has RSS feeds for its stories, which avoids having to go through the dire news front page.

Most news sites have RSS feeds. CNN is the major exception.
Post reply on HN