skysight-inc/HackerNews huggingface dataset:
It's a side effect of incremental margins on different goods/services. Selling physical things has a lot of overhead, requires lots of big, expensive capital equipment, has a modest profit margin, and has a narrow range of scalability. Selling virtual goods and services has a small overhead, huge scalability range, and potentially enormous profit margins (approaching 100%).

This leads to weirdness as you've described where the fact that a billion people deriving marginal utility from something is far more valuable than a much more "important" market where the utility is much higher but the volume is low. But this isn't a new phenomenon, there's also the situation of movie/tv/music stars related to industry, for example, which we've largely come to accept as normal but is equally bizarre. There are stars who are multi-millionaires despite having sort of sub par work, but because it appeals to such a large market and because scaling and incremental profit can be so high in media it's much easier to get rich. Johnny Knoxville has more annual revenue than lots of small companies working on very hard and interesting problems, that's just the way the economics works out.
Show HN: Localfu – $5 travel plans created by locals
http://Poemia.com - publishing platform for poets. Contact me for details/if interested.
We got sick of spending so much time on Yelp and TripAdvisor planning trips, so we started a company that provides travelers with plans for their trip created by a local for $5. Americans spend 5 hours planning a trip, and what takes you hours to research takes them minutes to put together - plus locals always know the best spots in their city.

Use the promo code showhn to get a free plan.
51% attack, anyone?
Agreed. Defense in depth is key.
I think I'm actually in total disagreement with this. I think using semicolons as statement terminators is quite easy and doesn't require any knowledge of the ASI in terms of _adding_ semicolons. The one (potential) issue with not being aware of the ASI when using semicolons as statement terminators is for something like:

return
{
a: 0
};

since you can't disable ASI. Even in the above case, however, "standard" JS style would prevent the issue.
Actually that statement has a point. Have you ever tried implementing std::vector and java.util.ArrayList and comparing the two implementations? One of them is trivial, the other one is most certainly not. One of the reasons is exception-safety guarantees. I'll leave it for you to figure out which is which.
Mitch Hedberg is amazing

"Dogs are forever in the pushup position" ~ Mitch
>A huge number of Java apps built for enterprises or corporations are Windows-native as well. Either compiled down to a .exe, installed via a Windows-native Installshield installer, built using Windows-only native-library code, or designed assuming Windows (e.g. referencing C:\ directly in the code).

That reads like a catalogue of worst practices. It's possible to make Java apps really portable by doing absolutely nothing. You compile Java code to .class format, and then you are done. You would probably want to include your own JVM and a shortcut or bash file invoking it on the bytecode, but the point is it's actually more effort to make them non-portable.
Oh, boy.

I have a house in Ecuador. I am a fan of Bitcoin. And I am, on the whole, probably still a fan of Correa.

But ... yikes.
> I can handle a group meal, but if I'm alone in a room, listening to one or two people eating, it drives me nuts.

Hell yeah, my experience exactly. When I'm eating meals with family, I need there to be a conversation going, or at least a TV or radio running in a background - if there's only silence and sounds of eating, I'm starting to go crazy.
Because a straight line means constant compounding gains.
> Keep regular expressions in variables, don't use them inline. This will vastly improve readability.

Although it might introduce inadvertent bugs. I prefer not to follow that advice to avoid running into the 'lastIndex' problem described here [1]. There are other ways to avoid it like not using the 'g' flag or resetting lastIndex. However not storing regex in a variable is also useful to avoid that headache. You might argue about performance but for a good majority of the cases, it doesn't matter practically.

[1] http://stackoverflow.com/questions/1520800/why-regexp-with-g...

[2] http://stackoverflow.com/questions/13500519/difference-betwe...
Oh, look! Another Hacker News pedant come to pick meaningless holes in someone's comment.

I didn't say I was an expert on parenting. Did I?

