×
Education

Raspberry Pi Gets an Open Source Educational Manual 56

Last year a group of UK teachers started working on a Creative Commons licensed teaching manual for the Raspberry Pi. That work has produced the Raspberry Pi Education Manual which is available at the Pi Store or here as a PDF. From Raspberry Pi: "The manual is released under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 unported licence, which is a complicated way of saying that it’s free for you to download, copy, adapt and use – you just can’t sell it. You’ll find chapters here on Scratch, Python, interfacing, and the command line. There’s a group at Oracle which is currently working with us on a faster Java virtual machine (JVM) for the Pi, and once that work’s done, chapters on Greenfoot and Geogebra will also be made available – we hope that’ll be very soon."
The Almighty Buck

Money Python: Florida Contest Offers Rewards In 2013 Everglades Python Hunt 132

Press2ToContinue writes "Dubbed the Python Challenge, the month-long contest will award $1,000 for the longest python and $1,500 for the most pythons caught between Jan. 12 and Feb. 10 in any of four hunting areas north of Everglades National Park and at the Big Cypress National Preserve. Pythons have been spreading through the Everglades for years, posing a threat to the sensitive ecosystem by preying on native species. Some estimates put their number in the tens of thousands. Last year, 272 pythons were removed from the wild, state figures show."
Python

Python Creator Guido van Rossum Leaves Google For Dropbox 261

New submitter mrvan writes "Guido van Rossum, the proclaimed Python Benevolent Dictator For Life, has left Google to work for Dropbox. In their announcement, Dropbox says they relied heavily on Python from the beginning, citing a mix of simplicity, flexibility, and elegance, and are excited to have GvR on the team. While this is, without a doubt, good news for Dropbox, the big question is what this will mean for Python (and for Google)."
Education

Khan Academy: the Future of Taxpayer Reeducation? 386

theodp writes "Illinois Governor Pat Quinn has launched a website and gone social on Facebook, Twitter, and YouTube to educate taxpayers on why they must make good on pension promises to state workers. And, in addition to Squeezy the Pension Python, Gov. Quinn is enlisting the help of Khan Academy, the tax-exempt, future-of-education organization funded by tax-free millions from Google, Bill Gates, and others, to help convince taxpayers that a state-pension-promise is a promise. In the Khan Academy video commissioned by the Governor, Illinois Pension Obligations, Sal Khan concedes that the annual annuity payouts for IL state employee retirees do look 'pretty reasonable' — e.g., $43,591 for the average teacher, $117,558 for a judge — but goes on to argue that 'in all fairness, this was promised to these people,' who he speculates 'probably took lower compensation while they were working,' 'probably stayed in the jobs longer,' and 'probably sacrificed other things' to get these 'great benefits.' 'We're delighted to have his [Khan's] help in enlightening Illinois citizens about how the pension problem came to be,' said the Governor. Of course, not everything can be explained in one video — perhaps other contributing factors like 'pension spiking', lobbyists' maneuvers, sweetheart deals, creative job reclassification, golden parachutes, bruising investment losses, and other wacky pension games will be taught in Illinois Pension Obligations II!"
Programming

Emscripten Compiler Gets Optimizations, Now Self-Hosting 60

Emscripten is an LLVM-based compiler from dozens of languages to JavaScript (previously demoed as a repl and used to port Doom to the browser), and some recent changes have made it a bit faster, and allowed it to compile itself. Some highlights include a redundant variable eliminator, parallelization of the optimizier and compiler, and a new relooper. From the developer's weblog: "With all of the emscripten optimization passes now in JavaScript, I then worked on parallelizing that. ... The speedup can be close to linear in the number of cores. ... For the LLVM to JS compiler, I made the emscripten compiler parallel as well: It splits up the LLVM IR into 3 main parts: type data, function data, and globals. The function data part is unsurprisingly by far the largest in all cases I checked (95% or so), and it can in principle be parallelized - so I did that. Like in the optimizer, we use a Python process pool which feeds chunks of function data to multiple JavaScript compiler instances. There is some overhead due to chunking, and the type data and globals phases are not parallelized, but overall this can be a close to linear speedup. ... [On the new relooper] Note that this update makes Emscripten a 'self-hosting compiler' in a sense: one of the major optimization passes must be compiled to JS from C++, using Emscripten itself. Since this is an optimization pass, there is no chicken-and-egg problem: We bootstrap the relooper by first compiling it without optimizations, which works because we don't need to reloop there. We then use that unoptimized build of the relooper (which reloops properly, but slowly since it itself is unoptimized) in Emscripten to compile the relooper once more, generating the final fully-optimized version of the relooper, or 'relooped relooper' if you will."
Cloud

