skysight-inc/HackerNews huggingface dataset:
>However, having Google load this structured content and host it on its own platform is a terrible idea.

Google isn't the only party running an AMP cache.

> Content should remain on the publisher's site.

It does. Its also cached by aggregators, and AMP is designed to take advantage of being accessed from a shared cache.

>
Interesting. I see Plate as a much less ambitious project since Plate values can't be functions.

However, any comparison to one of Gabriel Gonzalez's projects can't fail to make my day:)
Correct, he's the only one to make it out alive. He asks Dukie to come back in a couple of years for a job.
Building fast webpages won't get you preferential placement in Google search results.
The original content is still on the website, Google hosts a cache server, rehosting the website's content around the world closer to the users for faster access, for free.

In theory, it's a win-win-win situation. Publisher gets free hosting (with analytics and ad money still coming to them obviously), users get a faster experience and Google is happier if the users browser more content.

In reality, AMP is obviously not perfect but they have been addressing common issues and improving. I may not be fully sold on it yet, but I don't understand the massive blind hatred.

Saying "people can just optimize their website" doesn't mean shit. They've had years and no one has been. Sites have been getting slower every year despite browsers getting faster. No one gave a single shit until AMP came around...
Adding Continuous Integration to a Swift Project
Well said. It seems impossible for me to believe that the trajectory Google is on doesn't end in catastrophic, dystopian disaster for us, the consumers. That should have been the focus, rather than scrolling behaviour.
I'd like it if people made non crappy websites instead of amp sites that have slightly different behavior than normal websites. Amp adds nothing of value compared to just writing a non bloated site
If fixating on a specific cipher is considered to be a standard, then let's deprecate it. I believe that was done in error. The standard should be around how each cipher is implemented in a secure manor, not limiting options to one cipher.

By diversifying options, brute force attempts get exponentially more expensive. It would be easy enough to list in CPU capabilities which instructions are supported.
Expert to Expert: Rich Hickey and Brian Beckman – Inside Clojure
How to code a responsive circular percentage chart with SVG and CSS
There is a terrific scene where Carver is lecturing new recruits about police work, and Daniels watches over and smiles.
I think google, which you can google ;), published a study showing that users are more likely to stay on a webpage if it loads under some threshold time. And if this is the case, users are more likely read the content and see the ads on said webpage. Hence, more $$$ for publishers.
The bubble is strong here in Brazil. I've recently had lots of nontechnical acquaintances talking about bitcoin these last months.
AMP needs to either be drastically rethought or killed. Nothing more annoying for me on my iPhone than clicking a link and it's AMP - as it means missing features, broken scrolling, masked URL and worst of all, in page search is totally broken on the iPhone! So annoying that there is no way to disable it - if Google persist in pushing it then it might push me to try alternatives!
I understand. But I don't know what else I'd want google to do other than turning up the penalty a lot. If there are pages that have to load slow for some reason then hopefully they're good enough to overcome that penalty. Or maybe they could choose to apply it only to news sites?

The problem is that Google took this in such and embrace-and-extend direction that seems to benefit them and give them a lot more power than they had before. And I already think Google is way too powerful.

Their solution annoys me and creeps me out more than the problem did. By a large factor. I don't like them being so deeply involved at this kind of level. If they are going to do something, I can't think of something I would like for them to do other than just tuning the penalty.
I mean, it frequently is. I don't know about you but my microwaved food doesn't always get heated evenly. (Sure, maybe it would if I put it there 10x longer at 10% power, but then that would defeat the point of my use of the microwave.) And it's hard to cook things in a microwave... it's far more suited to reheating pre-cooked food. Not that I'm a chef, but it's not a wrong perception IMO.
I haven't looked it up, but I think you're underestimating Bitcoin's volume and market cap if you think selling $5M will shift the global price.
Claudius's confession of murder in Hamlet comes right after Hamlet has put on a play to prick his conscience. This girl's confession comes right after her friend reads Claudius's prayer.

