LispCast Episode 5
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.
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.
Related Posts
Popularity: 3% [?]
Filed under LispCast |9 Responses to “LispCast Episode 5”
Leave a Reply

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).
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.
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
Hi
Couldn’t you tell me please what the Emacs package you use to monitor the commands history in the bottom frame? Thanks!
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?
@Aleksandr I’m using a package called mwe-log-commands.
http://www.foldr.org/~michaelw/emacs/mwe-log-commands.el
Im liking these casts. Keep it up!
[…] In this episode I revise the Acceptance Tests to work with the new semantics of users that I developed in Episode 5. […]
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.