Re: [nodejs] web app programming as if it were a desktop app over socket.io

2013-10-18 Thread Eric Reynolds
That sounds great, I am just wondering though, that would require you to redevelop a library of widgets to be able to set up a GUI, so why not use HTML? How do you do the code caching and hot fixing? Have you packaged your code into a module on npm? Eric. On Thursday, 17 October 2013

[nodejs] Re: [ann] gossipmonger - gossip protocol node for real-time peer-to-peer state distribution with pluggable storage and transport mechanisms

2013-10-18 Thread Floby
Same as Kevin, I'm currently using Scuttlebutt and it's working great for my use case. Can you point out the major difference or enhancements ? On Friday, 18 October 2013 02:22:07 UTC+2, Tristan Slominski wrote: Hello, I'm happy to announce the initial release of Gossipmonger (

Re: [nodejs] web app programming as if it were a desktop app over socket.io

2013-10-18 Thread Angel Java Lopez
Hi! Loosely related, the other day I found: http://www.codeproject.com/Articles/410856/Canvas-Control-Library-and-New-Forms-Based-System https://github.com/akshaysrin/CanvasControlLibrary On Fri, Oct 18, 2013 at 4:18 AM, Eric Reynolds eric.remo.reyno...@gmail.com wrote: That sounds great, I

Re: [nodejs] web app programming as if it were a desktop app over socket.io

2013-10-18 Thread Eric Reynolds
Thanks for the link. That guy's done a lot of work on his canvas library, but it seems like overkill to me. After all you're recreating a widget library, which you already get for free with HTML, not to mention the endless HTML/CSS/Javascript components available on the web. Redoing everything

[nodejs] Re: diff between module.exports and exports

2013-10-18 Thread spion
On Friday, October 18, 2013 3:57:34 AM UTC+2, yougen zhuang wrote: exports = Rect; Here is a helpful diagram that I often use to explain this: http://i.imgur.com/bNG7JfZ.png -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

Re: [nodejs] web app programming as if it were a desktop app over socket.io

2013-10-18 Thread David Goehrig
On Oct 18, 2013, at 3:18 AM, Eric Reynolds eric.remo.reyno...@gmail.com wrote: That sounds great, I am just wondering though, that would require you to redevelop a library of widgets to be able to set up a GUI, so why not use HTML? I actually do. I have a set of classes which model

[nodejs] Re: Force http request to use a specific socket

2013-10-18 Thread Geoff Van Brunt
Thanks! That's very helpful. I was pretty sure this was the route I would have to go. This gives me something to work with without starting from scratch. On Friday, 18 October 2013 00:56:57 UTC-4, Andrey wrote: You can use agent option of http (and websocket) client. You need to create

[nodejs] Re: [ann] gossipmonger - gossip protocol node for real-time peer-to-peer state distribution with pluggable storage and transport mechanisms

2013-10-18 Thread Tristan Slominski
Hey Kevin and Floby, Heh.. I have a hard time of thinking of a short answer to this, so please be patient. I wanted to write an open source gossipmonger for a while now. My initial implementation of gossip was closed source and at the time dominictarr's version didn't exist. That's not an

Re: [nodejs] Is it a right thing to do, to use Node.JS as a TCP Server?

2013-10-18 Thread Hal Styli
Interesting thread. I'm way off topic here but I can't compile the C# code with my VS2010... any thoughts on how can it be hacked to work for me? Downloading the 4.5 framework did not help. On Friday, 21 June 2013 21:50:10 UTC+1, Kaveh Shahbazian wrote: . . . And the client is in C#: . . .

[nodejs] Re: web app programming as if it were a desktop app over socket.io

2013-10-18 Thread Ket
I have the same idea. I think node.js is an ideal for office and home automation, if not beyond. -- -- 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

Re: [nodejs] Is it a right thing to do, to use Node.JS as a TCP Server?

2013-10-18 Thread Kaveh Shahbazian
This is the last code (with some changes): C#: using Buddy; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace AsyncClient {

Re: [nodejs] Re: diff between module.exports and exports

2013-10-18 Thread Matt
I find this easier to explain in code: var a = { b: {} }; // a = modules, a.b = modules.exports var b = a.b; // b = exports b.hello = 'world'; // set a key on exports, works. b = { goodbye_cruel: 'world' }; // set exports to a whole new object, doesn't console.log(a); // outputs: { b: { hello:

[nodejs] 3 Spots left - Node.js Mini-Conference and Hackathon, Saturday, October 19 @ 9:00am

