skysight-inc/HackerNews huggingface dataset:
Solution:

Here are the two workflows I have in mind:

1. Registration

- user submits the form

- company sends something like { hash(mail), hash(hash(mail)+pass) } to our API

- API returns whether we've found at least a website where this tuple exists (no mention of the website obviously, boolean answer only)

- company can refuse registration if the tuple is not unique

- When the user finally signs up, send something like { website, hash(mail), hash(hash(mail)+pass) } to our API

2. Login

- user logs in: fills in the form as usual and submits it

- company checks our API to find out whether there have been recent unsuccessful attempts at logging in for the same tuple (mail/pass) across several websites. If so, then there's possibly an attack targeting this user, and the company can take risk mitigation actions such as requiring an sms code or freezing the account until further notice.

- if there's no known attack, company checks internally and if it finds out the login information is incorrect, then it reports the bad login to our API

Fundamental questions:

1. Obviously a major point is ensuring security and trust, that is being able to store data that:

- allows finding out whether there is an account with the same information elsewhere

- provably forbids attackers and API users from getting more than a non-exploitable answer

My opinion is that we can achieve such provable state of security by asking API clients for information hashed in a way that provably prevents us as an API provider to find out more information than needed. Then we can communicate towards companies along the lines of "see how the info you provide us inherently prevent us from getting any sensitive information about your users"

2. Well, would you take part in such an initiative?

3. Do you know of any company that would actually pay for such a service? 'cause, you know, that would be awesome :)

PS Congratulations for reading all of this. Thanks for your input.
Skip the ketchup chips. Go for the all dressed chips instead.
Spring Security on REST API
> Strange to me you'd come off thinking this. The premise of the book is that diversity and a better portrait of society as a whole (including everybody) in the making will result in better software.

Really? There is no indication of that message on the landing page.

"A new crowd of jock-like developers has arrived, more likely to spend the wee hours of the morning at the club than writing code, turning workplaces toxic to others and dumbing down the world of computer science."

Not sure how "turning workplaces toxic" in the opening paragraph translates to "diversity results in better software".
Everybody. Must. Vest. If you can't use someone else's paper for the employment and equity contracts, talk to a lawyer. Set up standard 4-year vesting with a cliff. If you hire someone and 3 months later come to the realization that they aren't working out --- which is likely --- they can't be walking away with a chunk of the company.
Maybe nothing to do with this book, however; I think the difference is more obvious between early programmers in the 70's/80's and maybe a part of the 90s and the programmers who learned it after that and 'just' do it for the money. The latter can still be excellent and love programming and the science, but they miss that click of what a amazing machine they actually have in front of them. People who have that overwhelming feeling, and I know many of them, see the machine as the most versatile thing in the world in which you can do anything with code; make money, yes, but create worlds, make people happy, make yourself happy, solve puzzles etc. Most of these people don't have time or the inclination to pay attention to clothes, act social (outside the people who understand) and hit the gym. Mostly because everything is possible within the computer and there is enough possibility in 1 80's machine to fill 100 life-times with joy and wonder. I wrote my first program in '82 and I have stuff to do, problems to solve, software to write, infinitely more interesting to me than what I can think of outside this realm. If I plan my biggest project objectively which I now am working on for around 17 years, I get to about 400 man-years of work to do. But I count on more brilliant folks than me helping by inventing shortcuts / faster computers. And that's only 1 of the projects.

I have always been a social animal, I did a lot of sports, I have always started and ran companies with employees and I did go to clubs. I have always regretted that; I wish I could just only spend time on this marvellous apparatus; doing it all over, I would do.
Will do. Thanks for the pointer. Do you have any suggestions offhand?
You could use YAML, which is also kinda hip, but still allows comments...
Furor Erupts Over Facebook's Experiment on Users
Would this be a good router?
API Design: The pespective that matters
Interesting Blog on how capacity has grown over the last few years
Docker.io?
Downloaded. It doesn't look good at first glance, but free reading we don't have enough on the web :) so let's give it a shot.
I think this prevention of value capture is one of the under discussed aspects of socialism. I mean, sure, the market isn't able to discover that a mall or office building the locals don't want would be more valuable, but it doesn't seem to destroy cities.
Flagged for being a link-bait advertisement for a crap book.
Best video u never seen :)
Funniest video you can seen on youtube
Please note the byline. James Risen, the author of this article (and many other of similar calibre), has been ordered to identify the source for information that appeared in his book about a botched CIA mission in Iran. He has exhausted his appeals, so unless prosecutors suddenly decide to back down, he is likely to face contempt charges and possibly even jail time.
I infer serious, given the author's comment above. But I find it hard to read, rather the way I find Emotional Intelligence hard to read, with too much made of anecdotes.
Thanks, happy to hear it!
I upvoted you because you are correct in every way. Don't take downvotes personally, people downvote here for no seeming reason at all some times.
Poll: What technology and company wrecked innovation
Things You Need to Know about Barcelona Cannabis Clubs
In case of UTF8, BOM isn't information at all, it's always the same 3 bytes (endianness mark is meaningless on byte-based encoding). And being added by default Windows plain text editor, it's fingerprinting usefulness is rather limited.
The low-rent way of doing it would be to just iframe the HN thread, but a quick experiment in JSFiddle indicates that HN denies framing.

