Re: [CODE4LIB] php and email

2016-02-26 Thread Mark Pernotto
Do you have the ability to specify an SMTP mail server?

http://php.codeindepth.com/php-sending-mail/

.m

On Fri, Feb 26, 2016 at 2:53 PM, Park, Sarah  wrote:

> Did you try PhpMailer? It includes SMTP functionality.
>
> Sarah Park
>
> -Original Message-
> From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
> Kaile Zhu
> Sent: Friday, February 26, 2016 4:23 PM
> To: CODE4LIB@LISTSERV.ND.EDU
> Subject: Re: [CODE4LIB] php and email
>
> I tried.  It seems without a mail server, it won't work.  - Kelly
>
> -Original Message-
> From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
> Erik Sandall
> Sent: Friday, February 26, 2016 4:20 PM
> To: CODE4LIB@LISTSERV.ND.EDU
> Subject: Re: [CODE4LIB] php and email
>
> Hi Kelly,
>
> PHP has a mail function that you can incorporate into your scripts. The
> manual page is here:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__secure.php.net_manual_en_function.mail.php=CwIC-g=URKFmO0h1-PpCttSQ3v_bEhalPi_sNmh-_LG0Bso5YA=UmjVf-1YCnSJ8ymaevl-35Anh5CG-YF09ZrBGH_xV3U=Y2klCC-6Dhar7sB9-IRgKrAmwCBSC5FuSpCTARGME6w=wFuddn5VUWc783vIPFXYAN81v0JOn4JHNZZbdlbtwLI=
>
> /e
>
> --
> Erik Sandall, MLIS
> Electronic Services Librarian & Webmaster Mechanics' Institute
> 57 Post Street
> San Francisco, CA 94104
> 415-393-0111
> esand...@milibrary.org
>
>
> On 2/26/2016 1:50 PM, Kaile Zhu wrote:
> > Hi,
> >
> > Our library has a website run on PHP.  The university IT would not help
> to set up email capability via Web.  My question is, what are the options
> there that I can add email notification capability to our website, and how?
> >
> > Our server is Windows 2008r2, PHP5.6, IIS 7.5.
> >
> > Thanks.
> >
> > Kelly Zhu
> >
>


Re: [CODE4LIB] Responsive website question

2016-02-05 Thread Mark Pernotto
Kyle,

Looking at the inspector in Chrome, it's trying to load this JS file:
http://www.ubalt.edu/_resources/js/2015/build_old/main.js

Which doesn't exist (takes it to a 404 page). However, you're loading the
404 page, and it's causing an error, possibly disrupting the CSS structure
somewhere. Looks like there are also some other jQuery deprecations
enlisted as well.


​

The correct link should be:
http://www.ubalt.edu/_resources/js/2015/build/main.js

.m


On Fri, Feb 5, 2016 at 11:06 AM, Daron Dierkes 
wrote:

> It sounds like you're doing this within a browser, so why not find some
> sort of magnifying glass extension?  Like maybe this one?
> https://addons.mozilla.org/en-US/firefox/addon/magnifier/
>
>
>
> On Fri, Feb 5, 2016 at 12:53 PM, Junior Tidal 
> wrote:
>
> > Hi Kyle,
> >
> > Our site is also responsive. As a work around, I've used screenshots of
> > the site.
> >
> > Hope that helps!
> >
> > Best,
> > Junior
> >
> > Junior Tidal
> > Associate Professor
> > Web Services and Multimedia Librarian
> > New York City College of Technology, CUNY
> > 300 Jay Street, Rm A434
> > Brooklyn, NY 11201
> > 718.260.5481
> >
> > http://library.citytech.cuny.edu
> >
> >
> > >>> Kyle Breneman  2/5/2016 1:40 PM >>>
> > Happy Friday, everybody!
> >
> > Our library recently got a shiny new, responsive-esque website.
> >   The reference librarians frequently zoom
> in
> > on our homepage during class instruction, and have noticed that after
> they
> > zoom in a bit, our homepage switches from desktop to the mobile layout.
> >
> > Is there any easy way around this?  In other words, is it possible to fix
> > the site so that, if a user is on a desktop/laptop, zooming in on the
> > homepage will *not* flip the user over to the mobile layout?
> >
> > Thanks for your help!
> >
> > Kyle
> >
>


Re: [CODE4LIB] replacing deprecated PHP code throughout website

2015-04-29 Thread Mark Pernotto
Ken,

I've used both PDO as well as mysqli. My preference is mysqli over PDO.
Mysqli is almost identical to the mysql in syntax, in terms of how you call
the functions, but it is a bit different in other areas. The PHP docs
should point you in the right direction.

Not to beat a dead horse, but it's been my experience, that once you set up
OOP, it's easier to maintain. No more digging through db calls within the
application, as everything's kept nice and neat in a few dedicated class
definitions.

Just my 2 cents.
.m






On Wed, Apr 29, 2015 at 10:01 AM, Ken Irwin kir...@wittenberg.edu wrote:

 Hello all,

 I've just learned that the PHP mysql_* functions are all deprecated as of
 PHP 5.5, and I'm trying to figure out what this means for my life. My
 library's website is heavily database-driven, hand-coded, and all written
 using the mysql_* functions. It's currently running PHP 5.4, so presumably
 code all needs to be updated before the next server upgrade.

 So I'm looking for a little advice:


 1.   Is there a general consensus on what the best long-term
 alternative to the mysql_* functions is? I see a bunch of references to the
 PDO extension, which is available on our server. Is that The Answer, or
 should I be looking other places as well.

 2.   Does anyone have advice about how to proceed with an enormous
 overhaul like this? I'm sure I'll be working on a development copy of the
 server until everything is all worked out. But beyond that, advice would be
 welcome. Have you employed students to do work like this?

 3.   I wonder what other broad-sweeping old-fashionednesses may also
 be about to rear up and bite me. If you imagine that I learned procedural
 (almost never object-oriented) PHP 4 in about 2000 and am slow to change my
 ways, can you predict what sort of deprecated foolishness I might still be
 perpetrating?

 Any advice, input, or experience would be appreciated!

 Thanks
 Ken



Re: [CODE4LIB] Recommendations for places to advertise for a library systems guru?

2015-04-22 Thread Mark Pernotto
What all does this position entail? I've seen a lot of 'systems' jobs that
require software development. Possibly consider posting in the appropriate
Stack Exchange / Stack Overflow Careers site?

On Wed, Apr 22, 2015 at 7:39 AM, Stephen Schor stephensc...@nypl.org
wrote:

 Consider going through the required skills for the position and look for
 local meetups for those skills.
 There's likely a local/regional user group dedicated to those skills.
 For example: DevOps, language, framework specific groups.


 On Wed, Apr 22, 2015 at 10:18 AM, Jack Hill jackh...@duke.edu wrote:

  Jon,
 
  I would also look at advertising through local technical user groups or
  meetings that touch on topics related to the job.
 
  Best,
  Jack
 
 
  On Wed, 22 Apr 2015, Jon Gorman wrote:
 
   Hi all,
 
  I thought I'd ask folks what resources and places one could advertise
  positions that might not fall in some of the more traditional for
  libraries
  for systems folks.
 
  The more obvious seem to be LITA/ALA, here at Code4Lib, and perhaps some
  of
  the other library organizations. Also postings in newspapers in the area
  is
  a typical move by us.
 
  But I'm also considering IEEE  ACM job listings and asking CS faculty
 for
  recommendations.
 
  I'm sure there's even more that I haven't thought of. So I'm curious
 about
  other suggestions or ideas? Particularly are there any that have worked
 to
  draw in candidates with a strong IT background?
 
  Jon Gorman
  University of Illinois
 
 



Re: [CODE4LIB] Vote for Code4lib 2016 location

2015-02-23 Thread Mark Pernotto
Having recently read both proposals, my only concern is that SLA is in
Philadelphia in 2016. I like traveling east, but twice to Philadelphia
within 6 months of each other is a bit much for me. I realize not everyone
is in SLA, or coming from the west, just wanted to point it out.

I do like the multi-track idea, and do appreciate an organization spreading
annual conferences around the country. Perhaps 2016 just isn't my year
(which is fine, too).

.m





On Mon, Feb 23, 2015 at 11:50 AM, Sarah Shealy sarah.she...@outlook.com
wrote:

 There are definitely amazing points in both proposals. Either way it goes
 C4L is going to be awesome in 2016.
 Everyone has a different motivation on voting, and think we should keep
 that in mind. Two years running on the west coast might be more than some
 can afford. Some may have personal reasons for preferring LA (or can't
 afford to travel east). Other people may feel super strongly about the
 Philly beer selection. Or have personal ties to the locations that may be
 used in LA.
 On the subject of single vs multi-track, I'd say that I would have *loved*
 a break from the way-over-my-head-and-super-technical single track just for
 an hour or 2. But that doesn't mean it *should* be that way - I think it
 could vary from year to year based on proposals. There's no reason not to
 have a single-track year followed my a hybrid followed by a single-track
 year. That's one of the beauties of C4L.
  Date: Mon, 23 Feb 2015 19:18:19 +
  From: frumk...@email.arizona.edu
  Subject: Re: [CODE4LIB] Vote for Code4lib 2016 location
  To: CODE4LIB@LISTSERV.ND.EDU
 
  A couple of thoughts:
 
  1) It takes a lot of effort to put these proposals together. Let's not
  lose sight that both proposals are good proposals, and that's why we have
  a vote. I'm sure there are various opinions on both proposals.
 
  2) Separate from either proposal, I was struck this year by a greater
  diversity in topic areas for code4lib than I have observed in the past.
  There definitely felt like there was interest in tracks that were not as
  code-focused (such as culture / community, management, etc.). With the
  conference growing to the size it has, I personally feel it might be
  interesting to try a hybrid of single / multi-track, to allow those
  attending an opportunity to have the ability to have some additional
 focus
  on some theme areas. When we started code4lib, the size of the conference
  was such that a single track made a lot of sense; as the event has grown,
  both in size and maturity, I'd like to suggest that it may be worth
  exploring having both single track sessions and multi-track sessions to
  allow deeper dives by different segments of the attendees.
 
  Just my $.02
 
  -- jaf
 
  ---
  Jeremy Frumkin
  Assistant Dean / Chief Technology Strategist
  University of Arizona Libraries
 
  +1 520.626.7296
  j...@arizona.edu
  
  A person who never made a mistake never tried anything new. - Albert
  Einstein
 
 
 
 
  On 2/23/15, 12:09 PM, Riley Childs rchi...@cucawarriors.com wrote:
 
  I agree, the appeal of code4lib is the single track.
  
  Sent from my Windows Phone
  
  --
  Riley Childs
  Senior
  Charlotte United Christian Academy
  Library Services Administrator
  IT Services Administrator
  (704) 537-0331x101
  (704) 497-2086
  rileychilds.net
  @rowdychildren
  I use Lync (select External Contact on any XMPP chat client)
  
  CONFIDENTIALITY NOTICE:  This email and any files transmitted with it
 are
  the property of Charlotte United Christian Academy.  This e-mail, and
 any
  attachments thereto, is intended only for use by the addressee(s) named
  herein and may contain confidential information that is privileged
 and/or
  exempt from disclosure under applicable law.  If you are not one of the
  named original recipients or have received this e-mail in error, please
  permanently delete the original and any copy of any e-mail and any
  printout thereof. Thank you for your compliance.  This email is also
  subject to copyright. No part of it nor any attachments may be
  reproduced, adapted, forwarded or transmitted without the written
 consent
  of the copyright ow...@cucawarriors.com
  
  
  From: Collier, Aaronmailto:acoll...@calstate.edu
  Sent: ?2/?23/?2015 2:08 PM
  To: CODE4LIB@LISTSERV.ND.EDUmailto:CODE4LIB@LISTSERV.ND.EDU
  Subject: Re: [CODE4LIB] Vote for Code4lib 2016 location
  
  In conjunction with the distributed location pre-conferences AND
  multi-track the proposal is not very appealing.
  
  -Original Message-
  From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
  Fox, Bobbi
  Sent: Monday, February 23, 2015 10:51 AM
  To: CODE4LIB@LISTSERV.ND.EDU
  Subject: Re: [CODE4LIB] Vote for Code4lib 2016 location
  
  Is there wiggle room on the Philadelphia multiple track proposal, or
 

Re: [CODE4LIB] what good books did you read in 2014?

2014-12-09 Thread Mark Pernotto
Fun question - thanks!

In no particular order:

*What If?: Serious Scientific Answers to Absurd Hypothetical Questions* by
Randall Munroe
- *I really enjoy the physics, as well as the absurdity.*

