skysight-inc/HackerNews huggingface dataset:
> America built 75,000 kilometers of interstate highways

Liked the of use of kilometers over miles
Really? Can you point me to where in the DSM it defines 'psychopathy', if you find an edition that old you may want to look up another disorder that stems from criminology commonly referred to as 'homosexuality', ironically homosexuality used to be part of 'sociopathy' which was closely related to 'psychopathy'.
It's more expensive to run than you think.
This was my initial reaction after coming from Java, generators, list comprehensions, insanely easy iteration, Python makes a lot of things extremely easy that would take 10+ lines in another language.
Interestingly, that's actually a rather unclear question. There are (at least) two fast food franchises that bear the name "Taco Time".

The largest Taco Time is an international chain of restaurants, found in the US and Canada[0].

The smaller Taco Time, officially Taco Time Northwest is a franchise local to Washington State, largely the greater Seattle area, where I grew up[1].

Taco Time NW has generally higher quality food than most other fast food restaurants, and seems "higher end". I always really enjoyed going there, and when I moved I was surprised to find these other places named "Taco Time" that were really different.

[0] - http://en.wikipedia.org/wiki/Taco_Time

[1] - http://en.wikipedia.org/wiki/Taco_Time_Northwest
Most of those would probably cause a non nuclear detonation. Still bad, but no where near as dangerous.
I only want print as statement again
> So what if it is. Why not just make prnt a function. Or println or something.

Make another function to print output while also having a print statement? "There should be one-- and preferably only one --obvious way to do it". Same with urllib. Lets just be clear, they didn't release Python 3 because urllib and urllib2 were not combined, so no by itself it's not worth breaking backwards compatibility for (and hence why there were 2 urllib modules). But combined with a bunch of other issues, some of which necessitate breaking backwards compatibility, why not combine them?

> I say it is not worth doing it at the time they did. It just came too late. People how didn't pick python over other frameworks probably weren't put off by the print statement.

Fair enough, but better late than never right? You can't maintain backwards compatibility forever especially with syntax changes. That's why it was put into a major release and the 2.x branch continued to develop. Porting the code isn't hard (there are even automated tools to do it, like gos gofmt command), and I think every major web framework supports py3 now.

> How does bundling a library like that break code?

The best things about python packages is they can be updated independently of the standard library that ships with Python. Why would you want to add flask or requests to the standard library? Is executing one shell command too hard? Including popular packages just because they are popular at the time is not a good thing to do.

> And if it is beyond you read up on how JPython works because it doesn't have a GIL.

You mean Jython? That's a silly comparison. CPython is the reference implementation for Python. A JIT compiler could be added to it, sure, but actually think about it for a second: writing a JIT compiler for Python is a huge undertaking. PyPy has one, but it's not 100% compatible (no eval and others for example, which is sometimes used) and for some workloads slows down execution. Not to mention PyPy is a very advanced project and it has taken years and years of development by people specialized in writing JIT compilers (remember Psyco for Python 2.5?) to get PyPy to where it is now, expecting the Python developers to whip up a usable JIT compiler in a jiffy is not exactly realistic. Adding one would add huge complexity to the reference implementation of Python, the same goes for the GIL. Read here[1] for reasons why the GIL will never be removed and use the awesomely simple multiprocessing library to spread work over multiple cores, that's why it was made.

1. https://wiki.python.org/moin/GlobalInterpreterLock
The version of iPod car integration that predated CarPlay was pretty comprehensively dropped after a few years, with no support from new iPods. It took several years for them to even announce a replacement that offered the same capabilities and it's not backwards compatible with older cars.
Rap very obviously was created by and is to this day dominated by black people. Saying so is not racist.

And zenbowman's comment can be racist without mentioning race. I might be upset because the U.S. has a black president, and say "our political system has gone to hell!" and that would be a racist statement even if I didn't explicitly spell out that my reason for thinking so was the existence of a black president.
I'm still scarred from those super-creepy X10 ads that blanketed the web about a decade ago.
Perhaps the brand they had been using switched to organic?

