News for hackers. Stuff that matters.

getoffmalawn

Re:A mobile friendly Vim cheat sheet on Tuesday August 06, 2013 @12:11PM (#6167400)
Under "Working with multiple files", the split command is incorrect. It's not Ctrl+WQ; it's Ctrl+WS.
I'm sorry, what? RSS is a money sink in what way? RSS is about as maintenance free as it gets.
Re:Google Reader shutting down on Wednesday March 13, 2013 @11:25PM (#5372914)
Newsblur's Android app doesn't have a widget.
Re:Vim Git Gutter on Wednesday March 06, 2013 @07:55AM (#5330906)
This is fantastic. Thank you.
Re:Show HN: Don't forget another movie release. Thoughts? on Friday January 25, 2013 @07:58PM (#5118721)
Well, this service doesn't really seem useful to people that live outside the US. E.g. "A Good Day to Die Hard" won't be released until a month later in Australia, but the website indicates that it comes out a month earlier. Aggregating the release dates would be nice.
Re:What do you think of my simple startup landing page? on Sunday December 02, 2012 @01:16AM (#4860318)
Amateur is the correct spelling. http://en.wikipedia.org/wiki/Amateur
You mean to tell me that Oracle think that embedded devices will run Java? Heavens, I'm shocked.

"Embedded devices" is such a broad term now, that they need to scope it a little better. An ATM running Windows is considered embedded by some definition, which is kind of what I suspect they're talking about here - not resource-constrained devices like Arduino boards, as inferred by the image at the top of the article.

In practice, for MOST developers, the changes between 2 and 3 are minimal. Offhand, print is a function, and there's no distinction between unicode strings and ascii strings anymore. If you do a lot of "low level" networking involving byte strings, you'll notice the difference, because you can't just jump between bytes and strings anymore.

It's this distinction that's delaying a lot of networking related libraries from porting to Python 3 - basically, it's going to be a long, buggy journey. Libraries such as Twisted, have very old codebases - old enough that some of the practices aren't the best, even for Python 2 code. Upgrading it to Python 3 will introduce quite a few breakages.

There's a lot more that I can't think of right now, but I'm sure someone else can cover off other differences.

There's no reason not to learn both - I use Python 3 for a few personal projects, and Python 2 for work.