skysight-inc/HackerNews huggingface dataset:
Since you have time to make this place worse by posting snarky comments about how beneath you it is, you should also have time to make it better.
Perhaps someday it will meet Mr. Splashy Pants.
>Is audience behavior a problem? In my limited experience, it has never been a problem.

I hate, deeply and profoundly, the sound of people eating. If it doesn't bother you then you might not have noticed this, but about 50% of popcorn eating cinema-goers cannot chew with their mouths closed.
I find it direct and nasty, but not mean-spirited. I think he does that because he cares about this, and hasn't managed to get his message across.

And I think he has good points. In particular, ports running make as root makes every buffer overflow in your C compiler, linker, and whatever other tools build scripts run a potential root exploit. Yes, other security measures such as pledge can decrease that risk, but why run the risk at all?
The content of programming boot camps will eventually be moved to high school curriculums (I'm not sure if they currently do this in North America or not).

This will be a good thing. Students who were somewhat interested in programming (but not so much after delving into it) will have picked up some basic skills. Those who were very much interested in it will have to take less of a 'leap of faith' when it comes to a third level course.
There's a happy middle ground there. At the call site is where it matters a lot more. If you have a function that's basically nothing but a pattern matching expression, the name of a parameter matters a lot less than the name of the input when you call that function. Same goes for what you name the result.

If you do this:

let r = f x

Then you might be a fucker. But most good F# code I've seen is more reasonable:

let res = getResult input

Granted there's some exception, such as defining your own operators. F# does this itself, where "|>" is "let (|>) f g = g f". I don't think you gain much from adding verbosity to that.
I think it's also because people undervalue these kinds of posts. Many people think that the idea must be novel to be worth a post, but that's not true! There's a lot of value in posts that cover the basics. Sometimes, seeing a concept explained in a different way is all that's needed to get something to click.
Why wouldn't we want to train people to do the jobs that are being outsourced? Especially when the jobs that are being outsourced can be critical to a business and provide valuable experience to the workers that take them on? Gigs that I've heard are being commonly outsourced: machine learning (usually NLP), android development, QA (typically related to frontend)
He's saying that inflation hurts those who are owed money, and helps those who owe money. The people who are owed money are more likely to be rich. The people who owe money tend to be poor. Thus the immediate effect of inflation is to redistribute wealth from the rich to the poor.

The open question is what the longer term effects of inflation will be: who benefits, and who loses, once the system again reaches equilibrium. But based on history, I think we can assume that low inflation works out well for those who already hold lots of capital.
What Matters for Student Achievement
> taking an input, processing it, and returning an output

That's what all software does, if it does anything at all.
Thanks a lot! I spent a bit of time, but didn't get to this.
> if you are applying for work for which the minimum qualification is a degree from an accredited college/university, then any course which gets you closer to fulfilling that qualification has some economic value.

This is true. But why is the minimum qualification a degree? For some jobs that qualification makes sense; but there are many for which it doesn't, yet it is still considered a minimum qualification. The assertion that this state of affairs is largely due to the fact that college degrees are subsidized--many people can get them without having to pay for them themselves--is certainly not original with me; economists have been making it for decades.
> A little OT...but does anyone have insight into the historical reasons of why inheritance seems to be the default entry point into teaching/explaining OOP and classes?

Meyer's OOSC doesn't. It explains inheritance 1/3 through the book, after generics (parametric polymorphism) and Design by Contract. Incidentally, OOSC has this paragraph about inheritance that is worth remembering:

"Neither the Open-Closed principle nor redefinition in inheritance is a way to address design flaws, let alone bugs. If there is something wrong with a module, you should fix it — not leave the original as it is and try to correct the problem in a derived module. (The only potential exception to this rule is the case of flawed software which you are not at liberty to modify.) The Open-Closed principle and associated techniques are intended for the adaptation of healthy modules: modules that, although they may not suffice for some new uses, meet their own well-defined requirements, to the satisfaction of their own clients."

(Emphasis in the original.)

The Item class is not an example of a healthy module. It has been written in an ad-hoc fashion, without concerns about its requirements or thoughts about what contracts it should offer to its clients (i.e. how it interacts with other modules). Unsurprisingly, adapting it through inheritance results in breakage.
"I don't know why so many people think Socialism is about welfare."

Its one of the meanings that the word socialism has come to denote through quotidian usage in media and within Amercian society. Democratic Socialism would likely be a more precise term for these common usage scenarios.

see Usage Discussion of socialism at: http://www.merriam-webster.com/dictionary/socialism
> I'm surprised by this. I associate "Amish" with inbred luddites who abuse their children. I'm not saying "inbred" as a cheap insult. From the Wikipedia article on the Amish

We need to be careful with this. A lot of problems happen when strong conclusions like this are drawn about a people group without actually interacting with actual people. Wikipedia facts are likely correct to some degree (like a stereotype?), but to make sweeping generalizations about all individuals involved is usually not helpful.
>"Somalia is often brought up by Libertarians as an example of a distributed legal system."

It was inevitable, as "Somalia" has been "thrown" at libertarian-type ideas for a very long time. Somalia is a failed state, yet served as some sort of "A-ha! Gotcha, silly Libertarian!" type of retort to almost all suggestions of a stateless, or limited-state society.
This. That and FastMail itself has improved significantly over the years IMO.
Attackers Can Hijack 95 Percent of All HTTPS Connections
I feel like you're approaching it from the concept that the world should be fair. I'm coming from the other angle.

What if you ask for a raise and they said something such as "we can't give you a raise because we can't afford to give everyone a raise." Seems like the knowing of salaries doesn't cure that. "We don't have anymore budget" "We don't have any room for another senior blah"
I've been looking through some of the kernel code [1] out of curiosity, and I'm very surprised to see that most components have almost no internal documentation — minimal file and class comments, and even fewer inline comments. Is this typical of code for something as complex and central as an OS kernel? Are the developers planning to go back later and add documentation, or is the expectation that anyone who might need to work with this code will find its structure and details intuitive?

[1] https://github.com/redox-os/redox/tree/master/kernel/
Most of the subsidy is in the form of tax reductions, a little is in cash like payments (e.g. increased car allowance). But what does it matter? The distinction is purely arbitrary. If the government said "there will be no tax reductions, you get an equivalent cash payment instead", the end financial situation for both you and for the government is exactly the same.

If I sell you a donut for $3 and then give you $1 back, or I sell you a donut for $2, is there any meaningful difference?
> you want it to have a fun name.
reply

It would be really cool if they did. It would garner some publicity.
One of my coworkers passed away after being quite sick for a while. Facebook had been his primary social outlet, keeping everyone updated, coordinating stuff, medium for support and encouragement.

His Facebook account got stolen and then used it for spam. It was pretty hard on his family, close friends.

Seems like Facebook should support use cases for someone to claim an account (like hospitals special case power of attorney, next of kin, etc).
I've seen a few reasons that make sense;

1. GMO is really really hard to define. Figuring out what would need to be labeled would be ripe for manipulation. (i.e. is material genetically inserted from the same species, like doubling up a promoter region, GMO? Or if you discover something through a GM but recreate it 'naturally', is that still considered GM?)

2. The average consumer knows very little science, they'll likely avoid products that are labeled GM, whether or not it makes any sense to do so. Handicapping a potentially important technology to appease the scientifically ignorant seems like pretty bad policy.

From my perspective, opt-in initiatives like the non-GMO project are a better way to handle the labeling requirements.
My roofer (in Lancaster County, PA) is an Amish man who owns a cell phone. He doesn't keep it with him, mind you, he just listens to his voice mail once an evening and returns the calls made. The next day he and his partners get driven around by a non-Amish to each job site of the day.

To use a stereotype in a positive fashion, he, like most Amish and conservative Mennonites I've dealt with, takes a lot of pride in his work and charges very little relative to other businesses.
Hacking the Samsung NX300 'Smart' Camera
This is valid, just not for Go. There isn't some big underlying coherence guiding the design; it's more a bunch of one-offs.

For example, you get a nice operator for appending to a string, but not a slice. A zero-valued slice is empty, a zero-valued map is nil.

This isn't to say that Go is bad, it's just that its tradeoffs aren't in service of any big unifying vision. When range can only iterate over a slice, map, string, or channel, there's no forest. It's just four trees.
I understand now why a GO feature list I saw recently included "no inheritance". I thought it odd that a lack of something was listed as a feature.
Ask HN: Is it be possible to drop the phone and only use a laptop?
Hi HN!

I really don't like having a mobile phone with me all the time,
what I only need is a way to make and receive calls and access
the Internet while on the go.

So I would like to stop using a cell phone and use my laptop only.

I was wondering: using a modem card for in my laptop (an msata modem)
would it be possible to set up some program to make and receive calls,
send/receive sms and access the internet ?

I use a ThinkPad X220 and just got a Sierra Wireless MC8355 / Qualcomm
Gobi 3000 card, and I was wondering if anyone has experience with such
topics.

I run GNU/Linux.

Thanks in advance!
Major Swedish News Sites DDOS:ed
"It is similar to a push notification server like the iOS Apple Push Notification Service, but without the ability to store messages if the client is offline."

Not even close. Layer in X509 authentication and flaky mobile networks and now you're into tuning backoff while dealing with the CPU overhead of the TLS negotiation.

Also of note, AWS' network use to flake out at around 400K TCP connections from the public network. May no longer be the case but it certainly was ~2012.
Hah, good point. I guess downthread people say you can use it to get a 20% refund on your RAM upgrade or something. Guess you'll have to go that route.
Aren't the means of production pretty much people's minds at this point? I'd like to own and control mine.
No, it bothers me (a lot), but I have never noticed it. Usually I have to be in a bad mood to notice it, so that may be why I have never noticed in theaters.

Regardless, does the theater in question seriously notify loud eaters to quiet down or risk being removed from the theater? That is way too strict. Or maybe the theater uses sound-cancelling tech?
You can make some argument for paying for something over time if you are going to use it over time. A house, or a car, could fall into that category. However a big difference is that a house is an asset which normally appreciates in value, while a car is an expense which depreciates. Buying something on credit that will depreciate (or worse, is a consumable) is something to be very cautious about.
Usually the first two socialist priorities are healthcare and housing. Together those things probably account for 35% of GDP.

Consider a trivial example -- the affect that the post ww2 public housing boom did to the US construction industry. Government procurement rules transformed and forced consolidation of the brick industry. On the east coast it went from hundreds of geographically diverse companies to 4-6, all in the south.
Very interesting, seems like this would have potential to improve email transit security quite a bit. It is encouraging to see Google, Microsoft, Yahoo and Comcast in the authors, that would indicate that this has good chance of being applied to large portion of internet email.

Of course email at rest security remains an issue, but that another story.
Speaking of self-selection...on HN, we're likely to hear testimonials from successful bootcamp graduates because -- assuming "success" equates to having a programming job and/or enjoying/understanding programming -- those are the type of people who are most likely to go on to visit and participate in HN discussions (though I know at least one bootcamp that tells its students on day one that they should be visiting HN's front page every day). While people who are dissatisfied with their experiences are just as/more likely to speak out about it -- I mean in general, such as a dining experience or App Store review -- they probably use another, more general forum for that.
You can tell its from 1880 because of the basic html.
This article is terrible. Not only is it full of false comparisons, but every example cited as a supposed failure of capitalism or free markets is actually the direct result of government intervention. A friend challenged me when I mentioned this, so I wrote a full take-down: https://gist.github.com/nateabele/cffa0c54ab0385bbba37
That was my understanding. You're just suppose to handle/return errors normally right?
> offers online ordering on a modern, well-designed website.

