Perl

Randal Schwartz's Charges Expunged 219

After 13 years, Randal Schwartz has had his conviction expunged. In effect, legally it never happened. If you haven't heard about this one before, my take is that as a contractor at Intel, Randal did some over-zealous white-hat cracking free-of-charge; this embarrassed some people in management (he pointed out that their passwords were terrible) and management then chose to embarrass themselves further by having him convicted of a felony under an 'anti-hacking' law. More info can be had from the Friends of Randal Schwartz.

Book Reviews

Rails Cookbook 59

honestpuck writes "When reading the foreword of Rails Cookbook I felt a strong kinship with Zed Shaw, I too have fond memories of the first edition of Perl Cookbook and the way I relied on it once I'd taken the training wheels off. Since that one I have relied on several of the O'Reilly Cookbook series. It is only when I discard the early tutorial and dive in the deep end with a "cookbook" on my desk that I really start to learn proficiency." Read the rest of honestpuck's review.
Book Reviews

Minimal Perl for Unix and Linux People 332

Ravi writes "Perl (Practical Extraction and Report Language) — the language which was created by Larry Wall is arguably one of the greatest programming languages. But it has a reputation for taking an excessive cryptic nature which gives it an image especially among Perl novices as a language which is complex and hard to master. Minimal Perl: for Unix and Linux people, authored by Tim Maher and published by Manning Publications addresses the obstacles presented by Perl's complexity. This book which is divided into two parts comprising of a total of 12 chapters takes a unique methodology to explain the Perl syntax and its use. The author emphasizes on Perl's grep, awk and sed like features and relys on concepts such as inputs, filters and arguments to allow Unix users to directly apply their existing knowledge to the task of learning Perl." Read on for the rest of Ravi's review.
Perl

XML::Simple for Perl Developers 186

An anonymous reader writes "XML has become pervasive in the computing world and is buried more and more deeply into modern applications and operating systems. It's imperative for the Perl programmer to develop a good understanding of how to use it. In a surprisingly large number of cases, you only need one tool to integrate XML into a Perl application, XML::Simple. This article tells you where to get it, how to use it, and where to go next."

SQL Hacks 72

Scott Walters writes "Many of the recipes in SQL Hacks will improve the SQL you write day to day, and many will give you the confidence to attempt much more involved tasks with SQL. Other recipes will rarely if ever be needed, but make for a entertaining and education reading in a similar way that "worse case survival scenario" books do — SQL is pitted against the most difficult analysis tasks just as survival scenario books pit humans against pavement and lions. SQL Hacks fits well in the Hacks series, which raises the bar on advanced books by offering large, eclectic sets of tricks for problems that an unambitious person (a non-hacker) wouldn't ever push technology hard enough to run into. Put another way, the questions answered in a good Hacks book are ones that would get a "good question" comment rather than a an "RTFM!" response. It does a good job continuing where O'Reilly's SQL Cookbook left off, which is always difficult with two books written at slightly different times by different authors. Still, it's harder to review a Hacks book than a Learning book as, with hacks, the sky is the limit, and the reader will always find herself wishing for more. To this end, I hope O'Reilly continues to publish newer editions of their various Hacks books, drawing in more and more content in each edition, and identifying recipes that might better serve in the Cookbook counterpart." Read the rest of Scott's review.
Programming

The D Programming Language, Version 1.0 570

penguinblotter writes in a journal article: "Soon, Walter Bright is scheduled to release version 1.0 of the D Programming Language. D is a systems programming language. Its focus is on combining the power and high performance of C and C++ with the programmer productivity of modern languages like Ruby and Python. Special attention is given to the needs of quality assurance, documentation, management, portability and reliability. D has appeared on Slashdot a few times before, and Walter has continued to add more and more features. Most Slashdot community comments in these articles have been offered on feature X or spec Y without reading through the extensive D newsgroup archives. It has been here over the past seven years where extremely gifted and experienced programmers hashed out discussions and arrived at excellent implementations of all the ideas discussed." Read on for the rest of penguinblotter's writeup.

Roomba + Wii remote + Perl = Awesome 175

Anonymous Wii Lov'n Coward writes "Check out the WiiRoomba, a mashup using a Wii remote, a perl script, and the Darwiin Remote software. While a little sluggish to respond, the Roomba is entirely controlled by the Wii remote accelerometers." All of the source code to do it yourself is available at the site linked, along with a youtube video of how it works.
Robotics

Mac Book Pro as Roomba Remote 44

adelord writes "Alpha Geeks have a new do-it-yourself project to terrorize the cat with: use Perl with a MacBook Pro's Sudden Motion Sensor to control a Roomba. Wired's Cult of Mac cites the original site which has other fun ways to pimp your Roomba . This gets my award for most inefficient use of tech, time, and training for the week. It won't freak out her cat nearly as much as a RoboRaptor on Roam mode. "

Tolkien Enterprises To Film Hobbit With Jackson? 152

cyclomedia writes "TheOneRing.Net has a new scoop on the ongoing Hobbit Movie saga, sourced from elbenwald.de. Apparently the rights to make the Hobbit film fall back to Saul Zaentz 'next year.' He claims that, under their stewardship, The Hobbit will 'definitely be shot by Peter Jackson.' For the whippersnappers amongst you: Mr. Zaentz is the head honcho of Tolkien Enterprises, which originally acquired exclusive rights to productions of the LOTR and Hobbit material in 1976, prior to overseeing the Bakshi animated version of LOTR."

Peter Jackson Will Not Be Making The Hobbit 467

An anonymous reader writes "Due to legal wranglings with New Line Cinema over accounting issues for Lord Of The Rings, Peter Jackson and Fran Walsh will not be involved in the making of either The Hobbit or the planned Lord of the Rings prequel." I suppose there is still a chance that Jackson & Co. could end up involved, but at this point that looks unlikely.

