skysight-inc/HackerNews huggingface dataset:
Fun idea! The note mappings shown at the end of the article seem quite specific to producing the code written for the demo, but I could imagine a more general mapping. Velocity also allows for some interesting possibilities, such as uppercase/lowercase. Rather than mapping chords to individual letters, notes could map to letters and chords involving those letters could map to common patterns with the letters as mnemonics.
UX for Good: Can We Harness Emotions to End Genocide?
You know, for all these horrible employers, who is it that is loaning them money to start these businesses? How are they able to persuade others to loan them money to start this madness?
Imagine you are someone who believes that we don't understand the climate well enough to determine if releasing ridiculous amounts of CO2 has any effect whatsoever. If you believed that, you probably wouldn't think that we understood the climate well enough to alter it.
Easy for rich Westerners to say. We're not the ones who will have to go back to subsistence farming.
> Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs

Isn't that essentially what I described? "Before seeking a third party library, be sure to check if the function is called many times or is taking a long time."

On the issue of this particular library: The problem is that you can do much much better by avoiding map, forEach and friends. The overhead of the function calls can be completely avoided by using a direct for loop at the callsite.

So yes, you may find it slightly faster to use this library rather than the native map, but with a small redesign you can avoid map entirely and get a massive performance win.
And the forcing of disparate country economic systems into line with the single euro based German one which meant they had no way out.

As the economics editor of the Guardian said of the Euro is a bad idea who's time has come.

The PIGS politicians also fiddled the figures to there own ends which lead to a property boom and crash in their country's - so those country are not totally innocent.
If you can survive a few minutes downtime, then you can use Amazon Route53 failover DNS (with health checks) combined with low TTLs to provide failover between DigitalOcean data centres for ~$0.50/month - this is how we structure our less critical APIs that are hosted there.

I agree though - it'd be great if DO provided a proper load balancing solution.
I think there are days I've felt this and other days when I've been that asshole pushing everyone forward. My own advice is to take a breath, block out 1-2 hours everyday with some sort of fake meeting you've made up for yourself to be alone, and give yourself a day a week for a makers day free from meetings.

If you still feel like you need to leave, then do it. People can likely tell when you're not happy. If you're convincing enough to get them all onboard , your shitty attitude is also probably pretty convincing in making them jump ship. Assuming that you still want this to succeed, exit gracefully if you have to.
The official names of European institutions - and what even high-profile journalists and lawyers make of them - are a constant source of head-shaking (and amusement). Council of Europe (non-EU) ≠ European Council (EU) ≠ Council of the European Union (EU). Court of Justice of the European Union = European Court of Justice + General Court (+ others; all EU).

Of course, the EU has 24 official languages, and needless to say, the translations of these terms are rarely literal, so the confusion is multiplied.

Seriously, the people who come up with this are either brain-dead or they don't want ordinary people to understand this system. I don't know which option frightens me more.
TIL (well, today I Googled) what a whuffie is.
It would be nice if they balanced the original audio and interpretation so that one could hear the interpretation clearly.
Baikal Processor with 8 Cores to Cleansweep AMD and Intel in Russia
Ah gross misconduct as the lawyers and HR tend to call it :-)
"no vacation"

In the Cadillac ad, the heavily painted individual said two weeks instead of the whole month. Just pointing that out.
> Additionally, since you pretty much never need the return value of splice, you can just not return anything instead of allocating a wasted array every time

That kind of optimization seems easily done with a builtin as well: have an option to return the array, and only do so if the JavaScript engine indicates that the calling code actually uses the return value.
Hi, I am the cofounder and I want to jump in. The Fair Credit Reporting Act regulates the background screening industry and gives rights to consumers. We cannot disclose offenses older than 7 years old.
https://www.consumer.ftc.gov/articles/pdf-0096-fair-credit-r...
My opinion is that JavaScript applications aren't losing that much performance by the use of lodash or fast.js but the gain in code brevity and readability more than makes up for any slight performance reduction. (Especially in a large web app where the tiny lodash library can save you many KB of boilerplate).

