skysight-inc/HackerNews huggingface dataset:
obviously I use do.call all day long because R is my primary weapon, but even if I say so myself, a happy R user, Python with Numpy is faster. I would invite you to show me a single instance where R is faster at bog-standard memory access, than Numpy. My example demonstrates exactly this. Can there be anything simpler than a matrix access? And if that's (8x) slower, everything built on this fundamental building block of all computing (accessing memory) will be slow too. It's R's primary weakness and everybody knows it. Let me make it abundantly clear:

> xx <- rep(0, 100000000)
> system.time(xx[] <- 1)
user system elapsed
4.890 1.080 5.977

In [1]: import numpy as np
In [2]: xx = np.zeros(100000000)
In [3]: %timeit xx[:] = 1
1 loops, best of 3: 535 ms per loop

If the very basics, namely changing stuff in memory, is so much slower, then the entire edifice built on it will be slower too, no matter how much you mess around with do.call. And to address the issue of (slow, but quickly expandable) Python lists, recall that all of data science in Python is built on Numpy so the above comparisons are fair.
And that's why IP banning is a silly thing in IPv4. In Italy there is CGNAT widely deployed for years and Asian ISPs have big trouble obtaining IPv4 addresses as well.

Dude.
The answer to that on the part of governments, will be to tax and regulate robot labor. They will attempt to force a gradient simulation of human costs onto robotics. We'll see serious efforts made toward those types of laws within a decade. Countries, to the extent they resist such taxes and regulation, will become new hot zones for robotic manufacturing etc.
That's a very bold prediction!
Your comment indicates that you think that in the lender/borrower relationship only one side has responsibilities. The Germans via the ECB flooded Greece, Portugal, Spain with easy money in the early 2000s. It is incorrect to say, "...in no way at fault..."

Greece was bullied and has been bullied and the average Greek has suffered as a result. They are not blameless by any means but what has happened to Greece is not just.
Austerity has already been debunked as being the best way to economic advancement / recovery, even the IMF agrees:
http://www.huffingtonpost.com/2013/05/30/reinhart-rogoff-deb...
Using the variac was cool. I stumbled on something similar by accident. The keyboard power cable would get unplugged sometimes when jamming in our tight quarters. When that happened it would revert to battery power and when the batteries were almost dead it would have a great distorted sound(it was plugged in to an amp) so we put a pot between the converter and the keyboard to dial in that crazy sound.
Cofounder of Streak and helped write a lot of the InboxSDK. I can't give a definitive answer right now because we don't use Angular and thus don't have much experience with it. If you're able to specify a DOM node as the root of an Angular instance then you should be able to make it work.

If you try to make the top html tag as your root you'll probably run into a bad time particularly if other extensions make the same assumption. One major difference between writing an app for Gmail vs your own app is that multiple apps can and usually are running at the same time. This was one of the main motivations behind the SDK since many of our bug reports were a result from extension compatibility issues.

We do e2e testing with selenium/webdriver - so it's definitely doable. Tip for e2e testing is to pay for some extra Google Apps accounts so you can run your tests in parallel.
Yes. If you're some teenager selling ice cream for the summer and being taken care of by your parents, you shouldn't be making $35,000 a year.

The larger question, of course, should be answered by the customers of McDonalds or Target. Are they willing to pay twice the cost of goods so everyone who works there can make more money? Probably not, and those businesses will probably fold. Now you have everyone complaining about unemployment and the lack of affordable goods. Do you pass yet another law to make those cheap? Who pays for this stuff in the end? You can't economically dictate everything unless you want to migrate into command-economy communism, and the world tried that fairly recently with disastrous results.

Not to mention price inflation for common goods once the local econony has everyone getting $15 an hour. Great, now everything costs more and the people who weren't minimum didn't get a raise.
Thanks for posting this. As a visually impaired web user, I appreciate this.
How Suburban Are Big American Cities?
Ask HN: Is this interview style common?
Has anyone else faced interviewers like these?

To give more context, a recruiter approached me for a financial company in NYC. After I agreed to talk to them, he sent my CV over to them.

