skysight-inc/HackerNews huggingface dataset:
> Addiction-prone individuals will still be unable to function normally in day-to-day life.

[citation needed]

> That's why I believe that treatment, prevention and awareness trumps other obvious proposals.

That's a couple of different kinds of false dichotomy. Nobody is saying one can't have treatment, prevention, and awareness while also, say, placing such heavy regulation on gambling that the amount of addiction is minimized. As a comparable model, look at cigarettes.
Elon is probably quite wrong if he actually expects a consistent linear relationship between hours in and output.

It does seem as if he's very smart and able to lead significant enterprises to success, however.

There might be two takeaways here:

1) Even smart/successful people may believe things that are wrong.

2) The point of Musk's statement may be something other than to communicate an accurate model of output vs labor.
Start with some free places like Twitter.
> > I am always of the opinion that if you're not willing to put in a ton of hours, there's someone just as smart and focused at you that is.

> That might be true, but can you recruit and retain those smart and focused people?

There's also the problem that after a month or two of 60-hour weeks, that person will be less productive than someone who works 40-50 every week and saves emergency mode for the rare genuine emergency. So even if you can attract and retain that person, you'll be overpaying for shoddy work. It's a wonderful economic outcome, in which both parties are suckers.
I wonder how this will stack up against Jetbrains PyCharm. I am always amazed at what the guys at how excellent PyCharm is, maybe Microsoft can do even better.
Generating many conversions for all photos incurs both storage and computational overhead that may never pay off. By only generating the required images on the fly for photos we avoid this overhead while allowing more flexibility. If watermarks or attribution change in the future it's easier to have the resize service in place to handle this as images expire from the CDN than to do a batch job to pre-process the updated conversion requirements for all existing photos.

Also note that photos are stored indefinitely, so any additional permanent storage (new conversions) would add additional storage costs, miniscule as they might be, forever.
Lambda is a focused, specialized service for running short-lived processes triggered by events and is one of the many services provided by AWS that have formed the foundation for many companies and other PaaS providers for many years, while Azure Mobile App Service is a packaged and branded collection of services including data storage and push notifications that is similar to backend service providers like Parse and Urban Airship pre-pivot (at least one of which was built on top of AWS), and tries to offer services comparable to a subset of other AWS services including SNS (push notifications), RDS or DynamoDB (databases as a service), among others.

It's also quite strange to spotlight Azure as if it's doing something at all remarkable considering the "Mobile Backend as a Service" market has existed for years and actually seems to be on the decline, at least as a standalone segment.
Thats true. I've overstated the case that AARP would view driverless cars as a means to greatly increase the size of its voting bloc rather than just prevent social isolation of its members.

I'd be willing to bet that the combination of the possibility for massive economic value from driverless cars combined with a lack of knowledge around that will lead some people to be irrationally exuberant. Hopefully this does not lead to a bubble.
It gets to properly be something worth calling "artificial intelligence" only when you do causal reasoning from data. And that's actually fairly new.
Hmm, so unlicense is intended for software. And CC0 is also suitable for non software work like text. This makes sense. (Nowadays website becomes more like software though.)
Wow, that picture is not something that happens in the U.S.!

I think it's hard to be a "healthy" losing player because there aren't many good reasons to keep doing something that's costing you money when the whole point of the activity is to win money. But I suppose if you're always within 5 minutes of a slot-machine that changes things a little.

Here in the U.S. gambling is heavily regulated so unless you live unusually close to Las Vegas, Atlantic City, a Native American reservation, or other small areas where it's legal it takes a lot of effort to get to a casino. I don't really know but I'd guess that most people here are an hour or so from the closest legal gambling, and there are even states with zero legal gambling.

edit: look at the map about halfway down this page, it's out of date but sums up gambling access in America pretty well: https://www.stlouisfed.org/publications/regional-economist/j...
Safari is multi-process and it has the best battery life.
Considering that the typical reaction is to ban things instead of taxing or otherwise making them less convenient, I'm pretty happy with these sorts of policies. Perfect is the enemy of good and all that.