*Two Scoops of Django 1.6*
- *based on Andromeda's recommendation - thanks! Looks like I have another
Django book to read now. Really appreciate it!*

*Invincible Compendium Volume 2* by Robert Kirkman
- *someone had gifted me Compendium 1 last Christmas - I just had to
continue. I feel accomplished after reading such a large book*

*Wonders of Life* by Brian Cox
- *I know there's a lot of hype surrounding Neil Degrasse Tyson's Cosmos,
but I prefer Cox's presentation. He also did a series Wonders of the
Universe and Wonders of the Solar System years ago. If you hurry, you
can get the 3-series BluRay set for $0.12 cheaper than just Wonders of
Life*


On Tue, Dec 9, 2014 at 6:47 AM, Andromeda Yelton andromeda.yel...@gmail.com
 wrote:

 Hey, code4lib! I bet you consume fascinating media. What good books did you
 read in 2014 that you think your colleagues would like, too?  (And hey,
 we're all digital, so feel free to include movies and video games and so
 forth.)

 Mine:
 http://www.obeythetestinggoat.com/ (O'Reilly book, plus read free online)
 -
 a book on testing from a Django-centric, front end perspective. *Finally* I
 get how testing works. This book rewrote my brain.

 _The Warmth of Other Suns_ - finally got around to reading this magnum opus
 history of the Great Migration, am halfway through, it's amazing. If you're
 looking for some historical context on how we got to Ferguson, Isabel
 Wilkerson has you covered.

 _Her_ - Imma let you finish, Citzenfour and Big Hero 6 and LEGO movie and
 Guardians of the Galaxy - you were all good - but I walked out of the
 theater and literally couldn't speak after this one. Plus, funniest
 throwaway scene ever. Almost fell out of my chair.

 _Tim's Vermeer_ - wait, no, watch that one too. Weird tinkering genius who
 can't paint obsesses over recreating a Vermeer with startling,
 physics-driven results. Also, Penn Jillette.

 --
 Andromeda Yelton
 Board of Directors, Library  Information Technology Association:
 http://www.lita.org
 Advisor, Ada Initiative: http://adainitiative.org
 http://andromedayelton.com
 @ThatAndromeda http://twitter.com/ThatAndromeda



Re: [CODE4LIB] what good books did you read in 2014?

2014-12-09 Thread Mark Pernotto
On the (board) gaming front: not new, but *Lords of Waterdeep* was quick to
learn, and very dynamic, with a fantastic expansion pack!

.m

On Tue, Dec 9, 2014 at 11:52 AM, Andreas Orphanides akorp...@ncsu.edu
wrote:

 I had fun with both the Southern Reach trilogy (Jeff VanderMeer) and The
 Expanse series (James S. A. Corey). If you're into sci-fi-ish stuff.

 On Tue, Dec 9, 2014 at 2:46 PM, Heather Rayl 23e...@gmail.com wrote:

  While I've done a lot of re-reading this past year (something that I do
  when I'm particularly stressed), I did read a few new things thanks to my
  book club. The one that sticks with me is _The Enchanted_, by Rene
 Denfeld.
 
  It had me reeling by the end of the book, and I am still thinking about
 it
  three months later. And I will probably end up reading it at least a
 second
  time, if I can go through it again.
 
  ~heather
 
  On Tue, Dec 9, 2014 at 2:33 PM, Galvan, Angela angela.gal...@osumc.edu
  wrote:
 
   I have an unhealthy love for William Gibson's latest novel, _The
   Peripheral_.
  
   Like Andromeda, I thought _Her_ was incredible.
  
   Not from this year, but _MISS DMZ_ found here:
   http://www.yhchang.com/MISS_DMZ.html. I learned about this from a talk
   Seo-Young Chu gave on representation of the DMZ in science fiction.
 She's
   also the author of _Do Metaphors Dream of Literal Sleep? A
   Science-Fictional Theory of Representation_ which I've been meaning to
  read
   but am terrified it will make me consider a PhD again.
  
   A.S. Galvan
   Digital Reformatting Specialist
   Head, Document Delivery
   The Ohio State University
   Health Sciences Library
   angela.gal...@osumc.edu
  
  
   -Original Message-
   From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf
 Of
   Andromeda Yelton
   Sent: Tuesday, December 09, 2014 9:47 AM
   To: CODE4LIB@LISTSERV.ND.EDU
   Subject: [CODE4LIB] what good books did you read in 2014?
  
   Hey, code4lib! I bet you consume fascinating media. What good books did
   you read in 2014 that you think your colleagues would like, too?  (And
  hey,
   we're all digital, so feel free to include movies and video games and
 so
   forth.)
  
   Mine:
   http://www.obeythetestinggoat.com/ (O'Reilly book, plus read free
  online)
   - a book on testing from a Django-centric, front end perspective.
  *Finally*
   I get how testing works. This book rewrote my brain.
  
   _The Warmth of Other Suns_ - finally got around to reading this magnum
   opus history of the Great Migration, am halfway through, it's amazing.
 If
   you're looking for some historical context on how we got to Ferguson,
   Isabel Wilkerson has you covered.
  
   _Her_ - Imma let you finish, Citzenfour and Big Hero 6 and LEGO movie
 and
   Guardians of the Galaxy - you were all good - but I walked out of the
   theater and literally couldn't speak after this one. Plus, funniest
   throwaway scene ever. Almost fell out of my chair.
  
   _Tim's Vermeer_ - wait, no, watch that one too. Weird tinkering genius
  who
   can't paint obsesses over recreating a Vermeer with startling,
   physics-driven results. Also, Penn Jillette.
  
   --
   Andromeda Yelton
   Board of Directors, Library  Information Technology Association:
   http://www.lita.org
   Advisor, Ada Initiative: http://adainitiative.org
   http://andromedayelton.com @ThatAndromeda 
   http://twitter.com/ThatAndromeda
  
 



Re: [CODE4LIB] Drupal question

2014-11-06 Thread Mark Pernotto
At first glance, it looks like you could possibly be missing access to a
required file. :)

The dynamic path mentioned: 'library/Detector/lib/ua-
parser-php/UAParser.php'
doesn't look WordPress-y to me. I'm wondering:
1) If you have copied the theme in it's entirety
2) If somehow paths got mixed up.

Another thing that looks odd to me is the placement of that functions.php
file. The functions.php file, within a WP system, is normally contained in
a designated theme name directory - not directly in the 'themes' folder.
I'd expect to see that path look more like this:
/var/www/html/wp-content/themes/YourThemeNameHere/functions.php
where YourThemeNameHere is the theme you've chosen for your site.

Just a hunch: where did you place that theme? Did you copy it directly in
the 'themes' directory, or did you copy the folder it was contained in as
well? In other words, when you look inside that 'themes' directory, do you
see a bunch of files? There shouldn't be anything in there but folders.

If you had someone you trust to take a look at this setup, or play around
with that functions.php file, that's the route I'd go, if you didn't feel
comfortable with it yourself.

Is this a 'live' site?

.m


On Thu, Nov 6, 2014 at 2:04 AM, Sergio Letuche code4libus...@gmail.com
wrote:

  sudo tail  /var/log/apache2/error.log

 PHP Fatal error:  require_once(): Failed opening required
 'library/Detector/lib/ua-parser-php/UAParser.php'
 (include_path='.:/usr/share/php:/usr/share/pear') in
 /var/www/html/wp-content/themes/functions.php on line 12

 this is what i get, any suggestions?



 2014-11-05 9:58 GMT+02:00 Sergio Letuche code4libus...@gmail.com:

  Login to wordpress...
  AppearanceThemesClick on activate to see  the theme you want.
 
  When i do this, i get the WSOD. I was hoping for an answer from the
  software authors.
 
  It seems that this theme when activated needs also some plugins to be
  installed along
 
 
 
 http://thomasgriffinmedia.com/blog/2011/09/automatically-install-plugins-with-themes-for-wordpress/
 
  So i was hoping for some answer from the software authors, there may be
  some prerequisite actions i am missing.
 
  Drupal has strong, well-supported and proven media tools.
 
  I agree, but looking at the librarylearn demo, made us really want to
 give
  it a try.
 
  Thank you all for your answers
 
  2014-11-04 20:22 GMT+02:00 Cary Gordon listu...@chillco.com:
 
  It is amazing to me that a question about media management through
 Drupal
  has morphed into a WP WSOD question.
 
  Once again, Drupal has strong, well-supported and proven media tools.
 
  Cary
 
   On Nov 4, 2014, at 10:03 AM, Mark Pernotto mark.perno...@gmail.com
  wrote:
  
   Sergio,
  
   If you can't login to WP at all, there's possibly bigger issues at
 play
   here.  Try this:
  
   put:
  
   define('WP_DEBUG', true);
  
   in your wp-config.php file; you probably already have the definition,
  just
   change it to *true*. No parentheses.
   I'd normally never suggest that for a 'live' site, but that WSOD isn't
   doing you any favors at the moment, either. What this does, is
  essentially
   show you on that white screen what/where your error might be. Also pay
   attention to the URL that's displayed in the address bar - can you
 still
   navigate about your site? Is every page blank? Is it only admin?
  
   If that isn't working, try removing the theme from the
 wp-content/themes
   directory.
  
   Did you make backups before you did this? Just curious.
  
   .m
  
  
  
   On Tue, Nov 4, 2014 at 9:17 AM, Sergio Letuche 
 code4libus...@gmail.com
  
   wrote:
  
   well i did exactly this, and then i got a blank screen
  
   the zip i downloaded from github, extracted to a working setup of
  wordpess,
   in web-root/wp-content/themes/
   librarylearn
  
   what am i doing wrong?
  
   2014-11-04 14:53 GMT+02:00 Riley Childs rchi...@cucawarriors.com:
  
   Well it is intended for WordPress, but in WordPress you can drop the
   files
   in web-root/wp-content/themes/librarylearn
  
  
   --
   Riley Childs
   Senior
   Charlotte United Christian Academy
   IT Services Administrator
   Library Services Administrator
   https://rileychilds.net
   cell: +1 (704) 497-2086
   office: +1 (704) 537-0331x101
   twitter: @rowdychildren
   Checkout our new Online Library Catalog:
   https://catalog.cucawarriors.com
  
   Proudly sent in plain text
  
   -Original Message-
   From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On
 Behalf
  Of
   Sergio Letuche
   Sent: Tuesday, November 04, 2014 7:36 AM
   To: CODE4LIB@LISTSERV.ND.EDU
   Subject: Re: [CODE4LIB] Drupal question
  
   does anyone know how could i install this theme from github?
  
   https://github.com/shermanlibrary/librarylearn
  
  
  
   2014-11-03 14:14 GMT+02:00 Sergio Letuche code4libus...@gmail.com
 :
  
   thank you for your quick reply, how one could install it?
  
   I am familiar with drupal distributions only i am afraid

Re: [CODE4LIB] LibraryLearn was RE: [CODE4LIB] Drupal question

2014-11-06 Thread Mark Pernotto
Thanks, Michael.

I apologize for jumping into the question so late, and not bothering to
read the original inquiry; I saw that some initial attempts were made, and
didn't work, and I love to solve problems.

This one, however, can be resolved without the need for custom themes. As
Michael said, WP will accept HTML5 video - it looks like all you'd have to
do is just drop a hyperlink in the edit page WYSIWYG - done.

If you wanted a gallery, I suppose you could roll your own, but this plugin
doesn't look terrible, was updated Monday, and (at least they said) it's
compatible with 4.0:
https://wordpress.org/plugins/gallery-video/screenshots/

It's just a plugin - not a theme. Plugins-Add New

I don't do a whole lot of work with WP anymore, or Drupal for that matter -
again, I just like the challenge of a problem.

.m


