Professional Web Applications Themes

DRb / Rinda Examples - Ruby

Why is it that the DRb and Rinda samples are not included by default in the ruby-1.8.1 codebase, and only in the downloadable version of drb? At least that's where I assume they are. Specifically: sample README.rd cgi_drb.rb darray.rb darrayc.rb dbiff.rb dcdbiff.rb dchatc.rb dchats.rb dhasen.rb dhasenc.rb dlogc.rb dlogd.rb dqin.rb dqlib.rb dqout.rb dqueue.rb drbc.rb drbch.rb drbs-acl.rb drbs.rb extserv_test.rb holderc.rb holders.rb http.rb name.rb namec.rb rindac.rb rindas.rb speedc.rb speeds.rb (from http://www.eng.dmu.ac.uk/~hgs/ruby/dRuby/) I only ask because it seems like this would be useful in the samples dir, and, I notice we do already have the drb test cases which I assume due get updated. ...

  1. #1

    Default DRb / Rinda Examples

    Why is it that the DRb and Rinda samples are not included by default in
    the ruby-1.8.1 codebase, and only in the downloadable version of drb?
    At least that's where I assume they are. Specifically:

    sample

    README.rd
    cgi_drb.rb
    darray.rb
    darrayc.rb
    dbiff.rb
    dcdbiff.rb
    dchatc.rb
    dchats.rb
    dhasen.rb
    dhasenc.rb
    dlogc.rb
    dlogd.rb
    dqin.rb
    dqlib.rb
    dqout.rb
    dqueue.rb
    drbc.rb
    drbch.rb
    drbs-acl.rb
    drbs.rb
    extserv_test.rb
    holderc.rb
    holders.rb
    http.rb
    name.rb
    namec.rb
    rindac.rb
    rindas.rb
    speedc.rb
    speeds.rb


    (from http://www.eng.dmu.ac.uk/~hgs/ruby/dRuby/)

    I only ask because it seems like this would be useful in the samples
    dir, and, I notice we do already have the drb test cases which I assume
    due get updated. I'm assuming the distribution of drb in ruby is more
    up to date then the one still available from the authors page. It would
    seem this might be useful information on how to use drb and more
    specifically Rinda, so why doesn't it come in the samples directory.

    As a related question, is there a good tutorial on how to use drb with
    ssl or not?

    Charles Comstock
    Charles Guest

  2. #2

    Default Re: DRb / Rinda Examples

    Hi,
     
     

    I talked with the author. Imported now.
     

    Regards to drb with ssl, [ruby-talk:89917] explains step by step
    setup process. WARN: it's NOT good, it's NOT tutorial.

    The thread from [ruby-talk:89843] might help you to think
    about "is ssl needed?"

    Regards,
    // NaHi


    NAKAMURA, Guest

  3. #3

    Default Re: DRb / Rinda Examples

    NAKAMURA, Hiroshi wrote: 
    >
    > I talked with the author. Imported now.
    >[/ref]

    Thank you very much
     
    >
    >
    > Regards to drb with ssl, [ruby-talk:89917] explains step by step
    > setup process. WARN: it's NOT good, it's NOT tutorial.
    >
    > The thread from [ruby-talk:89843] might help you to think
    > about "is ssl needed?"
    >
    > Regards,
    > // NaHi
    >
    >[/ref]

    I didn't quite follow the argument about why ssl wouldn't be needed.
    The problem I see with this is that the protocol is effectively telling
    what to execute on the other end, and while I realize the instance_eval
    code has been removed, I'm pretty sure the protocol is pretty open. I'm
    not setting anything up at the moment that I actually care that much,
    but I know if I actually wrote any sort of application that I would
    distribute, there is absolutely no way I would write it with just drb.
    I just don't trust the security of the protocol. Not that it's written
    poorly or anything, just that the way it works so nicely is exactly why
    it appears less secure.

    It's the same situation as using telnet as opposed to ssh.

    Charles Comstock
    Charles Guest

Similar Threads

  1. Using examples
    By flashste in forum Macromedia Flex General Discussion
    Replies: 0
    Last Post: May 18th, 12:08 PM
  2. [PHP-DEV] DOM Examples?
    By Ken in forum PHP Development
    Replies: 2
    Last Post: January 8th, 06:18 AM
  3. Working with Ring/Rinda
    By Shashank in forum Ruby
    Replies: 6
    Last Post: November 30th, 11:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139