[nodejs] Oracle development with node
Anyone doing Oracle development with node? Is so, what modules do you recommend. Any ORMS? Interested in real world experiences folks have had / what works. Thanks! Glenn -- 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 this message because you are subscribed to the Google Groups nodejs group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAEwD50A-5331CenS77zwO-Cp-rgrpwh_ZUN0hZV06e5sTeoVYA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [nodejs] Node security on different ports
On Jun 26, 2014, at 11:27 AM, Joe Bloggs wrote: However, I have to use a non-standard port (not 80 or 443) to make node work, obviously. Actually, it's not obvious why that would be the case. Why can't you use port 80 and/or 443 for node? The other thing is, we are running apache on port 80, so I will be using something like nginx on port 8080, and node on port 3000. Already using port 80 and/or 443 for another server would of course be an understandable reason. But nothing is forcing you to do that. You could run node on port 80 and/or 443 on another IP address on the same server (or on another server). -- 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 this message because you are subscribed to the Google Groups nodejs group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/B5F9B604-FD0C-4ABD-B635-E92250C1B582%40ryandesign.com. For more options, visit https://groups.google.com/d/optout.
Re: [nodejs] Git client...
On Jun 26, 2014, at 2:29 PM, Ingwie Phoenix wrote: I am not on 0.12.x - still on 0.10.29, so no execSync for me for now :) There are execSync modules available in npm that work on node 0.10, if that's the only problem to overcome. -- 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 this message because you are subscribed to the Google Groups nodejs group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/790EAEBB-8A4C-4478-814A-3D8F59069CE8%40ryandesign.com. For more options, visit https://groups.google.com/d/optout.
Re: [nodejs] Git client...
Or simply exec, right? It's not like you won't find any async-flow library out there :D On Fri, Jun 27, 2014 at 3:36 AM, Ryan Schmidt google-2...@ryandesign.com wrote: On Jun 26, 2014, at 2:29 PM, Ingwie Phoenix wrote: I am not on 0.12.x - still on 0.10.29, so no execSync for me for now :) There are execSync modules available in npm that work on node 0.10, if that's the only problem to overcome. -- 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 this message because you are subscribed to the Google Groups nodejs group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/790EAEBB-8A4C-4478-814A-3D8F59069CE8%40ryandesign.com . For more options, visit https://groups.google.com/d/optout. -- 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 this message because you are subscribed to the Google Groups nodejs group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CALdXVsR7gHE7yJjS3QJ%2BwNFJZpVcEwh-_AcurNUzdKNp8jgQjQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[nodejs] Re: Java Houses Adopting Node.js
OK, thanks for all the replys. I can understand why Walmart dropped Wickets for Node.js as wickets is a pretty inefficient technology for the modern era (Java tags embedded in HTML and mapping to java objects on the server). Does anyone how node is used in their architecture? i.e. is it just a front controller serving html pages which use Ajax to connect to Java services, or is it much more baked in than that? The same question apply to paypal. Are they re-writing everything in JS or using node to front services? Thanks again. On Thursday, 26 June 2014 09:35:22 UTC+1, Adam Davies wrote: Hi All, Does anybody know of case studies or have direct experience of a ecommerce companies which have been using Java for many years converting over to node.js? The reason why I ask is because we at Screwfix.com are going through a process of looking at new technologies and defineing our strategy over the next 5 years for so, and node keeps coming up in conversions. However, there is little in-house knowledge of node usage for our particular company size and profile. If anyone can provide a steer it would be really appreciated. Thanks Adam -- 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 this message because you are subscribed to the Google Groups nodejs group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/c3eb44fc-a1ac-4c84-bf6f-dfc83d633db3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[nodejs] Re: server.listen hostName issue
On Friday, June 27, 2014 1:13:00 AM UTC-4, 敬錞潘 wrote: How to fix this hostName assign issue below? server.listen(app.get('port'),123.xxx.xxx.xxx);//this is my ip ,not ok //server.listen(app.get('port'),127.0.0.1);//ok ,can run in webbrowser Are you sure that you have a network interface (e.g. eth0, eth1, etc.) that has 123.xxx.xxx.xxx assigned to it? -- 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 this message because you are subscribed to the Google Groups nodejs group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/29f728df-e440-4a60-9919-b2b7f9c85d59%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[nodejs] (C++) Emitting events from another thread?
Hey hey! ^^ I am currently making concepts for a new module, that will embed PHP into nodejs so you can use it from a HTTP server, for instance. Thing is, I want to make it a non-blocking API. So I was thinking about returning an Event emitter with events for start, data, end and such. But is this even possible from another thread? -- Pseudo code. var instance = new PHP({ini_setting: value}); instance.on(data, function(ch) { request.write(ch.toString(utf-8)); }); -- This is supposed to be sort-of modeled after child_process.spawn. What posibilities do I have, to emit events across threads? Kind regards, Ingwie. -- 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 this message because you are subscribed to the Google Groups nodejs group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/F7F59E13-334B-407F-A445-A8AD13128677%40googlemail.com. For more options, visit https://groups.google.com/d/optout.
Re: [nodejs] Re: Here's your Node.js performance tip of the week - how garbage collection works and how to monitor it
Where can one look for this code, write barriers and stuff? (I guess curiosity is getting the better out of me, or however the saying goes.) 2014-06-27 13:15 GMT+02:00 Zlatko Đurić zladu...@gmail.com: So that means that 'I guess that translates to create as many small local scoped vars as you need, and V8 will take care of it all, as long as they don't point to global scopes and other stuff? Or is this _always_ something that needs to be checked, regardless? 2014-06-27 7:11 GMT+02:00 Ben Noordhuis i...@bnoordhuis.nl: On Thu, Jun 26, 2014 at 12:08 PM, zladuric zladu...@gmail.com wrote: What I'd like to add is a little bit of wisdom I've picked up at the MLOC-JS.com conference in Budapest this February. Ben Titzer from Google Chrome division was explaining a little bit of this, how does GC work in V8, and he's shared a great tip: create as many objects as you can and just discard them. They're putting a lot of effort into new-gen optimization - it is a lot smaller but a lot faster. When your objects get promoted to tenured generation space, then it's a lot more work for V8 to manage them + the space size itself is bigger, all of which adds a bit overhead. So what he has said is not to be afraid to just create as many objects as you need and just keep discarding that. I guess that translates to create as many small local scoped vars as you need, and V8 will take care of it all. That's not bad advice but there's a caveat. The garbage collector in V8 is generational. It needs to know what new space objects contain references to old space objects and in order to get that information, stores to properties in new space objects go through something called a write barrier[0]. What that means is that an assignment like `object.x = value` gets translated into code that conceptually looks like this: // Update write barrier unless value is an int. if (IsSmallInteger(value) === false) { RecordWrite(object, 'x'); } Store(object, 'x', value); (The write barrier is elided when the value is an integer because integers are not stored as objects and don't reference other objects. Numbers can be heap-allocated but signed integers that fit in ~30[1] bits usually are not.) You shouldn't let the above worry you too much but in performance critical code, it sometimes pay not to mix new and tenured objects. (Something node.js core doesn't do too well, alas. The http and stream modules, for example, have lots of backlinks between objects with different lifetimes.) [0] Not to be confused with a hardware write barrier. [1] The exact width depends on the hardware architecture. -- 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 this message because you are subscribed to a topic in the Google Groups nodejs group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/tx6FCaVvf44/unsubscribe. To unsubscribe from this group and all its topics, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAHQurc_xmhTG2oQ%2B8%3D0rvNyfqeb5ksrxAhpviEudTAz-bJ3YUA%40mail.gmail.com . For more options, visit https://groups.google.com/d/optout. -- Zlatko -- Zlatko -- 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 this message because you are subscribed to the Google Groups nodejs group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CADu3pbzQ88%3DUmQ7gGFYTtp2cZj6Atp5A5YYAnzsrVa%2BbyN1tsw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [nodejs] Re: Java Houses Adopting Node.js
On Fri, Jun 27, 2014 at 6:38 AM, Adam Davies clevedon@googlemail.com wrote: I can understand why Walmart dropped Wickets for Node.js as wickets is a pretty inefficient technology for the modern era (Java tags embedded in HTML and mapping to java objects on the server). As I mentioned, it was their SERVICES layer that changed. I'm assuming the links you can google cover in more detail. I don't believe they've swapped out the front end at all. -- Brett Ritter / SwiftOne swift...@swiftone.org -- 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 this message because you are subscribed to the Google Groups nodejs group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAMb349yRiTgQ8tsC9S54H1LwCDczeEd3gMAvideQWdkgeKBEUA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[nodejs] export a variable from worker in node.js cluster
How do I export a variable from worker in node.js cluster? I get undefined when a variable is exported from either master or worker. But it works when exported before I check for if (cluster.isMaster)... -- 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 this message because you are subscribed to the Google Groups nodejs group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/73b3d616-c6e2-42c2-81e8-138902a0c2b5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.