[nodejs] streams or emitter

2012-09-27 Thread Julian Gruber
I have the following use case: I want to display a list of entries that both gets new entries pushed to - inserted at top - and historical ones appended at the bottom, if you click 'show more'. now what's the cleanest way of doing this? (although this is in a browser environment, I use

[nodejs] Re: Can't connect to MongoDB via NodeJS, what's going on?

2012-09-27 Thread Thijs Koerselman
Second installation of Ubuntu went without problems. I still have not idea what might be causing this on that particular machine, but I'll leave it for now. On Wed, Sep 26, 2012 at 6:36 PM, Thijs Koerselman thijskoersel...@gmail.com wrote: Hi, I have mongodb installed locally on my osx

[nodejs] Re: streams or emitter

2012-09-27 Thread Austin William Wright
On Wednesday, September 26, 2012 11:22:45 PM UTC-7, Julian Gruber wrote: Or is there another way of dealing with 'two-way-streams'. This should be a common pattern in realtime applications! I believe in computer science this is called a double-ended

[nodejs] [ANN] Tetris in color

2012-09-27 Thread Mathias Buus Madsen
Tetris in color in your terminal using node: https://github.com/mafintosh/tetris That is all. -- 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] [ANN] Tetris in color

2012-09-27 Thread Rob Ashton
Hah That's cool, kept me occupied for at least five minutes which is probably a record for npm module announcements on this list ;) Rob On Thu, Sep 27, 2012 at 10:25 AM, Mathias Buus Madsen mathiasb...@gmail.com wrote: Tetris in color in your terminal using node:

[nodejs] Re: Which NodeJS Conference is best attended?

2012-09-27 Thread Jackson Tian
沪js in China 在 2012年9月27日星期四UTC+8上午5时56分07秒,Jim Alateras写道: Just wondering whether there was a conference dedicated to NodeJS and if so, which is the most popular. cheers /jima -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

Re: [nodejs] Re: SNI with Internet Explorer 9

