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

Modern Memory Management
Well done article on memory management from OnLamp.com.
" This article, the first in the series, discusses the Unix dynamic memory allocation system along with the concept of memory segmentation. It also reviews the utilities top and ulimit, giving special attention to their role in memory management. Memory management is an important concept to grasp regardless of which programming language you use. You must be most careful with C, where you control all memory allocation and freeing. Languages such as C++, Java, Perl, and PHP take care of a lot of the housekeeping automatically. Nevertheless, all of these languages and others can allocate memory dynamically, and thus the following discussion applies to them all."
Modern Memory Management

( Permalink: Modern Memory Management      Submitted by Noel Tue Nov 1, 2005 )

Photo Booth
Nice walkthough of Apples new graphics application. Photo Booth uses isight to take pictures then easily manipulate them.
"In all the Front Row fanfare, the other iMac-only application seemed to fall through the cracks. Photo Booth is Apples solution to physical photo booths scattered around the country in malls and the corners of shady gas stations. Using the built-in iSight, iMac users can take photos of themselves and share them with their friends and family."
Tutorial: Photo Booth

( Permalink: Photo Booth      Submitted by Noel Tue Nov 1, 2005 )

Podcasting Hacks review
I recently read this book and found it to not only be a good read but also a valuable resource to some other projects I am working on. Hope you enjoy the review.
"Podcasting Hacks is a great book for anyone who wants to create a podcast and a great book for anyone who is already recording but wants to improve their podcast. I enjoyed reading it from cover to cover but as all hacks are cross referenced I will also be using it as a reference book to improve my podcasting and audio skills. Without any reservations I would recommend this book to anyone involved with podcasting."

( Permalink: Podcasting Hacks review      Submitted by Noel Mon Oct 31, 2005 )

Virtual Hosting With PureFTPd And MySQL
This tutorial describes how to install a PureFTPd server that uses virtual users from a MySQL database instead of real system users. This performs much better and allows you to have thousands of ftp users on a single machine. In addition to that I will show the use of quota and upload/download bandwidth limits with this setup. Passwords will be stored encrypted as MD5 strings in the database.

For the administration of the MySQL database you can use web based tools like phpMyAdmin which will also be installed in this howto. phpMyAdmin is a comfortable graphical interface which means you do not have to mess around with the command line.

( Permalink: Virtual Hosting With PureFTPd And MySQL      Submitted by Falko Timme Mon Oct 31, 2005 )

