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

Teach Yourself Perl 5 in 21 days
An online book telling us how to program in Perl. I am not a huge fan of Perl, but a lot of other people are.
"No previous programming experience is required for you to learn everything you need to know about programming with Perl from this book. In particular, no knowledge of the C programming language is required. If you are familiar with other programming languages, learning Perl will be a snap. The only assumption this book does make is that you are familiar with the basics of using the UNIX operating system."
Teach Yourself Perl 5 in 21 days

( Permalink: Teach Yourself Perl 5 in 21 days      Submitted by Noel Fri Nov 25, 2005 )

PC Interfaces 101
If you have ever needed a reference that details all the different types of PC cables and their connectors look no more.
"Every computer system, whether a desktop PC or a notebook, includes a bunch of connectors, both inside and out. Can you recognize each and every one of them? Relevant handbooks, when they're even available, are often poorly worded or insufficiently illustrated. This causes readers to lose their orientation and leads to confusion and frustration."
Tom's Hardware Guide PCs

( Permalink: PC Interfaces 101      Submitted by Noel Fri Nov 25, 2005 )

OpenLDAP and Sendmail
OpenLDAP has been around for a while and this Sysadmin Magazine article is a fine introduction to it.
"LDAP and Sendmail offer sys admins considerable advantages for dynamic mail routing and centralized alias management. A common requirement, as an organization grows, is to support geographically dispersed mailservers. While this can be achieved by using subdomaining (i.e., bill@nyc.acme.com, jane@dublin.acme.com), it is generally preferable to route the mail dynamically from a single address (jane@acme.com). I'll explore how this can be accomplished using Sendmail in conjunction with OpenLDAP."
Sys Admin > v15, i01: Routing and Alias Management with OpenLDAP and Sendmail

( Permalink: OpenLDAP and Sendmail      Submitted by Noel Fri Nov 25, 2005 )

Put your Mac to sleep by sending a text message
Interesting hack using a cell phone to cause your Mac to run a script.
"Do you ever go out shopping, to the pub or to the beauty clinic for your fortnightly waxing session and forget to put your Mac to sleep? I know I do, so I thought of a way to do it by sending a text message from my mobile/cell phone - well, technically we're not going to be sending a text (SMS) message, rather a multimedia (MMS) message."
TIMMARGH.net ~ Put your Mac to sleep by sending a text message

( Permalink: Put your Mac to sleep by sending a text message      Submitted by Noel Fri Nov 25, 2005 )

A Quick Start for Lsof
Well written guide to using lsof (list of open files). lsof is a wonderful tool and can save a lot of time if you have it when you need it. If you have never used lsof get a copy and check out this guide.
"Agreed, the lsof man page is dense and lsof has a plethora of options. There are examples, but the manual page format buries them at the end. How does one get started with lsof? This file is an attempt to answer that question. It plunges immediately into examples of lsof use to solve problems that involve looking at the open files of Unix processes."
A Quick Start for Lsof

( Permalink: A Quick Start for Lsof      Submitted by Noel Thu Nov 24, 2005 )

VideoKeg: Linix video jukebox
Cool project. Well done write up on it.
"Looking at the primary goal, mplayer seemed to suit the need of playing media with a variety of codecs with a minimum of fuss. Easy to script, easy to extend, low overhead, with the ability to normalize audio and clean up dirty videos - mplayer was simply ideal. This lead to the requirement of a ~1Ghz or greater box. The secondary goals would be served as well, though MAME would like a bit more horsepower for some of the more complex emulators."
VideoKeg: Linix video jukebox

( Permalink: VideoKeg: Linix video jukebox      Submitted by Noel Thu Nov 24, 2005 )

Evaluation: moving from Java to Ruby on Rails
I have only installed Ruby and played with it for a very short period of time. But it does look like an interesting fit for some tasks.
"This document was written by me (Rick Bradley) as part of our IS Applications group's process of (re)evaluating platforms for deployment of a large-scale healthcare application (the CenterNet rewrite” discussed on the Rails mailing list). This evaluation document was prepared in September of 2005 and is therefore already out of date technologically a number of the perceived shortcomings of Ruby On Rails have been eliminated, alleviated, or mitigated. For instance, we found to our surprise that it was trivially simple to deploy Rails on Windows and to automate build and testing."
Evaluation: moving from Java to Ruby on Rails for the CenterNet rewrite

( Permalink: Evaluation: moving from Java to Ruby on Rails      Submitted by Noel Thu Nov 24, 2005 )

Create graphics the smart way with PHP
This article shows how to build an object-oriented graphics layer in PHP. Using object-oriented systems can make building complex graphics much easier than building the graphics using the primitives in the standard PHP library. Plus, you have the option of rendering to any size or type of image you like and the longer-term ability to use the same code to render to different types of media, such as SVG, PDF, Flash, and others.

( Permalink: Create graphics the smart way with PHP      Submitted by Anonymous Thu Nov 24, 2005 )

The reasons behind my love for the new iBook
In this article I will try to share my experience with the best piece of hardware I ever used - a 12.1-inch iBook G4. I focused the article on giving my comments on different aspects of the iBook - software, hardware and the overall appearance. The article is accompanied by screenshots, photos and a small video.

( Permalink: The reasons behind my love for the new iBook      Submitted by Anonymous Thu Nov 24, 2005 )

