skysight-inc/HackerNews huggingface dataset:
Even the famous Podesta e-mail hack was made possible thanks to the... Google AMP page server policies!

See the picture(1) here:

https://motherboard-images.vice.com/content-images/contentim...

Unless you knew that google.com made their main domain redirect to anything(!) to provide amp, you'd really believe that the click was going to end up on the google.com servers, the place where your login data for Google services really is. Instead, google.com was used as the least expected redirector of them all.

It was known among the security people:

http://seclists.org/bugtraq/2016/Apr/70

But google at that time kept it being a fully invisible redirector. Their explanation then: they "do not consider open redirects to be a security issue." They also wrote: "we generally hold that a small number of properly monitored redirectors offers fairly clear benefits and poses very little practical risk." Benefits for whom but Google? And what was proper then in this Podesta redirect?

It seems they now finally changed the handling of the redirection, adding "The previous page is sending you to ..." instead of doing it invisibly. It took the Podesta e-mail hack, possibly changing who's gotten to be a US president, and some time to go by for them to add that change.

That's the untold story of who, how, and for which goals influenced the election (Google, Amp, as the unexpected effect of the profit goals of spreading amp as much as possible).

Apparently the aide of Podesta later claimed to have made a typo: "When the phishing email first arrived, Podesta referred it to a number of aides. An aide named Charles Delavan replied, “This is a legitimate email"" "Delavan says he had meant to write “illegitimate email,” and simply mistyped." Or maybe it really looked legitimate to him at that moment: the server behind the link was obviously google.com. Who didn't carefully follow what Google did with amp couldn't possibly guess that the main google.com domain just became an invisible redirector thanks to amp.

----

1) The picture is from the following article:

https://motherboard.vice.com/en_us/article/how-hackers-broke...
Reference counting isn't garbage collection. It's the opposite of garbage collection. With reference counting, which is optional in C++ and can be opted out of in Swift, you keep track of your allocations and release them when you're done with them. With garbage collection an outside program decides when you're done with memory and deals with it for you on its terms.

It's true that there can be unlimited work done in reference counting. Of course, it's true there can be unlimited work in any function of any program. [0] With reference counting a programmer can fix the amount of work to be done and when in deterministic fashion. With garbage collection, there is no such power. The gc decides when it will work and you cannot control or predict the interruption.

You cannot produce serious interactive or time sensitive control software like that. You certainly can't write system software like that.

[0] https://en.wikipedia.org/wiki/Halting_problem
I am not sure if all those goals can be combined.

For example, the intersection of n polygons could have exponentially many segments. To prevent denial of service, accuracy has to be sacrificed, but "one part per trillion error" sounds hard.

As another example, representing the intersection between two line segments without error requires a data type that has three times as many bits as the x/y components of their endpoints, so rounding has to happen here, too.

The only solution I can come up with that would not have those problems would be to subdivide a plane into grid cells of size one trillionth of whichever unit, rasterize all polygons into it do the Boolean operations at pixel-level, but that would require huge amounts of memory and processing power. And additionally it would be vulnerable to a DOS attack where the attacker sends many very large overlapping rectangles.

Lastly, huge amounts of data would require many computers to be able to work on this problem in parallel, but if an attacker sends only overlapping polygons, parallelization would be very tricky if not impossible.
They also managed to make everything you're using and wearing right now.
140k might sound great in silicon valley.
its enormous amount of money for a place like detroit.
i am sure they will pay some of the people that sort of money to keep them here. but think about all others who will go back to their own countries and create new startups that will compete with the US industry.[1]

[1]http://money.cnn.com/2017/02/02/news/india/snapdeal-india-ku...
Care to share any resources where you can learn about the new features that take it there?
https://medium.com/@dan_abramov/my-inspiration-ce454ab65f33

This was also a inspiration to Redux (React).
> Soon Python and Ruby won't have any advantages left in writing beautiful, clear, correct, bug-free, and easy to read code

