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

Mastering recursive programming
Good article on this often overlooked programming technique.
"Recursion is a tool not often used by imperative language developers, because it is thought to be slow and to waste space, but as the author demonstrates, there are several techniques that can be used to minimize or eliminate these problems. He introduces the concept of recursion and tackle recursive programming patterns, examining how they can be used to write provably correct programs. Examples are in Scheme and C."
Mastering recursive programming

( Permalink: Mastering recursive programming      Submitted by Noel Wed Jan 11, 2006 )

Switching to Windows: Not as easy as you think
This article is pretty funny. :)
"In order to get the hardware working, I had to visit the Intel website and download the required drivers. Finding out what hardware you have is a difficult process under Windows. With most Linux distributions,it is often as simple as typing lspci. Not so under Windows. Instead you have to open up the 'Control Panel', find your way to the 'System' applet, look for the Hardware tab, then launch the 'device manager'. That's a lot of clicking, for such a simple task! "
:: Reviews : Switching to Windows: Not as easy as you think

( Permalink: Switching to Windows: Not as easy as you think      Submitted by Noel Wed Jan 11, 2006 )

Google Earth in a Mac world
Mac support but only for 10.4.x.
"And we have a brand new member of the family -- Google Earth for Macintosh. We're happy to finally have some good news for the, ahem, vocal Mac enthusiasts we've been hearing from. Let's just say that we have gotten more than a few "requests" for a Mac version of Google Earth. They've gone something like this:"
Official Google Blog: Google Earth in a Mac world (PC too)

( Permalink: Google Earth in a Mac world      Submitted by Noel Wed Jan 11, 2006 )

Strip Out The Fans, Add 8 Gallons of Cooking Oil
These guys are absolutely nuts. I love it!
"Common sense dictates that submerging your high-end PC in cooking oil is not a good idea. But, of course, engineering feats and science breakthroughs were made possible by those who dared to explore the realms of the non-conventional. Members of the Munich-based THG lab are only too happy to confirm this fact. And not only did we find that our AMD Athlon FX-55 and GeForce 6800 Ultra equipped system didn't short out when we filled the sealed shut PC case with cooking oil--but the non-conductive properties of the liquid coupled created a totally cool and quiet high-end PC, devoid of the noise pollution of fans. The PC case - or should we say tank - also offered a new and novel way to display and show off your PC components."
Strip Out The Fans, Add 8 Gallons of Cooking Oil | Tom's Hardware

( Permalink: Strip Out The Fans, Add 8 Gallons of Cooking Oil      Submitted by Noel Tue Jan 10, 2006 )

Software Installation
So what's wrong with make? :)
"In the beginning there was make, and sysadmins saw it was good. For everyone else in the world, other solutions were needed. I speak of course about getting software from word of mouth to something tangible on your system. One of the single largest problems that hindered the adaptation of Linux since the dawn of time was the problem of software installation."
Network Stability Resource, Article...

( Permalink: Software Installation      Submitted by Noel Tue Jan 10, 2006 )

Build a Personal Video Recorder (PVR)
First time I have seen this article. It tells you how to put together the software and hardware for your own MythTV based PVR.
"I've prepared this document in an attempt to provide a comprehensive set of instructions on how to get MythTV running on an Athlon64 with Ubuntu, a WinTV PVR-250, pcHDTV HD-3000, and firewire connection to a Motorola DCT-6200 cable box. This is not going to be a 100% complete walkthrough beacuse some things, like setting up the database, didn't have to be done again. Yes, this was not going to be an easy task."
MythTV, Ubuntu, Athlon64, WinTVPVR, Comcast Digital Cable, and a pcHDTV HD-3000 in a pear tree!

( Permalink: Build a Personal Video Recorder (PVR)      Submitted by Noel Tue Jan 10, 2006 )

