[nodejs] Re: Express.io - Live Realtime HTML5 Canvas Demo

2013-01-14 Thread Julian Gruber
In Chrome 24: Uncaught TypeError: Cannot call method 'clearRect' of undefined On Monday, January 14, 2013 1:01:14 AM UTC+1, Brad Carleton wrote: > > I just made a live realtime canvas demo using > express.io > . > > It uses a hodge podge of cool nodejs and javascript tech

[nodejs] createReadStream and readDir

2012-07-06 Thread Julian Gruber
Is it possible to create a readStream from readDir? I tried createReadStream('.') but directories are not supported there. Generally, is it possible to build on streams completely for control flow, having as few callbacks as possible? -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

Re: [nodejs] createReadStream and readDir

2012-07-06 Thread Julian Gruber
Are record oriented streams against node-stream's philosophy? On Friday, July 6, 2012 2:52:05 PM UTC+2, Ben Noordhuis wrote: > > On Fri, Jul 6, 2012 at 2:28 PM, Julian Gruber > wrote: > > Is it possible to create a readStream from readDir? I tried > > createReadStrea

Re: [nodejs] createReadStream and readDir

2012-07-06 Thread Julian Gruber
; >> On Fri, Jul 6, 2012 at 2:28 PM, Julian Gruber >> wrote: >> > Is it possible to create a readStream from readDir? I tried >> > createReadStream('.') but directories are not supported there. >> > >> > Generally, is it possible to build

[nodejs] Re: [ANN] seic (Spdy-Express-socket.Io-Cluster)

2012-08-06 Thread Julian Gruber
https://github.com/phidelta/seic On Sunday, August 5, 2012 6:27:11 PM UTC+2, phidelta wrote: > > Hi all, > > I have just released seic, which is a basic setup package for setting up > an HTTPS server with Express, SPDY and Socket.IO enabled and Cluster. > > In addition there is a facility that e

[nodejs] Re: Async: When it is usefull?

2012-08-30 Thread Julian Gruber
In JavaScript you most of the time don't really have a choice whether to make something async or sync. When there are only synchronous operations in a function there is no purpose in using callbacks. However when you use async operations like I/O you have to use callbacks. The things is that ca

[nodejs] streams or emitter

2012-09-26 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 streams

[nodejs] Re: Which database to use for a realtime chat game?

2012-10-08 Thread Julian Gruber
Also checkout dominictarr's scuttlebutt or crdt for a master-less approach On Sunday, October 7, 2012 3:44:48 AM UTC+2, Nickname wrote: > > I'm creating a chat based game with Node.js and I would like to know which > database is best for the job? > -- Job Board: http://jobs.nodejs.org/ Posting

Re: [nodejs] "node_modules" for private modules that need to be committed?

2012-10-10 Thread Julian Gruber
use /lib or put modules in a git repo (you can host them yourself too) and reference them with git:// or git+http://. -- 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 subscribe