Re: [nodejs] Re: JFYI

2012-05-25 Thread Matt
On Fri, May 25, 2012 at 8:00 PM, Jorge wrote: > On May 26, 2012, at 1:35 AM, Nathan Rajlich wrote: > > > Jorge, what confuses me is that you're pointing out the same bug that > you discovered in another thread from a while back (when you were claiming > that your threads beat vanilla node). mrale

Re: [nodejs] Re: JFYI

2012-05-25 Thread Jorge
On May 26, 2012, at 1:35 AM, Nathan Rajlich wrote: > Jorge, what confuses me is that you're pointing out the same bug that you > discovered in another thread from a while back (when you were claiming that > your threads beat vanilla node). mraleph quickly discovered and fixed the > bug, IIRC. >

Re: [nodejs] Re: JFYI

2012-05-25 Thread Nathan Rajlich
Jorge, what confuses me is that you're pointing out the same bug that you discovered in another thread from a while back (when you were claiming that your threads beat vanilla node). mraleph quickly discovered and fixed the bug, IIRC. So still, I don't know what point you're trying to make... On

Re: [nodejs] Re: JFYI

2012-05-25 Thread Ben Noordhuis
On Fri, May 25, 2012 at 9:50 PM, Jorge wrote: > On May 25, 2012, at 8:02 PM, Bradley Meck wrote: > >> It may not be the speed champion, but its the API champion. For example >> Chakra in IE is stupid good at GC and Code-Gen speed (time to generate >> rather than run speed). > > Yes, the API is g

Re: [nodejs] Re: JFYI

2012-05-25 Thread Jorge
The time it takes to start up is ~ that of a `time node -e ''`: $ time node -e '' real0m0.044s user0m0.027s sys 0m0.014s -- Jorge. On May 25, 2012, at 11:21 PM, Oliver Leics wrote: > On Fri, May 25, 2012 at 9:50 PM, Jorge wrote: >> It does not take 3 seconds to start it up. > >

[nodejs] Tips for writing portable Node.js code

2012-05-25 Thread Domenic Denicola
I have compiled a Gist detailing what I've learned, as a Windows developer, about writing cross-platform portable Node.js code: https://gist.github.com/2790533 Hopefully this is educational. I'd love any feedback you have to give. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: http

Re: [nodejs] Re: JFYI

2012-05-25 Thread Oliver Leics
On Fri, May 25, 2012 at 9:50 PM, Jorge wrote: > It does not take 3 seconds to start it up. then i don't understand the numbers and teh method. Please explain: $ time node -e 'i=1e7; while(i--);' real0m2.029s user0m2.008s sys 0m0.016s Those 2.029s really exclude startup tim

Re: [nodejs] Re: JFYI

2012-05-25 Thread Bradley Meck
Agreed that the optimizations are kinda wonky with crankshaft / hydrogen etc. I wonder if more insight could be shown, or if there was a way to test it without the crankshaft / hydrogen anymore. JSC though is just as competitive more most tasks, in some better, in some the same, in some not. Ho

Re: [nodejs] Re: JFYI

2012-05-25 Thread Jorge
On May 25, 2012, at 8:02 PM, Bradley Meck wrote: > It may not be the speed champion, but its the API champion. For example > Chakra in IE is stupid good at GC and Code-Gen speed (time to generate rather > than run speed). Yes, the API is great. And it's easy(er) to build and embed than say, JSC

Re: [nodejs] Re: JFYI

2012-05-25 Thread Jorge
It does not take 3 seconds to start it up. On May 25, 2012, at 9:43 PM, Oliver Leics wrote: > Startup time is not a bug > > You guys are funny > > On Fri, May 25, 2012 at 9:42 PM, Jorge wrote: >> On May 25, 2012, at 9:35 PM, Arnout Kazemier wrote: >> >>> Nope: >>> >>> ./shell -e 'var i=1e7;

Re: [nodejs] Re: JFYI

2012-05-25 Thread Oliver Leics
Startup time is not a bug You guys are funny On Fri, May 25, 2012 at 9:42 PM, Jorge wrote: > On May 25, 2012, at 9:35 PM, Arnout Kazemier wrote: > >> Nope: >> >> ./shell -e 'var i=1e7; while(i--);' >> >> 0,03s user 0,00s system 91% cpu 0,042 total >> >> jsc -e 'var i=1e7; while(i--);' >> >> 0,03

