Bloated
fabiensanglard.net
fabiensanglard.net
On the other hand, I think there's definitely a case to be made for rich, application-like presentation of content, when it enhances the delivery of information. For instance:
http://www.r2d3.us/visual-intro-to-machine-learning-part-1/
The problem is that everyone dreams of making something cool like the latter, when their actual content is much closer to the former.
That's neat, but I think having this with some lightweight, web-optimized static images would make this better without being detrimental to lightness.
Sometimes a picture does say a thousand words. A photograph of a person being interviewed is something that adds a lot to an article. Plus there's the whole photojournalism aspect that's lost in only keeping text.
It's not the images, per se, that make heavy pages heavy, after all. It's tons of JS that pulls in FSM knows what.
Consider e.g. https://web.archive.org/web/19990208015258/http://www.nytime...
Does it? It seems that it ought to add nothing to the content - unless the content specifically references their appearance.
As well as that, unless it's a person you can google independently (like a head of state, or large company CEO) there's very little chance you can know whether the image is actually the person being interviewed, and even less chance you can tell whether it was /this/ interview. What you do know is that the image will have been posed, chosen from a lot of candidate images, and quite likely edited after that.
It might feel good to recognise and see a human face, and therefore "add a lot" from the publisher side - exploiting that sense to make people click and keep people there longer - but that's not quite the same.
"Add"? It's a part of the content. It's been in paper for more than a century.
Oh my God. I forgot how nice it is when websites Just Work without any lag or stuttering or ads
I really wonder from time to time if it's just me, having become and old grumpy "get off my lawn" grandpa unable to cope with the world keeping turning and moving forward.
"You can't write everything from scratch every time"
"That's just how it's done today"
"Cmon, people aren't running IE5 on a pentium 2 anymore"
"SPAs are so much better UX. Everything should be an SPA!"
heavy breathing with red face
It's funny how this guy is complaining about a 7 year old laptop; any non-flagship mobile device from 4 years ago is almost unusable on the web.
I imagine a web browser actually made for the user will try hard to extract content from web pages by default, render them with decent consistent UX and not blindly let third parties display and execute any crap they want. There is no reason to render say articles with comments in thousand different ways for thousand websites. And no reason it can't be blazing fast on RaspberryPi.
I don't think it's just you. At the very least, us :-)
Seriously, I think there are different kinds of people that don't care:
- Most. They don't know it could be done otherwise. For them bloat is the way web is.
- People that likes bloat. It's obvious if you can see how they dress or their furniture.
- People that works making those websites. There are a lot of them here, so don't expect many upvotes.
- People that repeats what others say: the phrases that make your breath heavy.
I believe that at some moment in the future, there will be a swing to simplicity, because fashion if for no other reason.
Over the years I've reworked my own blog to not use any third party dependencies (bootstrap, jquery, etc.). And use very few images. My last thing is to get rid of Google Analytics, which piwik (now matomo) has failed to replace but hope is not lost. I also discovered that GA does not respect DoNotTrack, so I modified it to not load in this case.
At the very least, all HNers with blogs should concider doing this.
Why not? A significant portion of my web browsing is done on people's personal websites, since they often have cool things to share. If I'm going to get better performance on these websites, I might change my browsing preferences to favor these even more heavily.
So your web traffic might be to personal websites (mine is, too) - but we're a minority I guess.
So while the goal is laudable, even a 100% change would probably be a result of 20-30% of the web, I guess even less.
But then that would be an improved situation for the two of you, right? (And many others like you, including me.) So it would still make some difference to those who care.
The overall load on the web would still be higher than it could be, though, due to the bloat.
Small improvements should not necessarily be neglected or dismissed, though. Otherwise it becomes like a symptom of the original problem being discussed.
Everything is 'every little bit helps' and it shouldn't make you listen to the naysayers (e.g yours truly) - I'm just a little disappointed because I think it will not make a big difference. At least my conscience is clear ;)
P.S. Why do people put "index.php" in the URL? It would be so much prettier without it --- and a little less "bloated." ;)
I guess once the site is less bloated, then the next step is less bloated content. Could that message have been reduced to the length of a Tweet?
And after that, unpublish it entirely - we'll see the site has changed when we see it.
Fewer websites with less content. Only the most interesting things. Who could argue against that?
And a manually crafted one is just 477B. And 261B compressed. Which is just 3% of the original.
Now we can talk about bloatedness.
<svg width="601" height="751" xmlns="http://www.w3.org/2000/svg">
<rect width="600" height="750" rx="38" fill="white" stroke="black"/>
<rect x="16" y="16" width="568" height="718" rx="24" fill="none" stroke="black" stroke-width="15"/>
<text text-anchor="middle" font-family="Arial" font-size="150" font-weight="bold">
<tspan x="300" y="200">FPS</tspan><tspan x="300" y="350">LIMIT</tspan><tspan x="300" y="660" font-size="350">15</tspan>
</text>
</svg>
[1]: https://github.com/RazrFalcon/svgcleanerI even went ahead to create a curated feed [2] for Hacker News to pair with my RSS reader [3].
I stopped doing casual web browsing years ago when many web owners started to bloat their websites with an extravagant amount of ads, excessive JavaScript code, and unnecessary "enhancements" (like custom scrolling experiences and the like). Nowadays, websites like Hacker News, the old Reddit interface, Craiglist, and similar are the only ones that I find myself visiting, just because they are among the few hundreds that still load with server-side generated HTML and the UI is fairly minimal [3].
It doesn't helps much that the same front-end programmers that helped increase the bloat in today's web are the same group of programmers building "modern" desktop software, looking at you Electron. They may call it convenient and productive all they want, but to me —and many others— it just means they are lazy and cheap. Not long ago I read an article from the author of TablePlus [4] explaining how he decided to build his app using native libraries even weighing the pros-and-cons of other GUI frameworks, including Electron, coming to the conclusion that slowing development time was worthy if the resulting product was performant.
Because at the end who is paying the bills?
• A customer that enjoys a fast and resource efficient desktop experience?
• Or the front-end programmer who's happy for using JavaScript to develop the app?
Think about it.
PS: almost 100% [5] :-)
[1] https://github.com/cixtor/rssfeed
[3] https://thenextweb.com/dd/2017/06/29/why-are-some-of-the-ugl...
[5] https://developers.google.com/speed/pagespeed/insights/?url=...
What I don't get is where these claims of faster development time come from. Toolkits like Qt make it way faster and easier to build UIs than trying to use HTML/CSS garbage.
The problem with the web is how permissive it is, so it gets bloated, and since online advertising, this trend is still going.
https://en.wikipedia.org/wiki/Wirth%27s_law
> is a computing adage which states that software is getting slower more rapidly than hardware becomes faster.
What bothers me is how the web is making it impossible to run on modest smartphone, or how it's burning your battery into oblivion.
There might be solutions to this, like basically pre-parsing HTML and sending the parse tree, or re-factoring HTML and css rules into something more lean, or just rebuilding a new document format from scratch that is readable by humans, like markdown as a syntax, and rendering it directly without HTML.
We're often reminded about Knuth's "95% of the time", but HTML is really a crying example of a bad designed document format, which turned into a black hole of computing complexity since JS has access to the DOM.
Frankly web development disgusts me, and I avoid it as a career path as much as I can. We rely on web browsers and search engines way too much.
We really need to split the web stack in two somehow, differentiate consumption sites with some basic interaction from full blown applications, handle them completely separately down to the operating system integration level. Right now a web application like Facebook runs in a tab (?) or worse is shipped with a whole browser instance (eg Slack). That’s something wrong here.
A Google-AMP like version of the web for things that are not GMail or Facebook (99% of the web, especially in the long tail) is probably good enough.
I don't even kind of understand the hatred directed at giving people actual giant useful full featured application that often is on a few meg in size and can be loaded by merely visiting a URL.
You'll frequently see things like "native apps can do X, so the browser should, too" where X is camera, opengl, files, etc...
Not necessarily wrong, but you basically never see anyone pushing the boundaries of performance. I can run games at native resolution in excess of 100fps all day long, but I can't scroll a fucking web page at 60fps? And the round-trip communication with a webworker, the only mechanism whatsoever to leverage the other 75-95% of the system's CPU, is measured in 100s of microseconds to milliseconds?
Being an app platform isn't just features, it's also getting the fundamentals to perform well. And the web just... doesn't.
Browser's don't really care about file extensions.
https://github.com/uhop/grunt-tight-sprite/wiki/Recipe:-serv...
At least they still have old.reddit to fall back to.
(The "full speed" option should be there to keep power user from switching, but it should not be obvious to, say, 50% of users).
This should be pushed as a feature: now your browser helps make your computer work faster; any slowness in page loading is to be blamed on the websites.
This will not affects sites like Hackernews, but will bring a lot of websites to a standstill - and will force them to slim down.
Most designers and web developers chuck their stuff together on a brand new 27" iMac and it runs (and looks like) like trash on a computer an average person would own.
If a page uses too much CPU it will get throttled and ask the user if they want to unthrottle it.
Website owners currently assume they’re entitled to as much of my processor time and battery life as they want, just as they once assumed they were entitled to display popup ads just because they could. If this behavior is going to change, it will only happen because browsers stop letting them and instead say “No, this is the user’s CPU time, not yours.”
If all browsers did this at once, though...
Not ideal, I realize,
https://medium.com/@sbr464/limit-dropbox-and-others-on-macos...
One site I use multiple times a day that I think has decent information architecture is FinViz: The Stock Screener. High resolution quotes, charts and heatmaps. Updated on intervals of a few seconds. With lots of aggregated news and blog links.
This cryptocurrency performance page is a great example. cryptowat.ch and many other tools run high cpu loads. With an emphasis on saturating the information space with real time depth of book, exchange arbitrage, analytics, etc. When all you really desire is a quick snapshot of relative price action.
I think my main issue is the monospaced font which is good for code but it's not very pleasant in the eyes when we're talking about a blog post or any paragraphs.
[1] http://fabiensanglard.net/Compile_Like_Its_1992/index.php
I've since moved on and now work at SpeedCurve. It's pretty motivating to see so many of our customers making their websites faster and generally better for the people who use them. It's also pretty depressing to know that the web overall is spiralling down the drain and getting heavier slower every year[2]. What a shit show.
[1] https://wildlyinaccurate.com/introducing-a-faster-bbc-news-f...
Yes, this community here does care, much like the experienced woodworker who nods approvingly when he sees <some old-fashioned, difficult, and slightly more elegant way to do something... I really have no idea about woodworking>.
Even in cases where people might agree that lighter pages are preferable, it's just not a priority.
I know that might appear wrongheaded. But I assure you there are dozens of things you do every day that would make a subject matter expert's hairs fall out: that's not how you're supposed to brush your teeth ... you have to wait for the engine to cool before measuring oil ...
...and, closer to home: websites should be accessible to people with impaired vision, among other things. This rant, however, scores rather low. It might seem trivial, but not adding an alt description to explain the image joke can make people feel excluded.
I don't even have 10,000 visitors each day watching me measure the oil in my car or brush my teeth. Neither are they /all/ paying extra in electricity and battery life and wasted time watching me do it badly.
What in my everyday life do I do so badly that is also an externalised cost on thousands to millions of other people, which I profit a lot more by doing badly?
If you really can't fathom why this doesn't get a Special Prosecutor: Remember that every year, tens of thousands die in the US alone because their doctor's handwriting was so bad they got the wrong medicine! Ask your pharmacist what they think of people diddling their life away minifying CSS while this atrocity continues unabated!
Here's hoping...
Of course, it's sad that happens; but I think adblock sufficiently solves this.
As a side-note, I recently installed DNS66 on my android device and the internet is much faster. Using the mainstream web without adblock seems to be difficult these days.
I think Google's AMP project is a step in the right direction, but it seems to me that it's not adopted enough.
Unfortunately Google has bound it to other questionable practices like hosting on their domain, but it’s still a step on the right direction. We need something like that plus a way to cache it on the edge servers in a portable fashion so that any CDN like Cloudflare could pick them up.
And since you mention Cloudflare, I searched a bit and found https://www.amp.cloudflare.com/
There are problems with AMP, but Google exclusivity is not one of those problems.
A step in the right direction would be a proper subset of html/css without requiring more JS to load
ps: adding to the heartbreaking side of the web, when you use google cache in text-only, you see how often there was nothing to read (almost)
AFAIK chrome and other modern browsers use resource-consuming features like preconnect.