I suppose it's also possible that someone just assumed organic == better, or there were both organic and non-organic versions of the same cat litter, and a mix-up resulted when the premium product came up first in their search results.

If they'd known what the litter would be used for, I would hope they'd have been more careful, but I don't know at what level in the supply chain the decision to switch was made.
Thanks for the feedback, I like this idea. I can imagine it working well in 256-colour mode, gradually increasing colour intensity in line with write-frequency.
Disappointing article. A console application isn't ASP.NET.
I was curious about this too and asked on Reddit, which got a variety of answers (and good terms to search for!) if you're interested in finding out more: http://www.reddit.com/r/askscience/comments/26idyd/why_weren...
Out of curiosity, is chess solvable yet by computers? Meaning, is it possible to simply brute force every possible legal game up to n moves and determine all the winning and losing move sets? What's this number look like theoretically?

(I'm sure in the general sense games with a very large n aren't as I suppose a game could be played in perpetuity)
Maybe it is possible to put comments in .csproj files, but that isn't exactly a common use case.
Can anyone explain why written code couldn't be considered "a compilation (an original manner of selecting or arranging preexisting works)?" I would think common sense would define most software as an arrangement of preexisting works.

e.g. If I'm contracted to develop a web app it's an original arrangement of an existing programming language.
Python is not dying and if so, Go would not be the reason why. Sure, Python is not functional, not compiled, not mobile, not Rails and not in the browser.

But I can not imagine the languages, which are all this, to spread so nice and readable from command line scripts to scientific computing to big server applications.

Python's use cases will not go anywhere, so don't panic: Python is doing just fine and improving in many areas while holding on to its core values.
My backup strategy which so far I am happy with:
- on my Macs use Time Machine even on my MBP using a NiftyDrive with a selected set of folders that are important since the NiftyDrive is limited (currently I have a 64Gb)
- remote with CrashPlan which I got a few years back during a Black Friday sale at a great discounted price (wish they were doing that again)

I had a few times to use both to restore some files and in one case my MBP HD that went bad... Through CrashPlan I was able to restore everything (it took almost 12 hours to re download everything) but at the end to my extreme surprise I lost less than 5 min of work since CrashPlan was quite up to date.

I do use of course Dropbox but I don't consider it as a backup destination and rather a sync'ing service. I do have for a few months now a FileTransporter from Connected Data and start to use it more and more since I can store up to 1TB and no monthly fee for it, but not yet done the full jump from Dropbox.