And with regard to performance, for most Node.js code / webapps if you have a loop with so many iterations that _.map is significantly slower than a for loop then you might be doing something wrong.
Honestly, you can look at a poor kid born to a poor family who works his ass off every day.

Then look at a wealthy kid born to a wealty family who works his ass off every day.

Even if they make the same on all of their standardized tests, make the same grades, and go to the same college, and get the same degree.....

Who's going to be more successful with the same amount of hard work?

And sure there's outliers but it's hard to argue that one's situation matters much more than the individual and this bizarre American sense of individual exceptional-ism is really naive.

I think stems from early Puritanical settlers who believed in pre-determinism and God rewarding people Materialistically the better person you are.

I'm pretty successful but I credit my family, being born in a 1st world country. My hard work was the tiniest of all parts of it.
Had I been born in Romania or Zimbabwe I would not be where I am no matter how hard I worked.
Conversely, I probably could have been way more successful if I had been born in a truly wealthy family.
When you look for jobs find companies that will let you have adequate vacation time and actually make you take it. The older you get you'll start valuing your and your family's time more and more. Making loads of money and then waiting for that 1 week vacation to blow it off, or wait until you are old to travel is not optimal the way I see it. By that time you'll have so many ailments travel won't be an option for long.
The Graph 500 list of fastest supercomputers
Become an expert at managing relationships at work
Indeed Acquires MoBolt
Specialisation in JavaScript JITs make these faster, since they don't even compile in that supporting code.

Whereas the builtin ones implemented in C++ do keep all the code in there.

This is why even full implementations written in JavaScript can be faster than C++.
Have you validated that there is a need for this app already or is just something you think is a good idea?

If it's the latter you may just be sinking time/money solving a problem nobody cares about.

If it's the former, then you should go down the MVP route first and put together something that shows the value that your product will deliver.
I've seen cases where people have done this with everything from sketches to powerpoint presentations.
If you've identified the right audience who has the need you are fulfilling, they will get what you are going for even without a product.

Also read this posts for additional inspiration:
http://scalemybusiness.com/the-ultimate-guide-to-minimum-via...
https://medium.com/p/ef3c2d02dc51

Lastly, about the point of the developer stealing your idea.
If you've done your due dilligence in terms of asking for prior work, getting references etc then that in itself mitigates the risk.
Over and above that, ask yourself why a (properly vetted) developer will risk their reputation and livelihood - everything that is steady and predictable in their lives to steal your unproven idea?
That's insane. I take the generic lamotrigine, but even at a high dose it's something like $36/month here in Canada. I have a half-decent private insurance policy, but at US prices I'd burn through my yearly prescription rebate limit in a month.
Set up data transfer multiplexing with AngularJS
Show HN: I made a minimalistic 2D OpenGL arcade game for iPhone and iPad
You might be surprised to know that haproxy or nginx in a container with confd + etcd is actually quite trivial to setup for load balancing:

http://brianketelsen.com/2014/02/25/using-nginx-confd-and-do...
You don't even need to fork it on Github, Cargo is just passing the URI straight to the git tooling.

You can keep it on your local filesystem and reference it w/ `file:///path/to/repo.git` -- you can also use SSH and HTTPS URIs from any other repository host, not just github!

So you could just clone the repo to some `vendor` directory and move `master` to whatever version you want!
If I am not mistaken, PHP is copy-on-write, so if extract just copy value then memory usage wouldn't be doubling.
GDP per capita doesn't say anything about the wealth of the median person, either. Maybe in this case, GDP per capita should be coupled with the gini coefficient, which in the US' case is high (less equality) for a first world country.
Good catch. I skimmed that page quickly and saw 10 GB and didn't look closer. Sorry for the confusion.
Mhm, I can do DNS load balancing now with any provider.