Re: [nodejs] Re: JFYI

2012-05-25 Thread Jorge
On May 25, 2012, at 9:35 PM, Arnout Kazemier wrote: > Nope: > > ./shell -e 'var i=1e7; while(i--);' > > 0,03s user 0,00s system 91% cpu 0,042 total > > jsc -e 'var i=1e7; while(i--);' > > 0,03s user 0,00s system 60% cpu 0,059 total Don't you use loops in your programs? Yes. And what does it

Re: [nodejs] Re: JFYI

2012-05-25 Thread Arnout Kazemier
Nope: ./shell -e 'var i=1e7; while(i--);' 0,03s user 0,00s system 91% cpu 0,042 total jsc -e 'var i=1e7; while(i--);' 0,03s user 0,00s system 60% cpu 0,059 total On Friday 25 May 2012 at 21:33, Jorge wrote: > On May 25, 2012, at 8:11 PM, Arnout Kazemier wrote: > > > plain old jsc from OSX:

Re: [nodejs] Re: JFYI

2012-05-25 Thread Jorge
On May 25, 2012, at 8:11 PM, Arnout Kazemier wrote: > plain old jsc from OSX: > > jsc -e '(function() { var i=1e7; while(i--); })()' > 0,03s user 0,00s system 90% cpu 0,034 total > > plain old v8, freshly build from unstable: > > ./shell -e '(function() { var i=1e7; while(i--); })()' > 0,02s

Re: [nodejs] [ANN] MeshCraft: Collaborative Concept Map Editor

2012-05-25 Thread Marak Squires
Invite codes? On Thu, May 24, 2012 at 11:03 PM, Axel Kittenberger wrote: > With MeshCraft you can organize your concept maps (and notes, > presentations, texts, etc.) in a mesh using your browser. > > GitHub source: > https://github.com/axkibe/meshcraft > > Live site: > http://meshcraft.net/ >

Re: [nodejs] Re: JFYI

2012-05-25 Thread Arnout Kazemier
plain old jsc from OSX: jsc -e '(function() { var i=1e7; while(i--); })()' 0,03s user 0,00s system 90% cpu 0,034 total plain old v8, freshly build from unstable: ./shell -e '(function() { var i=1e7; while(i--); })()' 0,02s user 0,00s system 88% cpu 0,023 total So now we have fair tests, JS e

Re: [nodejs] Re: JFYI

2012-05-25 Thread Bradley Meck
It may not be the speed champion, but its the API champion. For example Chakra in IE is stupid good at GC and Code-Gen speed (time to generate rather than run speed). On Friday, May 25, 2012 11:09:08 AM UTC-5, Jorge wrote: > > > On May 25, 2012, at 5:42 PM, Nathan Rajlich wrote > >> On Fri, May

Re: [nodejs] [ANN] MeshCraft: Collaborative Concept Map Editor

2012-05-25 Thread Axel Kittenberger
Hmm, the convergence in a few things is striking. Currently I cannot give a funded opinion on fundamental differences, will have do some research on that. - Axel On Fri, May 25, 2012 at 4:32 PM, David Jacobs wrote: > Have you compared your CC/AT to the OT in share.js? Are there any > fundamental

Re: [nodejs] Re: JFYI

2012-05-25 Thread Jorge
> On May 25, 2012, at 5:42 PM, Nathan Rajlich wrote >> On Fri, May 25, 2012 at 8:38 AM, Jorge wrote: >>> On May 25, 2012, at 5:26 PM, Arnout Kazemier wrote: >>> >>> I was referring to https://github.com/v8/v8/tree/bleeding_edge >> >> Thanks but no, thanks. I'm not going to install that yet... :-

Re: [nodejs] Re: JFYI

2012-05-25 Thread Jorge
On May 25, 2012, at 5:50 PM, Jorge wrote: > On May 25, 2012, at 5:43 PM, mscdex wrote: >> On May 25, 11:38 am, Jorge wrote: >>> On May 25, 2012, at 5:26 PM, Arnout Kazemier wrote: >>> I was referring tohttps://github.com/v8/v8/tree/bleeding_edge >>> >>> Thanks but no, thanks. I'm not going

