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.
Image

Erlang and OTP in Action Screenshot-sm 63

RickJWagner writes "Manning has just released a new Erlang title, called Erlang and OTP in Action. For quite some time now, there's been a definitive guide to Erlang-- Joe Armstrong's excellent book Programming Erlang. Well, it's time to make a little extra room on the bookshelf, because the Erlang book-o-sphere has just shifted. There are now two must-have resources for an Erlang programmer." Keep reading for the rest of Rick's review.
Hardware Hacking

Arduino-Based, High Powered LED Lighting Over Wi-Fi Screenshot-sm 114

Gibbs-Duhem writes "This awesome video was produced by some MIT engineers recently. They've started a fully open-source, open-hardware high power LED lighting project that they designed to be modular enough to control with the Arduino (or any other control system). Using their open-source firmware, you can set up the Arduino to connect to Wi-Fi and receive Open Sound Control packets. Then, they went further and released open-source software for PureData and Python to do music analysis and make the lights flash brilliantly in time with the music! A full Instructable was also posted in addition to the existing documentation for design and assembly on their website."
Education

Which Language To Learn? 897

LordStormes writes "I've been a Java/C++/PHP developer for about 6 years now. However, I'm seeing the jobs for these languages dry up, and Java in particular is worrisome with all the Oracle nonsense going on. I think it's time to pick up a new language or risk my skills fading into uselessness. I'm looking to do mostly Web-based back-end stuff. I've contemplated Perl, Python, Ruby, Erlang, Go, and several other languages, but I'll put it to you — what language makes the most sense now to get the jobs? I've deliberately omitted .NET — I have no desire to do the Microsoft languages."
Java

The Coming War Over the Future of Java 583

snydeq writes "Fatal Exception's Neil McAllister writes about what could be the end of the Java Community Process as we know it. With the Apache Software Foundation declaring war on Oracle over Java, the next likely step would be a vote of no confidence in the JCP, which, if the ASF can convince enough members to follow suit, 'could effectively unravel the Java community as a whole,' McAllister writes, with educators, academics, and researchers having little incentive to remain loyal to an Oracle-controlled platform. 'Independent developers could face the toughest decisions of all. Even if the JCP dissolves, many developers will be left with few alternatives,' with .Net offering little advantage, and Perl, Python, and Ruby unable to match Java's performance. The dark horse? Google Go — a language Google might just fast-track in light of its patent suit with Oracle over Android." Reader Revorm adds related news that Oracle and Apple have announced the OpenJDK project for OS X.
Python

Tesla Roadster Data Logging Format Reverse Engineered 141

s1axter writes with word that "the data log format for the Tesla Roadster has been reverse engineered and documented, now available in Python. (Python script linked in the post.)" From the linked blog entry: "Not only was I given a $110k car unrestricted I was requested to see what ECU information is available, collect and parse the data from it. Tesla Motors periodically collects information from their vehicles presumably to see what real-world driving the cars see. On original Roadster models there is no method to collect this information remotely thus someone must go out to the vehicle and collect it. The owner of the vehicle saw this and wanted to know what information was collected on these service calls ... Because I am a big fan of freedom to modify a program to fit ones needs, I have uploaded the ... python script to parse Tesla logs."
Education

How Cornell Plans To Purge Campus Computers of Personal Data 164

and so forth writes "Cornell lost a laptop last year with SSNs. Now, they've mandated scanning every computer at the University for the following items: social security numbers; credit card numbers; driver's license numbers; bank account numbers; and protected health information, as defined by HIPAA. The main tools are Identityfinder (commercial software for Windows and Mac), spider (Cornell software for Windows from 2008) and Find_SSN (python script from Virginia Tech). The effort raises both technical questions (false positives, anyone?) and practical issues (should I trust closed source software to do this?). Have other Universities succeeded at removing confidential data? Success, here, should probably be gauged in terms of diminished legal liability after the attempted clean up has been completed." Note: this program affects the computers of university employees and offices, rather than students' personal machines.
Book Reviews

Building the Realtime User Experience 102

rheotaxis writes "Many professional web developers have spent years building dynamic, database-driven web applications, but some of us, like myself, want to make the user experience more interactive and instantaneous. The book Building the Realtime User Experience, by Ted Roden, is an introduction to some new techniques making that happen now. New web servers like Cometd and Tornado power solutions that keep HTTP connections open until data is available for the clients requesting it, a technique called 'long-polling.' This means web developers can provide a real-time user experience using HTTP for all sorts of client devices now connecting to the Internet, not just web browsers, but mobile devices as well." Read below for the rest of rheotaxis's review.
Image

Archbishop Bans Pop Music At Funerals Screenshot-sm 38

pickens writes "The NY Times reports that the Roman Catholic Archbishop of Melbourne has announced a ban on the playing of pop music at funerals, which, he said, are not to be described as 'a celebration of the life of' the deceased. According to new guidelines published on Archbishop Denis Hart's Web site: 'Secular items are never to be sung or played at a Catholic funeral, such as romantic ballads, pop or rock music, political songs, football club songs.' According to a cemetery contacted by Melbourne's Herald Sun, a list of more unusual songs played at Australian funerals includes: 'Always Look on the Bright Side of Life' by Monty Python, 'Another One Bites the Dust' by Queen, 'Highway to Hell,' by AC/DC and 'Ding Dong the Witch is Dead' from The Wizard of Oz."

Slashdot Top Deals