Gate One 1.1 Released: Run Vim In Your Browser 150

Riskable writes "Version 1.1 of Gate One (HTML5 terminal emulator/SSH client) was just released (download). New features include security enhancements, major performance improvements, mobile browser support, improved terminal emulation, automatic syntax highlighting of syslog messages, PDFs can now be captured/displayed just like images, Python 3 support, Internet Explorer (10) support, and quite a lot more (full release notes). There's also a new demo where you can try out vim in your browser, play terminal games (nethack, vitetris, adventure, zangband, battlestar, greed, robotfindskitten, and hangman), surf the web in lynx, and a useful suite of IPv6-enabled network tools (ping, traceroute, nmap, dig, and a domain name checker)." Gate One is dual licensed (AGPLv3/Commercial Licensing); for individuals, it's pay-as-you-please.
Programming

Ask Slashdot: Is Going To a Technical College Worth It? 309

First time accepted submitter blandcramration writes "I have recently decided to further my education with a technical school associates degree. I am a first quarter student in my third week as an IT student. I have taught myself Python and have been working with computers for over 10 years. We've been learning C++ and though my instructor appears to know how to program, he doesn't really understand the procedure behind the veil, so to speak. In a traditional learning environment, I would rather learn everything about the computer process rather than fiddle around with something until I figure out how it works. I can do that on my own. I think the real issue is I'm not feeling challenged enough and I'm paying through the nose to go to school here. Am I even going to be able to land a decent job, or should I just take a few classes here and move on to a traditional college and get a computer science degree? I'm much more interested in an approach to computer science like From NAND to Tetris but I feel as if I should get a degree in something. What are your thoughts?"
Open Source

The Growth of Google Summer of Code 20

I recently sat down with Chris DiBona to talk about the 15th anniversary of Slashdot. In addition to discussing the joys of heading an email campaign against spamming politicians, and the perils of throwing a co-worker's phone into a bucket, even if you think that bucket is empty, we talked about the growth of Google Summer of Code. Below you'll find his story of how a conversation about trying to get kids to be more active with computers in the summer has led to the release of 55 million lines of code.
IOS

Ask Slashdot: Best Approach To Reenergize an Old Programmer? 360

StonyCreekBare writes "I started out programming in Z80 assembler in the 1970s. Then I programmed in Pascal. Then x86 Assembler in the early '90s. Over time I did a smattering of C, Basic, Visual C++, Visual Basic, and even played at Smalltalk. Most recently I settled on Perl, and Perl/Tk as the favorite 'Swiss army Chainsaw' tool set, and modestly consider myself reasonably competent with that. But suddenly, in this tight financial environment I need to find a way to get paid for programming, and perl seems so 'yesterday.' The two hot areas I see are iOS programming and Python, perhaps to a lesser extent, Java. I need to modernize my skill-set and make myself attractive to employers. I recently started the CS193P Stanford course on iTunesU to learn iPad programming, but am finding it tough going. I think I can crack it, but it will take some time, and I need a paycheck sooner rather than later. What does the Slashdot crowd see as the best path to fame, wealth and full employment for gray-haired old coots who love to program?"
Python

Python 3.3.0 Released 131