I don't think there's an RSS feed for the comments, so doing this would probably require some type of scraping.
Wow! That experiment is incredibly sociopathic - using unsuspecting users as pawn in your games. I am disgusted...
Find Guidelines – The faster way to find brand assets
I was also expecting them to implement bundle routing / delay-tolerant networking. It just makes so much sense for mobile devices with intermittent connectivity.
This isn't remotely germane to HN. It's the news equivalent of a cat picture: a military contractor said something awful to a State Department investigator and then nothing else happened that was in any way connected to that incident. It's getting a huge amount of coverage because (a) it's lurid and (b) it confirms everyone's biases --- MINE TOO --- about Blackwater.

I can't imagine what intellectually meaningful conversation we could possibly have about this story. I flagged it, and I hope lots of other people do too.
Interesting that you should mention the case of Watt holding up steam,
because this paper pretty conclusively shows it to be a myth:
http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1589712

Same goes for the other popular myth that the Wright patent stunted the
aircraft industry in the US circa WW1:
http://papers.ssrn.com/sol3/papers.cfm?abstract_id=2355673

The problem is that we don't hear of these stories and my guess is
because, well, they don't fit the narrative the media is trying to sell
these days.

As for a fear of creating a product due to patents, I'm not sure this is a widespread phenomenon. Of course, my sample is extremely small and this is anecdotal, but all the people I know doing their own startups are either indifferent to, or actually bullish on, patents. Some are even filing their own. And at least one is operating in a market that I know is rife with patents (e-Books).

And this is why we need more empirical studies, because anecdotes and experiences don't add up to data. But it's not an easy topic, given that even the basic concept of "innovation" is hard to define and almost impossible to measure.
As an end user you are allowed certain rights like fair use, viewing OTA broadcasts for free, time shifting content, etc. Your rights extend to cover the property you own.

The concept of property ownership is potent in legal reasoning. If you do things with an antenna and DVR that you own, then you are the legal entity doing those things.

If you pay a fee to a company to do those things, then both you and the company are doing those things. The legal status of the company is a service provider, which is different from an individual end user. Aereo was a service provider, but tried to assert that they were merely an extension of each subscriber's personal property. The Supreme Court said no to that interpretation.

As for society, a legal system that provides revenue opportunities for creative works encourages the flow of capital to invest in those creative works. LOST or Breaking Bad would not be possible if the companies producing them did not have some way of making money to pay back their investors.
Apple Features Internet of Things in New iPhone Ad, “Parenthood”
I thought L.A. had expensive houses too, though I guess the people you describe don't want tour buses driving past all the time.
I grew up in a rather unusual environment where there was a high level of structure, a clear 'purpose' to life, and a safe, understandable environment to learn in. I did not really experience adolescence until well into my twenties when I had moved back into a more standard Western-European way of life. In my attempts to deal with that I found a support group of people coming from similar backgrounds, and regardless of their personality they largely had a similar experience.

Anecdotally that at least seems to support your theory.
I don't know about you, but I can't really put taxation-without-representation above killing 17 civilians and threats of murder.
For those trying to get a foot in the door in competitive creative fields, an internship is an important first step in starting a career or pivoting to a new one.
Sleep as a Competitive Advantage
Animagraffs
I got that same impression from the abstract, but after reading the article, I think the author abandoned that POV.
although the title was and IS interesting, the abstract loses the seriousness and dwells into just-another "funny-stereotypical" arguments. A lot of assumptions are made, which are stereotypical at best from the movie-land fiction. (however, I am not too sure if these jock vs geek stereotype is fiction as portrayed in movies or real, since I am not from US)
Still, I find the title interesting, and want to ask you, what type of research did you conduct for it? Any specific research methodology? Where did you sample it (specially since you claim this for the WHOLE of USA)
Pretty innocuous title for an article discussing mercenaries threatening State Department officials with death.
Scrolljacking and Accessibility: Are we Breaking the Web?
I'm not really sure how that information relates to the article posted. Could you please elaborate on how it is relevant?
Apple Announces Updates to iTunes U
Is someone able to mirror this post or paste it in the comments? The website is blocked by my ISP (etisalat)
I for one, welcome our musclebound overlords.
Ironically that is the solution c++ essentially uses.
Are there similar turns of phrase used to indicate the choice made by a President to appoint someone to a key position in the administration -- e.g. "White House nominates Condoleezza Rice as Secretary of State".
While actual salary might not be interesting, how much taxes will affect your gross income is. Tax rules are often very convulted. If you collected gross salary and received salary after taxes numbers, that'd be a great resource. I've moved abroad and all you get usually is vague statements about tax pressure (ie. asking a range of people you get wildly different answers). Often this is related to your income level in non-obvious ways as well. A table for each city with mapping from gross income -> income after tax would be very helpful.
Anyone remember the 1983 movie Wargames? It opened computer culture up to a lot of people who weren't yet interested.