On Thu, Nov 6, 2014 at 9:16 AM, Michael Schofield mschofi...@nova.edu
wrote:

 Hi friendly folks,

 I created LibraryLearn for the project developed by Jamie Segno and
 Michelle Keba, and I am just about to get around to a couple of emails sent
 directly to me but I figured I'd chime in with some important things:

 1. LibraryLearn's public repo is not up to date - the next one is a biggie:
 2. LibraryLearn is highly dependent on the rest of the Sherman Library's
 ecosystem. It *is not* packaged for reuse and you probably *shouldn't use
 it*, especially in the state as it was left on the repo.

 On LibraryLearn.com I wrote:

 It's device agnostic, light weight, is smart and dynamic, and
 future-friendly - and it's totally yours if you're willing to wait!

 While this is true, the waiting part is also true. We have to get
 permission to explicitly open source it and package it properly for
 integration in other WordPress themes, but since that permission is
 probably a long time coming, it is totally spun-up as a highly dependent
 child theme to the rest of our ecosystem. The video files don't even live
 on our instance of LibraryLearn but on a separate media server.

 What you get from the repo probably will not work for you without intense
 retrofitting. My apologies. The plans to distribute LibraryLearn are not as
 a theme but as a plugin, or maybe the important video parts in the plugin
 and bundled with a theme designed around that plugin, but we haven't yet
 been given the go-ahead by our copyright person and our parent university.

 On a nicer note, I'd be happy to walk you through the code you should use,
 or show you how to implement XYZ - depending on what you want to get out of
 an instructional videos theme. Since LibraryLearn was created, WordPress
 now natively handles HTML5 Video, and developers can now replicate it much
 more easily.

 Feel free to shoot me any questions.

 Best,

 Michael
 www.libux.co



 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
 Riley Childs
 Sent: Thursday, November 06, 2014 11:36 AM
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: Re: [CODE4LIB] Drupal question

 I concur, the theme needs to be placed in a subdirectory like what I
 described earlier:
 wp-root/wp-content/themes/librarylearn/files here


 --
 Riley Childs
 Senior
 Charlotte United Christian Academy
 IT Services Administrator
 Library Services Administrator
 https://rileychilds.net
 cell: +1 (704) 497-2086
 office: +1 (704) 537-0331x101
 twitter: @rowdychildren
 Checkout our new Online Library Catalog: https://catalog.cucawarriors.com

 Proudly sent in plain text

 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
 Mark Pernotto
 Sent: Thursday, November 06, 2014 11:29 AM
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: Re: [CODE4LIB] Drupal question

 At first glance, it looks like you could possibly be missing access to a
 required file. :)

 The dynamic path mentioned: 'library/Detector/lib/ua-
 parser-php/UAParser.php'
 doesn't look WordPress-y to me. I'm wondering:
 1) If you have copied the theme in it's entirety
 2) If somehow paths got mixed up.

 Another thing that looks odd to me is the placement of that functions.php
 file. The functions.php file, within a WP system, is normally contained in
 a designated theme name directory - not directly in the 'themes' folder.
 I'd expect to see that path look more like this:
 /var/www/html/wp-content/themes/YourThemeNameHere/functions.php
 where YourThemeNameHere is the theme you've chosen for your site.

 Just a hunch: where did you place that theme? Did you copy it directly in
 the 'themes' directory, or did you copy the folder it was contained in as
 well? In other words, when you look inside that 'themes' directory, do you
 see a bunch of files? There shouldn't be anything in there but folders.

 If you had someone you trust to take a look at this setup, or play around
 with that functions.php file, that's the route I'd go, if you didn't feel
 comfortable with it yourself.

 Is this a 'live' site?

 .m


 On Thu, Nov 6, 2014 at 2:04 AM, Sergio

Re: [CODE4LIB] Drupal question

2014-11-04 Thread Mark Pernotto
Sergio,

If you can't login to WP at all, there's possibly bigger issues at play
here.  Try this:

put:

define('WP_DEBUG', true);

in your wp-config.php file; you probably already have the definition, just
change it to *true*. No parentheses.
I'd normally never suggest that for a 'live' site, but that WSOD isn't
doing you any favors at the moment, either. What this does, is essentially
show you on that white screen what/where your error might be. Also pay
attention to the URL that's displayed in the address bar - can you still
navigate about your site? Is every page blank? Is it only admin?

If that isn't working, try removing the theme from the wp-content/themes
directory.

Did you make backups before you did this? Just curious.

.m



On Tue, Nov 4, 2014 at 9:17 AM, Sergio Letuche code4libus...@gmail.com
wrote:

 well i did exactly this, and then i got a blank screen

 the zip i downloaded from github, extracted to a working setup of wordpess,
 in web-root/wp-content/themes/
 librarylearn

 what am i doing wrong?

 2014-11-04 14:53 GMT+02:00 Riley Childs rchi...@cucawarriors.com:

  Well it is intended for WordPress, but in WordPress you can drop the
 files
  in web-root/wp-content/themes/librarylearn
 
 
  --
  Riley Childs
  Senior
  Charlotte United Christian Academy
  IT Services Administrator
  Library Services Administrator
  https://rileychilds.net
  cell: +1 (704) 497-2086
  office: +1 (704) 537-0331x101
  twitter: @rowdychildren
  Checkout our new Online Library Catalog:
 https://catalog.cucawarriors.com
 
  Proudly sent in plain text
 
  -Original Message-
  From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
  Sergio Letuche
  Sent: Tuesday, November 04, 2014 7:36 AM
  To: CODE4LIB@LISTSERV.ND.EDU
  Subject: Re: [CODE4LIB] Drupal question
 
  does anyone know how could i install this theme from github?
 
  https://github.com/shermanlibrary/librarylearn
 
 
 
  2014-11-03 14:14 GMT+02:00 Sergio Letuche code4libus...@gmail.com:
 
   thank you for your quick reply, how one could install it?
  
   I am familiar with drupal distributions only i am afraid. Is this
   something similar?
  
   2014-11-03 14:03 GMT+02:00 Riley Childs rchi...@cucawarriors.com:
  
   It provides plugins within the theme.
  
   Sent from my Windows Phone
  
   --
   Riley Childs
   Senior
   Charlotte United Christian Academy
   Library Services Administrator
   IT Services Administrator
   (704) 537-0331x101
   (704) 497-2086
   rileychilds.net
   @rowdychildren
   I use Lync (select External Contact on any XMPP chat client)
   
   From: Sergio Letuchemailto:code4libus...@gmail.com
   Sent: ‎11/‎3/‎2014 7:03 AM
   To: CODE4LIB@LISTSERV.ND.EDUmailto:CODE4LIB@LISTSERV.ND.EDU
   Subject: Re: [CODE4LIB] Drupal question
  
   it seems this is only a theme,
  
   am i wrong?
  
   https://github.com/shermanlibrary/librarylearn
  
   2014-11-01 16:22 GMT+02:00 Riley Childs rchi...@cucawarriors.com:
  
Here is a WordPress theme/plugin to do this. I haven't used it
   personally
but I have heard great things
https://github.com/shermanlibrary/librarylearn
   
Riley Childs
Senior
Charlotte United Christian Academy
Library Services Administrator
IT Services
(704) 497-2086
rileychilds.net
@rowdychildren

From: Sergio Letuchemailto:code4libus...@gmail.com
Sent: ‎11/‎1/‎2014 6:35 AM
To: CODE4LIB@LISTSERV.ND.EDUmailto:CODE4LIB@LISTSERV.ND.EDU
Subject: [CODE4LIB] Drupal question
   
Could you please provide me with an advice,
   
if there is any drupal distribution that we could use just to host
   embedded
videos from our youtube channel? The scope for this would be to
have a video gallery, for any lesson, and not to host the videos on
our server, just embed them in our page from youtube.
   
If not a distribution, some module?
   
Thank you
   
  
  
  
 



Re: [CODE4LIB] Stack Overflow

2014-11-04 Thread Mark Pernotto
I think all of this is really useful. I'd be lying if I said I didn't get a
lot of great ideas and results from StackOverflow.

However, I've been burned quite a bit as well - deprecated code, inaccurate
results, or just the wrong answer gets accepted. There seems to be such a
push to 'accept as answer' that no one gives a second thought to
alternative solutions. Because one size doesn't fit all - I think we all
know that.

I guess I'm trying to advocate not to rely on this type of resource
completely when resolving your coding challenges.  While it can certainly
be a tremendous learning tool, keep an objective mind for what tool best
fits your institution's purpose.

.m





On Tue, Nov 4, 2014 at 10:00 AM, Craig Boman craig.bo...@gmail.com wrote:

 I agree with Joshua Welker. Being able to choose between either a listserv
 or a QA site have benefits for end users.

 Thanks,
 Craig



 On Tue, Nov 4, 2014 at 11:47 AM, Owen Stephens o...@ostephens.com wrote:

  Thanks for that Mark. That's running on 'question2answer' which looks to
  have a reasonable amount of development going on around it
  https://github.com/q2a/question2answer/graphs/contributors (given
 Becky's
  comments about OSQA which still hold true)
 
  Owen
 
  Owen Stephens
  Owen Stephens Consulting
  Web: http://www.ostephens.com
  Email: o...@ostephens.com
  Telephone: 0121 288 6936
 
   On 4 Nov 2014, at 16:05, Mark A. Matienzo mark.matie...@gmail.com
  wrote:
  
   On Tue, Nov 4, 2014 at 11:00 AM, Owen Stephens o...@ostephens.com
  wrote:
  
   Another option would be a 'code4lib QA' site. Becky Yoose set up one
  for
   Coding/Cataloguing and so can comment on how much effort its been. In
  terms
   of asking/answering questions the use is clearly low but I think the
   content that is there is (generally) good quality and useful.
  
   I guess the hard part of any project like this is going to be building
  the
   community around it. The first things that occur to me is how you
  encourage
   people to ask the question on this new site, rather than via existing
   methods and how do you build enough community activity around
  housekeeping
   such as noting duplicate questions and merging/closing. The latter
  might be
   a nice problem to have, but the former is where both the Library / LIS
  SE
   and the Digital Preservation SE fell down, and libcatcode suffers the
  same
   problem - just not enough activity to be a go-to destination.
  
  
   I would add that the Digital Preservation SE has been reinstantiated as
   Digital Preservation QA http://qanda.digipres.org/, which is
  organized
   and supported by the Open Planets Foundation and the National Digital
   Stewardship Alliance.
  
   Mark A. Matienzo m...@matienzo.org
   Director of Technology, Digital Public Library of America
 



Re: [CODE4LIB] Conference site backend

2014-10-15 Thread Mark Pernotto
Alex,

On the WP front, I've used this plugin on small personal projects with
success: https://wordpress.org/plugins/spider-event-calendar/

Are you selling tickets to these?

This looks like it could possibly be a good fit as well:
https://wordpress.org/plugins/event-registration/

Hope that helps!

.m