Wearable Computing for the Commons
Interesting article that talks about the usefulness of wearable computers at this point. I made a PDA out of a paper notebook recently and it works great. I only use it as a data storage device and a place to make notes that are later transfered to my Powerbook. I am not really sold on the corded input devices, but that may only be because I have never used one.
"One of his most successful inventions, says Georgia Tech professor Thad Starner, is a four-inch strip of Velcro that sticks his "Twiddler" keyboard to the side of his shoulder bag. The Twiddler is a handheld chording keyboard manufactured by the Handkey corporation, and the Velcro lets Starner grab his keyboard and start typing in just two seconds flat. Indeed, speed of access is one of the determining factors in whether a mobile information device will be used for mundane and casual tasks, according to a paper Starner recently published. Two seconds from storage to use is optimal. More than 10 seconds, the device stays unused."
Wearable Computing for the Commons

( Permalink: Wearable Computing for the Commons      Submitted by Noel Wed Nov 23, 2005 )

Creating a Linux Mail Server
Well done description of one way to set up a Linux server as a mail server.
"This document covers how I have set up my Linux box to work as a Mail Server. The details will be specific to Arch Linux, but it will be be general enough for any *nix distribution if you have a knowledge of installing software packages, finding the location of configuration files, and starting/stoping services.. My goals in creating this mail system are to have all of my mail, from various email accounts, stored locally on my machine so I can access it anytime via SSH, the web, or imap. I wanted all of my mail delivered to my local user account and I wanted the spam to be sucked out and launched into space."
Linux Mail Server

( Permalink: Creating a Linux Mail Server      Submitted by Noel Wed Nov 23, 2005 )

x2vnc X Window hack
Very cool hack.
"Personally, I have two computers, both with linux installed, but I often have to run Windows 95 or Windows NT when working, and I just got tired of switching between the two keyboards. Therefore I wrote this program. While running this program I can move the mouse pointer beyond the right edge of my X display, and then the pointer will appear on the screen on the other computer. If you have ever used x2x or a computer with two graphics cards, you know what I am talking about."
x2vnc 1.6.1

( Permalink: x2vnc X Window hack      Submitted by Noel Wed Nov 23, 2005 )

Plugging Java memory leaks with weak references
While programs in the Java language are theoretically immune from "memory leaks," there are situations in which objects are not garbage collected even though they are no longer part of the program's logical state. This article explores a common cause of unintentional object retention and shows how to plug the leak with weak references.

( Permalink: Plugging Java memory leaks with weak references      Submitted by Anonymous Wed Nov 23, 2005 )

GMail Loader Instructions for Mac OS X
Nice how to on using the GMail Loader on your Mac.
"Then you'd sort of be like me, in a way. I found Mark Lyon's fabulous GMail Loader and became determined to make it work on my iBook, even though I could not find any instructions to get his latest GUI version to work on a Mac. After searching far and wide, I found the answers I needed and now pass my knowledge on to you."
GMail Loader Instructions for Mac OS X

( Permalink: GMail Loader Instructions for Mac OS X      Submitted by Noel Wed Nov 23, 2005 )

Balancing Connections Over Multiple Links
Interesting article that brings up some very interesting ideas. Most of which I could not apply as I live out in the middle of nowhere. Which on second thought could be a good thing. :p
"Say you have access to multiple links to the Internet, such as several wireless networks in range. Wouldn't it be nice to combine all that bandwidth into one big fat pipe for your downloading pleasure?
Unfortunately it's not so easy. You can't just trunk them together because they each have a different public IP address, gateway, etc. What you can do however, thanks to some nifty Linux NetFilter extensions, is assign outgoing connections to different interfaces. This will allow protocols such as BitTorrent to utilize bandwidth from each of the links."
Balancing Connections Over Multiple Links

( Permalink: Balancing Connections Over Multiple Links      Submitted by Noel Tue Nov 22, 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

Slackware 10.2 Tips
(Mon Sep 26, 2005)

Tutorial: Ubuntu for servers
(Mon Sep 26, 2005)

Auditor: The security tool collection
(Mon Sep 26, 2005)

Keep your knowledge with OWL!
(Mon Sep 26, 2005)

FreeBSD ACL overview
(Fri Sep 23, 2005)

MySQL Trouble
(Fri Sep 23, 2005)

A Glimpse of SUSE Linux 10.0 and Other Things
(Fri Sep 23, 2005)

Ajax paves the way for better Web applications
(Fri Sep 23, 2005)

Game review: PySol
(Thu Sep 22, 2005)

Linux LDAP Authentication
(Thu Sep 22, 2005)

45 Minutes to a Linux Terminal Server with Fedora
(Thu Sep 22, 2005)

Python: Scaling a new PEAK
(Thu Sep 22, 2005)

Opera Desktop Browser is now free
(Wed Sep 21, 2005)

A Lesson in Encryption
(Wed Sep 21, 2005)

Rescuing a School Technology Program: Linux Thin-C
(Wed Sep 21, 2005)

Five Pitfalls of Linux Sockets Programming
(Wed Sep 21, 2005)

Linux robots for sale
(Tue Sep 20, 2005)

Review of Netapplet wireless tool
(Tue Sep 20, 2005)

Review: Learning GNU Emacs, 3rd Edition
(Tue Sep 20, 2005)

Database testing from Rational scripts
(Tue Sep 20, 2005)

Tutorial: Setting up a server with SuSE 10.0
(Mon Sep 19, 2005)

Gajim Jabber client
(Mon Sep 19, 2005)

Watching the network with Snort
(Mon Sep 19, 2005)

Understanding MVC in PHP
(Mon Sep 19, 2005)

Perl Best Practices
(Fri Sep 16, 2005)

New Sun Servers
(Fri Sep 16, 2005)

The enterprise desktop PC is obsolete
(Fri Sep 16, 2005)

Man's Best Friend (outside of a dog)
(Fri Sep 16, 2005)

Review of Blosxom
(Thu Sep 15, 2005)

Review of SuSE 10 Beta 3
(Thu Sep 15, 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