2009 -- the year of November. <november-wiki.org> <github.com/viklund/november> <irclog.perlgeek.de/november-wiki> <nopaste.snit.ch>
Set by moderator on 10 February 2009.
06:10 Tene joined 11:47 masak joined 12:33 ihrd joined
ihrd OH HAI 12:34
masak hello! 12:39
zarah masak: You have new messages. Write '/msg zarah @messages' to read them.
masak @messages
zarah masak: 1 d 22 h 41 m ago, olass said js.jar exists in net.bioclipse.jseditor but also in net.bioclipse.scripting.
masak: 1 d 22 h 27 m 59 s ago, olass said output from running JSEditor is not in Javascript Console
masak: 1 d 13 h 5 m 34 s ago, meklund said varför var du inte inloggad? epoch time 1234567890 händer bara en gång i våra liv! :-)
masak @olas re duplication of js.jar -- yes, ideally it should only be in net.bioclipse.scripting, and the editor should call the js environment. will refactor to make it so shortly. 12:44
@tell olas re duplication of js.jar -- yes, ideally it should only be in net.bioclipse.scripting, and the editor should call the js environment. will refactor to make it so shortly.
zarah Consider it noted.
masak @tell olas re JSEditor output not echoed to js console. will check. 12:45
zarah Consider it noted.
masak @tell meklund jag sumpade visst helt det tillfället. var offline och hade det bra... :/
zarah masak: You have no new messages.
masak that last one is actually a zarah bug. 12:49
OH HAI 13:39
so, scrap p6w/ and create a lib/ for all the modules. I'm on it. 13:40
running tests first, so that I can make sure I didn't break anything.
ihrd okay
masak all tests pass. aaaah.
refactoring...
ihrd I read about proto only today 13:41
have no time on las two weeks
masak I've been a bit quiet about it, too.
haven't written a blog post about it yet.
only that November-list email.
ihrd ne URI home github.com/ihrd/uri/tree/master 13:53
zarah ihrd's link is also tinyurl.com/cxvtco
masak great.
I'd moved all the files, but realized I'd be better off using 'git mv', so I'm doing it that way instead. 13:54
move complete. running 'make test' 14:01
updating README in the meantime.
ihrd: I think the p6w Makefile.PL should take a cue from Druid's Makefile.PL and do this: github.com/masak/druid/blob/fbd03eb...akefile.PL 14:05
zarah masak's link is also tinyurl.com/aaxw6z
masak what do you think?
ah, I got a conflict because of the commit you made 8 minutes ago. 14:15
resolving.
ihrd sorry
masak could be worse. :)
what was it you changed? my logs don't want to tell me, it seems. 14:18
ihrd Dispatcher
small changes
masak ok... 14:19
I can't see the changes, so I'll just ignore them for now.
might come back and re-add them later after I merged.
the changes to Dispatcher actually went in, but there's a change to Makefile.in which didn't. 14:20
ihrd github.com/viklund/november/commit/...5a81b78769
zarah ihrd's link is also tinyurl.com/d2mxlz 14:21
ihrd I think you just do not have conflict in files
you have conflict in its location mb
tree conflict
masak something like that. 14:22
there, pushed. 14:24
please see if you can get the new world order to build and run through the tests.
I'll proceed by removing HTML::Template in a branch.
ihrd I should set $PARROT_DIR by hand? 14:30
masak preferably, you should set it in .bash_profile or some such. 14:31
one reason I prefer this way is so that proto can be automatic. 14:32
ihrd ok
and perl6lib too 14:35
masak yes. with the added comment that proto will be able to handle those two more or less painlessly. 14:36
PERL6LIB is needed now that we have lib/
14:39 Tene_ joined
ihrd "You already have Parrot installed, but it's a new one, not 0.9.0 14:49
We will eventually handle this case, but for now, let's just fail."
why proto not allowed to use last parrot? 14:50
make on November die with Can't find ./URI in @INC 14:52
masak ihrd: it's because I'm lazy. 14:57
I added that error today when I realized that the case could occur.
it's definitely possible to do better.
ihrd hm 14:59
so what I should do now in November?
masak ihrd: in a branch, remove URI and everything depending on it (including tests).
add a file deps.proto with the word 'uri' in it.
add the uri project to the hash in the 'installer' file in proto. 15:00
ihrd no, I mean what I shold do to make it works with lib 15:01
(12:51:34 AM) ihrd: make on November die with Can't find ./URI in @INC
masak export PERL6LIB=your/path/to/november/lib
ihrd but... ah... proto will install all related stuff in perl6lib 15:02
masak not sure what you mean. proto will not change the directory structure of anything. 15:04
it'll just set PERL6LIB to contain the paths to all installed projects.
ihrd so, I should copy /lib/* to my PERL6LIB if I have one external of Noveneber 15:05
I just expect make do that for my 15:06
masak no, you don't need to copy anything, at least not if you're not running an Apache server. 15:07
what matters is the PERL6LIB points to your lib/ directory.
ihrd brrr
masak I apologise if I'm confusing you. 15:08
ihrd PERL6LIB -- place where our shiny perl6 modules lives, right? 15:09
masak right. the .pm and .pir files.
ihrd we set up it for exchange modules between our projects
masak hold on a minute.
it's not _one_ directory on your hard drive. 15:10
it's all the lib/ directories in all the Perl 6 projects you have installed.
what PERL6LIB does is make sure that all those dirs are scanned when including things with 'use' statements. 15:11
no copying of .pir files required.
ihrd you men I should put relative path in PERL6LIB? 15:12
masak no, an absolute path.
think of PERL6LIB as a PATH or PERLLIB environment variable for your Perl 6 modules. 15:13
ihrd I do exactly this
but... (01:09:04 AM) masak: it's not _one_ directory on your hard drive. 15:14
masak well, it is, if your only project is November. 15:15
or if you choose to ignore the other projects when working with November.
ihrd all projects distr should have /lib 15:16
masak well, yes.
ihrd and we have one dir (PERL6LIB) to share modules
masak that's easy for us to say. November's had it for an hour or so.
:) 15:17
ihrd: once again: PERL6LIB is not one dir.
it's an environment variable containing paths to zero or more directories with Perl 6 modules in them.
ihrd but have absolute path???
ah 15:18
bingo
masak yes.
absolute paths.
ihrd this is strange for my
masak it's perfectly normal.
think of how PATH works in bash. 15:19
or @INC in Perl 5.
ihrd I mean strange to put all links in this env var 15:20
masak it's not a long-term solution, and TimToady cautioned that it'll eventually go away. 15:21
but proto is not built to last anyway. the README says so. :)
ihrd why just do not install all modules in one PERL6LIB? 15:22
masak because it might interfere with development and git commits.
and it's more difficult to rebuild .pir files.
and I don't really see the advantage compared to just setting PERL6LIB. 15:23
ihrd hm
masak (which you have to do anyway with your suggestion)
ihrd ok 15:24
so I need to add path_to_lib to my PERL6LIB for ecah new project? 15:29
masak yes.
again with the side note that proto is meant to do this for you. 15:30
ihrd ok, back to proto
if test ! -e $PARROT_DIR/languages/perl6/perl6.pir; then echo "You already have Parrot installed, but it's a new one, not 0.9.0"    echo "We will eventually handle this case, but for now, let's just fail."    exit; 15:31
masak right.
ihrd how related perl6.pir and Parrot version? 15:32
masak back at Parrot 0.9.0, there was a perl6.pir file in the languages/perl6/ dir.
after Rakudo fled the nest, there isn't anymore.
so this is a way to test if you're using a newer Parrot version.
what it _should_ do is check if Rakudo is downloaded at languages/rakudo/ 15:33
...and if not, download it.
there's commented-out code for this in the shell script.
ihrd why it commeted? 15:34
masak because I started out by writing the script to download Parrot 0.9.0 with ftp and Rakudo from github
but that didn't work, of course, because 0.9.0 is too old for github Rakudo. 15:35
so I commented out the code, with the expectation that it'd be used in the future.
hold on, I'll fix this for you. just a minute.
there, pushed. see if that works. 15:40
ihrd works 15:45
thank you
i need to go now
bb
masak bb
15:45 ihrd left 18:55 Tene joined