2012-09-27 Thread Fedor Indutny
This is not related to SNI at all. (I'm working at Nodejitsu). On Wed, Sep 26, 2012 at 10:41 PM, Gustavo Machado machad...@gmail.comwrote: Well... it must be one with the worst support for SNI, however if you add TLS 1.2 to the mix, everything will work perfectly: [x] SSL v2 [x] SSL v3

Re: [nodejs] Re: NodeJs e-commerce solution?

2012-09-27 Thread greelgorke
@Nicotene: can some take a look the code. open sourced or licenzed? Am Mittwoch, 26. September 2012 23:19:53 UTC+2 schrieb Nicotene: I feel no shame at admitting we are no good at creating eye-catching designs, hence no fancy stuff, just a simple design and straight to the point. We had to

[nodejs] Re: Can't connect to MongoDB via NodeJS, what's going on?

2012-09-27 Thread Thijs Koerselman
On Thu, Sep 27, 2012 at 8:29 AM, Thijs Koerselman thijskoersel...@gmail.com wrote: Second installation of Ubuntu went without problems. I still have not idea what might be causing this on that particular machine, but I'll leave it for now. It turned out to be a messed up configuration of

[nodejs] HTML-parser/ content extractor purposals

2012-09-27 Thread greelgorke
Hi folks, is there any lib out there, that can made abstracts from a page like i.E. Google Reader? any suggestions? cheers Gregor -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because

Re: [nodejs] Re: NodeJs e-commerce solution?

2012-09-27 Thread Vinayak Mishra
Thanks for showing interest, greelgorke. The nodestore code is proprietory, and not available on as open source yet. We have created few independent npm modules that could be useful to other projects, we would like to publish some of these modules on npm some day. But at the moment, we are

Re: [nodejs] Re: NodeJs e-commerce solution?

2012-09-27 Thread greelgorke
i'm looking forward to it. just interested about it, if it can be easily customized. but the modules might be grate too :) Am Donnerstag, 27. September 2012 11:39:19 UTC+2 schrieb Nicotene: Thanks for showing interest, greelgorke. The nodestore code is proprietory, and not available on as

[nodejs] Re: Stream video with node.js

2012-09-27 Thread geta6
working code here. https://gist.github.com/3793279 # # blob : Object from MongoDB # # blob.body: Buffer # blob.size: length of buffer, substitute for blob.body.length # blob.type: MIME (Eg. audio/x-wav) # # req : Object from http # res : Object from http # _ : Object from underscore # if blob

Re: [nodejs] Re: SNI with Internet Explorer 9

2012-09-27 Thread Gustavo Machado
Fedor, if it's not SNI related, can you think of anything that might be causing the following code not to work? (in chrome and firefox it does) var https = require('https'); var fs = require('fs'); var crypto = require(crypto); var options = { SNICallback: function (hostname) {

Re: [nodejs] Domains and GC

2012-09-27 Thread Ben Noordhuis
On Thu, Sep 27, 2012 at 7:58 AM, Evan evantah...@gmail.com wrote: A rather esoteric question: Say I was following the example under explicit binding described in the domain api page [[ http://nodejs.org/api/domain.html ]]. This is a great real-world-ish example which shows how you might use

Re: [nodejs] Any event for half socket close? socket.write not writing to the socket.

2012-09-27 Thread Ben Noordhuis
On Thu, Sep 27, 2012 at 10:16 AM, anup anup.kalba...@gmail.com wrote: There is something strange happening with socket.write(). While the socket is open, I can receive data on the socket, socket.write is apparently stops pushing data on the socket. There is no error event on the socket as

Re: [nodejs] Domains and GC

2012-09-27 Thread Evan
Awesome! It's nice to have a consistent interface. Thanks! On Thursday, September 27, 2012 6:04:43 AM UTC-7, Ben Noordhuis wrote: On Thu, Sep 27, 2012 at 7:58 AM, Evan evant...@gmail.com javascript: wrote: A rather esoteric question: Say I was following the example under explicit

Re: [nodejs] HTML-parser/ content extractor purposals

2012-09-27 Thread Stanley Stuart
Mikeal's request module + jQuery would probably work really well. -- 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

Re: [nodejs] Re: Question about node v0.8.9, client certificates, and websockets....

2012-09-27 Thread Manny Figudore
I was going to get you a pull request last night but it was late. Work will have me busy until this afternoon but I will try to get you a pull tonight. On Thursday, September 27, 2012 1:57:15 AM UTC-4, James Coglan wrote: On 27 September 2012 04:28, Manny Figudore

[nodejs] [ANN] Jecho - remote debugging for (mobile) web application

2012-09-27 Thread Claudio Cicali
I've always been a great fan of Weinre but I needed something simpler and lighter. So, here is Jecho ( npm jecho or https://github.com/claudioc/jecho ). Jecho is a client/server remote debugging tool written for Node.js, which aims to ease the (sad) life of the mobile web developer. It can be

Re: [nodejs] HTML-parser/ content extractor purposals

2012-09-27 Thread Matt
http://libots.sourceforge.net/ You probably need something like https://github.com/mikeal/request and the command line html2text to convert the HTML to plain text first. Matt. On Thu, Sep 27, 2012 at 5:36 AM, greelgorke greelgo...@gmail.com wrote: Hi folks, is there any lib out there, that

Re: [nodejs] [ANN] Tetris in color

2012-09-27 Thread Tim Caswell
Very awesome! Would you like to write up a small article on building command-line games for nodebits.org (or mind if I write one about this app when I get time)? This is perfect for people learning to program. Most GUI platforms are too complicated for beginners, but tetris is a great task. On

[nodejs] Re: Evil OS X... the perfect client to a node server!

2012-09-27 Thread Dennis Kane
Well, I think that we can all agree that the idea of a purely portable desktop environment is a highly compelling one, and that there are many ways to approach the problem. There is, of course, the VNC approach, wherein all of our actions are transmitted over the wire in order to control a

[nodejs] Re: NodeJs e-commerce solution?

2012-09-27 Thread Abramovick
I was just about starting to build something similar. So count me in. However, lets make it more realistic, n actually start doing it. coz i've seen alot of people who are interested to contribute, so you should actually take the lead, n tell us wat to do next. Abraham Itule -- Job Board:

Re: [nodejs] [ANN] Tetris in color

2012-09-27 Thread Mathias Buus Madsen
I'll try to put a small article together over the weekend - love nodebits.org. On Thursday, September 27, 2012 5:13:40 PM UTC+2, Tim Caswell wrote: Very awesome! Would you like to write up a small article on building command-line games for nodebits.org (or mind if I write one about this

[nodejs] Version 0.8.11 (Stable)

2012-09-27 Thread Isaac Schlueter
This is just a minor bugfix release to correct the regression in v0.8.10. If you haven't yet upgraded to v0.8.10, then please use this release instead. 2012.09.27, Version 0.8.11 (Stable) * fs: Fix stat() size reporting for large files (Ben Noordhuis) Source Code:

[nodejs] Re: Evil OS X... the perfect client to a node server!

2012-09-27 Thread P. Douglas Reeder
One mashup to rule them all? That's a tall order. If you're looking to supplant the WIMP paradigm, you should be familiar with The Anti-Mac Interface (really a post-Macintosh UI): http://www.useit.com/papers/anti-mac.html -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

Re: [nodejs] Re: SNI with Internet Explorer 9

2012-09-27 Thread Fedor Indutny
Sadly I don't have Windows installed neither on my macbook nor in virtual machine. Bert, can you please look into this? Cheers, Fedor. On Thu, Sep 27, 2012 at 4:59 PM, Gustavo Machado machad...@gmail.comwrote: Fedor, if it's not SNI related, can you think of anything that might be causing

[nodejs] Piping gzipped responses?

2012-09-27 Thread Jamison Dance
I have an Express server with a route that just proxies a request to another server and pipes it back to the client. It looks like this: var request = require('request'); function('/whatever', function(req, res) { request.get({url: 'http://example.com/someGzippedThing', json: true}).pipe(res);

Re: [nodejs] Piping gzipped responses?

2012-09-27 Thread Dave Kuhn
The request lib will automatically decompress the response for you. I think you'd be better off using http.request or http.get directly and avoiding any possible double handling. You can still pipe the response as you are now. -- Dave Kuhn Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

[nodejs] noSQL vs. traditional SQL for big node.js auth

2012-09-27 Thread Jason Nunnelley
I'm building a node.js project that will grow to a large authentication data group (hopefully), and I'd like to make the right decision now. My options are: -- PostgreSQL sharding, like Instagram does -- MongoDB -- Something more creative I'll likely use some kind of VM solution like