Programming

C++ 2011 and the Return of Native Code 616

snydeq writes with an editorial in InfoWorld about the resurgence of native code. From the article: "Modern programmers have increasingly turned away from native compilation in favor of managed-code environments such as Java and .Net, which shield them from some of the drudgery of memory management and input validation. Others are willing to sacrifice some performance for the syntactic comforts of dynamic languages such as Python, Ruby, and JavaScript. But C++11 arrives at an interesting time. There's a growing sentiment that the pendulum may have swung too far away from native code, and it might be time for it to swing back in the other direction. Thus, C++ may have found itself some unlikely allies."
Programming

See the PyPy JIT In Action 109

derGoldstein writes "Project PyPy is an alternative implementation of Python, with the main advantage being a Just In Time (JIT) compiler which speeds up your code considerably. They've announced the first public release of jitviewer, which is a visualization tool that helps you understand how your code is being compiled by PyPy's JIT, all the way down to assembly. If you just want to see how it looks and play with it, they've set up an online demo — just select a file, and click 'Show Assembler.'"
Programming

Ask Slashdot: Am I Too Old To Learn New Programming Languages? 772

ProgramadorPerdido writes "I have been a developer for 25 years. I learned Basic, VB, C, FoxPro, Cobol, and Assembler, but the languages I used the most were Pascal and Delphi. I then concentrated on a now-non-mainstream language for 11 years, as it was used at work. One day I had the chance to move into Project Management and so I did for the last 2 years. Now, at almost 40 years old, I'm at a crossroad. On one side I realized developing is the thing I like best, while on the other side, the languages I'm most proficient with are not that hot on the market. So I came here looking for any advice on how to advance my career. Should I try to learn web development (html, xhtml, css, php, python, ruby)? Should I learn Java and/or C#? Or am I too old to learn and work a new language? Should I go back to PM work even if I do not like it that much? Any similar experiences?"
Programming

Six Python Web Frameworks Compared 111

snydeq writes "InfoWorld's Rick Grehan provides an in-depth comparison of six Python Web frameworks, including CubicWeb, Django, Pyramid, Web.py, Web2py, and Zope 2. 'No matter what your needs or leanings as a Python developer might be, one of these frameworks promises to be a good fit,' Grehan writes. 'As usual, the choice is highly subjective. You will find zealots for each product, and every zealot is able to present rational reasons why their chosen framework is superior.'"
Media

Aaron Swartz Indicted in Attempted Piracy of Four Million Documents 174

An anonymous reader writes "New York Times has reported that Internet activist Aaron Swartz has been indicted for stealing more than 4 million documents from JSTOR." The indictment contains an exciting tale featuring trespassing, MAC address forgery, a Python script or two, and even computers hidden under a cardboard box. El Reg has a decent summary. Demand Progress has released an official response claiming the charges are trumped up nonsense.
It's funny.  Laugh.

Monty Python Members Reunite For Chapman Film 55

gregg writes "Monty Python members have reunited to voice a 3D animated film based on the memoirs of the late Graham Chapman. A Liar's Autobiography will feature recordings that Chapman made of his book before his death in 1989. From the article: '[Terry] Jones joked he had "no idea" until recently that Chapman was dead and "thought he was just being lazy". "However, I am now delighted to find myself working with him again on this exciting project," he added.'"
Image

Book Review: Software Build Systems Screenshot-sm 29

MassDosage writes "Software Build Systems by Peter Smith is a well written, albeit rather lengthy book that covers the intricacies of systems used to build software. It tries to do this in a technology-neutral manner where possible but covers existing tools like Ant, Make and Scons as a means of illustrating the various concepts covered instead of just focusing on theory. The real world examples illustrate building Java, C/C++, C# and Python software and cover scaling up from small builds with tens of source files up to massive builds with tens of thousands. All of the technologies used are introduced in some depth which newcomers should find useful but experienced build developers may want to skim over." Read below for the rest of MassDosage's review.
Python

2nd Edition of Learn Python the Hard Way Released 167

theodp writes "Are you or your kid intrigued by Python, but not quite ready to purchase an in-depth O'Reilly book? Zed A. Shaw's 2nd edition of Learn Python The Hard Way may be a friendlier option. Shaw's path to Python programming is simple: 1. Go through each exercise, 2. Type in each sample exactly, 3. Make it run. If $60 for the hardcover is too much to ask, or $15.99 for paperback, you can spend a measly buck for the PDF/ePub download. Still too steep? OK, there's even a free online HTML edition. After completing the 52 exercises, Shaw's concluding Advice From An Old Programmer says, 'Which programming language you learn and use doesn't matter. Do not get sucked into the religion surrounding programming languages as that will only blind you to their true purpose of being your tool for doing interesting things.'"
Programming

Learning Programming In a Post-BASIC World 510