Did I also say that teenagers are always and everywhere uncivilized savages? No. I made one over-the-top statement equating teenagers with cavemen, so I guess that's worth pointing out because it obviously proves that my entire comment was wrong, especially since that one statement can't be applied universally across time and space. Jeez...

Look, I've seen more than a few reasonable teenagers, but that's only because I roll with orthodox Catholics who actually believe what the Catholic Church teaches (without whining about it), and believe it's important to teach their kids how to be civilized. It's noteworthy that those teenagers only have dumbphones, if they have a cellphone at all.

So what if different cultures raise their kids differently? How does that negate anything I said? The children of one culture are born just as uncivilized as the children of any other culture. Civilization comes only from hard work. If you're a parent, imparting civilization to the uncivilized requires the right tools. If you're ok with giving your kid a smartphone, then it makes sense to have a tool to reel them back in when they can't resist the urge to abuse the freedom you've given them.

So, go take your pedantic inability to reason clearly, and participate more fully in whatever culture of deficient civility into which you were unfortunate to be born. I'm sure it'll turn out fine.
That's very useful, thank you.
You also have the time budget to do things correctly, unlike start ups.
Should you self-host CI?
Randomness is something that cryptographers have spent a lot of time studying.

Introducing non-random data into a random data stream is easy to find unless you're very careful about the amounts of data-to-be-hidden and cover-data.
Yeah, I asked personally and they told me the same thing. I also subscribe to the subreddits I would advertise on, and see any ads related to the category maybe 1/500th of the time (I don't use adblock). I've never seen it on the subreddit itself, which has over 20,000 subscribers.
The Ultimate Guide To Growth Hacking Your Podcast
And its ability to enforce its value.
A great Mixergy interview[1] was with Herb Sorensen, author of "Inside the Mind of the Shopper"[2]. There were many fascinating revelations about the grocery business. For example, he went through the four revenue sources for grocery stores and profit on selling the goods was in fourth place, behind real estate, shelf fees, and something else I can't remember. He also explained that there is an optimum layout for a store, with counterclockwise flow.

[1] http://mixergy.com/interviews/brick-mortar-retailers-herb-so...

[2]http://www.herbsorensen.com/herbsorensenauthor.html
There was another article posted here about this the other day, with more detailed information than this one (not much discussion though): https://news.ycombinator.com/item?id=8186517
I'd suggest the opposite: forEach() is smaller that iterating over indexes and creates a scope by default which (although having overhead) will prevent a lot of common last-case-wins scenarios that frequently trap both new and experienced developers.

Should we use a .forEach() for a 1 million item array? No. Performance would be a problem. For the typical use case of items like the demo [1, 2, 3]? Yes, this would be be simpler.
Do you take issue with the statistics of the study? Or do you just feel 50 seems like a small number in your gut?
Why doesn't Sandstorm just run Docker apps?
They don't need better translation. They need a cultural liaison. You can speak English at a very high level but without deep cultural involvement, you won't know that "get out of the city" and "get out of town" have very different meanings.

When the peasants are revolting its very different from when the food is revolting!
(Note: They don't link to the study in the article so naturally I cannot comment on the soundness of the study in question).

(EDIT After writing this comment the link was changed from the Guardian to the NYT, which provides more information, though the study has still not been published.)

Studies (especially psychological ones) with human subjects are very difficult and expensive to conduct, which is why sample sizes are often small. 50 is by no means an unusual size for an experiment of this sort.

An alternative is to use observational data, but it's very hard to differentiate between useful observational data and garbage observational data. Not only do you introduce a whole host of problems, but it's more difficult to parametrize the problems that are introduced. So you could easily create a study that boasts a large sample size, with a respectable p-value[0], but have no way of knowing which confounding variables were introduced during the data collection process.

A third option is self-reported data, which comes with an even bigger asterisk after it. For something like this, I'd much rather trust a controlled study of 50 than a self-reported survey of 300 (at that point you might as well post it as an 'Ask HN' and judge based on the comments!).

By contrast, while controlled experiments on human subjects are by no means unbiased or immune to confounding of variables during data collection, it's almost always easier either to limit these in a controlled setting or at least to parametrize them after they happen.

So in the end, this usually ends up being the best feasible option (not the best (theoretically) possible option), short of massively increasing funding to such studies.

[0] Which is usually the wrong way to look at studies anyway, but that's a separate topic of discussion
That was then and this is now, there is one standard library and the language has come on leaps and bounds. D is a great language.
Haha! That's good.
Have you tried playing online chess with physical board, replicating the moves? If your hypothesis is correct then that should boost your performance.
http://apps.npr.org/unfit-for-work/

In Hale County, Alabama, nearly 1 in 4 working-age adults is on disability.[2] On the day government checks come in every month, banks stay open late, Main Street fills up with cars, and anybody looking to unload an old TV or armchair has a yard sale.

Sonny Ryan, a retired judge in town, didn't hear disability cases in his courtroom. But the subject came up often. He described one exchange he had with a man who was on disability but looked healthy.

"Just out of curiosity, what is your disability?" the judge asked from the bench.

"I have high blood pressure," the man said.

"So do I," the judge said. "What else?"

"I have diabetes."

"So do I."
I am not following this logic at all.

Elon has said he intends to bring the cost down to $500,000 per ticket. His current net worth is $12 billion, before Spacex, Tesla, and SolarCity have even really taken off mass market. Am I missing something here?
Yeah, that certainly hurt D's reputation. People still bring it up even though it's been resolved for years.
That test was fascinating (especially the explanations). I got a 39. Thanks for sharing that!
What's virtual about it? I can't tell from reading the article. Is it virtual merely because none of it will be coins or bills?

Do other such "virtual" currencies exist, i.e. virtual merely because they only exist in ledgers and bank balances? I mean, other than the vast majority of US dollars and other traditional currencies.

All this talk of virtual currencies reminds me of how Europeans viewed Chinese paper money with suspicion when it was first described in The Travels.
Part of the issue is that most exchanges will liquidate your entire position in the event of a margin call, rather than simply liquidating enough to bring you back above maintenance margin.
The title is misleading ... this is what the real finding is

"But instead, the performance was largely similar, except when it came to the timing of events in the story. "The Kindle readers performed significantly worse on the plot reconstruction measure, ie, when they were asked to place 14 events in the correct order."

The NY Times article about it is much better and includes actual number (http://mobile.nytimes.com/2014/08/14/arts/reading-literature...)
Forget about the downvotes, if you're not trolling then know they are a red herring.
It could be a proof-of-stake based cryptocurrency and the goverment would initially own the total supply.
Your hypothesis is literally the article.

"When you read on paper you can sense with your fingers a pile of pages on the left growing, and shrinking on the right," said Mangen. "You have the tactile sense of progress, in addition to the visual ... [The differences for Kindle readers] might have something to do with the fact that the fixity of a text on paper, and this very gradual unfolding of paper as you progress through a story, is some kind of sensory offload, supporting the visual sense of progress when you're reading. Perhaps this somehow aids the reader, providing more fixity and solidity to the reader's sense of unfolding and progress of the text, and hence the story."

You could have at least glanced at the link before commenting.
Most of them do some kind of wear leveling, but they usually use cheaper flash and less capable controllers and the controller algorithms are mostly oriented around making them usable for sequential writes as you see with a digital camera, not for making a good drop-in replacement for rotating disks.
Not a silly question at all, I'm also interested.
Can't say I understand the downvotes on this one. If you add a parameter in a traditional constructor but don't update the site calls, your code won't compile. If you add a builder method, your code will still happily compile, you'll have to wait until runtime to get an exception, if you added a check in the build() method. That's something to think about, just like you give up safety for convenience when you move to a DI framework.
> I often struggle with picking names, but another post here shows that "foo" can just be reused as the function name.

I'd be very careful about giving them the same name if you're working with IE at all. IE8 and below's JScript does some really strange stuff with function expressions, leaking and hoisting them all over the place. [1]

Instead, I'd just append a character or something to differentiate the two. I've been using the format advocated for in Javascript Patterns[2][3]:

var foo = function fooF(){};

[1] http://kangax.github.io/nfe/#jscript-bugs

[2] http://shichuan.github.io/javascript-patterns/

[3] https://github.com/shichuan/javascript-patterns/blob/master/...
Responsive Website Design for Better and Efficient SEO
Wow, thanks, I didn't even realize there was more than one page because there was no scroll bar.
I work at Iron.io
This is pretty awe inspiring to see such a small team kill it.

Next up. when you check-in to 10 beers in one night it auto orders a uber/lyft for you.
The Guardian article linked actually doesn't present the statistics of the study, which hasn't been published yet. Absent further information, critiquing the sample size sounds pretty reasonable to me.
A significant strength of Kindle is its distraction-free nature. While a progress-bar might be good, I don't think anything more complex than simple line would be suitable. Also its natural place would imho be the bottom edge.
Yeah, all this analysis (both what we've done and in the original article) are facile--a proper Bayesian treatment would have continuous priors/posteriors that would be a little more informative than an either-or.

The problem you're seeing here is that if you make your possibilities "Humans live forever (even past the heat death of the universe)" or "All humans die in the next 10 minutes", you'll find that the chance that humans die in the next 10 minutes is really absurdly high.
True that, being updated tomorrow.
Thanks so much for the luck wishes! We will try to make the most of this luck. ;)

I'm glad you brought up the dirty bomb factor again.

The perpetuation of the myth of the dangers of the dirty bomb is truly sad. We all intuitively realize that the dangers of chemical warfare, biological dispersion (especially because it is transmissible long after the incident), and the dangers of bombs themselves are so much greater than some amount of radiation that decays rapidly and, by the nature of a bomb, is highly dispersed.

As an example of the worst possible radiological contamination (which would not practically be achieved by a dirty bomb to scale), read about the story of the "Atomic Man". In an instant, he received 500 times the "lethal lifetime dose." He died at 75 of unrelated causes. The atopsy showed zero cancer. The chemicals were terrible. the explosion was terrible. Ultimately the radiation itself was not as bad as expected.

In another example, studies showed mice fed plutonium dust had their lives expanded by 120%. See here for an overview of these types of studies and natural effects of hormesis. http://www.radpro.com/641luckey.pdf

It's my belief this disproportionate fear is really a tragedy, a play on the fears of uneducated people (again, fed by media since anything nuclear is like sex or plane crashes) that may ultimately cheat them from peace of mind and clean, reliable energy sooner. What if people refused transportation:vehicles, trucks, and planes because gasoline is highly combustible and kills so many per year? Our economy exploded with oil at the turn of the last century.

But that's a side point, sorry for digression.

Could this be blown up?
1) it's underground
2) it's surrounded by concrete that has been tested to be safe to drop from hundreds of feet in the air
3) it's a solid metal block. It doesn't have dispersion capabilities like other forms.