Using Python's Input and Output Functionality
In this article, you learn how to work with files. First, we review a simple way to output data in Python, using the print statement, then learn about the file object, which is used by Python programs to read and write data to a file. The different modes with which a file can be opened are demonstrated, and the article concludes by showing how to read and write a binary file.

( Permalink: Using Python's Input and Output Functionality      Submitted by Anonymous Tue Jan 10, 2006 )

First Look: Adobe Lightroom beta
Adobe has launched a competing product to Apple's Aperture.
"Adobe promotes Lightroom as the efficient new way for professional photographers to import, select, develop, and showcase large volumes of digital images.? Unlike Photoshop Adobe's image-editing application that must serve many masters, including graphic artists and Web designs Lightroom is aimed squarely at photographers. That said, Photoshop complements Lightroom when there's a heavy image-editing task to handle. And Lightroom makes it easy to open a picture in Photoshop. Generally speaking, though, the tools in Photoshop that photographers need most of the time exist right within Lightroom."
Macworld: News: First Look: Adobe Lightroom beta

( Permalink: First Look: Adobe Lightroom beta      Submitted by Noel Tue Jan 10, 2006 )

Benchmarking Filesystems
Nice article that takes a look at benchmarks for filesystems under the 2.6 Linux kernel.
"After the last article was published, I have received more than a dozen requests for a second filesystem benchmark using the 2.6 kernel. Since that time, I have converted entirely to XFS for every Linux machine I use, so I may be a bit bias regarding the XFS filesystem. I tried to keep the hardware roughly the same. Instead of a Western Digital 250GB and Promise ATA/100 controller, I am now am using a Seagate 400GB and Maxtor ATA/133 Promise controller. The physical machine remains the same, there is an additional 664MB of swap and I am now running Debian Etch. In the previous article, I was running Slackware 9.1 with custom compiled filesystem utilities. I've added a small section in the beginning that shows the filesystem creation and mount time, I've also added a graph showing these new benchmarks. After the first round of benchmarks, I received a sleuth of e-mails asking for the raw numbers. The numbers are now included in tables at the end of this e-mail for both the last and current set of benchmarks."
Benchmarking Filesystems

( Permalink: Benchmarking Filesystems      Submitted by Noel Mon Jan 9, 2006 )

Alternative input devices under Linux
Linux.com takes a look at some alternative input devices under Linux.
"I tested the Handkey Twiddler 2, Monster Gecko's PistolMouse, KeyBowl's orbiTouch, and StreamZap's wireless computing remote. I tested each of the devices on Ubuntu Hoary and Ubuntu Breezy, and some also on Gentoo Linux."
Linux.com | Alternative input devices under Linux

( Permalink: Alternative input devices under Linux      Submitted by Noel Mon Jan 9, 2006 )

Linux Is Just Right For Teens
I will not let my teenagers have a Windows machine for just this reason. They have to use a Mac or a Linux or Unix box.
"The other problem was that I hated her having a computer.I hated it because I constantly had to work on it. She used the computer for homework, instant messaging, and browsing. Every couple of months, I found myself removing spyware and other junk from the computer. Occasionally it was easier just to re-build the computer by re-installing ALL the software, including the operating system. I track her internet usage through my router so I know that she has not been to questionable sites but these things continue to work their way into her computer.I decided to consider something that I had never before considered. LINUX!"
Linux Is Just Right For Teens

( Permalink: Linux Is Just Right For Teens      Submitted by Noel Mon Jan 9, 2006 )

Want to know more about a specific location

Google Earth was created to put satellite imagery and other geographic information right on the (Windows) desktop. Unfortunately no Linux version is available jet. In the meantime the Linux Community was trying to get Google Earth running on a Linux Desktop using Wine. This Tutorial will explain how to install and run it. To be honest, it is very easy to install and to run it, but you have to live with some deficiencies. Nevertheless, if you have no Windows machine around you and would like to display and view satellite imagery but also to handle and process it in other Linux application, this is the way how to do it.

Read more at Linux-tip.net

( Permalink: Want to know more about a specific location      Submitted by Frank Neugebauer Mon Jan 9, 2006 )

Developing Mac Applications for a Living
How this guy started living "The Life".
"With two applications now, I was starting to take the idea of doing my Mac development full time. I had essentially been working 2 full-time jobs for a long time, and it was starting to take its toll. Something had to give. Some contract work came along, and lasted longer than I expected. The job and money were good though, but by the end, I had pretty much decided that with one application selling well, and another that was heading towards an all-new version 2, that this was the time to take the plunge. It was time to live "The Life.""
Musings From the Software Underground: Developing Mac Applications for a Living: My Own Take on Getting to Live

( Permalink: Developing Mac Applications for a Living      Submitted by Noel Mon Jan 9, 2006 )

Tapestry makes web development a breeze
Simplify your Web-based development with Tapestry, an open-source, Java-based framework that makes developing a breeze. This article shows you around Tapestry, from installation to file structure. See for yourself how Tapestry facilitates servlet-based Web application development using HTML and template tags.

( Permalink: Tapestry makes web development a breeze      Submitted by Anonymous Sun Jan 8, 2006 )

Basic GNU Autotools
Setting up software for distribution can be a daunting task. Most of the the time, a well written makefile does the trick. Sometimes a little more is needed - or even expected. The GNU autotools for setting up a software distribution can help iron out some of the problems a programmer might run into.


( Permalink: Basic GNU Autotools      Submitted by Jay Fink Sat Jan 7, 2006 )

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

How To wire your own home network
(Mon Nov 21, 2005)

PHP Problems
(Mon Nov 21, 2005)

Granny Finds Linux/KDE Easier Than Windows
(Sun Nov 20, 2005)

Creating a Secure PHP Login Script
(Sat Nov 19, 2005)

MIT unveils $100 laptop to the world
(Fri Nov 18, 2005)

Ubuntu On The Business Desktop
(Fri Nov 18, 2005)

PCLinux OS 0.92 Screenshot Tour
(Fri Nov 18, 2005)

A $10 Linux Answering Machine
(Fri Nov 18, 2005)

The web 2.0 experience continuum
(Thu Nov 17, 2005)

How-To: Build a WiFi biquad dish antenna
(Thu Nov 17, 2005)

Condor: Building a Linux cluster on a budget
(Thu Nov 17, 2005)

Nagios Plug-ins
(Thu Nov 17, 2005)

An Overview of Cryptography
(Wed Nov 16, 2005)

Ajax: a new approach to web applications
(Wed Nov 16, 2005)

O'Reilly's Classic Shell Scripting Reviewed
(Wed Nov 16, 2005)

Simplify apps using XML with PHP and DB2
(Wed Nov 16, 2005)

Set up the VNC Server in Fedora
(Tue Nov 15, 2005)

CUTs - Cellphone Unix Terminal (script(s))
(Tue Nov 15, 2005)

Top 10 Ways to Protect Your Linux System
(Tue Nov 15, 2005)

More Effective Use of Shared Memory on Linux
(Tue Nov 15, 2005)

The Perfect Rails/Debian/Lighttpd Stack
(Mon Nov 14, 2005)

The Perfect Xen Setup For Debian And Ubuntu
(Mon Nov 14, 2005)

New patent sharing project
(Mon Nov 14, 2005)

Talking about Linux
(Mon Nov 14, 2005)

Student's experience with Google Summer of Code
(Sun Nov 13, 2005)

Develop Sarbanes-Oxley Web services
(Sun Nov 13, 2005)

C++: A Practical Approach
(Sat Nov 12, 2005)

The Open Source WRT54G Story
(Fri Nov 11, 2005)

JS/UIX Unix Emulation in a web browser
(Fri Nov 11, 2005)

All You Ever Wanted to Know About T1s
(Fri Nov 11, 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