# RootPrompt.org   Nothing but Unix.[Home] [Features] [Programming] [Mac OS X] [Search]

Using Gnulib to improve software portability
How to use Gnulib to write more portable code.
"Many, if not most, free and open source software projects are developed primarily on Linux-based systems using the GNU C Library (glibc). Projects that use glibc are likely to depend on functions that are not available on systems that use different C libraries, such as the different BSD flavors. When packages are built on systems that don't use glibc they often fail, because the other C libraries are missing functions found in glibc. The GNU Portability Library can help developers with cross-platform programming needs."
Linux.com | Using Gnulib to improve software portability

( Permalink: Using Gnulib to improve software portability      Submitted by Noel Thu Dec 29, 2005 )

Year-End Mac Upgrade
I want one of these monitors pretty bad, has not been bad enough though. For $300 less I might make the leap.
"Then a 3D graphics enthusiast tipped me to the Dell 2005FPW, a 20.1-inch widescreen LCD that reportedly uses the same LG/Philips LCD panel as Apple's $799 Cinema Display. My wife's Dell laptop has a beautiful screen, so after some more research (read: searching for reviews that gave me permission to make the choice I wanted to make), I bought the Dell."
Year-End Mac Upgrade

( Permalink: Year-End Mac Upgrade      Submitted by Noel Thu Dec 29, 2005 )

Validate Localized Data with Regular Expressions
Data validation is a common chore in programming any user interface. The Java language's regular-expression support can make data validation easier. You can define a regular expression that describes valid data and then let the Java runtime see if it matches. But certain types of data have different formats in different locales. The ResourceBundle class lets you work with locale-specific data in an elegant way. This article shows how to combine the two techniques to solve a common data-entry problem.

( Permalink: Validate Localized Data with Regular Expressions      Submitted by Anonymous Thu Dec 29, 2005 )

My sysadmin toolbox
A new list of tools that are used by a system administrator. I should use this one. I have a tendency to give new accounts a simple password and ask the user to change it. Using this would be better for several reasons. One being it sets a better example.
"Pwgen creates passwords that are supposed to be easy to memorize, and I have found that to be true, most of the time. This is a major bonus when you need to remember a large number of passwords over time, which is a pretty common condition for admins and for users who work in environments that require a new password at regular intervals. (I could explain why I think mandatory password aging is a very bad idea, but that's a topic for another day.)"
Linux.com | My sysadmin toolbox

( Permalink: My sysadmin toolbox      Submitted by Noel Wed Dec 28, 2005 )

Deploying Rails with LightTPD
Nice tutorial on installing Ruby on Rails with LightTPD (lighty).
"In my previous essay, I said that Rails deployment can get complicated. And that it was a DIY situation. Both are true, but it doesn't have to be complicated. To help you learn how to DIY your Rails deployment and show you the easiest way to get going, here's my recipe for deploying onto a server with LightTPD."
Deploying Rails with LightTPD

( Permalink: Deploying Rails with LightTPD      Submitted by Noel Wed Dec 28, 2005 )

Linux distributed command execution
Many times, you want to execute a command not only on one server, but also on several servers. Here is an article that explains how to use distributed command execution. With the help of tool called tentakel, you run distributed command execution. It is a program for executing the same command on many hosts in parallel using ssh. Main advantage is you can create several sets of servers according requirements. The command is executed in parallel on all servers in this group thus result into time saving.

( Permalink: Linux distributed command execution      Submitted by Anonymous Wed Dec 28, 2005 )

Born-again VRML makes the Web safe for 3D
Many VRML vendors implemented a different subset of the spec, and it never gained traction. And so 3D on the Web faded away. It turns out that VRML lives on in its XML flavor, X3D, which has grown to encompass VRML's siblings H-Anim (Humanoid Animation) and GeoVRML. This article focuses on a couple of uses that X3D is ready for now, and takes a look at where VRML might go in the future.

( Permalink: Born-again VRML makes the Web safe for 3D      Submitted by Anonymous Wed Dec 28, 2005 )

Traffic Shaping in Mac OS X
How to set up traffic shaping under Mac OS X.
"Here's how the idea works: you create several pipes that have a set bandwidth and other properties for all packets that get filed into them; you then add queues to those pipes that determine what priority certain requests will get in that pipe; then you add actual firewall rules to identify packets and file them into queues."
Mac Geekery - Traffic Shaping in Mac OS X

( Permalink: Traffic Shaping in Mac OS X      Submitted by Noel Wed Dec 28, 2005 )

Bandwidth monitoring with iptables
Nice trick on using the Linux firewall to gather some network statistics.
"Linux has a number of useful bandwidth monitoring and management programs. A quick search on Freshmeat.net for bandwidth returns a number of applications. However, if all you need is a basic overview of your total bandwidth usage, iptables is all you really need -- and it's already installed if you're using a Linux distribution based on the 2.4.x or 2.6.x kernels."
Linux.com | Bandwidth monitoring with iptables

( Permalink: Bandwidth monitoring with iptables      Submitted by Noel Tue Dec 27, 2005 )

Compression Utilities Review
This article compares various archiving and compression utilities.
"File compressors have been brought up in very different cultures for the different needs of their users. Most people use of a particular compression tool is simply due to tradition. You rarely get unix source code sent in non tar based files. Similarly zip files are the most common in DOS/Windows platforms. There are good reasons for this and I should probably stress that a few percent improvement in compression is not reason enough to force everyone around you to change. This review is here for fun and to dispel the "our archiver is better than any other by X%". After reading you should carry on as before."
Compression Utilities Review

( Permalink: Compression Utilities Review      Submitted by Noel Tue Dec 27, 2005 )