Excuse my ignorance, but doesn't this violate the ban on modern technology?
This is pretty useless other than to make you realize you are doing something terribly wrong. Another good hint are the various number of system constants you are having to tweak.

If you have these requirements (no read, only write, zero connection state) you would be best served by doing userspace raw IO with something like DPDK instead of the huge machinery that the kernel spins up for every TCP connection.
> Both brutal dictators; but widely considered to have done a fine job steering economies.

One does not balance the other. Stalin industrialized Russia; Hitler rebuilt the German economy.
I went and saw a movie in SF last weekend.. The couple in front of us, took off their socks and shoes and were dangling their bare feet over the row of seats in front of them.. I was appalled.
One mistake that many people make is attempting to understand the Amish as a religious sect. Really, they're more tribal; in fact, many Amish are essentially Biblically illiterate, as their "official" Bible is a translation in Hochdeutsch, which few understand. (Mennonites and New Order Amish tend to be more avowedly religious, however.)

As to their way of life ... well, they're people, not a theme park exhibit of bucolic pacifism, and people are inherently messy and complex. None of the Amish sects support personal fulfillment and self-actualization, certainly, and the social penalties for transgression are steep. Even worse, the insular and passive nature of the communities end up giving support to those who physically and emotionally abuse their families, even if they're a very small number within the larger Amish society.
You can't deduct your hours, only incidental expenses like gas and bus tickets.
I am assuming you are using "luddite" in the way it is typically used nowadays to mean opposed to technology, rather than using it to try to compare them to those who protested being replaced by machines in the early 19th century.

