Category Archives: General

rubyland infrastruture, and a modest sponsorship from honeybadger

Rubyland.news is my hobby project ruby RSS/atom feed aggregator. Previously it was run on entirely free heroku resources — free dyno, free postgres (limited to 10K rows, which dashes my dreams of a searchable archive, oh well). The only thing I … Continue reading

Posted in General | Tagged | Leave a comment

bento_search 1.7.0 released

bento_search is the gem for making embedding of external searches in Rails a breeze, focusing on search targets and use cases involving ‘scholarly’ or bibliographic citation results. Bento_search isn’t dead, it just didn’t need much updating. But thanks to some … Continue reading

Posted in General | Leave a comment

CDs are not archival storage

Not even non-writeable factory-written ones. When Discs Die: CDs were sold to consumers as these virtually indestructible platters, but the truth, as exemplified by the disc rot phenomenon, is more complicated.

Posted in General | Leave a comment

ruby VCR, easy trick for easy re-record

I do a lot of work with external HTTP API’s, and I love the vcr for use in writing tests/specs involving these. It records the interaction, so most of the time the tests are running based on a recorded interaction, not … Continue reading

Posted in General | Tagged | Leave a comment

never bash again, just ruby

Sometimes I have a little automation task so simple that I think, oh, I’ll just use a bash script for this. I almost always regret the decision, as it tends to grow more complicated, and I start fighting with bash and … Continue reading

Posted in General | Tagged | 1 Comment

Heroku auto-scaling, and warning, ask first about load testing

Heroku auto-scaling looks like a pretty sweet feature, well-implemented as expected from Heroku. (Haven’t tried it out myself yet, just from the docs). But… “We strongly recommend that you simulate the production experience with load testing, and use Threshold Alerting … Continue reading

Posted in General | Tagged | Leave a comment

Concurrency in Rails 5.0

My previous posts on concurrency in ActiveRecord have been some of the most popular on this blog (which I’d like to think means concurrency is getting more popular in Rails-land), so I’m going to share what I know about some … Continue reading

Posted in General | Tagged | 5 Comments

A class_eval monkey-patching pattern with prepend

Yes, it’s best to avoid “monkey-patching” — changing an already loaded ruby class by reopening the class to add or replace methods. But sometimes you’ve got no choice, because a dependency just doesn’t give you the API you need to do … Continue reading

Posted in General | Tagged | 1 Comment

Segmenting “Catalog” and “Articles” in EDS API

About 4 years ago, I posted a long position paper arguing that a “bento-style” search  was appropriate for the institution I then worked at. (I’ve taken to calling it a “search dashboard” approach too since then.)   The position paper … Continue reading

Posted in General | Leave a comment

Getting full-text links from EDS API

The way full-text links are revealed (or at least, um, “signalled”) in the EBSCO EDS API  is… umm… both various and kind of baroque. I paste below a personal communication from an EBSCO developer containing an overview. I post this as a … Continue reading

Posted in General | Leave a comment