Making your KDE look like a Mac
If your interested in doing this, the article is a good place to start.
"Many people are interested in getting their linux or BSD desktop interface to look as much like Apple's very successful OS X gui as possible. Now, I am well aware that many others are not thus enamored, and in fact profess a real dislike for the look. This article is NOT being written for the latter, and please if you don't like the OS X, don't write and/or comment and put it down. Just ignore this article. But for those of you who are interested in reproducing that look on your linux desktop, here is a step by step method for doing so on the KDE desktop environment. It is not definitive, nor the final word on the subject, but it will give you a pretty good start. Here are a couple of examples:"
Linux/BSD Gangsters - Content - Linux - Guide/how-to - MAKING YOUR KDE LOOK LIKE A MAC OS X

( Permalink: Making your KDE look like a Mac      Submitted by Noel Tue Dec 27, 2005 )

Mastering Ajax Websites
Ajax, which consists of HTML, JavaScript technology, DHTML, and DOM, is an approach that helps you transform clunky Web interfaces into interactive Ajax applications. The author, an Ajax expert, demonstrates how these technologies work together. This is a good starting point to Understanding Ajax, a productive approach to building Web sites.

( Permalink: Mastering Ajax Websites      Submitted by Anonymous Tue Dec 27, 2005 )

Hacking iPod and iTunes
Nice set of tricks you can teach your iPod to play.
"Hadley Stern, author of iPod and iTunes Hacks, has chosen five useful hacks to help you push the envelope of your iPod's capabilities. Your favorite toy just got better; learn how to turn your iPod into a universal remote, install it in your car permanently, and run Linux on it. In addition, make smart playlists and tame iTunes with AppleScript."
O'Reilly: Hacking iPod and iTunes

( Permalink: Hacking iPod and iTunes      Submitted by Noel Tue Dec 27, 2005 )

Ruby off the Rails
Ruby on Rails is just one facet of what makes Ruby great, just like EJB is only part of the Java enterprise platform. Andrew Glover digs beneath the hype for a look at what Java developers can do with Ruby, all by itself. Ruby's syntax is quite different from that of the Java language, but it's amazingly easy to pick up. Moreover, some things are just plain easier to do in Ruby than they are in the Java language.

( Permalink: Ruby off the Rails      Submitted by Anonymous Mon Dec 26, 2005 )

An Unsung Hero: The Hardworking ELF
The Executable and Linking Format is a standard for object modules, libraries, executables, and core files. Many UNIX and UNIX-like systems use ELF, and the ELF standard has contributed substantially to the development of compiler toolchains and debugging tools for a variety of systems. Peter Seebach looks at the history of the ELF specification and why it's been so useful.

( Permalink: An Unsung Hero: The Hardworking ELF      Submitted by Anonymous Mon Dec 26, 2005 )

Featured Articles:
Unix and Linux Podcasting Guide

Expect and SSH

The Linux Enterprise Cluster

Book Review: Podcasting: Do-It-Yourself Guide

Remote Backups With Rsync

Weakness and Security

Essential CVS

Spring Into Technical Writing

Other News:
Biodiesel Resources

Older News

Easing Device Driver Development
(Mon Nov 7, 2005)

Top 21 PHP progamming mistakes
(Mon Nov 7, 2005)

A Beginning Look At MythTV
(Mon Nov 7, 2005)

Modding and the Clash with Law
(Sun Nov 6, 2005)

SoC Drawer: Function Allocation and Specification
(Sat Nov 5, 2005)

Reading Function and Cursor Keys in a Shell Script
(Sat Nov 5, 2005)

Trying out the new OpenBSD 3.8
(Fri Nov 4, 2005)

Debian based GNU/Solaris: pilot program
(Fri Nov 4, 2005)

Review: Evaluation up.time 3.0
(Fri Nov 4, 2005)

Book Review: The Debian System
(Fri Nov 4, 2005)

Assemble an Open Source IPTV Production Suite
(Thu Nov 3, 2005)

Graphviz - Why draw when you can code?
(Thu Nov 3, 2005)

Small MiniPC runs Linux
(Thu Nov 3, 2005)

Learn what Eclipse is good for
(Thu Nov 3, 2005)

LCD Backlight Quick Fix - Overview
(Wed Nov 2, 2005)

Sysadmin toolbox
(Wed Nov 2, 2005)

How to install FreeNX on Suse 10.0?
(Wed Nov 2, 2005)

High-Performance Linux Clustering
(Wed Nov 2, 2005)

An Awk Tutorial
(Tue Nov 1, 2005)

Symphony OS BETA1 PR1 Screenshot Tour
(Tue Nov 1, 2005)

Best practices for embedded apps with eSWT
(Tue Nov 1, 2005)

Modern Memory Management
(Tue Nov 1, 2005)

Podcasting Hacks review
(Mon Oct 31, 2005)

Virtual Hosting With PureFTPd And MySQL
(Mon Oct 31, 2005)

Ajax Tutorial: Ajax What Is It Good For?
(Mon Oct 31, 2005)

Installing RoundCube Webmail
(Mon Oct 31, 2005)

A Glimpse of OpenOffice 2.0
(Sun Oct 30, 2005)

Overloading in Java is Groovy
(Sun Oct 30, 2005)

Single Sign-on for Linux
(Sat Oct 29, 2005)

VT and Mac OS X
(Fri Oct 28, 2005)

[Latest News] [Newer News] [Older News]

Our content can be syndicated: Main Page Mac Page
(Validate RSS code)

Copyright 1999-2005 Noel Davis. Noel also runs web sites about sailing and kayaking.
All trademarks are the property of their owners.
All articles are owned by their author