Come on, it's not like they've added garbage collection.
Re: your gripe, this is solved in their latest release with object-level notifications: https://realm.io/news/realm-objc-swift-2.4/

I personally think they did an awesome job with the change api
They very much care about the free market for TrumpCare. Especially the fun part where insurance companies in states with the most corrupt politicians will decide the health care for the entire country.
This was ultimately my problem with Rust, and I am really glad this is being addressed directly.

At the end of the day, the primary thing I want from my PL is to boost my productivity. In the kinds of software that I write, I can tolerate bugs and GC. Does Rust actually make me more productive?
You're thinking about it incorrectly. Docker is not a VM. Docker is more like a chroot and a set of additional capability restrictions on top. Basically there are several things that are namespaced in Linux. Processes, network, users, IPC, mount, etc. Docker simply manages these namespaces. At a high level, when you fire up a container, a namespace gets created for it. So unless you explicitly tell Docker to expose things from the host, there's only a very limited set of things your container will see. Crucially, everything uses the same kernel, same drivers, etc, and there's zero overhead.

Think of your Linux host as simply a default namespace.
Not a new protocol, a new infrastructure.

With no net neutrality, ISP DPI will drop your protocol or service not on the approved whitelist.
Reading you saying this, I might be inclined to think that the guys that labelled him a traitor were literally right, after all.
Am I the only one seeing the fallacious reasoning in these statements?

In each case, it's the researcher that asks the question. They use a computer to calculate an answer, but the next question doesn't jump out of the computer -- it comes from the researcher's mind once they see the results from the computer.

They're strictly answer calculating machines. Not question generating machines.

I would like to see a computer pose an interesting, non-trival question about physics, mathematics, cosmology, logic, etc. Something that would be accepted as a master's or PhD thesis.
Till you try to build a web c omponent or embed an agular2 app in an existent DOM (haha)
Every time I see a gardening with tech post I get mildly irritated now that I have been actually gardening for 5 years. I'm of the opinion that we need less tech and more systems with integrated design to take the human labor out of gardening and orchards.

The sun is the perfect light source for photosynthesis and temperature. I only use LEDs as a last resort for seed starting. Also LEDs don't provide the heat which plants really, really desire so you will end up needing to supplement with heating pads, incandescent bulbs, or external heating.

I accidentally raised my electric bill $100 one month last year when I used a small space heater to warm seeds.

I'm currently trying the following experiments:

* winter sewing basil using milk jugs outside in the snow

* sewing onions indoors and germinating them on top of my houses boiler.
We may be the 1% or some other fringe but this is also my reason.

Except for the UI, Chrome is generally ahead. It's not insulting to Firefox contributors. Competing with Google is hard.
AMP requires to include some JS and to use the Google AMP cache. Essentially, your content runs in a web app largely controlled by Google.
Goodwill, as I like Mozilla much more than Google. I kind of dislike the Chrome UI, but that's a minor point.

A lot of FF is hare-brained, though. E10S solved the unresponsive UI for me, but for the life of me, I don't know how to enable it on my touchscreen Dell. There is no indicator in preferences that tells me whether it is on or off and no button to simply force it.

Javascript-heavy websites tend to burn through the CPU of my Macbook Air, but I don't know how to throttle background tabs. Or at least profile which tab gobbles my cycles. About:performance is not that helpful. Ideally, there would be some indicator if a background tab eats more than x% CPU.
I hope not, I really dislike vscode.
Pentadactyl beats most of Chrome's vim-like keybinding extensions.
Well, it's already done in a CoreOS image, why ?
Everything I've seen about Perl 6, I love to death.

I just wish I had an excuse to use it. The problem is, most of the time I start a new project, I default to Python because it's what I know. I know the libraries, I know the quirks of the built-in data structures, etc. So I just go with what I know.

I really wish I had the discipline to sit down and tell myself "I'm going to write this next project in Perl 6 no matter how much time it takes to figure out how to do what I want to do".