DO's main competition atm with price parity is Linode which provides single-dc HA load balancers. If I want to pay more I can use AWS, GCP, Azure, etc that also offer them. ;)

I'd really like to avoid DNS load balancing to failover within a datacenter at a minimum [in the event of a load balancer failure], ideally I'd like to avoid it completely.
So the premium TASKER plan is $25 once for unlimited requests?
True, but in this case the design is actually really good as well. Nest has the best unboxing and set-up experience I've ever seen. I was blown away by how much thought they'd put into it, and how easy they made everything. It's also really well designed from an on-going experience perspective... but I never really have to touch it now that it's installed and programmed.
Totally agreed, but for us that also write and consume RESTful services, PATCH is the best way to prevent race conditions when you have multiple things updating at the same time. That and as a purist, I like the idea of updating the minimal amount vs the entire object all at once.

Regardless, this is a HUGE improvement, so nice work! Oh and please keep the interesting projects coming on github. I'm a fan of the docker + consul integration you've been working on.
Responsive Design for your Web apps
Rework was Awesome! I would recommend The Lean Startup http://theleanstartup.com/ in addition to those above. Made to Stick was a good one too.http://heathbrothers.com/books/made-to-stick/
Bill Gates: Content Is King (1996)
I wonder if anyone uses drugs to enhance working (to gain productivity) rather than to relieve the stress...

Like people who take Ritalin for studying
It would be impossible to do so perfectly for a turing complete language. You could get close by running the previous minor version's test suite against the new update, but that would essentially make the package repository into a continuous integration server, which is expensive to maintain. There's another, less perfect way of detecting API breakage, which is to use the rustdoc tool to export the projects documentation as json. This would let cargo detect whether items had been added, removed or renamed, which covers a large number of cases in which API compatibility is broken. If it encourages developers to up the version number rather than fix the flagged incompatibilities, then it will also drastically reduce the number of incompatibilities in the package repository that can't be detected by rustdoc. While it's impossible to completely eliminate the human element in upholding the version number contract, software can limit the number of errors in the system.
"Hey, look! We cloned xScope!"
> "No Set Vacation - you need to negotiate with your manager if you want some"

No set vacation means no vacation quite often. Institutional ideology works on unwritten rules. So officially yeah leave any time that's cool, un-officially if you leave and Joe Smith here is working nights then well guess who'll get a talking to be about lack of motivation and performance.

I think the best policy is generous vacation time (4-5 weeks) and being forced to take it. The whole saving for a mini-retirement is problematic. Also I have noticed most people don't recognize burnout. So that forced time to rest and do something else is more beneficial than it appears on the surface.

EDIT: To add. I am becoming more convinced that vacation policy is one of the best proxies that show how much companies care about their employees' well being and happiness. Now, don't get me wrong, I am not saying companies should do that. It is up to them. They all will say the do though, but that is one metric that shows if they really do or not.
Care to comment more on the user exposed templates?

I haven't done much of any web auditing in the last few years but I would have guessed that we collectively had a decent handle on this with markdown/liquid/etc.

Are their some common errors devs are making with mature libraries?
You're right, let is a macro so you can't pass binding forms from a variable, my mistake. But surely Scheme has some function for binding variables to the local scope...

My point is that trusting user input is the error, not having the ability to play with the scope.
> If it's not going to change, then maybe some outreach should be done to get him to tag it 1.0.

Absolutely. Let me make an issue about that: https://github.com/rust-lang/cargo/issues/46 If he doesn't respond, I will email him.

> As for the FUDdiness...

Thanks! Since the points are enumerated, I can refute them:

> * You can't override a dependency:

You can, in modern Bundlers. But the transitive dependency issue is inherent to Ruby, not Bundler. Cargo will work like npm in this regard, not like bundler.

> Dependencies can disappear on you:

The central repository isn't built yet, but this is very valid. The reason that `gem yank` is still available to everyone is that you'd be surprised how often people push proprietary stuff up to RubyGems. It was removed for a while and caused a significant burden on the RubyGems team.

