Camelia, the Perl 6 bug

IRC log for #november-wiki, 2009-02-15

| Channels | #november-wiki index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

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

| Channels | #november-wiki index | Today | | Search | Google Search | Plain-Text | summary