In the initial phone call,the person calling me gave me a 30 sec introduction about himself. Next he fires his favorite programming question. When I tried to explain, instead of working with me, he kept saying wrong, wrong, wrong. After that, asked me about kMeans Clustering. Again, wrong wrong wrong. 10 min into the phone call, he stopped me and said you are not a good fit, good luck with your search and hung up.

I have a PhD in CS, have published in top conferences in my area and have been in industry for about 3 years now. Haven't experienced anything like this before, but that is only one data point. Is this experience common? How do you respond to this?
It's possible (but maybe not) that this was prompted by my comment a week ago:

https://news.ycombinator.com/item?id=9541362

MERGE is ANSI standard SQL, and so far as I know it's the only upsert-like syntax supported by both Oracle and MS SQL. (Please correct me if I'm wrong.)

Even if the MERGE command isn't what we're looking for, we really should make an effort to come up with something that can be implemented in a uniform way across databases.

Let's consider whether to use the MySQL syntax (http://dev.mysql.com/doc/refman/5.6/en/insert-on-duplicate.h...) instead of inventing something new.
Or the long term losses of continuing to buy AMD cards even though they're slower and more expensive, which gives them no incentive to improve. How long, in your opinion, do I have to buy AMD hardware before it's morally correct to switch to another vendor?

Everyone talks about voting with your wallet, but suddenly that all goes out the window... remember when AMD was the dominant force when all Intel had was the Pentium 4 and AMD squandered their technical advantage with Bulldozer and other crappy cores?
The idea here is that we need to be able to modify terms quickly if need be (e.g. if a critical issue is identified), but hopefully that will never be the case. Under normal circumstances we will post the updated agreement quite a while before it takes effect. Current thinking is that we'll try for 45-90 days.

Thanks for your feedback.
My jaw dropped. Omg. Someone beat me to my rapbot idea
GoDaddy already follows this!
hadn't heard of ramda.js until this comment. thanks! love what it provides w/o forcing anything on you.
Reading https://www.inboxsdk.com/terms it says this SDK is royalty-free. Is there any additional important licensing issue to take into account before using it?
The other mental block is that people somehow trust/prefer 'randomness' vs. determined outcomes from a machine. But it shouldn't be so.

E.g. with people-driven cars, when an accident happens (lets say 1 passenger, 1 driver on each vehicle), the result is random. (4 dead, 3-1,2-2,3-1,4) If a self-driven, intelligent vehicle determines that a sudden shift to the right when the crash is happening will save 3 persons, and one dies (and this was the best outcome under all the scenarios/simulations the car calculated under the circumstances of the crash) in this case, the car determined who would be the casualty, as opposed to let the accident happen at random, which could result in all dead, all alive or other choices.

As humans with subjective POVs..we somehow prefer randomness and see it as 'natural way', 'God's will', 'Destiny', 'Fate' etc...

In the near future, algorithms will make a large number of life-death decisions. We just have to be comfortable on statistics and results. Machine results > Human Results > Random Results - so autonomous cars and other upcoming vehicles will have to make these calculations every day, we'll just have a hard time letting go of randomness or of the overrrated value of human decision-making during a car crash.
> Javascript has it (in its own, somewhat broken way).

No it doesn't. Also OCaml is from a pre-multicore era. Even Erlang wasn't multicore from the start, SMP was added in 2005.
Because the UK went on heavy on cutting its budget, whereas the US went heavy on increasing expenditure (Fiscal keynesian style). The way the UK did it should have dragged them into recession but the UK employment rate improved to under 6% (in spite of the sensationalised immigration 'issue') and the economic growth rate is doing pretty good (on a relative basis to the other G* countries).

I don't want to get into the contentious political issues involved but I'll say this too: There may be some argument to the loss involved due the budget cuts but on the typical economic numbers its not too bad/quite good considering austerity was used.

1. http://www.tradingeconomics.com/united-kingdom/unemployment-...
It's not an either/or. The behavior of the bug finder directly impacts the amount of danger end users are put in.

