Have You Seen This Cache?
Code: C, cache, memcached, Python, referential transparency, Ruby
It looks like syntax highlighting, image thumbnails, and compiling object files. Let me explain.Continue this post
Replacing Ack with Ag
Code: ack, ag, searching, vim
I used grep to search code for a bit over a decade. I switched to ack to get more quicker searches without the distractions of svn/git metadata and other non-code files. After a very nice five years of ack, I’ve switched to ag. I’ve been recommending it to other devs for a year or two (it’s faster than ack with a couple really nice features like obeying .gitignore configs), but only took the time to switch this week.Continue this post
POP3 and SMTP via SSH Tunnels
Code: email, privacy, ssh, tunnel
I use Fetchmail to retrieve my email. I have an account that still doesn’t support SSL, but at least I also have an SSH account that on the same network. Here’s the fetchmailrc config to optionally tear down, then build and use an SSH tunnel:Continue this post
Chicago Code and Coffee
Code: code and coffee, meetups
A quick note for folks who don’t follow me on twitter: I’ve created a homepage for Code and Coffee, the weekly development meetup. Hope to see you soon.
Code: TeX, version numbers
When I evaluate a software library, I typically look first at how recently it’s had a release. Is it being updated, or has it been abandoned? There’s an assumption, here.Continue this post
Deleting Spam From sup Maildirs
Code: email, spam, sup, yak shave
A quirk of the sup email client is that it doesn’t sync back changes like deletes to mail sources. “Deleted” messages are only flagged and hidden from the user.Continue this post
The Harmful Consequences of Postel’s Maxim
Code: Postel's Maxim, standards
Be liberal in what you accept, and conservative in what you send. Postel’s Maxim, RFC 1122
There’s a short draft called The Harmful Consequences of Postel’s Maxim that reads:Continue this post
Economics Doesn’t Believe in Magic
Games: economics, magic, politics, world design, writing
On a writing forum an author asked for users to think of what societies would do with the magic system he designed. Here’s a short rewrite of his setup:Continue this post
Sizing Up My Queue
Code: media, podcasts, Ruby, yak shave
I have a folder named “queue” that I download podcasts, videos, and books to. It occurred to me that it hasn’t been empty for years. That’s OK, the world is a very interesting place, and I care that I produce things, not just consume them.
But I wondered how big the queue is. Not in terms of disk space, that doesn’t tell me much because the different encoding rates and formats result in very different file sizes. (The disk space command is
df -h, if you need it.) In terms of time.