Category Archives: General

Rails5 (and earlier?) ActiveRecord::Enum supports strings in db

I’ve often wanted to use ActiveRecord::Enum for the features it provides like query methods and value restrictions — but wanted to map to strings in the database, rather than integers. Whatever hypothetical performance or storage advantage you get from using integers, I’d … Continue reading

Posted in General | 2 Comments

Mythical Man-Months et al

I’ve never actually read Fred Brooks’ Mythical Man-Month, but have picked up many of it’s ideas by cultural osmosis.  I think I’m not alone, it’s a book that’s very popular by reputation, but perhaps not actually very influential in terms … Continue reading

Posted in General | Leave a comment

bittorrent for sharing enormous research datasets

academictorrents.com says: We’ve designed a distributed system for sharing enormous datasets – for researchers, by researchers. The result is a scalable, secure, and fault-tolerant repository for data, with blazing fast download speeds. There are data sets from researchers are several respected … Continue reading

Posted in General | Leave a comment

technical debt/technical weight

Bart Wronski writes a blog post about “technical weight”, a concept related to but distinct from “technical debt.”  I can associate some of what he’s talking about to some library-centered open source projects I’ve worked on. Technical debt… or technical weight? … Continue reading

Posted in General | Leave a comment

UC Berkeley Data Science intro to programming textbook online for free

Looks like a good resource for library/information professionals who don’t know how to program, but want to learn a little bit of programming along with (more importantly) computational and inferential thinking, to understand the technological world we work in. As … Continue reading

Posted in General | Leave a comment

How to see if current version of a gem is greater than X

I sometimes need to this, and always forget how. I want to see the currently loaded version of a current gem, and see if it’s greater than a certain version X. Mainly because I’ve monkey-patched that gem, and want to … Continue reading

Posted in General | Leave a comment

Handy introspection for debugging Rails routes

I always forget how to do this, so leave this here partly as a note to myself. From Zobie’s Blog and Mike Blyth’s Stack Overflow answer…   If you have an isolated Rails engine mounted, it’s paths seem to not … Continue reading

Posted in General | Leave a comment

GREAT presentation on open source development

I highly recommend Schneem’s presentation on “Saving Sprockets”, which he has also turned into a written narrative. Not so much for what it says about Sprockets, but for what it says about open source development. I won’t say I agree with … Continue reading

Posted in General | Leave a comment

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