2013-10-18 Thread Dave Whiteley
Tomorrow! Saturday, October 19, 9:00am San Mateo, California, USA Mini-Conference and Hackathon at StrongLoop's office: StrongLoop is proud to present a “What’s New in Node.js” Mini-Conference and a LoopBack Hackathon on Saturday, October 19th. The conference topics range from an introduction

[nodejs] Why does the Writable stream emit a finish event instead of an end event like the Readable?

2013-10-18 Thread Gagle
It's by design or is a consistency flaw? For me it's simpler if all the streams emit an end event when they finish. Writable, finish http://nodejs.org/api/stream.html#stream_event_finish Readable, end http://nodejs.org/api/stream.html#stream_event_end -- -- Job Board: http://jobs.nodejs.org/

[nodejs] [ann] Meetup in São Paulo/Brazil next week

2013-10-18 Thread Alan Hoffmeister
Hello there, Node.js brazilian group will be meeting next saturday and we are inviting everyone interested to join our little meetup. The idea is to share some thoughts, meet the brazilians members, give short lectures and maybe there will be a dojo about callbacks, promisses, generators,

[nodejs] node.js and promise

2013-10-18 Thread Reza Razavipour
I am a fairly new to javaScript and node.js both. I am trying to wrap my head around promises and I am having a hard time. I am looking for a very simple tutorial/video on this topic and having little success. Is there a reference that can be recommended? A before and after code snippet can

Re: [nodejs] node.js and promise

2013-10-18 Thread Gorgi Kosev
Try http://spion.github.io/promise-nuggets - its not complete yet but the main concepts are covered On Oct 19, 2013 12:11 AM, Reza Razavipour reza.razavip...@gmail.com wrote: I am a fairly new to javaScript and node.js both. I am trying to wrap my head around promises and I am having a hard

Re: [nodejs] node.js and promise

2013-10-18 Thread Angel Java Lopez
I just found this link at es-discuss http://flippinawesome.org/2013/10/14/a-simple-visual-model-for-promises/ On Fri, Oct 18, 2013 at 7:34 PM, Gorgi Kosev gorgi.ko...@gmail.com wrote: Try http://spion.github.io/promise-nuggets - its not complete yet but the main concepts are covered On Oct

[nodejs] Node v0.8.26 (Maintenance)

2013-10-18 Thread Timothy J Fontaine
This release contains a security fix for the http server implementation, please upgrade as soon as possible. Details will be released soon. 2013.10.13, Version 0.8.26 (maintenance) * v8: Upgrade to 3.11.10.26 * crypto: clear openssl error stack when handled (Ben Noordhuis) * crypto: clear

[nodejs] Node v0.10.21 (Stable)

2013-10-18 Thread Timothy J Fontaine
This release contains a security fix for the http server implementation, please upgrade as soon as possible. Details will be released soon. 2013.10.18, Version 0.10.21 (Stable) * uv: Upgrade to v0.10.18 * crypto: clear errors from verify failure (Timothy J Fontaine) * dtrace: interpret two

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

2013-10-18 Thread Isaac Schlueter
I understand that it's frustrating to be told that there's a security vulnerability but not be given details, especially on a Friday afternoon. Please try to understand that we would not be so cagey about the particulars if it was not a serious issue. This is a DoS vulnerability affecting anyone

[nodejs] Re: diff between module.exports and exports

2013-10-18 Thread Adam Ahmed
Kinda funny how hard it is to explain this. I thought it was interesting so I gave it a crack as well: http://www.noiregrets.com/blog/2013/10/19/e40baf63/NodeJS-module-exports-vs-exports TL;DR: variables are not the values they point to. Maybe that helps yougen or maybe I'm beating a dead

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

2013-10-18 Thread Jan Buschtöns
Heroku just send out a notice to all Node.js devs they know. Super nice. :) I think releasing a security fix ASAP and disclosing the details later on is a good tactic. Thanks everyone who worked on this! :) On Saturday, October 19, 2013 2:01:31 AM UTC+2, Isaac Schlueter wrote: I understand

Re: [nodejs] diff between module.exports and exports

2013-10-18 Thread Hage Yaapa
Well, that's from Node 0.4.x, it's been a long time (6 minor versions and 2 years), things have changed quite a bit. Thanks for bringing into notice. I should update that post. On Tue, Oct 15, 2013 at 5:23 PM, mks vladimiro.paglia...@gmail.com wrote: Not that nice. Mostly wrong. What happens