Archive for the 'How'd they do that?' Category

How’d they do that? Breaking the server.

Thursday, December 4th, 2008

Some of you may have noticed the hour that Fluther was down this afternoon. I thought I’d give you a little insight into what we’ve been I’ve been up to while Bacio fiddles the bits on the server.
Not wanting anyone to accuse us of not running with the cool kids, I decided to implement a […]

django + vim

Friday, October 17th, 2008

I’ve finally weaned myself off Komodo, since the vim bindings had just enough tiny errors to annoy me, and I was never satisfied with how long it took to find and open a file inside the project.
The one thing I was really missing in vim, though, was solid code-completion feature. After much haranguing, I finally […]

mogileFS for Django

Thursday, September 4th, 2008

In preparation for DjangoCon, I thought I’d release a little bit of quickly-written-code (read: easily improvable!) that we use to serve our avatars on Fluther.
Here’s the basic rundown:

Get mogilefs on your box
Patch django to support different FileBackends
Get data into mogile
Get data out of mogile

Getting mogile
We use Ubuntu on our production boxes, and it just so […]

“How’d they do that?” Pagination

Friday, April 11th, 2008

In this week’s installment, we show you something simple but important: pagination. If you’ve ever seen those little numbers at the bottom of a Google Search, then you’re familiar with a paginated list:

Now we’ll show you how we made a reusable paginator for different parts of Fluther.
First we had to decide how it should look, […]

“How’d they do that?” Real-time chat

Wednesday, April 2nd, 2008

In Erik’s last entry in the series, robmandu asked how we implemented the real-time chat. So, ask and ye shall receive! There are a lot of moving parts in the chat system, so I’m going to focus mostly on the back-end for this article — which allows me to show you one of my favorite […]

“How’d they do that?” Correcting punctuation

Tuesday, March 25th, 2008

In my last post, I announced a new feature that automatically corrects the punctuation of questions using “fancy computer logic”. I’d like to reveal some of that computer logic, in the first in a series of blog posts where we explore the technology that drives Fluther.