Selling 0 day exploits also puts the user in more danger.

Posting exploits publicly without attempting to notify the maintainer also puts the user in more danger.

Keeping exploits secret also puts the user in more danger (though less than selling them).
Very neat, and funny article. I love the PG generator.
Automation (or AI) is coming for all of our jobs sooner or later. We need to start talking about how our society can pay for Basic Income for all the unemployable former fry cooks, truck drivers, lawyers, anesthesiologists and software developers.
Is it going really? If so in what way?

At least mind share wise I've heard of lodash/underscore much more often than ramda. Only recently has it come up with some level of frequency.
And the Queen's bass guitarist John Deacon designed and made his own electric guitar amplifier, already having a college degree in electronics before joining the Queen:

http://en.wikipedia.org/wiki/Deacy_Amp

"It was used along with Brian May's Red Special electric guitar and treble-booster to produce sounds reminiscent of various orchestral instruments, such as violin, cello, trombone, clarinet, or even vocals, starting from the songs "Procession" and "The Fairy Feller's Master-Stroke" from the 1974 album ‘’Queen II’’"

And interestingly, the lead guitarist of the Queen, Brian May "graduated with a B.Sc. (Hons) in both Physics and Mathematics and ARCS with Upper Second-Class Honours. His Ph.D studies, looking at reflected light from interplanetary dust and the velocity of dust in the plane of the Solar System, were interrupted by the success of Queen."

http://riaus.org.au/people/brian-may/
Automated. Hourly to two separate USB drives, nightly to NAS, both with the superb https://bvckup2.com. The drives go to the bank safe when leaving for the long trips.
Ask HN: Why is there no bookmark notifications API in browsers?
I've often wondered this. For site/app owners how can you track how many bookmarks you've received? It's the most basic social signal since the beginning of the web yet it's still the largest black hole out there in metrics.

Simple JavaScript API to detect when user bookmarks site, while on the site.
I'd love to know if my site receives bookmarks, I'm sure others would too.
Why is there no API for this in HTML5?
If you're working full-time doing work that has very little market value, then yeah, you're going to be poor.
Sure, but you always have a few Truly Important domains, that you DO NOT want to lose. This is about those. An easy solution would be to charge you a few bucks more for domains you designate as Important.
They would if I wanted to have a company phone.

I don't want a company phone and have to juggle two phones.
Rendering a planet with two triangles
I wish Google would focus on making regular Android more stable instead. Given the memory management issues I've had on my Nexus 5 and other devices since Lollipop, there's no way I'd choose to inflict Android on a low-memory IoT device...
Happily Stepping into the Shadows
Experience up and down the east coast and currently in the Midwest.

I've started calling the first merge style you've observed the "Minnesota merge". I deal with it on the way to and from the office, each direction with a good mile of merge lane.

Ninja Edit: Jersey is the best for clear right lanes. I've made entire journeys never coming up on anyone in the right lane, unless they were in the process of "merging", which in this case means getting all the way into the left lane immediately.
This Body Language Means You’re About to Be Cheated
Show HN: Lightweight Rails app monitoring via StatsD
Mathworks makes a sat solver kinda product that does those kinds of proofs. Pretty interesting concept, IMO.
Yeah, if its the same provider I'm surprised. But yeah, the quality of the reception varies b/t phone lines I've noticed which is annoying.
This is cool for an entirely different reason for me too. I've seen this cover band Queen Nation before that is shockingly good. They dress like Queen, act like them, and sound really good whilst doing it. I've often wondered what the guitar player was playing, it was unlike anything I've seen before. http://www.noozhawk.com/images/uploads/081413-QueenNation-63...

I appreciate that he is using a left handed clone as yet another tribute to the original.
The Truth Behind Inspiration, Leadership, Success and Us
You give the code in a .js file that you include in a browser plugin but, you don't state clearly whether this is or is not an open source project. The .js file has no license in it either.

File: https://www.inboxsdk.com/build/inboxsdk.js

Then I see the github page: https://github.com/InboxSDK/

