Re: [CODE4LIB] dict protocol

2008-03-31 Thread Eric Lease Morgan

On Mar 31, 2008, at 10:45 AM, Tim Shearer wrote:


Given the likely need to map back from an alternate name (string
search in
the definition?) to the auth name (maybe the most common use for
such a
service?), I think this route might be on the inefficient side.



I'm not quite sure how this will turn out either, but for a good time
I extracted bunches more authorities (subject, personal, corporate,
and geographic) from the FRED data, stuffed them into my DICT server,
and installed a CGI front-end. Try the following URLs, and they will
return huge "tag clouds" whose links could point to definitions or
searches against indexes:

  * blues - http://tinyurl.com/yt2db7
  * lancaster - http://tinyurl.com/yw5hdr
  * librarianship - http://tinyurl.com/2baoxg

In the end, I will probably use some other indexer to do this work,
but this suite of DICT tools has a pretty low barrier to implementation.

--
Eric Lease Morgan


Re: [CODE4LIB] place for code examples?

2008-03-31 Thread Tom Keays
On Mon, Mar 31, 2008 at 11:35 AM, Jonathan Rochkind <[EMAIL PROTECTED]> wrote:
>  Incidentally, I'm interested in getting a DokuWiki installation going
>  for code4lib, which I think will serve our needs somewhat better than
>  the current MediaWiki.  But that goes back to the thread I introduced

Dokuwiki is nice (it's the one I use for my own site) and it DOES
support code highlighting.

http://wiki.splitbrain.org/wiki:syntax#syntax_highlighting

There are also plugins that will extend it further

http://wiki.splitbrain.org/plugin:code
http://wiki.splitbrain.org/plugin:code2

Tom


Re: [CODE4LIB] Shibboleth

2008-03-31 Thread David Kennedy

Univ of Maryland (USMAI) is also part of the InCommon Library Shibboleth
group.  We are using Shibboleth in production for the following library
services: PDS (Aleph/Metalib), EZproxy, and ILLiad.  A little info is
available on our setup at http://usmai.umd.edu/auth

Dave
--
David Kennedy
CoManager
Digital Collections and Research
University of Maryland
McKeldin Library
College Park, MD 20742
[EMAIL PROTECTED]
(301) 405-9051

- Original Message -
From: "Tod Olson" <[EMAIL PROTECTED]>
To: 
Sent: Friday, March 28, 2008 5:01 PM
Subject: Re: [CODE4LIB] Shibboleth



On Mar 21, 2008, at Mar 21, 9:23 AM, K.G. Schneider wrote:

If you have been involved in investigating or implementing
Shibboleth --
or alternative approaches -- I'd like to hear from you.


U. Chicago is using Shibboleth in production EZproxy, Refworks,
ILLiad, and another non-library ASP. We are one of the campuses in the
InCommon Library/Shibboleth, which Holly mentioned. There are several
on-campus services that are considering a move to, or starting out
with, Shibboleth, but none are in place yet. Our central IT
organization is in charge of operations for Shibboleth, though the
Library is closely involved.

If you'd like more details or would like to put in touch with the
other Shibboleth folks on campus, contact me off-list.

-Tod


Tod Olson <[EMAIL PROTECTED]>
Systems Librarian
University of Chicago Library



Re: [CODE4LIB] K&R (was: Gartner on OSS)

2008-03-31 Thread Joe Hourcle

On Mon, 31 Mar 2008, Ed Summers wrote:


On Mon, Mar 31, 2008 at 1:12 PM, Dr R. Sanderson
<[EMAIL PROTECTED]> wrote:

 my poor mailbox ;)


I now open up discussion of "real" smtp clients, and the pros/cons of
mail filtering ... Lets just get this all out of our system :-)


[trimmed]


PSS is it April 1st anywhere in the world yet?


Yes.  Kiribati (Christmas Island) is UTC+13 / UTC+14.

-Joe

ps.  pine, and for filtering (mailing lists, etc.) but not automatic
 deletion of spam due to false positive rates.


Re: [CODE4LIB] K&R (was: Gartner on OSS)

2008-03-31 Thread Cloutman, David
You're absolutely correct. What I was getting at was the problem I have
with anyone being embarrassed about the fact that they choose to edit
text files in an easy to use tool like pico or nano. I'm sure that there
are great things, to be said about vi and emacs. It just annoys me that
people made to feel stigmatized for choosing not to use one of these
tools.

- David


---
David Cloutman <[EMAIL PROTECTED]>
Electronic Services Librarian
Marin County Free Library

-Original Message-
From: Code for Libraries [mailto:[EMAIL PROTECTED] On Behalf Of
Francis Kayiwa
Sent: Monday, March 31, 2008 10:50 AM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] K&R (was: Gartner on OSS)


On Mar 31, 2008, at 12:43 PM, Cloutman, David wrote:
> I use nano, which is the same thing as pico, more or less. I wrote my
> first web pages using pico in a unix shell. I always thought it was a
> great editor. I use nano almost daily, even on my Windows machines.
>
> I just don't see the attaction to vi. I understand the need to know
> it,
> but the fundamentalist furvor that some people have for the program
> baffles me.

