skysight-inc/HackerNews huggingface dataset:
Well, as unhelpful as this.. I love everything about Polymer, except the possible HTTP request spam and lack of serverside rendering.

Polymer is sort of React Components "To the extreme" (to me). They represent everything i love about React Components, with encapsulated JS, CSS, and HTML. Meaning that i can pull in someone elses Polymer component, or use one from another project, and it "just works".

Granted, the HTTP spam scares the hell out of me. Vulcanize may help with that, but i have yet to really figure out the whole process for my workflows.

Having to load an html wrapper, do clientside routing, load the data into the clientside templates and render templates all for the first page load just scares me with Polymer. React solves this by letting me do it all serverside, and it is wonderful at that.

I really do love React. I'll likely stick with React for another project or two, unless i conceptually have an "ah hah" moment with Polymer.. but until i can render Polymer serverside, i'll always be longing for React.

edit: Come to think of it.. If someone could bake html imports and shadow dom into React, i may be in heaven.
The stories have been heavily flagged by users, in most cases to the point of being killed.

This post was killed by user flags.
Show HN: We've been working on this idea, would love feedback
> But, we can't get permission to give it to him

Have you considered making it yourself without permission?

Suppose for a moment that there exists a sequence of tests that you feel would adequately prove the safety or efficacy of a homebrew solution. Obviously, at least some sequence of tests must exist that seems pretty okay since the clinical trials have somewhat trustworthy results.

