skysight-inc/HackerNews huggingface dataset:
Running non-converted files through babel is not an issue, they will just come out looking the exact same. That said we have a high number of JS files (that I am slowly pruning down) so it was a worry (time-wise it takes ~30 sec to transpile all our JS) to run them all through babel. I considered trying to add a:

"use babel";

at the top of files that should be transpiled but I couldn't find a good "gulp way" to check for that. I also considered using a "filename.es6.js" structure but following file renames in SVN is a bitch and a half (not my only reason) so I didn't want to have to change those all back when es6 was widespread enough to use directly. I settled on running them all though so our "gulp build" takes 30 seconds or so but for our "gulp watch" (which starts off by building everything) I implemented caching so that only changed files had to be re-transpiled before getting concated into our "app.js" file. With this change it takes <1sec to transpile changed JS. Since our JS dev's use "gulp watch" everything works out quite nice so that they can edit a file and reload their browser to see the change immediately (30 sec times would have killed babel in it's crib for us and I assume most other places).

For caching we used the gulp-cached [0] plugin. It's important to note that if you plan on concat-ing your files that you are caching then you will also need to use gulp-remember [1] which re-introduces cached files into your file stream after the intensive parts of are done so for example:

var customJSStream = gulp.src('webroot/source/js/**/*.js'))
.pipe(cache('app-custom-js'))
.pipe(babel())
.pipe(remember('app-custom-js'))
...

