 |
 |
 |
 |
 |
 |
Cultured Perl: Perl and the Amazon cloud, Part 3
This five-part series walks you through building a simple photo-sharing
Web site using Perl and Apache to access Amazon's Simple Storage Service (S3)
and SimpleDB. In this installment, follow your site's interaction with
SimpleDB by learning how the URL creates a SimpleDB record for the uploaded
file. Also learn how to create, edit, and delete comments as SimpleDB records
on a photo for a particular user.
|
 |
Articles |
 |
14 Jun 2009 |
|
| |
Cultured Perl: Reading and writing Excel files with Perl
Only recently have the doors been open to Microsoft Excel, the most popular spreadsheet application for the desktop. This article takes a look at reading and writing Excel files in Windows and Linux, using Perl and a few simple modules. The author of this article, Teodor Zlatanov, is an expert in Perl who has been working in the community since 1992 and who specializes in, among other things, open source work in text parsing.
|
 |
Articles |
 |
01 Sep 2001 |
|
| |
Cultured Perl: Genetic algorithms applied with Perl
Based on the Darwinian principle of survival of the fittest, genetic
programming uses mutation and replication to produce algorithms for creating
ever-improving computer programs. In this column, you'll get to know the
genetic algorithm in simple terms. Ted provides Perl implementations for some
specific tasks, which you can adapt for generic use. To demonstrate the
genetic algorithm, Ted breeds numbers for fitness to a formula, and letters to
form English words.
|
 |
Articles |
 |
01 Aug 2001 |
|
| |
Cultured Perl: The elegance of JAPH
A mainstay of the Perl culture, JAPH is a short script that produces the output "Just another Perl hacker." Although written for the beginner or intermediate Perl programmer, this article examines a few simple examples of the JAPH genre that will surprise and engage even the most seasoned devotee. The author of this article, Teodor Zlatanov, is an expert in Perl who has been working in the community since 1992 and specializes in, among other things, open source work in text parsing.
|
 |
Articles |
 |
01 Jul 2001 |
|
| |
Cultured Perl: Automating UNIX system administration with Perl
UNIX system administration, always a thorny problem, is easier with the right tools. In this installment, Teodor presents ideas on the use of Perl to streamline and foolproof system administration. The system configuration engine, cfengine, is an extremely important tool in this context.
|
 |
Articles |
 |
01 Jul 2001 |
|
| |
Cultured Perl: Complex layered configurations with AppConfig
AppConfig shines as a way of configuring applications in Perl in the simple cases, but occasionally you need more power in command-line processing and configuration-file parsing. Instead of using data formats such as XML or YAML, you can apply a little extra effort and alter AppConfig so it can process complex command-line switches to create multi-level hashes.
|
 |
Articles |
 |
31 Mar 2005 |
|
| |
Cultured Perl: Perl books, Part 1
Take a tour of two solid additions to any Perl library, the beginner-oriented Randal Schwartz's Perls of Wisdom by Randal Schwartz, and the more advanced Higher-Order Perl by Mark Jason Dominus.
|
 |
Articles |
 |
15 Mar 2006 |
|
| |
Cultured Perl: Perl and the Amazon cloud, Part 5
This five-part series walks you through building a simple photo-sharing
Web site using Perl and Apache to access Amazon's Simple Storage Service (S3)
and SimpleDB. In this final installment, examine the full mod_perl site's
templates, including one for indexing, three for uploading (general, S3 forms,
and URL additions), one for image and comment browsing, and one to browse
comments recursively for an image (or threading down).
|
 |
Articles |
 |
23 Jun 2009 |
|
| |
Cultured Perl: Perl and the Amazon cloud, Part 4
This five-part series walks you through building a simple photo-sharing
Web site using Perl and Apache to access Amazon's Simple Storage Service (S3)
and SimpleDB. In this installment, examine the full mod_perl site's code base,
including how to configure the top level, what to do with the handlers, and
how to set up external dependencies.
|
 |
Articles |
 |
14 Jun 2009 |
|
| |
Cultured Perl: Intro to cfengine for system administration
Cfengine (configuration engine) is a UNIX administration tool that aims to make the easy administrative tasks automatic, and the hard tasks easier. Its goal is system convergence from any state towards an ideal state. According to its author, Mark Burgess, cfengine always brings your system closer to the configuration you have defined; it never makes it worse. In this article, Ted acquaints you with this unique system administration tool by demonstrating some simple uses of cfengine.
|
 |
Articles |
 |
01 Feb 2002 |
|
| |
Cultured Perl: Flickr, a business's bst frnd
Flickr isn't just for photo sharing and social networking; it's a
legitimate business tool. Learn how Perl programmers can use the CPAN Chart
modules to create charts and graphs, and the Flickr::Upload module to upload
the charts to Flickr.
|
 |
Articles |
 |
24 Nov 2009 |
|
| |
Cultured Perl: Use IMAP with Perl, Part 2
Ted returns to the subject of accessing IMAP with the Mail::IMAPClient by looking at ifrom.pl as an alternative to other IMAP and POP3 mail checkers. This time around Ted covers tunneling (or port forwarding as it is sometimes called), as well as applying the script to the Maildir mail-storage format.
|
 |
