skysight-inc/HackerNews huggingface dataset:
My job right now is working on a C# codebase. I'd love to re-write everything in F#. I feel like it's higher level, less prone to error, and would make the codebase much smaller.

The thing is - no one is going to be impressed if they hear it's been re-written in F# because I assume doing so is going to make the software easier to maintain, easier to extend and more reliable. Not management, not users, no-one.

Now, if I did the re-write and LOC went down by half, or performance improved, or it fixed a lot of bugs, or I was able to add features in much more quickly because abstractions were tighter and easier to create and the compiler was able to check more constraints for me - then people might take notice.

There is, however, no inherent value in the source language being changed in itself.
"In particular the most likely explanation for correlation between bad names and bad code is unskilled or inexperienced programmers..."

Totally disagree with this assertion: Laziness and two fingered typing are to blame.
They're exactly as crazy as they seem at first glance
-I now live in a rural area where I've yet to see someone homeless. However, when I lived in more urban areas, no homeless person ever made me feel unsafe.

Yes, if I was having a bad day, being asked for some change for food could be a nuisance (in particular the twelfth time the question was asked while you were already running late for an appointment!) - but overall, when living in a city, the people who on occasion made me feel unsafe didn't appear to be homeless.

Just out of curiosity - if being homeless is sufficient grounds for not being allowed to frequent public spaces, where do you suggest people so affected gather? After all, by definition, they haven't got access to private spaces, no? (Yes, this is a somewhat snarky question, I'll admit.)
I look at current KDE and compare it to Win10 and I have no idea what you mean by primitive.

And this is comign from a rabid i3 user.
ROFL. You obviously have no clue what place you're quoting.

Monaco is a small rock < 1 sq mile that is a fiscal paradise and a home for billionaires.

https://en.wikipedia.org/wiki/Monaco
You are welcome to ignore this thread.
Awesome Unicode
I believe everything except odor free. Got a link to evidence?
I pay about 60% of my income in taxes. How much more should I pay so you and your friends can live without working? I also donate 10% of my income to the causes I care about. Should I be forced to give that income to the things you think are better than my choices?
I think your dismissal of the article as "propaganda" is nothing but trolling. Why do you think Cannabis should be illegal? Countless anecdotes have shown that cannabis works where other medicines don't. At what point should we drop this charade of a "war on drugs" and just accept that this plant has medicinal properties like no other?
I read old books because I would rather learn from those who built civilization than those who tore it down.
As a curosity - why should the surplus go to everyone? Shouldn't it go to the initiator of the innovation?

The market distinguishes between the users (eg - people using MS Excel or Google search) and the initiators (in this case Microsoft or Google).