There is no InboxSDK project but, just two example chrome plugins using the inboxSDK.

All the trappings and mechanics of open source without the actual source and an actual open source license. Are you guys just testing this to see if you can productize it? Or are you going to go all the way and open source this?
currying is properly implemented in ramda, unlike lodash or underscore.
What you need to know about blended rates on AWS
THE MOST EXPENSIVE PHOTOGRAPH SOLD ON EBAY
I'm not sure how "unreasonable" the effectiveness of RNNs are if the corpus output at 2000 iterations isn't significantly better than a simple prefix based markov chain implementation [1] (and for the regular languages, with some extra bracket-checking), but I found the evolution visualizations really interesting.

[1] http://thinkzone.wlonk.com/Gibber/GibGen.htm
Well, if you just need a couple of months to prove your business, I'll invest the $49/month on your behalf. What are you prepared to offer in return for my investment?
I don't understand the title, this writer performs the act of "getting healthcare is dangerous" after she reports on healthcare?

I get that she "stops dieting", which is something different, I guess, from her normal behavior, and sure, the writer probably does start ignoring new health studies after reporting on healthcare, but then the list of seven things becomes just paragraph titles, completely unrelated to the original heading of the story...

I'm all for grabbing extra pageviews, but this format wasn't well executed, given the content.
> downvotes for suggesting that maybe the NSA shouldn't be compared to the party that gassed 6 million people solely for their ethnicity?

The parent never mentioned Nazis. "Banality of Evil" does not equal Nazis, even if that was the context where you first heard the term.
"Support a $15 minimum wage, support the future!"
https://www.facebook.com/Robots4MinimumWage
Why bother with looking for interface bugs? Domain owners have been told they risk losing their website if they don't respond to requests for confirmation of the details of their domain name. So how about I send some emails asking them to urgently pop by my website, which looks very much like the registrar's website, and log in to update their details?

Or if I didn't want to do anything actually illegal, I'd probably have an enhanced chance of success in pulling off the Domain Registry of America scam and convince people they must update their details [by transferring to my registrar] in the next 15 days.

Seems almost certain to become the most frequent uses of the contact details ICANN has kindly ensured will be up to date and accurate.
Hey right on, thanks for that. It's a great read and can't wait to see it in action :)
THE MOST EXPENSIVE PHOTOGRAPH *SOLD ON EBAY (*about to Be )
HERE's the link to ebay
http://www.ebay.fr/itm/Hephaestus-039-Horse-Most-Expensive-Photograph-in-the-world-/251968383757?
here's a The video
https://www.youtube.com/watch?v=iLQoEsHHBlI&feature=youtu.be
I'm not familiar with the nitty-gritty of the LHC experiments, but in general the various detector subsystems have different response times and rate capabilities. There are certain types of detectors with explicit time granularity (e.g. time of flight) but for most detectors there would be no time structure within a single collision record ("event").

But you could work backwards to make an animation for each event. From a scientific perspective it's not that interesting though.
Something stood out to me regarding the anecdote about students not following through with online learning courses. Could it be that students lose interest because of the curriculum? I thought the Hole-in-the-Wall project highlighted the importance of exploration and play in self-directed learning. It seems to me that curriculums and spontaneity don't mix well.
> Morality is not logical, although sometimes the moral choice is the logical choice.

There is no logical choice outside of a decision rule which must rest on first principals that cannot be supported by logic. Morality is a source of such first principals (aesthetics is another, though the boundary between the two is not well-defined.)
When I bought my Macbook for college, Apple gave me a $100 gift card for the app store because I was a student[1].

[1]: http://appleinsider.com/articles/14/07/01/apples-back-to-sch...
In my experience, Perl is preinstalled on a lot more systems than Ruby, but I fully admit that Ruby is a more pleasant/approachable language than Perl. I'm not that experienced with Ruby, but how is it for running one-liners from the shell?