Articles |
 |
19 May 2005 |
|
| |
Cultured Perl: Genetic algorithms, the next generation
This article takes you another step towards working with genetic algorithms in Perl, working with a listing that looks for a set of dictionary words in an individual's DNA.
|
 |
Articles |
 |
01 Oct 2002 |
|
| |
Cultured Perl: Embedding Perl in database tables
In this installment, Ted looks at Perl and databases. Specifically, he works with the Class::DBI CPAN module and MySQL to introduce you to embedding Perl in database tables.
|
 |
Articles |
 |
09 Mar 2005 |
|
| |
Cultured Perl: Perl books, Part 2
Take a look at two divergent texts on system administration. Unix Power Tools, by Shelley Powers, Jerry Peek, Tim O'Reilly, and Mike Loukides, covers the basics in a sound, readable manner and is a must-have book for any sysadmin. Analytical Network and System Administration by Mark Burgess is an advanced take on systems administration for those with a solid grounding in theoretical computer science and mathematics.
|
 |
Articles |
 |
13 Apr 2006 |
|
| |
Cultured Perl: Perl and the Amazon cloud, Part 2
This five-part series walks you through building a simple
photo-sharing Web site using Perl and Apache to access Amazon's Simple Storage
Service (S3) and SimpleDB. In this installment, learn how to upload a file
into S3 from a Web page through an HTML form to minimize the load on the
server, while maintaining a tight security policy.
|
 |
Articles |
 |
08 Apr 2009 |
|
| |
Cultured Perl: Perl and the Amazon cloud, Part 1
This five-part series walks you through building a simple
photo-sharing Web site using Perl and Apache to access Amazon's Simple Storage
Service (S3) and SimpleDB. In this installment, get a feel for the benefits and
drawbacks of S3 and SimpleDB by taking a tour of their
architectures and starting to design your photo-sharing site.
|
 |
Articles |
 |
31 Mar 2009 |
|
| |
Create mosaic images with Perl and ImageMagick
Use simple Perl scripts to automate the image manipulation, text creation, and compositing of arbitrary mosaic images. Learn how to use ImageMagick, GD, and The Gimp to create your own mosaic images suitable for static display and dynamic content. Explore the capabilities of ImageMagick and open source graphical editing tools.
|
 |
Articles |
 |
24 Jan 2006 |
|
| |
Building Perl projects with MakeMaker
If you've used UNIX or Linux for some period of time, you've probably written a few Perl programs to automate simple tasks. Each of these programs does something basic and simple that might otherwise take you 10 or 20 minutes to do by hand. In this article, Sean will show you how to convert just such a Perl program into a far more robust programming project, one that will be generic enough to be widely distributed across many disparate platforms.
|
 |
Articles |
 |
01 Nov 2001 |
|
| |
Using Perl to create reusable Web apps
Perl is a convenient and effective tool for complex Web applications development. However, even experienced programmers resist Perl because it seems difficult to learn and use. This article demonstrates that object-oriented implementation of Perl simplifies the effort and could be much more effective than other Web technologies, especially with separate design and application functionality.
|
 |
Articles |
 |
01 Jun 2001 |
|
| |
Build an Eclipse development environment for Perl, Python, and PHP
Eclipse presents a wealth of capabilities for building tools for compiled languages like C and the Java programming language, but provides little support for scripting languages like Perl, Python, and PHP. For these and similar languages, the Eclipse Dynamic Languages Toolkit (DLTK) comes to the rescue. Walk through the process of building a DLTK-based IDE and discover sample code for each step.
|
 |
Tutorials |
 |
03 Feb 2009 |
|
| |
Como Depurar Aplicações Perl com o Eclipse
A depuração de aplicações Perl pode ser um processo frustrante. Muitos programadores de Perl dependem das instruções de impressão e da chamada "depuração post mortem". Outros usam o depurador de Perl embarcado. Nenhuma das duas opções fornecem um ambiente de execução coerente para monitorar a execução de um script e nenhumas das duas suporta a depuração de um script Common Gateway Interface (CGI) durante a execução. Neste tutorial, vamos dar uma olhada na funcionalidade oferecida pelo plug-in Eclipse Perl Integration (EPIC) no Eclipse, que oferece um ambiente de depuração rico disponível e embarcado ao ambiente de desenvolvimento EPIC Perl.
|
 |
Tutorial |
 |
07 Feb 2006 |
|
| |
The road to better programming: Chapter 12. File editing with the perledit: section
In this series, Ted has been developing the cfperl project -- which is simply a cfengine interpreter written in Perl -- from the top down. This time, Ted adds Perl-based file editing. He explores which decisions were taken and why, and shows the four new commands in use.
|
 |
Articles |
 |
20 Aug 2003 |
|
| |
Perl programming with DB2 Universal Database
Learn how to write simple Perl programs that extract or manipulate data stored in DB2 UDB. You will go from the simple task of selecting a row from a database into a Perl program, to more advanced topics, including dealing with large objects and invoking stored procedures.
|
 |
Articles |
 |