Unrelated fact since we aren't reprocessing: It's a common misconception that reprocessing is not legal in the US. It is. Also for instance, France does it and has been doing it for a while.
The only ads I see on reddit (outside of AMA and some fairly suspiciously-timed posts about a certain brand that happens to be releasing a new product) are either at the top of the page as a sponsored post, or ones at the side about some ridiculous Lambeosaurus or "instead of an ad, here's a penguin".

Seriously, what's the deal with how much advertising they do for /r/dinosaurs? Am I the only one seeing this?
FailED – Manage Your Failure : You Are Not A Loser
In general, much of sports injuries have to do with improper recovery cycles. So, although most skills-based practice (such as music) benefit from daily practice due to the way the brain adapts, this has to be somehow balanced against the body's need for recovery. So practicing language is great every day or several times a day, while power lifting starts with 4 recovery days per week and more recovery tends to be added as the person nears their genetic potential.

How to apply this precisely to martial arts and sports which have such intense mental and physical training/adaptation requirements, and adjusting for age and other individual considerations is way beyond what I can speak knowledgably about. I would recommend Thomas Kurtz's "The Science of Sports Training" but I found most of it impractical and incomprehensible. But what I think is the most important takeaway from his work is:

- recovery is everything

- sometimes a different, light activity, speeds recovery more than full rest

