Friday, January 28, 2005

Scrapbook

I find that when I am browsing my aggregator I am not in the mood to read lengthy articles. I'm just browsing/skipping through the new articles.I had a great problem that I would open up a lengthy article that I would want to read later, only to have to shutdown the laptop and loose all those wonderfully lengthy, and detailed articles lost to oblivion. The firefox extension above is a wonderful tool that allows me to capture pages, easily for later reading. Obviously I could have done a "file->save as", but I did not want to liter my hard drive with articles and, well, that was just another added step that got lost due to laziness. The extension adds an option to the right click menu of firefox, called "Capture Page". This saves the page somewhere (hopefully in the .mozilla or .firefox folder), and you can access it through the View->sidebar->Scrapbook (or Alt-K) for later reading. It just improves the blogging/browsing experience a lot.

Did I mention I'm addicted to firefox and all its extensions :)
We use PostgreSQL at work for a database, together with MySQL. So today I set about setting up PostgreSQL database on my laptop, one I will use for development work on my laptop. I'm running SuSE 9.1 on the laptop, and I chose to go the easy route, and install PostgreSQL through the prepackaged files. I've got Yast configured (SuSE's configuration program) so that to install software the program just goes of to a mirror, and downloads the packages that I want installed. This saves me the hassle of carrying around CD's all the time. And I am not doing a complete install of SuSE on a 20 gig hard drive. I should have space for some Mp3's after all ;)

Once all the postgreSQL rpm's had been downloaded and installed, I took the following steps:

export $PGDATA=/usr/local/pgsql/data
export PGDATA=/usr/local/pgsql/data
initdb

After editing the pg_hba.conf (which was located in /usr/local/pgsql/data) I did the following:
psql database_name user_name

I may have had to do a createdb database_name but I dont remember. Then I went ahead and downloaded the pg_dumpall > complete_dump_of_database.sql from the server. To dump it back onto my laptop I did:

psql database_name < complete_dump_of_database.sql

That was it. That did it, and now I have the database running locally.
(I may have forgotten some steps inbetween... not too sure... but next time I am doing this I'll take more detailed notes)

What does "Robust" mean?

What does "Robust" mean?:

One of the problems with this, of course is that "robustness", like "policy" and "session" is one of those words that really has no meaning. Or rather, it has so many meanings that it has no effective meaning.

The problem with "robustness" is that defining what robustness is is situational - the very qualities that define the robustness of a system depend on how and where it's deployed. Thus it is meaningless to consider robustness without first describing the scenario.


I should have probably posted this on my software testing blog, but its on msn spaces, and its much easier to post to blogger than it is to post to msn spaces.

The Kolab Project :: Home

The Kolab Project :: Home

Kolab is a Free Software Groupware Solution. The project is about the Kolab Concept and some software implementing it, like the Kolab Server and several clients

ONLamp.com: Enhanced Interactive Python with IPython

ONLamp.com: Enhanced Interactive Python with IPython
Is there a way to backup a blogger blog on a local computer?

vi reference

vi reference

There are some articles that are really useful to me. Like the one I linked to above. What if I want to archive the document on my blog. I copy and paste the source of the document, and above the document I give a link for the source of what I obtained the article and the proper credits for the document. Is that legal? Its publicly available information I am archiving for myself. Would it violate a copyright or something?

I guess maybe I should start doing it, and see if someone complains.

Slashdot | NVIDIA's nForce Professional and Tyan's Words

Slashdot | NVIDIA's nForce Professional and Tyan's Words:

Thursday, January 27, 2005

A mini-guide to Mac OS X for new Mini owners : Page 1

A mini-guide to Mac OS X for new Mini owners : Page 1

Ace's Hardware

Ace's Hardware:

Link from the previous post. Seemed interesting enough to put up again.

ongoing ? Software in the TLP Era

ongoing ? Software in the TLP Era

This is the second time I have come up against the idea of concurrency, multiple cores and how software developers need to get ready for this kind of thing. I wish I had a machine that could help me get ready :)

Shuttle XPC SN95G5 : Page 1

Shuttle XPC SN95G5 : Page 1: "By
Matt Woodward"

Asia Times Online :: South Asia news, business and economy from India and Pakistan

Asia Times Online :: South Asia news, business and economy from India and Pakistan:

"Targeted at Indians who are techno-savvy but on the wrong side of the digital divide because of limited financial resources, Amida does everything that can be done on a standard notebook - web browsing, mailing web pages, and sending voice mail over wireless Internet. The Amida website offers downloadable programs for users of Windows and Macintosh operating systems. 'Amida qualifies to be a truly converged device that incorporates the key functions of both PDA and cellular phone, and I find it ideal for use while traveling,' said Amit Mittal, an enthusiast"

TrustedReviews

TrustedReviews

Intel Sonoma Launch party

Maybe I should wait on buying a new laptop.

Wednesday, January 26, 2005

WindowsDevCenter.com: Gmail Hacks

WindowsDevCenter.com: Gmail Hacks:

"You can apply more than one label to a message. Figure 3 shows a message with two labels applied, Presentations and Project."

Slashdot | Price Drops For Mac Mini Upgrades

Slashdot | Price Drops For Mac Mini Upgrades:

"The combination Bluetooth and Airport Express option has gone down to $99 from $129, 1 GB RAM upgrades have been reduced to $325 from $475 and the price of an upgrade from a 40 GB hard drive to an 80 GB hard drive has been reduced to $50 from $90. Also, the original 4x Superdrive has been upgraded to an 8x drive for the same price."

Hmmm... maybe I should wait a little more. :)