[nodejs] Re: JFYI

2012-05-25 Thread mscdex
On May 25, 11:50 am, Jorge wrote: > I'll try that, but IIRC that cocktail made node crash, isn't it? I'm not entirely sure of the cause of that, but I believe node master actually has v8 3.11.x right now and seems to work fine? -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://

Re: [nodejs] Re: JFYI

2012-05-25 Thread Jorge
On May 25, 2012, at 5:43 PM, mscdex wrote: > On May 25, 11:38 am, Jorge wrote: >> On May 25, 2012, at 5:26 PM, Arnout Kazemier wrote: >> >>> I was referring tohttps://github.com/v8/v8/tree/bleeding_edge >> >> Thanks but no, thanks. I'm not going to install that yet... :-P > > I'd at least try l

Re: [nodejs] [ANN] MeshCraft: Collaborative Concept Map Editor

2012-05-25 Thread David Jacobs
Have you compared your CC/AT to the OT in share.js? Are there any fundamental differences in your algorithms or supported operations, perhaps suggesting scenarios where one might be preferred over the other? Nice work! -David @MetaThis On Fri, May 25, 2012 at 9:49 AM, Axel Kittenberger wrote:

Re: [nodejs] [ANN] MeshCraft: Collaborative Concept Map Editor

2012-05-25 Thread Alexander Praetorius
i'm new to all this. but thinking of OT, i'm thinking of sharejs. On Fri, May 25, 2012 at 4:49 PM, Axel Kittenberger wrote: > On Fri, May 25, 2012 at 3:29 PM, Amjad wrote: > > Thank you very much. But I wonder why didn't you use existing OT > libraries? > > It isn't like there is a vast amount

[nodejs] Re: JFYI

2012-05-25 Thread mscdex
On May 25, 11:38 am, Jorge wrote: > On May 25, 2012, at 5:26 PM, Arnout Kazemier wrote: > > > I was referring tohttps://github.com/v8/v8/tree/bleeding_edge > > Thanks but no, thanks. I'm not going to install that yet... :-P I'd at least try latest v8 3.10.x. I know it had some performance increas

Re: [nodejs] Re: JFYI

2012-05-25 Thread Nathan Rajlich
I'm confused what point you're trying to make... On Fri, May 25, 2012 at 8:38 AM, Jorge wrote: > On May 25, 2012, at 5:26 PM, Arnout Kazemier wrote: > > > I was referring to https://github.com/v8/v8/tree/bleeding_edge > > Thanks but no, thanks. I'm not going to install that yet... :-P > > And, t

Re: [nodejs] Re: JFYI

2012-05-25 Thread Jorge
On May 25, 2012, at 5:26 PM, Arnout Kazemier wrote: > I was referring to https://github.com/v8/v8/tree/bleeding_edge Thanks but no, thanks. I'm not going to install that yet... :-P And, the jsc I've got isn't the latest version either. Cheers, -- Jorge. -- Job Board: http://jobs.nodejs.org/

Re: [nodejs] Re: JFYI

2012-05-25 Thread Arnout Kazemier
I was referring to https://github.com/v8/v8/tree/bleeding_edge On Friday 25 May 2012 at 17:14, Jorge wrote: > On May 25, 2012, at 4:58 PM, Arnout Kazemier wrote: > > > I would rather say, have you tested it agains the latest version of v8.. > > It's the latest v8:

Re: [nodejs] Re: JFYI

2012-05-25 Thread Jorge
Houston, there's a problem: $ time node -e 'var i=1e7; while(i--);' real0m3.259s user0m3.245s sys 0m0.021s :-/ -- Jorge. On May 25, 2012, at 5:14 PM, Jorge wrote: > On May 25, 2012, at 4:58 PM, Arnout Kazemier wrote: > >> I would rather say, have you tested it agains the latest v

Re: [nodejs] Re: JFYI

