Hello, and welcome to DDJ.com
CMP Media Launches New Dr. Dobb's Journal

SD West 2006 announces this year's list of Jolt Product Excellence Award winners and Productivity Award winners.

LOG INRegisterForgot password?
What are the green links?
All Access members only
RSS Feed
DDJ > Dr. Dobb's Departments > Linux/UNIX

Linux/UNIX

Editor's Note | News | Features | Discussion Forum | Linux/UNIX RSS Feed

Practical techniques, tools, tips and secrets for professional Linux/Unix developers


Dr. Dobb's Linux Digest - February 2006
Steven Gibson
The Wireless Music Player; Open-Xchange Offered on SuSE and Red Hat; Most Wanted Survey Replacements; Novell offers xgl; and more.

Debugging & Embedded Linux Runtime Environments
Rajesh Mishra
Debugging in embedded Linux runtime environments requires an assortment of tools.

Dr. Dobb's Linux Digest - January 2006
Steven Gibson
This month's digest includes combining bittorrent with Debian package management, a Live CD for screenwriters, Linux Symposium papers, security focused distributions, building clusters with Xen, wireles tablet devices, and a book review.

Dr. Dobb's Linux Digest - December 2005
Steven Gibson
This month's digest includes setting up Samba, Linux certifications, creating demos, KDE vs. Gnome, crosscompiling, Debian package management and CRM software.

Google's Summer of Code: Part III
DDJ Staff
Google's Summer of Code resulted in thousands of lines of code. Here are more students who participated.

Mac OS X Tiger & 64 Bits
Rodney Mach
Before migrating to 64-bit platforms, the first question to ask is whether you really need to do so.

Examining Objective-C
Kyle Dawkins
Objective-C is an object-oriented strict superset of C and is the language of choice for development with Mac OS X or the GNUStep Foundation classes.

Dr. Dobb's Linux Digest - November 2005
Steven Gibson
This month's Linux Digest includes links to threads, clusters, desktop choices, shared memory, rootless distribution testing, system administration, firmware driver design, and kernel development choices. We also highlight a new podcast.

Programming for Reliability
Andy Chou
Lessons learned from static analysis of millions of lines of code

Cocoa Memory Management
Jose R.C. Cruz
Cocoa, a Mac application development framework, has a memory-management scheme that differs from Java or C++.

Google's Summer of Code: Part II
the DDJ staff
Google's Summer of Code resulted in thousands and thousands of lines of code. Here are more of the students who participated.

Linux Phone Standards Forum Announced
Jonathan Erickson
Michel Gien introduces the Linux Phone Standards Forum, a consortium aimed at facilitating the use of Linux for telephony applications in general, and mobile phones in particular. (MP3, 4:21 mins.)

Linux Symposium 2005
Ed Nisley
Ed attends the 7th Annual Linux Symposium to find out what's up with Linux.

Google's Summer of Code: Part I
the DDJ staff
Google's Summer of Code resulted in thousands of lines of code. Here are some of the students who participated.

A Mac Text Editor Migrates to Intel
Tom Thompson
BBEdit, an industrial-strength Macintosh text editor, has been ported to the Intel platform. Here's how.

Strategic Open Source: A Conversation with Bernard Golden
Alexandra Weber Morales
Open source software has changed the high-tech business—for the better. But how are software vendors and IT shops taking advantage of free software innovations? Who, aside from Big Blue and Sun, has embraced open source as a corporate imperative? What do you do when your product competes against a free version?

Soft Real-Time Programming with Linux
William Nagel
The 2.6 kernel brought a host of real-time enhancements to Linux, making it "good enough" for many soft real-time applications.

Stanford Team Wins DARPA Grand Challenge
Jonathan Erickson
Mike Montemerlo, software lead for the Stanford University Racing Team, describes some of the challenges the team faced in winning the 2005 DARPA Grand Challenge for autonomous vehicles. (MP3 audio, 3:03 mins.)

