LispCast Episode 5

December 10th, 2007

A Thanksgiving trip to California, a massive hard drive failure, and the end of the semester rush later . . .

Episode 5 is ready!

Sorry for the delay, but I have a great episode for you now. This time, I add an ability to maintain users. In the last episode, I made the software persist to a database. But there was still no way to identify users. In this episode, you can watch me add a system for maintaining users. Users log in, own their ratings, and can only rate a link once. There’s more to the system, but you’ll have to watch the video to find out.

Watch LispCast Episode 5

Plus, I revised the acceptance tests behind the scenes to use the new database backend. The tests should work for the code from last episode.

Next episode: Revising acceptance tests to fit with the new login semantics.

Source code for the server and for the acceptance tests.

Popularity: 3% [?]


9 Responses to “LispCast Episode 5”

  1. Victor on December 10, 2007 9:55 am

    Thanks for a great ScreenCast. I would only like to note, that on my system it is rather hard to hear the voice since the volume is too low.

    As a side note, It seems to me that using triggers and views is a better solution in order to preserve data integrity (what relates a number of votes, and voters).

  2. Paul on December 12, 2007 1:13 am

    The audio was good however probably because I used wget to retrieve the ogg file first to disk for playback in vlc, instead of using a gnash or other web plugin.

    I wonder about how the network sockets are handled; is it done by the lisp implementation or can you have Apache or lighttpd in front of the lisp image? With Apache I think you’ll need a low keep-alive setting to have any chance of a large number of simultaneous users.

  3. Martin on December 12, 2007 5:13 am

    Great casts (1-5). I think your approach is spot on and it is brilliant that you both comment the code on the fly and focus so much on tests. Keep up the good work!

    Martin

  4. Aleksandr on December 12, 2007 11:49 am

    Hi
    Couldn’t you tell me please what the Emacs package you use to monitor the commands history in the bottom frame? Thanks!

  5. fast on December 13, 2007 3:45 am

    What am I doing wrong. After looking at your cast. It took me twenty minutes to get to the same point. How do I speed up my programming. Any advice?

  6. admin on December 14, 2007 2:29 pm

    @Aleksandr I’m using a package called mwe-log-commands.

    http://www.foldr.org/~michaelw/emacs/mwe-log-commands.el

  7. sp on December 30, 2007 1:49 pm

    Im liking these casts. Keep it up!

  8. LispCast Episode 6 | LispCast on January 6, 2008 3:58 pm

    […] In this episode I revise the Acceptance Tests to work with the new semantics of users that I developed in Episode 5. […]

  9. Some guy on January 12, 2008 9:16 am

    I enjoy your screencasts. Great work! A tip: I’m sure your db has some @@identity or @@last_insert_id or similar which is a bit neater to use, imho.

Trackback URI | Comments RSS

Leave a Reply

Name (required)

Email (required)

Website

Speak your mind