Some examples of using Unix find command.

Some examples of using Unix find command.:

"How to apply a unix command to a set of file (-exec).

find . -name 'rc.conf' -exec chmod o r '{}' \;"

Tuesday, January 25, 2005

Set up a PostgreSQL database server on Linux

Set up a PostgreSQL database server on Linux

AnandTech: Apple's Mac mini - Tempting PC Users Everywhere

AnandTech: Apple's Mac mini - Tempting PC Users Everywhere:

"Weeks before MacWorld San Francisco there were rumors appearing about a
'headless Mac', an ultra cheap Mac offered without a monitor.  The
first thing that came to mind was an Apple version of an eMachines
system.  Interestingly enough however, the rumors also stated that
it was an attempt from Apple to get iPod users to give Mac OS X a
try.  It sounded odd at the time..."

O'Reilly Network: A Look at HP's iPaq 4150

O'Reilly Network: A Look at HP's iPaq 4150

All of the features in the new Ipaq sound cool, but really, I have no use for any of these features in real life. I dont listen to much music, hardly ever take photographs, dont need an appointment or todo list, since I already have it on the cell. The only thing I can actually see of worth might be the video player, but a whole PDA for just playing videos? No I need to buy a new computer, which would probably cost as much as this thing!

nat friedman

Beagle Demos

Beagle is a search client, and Nat Friedman shows us how in these various screencasts.

I got the link from Jon Udell.

Will check em out later.

HEXUS.net : Review : Tenomichi 3D Edit : Page - 2/6

HEXUS.net : Review : Tenomichi 3D Edit : Page - 2/6

To say that 3D Edit has a unique interface is a rather large understatement. The fact that the GUI is entirely rendered in 3D means that it diverges entirely from Windows standard features. There is no file menu along the top, and no button bar beneath. Instead, everything is operated using proprietary buttons and dialogues. With no context-sensitive help or tool tips, this takes some getting used to.

Back to DOS days? Are we going to see more and more of this, as companies try to make rich apps that are more visually appealing and supposedly easier to work with. I dont mind either way... I just found that interesting while reading the article. I still use a variety of console apps on Linux and well I have been since DOS days. It will be different for those people who have been using Windows exclusively for the past couple of years.

