Re: [nodejs] Re: best practice for real-time socket-based cross clustered-process data communication and computation

2012-09-11 Thread Yi Tan
Thanks Johnny, dnode is very inspiring. cluster2 may help us a lot in production! Regards, ty 2012/9/11 Johnny Honestly > I heard about this cluster manager today directly from the guys at ebay > working on ql.io > > https://github.com/ql-io/cluster2 > > You can stream buffers from parents t

[nodejs] Re: Stream video with node.js

2012-09-11 Thread DToledo
So did you guys made it work? Could you share the final code? I am trying something similar here. Thx! On Tuesday, December 7, 2010 9:42:19 AM UTC-8, quantum wrote: > > Seems that you are incorrectly computing the content-length: > > var chunksize = (end-start)+1; > > If start is 0 and end is 1,

[nodejs] TypeError: DecipherFinal fail when crypted string longer than 15 characters

2012-09-11 Thread Paulina Budzoń
Hello everyone, Recently I've upgraded my node to v0.8.8 and I encountered this strange error (I'm not sure if it was present in previous node versions, though). I have two functions for crypting and decrypting data in my application: var cc_key = fs.readFileSync(path_to_key_file); crypt = fun

[nodejs] Beginner question about async function inside another function

2012-09-11 Thread António Ramos
What i want is to create a function to read files and return the files to the caller. This code is not working! my func in coffeescript fs = require('fs') InitLoadTasks =-> a=[] fs.readdir __dirname+ '/toRun', (err, files) -> if (err) console.log(err) a=files initLoadTasks

Re: [nodejs] TypeError: DecipherFinal fail when crypted string longer than 15 characters

2012-09-11 Thread Ben Noordhuis
On Tue, Sep 11, 2012 at 9:42 AM, Paulina Budzoń wrote: > Hello everyone, > > Recently I've upgraded my node to v0.8.8 and I encountered this strange > error (I'm not sure if it was present in previous node versions, though). > I have two functions for crypting and decrypting data in my application

Re: [nodejs] TypeError: DecipherFinal fail when crypted string longer than 15 characters

2012-09-11 Thread Paulina Budzoń
Wow, thanks a lot! I don't know how I could miss that... Paulina. W dniu wtorek, 11 września 2012 15:53:25 UTC+2 użytkownik Ben Noordhuis napisał: > > On Tue, Sep 11, 2012 at 9:42 AM, Paulina Budzoń > > wrote: > > Hello everyone, > > > > Recently I've upgraded my node to v0.8.8 and I encount

Re: [nodejs] Beginner question about async function inside another function