I could see all the 'end's being kind of a pain. Perl's ugly terseness is arguably an advantage for that use case.
Like, "To fit 2.1PB in RAM, you could spin up 9 r3.8xlarge EC2 instances for US$3.15 per hour"?
Yeah, I've found the simplest way to have multiple writers / readers is a mutex.

I was suprised to read that they actually consider removing the sync/atomic packages. It's crucial in my opinion, and would complicate a lot of code if had to be written with channels.
>Banality of Evil? Come on. Equating SIGINT programs to protect America's interest with the Nazi party is really shrill.

"America's interests" (an insignificant 4% of the global population) are not the same as the world's interests, and in many cases are directly opposed to them. They also historically involve tons of bloodshed and lots of support for dictatorships and friendly lackeys in power worldwide.

>downvotes for suggesting that maybe the NSA shouldn't be compared to the party that gassed 6 million people solely for their ethnicity?

No, but US did spray poisonous gas to several million people for other reasons, like "strategic interests" -- and that's 10.000 miles away from their soil. As to what they did on their own soil, this includes the Native American's genocide and concentration camps (which Hitler admired), and the black slavery.

http://en.wikipedia.org/wiki/Agent_Orange

For the millions victims of such interventions, including the 200.000 men, women and children vaporized in Nagashaki and Hiroshima, it makes little difference if "Nazis" did it or not. It is, however, a nice scheme, to hold up a picture of "pure evil" to make everything else OK by comparison.
Show HN: monkeys typing furiously
I just walk away. It sucks and reflects poorly on them. I would say it's more common then people assume. But this is not really a reflection on you.
>So Nvidia 'invented' TXAA- an horrifically bad AA method both in appearance and 'hit' on performance- but a method that runs far better on new Nvidia hardware than it does on new AMD hardware.

Why is that, though? Why can't AMD do whatever Nvidia's doing to make it just as fast on their system?
Will see if we can clarify re: your first point. Probably have to live with the caps but will ask about that too.

Thanks for the feedback.
> Should web surfers have to right to see who owns a domain (via whois) even if the domain owner doesn't publish that info on the site?

By "who owns", this means, "give out their name, address, phone number and e-mail address."

So in that context, that depends. If they are a business, then yes. There should be corporate contact information there.

If they are a non-commercial hobbyist site, then no. Absolutely not. Think about the incredible harm this would have on stalking victims. Or how about enabling more swatters?

Like domain registrars and certificate authorities; domain proxy services are just another tax on citizens wanting to participate on the web.
i) Our long term plan is to do so, but not in the immediate term.

ii) The SDK loads a static JS file so we aren't really worried about having a lot of users requesting that. We're hosting the SDK on appengine so I wouldn't expect any caps on users or anything like that. Dropbox has a ~500K weekly actives (as you can see from the chrome webstore: https://chrome.google.com/webstore/detail/dropbox-for-gmail-...) using it and I expect that to grow.

iii) can you describe the use case a bit more? Specifically are you looking to get the set of filters or add new ones or both? On the preferences side, are you looking to add your own? We have this functionality in Streak but haven't yet ported it over to the SDK (but will soon)
I really think that GitHub needs better tools to deal with this, this is very frustrating - the only options right now are deleting a ton of comments or locking it preventing all discussion. Prompting people with a modal informing them what comments are inappropriate would go a long way.
It's just odd for an MVC framework to not have a 'C'. Generally, your view would just generate HTML, the controller listens for events and responds to them by updating the view and model. Here, your view is taking over that responsibility.

For how small the library is, this is pretty fantastic though. Significantly smaller than Backbone for similar syntax.
Dave Cutler was a lead engineer on both.
Interesting:

http://www.theregister.co.uk/2015/05/21/icann_ceo_quits/
How to get rid of waste
An article's comment reports it works in Firefox, here it seems to work in Safari too.
The issue is that you are asking the user understand and agree to a legal contract, which they must then uphold, without giving similar guarantees on your end.

On my side, you want me to agree to do things and on your side "we'll try for 45-90 days." That's not good enough.
This is fascinating. Does anybody know if something more recent/factual/extensive exists?
That which is claimed without evidence, can be dismissed without evidence.