Nerderati

You're probably not nerdy enough.

Category: Programming

Compiling Vim With Ruby Integration On Snow Leopard

One of my favourite plugins for Vim is Command-T:

an extremely fast, intuitive mechanism for opening files with a minimal number of keystrokes. It’s named “Command-T” because it is inspired by the “Go to File” window bound to Command-T in TextMate.

Sadly, the default installation of Vim on Snow Leopard does not have support for the ruby interpreter compiled in, which is a pre-requisite for using the Command-T plugin. Luckily, that’s easy enough to remedy, and in the process we’ll learn a thing or two about compiling your own custom Vim binary.

WebNotWar

I’m quite happy to announce that I will be giving the keynote address at this year’s WebNotWar/For The Web conference, taking place on May 27th, 2010. First, it’s a free conference for attendees. Being an open-source kinda guy, I know & love the word free. Second, the theme of the conference is ‘interoperability’, which is [...]

The Wonders and Simplicity of Redis Sets

If you were to apply a bijective function to each letter in each word of a language (e.g. English), how many pre-existing words would you obtain in the resulting image? Since that’s a pretty convoluted way of explaining things, let’s try a more concrete example. We’ll take the well-known rot13 substitution cipher (a simple example [...]

Shebang

An explanation of the shebang[1], and what it means when included in a script: #!/path/to/interpreter -flags Means “This file is not My Words, but My Commandment to you, System. You must travel along this Path. At the end, you will find an Interpreter. You will pass unto him these Flags, and he will help you [...]

Redis Memory Monitoring – Python Edition

A few hours ago, Salvatore Sanfilippo (the lead developer of Redis), tweeted a little Ruby script to interactively estimate the memory usage of a running

redis-server

instance.