On Wed, Oct 15, 2014 at 9:06 AM, Alex Armstrong alehand...@gmail.com
wrote:

 Thanks for pitching in. COD looks good.

 On their site (http://usecod.com) I found the obligatory table of unfair
 feature comparisons. One of these is to an out-of-date WordPress plugin.

 Any WP suggestions?

 ('m not partial, but as of earlier today it looks like I might be using it
 for other, but affiliated reasons.)

 Alex



 On 10/15/2014 05:34 PM, Clapp, Sharon B. (Library) wrote:

 Someone has mentioned Drupal's Conference Organizing Distribution, right?
 https://www.drupal.org/project/cod
 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
 Alex Armstrong
 Sent: Wednesday, October 15, 2014 5:36 AM
 To:CODE4LIB@LISTSERV.ND.EDU
 Subject: Re: [CODE4LIB] Conference site backend

 Let me try and ask this again, with less ambiguity:

 What built-in CMS functionality or plugin have you used to assist you in
 managing a conference schedule and registration?

 Among other things, I'm in the market for a new CMS. So rather than the
 specialized tool that Francis suggested, I'm looking for a multi-purpose
 platform or a platform I can wrangle to serve multiple purposes.

 P.S. Confusingly, I switched my CODE4LIB subscription to a different
 email.

 Alex



 On October 10, 2014 4:23:57 PM EEST, Francis Kayiwakay...@pobox.com
 wrote:

 On 10/10/2014 09:13 AM, Alex Armstrong wrote:

Hi list,

   Not exactly related to libraries, but:

   I'm putting together a site for the annual conference of a library
 consortium. Last year we had paired a static site with an event
 service
   (Sched) to manage the schedule and provide workshop sign ups. This
 time  we'd like to move everything under one umbrella.

   Any recommendations for a conference backend?

   I'm looking for an open source solution I can deploy on a shared
 hosting  plan. I'm not picky about the CMS. The current iteration is
 put together  locally using a static site generator, so I can switch to
 whatever.

  Give Open Conference a looksie

 https://pkp.sfu.ca/ocs/

 Cheers,
 ./fxk



 --
 Alex



Re: [CODE4LIB] online payment system for libraries?

2014-07-11 Thread Mark Pernotto
Bohyun,

Apologies for the ambiguity.  I didn't know if you were restricted to a
specific CMS or platform already, or if you'd have the ability/freedom to
extend development of a payment gateway yourself.  For example, if you were
using WordPress, and were already locked in to Mijireh, or needed a
solution to fit some existing proprietary need.  It doesn't sound like
that's the case.

You will still need an SSL certificate on the domain you plan to run
charges through - but you can use non-SSL for testing purposes.  I've found
the documentation fairly easy to navigate, but I've been implementing their
solutions for a couple of years now, and perhaps familiar with how they've
set things up.

Just a thought - if you're replacing a cash register at the front desk, you
could also look into Square (https://square.com).  I think they're giving
that little square credit card swipey-thingy away now for free after
successful registration/activation.  You could just pickup an inexpensive
Android Tablet or find a used iPod Touch to handle transactions.  They
don't offer an embedded API for use in websites - yet.

I hope that helps!

.m





On Fri, Jul 11, 2014 at 8:26 AM, Kim, Bohyun b...@hshsl.umaryland.edu
wrote:

 Thanks everyone for more online payment system/service options!

 Mark, thanks for mentioning about the PCI/DSS compliance in relation to
 this. This is really good to know. Stripe looks promising to me. Our
 library is looking into removing the cash register at the circ desk and
 collect all library fines in addition to services charges (such as ILL
 fees for corporate members or Conference room charges for non-campus
 users). So we need a solution that will let us customize the fee
 categories, amounts, etc. with the least effort on us to set it up.

 What did you mean by a pre-packaged solution??

 Thanks!
 Bohyun



 On 7/10/14, 11:20 AM, Mark Pernotto mark.perno...@gmail.com wrote:

 From a development standpoint, I have really enjoyed using Stripe (
 https://stripe.com/).  They offer some great hooks to get done anything
 I've ever wanted to do, and the payment processing is all done on Stripe's
 servers - no PCI/DSS compliance issues to worry about!  I've implemented
 instances in PHP, C# and Python, and a very basic implementation in
 Node.JS
 -  I know they have examples in lots of other languages as well.
 
 I couldn't tell from your question if you were looking for a pre-packaged
 solution, or something you could develop/work with in-house.
 
 .m
 
 
 





 On 7/10/14, 12:53 PM, Elizabeth Leonard elizabeth.leon...@shu.edu
 wrote:

 Our campus is looking at Touchnet for all online payments (Bursar,
 library, etc.)
 
 I haven't fully implemented yet, but it looks like it will be adequate.
 
 Elizabeth
 
 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
 Ryan Engel
 Sent: Thursday, July 10, 2014 12:21 PM
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: Re: [CODE4LIB] online payment system for libraries?
 
 Does your campus have a recommended/approved payment processing vendor?
 I have a campus site that uses CASHNet and Drupal; Drupal because that's
 what we do, and CASHNet because that's the preferred vendor on my
 campus.  We also are not allowed to use more well-known processors like
 PayPal or Square.
 
  Erik Sandall mailto:esand...@milibrary.org
  July 10, 2014 at 11:13 AM
  We're in the process of implementing membership renewals (we're a
  membership library) using Drupal Commerce and First Data Global
  Gateway. The plan is to eventually expand this to handle new
  memberships, donations, and some retail sales.
 
  Donations and fines payments currently go through Innovative
  Interfaces's Ecommerce product paired with PayPal (I think it works
  with other payment vendors, too).
 
  Regards,
 
  Erik.
 
  --
  Erik Sandall, MLIS
  Electronic Services Librarian  Webmaster
  Mechanics' Institute
  57 Post Street
  San Francisco, CA 94104
  415-393-0111
  esand...@milibrary.org
 
 
 
  Cary Gordon mailto:listu...@chillco.com
  July 10, 2014 at 10:52 AM
  We tend to use Authorize.net (and PayPal) for solutions we build with
  Drupal Commerce.
 
  Cary
 
 
 
  Kim, Bohyun mailto:b...@hshsl.umaryland.edu
  July 10, 2014 at 9:59 AM
  Anyone implemented online payment system for libraries? If so, could
  you share the system you ended up selecting and experience of
  implementing it? I am currently looking at Cybersource and
  Authorize.net but it would be nice to have some others to consider as
  well.
 
  (FYI, our library fines are processed by the library staff, not by the
  university bursar. And the university does not allow the use of PayPal.)
 
  Thanks,
  Bohyun
 
 --
 
 Ryan Engel
 University of Wisconsin - Madison



Re: [CODE4LIB] online payment system for libraries?

2014-07-10 Thread Mark Pernotto
From a development standpoint, I have really enjoyed using Stripe (
https://stripe.com/).  They offer some great hooks to get done anything
I've ever wanted to do, and the payment processing is all done on Stripe's
servers - no PCI/DSS compliance issues to worry about!  I've implemented
instances in PHP, C# and Python, and a very basic implementation in Node.JS
-  I know they have examples in lots of other languages as well.

I couldn't tell from your question if you were looking for a pre-packaged
solution, or something you could develop/work with in-house.

.m






On Thu, Jul 10, 2014 at 8:15 AM, Sarah Shealy sarah.she...@outlook.com
wrote:

 Bohyun,

 We have online payment at Richland Library, I'm not sure of the details
 since I only did front end work on the project, my my co-worker Mark
 Jarrell would have more answers. mjarr...@richlandlibrary.com

 Sarah

  Date: Thu, 10 Jul 2014 14:59:26 +
  From: b...@hshsl.umaryland.edu
  Subject: [CODE4LIB] online payment system for libraries?
  To: CODE4LIB@LISTSERV.ND.EDU
 
  Anyone implemented online payment system for libraries? If so, could you
 share the system you ended up selecting and experience of implementing it?
 I am currently looking at Cybersource and Authorize.net but it would be
 nice to have some others to consider as well.
 
  (FYI, our library fines are processed by the library staff, not by the
 university bursar.  And the university does not allow the use of PayPal.)
 
  Thanks,
  Bohyun



[CODE4LIB] Wolfram Language

2014-07-07 Thread Mark Pernotto
I wanted to write and see if anyone has planned to, or expressed any
interest in implementing the new(ish) Wolfram Language within their
library/services.  How you're using it (or how you would use it), scope of
services rendered, potential road blocks or side effects (other than
purchasing another subscription service).

I've been playing around with it for about a week now, and while I think
the information available is really interesting and the syntax is very
tight, I'm wondering how applicable it would be for libraries.

Thank you!

Mark A. Pernotto


Re: [CODE4LIB] Barcode scanner

2014-07-01 Thread Mark Pernotto
I was thinking about this in Craig's line of thought as well - would it be
plausible to just use your phone, a little code and develop your own
scanning software?  I can't speak much on Android development, but there
are established libraries in iOS7 you could program/plugin/develop to read
barcodes.

I realize this might be out of scope of your immediate need - but you know,
if you wanted a challenge

.m


On Tue, Jul 1, 2014 at 5:38 AM, craig boman craig.bo...@gmail.com wrote:

 Hey Riley,

 We have metroset voyagers too. They are great, but have you tried extending
 the functionality of the voyager (or any scanner)? If you haven't, try
 connecting a USB barcode scanner to an android phone, via a USB OTG adapter
 cable.
 
 http://www.amazon.com/s/ref=nb_sb_noss_1/179-6049859-1069161?url=search-alias%3Dapsfield-keywords=usb%20otgsprefix=usb+ot%2Capsrh=i%3Aaps%2Ck%3Ausb%20otg
 
 This opens up a world of possibilities (scanning barcodes directly into a
 Google spreadsheet, or an ILS API, etc).

 Good luck,
 Craig Boman

 Applications Support Specialist
 University of Dayton Libraries
 937-229-3674
 cbom...@udayton.edu


 On Jun 30, 2014 9:24 PM, Riley Childs rchi...@cucawarriors.com wrote:

  I am trying to find a barcode scanner that i can do inventory with, I was
  looking at the KDC20, but it is a tad out of my price range, what barcode
  scanner do you like? I have a Metroset Voyager (Honeywell branded) that i
  like, but am trying to see what others have and get some better
 suggestions.
 
  Riley Childs
  Student
  Asst. Head of IT Services
  Charlotte United Christian Academy
  (704) 497-2086
  RileyChilds.net
  Sent from my Windows Phone, please excuse mistakes
 



Re: [CODE4LIB] Barcode scanner

2014-07-01 Thread Mark Pernotto
John,

The biggest problem I can see with this, aside from the never-ending
Android/iOS debate, is what to do with the data once it's scanned, as each
library may have different needs and/or uses for this data; importing to a
database, dump it in a text file, import it into another app, etc.  Unless
I'm not thinking about this correctly, it wouldn't be possible to build an
'all-in-one' web app that can then be used on platform-independent systems.

There are some straightforward tutorials to build a simple scanning app
that can retrieve various types of bar codes - that's the easy part.  What
to do with that data is, in my mind, the biggest variable.

.m


On Tue, Jul 1, 2014 at 10:08 AM, John Palmer writing2...@gmail.com wrote:

 If someone can do this easily, I'd love to get access to the code. The last
 time we dabbled in Android and iOS barcode reading, it was difficult enough
 to make us switch to USB scanners that emulate keyboard entry.


 On Tue, Jul 1, 2014 at 9:50 AM, Mark Pernotto mark.perno...@gmail.com
 wrote:

  I was thinking about this in Craig's line of thought as well - would it
 be
  plausible to just use your phone, a little code and develop your own
  scanning software?  I can't speak much on Android development, but there
  are established libraries in iOS7 you could program/plugin/develop to
 read
  barcodes.
 
  I realize this might be out of scope of your immediate need - but you
 know,
  if you wanted a challenge
 
  .m
 
 
  On Tue, Jul 1, 2014 at 5:38 AM, craig boman craig.bo...@gmail.com
 wrote:
 
   Hey Riley,
  
   We have metroset voyagers too. They are great, but have you tried
  extending
   the functionality of the voyager (or any scanner)? If you haven't, try
   connecting a USB barcode scanner to an android phone, via a USB OTG
  adapter
   cable.
   
  
 
 http://www.amazon.com/s/ref=nb_sb_noss_1/179-6049859-1069161?url=search-alias%3Dapsfield-keywords=usb%20otgsprefix=usb+ot%2Capsrh=i%3Aaps%2Ck%3Ausb%20otg
   
   This opens up a world of possibilities (scanning barcodes directly
 into a
   Google spreadsheet, or an ILS API, etc).
  
   Good luck,
   Craig Boman
  
   Applications Support Specialist
   University of Dayton Libraries
   937-229-3674
   cbom...@udayton.edu
  
  
   On Jun 30, 2014 9:24 PM, Riley Childs rchi...@cucawarriors.com
  wrote:
  
I am trying to find a barcode scanner that i can do inventory with, I
  was
looking at the KDC20, but it is a tad out of my price range, what
  barcode
scanner do you like? I have a Metroset Voyager (Honeywell branded)
  that i
like, but am trying to see what others have and get some better
   suggestions.
   
Riley Childs
Student
Asst. Head of IT Services
Charlotte United Christian Academy
(704) 497-2086
RileyChilds.net
Sent from my Windows Phone, please excuse mistakes
   
  
 



Re: [CODE4LIB] Job: Test Post at Anonymous

2014-01-15 Thread Mark Pernotto
I mock that objection.


On Wed, Jan 15, 2014 at 9:56 AM, Michael B. Klein mbkl...@gmail.com wrote:

 I object to your mocking.


 On Wed, Jan 15, 2014 at 11:55 AM, Ross Singer rossfsin...@gmail.com
 wrote:

  No, it's cool. I've learned about mocking objects since then.
 
  -Ross.
 
 
  On Wed, Jan 15, 2014 at 12:36 PM, Michael B. Klein mbkl...@gmail.com
  wrote:
 
   I am interested in the post testing job. Please send details. Do not be
   fooled by Ross Singer; he is dangerous. The last post he tested caused
  the
   entire 2005 Atlantic hurricane season.
  
  
   On Wed, Jan 15, 2014 at 11:07 AM, Ross Singer rossfsin...@gmail.com
   wrote:
  
HELLO, IS THERE AN OPTION FOR TELECOMMUTING.
   
ASKING FOR A FRIEND WITH LOTS OF EXPERIENCE AS A TEST POSTER.
-ROSS.
   
   
On Wed, Jan 15, 2014 at 11:51 AM, j...@code4lib.org wrote:
   
 Test Post
 Anonymous
 New London

 This is a test post.



 Brought to you by code4lib jobs:
 http://jobs.code4lib.org/job/11613/

   
  
 



Re: [CODE4LIB] pdf2txt

2013-10-11 Thread Mark Pernotto
Very cool tool, thank you!

Putting my devil's advocate hat on, it doesn't parse foreign documents well
(I got it to break!).  I also got inconsistent results feeding it PDF files
with tables embedded (but haven't been able to figure out what it is about
them it doesn't like).

Just from a curiosity standpoint, what encoding is being utilized?  I know
nothing about Perl.  It seemed to have no problem parsing a dash (-) if it
was up against another character (2007-2012), but barfs when it's by itself
(2007 � 2012). I'm only referring to 'extracted text' mode.

If it helps, I can send along *most* of my test PDF files used.

Thank you!
.m





On Fri, Oct 11, 2013 at 10:58 AM, Eric Lease Morgan emor...@nd.edu wrote:

 On Oct 11, 2013, at 1:49 PM, Matthew Sherman matt.r.sher...@gmail.com
 wrote:

  For a limited period of time I am making publicly available a Web-based
  program called PDF2TXT -- http://bit.ly/1bJRyh8
 
  Very slick, good work.  I can see where this tool can be very helpful.
  It
  does have some issues with some characters, but this is rather common
 with
  most systems.

 Again, thank you for the support. Yes, there are some escaping issues to
 be resolved. Release early. Release often. I need help with the graphic
 design in general.

 Here's an enhancement I thought of:

   1. allow readers to authenticate
   2. allow readers to upload documents
   3. documents get saved in readers' cache
   4. allow interface to list documents in the cache
   5. provide text mining services against reader-selected documents
   6. go to Step #1

 It would also be cool if I could figure out how to finish the installation
 of Tesseract to enable OCRing. [1]

 [1] OCRing -
 http://serials.infomotions.com/code4lib/archive/2013/201303/1554.html

 --
 Eric Morgan



Re: [CODE4LIB] Stand Up Desks

2013-06-03 Thread Mark Pernotto
Resurrecting an old thread, I took some time this weekend to build my
custom multi-tiered stand up/sit down desk.  I'm going to 'field-test' this
for a couple of weeks, then provide pictures/information as to how this is
actually working (for me).

Stay tuned...


On Mon, Feb 11, 2013 at 10:47 AM, Forrest, Stuart sforr...@bcgov.netwrote:

 Mark

 It would be great to see some pictures once you are finished


 Stuart Forrest PhD, ACM Member
 Library Systems Specialist
 Beaufort County Library
 Beaufort
 SC 29902
 843 255 6450
 sforr...@bcgov.net

 http://www.beaufortcountylibrary.org/
 For Learning, For Leisure, For Life.



 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
 Mark Pernotto
 Sent: Monday, February 11, 2013 12:26 PM
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: Re: [CODE4LIB] Stand Up Desks

 Thanks to everyone for their replies.  I didn't think there would so many
 people passionate about this enough to respond.

 Not really having the resources to pursue an 'elevating' model, after
 taking a few measurements and a few Home Depot visits, I think I'm just
 going to build a 2 X 4, multi-tiered desk, with a 'standing' setup and
 anti-fatigue mat, and a 'sitting' setup on an exercise ball.  This model
 also allows for custom book shelves, and with my unique large size, allows
 me to build the desk to my proper height specifications.  Pricing it out,
 with everything, comes to around $200.

 Now, if only I could find the time to drop everything for a day and build
 the thing..

 Thanks again!


 On Thu, Feb 7, 2013 at 3:31 PM, Karen Coyle li...@kcoyle.net wrote:

  If you write a 4,000 page trilogy, though, I'll strangle you. Or at
  least make you sit down.
 
  kc
 
 
  On 2/7/13 2:37 PM, Cary Gordon wrote:
 
  But Neil Stephenson works at a treadmill desk...
 
  I want one.
 
  On Fri, Feb 8, 2013 at 4:38 AM, Baumer, M mark_bau...@brown.edu
 wrote:
 
  Philip Roth wrote at a standing desk for most of his career. Here's
  an outdated look at his
  setuphttp://www.youtube.com/**watch?feature=player_embedded**
  v=zvCk5aitYz8#t=201shttp://www.youtube.com/watch?feature=player_emb
  eddedv=zvCk5aitYz8#t=201s
  
  .
 
  I don't have a standing desk, but I use this
  timerhttp://www.dejal.com/**timeout/ http://www.dejal.com/timeout/
 .
  I have it set up to go off every fifteen minutes for a thirty second
  break.
  I usually standup, look out the window, and take a sip of water.
 
 
  On Thu, Feb 7, 2013 at 12:32 PM, Nate Hill nathanielh...@gmail.com
  wrote:
 
   My team of four is currently designing/building/recycling together
  our
  office space on the 4th floor in Chattanooga- a raw 14,000 sq ft
  open space.  We have plenty of old desks to use, and on our first
  iteration we are each giving ourselves a personal sitting desk, but
  we will have stations for shared standing desks/workbenches.
  Something about standing makes me want to make physical stuff
  rather than just digital stuff. I'm really curious to see how it
  all works. Happy to report back.
 
  Nate
 
  On Thu, Feb 7, 2013 at 12:26 PM, Bohyun Kim k...@fiu.edu wrote:
 
   I use a bookcase in my office as a standup desk (photo below in
  the
  link)
  but it is really a matter of willpower I think.  I get tired when
  I try
 
  to
 
  do concentrated work while standing and my experience is that I
  cannot
 
  stay
 
  standing and working at the same time more than 15 min even if I
  try hard although this may depend on each person. =) Even with the
  alarm I often ignore it and don't stand up. Then everything is in
  vain. Something to think about before investing in a new piece of
  furniture.
  http://www.bohyunkim.net/blog/**archives/2407http://www.bohyunkim
  .net/blog/archives/2407
 
  Cheers,
  Bohyun
 
  -Original Message-
  From: Code for Libraries
  [mailto:code4...@listserv.nd.**EDUCODE4LIB@LISTSERV.ND.EDU]
  On Behalf Of
  Mark Pernotto
  Sent: Thursday, February 07, 2013 12:09 PM
  To: CODE4LIB@LISTSERV.ND.EDU
  Subject: [CODE4LIB] Stand Up Desks
 
  Despite my best efforts of sitting up straight, getting an
  ergonomic chair, making sure my desk is a proper height (I'm a
  tall guy, so my desk is 'modified' to reflect this), and I make
  sure I stand up and at least stretch every 30 minutes (or so), my
  back still bothers me some days.
 
  I saw a Wired article a few months back hailing the benefits of
  stand up desks
  (http://www.wired.com/**wiredscience/2012/10/mf-**standing-desk/h
  ttp://www.wired.com/wiredscience/2012/10/mf-standing-desk/),
  and
  also found an article in NY Times (
 
 
   http://www.nytimes.com/2012/**12/02/business/stand-up-desks-**
  gaining-favor-in-the-**workplace.html?_r=1http://www.nytimes.com/
  2012/12/02/business/stand-up-desks-gaining-favor-in-the-workplace.h
  tml?_r=1
 
  )
  and wondered if there were any other developers/list members who
  used
 
  them.
 
In my mind, I'm trading one problem for another, and I'm

Re: [CODE4LIB] Email Forwards to Database

2013-05-08 Thread Mark Pernotto
If a PHP form is being used to post a question, and the action on that form
is going to an e-mail, why not change that action to a PHP page to populate
the database there?  Send out a mail function or something like that to
alert employees that a new question/comment has been submitted by a patron,
and some kind of non-public admin area to see the request (and possibly
reply with a response).




On Wed, May 8, 2013 at 7:57 AM, scott bacon sdanielba...@gmail.com wrote:

 Just curious if anyone has any thoughts about this possibility (I already
 know it's not practical): Can I automatically forward to a database all
 emails sent to a specific email address? I've seen proprietary things like
 Email2DB, but is there a simple open source alternative?


 Background: At MPOW there is an admin site where employees periodically
 login and check for unanswered patron emails. Patrons submit a PHP email
 form, the form data is saved in a SQL database, and the admin site queries
 that database, which populates the tables in the admin site. Yes, this is
 convoluted, but just imagine that I'm not able to change this system to
 something more streamlined.


 This system was made by a previous employee I think in order to alleviate
 all emails going to an email alias, which creates issues with one email
 being answered twice by two different employees.


 So I would create a simple email address (say, a...@bob.edu) to give to
 patrons (vs. pushing them to a site to fill out a PHP form), but I want to
 avoid using an email alias that will push all new emails into all alias
 members' email boxes. The admin site method then would allows loggers-in to
 claim new emails and others then to see them as 'read'.


 Any thoughts, advice, threats?


 -Scott



[CODE4LIB] Question About Job Postings

2013-05-08 Thread Mark Pernotto
This isn't directed really at any particular job, but more about how the
jobs.code4lib.org board works.

I can see where I can search for jobs via the tags, employers and the like.
 I notice on the individual job postings themselves, it's noted as to
whether or not the employer would accept a telecommuting option.  In most
cases, I see this as 'No'.  I was just wondering, is there an option to
search for telecommuting positions posted to the board (where Telecommuting
would be 'Yes')?  Is this listed as 'No' by default when a new job is being
posted, and just overlooked during the posting, or are there just no
telecommuting library development positions out there?  I just thought that
since the feature had been included, there must have been a reason.

Or is this something I'd need to create an account on the board in order to
search for?

Thanks!
Mark A. Pernotto


Re: [CODE4LIB] test

2013-05-06 Thread Mark Pernotto
I've never seen this before


On Mon, May 6, 2013 at 6:57 AM, Michel, Jason miche...@miamioh.edu wrote:

 Schofield - I was gonna say that! I'll just show myself to the door.


 On Mon, May 6, 2013 at 9:54 AM, Michael Schofield mschofi...@nova.edu
 wrote:

  Quoth the raven, Nevermore!
 
  -Original Message-
  From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
  Andreas Orphanides
  Sent: Monday, May 06, 2013 9:50 AM
  To: CODE4LIB@LISTSERV.ND.EDU
  Subject: Re: [CODE4LIB] test
 
  A vacuum nature does abhor.
 
  On Mon, May 6, 2013 at 9:48 AM, Peter Schlumpf pschlu...@earthlink.net
  wrote:
 
   This is a test.  Please ignore.
  
 



 --
 Jason Paul Michel
 User Experience Librarian
 Miami University Libraries
 513.529.3935
 miche...@muohio.edu
 @jpmichel https://twitter.com/jpmichel



Re: [CODE4LIB] ADVICE: Applied Computing Program at Tulane

2013-04-22 Thread Mark Pernotto
It's not immediately clear to me if you're more interested in Content
Strategy and UX or programming/coding, as I don't see them as synonymous
careers.

If it's the former, I'd suggest seeking a more focused HCI program.

If it's the latter, then I'd focus probably more on Integrated Application
Development.  I would think you'd want more software development experience
before diving into that, however.

I learn best by getting my hands dirty with a project.  See if you like it
first, and see if you can't follow along with a 'how to program' guide
online - this helped me: http://learnpythonthehardway.org/.  The HTML
version is free, you'll see immediate results, and it might give you a good
idea if you like this whole 'programming' thing.





On Mon, Apr 22, 2013 at 9:05 AM, Cary Gordon listu...@chillco.com wrote:

 If you going to become a professional programmer/developer, I suggest that
 you take one of the language courses (just not ASP). In the library world,
 XML is very useful. While we work mostly in PHP, Python, Ruby and Scala are
 the most interesting, but none of them are on the list.

 In my experience, if you have a good handle on the fundamentals of
 programming, picking up new languages is easy.

 These are tough choices, as there is only one class — ASP is dead — that I
 wouldn't take. What are the other two concentration options?


 On Mon, Apr 22, 2013 at 8:41 AM, Sean Hannan shan...@jhu.edu wrote:

  Honestly, if you're interested in and looking to focus on Content
 Strategy
  and UX, the only course there that comes close is Human-Computer
  Interaction.
 
  If those are really your interests, I'd look at a strictly HCI program
  (they're out there) or something that leans more towards Knowledge
  Management or plain old Design.
 
  -Sean
 
  
  From: Code for Libraries [CODE4LIB@LISTSERV.ND.EDU] on behalf of Phil
  Suda [ps...@neworleanspubliclibrary.org]
  Sent: Monday, April 22, 2013 11:31 AM
  To: CODE4LIB@LISTSERV.ND.EDU
  Subject: [CODE4LIB] ADVICE: Applied Computing Program at Tulane
 
  Good morning,
 
   I have been working in public libraries since 2006, as a
  cataloger, collection development librarian, serials librarian, and
 various
  other roles (thinking of business card with Fixer as job title). I am
 very
  interested in Structured Data, Semantic Web, Metadata, and more
 importantly
  Content Strategy and User Experience/Interface Design. I am considering
  entering the Applied Computing Program at Tulane University. I have
 listed
  the courses below. What advice do the Code4Libs have with regard to
  Programming Courses via a University (as well as the courses below)? I
  really want to get into Content Strategy and User Experience Design. What
  advice do you have for someone that is a librarian with a pretty
 extensive
  knowledge of metadata/structured data, is interested in
 programming/coding
  as a career, and just wants to improve his lot/career? Thank you for any
  and all advice on the matter.
 
 
  Thanks,
 
  Phil
 
 
  Major Core Courses   Credits
  CPST 1200 Fundamentals of Information Systems and Information Technology
  CPST 2200 Programming Fundamentals
  CPST 2300 Database Fundamentals
  CPST 3600 IT Hardware and Software Fundamentals
  CPST 3700 Networking Fundamentals
  CPST 3900 Fundamentals of Information Security and Assurance
 
  In addition to the major core courses above, Applied Computing majors
 must
  select 6 additional courses from one of the 3 following concentration
  options:
 
  Option 1: Integrated Application Development Concentration
  Credits
  Select one course:
  CPST 3220 O-O Programming with Java
  CPST 3230 Programming in C++
  CPST 3400 Website Development with XML/XHTML
  CPST 3410 Website Development with JavaScript
  CPST 3430 Website Development with ASP
  CPST 3310 Relational Database Design and Development
  CPST 3250 Human-Computer Interaction
  CPST 3550 Systems Analysis and Design
  CPST 4250 Integrated Application Development
  One CPST Elective (2000 level or above)
 



 --
 Cary Gordon
 The Cherry Hill Company
 http://chillco.com



Re: [CODE4LIB] A newbie seeking input/suggestions

2013-02-21 Thread Mark Pernotto
I second Paul's suggestion.

All due respect to the institution you work for, but this doesn't sound
like a problem best solved with software.  If I'm the backup help, and I'm
talking with a colleague in their office, or making another pot of coffee,
I won't get your notice on my computer until I go back to my desk.

Do you have some kind of library-wide intercom system?  Maybe something
that could generate a gentle tone, that would largely go undetected by your
patrons, but is a recognizable by the staff?

Then again, I don't work in a library, either.

Mark


On Thu, Feb 21, 2013 at 8:20 AM, Paul Butler (pbutler3) pbutl...@umw.eduwrote:

 For something like this I would go the hardware route.  A walkie-talkie on
 a charging stand at each service point. The walkie-talkies would always be
 on and tuned to the same channel. That way the staff person is not tied to
 the PC itself, they can grab the walkie-talkie and still do what they need
 to do - like head to the stacks or look for that reserve material. No phone
 number to remember. This solution could help with other issues, like
 security and system/network outages.

 +1 for LibraryH3lp - we use it and like it here.
 Cheers, Paul
 +-+-+-+-+-+-+-+-+-+-+-+-+
 Paul R Butler
 Assistant Systems Librarian
 Simpson Library
 University of Mary Washington
 1801 College Avenue
 Fredericksburg, VA 22401
 540.654.1756
 libraries.umw.edu

 Sent from the mighty Dell Vostro 230.


 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
 Andreas Orphanides
 Sent: Thursday, February 21, 2013 11:09 AM
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: Re: [CODE4LIB] A newbie seeking input/suggestions

 Hey Cindy,

 Welcome! Glad to see your question here, we like new people.

 Here at NC State we've set up a (mostly semi-working) system for
 requesting backup using LibraryH3lp webchat. Basically we have a staff
 webpage that has a chat box in it. If you type something in the box, say
 Backup! or jkgfasdkl;, that message will get broadcast to everyone
 who's logged into their backup help account in Pidgin. Recently we've
 also been experimenting with canned messages that you can broadcast just
 by clicking on a button in the web browser.

 You could theoretically set this up for -- and distinguish -- separate
 service points by having a different queue for each service point. The
 backup people would see where the request was coming from based on the name
 of the queue. And you could set up each backup account to only monitor
 requests from the appropriate service points.

 If you're not familiar with LibraryH3lp, it's a very lightweight (and
 inexpensive) library patron chat system. We use it for our patron IM as
 well as several internal staff purposes. I'm sure there's lots of LH3 users
 on code4lib, so if you're not familiar with it, but interested in exploring
 it, you'll be bound to get opinions. There are also other similar services
 that people might recommend as well.

 Good luck! This sounds like a good -- but definitely solvable -- problem.

 Andreas Orphanides
 NCSU Libraries

 On Thu, Feb 21, 2013 at 10:57 AM, Greenspun, Cindy 
 cindy.greens...@yale.edu
  wrote:

  Hello -
 
  I'm a newbie to this listserv.  I'm not a librarian, nor am I a coder.
 I
  primarily do systems related work with our library management system,
  run SQL reports as needed and project management.  I also work for
  Access Services and even though I'm considered IT, I'm not in the
  library IT department.  This is a new position in my department and
  we're still figuring things out as we go along.
 
  I work in one of the many libraries at Yale University.  In the
  department I work in, we have three busy service points - two
  circulation desks and a privileges/registration office.  There are
  about 50/60 staff members and roughly 50+ student employees who rotate
  at these service points.  There are times when there are students who
  are late reporting to a service point, no-shows, or suddenly there's a
  long line and only one person at a staffed service desk.  At a meeting
  recently, I was listening to a work leader lament how, if she is the
  only person there, she is just too busy to make a phone call or send an
 email asking for help - a common occurrence.
   After I heard her, I wondered how possible it would be to create some
  sort of desktop 'app'.  One that requires only one click and is smart
  enough to know its service desk location and is sent to the right
  folks who could come assist right away, upon demand.  These would be
  on Windows workstations.
 
  Recently, I've seen many encouraging responses to the latest 'getting
  started...' emails and feel motivated to write to this listserv as I'm
  eager to learn and to try to do this myself.  I hope that this will be
  a simple enough project for me but I'm just not sure where to start or
  what I should be looking at.  So, here I am, not a librarian, nor a
  coder.  I write to 

Re: [CODE4LIB] You *are* a coder. So what am I?

2013-02-18 Thread Mark Pernotto
First, I have not been programming nearly as long as any of you - just shy
of 20 years now.

I learned to program in C++ first.  Then Java.  Then Assembly.  I use none
of them now, but I still implement some habits and principles I learned
from those in the languages I use now.  It probably isn't the best path for
you, but it was my path.

My recommendation to those interested in coding, either professionally or
as a hobby, is to find your passion - find an application you can
immediately have an impact on, and see the result - and then get picky with
the language, if you must.  For me, at least, the most infuriating thing
was not having an application to apply whatever new skill I picked up on.


On Mon, Feb 18, 2013 at 10:24 AM, Sullivan, Mark V mars...@uflib.ufl.eduwrote:

 Not to be too pragmatic about it, but it is worth noting which languages
 are used in the wilds beyond the confines of our libraries.

 http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

 I know everyone has their own style, but I would push newbies towards
 object-oriented languages, such as C# or Java first.  Working in an
 enforced object-oriented programming [OOP] environment seems like an
 excellent first step.  Moving from either of those languages to Ruby (which
 is more compatible with procedural programming) is quite simple then.

 Clearly I am preaching from the pulpit of OOP though.

 Mark / UF


 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
 John Fereira
 Sent: Monday, February 18, 2013 1:17 PM
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: Re: [CODE4LIB] You *are* a coder. So what am I?

 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
 Joe Hourcle
 Sent: Monday, February 18, 2013 12:37 PM
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: Re: [CODE4LIB] You *are* a coder. So what am I?

 On Feb 18, 2013, at 11:17 AM, John Fereira wrote:

  I suggested PHP primarily because I find it easy to read and understand
 and that's it's very commonly used.  Both Drupal and Wordpress are written
 in PHP and if we're talking about building web pages there are a lot of
 sites that use one of those as a CMS.

  And if you're forced to maintain one of those, then by all means, learn
 PHP ... but please don't recommend that anyone learn it as a first language.

 And the reason that I suggested PHP is that one is more likely going to be
 *forced* to learn PHP because it's so much more commonly used than
 something like Haskell, or R, or even Python.





  I've looked at both good and bad perl code, some written some very
 accomplished software developers, and I still don't like it.   I am not
 personally interested in learning to make web pages (I've been making them
 for 20 years) and have mostly dabbled in Ruby but suspect that I'll be
 doing a lot more programming in Ruby (and will be attending the LibDevConX
 workshop at Stanford next month where I'm sure we'll be discussing Hydra).
   I'm also somewhat familiar with Python but I just haven't found that many
 people are using it in my institution (where I've worked for the past 15
 years) to spend any time learning more about it.  If you're going to
 suggest mainstream languages I'm not sure how you can omit Java (though
 just mentioning the word seems to scare people).

  It's *really* easy to omit Java:

 
 http://www.recursivity.com/blog/2012/10/28/ides-are-a-language-smell/

 I generally take articles like that with a large heaping of salt when it's
 fairly obvious that someone is biased against a specific language but that
 article seems to be more about using an IDE than using Java.  In any case,
 I really didn't start using an IDE (I wrote all my code using a unix text
 editor) until several years after I learned Java.

 You might as well ask why I didn't suggest C or assembler for beginners.
  That's not to say that I haven't learned things from programming in those
 languages (and I've even applied tricks from Fortran and IDL in other
 languages), but I wouldn't recommend any of those languages to someone
 who's just learning to  program.

 I remember when Pascal used to be the language of choice (actually, I
 remember when it was Basic) as an instructional programming language, but I
 cut my programming teeth using assembly language (more like the raw octal
 representation) and Fortran before I learned C.

 -Joe

  (ps. I'm grumpier than usual today, as I've been trying to get hpn
 patched openssh to compile under centos 6 ... so that it can be called by a
 java daemon  that is called by another C program that dynamically generates
 python and shell scripts ... and executes them but doesn't always check the
 exit status ... this is one of those times when I wish some people hadn't
 learned to program, so they'd just hire someone else to write it)

 I feel your pain.  I've had plenty of days like that as well.



Re: [CODE4LIB] Stand Up Desks

2013-02-11 Thread Mark Pernotto
Thanks to everyone for their replies.  I didn't think there would so many
people passionate about this enough to respond.

Not really having the resources to pursue an 'elevating' model, after
taking a few measurements and a few Home Depot visits, I think I'm just
going to build a 2 X 4, multi-tiered desk, with a 'standing' setup and
anti-fatigue mat, and a 'sitting' setup on an exercise ball.  This model
also allows for custom book shelves, and with my unique large size, allows
me to build the desk to my proper height specifications.  Pricing it out,
with everything, comes to around $200.

Now, if only I could find the time to drop everything for a day and build
the thing..

Thanks again!


On Thu, Feb 7, 2013 at 3:31 PM, Karen Coyle li...@kcoyle.net wrote:

 If you write a 4,000 page trilogy, though, I'll strangle you. Or at least
 make you sit down.

 kc


 On 2/7/13 2:37 PM, Cary Gordon wrote:

 But Neil Stephenson works at a treadmill desk...

 I want one.

 On Fri, Feb 8, 2013 at 4:38 AM, Baumer, M mark_bau...@brown.edu wrote:

 Philip Roth wrote at a standing desk for most of his career. Here's an
 outdated look at his
 setuphttp://www.youtube.com/**watch?feature=player_embedded**
 v=zvCk5aitYz8#t=201shttp://www.youtube.com/watch?feature=player_embeddedv=zvCk5aitYz8#t=201s
 
 .

 I don't have a standing desk, but I use this
 timerhttp://www.dejal.com/**timeout/ http://www.dejal.com/timeout/.
 I have it set up to go off every fifteen minutes for a thirty second
 break.
 I usually standup, look out the window, and take a sip of water.


 On Thu, Feb 7, 2013 at 12:32 PM, Nate Hill nathanielh...@gmail.com
 wrote:

  My team of four is currently designing/building/recycling together our
 office space on the 4th floor in Chattanooga- a raw 14,000 sq ft open
 space.  We have plenty of old desks to use, and on our first iteration
 we
 are each giving ourselves a personal sitting desk, but we will have
 stations for shared standing desks/workbenches.  Something about
 standing
 makes me want to make physical stuff rather than just digital stuff. I'm
 really curious to see how it all works. Happy to report back.

 Nate

 On Thu, Feb 7, 2013 at 12:26 PM, Bohyun Kim k...@fiu.edu wrote:

  I use a bookcase in my office as a standup desk (photo below in the
 link)
 but it is really a matter of willpower I think.  I get tired when I try

 to

 do concentrated work while standing and my experience is that I cannot

 stay

 standing and working at the same time more than 15 min even if I try
 hard
 although this may depend on each person. =) Even with the alarm I often
 ignore it and don't stand up. Then everything is in vain. Something to
 think about before investing in a new piece of furniture.
 http://www.bohyunkim.net/blog/**archives/2407http://www.bohyunkim.net/blog/archives/2407

 Cheers,
 Bohyun

 -Original Message-
 From: Code for Libraries 
 [mailto:code4...@listserv.nd.**EDUCODE4LIB@LISTSERV.ND.EDU]
 On Behalf Of
 Mark Pernotto
 Sent: Thursday, February 07, 2013 12:09 PM
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: [CODE4LIB] Stand Up Desks

 Despite my best efforts of sitting up straight, getting an ergonomic
 chair, making sure my desk is a proper height (I'm a tall guy, so my
 desk
 is 'modified' to reflect this), and I make sure I stand up and at least
 stretch every 30 minutes (or so), my back still bothers me some days.

 I saw a Wired article a few months back hailing the benefits of stand
 up
 desks 
 (http://www.wired.com/**wiredscience/2012/10/mf-**standing-desk/http://www.wired.com/wiredscience/2012/10/mf-standing-desk/),
 and
 also found an article in NY Times (


  http://www.nytimes.com/2012/**12/02/business/stand-up-desks-**
 gaining-favor-in-the-**workplace.html?_r=1http://www.nytimes.com/2012/12/02/business/stand-up-desks-gaining-favor-in-the-workplace.html?_r=1;

 )
 and wondered if there were any other developers/list members who used

 them.

   In my mind, I'm trading one problem for another, and I'm not sure I
 want
 to be standing up all day long.  On the other hand, my back is killing
 me
 today.

 Suggestions?

 Mark



 --
 Nate Hill
 nathanielh...@gmail.com
 http://4thfloor.chattlibrary.**org/ http://4thfloor.chattlibrary.org/
 http://www.natehill.net




 --
 Karen Coyle
 kco...@kcoyle.net http://kcoyle.net
 ph: 1-510-540-7596
 m: 1-510-435-8234
 skype: kcoylenet



[CODE4LIB] Stand Up Desks

2013-02-07 Thread Mark Pernotto
Despite my best efforts of sitting up straight, getting an ergonomic chair,
making sure my desk is a proper height (I'm a tall guy, so my desk is
'modified' to reflect this), and I make sure I stand up and at least
stretch every 30 minutes (or so), my back still bothers me some days.

I saw a Wired article a few months back hailing the benefits of stand up
desks (http://www.wired.com/wiredscience/2012/10/mf-standing-desk/), and
also found an article in NY Times (
http://www.nytimes.com/2012/12/02/business/stand-up-desks-gaining-favor-in-the-workplace.html?_r=1;)
and wondered if there were any other developers/list members who used them.
 In my mind, I'm trading one problem for another, and I'm not sure I want
to be standing up all day long.  On the other hand, my back is killing me
today.

Suggestions?

Mark


Re: [CODE4LIB] directing users to mobile DBs, was RE: [CODE4LIB] Responsive Web Site Live

2013-01-02 Thread Mark Pernotto
I'd be curious to hear the response to Jonathan's question.  For the
longest time, I used to determine mobile  displays by browser, but it
just got too cluttered.  Now I detect browser width to determine
mobile versions.  This little trick doesn't play nice with all
frameworks, however, so it's not bullet-proof, but so far, it has
worked well.  And on a high level, easy to troubleshoot.

It wasn't immediately apparent to me if this was a part of a CMS or
not - it's awfully clean, and the usual Joomla/Drupal/Wordpress
identities weren't visible in the source.  Really nice work!

Thanks,
Mark


On Wed, Jan 2, 2013 at 12:36 PM, Jonathan Rochkind rochk...@jhu.edu wrote:
 What method do you use to detect mobile-or-not?


 On 1/2/2013 3:33 PM, Ken Irwin wrote:

 Sarah asks about how to direct users to mobile versions of databases where
 appropriate.

 The way I'm doing it is:
 1. All database links are served up from a database table, so the link on
 our website is http://$OUR_LIBRARY/redirect?$db_id
 2. The db-of-dbs knows if there is a mobile specific url (because we put
 it there...)
 3. Detect mobile-or-not as a binary value
 4. Serve up the right one as an HTTP header redirect

 One big exception: EBSCO (which provides a really large number of our
 databases) handles their mobile access by using the same URL with a
 different profile name in the url. The redirect script has a special case
 that says if ($mobile = true and $ebsco = true) { do string replace on the
 url to change from the desktop url to the mobile url } -- so I don't have to
 list both versions of the URL in the database.

 It seems to work out pretty well.

 Ken

 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
 Sarah Dooley
 Sent: Wednesday, January 02, 2013 3:25 PM
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: Re: [CODE4LIB] Responsive Web Site Live

 Very cool--congratulations!

 In addition to Dave's questions, I'd be curious to know (can't see it
 since I don't have a login) how you handled directing people to databases
 that have mobile versions. This is something I've been wondering about for
 our site down the road and library sites in general--from a responsive site,
 how to effectively link people out to vendor-provided resources that are
 either mobile or non-mobile.

 -Sarah Dooley





Re: [CODE4LIB] Help with WordPress for Code4Lib Journal

2012-12-05 Thread Mark Pernotto
Jonathan/Shaun,

Thanks for the direction.  I've followed the steps suggested, I think.
 Please let me know if you have any questions or don't see anything.

Thanks,
Mark

On Wed, Dec 5, 2012 at 6:51 AM, Shaun Ellis sha...@princeton.edu wrote:
 Yes, that's a good place to start.  Once you have git installed and link it
 up to your github account, you can follow the same Contribute steps that
 are on the README of the anti-harassment policy:

 1.) Fork the codebase e.g. to https://github.com/your-username/issue-manager
 2.) Clone your fork locally (git clone
 g...@github.com:your-username/issue-manager.git my-antiharassment-policy)
 3.) Create a branch to hold your changes (git checkout -b my-changes)
 4.) Commit the changes you've made (git commit -am Some descriptive text
 around what you've added)
 5.) Push your branch to github (git push origin my-changes)

 Once you do that, we can test it out for you before merging.

 -Shaun


 On 12/4/12 5:45 PM, Jonathan Rochkind wrote:

 I'd check out the links under Bootcamp here:

 https://help.github.com/

 On 12/4/2012 5:18 PM, Mark Pernotto wrote:

 As I'm clearly not well-versed in the goings-on of GitHub, I've
 'forked' a response, but am not sure it worked correctly.

 I've zipped up and sent updates to Tom.  If anyone could point me in
 the direction of a good GitHub tutorial (for contributing to projects
 such as these - the 'creating an account' part I think I have down),
 I'd appreciate it.

 Thanks,
 Mark



 On Tue, Dec 4, 2012 at 1:43 PM, Tom Keays tomke...@gmail.com wrote:

 Let's have mine be the canonical version for now. It will be too
 confusing
 to have two versions that don't have an explicit fork relationship.

 https://github.com/tomkeays/issue-manager

 Tom

 On Tue, Dec 4, 2012 at 1:56 PM, Chad Nelson chadbnel...@gmail.com
 wrote:

 Beat me by one minute Tom!

 And here it is in code4lib github

 https://github.com/code4lib/IssueManager


 On Tue, Dec 4, 2012 at 1:47 PM, Tom Keays tomke...@gmail.com wrote:

 On Tue, Dec 4, 2012 at 1:01 PM, Shaun Ellis sha...@princeton.edu

 wrote:


 You can upload it to your account and then someone with admin
 rights to
 Code4Lib can fork it if they think our Code4Lib Journal custom code

 should

 be a repo there.  Doesn't really matter if they do actually. I think

 for

 debugging, it's best to point folks to the actual code the journal is
 running, which was forked from the official one on the Codex, right?



 It was written for the Journal and originally kept in a Google Code
 repo
 (this is before Github became the de facto). After the author left the
 journal, he did a couple of updates which he uploaded to the WP Codex,

 but

 nothing for a few years.

 Anyway, here it is:

 https://github.com/tomkeays/issue-manager





 --
 Shaun D. Ellis
 Digital Library Interface Developer
 Firestone Library, Princeton University
 voice: 609.258.1698 | sha...@princeton.edu


Re: [CODE4LIB] Help with WordPress for Code4Lib Journal

2012-12-04 Thread Mark Pernotto
If I recall correctly, there were some noticeable differences in the
way Wordpress would be willing to work with jQuery  ajax requests,
even as recently as 3.1 to it's current state 3.4.2.

I do quite a bit with Wordpress professionally.  I'd be willing to
help/work on either upgrading the plugin or help script a new one.

By the way, for the specific issues mentioned, there is now a way
where you should be able to set publication of articles by future date
natively in Wordpress - no plugin required.  I remember running into
this issue before, where a client desired this feature and we had to
write something custom for them, only to revert the custom script with
the upgrade of Wordpress.

Thanks,
Mark



On Tue, Dec 4, 2012 at 7:47 AM, Chad Nelson chadbnel...@gmail.com wrote:
 Tom,

 What version of WP are you currently on?

 Is the source of the plugin available anywhere?

 Chad




 On Tue, Dec 4, 2012 at 10:27 AM, Tom Keays tomke...@gmail.com wrote:

 On Tue, Dec 4, 2012 at 9:53 AM, Ross Singer rossfsin...@gmail.com wrote:

  Seriously, folks, if we can't even figure out how to upgrade our Drupal
  instance to a version that was released this decade, we shouldn't be
  discussing *new* implementations of *anything* that we have to host
  ourselves.
 

 Not being one to waste a perfectly good segue...

 The Code4Lib Journal runs on WordPress. This was a decision made by the
 editorial board at the time (2007) and by and large it was a good one. Over
 time, one of the board members offered his technical expertise to build a
 few custom plugins that would streamline the workflow for publishing the
 journal. Out of the box, WordPress is designed to publish a string of
 individual articles, but we wanted to publish issues in a more traditional
 model, with all the issues published at one time and arranged in the issue
 is a specific order. We could (and have done) all this manually, but having
 the plugin has been a real boon for us.

 The Issue Manager plugin that he wrote provided the mechanism for:
 a) preventing articles from being published prematurely,
 b) identifying and arranging a set of final (pending) articles into an
 issue, and
 c) publishing that issue at the desired time.

 That person is no longer on the Journal editorial board and upkeep of the
 plugin has not been maintained since he left. We're now several
 WordPress releases
 behind, mainly because we delayed upgrading until we could test if doing so
 would break the plugins. We have now tested, and it did. I won't bore you
 with the details, but if we want to continue using the plugin to manage our
 workflow, we need help.

 Is there anybody out there with experience writing WordPress plugins that
 would be willing to work with me to diagnose what has changed in the
 WordPress codex that is causing the problems and maybe help me understand
 how to prevent this from happening again with future releases?

 Thanks,
 Tom Keays / tomke...@gmail.com