Maybe the author can explain how it's all been downhill since then.
“You can't solve social problems with software.” – Marcus Ranum

We begin therefore where they are determined not to end, with the question whether any form of democratic self-government, anywhere, is consistent with the kind of massive, pervasive, surveillance into which the Unites States government has led not only us but the world.

This should not actually be a complicated inquiry.

http://www.theguardian.com/technology/2014/may/27/-sp-privac...
Yes? And may we know how many underaged kids died out of slavery work for that to succeed?
I'm curious about what in my comment suggests I don't appreciate the fortune that was simply being born into a first world democracy? Even if we just use the ~1Bn people with that privilege, I remain surprised at Knight Frank's number.
Its Mars orbiter, not lander.
> The Bandwagon Effect

I don't know if this is a negative bias. Popular tech is well understood with known risks. Successful outcomes in software are hard enough without adding unknowns to the equation.
I say they go full Brave New World and start burying all the negative content, and show only things that make people happy.

Or A/B testing. Show only depressing stuff to some people, and nice stuff to all their friends, to see how they deal with the disconnect.

The potential is limitless.
Start at the beginning:

http://conal.net/fran/tutorial.htm

Warning: FRP is much more purest than Rx (which is just data flow) or Elm (which is more FRPish but asynchronous). You probably don't want FRP but something more pragmatic like the fore mentioned systems.
Clean Error Handling for your API
If we don't sterilize our craft, how do we then verify either that life arose independently on a non-terrestrial surface or that ejecta carried it? Hopefully the value of sterilizing our craft becomes apparent as one considers the scientific value.
Protip: Disable JavaScript to see the article if it gives you a paywall.
Scraping HN and building, say, a JSON blob out of a thread page wouldn't be difficult - if I can do it with curl and PHP then anybody can do it. My biggest concern though would be how HN itself would react to that - and of course if you want it to be more than read-only and completely seamless you have to do what essentially amounts to cross-site request forgery to make it appear the login and posting is being done on your site and not the other - and it looks like HN uses a csrf token in the form.

So probably the least painful way of doing it (apart from an official JSON API) would be to scrape the site periodically (not so quickly as to be banned, obviously) or use one of the existing services which acts as a proxy api, save locally to your own backend and then do whatever.

Personally though, I think it's slightly unethical, unless you're going to clearly mention that the content is coming from HN and you have their permission. What do they get out of you using their resources to lead readers away from their site, after all?
On the other hand, you're assuming that anyone who dates women is a man, which is also problematic :)
Given the recent neuroscience research that people exposed to particular stimuli will alter their decision-making behaviour, it is now, in combination with this new research, possible for Facebook to manipulate election results.

Speaking as a Brit, it's time for Ofcom to start sampling feed content to detect shaping. Don't know what the US equivalent would be.
what if there is no level of punishment that will deter the person

Taking arguendo the question you highlight:

By cruel empirical evidence, we know that a six-month jail sentence was sufficiently effective enough that it made Swartz end his life, to say nothing of merely stopping his attempts to liberate the JSTOR archives.

Given that, a few days in jail would have likely taken the shine off of his activism and made him realize he wasn't cut out for this kind of thing.

Of course this can't be mathematically proven, but nothing involving humans is. It's one reason for increasing sentences for repeat offenders: the justice system is experimentally trying to find out how much punishment you need to get the message to stop doing that.
Machine learning predictions for everybody (still an early prototype!):

http://datapal.io
Populate a UITableView in Swift
> 25th successive successful mission.

You added a word. What is more impressive is the current streak of 23 successful missions going back to 1999.
Payment Webfont – An SVG webfont full of icons of main payment systems
Well, I quickly found this:

http://www.nytimes.com/1964/12/01/white-house-offers-to-appo...

I'm not going to indulge you further. I'm certain you can find a way to sufficiently restrict the question that this is the first time this particular thing has happened, but it's nothing more than an excuse for misplaced outrage. It is probably more correct that the decision involved multiple people, and we all know where the buck stops. There are plenty of real things to be concerned about without making shit up.
From my experience, iOS rather asks twice than not at all. I have yet to detect a sharing feature where the intentions are not clear. Also, every privacy related access is prompted separately, a freshly installed app has no permissions on anything - so it's usually a non issue when installing apps.
But how do they detect that enforcement is even necessary?