2012-05-25 Thread Jorge
On May 25, 2012, at 4:58 PM, Arnout Kazemier wrote: > I would rather say, have you tested it agains the latest version of v8.. It's the latest v8: $ node -e 'console.log(process.versions)' { node: '0.6.6', v8: '3.9.24.29', ares: '1.7.5-DEV', uv: '0.6',

Re: [nodejs] [ANN] MeshCraft: Collaborative Concept Map Editor

2012-05-25 Thread Amjad
Thank you very much Axel. I only asked to learn from your experience and the results of your research... :) On Fri, May 25, 2012 at 5:49 PM, Axel Kittenberger wrote: > On Fri, May 25, 2012 at 3:29 PM, Amjad wrote: > > Thank you very much. But I wonder why didn't you use existing OT > libraries?

Re: [nodejs] Re: JFYI

2012-05-25 Thread Arnout Kazemier
I would rather say, have you tested it agains the latest version of v8.. On Friday 25 May 2012 at 15:01, mscdex wrote: > Is this tried with node master branch or node 0.6.x? > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Pos

Re: [nodejs] Re: JFYI

2012-05-25 Thread Jorge
On May 25, 2012, at 3:01 PM, mscdex wrote: > Is this tried with node master branch or node 0.6.x? $ node -v v0.6.6 -- Jorge. -- 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

Re: [nodejs] Re: JFYI

2012-05-25 Thread Jorge
On May 25, 2012, at 1:18 PM, Fedor Indutny wrote >> On Fri, May 25, 2012 at 3:17 PM, Jorge wrote: >>> On May 25, 2012, at 12:09 PM, Bradley Meck wrote: >>> >>> I think you should be comparing with d8 more than node ... node pulls in a >>> lot of stuff that jsc would never dream of. >> >> Right,

Re: [nodejs] [ANN] MeshCraft: Collaborative Concept Map Editor

2012-05-25 Thread Axel Kittenberger
On Fri, May 25, 2012 at 3:29 PM, Amjad wrote: > Thank you very much. But I wonder why didn't you use existing OT libraries? It isn't like there is a vast amount of these to chose from. Easysync from EtherPad would have been the only I know of technically suitable (JavaScript, OpenSource). Also it

Re: [nodejs] Re: Node.js cache website

2012-05-25 Thread Garcia Souza
I think you want to say is a proxy. May be we can build a proxy in Node.js that can cache all the requests. 2012/5/24 Micheil Smith > I'm not sure exactly what the requirement here is, but why not just setup a > squid proxy between you and the internet, then you have a cache of > everything you

Re: [nodejs] [ANN] MeshCraft: Collaborative Concept Map Editor

2012-05-25 Thread Amjad
Thank you very much. But I wonder why didn't you use existing OT libraries? On Fri, May 25, 2012 at 4:08 PM, Axel Kittenberger wrote: > > Can you give us more information about the "CC/AT engine"? > > It's my own development. Viewed at high abstraction it does the things > in the same way I supp

Re: [nodejs] [ANN] MeshCraft: Collaborative Concept Map Editor

2012-05-25 Thread Axel Kittenberger
> Can you give us more information about the "CC/AT engine"? It's my own development. Viewed at high abstraction it does the things in the same way I suppose Google Wave / Docs and Etherpad do it. The client sends the server the sequence number of its idea of the data tree alongside with a change

Re: [nodejs] [ANN] MuContent

2012-05-25 Thread AndDM
Added a language/content manager. I hope to receive some feedback. On Thursday, May 10, 2012 6:07:51 PM UTC+2, AndDM wrote: > > Added module manager and google group: > http://groups.google.com/group/mucontent > > On Tuesday, May 8, 2012 9:16:41 AM UTC+2, AndDM wrote: >> >> Hi, i've added a simil

[nodejs] Re: JFYI

2012-05-25 Thread mscdex
Is this tried with node master branch or node 0.6.x? -- 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

Re: [nodejs] [ANN] MeshCraft: Collaborative Concept Map Editor

2012-05-25 Thread Amjad
Really cool! Can you give us more information about the "CC/AT engine"? On Fri, May 25, 2012 at 3:23 PM, Axel Kittenberger wrote: > Andrew> Great! > Dan Milon> That is interesting! > > Thank you! > > > Idea: ability to export mesh as image or some other format. > > One thing I want to add for s