Quite extraordinary that after centuries, Shakespeare's words could still prick consciences in almost exactly the same way and for the same reasons.
The author mentions that this is in the context of his new book, e.g. this is one of those articles that comes out partly as publicity for the book. These kind of excerpts make up a non-trivial number of articles that get up voted to HN, I guess it's up to debate whether this one needs to be more than a content dump (I.e. More standalone from the book being publicized).
> In one case, the customs officer worked overtime: after 5, he'd continue to process paperwork, correctly, legally, but extra money decided which pieces he'd work on. After anti corruption systems went into place, he can't do this anymore and just goes home at 5. No one wins.

Isn't that analogue to net neutrality though? Old situation: those who pay enter the bureaucracy fast lane, screw the rest. New situation: everyone gets processed at the same speed, regardless of monetary power.
I think that Exxon Mobil owns the responsibility for its business's CO2 impacts and can't wiggle away by saying "we're just servants to our customers' buying habits -- lecture them about emissions." Likewise I think that when Chinese factories make money from CO2-intensive exports they also own the responsibility for the corresponding environmental burden.

Of course Chinese factories may decline to voluntarily erode one of their cost advantages by bringing environmental standards up to parity with e.g. the EU, and in that case I think that the EU should use tariffs to ensure that imports don't get a competitive price advantage by way of externalized environmental damage. But that's somewhat different from believing that shoppers buying imports are really the responsible party when it comes to pollution generated by those goods' production.
Publishers already host their own AMP content. Google caches that content, but anyone can go to the publisher's URL and get it directly.

Disclaimer: I work for Google and have some involvement with AMP.
We detached this subthread from https://news.ycombinator.com/item?id=14382479 and marked it off-topic.
> In this case G is the difference between the birth rate and the death rate for time period t

OK then. Let the birth rate be 1 person per second and death rate 0 (nobody dies). Do you get exponential growth? No. This is still linear growth.

Your another mistake is that ax^b is exponential growth, and ax^c is also exponential growth (if b and c are constants), but these are different processes. If you get a single process with changing exponent, this is no longer exponential growth, it can be arbitrarily defined.
The difference is that if Tencent pulls WeChat from the appstore, Chinese people will (grudgingly) leave the iPhone for some Android model. They need WeChat more than any other app. Actually Tencent could ask Apple money for continuing their app on their platform.
And specifically why not Bing?
Majority, sure. But I wouldn't call 54% (the percentage of voters who voted for somebody other than Trump) a "sizeable majority".
A machine learning approach to predict projected score in a Cricket match
You didn't like "The Martian", did you?
Ask HN: How to found a company with foreign (i.e. living abroad) partners
I am in the process of founding a company with someone with whom I collaborated in the past few years. I am a canadian citizen, living in Canada, and the partner is French. We'd like to launch a product together, but we need to establish some sort of legal basis for that. We also need to have a bank account for the payments.

The company will pay its taxes in the country where we will register it, but I don't know if a foreigner can possess a share of a company established here in Canada for example. If so, I don't know if it's still possible if the partner in question cannot be physically present in the country to sing whatever papers are needed.

I also don't want to invest too much in legal fees, as we don't know yet if the project will be profitable, and to what extent. Still, I prefer things to be clear, so any advice from people who have experience is welcome!

Does anybody have experience with such ventures?
The show Forensic Files covered this story, and interviewed the article's author Skip Hollandsworth. The most fascinating of the murder stories he's covered (IMHO) is the the one involving the murderer who was obsessed with eyeballs: http://www.texasmonthly.com/articles/see-no-evil-3/
See what I wrote here: https://news.ycombinator.com/item?id=14384560

You say it's been solving problems, but for me it's only been causing them. It's made it significantly harder to use Google search on iOS. Also the slow pages? Reader mode on safari has worked fantastically on them for years. Slow pages wasn't even a problem for me because of reader mode. Not only were they faster they were also easier to read because they didn't have crazy styling applied to them.