- so athletes' workloads should by cycled, they shouldn't do the same thing day after day, and it should also vary by season

- but really, recovery is everything, never underestimate how important recovery is
Iterating over your routes array on every lookup does not seem very efficient, seems like it would add quite a bit of overhead vs just a hash lookup. This lib is so small its easy to see just how route look-ups are done. I've never really dug into any other router to see how route matching is done. I would assume a hash lookup would be the fastest?
> People who are interested in holding Bitcoin probably aren't people I'm going to be interacting with.

Sure they are.

> If you are holding, you aren't selling.

But if you are interested in holding, you are likely buying. And remittance use case requires you to interact with both a seller and a buyer.

> I using up available liquidity and then selling to create more liquidity.

Which is basically a net zero impact, but sure.

> That liquidity also helps other people looking to do the same as me. You then have a pool of Bitcoin which is basically just zipping between people who aren't affected by price.

Except that if you want those transactions to get processed, you need miners, who are interested in price, since they get paid in bitcoins (mining new blocks and/or transaction fees; over time moving from the former as the main reward to the latter.)
Show HN: Mindscope – the multi-level magnet board for your brain
I had the same Master in mind. He is probably one of the few that matches or surpasses these needed hours. ;)
I doubt they mean iTunes the desktop application; the "music" player on iOS is called "Music.app".