The actual cost of enzyme production (actually, I haven't studied the solution that would be going through clinical trails in detail) can be much lower than the $X billion that Big Pharma claims. For example, $50k can get you a basic antibody garage biology operation going, without cutting corners absolutely everywhere. I know a handful of people with equipment and expertise eager to prove this.

After all, your original mission wasn't "fighting regulatory hurdles". Successful FDA clinical trials are nice, but not if everyone dies while busy waiting to raise $100M to resubmit FDA forms.

edit: Looks like you found a place to buy a batch for $250? Be safe.
OK, I agree it all looks kosher, but here is the kicker: compare powers that the EU Parlament has with Bundestag powers. On another note the whole EU seems to be using German solutions that are just not acceptable for Brits or their economy and this is another major issue with the EU. I.e. why not to have anglosaxon model of transparency and democratic process? It's not German, so forget it? Well, here you have exactly why other nations might not like it -- how would you like to be forced using electoral college because US wishes so? You see the same way Brits might not like being forced using secretive German model. It is as strange to them as the electoral college is to you!

Other notes on democracy and the EU:
1. What is that thing with voting over and over again till they get YES, and once they have it there are no referendums in sight for 10, 20, 30 years? I.e. in the UK they voted for Common Markets in 1970s -- and based on that YES vote they ended up in political union with countries like Germany, having open borders for the whole of Eastern Europe for more than a decade. What does a vote casted for common markets in 1970s has to do with having millions of immigratans in 2014 or anti-City regulations imposed; all the green craze? Who thought about this in 1970s? Why it is such a big deal to have democratic process involved for these phenomenons?
2. 70% of laws in the UK are introduced by EU Commission. Whoever Brits vote-in to the offices of London Government or EU Parlament -- doesn't matter. These 70% of laws are introduced yearly without democratic process. Usually by German-name sounding Commissars. Who think about production for Germany first and trade for UK with places like Australia or Canada -- not at all. It would make much more sense for a country like UK to have political union with Australia or Canada. They share language, customs, political solution and the Queen. Germany doesn't share any of these with UK. So, why bother living in the political union with them under their influence?
Heterogeneous multicore dev platform targets Linux ·  LinuxGizmos.com
The blog post fails to mention the sample size, which according to the downloaded data, is 164 respondants. Additionally, only 34 respondents (20%) actually said heart (the most popular word in the dataset), so there's a lot of variation in interpretation.
There are other countries that bill for incoming calls. I know of at least Singapore that does it.

Also, your phone provider does get charged for each incoming call. They just eat/redistribute that cost, since for normal phone user it's likely to be less than a penny per month. But try running a conference service and you're definitely going to get billed for incoming calls (apart from some weird force-subsidised areas where you can get paid to receive calls)
What tech offices tell us about the future work
Lisp: Winners announced
Texas Girl is not a victim-evidence of Fraud-Shooting event
The position of the "L" is what convinced me to stop learning Dvorak and instead learn Colemak.
True. But I would assume that the contract is largely a pay per usage or at least expected usage. So if they just make an estimate of how many Verizon customers they have and buy that block from someone else than Level 3. Then route all that traffic through the other provider, while keep using Level 3 for the majority of their traffic.

Or perhaps they could ask Level 3 (who are clearly pissed at Verizon) to make the deal for them. These edge providers already have business with each other (peering), so it should be relatively simple for Level 3 to purchase some bandwidth from another large provider and then route some of their packets (e.g. the Netflix ones) through there.

In any case, the edge providers have good reason to collaborate on thwarting Verizon on this, so why don't they?
This is how the government poisons us daily with stupid programs
GoTenna has a messaging gadget that will work in the middle of nowhere
Does anyone know if a website already exists that would help people with such rare genetic condition find each other? Not everyone is able to capitalize on being a popular blogger and it could help those people find help and support. This could also serve other kind of patients in dire situations such as:
https://ca.news.yahoo.com/blogs/daily-brew/montreal-cancer-p...
From Fuzzing to 0-day
Investing in startups with your retirement account
Sugarcoating layoffs is one thing, and is something just about anyone would do. But sugarcoating it to such a ridiculous extent, while not really saying anything at all, is ridiculous.
Wonder why these are falling off the home page.
Gists are great, but GitHub interface for them is poor - it's nothing new. So I've used GistBox, but still I think its interface is too busy and too much space is wasted. I wish only to quickly figure out my gists organization and find what I seek, not much more (except for backup). So I've created this little tool for myself. I like it so, and I hope it will be also a help for a few people.
Is my sarcasm meter on the blink again?
StarTalk
Dan Carlin Hardcore History
Build Podcast
Programming throwdown
coding the path
stuff you missed in history class
freakonomics
stuff you should know
It's not just the FDA. These drug companies are run for Investors. They throw around phrases like, "We must follow protocol." "We need to finish the last double blind study."
The truth is they don't want Any bad PR if their drug doesn't happen to work. In my neck of the woods, a lady with Breast cancer was seeking early treatment with a experimental drug through BioMarin. FDA ok it. The Company said No? After reading BioMarin financial statements--I realized how this industry is run; It's about asking money.
(The women realized the drug might not work, and I think her, and her family signed non-disclosure agreements?)

I overheard a MD tell his best friend how to overcome a serious illness, "The Doctor/Friend said you need to believe
the treatment will work." I knew the Doctor was trying to
invoke the Placebo Effect, but I felt it was the best advise
I ever heard from a Doctor. (I know this child's illness
is genetic and I hope the company includes his child in early trials--maybe we can email the FDA?)
Flashback: Korean Airlines Flight Shot Down by USSR in 1983
Looks pretty interesting. I'll probably buy it.
I switched to Dvorak in high school and have been using it full time for about 13 years. I find I can switch back and forth almost fluently, though I do have to look at the keyboard when typing on qwerty in order to switch my mind into that mode. As a test, I typed the last two sentences on qwerty and it was a bit painful, but not too slow. Maybe 40wpm. I hit 80 on dvorak without thinking.

The biggest thing I notice when going back to qwerty is how horrendously uncomfortable it is. I feel like I'm doing contortionist exercises with my fingers, and my wrists start aching very quickly. Going back to dvorak after that is like switching to the "walk" section of a walk/run interval training session.

I agree with kingmanaz that words just roll off your fingers. Dvorak is like cooking in a kitchen where everything you need is in just the right spot and you can grab it without moving, versus qwerty where everything is over the place and the spices are opposite the stove. You can still cook, and even do it quickly if you know where everything is, but you wind up expending so much more energy moving around.

I did have problems at work when co-workers needed to use my keyboard to do something on my machine. The universal reaction is "what's wrong with your keyboard", sometimes with gratuitous profanity thrown in. Maybe 10% of people realise that it's dvorak without me having to explain. A handful try to hunt-and-peck before giving up and making me do it. One person surprised me by knowing dvorak as well. So, I had work buy me a hardware-switchable dvorak keyboard that has double-labelled keycaps (qwerty in small blue letters). That's solved the problem.

Gaining dvorak fluency in the first place took me about 3 weeks of inability to type, which was hell on a shy geeky 16-year-old whose main social interaction was IRC channels.

The one place I still use qwerty is on my phone. Dvorak is very poorly suited to thumb typing because it breaks autocorrect. Most of the time when you mistype a word, it's still a valid English word, because all the common letters are next to each other.
Awesome news. Not enough resources on Nashorn out there.
lots of algorithms use entropy in clever and powerful ways

see: http://en.wikipedia.org/wiki/Monte_Carlo_method
We do sometimes edit mainstream press headlines to replace a generic phrase (like "web") with a technical name (in this case, "wayback machine" or maybe "internet archive") that HN readers are comfortable with. So your edit was fine. We just didn't notice that right away.
Our UI for Marathon[1], a framework on top of Apache Mesos, is written in React and uses Backbone models. It uses Require JS for modules and compiling the source into a single file for distribution. The JS root is in the assets directory[2].

There are a few guidelines we have adopted through trial and error so far:

* Use React.addons.classSet[3] liberally. Class name generation becomes simpler for future developers to read.

* Define propTypes[4] for every component. Debugging becomes easier because React gives you informative warnings about mismatched propTypes.

[1] https://github.com/mesosphere/marathon

[2] https://github.com/mesosphere/marathon/tree/master/src/main/...

[3] https://facebook.github.io/react/docs/class-name-manipulatio...

[4] https://facebook.github.io/react/docs/reusable-components.ht...
Such an inspiring story.
> The stronger your country's economy, the fewer babies you have.

You have to be careful about causation and correlation there. It should be possible to curb population growth even before you get high levels of economic development by educating girls, rather than waiting for economic development to bring empowerment for women to decline to have lots of children.
> How do you manage ssh keys once deployed? From personal experience using both systems, my thinking is that once you start deploying ssh keys, in a larger user/server environment, you have a massive rats nest. There is little to no life cycle management.

Same way you manage any other keys - configuration management software. "Keys are hard to manage" is not a valid argument against "you should not be using passwords or fail2ban".
You can destructure without moving, as you suggest, by taking a reference.

Move:

let x = (box 2u, box 4u);
let (y, z) = match x {
(first, second) => (first, second)
};
println!("x is {}", x);
// this will not compile: x is moved into y and z

Reference:

let x = (box 2u, box 4u);
let (y, z) = match x {
(ref first, ref second) => (first, second)
};
println!("x is {}", x);
// this works fine
I noticed an interesting gender stereotype.

"Want to help someone out? She will probably use a Qwerty layout."

I'm not perfect and guilty as well mistakenly defaulting to a user on the internet as a male. Let's try to welcome both genders equally :)
Why React and not Mithril?
Thank you for this update. I remember your story well and I'm happy that you've made so much progress to cure your son.