I kind of wonder if this whole thing is an accidental android/iOS litmus test. People who use android don't seem to have problems with it because the experience sounds good there.

That's NOT my experience using Mobile Safari. I have a literally considered switching my search engine over it. I've dug through all the Google account settings looking for a way to turn it off. If someone put some sort of content blocker in the App Store that would disable AMP? I buy it in a heartbeat.
Not at the edge. A combined CDN and API gateway would be unique and have benefits a hosted API gateway would not. For one, in this scenario, you would avoid the circuitous route from client to API gateway to 3rd party api, since the CDN would be close to the client.
Fibonacci Algorithm Exercise in Da Vinci Coding Challence
There's a lot of doublespeak around this.

1. You can (and must) host AMP content on servers of your own choosing.

2. Google's crawlers ingest your AMP content, validate it, and re-host it in Google's AMP Cache. Bing and other folks run similar crawlers and caches.

3. Google search results will only link to AMP content on Google's own cache.

So yes, you can host your content on your own servers. And you can give people direct URLs to that content. But Google users will only ever see links to the copy of your content that Google hosts; your servers never see that traffic.

There is no way to opt-out and still be considered a valid AMP page.
> With time, all passwords can be brute forced. If you change them periodically, using a pw manager and/or a strong methodology, then it becomes more expensive to keep brute forcing.

That doesn't make sense. If a password already takes longer than the age of the universe to practically brute-force, you're not meaningfully gaining anything by forcing users to change their passwords periodically. On the other hand, you are introducing more opportunities for mistakes to occur in what is already the most dangerous failure point (the human).

I left in a reasonable acknowledgement that technology changes can make currently safe passwords weak in the future. That's a good reason to change a password. But periodic password changes don't make sense unless "periodic" refers to timescales longer than anyone here has been alive, because it's inconsequential compared to the cover time provided by a strong password.

The argument that passwords should be rotated is mostly a response to users predominantly choosing weak passwords. But if you're in a position to enforce password rotation, you're also in a position to enforce strong passwords. Password rotation is a usability-reducing, incomplete and poor method of enforcing user safety. It is wholly superseded by encouraging people to use password managers, which is a much more optimal and complete solution that does not fatigue the user. Password managers make rotation obsolete, can incorporate password breach monitoring and be made virtually frictionless (they can be incorporated directly in the browser and turned on by default).
Short answer: shared resource synchronization.

Long answer:

You have many devices connected yo many different buses, some of those buses having shared resources allowing bus mastering and Direct Memory Access, and those devices can fail in the middle of a long operation and the OS has to handle/recover those situations.

E.g. ethernet network hardware is very simple, however, depending on the bus being used for communicating with the CPU, driver architecture would be radically different.

So, until I/O buses get unified working always in packet mode, drivers will continue being a big mess.
Άνω Κάτω Τα Play Off Στην Super League
I feel like I may be in the minority here. I don't like the philosophy behind AMP, but with the internet at my mildy rural house, AMP articles can be sometimes the only way to access the news without waiting 30+ seconds for a single article.
Oh. I guess I just read it that way because I'm used to people saying that AMP is much faster than HTML five (and given a horribly bloated page it is).
And it's only one exchange out of many.
Ask HN: Many small projects or one large one?
In all other industries, the opinion is that diversification into many projects, rather than putting all your eggs in one basket, is the key to wealth generation.

What about for startup founders in the valley? Should we stay laser focused on just one thing, or spread ourselves across a handful of projects to potentially hedge a flop?
None of this makes sense, sorry.
HTML is already fast. It's the stuff that's added to the page that slows it down, and we already have plenty of standards, techniques and solutions to make sites faster.

