skysight-inc/HackerNews huggingface dataset:
What does this code do?

if a > 0 then
print_endline "a > 0" ;
match a with
| 0 -> print_endline "impossible"
| 2 ->
match b with
| 0 -> print_endline "2, 0"
| _ -> print_endline "2, not 0"
| 3 -> print_endline "3, something"
| _ -> print_endline "something, something"
;
print_endline "done"
What a wonderful idea. /s

Although I understand it to an extent. The core of software wouldn't be the core if it wasn't always used.
The NSA certainly already has the fingerprint of everybody they care about, and probably has of everybody else too.

Governments collect fingerprints on several occasions, as do several buildings' security, some mass transit administration, banks, workplaces, and lots of other entities. Also, you live them everywhere anyway.
Fingerprints can be changed as easily as a username. Simply never use the "raw" fingerprint output of the device, instead XOR it with some key (like either something from factors 2 or 3, or simply a static key).
So you're telling me what I like?

Nice one, apple.
I think convenience is important in this comparison because that generates a context in which TouchID is actually more secure, because it's more likely to be used than remembering and typing a passcode/phrase. Apple have shown the usage stats. There is also the inconvenience for attackers of reproducing a fingerprint through an elaborate process, which again makes TouchID more secure (in my opinion) in practice than a password/phrase.

While theoretically less secure, I would say TouchID in practice is more secure for average users. But in the case where there is the motivation I would agree with you.
The APA Grapples with Its Torture Demons: Six Questions for Nathaniel Raymond
You might like Linux Lite for a netbook (based on 14.04 LTS):

https://www.linuxliteos.com/linuxlite.html
I understand your objections in the first part of your reply, but let me clarify - when I speak about this, I'm talking strictly about revenue sports. The other athletes in non-revenue sports who are lucky enough to get scholarships are indeed getting a bang-up deal. But, I'm not talking about those guys.

In fact, I agree with the latter part of your comment, where you say that divorcing sports and education is the long overdue solution to this problem. I personally don't believe playing sports (sports management is another thing) has anything to do with higher education. But, I also agree that it will probably never change. There's too much money at the top, and it's too easy to screw the athletes down at the bottom.
I actually went with Dashlane bacause of this. I wonder why there's no mention of it in this thread. Most of the people where I work use 1password - but since I'm on both Windows and OSX, I needed something that runs on both platforms.
Show HN: TankardApp – Easy two-factor-auth code generation for OS X
How IoT affect your job
Intent doesn't matter if the patch is causing damage.

There are legal routes available to FTDI that don't involve bricking devices. I'm guessing that FTDI didn't talk to internal counsel before making this change.

I'll be quite surprised if Microsoft doesn't pull this patch.
Exactly. Soon enough, people will stop trying to force the same UI on every device, and mouse interfaces will get better again.
Costumes to make zombie Einstein proud
Indeed. Please subtract one decade. I shall leave my error in place as a pennance.
Unfortunate Ellen Degeneres video
The combination of Ellen's guest, who is with disability, and the Youtube wording, has this unfortunate result. https://www.youtube.com/watch?v=cQPCE9TEPk8
One thing I think F# got right is that it removed some of the "flexibility" in OCaml's syntax. For example, it uses significant whitespace to define scoping, which removed (in nearly all cases) the need for the 'in' keyword and lots of parentheses and semicolons. That may not sound like a huge deal, but it does greatly improve the readability of F# code (all other things being equal).
How does your service compare to perfect audience or ad roll?
Any decent programming editor will be able to indent that properly and you will see the problem. Also, I agree that it is a bit ugly but it's not that complicated to understand how the match syntax works. Adding a "begin" and an "end" in this code is simple enough :).
Hey HN. TankardApp is a small Mac utility that scratches an itch I've had for a while when it comes to 2 factor auth.

It took a little over 2 months in total to build, working on it close to 3 or 4 hours per week.
Is Matthew Green & team's ZeroCash still getting an implementation?
LOL, this is a fun post. +1 for fun
One could also make the argument that industry does the same thing with your average college student - offloading education and training cost onto the taxpayers and students and then reaping the benefits.