Ajax Tutorial: Ajax What Is It Good For?
This is an extensive article talking about AJAX and other related things. And the interface is very cool. Check it out even if your not going to read all 37 pages. (They are pretty small pages don't worry)
"Recently Garret Smith of Adaptive Path made a good case for using Asynchronous JavaScript and XML and coined the acronym "AJAX" to represent that notion. It is similar to the Remote Iframe technique in that things are handled on the client side, but as we shall see differs in significant ways. That article reminded me of our earlier work on this front and sparked my interest in ajax. Part of that interest is writing this article and sharing my meager knowledge with the development community. To my way of thinking, ajax is more a natural progression from an existing set of techniques as opposed to being something completely brand new. Yet within that progression, things are markedly different than in previous years in a couple of key areas:"
Ajax Tutorial: Ajax What Is It Good For?

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

Installing RoundCube Webmail
Interesting sounding webmail client. Full tutorial on how to install RoundCube Webmail.
"Take a look at some of the screenshots. It's just as great as it looks once its on your server. I recommend you start with a RoundCube Demo. Please keep in mind the demo is heavily used and will be slow. It will be much faster on your own server. Its got lots of the new-fangled web programming language-hybrid, AJAX, which is an acronym for Asynchronous Javascript And XML. A strong feature that AJAX totes is being able to send and receive little bits and pieces of data without having to reload the page, making for clean page transitions in RoundCube. Also the AJAX in RoundCube makes a nice floating, translucent banner on the top of the page when it is loading or has an error to display. Check out this article on Adaptive Path if you want to find out more about AJAX. Still not blown away by RoundCube? Check out Mark Boulton's review."
HOW TO: Setup RoundCube Webmail on Your Server at PaulStamatiou.com

( Permalink: Installing RoundCube Webmail      Submitted by Noel Mon Oct 31, 2005 )

Mac OS X as an NFS Server
I am not sure why I would want to do this. But if you have the need this is an excellent write up on how to get it done.
"This covers the steps necessary to export filesystems on Mac OS X via NFS. This was originally written in the 10.1 days, but is still applicable as of 10.4.2 (non-server versions).Like setting up a client, configuring OS X to be a server involves updating NetInfo. For a server, there are several Unix daemons which need to run (one of which needs to be notified if it is already running).The example filesystem to be exported in this document will be /external/path; obviously change this to something useful.The steps are to add a new directory to NetInfo, called /exports, and add directories to that which are to be exported."
MacTechNotes: Mac OS X as an NFS Server

( Permalink: Mac OS X as an NFS Server      Submitted by Noel Mon Oct 31, 2005 )

A Glimpse of OpenOffice 2.0
"Our first glimpse of OpenOffice 2 is favorable -- so far, we like it!" MozillaQuest Magazine's (mozillaquest.com) glimpse of OpenOffice 2 includes lots of great links for more and in-depth information about OpenOffice 2. It also includes an interesting statement from OpenOffice.org's John McCreesh about the OASIS approved OpenDocument file formats implemented in OOo 2. This hard hitting quick look at OOo 2 includes both pros and cons.

( Permalink: A Glimpse of OpenOffice 2.0      Submitted by Anonymous Sun Oct 30, 2005 )

Overloading in Java is Groovy
Many developers who started out using C++ will admit some nostalgia for overload operators such as + and -. The Java language has banned operator overloading, but upstart Groovy says "bring it on!" Find out what you've been missing all these years. This article introduce you to Groovy's support for operator ad-hoc polymorphism, also known as operator overloading. As any C++ developer will tell you, this stuff is both handy and fun, although it should be approached with a healthy dose of caution.

( Permalink: Overloading in Java is Groovy      Submitted by Anonymous Sun Oct 30, 2005 )

Single Sign-on for Linux
Overview of how to set up a single sign-on system under Linux.
"So you want a corporate directory, but you don't have a corporate budget. You want to reap the benefits of single sign-on, the ease of administration for yourself and the ease of use for your users. If you want all this, plus a secure and unified authorization and identity management system, read on. I'll start you down the path to sysadmin nirvana. In this series of articles, I'll show you how to build on pieces you may already have in place, add new pieces and make them all work together. Everything from the authentication servers, to mail delivery, to client integration (including Windows and OS X) will be discussed. We have a lot to cover, so let's get started!"
Paranoid Penguin - Single Sign-on and the Corporate Directory, Part I | Linux Journal

( Permalink: Single Sign-on for Linux      Submitted by Noel Sat Oct 29, 2005 )

VT and Mac OS X
Forget windows, I want to run Mac OS X and Linux on the same machine at the same time. That would rock!
"First off I guess I should rewind for those who didn't read my old articles... and explain what "VT" is. VT is basically the current public name for Intel's Vanderpool and AMD's Pacifica technologies. It's a hardware level virtualization layer for x86/AMD64/emt64 processors. In essence this is like VMWare or VPC at the hardware level. Used in conjunction with Xen or VMware as a hypervisor most likely, you will be able to run several OS's straight from hardware simultaneously."
Why Apple & Intel & VT will kick ass.

( Permalink: VT and Mac OS X      Submitted by Noel Fri Oct 28, 2005 )

pthreads Tutorial
Need to write multithreaded code? This is a good start.
"You cannot expect a multithreaded program to run on a kernel that does not support threads. Fortunately most modern Operating Systems support threads, either with their own thread library or through POSIX pthreads. Sun Solaris, FreeBSD, Linux, AIX, HP-UX, IRIX, and Windows NT, just to name a few, support multithreaded programs. However, each Operating System uses a different technique to support threads. "
Multithreaded Programming (pthreads Tutorial)

( Permalink: pthreads Tutorial      Submitted by Noel Fri Oct 28, 2005 )

Music Notation Software For Linux
I am so un-musical that it hurts (anyone that is listening) but if you are way more gifted than I am you can use Linux to run your musical notation software.
"Linux-based musicians will be pleased to discover that their favorite OS supports some excellent music notation packages. As an heir to the UNIX tradition of high-quality printing, particularly TeX-based printing, Linux can lay claim to some of the most powerful notation software available for any platform. This is a bold statement to be sure, so over the next few months this column will present a series of profiles of some of the best Linux music notation software. I hope you enjoy this survey."
At the Sounding Edge: Music Notation Software For Linux | Linux Journal

( Permalink: Music Notation Software For Linux      Submitted by Noel Fri Oct 28, 2005 )

A Flowchart Worth a Thousand Words
Cartoonist Rube Goldberg's cartoon series focused on inventions or machines that did something simple in a very, very complex way -- inventions that inevitably involved pulleys, weights, and levers. In this special challenge, the developerWorks editors weigh in (with those cute, antique triangular iron weights popular for muscle men around the first turn of the last century) with their own Goldberg-esque entries to delight and tantalize.

( Permalink: A Flowchart Worth a Thousand Words      Submitted by Anonymous Fri Oct 28, 2005 )

The Ultimate Freeware Package for your iPod.
List of software for iPods. Nothing on here I have not heard of but a good list non the less.
"The Mac developer community has given us Mac users a ton of great software for our iPods. I’ve talked about many of my favorite programs in the past. Most of these, like Pod2Go and Podlock are shareware and commercial. But what if you wanted the best that freeware had to offer for your iPod? What if you wanted a core of freeware programs that would offer you the ultimate package for your iPod? I decided that I would wade through the freeware programs available and offer you a small group of 5 applications that would make your iPod work for you."
Surf-Bits: The Ultimate Freeware Package for your iPod.

( Permalink: The Ultimate Freeware Package for your iPod.      Submitted by Noel Fri Oct 28, 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

New user experience with Linux
(Thu Aug 18, 2005)

Review of Conserver
(Thu Aug 18, 2005)

And it still toasts bread
(Thu Aug 18, 2005)

Geronimo: Open Source Java 2 Platform
(Wed Aug 17, 2005)

Graphic algorithm testing with Tcl
(Wed Aug 17, 2005)

KNemo: Network Monitor for KDE
(Wed Aug 17, 2005)

Review of Car Racing Game TORCS
(Wed Aug 17, 2005)

Review of Tribal Trouble
(Tue Aug 16, 2005)

Macs for those we love (or at least like)
(Tue Aug 16, 2005)

How to build a Hylafax server (i.e. Hylamonster)
(Tue Aug 16, 2005)

Architectural manifesto: MDA for the enterprise
(Tue Aug 16, 2005)

VB developers embrace linux... say what???
(Tue Aug 16, 2005)

Review: Podcasting: Do-It-Yourself Guide
(Mon Aug 15, 2005)

General purpose computation using a GPU
(Mon Aug 15, 2005)

Python scripts and Cheetah templates
(Mon Aug 15, 2005)

Linux Device Drivers, 3rd. Edition: Reviewed
(Mon Aug 15, 2005)

Talking about KDE 4
(Fri Aug 12, 2005)

Apache Trouble
(Fri Aug 12, 2005)

Database Security Tutorial
(Fri Aug 12, 2005)

Advanced PHP V5 objects
(Fri Aug 12, 2005)

Game review: Nexuiz
(Thu Aug 11, 2005)

Object Oriented PHP Programming
(Thu Aug 11, 2005)

Custom OpenBSD Live CD
(Thu Aug 11, 2005)

Backups using hardlinks and rsync
(Wed Aug 10, 2005)

Linux Powered Submarine
(Wed Aug 10, 2005)

What runs Everquest
(Wed Aug 10, 2005)

How To Secure Your Wireless Network
(Wed Aug 10, 2005)

Build a digital animation system
(Tue Aug 9, 2005)

Slax Live CD 5.0.6 review
(Tue Aug 9, 2005)

FreeBSD Firewalls for everyone
(Tue Aug 9, 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