Regardless, yes, this is a serious consideration.

> It has weird rules:

Totally fair. Let's learn from that and make Cargo not have weird rules. :)

> * It promotes bad practices:

Yup, that's a Rails thing. Rust should be way better, as it doesn't have this kind of issue.

> * It's slow:

This actually has just as much to do with RubyGems as it does Bundler. See all of the presentations Andre has been doing recently, and the bundler-api project.

> * It was designed for MRI:

Quite fair. We only have one Rust implementation so far, but `cargo exec` won't be necessary.

------------------------

> So, it should be met with some level of scrutiny.

Absolutely! I don't mean to say "just take this without complaints." But without specific, actionable complaints, it won't get fixed. Please make as many specific, actionable complaints as possible, especially now, pre 1.0.
drive a periodic waveform and sample repeatedly. Assuming you don't somehow sample the same point in the periodic waveform each time, you'll eventually get the complete waveform.
Ever Wonder How Music Is Matched To Your Mood?
Upworthy open sources its code for attention minutes
My point is people are not taking their vacation because of something they read in the media so I think your question and concern were unnecessary.
Tested on mobile safari on an iPhone 5S running iOS7, and native Function binding is nearly 5x faster than fast.js.

Even in cases where this lib soundly beats native, I think I'd prefer the native variants for their fluency. Combinations of filter, map and reduce are extremely powerful ways to manipulate arrays, and I find that non-native array functions discourage this pattern due to lack of fluency. Maybe they could implement a chain function like underscore?
I think this is a great point. In Oakland, places that could use six stories for a project to pencil out are hampered by 35-foot height restrictions. Reading zoning code is so depressing because it has not changed much (despite updates) in 100 years. It's amazing how fast web technology moves to accommodate the browser's API: our neighborhood API needs hacking.
If you disagree with my argument, you should discuss it. If you disagree with my taste, you can do so politely.

> Just scattershot contradiction

It's appropriate when many of the statements are simply false.

- All competitors have Skype. This is not an advantage.

- The interface being "more thoughtfully designed" is debatable. I am hardly alone in preferring vanilla Android over Metro and it remains to be seen how well this interface mimics its big brother. This would create a halo effect if Windows Phone proved very popular. So far, it hasn't.

- A lot of people love Visual Studio. A lot of other people don't. I like it for C# work. I prefer Emacs for Python, JS and PHP. It's also not an option on two out of three major desktop OSs. I find the Android toolset very good for Android development and Xcode is unbeatable for iOS development. For Visual Studio fans, merging Visual Studio with the Android tooling may be a big thing, but for the rest of us, it's inconsequential. Most developers I know base their decisions on things other than what is the IDE that'll be used with a project. I fear for companies that do otherwise.

- Azure may be as good as Google's cloud offerings (haven't paid much attention), but how a platform agnostic cloud service infrastructure can be called a competitive advantage still seems an interesting question. I'd like to see some elaboration on that, because platform agnostic is, well, agnostic.

- Finally, Microsoft has a lot of B2B clout that allows them to throw money into other divisions until they achieve meaningful market share. However, unless Microsoft finds a way to monetize their Android offerings, they'll eventually give up and the phones will have to hold their own. This is an advantage in that Microsoft will offer all kinds of financial incentive to companies who develop for it or sign exclusives. It's money in the bank regardless of application or product success. Unfortunately, in my experience (yes - I have dealt with Microsoft) they are not the most generous partners. They'll offer mostly stuff that costs nothing to them (licenses) in exchange of stuff that has cost to you (effort, exclusivity). I've had much more attractive partnerships.
A fine example why this sort of "who needs the specs, FULL SPEED AHEAD" hyper-optimization can get people into trouble.
I'd suggest reading Four Steps to Epiphany to learn about customer development.
Ask HN: Using laser mouse sensor in a body of pen. Possible?
Hi,
I'm thinking about the stylus (pen) you can use on your table. To track it's position I'm thinking about the sensor as laser computer mouses have. Is it possible to place that sensor into a pen? Anybody seen prototypes?
The Intercom Refugee Discount
Unlimited counties, not requests. I assume that would be limited to one request per county.
"Thank god for Obama care and the new ban on pre-existing condition limits (i.e. that you could not get insurance if you were sick before). It kept people enslaved into a single job if they ever got sick since they could never afford to lose that health insurance or they'd die."