2012-09-11 Thread Mark Volkmann
On Tue, Sep 11, 2012 at 8:29 AM, António Ramos wrote: > What i want is to create a function to read files and return the files > to the caller. > > This code is not working! > > my func in coffeescript > > fs = require('fs') > > InitLoadTasks =-> > a=[] > fs.readdir __dirname+ '/toRun', (err

Re: [nodejs] Beginner question about async function inside another function

2012-09-11 Thread Elliot
If you're only doing it on startup, you could also use the synchronous version of readdir. On Sep 11, 2012 7:27 AM, "Mark Volkmann" wrote: -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message beca

[nodejs] Giving up on node.js / Flatiron / hook.io

2012-09-11 Thread Marak Squires
Internet Friends - I'm sure it will come as a pleasant surprise for most of you to hear I'm leaving node.js for good. I'll also be stepping down from any involvement with Flatiron and completely shutting down hook.io In all honesty, I don't think there is much of a loss here for anyone. The Flat

[nodejs] Totally failing on profiling my application

2012-09-11 Thread Nicolas Chambrier
Hello, I'm desperately trying to profile my application, like I used to do with other languages where I could output some file I could pass to kcachegrind which would show me when and where the runtime executed my code. I'm running Ubuntu or Debian VM, whatever I've tried several methods: -

[nodejs] Version 0.8.9 (Stable)

2012-09-11 Thread Isaac Schlueter
2012.09.11, Version 0.8.9 (Stable) * v8: upgrade to 3.11.10.22 * GYP: upgrade to r1477 * npm: Upgrade to 1.1.61 * npm: Don't create world-writable files (isaacs) * windows: fix single-accept mode for shared server sockets (Bert Belder) * windows: fix uninitialized memory access in uv_update_t

[nodejs] https.request error within chroot jailed node process

2012-09-11 Thread kuhnza
I'm getting the following error when calling https.request in my node script: nodejs: ../src/node_crypto.cc:752: void node::crypto::Connection::ClearError(): Assertion `handle_->Get(String::New("error"))->BooleanValue() == false' failed. The node process is running inside a chroot on Ubuntu. I

[nodejs] Re: https.request error within chroot jailed node process

2012-09-11 Thread kuhnza
Oh I forgot to mention I'm running Node v0.8.8 on Ubuntu 12.04.1 in case that helps. On Tuesday, September 11, 2012 12:47:29 PM UTC-7, kuhnza wrote: > > I'm getting the following error when calling https.request in my node > script: > nodejs: ../src/node_crypto.cc:752: void > node::crypto::Con

Re: [nodejs] Re: https.request error within chroot jailed node process

2012-09-11 Thread Dav Glass
Check to make sure that all of ssl's libs and all of it's certs are available inside the chroot too. I'm pretty sure they are loaded from /etc/ssl/certs/, so if that's not accessible from the chroot the request will likely fail. I seem to recall hitting this a while back, but it's been a while so

Re: [nodejs] Re: https.request error within chroot jailed node process

2012-09-11 Thread kuhnza
Thanks Dav, the certs were missing from the chroot environment so I've copied them in now. Unfortunately I'm still getting the error though. Pretty sure all the required libs are there. I ran apt-rdepends on openssl and nodejs to be sure all those deps made it in there. Dave On Tuesday, Septem

[nodejs] Another memory usage question / heapdump

2012-09-11 Thread wavded
We have a large application that continues to grow in memory usage as the day goes on (we restart it each day). I would like to not have to do that. We have been optimizing the crap out of the JS code and continue to do so and memory "seems" to be under control (or at least understood) in JS l

[nodejs] Re: Another memory usage question / heapdump

2012-09-11 Thread Jimb Esser
On Linuxy platforms, you can log and analyze native allocations with GCC's mtrace, which I've exposed to node here: https://github.com/Jimbly/node-mtrace Unfortunately, with any C++ allocations (which includes Buffers), they're all attributed to a single call site, "operator::new", so your mil

Re: [nodejs] Re: Stepped down from Nodejitsu as Chief Evangelist several months ago

2012-09-11 Thread Adam Crabtree
Sad to see you go. Best of luck in the future. Cheers, Adam On Mon, Sep 10, 2012 at 5:41 PM, Luke Arduini wrote: > Thanks for all you've done for the node community. > > Still my favorite pull request I've ever made: > https://github.com/Marak/ohh/pull/4 > > On Sep 9, 11:05 pm, Marak Squires wr

[nodejs] Re: Giving up on node.js / Flatiron / hook.io

2012-09-11 Thread Adam Crabtree
Sad to hear. It sounds like you won't be able to (or maybe don't want to, understandable), but will you be able to make any of your work toward 0.9 or its integration with Flatiron available anywhere? Were you planning to give ownership of the npm hook.io package, google group or github repo to

Re: [nodejs] Re: Why node + chrome rules the world...

2012-09-11 Thread Dennis Kane
In my opinion, there *still* aren't any "web apps" around, hahaha :) When I think about an "app", it's gotta look and feel just like a desktop thing. Yeah, my project is real small right now, but I'm about to put something up that's pretty mindblowing. It's a kind of realtime, distributed co

[nodejs] Re: Giving up on node.js / Flatiron / hook.io

2012-09-11 Thread Michael Schoonmaker
Seconded. On Tuesday, 11 September 2012 14:17:29 UTC-7, Adam Crabtree wrote: > > Sad to hear. It sounds like you won't be able to (or maybe don't want to, > understandable), but will you be able to make any of your work toward 0.9 > or its integration with Flatiron available anywhere? Were you p

Re: [nodejs] Re: errors when using node-gyp to build

2012-09-11 Thread Frank
One example is: /path/to/node /path/to/node-gyp.js --proxy=http://proxyhost.domain.com:8000 clean configure build I had to look at the source of node-gyp.js -Frank On Monday, April 23, 2012 5:28:25 PM UTC-5, Nathan Rajlich wrote: > > If you're behing a corporate proxy, then will have to set t

[nodejs] Re: ANN: Proxy npm module

2012-09-11 Thread hamza zia
looks pretty neat! makes dynamic content scrapping very scalable as you dont now have to load up a new webkit instance the server and could just do the scraping on the client side. On Tuesday, 28 August 2012 23:30:26 UTC+8, Dean Mao wrote: > > Doh, forgot to mention the library name: > > https:

[nodejs] Node.js - authentication - Django

2012-09-11 Thread refreegrata
Hello list. I'm new here. A totally newbie trying to learn. I have a web application for internal use and developed with Django and running over Apache. In the app the access to every section is avaliable only for authenticated users with permissions over the view (except for the login). For th

[nodejs] Re: Giving up on node.js / Flatiron / hook.io

2012-09-11 Thread Jeff Schwartz
Sorry to hear all that. I understand why you'd give up on nodejitsu and any related projects but why r u giving up on node.js as well? On Tuesday, September 11, 2012 11:56:45 AM UTC-4, Marak Squires wrote: > > Internet Friends - > > I'm sure it will come as a pleasant surprise for most of you to

Re: [nodejs] Totally failing on profiling my application