Scientific American: Making Memories Stick

Scientific American: Making Memories Stick

Monday, January 24, 2005

Jon's Radio

Jon's Radio:

"It's a wonderfully silly topic, but my point is somewhat serious too.
The 8.5-minute screencast turns the change history of this Wiki page
into a movie, scrolls forward and backward along the timeline of the
document, and follows the development of several motifs. Creating this
animated narration of a document's evolution was technically
challenging, but I think it suggests interesting possibilities."

The evolution of a document over time is an amazing view. How people fed information into the system and how over time, a document evolved. Whats even more interesting though is the work people like Jon Udell are doing. How technology is being used and developed by people who actually want to use the technology at thier disposal. Podcasts to make better use of their computer and audio devices. Creating screencasts of software to show various aspects of software products. Write now this is limited to only technically inclined people. But I have a feeling over time this will not be true. There will be videos of how to navigate complex sites and so forth. There have always been videos of software/hardware on televison, but now the power of creating these videos and distributing them is in the hands of individual users. It still has to shape up a little, but we will get their, just like the information on the wiki page evolved over time.

GREEN DAY LYRICS - Boulevard Of Broken Dreams

GREEN DAY LYRICS - Boulevard Of Broken Dreams


I walk a lonely road
The only one that I have ever known
Don't know where it goes
But it's home to me and I walk alone

I walk this empty street
On the Boulevard of Broken Dreams
Where the city sleeps
and I'm the only one and I walk alone

I walk alone
I walk alone

DrunkenBlog: Funneled Performance

DrunkenBlog: Funneled Performance:

"Yes, OS X has SMP, a sort of weird variety of it. It also has nice preemptive multitasking, so your system doesn't grind to a halt if you're doing multiple things... theoretically. If you'll remember, OS X isn't FreeBSD 4.4 or FreeBSD 5."

Web Server Trouble - Rick Strahl's WebLog

Web Server Trouble - Rick Strahl's WebLog: " "

This is why I dont like Windows. It runs fine, but then has unusual unexplainable errors suddenly, which are magically solved with a reboot. Thats not how a server should work.

x180 / james duncan davidson: Mac mini Memory Notes

x180 / james duncan davidson: Mac mini Memory Notes

The reason to crack the case of a Mac mini is, of course, to bump up its RAM to 1 GB without paying $425 to do so. Instead, I payed Crucial $226 for a 1GB stick. Specifically, I bought a CT12864Z335 module (DDR333 PC2700, CL=2.5, Unbuffered, Non-ECC, 2.5V, 128Meg X 64).

Interestingly enough, the OEM memory in the Mac mini was made by the same company as the replacement RAM I bought: Micron, the parent company of Crucial. Even more interesting, the RAM that came in the mini wasn't PC2700, instead it was DDR400 PC3200. This is kind of odd considering that the mini is designed from a cost standpoint. Of course, if you look up the price for 256MB PC2700 and PC3200 modules from crucial, you'll find that they are exactly the same price. Mystery explained.

Bottom line: If you are going to buy a Mac mini and want a gig of RAM, save $200 and spend $5 to get a putty knife to crack your case. It's easy enough to do.

Oh, and to answer the question as to why I didn't get a $160-$190 stick of RAM instead of paying $226 to Crucial: it's all about the quality. Cheap RAM has been the source of almost all of my problems with the Mac. When I put in good stuff, my Macs stay happy. I've never had a problem with Crucial. And now that I've seen that Micron is one of Apple's OEM memory suppliers, I'm even more validated.

DrunkenBlog: The Mac Mini Porn

DrunkenBlog: The Mac Mini Porn:

"No surprises, it's just obvious the G4 at those speeds is choking on
the bus so it's of little benefit to move up to the 1.42GHz model, at
least in terms of CPU. More interesting is that the speed problems with
the iMac G5 are starting to get wider attention, which is a good thing."

AnandTech: A Month with a Mac II: The Mobile Experience