Monitor a Linux Box With Machine Generated Music 114

mcappel writes "Linux and Unix admins are familiar with vmstat and top, which are visual tools displaying the health of a computer. chordStats adds a new interface to a system monitoring setup — information passed through tone, timbre, and harmony. IBM's Nathan Harrington, who wrote Knock Some Commands Into Your Laptop, created a simple Perl script to send note events to FluidSynth that forces various system events to be interpreted as a part of a harmonious interval, and looks at options for enhancing a musical system monitor."

Court Rules GPL Doesn't Violate Antitrust Laws 80

unix4reel writes "Internet Cases reports on a new decision from a federal court in Chicago holding that 'the GPL and open-source have nothing to fear from the antitrust laws. The suit was against IBM, Red Hat and Novell, arguing that by distributing Linux for free, they offered products at an unbeatably low price (free), thus discouraging new market entrants and stifling competition. The court took a different view, focusing instead on how the GPL fosters new development."

Choosing Your Next Programming Job — Perl Or .NET? 426

Trebonius asks: "I have just received two job offers in the same day. The first was for a job coding in Perl on Linux/UNIX platforms, for a small but very cool company around 120 miles from where I live. They play Half-Life together in the off-hours and the people I've talked to there seem very happy with the job and work environment there. I'd be making smallish web systems, and I'd basically have total control over the projects on which I work. They offered me 20% more than I make now. The second offer I received is for a huge nationwide company opening an IT office a couple blocks from where I currently work. They're an all-Microsoft shop — VB, C#, .NET, SQL200*, etc. I'd be a very small cog in a very large machine. They offered me 66% more than I'm making now. Benefits are essentially identical between the companies, so that's not a big factor. I'll also give the Perl company a chance to make me another offer, but what should the threshold be? How do you folks balance the desire for a fun job with the need to pay off debt?"

Hacking the Free "La Fonera" Wireless Router 67

wertarbyte writes, "FON is still giving away their wireless routers for free in Germany and Austria until Wednesday — under the premise that the devices will be connected and used as FON access points. The router, called 'La Fonera,' is a variant of OpenWRT, but locked down to prevent modification, including a signed firmware image to prevent the upload of new software. It is, however, possible to get shell access by connecting to a serial port present on the circuit board. And now two students from Germany have discovered vulnerabilities in the CGI scripts used to configure the device, and successfully activated an SSH daemon on the device by exploiting them, giving owners a root shell on their router. They also provide a detailed description of the procedure and 'ready-to-use' perl scripts to open up your router."

No More Coding From Scratch? 323

Susan Elliott Sim asks: "In the science fiction novel, 'A Deepness in the Sky,' Vernor Vinge described a future where software is created by 'programmer archaeologists' who search archives for existing pieces of code, contextualize them, and combine them into new applications. So much complexity and automation has been built into code that it is simply infeasible to build from scratch. While this seems like the ultimate code reuse fantasy (or nightmare), we think it's starting to happen with the availability of Open Source software. We have observed a number of projects where software development is driven by the identification, selection, and combination of working software systems. More often than not, these constituent parts are Open Source software systems and typically not designed to be used as components. These parts are then made to interoperate through wrappers and glue code. We think this trend is a harbinger of things to come. What do you think? How prevalent is this approach to new software development? What do software developers think about their projects being used in such a way?"

PHP 5.2.0 Released 106

ShaunC writes "The PHP Group and Zend have released PHP 5.2.0, and upgrades are encouraged. The 5.2.0 update offers several security fixes, including patches for a couple recently announced buffer overflows in input parsing. This release also includes a number of library upgrades, bug fixes, and default bundling of the popular JSON extension to help with AJAX development. See the full changelog for more details."

MySpace Predator Caught By Code 374

An anonymous reader writes, "Wired News editor and former hacker Kevin Poulsen wrote a 1,000-line Perl script that checked MySpace for registered sex offenders. Sifting through the results, he manually confirmed over 700 offenders, including a serial child molester in New York actively trying to hook up with underage boys on the site, and who has now been arrested as a result. MySpace told Congress last June that it didn't have this capability." Wired News says they will publish Poulsen's code under an open-source license later this week.

Asynchronous Programming for Spam Elimination 63

ttul writes "Stas Bekman (formerly the maintainer of mod_perl) has been quietly building an asynchronous programming framework to build high performance network applications in Perl. His recent Perl.com article describes how he has used the Event::Lib module (that lives on top of the popular libevent library) to write a traffic-shaping email proxy to get rid of spam. Asynchronous programming is challenging at the best of times. Read on to find out how to do it the easy way in Perl."

Fonality Acquires Trixbox 50

An anonymous reader writes "MySQL's Brian Aker has a good commentary on the big news in acquisitions today that Fonality has acquired Trixbox, the Linux Telephony distribution." From the article: "So why is this big news? Trixbox is the distribution for telephony on Linux today. They have put together a vertical Linux distribution dedicated to telephony. It combines Asterisk with a web based interface backed by MySQL, integrated into the SugarCRM solution. As Redhat today is the LAMP of the IT Enterprise and Web Framework, (Linux, Apache, MySQL, Perl/PHP), Trixbox is the LAMP stack of the Telephony market, Linux , Asterisk, MySQL, Perl/PHP."

Perl's State of the Onion 10 126

chromatic writes "Larry Wall's annual State of the Onion addresses cover subjects such chemistry, science, music, lingustics, and screensavers. They occasionally discuss Perl too. This year's, State of the Onion 10 compares raising children into productive adults to guiding the development and design of a programming language. Perl turns 19 soon; Larry says that she'll truly grow up with Perl 6."

Slashdot Top Deals