Author Archives: jrochkind

ethical code for software engineering professionals?

Medical professionals have  professional ethical codes. For instance, the psychologists who (it is argued) helped devised improved torture methods for the U.S. government are accused of violating the ethical code of their profession. Do software engineers and others who write … Continue reading

Posted in General | 3 Comments

Be careful of regexes in a unicode world

Check out the following, which I wrote some time ago: See any problem with that? What is \w and \s again? The ruby docs helpfully explain: /\w/ – A word character ([a-zA-Z0-9_]) /\s/ – A whitespace character: /[ \t\r\n\f]/ See … Continue reading

Posted in General | 1 Comment

Ruby threads, gotcha with local vars and shared state

I end up doing a fair amount of work with multi-threading in ruby. (There is some multi-threaded concurrency in Umlaut, bento_search, and traject).  Contrary to some belief, multi-threaded concurrency can be useful even in MRI ruby (which can’t do true … Continue reading

Posted in General | Leave a comment

Control of information is power

And the map is not the territory. From the Guardian, Cracks in the digital map: what the ‘geoweb’ gets wrong about real streets “There’s no such thing as a true map,” says Mark Graham, a senior research fellow at Oxford Internet … Continue reading

Posted in General | Leave a comment

Fraud in scholarly publishing

Should librarianship be a field that studies academic publishing as an endeavor, and works to educate scholars and students to take a critical perspective?  Some librarians are expected/required to publish for career promotion, are investigations in this area something anyone does? … Continue reading

Posted in General | 2 Comments

Notes on oddities of Solr WordDelimiterFilter

A edited version of post I sent to the Blacklight listserv… I have a WordDelimiterFilter configured in my analysis for the ‘text’ type. I thought I originally inherited that from Blacklight suggested configuration, although it doesn’t appear to be there … Continue reading

Posted in General | Leave a comment

debugging apache Passenger without enterprise

I kind of love Passenger for my Rails deployments. It Just Works, it does exactly what it should do, no muss, no fuss.  I use Passenger with apache. I very occasionally have a problem that I am not able to … Continue reading

Posted in General | Leave a comment

“More library mashups”, with Umlaut chapter

I received my author’s copy of More Library Mashups, edited by Nicole Engard.  I notice the publisher’s site is still listing it as “pre-order”, but I think it’s probably available for purchase (in print or e). Publisher’s site (with maybe … Continue reading

Posted in General | Leave a comment

“Gates Foundation to require immediate free access for journal articles”

http://news.sciencemag.org/funding/2014/11/gates-foundation-require-immediate-free-access-journal-articles Gates Foundation to require immediate free access for journal articles By Jocelyn Kaiser 21 November 2014 1:30 pm Breaking new ground for the open-access movement, the Bill & Melinda Gates Foundation, a major funder of global health research, plans … Continue reading

Posted in General | Leave a comment

Useful lesser known ruby Regexp methods

1. Regexp.union Have a bunch of regex’s, and want to see if a string matches any of them, but don’t actually care which one it matches, just if it matches any one or more? Don’t loop through them, combine them … Continue reading

Posted in General | Leave a comment