Re: [CODE4LIB] CODE4LIB Digest - 18 Dec 2011 to 19 Dec 2011 (#2011-310)

2011-12-20 Thread Stern, Randall
I too am willing to help and serve on the committee. - Randy Stern Manager of Systems Development Office for Information Systems, Harvard Library -- Date:Mon, 19 Dec 2011 14:08:22 + From:Friscia, Michael michael.fris...@yale.edu Subject: Re: Subject: Re:

[CODE4LIB] math problem

2011-12-20 Thread Nate Hill
Here's a brain teaser for the mathematically inclined: I've got a set of values that I want to scale to the 0-255 range so that I can adjust colors in my CSS. Say I have the following data: (6, 457, 97, 200, 122). I'd like to scale those numbers so that the highest one, 475 = 255. and the lowest

Re: [CODE4LIB] math problem

2011-12-20 Thread Tod Olson
Off the cuff, I think you're looking for f(x) = (x-m) * 255 / (M-m) where M is the maximum in the input data set, m in the minimum, and x is the number in hand. -Tod On Dec 20, 2011, at 10:57 AM, Nate Hill wrote: Here's a brain teaser for the mathematically inclined: I've got a set of

Re: [CODE4LIB] math problem

2011-12-20 Thread Cary Gordon
(255*x)/457 ? On Tue, Dec 20, 2011 at 8:57 AM, Nate Hill nathanielh...@gmail.com wrote: Here's a brain teaser for the mathematically inclined: I've got a set of values that I want to scale to the 0-255 range so that I can adjust colors in my CSS. Say I have the following data: (6, 457, 97,

Re: [CODE4LIB] math problem

2011-12-20 Thread Cary Gordon
The highest one (at least it's not me) is 457, btw. On Tue, Dec 20, 2011 at 9:05 AM, Cary Gordon listu...@chillco.com wrote: (255*x)/457 ? On Tue, Dec 20, 2011 at 8:57 AM, Nate Hill nathanielh...@gmail.com wrote: Here's a brain teaser for the mathematically inclined: I've got a set of

Re: [CODE4LIB] math problem

2011-12-20 Thread Cary Gordon
Okay, maybe it is me. (255*(x-6))/451 On Tue, Dec 20, 2011 at 9:03 AM, James Stuart james.stu...@gmail.com wrote:  255 * (point - data.min) / (data.max - data.min) On Tue, Dec 20, 2011 at 11:57 AM, Nate Hill nathanielh...@gmail.com wrote: Here's a brain teaser for the mathematically

Re: [CODE4LIB] math problem

2011-12-20 Thread Nate Vack
On Tue, Dec 20, 2011 at 10:57 AM, Nate Hill nathanielh...@gmail.com wrote: This way, when I loop through and hit my CSS {background-color:rgb(255, **data**, 255);} each piece of data will generate a different color and I'll have the maximum spread in proportionally correct colors from 0-255.

Re: [CODE4LIB] math problem

2011-12-20 Thread Nate Hill
Thanks Nate- I'll get this working and check back with these other options. I've got a top 25 list of fiction titles, and I'm making a set of divs change color according to how many times they've been checked out. If it looks bad and it's a lousy approach no doubt I'll try something else. On

Re: [CODE4LIB] Obvious answer to registration limitations

2011-12-20 Thread Nordstrom, Kurt
I suggested that all registration for C4L should go through zoia. If you don't know who zoia is, maybe you should learn more about the C4L community before queuing for a conference spot. ;) -Kurt From: Code for Libraries [CODE4LIB@LISTSERV.ND.EDU] on

Re: [CODE4LIB] math problem

2011-12-20 Thread Nate Vack
On Tue, Dec 20, 2011 at 11:48 AM, Nate Hill nathanielh...@gmail.com wrote: I've got a top 25 list of fiction titles, and I'm making a set of divs change color according to how many times they've been checked out.  If it looks bad and it's a lousy approach no doubt I'll try something else. Ah,

[CODE4LIB] Islandora Announces 11.3.0 Release

2011-12-20 Thread David Wilcox
* Apologies for cross-posting* We are pleased to announce the release of Islandora 11.3.0! You can download all available modules from http://islandora.ca/download, or test drive the release at http://sandbox.islandora.ca. A guide to this release is available here:

Re: [CODE4LIB] Islandora Announces 11.3.0 Release

2011-12-20 Thread Wilfred Drew
I was wondering what Islandora is. Here is the description form the about page: Islandora is an open source framework developed by the University of Prince Edward Island's Robertson Library. Islandora uniquely combines the Drupal and Fedora open software applications to create a robust digital

[CODE4LIB] Repository developer job @ Cornell Library

2011-12-20 Thread Simeon Warner
WANTED: MOTIVATED DEVELOPER to join the repositories group within Cornell University Library. http://goo.gl/yXuep Join a 6 person team working on major repository projects including arXiv.org (http://arxiv.org/, which has transformed scientific communication, allowing scientists to

[CODE4LIB] Drupal panelists needed for ALA Midwinter!

2011-12-20 Thread Nina Mchale
***Apologies for Cross-Posting*** We could still use 1-2 more folks to serve on the LITA Drupal Interest Group's Fail Panel, which will take place during the IG meeting on Saturday, January 21st from 1:30-3:30 pm. Virtual participants are welcome; this IG has presented pre-recorded presentations