If so, you are quite wrong. This article on Amish hackers is enlightening: http://kk.org/thetechnium/amish-hackers-a/
Although that appears to be true for software or paintings you create yourself (see discussion below), I don't think it's actually true for software or paintings that you bought. In those cases you would deduct the fair market value at the time of the donation (with some exceptions).

This is actually a common tax loophole: you can donate appreciated stocks and get a write-off for the full value, without having to pay taxes on the gains.
This can be done in Java just fine:

public interface PriceAble
{
int getPrice();
}

class Book implements PriceAble
{
int royalty = 2;
int markup = 8;

@Override
public int getPrice()
{
return royalty + markup;
}
}

class Movie implements PriceAble
{
int price = 15;

@Override
public int getPrice()
{
return price;
}
}

class Cart
{
int cartTotal = 0;

void increaseTotal(PriceAble priceAble)
{
cartTotal += priceAble.getPrice();
}
}

public class forExample
{
public static void main(String[] args)
{
PriceAble movie = new Movie();
PriceAble book = new Book();
Cart cart = new Cart();

System.out.println(cart.cartTotal); //prints 0

cart.increaseTotal(movie);

System.out.println(cart.cartTotal); //prints 15

cart.increaseTotal(book);

System.out.println(cart.cartTotal); //prints 25
}
}
When I moved to Southern California I had GPS nav in my car. Being new to the area I used it on every trip. After a year or so I realized I still had no idea how to get to anywhere.
Or to compare salaries with those one works with. I just found out how much my colleague makes.
I've never seen or expected to see "limit yourself to one processor for better security" as actual advice. Maybe this is sarcasm that I'm misreading?
If ldn means London, you're severely underpaid. A 12mo internship in a London bank as a CS student pays in the 35-40k bracket. I don't know where you're applying but they're not touching market rates for anyone with experience.
Don't show that to the Universal Basic Income diehards...
No problem, this is a common misconception with the Amish. The Amish are not categorically anti-technology. They didn't randomly put a stake in the ground and say "no new tech after 1743!" or whatever.