Re: [CODE4LIB] Help with WordPress for Code4Lib Journal

2012-12-04 Thread Mark Pernotto
Tom,

Yes, I can confirm that I'm willing to work on this issue.  However,
if a solution works better through Shaun's github solution would work
better for the group, I say go that routewhatever is best.

Thanks,
Mark



On Tue, Dec 4, 2012 at 10:01 AM, Shaun Ellis sha...@princeton.edu wrote:
 On 12/4/12 12:42 PM, Tom Keays wrote:

  From Shaun Ellis (echoed by Katherine Lynch):

 Tom, can you post the plugin to Code4Lib's github so we can have a crack

 at it

 I can't, since I do not have a login to that Github account (I didn't even
 know about it until last week). I'm not sure what the feeling of the
 current Code4Lib owner(s) is regarding this, but if you can push content
 to
 that account, please feel free to start a new plugin repo there.


 You can upload it to your account and then someone with admin rights to
 Code4Lib can fork it if they think our Code4Lib Journal custom code should
 be a repo there.  Doesn't really matter if they do actually. I think for
 debugging, it's best to point folks to the actual code the journal is
 running, which was forked from the official one on the Codex, right?


 --
 Shaun D. Ellis
 Digital Library Interface Developer
 Firestone Library, Princeton University
 voice: 609.258.1698 | sha...@princeton.edu


