Category Archives: General

“Small functions considered harmful”

From a blog post by Cindy Sridharan. Remind you of any library/cultural-heritage sector codebases you’ve worked with lately? Some people seem so enamored with small functions that the idea of abstracting any and every piece of logic that might seem even … Continue reading

Posted in General | Leave a comment

on hooking into sufia/hyrax after file has been uploaded

  Our app (not yet publicly accessible) is still running on sufia 7.3. (A digital repository framework based on Rails, also known in other versions or other drawings of lines as hydra, samvera, and hyrax). I had a need to … Continue reading

Posted in General | Tagged | 1 Comment

On open source, consensus, vision, and scope

Around minute 27 of Building Rails ActionDispatch::SystemTestCase Framework from Eileen Uchitelle. What is unique to open source is that the stakeholders you are trying to find consensus with have varying levels of investment in the end result… …but I wasn’t prepared for all … Continue reading

Posted in General | Tagged | Leave a comment

On choices

In a blog essay about non-rational devotion to software choices (the author argues it’s inevitable), a quote sprang out at me that reminds me of many decisions I’ve seen made at large institutions, as well as in distributed open source … Continue reading

Posted in General | Leave a comment

Memo on Technical Operational Considerations for IIIF in a Sufia/Hyrax app

(A rather lengthy, as is my wont, memo I wrote for internal use, which I also share with you) IIIF (International Image Interoperability Framework) is a standard API for a server which delivers on-demand image transformations. What sort of transformations … Continue reading

Posted in General | Leave a comment

Exploring and planning with Sufia/Hyrax/Fedora fixity validation

“Fixity” validation — basically validating a checksum against bytes on disk to make sure a file still is exactly as it was on ingest — is an important part of any digital preservation collection, and my understanding is that it’s … Continue reading

Posted in General | 2 Comments

On the graphic design of rubyland.news

I like to pay attention to design, and enjoy good design in the world, graphic and otherwise. A well-designed printed page, web page, or physical tool is a joy to interact with. I’m not really a trained designer in any … Continue reading

Posted in General | Tagged | Leave a comment

One way to remove local merged tracking branches

My git workflow involves creating a lot of git feature branches, as remote tracking branches on origin. They eventually get merged and deleted (via github PR), but i still have dozens of them lying around. Via googling, getting StackOverflow answers, … Continue reading

Posted in General | Tagged | 3 Comments

Use capistrano to run a remote rake task, with maintenance mode

So the app I am now working on is still in it’s early stages, not even live to the public yet, but we’ve got an internal server. We periodically have to change a bunch of data in our (non-rdbms) “production” … Continue reading

Posted in General | Tagged | Leave a comment

Hash#map ?

I frequently have griped that Hash didn’t have a useful map/collect function, something allowing me to transform the hash keys or values (usually values), into another transformed hash. I even go looking for for it in ActiveSupport::CoreExtensions sometimes, surely they’ve added … Continue reading

Posted in General | Tagged | 1 Comment