I will be curious to hear anyone else solution.
I doubt that's why. In this case, as the site doesn't appear to render well at all on mobile in the first place, that meta tag was probably just blindly copy pasted from somewhere else that did have a responsive page.
Not that it matters, but he really doesn't seem like a psychopath. Real psychopaths tend to be brave, extroverted, narcissistic, impervious to punishment, etc. He really didn't fit. (He's a little narcissistic, but limited it to talking about his being a "perfect gentleman" and things like that. Otherwise, he tended to condemn himself--his height, physical weakness, bad fortune, etc.)

Of course, I'm basing that on his autobiography which might be nothing but bullcrap. I looked through it, and the takeaway is that he was a sullen, jealous coward his whole life--but sufficiently introspective to write 137 pages about that life in which almost nothing happened, and nothing at all happened that he himself instigated. You know, until the end. Note also that the bio was coherent and competently structured, whereas in his videos he's barely able to sputter out a normal-sounding sentence. Psychopaths tend to be eloquent and charismatic.
This is not the message we want to send: "Yes, All Women" Post removed from HN.
Original article: michaela.io/yesallwomen/
+1 Best answer so far.

They are just making a bet that tight coupling to a singular platform does not give them the agility they want for the future. This may also be a trial balloon. If this goes well you may see other things in the Microsoft stack make similar changes.
The secret is generated by a PC using Yubico's tools (see the screenshots in the PR). If you're truly paranoid you'd do this on an offline computer so that the secret doesn't some how leak to the Internet. This secret could then be programmed to other YubiKeys if desired (at least 2 are recommend for backup).

Every time the KeePass2 database is written, a new master seed is generated[1]. The master seed is stored raw in the header of the KeePass2 database so that it can be read later for decryption.

This pull request is a nutshell submits the master seed as a challenge to the YubiKey which replies with a deterministic response. We then use the response to generate the final key. The final key is the true encryption key and the file is written out. To decrypt[2], we do the same thing, but read the master seed from the header file. Commit that ties everything in to the final key[3].

[1] https://github.com/keepassx/keepassx/blob/master/src/format/...
[2] https://github.com/keepassx/keepassx/blob/master/src/format/...
[3] https://github.com/kylemanna/keepassx/commit/45d2add8a3037c3...
British strategic nuclear weapon designs used mechanical safeguards, including thousands of steel ball bearings poured in through a hole in the casing, which made the bomb safe to carry but had to be drained out before use [1].

BLUE PEACOCK, however, used chickens [2].

[1] http://en.wikipedia.org/wiki/Violet_Club#Design_features

[2] http://en.wikipedia.org/wiki/Blue_Peacock#Chicken_power
Wash And Deliver: Startups Aim To Solve First World Problems
This would be the case if you were a musician performing a concert for pay, so I wouldn't be surprised if it applied to writing code as well.
Bad instructions. Basicly someone said use brand X without specifying what about X you needed. So, someone used brand X with a different formula and never thought you needed to get approval because there was no change.
The biggest problem with python 3 as i see it is that it seems to cause people to air grand opinions unencumbered by any actual data.

I have seen neither evidence that python is "dieing" in any way, nor that people are dropping it because it lacks radical new feature X. Things may be more competitive now but I don't see any stagnation in the community - and that's always been one of python's strongest points.
Why do you all have your own datasets of historical chess moves? Is this a popular playground for data analysis, or is it something chess learners study?
I used postgres for all the projects I'm afraid, but the Mysql team provide a db-api compatible library here: http://dev.mysql.com/downloads/connector/python/ that supports Python 3
Yes, and then add SCTP (over UDP) and we have most of SPDY's benefits :) As they say, if the protocol's not supported, HTTP 1.1 fallback is always supported.
That pretty much reiterates my points from last time we discussed (not many hours ago).

https://news.ycombinator.com/item?id=7801004

Besides what already was said. It is also important to emphasize that Python 2 is already pretty good. So it is not that Python 3 is bad, it is just that it is very hard to improve on 2.

Ironing out the warts is good, but this was not the right time. This should have happened 7-10 years ago.

Nowadays I can't imagine a lot of people discounting Python because of the print statement, unicode support, division rules, or lack of yield from statement.

It will be performance, concurrency, ability to create web back-ends, installing packages, testing frameworks, IDE support.

Apart from allowing optional type annotation syntax I just don't see Python 3 providing a good enough carrot to force many projects to switch to it.

Imagine you go to a manger and tell him. "Oh this 800K line project we have in Python 2 will be ported to Python 3, can we have 1 month to do that?". Ok then the manager might say "Well we have these features to implement but if you all say so. But what will we gain by it, to offset the time spent (opportunity cost) and risk of breakages". And if the answer if "oh you know print is not a statement anymore, and many dictionary and sequence methods are not iterators not returning values, and this new Twisted-like async library...' Well you can imagine many a manager might just say "well that is just not enough".

If in turn the dev team came back said "Oh yeah they integrated PyPy, STM module, requests module. Static type checking via annotations, 3x speed improvement, no more GIL so can do some CPU intensive work if need to.". I can easily see this proverbial manager OK-ing that.
Meet The Woman At The Heart Of San Francisco's Anti-Tech Gentrification Protests
The language is tricky, but writing (a book, a program) (or drawing a picture) isn't considered "arranging" words (or paint drops). The entirety of existence is just a series of rearranging molecules, atoms, and quarks!

The attempted distinction is intuitive to me, but I for one can't think of the words for it.
"I misread X as Y" comments don't seem to be popular here, but I was tempted to post the same thing.

I read this headline exactly the same way as you, and I actually felt relieved to know that the cat litter CEO was not a suspect in this accident!

I think it's a lesson for headline writers: Sure, write your headline as terse and tight as you can make it. But at least re-read it a few times to make sure it isn't ambiguous.

Another way to put it: "What would Experts Exchange think of this headline?"
You can write pretty functional python, though. There are python compilers like Nuitka (I'm sure there is an llvm frontend somewhere...), mobile is kind of a pickle, yeah, I'd say Django is pretty rails but I always use bottle because I've never needed the kitchen sink before, and the reason its not in the browser is not pythons fault.

On that topic, I'd spend a day writing cobol or C++98 if I could get QML + Python in browsers. Python as a script/python, and QML as a uri schema (ie, http://foobar.com/baconwitch.qml)
Steve Ballmer in Talks to Buy NBA Los Angeles Clippers
I like it. Could use a little more contextual help and maybe a demo. Maybe bootstrap an interface that is great and let me then start fiddling with it. It was slow in my browser at first and I thought it was broken, so maybe some preloading would help.
I'm excited to see the number of players in the electric skateboard market. I'd like to see costs come down though, it seems like all of them are in the $1200-$2000 range with not much differentiation. I suspect the one who can bring costs down while maintaining quality will be the winner in this market.

I'm not sure what Boosted is bringing to the table honestly, compared to brands like [Evolve](http://evolveskateboardsusa.com/) that have been out for a while now and have better specs at a significantly lower price.
> There's really not that many magic bullets (other than proper functional programming, maybe, which isn't about to happen in Python).

We just have to get a bit more daring; check out:

http://research.microsoft.com/pubs/211297/managedtime.pdf

Note the resemblance to Python, it's not an accident.
.....and?
No, it is not yet possible to brute force all chess games. The largest extant endgame database has full solutions for seven pieces on the board. Once you get to that point, chess is solved. ;-)
>every possible legal game up to n moves