Re: [nodejs] [ANN] MeshCraft: Collaborative Concept Map Editor

2012-05-25 Thread Axel Kittenberger
Andrew> Great! Dan Milon> That is interesting! Thank you! > Idea: ability to export mesh as image or some other format. One thing I want to add for sure is the ability to export data in MeshCrafts own format, including its history. I this is an important freedom to take your data at any time and

Re: [nodejs] [ANN] MeshCraft: Collaborative Concept Map Editor

2012-05-25 Thread Dan Milon
That is interesting! Idea: ability to export mesh as image or some other format. On 05/25/2012 09:03 AM, Axel Kittenberger wrote: With MeshCraft you can organize your concept maps (and notes, presentations, texts, etc.) in a mesh using your browser. GitHub source: https://github.com/axkibe/

[nodejs] failed to connect to standalone v8 vm using eclipse indigo on windows7

2012-05-25 Thread dee
hi all i have encountered problem with connection to v8 vm on the node5858 same with node9222 its on local host i am in trouble plz help!! -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this messa

Re: [nodejs] Re: JFYI

2012-05-25 Thread Fedor Indutny
Try this: time node -e '(function() { var i=1e7; while(i--); })()' The thing is that jsc is somehow optimizing access to the global variables. Cheers, Fedor. On Fri, May 25, 2012 at 3:17 PM, Jorge wrote: > On May 25, 2012, at 12:09 PM, Bradley Meck wrote: > > > I think you should be compari

Re: [nodejs] Re: JFYI

2012-05-25 Thread Jorge
On May 25, 2012, at 12:09 PM, Bradley Meck wrote: > I think you should be comparing with d8 more than node ... node pulls in a > lot of stuff that jsc would never dream of. Right, but, what's with the 'i=1e7; while(i--);' ? -- Jorge. -- Job Board: http://jobs.nodejs.org/ Posting guidelines:

[nodejs] Re: JFYI

2012-05-25 Thread Bradley Meck
I think you should be comparing with d8 more than node ... node pulls in a lot of stuff that jsc would never dream of. On Friday, May 25, 2012 4:50:53 AM UTC-5, Jorge wrote: > > $ time node -e 'i=1e7; while(i--);' > > real0m2.029s > user0m2.008s > sys0m0.016s > > $ tim

Re: [nodejs] Re: fs.link() on windows makes a file same as srcFile, I guess it isn't a link file.

2012-05-25 Thread Andrew Goal
> > fs.link() works fine on my windows xp sp3 box . > I have recognised these hard link files now. > > -- 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 Gro

[nodejs] Re: fs.link() on windows makes a file same as srcFile, I guess it isn't a link file.

2012-05-25 Thread Andrew Goal
fs.link() works fine on windows. I have recognised these hard link files now. -- 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

[nodejs] JFYI

2012-05-25 Thread Jorge
$ time node -e 'i=1e7; while(i--);' real0m2.029s user0m2.008s sys 0m0.016s $ time jsc -e 'i=1e7; while(i--);' real0m0.048s user0m0.041s sys 0m0.006s $ time node -e '0' real0m0.049s user0m0.025s sys 0m0.010s $ time jsc -e '0' real0m0.011s user0m0.00

Re: [nodejs] [ANN] MeshCraft: Collaborative Concept Map Editor

2012-05-25 Thread Andrew Goal
Great! On Fri, May 25, 2012 at 2:03 PM, Axel Kittenberger wrote: > With MeshCraft you can organize your concept maps (and notes, > presentations, texts, etc.) in a mesh using your browser. > > GitHub source: > https://github.com/axkibe/meshcraft > > Live site: > http://meshcraft.net/ > > Curre

Re: [nodejs] Re: fs.link() on windows makes a file same as srcFile, I guess it isn't a link file.

2012-05-25 Thread Andrew Goal
Thank you very much,everyone! You are so kind. I want to create a symlink like linux's , but I have known symlink or hard link on windows must in NTFS. Windows is a trouble. .lnk files meet my need in fact, though .lnk file is only useful in Explorer.exe shell. But there is no API that can create