AnandTech: A Month with a Mac II: The Mobile Experience

Important stuff if I am going to buy a Mac. Dont know for sure yet.

Mozilla Thunderbird Gains Phishing Detection - MozillaZine Talkback

Mozilla Thunderbird Gains Phishing Detection - MozillaZine Talkback:

"Mozilla Thunderbird Gains Phishing Detection"

Sunday, January 23, 2005

Mac Mini info for Linux and Windows users

Mac Mini info for Linux and Windows users

I'm so conflicted as to whether I should buy a Mac mini for myself or not. Its very tempting. It will be my first mac if I do. I doubt I will be buying it right now though, I need to find out how World of Warcraft runs on it.

Friday, January 21, 2005


Linux Inc.


The crisis came to a head during a tense meeting at McVoy's house, on San Francisco's Twin Peaks. A handful of Linux' top contributors took turns urging Torvalds to change. After an awkward dinner of quiche and croissants, they sat on the living room floor and hashed things out. Four hours later, Torvalds relented. He agreed to delegate more and use a software program for automating the handling of code. When the program was ready in 2002, Torvalds was able to process contributions five times as fast as he had in the past.

Thursday, January 20, 2005

Kompare

Kompare

Is an amazing utility for KDE users. It compares two files and highlights the differences in the files. I use diff quite a bit as a sysadmin, but Kompare makes it a lot easier to compare files. A utility all sysadmins should know about.

Tuesday, January 18, 2005

Spent all of Sunday night/Monday Morning upgrading/patching servers. Monday was a well earned rest! :)

I'm still running into problems upgrading some left over software on production servers. Its been a busy day. Need to schedule more downtime for all these upgrades. There has to be an easier way with less downtime.

Sunday, January 16, 2005

New Yorks oldest ISP gets domain-jacked

http://it.slashdot.org/it/05/01/16/0027213.shtml?tid=95&tid=172&tid=17

This is just weird and crazy. I am surprised such a thing can happen. This is a great security and services issue. wow!

Friday, January 14, 2005

No More Internet for Them

No More Internet for Them

This is sad! I wish something could be done about this fast. I love the internet, and I want it to grow. But I've used friends spyware ladden PC and I dont blame these people. However they wont understand. They should be using alternative software. Or even an alternative platform (Linux/Mac). Unplugging is just plain stupid.

I use Windows time and again, and it is quite easy to setup a system that is protected from spyware. I've never had spyware on my system. The combination of software that works for me against spam/spyware/adware/virus/worm is the following:

1. Windows XP with SP2
2. Mozilla Firefox exclusively for browsing (no IE at all)
3. Microsoft Outlook with the SpamBayes plugin
4. Spybot with Teatimer plugin to stop registry changes or activex installs
5. Norton Antivirus updated weekly (automatically)
6. Norton Firewall to protect against worms and stuff (dont remember the proper name for the software).

Once this software is installed, its mostly hands off. Once in a while I'll start up spybot to update the definitions, but other than that, dont have to do much. I think the two most important software products from above are Firefox and Spybot. They keep the system running without any problems. Also, an add step might be running as a user instead of administrator, but I havent had to bother with that yet, and continue to run as administrator. Unlike in Linux, its just too hard to work as something other than administrator.

Ofcourse, most of the time I am in Linux, so I dont have to worry about this stuff as it is :)

Thursday, January 13, 2005

KDE Developer's Corner - Konstruct

KDE Developer's Corner - Konstruct

This is a utility that allows a person to compile stable/unstable builds of KDE to try out and install into their homedir. I downloaded the small tar file, uncompressed it in my homedir.
cd konstruct/meta/kde && make install

And thats it. The script downloaded all the prerequired files, compiled them overnight, and compiled it. I had a ready KDE3.4beta1 in the morning, and have been using it ever since. There are some apps that dont get built and you have to go into the apps dir but once you do a make install on them they are also taken care of by the script.