Mozilla Launches Developer Center
Jonathan Erickson
Deb Richardson, Mozilla's Developer Relation Lead, talks about the recently launched Mozilla Developer Center. (MP3 audio, 4:43 mins.)

Linux Kernel Debugging
Dean A. Gereaux
Dean explains how to debug drivers with Linux Kernel Debugger, add hooks into KDB from your drivers, and create KDB modules.

InfiniBand Technology
Corky Seeber
InfiniBand is a serial I/O interconnect architecture designed to connect hundreds--if not thousands--of computers.

Strong Language
Ed Nisley
Large, complex embedded systems have more places for things to go wrong.

The Mac's Move to Intel
Tom Thompson
Steve Jobs dropped a bombshell when he told software developers that the Macintosh will switch from PowerPC to Intel x86 processors.

Distros Differ
Warren Keuffel
The allied forces have rallied around Linux. With this guide, you can make a savvy selection of the distribution that's right for your organization's needs.

LinuxWorld 2005 Thursday
Clay Claiborne
At this year's LinuxWorld, the .Org Pavilion was a special section of the Conference reserved for not-for-profit organizations developing cutting-edge projects. The .Org Pavilion participants included X.org, Gnome Foundation, Fedora, and Debian, among others. But the news wasn't who was there, but who wasn't--the OpenOffice.org folks.

Linux As A Platform for Mobile Phones
Jonathan Erickson
Peder Ulander of MontaVista Software explains why Linux may be the platform for next-generation mobile phones. (MP3 audio)

LinuxWorld 2005 Wednesday
Clay Claiborne
While China has been using Linux in a big way for four or five years, this is the first year that the country has had a presence at LinuxWorld. China has done this not only in an effort to market its own products and services, but also to connect with the worldwide Open Source community.

LinuxWorld 2005 Tuesday
Clay Claiborne
Linux in Government Day was actually a conference within the conference with sessions lasting all day. More important than the obvious advantages of free software to bureaucrats forced to make their limited budgets fulfill growing needs, is the relationship between democratic societies and open source.

LinuxWorld 2005 Monday
Clay Claiborne
Linux is growing up fast! This seems to be the message as the LinuxWorld Conference & Expo enters it's seventh year and 2005 promises to be the year that a clear majority of American companies deploy Linux for one purpose or another according to AMR Research.

March of the (Linux) Penguins
Shannon Cochran
San Francisco's Moscone Center plays host this years' Linux World Conference and Expo. The show will focus on topics including security initiatives, integrating Linux and Windows, and kernel development issues.

C++ Exceptions & the Linux Kernel
Halldór Ísak Gylfason, Gísli Hjálmtysson
C++ kernel-level runtime support for Linux lets you use the full power of C++ in kernel-space programming.

Moving to MacTel & 64-Bits
Jonathan Erickson
Randal Hoff, director of business development for Faircom, talks about what's involved in porting existing code bases to Mac OS X Server 10.4 "Tiger" in particular, and 64-bit platforms in general. (MP3 audio, 4:41 minutes)

NPTL: The New Implementation of Threads for Linux
L. Blunt Jackson
Introduced with Version 2.6 of the Linux kernel, the Native POSIX Thread Library brings full compliance to the POSIX Standard.

Programmer's Bookshelf Newsletter - June 2005
Deirdre Blake
Book Reviews: Patterns, Unit Tests, and Linux Clusters; Joel on Software; How Tomcat Works; Foundations of Python Network Programming

Linux Itanium Polishes Its Image
Nick Baran
Supporters of a powerful platform want to set the record straight.

Moving to 64-Bits
Rodney Mach
64-bit platforms are the future for solving larger and more difficult scientific and business problems.

Revisiting UNIX Filters
Christopher Diggins
Christopher explores UNIX filters.

Loadable Modules & the Linux 2.6 Kernel
Daniele Paolo Scarpazza
The Linux Kernel 2.6 introduces significant changes with respect to 2.4.

Is the Future Random and Faceless?
Michael Swaine
The MacWorld Expo, the Mac Mini and the iPod Shuffle are on Mike's mind this month.