Like, I actually just started a personal project to parse some US Census data a few days ago. I could have, and probably should have, taken the opportunity to write it in Perl 6. But I got lazy and just went with what I knew. I feel really bad about that, since from what I've seen, it sounds like a language I'll love working with just as much as Python.
Are you telling me that you'd trust MySQL auto replication failover enough to have it activates multiple times per day (even with Percona)? On a busy cluster with, say, 300GB?
Why? Editors like vim and emacs will benefit from the work (Rust Language Server) that is making the VS Code editing environment good for Rust.
Show HN: View Your AWS Events in Slack via Lambda
For me it's a combination of extensions and philosophy.

Philosophy is pretty clear, but extensions that I find necessary are:

Tree Style Tabs (Chrome does not have a good replacement, I've tried them all)
DownThemAll
LastPass with better functionality
Mouse gestures (this is HUGE for me, I want to be able to lazily browse with my mouse when I please, open/close and switch tabs with just a right-click and a flick)
AirBNB does charge market rates for that stuff. They just work out to be cheaper because they don't provide other costly things that many hotels do.
NET Core Web App in Azure (in 10 Minutes with Azure CLI)
They don't use Docker outside Cloud, true, but their container technology is the same as what Docker uses: cgroups. Brought to you by a couple of Google dudes a decade ago.
> What about the warts part?

I'm not sure enough time has passed to tell what Rust's warts truly are. I always joke String should have been called StrBuf...

I do this, yes. This is one of the reasons I hang out in IRC so often; it's an effective way to collect these kinds of things.

More data is always better, and collecting it across multiple venues. I don't think IRC is inherently going to be a representative sample. It's one of the reasons you'll see me pushing for details in Rust threads here, for example.
Probably closer to $75K? If coal miner had a choice (most don't) of whether to work in Ohio for $50k or SF for $75k, I'm assuming they'd pick Ohio.

Thats why someone wouldn't start a coal mine near SF.

People are only going to be paid up to the point where a company still makes money from them. This has a high ceiling for software devs, a low ceiling for janitors.
I didn't really know who the main users would be, that's why I asked :)
WE Are Immigrants
>I can tolerate bugs

You might want to rewrite that statement. Or at least clarify, what kind of software that you write that can "tolerate bugs" and what kind of bugs you're talking about.
SoA layout is of advantage when the components that you split into separate arrays are usually accessed separately which in most cases is not true. For most cases it is cache friendly (unless you use niche DoD).
No processes. No hangouts. No index service started without asking. Chrome on Windows is a pig. Back when I was using it then nonstop then 25% of CPU usage was pegged to Chrome. I gave up trying to manage Chrome and switched to Firefox.

Recently Firefox said they were moving away from threads to processes. I think that's a mistake. Killing Chrome was a pain at times because when it does hang all the child processes had to be killed independently. It was possible to restart Chrome with orphaned processes. What a mess.

Also, I like the implementation of profiles in Firefox much better. I have a different profile for work, home and various side jobs. Very nice.

Chrome developers are crap developers and they hide behind processes because they don't have the chops to do threads. I hate to see Firefox move in that direction. Maybe Firefox needs to since Firefox is adopting Chrome extensions. But I refuse to use Chrome because it has crappy performance and usability. Hopefully Firefox doesn't move in the same direction.
I see. I've seen a couple people recommend it now, I'll have to give it a look at some point.

I've heard it consumes a lot of memory which may be a problem though (this laptop only has 2GB RAM).
>Yeah, I wonder how all those people feel that didn't vote because it doesn't matter, they're both the same?

Nothing at all I'm sure. I doubt that demographic knows or cares about net neutrality.
How about we demand accountability? That is more important than protecting a political party from criticism.

We also need to stop thinking down logical chains of "well if I accept criticism of this decision, than that means criticizing my side, which weakens that side, so maybe I shouldn't try to hold my party accountable." That's an excessively partisan way to deal with these things.

We can't not criticize the party in power that's doing things just because the other party might have done some things too at some point.

Also, love to see what Democrats have done on this so I can complain to my Democratic congresspeople. Please share!
Trump's FCC begins net neutrality attack
And how does cost of living compare? Median salary?
e) it's much harder to be sure a hardware RNG actually does produce random outputs compared to a PRNG
She is a great coach (I've taken lessons from her) but I get you point. We are partnering with quite a lot of gamers, among them organisations like Denial and Elevate.
For me, the conceptual simplicity of React (and associated projects) makes it very easy to reason about code written with it. If you've worked on a larger Angular project, you know this is a huge win - keeping things simple there requires a disciplined developer with a good understanding of Angular (a rare combination.)
As someone with Canadian and American work experience, I think US wages are higher because there is more capital in the States. Both Canada and the States struggle to find qualified software devs. The companies that can afford to pay more, get their pick of devs out of a very small pool, so the wages increase. However, in Canada, the companies won't/can't pay as much, so the devs end up making less, or moving south. Brain-drain is a problem in Canada for a lot of different industries (healthcare is hugely impacted).

The cost of housing in Vancouver, Canada is right behind New York and San Fran. I don't think wages has anything to do with cost of living. In general I think Canadian investments are less risk tolerant, the market doesn't shift as fast as it does in the States, and therefore less cash flow. Also, its in the employers best interest to keep salaries down and convince their employees that living in Canada (Vancouver instead of San Fran) is better (how ever you define better).
Sandy Metz has a few great talks on OO programming.

I highly recommend Nothing is Something but all are great.

https://confreaks.tv/presenters/sandi-metz
>The US has a higher cost of living than most other countries. Those who are comparable pay somewhat more competitively with US jobs. This becomes really clear with remote work. Outside of the major tech hubs, the pay for IT drops off to comparable levels with European companies.

This is partially true but I thought the cost of living in Europe was generally higher than in the US.
> I like AMP over publishers' own formats...

Back in the day, we called them websites.
My place is on AirBnB because the income is great and gives me the freedom to hang out anywhere I want in the world while someone else pays to stay in my place.
I'd be glad if I could book an airbnb without been discriminated as a tourist while black, not an immigrant. Fix your business first, because today airbnb is a creator of harassment.
https://github.com/rust-lang/rfcs/pull/1657#issuecomment-270...
If your primary goal is productivity, I don't think rust will ever be the right language for you.

If you want to remain relatively productive while building things that are one or more of (large, fast, safe), it's an excellent choice.
AMP is built on WebComponents, an open HTML5 platform. Google's AMP Cache service isn't even exclusive as Cloudflare offers one as well. What "lock-in" are you talking about?

As for a "degraded experience" that's subjective, but users seem to far prefer it.
I stand corrected, however I have started promoting VS Code for Rust because of the LSP support and the promise of RLS, despite being an Emacs user.
Are you willing to drop AT&T and Verizon, regardless of the cost? That also means dropping the MVNO's who just resell AT&T and Verizon's capacity at a lower price.

You may have to build your own last mile internet infrastructure. (See comments below about mesh networking)

I assume T-Mobile will join in on this zero-rating of data, based on their "all you can eat" promotion. You may not be able to use a cell phone in the US.

Boycotts do get the attention of the company, but it's going to take a long time and a lot of hard, hard work.
From WordPress to Ghost to WordPress
I have to agree. I wish open offices comes with their own bathroom-stall like cubbies for people who need to jump on a call.

... or hire Terry Tate, office linebacker:
http://www.dailymotion.com/video/x1ar83_terry-tate-office-li...
Digi Digital Business Card Chatbot
I'm currently running http://bitmash.io, which is a shared hosting service for PHP apps (currently WordPress and Piwik) that handles updates and manages the site for you (but also lets you control it if you'd like). I'd love to hear what sorts of features people want in a shared hosting service.
What do you prefer? With RLS, it will probably be supported.
I see. I hope to see more better docs soon. Thank you for answering and for generally being open.
> Yes, but you don't have 'ABC lift' on your phone. Why? Because ABC has almost no drivers, and because it has almost no drivers, no customers, which means it's hard to attract drivers. - hence, network externalization as a barrier.