An anonymous reader writes "After just over a month of release candidates, the final version of Python 3.3 launched today. This version includes new syntax, including the yield from expression for generator delegation; new library modules, including fault handler (for debugging crashes), ipaddress, and lzma (for data compression using the XZ/LZMA algorithm); a reworked OS and I/O exception hierarchy; the venv module for programmatic access to Python virtual environments; and a host of API changes. The full list of features and the change log are both available."
Software

Google Blocks Author's Ads For Offering Torrent Of His Own Book 130

An anonymous reader points out the recent trouble of author Cody Jackson, who wrote a book called Learning to Program with Python. He offers the book for sale, but also gives it away for free, and he used the CC-BY license. In order to distribute the book, he posted links to his torrent of it. Unfortunately, this cause Google to suspect his AdSense account for his website. Even after removing the links, he was unable to get in contact with Google's AdSense team to get his accounts restored. After his story was picked up yesterday by Techdirt, somebody at Google "re-reviewed" his case and finally reinstated his account. Jackson had this to say: "One good thing about this is that it has helped raise awareness of the problems with corporate copyright policies and copyright regulation as a whole. When a person is unable to post his/her own products on the 'net because someone fears copyright infringement has occurred, there is a definite problem." This follows a few high-profile situations in which copyright enforcement bots have knocked down perfectly legitimate content.
Programming

Ask Slashdot: Taming a Wild, One-Man Codebase? 151

New submitter tavi.g writes "Working for an ISP, along with my main job (networking) I get to create some useful code (Bash and Python) that's running on various internal machines. Among them: glue scripts, Cisco interaction / automatization tools, backup tools, alerting tools, IP-to-Serial OOB stuff, even a couple of web applications (LAMPython and CherryPy). Code has piled up — maybe over 20,000 lines — and I need a way to reliably work on it and deploy it. So far I used headers at the beginning of the scripts, but now I'm migrating the code over to Bazaar with TracBzr, because it seems best for my situation. My question for the Slashdot community is: in the case of single developer (for now), multiple machines, and a small-ish user base, what would be your suggestions for code versioning and deployment, considering that there are no real test environments and most code just goes into production ? This is relevant because lacking a test environment, I got used to immediate feedback from the scripts, since they were in production, and now a versioning system would mean going through proper deployment/rollback in order to get real feedback."
Supercomputing

Apple iPad 2 As Fast As the Cray-2 Supercomputer 231

An anonymous reader writes "Presenting at the IEEE High Performance Extreme Computing conference, a researcher from the University of Tennessee presented evidence that the iPad 2 is as fast as the original Cray-2 supercomputer. Performance improvements were made to the iPad 2 LINPACK software by writing Python for generating and testing various Assembly routines. The researcher also found that the ARM Cortex-A9 easily beats the NVIDIA/AMD GPUs and latest Intel/AMD workstation CPUs in performance-per-Watt efficiency."
Education

University Team Builds Lego and Raspberry Pi Cluster 147

hypnosec writes about a neat little hack using Lego, Raspberry Pis, and Scratch to construct a "supercomputer." From the article: "A team of computational engineers over at the University of Southampton led by Professor Simon Cox have built a supercomputer using Raspberry Pi and Lego. The supercomputer is comprised of 64 processors, 1TB of storage (16GB SD cards in each of the Raspberry Pis) and can be powered on using just a single 13-amp mains socket. MPI is used for communications between the nodes through the ethernet port. The team managed to build the core of the supercomputer for under £2500. Named 'Iridis-Pi' after University of Southampton's supercomputer Iridis, the supercomputer runs software that was built using Python and Scratch. Professor Cox used the free plug-in 'Python Tools for Visual Studio' to develop code for the Raspberry Pi." Lots of pictures of the thing, and a howto on making your own.
IOS

Will Developers Finally Start Coding On the iPad? 463

An anonymous reader writes "It's not so long since Apple silently dropped the restriction about iOS apps for programming — iPad owners can now code in Lua with Codea or with Python for iOS. Yesterday, a new app called Kodiak PHP brought another IDE to the iPad, this time for PHP coders. Pandodaily's Nathaniel Mott describes it as a full-blooded software development tool with comparison to other iOS apps. Cult of Mac reports that the demise of the Mac might be closer than we think, but are developers really ready to use the on-screen keyboard to do some serious work?"
Education

