Downloads

November 23rd, 2009 Leave a comment Go to comments

Course downloads

Diagnostic quiz: diagnostic_quiz.txt

Assignments

Lecture Slides

NOTE: The lectures slides are white on black. If you really want black on white (for printing) let me know and I will start doing that.

NOTE: The ZIP file contains the HTML lectures, which included embedded Ruby (using JRuby, a version of Ruby written in Java). To my knowledge, this only works on Firefox. It is completely self-contained, and does not depend on the Ruby installed on your system.

Examples:

  1. Colin
    September 3rd, 2009 at 10:28 | #1

    Do we need a username/password for these downloads? Thanks

  2. September 3rd, 2009 at 10:30 | #2

    Yes - I will e-mail it to everyone this evening.

  3. Ron Newman
    September 4th, 2009 at 07:46 | #3

    The "3-Sep-2009, Hour 2" link does not work. I changed it to http://e168f09.plugh.org/extras/downloads/lecture01b.zip and that seems to work.

  4. September 4th, 2009 at 07:50 | #4

    @Ron Newman
    I think I just fixed it.

  5. Ron Newman
    September 4th, 2009 at 09:48 | #5

    When I loaded the lecture1b slides on each of my four browsers (on MacOS X Leopard 10.5.9, and tried to execute the embedded JRuby interpreter, here's what I got:

    Firefox 3.5.2: works as expected

    Camino 1.6.9: works as expected

    Opera 10.00: at first seems to work as expected -- but then, it often erases all of the output a few seconds after displaying it, reverting to the interpreter window's original contents

    Safari 4.0.3: org.jruby.exceptions.RaiseException: :2: unknown type of %string%23 A version of XMP that provides some flexibility for display

    So I guess JRuby is not very portable?

  6. September 4th, 2009 at 10:44 | #6

    @Ron Newman

    Well, as I said in lecture, I wrote it for Firefox, and didn't really look at other browsers. IE won't run it, because it doesn't like to load .jar files from disk. If you can get it to run better on Opera and Safari, I'll take fixes, but I think Firefox is ubiquitous for developers.

    It is fairly tricky code, because there is a lot of JavaScript to manage both HTML Slidy (the W3C slide package) and the JRuby. Among other things, the JavaScript prepends and appends extra Ruby code before and after what gets executed. Look in support/additional/ruby-source.html -- all that is identified by the JavaScript, and then gets serialized into a URL # anchor through a frameset . . . I had to write my own xmp (which might be in the index for Programming Ruby).

    Now that I understand the JRuby internals better, I would probably do the whole thing in a different way.

  7. Ron Newman
    September 4th, 2009 at 11:52 | #7

    Thanks. Not complaining at all, just observing and curious about what I saw.

  8. Brendan Shea
    September 17th, 2009 at 18:52 | #8

    Will the lecture notes for lecture 3 be posted in advance of lecture?

  9. September 17th, 2009 at 19:14 | #9
  10. Brendan Shea
    September 17th, 2009 at 19:14 | #10

    @john Thanks!

  11. Ron Newman
    October 5th, 2009 at 16:03 | #11

    Can you add lectures 5a and 5b to this list? Thanks.

  12. October 5th, 2009 at 17:03 | #12

    @Ron Newman

    Fixed. I also updated the dates, which were wrong.

  13. B Ruml
    October 13th, 2009 at 11:42 | #13

    The second migrations example zip file link has a couple of digits swapped!

  14. October 13th, 2009 at 11:51 | #14

    @B Ruml

    Mo' betta?

  15. Ron Newman
    November 20th, 2009 at 13:02 | #15

    I hope you can put up the "RESTful client" example too. That went by far too fast for me to try to take notes.

  1. No trackbacks yet.