2012-09-11 Thread Ben Noordhuis
On Tue, Sep 11, 2012 at 6:39 PM, Nicolas Chambrier wrote: > Hello, > > I'm desperately trying to profile my application, like I used to do with > other languages where I could output some file I could pass to kcachegrind > which would show me when and where the runtime executed my code. > > I'm ru

Re: [nodejs] Totally failing on profiling my application

2012-09-11 Thread Addison Higham
In the same boat with nodetime. Recently stumbled across this project: https://github.com/baryshev/look Its basically a local nodetime client. I haven't used it quite yet, but it looks promising. On Tue, Sep 11, 2012 at 5:41 PM, Ben Noordhuis wrote: > On Tue, Sep 11, 2012 at 6:39 PM, Nicola

Re: [nodejs] https.request error within chroot jailed node process

2012-09-11 Thread Ben Noordhuis
On Tue, Sep 11, 2012 at 9:47 PM, kuhnza wrote: > I'm getting the following error when calling https.request in my node > script: > nodejs: ../src/node_crypto.cc:752: void > node::crypto::Connection::ClearError(): Assertion > `handle_->Get(String::New("error"))->BooleanValue() == false' failed. > >

[nodejs] Re: Totally failing on profiling my application

2012-09-11 Thread Andrey
Try node-tick-processor to read your v8.log - https://github.com/sidorares/node-tick On Wednesday, 12 September 2012 02:39:26 UTC+10, Nicolas Chambrier wrote: > > Hello, > > I'm desperately trying to profile my application, like I used to do with > other languages where I could output some file

Re: [nodejs] Memory leak, growing RSS and debugging

2012-09-11 Thread wavded
Nico did you have any luck in your debugging adventures? My symptoms seems to very closely match yours. Was going to try mtrace. On Monday, March 19, 2012 11:52:34 AM UTC-5, Nico Kaiser wrote: > > Thanks Ilya, I'll have a second look at node-mtrace. > > I tried this (as I did read the list ;-)

[nodejs] Re: Another memory usage question / heapdump

2012-09-11 Thread wavded
Thanks Jimb, I will take a look at this. Very much a growing RSS problem but V8 heap staying reasonable. I am on Linux. -- 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 subsc

[nodejs] Re: Giving up on node.js / Flatiron / hook.io

2012-09-11 Thread Ben Atkin
I'm going to miss your presence in the node community. You helped me get into node.js. Thank you for your contributions and I hope you find something enjoyable to work on next! Ben On Tuesday, September 11, 2012 9:56:45 AM UTC-6, Marak Squires wrote: > > Internet Friends - > > I'm sure it will

[nodejs] Giving up on node.js / Flatiron / hook.io

2012-09-11 Thread secoif
You aren't punishing anyone but your fans if you give up now Marak. You don't need write access, this is open source. If you build it, they will come. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this

[nodejs] Re: Giving up on node.js / Flatiron / hook.io

2012-09-11 Thread Brandon Griggs
A pleasant surprise? I obviously know nothing about the nodejitsu firing, but your tutorials and IRC help were invaluable in getting me up on node and our start-up off the ground. For that you have my sincere thanks and we'll certainly miss your presence. -Brandon On Tuesday, September 11,

Re: [nodejs] Giving up on node.js / Flatiron / hook.io

2012-09-11 Thread Marak Squires
Hey, I would do that, but I simply don't have the resources. I have no means to eat right now, let alone maintain open-source projects. I have no idea what I'll be doing next. No one is going to pay for the development of these tools, and I'm not going to ask anyone to. I'd go homeless ( again )

Re: [nodejs] Giving up on node.js / Flatiron / hook.io

2012-09-11 Thread Srirangan
http://www.reddit.com/r/Meditation/ Srirangan | +91 9711 477 595 | About GitHub LinkedIn Twitter | Review19 "Collaborate & Track Decisions

Re: [nodejs] Memory leak, growing RSS and debugging

2012-09-11 Thread Stefan Zehe
Same problem here. Our app slowly increases the rss. and i could not find anything with node-webkit-agent :( Am 12.09.2012 02:58, schrieb wavded: > Nico did you have any luck in your debugging adventures? My symptoms > seems to very closely match yours. Was going to try mtrace. > > On Monday, Ma

[nodejs] Re: Node.js - authentication - Django

2012-09-11 Thread greelgorke
may be its not a good idea to start a node.js just for real-time updates. you can use plain socket.io for it. here are infos about a python implementation http://stackoverflow.com/questions/4762086/socket-io-client-library-in-python and http://blog.pythonisito.com/2011/08/websockets-to-socketio

[nodejs] Re: Giving up on node.js / Flatiron / hook.io

2012-09-11 Thread Tim Dickinson
Ah dude you must be supper pissed. My point of view is there's no reason to go public with this. I don't care what happens as you would be replaced with the next open-source project. I look at your git page and you have nearly 1000+ follower.. Man I only have 9! You need to get off your high h