Re: [CODE4LIB] place for code examples?

2008-05-14 Thread Nate Vack
On Fri, Mar 28, 2008 at 4:07 PM, Keith Jenkins <[EMAIL PROTECTED]> 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.)

At the risk of sounding really stupid amidst the discussion of wikis
and repositories... why not pastie? Sure, it's not a 'forever'
solution, but will your code snippet really be interesting in 5 years?

Curious,
-Nate


Re: [CODE4LIB] place for code examples?

2008-05-14 Thread Jonathan Rochkind

1. It is set up for including code samples in a way that MediaWiki is not.
2. It allows one wiki installation to include various sub-sections which
are kept seperarate, in seperate namespaces. We have several different
independent projects on our MediaWiki, but MediaWiki mixes them all
together.
3. In general, it was written for documentation and code content, rather
than for encyclopedia content.  Code4Lib needs tilt more toward the former.

Jonathan

Andrew Darby wrote:

Out of curiosity, as an infrequent wikier, why the strong preference
for dokuwiki?

On Mon, May 12, 2008 at 10:30 AM, Jonathan Rochkind <[EMAIL PROTECTED]> wrote:


I would still personally really like a dokuwiki hosted at code4lib.org.
I am not happy with the mediawiki. If anyone is interested in setting up
and admining a dokuwiki, I would support that.

Jonathan

Ryan Eby wrote:


Just catching up now on Code4Lib emails. I threw this idea around
awhile back in #code4lib and it seemed like most thought people used
their own blog for snippets and code hosts for real projects and it
wasn't worth doing. I was thinking wiki for code snippets with maybe
svn for various small libraries / hacks. At the time I was looking at
just using trac so the two would be together.

If there's enough movement for just the snippets parts then I agree
with others that dokuwiki or drupal category would probably be useful.

Eby

On Fri, Mar 28, 2008 at 5:07 PM, Keith Jenkins <[EMAIL PROTECTED]> 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






--
Andrew Darby
Web Services Librarian
Ithaca College Library
http://www.ithaca.edu/library/
[EMAIL PROTECTED]




--
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-05-14 Thread Andrew Darby
Out of curiosity, as an infrequent wikier, why the strong preference
for dokuwiki?

On Mon, May 12, 2008 at 10:30 AM, Jonathan Rochkind <[EMAIL PROTECTED]> wrote:
> I would still personally really like a dokuwiki hosted at code4lib.org.
> I am not happy with the mediawiki. If anyone is interested in setting up
> and admining a dokuwiki, I would support that.
>
> Jonathan
>
> Ryan Eby wrote:
>>
>> Just catching up now on Code4Lib emails. I threw this idea around
>> awhile back in #code4lib and it seemed like most thought people used
>> their own blog for snippets and code hosts for real projects and it
>> wasn't worth doing. I was thinking wiki for code snippets with maybe
>> svn for various small libraries / hacks. At the time I was looking at
>> just using trac so the two would be together.
>>
>> If there's enough movement for just the snippets parts then I agree
>> with others that dokuwiki or drupal category would probably be useful.
>>
>> Eby
>>
>> On Fri, Mar 28, 2008 at 5:07 PM, Keith Jenkins <[EMAIL PROTECTED]> 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
>



--
Andrew Darby
Web Services Librarian
Ithaca College Library
http://www.ithaca.edu/library/
[EMAIL PROTECTED]


Re: [CODE4LIB] place for code examples?

2008-05-12 Thread Jonathan Rochkind

I would still personally really like a dokuwiki hosted at code4lib.org.
I am not happy with the mediawiki. If anyone is interested in setting up
and admining a dokuwiki, I would support that.

Jonathan

Ryan Eby wrote:

Just catching up now on Code4Lib emails. I threw this idea around
awhile back in #code4lib and it seemed like most thought people used
their own blog for snippets and code hosts for real projects and it
wasn't worth doing. I was thinking wiki for code snippets with maybe
svn for various small libraries / hacks. At the time I was looking at
just using trac so the two would be together.

If there's enough movement for just the snippets parts then I agree
with others that dokuwiki or drupal category would probably be useful.

Eby

On Fri, Mar 28, 2008 at 5:07 PM, Keith Jenkins <[EMAIL PROTECTED]> 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-05-11 Thread Ryan Eby
Just catching up now on Code4Lib emails. I threw this idea around
awhile back in #code4lib and it seemed like most thought people used
their own blog for snippets and code hosts for real projects and it
wasn't worth doing. I was thinking wiki for code snippets with maybe
svn for various small libraries / hacks. At the time I was looking at
just using trac so the two would be together.

If there's enough movement for just the snippets parts then I agree
with others that dokuwiki or drupal category would probably be useful.

Eby

On Fri, Mar 28, 2008 at 5:07 PM, Keith Jenkins <[EMAIL PROTECTED]> 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
>


Re: [CODE4LIB] place for code examples?

2008-04-01 Thread Redirect-as-sender
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++

Yes, this is what I was thinking of... a place for library-related
code snippets, things that are useful, but far too small to be
considered a project.
I'd be in favor of any wiki that won't mangle the code formatting.
(Syntax highlighting, while not essential, would not be unwelcome.)

Keith


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] 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] 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] 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


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] place for code examples?

2008-03-28 Thread Tom Keays
For PHP, you might try:

PHP: http://www.teamphp.com/php-snipplets/

Refactor My Code is an especially interesting snippet library because
of its social aspect. Borrowing the description from Alf Eaton, (
http://hublog.hubmed.org/archives/001616.html ) it more about "here's
some code that works, how I can I make it better?" rather than "here's
some broken code, how do I make it work?".

http://refactormycode.com/

Probably more like what you were asking for is DZone, which is an
active and busy snippet library with a voting function.

http://snippets.dzone.com/

It uses a tagging paradigm, so to find php snippets:

http://snippets.dzone.com/tag/php

Another general one is CodR.us:

http://codr.us/category/PHP/

The lisp pastbin is often used for posting code snippets to IRC
channels on Freenode. Don't be fooled by the name, it takes more than
lisp snippets.

http://paste.lisp.org/
http://paste.lisp.org/channels

The #code4lib channel uses this one:

http://paste.lisp.org/new/code4lib

If you're looking for a pastebin to test run a snippet, try:

http://codepad.org/

A couple of search engines (those I use) to find code bits:

http://www.koders.com/
http://www.krugle.org/
http://www.google.com/codesearch

Tom

On Fri, Mar 28, 2008 at 5:07 PM, Keith Jenkins <[EMAIL PROTECTED]> 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
>


Re: [CODE4LIB] place for code examples?

2008-03-28 Thread Smith,Devon
Perhaps  http://codepad.org/about ? (although it doesn't support php
yet.)

-Original Message-
From: Code for Libraries [mailto:[EMAIL PROTECTED] On Behalf Of
Keith Jenkins
Sent: Friday, March 28, 2008 5:08 PM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: [CODE4LIB] place for code examples?

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


Re: [CODE4LIB] place for code examples?

2008-03-28 Thread Cloutman, David
I've often thought that there should be, if there isn't one already. I
know I have bits here and there that I'd like to share.



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

-Original Message-
From: Code for Libraries [mailto:[EMAIL PROTECTED] On Behalf Of
Keith Jenkins
Sent: Friday, March 28, 2008 2:08 PM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: [CODE4LIB] place for code examples?


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

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


[CODE4LIB] place for code examples?

2008-03-28 Thread Keith Jenkins
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