AMP is just an alternate HTML framework that prevents certain things, that's all. Not sure why everyone is so eager to opt-in to a less flexible system instead of fixing their existing web presence. All it does is increase the amount of time and resources needed to now maintain effectively 2 different versions of the same site while also losing control over rendering, URL location and privacy.

Also the main reason for slow sites is all the ads - ads which are are usually served by DoubleClick, the biggest ad server on the planet and owned by Google.
Second Life’s rabbit population is starving to death today
CloudFlare has certainly and quite quickly become a major player in the internet game. For what it's worth, I've spent hours talking to Matthew Prince and while I'm sure he may rub some the wrong way he's undoubtedly a really good human. I'm thankful he and Michelle Zatlyn (an equally awesome and talented person) are steering that ship given the power they hold.
>How many apps do you have on your phone? How many online accounts have you created in your life? How many different messaging apps are you using?

"Single point of failure," "Separation of concerns," and "Don't put all your eggs in one basket" are the phrases that come to mind. Risk mitigation is a concern for many of us, and what you describe sounds Orwellian to me.

Have you checked out Urbit? I believe it's a decentralized/federalized system instead of the centralized on you describe.

But, I'd be interested in seeing your prototype of The Borg :)
If your train had not broken down, you might have enjoyed the trip?
Then Apple should make their own search engine...
I think maybe she did pick her friend wisely.
Just committed a fix for that in license.md
What makes you think we're on this precipice?
I think we will come a far as we've done in memory safety with "logic safety", making programs that can't misbehave.
Findings of Shift: The Commission on Work, Workers, and Technology
Seems to me the right approach would be for sites to embrace the HTML5 semantic tags (<nav>, <article> and so forth), and browsers to offer a way to view just that semantically-marked-up content - without scripts, with restricted CSS, and maybe with some kind of filtering out of third-party content. Something like Firefox's "reader view", but including more bits of the page.