Re: [CODE4LIB] Help with WordPress for Code4Lib Journal

2012-12-04 Thread Mark Pernotto
So, I have a solution - well, at least to what I think is the problem.

It looks like the im_admin_main.php file made a reference to a
depricated 'categories.php' file in the admin section.  There were a
couple other query string parameters that weren't quite correct.

I'd love if someone else would take a look at this, though.  Can
someone contact me off-list (or even on-list) and instruct me the best
way to go about posting the patch?

Thanks,
Mark



On Tue, Dec 4, 2012 at 10:56 AM, Chad Nelson chadbnel...@gmail.com wrote:
 Beat me by one minute Tom!

 And here it is in code4lib github

 https://github.com/code4lib/IssueManager


 On Tue, Dec 4, 2012 at 1:47 PM, Tom Keays tomke...@gmail.com wrote:

 On Tue, Dec 4, 2012 at 1:01 PM, Shaun Ellis sha...@princeton.edu wrote:

  You can upload it to your account and then someone with admin rights to
  Code4Lib can fork it if they think our Code4Lib Journal custom code
 should
  be a repo there.  Doesn't really matter if they do actually. I think for
  debugging, it's best to point folks to the actual code the journal is
  running, which was forked from the official one on the Codex, right?


 It was written for the Journal and originally kept in a Google Code repo
 (this is before Github became the de facto). After the author left the
 journal, he did a couple of updates which he uploaded to the WP Codex, but
 nothing for a few years.

 Anyway, here it is:

 https://github.com/tomkeays/issue-manager



