Evan Martin (evan) wrote in evan_tech,
Evan Martin


puppy:~/projects/lj/ljrb/sample% ./fuse ../../evan_tech.db lj
puppy:~/projects/lj/ljrb/sample% ls lj/2006/03/10
661.txt 662.txt
puppy:~/projects/lj/ljrb/sample% cat lj/2006/03/10/662.txt
gem for ljrb

Thanks to your advice, I have successfully made a gem and uploaded it to Rubyforge. So I guess it'll show up in the gems system eventually...?

Otherwise, you can download the tarball or gem from the <a href="http://neugierig.org/software/livejournal/ruby/">homepage</a>.

Please let me know if it works for you.

I was thinking of using this to make offline editing painless: I could make it so editing one of these files marks it as dirty in the database, and then I could make the "sync" mode bidirectional by pushing the dirty entries. But I dunno if it's worth it, and I'm a little concerned about the distributed revisioning problem: if it's edited on the server and on the client separately, how can the client know not to clobber your changes? (I guess it could retrieve each entry before allowing pushing new ones and verify the server-side one is as expected...)

Using fuse, at least through Ruby, is a little cumbersome: each method you provide (directory?, read_file) needs to validate all the paths provided. *shrug*
Tags: livejournal, project, ruby

  • dremel

    They published a paper on Dremel, my favorite previously-unpublished tool from the Google toolchest. Greg Linden discusses it: "[...] it is capable…

  • more on synonyms

    Before Chrome, this is what I spent much of my Google career working on.

  • chrome

    I guess our project is in the news today... I'm glad that I finally can tell people what I work on at Google, and I'm glad I get to work primarily…

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.