Monday, November 5, 2007

[Gd] nsscache: open source named services system release

| More

Google Code Blog: nsscache: open source named services system release



Remember remember the fifth of november, especially if you have to manage unix Named Services (NSS) on a lot of workstations! We're releasing a small python utility, called nsscache, that is used to cache remote NSS maps locally on a given host. Combined with cron, it provides a simple and effective way to remove a critical network dependency from your hosts and potentially speed things up a bit.

You'd be surprised how upset a system can get with a slow, unresponsive, or missing NSS.

This initial release supports pulling passwd, shadow, and group maps from an RFC 2307 LDAP schema and storing them in either nssdb or flat text files. In a wee bit, we'll also release support for netgroup and automount maps as well. The utility is fairly plug and play; our hope is that folks who use it with other data sources (sql databases, soap, etc) and possibly other data stores will extend our codebase and share their extensions with the rest of the open source community.

Why you may be interested?

As soon as you have more than one machine in your network, you want to share usernames between those systems. Linux administrators have been brought up on the convention of LDAP or NIS as a directory service, and /etc/nsswitch.conf, nss_ldap.so, and nscd to manage their nameservice lookups.

Even small networks will have experienced intermittent name lookup failures, such as a mail receiver sometimes returning "User not found" on a mailbox destination because of a slow socket over a congested network, or erratic cache behaviour by nscd. To combat this problem, we have separated the network from the NSS lookup codepath, instead using an asynchronous cron job and a glorified script, improving the speed and reliability of NSS lookups.

We'll be giving a small presentation about our motivations and experiences at the upcoming linux.conf.au event in Melbourne Australia, if you happen to be down under in February!

URL: http://google-code-updates.blogspot.com/2007/11/nsscache-open-source-named-services.html

[Gd] Calling all PHP/MySQL Developers: Come get your sample code!

| More

Official Google Maps API Blog: Calling all PHP/MySQL Developers: Come get your sample code!

Recently, we surveyed developers to find out who had read and benefited from one of our popular PHP/MySQL articles: "Using PHP/MySQL with Google Maps" and "Using PHP and MySQL to create KML." We got quite a few responses. Here are just two of the nifty sites they told us about:

  • SuburbView: This Australian real estate listings site includes a map with checkboxes to let you filter results, and a KML with prominent labels to indicate the all-important price of the listing.
  • Crete Property Map: This is another real estate listings site that also uses checkboxes for filtering, plus our open-source DragZoomControl and nicely styled sidebar items and info windows. The developer then includes the KML output in his sitemap to make sure his real estate listings are indexed by Google and searchable by users on Google Maps.

Since it's become obvious to us that there's a huge and eager PHP/MySQL developer community out there, we're releasing two new articles for you:

All of our PHP/MySQL articles use the same table and data, so it should be easy for you to setup a similar table once and use the techniques described throughout all the articles. In addition, all articles been updated with both PHP 4 and PHP 5 code. (Challenge: How many articles can you do in one sitting, coffee breaks allowed?)


As always, please post in the forum with questions, suggestions on future articles or enhancements, or if you just want to show what you've created.


URL: http://googlemapsapi.blogspot.com/2007/11/calling-all-phpmysql-developers-come.html

[Gd] Animoto

| More

Featured Projects on Google Code: Animoto

Screenshot
Google APIs used:
The End of Slideshows - automatically create customized video orchestrations using your images and music.

URL: http://google-code-featured.blogspot.com/2007/11/animoto.html