[linux 10:57 AM Thu Jan 20] [Session: 3 adnan]
==> du -h -s kde3.4-beta1/
726M kde3.4-beta1/

Easy Automated Snapshot-Style Backups with Rsync

Easy Automated Snapshot-Style Backups with Rsync: "Abstract"

SecurityFocus HOME Infocus: SSH Port Forwarding

SecurityFocus HOME Infocus: SSH Port Forwarding

SecurityFocus HOME Infocus: The Perils of Deep Packet Inspection

SecurityFocus HOME Infocus: The Perils of Deep Packet Inspection

Dissecting shared libraries

Dissecting shared libraries
If a new apache build starts running but stops serving pages after a page or two, look at /usr/local/apache/logs/error_log. There might be the following error listed over and over again:

[notice] child pid 18668 exit signal Segmentation Fault (11)

This might mean that the modules in /usr/local/apache/libexec were copied over from another system and are having problems running on the new system. You need to recompile these modules.

To recompile a DSO module you can run:

/usr/local/apache/bin/apxs -c module.c

Where module.c is the filename of the source file for the module. If there are more than one source files you need to specify them all. For instance, to compile mod_proxy:

/usr/local/apache/bin/apxs -c mod_proxy.c proxy_*.c

There is a command that will automatically install the module to the relevant folder but I prefer to do it by hand. Copy the module.so file to /usr/local/apache/libexec folder and the modify the httpd.conf to load the module.

This should solve the problem of httpd segfaulting.

Wednesday, January 12, 2005

I'm administering sun solaris hardware now. I've been learning a lot about the subtle differences in solaris from Linux. For instance in place of ldconfig you use something called crle.

Just running crle will give you information regarding the libraries in LD_LIBRARY_PATH.

# crle

Configuration file [version 4]: /var/ld/ld.config
Default Library Path (ELF): /lib:/usr/lib:/usr/local/lib
Trusted Directories (ELF): /usr/lib/secure (system default)

Command line:
crle -c /var/ld/ld.config -l /lib:/usr/lib:/usr/local/lib

If you wish to add a directory,

# crle -l /lib:/usr/lib:/usr/local/lib:/directory_you_wish_to_add

Make sure that the directories listed before by crle are also included.

Wired News: Videos Quick, Easy and Automatic

Wired News: Videos Quick, Easy and Automatic:

"So far, Cherian hasn't heard from the MPAA. However, he did run into
trouble when TiVo objected to the use of the phrases 'season passes,'
which was originally used to describe Videora's automatic download
feature, and 'wish lists.' Cherian renamed the features 'season
tickets' and 'want lists.' He's also heard from a few people interested
in investing in the technology, he said."

Apple - QuickTime - Macworld San Francisco 2005 Expo Keynote

Apple - QuickTime - Macworld San Francisco 2005 Expo Keynote

Tuesday, January 11, 2005

Getting the Girl from 1UP.COM

Getting the Girl from 1UP.COM:

"When I requested an interview to discuss Cyberlore's Playboy: The Mansion,
I never even considered that the senior designer on the Sims-style
project might be a woman--one pregnant with twins, in fact. As I
expected, Brenda Brathwaite has a lot to say about females in today's
games. But I can guarantee it's not what you might expect."

Wired News: Real World Doesn't Use a Joystick

Wired News: Real World Doesn't Use a Joystick

"Once, my girlfriend happened upon a tree ... kind of like the round, thin trees in the game, and began to shake it -- one in-game way of receiving money, goods and bees," Weisberg-Roberts said. "When nothing fell from its branches, I think she quickly realized how this must have looked to the other hundred or so people in the park."

I'm glad that I dont play computer games that much. Though I have been thinking of buying a new laptop that would run world of warcraft. Hmmm.. maybe I'll stick to my old laptop and just keep reading email!

Mozilla and hypocrisy

Right, but what about the experiences that Mozilla chooses to default for users like switching to  Yahoo and making that the default upon ...