[nodejs] Streams2 for arbitrary objects?

2012-12-23 Thread Arpad Borsos
Hi! I’m really excited to read about the new streams2 interfaces. They make a lot of sense when you are dealing with binary/string data. The automatic splice()-ing and join()-ing is awesome. But they kind of fall short when it comes to handling arbitrary objects (these may also be plain strings

[nodejs] connecting to ms sql server, the native way.

2012-12-23 Thread ari
Hi guys, I'm new to this group just joined in, so first I wanted to say HI. next, I'm also quite new to note.js but I have some experiance with JS. I wanted to ask: 1. If someone knows a way to connect to MS Sql server 2008 R2 without the use of python, node-gyp or VS10 addition/s to the node.

[nodejs] Re: Error: database names cannot contain the character '.'

2012-12-23 Thread Joe
you need change ' to " in address definition. the correct one should be var address = "@ds045147.mongolab.com:45147/mydatabasename"; it fixes your problem. Happy Hollidays! On Friday, December 7, 2012 2:40:00 PM UTC-5, man12 wrote: > > I am in the process of learning node.js and using mongoose f

Re: [nodejs] connecting to ms sql server, the native way.

2012-12-23 Thread Angel Java Lopez
Hi! My first guess: try some TDS implementation TDS is Tabular Data Stream Protocol http://msdn.microsoft.com/en-us/library/dd304523.aspx It's usual to implement, in other technologies, a pure socket client of MS SQL Server using TDS. Some quick google: http://cretz.github.com/node-tds/ http://p

Re: [nodejs] Streams2 for arbitrary objects?

2012-12-23 Thread Dominic Tarr
I suggest you checkout Raynos' stream modules, he is mostly used Streams2, I think you will be able to find everything you are looking for On Sun, Dec 23, 2012 at 7:20 AM, Arpad Borsos wrote: > Hi! > > I’m really excited to read about the new streams2 interfaces. They make a > lot of sense when y

Re: [nodejs] connecting to ms sql server, the native way.

2012-12-23 Thread nwhite
If you don't want to compile then you can use the binaryMicrosoft created: * warning this only works with the x86 version of node and not the 64bit. You will still need to install MSSQL native client

Re: [nodejs] Streams2 for arbitrary objects?

2012-12-23 Thread Jake Verbaten
I have not tested _read or _write with objects, I doubt it will work. However pipe works with objects and you can overwrite read and write. I have base class implementations for readable ( https://github.com/Raynos/read-stream), writable ( https://github.com/Raynos/write-stream

Re: [nodejs] Streams2 for arbitrary objects?

2012-12-23 Thread Jake Verbaten
It's also on my todo list to patch isaacs/readable-stream to make _write and _read support objects cleanly. On Sun, Dec 23, 2012 at 12:00 PM, Jake Verbaten wrote: > I have not tested _read or _write with objects, I doubt it will work. > > However pipe works with objects and you can overwrite re

Re: [nodejs] Streams2 for arbitrary objects?

2012-12-23 Thread Arpad Borsos
Well that would be awesome, since thats the implementation that has been pulled into core 0.10... 2012/12/23 Jake Verbaten : > It's also on my todo list to patch isaacs/readable-stream to make _write and > _read support objects cleanly. -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

[nodejs] Fun stuff: Let it Snow! an easyRTC, node.js, WebRTC, socket.io and WebGL demo at chat.easyrtc.com

2012-12-23 Thread Priologic Victoria
This is currently a Chrome 23+ only demo. chat.easyrtc.com -- 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 Groups "nodejs" group. To post to this grou

Re: [nodejs] Error: database names cannot contain the character '.'

2012-12-23 Thread Ryan Schmidt
Why in the world would that make any difference? A string is a string, regardless whether you use single or double quotes. On Dec 23, 2012, at 07:15, Joe wrote: > you need change ' to " in address definition. > the correct one should be > var address = "@ds045147.mongolab.com:45147/mydatabasen

Re: [nodejs] Fun stuff: Let it Snow! an easyRTC, node.js, WebRTC, socket.io and WebGL demo at chat.easyrtc.com

2012-12-23 Thread Dominic Tarr
this kinda works. I can see other user's photo, and it takes pictures, and I see the animated gifs when someone clicks the things, but I don't see video of other user... running chrome 23 on macbook air On Sun, Dec 23, 2012 at 12:11 PM, Priologic Victoria wrote: > This is currently a Chrome 23+ o

[nodejs] Speeding up Buffer read/write floating point operations

2012-12-23 Thread Trevor Norris
I've been working on a patch that will speed up read/write operations on floating point numbers ( https://github.com/trevnorris/node/compare/buffer-float). This is largely based on the work from src/v8_typed_array.cc. There's still a lot I need to fix up (e.g. the API, and support for NaN/Infini

[nodejs] seprate socket for private chat

2012-12-23 Thread ayaz ali
hello everyone i have made a chat app using socket.io express. iam able to send private message to selcted user but i want to open a private chat in seprate iframe which will be the seprate socket from the existing running socket any idea how to do that, i am trying like this socket.on('get

[nodejs] Substream of Streams2 ReadableStream

2012-12-23 Thread Bradley Meck
I have a situation where I want a sub-stream (in same manner as a sub-string) of a ReadableStream to be treated as a different stream entirely. Currently I have the following: ``` // // Create a stream that consumes a future part an existing stream // var ReadableStream = require('readable-str