Re: [CODE4LIB] Help with WordPress for Code4Lib Journal

2012-12-04 Thread Mark Pernotto
As I'm clearly not well-versed in the goings-on of GitHub, I've
'forked' a response, but am not sure it worked correctly.

I've zipped up and sent updates to Tom.  If anyone could point me in
the direction of a good GitHub tutorial (for contributing to projects
such as these - the 'creating an account' part I think I have down),
I'd appreciate it.

Thanks,
Mark



On Tue, Dec 4, 2012 at 1:43 PM, Tom Keays tomke...@gmail.com wrote:
 Let's have mine be the canonical version for now. It will be too confusing
 to have two versions that don't have an explicit fork relationship.

 https://github.com/tomkeays/issue-manager

 Tom

 On Tue, Dec 4, 2012 at 1:56 PM, Chad Nelson chadbnel...@gmail.com wrote:

 Beat me by one minute Tom!

 And here it is in code4lib github

 https://github.com/code4lib/IssueManager


 On Tue, Dec 4, 2012 at 1:47 PM, Tom Keays tomke...@gmail.com wrote:

  On Tue, Dec 4, 2012 at 1:01 PM, Shaun Ellis sha...@princeton.edu
 wrote:
 
   You can upload it to your account and then someone with admin rights to
   Code4Lib can fork it if they think our Code4Lib Journal custom code
  should
   be a repo there.  Doesn't really matter if they do actually. I think
 for
   debugging, it's best to point folks to the actual code the journal is
   running, which was forked from the official one on the Codex, right?
 
 
  It was written for the Journal and originally kept in a Google Code repo
  (this is before Github became the de facto). After the author left the
  journal, he did a couple of updates which he uploaded to the WP Codex,
 but
  nothing for a few years.
 
  Anyway, here it is:
 
  https://github.com/tomkeays/issue-manager
 