There's all kinds of nudging I'm sure you can get behind, such as opt-out organ donation. Or would you rather everyone be forced to donate their organs at brain-death?

Since "nudging" is rather new, there are many more opportunities for it to benefit society, either by discouraging a popular behavior or encouraging an unpopular one. For example, I despise loud cars and motorcycles. They have crazy externalities, yet there are few laws regarding them (and even those are rarely enforced). A Harley[1] riding through a dense city can distract and annoy thousands of people. Bystanders can even have their hearing permanently damaged. Some of my friends wish they were banned. I'm more sensitive to noise than most, but I disagree. A tax commensurate to their damage would satisfy everyone. Granted, such a tax would be quite steep. But if someone really wanted to, they could pay it. That's the sort of nudging I can get behind.

1. I realize not all Harleys are obnoxiously loud and many other vehicle brands can be annoying. It's just a stereotypical example.
list.append("Would it cause problems with housing rents?")
>This is a slippery slope argument.

And there's nothing wrong with those. Things can and do progress to worse outcomes all the time.

>Social Security has been around for a long time, and although folks said it would lead directly to a socialist overthrow of American democracy, it hasn't happened...

Probably because the US has some of the worst, and less socialist, social security system in the West.
NG6: Angular and ES6 and Webpack Starter
I once had an interesting conversation with a director of engineering - he asked for an estimate on how long a project would take given the resources. I gave an optimistic estimate of 3 months, and expressed that it was optimistic - he was dumbfounded, and told me that the company didn't have that sort of time.

I ended up being quite prescient - the project took 3 1/2 months, including a bad crunch near the end of it. Fortunately I was placed in a different team before that crunch, I probably would have quit fast after surviving an insane crunch a few months beforehand where I wrote ~50% of the frontend code due to a series of unfortunate circumstances.

Crunch mode makes developers want to quit and distrust managers/executives - it's a breach of trust.
Sound legit, but... how do I do that? Got any sample account I could take a look how it should be made?
Oh hey, I didn't notice you had been elected Grand Poobah of English last week. Sorry.

Your use of "freedom" is one meaning, but it's not the only one, or even the main one. Note, for example, that the phrase "freedom from addiction" has 129,000 hits, and there are dozens of books with titled related to the phrase. Similarly, people talk of slavery to their addiction: E.g.: http://www.thehopeline.com/17-lows-of-addictions-part-2/

If you talk to actual recovering addicts, their experience is one of freedom. And they're not misusing the word; Webster's first definition is "the absence of necessity, coercion, or constraint in choice or action". That is distinct, in their view, from your definition, which they have next: "liberation from slavery or restraint or from the power of another".
Isn't this (connecting with average people) what adults throughout the world are doing already? The same adults who, according to this report, are unhappy compared to children? What's the solution to all of this if such a popular lifestyle advice fails to deliver the results? Should smart people rinse and repeat the popular advice that is known to fail anyway? Why doesn't anyone question why personal well-being has to be dependent on validation from other souls in the first place?
> Unlike many other languages, Ela doesn't make any trade-offs, trying to combine distinct programming paradigms that don't fit well together.

The author may want to tone down that claim - combining Haskell-style FP with dynamic typing certainly entails some trade-offs, regardless of whether or not they think it's a good idea.
That's a kinda blunt equivalence. What school children wear is so rarely about expressing ideas that the censorship potential of such a policy is tiny. Besides, censorship in the classroom is hardly new, nor is it controversial.
>I realize this is the setup for No True Scotsman, but are there any "serious" economists who actually believe the things this article criticizes?

Believe them maybe not, and in their more theoritical papers and private company, they would admit not believing those.

But the effective guidance they give to governments, and their arguments in policy issues, are all taken from crude models like those.