Cross-Platform Builds
John Graham-Cumming
John presents a cross-platform pattern for Makefiles that works across Windows and common UNIX platforms.

Wireless, WinFS, & Mac Desktop Managers
Jerry Pournelle
Wireless adventures at Chaos Manor.

Linux and the UNIX Philosophy
Jack Woehr
Jack reviews Linux and the UNIX Philosophy by Mike Gancarz and Automating UNIX and Linux Administration by Kirk Bauer.

It's a Zen Thing
Warren Keuffel
The Macintosh is far more than a pretty face. You can now look to OS X—and its included IDEs, Xcode and Interface Builder—for serious software development.

Apple Shows New Search Tech
Shannon Cochran
The next generation of Mac OS X, codenamed "Tiger," features a metadata-based search engine integrated into the OS.

Out of the Shell
Rick Wayne
The fabled MKS Toolkit lives on, enabling Microsoft OS developers and administrators to use the same bulging toolbox as their Unix brethren. Grep, vi, rlogin, find—it’s all here.

Programmer's Bookreview
Jack J. Woehr
Jack examines C & Data Structures, by P.S. Deshpande and O.G. Kakde and Advanced UNIX Programming, Second Edition, an update of Marc Rochkind’s classic book.

Book Review: Linux Programming by Example
Peter Salus
It's 15 years since I got a copy of The GAWK Manual. And I'm still a fan of Arnold Robbins. I keep the (much) later version (Effective AWK Programming, 1997) right next to my desk. So, I was excited to see a new book by Robbins announced.

Free as in Freedom
Rosalyn Lum, John RaVella
Richard Stallman and Ronald Reagan were odd bedfellows in a saga that brought us open source and open borders. Two decades later, a raft of open-source products has come of age.

State of the Scam
Warren Keuffel
When you think of Utah, do the 2002 Winter Olympics debacle and other shenanigans come to mind? I'm more perturbed by the SCO's Linux lawsuit.

Programmer's Book Review
Jack Woehr, Gregory V. Wilson
Jack examines Linux on the Mainframe, Practical Unix & Internet Security, Third Edition, and the new edition of Stevens' classic Unix Network Programming, Volume 1: The Socket Networking API.

C/C++ Compilers for Linux
Moshe Bar
Moshe takes a look at three of the more popular C/C++ compilers available for Linux—GCC 3.3, Intel 7.0, and Portland 5.1—and sees how they measure up.

Programmer's Book Review
Jack Woehr, Gregory V. Wilson
This month we examine a bevy of books, including Linux and the UNIX Philosophy, Automating UNIX and Linux Administration, Code Generation in Action, and assorted bloopers and hacks.

Summer Reading
Michael Swaine
Summer reading at Summer Jo's. Now we know what Michael was up to this summer. Plus, his first reaction to Apple's G5 Macintosh—"the world's fastest personal computer."

Apple Confirms G5 Rumors
Shannon Cochran
IBM and Apple renewed their old partnership at the Apple World Wide Developer Conference this week, introducing a new 64-bit, 2.0 GHz G5 processor line.

The One-Minute Hacker
Warren Keuffel
Tried and true publisher O’Reilly offers more than common-sense manuals: It’s been an unflagging supporter of the OS movement—and others are following.

Generating Linux Device Drivers with CodeSketch
John F. Hubbard
Automate device driver creation with this handy Linux tool.

Open Source IDEs for Linux/Unix
Petr Sorfa
You don’t have to give up a graphical environment to develop software under Linux. There are as many IDEs freely available on the Internet as there are definitions of the word “free.”

Navigating Linux Source Code
James Bonang
With legacy code or large projects, navigation is a serious concern. Here are some tools that can help you find your way.

Post-Mortem Debunker
Stan Kelly-Bootle
Somebody let Stan off the plane in New Orleans, ostensibly to cover a Unix conference. Here is his report, complete with a bit of (ahem) cultural commentary.