ErichTheRed writes "This Computerworld piece actually got me thinking — it basically says that there are few good 'starter languages' to get students interested in programming. I remember hacking away at BASIC incessantly when I was a kid, and it taught me a lot about logic and computers in general. Has the level of abstraction in computer systems reached a point where beginners can't just code something quick without a huge amount of back-story? I find this to be the case now; scripting languages are good, but limited in what you can do... and GUI creation requires students to be familiar with a lot of concepts (event handling, etc.) that aren't intuitive for beginners. What would you show a beginner first — JavaScript? Python? How do you get the instant gratification we oldies got when sitting down in front of the early-80s home computers?"
It's funny.  Laugh.

Gitionary: the Git Party Game 50

sdasher writes "Finally, there's a chance to combine your love of version control and parties: Gitionary. The brainchild of two MIT alums, it's a party game where you try to illustrate git commands. A set of gitionary cards (PDF) has been posted as well. Personally, I'm still holding out for the Debugging Python RPG."
Image

Book Review: Amazon SimpleDB Developer Guide Screenshot-sm 38

KuanH writes "Amazon SimpleDB Developer Guide is billed as a complete guide to using Amazon's SimpleDB database API. It's most detailed for PHP. It's helpful for Python. But the Java code and explanations aren't up to the standard of the others. It includes a primer on using Amazon S3 with SimpleDB: files stored on S3, file metadata stored in SimpleDB — again, less good for Java. It also covers tuning to reduce usage costs, caching using memcached, and ways to batch-update and make serial or parallel requests to SimpleDB. However, it's missing some information that beginners might need, and it's perhaps not quite advanced enough for the more experienced. Downloadable example code is available only for PHP." Keep reading for the rest of Kuan's review.
Image

Book Review: R Graphs Cookbook Screenshot-sm 64

RickJWagner writes "Once upon a time, I thought communication was one of my strong suits. Alas, a few years into my programming career I realized I'm more of the head-down codeslinging type, not one of the schmoozing managerial types. So when I have a point to make, I really like to have my data ready to do the talking for me. In that capacity, this book is a very good weapon to have in my arsenal." Read on for the rest of Rick's review.
Editorial

Why Mac OS X Is Unsuitable For Web Development 831

Hugh Pickens writes "Ted Dziuba has an interesting and amusing post on how he made a big mistake when he was offered a choice for his company laptop. His options were a Lenovo Thinkpad or a MacBook Pro, and he picked the Mac, thinking it would be closer to what he was used to. So what's wrong with using the Mac as a development machine for Milo, a Python application backed by PostgreSQL and Redis? 'I've only poked around a little, but so far I've found three separate package managers for OS X: Fink, MacPorts & Homebrew,' writes Dziuba, adding that when you are older, you will understand the value of automated version dependency satisfaction. Next is that your development platform should be as close as possible to your production platform, but 'OS X and Linux have different kernels, which means different I/O & process schedulers, different file systems, and a whole host of other implementation details that you'll write off as having been abstracted away until you have your first serious encounter with "It Works On My Machine.'" Finally, he says, Textmate sucks. 'Sooner or later, you have to face facts. Man up and learn Emacs.'"
Java

Mirah Tries To Make Java Fun With Ruby Syntax 444

An anonymous reader writes "Java is performant, widely adopted and eminently portable, however, its syntax is largely inherited from C++ along with some of its esoteric unfriendliness. Mirah aims to place a friendly face on Java through the implementation of a syntax whose primary concern is developer friendliness (think Ruby/Python/Groovy), and route of least surprise. The result is a truly cogent alternative syntax delivering readability, expressiveness and some compelling new language features."
Programming

SourceForge Open-Sources Their Platform Software 58

rick446 writes "In late 2009 SourceForge embarked on a plan to 'reboot' our developer tools on an open platform including Python, MongoDB, RabbitMQ, and SOLR. The result was the Allura platform, and was released under the Apache License in February 2011." Note: Slashdot and SourceForge are both part of Geek.net.
Programming

Python 3.2 Released 164

digitalderbs writes "Python 3.2 was released on Feb 20th 2011 with many new improvements. New features include many useful updates to the unittest module, a stable ABI for extensions, pyc repository directories, improvements to the email and ssl modules and many others. This also marks the first release in the 3000-series that is no longer backported to the 2.0-series."
Slashdot.org

Slashdot Launches Re-Design 2254

Today we are pleased to announce the launch of the third major re-design in our 13.5 year history, and I don't think it looks half bad. The new theme represents a serious gutting of the underlying HTML and CSS, as well as all-new graphics. There will be many design wiggles, bug squashes, and compatibility glitches that survived testing, so bear with us for a bit. Please direct your bug reports and feedback (good and bad!) to Garrett Woodworth who is currently in charge of such things. Thanks to him, Wes, Vlad, Dean, Phil and Tim, who have each worked hard to get this out the door. Juggling the needs of users, editors, and various business functions is a hard job, and you guys did good.

Slashdot Top Deals