Updated: 9/1/2004; 8:49:21 AM.
Bruce Landon's Weblog for Students
My Home Page Psych100 Psych200 Psych360 Psych330 EduTools News Landonline
        

Thursday, August 26, 2004

Review of Project Euclid. Gerry McKiernan, Project Euclid: Mathematics and Statistics Journals, The Charleston Advisor, July 2004. Excerpt: "By providing access to more than 30 significant mathematical and statistics journals within a common framework, Project Euclid has clearly realized its primary goal of addressing 'the unique needs of independent and society journals through a collaborative partnership with scholarly publishers, professional societies, and academic libraries'. Through its range of access and distribution plans (i.e., Euclid Prime, Euclid Select, Euclid Direct, and Open Access) and the associated varied subscription and pay-per-view options, it has achieved its goal of providing low cost access to its component journals. The low subscription pricing for a range of subscribers is particularly noteworthy. While it currently provides access to only one Open Access title (Annals of Mathematics), Project Euclid is to be commended for utilizing the Open Archives Initiative Metadata Harvesting Protocol (OAI-PMH) (OAI-2.0) that allows its article metadata to be harvested by such OAI Service Providers as Euler, OAIster, and Scirus, as well as for its plans to offer Open Access to backfiles of journals older than five years." [Open Access News]
5:48:49 PM      Google It!.

Blog Torrent: Downhill Battle Interview [Slashdot:] an easy process for moving 4gig files

2:30:35 PM      Google It!.

MIT Selects Its First Female President. CAMBRIDGE, Mass. (Reuters) - The Massachusetts Institute of Technology on Thursday named Susan Hockfield as its first female president, a breakthrough for the world-renowned school that has churned out more than 50 Nobel prizewinners but which ranks below the national average for its percentage of female students. [Reuters: Science]
2:25:55 PM      Google It!.

edittwiki - external editor tool for TWiki.

Announcing edittwiki 0.1, an external editor launcher for the popular TWiki wiki. This is similar in spirit to the editMoin tool for MoinMoin wikis. I wrote this in Jython and compiled into a java jar so it should run on a wide set of operating systems. It features a configurable editor setting so you can edit TWiki topics using your favourite editor (including html editors) and works with TWiki installations that are password secured.

This is the initial release, so please be gentle! and feel free to provide feedback here or via email to etaekema-at-earthlink-dot-net.

[All things Jythonic]
2:23:33 PM      Google It!.

Scripting LDAP with Jython -- Queries.

I've been playing with LDAP directories from Jython and thought I should share a couple of useful examples of what you can do. The first of these is a quick barebones query example. Enjoy.

# Jython LDAP Example

from javax.naming import * from java.util import * from javax.naming.directory import *

# Credentials to access LDAP user = "cn=master" passwd = "password"

# Query starting point and query target search_start = "ou=People,dc=Company,dc=com" search_target = "uid=aUserID"

# Setup LDAP Context Options settings = Hashtable() settings.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory") settings.put(Context.PROVIDER_URL, "ldap://localhost:389") settings.put(Context.SECURITY_PRINCIPAL, user) settings.put(Context.SECURITY_CREDENTIALS, passwd)

# Connect to LDAP Server ctx = InitialDirContext(settings)

srch = SearchControls() srch.setSearchScope(SearchControls.SUBTREE_SCOPE)

# Execute LDAP Search results = ctx.search(search_start, search_target, srch )

#Display Search` for result in results:

attributes = result.getAttributes() names = [] for atr in attributes.getIDs(): names.append(str(atr))

for name in names: print attributes.get(name)

[All things Jythonic]
2:21:51 PM      Google It!.

Scripting LDAP with Jython -- Store Java Objects in LDAP.

This is the complement to the earlier example that read a java Hastable out of an ldap directory entry. Here is how you get the data in there to begin with.

# Jython LDAP - Store Java Hashtable into LDAP Example

from javax.naming import * from java.util import * from javax.naming.directory import *

# Credentials to access LDAP user = "cn=master" passwd = "password"

# Setup LDAP Context Options settings = Hashtable() settings.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory") settings.put(Context.PROVIDER_URL, "ldap://localhost:389") settings.put(Context.SECURITY_PRINCIPAL, user) settings.put(Context.SECURITY_CREDENTIALS, passwd)

# Connect to LDAP Server ctx = InitialDirContext(settings)