Re: [CODE4LIB] jQuery Set data-mini Attribute For All Form Inputs

2012-11-30 Thread Mark Pernotto
Gavin/Group:

Sorry about that.  That will teach me to to respond to a syntax
question before testing.

jsfiddle.net is a great resource!

And I'd love to see what you end up with!

Thanks,
mark



On Fri, Nov 30, 2012 at 9:38 AM, Gavin Spomer spom...@cwu.edu wrote:
 Thanks for the tool suggestions! I also found one recently:

http://jsfiddle.net/

 - Gavin

 Shaun Ellis sha...@princeton.edu 11/30/2012 7:10 AM 
 I stand corrected.  CodePen doesn't require login... here's the same
 example there:
 http://codepen.io/anon/full/wxJqz

 The UI is a little different and CodePen, but it seems that they've
 taken jsbin and added a some more features. I like the longer list of JS
 libraries in jsbin, but you can plug them in at CodePen if you need to.

 -Shaun

 On 11/29/12 7:33 PM, Eric Phetteplace wrote:
 Is the data-mini attribute really not getting set? Or is it being set but
 the jQuery Mobile framework isn't applying its mini style? Inspect the
 input elements with your dev tools to see if data-mini is set.

 Without seeing your code, my guess is that it runs after the mobile-init
 event where jQuery Mobile does all its magic, including taking all those
 data attributes and using them to apply classes and inject markup. You
 could either make sure your code fires before mobile-init (e.g. not
 wrapping it in a $(document).ready() call would likely do the trick) or
 directly applying the appropriate class, which is ui-mini I think.

 Best,
 Eric Phetteplace
 Emerging Technology Librarian
 Chesapeake College


 On Thu, Nov 29, 2012 at 6:58 PM, Mark Pernotto 
 mark.perno...@gmail.comwrote:

 This looks more syntactical than anything else.

 Try:

 $('input').textinput({mini:true});

 This hasn't been tested.

 Thanks,
 Mark


 On Thu, Nov 29, 2012 at 3:40 PM, Gavin Spomer spom...@cwu.edu wrote:
 Hello,

 I'm almost done developing my custom theme for when I migrate our
 Greenstone digital collections over to Omeka. I've built in a mobile
 interface for when a mobile device is detected and have been having a lot
 of fun implementing that with jQuery Mobile.

 I prefer to make most stuff mini ala the jQuery Mobile data-mini
 attribute. Works fine when I'm editing the actual html source, but the
 following won't work for some reason:

 $(document).ready(function() {
$('input').attr('data-mini', 'true');
 });

 I can set other attributes successfully like: (just as a test)

 $(document).ready(function() {
$('input').attr('data-mini', 'true');
$('input').attr('style', 'background:yellow');
 });

 But for some reason it won't do the data-mini attribute... why?
 Gavin Spomer
 Systems Programmer
 Brooks Library
 Central Washington University


 --
 Shaun D. Ellis
 Digital Library Interface Developer
 Firestone Library, Princeton University
 voice: 609.258.1698 | sha...@princeton.edu


Re: [CODE4LIB] What is a coder?

2012-11-29 Thread Mark Pernotto
On Thu, Nov 29, 2012 at 6:04 AM, Jonathan Rochkind rochk...@jhu.edu wrote:
 Dude, I'm positive I'm a coder because I spend a whole lot of time coding, 
 and I think I do it pretty decently -- and search in Google is a key part 
 of my workflow!   So is debugging.   Hopefully 
 copy-and-paste-coding-without-knowing-what-i'm-doing is not, however, true.

 But no need to be elitist about it.

Here, here!  But I do really try to figure out what the code does
before implementing/deploying.


 
 From: Code for Libraries [CODE4LIB@LISTSERV.ND.EDU] on behalf of Friscia, 
 Michael [michael.fris...@yale.edu]
 Sent: Thursday, November 29, 2012 8:45 AM
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: Re: [CODE4LIB] What is a coder?

 Thought process of a coder:
 1- I need to open a file in my program
 2- ok, I'll import IO into my application and read the definition
 3- i create methods and functions around the definition and open my file
 Total time to deliver code: 5 mins

 Thought process of a non-coder
 1- I need to open a file in my program
 2- I open up a web browser and go to google
 3- search open file in java
 4- copy/paste the code I find
 5- can't figure out why it doesn't work, go back to step 3 and try a 
 different person's code
 6- really stuck, contemplates changing the programming language
 7- runs some searches on easier programming languages
 8- goes back to Google and tries new search terms and gets different results
 9- finally get it working
 10- remove all comments from the copy/paste code so it looks like I wrote it.
 Total time to deliver code: 5 hours


 ___
 Michael Friscia
 Manager, Digital Library  Programming Services

 Yale University Library
 (203) 432-1856


 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Mark 
 A. Matienzo
 Sent: Wednesday, November 28, 2012 10:03 PM
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: [CODE4LIB] What is a coder?

 Some discussion (both on-list and otherwise) has referred to coders,
 and some discussion as such has raised the question whether
 non-coders are welcome at code4lib.

 What's a coder? I'm not trying to be difficult - I want to make
 code4lib as inclusive as possible.

 Mark A. Matienzo m...@matienzo.org
 Digital Archivist, Manuscripts and Archives, Yale University Library
 Technical Architect, ArchivesSpace


Re: [CODE4LIB] jQuery Set data-mini Attribute For All Form Inputs

2012-11-29 Thread Mark Pernotto
This looks more syntactical than anything else.

Try:

$('input').textinput({mini:true});

This hasn't been tested.

Thanks,
Mark


On Thu, Nov 29, 2012 at 3:40 PM, Gavin Spomer spom...@cwu.edu wrote:
 Hello,

 I'm almost done developing my custom theme for when I migrate our Greenstone 
 digital collections over to Omeka. I've built in a mobile interface for when 
 a mobile device is detected and have been having a lot of fun implementing 
 that with jQuery Mobile.

 I prefer to make most stuff mini ala the jQuery Mobile data-mini attribute. 
 Works fine when I'm editing the actual html source, but the following won't 
 work for some reason:

$(document).ready(function() {
   $('input').attr('data-mini', 'true');
});

 I can set other attributes successfully like: (just as a test)

$(document).ready(function() {
   $('input').attr('data-mini', 'true');
   $('input').attr('style', 'background:yellow');
});

 But for some reason it won't do the data-mini attribute... why?
 Gavin Spomer
 Systems Programmer
 Brooks Library
 Central Washington University


Re: [CODE4LIB] Advice on a class

2011-07-26 Thread Mark Pernotto
I think that by taking the C class, it will start you on a long road
towards programming - some of the topics you may encounter may not be
immediately applicable to your RoR or PHP learning experiences, but it
should provide you a nice foundation in problem solving (from a
programming perspective) and possibly a starting base in
object-oriented programming.  The ability of working and learning with
others in a classroom setting could potentially provide insight and
feedback as a collective learning environment.

I suppose the only thing I would worry about in a classroom setting
would be the pace.  Sometimes if I'm really gearing up to learn
something new, I'd prefer doing my own research through StackOverflow
and a Wrox intro book rather than a classroom.  That way, it lets me
move along at my own pace, skipping the rudimentary lessons and
focusing more intently on what it is I'm there to learn.

Mark A. Pernotto



On Tue, Jul 26, 2011 at 1:02 PM, Joe Hourcle
onei...@grace.nascom.nasa.gov wrote:
 On Jul 26, 2011, at 3:31 PM, Lepczyk, Timothy wrote:

 Thanks everyone.  The reasons I thought of taking the C course is a) it's 
 free, b) concepts might be transferrable to other languages.  I may continue 
 to focus on Ruby on Rails.


 Before everyone manages to scare you away from learning C,
 if you're going to be doing a lot of programming, it's useful to
 learn other languages so you can see how they handle
 different tasks.  C is particularly useful as a lot of other language's
 implementations were primarily written in C.

 In college, I took a 68k assembly course ... I've never done
 *any* assembly since then, but it makes you appreciate the
 issues in optimization, and just how low-level you need to get
 when talking to processors.

 With C, pointers and pointer arithmetic are a bit of a pain,
 and strongly-typed languages aren't the greatest for all
 tasks ... and don't get me started on C-strings ... but you'll
 learn a lot ... even just where to look for people screwing
 up their assumptions  creating security problems because
 of off-by-one issues or screwing up the length of their strings
 or neglecting their garbage collection.

 ... and, understanding C will also help you when it comes
 time to install stuff, especially if you're trying to port someone's
 linux-centric code to Solaris or MacOS.

 As for the stuff that translates:

        searching for the missing semi-colon
        error messages that make no sense
        finding the 'smart quote' that your lab partner pasted
                in because they do their editing in MS Word.

 um ... I'm not selling this very well, am I?

 Anyway ... C is a useful language ... almost all higher languages
 have some way of binding to C code, and if nothing else,
 learning it means you'll be able to port over someone's
 1k line C program into 20 to 40 lines of whatever other modern
 language you prefer.

 -Joe



Re: [CODE4LIB] It's cool to love milk and cookies

2010-05-02 Thread Mark Pernotto
I like heavy whipping cream and Oreo Double-Stufs dipped in natural
creamy peanut butter.

On Sun, May 2, 2010 at 10:33 AM, Michael B. Klein mbkl...@gmail.com wrote:
 I prefer hot chocolate.

 On Fri, Apr 30, 2010 at 4:13 PM, Simon Spero s...@unc.edu wrote:

 I like chocolate milk.