Can I pre-emptively declare Godwin?

They are all just tools -nothing more and probably a lot less.

Find one and master it has always been my take on these sorts of
*debates*.


./fxk

Email Disclaimer: http://www.co.marin.ca.us/nav/misc/EmailDisclaimer.cfm


Re: [CODE4LIB] K&R (was: Gartner on OSS)

2008-03-31 Thread Ed Summers
On Mon, Mar 31, 2008 at 1:54 PM, David Fiander <[EMAIL PROTECTED]> wrote:
> Vi is just as programmable as emacs. It's possible to write a vi macro
>  that runs a turing machine.

Yeah, and XSLT is Turing complete but that doesn't mean it's actually
a good thing to use :-)

//Ed

PS does this thing go to 11?


Re: [CODE4LIB] place for code examples?

2008-03-31 Thread Jay Luker
On Mon, Mar 31, 2008 at 12:54 PM, Ross Singer <[EMAIL PROTECTED]> wrote:

> What about something like the GeSHI filter module for Drupal?
>
> http://drupal.org/project/geshifilter
>
> http://www.code4lib.org/ is already running Drupal, so it'd be as
> simple as installing the module (although I've never used it, so it
> may not be what you're looking for).  This way we're not supporting
> another application and gives a reason for going to code4lib.org
> anyway.


+1

My first thought on this was why not just post it via Drupal at code4lib.org
.

1. Sign in
2. Create Content (blog entry, page, etc.)
3. Assign appropriate category
4. Publish

If we don't want code snippets promoted to the front page maybe there could
be another top-level section, e.g., "... music | planet | wiki | code
snippets ..."

--lbjay


Re: [CODE4LIB] K&R (was: Gartner on OSS)

2008-03-31 Thread David Fiander
Vi is just as programmable as emacs. It's possible to write a vi macro
that runs a turing machine.

- David

On Mon, Mar 31, 2008 at 1:43 PM, Cloutman, David
<[EMAIL PROTECTED]> wrote:
> I use nano, which is the same thing as pico, more or less. I wrote my
>  first web pages using pico in a unix shell. I always thought it was a
>  great editor. I use nano almost daily, even on my Windows machines.
>
>  I just don't see the attaction to vi. I understand the need to know it,
>  but the fundamentalist furvor that some people have for the program
>  baffles me.
>
>  - David
>
>
>  ---
>  David Cloutman <[EMAIL PROTECTED]>
>  Electronic Services Librarian
>  Marin County Free Library
>
>
>
>  -Original Message-
>  From: Code for Libraries [mailto:[EMAIL PROTECTED] On Behalf Of
>  K.G. Schneider
>  Sent: Monday, March 31, 2008 10:09 AM
>  To: CODE4LIB@LISTSERV.ND.EDU
>  Subject: Re: [CODE4LIB] K&R (was: Gartner on OSS)
>
>
>  > I now open up the vi vs. emacs discussion:
>  >
>  > http://xkcd.com/378/
>  >
>  > (personally, I'm a BBEdit user, but fall back to vi as needed ... and
>  ex
>  > for those rare times when you have to tip into a Solaris box to fix
>  the
>  > vfstab and your TERM is completely hosed)
>  >
>  > -Joe
>
>  Back when that was my choice, I used emacs exactly once, during which I
>  removed every instance of the letter "m" from a lengthy document. (When
>  I have to edit a file in my shell account, which is rare, I use pico...
>  yes, I know that makes me a sissy *and I don't care.*)
>
>  K.G. Schneider
>
>  Email Disclaimer: http://www.co.marin.ca.us/nav/misc/EmailDisclaimer.cfm
>


Re: [CODE4LIB] K&R (was: Gartner on OSS)

2008-03-31 Thread Francis Kayiwa

On Mar 31, 2008, at 12:43 PM, Cloutman, David wrote:

I use nano, which is the same thing as pico, more or less. I wrote my
first web pages using pico in a unix shell. I always thought it was a
great editor. I use nano almost daily, even on my Windows machines.

I just don't see the attaction to vi. I understand the need to know
it,
but the fundamentalist furvor that some people have for the program
baffles me.


Can I pre-emptively declare Godwin?

They are all just tools -nothing more and probably a lot less.

Find one and master it has always been my take on these sorts of
*debates*.


./fxk


Re: [CODE4LIB] K&R (was: Gartner on OSS)

2008-03-31 Thread Ed Summers
On Mon, Mar 31, 2008 at 1:12 PM, Dr R. Sanderson
<[EMAIL PROTECTED]> wrote:
>  my poor mailbox ;)

I now open up discussion of "real" smtp clients, and the pros/cons of
mail filtering ... Lets just get this all out of our system :-)

Yours,
//Ed

PS shouldn't the discussion list set the From header to be the actual
sender, and not code4lib@listserv.nd.edu ?
PSS is it April 1st anywhere in the world yet?


Re: [CODE4LIB] K&R (was: Gartner on OSS)

2008-03-31 Thread Cloutman, David
I use nano, which is the same thing as pico, more or less. I wrote my
first web pages using pico in a unix shell. I always thought it was a
great editor. I use nano almost daily, even on my Windows machines.

I just don't see the attaction to vi. I understand the need to know it,
but the fundamentalist furvor that some people have for the program
baffles me.

- David


---
David Cloutman <[EMAIL PROTECTED]>
Electronic Services Librarian
Marin County Free Library

-Original Message-
From: Code for Libraries [mailto:[EMAIL PROTECTED] On Behalf Of
K.G. Schneider
Sent: Monday, March 31, 2008 10:09 AM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] K&R (was: Gartner on OSS)


> I now open up the vi vs. emacs discussion:
>
> http://xkcd.com/378/
>
> (personally, I'm a BBEdit user, but fall back to vi as needed ... and
ex
> for those rare times when you have to tip into a Solaris box to fix
the
> vfstab and your TERM is completely hosed)
>
> -Joe

Back when that was my choice, I used emacs exactly once, during which I
removed every instance of the letter "m" from a lengthy document. (When
I have to edit a file in my shell account, which is rare, I use pico...
yes, I know that makes me a sissy *and I don't care.*)

K.G. Schneider

Email Disclaimer: http://www.co.marin.ca.us/nav/misc/EmailDisclaimer.cfm


Re: [CODE4LIB] K&R (was: Gartner on OSS)

2008-03-31 Thread Dr R. Sanderson

On Mon, 31 Mar 2008, K.G. Schneider wrote:

I now open up the vi vs. emacs discussion:


oh oh...

unsubscribe unsubscribe unsubscribe!

my poor mailbox ;)

Rob


Re: [CODE4LIB] K&R (was: Gartner on OSS)

2008-03-31 Thread Kevin S. Clarke
pico++

On Mon, Mar 31, 2008 at 1:09 PM, K.G. Schneider <[EMAIL PROTECTED]> wrote:

>  Back when that was my choice, I used emacs exactly once, during which I
>  removed every instance of the letter "m" from a lengthy document. (When
>  I have to edit a file in my shell account, which is rare, I use pico...
>  yes, I know that makes me a sissy *and I don't care.*)



--
There are two kinds of people in the world: those who believe there
are two kinds of people and those who know better.


Re: [CODE4LIB] K&R (was: Gartner on OSS)

2008-03-31 Thread K.G. Schneider
> I now open up the vi vs. emacs discussion:
>
> http://xkcd.com/378/
>
> (personally, I'm a BBEdit user, but fall back to vi as needed ... and ex
> for those rare times when you have to tip into a Solaris box to fix the
> vfstab and your TERM is completely hosed)
>
> -Joe

Back when that was my choice, I used emacs exactly once, during which I
removed every instance of the letter "m" from a lengthy document. (When
I have to edit a file in my shell account, which is rare, I use pico...
yes, I know that makes me a sissy *and I don't care.*)

K.G. Schneider


Re: [CODE4LIB] place for code examples?

2008-03-31 Thread Wick, Ryan
Looks like there's a Mediawiki extension that uses GeSHI too, so this
could be another option.

http://ideathinking.com/wiki/index.php/MediaWiki:CodeHighlighterExtensio
n

Ryan Wick

-Original Message-
From: Code for Libraries [mailto:[EMAIL PROTECTED] On Behalf Of
Ross Singer
Sent: Monday, March 31, 2008 9:54 AM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] place for code examples?

What about something like the GeSHI filter module for Drupal?

http://drupal.org/project/geshifilter

http://www.code4lib.org/ is already running Drupal, so it'd be as simple
as installing the module (although I've never used it, so it may not be
what you're looking for).  This way we're not supporting another
application and gives a reason for going to code4lib.org anyway.

-Ross.

On Mon, Mar 31, 2008 at 12:31 PM, Andrew Nagy
<[EMAIL PROTECTED]> wrote:
> I think a snippet repository would be a fantastic idea that would fit
well within the code4lib website.  Dokuwiki would also be a good fit for
this and would allow people to share the "oai harvester in under 50
lines", etc.
>
>  snippet.code4lib.org++
>
>  Andrew
>
>
>  > -Original Message-
>  > From: Code for Libraries [mailto:[EMAIL PROTECTED] On
> Behalf Of
>
> > Jonathan Rochkind
>  > Sent: Monday, March 31, 2008 11:36 AM  > To:
> CODE4LIB@LISTSERV.ND.EDU
>
>
> > Subject: Re: [CODE4LIB] place for code examples?
>  >
>  > I don't know if it's the best solution, but you could use the
> code4lib  > wiki if you like. wiki.code4lib.org.  Won't have code
> formatting or  > anything like that.
>  >
>  > Incidentally, I'm interested in getting a DokuWiki installation
> going  > for code4lib, which I think will serve our needs somewhat
> better than  > the current MediaWiki.  But that goes back to the
> thread I introduced  > which died about how to grant shell access to
> code4libbers on the OSU  > hosted code4lib.org.  Everyone seemed to
> agree that one or two or three  > code4libbers were neccesary to
> accept responsibility as "app admin  > coordinator" on the machine,
> but nobody actually volunteered to do  > that,  > so we're a bit
> stuck.  If we had a process/structure in place, and  > there  > was an

> app you wanted installed on code4lib.org to do this, there might  > be

> a way to do that---depending on what process/structure we come up  >
> with. But without one...
>  >
>  > Jonathan
>  >
>  > Keith Jenkins wrote:
>  > > Does there already exist some place to put some code examples to

> > share  > > with the code4lib community?  (I'm thinking of snippets
> somewhere on  > > the order of 10-100 lines, like the definition of a
> php function.)  > >  > > Keith  > >  > >  >  > --  > Jonathan Rochkind

> > Digital Services Software Engineer  > The Sheridan Libraries  >
> Johns Hopkins University  > 410.516.8886  > rochkind (at) jhu.edu
>


Re: [CODE4LIB] K&R (was: Gartner on OSS)

2008-03-31 Thread Godmar Back
On Mon, Mar 31, 2008 at 12:50 PM, Joe Hourcle
<[EMAIL PROTECTED]> wrote:
> On Mon, 31 Mar 2008, Ed Summers wrote:
>
>  > FWIW, I agree with Karen and Alexander. The whole point (to my
>  > recollection) of creating code4lib in the first place was to create a
>  > venue where any aspect of computer programming in libraries could be
>  > discussed. To my mind, this includes licensing, and business models,
>  > and whether you like K&R style.
>
>  I _cannot_stand_ K&R style -- it's for people who count 'lines of code'
>  using 'wc -l'.  I much prefer KNF.
>

I agree, but there are two important additions I'd like to make:

First, use of tabs. In modern software development, all tabs should be
spaces. (vim users: set expandtab in your .vimrc).

Second, there should be no parentheses around the value passed to
return: return 4, not return (4);

Third, empty lines - if used sparingly - are ok even with a method body.

 - Godmar


Re: [CODE4LIB] place for code examples?

2008-03-31 Thread Kevin S. Clarke
On Mon, Mar 31, 2008 at 12:46 PM, Jonathan Rochkind <[EMAIL PROTECTED]> wrote:

>  The general consensus (or maybe it was just my own conclusion) was that
>  there should be a two to three person team to begin with, that we
>  collectively authorize. (Not just one for sustainability if that one
>  leaves). Then that team can authorize other shell accounts, as per
>  however they decide to do it.  That team _might_, if there was a good
>  reason, get sudo wheel (Ryan Ordway confirms this is theoretically
>  possible if needed). Nobody else ever would get sudo wheel.
>
>  But nobody seemed to want to step up to be that 2 or 3 person team. So,
>  we're back to square one I guess?

Oops, sorry, I didn't know that any consensus had been reached.  I
remembered two or three people discussing it but no real groundswell
from the community that anything needed to be done.

Maybe we need a vote on something?

Kevin

--
There are two kinds of people in the world: those who believe there
are two kinds of people and those who know better.


Re: [CODE4LIB] place for code examples?

2008-03-31 Thread Ross Singer
What about something like the GeSHI filter module for Drupal?

http://drupal.org/project/geshifilter

http://www.code4lib.org/ is already running Drupal, so it'd be as
simple as installing the module (although I've never used it, so it
may not be what you're looking for).  This way we're not supporting
another application and gives a reason for going to code4lib.org
anyway.

-Ross.

On Mon, Mar 31, 2008 at 12:31 PM, Andrew Nagy <[EMAIL PROTECTED]> wrote:
> I think a snippet repository would be a fantastic idea that would fit well 
> within the code4lib website.  Dokuwiki would also be a good fit for this and 
> would allow people to share the "oai harvester in under 50 lines", etc.
>
>  snippet.code4lib.org++
>
>  Andrew
>
>
>  > -Original Message-
>  > From: Code for Libraries [mailto:[EMAIL PROTECTED] On Behalf Of
>
> > Jonathan Rochkind
>  > Sent: Monday, March 31, 2008 11:36 AM
>  > To: CODE4LIB@LISTSERV.ND.EDU
>
>
> > Subject: Re: [CODE4LIB] place for code examples?
>  >
>  > I don't know if it's the best solution, but you could use the code4lib
>  > wiki if you like. wiki.code4lib.org.  Won't have code formatting or
>  > anything like that.
>  >
>  > Incidentally, I'm interested in getting a DokuWiki installation going
>  > for code4lib, which I think will serve our needs somewhat better than
>  > the current MediaWiki.  But that goes back to the thread I introduced
>  > which died about how to grant shell access to code4libbers on the OSU
>  > hosted code4lib.org.  Everyone seemed to agree that one or two or three
>  > code4libbers were neccesary to accept responsibility as "app admin
>  > coordinator" on the machine, but nobody actually volunteered to do
>  > that,
>  > so we're a bit stuck.  If we had a process/structure in place, and
>  > there
>  > was an app you wanted installed on code4lib.org to do this, there might
>  > be a way to do that---depending on what process/structure we come up
>  > with. But without one...
>  >
>  > Jonathan
>  >
>  > Keith Jenkins wrote:
>  > > Does there already exist some place to put some code examples to
>  > share
>  > > with the code4lib community?  (I'm thinking of snippets somewhere on
>  > > the order of 10-100 lines, like the definition of a php function.)
>  > >
>  > > Keith
>  > >
>  > >
>  >
>  > --
>  > Jonathan Rochkind
>  > Digital Services Software Engineer
>  > The Sheridan Libraries
>  > Johns Hopkins University
>  > 410.516.8886
>  > rochkind (at) jhu.edu
>


Re: [CODE4LIB] place for code examples?

2008-03-31 Thread Jonathan Rochkind

I think that's asking a bit too much of OSU. Especially when we can't
even get anyone to step up and say they'll be responsible for app-level
admin on this machine!  (OSU is responsble for what I think of as "OS
level admin".  Installing the OS, networking, OS-level security patches,
backups (not sure if we actually have em, but if we did it would be
OSU's responsibility :) ), etc.)

But I'm sure any number of code4libbers could provide server space for
simple test/dev, with limited bandwidth or CPU needed and no expectation
of consistent uptime.  That's not the hard part, the hard part is what
OSU is doing.

Personally, I think that it's not neccesary to be as strict with it as
Kevin did. I think the reason that the anvil code4lib turned out to be
insufficient had less to do with people running non-production code on
it, and more to do with a lack of committed sysadmin resources.  Now OSU
has volunteered those committed sysadmin resources, and I don't think
it's neccesary to take the kind of strict "production box" procedures
that a fully-staffed commercial IT organization would take. We're still
all volunteers here. But that's a question that could be decided (with
lots of 'advice' from the code4lib community I'm sure :) )by anyone who
took responsibility for overall app-level admin on the machine, if there
were such persons!  If not, then?

Jonathan



Andrew Nagy wrote:

I still think if you want a production machine, though, you shouldn't
be doing development on there.  If you want to do something with
DokuWiki put it some other place first and get it like you want it
there.  Otherwise, I think we're just recreating anvil with all the
inherent problems that an open/development environment will entail.
Of course, making that decision can fall to the sys admins if the
community doesn't have a preference (they'll be the ones who get to
pick up the pieces anyway).



Can OSU provide a staging machine to test out implementations of things like 
dokuwiki before launching them live?  Perhaps make the code4lib server 
virtualized?

Andrew




--
Jonathan Rochkind
Digital Services Software Engineer
The Sheridan Libraries
Johns Hopkins University
410.516.8886
rochkind (at) jhu.edu


[CODE4LIB] K&R (was: Gartner on OSS)

2008-03-31 Thread Joe Hourcle

On Mon, 31 Mar 2008, Ed Summers wrote:


FWIW, I agree with Karen and Alexander. The whole point (to my
recollection) of creating code4lib in the first place was to create a
venue where any aspect of computer programming in libraries could be
discussed. To my mind, this includes licensing, and business models,
and whether you like K&R style.


I _cannot_stand_ K&R style -- it's for people who count 'lines of code'
using 'wc -l'.  I much prefer KNF.


I now open up the vi vs. emacs discussion:

   http://xkcd.com/378/

(personally, I'm a BBEdit user, but fall back to vi as needed ... and ex
for those rare times when you have to tip into a Solaris box to fix the
vfstab and your TERM is completely hosed)

-Joe


Re: [CODE4LIB] place for code examples?

2008-03-31 Thread Jonathan Rochkind

Yes. OSU has said that they have the infrastructure in place to give out
accounts. The question is just how they should determine on an ongoing
basis WHO to give an account to. I  don't think we want to make Ryan
have to figure out if a random person that emails him has the backing of
the code4lib community to be trusted with a shell account.

Didn't we just have this conversation last week?  See the thread I
started "Access to code4lib server--how to work it" from Mar 21 and on
in the listserv archive of your choice. "They're now ready to start
granting other people shell access to the
machine to manage/admin apps... So the question for the community
is--how the heck should Jeremy and
Ryan determine _who_ to give shell access to?"

The general consensus (or maybe it was just my own conclusion) was that
there should be a two to three person team to begin with, that we
collectively authorize. (Not just one for sustainability if that one
leaves). Then that team can authorize other shell accounts, as per
however they decide to do it.  That team _might_, if there was a good
reason, get sudo wheel (Ryan Ordway confirms this is theoretically
possible if needed). Nobody else ever would get sudo wheel.

But nobody seemed to want to step up to be that 2 or 3 person team. So,
we're back to square one I guess?

Jonathan

Kevin S. Clarke wrote:

On Mon, Mar 31, 2008 at 11:35 AM, Jonathan Rochkind <[EMAIL PROTECTED]> wrote:


 Everyone seemed to agree that one or two or three
 code4libbers were neccesary to accept responsibility as "app admin
 coordinator" on the machine, but nobody actually volunteered to do that,
 so we're a bit stuck.  If we had a process/structure in place, and there
 was an app you wanted installed on code4lib.org to do this, there might
 be a way to do that---depending on what process/structure we come up
 with. But without one...



Are we at the point where OSU is ready to start giving out accounts?
If so, do we need volunteers for sys admins (in addition to Ryan
Ordway)?  If we can't get one or two volunteers then maybe this
site/machine isn't that important after all.  I knew a sys admin once
who used to say, "You have to let things break every once and awhile
so people know how important you are."

I think sys admins are the first thing to get set up.  After those
people are in place, then I think it's just a matter of someone
saying, "I want to maintain this application" and one of the sys
admins can get them started.  I'd be glad to step up to be an app
admin to co-manage the Planet at that point.  I mean... I guess there
could be some formal process and the community could vote whether an
application goes onto the machine.

I still think if you want a production machine, though, you shouldn't
be doing development on there.  If you want to do something with
DokuWiki put it some other place first and get it like you want it
there.  Otherwise, I think we're just recreating anvil with all the
inherent problems that an open/development environment will entail.
Of course, making that decision can fall to the sys admins if the
community doesn't have a preference (they'll be the ones who get to
pick up the pieces anyway).

My 2 cents...

Kevin

--
There are two kinds of people in the world: those who believe there
are two kinds of people and those who know better.




--
Jonathan Rochkind
Digital Services Software Engineer
The Sheridan Libraries
Johns Hopkins University
410.516.8886
rochkind (at) jhu.edu


Re: [CODE4LIB] place for code examples?

2008-03-31 Thread Andrew Nagy
> I still think if you want a production machine, though, you shouldn't
> be doing development on there.  If you want to do something with
> DokuWiki put it some other place first and get it like you want it
> there.  Otherwise, I think we're just recreating anvil with all the
> inherent problems that an open/development environment will entail.
> Of course, making that decision can fall to the sys admins if the
> community doesn't have a preference (they'll be the ones who get to
> pick up the pieces anyway).

Can OSU provide a staging machine to test out implementations of things like 
dokuwiki before launching them live?  Perhaps make the code4lib server 
virtualized?

Andrew


Re: [CODE4LIB] place for code examples?

2008-03-31 Thread Andrew Nagy
I think a snippet repository would be a fantastic idea that would fit well 
within the code4lib website.  Dokuwiki would also be a good fit for this and 
would allow people to share the "oai harvester in under 50 lines", etc.

snippet.code4lib.org++

Andrew

> -Original Message-
> From: Code for Libraries [mailto:[EMAIL PROTECTED] On Behalf Of
> Jonathan Rochkind
> Sent: Monday, March 31, 2008 11:36 AM
> To: CODE4LIB@LISTSERV.ND.EDU
> Subject: Re: [CODE4LIB] place for code examples?
>
> I don't know if it's the best solution, but you could use the code4lib
> wiki if you like. wiki.code4lib.org.  Won't have code formatting or
> anything like that.
>
> Incidentally, I'm interested in getting a DokuWiki installation going
> for code4lib, which I think will serve our needs somewhat better than
> the current MediaWiki.  But that goes back to the thread I introduced
> which died about how to grant shell access to code4libbers on the OSU
> hosted code4lib.org.  Everyone seemed to agree that one or two or three
> code4libbers were neccesary to accept responsibility as "app admin
> coordinator" on the machine, but nobody actually volunteered to do
> that,
> so we're a bit stuck.  If we had a process/structure in place, and
> there
> was an app you wanted installed on code4lib.org to do this, there might
> be a way to do that---depending on what process/structure we come up
> with. But without one...
>
> Jonathan
>
> Keith Jenkins wrote:
> > Does there already exist some place to put some code examples to
> share
> > with the code4lib community?  (I'm thinking of snippets somewhere on
> > the order of 10-100 lines, like the definition of a php function.)
> >
> > Keith
> >
> >
>
> --
> Jonathan Rochkind
> Digital Services Software Engineer
> The Sheridan Libraries
> Johns Hopkins University
> 410.516.8886
> rochkind (at) jhu.edu


Re: [CODE4LIB] place for code examples?

2008-03-31 Thread Kevin S. Clarke
On Mon, Mar 31, 2008 at 11:35 AM, Jonathan Rochkind <[EMAIL PROTECTED]> wrote:
>  Everyone seemed to agree that one or two or three
>  code4libbers were neccesary to accept responsibility as "app admin
>  coordinator" on the machine, but nobody actually volunteered to do that,
>  so we're a bit stuck.  If we had a process/structure in place, and there
>  was an app you wanted installed on code4lib.org to do this, there might
>  be a way to do that---depending on what process/structure we come up
>  with. But without one...

Are we at the point where OSU is ready to start giving out accounts?
If so, do we need volunteers for sys admins (in addition to Ryan
Ordway)?  If we can't get one or two volunteers then maybe this
site/machine isn't that important after all.  I knew a sys admin once
who used to say, "You have to let things break every once and awhile
so people know how important you are."

I think sys admins are the first thing to get set up.  After those
people are in place, then I think it's just a matter of someone
saying, "I want to maintain this application" and one of the sys
admins can get them started.  I'd be glad to step up to be an app
admin to co-manage the Planet at that point.  I mean... I guess there
could be some formal process and the community could vote whether an
application goes onto the machine.

I still think if you want a production machine, though, you shouldn't
be doing development on there.  If you want to do something with
DokuWiki put it some other place first and get it like you want it
there.  Otherwise, I think we're just recreating anvil with all the
inherent problems that an open/development environment will entail.
Of course, making that decision can fall to the sys admins if the
community doesn't have a preference (they'll be the ones who get to
pick up the pieces anyway).

My 2 cents...

Kevin

--
There are two kinds of people in the world: those who believe there
are two kinds of people and those who know better.


Re: [CODE4LIB] place for code examples?

2008-03-31 Thread Jonathan Rochkind

I don't know if it's the best solution, but you could use the code4lib
wiki if you like. wiki.code4lib.org.  Won't have code formatting or
anything like that.

Incidentally, I'm interested in getting a DokuWiki installation going
for code4lib, which I think will serve our needs somewhat better than
the current MediaWiki.  But that goes back to the thread I introduced
which died about how to grant shell access to code4libbers on the OSU
hosted code4lib.org.  Everyone seemed to agree that one or two or three
code4libbers were neccesary to accept responsibility as "app admin
coordinator" on the machine, but nobody actually volunteered to do that,
so we're a bit stuck.  If we had a process/structure in place, and there
was an app you wanted installed on code4lib.org to do this, there might
be a way to do that---depending on what process/structure we come up
with. But without one...

Jonathan

Keith Jenkins wrote:

Does there already exist some place to put some code examples to share
with the code4lib community?  (I'm thinking of snippets somewhere on
the order of 10-100 lines, like the definition of a php function.)

Keith




--
Jonathan Rochkind
Digital Services Software Engineer
The Sheridan Libraries
Johns Hopkins University
410.516.8886
rochkind (at) jhu.edu


Re: [CODE4LIB] dict protocol

2008-03-31 Thread Tim Shearer

Hi Eric,

Given the likely need to map back from an alternate name (string search in
the definition?) to the auth name (maybe the most common use for such a
service?), I think this route might be on the inefficient side.

I've been wondering about names as handles, with a crossref-like middleman
piece.  But not doing anything about such ideas.

-t

On Mon, 31 Mar 2008, Eric Lease Morgan wrote:



Over the weekend I had fun with the DICT protocol, a DICT server, a
DICT client, and the creation of dictionaries for the afore mentioned.

The DICT protocol seems to be a simple client/server protocol for
searching remote content and returning "definitions" of the query.
[1] I was initially drawn to the protocol for its content.
Specifically, I wanted a dictionary because I thought it would be
useful in a "next generation" library catalog application. The server
was trivial to install because it is available via yum. Since it is
protocol there are a number of clients and libraries available.
There's also bunches o' data to be had, albeit a bit dated. Some of
it includes: 1913 dictionary, version 2.0 of WordNet, the CIA World
Fact Book (2000), Moby's Thesaurus, a gazetteer, and quite a number
of English to other dictionaries.

What's interesting is the DICT protocol data is not limited to
"dictionaries" as the Fact Book exemplifies. The data really only has
two fields: headword (key), and note (definition). After thinking
about it, I thought authority lists would be a pretty good candidate
for DICT. The headword would be the term, and the definition would be
the See From and See Also listings.

Off on an adventure, I downloaded subject authorities from FRED. [2]
I used a shell script to loop through my data (subjects2dictd,
attached) which employed XSLT to parse the MARCXML
(subjects2dict.xsl, attached) and then ran various dict* utilities.
The end result is a "dictionary" query-able with your favorite DICT
client. From a Linux shell, try:

dict -h 208.81.177.118 -d subjects -s substring blues

While I think this is pretty kewl, I wonder whether or not DICT is
the correct approach. Maybe I should use a more robust, full-text
indexer for this problem? After all, DICT servers only look at the
headword when searching, not the definitions. On the other hand DICT
was *pretty* easy to get up an running, and authority lists are a
type of dictionary.

[1] http://www.dict.org
[2] http://www.ibiblio.org/fred2.0/authorities/

--
Eric Lease Morgan
University Libraries of Notre Dame


subjects2dictd
Description: Binary data





subjects2dict.xsl
Description: Binary data





Re: [CODE4LIB] Gartner on OSS

2008-03-31 Thread Eric Lease Morgan

  edsu++

  over-categorization--

--
Earache Moron


Re: [CODE4LIB] Gartner on OSS

2008-03-31 Thread Ed Summers
FWIW, I agree with Karen and Alexander. The whole point (to my
recollection) of creating code4lib in the first place was to create a
venue where any aspect of computer programming in libraries could be
discussed. To my mind, this includes licensing, and business models,
and whether you like K&R style. Having a bunch of topic specific
lists, with even less traffic, which require you to question yourself
whether it's relevant to post your message is a bit of an anti-pattern
that I was trying to avoid at the time.

But over-categorization is an occupational hazard I suppose :-)

//Ed


Re: [CODE4LIB] Gartner on OSS

2008-03-31 Thread K.G. Schneider
> ...at the risk of upsetting *everybody*...
>
> Last I checked, this list is about code for libraries, not free/open
> source software for libraries.  If you want to discuss OSS for
> libraries, you might want to move threads like this onto one of the
> lists about OSS for libraries, or start your own new list about OSS
> for libraries if there aren't already enough for you.  :)

This list is about code for libraries. So edify me. Exactly when is a thread
appropriate for this list?  Is there anything more code-focused than a
discussion about open source? Or is this only about closed source? I think
not.

I agree with Alexander. That complaint felt like semantic nitpicking,
especially considering the discussions of the past several months: Amazon
covers for catalogs, records for Open Library, etc. But like Alexander, I'll
just back off. Enjoy your list.

Karen G. Schneider
[EMAIL PROTECTED]


[CODE4LIB] dict protocol

2008-03-31 Thread Eric Lease Morgan


Over the weekend I had fun with the DICT protocol, a DICT server, a
DICT client, and the creation of dictionaries for the afore mentioned.

The DICT protocol seems to be a simple client/server protocol for
searching remote content and returning "definitions" of the query.
[1] I was initially drawn to the protocol for its content.
Specifically, I wanted a dictionary because I thought it would be
useful in a "next generation" library catalog application. The server
was trivial to install because it is available via yum. Since it is
protocol there are a number of clients and libraries available.
There's also bunches o' data to be had, albeit a bit dated. Some of
it includes: 1913 dictionary, version 2.0 of WordNet, the CIA World
Fact Book (2000), Moby's Thesaurus, a gazetteer, and quite a number
of English to other dictionaries.

What's interesting is the DICT protocol data is not limited to
"dictionaries" as the Fact Book exemplifies. The data really only has
two fields: headword (key), and note (definition). After thinking
about it, I thought authority lists would be a pretty good candidate
for DICT. The headword would be the term, and the definition would be
the See From and See Also listings.

Off on an adventure, I downloaded subject authorities from FRED. [2]
I used a shell script to loop through my data (subjects2dictd,
attached) which employed XSLT to parse the MARCXML
(subjects2dict.xsl, attached) and then ran various dict* utilities.
The end result is a "dictionary" query-able with your favorite DICT
client. From a Linux shell, try:

  dict -h 208.81.177.118 -d subjects -s substring blues

While I think this is pretty kewl, I wonder whether or not DICT is
the correct approach. Maybe I should use a more robust, full-text
indexer for this problem? After all, DICT servers only look at the
headword when searching, not the definitions. On the other hand DICT
was *pretty* easy to get up an running, and authority lists are a
type of dictionary.

[1] http://www.dict.org
[2] http://www.ibiblio.org/fred2.0/authorities/

--
Eric Lease Morgan
University Libraries of Notre Dame



subjects2dictd
Description: Binary data





subjects2dict.xsl
Description: Binary data





Re: [CODE4LIB] Gartner on OSS

2008-03-31 Thread Alexander Johannesen
On Mon, Mar 31, 2008 at 2:45 AM, D Chudnov <[EMAIL PROTECTED]> wrote:
>  ...at the risk of upsetting *everybody*...

It's a bit depressive that once we get an interesting discussion going
on this list which normally has such low volume, and which is
*definitely* on-topic, someone comes along and tries to kill it
because it doesn't fit *their* ideal of what the topics should be.

Allow me to vent a few seconds; Sorry, but OSS is *all* about code and
often about business models, and rest assured Karen and all the rest
of us *definitely* are defining the "enterprise" in question as the
library world, so this is *all* about code for libraries. We aren't
writing code in the posts, but we certainly are talking about code.
Nitpicking about such *tiny* semantic differences is just one of those
things which drive me up the wall! Of *course* this  topic has a place
on this list, and of *course* we're not going to create Yet Another
MailingListForSomethingJustBecauseWeAreBloodyLibraries, and of
*course* we should talk about these things, and *especially* here
where coders talk about code. Code is more than syntax.

But I guess this thread is dead now, and so is at least *my* ideal of
what this list is, so take care.


Grumpy,

Alex
--
---
 Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
-- http://shelter.nu/blog/ 


Re: [CODE4LIB] Shibboleth

2008-03-31 Thread Till Kinstler

Tod Olson schrieb:

On Mar 21, 2008, at Mar 21, 9:23 AM, K.G. Schneider wrote:

If you have been involved in investigating or implementing
Shibboleth --
or alternative approaches -- I'd like to hear from you.


U. Chicago is using Shibboleth in production EZproxy,


That's what we use here at GBV ("Common Library Network", a german
library consortium) to provide access to not-yet-shibbolized (so almost
all) licensed ressources (databases and full text archives) for
"non-institutional but entitled" users (there is a program sponsored by
german research foundation DFG to license commercial content for all
German researchers, even those not affiliated with any library or public
research institution, see [1]). EZproxy performs nice as shibbolizing
proxy for commercial services (though using such a proxy perfectly turns
upside down the Shibboleth concept ...).
We keep those users in a small identity management system with
Shibboleth IdP sotware in front of and use EZproxy as service provider.
We try pushing service providers to adopt Shibboleth (so in the end we
might get rid of EZproxy). First talks with big content providers have
taken place, but we are not in production with any yet.
And there are some efforts by libraries and universities to get their
identity management going and shibbolized, but they seem to progress
rather slowly (for serveral reasons, technical (closed library software)
as well as organisational obstacles...).

Till

[1]


--
Till Kinstler
Verbundzentrale des Gemeinsamen Bibliotheksverbundes (VZG)
Platz der Göttinger Sieben 1, D 37073 Göttingen
[EMAIL PROTECTED], +49 (0) 551 39-13431, http://www.gbv.de