Archive for the ‘js.io Discussion Group’ Category

tag 3.2 and google compiler broken

Friday, September 3rd, 2010
closure compiler minifying jsio/util/browser.js
Failed compiling jsio/util/browser.js
stdin:1: ERROR - Parse error. invalid return
if (jsio.__env.name != 'browser') { return; }
^
1 error(s), 0 warning(s)
make: *** [all] Error 1

default cross-domain transport causes loading bars in chrome and safari

Thursday, April 8th, 2010
hi guys
i have created an issue for this problem in github here:
[link]
js.io + hookbox rocks so far!!
thanks for this!

Re: pyjsiocompile update

Wednesday, April 7th, 2010
thanks a lot!

Re: pyjsiocompile update

Wednesday, April 7th, 2010
I pushed fixes for pyjsiocompile. It should work with .pkg files at the very
least, perhaps even .js and .html (though I know hookbox only depends on
.pkg files)
-Michael Carter

Re: pyjsiocompile breaks setuptools

Wednesday, April 7th, 2010
Comment out the install_requires for distribute in setup.py, then reinstall.
The tests won't run but pyjsiocompile should work then. I'll look into
actually fixing the problem and committing.
-Michael Carter

pyjsiocompile update

Wednesday, April 7th, 2010
hi guys
i am trying to use hookbox that uses js.io and pyjsiocompile. but since
pyjsiocompile is not update and broken, it is hard to pull the latest
js.iostuff.
[link]
can you guys pl. update pyjsiocompile to work with the latest js.io?

pyjsiocompile breaks setuptools

Wednesday, April 7th, 2010
hei guys
when i did easy_install pyjsiocompile it gave me the following output and
broke my setuptools
[link]
thanks

Re: IIS Project

Wednesday, April 7th, 2010
Hey Mike! Comet for IIS is an area that doesn't seem to get explored
much. Sounds like an interesting project! How are you setting up the
server? Is your comet server running separately from IIS? You should
look at using CSP (Comet Session Protocol) if you haven't defined your
protocol already -- js.io has a working client-side implementation,

IIS Project

Tuesday, March 30th, 2010
I am working on a comet server for Microsoft servers using IIS. The
focus will be proving HTTP push capability for desktop applications
that may also require a large data push. Anyone interested in this
project, please respond here.

Re: Jester support in js.io

Wednesday, March 24th, 2010
just patched master with [link]

Re: Jester support in js.io

Tuesday, March 23rd, 2010
Not setting the environment to browser unless (typeof XMLHttpRequest !-
'undefined' || typeof ActiveXObject != 'undefined') seems reasonable.
Unless anyone disagrees I'll commit a patch tomorrow.
Thanks John!
On Tue, Mar 23, 2010 at 11:14 AM, john palmieri

Re: Jester support in js.io

Tuesday, March 23rd, 2010
Nope. Gjs is a little more strict with its undefined errors. It throws an
error since window.location is not defined. Most likely because of the way
window is defined in the underlying SpiderMonkey engine.
On Tue, Mar 23, 2010 at 2:14 PM, john palmieri

Re: Jester support in js.io

Tuesday, March 23rd, 2010
Actually looking at it again, it might be ok. Let me run some quick tests.
On Tue, Mar 23, 2010 at 2:12 PM, john palmieri

Re: Jester support in js.io