Will Online Learning Disrupt Programming Language Adoption? 193

theodp writes "Back in the day, getting traction for a new programming language was next to impossible. First, one needed a textbook publishing deal. Then, one needed a critical mass of CS profs across the country to convince their departments that your language was worth teaching at the university level. And after that, one still needed a critical mass of students to agree it was worth spending their time and tuition to learn your language. Which probably meant that one needed a critical mass of corporations to agree they wanted their employees to use your language. It was a tall order that took years if one was lucky, and only some languages — FORTRAN, PL/I, C, Java, and Python come to mind — managed to succeed on all of these fronts. But that was then, this is now. Whip up some online materials, and you can kiss your textbook publishing worries goodbye. Manage to convince just one of the new Super Profs at Udacity or Coursera to teach your programming language, and they can reach 160,000 students with just one free, not-for-credit course. And even if the elite Profs turn up their nose at your creation, upstarts like Khan Academy or Code Academy can also deliver staggering numbers of students in a short time. In theory, widespread adoption of a new programming language could be achieved in weeks instead of years or decades, piquing employers' interest. So, could we be on the verge of a programming language renaissance? Or will the status quo somehow manage to triumph?"
Book Reviews

Book Review: Core Python Applications Programming, 3rd Ed. 65

thatpythonguy writes "Core Python Application Programming is the latest addition to a growing corpus of literature serving a growing number of Python programmers and engineers. This Prentice Hall book of 800+ pages covers some traditional areas and touches upon some new ones. I typically do not spend much time speaking about the author of the books that I review; however, this occasion warrants an exception. And it is not because Wesley Chun used Python over a decade ago to build the address book and spell-checker for Yahoo! Mail nor is it because he holds a minor degree in music from UC Berkeley in classical piano. Rather, it is because he is both an engineer and an instructor. In other words, he was not pulled from his geek duties and asked to become a pseudo-writer; he already does that for his consulting practice, authoring (or co-authoring) several books and articles on Python (including "Python Web Development with Django") as well as starring in his own training video (entitled "Python Fundamentals"). The result of that experience is a writing style that is technically sound, yet accessible." Keep reading for the rest of Ahmed's review.
Data Storage

Resurrect Your Old Code With a DIY Punch Card Reader 100

First time accepted submitter mchnz writes "Need to read in some old punch cards? Have a hankering to return to yesteryear? I've combined an Arduino, the CHDK enhanced firmware for Canon cameras, and the Python Image Library to build a reader for standard IBM 80 column punch cards. You can see it in action in "Punch Card Reader — The Movie" or read more about it." This is an inspiring, intimidating project.
Book Reviews

Book Review: Head First Python 72

Michael J. Ross writes "Veteran computer programmers — adept with languages such as PHP, Perl, and JavaScript — typically have no trouble learning an additional language, often just by reading online tutorials and stepping through sample code. But for those new to programming, that approach can prove difficult and frustrating. Yet nowadays there appears to be growing interest among such people for learning how to write programs in Python, especially as it is seeing increasing use by Google and other organizations, and is often chosen as the primary teaching language in schools. For such budding programmers, one possible starting point is the book Head First Python." Read on for the rest of Michael's review.
Python

Is Python a Legitimate Data Analysis Tool? 67

Back in May we discussed using Python, R, and Octave as data analysis tools, and compared the relative strength of each. One point of contention was whether Python could be considered a legitimate tool for such work. Now, Bei Lu writes while Python on its own may be lacking, Python with packages is very much up to the task: "My passion with Python started with its natural language processing capability when paired with the Natural Language Toolkit (NLTK). Considering the growing need for text mining to extract content themes and reader sentiments (just to name a few functions), I believe Python+packages will serve as more mainstream analytical tools beyond the academic arena." She also discusses an emerging set of solutions for R which let it better handle big data.

Slashdot Top Deals