Twitter Updates

    Categories

    Prime Factors in Scheme

    I was reading an article that with a Ruby code snippet for generating prime factors, so I thought I would try it in Scheme.

    First draft:

    (define (prime-factors-1 n)
    (if (= n 1)
    (list)
    (for/or ((m (in-range 2 (add1 n))))
    [...]

    Bon Jovi...

    … Friday!

    Silver Bells in the City

    Last Friday, we went downtown to the annual Silver Bells in the City parade.  After the parade we went to Palace of Jamaica for dinner.  It was fantastic.

    I had my fancy new Flip Ultra on hand and captured this festive moment:

    VLC and PLT Scheme [n+1]

    I figured out how to playback video inside a PLT Scheme gui window. media-player-window% below is a panel that displays an embedded video and 4 methods for controlling the playback: load, play, stop and release. It is dependent on my vlc foreign function interface, included below the media-player-window% code.

    Note that for reasons I [...]