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

Inside NetBSD's CGD
Interview with Roland Dowdeswell, the author of the Crypto-Graphic Disk system.
"NetBSD is well-known for its portability, but since the release of NetBSD 2.0, the project has also included tons of interesting and unique features. While waiting for the upcoming 3.0, Federico Biancuzzi interviewed Roland Dowdeswell, the author of the Crypto-Graphic Disk system. This is a must-read for any laptop owner (and paranoid androids)!"
ONLamp.com: Inside NetBSD's CGD

( Permalink: Inside NetBSD's CGD      Submitted by Noel Fri Dec 23, 2005 )

Recovering deleted /etc/shadow password file
Recovering critical key file such as /etc/shadow is a challenging task. Even if you boot in single user mode it will ask root password for maintenance, and just imagine you do not have a backup of /etc/shadow file. How will you fix such problem in a production environment where time is critical factor? This article give details how to recover deleted /etc/shadow file in five easy steps. Moreover, within 10 minutes your server will up & running in multiuser mode.

( Permalink: Recovering deleted /etc/shadow password file      Submitted by Anonymous Fri Dec 23, 2005 )

Bind: Address Already in Use
Detailed article about opening and using network sockets so that you avoid leaving them hanging around.
"In order for a network connection to close, both ends have to send FIN (final) packets, which indicate they will not send any additional data, and both ends must ACK (acknowledge) each other's FIN packets. The FIN packets are initiated by the application performing a close(), a shutdown(), or an exit(). The ACKs are handled by the kernel after the close() has completed. Because of this, it is possible for the process to complete before the kernel has released the associated network resource, and this port cannot be bound to another process until the kernel has decided that it is done."
Bind: Address Already in Use

( Permalink: Bind: Address Already in Use      Submitted by Noel Fri Dec 23, 2005 )

Automate Acceptance Tests with Selenium
Acceptance, or functional, testing is designed to put manual tasks through their paces, but testing these tasks by hand can be time consuming and prone to human error. This article shows how to use the Selenium testing tools to automate acceptance tests; automating the tests saves times and helps eliminate tester mistakes. You also are provided with an example of how to apply Selenium in a real-world project using Ruby on Rails and Ajax.

( Permalink: Automate Acceptance Tests with Selenium      Submitted by Anonymous Fri Dec 23, 2005 )

Mac mini - Big Ideas
Cool page over at Apple that lists some of the cool (crazy?) things that people are doing with Mac Minis.
"Visit the new concert hall in Perth, Scotland, and you’ll be greeted by a breathtaking sight: a wall of 22 video screens displaying wondrous, interactive works of art. One Mac mini powers each of the 40-inch screens to create a synchronized digital canvas for the most modern of artistic expressions."
Apple - Mac mini - Big Ideas

( Permalink: Mac mini - Big Ideas      Submitted by Noel Fri Dec 23, 2005 )

Booting Solaris 10, Linux, and Windows on a Laptop
Set by step instructions on how to multi-boot Linux, Solaris, and Windows on the same laptop.
"As an intern working for Sun Microsystems, one of my first projects was to configure my laptop to multi-boot the Solaris Operating System, Linux, and Microsoft Windows. It sounded very exciting but daunting. However, as I went along, it proved to be a fairly easy exercise. These are the steps it takes to configure a system for multi-boot:"
BigAdmin Feature Article: Multi-Booting the Solaris 10 OS, Linux, and Microsoft Windows on a Laptop

( Permalink: Booting Solaris 10, Linux, and Windows on a Laptop      Submitted by Noel Thu Dec 22, 2005 )

Organizing Files
How do you organize your files? I have a ~/data directory with all sorts of subdirectory trees, a ~/src directory with random source code inside grouped by language that I will never ever look at again, and then several other directory trees based on my thought of the moment. While this is terrible it works more than it fails.
"The problem: the filesystem on my Unix workstation was a mess. I couldn't find anything without grepping all over creation. About half the time, I'd actually find something useful. Usually I'd get no hits at all, or I'd match something like a compiled binary and end up hosing my display beyond belief."
ONLamp.com: Organizing Files

( Permalink: Organizing Files      Submitted by Noel Thu Dec 22, 2005 )

A fork() Primer
Article describing the Unix fork() function call.
"fork() can be thought of as a ticket to power. Power can sometimes be thought of as a ticket to destruction. Therefore, you should be careful while messing with fork() on your system, especially while people are cranking their nearly-late semester projects and are ready to nuke the first organism that brings the system to a halt. It's not that you should never play with fork(), you just have to be cautious. It's kind of like sword-swallowing; if you're careful, you won't disembowel yourself."
A fork() Primer

( Permalink: A fork() Primer      Submitted by Noel Thu Dec 22, 2005 )

A $10 Linux Answering Machine
Cool article describing how to create a answering machine using a ten dollar modem and a Linux machine.
"This article describes how to build a Linux-based telephone answering machine using a low cost winmodem (softmodem) for the telephone interface. We describe how to install the drivers and libraries, and how to select and install the proper modem card. Our answering machine program is a couple of hundred lines of C code in a single file. If you've ever used a telephone you should have no trouble understanding the code."
A $10 Linux Answering Machine

( Permalink: A $10 Linux Answering Machine      Submitted by Noel Thu Dec 22, 2005 )

Shiira 1.2! Arigatou gozaimasu!
A web browser from Japan named Shiira.
" And on the same day that Microsoft officially bailed on Mac IE, Shiira released version 1.2 of their browser. I've played with it during the 1.2 betas, and surprisingly, it has displaced Safari as my default browser. Here are some of the things that make me love this browser:"
Shiira 1.2! Arigatou gozaimasu!

( Permalink: Shiira 1.2! Arigatou gozaimasu!      Submitted by Noel Thu Dec 22, 2005 )

Code Kata
Very interesting idea about using practice exercises similar to martial arts forms to learn to program better.
"Code Kata is an attempt to bring this element of practice to software development. A kata is an exercise in karate where you repeat a form many, many times, making little improvements in each. The intent behind code kata is similar. Each is a short exercise (perhaps 30 minutes to an hour long). Some involve programming, and can be coded in many different ways. Some are open ended, and involve thinking about the issues behind programming. These are unlikely to have a single correct answer. I add a new kata every week or so. Invest some time in your craft and try them."
PragDave

( Permalink: Code Kata      Submitted by Noel Wed Dec 21, 2005 )

10 ways for more effective Emacs
The vi users all say, "1. Switch to vi". :) If you like emacs you can get some good information from this article on how to use emacs more efficiently.
"Compared to Emacs Wizards, graphical-IDE users are the equivalent of amateur musicians, pawing at their instrument with a sort of desperation. An IDE has blinking lights and pretty dialogs that you can't interact with properly (see Item 6), and gives newbies a nice comfortable sense of control. But that control is extremely crude, and all serious programmers prefer something that gives them more power."
Effective Emacs

