Custom Charts w/ Perl and GD 112

An anonymous reader writes "This article describes techniques you can use to create new levels of usefulness in your dynamically generated charts with Perl and GD. Cook up some automatically generated graphs for your organizational meetings or live enterprise directory data. Annotate the charts with readable text that delivers more information than the standard pie chart. Using the power of GD and Perl, you can link various data and images together to create sophisticated charts that will help bring visual interest to your applications."
Book Reviews

Beginning Ruby 172

TimHunter writes "Peter Cooper's Beginning Ruby: From Novice to Professional has two audiences, novices with no programming experience who want to learn Ruby as their first programming language, and veterans who want to add Ruby to their programming toolkit. Cooper's response to this challenge is a solid entry in the limited arena of Ruby tutorials. Even though the early chapters are marred by the occasional reference to an advanced topic, readers will appreciate the plentiful examples and thoughtful description of the Ruby language." Read below for the rest of Tim's review.
Book Reviews

MySQL Stored Procedure Programming 206

Michael J. Ross writes "MySQL may be the most popular open source relational database management system (RDBMS) in the world, but during the first decade of its existence, it lacked support for stored programs, i.e., store procedures, functions, and triggers. The major commercial RDBMS vendors — including Oracle, IBM, and Microsoft — could point to this deficiency as reason enough to choose their proprietary systems over MySQL or any other open source system, such as PostgreSQL. But with the release of MySQL version 5.0, in October 2005, the "little database engine that could" dramatically improved its position against the competition. The most comprehensive discussion of these new capabilities is in the book MySQL Stored Procedure Programming." Read below for the rest of Michael's review
Education

Secure Programming Exams Launched 85

An anonymous reader writes "The SANS Software Security Institute, in conjunction with organizations such as Siemens, Symantec, Juniper, OWASP, and Virginia Tech, has announced a program for testing whether programmers know how to write secure code. The Secure Programming Skills Assessment is split into separate language families (C/C++, Java/J2EE, Perl/PHP, and ASP/.NET). Director of research Alan Paller says 'This assessment and certification program will help programmers learn what they don't know, and help organizations identify programmers who have solid security skills.' The pilot exam will be held in Washington DC in August, followed by a global rollout."
Software

Open Source Federal Income Tax Software 227

niiler writes "There is finally a usable US federal income tax program for Linux users who don't wish to file online. TaxGeek is a Mozilla-based US income tax program that includes Form 1040, Schedules A, B, C, C-EZ, D, E, K-1 (1065), SE (Short and Long), W2, Forms 8880, 8853, 8863, 8812, 5695, 4952,3903, 2106, 2106ez, 2441 with access to most other files as PDFs. It is intended to be extensible so that developers can easily add other forms that are needed without affecting the existing file formats and stored data. TaxGeek will also create PDFs of all the supported forms so that you can print them and send them in to the IRS. (PDF creation support requires the installation of Perl PDF::Reuse.) At this point, e-filing is not supported."
Programming

Why Is "Design by Contract" Not More Popular? 178

Coryoth writes "Design by Contract, writing pre- and post-conditions on functions, seemed like straightforward common sense to me. Such conditions, in the form of executable code, not only provide more exacting API documentation, but also provide a test harness. Having easy to write unit tests, that are automatically integrated into the inheritance hierarchy in OO languages, 'just made sense'. However, despite being available (to varying degrees of completeness) for many languages other than Eiffel, including Java, C++, Perl, Python, Ruby, Ada, and even Haskell and Ocaml, the concept has never gained significant traction, particularly in comparison to unit testing frameworks (which DbC complements nicely), and hype like 'Extreme Programming'. So why did Design by Contract fail to take off?"
Book Reviews

MySQL Cookbook 64

Michael J. Ross writes "Of all the technical challenges faced by the typical experienced computer programmer, questions about syntax form a relatively small portion. This is especially true now that current coding editors and IDEs offer statement expansion and syntax checking. Rather, the most common type of technical challenge is understanding how to solve a specific data access or manipulation problem. Hence the growing popularity of programming "cookbooks," which are filled with "recipes," each comprising a concise statement of a focused problem, followed by a solution, with plenty of sample code to show how to implement it. For developers using the MySQL database system, the gold standard of such books is MySQL Cookbook, by Paul DuBois." Read below for the rest of Michael's review
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?"

Slashdot Top Deals