Writing KDE Applications
Jason Mott
The Linux desktop is maturing on schedule. Here’s a look at developing event-driven GUI apps in KDE.

Real-Time Linux
Ed Nisley
Real-time Linux is Ed's focus this month, as he reports on the Fourth Real-Time Linux Workshop, among other topics.

ODBC In UNIX Environments
Robert Allan Kiesling
The Open DataBase Computing (ODBC) Standard provides an efficient way to write client-server apps, including those that are UNIX based. Robert focuses on the unixODBC library because of its support for MySQL and PostgreSQL.

He Can't Do That!
Michael Swaine
The recent announcement that, beginning in January 2003, new Macs will no longer boot OS 9 caused an outcry among the Mac faithful. Michael Swaine wonders just which faithful we're talking about.

Let's Get Small

It goes without saying: Software for a microwave oven or VCR is quite different from software for a PC. The "blue screen of death" notwithstanding, desktop systems have enough processing power to quickly accomplish most tasks, a vast amount of available memory, a display that can render a wide range of images and the ability to handle multiple inputs. In an embedded system, however, determining how to use these resources is the developer's top priority.

A Changing Landscape at LinuxWorld
Shannon Cochran
Corporate representatives vied for the spotlight at last week's LinuxWorld convention, as traditional Linux luminaries such as Linus Torvalds and Eric Raymond took a lower profile.

The Game Is a Foot
Michael Swaine
Michael goes straight to the source to find out why Apple would cut the legs out from under utility developer Karelia. The answer, it appears, is elementary.

Parsing RSS Files with XML::RSS
Derek Vadala
RSS, or the RDF Site Summary, is an XML document that uses the Resource Description Framework to provide a flexible and easy to use method for syndicating Web site content. The Resource Description Framework (RDF) is an amalgamation of traditional and Web-based data sharing methodologies that uses XML as its delivery agent. RSS is extremely useful because it allows people to share dynamic information like world news, computer security alerts, or a list of restaurant reviews using a common interface and format. So, if you are a content provider, you can use RSS to easily distribute data to users and business partners. If you are an end-user, you can receive easy-to-reformat content that can easily be integrated into your applications and Web pages. The real benefit for both parties is that everyone can view the content using the interface (a PDA, desktop Web browser, or email client) that they prefer.

Localizing Open Source Software
Sean M. Burke
As Perl Journal/Sys Admin readers, most of you are probably native speakers of English — but that puts you in the minority of computer users worldwide. If you think that you’ve got it rough just trying to remember all the switches to ls, think about the hundreds of millions of people who put up with the headache of dealing with applications whose interfaces are not localized (i.e., translated) into their native languages. It’s a bad situation, but open source software can make it better.

