In a sense OP wants E-ink screens and org/vimwiki/markdown. Styling is where the problem it claims to criticize begins; if you want a truly accessible hypertext book, then you don't need styling, the user should be in charge of this, and the default theme would be whatever easily readable font, black on white, headings 36pt bold, paragraphs 14pt regular, every elements as blocks. Epub, in usage, is actually a cool format and I almost prefer this type of "browsing" experience than what websites proposes.
Or maybe OP wants higher level CSS and HTML, and this is a problem because this leads to the invention of a new language with yet another complex ontology that claims to be "simpler than its lower level counterpart" but is not.
Of course you could create some markdown with basic styling options, but I am pretty sure learning basic html and css is not that more complex than learning that specific markdown and how to operate it to finally get a website served on a specific server.
Web and styling became complex exactly when occurred the encounter between what was styling on the web in the 2000s, the emergence of the nowadays variety of devices that are able to browse it and the actual way people interacted with smartphones.Today our browsers are almost OSes and it's almost like the complexity of what you can share with them is superior than the complexity of you could create on a 1990 pc natively. I mean, you can run godot engine on your browser : you can develop prototypes of projects with your friends just for fun, create your own private platform for communicating with people you like.
I notice a lot of hate toward JS, but honestly when I first stumbled upon it I felt like a dream came true; it gives you the power to create experiences and share them almost effortlessly, and the fact that bigTechs decided to make boring websites on crazy over-engineered frameworks doesn't change anything to this.
That's exactly where the hate comes from: I don't want you, the web designer, to have the power to create experiences, because you (collectively) use that power to force experiences on me that I don't want to have.
Don't visit the website
I hope we can have a more reasoned debate than this. This topic is really important and frankly there's so much to it I hope that hearing others I can learn more.
When I read some of the thread above what I am hearing is: "I don't want people to be able to run programs on my computer without asking explicitly". Which is exactly what the modern web and modern web browsers enable.
If you learned computing in the 90's you were very much told not to install things you do not trust. Everyone remembers downloading some game from the internet and suddenly their OS was trashed via malware or non subtle virus. The modern web is essentially a giant way to circumvent that. Sure only your browser can get shitted up but its the same browser you do your finance in and has access to your GPU.
Certainly it enables easy sharing of programs but so does something like java. Most OS's still recognize a .jar file as an executable and ask you about it before you can run. They never do that before javascript starts processing in your browser.
There are several other issues here such as: - Many essential processes such as banking, medical records and education all rely upon the modern web paradigm at this point. One cannot simply access them on an e-reader or using a browser with javascript disabled. Are you saying you think that someone should be left uneducated or lack medicine if they don't like running an unsecured browser? Should those with privacy concerns just incur the cost of having one "safe" device and one they do their "interacting with the web" one? - The modern web sandbox includes very high access to sensitive things. Many people's file systems are from a cloud platform all of which malware in the browser can access for example. - The modern web can be highly performant but generally its not and requires ever increasing hardware cost simply to do things like read a book.
Ironically, that decision to run Javascript without a prompt was probably a huge step forward for the security of most users. The 'do you trust this' model of security doesn't work well in practice once you can download programs from the internet - there's too much stuff you need to or want to trust to get on with things, and even if it's not actively malicious, it may be vulnerable.
Because Javascript can run in the browser without the assumption that you completely trust it, browser developers have put a load of work into restricting what it can do, even within the browser. Of course, sometimes there are holes in the sandbox - nothing is perfect - but I think it's vastly better than giving any program you decide to run complete access to your computer.
(Better for the majority, that is. If you're truly paranoid and have enough time, explicitly deciding what to trust can be better. But I think that's <1% of people - certainly not including me.)
This argument makes sense for the security angle. At least as it pertains to getting malware on your local machine.
But what about all of the "not security" but bad things that happen because we allow people to run code we have no choice over on our computer. The attention tracking features marked as tools to understand user intents are exfiltrating information from you perhaps when you don't expect.
Are you happy for example for someone to be logging where on a screen you are sitting and reading within a book or video. Do you not find it problematic for example that you could purchase a subscription to medium, but medium finds out you pause your computer to read descriptions of guns? Would you mind if they then sold this knowledge to Glock who then showed these ads on your work computer?
I get what you are saying for security. But "knowing" if and when something is happening is important. I may be worse or better at evaluating applications to run on my machine than the chrome team. But at least I know when I am entering into a risky situation.
That makes sense. But I think that's a money problem, not a technology problem - if the money was sloshing around desktop applications, I think we'd get a lot of locked down desktop applications tracking us. We kind of have that on mobile, indeed. Sometimes there are nice community built alternatives, but not that often.
... As opposed to not liking to run an installer for an unsecured program?
App stores have the same issue. You just juggle the trust from some third party to another third party
If you want to do anything more complex than transfering text and images you'll need to trust a lot of things
Yes, exactly; that's why I wish the web were still based on the transfer of text and images.
Do I need to do anything more complex than exchange text and pictures to access my medical bills or records?
"Don't visit the website" is as simple as it needs to be.
This is HN. 90% of the time, the nitpicking here isn't about computer security, bandwidth efficiency, free speech, or whatever the high-minded principle of the day might be. People nitpick because they don't like something about the website, full stop.
It it wasn't the design, it would be the ideological bent of the writer. If not that, it would be annoyance as to why they put up an email signup form or use an analytics script, as if those aren't present on any of the other websites that are featured on the front page every day.
I'd wager that a good chunk wouldn't be happy unless they can extract your article into their homemmade RSS reader.
In real life you have even less freedom. There doesn't exist an equivalent of "reader mode" out in the streets. You can't mod reality or add a few scripts.
Don't like the topology of a parking lot? Tough luck, either navigate it or don't park there.
Hate the hospital's maze-like corridors? Sure they suck, but you are still getting operated there.
Your department's bulletin board is an unorganized mess? I'm sure you'll not drop out because of that.
Jar files have full access to your file system and no fine-grained checks like location and notifications last I checked.
I visit it and use reader mode, it works pretty well most of the time. My browser works for me, not them. Shame about the bloated filesizes though.
I didn't express myself as "the web designer" nor I implied that I wished to share experiences with you. What I meant is that I can share experiences to my friends via the browser, which act as a kind of a simple prototyping platform.
I want the power to create experiences for some people I know, in a niche setting, without intentionally inviting anyone else.
Yeah, the problem is everyone and their mother are "creating experiences" instead of giving me the info I'm actually looking for...
Honestly, I don't understand what you're referring to: are you intentionally visiting websites "you hate" ? I mean, there are a lot of good websites out of here that aren't proposing an experience and that allows you to read text properly, no ?
When I search for something I visit whatever I can find, no? Until I find what I'm looking for.
I may be biased but whenever I search something I go to whatever website that has an authority on X. When I don't know I who has authority on X I search for "recommendations about X", or I go to the website in charge of X. The only problem I encounter generally and recurrently is not js being an obstacle to find information but rather badly written anti-content.
Replace X with Y since X is a thing.
But what do you do when the website gives you an 'experience' instead of info about X?
And no, <the company formerly known as Twitter> has no right to take X for themselves. Keep using it for unknown/unspecified items.
The problem you're describing exists in your own expectations.
Oh, well, that sounds fine! Sorry to mistake your meaning. I wish you could have gotten what you wanted in a way which did not have to change the fundamental nature of the web.
Well, most of the websites that proposes an experience are often rather lacking information-wise, no ? Don't you know of any website that reads like simple text ?
How is that different from native apps. I'd take the imposition of a website over the imposition to download a mobile app anytime
That's actually a matter of taste: in many cases I prefer desktop applications instead.
Do you sandbox them? I wouldn't trust random apps running on my PC
It doesn't. But on HN everything is terrible and get off my lawn.
The complaints about JS are almost never about the concept of a programming language that runs in your browser, and the upside you describe seems to apply to any language that runs in your browser.
The only languages browsers should understand are markup languages, scripting and programming: no, none of that. Documents, not programs.
Why?
Not OP, but the number of "documents" on the web that "require" programming/scripting that bring no value to those documents, is vast.
I'm not talking about documents/articles that have useful embedded video, or informative interactive graphs and things.
I'm talking about "documents" that require a multiple javascript libraries to load in order to inject a "<p>Hello, it's a nice day and I had waffles for breakfast" into a DOM.
There is no "graceful degredation" with these things anymore; it's either javascript on, or no content, which is baffling and frustrating. It's not just a "get off my lawn" thing, it has real implications on energy efficiency, bandwidth, and most of all accessibility: https://shkspr.mobi/blog/2021/01/the-unreasonable-effectiven...
I mean, sure. But if our rubric is whether a technology being misused constitutes it having no business existing, that puts a shitload of tech on the chopping block.
You're misunderstanding the function. The function is not to distribute documents efficiently. The function is to place documents somewhere they can be distributed in such a way where the business majors can edit them without needing to pay a web developer to do it correctly. Hence the absolute plague of BMS systems, which are sold to the aforementioned manager/consultant vampire class so they can make the website pop and don't need to deal with a 20-something rolling their eyes at them when they ask for that.
That's false, OP talks about that, many people wish the web to be static only and many people wants to be able to read pages "without js" and complain about the fact that they cannot read a page without js.
"... the user should be in charge of this..."
As a user, I choose textmode. I use a text-only browser as an HTML reader, works great for EPUB. No graphical fonts, no Javascript, no CSS, no color. Often I will save to .txt so I can read with less(1).
I have done the same, very probably with the same browser you're using (links). Just curious, do you handle images (or graphs) in EPUB files in some specific way?
Mostly, ebooks are perfectly fine to use without images, but not 100% of the time.
Skip the images.
Below is a quick and dirty script I use to make a single HTML file from an EPUB file. It outputs a _script_ that when run will output the HTML files in the EPUB as a single file to stdout. It is not perfect, e.g., sometimes the order of the HTML files may need to be adjusted, but I rarely bother. I open the HTML file in links and optionally save as .txt. I don't care for UTF-8 or other non-ASCII characters.
EPUB to single HTML file.
Yeah, I had a similar script of my own, utilizing the fact that EPUBs are essentially zip files. Thanks for sharing yours. I'm a great fan of your scripts for text-only browsing etc.
There's a difference between content that is meant to be communicated vs. "widgets" that do something on your screen. CSS wants to support widgets, therefore it is complex.
Apps vs. Content. Web is for both but if you can and want to do just content it should be easy and simple.