That is not true. Those protections were provided in 1996 by HIPAA Title 1 [1]. If you had been covered for 18 months, you were no longer subject to pre-existing condition limits.

[1] http://en.wikipedia.org/wiki/Health_Insurance_Portability_an...
yeah, that seems to be the thread here...

git has this concept of "remotes" which can be defined per project, but Docker has no such concept of a remote or even of a project. You have a Dockerfile and you have an image.

To be fair, there should be some kind of an "enterprisey" caching proxy that enables IT departments to act as a supervisor or man-in-the-middle, blessing some trusted images and forbidding the downloading of others, holding any pushes in a queue for "public release approval."

The docker-registry open source tool is rudimentary. I think there will certainly be alternatives to index.docker.io, and eventually even a configuration directive to select a different image host as the default.
This is awesome!

PS author misspelled the link to Stripe Checkout https://stripe.com/chekcout (missing a c)
"... audience which still believes their hard work and no vacation pays off."

People for whom that premise is untrue will still have reason to believe that it is true. Because the alternative--that they spent a bunch of their lives doing things that weren't really that rewarding--would result in too much cognitive dissonance.
In the past two years, I've spent six months living in Germany. The quality-of-life difference between that country and the US is striking.

In Germany, it appeared that ordinary people could both afford to, and were inclined to, partake often in small pleasures such as having a Bier and a bite at outdoor cafes in the summer. The streets were lined with these cafes and restaurants, most doing a brisk business. I never saw so many cut-flower shops in my life. The small pleasure of flowers was both affordable AND something that was on the minds of ordinary people, something that one would never encounter in the US.

Here, such things are looked upon as frivolous luxuries, and financially they are that for the 99%. If you can afford such things as cut flowers, then, we're told by our betters, you can also work for less money or work more for what you're earning currently. Why do you deserve luxuries, peon?

Despite what the pro-workaholic, GDP-flaunting people in the US would say, Germans on the whole seem to be quite materially prosperous. But with that, they are culturally prosperous in a quality-of-life sense too. They seem to expect it, whereas in the US a high QoL is reserved for the wealthy.

Obviously I'm not saying that every German lives this way, necessarily. But I think that this cultural observation is accurate. I think if average people in the US would be brought to understand that they too could have a modest life containing a big helping of everyday pleasures and without life-sucking, excessive work expectations, there'd be a revolution.
Kudos to Stripe for adding this. Having working on an Alipay integration via another provider, I know there is business demand for this.
And the fact that there are fewer people in Norway than there are in New York City.
> which is to use the rustdoc tool to export the projects documentation as json.

Side note: it already does this by defaut: http://doc.rust-lang.org/search-index.js

I'm not sure if that's enough information to do this analysis, but the basics are there! I've opened an issue: https://github.com/rust-lang/cargo/issues/47
The entire first world could get by with 100% time off on the back of the poor of this world. Why not just lose the pretense and admit that the rich americans and europeans can truly afford to spend all their days idle, consuming stuff imported and made elsewhere by people who work 12 hours a day, 7 days a week, while you all spend your days debating 35 vs. 40 hours of invaluable pretend work. Such hubris.
You can find hard workers everywhere including but not exclusively in America. I suggest you should want to wait before a Communist country becomes the next world power unless you would prefer to be told what to do. Clearly you are angry, maybe for a good reason, but I think your anger is misdirected at Americans.