( Permalink: 10 ways for more effective Emacs      Submitted by Noel Wed Dec 21, 2005 )

Hello World
Very funny (if your a programming geek). I really liked the middle manager hello world.
"NOTE: For the non programmers, some exegesis may be necessary: when a programmer starts to learn a new language, a typical first exercise is to program the computer to display the message "Hello World"."
INFILTEC: HUMOR:

( Permalink: Hello World      Submitted by Noel Wed Dec 21, 2005 )

Learning JavaScript Basics
Good introduction to JavaScript.
"The definition of JavaScript is: A scripting language that has the ability to combine HTML and other elements from a programming language all in one package. So JavaScript is as flexible as PHP. In PHP, you can simply jump in and out of HTML. This is pretty much the same with JavaScript. You will see exactly what I mean once you read on through the tutorial. "
AllSyntax.com - Tutorials, Code and MORE!

( Permalink: Learning JavaScript Basics      Submitted by Noel Wed Dec 21, 2005 )

Linux Screensaver for Windows
Construct and package a Linux LiveCD so that it will install using the standard Microsoft Windows install process and will operate as a standard Windows screensaver. Answering the most common concern about open source software, this article shows that, yes, Linux will run under Windows. From the article, “So why should you read this article?”… “1) The perceived difficulty and disruptive effects of installing Linux, 2) The uncertainty of hardware support for Linux.”

( Permalink: Linux Screensaver for Windows      Submitted by Anonymous Wed Dec 21, 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

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)

pthreads Tutorial
(Fri Oct 28, 2005)

Music Notation Software For Linux
(Fri Oct 28, 2005)

A Flowchart Worth a Thousand Words
(Fri Oct 28, 2005)

Laws of Interface Design
(Thu Oct 27, 2005)

Advanced Bash-Scripting Guide
(Thu Oct 27, 2005)

An Introduction to Artificial Intelligence
(Thu Oct 27, 2005)

Embedded Linux Cross-Development on TAMS 3011
(Thu Oct 27, 2005)

Open Source developers get a mighty app server
(Thu Oct 27, 2005)

John & Ed's Scripting Screwups
(Wed Oct 26, 2005)

Short review of Mandriva 2006
(Wed Oct 26, 2005)

Linux Distributions Guide
(Wed Oct 26, 2005)

The art of Metaprogramming
(Wed Oct 26, 2005)

CeeMedia 0.5.2.1 Review
(Tue Oct 25, 2005)

New Features of OpenBSD 3.8
(Tue Oct 25, 2005)

Jes Hall - The People Behind KDE
(Tue Oct 25, 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