Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Announcing Orbited 0.6.0
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  19 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Michael Carter  
View profile  
 More options Aug 13 2008, 1:20 pm
From: "Michael Carter" <cartermich...@gmail.com>
Date: Wed, 13 Aug 2008 10:20:01 -0700
Local: Wed, Aug 13 2008 1:20 pm
Subject: Announcing Orbited 0.6.0

I'm pleased to announce the release of Orbited 0.6.0. With this release,
Orbited has officially moved from alpha status to beta. At this point
Orbited is stable enough to be used in production environments. While we
will be adding new features, we have no plans to change the core
functionality or APIs. Note that Orbited 0.6.0 does not support the
deprecated Orbit dispatch protocol. Orbited 0.6.0 can be downloaded from the
Cheeseshop (http://pypi.python.org/pypi/orbited), or with easy_install -U
orbited

Thanks to everyone who contributed to this release:

Mario Balibrera
Michael Carter
Marcus Cavanaugh
Petar Dobrev
Jonathan Ellis
Paul Jones
Rui Lopes
Jacob Rus
Frank Salim
Adrian Weisberg
And more...

Note some of the changes:

New API:
   - Include /static/Orbited.js which provides Orbited.TCPSocket
   - The TCPSocket constructor takes no arguments. TCPSocket.open takes
hostname and port. (and optional isBinary)
   - Binary mode no longer returns integer Arrays -- it returns strings.
These strings contain all of the binary data that the arrays used to.

Correct handling of close and onclose
   - When the remote connection closes, you will get an onclose callback
   - When contact with Orbited is interrupted, after a configurable timeout,
onclose will be called
   - A call to  TCPSocket.close, will immediately close the remote
connection
   - A call to TCPSocket.reset will immediately clean up the browser
connection, and attempt to immediately close the connection between the
remote server
   (reset should be used in conjunction with ununload)

Far more stable browser code:
    - Opera now works cross-subdomain
    - Transport-level auto reconnect with incremental backoff
    - Configurable timeout (increase for use over intermittent networks)
    - Eliminated javascript instability due to page navigations and memory
overuse

New transports
    Polling and Long Polling added
    These can optionally be used in cases where reverse proxies buffer
streaming requests

And more...

-Michael Carter


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roy H. Han  
View profile  
 More options Aug 15 2008, 11:06 am
From: "Roy H. Han" <starsareblueandfara...@gmail.com>
Date: Fri, 15 Aug 2008 11:06:43 -0400
Local: Fri, Aug 15 2008 11:06 am
Subject: Re: [Orbited] Announcing Orbited 0.6.0

Awesome news.

On Wed, Aug 13, 2008 at 1:20 PM, Michael Carter <cartermich...@gmail.com>wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
yskhoo  
View profile  
 More options Aug 15 2008, 8:24 pm
From: yskhoo <ysk...@gmail.com>
Date: Fri, 15 Aug 2008 17:24:23 -0700 (PDT)
Local: Fri, Aug 15 2008 8:24 pm
Subject: Re: Announcing Orbited 0.6.0
Will there be a RoR tutorial to go with the new version of Orbited
anytime soon?

On Aug 13, 10:20 am, "Michael Carter" <cartermich...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Carter  
View profile  
 More options Aug 17 2008, 8:32 pm
From: "Michael Carter" <cartermich...@gmail.com>
Date: Sun, 17 Aug 2008 17:32:34 -0700
Local: Sun, Aug 17 2008 8:32 pm
Subject: Re: [Orbited] Re: Announcing Orbited 0.6.0

We aren't targeting framework integration at the moment, but over the next
couple of releases I'm sure we'll have some tutorials again. If you are
interested in building an application with RoR and Orbited, and writing a
tutorial, feel free to talk with us in #orbited on freenode -- we'll answer
whatever questions you have.

-Michael Carter


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
yskhoo  
View profile  
 More options Aug 19 2008, 12:44 am
From: yskhoo <ysk...@gmail.com>
Date: Mon, 18 Aug 2008 21:44:43 -0700 (PDT)
Local: Tues, Aug 19 2008 12:44 am
Subject: Re: Announcing Orbited 0.6.0
Oh that would actually be awesome!
How do I find #orbited on freenode?

On Aug 17, 5:32 pm, "Michael Carter" <cartermich...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rui Lopes  
View profile  
 More options Aug 19 2008, 5:30 am
From: Rui Lopes <r...@ruilopes.com>
Date: Tue, 19 Aug 2008 10:30:01 +0100
Local: Tues, Aug 19 2008 5:30 am
Subject: Re: [Orbited] Re: Announcing Orbited 0.6.0
yskhoo wrote:
> Oh that would actually be awesome!
> How do I find #orbited on freenode?

#orbited is our channel name on the freenode IRC network, you can see
how to access it at:

  http://freenode.net/using_the_network.shtml

Best regards,
Rui Lopes


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Weiner  
View profile  
 More options Aug 20 2008, 8:02 am
From: Ben Weiner <b...@readingtype.org.uk>
Date: Wed, 20 Aug 2008 13:02:39 +0100
Local: Wed, Aug 20 2008 8:02 am
Subject: Re: [Orbited] Re: Announcing Orbited 0.6.0
Hi there,

Count me in as a big fan of the project, but although Michael says on
the Orbited blog that 0.6.0 is about reliability rather than new
features, it looks as though it has been necessary to change it to the
extent that it breaks the documentation and examples on
http://www.orbited.org/. Right now, as an Orbited user rather than an
Orbited developer, that's making the transition a bit tricky. From what
I can tell:

- I cannot instantiate TCPSocket directly, and I cannot supply
Orbited.TCPSocket with arguments like host and port.
- there's a new syntax for the [access] section of the config file
- when I figure which way's up and which way is down in 0.6, I should be
able to open and close TCP connections at will (which I could not get
right in the 0.5 version I was using). But that's not documented at all,
I think.

Are my allegations correct? I'm happy to be wrong :)

Cheers,
Ben


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Weiner  
View profile  
 More options Aug 20 2008, 8:16 am
From: Ben Weiner <b...@readingtype.org.uk>
Date: Wed, 20 Aug 2008 13:16:54 +0100
Local: Wed, Aug 20 2008 8:16 am
Subject: Re: [Orbited] Re: Announcing Orbited 0.6.0
Hi again,

Ben Weiner wrote:
> features, it looks as though it has been necessary to change it to the
> extent that it breaks the documentation and examples on
> http://www.orbited.org/.

Just to give an example:
http://www.orbited.org/wiki/TCPSocket has a section: "Using TCPSocket in
Orbited 0.5". This is all now incorrect as adding

<script src="http://yourdomain:8000/static/TCPSocket.js"></script>

to a page will result in a 404.

:(

Ben


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rui Lopes  
View profile  
 More options Aug 20 2008, 9:33 am
From: Rui Lopes <r...@ruilopes.com>
Date: Wed, 20 Aug 2008 14:33:55 +0100
Local: Wed, Aug 20 2008 9:33 am
Subject: Re: [Orbited] Re: Announcing Orbited 0.6.0
Hi Ben,

Indeed, the wiki needs to be updated.

As Michael described in the announce email, a few incompatible changes
were introduced:

"""
New API:
   - Include /static/Orbited.js which provides Orbited.TCPSocket
   - The TCPSocket constructor takes no arguments. TCPSocket.open takes
hostname and port. (and optional isBinary)
   - Binary mode no longer returns integer Arrays -- it returns strings.
These strings contain all of the binary data that the arrays used to.
"""

To see how this works, have a look at the bundled demos; eg, see the
telnet demo at:

  http://js.io/trac/browser/trunk/protocols/telnet/telnet.js
  http://js.io/trac/browser/trunk/demos/telnet/index.html
  http://js.io/trac/browser/trunk/demos/telnet/telnet-gui.js

Best regards,
Rui Lopes


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Weiner  
View profile  
 More options Aug 20 2008, 9:59 am
From: Ben Weiner <b...@readingtype.org.uk>
Date: Wed, 20 Aug 2008 14:59:17 +0100
Local: Wed, Aug 20 2008 9:59 am
Subject: Re: [Orbited] Re: Announcing Orbited 0.6.0
Hi Rui,

Rui Lopes wrote:
> As Michael described in the announce email, a few incompatible changes
> were introduced:

> """
> New API:
>    - Include /static/Orbited.js which provides Orbited.TCPSocket
>    - The TCPSocket constructor takes no arguments. TCPSocket.open takes
> hostname and port. (and optional isBinary)

OK. Yes. So I can open and close the socket whenever I want.

<snipped>

OK, thank you.

I have to say, I do need my hand holding on configuration as I have not
read the python source code. I have, of necessity, read a lot of the
Orbited.js file...

Thanks,
Ben


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rui Lopes  
View profile  
 More options Aug 20 2008, 10:54 am
From: Rui Lopes <r...@ruilopes.com>
Date: Wed, 20 Aug 2008 15:54:14 +0100
Local: Wed, Aug 20 2008 10:54 am
Subject: Re: [Orbited] Re: Announcing Orbited 0.6.0
Hello Ben,

Ben Weiner wrote:

[...]
>> To see how this works, have a look at the bundled demos; eg, see the
>> telnet demo at:

>>   http://js.io/trac/browser/trunk/protocols/telnet/telnet.js
>>   http://js.io/trac/browser/trunk/demos/telnet/index.html
>>   http://js.io/trac/browser/trunk/demos/telnet/telnet-gui.js

> OK, thank you.

> I have to say, I do need my hand holding on configuration as I have not
> read the python source code. I have, of necessity, read a lot of the
> Orbited.js file...

The configuration is described at:

  http://orbited.org/wiki/Configuration

But there were a few changes with 0.6, one of them was the syntax on the
"[access]" zone;  for making the telnet example work, you'll need to
change orbited.cfg by adding "* -> www.google.com:80" into the
"[access]" zone, eg:

[access]
* -> www.google.com:80

This reads as, let any client connect to www.google.com at port 80.

You can see orbited.cfg at:

  http://orbited.org/browser/trunk/daemon/orbited.cfg

Best regards,
Rui Lopes


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Config changes in Orbited 0.6. Was: Re: [Orbited] Re: Announcing Orbited 0.6.0" by Ben Weiner
Ben Weiner  
View profile  
 More options Aug 20 2008, 11:12 am
From: Ben Weiner <b...@readingtype.org.uk>
Date: Wed, 20 Aug 2008 16:12:50 +0100
Local: Wed, Aug 20 2008 11:12 am
Subject: Config changes in Orbited 0.6. Was: Re: [Orbited] Re: Announcing Orbited 0.6.0
Hi Rui,

Rui Lopes wrote:
> The configuration is described at:
>>   http://orbited.org/wiki/Configuration

>> But there were a few changes with 0.6, one of them was the syntax on the
>> "[access]" zone;  for making the telnet example work, you'll need to
>> change orbited.cfg by adding "* -> www.google.com:80" into the
>> "[access]" zone, eg:

>> [access]
>> * -> www.google.com:80

>> This reads as, let any client connect to www.google.com at port 80.

Thanks: I'd just about started to approach a similar understanding by
reading the changesets ;-\

So, can I do:

host1:8000 -> google.com:80
host1:8000 -> google.com:81

Or is that illegal?

And (changing the subject ;-) can I do

conn = new Orbited.TCPSocket();

and then
conn.open('host1','8000');

if I want to make straight TCP connections rather than stomp, telnet,
chat, etc? Calling TCPSocket() with arguments, that worked /very/
sweetly in 0.5...

Thanks
Ben


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Weiner  
View profile  
 More options Aug 20 2008, 11:16 am
From: Ben Weiner <b...@readingtype.org.uk>
Date: Wed, 20 Aug 2008 16:16:39 +0100
Local: Wed, Aug 20 2008 11:16 am
Subject: Re: [Orbited] Config changes in Orbited 0.6. Was: Re: [Orbited] Re: Announcing Orbited 0.6.0
Hi,

I wrote:
> And (changing the subject ;-) can I do

> conn = new Orbited.TCPSocket();

> and then
> conn.open('host1','8000');

Woops. Not reading the config there. Rather:

conn.open('google.com','81');

Cheers,
Ben


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rui Lopes  
View profile  
 More options Aug 20 2008, 11:32 am
From: Rui Lopes <r...@ruilopes.com>
Date: Wed, 20 Aug 2008 16:32:54 +0100
Local: Wed, Aug 20 2008 11:32 am
Subject: Re: [Orbited] Config changes in Orbited 0.6. Was: Re: [Orbited] Re: Announcing Orbited 0.6.0

Just use an "*" in the left hand side (LHS) to match any client IP
address, or use a specific IP address.  I'm not sure if it lets you
define the port number, but in the normal case, it does not make sense,
because you cannot control which port the browser uses to access orbited.

The right hand side is the destination hostname:port (arguments passed
into the TCPSocket.open function) to which the client is allowed to open
the socket.

> And (changing the subject ;-) can I do

> conn = new Orbited.TCPSocket();

> and then
> conn.open('host1','8000');

> if I want to make straight TCP connections rather than stomp, telnet,
> chat, etc? Calling TCPSocket() with arguments, that worked /very/
> sweetly in 0.5...

Use it like (as you can see on telnet.js):

conn = new Orbited.TCPSocket();
// set the callbacks here, eg: conn.onopen = function{ alert("socket is open"); };
conn.open('google.com', 80);

Best regards,
Rui Lopes


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Config changes in Orbited 0.6" by Ben Weiner
Ben Weiner  
View profile  
 More options Aug 21 2008, 7:17 am
From: Ben Weiner <b...@readingtype.org.uk>
Date: Thu, 21 Aug 2008 12:17:19 +0100
Local: Thurs, Aug 21 2008 7:17 am
Subject: Re: [Orbited] Re: Config changes in Orbited 0.6
Hi,

Rui Lopes wrote:
> Just use an "*" in the left hand side (LHS) to match any client IP
> address, or use a specific IP address.  I'm not sure if it lets you
> define the port number, but in the normal case, it does not make sense,
> because you cannot control which port the browser uses to access orbited.

Well you can specify it, but whether you *want* to ... ;-)

I found that in Orbited 0.5 I was able to specify the port number when
calling the TCPSocket.js script from /static, but with 0.6 the call that
the script makes to /tcp (gets a session ID?) did not have the port
number included. That caused me some considerable confusion but in the
end I mod-rewrite proxied the Orbited server, which is running alongside
Apache. Sledgehammer? It seemed to do the trick.

> The right hand side is the destination hostname:port (arguments passed
> into the TCPSocket.open function) to which the client is allowed to open
> the socket.

Excellent.

> Use it like (as you can see on telnet.js):

> conn = new Orbited.TCPSocket();
> // set the callbacks here, eg: conn.onopen = function{ alert("socket is open"); };
> conn.open('google.com', 80);

Ace.

Remaining problems must be of my own creation ;-)

Thanks,
Ben


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Carter  
View profile  
 More options Aug 21 2008, 3:23 pm
From: "Michael Carter" <cartermich...@gmail.com>
Date: Thu, 21 Aug 2008 12:23:42 -0700
Local: Thurs, Aug 21 2008 3:23 pm
Subject: Re: [Orbited] Re: Config changes in Orbited 0.6

You can control which port the browser uses to access Orbited.

Orbited.settings.port = 8001;

While the proxying may work, its not going to be your most scalable bet.

-Michael Carter


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rui Lopes  
View profile  
 More options Aug 22 2008, 5:30 am
From: Rui Lopes <r...@ruilopes.com>
Date: Fri, 22 Aug 2008 10:30:28 +0100
Local: Fri, Aug 22 2008 5:30 am
Subject: Re: [Orbited] Re: Config changes in Orbited 0.6
Hi,

Is that setting is for defining the destination port where orbited
listens, that is, the port where orbited is listening?

What is its relation to the port we define in left hand side on the
"[access]" configuration?

Eg: what is the meaning of the following configuration?

[access]
*:12345 -> localhost:7

As a note, in my original answer, I was talking about the source port
the browser uses to connect to orbited, not the port where orbited is
listening.

Best regards,
Rui Lopes


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Weiner  
View profile  
 More options Aug 26 2008, 6:45 am
From: Ben Weiner <b...@readingtype.org.uk>
Date: Tue, 26 Aug 2008 11:45:17 +0100
Local: Tues, Aug 26 2008 6:45 am
Subject: Re: [Orbited] Re: Config changes in Orbited 0.6
Hi there,

Rui Lopes wrote:
> Michael Carter wrote:

<snipped>
>> You can control which port the browser uses to access Orbited.

>> Orbited.settings.port = 8001;

>> While the proxying may work, its not going to be your most scalable bet.

That's interesting to hear. I remember years ago having problems with
users who were behind firewalls that prevented http over anything other
than ports 80 and 443 and I have never since dared to rely on access to
other ports. Isn't that likely to be a problem here too?

So to summarise the conversation, it looks to me like port configuration
is like this:

-  Browser outgoing: undefined (and cannot be defined)
-  Orbited incoming (the connection over http):
   -  defined for the browser with Orbited.settings.port and
   -  for the Orbited server on the left-hand side of an access directive.
-  Orbited outgoing (the connection to the persistent network service,
eg TCP): defined on the right-hand side of an access directive.

Therefore you need to set ports in:
Orbited.js
orbited.cfg

Have I got this right?

Thanks,
Ben


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Carter  
View profile  
 More options Aug 26 2008, 4:59 pm
From: "Michael Carter" <cartermich...@gmail.com>
Date: Tue, 26 Aug 2008 13:59:26 -0700
Local: Tues, Aug 26 2008 4:59 pm
Subject: Re: [Orbited] Re: Config changes in Orbited 0.6

You can have orbited listening on any port to http or https by using the
[listen] section

[listen]
http://:80
https://:443

The left hand side of the access rule is what you expect to see  in the host
header. If people are navigating to yoursite.com:8000, then thats what will
be in the Host header. If it gets some other host header, it will not accept
the communication (if, for instance, someone points their domain name at
your server (as per the princeton attack)). As mentioned above, the listen
section is used for specifying the port that orbited listens on.

> Therefore you need to set ports in:
> Orbited.js
> orbited.cfg

You don't actually modify Orbited.js. You do something like this:
<script  src="orbited.domain.com/static/Orbited.js"></script>
<script>
  Orbited.settings.port = 80
  Orbited.settings.hostname = 'orbited.domain.com'
</script>

-Michael Carter


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google