Doesn't make it right, I;m just saying the argument could be made.
Moving Past Default Charts
Teaming up with Oxford University on Artificial Intelligence
I use Intellij with the PyDev plugin as my IDE and Atom (with the script package) as my text editor. In general unless it's a really quick edit PyDev is MUCH better in the general IDE functions, like autocomplete, jump to definitions, visual breakpoint debugging, etc.. I love atom but Intellij is much better for serious dev/debugging sessions.
SR also sold identity theft kits, hacking tools and such.

It was not just a place of victimless crime. It would be nice if just ONE of you DPR-loving sociopaths would be honest enough to admit this.
Until china decides to sell those metals at a lose again driving these other companies out of business.

Power of the free market
Now I know :) +1
Drawing dynamic SVGs with React.js
This is interesting in that it highlights a number of problems that every peer-to-peer network that wishes to use something like Tor for privacy needs to take into account.

I also wasn't aware that Tor hidden services can be "blackholed" so easily (it sounds like this is probably well known to regular Tor users, though).
The definition of what makes a "good" drug (i.e. one that is used medicinally) and a "bad" drug (i.e. one that is addictive and/or used recreationally) is somewhat arbitrary to begin with, and in quite a few cases, it solely depends on how a substance is used (and/or by whom) - ethanol is a prime example, being used medicinally as a disinfectant and sometimes to treat methanol poisoning. The recreational uses of ethanol are, of course, well known, although the line between enjoying a good wine or whiskey or whatever (something that is considered kind of sophisticated by some people) and making a fool of yourself or even being an alcoholic is fairly fuzzy.

The situation is not entirely different for a number of prescription drugs. Sometimes, the benefits of medicinal use are considered to outweigh the possibility of "abuse" (as is the case with codeine, oxycontine, ketamine, a number of benzodiazepines and so forth), sometimes the possibility of non-medicinal use kind of poisons the well (heroin, psychedelics).

Personally, I think it is time to rethink the public policies on drugs. Prohibition has been shown - repeatedly - not to work and to cause a number of problems. Lifting the restrictions on many mind-altering substances would also make it easier to evaluate their possible medicinal uses (and to actually put those substances to use if they are found to be beneficial). Also, it would allow society and politics to start viewing addiction and all the problems that go along with it as a health issue rather than a law enforcement issue. The only substantial difference between an alcoholic and a meth or heroin addict is that alcohol is legal and that alcoholism is - to a degree - tolerated (or ignored) by society.
It's really a shame for mobile gaming that this does push hard in this direction. [0] is one of the few developers who make great interactive fiction for Android (and maybe iOS). Their "Sourcery" and "Sourcery 2" games are really really nice (although terribly short).

What I'm missing is also a "Professor Layton"-like game.

[0] http://www.inklestudios.com/blog/
Thank you! All my doubts are in the past!
How to Successfully Refine Social Media Campaigns
EBay open sources a big, fast SQL-on-Hadoop database
Also, you can mix fruit juice 50/50 with water and it'll taste great (depending on thirst, possibly even better). This works with apple juice and OJ[0], but really not with soda (I tried). Of course it helps that I live somewhere where the tap water tastes indistinguishable from bottled water.

Years ago, I was in Austria a lot, where it was a perfectly normal thing to order "Apfelsaft mit Leitungswasser" (apple juice with tap water). Which you'd get for the regular price of an apple juice, in a twice as big glass, that they'd top off with tap water.

[0] also, grapefruit.
Maybe it's up to the more sensible in the kernel "community", to reach out to the developers of code known to be interesting to discuss what's in it for them to do the work required to get it merged, the probability of doing a ton of work, and then being ignored etc etc.

There's a sense in the above of "They haven't submitted us so we don't care." It might not be the best way to make the kernel as good as it can be, if that is the goal of anyone active in the kernel "community." (And maybe it is).

I have a lot of sympathy for someone publishing their code and their results and then saying "I won't play stupid kernel politics, your move." I don't know if that's what is happening here or it's cultural differences or something I haven't thought of. Nor do I know if this particular development is worthwhile merging, but hey, neither does the kernel "community" right?
A Case for Higher Level PHP Streams in PSR-7
Great post.