And those are also the same models preached by economists to the general public, and which inform the way the people think about economics.
> The millionaire's ability to contribute to society has decreased by 10 units.

Are you taking into account the fact that 10 people now have a means to convey to entrepreneurs that some new product or service would solve a problem they have? Does doing this on a larger scale increase the ability of an entrepreneur to bootstrap a company through revenue rather than acquiring capital from now-poorer millionaire (whom we'll assume was an investor)?
Yes and no on the awareness of domestic surveillance.

We did have credible information prior to Snowden, Binney and Drake as noted, also Mark Klein who disclosed AT&T's Room 641A.

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

What didn't exist was the extensive documentation required to push past disinformation and lack-of-standing arguments used in court cases.

Snowden changed _that_ entirely.

And, yes, he also showed the _even greater_ scope of surveillance.

Confidentiality containment has been a leaky vessel, but it's been neither perfectly contained nor perfectly disclosed. As is ever the case.
Would that really be any different that downloading the script, then opening it with less/vim/whatever locally, which is typically going to be pretty safe, unless the script is accidentally executed somehow.
What  Has Us Interested at Homebrew
The US system is socialist, by any meaningful definition of socialism. Medicaid, medicare, "public-private partnerships" abound.
>But I think this criticism is invalid as well, based on what I have read of economics. It seems like few economists believe markets solve all societal problems, even among the notoriously pro-market schools, like Chicago and the very heterodox Austrian.

They might not think they solve "all societal problems" but they still think they solve too many of them.

Plus, if you take away those crude models, most of the edifice of modern economics crumbles, and what's left is a dismal science that's no more scientific than astrology.
Hersh is a tired 78-year-old sitting on an exploding story. Someone is trying to talk about the context, from an org that is already figured to be coming from a bad angle. He's got 100 other things to do that will stick to the core of his publicity run on the story. If the content of the story can have land with the impact it could/should then it serves to entwine Hersh's legacy for getting the story other don't and getting the stories that matter. He goes into the pantheon for finding truth. As that type of journalist, it's the grail.

Who cares what the color of the journalistic bike shed is?
I'm moving and have recently sold and donated a three bedroom house full of stuff rather than haul it.

Maybe this a specifically urban need? Up here in my small mountain town (< 4000 pop.), Goodwill, Hospice, Hospitality House (homeless shelter), and Habitat for Humanity all pick-up free as do the thrift stores.
Think of it like a terrorist organization occupying a town and them declaring themselves a new country. The original manufacturer has the trademark in their locale. They were also the primary manufacturer of all branded products, and according to the article, had many folks sign a letter where they would agree to only by arduino products from said manufacturer.

That is sort of like holding the town hostage with a bunch of guns.

From the sequence of events it does not seem like this was an "unplanned" event by Arduino SRL. It will be interesting to see what happens next after the Genuino brand starts getting pushed.
The Lisp languages usually do Imperative right out of the box, at least going back to the 70's with Scheme. Python has multiple paradigms...it seems more common for languages to handle both Functional and Imperative than to just choose one.
We're constantly swimming in a stew of nudges from the private sector, from social norms, in addition to hard-and-fast rules and laws.

Giving some thought to how they impact behavior and how one might improve them seems like a pretty low bar.

In particular the private sector spends hundreds of billions of dollars to nudge you towards a lifestyle that's more profitable for them, via ads to get you to eat unhealthy foods, buy a premium vodka that's indistinguishable from the next one on the shelf, not to mention gamble, smoke, etc.

Someone comes along to study these polluted waters and ask why the fish are so unhealthy and the fish say, "what's water?"

Let's not even study this stuff, since God forbid the gummint varmints use it to, I dunno, get people to save for retirement by default or sign up as organ donors, those bastards.

Some further discussion

http://www.bloombergview.com/articles/2015-05-13/wonks-expla...
They say that if someone really is following you, then youre not paranoid.
I would recommend that the author read up on NFAs and DFAs -- they are a formalism better suited to lexers than tries.

At a high level, if compiling a lexer for a run-of-the-mill language like JavaScript takes 5 minutes and 2.5GB of RAM, you are most likely doing it wrong. By "doing it wrong," I mean that there is almost certainly a better approach that is far superior in every measurable aspect (CPU, memory, code size, etc).

I don't fully understand what kind of algorithm the author was using, so I can't comment in detail on it, but in general lexers are better thought of as finite automata (NFAs and DFAs) than tries. The two are related, but unlike tries NFAs and DFAs can have cycles, which are essential for representing a lexing state machine efficiently.

Another observation: it's not too terribly surprising that you could beat preg_match_all() with the latter being given a huge regular expression. Most regex engines are backtracking (RE2 being a notable counterexample), which means that a regular expression with high-cardinality alternation (ie. A|B|C|D|E|F|G ...etc) is one of their worst cases. This isn't what they are designed for. A backtracking regex engine will basically try each alternative in sequence until that alternative no longer matches, then back up and try the next one. NFA/DFA based parsers will be much faster for this case.

The right tool for this job, as another commenter mentioned, is Ragel. It's basically designed for exactly this. It doesn't appear to support PHP though...
Few people will give up their career and risk prosecution or perhaps go into exile simply to reveal the truth. Snowden is an exception. If the truth does come out, but without documentation, it will be impossible to distinguish from a conspiracy theory.
a) same battery life as ever on mine. Even better actually.