Does SOAP Suck? (Web Services, Google, and the What-Sucks-O-Meter)
Dan Brian
This article is essentially a follow-up to my article “Parsing Natural Language” (The Perl Journal, Fall 2000, #19), which described ways of using a Link Grammar Parser to determine which object in a sentence “rocks” or “sucks”. This article is not about SOAP or Web Services, per se. It’s about a program that builds on the grammar parsing to find what the Internet public has to say about certain topics. The program does provide some insight to the rationale for Web services, and some details on using them in a minor setting. I’ll elaborate.

Switchback
Michael Swaine
Michael Swaine gently prods Apple to fix a few annoyances in MacOS X. Or alternatively, switch advertising strategies.

Dead Poet Reviews

With the Xserve, Apple enters the rackmount server business. Mike Swaine tries to figure out who the target market really is for this nifty little box. Also, round two of Mike Swaine vs. the Apple product review policy.

Determining Processor Utilization
Byron Miller
Performance requirements are often considered after the fact when it comes to selecting processors for embedded products.

A C++ Socket Library for Linux
Jason But
SocketCC, the C++ class library Jason presents here, supports both IPv4 and IPv6 network communications using both TCP- and UDP-style sockets. And it's freely available.

Programmer's Toolchest: VNOS: The Visual Network Operating System
Mark Lacas
VNOS, the Visual Network Operating System, is a visual, event-driven, data-flow platform that lets you monitor and control physical devices on any network.

The Menuet Operating System
Ville Mikael Turjanmaa
Menuet is a multitasking real-time operating system that fits on a single 1.44-MB floppy diskette—that's right, a single diskette!

Examining RubyCocoa
Chris Thomas
Apple's Mac OS X melds the best features from several disparate operating systems and environments, including BSD UNIX, the Mach microkernel, and classic Mac OS. However, one of the more interesting technologies in the Mac OS X melting pot is Cocoa, an application framework derived from what was originally the NeXT Application Kit — a powerful object-oriented, user-interface framework.

Feb02: Programming Paradigms
Michael Swaine
Michael looks at the state of scripting tools for MacOS X, reviews a popular history of computer programming, and reports on recent developments in nanotechnology.

Exception Handling in Kylix
Eli Boling, Chuck Jazdzewski
Kylix brings Borland's Delphi toolset and environment from Windows to Linux. And one of the most challenging aspects of the port involved exception handling.

YAPP: Yet Another Programming Platform
Al Stevens
Al continues his search for the perfect C++ class library for Linux.

Private Namespaces for Linux
Ronald Minnich
Private namespaces let groups of processes construct their own namespace. Ron implements them for Linux to solve problems in both distributed and cluster computing.

A Boy and His Computer
Andrew Leonard
Linus Torvald's autobiography reveals a geek's geek who is changing the world, just for the heck of it.

A Data Acquisition System for Linux
Dhananjay V. Gadre, Sunu Engineer
Our authors present a general-purpose data-acquisition system for Linux that can be connected to the PC's parallel port to record eight channels of analog voltage.

Editorial: Deja vu All Over Again
Jonathan Erickson
With all the hot air in Florida swirling around the presidential race, news of another contest — KDE versus GNOME — almost slipped by. Butterfly ballots aside, KDE and GNOME are windowing systems that lay to rest the common misperception that Linux is a command-line operating system with no appeal to Windows-weaned users. In truth, there are several graphical desktop environments for Linux, with KDE and GNOME leading the pack.

Linux on the IBM S/390
Jack Woehr
The atmosphere at SHARE 94 in Anaheim, California was nerdy beyond the ability of mere Unix hackers to imagine. Big draws at the conference, held March 5-10, 2000 at the Anaheim Hilton and Mariott, included sessions examining the latest updates to S/390 assembler programs and exhibits of computers the size of walk-in closets.

Programmer's Bookshelf
Lou Grinzo
This month, Lou takes a look at Professional Linux Programming, by Neil Matthew, Richard Stones, and others.

C Programming
Al Stevens
Al has Linux on the mind as he continues to make the move from one operating system to another.

C Programming
Al Stevens
Al finds out why the dependency carousel is central to both Linux and open-source development.

C Programming
Al Stevens
What with drivers, editors, Linux, mail, and more, Al adds a new meaning to the term "multitasking."

Embedded Space
Ed Nisley
A trip to the bright lights of the LinuxWorld Expo gets Ed thinking about the world of embedded Linux.

Editorial: Open Records, Closed Doors
Jonathan Erickson
A month or so ago, Microsoft's Jim Allchin put a bunch of bees in a lot of bonnets when he equated open-source software with un-American activities. Back in the 1950s, that would have meant Tim O'Reilly and Richard Stallman in leg-irons before a Joe McCarthy Congressional committee. In today's more enlightened society, however,...well, Congressional committee rooms have more comfortable chairs.

Roundtable on BSD, Security, and Quality

Contributing Editor Jack Woehr moderated a roundtable with four key members of the BSD movement at the recent USENIX Security Symposium 2000. The participants emphasized that reliability and security are achieved through simplicity. Other topics included the evolving distinction between Linux and BSD, why they don't use std::string, and why no one to likes IKE.

Programming Paradigms
Michael Swaine
Michael takes a look at Apple's new MacOS X operating system, then puts Wolfram's CalculationCenter (which Michael sees as a mathematical tool for the rest of us) to work.

A Triumph of Simplicity: James Clark on Markup Languages and XML
Eugene Eric Kim
If you peek under the hood of high-profile open-source projects such as Mozilla, Apache, Perl, and Python, you'll find a little program called "expat" handling the XML parsing. If you've ever used the man command on your GNU/Linux distribution, then you've also used groff, the GNU version of the UNIX text formatting application, troff. If you've ever done any work with SGML, from generating documentation from DocBook to building your own SGML applications, you've undoubtedly come across sgmls, SP, and Jade.

C Programming
Al Stevens
Being on the road with the DobbsMobile means that Al gets a Linux editor and compiler—almost.

A Tiny Perl Server Pages Engine
Andy Yuen
Perl Server Pages is a small footprint Perl-based cross-platform JSP-like facility for generating dynamic pages for both UNIX and Windows.

Generating and Handling Application Traceback on Crash

Many of us have had to deal with application crashes that are hard or impossible to reproduce, especially at software developers' sites. Yet it can be difficult to fix the problem without reproducing it. In this Unix Insider feature, Greg Nakhimovsky describes a few tools to help you generate a traceback, a chain of all function calls the application was executing at the time of the crash, to help locate the trouble or at least narrow it down. You can also collect crash statistics and use them to enhance the quality-control procedures.

A Tale of Two GUIs
Dana Cline
The latest Linux interfaces are stable and productive desktop environments.

K Development Environment

KDE, which stands for the K Desktop Environment, is a Microsoft Windows-like user interface for Linux which works on top of the X Windows system

Taking Corel’s Linux for a Spin

A longtime Corel fan improves his installation track record with the latest Linux.

Delphi for Linux

The first RAD tool for Linux is named for the two-handled cup from which the Delphic Oracle imbibed.

On the Newsstand


Table of Contents
Order this issue now.
Subscribe to DDJ

Departments

64bit
AI
Architecture & Design
C++
Database
Eclipse & Open Source
Embedded Systems
Global Developer
Java
Lightweight Languages
Linux/UNIX
Mobility
Security
SOA, Web Services & XML
Testing & Debugging
Windows/.NET

CMP DevNet Spotlight

Highlighting Multiple Search Keywords in ASP.NET
This article demonstrates how to highlight a multiple keywords within a DataGrid control, no matter where they are in the text.

In the News

DDJ Newsletters

Dr. Dobb's Active Scripting Newsletter
edited by Mark Baker
Active Scripting techniques as well as interviews with developers from leading companies.
--more--

DDJ Resources

Mobilized Software
Developer Events

DevNet Podcasts

Antarctica: Eclipse Comes In From the Cold
Josh Reed discusses the Antarctic Geologic Drilling Program, and the important role that open source tools played.

Software Glitch Implicated in Mars Global Surveyor Failure
NASA Watch reports that NASA's Mars Global Surveyor stopped responding to commands a few months ago due to improperly coded software.

Info-Link

DDJ Store


Dr. Dobb's Developer Library DVD: Release 2
The Dr. Dobb's Developer Library DVD is a new fully searchable DVD that includes 17 years of Dr. Dobb's Journal, 14 full years of C/C++ Users Journal, 3 years of The Perl Journal, nearly 4 years of Dr. Dobb's Sourcebook, and thousands and thousands of lines of source code—all on one DVD!

Click here for more information.

 




MarketPlace

Instant Answers to Your IT & Business Questions
Sign Up & Get Full Access To The Definitive Online Book Collection With SkillSoft's Books24x7�.

Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.

Online Crash Analysis
Automatically capture customer crash data, no debugger required. Support for .NET, C++, OS X, Java.

Discover WinDev 11 RAD
and develop 10 times faster ! ALM, IDE, .Net, PDF, 5GL, Database, 64-bit, etc. Free Express version

Wanna see your ad here?