Author Archives: jrochkind

Really slow rspec suite? Use the fuubar formatter!

I am working on a ‘legacy’-ish app that unfortunately has a pretty slow test suite (10 minutes+). I am working on some major upgrades to some dependencies, that require running the full test suite or a major portion of it iteratively … Continue reading

Posted in General | Leave a comment

Commercial gmail plugin to turn gmail into a help desk

This looks like an interesting product; I didn’t even know this level of gmail plugin was supported by gmail. http://www.keeping.com/ Help desk ticketing, with assignment, priorities, notes, and built-in response-time metrics, all within your gmail inbox (support emails are in a … Continue reading

Posted in General | Leave a comment

Sequential JQuery AJAX using recursive creation of Promises

So I’m in JQuery-land. I’ve got an array of 100K ID’s on the client-side, and I want to POST them to a back-end API which will respond with JSON, in batches of 100 at a time. So that’s 1000 individual … Continue reading

Posted in General | Leave a comment

“Apple Encryption Engineers, if Ordered to Unlock iPhone, Might Resist”

From the NYTimes, “Apple Encryption Engineers, if Ordered to Unlock iPhone, Might Resist” SAN FRANCISCO — If the F.B.I. wins its court fight to force Apple’s help in unlocking an iPhone, the agency may run into yet another roadblock:Apple’s engineers. … Continue reading

Posted in General | 1 Comment

Followup: Reliable Capybara JS testing with RackRequestBlocker

My post on Struggling Towards Reliable Capybara Javascript Testing attracted a lot of readers, and some discussion on reddit. I left there thinking I had basically got my Capybara JS tests reliable enough… but after that, things degraded again. But now I think I … Continue reading

Posted in General | Leave a comment

Struggling Towards Reliable Capybara Javascript Testing

You may have reached this blog post because you’re having terribly frustrating problems with Capybara Javascript-driver feature tests that are unreliable in intermittent and hard to reproduce ways. You may think this is a rare problem, since Capybara/JS is such … Continue reading

Posted in General | 3 Comments

A tiny gem: #dig backfill for older rubies

Excited about #dig in MRI 2.3.0?  Want to use it in your gem code, but don’t want your gem to require MRI 2.3.0 yet? I got you covered: https://github.com/jrochkind/dig_rb It’ll add in a pure-ruby #dig implementation if Hash/Array/Struct don’t have #dig … Continue reading

Posted in General | Leave a comment

American Libraries adds Gale quotes in without author’s knowledge

From a blog post by Patricia Hswe and Stewart Varner. TL;DR: Patricia Hswe and I wrote an article for American Libraries and the editors added some quotes from a vendor talking about their products without telling us. We asked them to … Continue reading

Posted in General | 2 Comments

Career change

Today is my last day here at Johns Hopkins University Libraries. After Thanksgiving, I’ll be working, still here in Baltimore, at Friends of the Web, a small software design, development, and consulting company. I’m excited to be working collaboratively with a … Continue reading

Posted in General | 10 Comments

Linked Data Caution

I have been seeing an enormous amount of momentum in the library industry toward “linked data”, often in the form of a fairly ambitious collective project to rebuild much of our infrastructure around data formats built on linked data. I think … Continue reading

Posted in General | 21 Comments