It seems quite similar to French http://www.sortiraparis.com/ that exists for more than 10 years I think.
That's not changing the fingerprint that's using another password.
SVG and colors in OpenType fonts
It's not just the match syntax; it's also the `;` expression separator.

> Any decent programming editor will be able to indent that properly and you will see the problem.

This seems like a weak excuse. In particular, I could turn it around and say, "any decent programming language should be writable without an editor". Also, the issue isn't just reading, it's writing too - it's much harder to foresee/plan all the `begin`/`end`, while you're writing a line of code, that will make the lines that follow work as intended.
That's the way a blockchain works though. If there is a bug in the client that 99% of people use then of course you'll have forking blockchains. And all of this matters less anyway, because clients can fallback to blockchain.info if there is a fork detected, and just warn the user that the client may have a bug.
Linux Container Security
New AWS region: eu-central-1
My apologies. This wasn't obvious from the main project page.
Google’s DeepMind Acqui-Hires Two AI Teams in the UK, Partners with Oxford
What are they a bad choice for? Everything? You can't think of a single scenario where fingerprints could be useful as a form of authentication?
Dashlane doesn't work on Linux - otherwise I'd consider it.
video? It's a podcast.
None of those countries ban companies from other countries they are at peace with from ownership of land containing mineral reserves, which is the policy that was suggested.

edit - one of the consequences of which would be foreign investors hiding the existence of useful minerals on any land they own and are using for something else, so it doesn't get taken away from them.
What do you mean by enough?
Honestly one thing I feel Star Trek got 100% correct (or will be 100% correct) is holodeck, and holodeckaddiction.

I can definitely see people being treated psychologically for hating the real world. Especially with current advances in VR. It already happens with the internet, and that's barely immersive.
Also ASUS netbook + Ubuntu LTS, flawless for years, to this day. Now it's mostly elementaryOS (also based off Ubuntu LTS) on every desktop/notebook, works just as well and it feels even lighter.

I've been using every LTS release since the first ever, and I can't praise it enough. Keep up the good work!
eastern egg?
Introducing Bob
Show HN: Fast Colorz – My Weekend Project (iPhone and iPad Game)
looks Caucasian to me
There's a lot here. It's mostly hidden behind a thickets of taboo, bias, laws and paradigms that have no room for it. Politics, in short.

There's the universally unacknowledged right of adults to freedom in this regard. There's the potential for new medicines. There's the value of non rational thought and states of mind. This is plain in art, but generally derided everyone else because of the relationship to antirational arguments, insanity and other persona non grata. There's the always nebulous concept of personal, indescribable spiritual experience. There's an unavoidable wrestling with philosophical ideas about reality from Des Cartes' solipsism, to Socrates' Parable of the Cave even The Matrix.

There's possibly more to the treatment of mental disorders with psychedelic medicines than simply new and useful drugs. There might be a different approach here to supplement, compliment or partly displace the prevailing paradigms of mental illness. Diagnosis. Pathology. Symptoms. Treatment. The language of medicine is somewhat awkward when dealing with mental illness.

I wish someone had worked out a way to to HN with threaded posts. Something that works in like a collective wikipedia wormhole starting with elephants and ending in Archeology of the early Holocene. but for now, here's a link:

Incredible photographer Phis Borges photographed a lot of indigenous people and developed an interest in Shamanic or Animistic cultures. These usually have a medicine man who performs a role in the culture usually involving trances, healing and visions. He asks them how they got the job and most describe an experience early in life which is diagnosed as schizophrenia inhere psychiatrists are available.

https://www.youtube.com/watch?v=CFtsHf1lVI4
This concerns me more