Tuesday, March 23rd, 2010
That might work if js.io doesn't try to load the browser environment or node
environment first. The reason being, I don't export some of the symbols
that might get executed in setting up the initial environment. This line in
ENV_browser would do it:
var XHR = window.XMLHttpRequest || function() { return new

Re: Jester support in js.io

Tuesday, March 23rd, 2010
Hey John,
Cool stuff! Looking at [link]
it seems like support is already there. Try:
jsio = import('jsio.js'); // or however you import code in jester
jsio.setEnv({
'global': GLOBAL,
'getCwd': function() {return __jester_cwd},
'getPath': function() {return __jester_path},

Jester support in js.io

Tuesday, March 23rd, 2010
Hey everyone,
I have written a JavaScript unit tester called Jester[1] using
GNOME's Gjs engine and in order to get it to work with js.io I had to
write a patch[2]. This is probably not the best way to add support
for other environments. I would suggest adding some initialization
code where other engines can register their own hooks so js.io works

Making jsio default logging level LOG

Wednesday, March 10th, 2010
When running apps using js.io out of the box, there's a quite a bit of
js.io debug information dumped into the console. This information is
useful if you're debugging js.io, but not if you're building
applications on top of js.io.
I'm thinking of moving the default logger level in base.js from DEBUG

Problem with Websockets

Thursday, January 28th, 2010
Like Saimon, I am trying to get Websockets working in mobile browsers.
I have tried to use the js.io code but I have not been able to get
past the problem where an error is being returned:
js.io.TCPSocket is not a constructor
var conn = new js.io.TCPSocket();\r\n websocket.js (line 21)
I have downloaded the static directory from Orbited (latest 0.7

Re: WebSockets

Wednesday, December 16th, 2009
Hi all,

I'm still quite stuck at this point though I'm beginning to suspect
that this has more to do with my nginx setup.

I'd really appreciate any help.

Regards,

Saimon

Re: WebSockets

Monday, December 14th, 2009
After finding this:

[link]

I changed my nginx config to:

server {
listen 80;
server_name jsio.localhost;
root /Users/saimon/Development/Open Source/github/jsio-2.3.6.1/js. io;

access_log /var/log/nginx/jsio.access.log main;
error_log /var/log/nginx/jsio.error.log debug;

Re: WebSockets

Monday, December 14th, 2009
I've installed the python orbited server as per the installation docs.

I have it configured like this:

[global]
reactor=select
proxy.enabled = 1
session.ping_interval = 40
session.ping_timeout = 30
user=saimon

[listen]
http://:8000

[static]

[access]
* -> localhost:8080

[logging]

Re: WebSockets

Monday, December 14th, 2009
mcarter: I'm continuing my experiments in getting the websocket demo
setup. Using Orbited.js from the 0.7 branch was an improvement. I also
realised that I needed to remove the call to the dojo source as the
packagemanager is allready embedded in js.io.js.

However, I'm now coming up against the following error: GET

Re: WebSockets

Sunday, December 13th, 2009
Ok. Ill try it with the 0.7 release

Thanks

Saimon

13 Δεκ 2009, 10:59, ο/η Michael Carter <cartermich...@gmail.com>
έγραψε:

Re: WebSockets

Sunday, December 13th, 2009
I would very much suggest avoiding 0.8 for this particular endeavor, at
least for now. Use the latest 0.7.x.

2009/12/13 Saimon Moore <saimonmo...@gmail.com>

Re: WebSockets

Sunday, December 13th, 2009
So just to be sure things are clear here is my setup:

node.websockets.js server running on localhost 8080
I'm running the websockets demo via an nginx virtual host
(with modifications as described above)
The demo html file calles for an /static/Orbited.js which I copied
over from the 0.8 branch

Re: WebSockets

Sunday, December 13th, 2009
I took Orbited.js from the 0.8 branch

Re: WebSockets

Sunday, December 13th, 2009
What Orbited version are you using?

Re: WebSockets

Sunday, December 13th, 2009
after enabling 'Break on all error' in ff, I see it's complaining
about dojo missing.

I added dojo like this:

<!DOCTYPE html>
<html>
<head>
<title>WebSocket demo</title>
<SCRIPT TYPE="text/javascript"
SRC="[link]"></SCRIPT>
<script src='/demos/static/Orbited.js' ></script>

Re: WebSockets

Sunday, December 13th, 2009
That was with safari...

Trying firefox gives the following (no error but no connection either):

DEBUG MSPPStream setEncoding: plain
DEBUG MSPPProtocol new MSPPProtocol
DEBUG MSPPStream setMultiplexer: [object Object]
DEBUG MSPPStream open 1: localhost 8080 true

I forgot to mention I changed the websocket url in index.html to:

Re: WebSockets

Sunday, December 13th, 2009
Hi Mario,

Trying out the demo I modified things a bit to serve the demo from an
nginx virtual host.

e.g.

saimon@artemis demos $ pwd
/Users/saimon/Development/Open Source/github/jsio-2.3.6.1/js. io/demos
saimon@artemis demos $ ls -la
total 80
drwxr-xr-x@ 14 saimon staff 476 Dec 13 07:29 ./

Re: WebSockets

Sunday, December 13th, 2009
Any WebSocket compliant server should work. The Orbited server just
functions as a transport in the event that WebSocket is not natively
supported.

You should be able to use any version with a TCPSocket.

-mario

Re: WebSockets

Sunday, December 13th, 2009
Also am I bound to using the Orbited server or can I use this code
with any websocket protocol compliant server (.e.g
[link]

--
Saimon Moore
Freelance Web Developer
(Available for hire - For details visit [link])

Skype: saimonmoore

Re: WebSockets

Sunday, December 13th, 2009
Mario,

the websockets demo is pulling in a /static/Orbited.js but this file
isn't present in the bundle. Which version of Orbited should I pull
this from?

--
Saimon Moore
Freelance Web Developer
(Available for hire - For details visit [link])

Skype: saimonmoore
Yahoo IM: saimonmoore

Re: WebSockets

Sunday, December 13th, 2009
Mario,

Many thanks I'll check this out asap...

Regards,

Saimon

On Sun, Dec 13, 2009 at 6:35 AM, Mario Balibrera

--
Saimon Moore
Freelance Web Developer
(Available for hire - For details visit [link])

Skype: saimonmoore
Yahoo IM: saimonmoore
Google IM: saimonmoore

Re: WebSockets

Sunday, December 13th, 2009
Saimon, hello. Not all the js.io 2 code has been ported over to js.io 3 yet.
Try js.io 2.3.6.1:

[link] . It
comes with a compiled WebSocket client, as well a demo WebSocket application
and the client code itself.

-mario

Re: WebSockets

Saturday, December 12th, 2009
Searching google I found this cached link to your a websocket.js in
your previous svn repo but this is nowhere to be found in github
repo....

[link]

WebSockets

Saturday, December 12th, 2009
Hi,

I've been reading about how js.io (can) present(s) a WebSocket
interface to emulate WebSocket in non-complying browsers but looking
at the code I haven't been able to see where/how this is done. Is this
work on some other branch not present in github? Can someone provide
an example using js.io of how I'd go about this.

js.io test action

Monday, November 23rd, 2009
Hi Folks,

I just pushed the start of some code that will let us write js.io
tests. I started by writing some tests against the chooseTransport
function. This was helpful, since it was buggy :)

We need lots more tests. Please choose a class or function and write
some tests for it. If you fix a bug, write a test to prove you were

Funny clips

Friday, November 20th, 2009
New funny clips from BoomClips. Enjoy!
[link]

Some fun videos

Wednesday, November 18th, 2009
Just to cheer Your up, short video:
[link]
Have a good day.

Video tutorial - How to get free passwords for adult(18+) web sites

Tuesday, November 17th, 2009
There is no reason to send sms, or use u're credit cards or smth else,
because there is a way to watch or download hot movies for free ;)
[link]

node lock

Tuesday, November 17th, 2009
Hi folks,

Given that node changes pretty frequently, let's target a specific
version to maintain compatibility with. I think it probably makes
sense to start with the 11/17 release. It's 1.1.18, I think. Any
objections?

Thanks,
Desmaj

What are they doing?

Tuesday, November 17th, 2009
Hi! Please look at this short video. What are they doing?
[link]

compiling for node

Sunday, November 15th, 2009
Hey folks,

I've been experimenting with compiling for node (broken right now). It
looks like at least part of the problem is that we don't check the
preloaded source in the implementation of getModuleSourceAndPath for
node. I'm going to add that and see how it goes. I'll post if I can
get that working.

Current Support for Xmpp

Wednesday, November 11th, 2009
Hi Guys,
Does the current version of js.io provide support for Xmpp and its XEP-0085
specification ?
If yes? Can somebody provide me the link to an example, or a tutorial ?
Thanks
Rishav

U can try to ptint money at home and make them looks real)

Sunday, November 8th, 2009
I found this on youtube...i print 20$ bill five times))))
[link]

Gues which boobs belongs to Britney Spirs and get 20$.

Wednesday, November 4th, 2009
ONLY for google groups usersWatch video, give me answer by email. In
message give me the name of the girl and the way how to pay if the
answer is correct(paypal, webmoney, Bank Transfer). First 45 correct
answers - get the prize! Horry up! here is the video online:
[link]

Disabling minimization at run-time

Sunday, November 1st, 2009
Is there a way to disable minimization of code loaded through jsio
("import...') ?

I'm getting stuck, and the code is nearly impossible to step through
in Firebug.

Re: Noob questions

Saturday, October 31st, 2009
So what is the "compiler?" Is it just a Javascript minimizer that
concatenates all the files together?

Re: Noob questions

Friday, October 30th, 2009
figure out where the package is located based on the src attribute of the
script tag you use to include jsio.js. In "production mode" you will have
compiled the scripts into a single file anyway, and it won't need to fetch
any additional resources.
will first look in its pre-compiled cache. You can compile a jsio script