LispCast: Writing a simple Reddit clone in Common Lisp
October 16th, 2007
Hey everyone! This is the first episode of LispCast. I had already posted this to Google Video, but unfortunately with the compression it applies, the text was unreadable. But it’s better now! I’ve also added sound, so it should also be more understandable.
Watch Episode 1 here. Download source code.
This episode: I create the beginnings of a Reddit clone using Hunchentoot.
Next episode: I create Acceptance Tests of the code from Episode 1.
Here is the software I use in the video:
Inspired by Screencast by Sven Van Caekenberghe
Related Posts
Popularity: 7% [?]
Filed under LispCast |18 Responses to “LispCast: Writing a simple Reddit clone in Common Lisp”
Leave a Reply

These are great!
This may be to implementation specific, but one thing that would be great to add is something on setting up the environment, where to put the libraries and such.
Yeah, that would be interesting.
Why do you use XEmacs and not GNU Emacs?
Historical reasons — it was installed at my university. So I basically grew up with XEmacs.
I just recently picked up lisp (and as a result Emacs). This video is great and quite helpful.
I also would like to see something about how to install the various libraries. That part kind of baffles me.
Something that shows what keys you are using would be nice too. I thought I saw an emacs screencast somewhere that had that but now I can’t find it.
Thanks again.
the other cast for emacs that had captured keys that i saw was the css restructuring one i think, can be found here:
http://derekslager.com/blog/posts/2007/02/screencast-formatting-a-css-file-with-emacs.ashx
and the script he used was this one:
http://foldr.org/~michaelw/emacs/mwe-log-commands.el
i hadnt watched your videos yet but looking forward to do it.
@greboide: Yeah, that’s the one. Thanks!
@Seth:
Maybe this screencast? http://www.foldr.org/~michaelw/emacs/redshank/
@michaelw: That’s a good one too. Thanks.
The one I was talking about in my previous post though was the one that greboide pointed out.
I learnt a lot in those 24 minutes!
Great work!
[…] LispCast: Writing a simple Reddit clone in Common Lisp […]
Very good introduction - thanks for you effort!
I understand that you may want to make things really simple for the beginners, but why don’t avoid copy-pasting as much as possible? E.g. you could define a function to register a new handler, make incpoint / decpoint the same handler (by adding second parameter), make a function to show sorted links with :key argument, etc.
BTW, the standard (parse-integer str :junk-allowed t) works the same as s-utils:parse-integer-safely, and next-id is better defined as a closure:
(let ((last-id 0))
(defun next-id () (incf last-id)))
Aha - I haven’t noticed that there are more lispcasts, and refactoring is among them. So please ignore my previous comment :).
Nice! keep it up!
I have a quick question. Can you substitute CLISP in for SBCL? Are they just libraries or basis for running common lisp?
Scott: Hunchentoot requires a common lisp implementation that supports threads, which CLISP does not.
I downloaded and played it with both Windows Media Player and Nero ShowTime on Windows XP but got no sound. Can you help?
Thanks
Very nice video, looking forward for more.
Boyd Brown:
Since you’re using Windows you’re beyond help I’m afraid .. but a quick fix might be trying VLC: http://www.videolan.org/vlc/