# build Hastable we want to store userPrefs = Hashtable() userPrefs.put("Server", "Someserver.com") userPrefs.put("Color", "Red") userPrefs.put("Wine", "Cabernet") userPrefs.put("Year", "1994")

ctx.bind("cn=test_user,ou=Preferences,dc=Company,dc=com", userPrefs)

#done

If the entry already exists you need to use the context's rebind method like this:

ctx.rebind("cn=test_user,ou=Preferences,dc=Company,dc=com", userPrefs)
[All things Jythonic]
2:20:33 PM      Google It!.

Python Resource List.

In my continuing search for Python UML tools I stumbled across this long list of python resources.

[All things Jythonic]
2:19:50 PM      Google It!.

deque collection class for Jython.

Raymond Hettinger provided a Pure python drop in replacement for collections.deque() from Py2.4 and it works with Jython. Hurray! Its available at the ActiveState Python Cookbook. See the Python 2.4 documentation at: http://www.python.org/dev/doc/devel/lib/module-collections.html for how to use this.


[All things Jythonic]
2:18:32 PM      Google It!.

Todd's Big IDEA: Firefox search plugin for MLX.

 Todd has done something cool. He published a search plugin for Mozilla/Firefox web browsers that provides a direct keyword search into the Maricopa Learning eXchange (MLX).

I don't do a lot of browser hopping beyond testing on the major brands. I've taken the cues from the Zeldmans out there to develop and test for on the more compliant web browsers (Safari), then test, hack, and fix for the oddities of Internet Explorer, etc. Netscape 4? Fuggedaboudit.

Anyhow I keep a copy of Mozilla or Firefox around since sometimes there are web sites (like a lot of our Maricopa system apps) that are finicky on browsers. The long amble is that I have not spent much time in looking into this search engine add on, but it is pretty slick, and opens the mind to creating more browser tools.

<>Likie Safari, Firefox comes out of the box with a built in Google Search field in the top right of the browser. However, the piece of code Todd cooked up inserts an new search option that is selectable, instead of keywords going to google, they go to our own MLX search:select other search sites so entering our desired search words:keywords entered

goes zing! to the MLX and produces the same results as if you were at our site.

It's pretty cool, though sadly, it helps a pithy minor percent of of web site traffic.

Oh, and Todd, love the plugin, but the acronym is MLX, not MLE ;-)

[cogdogblog]
11:42:06 AM      Google It!.

RSS Screen Saver for Libraries!.

C# Express RSS Screen Saver Starter Kit

"One of my favorite features of C# Express is the built-in RSS Screen saver Starter Kit. If you’ve never built a screensaver before, or if you have never written code that uses RSS, then you’ll find the RSS Screen saver a great way to start programming.

In a nutshell, the RSS Screen saver is a screen saver that lets you select and validate an RSS feed, select a background directory for images to loop through, and the screensaver will loop through the items in the RSS feed." [Dan Fernandez's Blog, via del.icio.us/tag/rss]

I'm not enough of a programmer to run with this one, but this could be a very cool tool for libraries. Imagine being able to display your current news on your workstations via the screensaver in real-time without any manual intervention. Just update your "what's new" blog and it magically appears on all of your workstations. Major, major woot with a happy dance thrown in for good measure!

[The Shifted Librarian]
11:38:01 AM      Google It!.

Weapons of Mass Mobilization. A quiet couple in Berkeley, California, got sick of being ignored by the system. So they built a new one. How MoveOn.org changed the face of fund raising, brought P2P to political advertising and reinvented grass-roots activism. By Gary Wolf from Wired magazine. [Wired News]
11:36:37 AM      Google It!.

Gaming tools add edge to e-learning - Business Standard of India. Noida-based FCS Software Solutions, an infotech solutions company, has incorporated interactive gaming concepts to provide fun solutions and actively engage its e-learning clients in the UK, US and India. “Companies are relying more and more on e-lear [Online Learning Update]
11:32:06 AM      Google It!.

Almost Half of Video Gamers Cutting TV Use --Study. LOS ANGELES (Reuters) - Nearly half of video game players watched less television last year or plan to cut their viewing time this year, according to a report issued on Thursday that lends credence to industry fears that young men are switching off the tube. [Reuters: Technology]
11:28:49 AM      Google It!.

© Copyright 2004 Bruce Landon.
August 2004
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Jul   Sep
Home

Subscribe to "Bruce Landon's Weblog for Students" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.