Better HN
topnewbestaskshowjobs
Log inSign up

SquareWheel

5,684 karma · joined Nov 8, 2011 (15y ago) · 2,036 submissions

Submissions

comment 7y ago · link · parent

XMLHttpRequest was useful enough to become a standard browser feature. That doesn't prove that ECMA is somehow nonstandard, or even a poor standard. Or that frameworks built on top of it are.

Besides, today XHR is being replaced with the fetch API.

comment 7y ago · link · parent

Well, the W3C's standardization attempts of XHTML were a bust. Microsoft's use of ActiveX was also quite proprietary (only ran on Windows as I recall). At the very least it wasn't an open standard.

ECMAScript however is open, very well-supported, and actually works. I see little connection between today's JS frameworks and ActiveX controls. That seems like a stretch of definitions.

comment 7y ago · link · parent

It's a webpage built on web standards and designed for web developers. It couldn't get any more webby.

Furthermore, it's fast and it looks good. What's the problem?

comment 7y ago · link · parent

It doesn't matter that it's unverifiable; that's just how it works. If they're found to be breaking the rules then they earn exorbitant fees, sanctions, and lawsuits.

It's like saying that you expect letter carriers to read every letter they deliver because there's no way to prove otherwise. They can get caught doing it, and if they are they're severely punished. That's your insurance.

Nothing is perfect, but somehow it still works. You can't always get 100% assurances; that's the nirvana fallacy. If you insist on it you'll just dismantle a system that was otherwise working perfectly fine.

Are mail carriers foolproof? No, but they serve a purpose.

Are privacy policies foolproof? No, but they serve a purpose.

comment 7y ago · link · parent

>They could start by being honest and open about what data they gather

Are they being dishonest about what they claim to collect? Is there anything deceiving in their privacy policy?

comment 7y ago · link · parent

And for the record, so can bit.ly links. URL shorteners or redirection services are often blocked from being posted (eg. also on reddit).

comment 7y ago · link · parent

I suppose caching just the output is feasible. It's not zero maintenance, but it's easier than maintaining two separate systems.

comment 7y ago · link · parent

It's not necessarily just about storage. If old articles and comments are on a different content management system, that requires hosting and maintaining as well. They may even run on different languages or operating systems.

comment 7y ago · link · parent

Accusations of shilling are pretty serious, and should include evidence alongside the claim.

comment 7y ago · link · parent

Not at all. SEOs are more likely to find all the ways you're currently hanging yourself. Some common examples I see are:

- Putting important text inside of images

- Duplicate content out the wazoo

- Not making use of canonicals

- No sitemaps, html or xml

- Page performance issues

- Broken mobile support

And of course, poor content. You can't rank if you don't have content.

comment 7y ago · link · parent

I'm not sure what the link is meant to show, but "cookies on the page" is very different than the years worth of user history and cookies that GP mentioned.

comment 7y ago · link · parent

The signals aren't documented (for obvious reasons), but I'd be surprised if Google Analytics were a signal. These things are usually kept separate, and Analytics is a lot less user-specific under GDPR as the anonymizeIP flag is now very common.

That said, I've no evidence one way or the other!

My understanding is that it comes down to information they can read about your browser (does this look like a bot environment?), and heuristically how the user has behaved since the JS has been loaded (mouse movements, time between actions, etc).

comment 7y ago · link · parent

reCaptcha isn't able to read your non-Google cookies or history, so most of that isn't being considered.

comment 7y ago · link · parent

Hitting the same URL over and over again is bot-like behaviour. When working with reCaptcha on forms I usually start getting hit after 4-5 test submissions.

comment 7y ago · link · parent

Google Sidewiki is what I was thinking of, too. And as I recall, people were not a fan. Giving up control of your website to these anonymous, semi-invisible comments seems like a bad idea.

The description calling content moderation "orwellian" is also concerning. I think at this point we've all seen how twisted unmoderated comments get. If the platform is built on this premise then I can only guess how toxic such a community will become.

comment 7y ago · link · parent

I understand that. But wasm sure does fit the description of "compilation target for the web".

comment 7y ago · link · parent

Yes, but the standard recommends against actually using it.

