Ringobot log - RingoJS IRC channel: #ringojs on irc.freenode.net
2010-05-13:
[0:08] <ringostarr> f336f3a Hannes Walln?fer: Improve suboptimal implementation of TextStream.read()[0:33] <hannesw> earl i don't think that was your fault
[0:33] <hannesw> i think it was mine
[1:09] <ringostarr> 6c6e401 Hannes Walln?fer: Fix implementations of Stream.skip() to return the number of bytes skipped, add documentation
[1:13] <ringostarr> 8901884 Hannes Walln?fer: Minor jsdoc fixes
[7:13] <ringostarr> f489017 Simon Oberhammer: httpclient minor style & adapted to jsgi changes
[7:14] <oberhamsi> re: fishy var redeclaration.
[7:15] <oberhamsi> can't do {a,b,c} = {1:1, 2:2, 3:3} ... must have var {a,b,c} ... gladly would see how to solve this prettier
[8:09] <gmosx> is -p / --production supported in the servlet?
[8:57] <emilis_info> config.httpConfig.staticDir is not working for me. Where can I find server logs to see where is it searching for the files in this dir?
[9:38] <hannesw> oberhamsi in case you read this, i think the var redeclaration is no big deal
[9:38] <hannesw> gmosx additional servlet params aren't implemented yet, hope to do them today
[9:39] <hannesw> FYI updating ringojs.org to the latest snapshot yesterday revealed horrendous inefficiencies in our new ringo/encoder based TextStreams
[9:40] <hannesw> for very long lines, ringo/encoder scanned for a newline from the beginning to the buffer after each incremental 8k read, instead of only scanning new bytes
[9:41] <hannesw> fixing this now
[9:44] <robi42> uh :)
[10:00] <gmosx> hannesw: oops about the encoder ;-)
[10:01] <hannesw> it's not that bad actually, it only showed on ringojs, where we're basically reading the whole db with each request, and we were doing it with readLine() :)
[10:02] <hannesw> well, we'll switch to berkeleystore eventually
[10:03] <robi42> ah ok, my blawg's running fine on current master (so far), btw :)
[10:03] <gmosx> I convert nitro and some of my apps to jsgi0.3 too...
[10:03] <gmosx> eveything seems ok...
[10:04] <gmosx> q: does Jake run with Ringojs?
[10:22] <gmosx> is there a way to detect if a path is a symbolic link?
[10:24] <robi42> gmosx, http://ringojs.org/api/master/fs-base#isLink
[10:30] <gmosx> thanks
[10:30] <gmosx> q: are the slf4j jar files required to run ringojs apps?
[10:43] <hannesw> they make ringo logging work everywhere
[10:43] <hannesw> with log4j standalone, and java.util.logging on appengine
[10:43] <hannesw> so you can log.info(), log.warn(), log.error() etc and this will actually show up in app engine log
[10:44] <hannesw> with correct logging level etc
[10:44] <hannesw> i think at least the slf4j-api jar is required
[10:51] <hannesw> gmosx yes jake runs on ringojs, with narwhal installad as package and a file module adapter (due to older version of file api in narwhal)
[10:51] <hannesw> http://ringojs.org/wiki/Tusk/
[10:51] <gmosx> if I don;t use log.info() is it still requeired?
[10:51] <hannesw> i think the slf4j-api jar is required
[10:52] <gmosx> ok
[10:52] <gmosx> any ETA for fs/Path .glob?
[10:52] <hannesw> no plans from my side
[10:52] <hannesw> we could probably port/copy/steal from narwhal :)
[10:54] <gmosx> :)
[11:48] <gmosx> does ringo support OS.system() ?
[11:59] <earl> gmosx: have a look at ringo/subprocess
[11:59] <gmosx> thanks, already found that...
[11:59] <gmosx> IMHO ringo/subprocess is not the best name.
[12:03] <earl> feel free to suggest a better one
[12:03] <earl> but i think it's hard to beat subprocess as a name for a module to spawn/fork subprocesses
[13:32] <ringostarr> e746299 Simon Oberhammer: httpclient: assert callbacks actually get called; cleanup
[21:25] <b41l3y> I just updated ringo and am now getting "Cannot read property "status" from undefined (ringo/middleware/responselog.js#30)". Is this from weaving in JSGI 0.3?