(other than regular whois lookups assuming that data is correct (probably too much hassle), checking the sites secured by the certificates (even more hassle), or someone "dobbing you in")
> Here's a question I would love to hear economists opines about: why don't high earners work less. Say a Belgian lawyer makes €100,000 euros per year and a paralegal make €35,000. Why doesn't the lawyer work fewer hours? Think of working hours as money and everything they buy as a good. It appears that demand for "goods" as a whole is infinitely elastic. Make the goods half the price and homo economicus buys twice as much. Most markets are a lot more elastic than this one. Why?

I think this is the reason : high pay comes from actually caring, meaning part of the reason the paralegal is so underpaid (although no lawyer in Belgium makes €100k unless he owns a law firm or something) is that he works 8-5 and has little responsibility outside of that.

Real work doesn't work like that. The bigger pay comes from being able to give one responsability over a large(r) department/firm and know that whatever it is, it'll get handled. Including at 9pm. Given that people paid for this, it is used. That is partly why the degree matters too, since it proves you can work dedicated to a single task for years and actually have a useful result come out of that.

It's like a marriage ring. It's function is much more "proof of means/job" for the man than it is a token of love.

But why does the lawyer get paid ? Because those hours and the single point of contanct and the service at 9pm, that's the service he's selling. The flip side is, you get lots of long coffee breaks (maybe even on a golf course) and lots of "meetings" at the local steak restaurant.
Just an idle whim. Whilst jumping from HN to blog post again and again and again etc etc it occurred to me that the content lives one place, the discussion of that content another place. Maybe it's a commercial opportunity somehow for someone to reconnect distributed discussion around the net back to the page containing the content being discussed.
The F-35 has the same problem. It is built to perform in so many roles, that it is bad in every single one of it. (price, weight, maneuverability, payload, range)
When living in a city that has niche, but no general, name recognition, a friend and I were taken for dinner, a very nice dinner, by a lady who worked for an international relocation consultancy. This was in 2008/2009. She politely, and professionally, refused to disclose the name of her company and of her company's client. Her job was to fly somewhere twice a month, anywhere in the world, meet English speakers ovr dinner, walk around shops with a camera, and write quantitative and qualitative reports of her findings.

The questions and purchase options in this crowd sourced list are extremely similar to the 'basket of goods' she was seeking. Prices are also pretty similar to 2008/2009 but a bit askew from today (particularly food, which over the past 5 years has experienced significant inflation).

Was there a surge of this type of information collection at the time (I can't recall anything of note online), or has a relocation / relocation-type consultancy released past data?
It's much more than just at the start end return of every function. But OTOH, it's much less than assertions, since they're restricted to a subset that can be proven (usually automatically).

Note the Scala verbosity here is Scala-specific. In HM-style languages, type inference works much better and you don't have to do such things. You might still have to explicitly "lift" a value from one type to another (e.g: Wrap a value in "Just", or use "lift"), but that's a much more minor price to pay.
If you're not reviewing your notes at least once after you've taken them, you shouldn't even bother taking them. I don't think there are very many exceptions for write-once-and-never-read notes. Note amplification is stronger if your intent is to explain the notes to someone else.
Reactive programming (languages) are supposed to give you a way to deal with such complexity, for instance by solving the inversion of control problem. This really is not chaining events together, just as structured programming is not just chaining todo's together.
ABC: Always be coding
totally true, but if you look at the rest of the context, its pretty clear that the author is talking about men.
Orkut shutting down September 30
Nah. I tried incognito and the results were the same. Still I'm in the UK. I'm guessing you are in the US? Maybe Google thinks brits are interested in philosophy and the yanks are interested in Lost? -

Update: I tried incognito and a US proxy and the highest Lost entry moved from no 13 to no 7, though utilitarianism was still in the lead
Repair Manuals for Every Thing
This was also a good eyeopener, from the man himself:

http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2014/Key...
This is great! thanks
wholeheartedly agree with you since I am also on similar yet smaller boat.
FORMASHIELD – latex paint that removes harmful formaldehyde from indoor air
> I usually (> 98% of the time) only care if that something adheres to an interface.

Well, whether something is "nil" or not definitely matters to whether it adheres to the interface, doesn't it?

> There's no downside in encoding nullability, unless extra syntax & incidental complexity is added

You just need sum types and pattern-matching, which are a straight-forward addition to the language -- and very fundamental to computation, so not quite "incidental complexity".

> I'd rather be opted out by default and opt in when I want to

Then why do you use Go and not a fully dynamically typed language? In Go you opt out explicitly with "interface {}".

Why would you rather opt in? Opt out makes sense because types are so cheap 99% of the time.