Domain: ampproject.org
Stories and comments across the archive that link to ampproject.org.
Comments · 15
-
Re:the error of our ways:
Not sure how much of that belongs in CSS, though that's really semantics. Even still, it falls under "use a different language that would evolve to do the same stuff anyway."
Incorrect. The purpose is that it would be limited to user interaction based animations, incapable of chaining events and thus no longer be Turing complete. Turing completeness is really what's enabling bad behavior. Remove the capability and remove the threat.
Okay so something that is restricted in functionality by design? Sounds great
AMP modifies pages and there is no mandate compliance. The idea is to stop bad behavior rather than just avoid it's consequences.
-
Re:the error of our ways:
* expand HTML/CSS so that javascript isn't needed ** "onVisible" which loads contents into a div from a provided URL ** expand CSS to have (non-chainable) animation events that can be activated by "onClick"/"onHover"/etc...
Not sure how much of that belongs in CSS, though that's really semantics. Even still, it falls under "use a different language that would evolve to do the same stuff anyway."
restrict javascript's communication/loading/computational capability ** only allow a single domain to load javascript from ** limit javascript to being able to interact a specified (in the html document) list of domains ** remove lots of the "features" that enable bullshit like this ** make javascript computation a resource which will halt after so instructions are executed
Sure, your web apps will need special whitelisting to work but nobody gives a shit.
Okay so something that is restricted in functionality by design? Sounds great
-
Re:Blah
Well at least the hackers aren't turning them into bombs.
-
Re:Quick question
AMP is hosted by you on your web server. You take your existing pages and run them through the AMP library and it outputs AMP
.html pages.There are new <amp> tags mirroring the same syntax as normal tags but indicate mobile optimized content.
So your site has <img src='moo.png'> and the amp page has <amp-img src='moo2.png'>
indicating an optimized for mobile image file.In your real page you add a <link rel='index-amp.html'> thing to point to the amp version of the page.
Though it sounds like a bad idea to have them side-by-side like my examples, you'd probably want a sub-dir and just prefix the paths with that, or a sub-domain so long as having https enabled on both works right in your setup.Once google search next indexes your website and finds the "link rel" tags, the search result will link to the normal page for desktops and the amp page for mobiles.
Same goes for Bing and Yahoo once they index you, they all do amp now.
At least Google and Bing will also cache your amp content if you have a tag in the header saying they can. (I don't know if yahoo does caching or not)
After that the search results point to the caching proxy for whichever search engine you are using, and the cache only checks your server for changes.There's some basic details up at https://www.ampproject.org/
-
Re:Why? It's and open standard ...
You seem really, really confused about the technical details. [AMP] isn't a cache. [...] A cache returns the thing cached [and a] proxy alters the data for each user [and] is not a cache at all.
It's always such a treasure to find someone who pokes fun at another user's technical knowledge only to absolutely fail at their own attempt at an explanation. Slashdot really is a mythical place, where users feel entitled to talk down to their fellow readers regarding topics they have absolutely no fundamental knowledge of.
First lets look deeper into your understanding of the most basic of terms: "cache" and "proxy". You do realize that a "cache" and a "proxy" aren't mutually exclusive, right? There are, in fact, proxy servers that also perform caching responsibilities (making such implementations both a "cache" and a "proxy"). It is entirely common for software to act in both compacities, or for two or more discrete services to work in tandem to provide said set of features. As it doesn't appear you have any first-hand experience working with this types of software, you may want to reference Wikipedia's articles on caches and proxies before taking another stab at commenting about AMP or any similar technologies.
Regarding AMP specifically, your statements are again incorrect. Don't take my word for it though, you can check all of the following resources to verify my assertions, if you feel so inclined: [1], [2], [3], [4], and [5]. To save you some time, here is a brief writeup from the developer documentation regarding the caching mechanics of AMP:
When a user requests an AMP document from the Google AMP Cache, the cache automatically requests updates in order to be able to serve fresh content for the next user once the content has been cached. With this model, updates to AMP documents propagate automatically and quickly; few users will see the non-updated version after your update. The cache follows a "stale-while-revalidate" model. It uses the origin's caching headers, such as Max-Age, as hints in deciding whether a particular document or resource is stale. When a user makes a request for something that is stale, that request causes a new copy to be fetched, so that the next user gets fresh content. To limit the amount of load it generates for publisher sites, the Google AMP Cache considers any document fresh for at least 15 seconds, and any resource fresh for at least 1 minute. Note that those numbers may change in the future, as we tune the cache for optimum balance between freshness and load on publisher sites.
-https://developers.google.com/amp/cache/overview#google-amp-cache-updates
It is important to note that AMP doesn't require use of Google's cache component. Those looking to implement the AMP specification have a broad array of choices regarding behavior of their content.
-
fucking Faggot Leap, Smoke them employees
https://amp-businessinsider-co...
This is what FAKE news looks like..
When you milk Millions from Saudi Arabia, and have no control over your self, thus Magic Leap..
Pay time and time again for your notoriety? Since what you produce is behind, lacking and not quality.
Magic Leap couldn't find msmashes cock in Beau's mouth, if Roonie him-self went looking. -
real and fake
Also, real news is reported by a lot of sources-- people don't feel the need to spread "did you see what Trump just did" news when it's on all the news channels and headlines in all the newspapers,
Then why do they? Because they most assuredly do.
They most assuredly do what?
What the article showed is that fake news gets forwarded ten to a hundred times more than real news.
And then they add on top of it, with a lot unfounded Russian implications and other things that aren't real news.
Ah, I see. You're one of those "the Russian stuff is fake news!" guys.
No, "fake news" is a phrase that should be reserved for stuff that is actually completely made up-- like, "there's a pedophile ring operating underneath a pizza shop in New York that's frequented by celebrities and politicians", or 'Michele Bachmann said 'Jesus Created Assault Rifles'."
The fact that Russia did what they could to disrupt the U.S. elections (and for that matter, to foment dissent of any sort) is quite well documented-- it's not "fake news". Now, there's a lot of speculation that's been attached to that (a lot of "Mueller is investigating X!, and a lot of "who in the campaign knew, and what will we find out?") But the speculation is usually labelled speculation.
Everyone loves a good conspiracy. A good portion of the outrage stuff is fake (it exists on both sides); and some of it is real; the main stream media either prefers to highlight it, or to sweep it under the carpet, depending on whether it fits the narrative; while Buzzfeed and Salon are no more veracious than Breitbart.
The mainstream media for the most part labels speculation as speculation (and puts it on the opinion-editorial page). The way you can tell real journalism from fake journalism, by the way, is that real journalism issues corrections when they're wrong. https://cdn.ampproject.org/c/s...
-
How to tell journalism from fake news
Just like the NY Times does to Trump?
The New York Times Misquoted Trump’s Charlottesville Remarks In Five Different Reports
You did notice, I hope that the article you link is pointing out that the New York Times corrected its errors.
That's how you tell real journalism from fake news: the honest sources correct their mistakes when they make an error.
I'll also note that the corrections were pretty trivial:
“Correction: August 22, 2017 An earlier version of this article misquoted President Trump. He said there were ‘very fine people on both sides’ of the deadly melee in Charlottesville, Va., not ‘the good people on both sides.'”
I'm happy that they corrected this to what he actually said, but whether he used the phrase "good people" or "very fine people" doesn't really make any difference to the sense of the quote.
-
Anonymous cowards [Re:Complaints, complaints]
I've heard a lot of right-leaning people complain about the New York Times. I haven't, however, seen any evidence that they aren't a good source of information.
Wasn't it the NYT who claimed it was their duty to do anything and everything, even lie, to keep Trump out of office? Yes, yes it was.
I notice the lack of any sort of citation on this purported fact, which is of course fake. Neither the NYT nor anyone associated with the NYT ever claimed any such thing.
Along with Forbes' advice on how to determine what is a credible news source, here's my rule on how to determine a fake news site: never believe purported "facts" stated by anonymous cowards. They lie. Not always, but mostly.
-
Where to find real news
I've heard a lot of right-leaning people complain about the New York Times. I haven't, however, seen any evidence that they aren't a good source of information.
Have we already forgotten about the embarrassing Jayson Blair incident?
The number one item on my list of what constitutes a credible news source is, do they publish error corrections?
http://www.nytimes.com/2003/05/11/us/correcting-the-record-times-reporter-who-resigned-leaves-long-trail-of-deception.html
Or, to quote the Forbes article on Where You Find Real Facts Rather Than Alternative Facts:
"If a reporter gets facts in a story wrong, will the news outlet investigate a complaint and publish a correction? Does the publication have its own code of ethics? Or does it subscribe to and endorse the Society of Professional Journalist’s code of ethics? And if a reporter or editor seriously violates ethical codes – such as being a blatant or serial plagiarizer, fabulist or exaggerator – will they be fired at a given news outlet? While some may criticize mainstream media outlets for a variety of sins, top outlets such as the Washington Post, the New York Times, NBC News and the New Republic have fired journalists for such ethics violations. That is remarkable in a world where some celebrities, politicians and other realms of media (other than news such as Hollywood films “based on a true story”) can spread falsehood with impunity."
-
CNN: horray for honesty
Here is an interesting commentary from Forbes about how to find non-fake journalism. The number one item in his list of criteria for how to tell whether a site is legitimate news source: "If a reporter gets facts in a story wrong, will the news outlet investigate a complaint and publish a correction?"
After youtube played the clip you posted, the very next clip loaded was the apology from CNN and the correction. A google search for "Carol Costello Apologizes On Air for CNN Lying About Milwaukee Riot Situation" gives me 95,200 hits.
So, to the contrary. I will cite this next time I am asked for an example of how CNN is NOT fake news.
Search Results
Carol Costello Apologizes On Air for CNN Lying About Milwaukee Riot ... Video for Carol Costello Apologizes On Air for CNN Lying About Milwaukee Riot Situation 16:25 https://www.youtube.com/watch?...
Carol Costello of CNN apologized on air for her network lying about the Milwaukee situation via a quick on ... WATCH: CNN Apologizes For Lying About Milwaukee Riots (VIDEO ... https://www.conservativeoutfit... News
Aug 18, 2016 - CNN just apologized on air for not showing the full clip of the ... CNN's Carol Costello said she "regrets the second part of the statement was not included" in the report. .@CarolCNN apologizes for not airing full clip of Milwaukee victim's sister calling .... Put yourself in her situation, your house just got shot at. CNN anchor offers apology for shortening of Milwaukee clip – CNN ... https://cnncommentary.com/.../......
Aug 17, 2016 - On Wednesday morning, CNN Newsroom anchor Carol Costello offered ... shot by an officer on Saturday afternoon, which triggered riots in the city. ... On-air, Costello apologized, “I want to take a moment to clarify something from Monday. ... CNN is a lying piece of crap network that is not a good place to get ... www.topbuzzapp.com/article/i6320193922531639812?app_id=1106
CNN Sorry For Editing Clip Of Milwaukee Victim's Sister Calling For ... https://www.buzzfeed.com/.../c...
Aug 17, 2016 - CNN Sorry For Editing Clip Of Milwaukee Victim's Sister Calling For Violence ... an officer on Saturday afternoon, triggering destructive riots in the city. ... On Wednesday, anchor Carol Costello issued a rare on-air apology .... You're one of the few people I've spoken with, who sees both sides of the situation. Costello Apologizes For Deceptive Report About Milwaukee | The ... dailycaller.com/.../cnn-anchor-grovels-to-audience-after-allowing-deceptive-report-ab...
Aug 17, 2016 - CNN anchor Carol Costello apologized on Wednesday for allowing a deceptive report about the violence in Milwaukee to air that characterized ... Carol Costello Apologizes On Air for CNN Lying About ... - Pinterest https://www.pinterest.com/pin/...
Carol Costello Apologizes On Air for CNN Lying About Milwau -
Re:Queue the headphone jack comments
Wrong again. Apple is not #5
In total sells its number #2.
https://cdn.ampproject.org/ii/...
And do you really think that every phone that Samsung sells including the cheap $50 phones uses gorilla glass?
https://www.corning.com/gorill...
Making a car is not "harder" they don't have to do it mass quantities and they can devote man hours and thousands of dollars to each car. Doing something repeatable and at scale is harder.
-
Re:KISS Compliant [Re:Why they are slow?]
The amount of crap most commercial sites put into their pages is amazing. It's not only slow, but a security risk.
A non-profit organization can set up a "K.I.S.S." standard and create a minimalist browser. If a site works fine in the KISS browser, they can place a logo on their site to advertise they are KISS-compliant (or have a KISS-compliant alternative site/page, which the KISS browser would automatically redirect to.)
It's kind of like the concept behind Underwriter's Laboratories.
KISS wouldn't allow JS, Flash, cross-site images, and pop-ups, at least not without explicit user clicks via standardized icons (and markup) to launch them.
(And clean up the stupid CSS "float" model so that we don't have to use tables or JS to get decent columns that also are also mobile-friendly.)
So implement non-standard markup and ignore other standards? Sounds like you want AMP
-
why are WEBPAGES slow
I think why are webpages slow is the more relevant question. and to find a detailed answer, right click on the page and click "inspect" in Chrome.
click network - the amount of http/s requests the browser is making and how long their response takes. slashdot.org for me, a total of 151 requests from webserver(s) to obtain all data and assets for the page.
click timeline and profiles to view JS activity/response times.
the other part of the question - regarding tabs, it COULD just show the last rendered pixels when you click on the tab - but how long would this be relevant? it would probably quickly show it to you then have to run the scripts to pull the latest data anyway ( e.g. an ajax request for latest content ) - so in either case - it either loads on click of tab, or a fraction of a second after the click which would potentially just "flash up" the new data and might be jarring for the user.
Some of this is important for all devices ( even though its focused on mobile ): https://www.ampproject.org/lea... -
Re:ads are the problem
Reckon you can do that, Google?
Of course they can't. Look at their FAQ.
How will advertising work on Accelerated Mobile Pages?
A goal of the Accelerated Mobile Pages Project is to ensure effective ad monetization on the mobile web while embracing a user-centric approach. With that context, the objective is to provide support for a comprehensive range of ad formats, ad networks and technologies in Accelerated Mobile Pages. As part of that, those involved with the project are also engaged in crafting Sustainable Ad Practices to insure [sic] that ads in AMP files are fast, safe, compelling and effective for users.