https://news.ycombinator.com/whoareyou
CivilHub
CivilHub is an innovative social network enabling people to suggest and implement changes in places where we live. We join people by concentrating them around the local communities to make the world a better place.
Now try WhoIsThat?user=
That's not the only model for unionizing. I don't live in the US or work in tech, but from where I sit, the industry (in the US) appears to be advocating for the relaxation of visa restrictions to import cheaper talent. That seems like it would eventually erode salaries/conditions (if it hasn't already).

The market for tech employees looks great, to my untrained eyes, but I hear a lot of grumbling from my dev friends in the states that the salaries they are being offered are quite low. I'm not certain how to reconcile those data points. I wonder whether it would be wise for devs to consider unionizing now. It certainly makes more sense to play that card when the industry has limited power over the labor force. If power shifts in favor of industry, it will probably be too late to do anything about it.
Yours is funnier than mine.
"But from a moral standpoint, "guilty" is definitely the right word."

Morals are subjective, I realize that you've claimed to be speaking for yourself only; but with a comment such as that I have a hard time believing it.
Did anyone else get a brief surge of adrenaline thinking your username was for some reason on the front page of HN?
Dude... please...

This political correctness shit is going too far...
A scenario is Bob would be deployed in protected ocean areas that are frequently trespassed. Though these areas are protected on paper, the areas are so vast, and the actual guards so few that the protection is non-existent.
Bob could sit on the ocean floor listening for boat engines and the like, on detection he can rise to the surface and signal the relevant authorities for help. Once done bobbing, he can descend and go back into power saving/listening mode.
1. "Allopathic" is a term used by some medical cranks to refer to real medicine. (It simply means medicine that isn't based on the principle that "like cures like", i.e., that a remedy for a disease with certain symptoms will be something that causes those same symptoms. Since that principle is bullshit, and cases where "like cures like" arise only rarely and by coincidence, essentially all medicine is allopathic.)

2. It is not undoubtedly true that much medicine is based on religious superstition and racism (nor does the article linked here either make or justify that claim). In particular, I doubt it. (Unless you take "much" to mean something way too weak like "at least one instance".)

3. It may well be true that "the patent system" and "arbitrary regulations" have bad effects in western medicine. I see no reason to categorize those bad effects as having anything to do with "superstition", nor have you given any. Would you like to expand on your claims?

4. "Modernity" is waaaaaaaay too broad a category for it to be useful to blame things on. Again, would you like to say what you actually mean? Are you, e.g., objecting to the idea that medical treatments should be evaluated by scientific experiments that compare their effectiveness with that of alternatives?
A Git user's first (and hopefully last) foray into SVN-land
The present/future of AngularJS
Six Common Internet Privacy Myths
The human-driven driverless car
I'm dead sure the beginning of your post read differently a while ago.
From a Rwandan Dump to the Halls of Harvard
My non-technical partner tries Windows 10 for the first time
Why must high entropy passwords be rotated regularly anyway? Shouldn't they only need rotating after a certain number of incorrect logins? Shouldn't that number be decently high?
Looks good- thanks for that.
Nitpick: Pollard's rho is unproven not because it relies on the birthday paradox, but because there's no way to prove that f(x) = x^2 + a behaves like a random walk. It may not because, e.g, the length of the cycle may be the same for every prime divisor of the number being factored.

Similarly, the complexity of the quadratic sieve is heuristic because there is no known way to prove that (sqrt(n) + i)^2 - n results in the same distribution of smooth integers than that of a random sequence of the same size. Dixon's algorithm [1] turns the quadratic sieve provable (but much slower in practice) by sampling randomly instead of sequentially. Sieving is thus no longer possible, but we get a subexponential running time of L_n[1/2, 2 sqrt(2)]. The hyperelliptic curve factorization algorithm [2, 3] is another probabilistic but provable algorithm with a more efficient but not provable counterpart, the elliptic curve method [4].

The blog post only seems to care about deterministic factoring algorithms, though. There are indeed no known deterministic factorization algorithms with better than exponential complexity.

[1] http://www.ams.org/journals/mcom/1981-36-153/S0025-5718-1981...

[2] https://math.dartmouth.edu/~carlp/hyperI.pdf

[3] https://math.dartmouth.edu/~carlp/PDF/paper129.pdf

[4] https://openaccess.leidenuniv.nl/bitstream/handle/1887/3826/...
I expected to receive an algorithmic psych profile of myself based on my HN comments.

Instead, I needed to work out if it was an IP address, or a count of how many hours I've spent on here...
For those who don't know, Mapillary is attempting to be an open source, crowd sourced equivalent of Google Street View. You can download the app on your phone and do some street view today.
A Stiff Upper Lip Is Killing British Men
Oh, wow. I wouldn't have known that from the blog post at all. That's awesome. An app is the perfect delivery mechanism for this.
Good ideas should survive. What technology are they going to use to build the new site?
No; people affected are people who bought some devices from someone who bought some devices from someone who wanted to use FTDI parts, who bought their parts from someone who bought their parts from someone who didn't want to use FTDI parts.

FTDI action hurts everyone except the ones they were targetting.
Admins Who Used
Just installed it on my WP, and I'm really glad there's an app available (most neglected platform).

Congrats to Mapillary for becoming the default street view. I hope to help in my neck of the woods!
> ...non-addictive...

I agree with your general point, but SR was being used for all kinds of things including selling Cocaine and Heroin (and also for not selling drugs but services). Those are very addictive drugs by almost any definition. Fine if you want to argue they are less harmful than, say, alcohol, but they are definitely addictive. Do not allow your point to be weakened by stating something that is clearly incorrect.
People are well within their right to believe he is guilty without waiting for a trial. People are well within their right to continue to believe he is guilty even if he is found not guilty - the standards of evidence and requirements to find someone guilty in a court of law are on purpose stringent on the basis that it is worse to imprison someone unjustly than let some criminals go free.

There's a vast gap from believing someone is guilty without waiting for a trial, to advocating the repeal of the rule of law.

As for your statement unless someone has presented evidence and accusations founded in something more than thin air, your example is not in any way equivalent.
It's been proved by reverse engineering the FTDI drivers and annotating the code. It exploits some edge case in which the counterfeit device does not behave exactly like the original. https://marcan.st/transf/ftdi_evil.png
Or an open index with unlimited API access
I have had a similar experience. I just moved from my alumni organization's pop mail to iCloud for my personal email. I immediately started getting a ton of spam, and even contacted apple support about it. I am not sure exactly what the issue is, but the spam messages are all forwarded from my alias @stockbridges.org and iCloud doesn't filter them at all as far as I can tell.

Most of my reason for moving was that I also just purchased an iPhone, and the integration seems much better. Apple's mail program on the mac had a lot of trouble with gmail. I actually contacted apple support about the spam (free since I just got a new phone), and they just told me to mark it and forward it to spam@icloud.com which doesn't seem to help. I think my next step will be to submit a bug report. I love apple, and my new iPhone5s, but the spam is a hassle.
Pollute the jury pool? If they bring in 100 potential jurors maybe one might have some basic knowledge about Bitcoin if they're lucky. A few might recall hearing about it on the nightly news once. Chances are none will have heard anything about "the Dread Pirate Roberts".
Wow, how old are you? Like 8 million years?
Perfect - thank you.
I would also change the title to be mail specific. Gmail may be better, but I actually prefer the integration of pages, numbers... over the google alternatives which are browser only.
Same. Learned a lot doing it but the events space is very difficult to grow a business in.
Java 8 Lambda Expression Explained in 5 minutes
The webupd8 PPA repositories are only available for Debian-based distros. Perhaps parent is running RHEL or CentOS.
RubyMine FTW. It's amazing to me how completely Dwarf Fortress -- um, I mean vim and tmux -- have conquered the Ruby dev world.
I saw this as well today.
British serial entrepreneur missing as $1.4m Bitcoin is apparently stolen
No WP support from a tech company of this scale? Simply embarrassing.
BBEdit 11 Released
The WM app is contributed by Tommy Ovesen one of the Norway Mapillary members, see http://blog.mapillary.com/update/2014/05/15/windows-phone-re...
Show HN: A tool for easier Facebook page management
RubyMine is pretty damn good, especially because you can immediately jump to the source code, even of libraries, and just read the list of available methods. It's amazing to me how completely Dwarf Fortress -- um, I mean vim and tmux -- has conquered the Ruby dev world.