218 karma · joined Jan 30, 2019 (7y ago) · 37 submissions
comment 5y ago · link · parent
I'm not sure how long ago you tried Gatsby, but TypeScript doesn't require setup anymore. Just change the file extensions to .tsx/.ts and it works. It also does incremental builds.
Gatsby handles pages in src/pages the same way except it doesn't use placeholders in the filenames. You generate dynamic pages by writing a function. Check out these videos.
comment 6y ago · link · parent
What Google is doing is terrible, especially for smaller sites. Those sites depend on traffic to survive.
AMP makes things even worse, because now the visitors never actually go to the website's own independent servers, even if "the content" loads, and Google dictates how the sites have to be built. Web publishers are in the process of losing control of their websites and independence.
comment 6y ago · link · parent
The average user doesn't know what private browsing really mode means. If Google says you are in private browsing mode and that some other "websites and ISPs" might still track you, they aren't being clear that Google itself is still knowingly tracking you.
comment 6y ago · link · parent
comment 6y ago · link · parent
Users don't know how things work. They read that as if Google is respecting privacy, not tracking everything they do.
comment 7y ago · link · parent
comment 7y ago · link · parent
https://www.zdnet.com/article/former-mozilla-exec-google-has...
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
An 8-second delay seems like an intentional "bug" to coerce users to turn on JavaScript (and advertising).
comment 7y ago · link · parent
By forcing web publishers to host their content on a Google cache, they lose their server-side logging and the ability to determine how they set up they way they serve their own sites.
Also, why do you artificially slow page loads on AMP pages to 8 seconds when JavaScript is disabled? That is a privacy issue.
comment 7y ago · link · parent
comment 7y ago · link · parent
https://mozilla.github.io/standards-positions/
https://www.zdnet.com/article/former-mozilla-exec-google-has...
comment 7y ago · link · parent
2) I want full control over how I publish my sites with real web standards. AMP is not a web standard, it's a Google format that they are strong-arming people into using.
3) Mozilla considers Signed HTTP Exchanges harmful. This technology is as bad as what Microsoft was doing with IE in the old days.
4) I don't publish on Github pages, but if I did, I would still have a choice over which servers I put the sites on.
5) There shouldn't be a single company (or few companies) that dictates how we publish online.
6) Shame on the people who are splitting the web with this fake-opensource technology. There's even a Google engineer over here referring to the Web like it's a Google product. https://news.ycombinator.com/item?id=19631136
comment 7y ago · link · parent
AMP doesn't load in a privacy sensitive way. It's on Google's servers and it takes many seconds to load if you have JavaScript disabled.
Also, the feature only works on Google Chrome and possibly Edge, which gives another point to the article below.
https://www.zdnet.com/article/former-mozilla-exec-google-has...
AMP is a fundamentally bad idea that needs to disappear.
Edit: Mozilla has marked Signed HTTP Exchanges as harmful.