b) Seen some occasional flashes. Not sure why it happens, but I think it's related to the color temperature mananging "Flux" app (they seem to stop when I don't use it).

c) Sure not some network problem? I've had succesful NFS transfers, but usually small files, so never bothered to check.

d) Shouldn't Qt fix it? If it didn't broke drag and drop in native apps, then Qt emulated it based on some assumptions that weren't guaranteed.

e) Never had this happen, even when using Compressor on all cores. Top left might get a little warm at those times.
This is a pretty low-empathy position. You're basically saying that exploiting people for profit is ok as long as it only harms those directly exploited plus their dependents.

I don't necessarily think we should ban anything that people could get addicted to. But I'm generally in favor of stopping people making money off of addicts. And I'm thoroughly in favor of banning people from trying to create new addicts. As an example, I think the cigarette advertising bans, mandatory on-pack warnings, and high cigarette taxes are swell.
I'm assuming you mean KSM (Khalid Sheikh Mohammed). I think it could be strategically valuable to be able to parade pictures of your former enemy looking like this: http://usofarn.com/wp-content/uploads/2014/06/Khalid-Sheikh-... . It would have been awesome if we could have done the same with Bin Laden.
This is a great project - to address your last point, I dont think it would just be noise if the user habituated to it. Check out this project [0][1] that maps audible data to vibrations and seems to have successfully re-mapped sense data taking advantage of the elasticity of the human brain.

Another similar project lets people "see" with their tongues [2]

I definitely think using binaural (3d) audio could give users a much more complete and useful idea of what they are seeing so I wish you luck. Great Idea.

[0] http://www.ted.com/talks/david_eagleman_can_we_create_new_se...

[1]
http://www.eagleman.com/research/sensory-substitution

[2]
http://www.scientificamerican.com/article/device-lets-blind-...
I don't have children, nor I used to do my homework, so I speak from the highness of my inexperience...

But a nice way to handle the to1 many homework is to use homework as "family time", doing homework together with the kids... Not like doing homework for the kids, but more like have them have fun while they do their homework, ask them question, and let your kid explain fraction to you...
Previously: https://news.ycombinator.com/item?id=5995298.
> had many folks sign a letter where they would agree to only by arduino products from said manufacturer.

That's really the part I'm stunned about. How did they get leverage to get distributors to sign that? The article said "or pay a fine", how is that legal?
>Should she further the "achievement" of her child through cultural conformance and obsession with "achievement" and corresponding status, or is it her who needs to find her own voice, not defined by external validation.

