Re: [nodejs] [ANN] Logger - distributed logging system

2015-03-11 Thread Tim Dickinson
> Perhaps Tim you allow the log information to be buffered at the source to minimisee loss? There is a buffer that clears on a timer or the buffer length. So it will send a batch of logs in one message. >clearly these logs will never be important. Never is a strong word. Like I said a TCP or ev

Re: [nodejs] [ANN] Logger - distributed logging system

2015-03-11 Thread Tim Dickinson
It would be really easy to implement the TCP protocol with logster. If its something people would like to see I would be more than happy to implement it. On Tuesday, March 10, 2015 at 10:52:05 PM UTC-4, Aria Stewart wrote: > > > > On Mar 10, 2015, at 7:36 PM, Tim Dickin

[nodejs] Re: [ANN] Logger - distributed logging system

2015-03-11 Thread Tim Dickinson
If anyone knows of a TCP reconnect module please let me know. On Tuesday, March 10, 2015 at 11:40:27 AM UTC-4, Tim Dickinson wrote: > > Logster is a distributed logging system. have you ever wanted to collect > logs from multiple sources and view them in one place? Well Logster is the

Re: [nodejs] [ANN] Logger - distributed logging system

2015-03-10 Thread Tim Dickinson
You don't. It was designed to collect hundreds if not thousands of log lines per second. The UDP server is made to scale. So to prevent packet lose just scale up the UDP server. On Tuesday, March 10, 2015 at 12:34:22 PM UTC-4, Aria Stewart wrote: > > > On Mar 10, 2015, at

[nodejs] [ANN] Logger - distributed logging system

2015-03-10 Thread Tim Dickinson
Logster is a distributed logging system. have you ever wanted to collect logs from multiple sources and view them in one place? Well Logster is the answer. https://github.com/MangoRaft/Logger -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-

[nodejs] Efficient node.js IPC

2014-05-12 Thread Tim Dickinson
Hey all. I would like to know from peeps what could be the best IPC. I have written this code to test what I might use. https://github.com/FLYBYME/node_ipc_benchmarks Background. I have a UDP server receiving messages at a high rate of speed. The server stores the last 1500x1000 messages in me

[nodejs] Re: node.js cluster multiprocess logging solution

2014-05-12 Thread Tim Dickinson
Take a look at https://github.com/MangoRaft/Logger Its not ready for use yet but could be something you would use. In the next few days I'll be pushing a new version that is independent to raft and could be used by any program. On Monday, April 28, 2014 5:45:50 AM UTC-5, gen chen wrote: > > I a

[nodejs] [ANN] metrics-server

2014-05-07 Thread Tim Dickinson
Would like to introduce metric-server metrics-server is a basic metrics server and client. The client uses UDP to send metric to the server. The server stores all metric into a mongodb database. https://github.com/MangoRaft/metrics-server -- Job board: http://jobs.nodejs.org/ New group rules:

[nodejs] Re: How to measure proxy-request-time of node-http-proxy?

2014-01-25 Thread Tim Dickinson
This about your cope. var proxyServer = http.createServer(function (req, res) { var start_time = new Date().getTime(); proxy.web(req, res); res.on('finish', function() { console.log("The request was proxied in " + (new Date().getTime() - start_time) + "ms"); }); }); On

[nodejs] [ANN] Route-Machine - HTTP proxy built to run in a cluster environmen

2014-01-24 Thread Tim Dickinson
Hey all! Route Machine is a HTTP router built to run in a cluster environment. Using the NATS network to update routes in real-time. Route Machine has been built for the uses with the Raft framework. The events Route Machine emits are watched by the Dea. https://github.com/MangoRaft/route-m

Re: [nodejs] git server built with node

2013-07-19 Thread Tim Dickinson
g a NodeJS multi-tenant git server based on pushover. >> >> If you would like, I can put it on github and we can work on it together. >> >> Let me know - Thanks. >> >> On Monday, March 18, 2013 8:14:58 PM UTC-4, Tim Dickinson wrote: >>> >>> Hey a

Re: [nodejs] git server built with node

2013-03-21 Thread Tim Dickinson
Did you read my post? On Wednesday, March 20, 2013 4:25:42 AM UTC-4, mrdnk wrote: > > Have you seen pushover https://github.com/substack/pushover > > On 20 Mar 2013, at 02:55, Tim Dickinson > > wrote: > > Ah now we are getting someplace. Thanks for the information I wil