As far as iTunes as a main music library manager; it's very, very good (though iTunes 12 has soured me on it a bit).

On <insert name of popular private torrent tracker>, which is known it's users having tens of thousands of FLAC file libraries, iTunes still rates pretty decently among people running OS X.
The article is scant on details the actual currency, but it doesn't sound like they are intending to make it decentralised nor a cryptocurrency.
Reddit, Imgur and Twitch team up as 'Derp' for social data research
You can't criticize the sample size without knowing the effect size
Something did ping my radar, although it's hard to say because it's not published yet. What the news article says is:

But instead, the performance was largely similar, except when it came to the timing of events in the story. "The Kindle readers performed significantly worse on the plot reconstruction measure, ie, when they were asked to place 14 events in the correct order."

What I would like to know is: how many other performance measures did they test? How "significant" is "significantly worse"? If, say, they tested for 100 performance measures (unlikely, but I'm using a large number on purpose), then random chance means that there are likely to be some measures that are "significantly worse." If, on the other hand, they only tested 3 performance measures, then it's less likely to be random chance.

Basically, if you run an experiment and you test for a large number of things, you can't say much about the outliers. With large enough numbers, there are bound to be outliers. However, after you run such experiments, and you see those outliers, you can run more experiments to test if that was random chance, or if there really is some correlation there.
Half a Decade After Demo Day
Have you tried dropzonejs? Works pretty fine, one can even drag & drop folders of folders(chrome only)
You joke, but that's coming soon (shameless plug - I co-founded BitMEX, https://www.bitmex.com/app, currently in a competitive simulation), and we completely understand the risk to casual users. Bitcoin has a remarkably low barrier to entry compared to most forms of investment, and the average user can easily get swindled.

Leverage is a powerful but dangerous thing, but it is needed for legitimate business use, such as hedging held BTC. I agree that there needs to be a big warning on the box. We're working on a series of articles explaining margin trading to the layperson as well as an interactive introduction, but above all, investors need to take responsibility and be aware of what they are doing when they put their money on the line.