It is people like you, and the hard work you do, that drives the progress of mankind. Like in your Ph.D. post, the boundary of all medical knowledge gave way, and you've created a dent. A dent that will improve and save many lives. Thank you for your contribution, and best of luck on the way to curing your son!
In my experience, React has been a better realization of the concept behind Polymer ("reusable web components"), without the non-sense. I don't even consider server-side rendering the killer feature.
Been writing a Django-based API-heavy app and it still feels very Django. DRF fits the ORM like a glove and there's a Django way of doing things that runs throughout. Models ≈ ModelForms ≈ ModelSerializers ≈ ViewSets ≈ ModelAdmin. Certainly never feels like I'm fighting the framework(s).
Hi Max,
Survata co-founder here. 164 respondents is actually a fine sample size for a quick read on qualitative feedback. Even if this had been a quantitative study, that would represent a 7.7% margin of error at a 95% confidence level. Counter-intuitively, you don't always need thousands of respondents to measure an audience's behavior!
Destructuring doesn't cause problems for move semantics, it's that move semantics restrict the ways in which you can destructure an object.

Essentially, if you're trying to destructure a borrowed object, you have to use references. If instead you tried to destructure its fields into owned objects, this would involve moving the field in the borrowed object into your owned object, except you're not allowed to destroy borrowed objects.