'Voice' and 'validation' are inextricably intertwined in a social being. She is finding her own voice within this piece. Indeed, I rather admired her self-awareness and questioning of her own assumption and influence (culpability?) in the problem she was addressing.
How Stephen Wolfram’s image-recognition tool performs against 5 alternatives
> the PageRank algorithm, an innovation which Google created.

http://www.sciencedirect.com/science/article/pii/03064573769...

http://www.w3.org/People/Massimo/papers/WWW6/
No no no! Good-and-Tidy just doesn't get the business model here. They need to do it for free, and make it up on volume.
They Built It. No One Came
Was quite excited to try out a little websocket server with Kore till I saw it fork's per connection. I don't really want 20k processes for handling 20k connections, I was really hoping for an event loop.
Get a TechShop membership, take the classes in injection moulding, CNC I, CNC II, and CNC mill. You get free access to Autodesk Moldflow, an injection moulding simulator. Learn to use it. Design and mill your mold. Make some parts using TechShop's injection molding machine. Make a new mold if you're not getting what you want.

Completely straight sides make injection moulding harder. The tooling for straight sides has to come apart to release the finished part. But a shape that's smaller at the bottom can be made in a far simpler mould. This is why cheap items such as plastic glasses are tapered so much. Look at plastic parts around you, and notice that most of them are shaped to come easily out of a simple mould.

Consider making the outer shell by vacuum-forming. That's cheap and easy, and the tooling can be made of wood. TechShop has that capability, too. It works better for shapes that aren't as sharp-cornered as a cube, so consider modifying the shape to have rounded corners.

Both of these processes will produce a much smoother finish and a stronger part than 3D printing.

Welcome to manufacturing.
User Flows in UX Design
Could you give some examples of the historical horrors of black market slot machines? I'm not familiar.

Also, I don't know that we have to ban gambling. I don't think people having the occasional poker game is a big problem. It's industrial-scale exploitation of addicts that I take issue with. I think it would be sufficient to ban profiting from gambling.
Because strdup() is not standard enough to rely on. You have to test all sorts of magic values to pull it in, then you have define it yourself for those cases where it isn't defined. Why bother? Just write you own equivalent.
I think you meant "grok React". But yes, Reagent is super-nice. I'm surprised much of the community has gone for Om, since Reagent strikes me as much cleaner 98% of the time. Om maps closely to React, when most of the time it doesn't have to.
Projects from the Stupid Shit No One Needs and Terrible Ideas Hackathon West
Letter of Recommendation: Blind Contour Drawing
If there was a blog post titled "10 Reasons Rust Sucks", wouldn't that be the HN title as well? You can't make everything neutral.
Crunch / cram in college is often a symptom of poor time management by students.

Crunch time in business is a symptom of poor time management by management.

True, the author does not provide empirical data, but anyone who has worked through a few projects culminating in a rush is familiar with the effects on person and quality.
Now if I can only fix the wobbly address bar that changes size depending on Back/Forward availability.
No, squared error (the Brier score) is absolutely a strictly proper scoring rule for classification, which is the claim made in the article. See the linked Wikipedia article:
https://en.wikipedia.org/wiki/Scoring_rule#Brier.2Fquadratic...

Perhaps you are thinking of probabilistic regression problems, for which mean squared error is indeed not strictly proper. My favorite scoring rule for continuous variables is the continuous ranked probability score, which is actually a generalization of mean absolute error (for non-probabilistic regression).
What is everyone ranting about?

Append is not a method of the type slice, it is a function that returns a slice. What I read is people writing

a := make([]int,2,2)

b := a

a = f()

And then "mommyyyy a is not equal to b anymoreeeee".

Just sayin...
Evented io is great for extremely high concurrency, but that isn't always the right thing to optimize for. A forking web server might be faster for users depending on the application.

Lastly, you can't just have an event loop without also creating an entirely async platform. For an event loop to work well, all operations from file reading to network requests need to be completely async.