So the browser would still be downloading the exact same HTML document (straight from the publisher's server, how you want it) - just then ignoring all the clutter. Compare to AMP, which AFAICT necessitates serving a whole separate version of the page with only the blessed markup... it reminds me of the bad old days, having a separate mobile site instead of a single responsive design for all devices. All seems rather antithetical to that grand ideal of separating structure and presentation.
Show HN: CUDA and cuBLAS matrices in Clojure
If by "anyone" you mean "my tech savvy friends at google" then yes. I've seen many friends end up on a google-hosted AMP version of a webpage, unable to complete whatever ticket purchase etc they needed because whatever autoAMPifyer the origin site uses produced half broken pages. These users have no idea what AMP is or why the page doesn't work (or that they could have reached the origin site directly if they click around on several unlabeled half-invisible icons in the fake-address-bar on top). In fact, they don't even realize they aren't browsing the origin site. They just give up.
The complaint about AMP's strange UX paradigms is valid: it works very hard to pretend like every AMP article is a standalone website, but it actually behaves like a viewport-wrapping iframe, where Google Search is on the outside and the article is on the inside [1]. But it's not a personal affront to iOS; it's more of an artifact of Google's confusing market strategy and conflicting requirements for AMP's deployment: pretend like AMP pages are real browser-resident tabs, while actually driving traffic around within the confines of Google Search (vs. outside) when possible. As much as I don't care for their strategy, I respect needing to balance conflicting requirements. They should scrap the dishonest UX and be up-front about what they are, as I write [1].

But Josh descends to hyperbole. I've been both critical and supportive of AMP on here [2], but it's important to not lose sight of the big picture. AMP isn't an effort by Google to kill the open web; it's a technology whose existence was forced by Facebook Instant Articles' meteoric rise, a competitor from a company that doesn't even operate on the level of the open web, but runs a family of products where the data flow is one-way: inbound.

Instant Articles made publishing harder on the web, giving preferential treatment to articles posted within Facebook's walled garden (cf. AMP giving preferential treatment to content that adheres to the AMP spec, the same way they give preferential treatment to content served with TLS). With Instant Articles fizzling a bit [3], AMP's importance as a strategic play is lessened, and we can enjoy its benefits without feeling like we're pawns in a game between two massive content aggregation portals.

Besides, Apple News is the same idea as AMP; I'd be curious how Josh feels about that.

[1] https://news.ycombinator.com/item?id=13415625
[2] https://hn.algolia.com/?query=niftich%20%22AMP%22&sort=byDat...
[3] https://news.ycombinator.com/item?id=14126073
Interesting - but how does the author know this isn't already present in proprietary software, but hidden? I get a little nervous about claims to novelty when e.g. Esri has decades of research behind its labelling algorithms.
I have a language called Winter that has experimental support for automatic parallelisation: http://www.forwardscattering.org/post/22

See also http://www.forwardscattering.org/post/47
Solving Detroit tax foreclosure with tech [video]
If AMP is "Accelerated Mobile Pages," maybe the resistance could build OHM: Optimized HTML for Mobile?
The Sexual Life of Savages (2006)
The only reason AMP is even viable is because the current alternatives are even worse.

Publishers have to date shown a remarkable inability to grasp the idea that user experience matters. Just about every major online publication is painful to browse on a mobile device, even ones that have embraced responsive design, because of things like slow-loading ads, excessive use of JavaScript, and enormous modal prompts for things like subscription offers and newsletter signups. Every year the situation gets worse. And no publisher appears to be willing to buck the trend; presumably they believe that, as long as everybody else's site is just as bad, doing so would just be leaving money on the table. So the economic incentive for change is not there.

AMP is a terrible idea for a lot of reasons, any one of which would in a sane market make it an instant non-starter. But the state of online publishing demonstrates that it is anything but a sane market; it's a market trapped in a death spiral, and in that situation any idea that seems to offer a way out is going to get some traction. So it is with AMP.

The only way to make AMP (or something like it) irrelevant would be for the publishers to get their houses in order on their own, without the need for external pressure. But their leadership doesn't have the kind of farsightedness such a move would require, and that leaves room for someone like Google to come in and do their jobs for them.
Well now you know how most of those web pages felt on Android before - web devs tested on mobile Safari and left pages broken and utterly stuttery on Android web browser.
>Probably a majority of the people of the world would prefer to live in the US/Canada/EU if given a choice. So it makes sense to assume they plan on staying and make them explain why they'd willingly return to an "inferior" country.

That's so "American exceptionalism" way to think. People from some backwater developing countries maybe...
I love everything about this until he presents the syntax:

album :: Schema
album = ProductType (HM.fromList
[ ("title", Builtin SString)
, ("artist", Builtin SString)
, ("tracks", Builtin (SSequence (Builtin SString)))
])

No thanks!

> (It won't be hard to make this conversion automatic, though I haven't gotten around to it yet.)

Well let me know when you get around to it.
What I'm describing is a completely decentralized system with no single point of failure.
Yup. It's like Google want everyone to experience the crappy scrolling on Android everywhere. :)

On a more serious note it is extremely frustrating. Everything about the AMP UX on iOS is broken.
That has not been my experience in over 20 countries I've visited.
"Is it acceptable to repost things?"

As per the HN FAQ (link at bottom of page), you can repost something if it hasn't gotten significant attention in the last year. The previous discussion of this story is only three months old.
That's because Chrome on Android sucked.
i've taken notes for a while, but in the end considered it to be a waste of time (other than that it helped me remember thing more easy at first).

like any other diary, you won't re-read it and if you run into an issue of which you know you've faced it before, chances are that your written down thoughts are that unstructured that solving the issue for a second time probably takes less time than trying to find the solution in your notes.

so if writing down the issues you're facing and their solutions makes it easier for you to remember, go for it, other than that such a diary is of no use to my opinion
People also talk a lot about amazon, Facebook, and google. Doesn't make it a bubble.