Camelia, the Perl 6 bug

IRC log for #parrot, 2008-11-02

Parrot | source cross referenced

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:10 AndyA joined #parrot
00:19 chromatic make testj:  Error: PARROT_JIT_FLAG is set, but interpreter is not JIT_CAPABLE!
00:28 NotFound chromatic: the -j option set that flag unconditionally
00:29 chromatic Hm.  I'm not sure what I was testing for then.
00:31 NotFound Maybe an option error in parseflags is more reasonable that let if fail later.
00:32 chromatic I configured with --jitcapable=0, thinking that that would force JIT NCI calls, but I don't know why I thought that.
00:33 NotFound After halloween effects? ;)
00:33 chromatic I only slept ten hours.  That must be it.
00:42 Theory joined #parrot
02:02 allison joined #parrot
02:19 allison joined #parrot
02:23 allison joined #parrot
03:51 Psyche^ joined #parrot
03:58 TiMBuS joined #parrot
05:40 mberends joined #parrot
05:53 tetragon joined #parrot
06:14 tetragon joined #parrot
06:36 Bzek joined #parrot
07:09 mberends joined #parrot
08:01 Ademan joined #parrot
09:00 baest joined #parrot
09:11 cotto it's nice to be in the single day of the year when daylight savings time does something useful
09:12 cotto it's also nice to have most of my clocks update themselves
09:26 dalek r32279 | fperrad++ | trunk:
09:26 dalek : [Lua] LPeg
09:27 dalek : now aligned with version 0.9
09:27 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32279
09:29 iblechbot joined #parrot
10:38 masak joined #parrot
10:47 masak 'is export' is in place in Rakudo now, right?
10:49 masak I'm asking because http://rt.perl.org/rt3/Tic​ket/Display.html?id=59104 is blocking a server upgrade for us in the November project right now.
10:50 masak there's no real hurry, but I'm curious as to what the next step is to getting precompiled PIR modules to work again.
10:52 contingencyplan joined #parrot
10:55 bacek joined #parrot
10:56 contingencyplan joined #parrot
10:58 NotFound Is a shame that November is blocked in november.
11:00 masak nah -- there'll be more Novembers
11:00 masak besides, it's still early in the month
11:00 masak and we're not _blocked_ blocked, we just can't upgrade the server without getting incredibly slow again, like we were in August
11:01 NotFound "There'll be more Novembers"... looks like a great title for a romantic comedy
11:01 masak someone probably already wrote it. :)
11:02 cognominal the hunt for red November?
11:02 masak cognominal: ooh, that's a great idea for a skin for November, thank you!
11:05 NotFound Be careful, boys, someone in the US can think we are a communist faction X-)
11:06 NotFound In soviet Russia, November skins you
11:07 masak NotFound: it wouldn't be the default skin. :) and the communist side of it can be toned down appropriately
11:07 cognominal NotFound, I thought US was going socialist
11:07 masak I'm thinkking of emulating CSS Zen garden in some very small way in November
11:10 cognominal in France, socialism and communism parties are in decay, the most popular figure in the left wing is at the left of the left.
11:10 cognominal http://en.wikipedia.org/wiki/Olivier_Besancenot
11:12 masak Sweden got a right-wing government in the last electon, first time in at least a decade
11:12 cognominal and he got more popular recently because the Taser french company put a tail on him and he figured out. I think the prosecution os ongoing.
11:13 cognominal our right wing president had US as a model when he was elected :)
11:13 cognominal but people forget so fast...
11:15 jonathan masak: I'll put fixing the issues that came up in pre-compiled PIR modules on my task list.
11:15 masak \o/
11:15 jonathan Would be good to have some tests for that stuff to, if there aren't any written yet.
11:15 jonathan Want to make sure I fix the regression without breaking the thing I fixed that introduced the regression in the first place...
11:16 jonathan ...if I could remember what that was. :-)
11:16 masak jonathan: http://rt.perl.org/rt3/Tic​ket/Display.html?id=59104
11:16 masak hooray for rt!
11:17 jonathan Aha, thanks.
11:18 Hinrik http://perlcabal.org/syn/ has a link to a nonexistent Formats apocalypse
11:19 masak Hinrik: aye, it does. I know I've seen that apocalypse somewhere, though.
11:19 masak and ISTR that the module it describes is on the CPAN already.
11:19 Hinrik masak: really? the preceding Apocalypse says there will be no Formats Apocalypse
11:19 masak hm.
11:20 Hinrik there's just the Exegesis
11:21 jonathan Hey, the Rakudo queue isn't as big as I'd feared.
11:21 jonathan I expected we'd have passed 200.
11:21 masak Hinrik: that sounds familiar, now that you mention it.
11:22 masak jonathan: I've been a bit busy, sorry :P
11:22 jonathan :-P
11:23 masak btw, there's an infinite loop when doing `say Bool.list` in Rakudo, or any other class name instead of Bool
11:23 masak it's because of the method on line 576 in src/classes/Object.pir
11:23 masak I have a patch for fixing that problem, hold on
11:24 nopaste "masak" at 130.238.45.242 pasted "patch for fixing the problem with infinite looping on `Bool.list`" (13 lines) at http://nopaste.snit.ch/14445
11:24 masak if it looks ok, I can apply it
11:26 jonathan I'd suspect maybe the intention was to call the list built-in, but instead we call this method.
11:26 masak yes.
11:26 jonathan To call that do
11:26 jonathan $P0 = get_hll_global 'list'
11:26 jonathan .return $P0(self)
11:26 masak oki, will try that
11:26 jonathan I think that is preferable to directly dealing the the List class.
11:27 Hinrik what does hll stand for?
11:27 masak Hinrik: High Level Language.
11:27 masak jonathan: aye.
11:27 Hinrik ok
11:31 * jonathan sees lots to be doing in the RT queue.
11:41 dalek r32280 | masak++ | trunk:
11:41 dalek : [rakudo] Object.list used to call itself and loop indefinitely, now DTRT instead
11:41 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32280
11:53 cotto joined #parrot
12:50 baest joined #parrot
13:44 kj joined #parrot
13:50 dalek r32281 | kjs++ | trunk:
13:50 dalek : [pirc/new] fix register allocator + some other stuff.
13:50 dalek : + fix sorting/inserting of list
13:50 dalek : + handle :unique_reg symbols properly
13:50 dalek : + disable local fixup stuff; needs more work.
13:50 dalek : + implement resizing for macro buffer if necessary.
13:50 dalek : + add commandline option to specify initial macro buffer size.
13:50 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32281
13:53 masak joined #parrot
15:06 davidfetter joined #parrot
15:14 davidfetter joined #parrot
15:16 jan joined #parrot
15:45 grim_fandango joined #parrot
15:48 kj joined #parrot
16:11 tewk japhb: if you can provide a small test case for opengl examples failure, I would appreciate it.
16:11 tewk add it to nci.t
16:12 tewk The obvious tests pass, even the sigs I captured from running opengl examples.
16:46 NotFound I added a 'say now' in .sub idle in triangle.pit and it says 'nan'
16:48 jq joined #parrot
16:50 NotFound And commentig out all variables, and letting the idle does just: glRotatef(0, 0, 1, 0) it paints an static triangle.
16:51 NotFound So the problems seems to be in the parrot environment during the callback.
16:54 allison joined #parrot
17:23 notbenh joined #parrot
17:34 japhb bak
17:35 japhb NotFound: can you nopaste your changes?
17:43 NotFound Now is not working, I'm not sure what I changed...
17:44 NotFound reverting and rebuilding...
17:45 * japhb is creating a cut-down version of triangle.pir.
17:45 japhb Rebuilding to test both ways, then will commit
17:50 Theory joined #parrot
18:34 japhb bak
18:35 japhb Yep, cut down example still shows black window with NCI JIT, works normally without.
18:42 notbenh joined #parrot
18:43 dalek r32282 | japhb++ | trunk:
18:43 dalek : [OpenGL] New cut-down OpenGL example for NCI debugging
18:43 dalek : * Add examples/opengl/static-triangle.pir, a cut-down copy of
18:43 dalek :   triangle.pir to help with debugging NCI.
18:43 dalek : * Still shows same "black window" bug when NCI JIT is enabled.
18:43 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32282
18:43 dalek r32283 | japhb++ | trunk:
18:43 dalek : [OpenGL] Add examples/opengl/static-triangle.pir to MANIFEST
18:43 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32283
18:43 NotFound japhb: sorry, I tested a lot of things at the same time and don't know what was the combination that showed something.
18:44 japhb NotFound: no problem, hopefully static-triangle.pir will give us a common base to work from.  We can keep cutting things out as needed from there.
18:46 japhb OK, svn props now set
18:47 japhb (Man, I wish git-svn just made that work, rather than needing two checkouts.)
18:47 dalek r32284 | japhb++ | trunk:
18:47 dalek : [OpenGL] Add svn props to static-triangle.pir
18:47 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32284
18:47 japhb tewk: is examples/opengl/static-triangle.pir simplified enough for you?
19:19 kj moritz: ping
19:20 moritz kj: pong
19:20 kj hi, any news on your box?
19:20 kj eh, being able to reach svn.perl
19:21 moritz kj: aye. It was sending up to one request each 2 seconds to svn.perl.org, and has been firewalled...
19:21 moritz kj: so I need to fix the setup, and then I'll get unblocked
19:21 kj oh ok
19:21 kj every 2 seconds... what happened?
19:21 moritz dunno, I suspect broken IRC bots
19:22 moritz I plan to redo them with plagger, that's tested and should work
19:22 kj plagger?
19:22 purl plagger is http://plagger.org/ or available at CPAN, http://search.cpan.org/dist/Plagger/ or Pluggable RSS/Atom Aggregator
19:22 kj ok, great, thanks
19:28 moritz now if only I could find that mail where the admins told me where the rss feeds are...
19:33 kj Parrot::OpsFile: Unrecognized line: 'inline op end() :base_core :check_event :flow {
19:33 kj '!
19:33 kj make: *** [lib/Parrot/OpLib/core.pm] Fehler 9
19:34 kj moritz: I get this error (just downloaded a fresh parrot through winscp)
19:35 * moritz isn't familiar with this one
19:35 kj I saw it's perl 5.8.8
19:35 kj is that ok?
19:36 moritz in general, yes
19:36 moritz did you try a 'make realclean' first?
19:36 kj well, it's a complete fresh one
19:37 kj just downloaded it on my own pc, then uploaded a zipped version onto your box
19:37 moritz is your own PC a windows box?
19:37 kj yes
19:37 moritz maybe wrong line endings then?
19:37 moritz svn converts those
19:37 kj ah yes
19:37 kj that may be it
19:38 moritz I can rsync a copy from my own local machine, just a sec...
19:50 moritz kj: parrot copy is in ~moritz/parrot2/
19:50 kj thanks!
20:09 moritz bah, plagger is non-trivial :(
20:20 rindolf joined #parrot
20:20 rindolf Hi all.
20:21 masak rindolf: hello :)
20:21 rindolf masak: hi.
21:09 cognominal joined #parrot
21:18 dalek r32285 | allison++ | pdd22io:
21:18 dalek : [pdd22io] Convert the core public I/O API to the new architecture.
21:18 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32285
21:30 Zaba joined #parrot
21:37 Zaba joined #parrot
21:40 dalek r32286 | allison++ | pdd22io:
21:40 dalek : [pdd22io] Linked the platform I/O headers into the main header. Generated
21:40 dalek : prototypes with 'make headerizer'.
21:40 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32286
21:43 dalek r32287 | allison++ | pdd22io:
21:43 dalek : [pdd22io] Added new I/O C files and CONST_STRING files to the Makefile
21:43 dalek : template.
21:43 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32287
21:47 dalek r32288 | allison++ | pdd22io:
21:47 dalek : [pdd22io] Cleanups in the platform and common utility functions found while
21:47 dalek : running the headerizer or compiling.
21:47 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32288
22:04 moritz kj: timtowtdi.org is now unblocked, ie svn shoudl work again.
22:07 kj ok, great
22:09 chromatic joined #parrot
22:18 rdice joined #parrot
22:22 kj are PIR macros supposed to work in PASM mode?
22:23 kj (general question to anybody who thinks s/he knows :-) )
22:23 * kj thinks it's a PIR feature
22:25 Tene I would be very surprised if they did.
22:25 kj i was more wondering whether they should..
22:28 * moritz thinks that PASM is too low-level to have such convenience features as macros
22:31 dalek r32289 | kjs++ | trunk:
22:31 dalek : [pirc/new] integrate PASM grammar/lexer into PIRC's lexer/parser.
22:31 dalek : + use a neat trick to decide whether to scan PASM or PIR
22:31 dalek : + fix a typo in a PARROT_ASSERTion
22:31 dalek : + PASM code is not handled yet, but parses, mostly -- needs some extra token definitions.
22:31 dalek : + remove some old code.
22:31 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32289
22:32 * jonathan wonders what the neat trick is
22:32 kj hehe
22:33 kj I initialize the lexer in a special start state, which reads the first character. Then, based on a flag set in the lexer data structure, it switches to PASM state or "normal" (INITIAL) state. First, it gives back the first character
22:34 kj I looked at how IMCC does it, but as far as I understand that code, it executes a particular block (at the top of the lexer spec. ) for EACH token (I think, didn't try). If that's actually happening, that may cost quite some speed.
22:36 kj well, that was fun (hacking) :-) Time to catch the last bus home. Good night
22:38 chromatic The sooner we replace IMCC, the better.
22:39 Tene I've got a peach here we could replace it with.  It doesn't compile PIR, but it does taste delicious.
22:40 allison Tene++
22:41 chromatic It's a start.
22:42 Tene Ack, nm.  The girlfriend is eating it now.
22:45 jonathan allison: Any idea when the travel grants get reviewed for the summit?
22:47 allison Tene: "Hey, that peach is our next-generation assembly language compiler!" I guess that's one benefit of revision control. No excuses about the girlfriend eating your homework. ;)
22:47 allison jonathan: we did one last week, will ping for another
22:48 jonathan allison: OK. Would be good to know if I'm going to be there or not, for scheduling other work.
22:52 jonathan Plus its a bit of a pre-req to seeing if I can room share with anyone... :-)
22:55 jonathan Woo. Someone has signed up to the hackathon I'm hosting at my place after the Twin City Perl Workshop!
23:07 kid51 joined #parrot
23:25 dmknopp joined #parrot

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

Parrot | source cross referenced