Instead, they evaluate every single piece of technology before deciding to use it, to see if it will disrupt their culture and way of life. For instance, many Amish communities decided the utility of telephones was a good thing when they were first invented. Then they found that they encouraged gossip and other things they saw as culturally negative. So many Amish communities instituted a communal phone booth in the center of the village -- if you need the utility of a phone call, you have it, but without the personal temptation that comes with a personal phone.

Also there are many variants of the Amish, especially if you include the broader Anabaptist and Mennonite communities, each with their own rules.

For instance did you know some Amish communities allowed personal automobile ownership? They are not around any more because personal automobiles made it very easy for them to disburse and their communities died.

You could say that the Amish culture that survives to this day in a recognizably Amish form has been shaped by natural selection of a sort -- a test of whether the techs they choose perpetuate their community, or lead to assimilation.

(I don't have the specific citations for all this on me at the moment, but it's from what I've read in many articles and books about the Amish I've read over the years)
Spock hacks into Groovy's AST to make labelled expressions have special meanings:

def "adder-test"() {
given: "a new Adder class is created"
def adder = new Adder();

expect: "Adding two numbers to return the sum"
adder.add(3, 4) == 7
}

It could all easily break if the Groovy parser or AST is updated. And very clunky, which says something about Groovy's design post v 1.5.
There is no ban on modern technology. See:

http://www.npr.org/sections/alltechconsidered/2013/09/02/217...

http://kk.org/thetechnium/amish-hackers-a/
<tin-foil-hat>
Is it just me or is education being slowly but steadily subverted in many countries at once?
</tin-foil-hat>
That's what I was thinking. Simple, barely enough for a router or somthing. Not Cloud Infrastructure 3.0 haha.
The author of 'So Good They Can't Ignore you' (http://www.goodreads.com/book/show/13525945-so-good-they-can...) basically argues that the first rule he mentions ("Don't mistake your vocation") is a false myth:

"In this eye-opening account, Cal Newport debunks the long-held belief that "follow your passion" is good advice.
Not only is the cliché flawed-preexisting passions are rare and have little to do with how most people end up loving their work-but it can also be dangerous, leading to anxiety and chronic job hopping."
> Do you suppose congress would have spent money on the poor?

In a recession, at the margin, all spending on remotely sane anything (infrastructure, for instance) is spending money on the poor.
I wonder if a bulk data download is available. Some NLP and data analysis could produce some incredible results here.
Here's the biggest reason why I don't mind taking out a loan on a car, one of the most aggressive and most expensive depreciating assets out there:

Comfort. Immense comfort.

I spend a lot of time in my car. I enjoy the car that I have now (a 2012 Honda Accord EX-L), but the only reason why I didn't take out a lease on something more expensive (like a 535i or an E-class) is because we're planning to move very soon and driving a luxury car in NYC makes no damn sense unless you are flush with money and can afford the inevitable body work.

When I went to Austin a few months ago, I decided to rent a BMW Z4. It was amazing. An absolute pleasure to drive. It wasn't the speed that did it in for me, though. It was the sheer comfort of everything.

Volume knobs? They're RIGHT THERE. You don't even need to move your forearm.

The seats? Plushy and comfortable (unlike my Accord; everything is great, but those seats are terrible).

Cruise control that actually works on downhills and actually slows down? Not a problem.

Me paying a few hundred dollars per month to not drive something much cheaper (and, likely, not as nice/comfortable) doesn't bother me at all. It's a debt, and debt sucks, but driving a low-grade econobox for a few years while I save up for something that will be worth 30% less than what I bought it for the minute I drive it out is much worse (for me).

(Same goes for my future house or apartment.)

That being said, building up my emergency spend and clearing up some debt that I've amassed is next on my priority list after moving.