[nodejs] Re: How do you do reflection with Node.js since "this" object is empty?

2015-02-08 Thread Andrey
At top level "this" is a reference to exports object (and has nothing in common with global scope ): https://github.com/joyent/node/blob/v0.12/lib/module.js#L460 On Monday, 9 February 2015 14:34:11 UTC+11, Leo Cono wrote: > > How do you do reflection with Node.js since "this" object is empty? >

Re: [nodejs] How do you do reflection with Node.js since "this" object is empty?

2015-02-08 Thread Ryan Schmidt
On Feb 8, 2015, at 9:34 PM, Leo Cono wrote: > How do you do reflection with Node.js since "this" object is empty? What do you mean by "reflection"? What are you expecting the "this" object to be? -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/988628

Re: [nodejs] Node.js reflection and empty "this" object

2015-02-08 Thread Ryan Schmidt
On Feb 8, 2015, at 9:26 PM, Leo Cono wrote: > I am using node.js and "this", as well as, this.global is empty Anybody know > why it is empty? Here is the code: > > var business_object = require('./user.js'); > var node_framework = require('./trace-meldaround.js'); > var user = new business_obje

Re: [nodejs] nodejs install iconv failure on ubuntu

2015-02-08 Thread Ryan Schmidt
On Feb 8, 2015, at 2:19 PM, Weide Zhang wrote: > /usr/bin/nodejs: /usr/local/lib/libcrypto.so.1.0.0: no version information > available (required by /usr/bin/nodejs) > /usr/bin/nodejs: /usr/local/lib/libssl.so.1.0.0: no version information > available (required by /usr/bin/nodejs) > /usr/bin/no

[nodejs] Re: how can i programmatically access v8 debugger variables list

2015-02-08 Thread Leo Cono
V8 embedded debugger is not compatible with NodeClipse I am using node.js and "this", as well as, this.global is empty I finally figured it out on my own and this is how you do reflection with Node.js. Here is an Aspect Oriented Programming (AOP) Container using Cujo.js Meld.js app-separate-fil

[nodejs] How do you do reflection with Node.js since "this" object is empty?

2015-02-08 Thread Leo Cono
How do you do reflection with Node.js since "this" object is empty? -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received th

Re: [nodejs] Secure distribution of NodeJS applications

2015-02-08 Thread Boris Matos Morillo
This is awesome!! El domingo, 8 de febrero de 2015, 9:02:08 (UTC-5), Igor Klopov escribió: > > The V8 snapshot feature from nwjs was significantly improved > ind injected in vanilla io.js/node.js. And EncloseJS was created. > EncloseJS is a compiler for io.js/node.js > proj

[nodejs] nodejs install iconv failure on ubuntu

2015-02-08 Thread Weide Zhang
Hi guys, I got the following error when install iconv pkg. It seems that gyp: Call to 'node -e "require('nan')"' returned exit status 0 , which seems fine but node-gpy rebuild still exit with error code 1. I already installed nodejs-legacy package but doesn't solve the issue. My OS is ubuntu

[nodejs] Node.js reflection and empty "this" object

2015-02-08 Thread Leo Cono
I am using node.js and "this", as well as, this.global is empty Anybody know why it is empty? Here is the code: var business_object = require('./user.js'); var node_framework = require('./trace-meldaround.js'); var user = new business_object.User('Leo'); var thisObj = this; var globalObj = this.g

[nodejs] Taking advantage of functional reactive programming in ExpressJS

2015-02-08 Thread Amir Yasin
Getting functional reactive with ExpressJS in 3 easy steps -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rul

Re: [nodejs] Re: Please do not deprecated Buffer "binary" encoding.

2015-02-08 Thread Axel Kittenberger
When buffers can be frozen and are otherwise fully API compatible to strings I'm okay with them as replacement. Fully compatible includes for them to turn into JSON and mongo BSON fully transparent like strings. On Sun, Feb 8, 2015 at 4:39 AM, mscdex wrote: > On Saturday, February 7, 2015 at 9:2

[nodejs] Re: Node v0.12.0 (Stable)

2015-02-08 Thread William Dauchy
Hi, I think there is a problem with gpg checks: gpg: Signature made Fri Feb 6 23:03:40 2015 CET using RSA key ID 888C628D gpg: Can't check signature: public key not found -- William -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderat

Re: [nodejs] Secure distribution of NodeJS applications

2015-02-08 Thread Igor Klopov
The V8 snapshot feature from nwjs was significantly improved ind injected in vanilla io.js/node.js. And EncloseJS was created. EncloseJS is a compiler for io.js/node.js projects. The snapshots dont include source code and can be of any size. No decryption in compiled applica

[nodejs] Please do not deprecated Buffer "binary" encoding.

2015-02-08 Thread Trevor Norris
No worry. It's not going anywhere. That's an old note that should be removed. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You r