Re: [nodejs] Re: What happens to hook.io?

2013-02-04 Thread Tauren Mills
I don't understand your statement either, Marak. You sent out an email to this list a while back about the Bangalore JS meetup. As a user of hook.io, of course this interested me. At the meetup you announced Big. So how is it not meant for people on this list? With hook.io no longer maintained, I'

Re: [nodejs] How to implement getUserMedia Server-side?

2013-02-04 Thread jay
Daniel, would that simply expose related javascript features such as getImageData? whilst one could perhaps hack... On Sunday, February 3, 2013 6:16:28 PM UTC, Daniel R. wrote: > > On the server you are not confined to the sandbox that browser based code > must run in. As such any library that

Re: [nodejs] How to implement getUserMedia Server-side?

2013-02-04 Thread jay
Roger, excellent and close to concept I have in mind, ie headless and without DOM. iiuc DOM is hugely resource intensive. cf web worker Any chance you might output an headless non-DOM version? guesstimate on time line to alpha-beta? kind regards > In node-webkit we have plan to bridge the int

Re: [nodejs] Cookies and jQuery

2013-02-04 Thread 陆晨越
it's a simple cookie support without expire . in "node_modules\jquery\node_modules\xmlhttprequest\lib\XMLHttpRequest.js" ->this.getAllResponseHeaders if (i !== "set-cookie" && i !== "set-cookie2") { result += i + ": " + response.headers[i] + "\r\n"; } else

[nodejs] Security announcements

2013-02-04 Thread Philippe Lafoucrière
Hi there, I'm pretty new to node.js, and wondering where can I find security advisories for node or packages. Is there any list for that? Are you planning to create one? Thanks! Philippe -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-

Re: [nodejs] Cookies and jQuery

2013-02-04 Thread 陆晨越
support simple cookie without Expired Rule https://github.com/kenticny/monitor_on_nodejs/blob/master/node_modules/jquery/node_modules/xmlhttprequest/lib/XMLHttpRequest.js 在 2010年4月24日星期六UTC+8下午4时24分47秒,robb1e写道: > > Hi, > > I'm trying to build a server side javascript application that serves

[nodejs] String issue

2013-02-04 Thread Ismael Gorissen
Hi, I'm a beginner with JavaScript language and Node.js framework. I have a small issue with strings :) When I use this : > var str = 'What\'s your name?'; console.log(str); In the console the backslash is not showed .. > What's your name? But if I put this string in a file, I have the ba

Re: [nodejs] String issue

2013-02-04 Thread Eric Muyser
Hi Ismael, See: Escape Sequences in String Literals via https://www.inkling.com/read/javascript-definitive-guide-david-flanagan-6th/chapter-3/text Buy the book. Cheers On Mon, Feb 4, 2013 at 11:56 PM, Ismael Gorissen wrote: > Hi, > > I'm a beginner with JavaScript language and Node.js framewor

Re: [nodejs] String issue

2013-02-04 Thread Daniel Rinehart
Node.js behaves the same way as JavaScript in the browser, that is the backslash (\) is used to escape the next character in a JavaScript string defined in code. In your example since you define the string using single quotes (') the backslash is needed to prevent the single quote in (I'm) from ter

Re: [nodejs] Security announcements

2013-02-04 Thread Isaac Schlueter
Security advisories are posted on this list, the node blog, and the @nodejs twitter account. Typically they are reported publicly along with the release announcement of the version with the fix. On Monday, February 4, 2013, Philippe Lafoucrière wrote: > Hi there, > > I'm pretty new to node.js, an

Re: [nodejs] Security announcements

2013-02-04 Thread Isaac Schlueter
Node blog = http://blog.nodejs.irg/ On Monday, February 4, 2013, Philippe Lafoucrière wrote: > Hi there, > > I'm pretty new to node.js, and wondering where can I find security > advisories for node or packages. > Is there any list for that? Are you planning to create one? > > Thanks! > Philippe >

Re: [nodejs] Security announcements

2013-02-04 Thread Isaac Schlueter
Er, typo, sorry. Iphone keyboard fail :) Node blog = http://blog.nodejs.org/ On Monday, February 4, 2013, Isaac Schlueter wrote: > Node blog = http://blog.nodejs.irg/ > On Monday, February 4, 2013, Philippe Lafoucrière wrote: > >> Hi there, >> >> I'm pretty new to node.j

Re: [nodejs] String issue

2013-02-04 Thread Ismael Gorissen
Thank you for this reference, I will buy it ;) -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send e

Re: [nodejs] String issue

2013-02-04 Thread Ismael Gorissen
Nice it works now !! Thank you ;) -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodej

Re: [nodejs] Security announcements

2013-02-04 Thread Dan Shaw
LOL, somehow the href still points to nodejs.irg for me. :-) http://blog.nodejs.org/ Daniel Shaw @dshaw On Mon, Feb 4, 2013 at 8:17 AM, Isaac Schlueter wrote: > Er, typo, sorry. Iphone keyboard fail :) > Node blog = http://blog.nodejs.org/ > > > On Monday, February 4, 2013, Isaac Schlueter wrot

[nodejs] Valid character encodings for source code

2013-02-04 Thread Andrew Bradley
What character encodings does NodeJS support for source code .js files? In other words, if I intend to run "node foo.js" what character encodings am I allowed to use when saving "foo.js" from my text editor? I am aware that UTF-8 appears to work, but I can't find any documentation that states w

Re: [nodejs] Valid character encodings for source code

2013-02-04 Thread Ben Noordhuis
On Mon, Feb 4, 2013 at 8:01 PM, Andrew Bradley wrote: > What character encodings does NodeJS support for source code .js files? > > In other words, if I intend to run "node foo.js" what character encodings am > I allowed to use when saving "foo.js" from my text editor? > > I am aware that UTF-8 ap