Actually, I do. But I only have 'ABC lift" for local, native areas that I am in continuously.

I tend to use Lyft when I am out of my home area.
AMP is not the problem - the AMP cache is pure evil and if it wasn't for Google forcing it on people through their SERPs there would be no reason for Google to add it or have to work around it...

I want to visit publishers own sites and not weird walled Google land.
Well, the calculation has been automated away. before now, you still needed a semi-competent person to input the values for computation. Now a computer can start to do that. We'll see things like computer vision tools that can estimate concrete order volumes based on a couple quick looks into the forms.
From habit, and to do my part keeping the Web from becoming a single-vendor standard.

I also use Edge on my Surface tablet, for the same reasons.
"This title has not yet been released."
Double major?

Seriously though, there are definitely elements of both involved in AI, but I don't know that there's much going on in AI that involves math beyond what you'd get in a typical C.S. curriculum anyway. And if you're worried about that, you could always go with a "major in C.S. and take as many maths electives as possible" strategy.

As noted in the linked FB thing, the key things you want are: "Calc I, Calc II, Calc III, Linear Algebra, (and) Probability and Statistics".

There's nothing to stop you from getting all of those while majoring in C.S. And here's the thing - the "other" stuff you get in C.S. will empower you in terms of programming and - for now - programming is how you do "experiments" in AI/ML.