Re: [nodejs] git server built with node

2013-03-19 Thread Tim Dickinson
tocol and what you need to do > to be able to push to/pull from a remote repository: > > > http://www.michaelfcollins3.me/blog/2012/05/18/implementing-a-git-http-server.html > > I hope that it helps. > > On Mar 18, 2013, at 5:14 PM, Tim Dickinson > > wrote: > &g

Re: [nodejs] git server built with node

2013-03-18 Thread Tim Dickinson
Anything current? I'm not looking for a project on kickstarter. On Monday, March 18, 2013 8:16:23 PM UTC-4, Karl Tiedt wrote: > > self explanatory... http://www.kickstarter.com/projects/creationix/js-git > > -Karl Tiedt > > > On Mon, Mar 18, 2013 at 7:14 PM, Tim Dickins

[nodejs] git server built with node

2013-03-18 Thread Tim Dickinson
Hey all, I'm looking for a git server or a module to build a git server with node.js. I have looked at pushover and from what I can tell I could build a git server with it. Can anyone tell me more? Thanks -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyen

[nodejs] Re: [ANN] address-rfc2822

2013-03-18 Thread Tim Dickinson
link? On Sunday, March 17, 2013 1:24:00 PM UTC-4, Matt Sergeant wrote: > > Not many people using node will need this module, but I figured I'd > announce it anyway... > > address-rfc2822 parses email addresses as seen in email From/To/CC/Bcc > headers. It is *not* meant for parsing or validating

Re: [nodejs] Raft - Open-Source PaaS

2013-03-14 Thread Tim Dickinson
>>> You may be interested by openruko <https://github.com/openruko>, an >>> OpenSource Heroku clone written in nodejs. >>> >>> Cheers >>> Romain >>> >>> Le samedi 2 mars 2013 03:49:19 UTC+1, Tim Dickinson a écrit : >>> &g

[nodejs] Re: process_child.fork() env and arguments

2013-03-11 Thread Tim Dickinson
So you think that passing in null as your env will give you a null env in the new process? If so that is wrong. On Monday, March 11, 2013 7:57:21 AM UTC-5, Alan Hoffmeister wrote: > > Hello there, > > Why {env : myEnvObject} it's being ignored I pass null to the [args] > option in process_child

Re: [nodejs] Re: fs.createWritestream change path dynamically

2013-03-07 Thread Tim Dickinson
utfile')) > > keep in mind data events wont get emitted without a listener in new > streams, for better/worse depending on what you're trying to do > > > On Thu, Mar 7, 2013 at 9:43 AM, Tim Dickinson > > wrote: > >> I dont really understand what your tryin

[nodejs] Re: fs.createWritestream change path dynamically

2013-03-07 Thread Tim Dickinson
I dont really understand what your trying to do. You cant create a write stream without a file name. You could create a random file name and then rename it once you have the real file name. On Thursday, March 7, 2013 9:35:00 AM UTC-5, Thorsten Moeller wrote: > > Hi, > > i am creating a writestre

Re: [nodejs] Re: Event bus - hook.io like.

2013-03-07 Thread Tim Dickinson
arch 7, 2013 at 12:31 PM, Tim Dickinson wrote: > > >Why Dont you try redis or zmq? > Like I say I dont really want to have to run another non-node process. > > >It's still experimental, but I'm working on this module I named > "verbose" and has similar goal

[nodejs] Re: Event bus - hook.io like.

2013-03-07 Thread Tim Dickinson
t? On Wednesday, March 6, 2013 3:35:38 PM UTC-5, Tim Dickinson wrote: > > I'm looking for a pure node event bus. Something like hook.io but that > is kept up to date. > > I have been thinking of building my own module using > https://github.com/visionmedia/axon but if some

[nodejs] Event bus - hook.io like.

2013-03-06 Thread Tim Dickinson
I'm looking for a pure node event bus. Something like hook.io but that is kept up to date. I have been thinking of building my own module using https://github.com/visionmedia/axon but if something is already out there then why not use it. What I'm doing is have a few processes that are Indepen

Re: [nodejs] Re: Sticky sessions using the new cluster API?