Put in another way - would people be as efficient if we remove the tool they are using for the increased technological efficiency?
Who did the author of the paper cite?
The Soviet Union Is Gone, but It’s Still Collapsing
Don't forget about the unknown knowns! The things we know but which we don't know that we know.
I think your definition of "conservative" is cheating around to suit your argument (that's not a slight against you, most people make this mistake). In "prior decades", conservatism was a different thing. It wasn't a refusal to acknowledge that there are aspects of reality that will not move just because you want them to. We are very, very far afield from an intellectually respectable conservative movement that resembles the one where a conservative academia existed. For example: never mind that Richard Milhouse Dirtbag Nixon created the EPA--the idea of clean air and clean water being a social good that should be available to all people is a liberal idea now. That is a pretty big swing.

The conservative movement that attacks facts because facts refuse to coexist with their ideology was a Pat Buchanan minority before about 1990 and didn't exist in the mainstream of political thought before about 1970. Do you realize that the modern conservative movement defined "reality-based community" as a pejorative because they believed they could simply create their own realities[1]?

Turns out that when you fight reality, reality fights back. It's not really a surprise that burning effort on that struggle is not conducive to scientific pursuits.

> And we also see conservatives talking about how hard it is for them to be themselves on campuses. It isn't that their politics interfere with them doing science. It is that they are a hated minority.

When your belief system is predicated upon what modern conservatism is predicated upon, yes, you're going to be disliked. It is a very dislikable system of belief! And I mean, I'm speaking from experience. It wasn't that long ago when I was one of those Campus Conservatives, speaking truth to the Liberal Elites. I delighted in being the gadfly. I got shit because I acted like a little shit. (And I regret it now, because my desire to be Loudly and Emphatically Conservative actually hurt people; I was never so broken as to fall in with the racists and the homophobes, but I had no problem with the very morally upright hang-the-poors ideology and saw nothing wrong with "well, why don't they just work harder?".) So pardon me for being real skeptical about how very oppressed they are.

[1] - http://www.nytimes.com/2004/10/17/magazine/faith-certainty-a... (the puncher quote there is largely believed to be from Karl Rove)
Breaking your silence! Are you Mr. Spurrier? Ciao.
Is there a benefit to use dd over cat in this case?
shameless plug: I'm already using headless Chrome for https://www.prerender.cloud/ and it's amazing (just building it from source https://docs.google.com/document/d/1a9cdsljKxCSreR2LDE3KErJh...)
The last time I had read about this sort of thing, welfare payments (debit cards?) of some form had largely replaced what soup kitchens used to do, the conspiracy theory being basically "out of sight, out of mind", as soup kitchen lineups as we had in the 30's is extremely bad publicity for the government.

I'm not sure how true this is though.
Would you be willing to consider someone with 1.5 years of exp ?
I think a large part of that is due to the fact that CBT therapy can feel patronising to a lot of people.
I think the issue is you need parallel corpuses of (sentences with grammatically errors) -> (same sentence but correct). Gutenberg has a lot of only the latter I think.
Reminds me a bit of Daniel Suarez's Daemon/FreedomTM.
I believe the data is global so the numbers are probably skewed by China and other sources as well. FWIW, I sell a few add-ins for Excel, targeted at B2B users. I get roughly 60k uniques/month, and my Windows visitor stats are:

7 - 61%
10 - 28%
8 - 8%
XP - 1%
Vista - <1%
Colorado has has it legal for a couple of years now. Is it a dump?
Why does the history of a culture or a nation endure? Why do children know about the civil war or slavery in the south? Why not the list of American Idol winners?

I don't think your response is merely incredible, it's actually a malicious and toxic kind of sophistry.
Now that RedHat bought Ansible and is integrating it with Satellite it's going to be a tough sell in our office if someone wants to use something other than Python for DevOps projects.
A lot of people thought Hillary would win anyway, so they didn't care as much that some people believe crazy things.

A mistake this big is a wake-up call.
I do not have kids, but I personally am more afraid of "alt-rights", fascists and neo-Nazis taking over both entire cities and public discussions.

Been homeless for a short time myself and was connected with the "scene" before and after that, homeless people are a quite peaceful crowd and often show more kindness towards other people and animals than "ordinary" people.
It depends on your definition of "need".
I'm actually very curious to find out how that will turn out in the long run because another source of the same kind definitively show quite a different trend for MacOS (and IMHO more continuous & realistic) : http://gs.statcounter.com/#os-ww-monthly-201512-201612
There's a busy Reddit thread about this: https://www.reddit.com/r/news/comments/5mqmpd/tampa_activist...

Along with all the usual and boring arguments you'd expect to see about homelessness (and which are already playing out here now too), there are a handful of comments from people who live or work in the area. They're saying that it's not a popular area for homeless to congregate anyway and that this action is more likely motivated by the National College Championship event in Tampa rather than out of any concern for food safety, littering, or homeless issues.

And what a better world it would be if everyone had to actually get to know a few homeless people before they could make any proclamations about homeless policies.
Yes, yes we do. We want to be able to fund our schools, or fix our roads, or simply avoid the cost of incarcerating people who possess it while hurting no one but themselves (if you demand to buy into reefer madness).
Probably a silly question but what will I do with this?

I have a personal DO OpenVPN proxy setup because my country (Pakistan) censors internet, which I made following the DO guide [1]. I set it up a while ago, and it was mostly copying commands.

Will this allow me to use Tunnelblink and use my VPN as a proxy? Will it let me connect my machines to each other a VPN? What's the motivation for a setup like this.

[1]: https://www.digitalocean.com/community/tutorials/how-to-set-...
4 Types of Prospects Who Don’t Buy (and How to Convert Them)
Insurance is an imperialist construct of the patriarchal white capitalists. Not a thing for these ideology champions.
but will it correct "lets eat grandma"
You also won't find the value if you try it in the most difficult places.
The battery life sounds like the nicest improvement, honestly. I've got the 2015 9343 version with the QHD+ screen running Fedora, and I'm lucky to get six hours out of it.
Females seeking partner can tell if males experienced stress during adolescence
This is undefined behavior: while `head -1` will only output a single line, it may read more.

It happens to work on GNU head when stdin is seekable file, because GNU head specifically rewinds the stream before exiting:

$ (strace -e read,write,lseek head -1 > /dev/null; cat -) < file
...
read(0, "hello\nworld\n", 8192) = 12
lseek(0, -6, SEEK_CUR) = 6 # <-- here
write(1, "hello\n", 6) = 6
+++ exited with 0 +++

If not for that explicit `lseek`, `head -1` would have skipped the entire 8k buffer.

As far as I know, this is exclusive to GNU cat. Neither Busybox nor OSX cat will do this, and will therefore throw away an entire buffer instead of just the first line. You can try it out:

(busybox head -1 > /dev/null; cat -) < file
If you are giving food to other people (be it in a grocery store, in a restaurant, or giving it away) it's reasonable to expect that you can give a reasonable guarantee that that food is not spoiled.
A bit OT, but is there a C API that Piston exports? I.e., could I use Piston from C/C++ (or another language that supports the C ABI)?
Practically speaking, if this media story goes viral it could spurn a large fundraising effort for the area. Won't solve the root problem but it'd be a hell of a bandaid.
> It is linked with psychiatric problems.

Causation or correlation? Are people with psychiatric problems more likely to self-medicate with MJ? The conclusions drawn from the facts you mention are dubious at best.
Is that a regular event they listen for? I thought it was black holes colliding and a couple of average size stars wouldn't be significant enough to cause a blip.

It would be awesome if they could tie a gravity wave event with an event visible to the naked eye.
I run a pfsense router for fun at my house and it has a really nice UI/wizard for OpenVPN. Even got it hooked up with AD login + certificates without much trouble.

Having a GUI can make playing with it really fun and easy. I spent yesterday toggling through all the different encryption methods to see how they effected mobile performance (turns out: it effects it a LOT. Don't encrypt stronger than necessary!)
And this is why some conservatives get angry at liberals for laughing at them for their attachment to the principle of keeping the government out of their affairs.

The park belongs to the community, and these people are choosing to feed homeless people using private funds in this park. The government should have the sense to use discretion when their is a technical violation of the law and consider whether the spirit of the law is being broken. Politicians and public servants are supposed to be a proxy for the will of the people, not dictators who decide what is proper behavior for themselves.
I did not downvote you (I have no time for people who downvote without explanation), but I do think that philosophical 'experiments' are not at all like science experiments, and the salient difference is precisely the lack of an empirical arbiter. Your second paragraph is a good argument for that point.

One consequence is that philosophical experiments rarely reach a conclusion (except when science does catch up, as will probably happen over consciousness, for example.) I have come to realize that reaching a conclusion is not the point; the discussion is the point.
I mean, which has the upper hand?
Translation please?
Something smells a little fishy about this article. First, let's not vilify the police that told these individuals to stop. They were breaking the law, and the police did their jobs. Two years ago, I was selling t-shirts without a permit next to Madison Square garden, and was arrested. Before the officer took me in, he spent 10 minutes talking to me, getting to know me, and explaining the law to me. I guess the guy could have turned a blind on, but i'm glad he didn't. Since then, I've had a decent amount of exposure obtaining permits in the cities I've lived in. The process in some cities is horrid, but others, not so much. Regardless, there is red tape that one has to go through to put on "events" like this. That being said, what would get me angry about this story is if someone in their group tried to work with the city to obtain a permit with their restricted time frame, and was denied.
Having your children taken away from you by the state and giving the mother of your children unearned wealth under threat of force is 'fine'?

I've heard enough "I pay exorbitant amounts of child support but can't see my kids" horror stories to ensure that I will never have children in a western country.
That's what makes blog posts like this tricky: this post is one for the project itself, which means that its audience is already for people who know what the project is, etc. Someone posted it on HN, and it got upvotes, so it gets to a broader audience, who may not inherently know these kinds of things, or not care.

So your point here is valid, that is, "as someone _not_ in that audience, why should I care?" That's what the other thread, with its replies, is getting at. Which is why I pointed to you to it.

It's possible as well, of course, that maybe that _still_ means this doesn't matter to you. Which is also expected; nobody is going to like every thread on HN. That's why the guidelines[1] have the section of "Please don't submit comments complaining that a submission is inappropriate for the site." And it gives you something to do instead: " If you think a story is spam or off-topic, flag it by clicking on its 'flag' link." And beyond that, you could just skip this thread and read any of the other 29 posts on the front page. That's how I usually handle posts that I don't have any particular interest in.

https://news.ycombinator.com/newsguidelines.html
Show HN: Use Ansible to Run a “friends and Family” OpenVPN Server on Digital Ocean
Yep.

> You may well ask: "Why direct action? Why sit ins, marches and so forth? Isn't negotiation a better path?" You are quite right in calling for negotiation. Indeed, this is the very purpose of direct action. Nonviolent direct action seeks to create such a crisis and foster such a tension that a community which has constantly refused to negotiate is forced to confront the issue. It seeks so to dramatize the issue that it can no longer be ignored. My citing the creation of tension as part of the work of the nonviolent resister may sound rather shocking. But I must confess that I am not afraid of the word "tension." I have earnestly opposed violent tension, but there is a type of constructive, nonviolent tension which is necessary for growth. Just as Socrates felt that it was necessary to create a tension in the mind so that individuals could rise from the bondage of myths and half truths to the unfettered realm of creative analysis and objective appraisal, so must we see the need for nonviolent gadflies to create the kind of tension in society that will help men rise from the dark depths of prejudice and racism to the majestic heights of understanding and brotherhood. The purpose of our direct action program is to create a situation so crisis packed that it will inevitably open the door to negotiation.
(https://www.africa.upenn.edu/Articles_Gen/Letter_Birmingham....)

"I am going to keep making you embarrass yourself in public until you finally come around".
Shameless plug: I've been using it to get Chrome on Google home - https://paul.kinlan.me/chrome-on-home/

(Disclosure: I'm a developer advocate for chrome so I'm heavily biased, but I love everything people are doing g with browsers on the server https://paul.kinlan.me/the-headless-web/ )
You don't need a permit for that. A permit is a piece of paper signed by someone who will never see this food.
So ordinarily I'd just upvote this and move on, but that blog post under [1] is fantastic and deserves all the encouragement to read it that I can muster.
I'm not the author, but looking through the sibling comments I feel I should point out the obvious: startup time.

It can take long seconds for Clojure REPL to start up. No other dynamic language I had contact with was that bad on that front. Even Erlang and Elixir boot up faster!

Of course, I know about various ways of setting up a daemon process in the background, but then there is a need for reloading/hot-swapping code, which Clojure also fails to do well. Both Erlang and Common Lisp (also Emacs... even Emacs!) are better in this regard, both for different reasons.

Anyway, Clojure overall performance impression - how fast it feels for users - is bad and will remain bad unless the startup problem is fixed.
British government taking a moral high ground
https://github.com/Nyr/openvpn-install with a budget $15/year vps and you're good for personal needs.

That said, this is a great write-up and I'm sure very helpful to those that need to set up a more custom/mission critical development.
We can certainly have a world where debt doesn't make people homeless, but addiction is a much more difficult problem. We can do a lot better there with better mental health care.
Bounds checking and panicing are similar mitigation techniques and not an actual freedom from memory-born vulnerabilities, just take place directly in the code, not on the OS level.

Things are a bit more complicated with image libraries though, because a) performance is usually critical and b) even if you have that casual use case and it's not yet critical, memory safety is still not going to make it free from vulnerabilities to accidental DoS attacks (not even talking about malicious users here!), unless you apply those mitigation techniques and deploy supporting infrastructure to prevent process from using all memory and all CPU and take too long, etc.
I don't believe so; Piston's goals are to make libraries for use in Rust, rather than trying to use Rust to improve other software, as far as I know. I did a quick look through of it and didn't see anything indicating there was, both in the main umbrella "piston" project as well as "image" in particular.
> NICE was recommending Beating the blues because they have some evidence of efficacy for it.

You know how 'traditional chinese medicine' came about? Mao needed to invent something to give to the peasants that wasn't expensive as real health care.

http://www.slate.com/articles/health_and_science/medical_exa...
https://www.math.ucla.edu/~jteran/papers/JSSTS15.pdf
Good point. I think that depends entirely on how batshit crazy the human response is. Hopefully very little, but 5 years is plenty of time for people to come up with some self fulfilling prophecies / build a cult.
Show HN: TodoMVC with Tweed.js
I'm aware of what Monaco is, and you are right, it is small. It is a home for billionaires, as is the USA, India, and China, although the density both geographically and per capita is higher in Monaco. However, Monaco is responsive to the question, it's just not a response you like.
I feel like a world where people who have addictions are treated rather than criminalized can exist.

Debt isn't a problem in itself, but I don't feel like there's enough support for people who find themselves in rough financial situations. Dealing with money and debt isn't that hard, but you need to understand it and I think there's loads of people that don't.
We do.

Here's the office: http://photos.dailynews.com/2016/09/photos-fender-musical-in...
You have very negative opinions about conservative people. I guess I can't be sure they are wrong, but they seem wrong based on the conservatives I know, follow on Twitter, etc.
You're missing an opening tag.
Martin Shkreli harasses Teen Vogue writer, has Twitter account suspended
Is there no way to indicate to GCC when you want something fully evaluated at compile-time? Maybe some pragmas? 98% of the time I probably don't care whether GCC does a good job optimizing this properly, but for the times I do care: what should I do?
https://www.netmarketshare.com/report.aspx?qprid=9&qpaf=&qpc...

It's not that hard to believe. Their iPad + keyboard is cannibalizing their desktop.

I'd love to see iOS + Mac versus Windows + Mobile Windows
Ah I see, I thought you meant a more general comparison of how someone with a humanities or engineering background experiences poetry. I have no experience with US academics (which I presume you are referring to).
AlphaGo is still dumber than a potted plant, the tiny amount of intelligence it has is just all focused on Go, which is enough to beat the masters at that one specific task.

Now imagine you have a system with human-level intelligence and you tell it to beat the masters. Rather than becoming really good at Go, it might discover how to escape its container and sabotage the match, murder its opponents, etc.
You also need a permit to open a store of any kind, which doesn't mean the guy who signs it will ever walk into it.
I also got some weird results in the small sample of testing I did.

> The player chose to go to the good team rather than the sucky one.

> The player chose to go to the good team than rather the sucky one.

And it seems to like duplicating adjectives:

> Being worse off than even worse off makes one feel sad.

> Being worse worse than even worse worse makes one feel sad.
Yet some people consistently do much better on these exams than others. There is definitely a skill to it.
10 Tech Predictions for 2017