As for majoring in Mathematics... I don't think it can ever hurt to have too much math, and I wish I'd taken more maths classes in my own past. But I haven't seen much evidence to suggest that you'll use a lot of, say, complex analysis, or measure theory, or group theory in studying AI/ML. Note that that's not to say that I'm 100% (or even 2%) confident that you'd never need those things. Given that measure theory is strongly related to probability, for example, it wouldn't shock me if some knowledge in that area did indeed prove useful somehow. But by and large, it seems to be the case that the core math needed really is Calculus, Linear Algebra and Probability/Statistics.
I find your mention of fluoride interesting...

I have always wondered (just because I am curious) how one could actually avoid intake of any fluoride given the many types of fluids humans can drink; are all beer crafters using fluoridated waters? Wine makers? Soda? Every bottled water? Juices?

What drinks can be verifiably lacking fluoridation?
Specific observations like this are best forwarded to the authors, who are unlikely to see your (entirely valid) observation here.
Do you/would you use for anything other than something that needs live updates ASAP?
A better question is why would I want an AMP page when I was originally trying to reach the original?
Feeling Unsafe at Every Size
> Reference counting isn't garbage collection.

"Reference counting is a form of garbage collection"[1]

[1] https://en.wikipedia.org/wiki/Garbage_collection_(computer_s...
I know that this is just a minor example, but since 2006 (after a few minor revisions) the new German orthography is pretty widely used, especially by people who's work involves writing.
'Chunking down' a piece is pretty much the only way I've managed to learn some harder pieces, at least by my regular-guy standards e.g. Rach Prelude in C sharp minor. That last one was particularly hard as I'm a terrible sight reader, and there's about two pages where you're playing 10 notes every half-beat.

But I think GP has a point about the dangers of this approach (even though it's unavoidable I think). It sometimes results in noticeable 'seams' in an otherwise fluent performance. You can occasionally spot these 'seams' even in performances by world-class concert pianists (though this is rare). I find it weirdly reassuring: no matter how talented you are, those first few days of practising a new piece will always be a tedious grind.
So far I think this has only been optimizied for anime girls
http://waifu2x.udp.jp/
Interesting, thanks. That does seem valuable; I'm not sure that rand is gonna shoot for a 2.0 any time soon after its 1.0, but that is something being in-tree would prevent.

"vocabulary traits" like this are a good candidate for the stdlib for exactly this reason, maybe a good compromise would be putting _those_ in the stdlib, but leaving the implementation outside.
Can you do a dual degree or one minor another one major?
Nell Shamrell's talk on regex https://m.youtube.com/watch?v=TMV3LrNG6-w

You know you want to know how it works ;)