>The noscript element is a blunt instrument. Sometimes, scripts might be enabled, but for some reason the page's script might fail. For this reason, it's generally better to avoid using noscript, and to instead design the script to change the page from being a scriptless page to a scripted page on the fly, as in the next example

https://html.spec.whatwg.org/multipage/scripting.html#the-no...

comment 7y ago · link · parent

That's more literally the case with web assembly. With Vue, I guess I still see it as a form of transpilation.

comment 7y ago · link · parent

Web pages should be designed to be standards-compliant. While you are free to turn JS off (and that's part of what makes the web great), you shouldn't be surprised if things break. Your browser is no longer standards-compliant.

comment 7y ago · link · parent

Hi dang,

Thanks for your comment. I wasn't trying to bait any downvotes though. I have no desire to be downvoted. I was frustrating that another user was being incorrectly downvoted and ganged up on simply for explaining how something worked, and I was trying to defend them.

I tried editing the comment before I went to bed to soften it but HN would not allow me to do so. If that were possible, I don't think we'd be having this chat.

Other users in this thread have similarly been flagged simply for explaining how AMP works. I'd ask that you review the other flagged comments in this thread to review if they were done in respect to the site guidelines as well.

Thank you.

comment 7y ago · link · parent

Unfortunately I think you're being a little too optimistic. The reality I've seen is that GET is used for all sorts of things, including state changes and irreversible consequences.

Analytics could check for useragent (and probably already does), but it just introduces a lot of noise.

Plus the other concern is that it'd be a huge privacy issue to have analytics being triggered just by performing related searches.

comment 7y ago · link · parent

There is an important difference between saying it is invalid html, and it is invalid amp markup. An img tag will work like normal. It just won't be a valid AMP page any longer.

>if your browser doesn't have JavaScript, it's not even going to know what any of those custom tags are, is it?

It wouldn't. <noscript> tags are needed for that. But Javascript is a web standard, and this is the correct way to create new elements.

comment 7y ago · link · parent

I see. Thanks for the clarification. That is pretty poor practice.

I guess v0 might imply "beta" and thus not have stable API naming yet. But still, it's clearly being used in production at this point.

comment 7y ago · link · parent

That's true. But it's still valid HTML. It's most definitely not a fork of anything.

>unversioned CDN

Isn't the filename versioned (v0.js)?

comment 7y ago · link · parent

Anything that could be affected by prerender[1]. Analytics and statcounters, but also state changes executed by visiting a page.

It'd be quite problematic to load www.example.com/delete-account/confirm, for example.

[1] https://www.w3.org/TR/resource-hints/#dfn-prerender

comment 7y ago · link · parent

>AMP isn't a subset of HTML, it's it's own proprietary fork of HTML.

This is another misunderstanding. HTML allows custom tags. This is built into the spec. AMP is plain and regular, standards-compliant HTML.

comment 7y ago · link · parent

>Most people here disagree with you, hence why you’ll be down voted.

No doubt. And it's really unfortunate that bias is trumping facts in this case.

>Google is definitely using their position to embrace and extend open standards.

There's nothing wrong with embracing or extending technologies. WebComponents, in this case. But if you're hinting at a third step then I'm sorry but open-source by definition cannot be extinguished.

comment 7y ago · link · parent

>don't want to show 8 seconds of empty page to users without JS

That's incorrect. AMP pages support noscript.

comment 7y ago · link · parent

superkuh said:

>Starting with google: AMP does not actually make loading any faster. Google just uses it's search monopoly to make it seem so.

This is a complete misunderstanding of how AMP works. Google isn't abusing a monopoly to make AMP-pages appear artificially faster; they actually are faster. That's because they're safe to preload by design, as lern_too_spel explained already.

The monopoly comment makes even less sense when you consider that other search engines do the same, and even host their own AMP caches.

comment 7y ago · link · parent

AMP can be preloaded because it's designed to be preloaded. Regular HTML pages have side effects that can't be accounted for.

lern_too_spel is right. That is literally what AMP was built for.

Let's watch as HN downvotes the correction while upvoting the misinformation in the top-comment.

edit: Downvote and flag. Very disappointing.

1
242526
68