←back to thread

How Dropbox Hacks Your Mac

(applehelpwriter.com)
1037 points 8bitben | 9 comments | | HN request time: 0.043s | source | bottom
Show context
ejcx ◴[] No.12463585[source]
Just wanted to give the author a shoutout for being awesome. This article is published with an AMP version[0] too, which is pretty unusual for smaller blogging sites.

AMP articles are so much easier on my eyes (and the author can't include their own javascript on an AMP page, so there is less bloat). I wish all bloggers started to publish AMP pages.

[0] - http://applehelpwriter.com/2016/08/29/discovering-how-dropbo...

replies(11): >>12463676 #>>12463717 #>>12463902 #>>12463904 #>>12463909 #>>12464593 #>>12464604 #>>12464644 #>>12464649 #>>12466154 #>>12466202 #
tqkxzugoaupvwqr ◴[] No.12463909[source]
AMP is not the solution. Anyone willing to use AMP to reduce bloat could also just not add bloat to HTML pages in the first place. And, using AMP itself adds bloat[1]. I couldn’t even read the author’s AMP version without enabling JavaScript.

[1] https://www.ampproject.org/docs/get_started/create/basic_mar...

replies(5): >>12463977 #>>12464169 #>>12464222 #>>12464583 #>>12465504 #
1. pvdebbe ◴[] No.12463977[source]
I can read all mentioned pages with NoScript enabled. But fully agreed that static pages such as blogs shouldn't require JS to show the primary content.
replies(1): >>12464026 #
2. pyre ◴[] No.12464026[source]
That depends. What about blog posts that have inline JS demos?
replies(4): >>12464061 #>>12464062 #>>12464082 #>>12465979 #
3. pvdebbe ◴[] No.12464061[source]
That would be a reasonable exception. Of course, I'd only give the page a 5/5 rating if the JS code would be still readable even if no output would be produced.
4. nkrisc ◴[] No.12464062[source]
Clearly that's an exception, I don't think that really needs to be discussed or considered when talking about static blogs not needing JavaScript.
5. pvdebbe ◴[] No.12464082[source]
One example: in my static blog I provide very nice maths using MathJax, but I also provide fallback PNG renders of the formulae. The small JS my blog has, it reads these pictures' alt texts and renders the latex if found. This stuff is not rocket science, people just don't want to spend time on this kind of stuff.
replies(1): >>12464390 #
6. kuschku ◴[] No.12464390{3}[source]
You might want to switch to katex instead - and katex can also be run on the server to return HTML directly.
replies(1): >>12468073 #
7. Cheezmeister ◴[] No.12465979[source]
Echoing others, as blog posts go, that's the exception and not the rule. Inline demos are furthermore not "primary content" but supplementary material.
8. pvdebbe ◴[] No.12468073{4}[source]
KaTeX looks very good, but currently I let org-mode do the backend lifting for me. Maybe if I rewrite my blog engine once again... ;-)
replies(1): >>12468894 #
9. kuschku ◴[] No.12468894{5}[source]
At least use it on the client then – it’s a lot faster than MathJax :)