2013-03-03 Thread Tim Dickinson
I read in the docs some place. I cant seems to find it again. Can anyone say anything about where information might be on this? On Tuesday, June 26, 2012 10:54:04 PM UTC-4, Dominic wrote: > I understand that the cluster api works by passing a file descriptor > > to the worker process. > > > >

Re: [nodejs] Raft - Open-Source PaaS

2013-03-01 Thread Tim Dickinson
Raft is more of a tool to the developer then a service. On Friday, March 1, 2013 2:28:28 AM UTC-5, Charlie Edward wrote: > > Looks awesome. What is the advantage versus cloudfoundry, and other open > source solutions? > > On Fri, Mar 1, 2013 at 7:16 AM, Tim Dickinson > >

[nodejs] Raft - Open-Source PaaS

2013-02-28 Thread Tim Dickinson
Raft - Open-Source PaaS The idea behind raft and mangoraft.com is to give the node community a fully-featured Platform as a Service (PaaS). Raft gives you a provision of CPU, memory, disk space and bandwidth. From this the sky's the limit in what can be build. Sites and services ranging from th

[nodejs] Re: Install for specific version of node through npm

2013-02-27 Thread Tim Dickinson
hat I want. I dont know enough about nvm to really see if its a fit for what i want. With nvm can i spawn two version of node at the same time? Or do i have to set the version then spawn that version then set the other and spawn with other version? On Wednesday, February 27, 2013 5:44:40 PM UTC-5,

[nodejs] Re: [ANN| mongo-metrics - Mongo backed metrics engine

2013-02-27 Thread Tim Dickinson
Oh very nice! On Saturday, February 16, 2013 12:34:11 PM UTC-5, Arunoda Susiripala wrote: > > Hi, > > I just released mongo-metrics - https://github.com/arunoda/mongo-metrics > > Which is metrics tracking and aggregation tool/module build on top of the > MongoDB. > Hope you guys find it useful. >

Re: [nodejs] Install for specific version of node through npm

2013-02-27 Thread Tim Dickinson
PATH might now work when wanting to run 0.8.12 On Wednesday, February 27, 2013 5:52:34 PM UTC-5, Ben Noordhuis wrote: > > On Wed, Feb 27, 2013 at 11:44 PM, Tim Dickinson > > > wrote: > > I have a build of node version 0.6.12 but my main install of node is > 0.8.20 &g

[nodejs] Install for specific version of node through npm

2013-02-27 Thread Tim Dickinson
I have a build of node version 0.6.12 but my main install of node is 0.8.20 This is my output [bob@bob-workstation test]$ /tests/tmp/node/0.6.12/bin/npm install daemon npm http GET https://registry.npmjs.org/daemon npm http 304 https://registry.npmjs.org/daemon > daemon@0.5.1 preinstall /test/no

[nodejs] Re: Need an "offline" npm-style repository - what's a good approach?

2013-02-18 Thread Tim Dickinson
You might want to read https://blog.caurea.org/2012/01/31/local-npm-registry-mirror.html On Monday, February 18, 2013 2:23:05 PM UTC-4, andy wrote: > > Apologies in advance because I've only glanced at this problem, but we > work in a unique environment where we have no Internet connectivity. >

Re: [nodejs] Node v0.9.9 (Unstable)

2013-02-08 Thread Tim Dickinson
Yeah after posting I remembered that we are on 0.8.18 On Friday, February 8, 2013 11:10:29 AM UTC-4, Arunoda Susiripala wrote: > > you have to wait some more :-) > > On Friday, February 8, 2013, Tim Dickinson wrote: > >> The next version is 1.0.0 or 0.10.0? >> &

[nodejs] Re: Node v0.9.9 (Unstable)