That's easily above 10^30 positions. 10^30 is a very low lower bound, too.

So, uh, no.
Peter Watts: The Scorched Earth Society [pdf]
if you submit patches to an open source project, you retain copyright on them as well.

This is why many OS projects now have contributor license agreements.
Here's a web application https://github.com/davidfowl/HelloWorldVNext
Where are the Deep Learning Courses?
Why do people tend to just stick to one tool? I mean i try everything i can and what works works. It´s not actually bad if somethings dying. There are always new/better stuff on the horizon.
Dancing in the car, Elliot Rodger style 
If Elliot Rodger really wanted to pick up some hoes, he would be driving around listening to Tupac or Snoop.
Right, that's what I was assuming. Good.

The only part I trying to confirm was that you issue a challenge to the yubikey at save time, not just at decryption time.
Also DEC PDP's used OCD octal coded decimal - I had once or twice to manually load the boot strap when our pdp 11/40 boot strap loader subsystem had a fault.
Poor people don't suffer in public hospitals in Europe. Also, in most countries, the government pays for specialty private care when necessary (it often isn't, since doctors make a very good living in the public system.)
> Also, cookies are wrong, because they store the servers state on the client computer, which led the EU to legislate against them.

Can you spell this out in more detail? (Maybe you've written an article about this at some point?)

When, if ever, is it OK to store state on the client? It seems like you'd at least make an exception for one session ID. I presume you'd also make exceptions for client-side caches? Anything else?

Do you advocate against all forms of client-side storage? IndexedDB, localStorage, Web SQL, etc?

RESTful advocates keep telling me not to store state on the server. Do you agree with that? If I can't store state on the server and I can't store it on the client, where am I supposed to store it?
This isn't intended to be obstreperous, but I'm genuinely curious: How many Python developers are in a position to really care about 2 vs 3?

The people I know who use Python, including myself, range from utter beginners to experienced programmers, but are using a relatively small subset of the available libraries, and are just using whichever version we started with. I could translate my code to version 3 in a heartbeat, but have no particular reason to do so. I've translated some of my most important stuff from BASIC to Python after all.

Professional developers will do whatever is right for their projects.

My concern would be for the folks who develop and maintain the libraries -- for whose generosity I'm grateful. If there were some sort of consensus on the direction of Python, I'd hop on the bus just to make life easier for those developers. Their time would be better spent adding useful features or just combing the code for bugs, than coping with multiple Python versions.

Could a single Python interpreter somehow manage a mixture of 2 and 3 code?
Related:

Kalid Azad's oft-posted article:
http://betterexplained.com/articles/a-visual-intuitive-guide...

Tristn Needham's book Visual Complex Analysis http://usf.usfca.edu/vca//
Paper tape is why ASCII DEL is 0x7F — it's the only idempotent punch.

And why typing DEL is properly a forward delete operation: it eliminates the character under the cursor — converting it to a DEL, to be ignored when reading the tape — and (like any other punch) advances to the next. (I blame the VT220 for mucking this up and leading to endless confusion.)
I'm not sure my ~600 sq ft apartment really needs automation. It's pretty simple and manageable. Maybe Apple has dreamed up a delightful solution for a problem I don't realize I have.

My garden however is a complex mess that could benefit from automation.
> Python is not dying and if so, Go would not be the reason why

It is a death by multiple paper cuts. Go is just one of the cuts.

Besides Go (and others have mentioned so I am just repeating them). There is Node.js (Javascript), Rust, Dart, Clojure, Julia, C++11, Java (due to Python never making it far on Android). Not one is enough to eat Python's lunch as they say, but they all are taking a little nibble and soon enough Python stays hungry.

Another aspect is that there are multiple forms of deaths. It doesn't have to be an abrupt and dramatic death. But I am afraid it will eventually become like PERL. Still there, still usable, still jobs for it, but not many articles about it. Not much innovation. Not many new developers considering it as an option. It will just be a decline of sorts.

My personal view is also that once someone (or a team) seats down and thinks about cleaning up and doing a re-factoring, of their code, maybe in hopes to move to Python 3, they will be looking at other platforms, and languages as well.
With Google, the product is you.
>Python is glue code. You write a small piece of Python to tie together external libraries.

Glue code is only one of the things that Python can be and is used for. Python is used for small, medium and large [2] applications as well.

Do all of the following look like glue code?

Recent marketing brochure from the PSF (Python Software Foundation) - (it's a PDF):

http://brochure.getpython.info/media/releases/psf-python-bro...

Python success stories:

https://www.python.org/about/success/

Google's web front-end (many of their URLs even end in .py)), Dropbox clients (wxPython), YouTube [3], Disqus are some apps / sites written in Python.

[1] See the paragraphs about YouTube near the end of this post (by me, but much before this current thread):

http://jugad2.blogspot.in/2013/03/youtube-dl-yourube-downloa...

[2], [3] The PyCon talk below is by one of the original engineers at YouTube.

https://us.pycon.org/2012/schedule/presentation/128/

The Wikipedia article below says YouTube is one of the largest web sites in the world. A lot of YouTube is written in Python.

http://en.wikipedia.org/wiki/YouTube
Generate Rainbow Tables Using WinRTGen
At my company we build with Jenkins, tarball it and deploy from that. I haven't had experience another way but I think it ends up being more efficient and less error-prone than doing actual pip installs during deployment.
3D for the real world
It's too bad that Maciej Ceglowski (the author) is banned on HN, over some infraction I never understood.
Good thing it says ASP.NET vNext then.
I was at the museum yesterday and have just checked my pictures - the plaque next to one of the 8800s says "Gift of Craig Payne", and the plaque next to the other says "Gift of Louis Wheeler".

Edit: Actually, that was the Computer History Museum at Mountain View. I haven't done the Tech Museum in San Jose yet.
A Beginner's Guide to the Meteor.js Web Framework
Humanity Is Now Officially Ready For Suspended Animation