Re: [nodejs] The best tool for stress and load test on node.js application

2013-02-04 Thread Lars Jacob
If you don't want to script too much on you own you can use this interesting little porject: https://github.com/newsapps/beeswithmachineguns For my stress tests I wrote a small node application which emulated the behaviour of our clients (using superagent and socket.io-client) and remote controll

Re: [nodejs] Valid character encodings for source code

2013-02-04 Thread Andrew Bradley
On Monday, February 4, 2013 3:01:22 PM UTC-5, Ben Noordhuis wrote: > On Mon, Feb 4, 2013 at 8:01 PM, Andrew Bradley > > > wrote: > > What character encodings does NodeJS support for source code .js files? > > > > In other words, if I intend to run "node foo.js" what character > encodings am

[nodejs] [ANN] node-chrome: a very simple module for building desktop apps

2013-02-04 Thread hij1nx
*node-chrome(3)* A tiny module for building desktop apps. It's really simple and uses the chrome runtime. *Here's the module.* https://github.com/hij1nx/node-chrome/ *Here's an example.* #!/usr/bin/env node var cn = require('../lib'); var opts = { runtime: "/Applications/Google\ Chrome.app/C

Re: [nodejs] Valid character encodings for source code

2013-02-04 Thread Harald Hanche-Olsen
[Andrew Bradley (2013-02-04 20:42:24 UTC)] > On Monday, February 4, 2013 3:01:22 PM UTC-5, Ben Noordhuis wrote: > > > They're ASCII and UTF-8. > > > > Thanks for the quick reply. Do you know this from experience, or did I > miss where it's documented? I'm pretty sure it's part of the javasc

Re: [nodejs] Valid character encodings for source code

2013-02-04 Thread Nathan Rajlich
> In fact, you can use any unicode letter, such as Ω, as part of a > variable name. > Not *any* unicode letter unfortunately: http://mathiasbynens.be/notes/javascript-identifiers Unfortunately no unicode snowman :( http://mothereff.in/js-variables#%E2%98%83 -- -- Job Board: http://jobs.nodejs.o

Re: [nodejs] Valid character encodings for source code

2013-02-04 Thread Dan Milon
The OP meant the actual file encoding. eg, if you have a source file containing Greek characters and save it in iso-8859-7 format (which should display just right if read with the same encoding), node will try to read it in utf and fail. (ie "�" characters in strings, etc) danmilon. On 02/04/201

[nodejs] Re: [ANN] node-chrome: a very simple module for building desktop apps

2013-02-04 Thread mgutz
How does this compare to node-webkit or appjs? On Monday, February 4, 2013 1:04:26 PM UTC-8, hij1nx wrote: > > *node-chrome(3)* > A tiny module for building desktop apps. It's really simple and uses the > chrome runtime. > > *Here's the module.* > https://github.com/hij1nx/node-chrome/ > > *Here'

Re: [nodejs] [ANN] node-chrome: a very simple module for building desktop apps

2013-02-04 Thread Paolo Fragomeni
The difference is several thousand lines of code -- in fact its about 30 lines of code, there's no special APIs, no configuration files, builds or hacks. On Monday, February 4, 2013, mgutz wrote: > How does this compare to node-webkit or appjs? > > On Monday, February 4, 2013 1:04:26 PM UTC-8, hi

Re: [nodejs] Re: What happens to hook.io?

2013-02-04 Thread Marak Squires
Big is not targeted for most of the people on this list. Use whatever software you want, just don't use Big, it's not for you. On Mon, Feb 4, 2013 at 2:32 PM, Tauren Mills wrote: > I don't understand your statement either, Marak. You sent out an email to > this list a while back about the Banga

Re: [nodejs] [ANN] node-chrome: a very simple module for building desktop apps

2013-02-04 Thread mgutz
I think you're oversimplifying it. For example, in node-webkit if you can drag and drop a file into the client area, you get the full path. You're basically running a server in node and running chrome with some permissive flags set. On Monday, February 4, 2013 6:14:43 PM UTC-8, hij1nx wrote: >

Re: [nodejs] [ANN] node-chrome: a very simple module for building desktop apps

2013-02-04 Thread Paolo Fragomeni
simplicity is good. On Tue, Feb 5, 2013 at 12:32 AM, mgutz wrote: > I think you're oversimplifying it. For example, in node-webkit if you can > drag and drop a file into the client area, you get the full path. You're > basically running a server in node and running chrome with some permissive >

Re: [nodejs] [ANN] node-chrome: a very simple module for building desktop apps

2013-02-04 Thread Nathan Rajlich
They're different projects with different goals. Diversity is good! On Mon, Feb 4, 2013 at 9:32 PM, mgutz wrote: > I think you're oversimplifying it. For example, in node-webkit if you can > drag and drop a file into the client area, you get the full path. You're > basically running a server in

Re: [nodejs] Re: What happens to hook.io?

2013-02-04 Thread Arunoda Susiripala
Wow. Okay we'll stay away from it. This is first time I saw a statement like this in this list :) On Tue, Feb 5, 2013 at 10:38 AM, Marak Squires wrote: > Big is not targeted for most of the people on this list. > > Use whatever software you want, just don't use Big, it's not for you. > > > On Mon

Re: [nodejs] Re: What happens to hook.io?

2013-02-04 Thread Berger Kennedy FOTSO
@Marak, This isnt nodejs-dev. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@g

Re: [nodejs] Security announcements

2013-02-04 Thread Philippe Lafoucrière
On Monday, February 4, 2013 7:34:46 PM UTC+1, dshaw wrote: > > LOL, somehow the href still points to nodejs.irg for me. :-) > http://blog.nodejs.org/ Ok, thanks all! :) -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Gu