Better HN
topnewbestaskshowjobs
Log inSign up

SquareWheel

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

Submissions

comment 9y ago · link · parent

You're right, but I also didn't realize until after I'd commented that I was replying to the same author as the parent poster.

comment 9y ago · link · parent

Frankly I only downvoted because of the unfounded accusations of Facebook shilling. There's a certain level of pretentiousness in thinking one's comments could only ever be downvoted because somebody was literally paid to do it. And that attitude rubs me the wrong way.

To bring it back to the discussion itself, I'm also a huge fan of web technologies, so I'm always glad to see further optimizations being made.

I'm hesitant to use it now as it's still so early, but would like to see it mature so it can be included as a step in our gulp/grunt build processes.

comment 9y ago · link · parent

That was my guess too, but this one actually isn't. Amazon uses "?ref" for reference (innocuous), and "?tag" for affiliates.

For quick reference, a.co and amzn.com are official shorteners and considered safe. amzn.to links however are third-party and often used to conceal affiliate links.

comment 9y ago · link · parent

You're being downvoted, but I'd actually agree. My guess is this idea originated from the Chrome team in an effort to improve the browsing experience.

Google rarely makes unilateral decisions from the top down to product teams. They mostly operate independently.

comment 9y ago · link · parent

Please don't sign your comments on Hacker News. It's against the site guidelines, and ultimately clutters the page.

https://news.ycombinator.com/newsguidelines.html

comment 9y ago · link · parent

Reddit itself has been very stable these last few years. Reddit search on the other hand is a complete crapshoot even to this day.

comment 9y ago · link · parent

You can download any version of the game from Mojang's servers already. The .jars are all listed in the launcher.

comment 9y ago · link · parent

>break the web

Okay, how? AMP is built on HTML5 standards.

>hijack content

AMP Cache is different than AMP. Do CDNs also "hijack content", by serving them from faster servers?

>reduce the value for the publisher

By offering them an option to make pages load faster?

>make it impossible for the publisher to monetize their content

Incorrect. Read up on the allowed tags in AMP. Both ads and analytics are possible; they're just delayed until after the content is shown.

>are a step back from an open web

Built on open web standards.

comment 9y ago · link · parent

You find it terrible, perhaps, but users seem to love it.

comment 9y ago · link · parent

This correct answer was one of the first posted on this story. So color me disappointed that the top comment is now some unrelated rant about AMP and how evil Google is instead.

comment 9y ago · link · parent

Eh honestly, I think posting 3MB of images is a bit antithetical to their goals of making everything faster. Gifs are basically the worst format possible for this.

comment 9y ago · link · parent

I wonder if Google's End to End library will be available as a Gmail addon. It sounds like the perfect platform.

https://github.com/google/end-to-end

comment 9y ago · link · parent

I'm going to guess #2 is the most likely situation. They didn't allocate any resources to maintenance, and now the time has expired and they're scrambling to make a cross-compatible webapp that doesn't depend on plugins.

comment 9y ago · link · parent

I also avoid VS, but VSCode is nothing at all like its big brother. It's actually very quick and lean.

If you're interested in TypeScript at all, the two were made for each other. I'd suggest giving it a try.

Just note it's closer to a text editor with IDE functionality, rather than a full-blown IDE itself.

comment 9y ago · link · parent

This movie has been absolutely panned by the scientific community.

https://sciencebasedmedicine.org/andrew-wakefields-vaxxed-an...

Though I appreciate your optimism, there's no amount of evidence that could convince anti-vaxxers at this point.

comment 9y ago · link · parent

Version B could probably be optimized here by not loading two very similar fonts.

You can also try loading the font locally first, to avoid the download if it's installed on the user's system.

Finally, unicode-range lets you avoid the download completely if that character isn't included on the page. Not a likely outcome on an English page, but a good practice regardless.

Webfonts are tough to optimize, but not impossible. Right now there's solutions of using Javascript to background the font so it's non-blocking (eg. loadCSS[1]), but it's not ideal when trying to keep overhead down. The situation should improve once font-display[2] becomes standardized.

For what it's worth though, I find Version B looks much nicer.

[1] https://github.com/filamentgroup/loadCSS

[2] https://css-tricks.com/font-display-masses/

comment 9y ago · link · parent

>The web is a web of hyperlinked documents.

The web used to be a web of hyperlinked documents. This has not been the case for a long time now. Webapps have evolved to enable widespread communication, collaboration, gaming, social media, and so much more.