For further clarification, when you say "I wish to use the name X to refer to field Y", that's a reference (X refers to Y).
> Eurocontrol said Ukrainian authorities had barred aircraft up to 32,000 feet but the doomed aircraft was cruising at 33,000 feet, still within range of sophisticated ground-to-air weaponry, when it was hit.

Are you kidding me? Highly irresponsible of the people who decided to take the plane that route anyway. Heads should roll from that airplane company. You don't take a plane over a war zone of which you were already warned about, and just slightly skirt the "regulation" to be allowed to pass. What a ridiculous decision, whoever made it.

As for Russia, I hope the whole world turns against them now, until they cut off any sort of support they may still be giving to pro-Russian rebels in Ukraine, and they should also actively help in ending the conflict. What do they hope to achieve with it anyway? Just to pester the Ukraine government on the border, out of spite that they're allying with EU? Either go full on war (but hopefully not), or GTFO.
I occasionally use What the Font to identify fonts... not always able to find all similar versions but it usually helps fill in the blanks on possible letter shapes of other letter in the font so I can hunt down similar fonts.

http://www.myfonts.com/WhatTheFont/
I only see one place where an if statement has curly braces where it doesn't need them. The rest of them only have curly braces if they're necessary.
Nice to be reminded of this piece. However, it sparked a thought when he mentioned micropayments as a market that was guaranteed to doom start-ups that were trying to launch product in that space. Is the current crop of mobile payments startups set for the same fate? For example, Square couldn't get Square Wallet to a winning position. And if it is the market that is the fault, is it specifically the market in the United States, e.g. will mobile payments succeed in Europe before it succeeds in the US because it's a more fertile market for this sort of stuff?
Is interesting to think in the lack of effort in build simpler/smaller system aka programming languages. Instead, it become bigger, messier and harder. Some more than others.

But look like developers (at large) fight with Java-like bureaucracy instead of replace it.

For example, In https://news.ycombinator.com/item?id=8048014 is discussed how great could be the use of Nimrod, but the lack of ecosystem kill this for a lot of people. The energy on build it is hard. However, the energy of battle against the complexity of a ecosystem like Java is bigger... so weird, not?
“Next Week ... Is My Seventh Funeral For Someone Younger Than Me”
A bunch of new shell commands that will rock your world
I don't know, but this subthread is off the charts on the Poe scale.
If so, then why ever use /dev/random?

Given the lack of the "middle ground" introduced by this patch, you have (had) a choice between the failure mode of "block for a very long time" and the failure mode of "might generate easily predicted cryptographic keys under certain extremely rare circumstances". You use /dev/random if you prefer the first failure mode.

Edit: The whole situation didn't make sense from a system design point of view (unless you don't believe in CSPRNGs, but then you're basically screwed anyway), but given the unreasonable interface as a constraint, it's conceivable that somebody might have reasonably made the choice to use /dev/random.
Absolutely agree. I just pledged. Thanks Tom.
Interesting. Thanks.

For the hedge fund market (or for any market for that matter) you might want to append this statement:

"via API or spreadsheet" on http://priceonomics.com/data-services/ to also say "via Spreadsheet, Web interface or API".

You should probably also dedicate a complete "sell" page to each industry you are targeting. Hedge funds deserve a dedicated page if that is a (and I suspect it is or will be) big whale for you. I'm guessing you know this but PN hasn't done it yet.

