Re: [nodejs] npm link in deployment

2013-07-13 Thread Antoine van Wel
cify "myLib": "" as a normal dependency in your project's >>> package.json >>> >>> - in your project run npm install myLib >>> >>> >>> Now this does not work, but gives an error that the package is not in >>> t

Re: [nodejs] new project - simpleio

2013-07-13 Thread Antoine van Wel
Since I intend to use server push technology throughout all my webapps, for which I'm currently using socket.io, I'm also very interested to learn what specific problems you've encountered with socket.io. Please share your experience! Antoine On Sat, Jul 13, 2013 at 8:11 AM, Alex Kocharin

Re: [nodejs] npm link in deployment

2013-07-08 Thread Antoine van Wel
y specifying a version which is in the cache. npm version 1.2.32 node version 0.10.12 Antoine On Mon, Jul 8, 2013 at 3:23 PM, Antoine van Wel wrote: > I don't have a good answer to your question; I think we are struggling > with the same problem. > > IMHO "npm link&qu

Re: [nodejs] npm link in deployment

2013-07-08 Thread Antoine van Wel
I don't have a good answer to your question; I think we are struggling with the same problem. IMHO "npm link" is not suitable for (y)our use case. What you really want to do is put "myLib" in your package.json dependencies, and specify a version, and specify where to fetch it from - and preferably

Re: [nodejs] Organizing Socket IO code

2013-06-30 Thread Antoine van Wel
Create separate "service" modules which are completely unaware of socket.io, which accept hooks/callbacks; then in your socket.js wire them together. For example for your chat, create a module which does the room creation / chatting / joining etc and let it do callbacks whenever a room is created

Re: [nodejs] nodejs in the netherlands

2012-11-08 Thread Antoine van Wel
Aha, didn't know cloud9 is dutch, seeing many familiar names there from this group! Great product too. Thanks guys. By the way I'm from Den Bosch. Not much here but perhaps that means opportunities.. Antoine On Wed, Nov 7, 2012 at 11:33 AM, Stéphan Kochen wrote: > Antoine, > > Angry Bytes

[nodejs] nodejs in the netherlands

2012-11-07 Thread Antoine van Wel
Hi all, Does anybody know if there are any companies in the Netherlands where Nodejs has been adopted? Got the impression most companies over here haven't even heard about RoR yet, let alone Node. Antoine -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/no

Re: [nodejs] diffie-hellman on with more than 2 parties involved..

2012-10-21 Thread Antoine van Wel
uld the API be extended? Thanks Antoine On Thu, Oct 18, 2012 at 4:07 PM, Ben Noordhuis wrote: > On Thu, Oct 18, 2012 at 1:44 PM, Antoine van Wel > wrote: >> Is it possible with the current crypto impl to compute a >> Diffie-Hellman shared key among 3 participants? > >

[nodejs] diffie-hellman on with more than 2 parties involved..

2012-10-18 Thread Antoine van Wel
Hi, Is it possible with the current crypto impl to compute a Diffie-Hellman shared key among 3 participants? Antoine -- 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 subscrib

Re: [nodejs] opening external editor from node

2012-07-09 Thread Antoine van Wel
On Sun, Jul 8, 2012 at 2:59 PM, Ben Noordhuis wrote: > On Sun, Jul 8, 2012 at 11:54 AM, Antoine van Wel > wrote: >> Hi, >> >> I'm programming a small command-line application and want to open up >> an external editor, and hand back control to node after

Re: [nodejs] opening external editor from node

2012-07-08 Thread Antoine van Wel
this jogged my memory > > On Sun, Jul 8, 2012 at 10:22 PM, Antoine van Wel > wrote: >> You are right, when trying to open an editor which actually launches >> in a new window works fine. >> >> What's not working is when running under Linux from a terminal and try

Re: [nodejs] opening external editor from node

2012-07-08 Thread Antoine van Wel
quot; > message appears. > > What did you expect? > > On Sun, Jul 8, 2012 at 6:54 AM, Antoine van Wel > wrote: >> >> Hi, >> >> I'm programming a small command-line application and want to open up >> an external editor, and hand back control to node

[nodejs] opening external editor from node

2012-07-08 Thread Antoine van Wel
Hi, I'm programming a small command-line application and want to open up an external editor, and hand back control to node after the user exits the editor. Tried opening up vi with child_process.exec and .spawn but that did not quite do what I expected. 1 var exec = require("child_process").exe

Re: [nodejs] Re: node-zipstream for creating zip archives

2012-01-31 Thread Antoine van Wel
27;).pipe(zlib.Gunzip()).pipe(tar.Parse({type: > "Directory"})) > > Cheers, > Adam Crabtree > > On Mon, Jan 30, 2012 at 2:04 PM, Antoine van Wel < > antoine.van@gmail.com> wrote: > >> I guess anything 0.6.X should be fine. Earlier versions won't work