Mochabot log - CommonJS IRC channel: #commonjs on irc.freenode.net

2010-02-11:

[4:11] <tiglionabbit> hi
[4:11] <tiglionabbit> what's up with the "get it" page? I don't see any links here. http://commonjs.org/impl/index.html
[7:31] <ashb> tiglionabbit: good question. main impls are flusspferd, gpsee, narwhal and v8cgi
[7:34] <ondras> ashb: so, launchpad account active. I understand that the workflow goes as "create a .deb source package -> dput -> let launchpad build binary packages" ?
[7:35] <ashb> ondras: pretty much
[7:35] <ashb> tho i'd test the build locally before doing pbut
[7:35] <ashb> dput
[7:35] <ashb> using pdebuilder
[7:36] <ondras> okay
[7:38] <ashb> ondras: create a ppa for your user too
[7:38] <ashb> you can' test uploading in there
[7:38] <ashb> and then either copy it across to the commonjs one (without needing to rebuild), or upload it again if oyu want to reset version #s
[7:39] <ondras> ?
[7:39] * ondras confused :)
[7:44] <ashb> ondras: i.e. don't clutter up the commonjs PPA with broken builds etc :)
[7:46] <ondras> ah, okay
[7:46] <ondras> I will of course try all that stuff as my use
[7:46] <ondras> *user
[7:47] <ondras> Not enough random bytes available.
[7:47] <ondras> argh.
[7:47] <ondras> these modern deterministic computers :)
[7:47] <ashb> heh
[7:54] <ondras> ashb: if there are different build options for different architectures, this must be taken care of in the "rules" file?
[7:57] <ashb> ondras: yeah
[8:10] <ondras> hm
[8:10] <ondras> there already is libv8 package, but in lucid only
[8:10] <ondras> crap
[8:11] <ashb> backport it then
[8:11] <ashb> shouldn't be too hard
[8:12] <ashb> i think launchpad has some instrucitons on how to do that
[8:12] <ashb> and what version to give it
[8:12] <ashb> (i think tahe the version and stick a ~1 on the end)
[8:14] <ondras> backport it into my own ppa, or into some global ubuntu repository?
[8:15] <ashb> to your own one
[8:15] <ondras> ok
[16:29] <Wes--> You know, putting module search path on require actually turns out to be really annoyinh
[16:30] <Wes--> ash: is your require() a global symbol, or module-local?
[16:36] <ashb> I made a thing: http://github.com/ashb/text-asci-table/blob/master/test/tables.t.js
[16:42] <Wes--> Your thing says "ass"
[16:43] <ashb> it does
[16:43] <ashb> next i need to work out how to get the width of a terminal window
[16:43] <ashb> env.COLUMNS seems to be not set
[17:00] <ashb> ah it seems you need to do a ioctl
[17:03] <ashb> TIOCGWINSZ and similar
[17:03] <ashb> probably easier to use ncurses to get it :)
[17:04] <ashb> or TIOCGSIZE
[17:04] <ashb> etoomanyways
[17:07] <Wes--> curses will probably be your most portable way
[17:07] <Wes--> I bet there is even a curses impl for winblows
[17:07] <ashb> i think there is.
[17:07] <ashb> http://pdcurses.sourceforge.net/
[17:08] <ashb> need to work out at what layer i sohuld convert ansi color escapes to work on windows
[17:09] <ashb> (conceptually)
[17:11] <Wes--> ashb: curses ;)
[17:11] <Wes--> windows doesn't even do ansi colour escapes, unless you load ANSI.SYS in your C:\CONFIG.SYS file
[17:11] <Wes--> unless they've changed that since I last looked, of course
[17:14] <ashb> no they haven't
[17:14] <ashb> but ideally i think i'd like to be able to just print and have it work everywhere
[17:15] <ashb> without having to load the curses module and print through that etc
[17:17] <Wes--> *nod*
[17:18] <ashb> tho perhaps the curses module is a good place to put an isTTY fn
[17:21] <ashb> of course that means filtering stdout/err
[17:22] <ashb> stupid fucking pain in the ass API

 

 

Logs by date :