When making buying decisions people lock onto things that say "ok they have exactly what I need and are experts in helping my industry and my competitors are using them".

"We help financial service firms crawl data"

"We help hedge funds crawl data"

"We help retailers crawl data"

"We help non-profits crawl data"

And so on....
Any guesses what the acquisition price was? I see that they raised $10 million back in Jan 2012.
How does the user find the business?

This seems like something that can be done with a facebook personal message or something.
http://anitaborg.org/wp-content/uploads/2014/03/The-Case-for...

While the study does point out that successful companies have more women it fails to provide causality. Do successful companies hire more women or does hiring more women cause you to be more successful?
I suggest viewing a related idea Indie: https://ind.ie
The optional “else” in Python loops
We just launched a Drag and Drop website builder made in React:

http://buildicus.com/

I have been distilling all the lessons learned into a lesson plan: https://github.com/zbyte64/reactjs-crashcourse
Saw the colors thing before. Interesting but I think I prefer the PIN because it's easier to check (you can't compare color shades on different screens), though I must say I haven't used the PIN method before (I have used the color method and found that it didn't really add much).
Do you think pwclip [1] would work well for you? The key file is optional, if you provide a -c argument that prompts for your passphrase (and ideally returns scrypt(pw)).

[1] https://github.com/davidlazar/pwclip
I think they solve two different problems. Polymer I see as useful for creating atomic UI elements while React.js is better for stringing the UI elements together into a cohesive experience.
/dev/random is a CSPRNG with finite output over a fixed time period, so it is susceptible to denial-of-service attacks.
I am Rising Stars alum. Biggest benefits for me were:

1. One-on-one mentorship from an extremely high quality mentor.
2. Preparation for Techstars application (which we successfully were accepted to Techstars-Kaplan)

Highly recommended and well led program.

-Dave Cass,
CEO, Uvize
Although it's not new now, you should definitely try the Frog City Imperialism series(they're on GOG). Very taut, economic-oriented 4X games, they're turn based and spiritually precede the Paradox games in how they move away from the wargame unit-movement and city-management trope in favor of mechanics around province boundaries, transit links, and centralized production sliders.

There are occasionally new 4X games that appear on Steam but I haven't found one I like yet.

Actually, maybe you shouldn't try Imperialism if you don't have a few days free. It is a dangerously addicting game, especially the second one.
Gmail hack – how was it done?
My daughter's Gmail was apparently hacked (spam was sent to all her contacts) - how was it done? Here are some relevant facts:
1) she had 2-factor authentication (using SMS) in place for months before the incident.
2) the access log on Gmail shows only accesses from her home computer and her phone.
3) home computer is a Mac with Apple Mail - no viruses found on the machine
4) iPhone Mail is also connected to her Gmail.

What's the most likely attack vector?
I've been using Colemak for about 6 years now. The difference for me wasn't just speed, but rather that I learned to type "wrong" on Qwerty. I could never get myself to touch type, I always had to look at the keyboard. It turns out that forcing myself to switch layouts fixed that, for whatever reason. To this day I can type with Colemak without looking but have to look if I want to use Qwerty.
We aggregate business data similar to Foursquare.

Not many businesses are sitting behind their facebook pages to use it as a communication channel for customer service/ sales inquires/ etc.
A complaint about the site: I like to move my mouse near the section I'm reading, but it keeps fading out the part I'm trying to read.

Also, I still don't really understand what does this do? You only give me a form but no additional information.
Perhaps you should actually read the paper and you'll understand. It's less daunting than it looks and is not very theoretical.
How is this different than TalkTo? What is the business model here?
> If so, then why ever use /dev/random?

Exactly. The warnings about "entropy depletion" are only relevant to theoretical attacks which require either impossibly large computational resources or a flaw in the PRNG algorithm. Since either assumption breaks all our crypto for other, unrelated reasons, we use /dev/urandom.

That, and if you use /dev/urandom before it's seeded, you expose yourself to real attacks.
(The `match` is unnecessary in both examples: the patterns are irrefutable and so work directly in `let`.)