22 Dec 2005 |
|
| |
Build a Perl/CGI voting system
Many Web-deployed applications are written within elaborate database-driven server-side development frameworks such as PHP and Java servlets, but for simple applications (for example, where the entire dataset fits comfortably within a Web server's RAM), data persistence can be easily accomplished using locked DBM files in conjunction with the Perl MLDBM module. This article presents a real-world example -- a Web-based voting application -- that highlights the use of minimal external modules, forgoes using client-based cookies, and takes advantage of CGI attributes.
|
 |
Articles |
 |
31 May 2005 |
|
| |
Automate Perl module deployment
If you run Perl across many different computers of any sort, you know how frustrating it can be to install Perl extension modules across those machines. The administrative process is even worse if you have a Web server farm and need to keep each machine up to date with a set suite of extension modules for your installation. CPAN helps, but there are issues with CPAN that make it an unwieldy solution for use on a network. This article provides possible solutions before covering the final system. The main goals are a unified installation/module set, a single download, and a guaranteed unified set of version numbers across all the computers in the network.
|
 |
Articles |
 |
08 Mar 2004 |
|
| |
How to debug Perl apps with Eclipse
Debugging Perl applications can be a frustrating process. Many Perl programmers rely on print statements and so-called "postmortem debugging." Others use the built-in Perl debugger. Neither provides a coherent execution environment for monitoring the execution of a script, and neither supports the debugging of a Common Gateway Interface (CGI) script during execution. In this tutorial, we will look at the debugging functionality offered by the Eclipse Perl Integration (EPIC) plug-in for Eclipse, which offers a rich debugging environment available and integrated with the EPIC Perl development environment.
|
 |
Tutorials |
 |
07 Feb 2006 |
|
| |
Create a continuous keystroke-dynamics monitor with Perl and xev
Learn how to use Perl, xev, and custom algorithms to monitor who is currently at the keyboard based on characteristic typing patterns.
|
 |
Articles |
 |
07 Oct 2008 |
|
| |
Create time-availability maps with Perl and Google Earth
Time-availability maps provide a listing of who is most likely to be available
for a certain hour in a certain location. Find out how to use Google Earth and a log of
your communications to map and identify the time and place when availabilities match.
|
 |
Articles |
 |
26 Aug 2008 |
|
| |
Getting practical about wireless security, Part 1: Building a wireless sniffer with Perl
This article, the first in a two-part report, reviews common issues of wireless security, and shows how to use open source software to suss out wireless networks, get information about them, and start recognizing common security problems.
|
 |
Articles |
 |
12 Jan 2005 |
|
| |
Embed Perl scripting in C applications
Have you ever wanted a quick way to add a scriptable element to your applications? Embedding an existing language into your application is the simplest and most effective way to incorporate such a system. You get the benefits of an established language to expand the functionality of your application in a flexible way without users having to rebuild the application to use it. In this tutorial, you'll learn a process for embedding a scripting language into an application. You'll see how to build the application and how to provide wrapper functions that support full argument and return value support.
|
 |
Tutorials |
 |
15 Dec 2004 |
|
| |
Mastering regular expressions in PHP, Part 1: Perl may be regex king, but PHP can slice and dice input quickly, too
Pattern matching is such a common chore for software that a special shorthand --
regular expressions -- has evolved to make light work of the task. Learn how to use
this shorthand in your code.
|
 |
Articles |
 |
01 Jan 2008 |
|
| |
Using Perl to access DB2 for Linux
In this free tutorial you'll learn how to install and use a Perl interface to the IBM DB2 Universal Database, Personal Developer's Edition. You'll also learn by example how to query the sample database provided with the DB2 Personal Developer's Edition.
|
 |
Tutorials |
 |
19 Jan 2001 |
|
| |
Create geographical plots of your data using Perl, GD, and plot-latlong
Using world and custom U.S. maps, Perl, GD, and the Cooperative Association for Internet Data Analysis (CAIDA) plot-latlong tool, this article demonstrates how to create your own effective data visualizations in the spirit of Google maps and the U.S. national atlas.
|
 |
Articles |
 |
10 Apr 2007 |
|
| |
LDAP search engines, Part 1: Use Perl and a regular-expression generator to search for and display LDAP database records
Find out how to use Perl and a regular-expression generator to search and display records from your Lightweight Directory Access Protocol (LDAP) database using simple keyword-type searches. Search and process your LDAP data without knowing precisely which field the data is in or how it is formatted. Part 2 of this "LDAP search engines" series introduces scoring and metaphone suggestions to the code.
|
 |
Articles |
 |
20 Feb 2007 |
|
| |
Create fancy on-screen displays with Ghosd and Perl
Use Perl, Ghosd, and some network programming to display on-screen overlays of text and graphics based on messages from your local system and remote computers. Define custom images, font sizes, and colors to convey information integrated with your desktop.
|
 |
Articles |
 |
13 Feb 2007 |
|
| |
Using advanced widgets in Perl/Tk
Perl is one of the most popular languages out there, and is used for everything from mission-critical projects to Web applications to "glue." It is not, however, often used for GUI programming and prototyping. Philipp K. Janert thinks it should be, and you probably will too -- after this look at some of the more complex widgets available for Perl/Tk.
|
 |
Articles |
 |
10 Aug 2004 |
|
| |
Build Perl applications with Eclipse
The EPIC project lets developers build, edit, and develop Perl-based applications using the Eclipse IDE. In this tutorial, we look at the EPIC plug-in, how it can be used to develop Perl applications, and how it can be integrated into existing development processes.
|
 |
Tutorials |
 |
17 Jan 2006 |
|
| |
Develop Perl applications with Apache Derby
Discover how to use Perl, Open Database Connectivity (ODBC), and the Perl Database Interface (DBI) to access data in an Apache Derby database. This article covers the installation of Perl, the ODBC driver, the Perl DBI, and Perl DBD-ODBC modules on Windows, and includes a sample Perl script that demonstrates connecting to, inserting data into, and selecting data from a Derby database.
|
 |
Articles |
 |
07 Oct 2004 |
|
| |
Create mosaic movies with Perl, ImageMagick, and MPlayer
Use Perl, ImageMagick, and MPlayer to create mosaic movies composed of frames from other movies. Zoom out from the center of a large text-overlay image made up of sequential frames of existing movies. Disassemble, composite, and encode your own mosaic-type movies for special promotional or home video events.
|
 |
Articles |
 |
11 Jul 2006 |
|
| |
Create custom data charting tools using Perl and GD
Create professional-looking charts for data visualization using Perl and GD. Move beyond standard pie charts to incorporate annotations, indicators, and layering for enhanced informational delivery.
|
 |
Articles |
 |
24 Apr 2007 |
|
| |
Data visualization using Perl/Tk
Generating a visual representation is often the best way to understand large data sets, but standard tools such as gnuplot often fall short. This article shows how to use Perl/Tk, the standard GUI toolkit for Perl, to quickly build custom plotting and graphing tools.
|
 |
Articles |
 |
27 Aug 2003 |
|
| |
Software security analysis with BogoSec
BogoSec is a source code metric tool that wraps multiple source code scanners, invokes them on its target code, and produces a final score that approximates the security quality of the code. This article discusses the BogoSec methodology and implementation, and illustrates the output of BogoSec when run on a number of test cases, including Apache Web server, OpenSSH, Sendmail, Perl, and others.
|
 |
Articles |
 |
28 Apr 2006 |
|
| |
MySQL for Linux on POWER, Part 1: Introduction to creating a database
Learn about the availability of MySQL Database Server for Linux(R) running on IBM(R) POWER(TM) and PowerPC(R) processor-based servers (collectively referred to as Linux on POWER). As a brief guide for application developers using MySQL on Linux on POWER, this paper is intended for MySQL developers and database administrators who are familiar with their system environment, networks, media devices, and disk resources. In Part 2 of this article, read about developing applications for MySQL using PHP, C/C++, Java, Perl, and Python.
|
 |
Articles |
 |
05 Apr 2005 |
|
| |
The road to better programming: Chapter 3
This series of articles on developerWorks comprises a complete guide to better programming in Perl. In this third installment, Teodor gives a quick introduction to the Perl loop syntax, conditional statements, and writing clean code. While not intended to teach Perl from the ground up, this chapter will be useful for the beginner or intermediate Perl programmer interested in learning how to apply Perl better to everyday work.
|
 |
Articles |
 |
01 Dec 2001 |
|
| |
New to Open source
This guide places all the basics of open source in context to help you get started in the most wide-ranging, growing, and dynamic field of software development today. The open source zone is your source for how-to information, tools, and project updates to help you develop with open source technologies and use them with IBM's products. Topic areas include Eclipse, Apache, Derby/Cloudscape, Linux, scripting languages such as PHP, Perl, and Python, as well as broader discussions on licensing and open source development.
|
 |
|
 |
22 Aug 2007 |
|
| |
Discover Python, Part 7: Explore the Python type hierarchy
This article returns to the exploration of the Python type hierarchy and introduces the Python dictionary container type. Unlike the Python tuple, string, and list container types discussed in previous articles, the dictionary type is an unordered container that relies on a key-to-value mapping. As a result, items in a dictionary are accessed by a key value and not by their location within a sequence. The unique features of the dictionary type may seem unusual, but they provide a great deal of power when used properly.
|
 |
Articles |
 |
06 Dec 2005 |
|
| |
MySQL for Linux on POWER, Part 2: Developing applications
In this second, and final, part of this series, learn more about the availability of MySQL Database Server for Linux(TM) running on IBM(R) POWER(TM) and PowerPC(R) processor-based servers (collectively referred to as Linux on POWER). Part 2 focuses on developing applications for MySQL in some of the major programming languages, such as PHP, Java(TM), C/C++, Python, and Perl. As a brief guide for application developers using MySQL on Linux on POWER, this paper is intended for MySQL developers and database administrators who are familiar with their system environment, networks, media devices, and disk resources.
|
 |
Articles |
 |
07 Apr 2005 |
|
| |
Introduction to the eSWT mobile extension, Part 2: Use advanced controls for your mobile applications
As mobile platforms become increasingly sophisticated, the demand for
mobile computing will increase. In this "Introduction to the eSWT mobile extension" series, learn about the embedded
Standard Widget Toolkit (eSWT). You can use eSWT to develop native-looking
Java applications for a variety of mobile phones. In this article, learn how to
use more of the mobile controls: MobileShell, SortedList, HyperLink,
TextExtension, and TaskTip.
|
 |
Articles |
 |
03 Nov 2009 |
|
| |
How to ungrab Firefox hotkeys from Flash players
Flash players and other embedded applications in Firefox require their own hooks for keyboard and mouse input. For years, Flash has grabbed Firefox keypresses, which stops people from using the keyboard for navigation, creating new tabs, or even exiting the Flash focus. Learn how to create a Perl program that communicates with a Firefox extension and cnee to restore your keyboard functionality.
|
 |
Articles |
 |
16 Dec 2008 |
|
| |
Expand your user-authentication options with mouse dynamics
Learn how to apply the open source tools cnee and Perl in mouse-click dynamics to measure the more-subtle characteristics of human-computer interaction. Use the number and hold time of mouse click events to help authenticate users.
|
 |
Articles |
 |
25 Nov 2008 |
|
| |
Shut down idle computers on your network automatically
Learn how to use Argus and client/server Perl code to monitor your network connections and
shut down machines no longer in use.
|
 |
Articles |
 |
21 Oct 2008 |
|
| |
Write a Firefox extension to rotate images in online mapping applications
Learn how to use JavaScript and the Imager Perl module to interface with a Firefox extension for rotating image tiles in Google Maps.
|
 |
Articles |
 |
14 Oct 2008 |
|
| |
Enhance image overlay maps in Google Earth with altitude attributes
Use Perl and the Imager module to enhance mapping applications by extracting and
applying height information based on color to reveal a third dimension of data, showing more information in the same space.
|
 |
Articles |
 |
23 Sep 2008 |
|
| |
Install XAMPP for easy, integrated development
Open source stacks such as XAMPP from Apache Friends are simplifying open source development by making it easier to write and distribute applications in a stable and standardized environment. Traditionally, AMPP -- Apache, MySQL, PHP, and Perl -- have all been installed and configured as separate products. The trend of combining them into integrated middleware stacks promises to make open source development more competitive with J2EE application development, at least for low-end applications. In this article, you'll learn how to install, configure, and back up XAMPP on Mandrake Linux 10.0 and also how to configure and administer XAMPP, as well as how to install your own applications in an XAMPP environment.
|
 |
Articles |
 |
30 Nov 2004 |
|
| |
Beginning Haskell
Get a gentle introduction to the paradigm of functional programming, with specific illustrations in the Haskell 98 language. This tutorial targets programmers of imperative languages wanting to learn about functional programming in the language Haskell. If you have programmed in languages such as C, Pascal, Fortran, C++, Java, Cobol, Ada, Perl, TCL, REXX, JavaScript, Visual Basic, or many others, you have been using an imperative paradigm.
|
 |
Tutorials |
 |
27 Sep 2001 |
|
| |
LPI exam 301 prep, Topic 302: Installation and development
In this tutorial, Sean Walberg helps you prepare to take the Linux
Professional Institute Senior Level Linux Professional (LPIC-3) exam. In this second
in a series of six tutorials, Sean walks you through installing and configuring a
Lightweight Directory Access Protocol (LDAP) server, and writing some Perl scripts
to access the data. By the end of this tutorial, you'll know about LDAP server
installation, configuration, and programming.
|
 |
Tutorials |
 |
04 Dec 2007 |
|
| |
Expand your text entry options with keystroke dynamics
Measure the total time of entry and verify the time between keystrokes to help
authenticate a user regardless of the data being entered. Require nonprintable
characters, such as backspace and break, in the password to enable new levels of password
obfuscation. Learn how to apply the open source tools xev and Perl in keystroke
dynamics to measure the more-subtle characteristics of human-computer interaction.
|
 |
Articles |
 |
04 Dec 2007 |
|
| |
Search structured LDAP data with a vector-space engine
Use Perl and a vector-space search engine to search and display records from
your Lightweight Directory Access Protocol (LDAP) database. Use inflected letters and
numbers to create a useful vector space from structured LDAP data. And compensate for
typographical and spelling errors automatically while showing the most appropriate
match for any query entered.
|
 |
Articles |
 |
18 Sep 2007 |
|
| |
Embedding Hamlets
The open source Hamlets framework can help aid your Web development and properly separate content from presentation. The OSGi framework provides an excellent tool for development on embedded devices. Together, the two frameworks work as a team to provide browser-based interactivity to the humblest gadgets -- such as the lowly coffee maker. Read on to find out how it works.
|
 |
Articles |
 |
19 Jun 2007 |
|
| |
Tuning LAMP systems, Part 3: Tuning your MySQL server
Applications using the LAMP (Linux, Apache, MySQL, PHP/Perl) architecture
are constantly being developed and deployed. But often the server administrator has
little control over the application itself because it's written by someone else.
This series of three articles discusses many of the server configuration items that
can make or break an application's performance. This third article, the last in the
series, focuses on tuning the database layer for maximum efficiency.
|
 |
Articles |
 |
07 Jun 2007 |
|
| |
Develop your own weather maps and alerts
Traditional weather reports will give notice of vague forecasts and severe weather alerts in your general area. The code and tools
presented in this article will allow you to create precise detection zones so you can receive a page, SMS, or e-mail a few minutes before a
precipitation event is likely to occur at the monitored location. Use GD and Perl for image processing of the NOAA WSR-88D radar data to
create your own precipitation alerts for precise areas. Choose your notification method and let users know when the rain will begin and when
it will clear.
|
 |
Articles |
 |
05 Jun 2007 |
|
| |
Tuning LAMP systems, Part 2: Optimizing Apache and PHP
Applications using the LAMP (Linux, Apache, MySQL, PHP/Perl) architecture
are constantly being developed and deployed. But often the server administrator has
little control over the application itself because it's written by someone else.
This series of three articles discusses many of the server configuration items that
can make or break an application's performance. This second article focuses on steps
you can take to optimize Apache and PHP.
|
 |
Articles |
 |
30 Apr 2007 |
|
| |
Tuning LAMP systems, Part 1: Understanding the LAMP architecture
Applications using the LAMP (Linux, Apache, MySQL, PHP/Perl) architecture
are constantly being developed and deployed.
But often the server administrator has little control over the application itself
because it's written by someone else. This series of three articles discusses many
of the server configuration items that can make or break an application's
performance. This first article covers the LAMP architecture, some measurement
techniques, and some basic Linux kernel, disk, and file system tweaks. Successive articles investigate tuning the
Apache, MySQL, and PHP components.
|
 |
Articles |
 |
31 Mar 2007 |
|
| |
Make incoming e-mail play custom tunes
"You've got mail" is so 20th century. Use Perl and Sound eXchange (SoX) to play sound files on your Linux or Windows computer based on the content of incoming e-mail messages. Your system can compose and blend certain sounds to give you a heads-up on the who, what, and why of your in-box content.
|
 |
Articles |
 |
23 Jan 2007 |
|
| |
Whistle while you work to run commands on your computer
Use Linux or Microsoft Windows, the open source sndpeek program, and a simple Perl script to read specific sequences of tonal events -- literally whistling, humming, or singing to your computer -- and run commands based on those tones. Give your computer a short low whistle to check your e-mail or unlock your your screensaver with the opening bars of Beethoven's Fifth Symphony. Whistle while you work for higher efficiency.
|
 |
Articles |
 |
09 Jan 2007 |
|
| |
Developing with Apache Derby -- Hitting the Trifecta: Java database development with Apache Derby, Part 1
Climb aboard! This article begins your journey of writing Java applications that work with the Apache Derby database. Learn how to connect to an embedded Derby database by using a Derby embedded Java Database Connectivity (JDBC) driver. Plus find out about database metadata and how to properly handle SQL errors and warnings in your Java application that may be generated by Derby.
|
 |
Articles |
 |
12 Dec 2006 |
|
| |
User annotations in Ajax
The ability to add notes and comments to your Web site can be a powerful and attractive feature for users. This tutorial demonstrates how to implement an Asynchronous JavaScript and XML (AJAX)-based user annotation system in the form of yellow sticky notes that sit on top of regular Web page content. The only additional, required configuration is a back-end Perl script that stores the annotations
|
 |
Tutorials |
 |
31 Jan 2006 |
|
| |
Monitor your Linux computer with machine-generated music
Use Perl and FluidSynth to create a real-time musical composition of your system status. Learn how to integrate various system monitoring data into a harmony-producing, MIDI-controlled audio synthesis. Explore audible information methods and configurations to help you monitor and manage your computing environment.
|
 |
Articles |
 |
14 Nov 2006 |
|
| |
Charming Python: Hatch Python eggs with setuptools
David takes a look at the setuptools framework, a side project of the Python Enterprise Application Kit (PEAK). setuptools replaces the standard distutils library and adds versioned package and dependency management to Python. Perl users will be familiar with CPAN, and Ruby users with Gems; the tool ez_setup that bootstraps setuptools and the expanded easy_install that comes with it act in conjunction with "Cheeseshop" (the Python Package Index, also called "PyPI") to achieve the same thing. Moreover, setuptools lets you package your libraries in a single-file archive called an "egg," which is a lot like a Java JAR file, but for Python.
|
 |
Articles |
 |
24 Oct 2006 |
|
| |
Harnessing Apache for REXX programming
This article introduces the Mod_Rexx package, which is similar to other
Apache language processor modules, such as mod_perl or mod_php. Mod_Rexx brings
the full power of the REXX language processor of your choice (IBM Object REXX,
Regina REXX, etc.) to the Apache Web-page developer. You can use Mod_Rexx to
create dynamic Web pages or to process any part of an Apache request.
|
 |
Articles |
 |
01 Aug 2002 |
|
| |
Build Web apps with Maypole
Simon Cozens turns a love of beer into a Perl application server -- going from a simple front end to database servers, and developing into a social-network Web application. He begins, however, with the beer.
|
 |
Articles |
 |
25 May 2004 |
|
| |
The road to better programming: Chapter 5
This series of articles on developerWorks comprises a complete guide to better programming in Perl. In this fifth installment, Teodor explains what Object Oriented Programming is, when to use it, and how it works in Perl. Object Oriented Programming (OOP) is a powerful programming technique, but it is not a panacea. Good programmers must understand how to use it, and must also know when to rely on more traditional programming techniques. Using OOP in Perl is easy. Unlike more restrictive OOP languages like C++ and Java, OOP in Perl places very few arbitrary constraints on the programmer. OOP is an essential addition to every programmer's toolkit, and a very useful technique for expanding the range of problems that may be solved with Perl.
|
 |
Articles |
 |
01 Jan 2002 |
|
| |
The road to better programming: Chapter 4
This series of articles on developerWorks comprises a complete guide to better programming in Perl. In this fourth installment, Teodor introduces functional programming and several essential Perl idioms important for Perl programmers looking for speed and elegance in their code, such as the map() and grep() functions, and the Schwartzian and Guttman-Rosler transforms.
|
 |
Articles |
 |
01 Jan 2002 |
|
| |
Git for Subversion users, Part 2: Taking control
Git offers Linux developers a number of advantages over Subversion for
software version control, so developers working collaboratively owe it to
themselves get familiar with the basic concepts behind it. In
this installment, Ted dissects branching and merging in both Git and
Subversion, introduces "git bisect" for bisecting changes, and shows how to
resolve merge conflicts.
|
 |
Articles |
 |
25 Nov 2009 |
|
| |
Charming Python: Using the xinetd program for system administration
Every UNIX administrator is familiar with inetd, the daemon that manages most incoming network connections through a centralized configuration file (inetd.conf). The xinetd daemon is a replacement for inetd that offers many improved or new features, and easier configuration. Ted explains the concepts behind inetd, and gives examples for setting up xinetd at your own site.
|
 |
Articles |
 |
01 Nov 2001 |
|
| |
Tips for convenient CGI scripting
Any CGI programmer benefits from knowing and using ready-made libraries. In this article Eugene Logvinov shows how CGI modules taken from CPAN can not only help you to work effectively and conveniently, but can also provide you with an excellent code and reference library. Consequently, embedding POD (Plain Old Documentation) in the module turns out to be a good choice.
|
 |
Articles |
 |
01 Jun 2001 |
|
| |
Knock-based commands for your Linux laptop
For the first time, you can hit your computer and get a meaningful response! Using Linux and the Hard Drive Active Protection System (HDAPS) kernel drivers, you can access the embedded accelerometers on Lenovo (formerly IBM) ThinkPads, then process the accelerometer data to read specific sequences of "knocking" events -- literally rapping on the laptop case with your knuckles -- and run commands based on those knocks. Double tap to lock the screen, and knock in your secret code to unlock. Tap the display lid once to move your mp3 player to the next track. The possibilities are endless.
|
 |
Articles |
 |
25 Jul 2006 |
|
| |
Git for Subversion users, Part 1: Getting started
Distributed version control systems (DVCSs) offer a number of advantages
over centralized VCSs, and for Subversion users looking to explore this model,
Git is a great place to start. Using Subversion as a baseline, this first of
two articles shows how to install Git, set up a remote repository, and begin
using basic Git commands.
|
 |
Articles |
 |
04 Aug 2009 |
|
| |
Manage packages using Stow
This article is about Stow, a software installation management utility for Linux that offers a number of advantages over the tried-and-true Red Hat and Debian package management systems. With Stow, you can organize applications available in standard tar files and keep application binaries logically arranged for easy access.
|
 |
Articles |
 |
20 Feb 2003 |
|
| |
Welcome to the Open source zone
IBM is launching a revamped developerWorks Open source zone, which will deliver more articles, resources, tools, and tutorials that support major industry open source initiatives, including Linux, Apache, Derby, Globus, and Eclipse. Learn how you can benefit.
|
 |
Articles |
 |
25 Feb 2005 |
|
| |
Build an LSID Resolution Service using the Java language
We take you through a step-by-step approach to building a Java technology-based Life Sciences Identifier (LSID) authority from scratch. We demonstrate how to build this on a minimal data set and on data downloaded from the protein sequence database Swiss-Prot, all on the Linux platform.
|
 |
Articles |
 |
03 Mar 2004 |
|
| |
Social-networking open source visualization aids
Social-networking data analysis can help you understand content, connections, and opportunities for your personal and business associations. This article presents tools and code to extract key components of your social network using the Twitter API to chart, geolocate, and visualize your social-networking data.
|
 |
Articles |
 |
06 Jan 2009 |
|
| |
Reduce your PC's power consumption through smart activity monitors
Learn how to reduce power consumption in your Linux computers by monitoring
application-usage patterns and user activity.
|
 |
Articles |
 |
04 Nov 2008 |
|
| |
Getting practical about wireless security, Part 2: Enhancing the wireless sniffer
This article, the second of a two-part series, adds more features to the wireless sniffer developed in the first part of the series. It also discusses wireless security issues more deeply, and looks at upcoming protocols and technologies, to see how they can affect security issues.
|
 |
Articles |
 |
01 Feb 2005 |
|
| |
Enhancing multi-screen user interfaces using Ghosd and Synergy
Unlike traditional single-screen setups, multi-screen display systems require
special consideration for user interfaces (UIs). This article presents tools and code
designed to address the acquisition and change of input focus across multiple displays.
|
 |
Articles |
 |
09 Sep 2008 |
|
| |
Identify speakers with sndpeek
Use sndpeek and custom algorithms to match voices to a pre-recorded library.
Create applications to let you know who is speaking in teleconferences, podcasts, and
live media events. Build basic assistance programs to help the hearing-impaired identify
speakers in a bandwidth-limited context.
|
 |
Articles |
 |
15 Apr 2008 |
|
| |
ThinkPad aerobics: Rotate and shake your laptop to control applications
Use synthetic X Window System events and embedded accelerometers to control
applications by the movement of a laptop computer. Translate gestures, such as
shaking, into mode-switching commands with detection algorithms to interact with
applications in new ways. Develop tools to help build the next generation of
interfaces that use accelerometers, such as applications for laptops and iPhones.
|
 |
Articles |
 |
11 Mar 2008 |
|
| |
Take your ThinkPad out for a walk to create wireless site surveys
Use the accelerometer embedded in a ThinkPad to record your movements while
monitoring your network connectivity. Use custom algorithms to extract footstep
features from the recorded data, then automatically plot signal strengths on a floor-plan
map to determine the best areas of coverage.
|
 |
Articles |
 |
12 Feb 2008 |
|
| |
Create automated verbal conversation annotations for phone numbers, acronyms, and other spoken words
Use the open source Sphinx-4 speech-recognition package to capture letters and
numbers from spoken conversations in near real time to create notes. Employ a custom
Sphinx-4 dictionary file to extract likely matches to spoken letters and numbers.
Process the text for higher order values, such as phone numbers and acronyms, and create
a meeting annotator through search-engine lookups and local databases.
|
 |
Articles |
 |
13 Nov 2007 |
|
| |
Make your 404 pages smarter with metaphone matching
Create your own 404 error-message handler to provide useful links and redirects
for the contents of your site. Use metaphone matching and a simple weighted score file
to make typographical, spelling, and bad-link redirect suggestions. Customize the
suggestions based solely on your Web site's content and preferred redirection
locations. Catch multiple errors in incoming URL requests and process them for
corrections in directory, script, and HTML page names.
|
 |
Articles |
 |
28 Aug 2007 |
|
| |
Map places, people, and relationships inside a building with open source software
Google and MapQuest do a great job of creating maps of the outside world on the
fly. But what about our workspaces? This article shows how to define and map places and
people inside a building. Search, track, and plot individual cubicles, rooms,
employees, or assets. Graph the location of individuals or groups of employees based on
job function, or track unused office space visually.
|
 |
Articles |
 |
14 Aug 2007 |
|
| |
Lightweight Web servers
Recent years have enjoyed a florescence of interesting implementations of
Web servers, including lighttpd, litespeed, and mongrel, among others. These Web
servers boast different combinations of performance, ease of administration,
portability, security, and related values. The following engineering study surveys the field of lightweight Web servers to help you find one likely to meet the technical requirements of your next project.
|
 |
Articles |
 |
10 Jul 2007 |
|
| |
Know your regular expressions
You can build and test regular expressions (regexps) on UNIX(R) systems in several
ways. Discover the available tools and techniques that can help you learn how to
construct regular expressions for various programs and languages.
|
 |
Articles |
 |
14 Jun 2007 |
|
| |
Explore relationships among Web pages visually
The Graphviz program from AT&T Research and others is a fantastic tool for automating the visualization of complicated link sets. This article shows how to combine the Graphviz tool set with Web-page thumbnail generators to create new ways of visualizing any Web page's link structures. You can use these techniques and descriptions to refine your display logic, and create directed and undirected Graphviz charts to enhance your understanding of organizational, software, and other complex linked data sets.
|
 |
Articles |
 |
15 May 2007 |
|
| |
LDAP search engines, Part 2: Adding a scoring system
Learn how to add a scoring system to the search engine described in "LDAP search engines, Part 1." Develop your own metaphone-matching techniques for spelling corrections, query suggestions, and effective display of search results.
|
 |
Articles |
 |
20 Mar 2007 |
|
| |
Build cross-platform GUIs using wxWidgets
The wxWidgets toolkit contains powerful, cross-platform tools for graphical user interface (GUI) development. In addition to its native C++, several languages offer wrappers for use with the toolkit. Learn how to use the wxWidgets toolkit to create elegant and highly useful GUIs in your programming language of choice.
|
 |
Articles |
 |
21 Sep 2006 |
|
| |
Build cross-platform GUIs using wxWidgets
The wxWidgets toolkit contains powerful, cross-platform tools for graphical user interface (GUI) development. In addition to its native C++, several languages offer wrappers for use with the toolkit. Learn how to use the wxWidgets toolkit to create elegant and highly useful GUIs in your programming language of choice.
|
 |
Articles |
 |
21 Sep 2006 |
|
| |