[14:35]<Wes-> ashb: example posted was just an example, that should really have been a "get lines" method on a stream or something [14:37]<ashb> i still think it should be possible [15:04]<Wes-> ashb: think this pattern would work? for (var I in X=generator) { consumeMany(X); dostuff(I)? } [15:04]<Wes-> no, that couldn't work [15:04]<Wes-> *hmm* [15:05]<Wes-> var X=generator(); consumeMany(X); for (var I in X) { dostuff(I) } [15:05]<Wes-> I wonder if *that* would work [21:50]<kimoja> hello world :) [22:41]<olivvv> Hi. Is it planned in one of the projects of commonjs to support the dom ? [22:42]<ashb> olivvv: i'm working a DOM module right this second :D [22:42]<olivvv> I could't find any mention of it [22:42]<olivvv> which project ? [22:42]<ashb> flusspferd [22:42]<olivvv> excellent [22:44]<olivvv> does C++ implies that it will be faster than java equivalents ? [22:45]<ashb> should be [22:45]<ashb> but who knows - there might be a java XML/DOM module writtne with JNI [22:45]<olivvv> ok [22:45]<olivvv> Are you avoiding the word "server" on your projectpage ? [22:46]<ashb> not intentionally [22:46]<ashb> we need to vie flusspferd.org a make over [22:46]<olivvv> I'm not sure to understand what "Javascript bindings for C++" means [22:47]<ashb> see http://juicejs.org for a better home page [22:47]<ashb> olivvv: flusspferd originally started out as just a way of binding JS into a C++ program - i.e. using it scripting a game [22:47]<ashb> then i got involved and shifted the focus to CommonJS/JS as a standalone langauge :) [22:48]<ashb> olivvv: but yeah, hte website needs some love [22:49]<olivvv> juicejs frightened me because of the template thing [22:49]<olivvv> but if you are working on the implementation of the dom [22:49]<ashb> yeah, we've changed that/made it plugable [22:49]<ashb> you can now use what ever template system yo uwant [22:51]<ashb> olivvv: you want some form of DOM/html template didn't you? [22:51]<olivvv> I hate templates [22:51]<olivvv> I've been coding a lot in smarty [22:51]<olivvv> awful, boring [22:52]<olivvv> thats the reason why I want the dom [22:53]<olivvv> see smarty is a meta-language lower than php [22:53]<olivvv> less features, strange syntax, limited abilities, doesn't scale [22:54]<olivvv> but times passes and templates become bloated, unmanageable [22:54]<ashb> fair enough [22:54]<olivvv> the end result is a spagetti stuff [22:55]<ashb> anyway - the next version of juice/hippo will have DOM/XML (and probably SAX, XPath too) [22:55]<olivvv> when will it be available ? [22:55]<ashb> 1 month. give or take [22:56]<olivvv> cool [23:09]* JohnnyL feels that common js would 'fly' if introduced to Apache and caching. [23:10]<ashb> feh - Apache is old school ;) [23:12]<JohnnyL> ashb well, it's what is 'in season' on most providers. [23:12]<MisterN> ashb: you like committing yourself to difficult goals, eh? :) [23:12]<ashb> MisterN: sure do!