05.16.08 - 04:42pm
I’ve seen a few Rake tasks for Rcov that work OK, but which fail in an interesting way (if you care about coverage): they give your coverage metrics an unexpected boost if you have 0% coverage in one or more source files.
Huh? Exactly. If you have 500 source files, and your test suite only requires […]
Category: coverage, testing, ruby, ruby on rails, tools, Uncategorized | Tags: | Be the First to Comment »
05.16.08 - 04:24pm
Ruby’s Kernel.require method will re-require the same source file if you pass it differing arguments that point to the same file. It doesn’t use File.expand_path to make sure it hasn’t already loaded the same file before. This can cause problems if you’re using constants or doing one-time initialization in a source file that’s getting loaded […]
Category: ruby, ruby on rails, Uncategorized | Tags: | 1 Comment »
05.15.08 - 06:48pm
Here’s a tip for those of you who, like me, back up your data to hard disks instead of tapes. Backing up to the same hard disk doesn’t protect you much (if the disk failed, you’d lose the data and the backup at once), so presumably you’re backing up to a separate physical drive. That […]
Category: raid, servers, Uncategorized | Tags: | Be the First to Comment »
03.03.08 - 06:18pm
In frustration I made a backup of my laptop hard disk, and did an erase-and-install with Tiger from the install DVDs that came with the laptop. Mind you, the Apple Hardware diagnostic gives this machine a clean bill of health. With the original 512MB DIMM, with nothing plugged in but the power cord, and with […]
Category: mobile, Mac, Uncategorized | Tags: | 2 Comments »
02.16.08 - 12:16am
There’s a new crop of databases that has appeared lately, under the rubric of “document databases”, and there’s quite a lot of enthusiasm for them given that they tend to be slow and very feature-poor compared to the SQL RDBMSs that are the typical persistence mechanism for web applications. What’s mainly appealing about them is […]
Category: gfs, nfs, oracle, postgresql, sql, architecture, servers, databases, Uncategorized | Tags: | Be the First to Comment »