It's the single-largest open platform that's available from nearly any device in the world. It's a little more than a document viewer.

comment 9y ago · link · parent

Well, it would have to be downloaded once. It'd stay cached after that though so it's not really a concern. They use version numbers for cache busting.

comment 9y ago · link · parent

Agreed. I really enjoy building static websites. With no databases, no server-side logic or caching, everything becomes extremely fast and simple. It does mean moving any logic to the client-side with Javascript though.

comment 9y ago · link · parent

You're violating the terms of Amazon's associate program by including affiliate links without notice.

>"You must clearly state the following on your Site or any other location where Amazon may authorize your display or other use of Content: “We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.”"

https://affiliate-program.amazon.com/help/operating/agreemen...

comment 9y ago · link · parent

>Also, Metal was announced June 2014, released September 2014. Vulkan was announced March 2015, released Feb 2016.

It was rebranded then, but OpenGL Next was announced in August 2014.

http://www.anandtech.com/show/8363/khronos-announces-next-ge...

comment 9y ago · link · parent

I'm glad to see Apple getting interested in web standardization again, but I'm not a big fan of this one. Wouldn't a WebGL 3.0 based on Vulkan make more sense? I'd much rather see Apple warming up to Vulkan rather than have so much Metal influence on a common web API.

From a dev perspective my thinking is this. If I were to learn a 3D graphics API for the web I'd like that knowledge to be transferable to native development as well. An API built on Vulcan - even if abstracted - would be more pertinent and more compatible with existing tools than one built on Metal.

I'll be curious to see comments from other committee members as they'd have more insight on the subject.

comment 9y ago · link · parent

This is how I've largely seen the divide between these two companies as well. There's pros and cons to both approaches.

Personally I favor Google's approach to Microsoft's as I am not a fan of technical debt, but if I were an enterprise customer I might feel differently.

comment 9y ago · link · parent

Thanks for the link to the bug. I wasn't aware of that; I'd assumed the <link> tag was actually functional.

I'll concede that point. Locking you in to use their js copy, even if it's faster, is less open than trusting the real HTML.

comment 9y ago · link · parent

The JS include is something you add to your own HTML. Couldn't you add an SRI hash in here?

<script async src="https://cdn.ampproject.org/v0.js"></script>

You could also serve the JS from your own domain if you prefer. Similar to Google's cache, it's something available as an option to you.

Regarding the Amp standard, that is indeed something controlled by Google. Particularly as it pertains to the SERPs. But because it's open you also have the option to fork it, or write a completely different implementation if you desire.

If you'd like to modify Amp but still stay within their standard, you can submit a PR as well. It looks like about 75% of PRs are merged.

https://github.com/ampproject/amphtml/pulls

The Amp standard is locked down, but the technology isn't. Which is not too dissimilar from HTML itself.

comment 9y ago · link · parent

Very close. AMP pages use a rel="canonical" to point to the desktop site, and desktop pages use rel="amphtml" to point back.

Using rel canonical on your main page could be very dangerous from an SEO perspective, as it gives complete authority to the other page.

comment 9y ago · link · parent

It's the same way you get any page into Google's search results. You can either wait for it to be indexed, or submit it manually. As long as you're supporting the protocol, there shouldn't be a problem. AMP pages have a custom attribute in the <html> tag that lets Google distinguish them.

You can also link your pages explicitly, as described here.

https://www.ampproject.org/docs/guides/discovery

The cache acts as a CDN to improve page speeds, but isn't a requirement for indexing.

Sorry if I came off as crass in my previous reply, but the amount of misinformation around AMP is really astounding.

comment 9y ago · link · parent

>Google has indicated that they are not willing to turn the cache off

Can you elaborate? Google's AMP Cache is an optional feature. Cloudflare also provides an AMP cache.

comment 9y ago · link · parent

The criticism of AMP I keep seeing is that "because it uses weird HTML, it must be proprietary and designed for lock-in". But because WebComponents allow you to extend HTML by introducing new elements, it's actually completely standards compliant in HTML5.

Based on the parent comment's criticism that it's designed for "lock-in" (without any elaboration), that's the argument I was addressing.

comment 9y ago · link · parent

>from a despised practice into a first-class, browser-supported practice

Browsers already support WebComponents. This is just Javascript, there's nothing proprietary about it.

It sounds like you're not even complaining about how AMP itself works, but the CDN/caching services such as Google AMP Cache.

Regardless, none of this results in lock-in as your original comment claimed. And again, degradation is too subjective to compare directly.

1
424344
68