2013-02-08 Thread Tim Dickinson
The next version is 1.0.0 or 0.10.0? When would it be released? On Thursday, February 7, 2013 2:36:09 PM UTC-4, Isaac Schlueter wrote: > > 2013.02.07, Version 0.9.9 (Unstable) > > * tls: port CryptoStream to streams2 (Fedor Indutny) > > * typed arrays: only share ArrayBuffer backing store (Ben

[nodejs] [ANN] Raft v0.2.0

2013-02-08 Thread Tim Dickinson
Raft is a PaaS for node. Raft supports a wide range of functions to run multi-user, multi-app, mulit-infa. A lot of inspiration has come from the great people at nodejitu, nodester and AppFog. Raft features - App spawn-er - Dependency support with npm - File-system chroot

[nodejs] Re: Federation: A Distributed Message Network Module

2013-02-07 Thread Tim Dickinson
Thanks was looking for something like this. On Wednesday, February 6, 2013 12:09:10 AM UTC-5, Jacob wrote: > > Hello everyone, I wanted to share a module I've been working on called > Federation. > > Federation is a message network that works cross-process and cross-host. > > - Project http://und

[nodejs] Re: What happens to hook.io?

2012-11-30 Thread Tim Dickinson
Yeah this is a great idea. lets close the thread and not fix the core problem. Who is going to re-fork the repo so users can start using the software again. On Tuesday, November 27, 2012 12:54:42 AM UTC-5, Arunoda Susiripala wrote: > > Hi, > > I've notice that hook.io's source code has been >

[nodejs] Re: What happens to hook.io?

2012-11-27 Thread Tim Dickinson
What about the forked version people had? I dont really know how GitHub works but shouldn't other people have a copy of the code? Just recreate the repo. Take a look. https://github.com/TooTallNate/hook.io On Tuesday, November 27, 2012 12:54:42 AM UTC-5, Arunoda Susiripala wrote: > > Hi, > > I'

Re: [nodejs] Re: [ANN] pkgcloud

2012-11-27 Thread Tim Dickinson
on, Nov 26, 2012 at 6:09 PM, Nuno Job > > wrote: > >> Can you clarify your question? >> >> It supports rackspace, which is open stack. >> >> Feel fre >> >> >> On Mon, Nov 26, 2012 at 6:00 PM, Tim Dickinson >> >> > wrote: >&g

[nodejs] Re: [ANN] pkgcloud

2012-11-26 Thread Tim Dickinson
whats the support for the OpenStack API? On Friday, November 23, 2012 3:07:39 PM UTC-5, Nuno Job wrote: > > Hi, > > One of the main objectives we have at Nodejitsu is that developers should > not change their code according to different OSs / or cloud providers. We > can run on Rackspace, Joyen

[nodejs] Re: Update Amazon Server to 0.8.x

2012-10-11 Thread Tim Dickinson
You will have to compile from the git repo or from a tar file. On Thursday, October 11, 2012 8:44:27 AM UTC-4, Tim Stewart wrote: > > I have NodeJS running on an Amazon EC2 server with Amazon Linux AMI. But > how do I update from 0.6.18 to 0.8.x? I have tried > > sudo yum update nodejs > > sudo y

[nodejs] Re: How to aggregate streams? (multiplexer/demultiplexer)

2012-09-15 Thread Tim Dickinson
LOL I should have searched the group. I asked this question like two days latter. On Monday, September 3, 2012 5:44:24 AM UTC-4, lbdremy wrote: > > Hello, > > I'm wondering, does someone know a module that is able to aggregate > multiple streams into 1. > For example you give it 3 readable stre

[nodejs] Re: Crockford : Ynode : "I would fork node.js"

2012-09-15 Thread Tim Dickinson
I would like to see a fork of node. On Saturday, September 15, 2012 10:45:30 AM UTC-4, Jorge wrote: > > http://www.youtube.com/watch?v=8HzclYKz4yQ#t=22m30s > > "I would fork nodejs. Nodejs is a great thing and I would bet the company > on it, but I would not bet the company on Joyent. I see Joye

Re: [nodejs] Re: Stream to multi-stream

2012-09-13 Thread Tim Dickinson
Oh yes its called "multiplex-demultiplex" Thanks! On Thursday, September 13, 2012 5:24:44 PM UTC-7, Raynos wrote: > > https://github.com/dominictarr/mux-demux > > On Thu, Sep 13, 2012 at 1:14 PM, Tim Dickinson > > > wrote: > >> >Do you mean pipe on stre

[nodejs] Re: Stream to multi-stream

2012-09-13 Thread Tim Dickinson
>Do you mean pipe on stream to several streams? No what I mean is to have one stream and and then have other stream pipe to it. So mulit point to mulit point on one stream. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidel

[nodejs] Stream to multi-stream

2012-09-13 Thread Tim Dickinson
Hey all. I'm looking for a module that would allow me to have one net socket or other stream and layer other streams on top of it. I was thinking of writing my own module for this but if anyone knows of something like this then i would look at it first before i write my own. -- Job Board: htt

[nodejs] Re: Giving up on node.js / Flatiron / hook.io

2012-09-12 Thread Tim Dickinson
Get a job! On Wednesday, September 12, 2012 6:17:48 AM UTC-4, Filipe wrote: > > Tim, when you already have food on the table, right? -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because yo

[nodejs] Re: Giving up on node.js / Flatiron / hook.io

2012-09-11 Thread Tim Dickinson
Ah dude you must be supper pissed. My point of view is there's no reason to go public with this. I don't care what happens as you would be replaced with the next open-source project. I look at your git page and you have nearly 1000+ follower.. Man I only have 9! You need to get off your high h

[nodejs] Re: [ANN] Raft 0.0.1 PaaS

2012-08-29 Thread Tim Dickinson
oint I will add version numbers to the package.json >It's really cool, Thanks! Thanks dude! On Monday, August 27, 2012 6:46:33 PM UTC-7, Tim Dickinson wrote: > > I would like to say hello to the node community! > > I have been working on the Raft module for a few weeks now. It

[nodejs] [ANN] Raft 0.0.1 PaaS

2012-08-27 Thread Tim Dickinson
I would like to say hello to the node community! I have been working on the Raft module for a few weeks now. It is functional but it is still in the early stages. The concept is very slimier to nodester or haibu. It allows you to host many apps on a single server or even multiple servers. There

Re: [nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-15 Thread Tim Dickinson
>6. Save your routing tables in memory, don't go fetch from DB on every request. For now I'm query the db every time a request comes in. I tried keeping it in memory but i need to find a better way to push to all nodes in the cluster. >7. Cluster + in memory state for apps, support nightmare To

Re: [nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-15 Thread Tim Dickinson
round-robin, I dont know if they do that but i know in the > node-http-proxy there is a very nice example: > > > https://github.com/nodejitsu/node-http-proxy/blob/master/examples/balancer/simple-balancer.js > > > btw, I love the level of openess of both companies :)

Re: [nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-15 Thread Tim Dickinson
uys go about doing that? like you spawn 2 > >> processes of the same app and just route request to each app like node > does > >> with the cluster module? > >> > >> Jets are coming... > >> > >> - To nodester. On average what are your costs r

Re: [nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-12 Thread Tim Dickinson
>I would rather say it would be more likely that people use the platform. Not everybody uses git, subversion and mercurial are still really big version control systems. And by starting out with HTTP support you could actually support all these different kind of version control system if you a si

[nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-12 Thread Tim Dickinson
bout this problem. On Saturday, August 11, 2012 5:33:21 PM UTC-4, Tim Dickinson wrote: > > Hey all. > > So this is not a ANN but more of an request for advice from nodester / > nodejitsu / haibu and the community in general. What i have been working on > for the past few mont

[nodejs] Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-11 Thread Tim Dickinson
Hey all. So this is not a ANN but more of an request for advice from nodester / nodejitsu / haibu and the community in general. What i have been working on for the past few months is of sort a PaaS. The basic idea behind it is to create a server to can spawn node apps that are pushed out to it

[nodejs] Module requirement

2012-07-27 Thread Tim Dickinson
Hey all So I'm writing a PaaS on top on node. What I'm doing is running each file/module in a custom context so that i can place my own globals inside of that file/module. this is my "require" code https://gist.github.com/3189241 it is very basic just so i can get the idea of how to run the

Re: [nodejs] Re: Node 0.1.1 to 0.8.0

2012-06-23 Thread Tim Dickinson
Do you know if he would come back as a dev for node? On Saturday, June 23, 2012 4:32:49 PM UTC-4, Ben Noordhuis wrote: > > On Sat, Jun 23, 2012 at 9:53 PM, Tim Dickinson > wrote: > >> Thanks very must to ry! > > should be > Thanks very much to ry! > >

[nodejs] Re: Node and developing on multiple machines

2012-06-23 Thread Tim Dickinson
Hello github!! Or get yourself a laptop. Your trying to have the cake and eat it too. -- 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"

[nodejs] Re: Determining if a cluster worker is idle

2012-06-23 Thread Tim Dickinson
When using the detached option to start a long-running process, the process will not stay running in the background unless it is provided with a stdio configuration that is not connected to the parent. If the parent's stdio is inherited, the child will remain attached to the controlling termina

Re: [nodejs] Re: API changes from 0.6 to 0.8

2012-06-23 Thread Tim Dickinson
> > > The goal is to have a module compatible with both 0.6 and 0.8, not one > for each version. > At some point you will have to. No one writes code for version 0.4, the same should now be true for version 0.6. You should encourage the uses of new build's of node. The cluster module was brand

[nodejs] Re: Node 0.1.1 to 0.8.0

2012-06-23 Thread Tim Dickinson
> Thanks very must to ry! should be > Thanks very much to ry! I would very much like to see Ryan come back. I would like to know why he left, there was not much said on why. On Friday, June 22, 2012 9:14:44 PM UTC-4, Tim Dickinson wrote: > > So i was just looking at the so

[nodejs] Re: Node and developing on multiple machines

2012-06-22 Thread Tim Dickinson
Look at cloud9, its all web based. On Friday, June 22, 2012 5:52:25 PM UTC-4, Ralphtheninja (Magnus Skog) wrote: > > Hi, > > It's very common that I use several machines while developing and those > machines might also be in different locations. I have two machines at home > and two machines at

[nodejs] Node 0.1.1 to 0.8.0

2012-06-22 Thread Tim Dickinson
So i was just looking at the source of node https://github.com/joyent/node/tree/v0.1.1 and I'm just amazed at how far it has come in the past few years. The days of res.sendBody and res.finish are far memory to some and unknown to others. I don't know where i would be with out node. I love it a

Re: [nodejs] cp.fork with stdout

2012-06-19 Thread Tim Dickinson
Oh i meant through cp.spawn. I've upgraded to 0.7.16-pre and it seems to work now. On Tuesday, June 19, 2012 7:58:17 AM UTC-4, Ben Noordhuis wrote: > > On Tue, Jun 19, 2012 at 6:16 AM, Tim Dickinson > wrote: > > Ok so with using node 0.7.11 can i setup an ipc ch

Re: [nodejs] cp.fork with stdout

2012-06-18 Thread Tim Dickinson
io: 'ipc' }" shold throw an error but does not so i must be going about it wrong. On Sunday, June 17, 2012 8:44:32 PM UTC-4, Ben Noordhuis wrote: > > On Sat, Jun 16, 2012 at 10:44 PM, Tim Dickinson > wrote: > > How do i get the stdout from a child process fork? &g

[nodejs] cp.fork with stdout

2012-06-16 Thread Tim Dickinson
How do i get the stdout from a child process fork? Im running node 0.7.11 can i use the new stdio pipe options to get to the stream of stdout? Thanks -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this

[nodejs] Re: Version 0.7.11 (unstable)

2012-06-16 Thread Tim Dickinson
Just installed it going to see how well the code ports. On Friday, June 15, 2012 3:48:36 PM UTC-4, Isaac Schlueter wrote: > > This is the most stable 0.7 release yet. Please try it out. > > Version 0.8 will be out very soon. You can see the remaining issues > on the github issue tracker. > >

[nodejs] Re: crazy ideas in proxing.

2012-06-15 Thread Tim Dickinson
I think callback style is better then just returning values for the host and port. If hostname is stored in a database then you might run into problems. On Friday, June 15, 2012 9:45:29 AM UTC-4, Dominic wrote: > > so, > > For a while I've been wondering, could I make a *really* simple proxy?

Re: [nodejs] res.setHeader is so slow

2012-06-15 Thread Tim Dickinson
Take a look at the source code and it will give you an idea. https://github.com/joyent/node/blob/master/lib/http.js#L949 On Friday, June 15, 2012 3:14:35 AM UTC-4, Jason.桂林(Gui Lin) wrote: > > I found > writeHead

Re: [nodejs] - Github Followers Thread

2012-06-14 Thread Tim Dickinson
Please and thanks > > https://github.com/FLYBYME -- 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 group, send ema

[nodejs] Re: Version 0.7.10 (unstable, but please read anyway)

2012-06-14 Thread Tim Dickinson
How much is this going to break npm modules? Should i wait or should i upgrade? I want to upgrade but don't want to spend a week fixing broken packages. On Monday, June 11, 2012 11:59:52 AM UTC-4, Isaac Schlueter wrote: > > 2012.06.11, Version 0.7.10 (unstable) > > This is the second-to-last re

[nodejs] Re: Event loop blocking. How to detect?

2012-06-07 Thread Tim Dickinson
Ok so there is a lot been said here. Am I wrong to be thinking the way I am about the event loop? On Tuesday, June 5, 2012 5:05:38 PM UTC-4, Tim Dickinson wrote: > > Hey all > > So I'm looking for the best way to detect how blocked the event loop is. > > What I'm t

Re: [nodejs] Re: Event loop blocking. How to detect?

2012-06-05 Thread Tim Dickinson
Tuesday, June 5, 2012 11:28:07 PM UTC-4, Ben Noordhuis wrote: > > On Wed, Jun 6, 2012 at 3:21 AM, Tim Dickinson > wrote: > >>Well sure, but if it's blocked your timeout will never hit. > > > > Never say never. The codes not blocking in that sense. At some poin

[nodejs] Re: Event loop blocking. How to detect?

2012-06-05 Thread Tim Dickinson
> I didn't write this, but this is how we detect when the event loop is getting blocked. Thanks for the snippet I was going to do the same thing. >Well sure, but if it's blocked your timeout will never hit. Never say never. The codes not blocking in that sense. At some point the timer will go o

Re: [nodejs] Event loop blocking. How to detect?

2012-06-05 Thread Tim Dickinson
ation and track it with monit/bluepill etc. > to dump/restart wrong state app. > > 2012/6/6 Tim Dickinson > >> Hey all >> >> So I'm looking for the best way to detect how blocked the event loop is. >> >> What I'm thinking is to setTimeout say ev

[nodejs] Event loop blocking. How to detect?

2012-06-05 Thread Tim Dickinson
Hey all So I'm looking for the best way to detect how blocked the event loop is. What I'm thinking is to setTimeout say every 1sec and see what kind of delay there is. You should get 1000ms but really 1001-1005ms on a clean event loop. Would it be just to say if I'm getting 1050 to even 2000ms

Re: [nodejs] Re: Stream to JSON

2012-05-27 Thread Tim Dickinson
an issue. > > On May 27, 2012, at May 27, 20124:19 PM, Tim Dickinson wrote: > > So I thought about what you had said and I came up with this > https://gist.github.com/2816361. What tips can you give me if any on > making the "Stream"'s? > > On Monday, Apr

[nodejs] Re: Stream to JSON

2012-05-27 Thread Tim Dickinson
gt; > In short, try to separate concerns, splitting the message stream, > decrypting, json parsing, etc. > > :Marco > > > On Monday, April 30, 2012 3:24:37 PM UTC-7, Tim Dickinson wrote: >> >> Oh sorry and you would use it like so >> >> >> socket

[nodejs] Re: Stream to JSON

2012-04-30 Thread Tim Dickinson
the message stream, > decrypting, json parsing, etc. > > :Marco > > > On Monday, April 30, 2012 3:24:37 PM UTC-7, Tim Dickinson wrote: >> >> Oh sorry and you would use it like so >> >> >> socket.on('data', bufferJson(key, function(data) { &g

[nodejs] Re: Stream to JSON

2012-04-30 Thread Tim Dickinson
Oh sorry and you would use it like so socket.on('data', bufferJson(key, function(data) { //do something with json object })) On Monday, April 30, 2012 6:23:11 PM UTC-4, Tim Dickinson wrote: > > Hey all. > > How can i better write this snippet of code? > > v

[nodejs] Stream to JSON

2012-04-30 Thread Tim Dickinson
Hey all. How can i better write this snippet of code? var bufferJson = function(key, requestEvent) { var buffer = [] var cryptoFn = function(message) { var decipher = crypto.createDecipher('aes-256-cbc', key) return decipher.update(message, 'hex', 'utf8') + decipher['final']('utf8') } function on

[nodejs] Keeping the websocket connection streaming data even with the iPhone locked

2012-04-17 Thread Tim Dickinson
Thank god it does not keep running. I would hate some web page to keep running after I close the phone. What you need is some kind of native app or webkit view app. Look at something like phonegap. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/M

Re: [nodejs] Better async loop

2012-04-11 Thread Tim Dickinson
Thanks for the snippet. I have taken your var result = new Array(length); to optimize the array. Why I use a function for the call back with the result is to play on the make call now get result latter. Really I'm using this function to update data in my database. Array.prototype.forLoop = fu