Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

rugby with multiple interfaces

 [1/10] from: maarten:koopmans:surfnet:nl at: 11-Mar-2003 8:45


Hi, I just realized that I can adapt Rugby to support different client interfaces. It would imply adding an extra refinement to get-rugby-service /use-ip-address ip-address where you can optionally specify the ip address of the interface this client will use. The Rugby server will then dynamically regenerate the stubs and send them to you. Does this sound workable? Now this can be done and will take some time as there are dependencies with secure-stubs and you want to do some stub caching. Unless somebody really needs it right now it is not on top of my priority list (I am finishing some other really good stuff, no Petr, don't ask). It will be added somewhere this spring however. One question to my user base: if you are using Rugby I'd appreciate an email (that will be treated confidentially) so that I see that I haven't wasted all my energy ;-) --Maarten

 [2/10] from: petr::krenzelok::trz::cz at: 11-Mar-2003 9:33


Maarten Koopmans wrote:
> Hi, > I just realized that I can adapt Rugby to support different client
<<quoted lines omitted: 8>>
> somebody really needs it right now it is not on top of my priority > list (I am finishing some other really good stuff, no Petr, don't ask).
Why should I? I have lost confidence into any kind of big product around Rebol. I think we have so little human resources, that we can't have som bigger project running (maybe library project is an exception) We are dependant upon various individuals producing something actually useful. So I try to help where possible, thru personal betatesting. I think that Romano, Cyphre and Graham could tell you about hours spent testing their stuff. Those who understand the importance, will use my servise, those who don't however, will suggest me better not to even ask, simple as that .... :-)
> It will be added somewhere this spring however. > > One question to my user base: if you are using Rugby I'd appreciate an > email (that will be treated confidentially) so that I see that I > haven't wasted all my energy ;-)
I thought I was the only user/tester of Rugby? ;-) -pekr-

 [3/10] from: g:santilli:tiscalinet:it at: 11-Mar-2003 10:00


Hi Maarten, On Tuesday, March 11, 2003, 8:45:41 AM, you wrote: MK> It would imply adding an extra refinement to get-rugby-service MK> /use-ip-address ip-address What about figuring out the IP address to use from the connection with the client? I.e. if you are connected to the client with PORT then PORT/LOCAL-IP should be the IP used by the client to reach you... Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

 [4/10] from: maarten:koopmans:surfnet:nl at: 11-Mar-2003 16:24


Hi Gabriele, I thought of that immediately after I pressed sent ;-) But... it means more coupling between the I/O engine and rugby logic. --Maarten Gabriele Santilli wrote:

 [5/10] from: g:santilli:tiscalinet:it at: 11-Mar-2003 17:07


Hi Maarten, On Tuesday, March 11, 2003, 4:24:51 PM, you wrote: MK> I thought of that immediately after I pressed sent ;-) MK> But... it means more coupling between the I/O engine and rugby logic. Stubs seem to be coupled with the I/O engine anyway if they need to have the IP address in the code. :-) Of course you could abstract the process of getting to the IP... Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

 [6/10] from: jvargas:whywire at: 11-Mar-2003 11:33


Hi Maarten Specifying the stubs with a refinement will be good as a temporary solution. However I will prefer to see the server being able to figure out the IP of the client and responding accordingly as Gabriele has suggested. With your suggestion calling on a specific IP address will make the code look like this. ip-server: read dns://rugby-server.domain.dom get-rugby-service/use-ip-address http://rugby-server.domain.dom ip-server Which is a bit convoluted. Maybe it would be a better solution to do the lookup and do the use-ip-address association inside get-rugby-service function. This way you don't need modify the server code. You could still leave the use-ip-address refinement for the case where one wants to get the list of services through one IP, but do the remote calls through another. BTW thanks for such a solid piece of code. -- Jaime On Tuesday, March 11, 2003, at 02:45 AM, Maarten Koopmans wrote:

 [7/10] from: greggirwin:mindspring at: 11-Mar-2003 12:10


Hi Maarten, MK> One question to my user base: if you are using Rugby I'd appreciate an MK> email (that will be treated confidentially) so that I see that I haven't MK> wasted all my energy ;-) You have *not* wasted your energy! I'm using Rugby for a project and it's functionality is very important to me. It's saved me a huge amount of effort and works flawlessly. Very robust and easy to use. I'm toying with how to add new code to a live server (i.e. send a new function over the wire and add it to those being served. I think you had an experimental version that started down that path.). In the interim, I've added a restart function so I can restart the server remotely. My Rugby server spawns other tasks and talks to them via TCP, allowing remote calls to terminate them via the Rugby server. It's great stuff. Thanks again for creating it! -- Gregg

 [8/10] from: maarten:koopmans:surfnet:nl at: 11-Mar-2003 21:02


I will make it automagical. Finally a reason for a new release! It will take some time as I am awfully busy with other things. If anybody has an urgent need let me know and I'll see what I can do. --Maarten

 [9/10] from: maarten:koopmans:surfnet:nl at: 11-Mar-2003 21:00


Hi Petr,
> Why should I? I have lost confidence into any kind of big product around > Rebol. I think we have so little human resources, that we can't have som > bigger project running (maybe library project is an exception) We are > dependant upon various individuals producing something actually useful.
Never underestimate the power of a focussed individual.
> So I try to help where possible, thru personal betatesting. I think that > Romano, Cyphre and Graham could tell you about hours spent testing their > stuff. Those who understand the importance, will use my servise, those > who don't however, will suggest me better not to even ask, simple as > that .... :-) >
I was kidding of course (and teasing)
> I thought I was the only user/tester of Rugby? ;-) >
No.... one of the things I learnt from Rugby is how many people actually use Rebol in commercial environments in real projects. Hope you are not disappointed ;-) A lot of people just read this list or don't even subscribe. Keep the faith! --Maarten

 [10/10] from: maarten:koopmans:surfnet:nl at: 11-Mar-2003 22:07


Hi Gregg, Please send feature requests and enhancements to me so I can include them. I have mobile-code code, is tha a feature request? Can you specify? --maarten

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted