A water bearer in China had two large pots, each hung on the ends of pole which he carried across his neck.. One of the pots had a crack in it, while the other pot was perfect and always delivered a full portion of water.

At the end of the long walk from the stream to the house, the cracked pot arrived only half full.

For a full two years this went on daily, with the bearer delivering only one and a half pots full of water to his house. Of course, the perfect pot was proud of its accomplishments, perfect for which it was made. But the poor cracked pot was ashamed of its own imperfection, and miserable that it was able to accomplish only half of what it had been made to do.

After 2 years of what it perceived to be a bitter failure, it spoke to the water bearer one day by the stream.
"I am ashamed of myself, and because this crack in my side causes water to leak out all the way back to your house."

The bearer said to the pot, "Did you notice that there were flowers only on your side of the path, but not on the other pot's side? That's because I have always known about your flaw, and I planted flower seeds on your side of the path, and every day while we walk back, you've watered them.

For two years I have been able to pick these beautiful flowers to  decorate the table. Without you being just the way you are, there would not be this beauty to grace the house"

Moral: Each of us has our own unique flaws. We're all cracked pots. But it's the cracks and flaws we each have that make our lives together so very interesting and rewarding. You've just got to take each person for what they are, and look for the good in them. Blessings to all my crackpot friends!!

 

Main Menu

Home
Articles
SVTechie Blog
Links
Download
Discussion Forum
Photo Gallery
Quick Bites
FAQs

Login






Lost Password?
No account yet? Register

Statistics

We have 8 guests online

SVTechie Recommends


powered_by.png, 1 kB

Text Links


Home arrow SVTechie Blog arrow SVTechie Weblog Main
Book Club, Z39.50, Yaz and Sudo PDF Print E-mail
Written by SVTechie   
Thursday, 03 August 2006

As mentioned in Book Club Modifications - IV, Book Addition Mechanism is being simplified. SVTechie Book Club right now can read book data from Amazon based on ISBN number so that user does not have to type in whole information. It uses SOAP interface to achieve this.

But I wanted to add search/fetch capabilities to Library of Congress catalog as it has much bigger collection. Now, I stumbled on something called Z39.50. This information is from Z39.50 Gateway.

Z39.50 is a national and international (ISO 23950) standard defining a protocol for computer-to-computer information retrieval. Z39.50 makes it possible for a user in one system to search and retrieve information from other computer systems (that have also implemented Z39.50) without knowing the search syntax that is used by those other systems. Z39.50 was originally approved by the National Information Standards Organization (NISO) in 1988.

Great, only thing I need is Z39.50 client which can work with PHP. And YAZ is the great thing to achieve this. Information is available at Index Data PHP YAZ page. And letest version canbe downloaded from PECL.

I checked if Dreamhost provided PHP already has Yaz extension support and it does not! So ofcourse, I need to compile my own PHP and BTW, Dreamhost has nice support script to achieve this. I would like to provide it here but I am not sure if I can do that. link is here http://wiki.dreamhost.com/index.php/Installing_PHP4

Ofcourse, it did not work right away as other linux/unix scripts. First, I needed to add YAZ support into this. Another was libxml2 gave "xml.sax" related warning and script aborted (though there was no need to abort the script). So I built Yaz and libxml2 manually. Rest of the stuff was okay. I tried example fetch script from YAZ page and it worked Smile

Oh, there is one more thing.. I tried to use sudo as mentioned on YAZ as I did not know anything about sudo.

Sudo (superuser do) allows a system administrator to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while logging the commands and arguments.

Ofcourse, sudo did not work and it could be dangerous too! Actually I need not to use sudo at all because I was installing in my home directory. Neverthless, my attempted sudo access is logged in to dreamhost system logs Smile

Stay tuned for book club modifications! 

Last Updated ( Thursday, 03 August 2006 )
 
< Prev   Next >

Blog Sidebar

 Apr   May 2008   Jun

SMTWTFS
   1  2  3
  4  5  6  7  8  910
11121314151617
18192021222324
25262728293031

Blog Roll


categories


Latest in Blog

Techies Resources ESL
Loans | Mortgage | Mortgage | Loans | Flights
© 2008 SVTechie :: Online Resources For Techies BY Techies
Joomla! is Free Software released under the GNU/GPL License.