When I was small and computers were big, my first experience with HTML was playing with background and text colors in the Word, and discovering that it can export my document into HTML. The resulted source code was a mess. Nevertheless, it was interesting to poke around it and "hack" stuff, that's compared to selecting a chunk of text in Word and pressing a button to make it red. Some time later I've asked my parents to save this web site with HTML tutorials onto floppy disks from their workplace. The result was one disk with only one page saved on it: the index page. That is to say, I'm not making fun of them and they were not computer illiterate. But admit it, you had someone once trying to move a file from a floppy disk onto a desktop and creating a shortcut to A:\the_file instead of actually copying it, or some variation of it. It was going on for years, and probably still does. At least one certain company acknowledged this with application packages.
So let me ask you: what is it, exactly, we are trying to achieve with the Web? It is slow and very bandwidth hungry. There are myriads incompatibilities between browsers and there will be much more. The web apps are a joke in terms of functionality, and they still won't work offline. The list goes on and on. Let's explore only one item from it: saving a web page.
In accordance with time, you're on your phone and want to save a page. Make it this one: m.reddit.com/r/programming/comments/4itqbk/electron_10_is_here. So you tap "Add to Reading List" in Safari, wait an unknown amount of time until it's saved, because you want to make sure before turning off Wi-Fi, all the while the page is on the list and appears to be saved (it's a lie).
Alright, one minute was enough. Oh cool, it's saved! Wait, no. Somehow it managed to save two pages: the one I wanted and the one I came from before, that is where I found this discussion among others. So when you open it from the reading list, it loads your page and redirects back immediately. That's Single Page Applications for you.
Fine. If you're like me, you don't like mobile versions of the sites anyway and tap "Request Desktop Site" (and hope it will work and not ignored, of course), or "Desktop Site" reddit-provided link and save the normal page (by the way, it didn't work either just about 4 months ago). But do you expect the same people that don't know the difference between an OS and a browser to know to tap something that starts with a scary "Request" to workaround this?
Let's relax, take a breath and quickly nitpick on a mobile, iOS Firefox. It has the same reading list feature and it bugs me even more than Safari's.
First off, it may save nothing at all. It's random. It's not a 50/50, but certainly a 10/90. There's no known amount of time you have to wait to save the page, and there may be no time at all as it will save nothing. Resaving helps, though.
And as it was not enough of a randomness, there's a problem with how it saves pages. It has a reading mode, where Firefox tries hard to strip the page of anything nonessential and present you with a readable, clean page with a primary content only. So no menus, big headings with pictures, etc. It doesn't always succeed, as it may strip away pictures, or <pre> tags with its whole content. That's why I don't like it and try to switch back to a normal version of the page. Interestingly, before you'll be able to save it, you have to switch to reading mode and then tap at the same place again to actually save it. Now, reasonably after this, you can't complain if you'll try to open it after saving and see the reading mode version, and after trying to turn it off it will tell that the content is not available. Except sometimes it is available. What version does it actually save (both?) and why the normal one doesn't always work? Random.
But all of the described before is not how I usually discover links. Nor how do I save them now, because they may not. Usually I'm on my laptop, quickly skimming through some of my daily sites from Chrome, copy links to Firefox, bookmark it, and let it synchronize with the mobile Firefox. Next, I go link over link manually and save it. Much fun, very effective.
Now I'm saving everything in PDF and transfer the files. Oh, and good luck generating PDFs from Windows.
As if PDF actually solves anything. Sure, it's better than a simple Ctrl+S in Chrome, that won't bother saving any external file that this page depends on, read: CSS and images. And if you want read Disqus comments after some article for a deeper input from others, you're out of luck, too. Try it out: jvns.ca/blog/2014/11/27/ld-preload-is-super-fun-and-easy. Firefox is good here, as of now, but it didn't save it either not too long before. And don't forget about our average computer user, that has to know to save it in PDF, and not doing a simple Ctrl+S. Not that Ctrl+S in Firefox will help if they to transfer two files, ThePage.html and ThePage/ directory (oh god!), to their iOS-powered phone: how do you open it? No, how do you transfer it in the first place?!
So no, PDF does not solve anything. Case in point: fabiensanglard.net/doom3/renderer.php. Scroll down a bit till the image with a blue light, with a caption saying "Pass 1: Blue light". This image will be a black square if you to save this link in PDF (remember my setup: Chrome on Linux. YMMV). But even if it wasn't, see those 1 2 3 buttons with arrows below it? Try clicking them. They won't work in PDF.
But we are still not out of surprises. You see, this, without an irony a great writeup is split into six parts. Here's the very first one fabiensanglard.net/doom3. Now scroll down. See how the images are flickering? That's lazy loading, that will load an image from the server only if you to actually look at it. This mechanism reduces the load on the server, allegedly, and many sites do that. But if you were to save all the six parts in PDF... Go ahead and try just one. There are no images at all. Not until you scroll every page to the bottom.
Ok, got to stop now.
And it involves saving user comments again, but the issue preventing it is a bit different. Click: quantamagazine.org/20160428-entanglement-made-simple. Scroll. "READER COMMENTS", check. Ctrl+P. Layout: landscape; paper size: A4. Scroll. "VIEW READER COMMENTS (30)", what? But how do I... It's not clickable. Simple, just change the paper size to A3.
Don't want to, you want an A4? Well, you asked for it.
Sorry for a change of the writing style pace in the end. I know that's a style that would annoy me while reading something like that. But believe me when I say this, gathering the words for all this and testing presented examples annoyed me much more than you reading this.
Did I miss anything? Of this, is there something especially important? Of course.
Discuss on reddit and Hacker News
"Design" courtesy of bestmotherfucking.website
May 2016, asd.im