Re: [CODE4LIB] is python s l o o o w ? [resolved]

2015-05-18 Thread Eric Lease Morgan
On May 18, 2015, at 9:23 PM, Galen Charlton wrote: >> I have two scripts, attached. They do EXACTLY the same thing >> in almost EXACTLY the same manner, but the Python script is >> almost 25 times slower than the Perl script: > > I'm no Python expert, but I think that the difference is much more

Re: [CODE4LIB] is python s l o o o w ?

2015-05-18 Thread Galen Charlton
Hi, On Mon, May 18, 2015 at 5:35 PM, Eric Lease Morgan wrote: > I have two scripts, attached. They do EXACTLY the same thing > in almost EXACTLY the same manner, but the Python script is > almost 25 times slower than the Perl script: I'm no Python expert, but I think that the difference is much

[CODE4LIB] is python s l o o o w ?

2015-05-18 Thread Eric Lease Morgan
Is it just me, or is Python s l o o o w when compared to Perl? I have two scripts, attached. They do EXACTLY the same thing in almost EXACTLY the same manner, but the Python script is almost 25 times slower than the Perl script: $ time bin/json2catalog.py sample/ > sample.db 2>/dev/null

Re: [CODE4LIB] oops (was: [CODE4LIB] Any Apache mod_rewrite experts out there?)

2015-05-18 Thread Joe Hourcle
On Mon, 18 May 2015, Karl Holten wrote: As Joe cautioned might happen with the N directive, I get an infinite loop from this. It keeps prepending the domain name so you get http://www.google-com.topcat.switchinc.org/http://www.google-com.topcat.switchinc.org/

[CODE4LIB] Survey last call

2015-05-18 Thread Padraic Stack
[with apologies for cross-posting] Hi folks, Just posting a last call for responses to our survey. The purpose is to identify the needs and skills around managing content in fedora commons-based digital repositories in library settings. This survey will form the basis for research on how suc

Re: [CODE4LIB] oops (was: [CODE4LIB] Any Apache mod_rewrite experts out there?)

2015-05-18 Thread Karl Holten
As Joe cautioned might happen with the N directive, I get an infinite loop from this. It keeps prepending the domain name so you get http://www.google-com.topcat.switchinc.org/http://www.google-com.topcat.switchinc.org/

Re: [CODE4LIB] oops (was: [CODE4LIB] Any Apache mod_rewrite experts out there?)

2015-05-18 Thread Mark Vega
Although I'm no mod_rewrite expert, I'm a bit confused (and maybe you need to give a little more detail on what the original ezproxy urls look like), but it seems to me that if all you're trying to do is redirect http(s)://ezproxy.switchinc.org urls to a new domain, something like this should s

[CODE4LIB] Regional (midwest) Conference Registration Open - IOLUG - June 12, 2015

2015-05-18 Thread Heather Rayl
​ Registration is now open! Cost: $40 members, $65 non-members Program at a Glance 9:00am – Registration & Continental Breakfast 9:30am – Welcome and Business Meeting 10:05am – KEYNO

[CODE4LIB] oops (was: [CODE4LIB] Any Apache mod_rewrite experts out there?)

2015-05-18 Thread Joe Hourcle
On Mon, 18 May 2015, Joe Hourcle wrote: RewriteRule ^(.*)-(.*)ezproxy.switchinc.org/(.*) $1.$2ezproxy.switchinc.org/$3 [N] I wasn't thinking ... RewriteRule doesn't operate on the full URL, only on the non-host portion. You might need to do strange things w/ RewriteCond and RewriteRule i

Re: [CODE4LIB] free html editors

2015-05-18 Thread Mark Vega
If you're planning to teach to beginners, I also would recommend TextWrangler from Bare Bones software. It doesn't have a lot of bells and whistles but is free, easy to use, and was written specifically for Macs. Won't confuse new coders and can be considered a gateway editor to introduce them

Re: [CODE4LIB] free html editors

2015-05-18 Thread Riley Childs
I am also a huge fan of Cloud 9 at c9.io, it even hooks into github and is very slick. You get 1 free private "Project". //Riley -- Riley Childs Senior IT Manager Library Services Administrator Charlotte United Christian Academy office: +1 (704) 537-0331 x101 mobile: +1 (704) 497-2086 web: rileyc

Re: [CODE4LIB] Any Apache mod_rewrite experts out there?

2015-05-18 Thread Michael Berkowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 18 May 2015, Joe Hourcle said: > > If we assume that the FQDN only contains numbers, letters, dashes and > periods (no underscores or other characters), you might check how the first > one compares to: > > RewriteRule ^([a-zA-Z0-9\.]+)-([

[CODE4LIB] Job: Web developer/ User Experience Specialist at Mississippi State University

2015-05-18 Thread jobs
Web developer/ User Experience Specialist Mississippi State University Mississippi State University Position Function A professional position to assist in designing new and maintain existing interfaces that are visually appealing and built from the users' perspectives. The successful appli

Re: [CODE4LIB] free html editors

2015-05-18 Thread Shaun Ellis
There is no reason to install an editor for this purpose. Mozilla has a suite of free apps for this purpose at Webmaker: https://webmaker.org Thimble is the editor, and I think it's very nice for students that there is immediate feedback so you can see how your change affects the rendering:

Re: [CODE4LIB] Any Apache mod_rewrite experts out there?

2015-05-18 Thread Joe Hourcle
On Fri, 15 May 2015, Karl Holten wrote: My organization is changing proxy servers from WAM to EZproxy, and we would like to give staff time to change over their URLs before we make the switch. I would like to set up forwarding so the links using the new proxy get redirected to the old proxy.

Re: [CODE4LIB] free html editors

2015-05-18 Thread Schulkins, Joe
As a bit of a left field alternative there’s always Vim. Ok it might not be the best introduction to text editors, but given it exists on pretty much every platform (including Android and iPhone/iPad - http://www.vim.org/download.php) there’d be no excuses for not doing the homework. The main

Re: [CODE4LIB] Any Apache mod_rewrite experts out there?

2015-05-18 Thread James Morley
Used to have a contractor in my last job who was a wizard at this sort of thing when we did a big migration. Might be one worth posting on Stack Overflow? Good luck. From: Code for Libraries [CODE4LIB@LISTSERV.ND.EDU] on behalf of Karl Holten [khol...@sw