(NOTE: I've left out stuff from our gulpfile and simplified it for display here)

We then combine that stream with 2 others and concat them all together but that's not important for this example. Let me know if you have any other questions!

[0] https://www.npmjs.com/package/gulp-cached

[1] https://www.npmjs.com/package/gulp-remember
Switching from writing classes in other languages to using the JS prototype made writing object oriented code more fun and much faster! The prototype way was a step forward. I think it's very weird that JavaScript is now planning to introduce classes, and that you guys are so exited about it.
It's already been tried several times... and unless the big 3 browser makers (google, mozilla and ms) all support a given approach it just won't happen. JS is for better or worse what we get in the browser, and the subset optimizations for asmjs is probably as good as what we will get broader support for.

Transpilation is really the only option... And even using a common bytecode, there will still be a compile step which is separate from the source, and requires mapping to be able to associate the bytecode to the source with the same potential for bugs you are complaining about.
how about photos of shelter cats? With QR-code with each photo pointing to the adoption page of the cat.
The best play, IMO, is to sell the company within the provisional period.
I can't watch because no subtitles, but man that intro is condescending. Not saying that academics are completely innocent either, but maybe if the description focused more on the substance of the data, it wouldn't seem like the smugness was a cover-up for trying to rationalize their choice of language.

Anyway, I'm no PL theorist, only a schlub that's a better programmer because of ML. Yeah yeah, sample size of one...
A better requirement would be to define some minimum level of durability, and some minimal level of freshness in the face of concurrent modifications.

Frankly, who cares if a caching driver avoids some database queries entirely if it still provides the same level of durability and freshness guarantees? If mongo+redis are OK, what's wrong with a plain hashtable?
The opinion is as generic as that of a random person. There's nothing in the answer which provides an actual insight into the making of a billionaire.

Maybe there are no insights. Maybe it is all a sum of the generic things she spoke of, and pure luck of having successful consecutive ventures.

But to put it simply, it's not that great of a Quora answer.
Regarding the cup of coffee, they've put DRM on that too: http://arstechnica.com/tech-policy/2014/03/how-do-you-drm-a-...
Heh, I decided to take a look and see if one of my darker hunches might be worthwhile:

"After technology, real estate produced the next largest group of self-made Forbes 400 members."

Yeah I get that real estate is a good business to amass large scales of wealth. From what I've studied about money laundering, real estate is the most advantageous method for cleaning up dirty money...I'm not accusing all of the self-made real estate moguls of money laundering, but I'd be suspicious that not all of them saved up their tips from working minimum wage jobs to get their start.
Thanks for the feedback! That's a good idea. Just to make it as clear as possible.
It's too bad that the WoS isn't able to display things like partial-support (https://twisted.readthedocs.org/en/latest/core/howto/python3...).
Its because, quite frankly, most places suck at doing Agile. And they fully embrace most of the aspects of "Agile" that seem to be there only to treat devs as children and easily replaceable cogs. Most people's first exposure to Agile is in this kind of environment, and so they grow to resent it.

Someone will undoubtedly come and reply to this saying that those places weren't really doing Agile, but that's irrelevant. They were claiming to do Agile, they paid some expensive consultants to train them on Agile, so from their perspective, they're Agile.
That's the very interesting border between numbers as abstractions of quantities and numbers as element of a set (N, Z, R, C etc. The question of 0 is particularly puzzling to me.
Ask HN: Please stop making infinite scrolling websites
Please, stop.

Sarcastic disclaimer:
I am not backing my statements with facts. I think infinite scrolling websites are already a fact against themselves.

- They might be visually appealing (sometimes) but they are against usability, load and usefulness in general.

- Not even Pinterest (one of the most famous infinite scrollers advocates) allows you to go back to your scrolling level if you refresh.

- They are annoying. Their format fits mostly mobile devices where knowing where you are in a page is perceived differently (and sometimes totally not important).

- Fitting analytics (that make some sense) on infinite scrollers is another pain.

- If I am using a website for anything different from leisure, I want to use its content as a reference for something I need to share or use later.

- They were already despised in 2013:
http://www.smashingmagazine.com/2013/05/03/infinite-scrolling-lets-get-to-the-bottom-of-this/

- They got XKCDed: https://xkcd.com/1309/

Even Google didn't like them, then got used to them:
http://www.zdnet.com/article/google-tries-to-save-the-web-from-the-curse-of-infinite-scrolling/

Other sources
http://www.nngroup.com/articles/infinite-scrolling/
http://www.sitepoint.com/ux-infinite-scroll-good-bad-maybe/
http://designmodo.com/infinite-scrolling/
https://econsultancy.com/blog/61703-infinite-scrolling-pros-and-cons/
https://www.linkedin.com/pulse/20140626160300-5182010-bad-website-bad-infinite-scrolling-pages
https://www.quora.com/Is-infinite-scroll-and-parallax-design-good-or-bad-for-conversions-for-single-product-sites

- The only funny source: http://whitemenwearinggoogleglass.tumblr.com/

EDIT: improved readability
Bottle handling 5x more requests than Flask. Impressive, but overall Python framework performance ist still... meh.
Thanks very much for the quick and direct reply. Maybe you want to say in your privacy policy just what you've said here.
All-Photonic Quantum Repeater: A Major Step Towards a Worldwide Quantum Internet
Choose your own adventure:

(a) There is no real flaw here, other than the potential for maybe sending scary messages to people's In Flight Entertainment screens, and so the disruption he's causing by suggesting that there might be a flaw has no upside.

(b) There is a real flaw here, for instance a message he can send across in-flight wireless that would deploy an oxygen mask, and his broadcast that he intended to tinker with that system is actually threatening.

Am I missing a case (c) here?
It probably wouldn't have garnered as much attention, however, this appears to be a common sentiment of those largely considered rich and/or successful. It doesn't make the advice less valuable.
What you said is hypothetical, but the question we face today is "should we put limits on our ability to transmit and receive information in the name of incentivizing content creators to create when we already have many lifetimes worth of content?"

Right now there are limits on what we can communicate, limits placed in the name of "protecting content creators." These limits are a kluge. For example, what if I where to take a song, compress it a ton, then read out loud the base64 representation to a friend who is transcribing it.

Have I infringed the copyright of that song? Or was I simply describing it so precisely that I allowed my friend to reproduce it flawlessly? If I sing the lyrics to my friend and he learns that, are we breaking a law? And more importantly, should we be breaking the law when we do this?

Why can't we communicate whatever we want? Why haven't we accepted that the progress of technology will slowly make all things a matter of "communication"?

I think that part of the answer to that question is a deep anxiety over such a profound shift in the "business" of our society. It would mean much would have to change, and while I'd argue that change would be for the better, I understand that anxiety.
How Tor is building a new Dark Net with help from the U.S. military
Even with prototype based inheritance I tend to avoid it all together in JS. Preferring to use generic object instances, with function based modules that can be composed (Ramda, ReactiveJS, etc) that works out being much better and easier to reason with in practice in my opinion. I agree that the class syntax seems a bit weird, but it isn't bad... It's a lot better than ES4/AS3 syntax in my mind, though ES7 (TypeScript/AtScript) seem to be moving in that direction.
models from engineering tend to make wildly unrealistic assumptions to get to a reasonable conclusion, e.g. the spherical cow

this seems frowned upon in Biology, but then at least you are invited to fix your analogy later on.

https://en.wikipedia.org/wiki/Spherical_cow
Hmm, I'll have to do some more cross browser testing. Thanks for taking a look and letting me know what browser you were on!
My advice is to only depend on commodities, not services. a commodity is something so generic and interchangeable that you can hardly distinguish between competitors. In this way, every external thing you rely on is a potential single-point-of-failure, but can be easily fixed.

If the thing youre depending on is unique and essential to your business, you're taking a risk because your success depends on their continued success and if that service goes down you go down with it because it cant be easily replaced.

TL;DR You dont have to reinvent the wheel, but for all of the off-the-shelf products you use make sure there are plenty you can replace it with at any time.
Windows 10 Release Date Revealed: How to Upgrade for Free
I think one of the problems in the world, and maybe this is contributing to the high income inequality, is that people want to be billionaires. There's too many people trying to line their own pockets, over payed CEOs, hedge funders doing questionable things to increase their fees. After like 10-20 million you can buy pretty much anything you want and do anything you want to do. Is a 200 foot super yacht, better than a 40 foot? Sure, but you don't need to own it you can rent it. Is a 50,000 sq. ft. house better than a 10,000 sq ft house? Who cares.
It reduced motion sickness by about 13% - and appears to cover about that amount of the screen. Are we sure the effects aren't simply because you are effectively covering up part of the screen? What happens if you cover up 50%? 100%?
Probably not, because most of us don't know a self-made billionaire. But because she does, it gives her answer credibility.
It's a good start to switch the extension name so you now in which files you can use es6...

But as the other commenter said, all es5 JS is valid es6 JS...
Imagine a futuristic utopian human society. Are the people writing poetry, playing instruments and painting murals or are they assembling widgets in a factory?

Humans are really good at creating things, that's what I think we are here to do, not "work".
If you break up your application into separate npm modules, each module's transpile time can be reduced quite a bit to where you're unlikely to even notice.
It's a generic answer because it's a stupid question.
And you suppose it would be better if a penniless person wrote an article on how to get wealthy?
I'm trying to figure out the best way to do this. One option is just have a bunch of links to example sites. So they're displayed full browser. Another is a gallery with screenshots, but they'll be a bit' small since I'd be putting them in a gallery. What would you rather see?
Mysterious 'Cold Spot': Fingerprint of Largest Structure in the Universe?
The old road is still getting holes patched. Official support has already been promised until 2020, and features are being backported from 3.x to 2.7 http://legacy.python.org/dev/peps/pep-0466/#implementation-s...
Can't we just intall into a directory and uninstall by removing a directory?

https://en.wikipedia.org/wiki/Klik_%28packaging_method%29

https://www.slax.org/en/documentation.php

More like an image, but close enough.
> another year has gone by without considerable progress towards adoption of Python 3

What planet does the author live on?
It's been always like this for human labor throughout history and more specifically since the Agricultural Revolution. Human labor is always in surplus and this resource has been exploited by economic powers and interested parties in many ways from hardcore slavery to modern wage slavery but what changed recently was technology made it easier and more efficient to tap into this resource for anyone interested and thus this imbalance of power shifted in favor of the capitalists and business owners.

It seems that most of the gains that we take for granted like weekends and paid vacations and so and so forth that the labor movement acquired over the years since the advent of socialism are up for grabs and at risk of evaporating altogether.
With the Snowden reveals the past few years - pardon me if I'm a little tinfoil-hat about being suspicious of a free upgrade to Windows 10...

Am I wrong to be suspicious of that?
Zero-Day Exploits in the Dark
> The former, hence the phrase "in total", and the number 12 instead of 1.

It wasn't very clear.

>> You mean the Easy++ problem? The solution isn't very different from the solution to Easy (i.e. the original problem); it just takes longer to run.

Btw what's the run-time on your easy++ solution? - I think the run-time on the solution to the regular problem with a single counter is around ~26 years, so all your prisoners will die before they can get released unless you're doing something more clever than the basic solution.

Also I'm not sure I understand the difference between your Easy and Hard problems? I assume the prisoner who is not interrogated with the other inmates just estimates the run-time for their solution and waits (which I think is part of the original problem anyway ? )
It raises some good points. It makes me think of other projects I've been a part of where the working, existing system was starved for resources in favor a new system which didn't exactly dominate in performance or capability.

I've been programming for almost 20 years but am new to Python. I'm currently working on an API for a product and testing it against 2.7 and 3.4. It's not the end of the world, and if it works for 3.4 it pretty much works in 2.7. Granted, it's not the world's most complex or deep piece of python, but is there a real problem in making 2.X code run on 3.X? Is it really that big of a change?
EMINEM V Batman and Superman: Dawn of Justice Trailer Redited
So what happens at 80?
Bonebreaker Tyzel vs. Batgirl (krumper)
> Shift your focus away from what you want (a billion dollars) and get deeply, intensely curious about what the world wants and needs.

Spend time with people. Listen to what they say in unguarded moments, like moments of frustration, fatigue, or high emotion. Accumulate data. If you hear someone who wishes in frustration that they could think of the right gimmick so they can get their payout, then remember that as data about how they really see the work of doing a startup.

In particular, pay attention to what people pay attention to and how they filter information. Do they act to insulate themselves from unusual information, or do they seek out data that contradicts their own mental model? How well can they avoid "grinding an axe" in the way they seek information? Are they giving a genuine effort at analyzing things from first principles, and do they even know what that entails in the first place?

Now here's my self-serving advice: Get the help of someone who is insightful and intelligent, but whom others are prone to underestimate. Such people have a superpower: A social/tactical camouflage that puts them in a good position to detect lip-service to the values embodied in the paragraphs above.
If you're asking for a million dollars, the least you could have done was set up the site as a non-generic Wordpress one.
No one reasonably disputes that aging is the result of an evolutionary process. But that's a far cry from explaining exactly "why we see super-exponential decay in mortality distributions".
Syndicate for Safari: An RSS Discovery Extension
Nope! Customers don't have to do any setup. All of it is handled automatically. We use Namecheap's API to forward your root domain to www, and then point your www CNAME to a subdomain on claimyourname. That configuration tells the app which site to serve up.
Guido's keynote: https://www.youtube.com/watch?v=G-uKNd5TSBw

5000 packages converted, 55,000 to go. If you can't port until somebody else does, then projects that depend on you can't convert. Guido talks about this, and says more than "looks green to me".
How to become President of the United States without getting elected
If A and B are identical in all aspects except for mobile-friendliness (A > B), most users are going to like A better than B, given that information is laid out in a more easily consumable format on mobile [1].

User satisfaction not only depends on getting a relevant answer, but also how an answer is presented. Their degree of importance is where the weights come in.

[1] Otherwise, why would anyone build mobile-friendly websites in the first place?
In a world where nobody owns tractors and just leases them...

Tractors manufactured in the 1960s are still in regular use today, to a far greater extent than e.g. automobiles of that era. Although there are regular improvements, the core task of pulling implements across a field has not changed, and the same giant piles of steel that function today should still function decades from now. The portion of tractor owners and users who would welcome the dystopia you envision is minuscule.
Yes, I was assuming a typical disposable transparent plastic or glass bottle. I have not seen the machine in question, so I am guessing, but it would be very easy to implement and cover the majority of cases.
She forgot the marry a billionaire method.
When You Lose Weight, Where Does It Go?
Yeah the 6+ is big enough that it can get by on desktop viewing. I'm guessing the average mobile screen size has been steadily increasing and will continue to in future.
And it's quite possible that'll get unofficial support (perhaps not from the core team, but by people concerned) even after 2020...
Simpliest way to store your private finances data
For me with the headaches with Unicode and international content, python 3 is great and well worth the switch. However, I know most don't have that big of a win to switch and there is really no business reason to switch.
Better engineers are expensive, and I can't crack the whip on them like I can disposable engineers. /phb
Would this be considered cartel behavior?
The metaphor doesn't appear to make sense - at first, the new road is only "slightly wider and speed limit is fractionally higher" but then later on it appears that the road needs "enough new lanes" for all the cars on the old road.

I thought the premise of building the new road was because the old road's ground wasn't good enough, not that there was too much traffic and the road needed more lanes.

Anyway, the whole thing hinges on the authors assertion that the new road isn't that much better, so it's really up to the informed developer/user to decide whether or not they take the new road.
Most numerical sets you're likely to run into (including N, Z, R, and C) are groups under addition, which (among other things) means `x + a = a ⇔ x = 0`
This is the "problem" with not having things controlled by some central figure. Following the road example, the Dept of Transportation would simply open the new road, and close the old. You wouldn't have a chance to continue traveling down the old. This happens (to a large extent) with Java. Oracle opens the new road, then stops fixing potholes on the old one. You're not "forced" to move over, but eventually you stop wanting to fix your suspension.

That said, who is central enough to put an "end" date on Python and "force" people to move over?
Inside the official competition to determine the best baguette in Paris
gevent is pretty popular too.
Here is another thing the video almost got right- super high pitched falsetto singing. The only problem is the genre that used it was hair metal and pop, not salsa.
Linus Torvalds: Ever wonder about the habits of kernel developers?
It's not only about tractors. Cars and other equipment are based more and more on computers too. I saw 60+ year old tractors and cars, all work fine.

For expensive physical products, I would rather choose one with a high quality and a long lifespan with no computer in it at all. There are only a few left like Mercedes-Benz G-Class, Land Rover Defender, Hummer H1, Jeep Wrangler, Caterham 7. http://en.wikipedia.org/wiki/Mercedes-Benz_G-Class , http://en.wikipedia.org/wiki/Land_Rover_Defender , http://en.wikipedia.org/wiki/Hummer_H1 , http://en.wikipedia.org/wiki/Jeep_Wrangler , http://en.wikipedia.org/wiki/Caterham_7 .

Watching the Top Gear Specials where they drive with old cars through foreign countries on crappy roads - I always think about how would a modern car survive that - it wouldn't. For example the Porsche 924 (1980s) was cars with a lots of computer chips, it was completely dead (the dashboard lighted like a Christmas tree, the windscreen wipers was the only thing working) after a few days driving through Africa.

Richard Stallman was right. The GNU (L)GPL 2+ is a very good choice for open source projects - at least for bigger (for smaller BSD/MIT is good too).
Tough, Cheap, and Real: Detroit
It depends on the relationship, being an actual independent contractor is truly liberating. Choosing your own hours, working only on things you want to, setting your own salary based on how much you want to t work. There is real freedom in that as long as you get paid appropriately and actually get that freedom.

Companies wanting to save money on benefits while having 9-5 workers with no freedom of choice of when or how to work and no freedom to take other jobs? That's abuse of the system and illegal.

The difference is important.