why not ben

Ben Tucker's virtual life

Jan 5
“MemcacheDB is a distributed key-value storage system designed for persistent. It is NOT a cache solution, but a persistent storage engine for fast and reliable key-value based object storage and retrieval. It conforms to memcache protocol(not completed, see below), so any memcached client can have connectivity with it. MemcacheDB uses Berkeley DB as a storing backend, so lots of features including transaction and replication are supported.” MemcacheDB: A distributed key-value storage system designed for persistent This looks potentially very useful!

Dec 31
Oktapodi. Love it!

Snowy (& blurry) Bailey Snowy (& blurry) Bailey

Carnage left from my virgin chili making adventure Carnage left from my virgin chili making adventure

Dec 18

File creation date in Ruby on Macs

Brent Simmons posted about how to get the file creation data in Ruby on a Mac. His solution is good, but suffers from shell injection. Here’s a slightly modifed version that’s not susceptible (that I know of):

require 'open3'
require 'time'

def creation_time(file)
   Time.parse(Open3.popen3("mdls", 
                        "-name",
                        "kMDItemContentCreationDate", 
                        "-raw", file)[1].read)
end

Dec 16

“You answered 30 out of 33 correctly — 90.91 %” My score on the American Civic Literacy Quiz. For the record, I got the following questions wrong: 4, 7, & 13.

Dec 12
You are never too mature for a little snowball fight (via reddit) You are never too mature for a little snowball fight (via reddit)

Dec 10

Page 1 of 69