Saturday, December 17, 2005

open links in a new window

We added a quick preference tonight to open links in a new window if that's the way you like to roll.

Friday, December 16, 2005

feeling serendipitous? some more info with your RSS, perhaps?

Quite a few of you pointed out that the reddit bookmarklet set just didn’t feel complete without an “I’m feeling serendipitous” button, so we added it.

Similarly, there were quite a few requests for some more info in the RSS feed. Now, each headline includes the # of comments and a link to them.

Keep the great feedback coming!

Wednesday, December 14, 2005

updated comments

We uploaded some fixes to the comment pages today to make them more readable. Also, sorting by hot/top/new in the 'nested' view should be a little smarter.

Blogger, your days of running our blog are numbered...

Monday, December 12, 2005

comments!

We added a commenting system today for your enjoyment. The comments are votable and can be sorted just as all the other links on reddit.

It's not linked to anywhere yet, but the listing of all comments is pretty fun.

As always, it's a work in progress, help us out by sending a little feedback our way.

Saturday, December 10, 2005

feedback feedback

Since implementing the feedback form (which was fittingly created in response to user feedback), we've gotten some really great feedback, we just haven't been able to respond to all of it.

If you happen to be one of the users who hasn’t gotten a timely response to a question you’ve asked, it’s likely because we couldn’t respond. Unless you had already provided your email, we hadn’t included an option for you to enter a reply-to address. We read every email we get (except for the stuff in Chinese, we can't read that) and we’re happy to answer any questions you may have (hopefully, now we can actually respond to all of them).

There is now an optional field for your email if you would like a response. On the other hand, if you're just looking to flame us, inform us of a large inheritance we've been bequeathed, or perhaps offer us a great business deal somewhere in West Africa -- no reply-to email address is necessary.

Thursday, December 08, 2005

hottest page

In an effort to keep the front page a little less stale, we're experimenting with some new 'hot' functions. Previously it was simple function that boiled down to 'score - time'. While score and time remain the only two variables, we're trying some new techniques to keep things fresh.

Also, the penguin in the logo area isn't Tux. It's just a penguin.

Monday, December 05, 2005

on lisp

After reading the comments on the last post, figuring out how to articulate the reasons for our switch from Lisp to Python feels very much like figuring out how to articulate breaking up with one's girlfriend. Thoughts like "It's not you, it's me," "No, i haven't had Python in my head this whole time," "Lisp was a lot of fun. Really, I'll always cherish these memories," keeping parading about in my head.

Lisp is an amazing language. After spending the entire summer working entirely in Lisp, it's nearly impossible to work in another language and not say to myself, "If only this were Lisp..." Lisp has many goodies that make programming in it a joy: the REPL, macros and the lack of syntax are some. I won't go into the details, but rest assured, it's cool. People become Lisp zealots for a reason.

On a side note: Please ignore the comments that claim the Lisp community is harsh on beginners. The guys on comp.lang.lisp are very helpful (as with any newsgroup, you will get flamed for asking a question that can be answered with a single Google query, trying to cheat on your homework, or picking a fight). In addition, the bloggers who contribute to planet.lisp.org are all working on interesting things and are a great resource. The Lisp community may be small, but it is a good and helpful community nonetheless.

On that note, if you have been considering writing a web application in Lisp, go for it. It will be tough if you're not already a Lisper, but you will learn a lot along the way, and it will be worth it I am sure. Lisp is especially great for projects where the end goal is unknown because it's so easy to steer in different directions. Lisp will never get in your way, although sometimes the environment will.

Emacs and SLIME are a killer combination, but I develop on a Mac, and reddit.com is a FreeBSD box. On my Mac, my choices of threaded Lisp implementations was limited to OpenMCL, and in FreeBSD it's CMUCL. Because of the low-level socket and threading code we had to write, reddit would not run on my Mac, and I was always tethered to our FreeBSD development server. Not being able to program offline is a pain.

If Lisp is so great, why did we stop using it? One of the biggest issues was the lack of widely used and tested libraries. Sure, there is a CL library for basically any task, but there is rarely more than one, and often the libraries are not widely used or well documented. Since we're building a site largely by standing on the shoulders of others, this made things a little tougher. There just aren't as many shoulders on which to stand.

I am a little saddened to see so many posts along the lines of, "I'm so disappointed." And I'm actually surprised so many people care about the implementation language in the first place. But I guess it was Lisp, after all :)

So why Python?

We were already familiar with Python. It's fast, development in Python is fast, and the code is clear. In most cases, the Lisp code translated very easily into Python. Lots of people have written web applications in Python, and there's plenty of code from which to learn. It's been fun so far, so we'll see where it takes us.

Regardless of Python, reddit was begging for a rewrite. Whether it was the best decision to do it all at once is up for debate, but I'm very pleased at the way it turned out. We nabbed a number of lingering glitches at once-- glitches that would have been messy to fix incrementally because they were rooted in the early designs of reddit. Given that the reddit code itself is not incredibly complex, and we could use almost all of the old HTML, Javascript, and CSS from the original version, a rewrite seemed the easiest solution. The entire task took less than a week, with 80% of the code written in a single weekend. Yes, there a bugs we will have to fix again, and plenty of new ones as well, but in the long run it'll be worth it.

All that being said, we've got a lot of cool new things on the way that were excited about. I can't wait to introduce some of the new bugs we've been working on as well.

PS - If there's any interest, we could always document the process we went through developing the Lisp version of reddit so others trying to learn Lisp can learn what we know.

Thursday, December 01, 2005

some of you have been inquiring about the snake

hint: it's a python.

If you happen to be wondering whether or not our mascot is doomed, be sure to visit on Friday for the not-so-dramatic conclusion.