Camelia, the Perl 6 bug

IRC log for #parrot, 2011-01-05

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:00 bluescreen joined #parrot
00:00 Andy left #parrot
00:02 aws joined #parrot
00:02 smash left #parrot
00:06 bluescreen msg tadzik it looks like $lex is returning null
00:06 aloha OK. I'll deliver the message.
00:09 cotto_work how nice.  melange gives me a 500 when I try to accept a claim request.
00:10 aws left #parrot
00:11 bacek__ joined #parrot
00:12 dukeleto ~~
00:13 cotto_work !!
00:13 sorear ~~
00:13 cotto_work Hmmm.  That makes me look like I'm excited about something.
00:13 sorear bacek__: bacek_: bacek_at_work: no
00:16 bacek_ left #parrot
00:17 kid51 joined #parrot
00:24 bacek__ sorear, "no"?
00:24 bacek__ is now known as bacek
00:27 sorear bacek: utf8 is known to be problematic
00:28 bacek sorear, ok. But I think main problem with dalek was fixed by Infinoid. (Wrong url for CREDITS)
00:28 bacek sorear, can you update dalek?
00:28 sorear dalek committed to a repository which is no longer used
00:28 sorear Infinoid
00:29 sorear I changed the CREDITS url as part of the last overhaul
00:29 bluescreen msg tadzik try with "if defined($lex) && ~lookup_class($lex) "
00:29 aloha OK. I'll deliver the message.
00:29 sorear 132 aliases in last CREDITS fetch - is it working?
00:30 bacek sorear, I dunno
00:33 whiteknight joined #parrot
00:33 bacek_ joined #parrot
00:33 cotto_work helo whiteknight
00:33 kid51 is now known as kid51_at_dinner
00:36 whiteknight hello cotto_work
00:38 bacek left #parrot
00:40 sorear bacek_: what was the last problematic report?
00:40 bacek_ sorear, karma for tadzik
00:40 sorear I need to test my changes
00:41 bacek_ sorear, last commit into cardinal repo
00:46 sorear bacek_: got it
00:52 bacek_ seen plobsing
00:52 aloha plobsing was last seen in #perl6 1 hours 5 mins ago joining the channel.
00:52 bacek_ plobsing, when PackFile_ByteCode.const_table was introduced? In dynop_mapping or earlier?
00:52 sorear bah.  I can't figure out how to post stuff with curl anymore
00:53 bacek_ sorear, --data?
00:54 sorear bacek_: push.psgi thinks payload="" if I do that
00:55 bacek_ sorear, hmm.
00:57 cotto_work sorear: there's an example of how to use curl for mocking github's post-rx callbacks on http://trac.parrot.org/parro​t/wiki/GitHubTracPluginTests
01:00 kid51_at_dinner is now known as kid51
01:02 chromatic bacek_, I think earlier.
01:02 bacek_ chromatic, ok
01:02 bacek_ trying to figure out when.
01:02 chromatic That seems to have been around the time we optimized hashes.
01:02 chromatic I was profiling Rakudo startup.
01:04 sorear I used --data-urlencode payload@tadzik but curl sends "payload=7"
01:04 sorear :/
01:05 * sorear checks the link
01:05 dukeleto sorear: check this out : http://sgn-build-64.sgn.cornell.e​du:8090/project/bio-chado-schema
01:05 bacek_ chromatic, hmm... Is this pointer actually used for anything?
01:05 dukeleto sorear: it is a jitterbug instance, which uses github post-receive hooks to send build jobs and iterates over every perl that is in perlbrew
01:06 sorear tadzik is a 1221 byte file
01:06 dukeleto aloha, jitterbug ?
01:06 aloha dukeleto: I give up.
01:06 sorear dukeleto: why should I check it out
01:06 dukeleto sorear: figured it might interest you
01:06 dukeleto aloha, jitterbug is https://github.com/franckcuny/jitterbug
01:06 aloha dukeleto: Okay.
01:07 dukeleto sorear: it makes it easy to run test suites for perl-based projects on github
01:08 Kristaba bacek_: I will try to complete as much as possible my task tomorrow, but test I think it's impossible to fix some tests, as example some using the tailcalls (which do a strange outcome), or which testing a PIR error :(
01:08 dukeleto sorear: i am going to use jitterbug to run the Parrot test suite, and jitterbug takes care of using perlbrew to run the test suite with each version of perl that perlbrew know about
01:08 sorear "payload=`cat tadzik`" does exactly the same thing
01:08 sorear curl--
01:08 dukeleto Kristaba: if you find that some of your task is impossible, just describe that when you submit the task
01:08 bacek_ Kristaba, just ask questions. I'll try to help.
01:08 Kristaba bacek_: And seriously, I think it would be really more understandable to add a sort of modifier to PIR subroutines to indicate that this sub is using get_params instead of the .param system
01:08 Topic for #parrot is now Parrot 2.11.0 Released | http://parrot.org | Log: irclog.perlgeek.de/parrot/today | Keep up with GCI | Get Rakudo working again | Get Plumage working
01:08 sorear it seems to think a 1221 byte blob urlencodes as "7"
01:09 bacek_ Kristaba, .param is syntax sugar for get_param
01:09 sorear ok, --data-binary worked.
01:09 dukeleto i though Plumage was working? why is "Get Plumage working" in the /topic ?
01:09 bacek_ Kristaba, docs/pdds/pdd19_pir.pod
01:12 dalek dalek-poller: b72de5a | sorear++ | push.psgi:
01:12 dalek dalek-poller: Improve message after heuristic merge detection
01:12 dalek dalek-poller: review: https://github.com/sorear/da​lek-poller/commit/b72de5a86a
01:12 dalek dalek-poller: 39e7ab0 | sorear++ | push.psgi:
01:12 dalek dalek-poller: Fix UTF8 handling in push mode.
01:12 dalek dalek-poller: review: https://github.com/sorear/da​lek-poller/commit/39e7ab0826
01:13 sorear I got it to generate "tadzik++" locally
01:13 chromatic bacek_, I haven't looked at it lately.
01:15 Kristaba bacek_: Oh, I didn't know that, sorry
01:15 bacek_ Kristaba, "difficult" task :)
01:18 cotto_work msg fbrito melange-- won't let me accept your claim because melange-- is returning 500 errors when I try to accept a claim through melange--.  I'll take care of it when melange-- is working again.
01:18 aloha OK. I'll deliver the message.
01:19 cotto_work karma melange
01:19 aloha melange has karma of -5.
01:20 Kristaba bacek_: Yeah, I saw, but indeed I need to read more about some details, you're probably right
01:20 * sorear wonders if frw et al will stay after gci
01:20 bacek_ Kristaba, welcome to parrot :)
01:24 * cotto_work is hopeful
01:26 davidfetter left #parrot
01:30 Kristaba bacek_: oh, and about that I said (the "modifer" to indicate that the sub use get_params instead .param), I wanted to say that it's really strange to being obliged to add a "fake" .param when the sub use get_params explicitly
01:30 Kristaba Unless get_params is really deprecated now?
01:35 Kristaba So, sorry to have bothered, goodbye #parrot
01:35 Kristaba left #parrot
01:41 Matt221 joined #parrot
01:47 kid51 Has anyone experienced "500 Server Error" when hitting the Submit button for a GCI task?
01:47 Matt221 kid51: yup.
01:47 kid51 So I'm not alone ;-)
01:48 Yuki`N dukeleto, so about adding a CPAN module to Parrot.
01:49 Yuki`N I can't quite figure out how to rewrite the module into Parrot's existing Perl library.
01:49 kid51 Yuki`N:  Generally speaking, we want to avoid adding new dependencies to Parrot.
01:50 kid51 You would have to file a Trac ticket or a post to parrot-dev to begin that process.
01:50 cotto_work kid51: yes.  It accomplishes the difficult task of making me think less of Melange.
01:50 kid51 In other words, you have to have a *very* strong case for doing so.
01:50 Yuki`N kid51, well maybe I can just add this functionality into the perllib, http://cpansearch.perl.org/src/BT​ROTT/Filter-Handle-0.03/Handle.pm
01:50 cotto_work Yuki`N: indeed.  What's the benefit?
01:51 kapace__ I wonder how much better a system GCI students could create instead of melange...
01:51 Matt221 left #parrot
01:52 cotto_work I wonder if it's worthwhile to try to argue sanity to the Melange dev team.
01:52 kid51 GSOC project, anyone?
01:53 cotto_work I lose a non-trivial chunk of time between its braindead ui decisions and its downtime.
01:54 kapace__ cotto_work++ well said
01:54 kid51 Yuki`N:  What Perl 5 are you writing for GCI that would entail use of that module?
01:59 bacek__ joined #parrot
02:00 dukeleto Yuki`N: why do we need the module?
02:01 dukeleto cotto_work: that is why i write everything down in a text file and just paste into melange. It has lost too much of my work to do anything else.
02:02 dukeleto cotto_work: and It's All Text makes that seamless
02:03 cotto_work http://code.google.com/p/soc/issues/list
02:03 kid51 Yuki`N: I just tried to install that module from CPAN.
02:03 kid51 When I ran 'make test', I got:  make: *** [test_dynamic] Segmentation fault
02:03 kid51 So the answer is:  No.
02:04 bacek_ left #parrot
02:06 Matt221 joined #parrot
02:08 bacek_ joined #parrot
02:14 bacek__ left #parrot
02:15 plobsing ~~
02:16 Yuki`N dukeleto, well it allows filtering STDOUT/ERR, so that any writes to that filehandle can be redirected to a file.
02:16 Yuki`N Best choice as I see it; replicating tee-like behavior.
02:18 kid51 Yuki`N: As noted above, the module segfaults.
02:18 kid51 It has not been actively maintained in > 10 years.
02:19 kid51 It does not meet contemporary standards for quality of CPAN distributions.
02:19 dukeleto Yuki`N: we don't need to filter. Just dupe the filehandle and redirect the output to config.log
02:19 bacek__ joined #parrot
02:19 kid51 We may already have some code that does stuff like that under lib/Parrot/Configure/*.
02:19 kid51 But, Yuki`N, you still haven't told us *where* you want to use it.
02:20 dukeleto cotto_work: be sure to turn off the wysiwyg editor in your melange prefs. I find that is a lot of the problem.
02:20 cotto_work dukeleto: excellent idea
02:20 * kid51 must sleep
02:20 kid51 left #parrot
02:24 bacek_ left #parrot
02:34 * cotto_work goes home
02:36 dalek TT #1700 closed by bacek++: OpLib caching doesn't survive after initializing of parrot trace.
02:36 dalek TT #1700: http://trac.parrot.org/parrot/ticket/1700
02:36 bacek__ cotto_work, are you still there?
02:36 dalek parrot/opmap_aware_pmcs: 7a05f9c | bacek++ | src/pmc/packfilebytecodesegment.pmc:
02:36 dalek parrot/opmap_aware_pmcs: Remove utterly wrong code from PackfileBytecode.get_pointer.
02:36 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/7a05f9c26b
02:37 bacek__ cotto, you'll love my latest commit into opmap_aware_pmcs :)
02:37 bacek__ is now known as bacek
02:39 whiteknight bacek++
02:40 Yuki`N left #parrot
02:40 fbrito joined #parrot
02:41 mtk left #parrot
02:43 whiteknight left #parrot
02:47 mtk joined #parrot
02:58 Yuki`N joined #parrot
03:01 Yuki`N dukeleto, I understand how you can replace STDOUT but how will duplicating it allow you to write to 2 filehandles with one?
03:09 cotto ~~
03:10 cotto bacek, I saw you took out a bit of code there
03:11 bacek cotto, indeed
03:14 * cotto just received a shiny new ssd hdd for his laptop.  Now if I could only find tuits to install it...
03:14 plobsing Yuki`N: I am also curious as to how that can be accomplished with just a dup. tee from gnu coreutils has to manage the file descriptors manually.
03:19 bluescreen left #parrot
03:28 bacek_ joined #parrot
03:31 bacek__ joined #parrot
03:33 bacek left #parrot
03:36 bacek_ left #parrot
03:40 atrodo cotto> That's the kind of shiny I find tuits for easy
03:40 bacek_ joined #parrot
03:46 bacek__ left #parrot
03:47 bacek_ left #parrot
03:47 aantn joined #parrot
03:47 Yuki`N Well I got something similar to redirection for stdout working but somehow it makes gcc fail.
03:48 Yuki`N I think forked processes don't like my tied filehandles or something. :/
03:50 plobsing Yuki`N: you'll have to do a dance with dups so child processes see an appropriate filedes
03:50 plobsing s/you'll have/you might have/
03:51 Yuki`N Oh that's wonderful.
03:51 Yuki`N Untying and re-tying stdout/err before/after calling a child process?
03:51 Yuki`N Sounds like fun.
03:51 Yuki`N ._.
03:52 Yuki`N I don't know.
03:52 Yuki`N It seems like an awful amount of trouble.
03:52 plobsing I figured you'd set up a pipe to a tee, and then move that over the stdout
03:53 plobsing that's how I'd do it. but that might be a bit of a hack.
03:53 Yuki`N I was going for the portable implementation, though.
03:54 Yuki`N We might be able to give it a try with a CPAN module, but that seems unnecessary for just a config script.
03:54 plobsing Yuki`N: you can probably make a tee emulator with perl's fork() (or fork emulation)
03:54 Yuki`N Hmm.
03:55 plobsing again, I might be feeding you horrible ideas.
03:56 Yuki`N I don't know, I will sleep on it.
03:56 Yuki`N left #parrot
03:56 cotto atrodo, in that case do you mind installing my new hdd?
03:57 atrodo I would, but it's an awful long drive
04:03 aantn left #parrot
04:04 particle cotto; can you clone your hdd to the ssd via usb?
04:05 cotto not directly
04:06 pmichaud I think I've found why Rakudo and NQP are failing with Parrot trunk
04:06 cotto it'll be a bit of a pain
04:06 pmichaud Do you (1) want me to file a new ticket with the bug, (2) respond to TT #1704, or (3) add the information to TT #1932 (which notes that Rakudo/NQP no longer run with parrot head)
04:07 plobsing pmichaud: lets track this @ TT #1932
04:07 pmichaud okay, posting in a moment
04:09 pmichaud here's the short explanation: http://gist.github.com/765914
04:09 pmichaud the :load sub should not be invoked here
04:10 plobsing :load subs should be invoked whenever pbc is loaded
04:11 pmichaud no, they should be invoked when a .pbc is loaded via load_bytecode
04:11 pmichaud That's the way it's been defined like.... forever
04:11 pmichaud see PDD 19
04:11 cotto pdd19 concurs
04:12 plobsing huh. that's the one doc that actually spelled out what it did like that.
04:13 plobsing the comments/docs I read just mumbled stuff like "pbc load"
04:14 pmichaud a fuller explanation is now at http://trac.parrot.org/par​rot/ticket/1932#comment:3
04:14 plobsing which I took to mean "whenever someone puts new bytecode into parrot"
04:16 plobsing pmichaud: if those subs are to make sure that the same sub gets run both when :main is run and when not, then shouldn't they just be marked :init :load?
04:17 plobsing I will of course, work to make it the same as it was, but it seems to me to be solving the problem backwards.
04:17 pmichaud plobsing: that's not what those subs are for
04:18 pmichaud if I create (pre-compile) a module in Perl 6 or NQP, then it later gets loaded via the "load_bytecode" op.
04:19 pmichaud if a module is loaded via the load_bytecode, I have to have some mechanism to cause its mainline to be executed -- currently the :load flag is what does that
04:19 plobsing ok what is "mainline"? is that not just :main by another name?
04:19 pmichaud :main is the sub that is executed when invoked from the command line
04:19 pmichaud here, I'm already inside of a Parrot program (e.g., NQP or Rakudo itself) that is running
04:20 pmichaud unless you feel that load_bytecode should automatically invoke :main
04:21 plobsing of course not. it should provide access to the :main sub, with which the loading program can do whatever it likes.
04:21 aantn joined #parrot
04:21 plobsing including ignoring, invoking once, and invoking multiple times.
04:21 pmichaud I don't know if it does that yet, but historically load_bytecode has not provided any way to do that
04:22 pmichaud (just checked -- it doesn't appear to do that yet)
04:22 plobsing pmichaud: this is true.
04:23 pmichaud so, the mechanism we've used is the :load flag
04:23 pmichaud and at the end of a module, we create a :load (but not :init) sub that invokes the module's mainline for us when the module is loaded via load_bytecode
04:23 plobsing pmichaud: but the load flag doesn't work in other contexts. what if I'm an embedding application that wants to run a modules :main?
04:24 pmichaud I'm not saying that load_bytecode isn't misdesigned.
04:24 pmichaud I've argued for years that load_bytecode should return a "handle" to whatever was loaded so that the caller can decide what do with it and how to invoke it.
04:24 pmichaud I could never convince allison++ why it was needed.
04:25 plobsing pmichaud: PackFile PMCs provide those handles. we are getting there.
04:25 plobsing I may have just done things in the wrong order.
04:26 pmichaud anyway, I'm somewhat blocked on my tasks (benchmarking nqp and rakudo) until parrot head is working again for them.
04:26 pmichaud and jnthn++ is likewise blocked on the things he was working on, iirc
04:27 plobsing now that you've pinpointed the problem, it shouldn't be long
04:27 pmichaud good, glad to help :)
04:28 pmichaud afk for a while
04:41 plobsing the good news - I fixed NQP
04:41 dukeleto plobsing++
04:41 dukeleto plobsing: bad news?
04:41 plobsing the bad news - I broke PCT in the process
04:41 plobsing I feel like I've knocked over a leaning tower of abstractions
04:42 bacek_ joined #parrot
04:46 dukeleto plobsing: good lord, chap.
04:47 dukeleto plobsing: what broke in PCT?
04:48 plobsing not entirely sure on that one. t/compilers/pct/complete_workflow.t has major fail ATM though.
05:00 dalek parrot/opmap_aware_pmcs: 6e990fc | bacek++ | src/pmc/packfilebytecodesegment.pmc:
05:00 dalek parrot/opmap_aware_pmcs: First baby step for generating ByteCode
05:00 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/6e990fcce7
05:00 dalek parrot/opmap_aware_pmcs: 21950b1 | bacek++ | src/pmc/packfile (2 files):
05:00 dalek parrot/opmap_aware_pmcs: Add skeleton how to pack PackfileBytecode
05:00 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/21950b14d7
05:04 bacek_ cotto, around?
05:08 bacek__ joined #parrot
05:10 bacek joined #parrot
05:13 bacek_ left #parrot
05:13 dukeleto bacek: how are you feeling?
05:14 Matt221 left #parrot
05:14 bacek dukeleto, pretty much ok. Can be discharged from hospital right now. Unfortunately I booked my flight for tomorrow.
05:14 bacek So, I have to spend one more day here
05:15 bacek__ left #parrot
05:18 dalek parrot: 9dda543 | plobsing++ | src/packfile/api.c:
05:18 dalek parrot: only run :load subs on load_bytecode
05:18 dalek parrot: review: https://github.com/parrot/parrot/commit/9dda54315f
05:18 dalek parrot: 533bde3 | plobsing++ | runtime/parrot/library/PGE/Perl6Grammar.pir:
05:18 dalek parrot: Revert "mark PGE main subs :main"
05:18 dalek parrot:
05:18 dalek parrot: This reverts commit 2b0abde5604f07f58bae5049142f79e5d9afba16.
05:18 dalek parrot: review: https://github.com/parrot/parrot/commit/533bde3132
05:18 dalek parrot: 7529cd3 | plobsing++ | compilers/tge/TGE/Compiler.pir:
05:18 dalek parrot: Revert "tag *every* tge sub :main. emulates old broken pick-first-sub behaviour"
05:18 dalek parrot:
05:18 dalek parrot: This reverts commit 0ee91bbca15d0d8af52053919547d6b726943d35.
05:18 dalek parrot: review: https://github.com/parrot/parrot/commit/7529cd326b
05:20 cotto bacek, hi
05:20 bacek cotto, aloha
05:20 cotto I see you're hacking on the packfile pmcs
05:20 cotto it gladdens my heart
05:21 bacek cotto, yes. I have few free hours before leaving hospital.
05:21 bacek Looks about good size task to finish it.
05:21 cotto I'd forgotten how productive bacek-hours could be
05:21 bacek cotto, :)
05:21 cotto wb, magical coding robot
05:22 bacek there is only one small problem... No coffee
05:22 bacek And I quit smoking.
05:22 cotto melange--
05:22 cotto melange--
05:22 cotto melange--
05:22 cotto stupid 500s
05:22 particle left #parrot
05:22 bacek So, my productivity isn't so high.
05:23 fbrito left #parrot
05:24 dukeleto bacek: it is good to reset your coffee tolerance
05:25 cotto not pleasant, but good
05:26 bacek dukeleto, heh. About a week already. I almost ready to kill for a good cappuccino with a good cigarette.
05:26 dukeleto bacek: mmmmmmmmm
05:26 dukeleto s/cigarette/cigarillo/
05:27 dukeleto bacek: what state is cardinal in now?
05:27 bacek s/coffee/single malt/, s/cigarette/havana cigar/ :)
05:27 bacek dukeleto, same as before. It have to updated to nqp-rx. Too beg task for me for couple of days.
05:27 dalek parrot: cbccec7 | plobsing++ | src/packfile/api.c:
05:27 dalek parrot: [codingstd] fixups for recently added packfile_main() accessor function
05:27 dalek parrot: review: https://github.com/parrot/parrot/commit/cbccec7113
05:27 bacek (And I don't like ruby :)
05:28 plobsing OK, I think the emergency is over now. sorry for the interruption.
05:29 dukeleto plobsing: what emergency ? Does stuff work now?
05:29 plobsing yes. all of it.
05:29 plobsing pct, nqp, rakudo
05:30 * cotto verifies
05:30 plobsing I didn't have time to spectest rakudo, but it works where it was failing before.
05:31 cotto plobsing, thanks.  I'm happy to verify that rakudo's spectest works.
05:35 bacek_ joined #parrot
05:40 rurban_ joined #parrot
05:40 bacek left #parrot
05:43 rurban left #parrot
05:43 rurban_ is now known as rurban
05:48 particle joined #parrot
05:54 bacek__ joined #parrot
05:57 * cotto watches #perl6 with great amusement
05:59 bacek_ left #parrot
06:02 bacek_ joined #parrot
06:04 dalek parrot/opmap_aware_pmcs: 3ccc55f | bacek++ | src/pmc/oplib.pmc:
06:04 dalek parrot/opmap_aware_pmcs: Add OpMap.get_pointer to be used in OpMapping.get_pointer
06:04 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/3ccc55f79e
06:04 dalek parrot/opmap_aware_pmcs: 83957ef | bacek++ | src/pmc/packfileopmap.pmc:
06:04 dalek parrot/opmap_aware_pmcs: Return mapping value, not mapped value for op.
06:04 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/83957ef965
06:04 dalek parrot/opmap_aware_pmcs: ab807d0 | bacek++ | src/pmc/packfileopmap.pmc:
06:04 dalek parrot/opmap_aware_pmcs: Initial shoot on PF_BC_OM creation
06:04 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/ab807d0be5
06:04 bacek_ cotto, ping
06:04 cotto bacek_, pong
06:04 bacek_ ~/src/parrot (opmap_aware_pmcs)$ ./parrot examples/pir/make_hello_pbc.pir
06:04 bacek_ Hello World
06:04 bacek_ Segmentation fault
06:04 bacek_ kind of progress :)
06:04 cotto not really.  I got a spectacular segfault too.
06:05 bacek_ At least it _runs_ already :)
06:05 cotto oh
06:05 cotto that is progres
06:05 cotto s
06:05 cotto bacek++
06:05 bacek_ ~/src/parrot (opmap_aware_pmcs)$ ./parrot generated_hello.pbc
06:05 bacek_ Hello World
06:05 bacek_ Segmentation fault
06:05 bacek_ this is more clear example :)
06:07 bacek__ left #parrot
06:12 dylan_ joined #parrot
06:22 dalek parrot/opmap_aware_pmcs: 8c7adc4 | bacek++ | t/pmc/packfileopmap.t:
06:22 dalek parrot/opmap_aware_pmcs: Add more tests for OpMap
06:22 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/8c7adc48dd
06:22 dalek parrot/opmap_aware_pmcs: abb9534 | bacek++ | examples/pir/make_hello_pbc.pir:
06:22 dalek parrot/opmap_aware_pmcs: Fix index of FIA for get_returns
06:22 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/abb9534362
06:22 bacek_ cotto, done
06:23 bacek_ ~/src/parrot (opmap_aware_pmcs)$ ./parrot examples/pir/make_hello_pbc.pir
06:23 bacek_ Hello World
06:23 bacek_ ~/src/parrot (opmap_aware_pmcs)$ ./parrot generated_hello.pbc
06:23 bacek_ Hello World
06:23 cotto it's really nice to have you back in action
06:23 bacek_ :)
06:24 bacek_ I don't like PackfileConstTable API. It's really weird.
06:24 cotto at least the tests survived
06:24 bacek_ because API is way too stupid...
06:26 cotto which part of the api?
06:36 bacek__ joined #parrot
06:42 bacek_ left #parrot
06:43 bacek_ joined #parrot
06:48 dalek parrot/opmap_aware_pmcs: 10cbb73 | bacek++ | src/pmc/packfileconstanttable.pmc:
06:48 dalek parrot/opmap_aware_pmcs: Add PF_ConstTable.push_* functions for convinience.
06:48 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/10cbb73e38
06:48 dalek parrot/opmap_aware_pmcs: 10d5f6f | bacek++ | examples/pir/make_hello_pbc.pir:
06:48 dalek parrot/opmap_aware_pmcs: Simplify make_hello_pbc
06:49 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/10d5f6f5fb
06:49 bacek__ left #parrot
06:55 dylan_ hi parrot people. i'm having a lot of trouble getting through the doco on the PAST.
06:55 dylan_ is it using perl6?
06:56 bacek_ dylan_, no, PAST is part of PCT/nqp-rx
06:56 dylan_ are there better examples than the squaak
06:56 bacek_ dylan_, squaak is really good example.
06:56 dylan_ i got quit lost around ch. 3
06:56 bacek_ You probably talking about generating PAST from your Grammar, aren't you?
06:57 dylan_ yes
06:57 dylan_ the whole things a bit mysterious.
06:57 bacek_ hmm
06:58 bacek_ Let me check
06:58 dylan_ do you suggest reviewing PCT doco first?
06:58 bacek_ dylan_, no.
06:59 bacek_ What is your questions about chapter3?
06:59 dylan_ trying to work out this idea od attributes, e.g. like :namespace
07:00 dylan_ where do i learn the syntax/semantics for that?
07:01 bacek_ dylan_, erm. Where do you read squaak example?
07:01 dylan_ i'm here: http://en.wikibooks.org/wiki/Parrot_Virtual_Machi​ne/Squaak_Tutorial/Squaak_Details_and_First_Steps
07:01 dylan_ on the wikibook.
07:02 bacek_ let me check how up-to-date is it
07:02 dylan_ problem 3. see the syntax? its a mystery.
07:02 bacek_ dylan_, it's outdated by about 1.5 years. Things are changed :)
07:03 dylan_ oh bugger.
07:03 dylan_ where to go?
07:04 bacek_ examples/languages/squaak/​doc/tutorial_episode_3.pod
07:04 bacek_ I'm trying to find HTML version of it somewhere
07:05 bacek_ http://docs.parrot.org/parrot/2.11.0/html/examples​/languages/squaak/doc/tutorial_episode_3.pod.html
07:05 bacek_ here we go
07:07 bacek_ And examples/languages/squaak contains whole Squaak implementation
07:07 bacek_ Hope it will help :)
07:07 dylan_ ok. i was there. but my question was this line:
07:07 dylan_ make PAST::Var.new( :name(~$/), :scope('package'), :node($/) )
07:08 bacek_ Ah.
07:08 dylan_ where do i lear about :name, :scope, etc?
07:08 bacek_ Ok. This is PIR
07:08 bacek_ No, NQP
07:08 bacek_ Not Quite Perl8
07:08 bacek_ Perl6
07:08 bacek_ sorry
07:09 bacek_ :scope('package') is named argument to function
07:09 dylan_ ok, i'll read there now. thaks muchly.
07:09 bacek_ In Perl5 world it will be something like PAST::Var->new( name => ''.$/, scope => 'package', node => $/)
07:10 dylan_ hah. thought so. i'm way out of date.
07:11 bacek_ dylan_, good luck with squaak. About 3 years ago it was one the reasons for me to join parrot :)
07:13 dylan_ i'm actually wanting to use these tools to make a translator first (without making a full blown language). do you think the PCT can be used to do thar easily?
07:19 bacek_ left #parrot
07:25 dukeleto dylan_: what kind of translator ?
07:29 dylan_ a translator to convert a language i wrote called foo into fortran95. (don't laugh). my strategy is to use the actions to emitprints, instead of low level PIR or whetever you call it. do you think PCT can handle that?
07:30 dylan_ just now, i have more than quarter million lines of code in this language foo.
07:38 cotto dylan_, interesting.  Is this for work or fun?
07:38 dylan_ both. must update my crappy translator.
07:42 cotto how important is speed?
07:47 dylan_ not that important. more important is maintainability and possibility to convert to c++.
07:49 cotto ok.  Translating 250,000 lines of code will definitely take a while to run.  nqp-rx is a powerful tool but the code it generates isn't especially fast.
07:50 dylan_ ok. typically with my roll-my-own translator it takes 10 minutes with 4 fast processors. but in development cycle you don't usually translate all that, just the bits you change.
07:51 cotto pmichaud had a proof of concept lolcat translator, but I don't think it ever got posted
07:56 cotto If you don't mind occasionally running into bumps, Parrot and nqp-rx might be an interesting way to approach your problem.  It's still in a very active stage of development.
07:57 dylan_ yes, its very lovely, that's for sure, i'm going to persist several days yet. thanks guys.
07:57 cotto great.  You're always welcome to ask questions if you run into something that surprises or confuses you.
08:01 dalek cardinal: c72a79c | (Gerd Pokorra)++ | src/parser/actions.pm:
08:01 dalek cardinal: apply patch from "bluescreen10"
08:01 dalek cardinal: review: https://github.com/parrot/​cardinal/commit/c72a79c832
08:02 bacek joined #parrot
08:06 tadzik hello
08:07 chromatic left #parrot
08:07 cotto hi tadzik
08:07 cotto also, good night
08:07 * cotto sleeps
08:08 bacek cotto, wake up!
08:08 dalek parrot/opmap_aware_pmcs: fcedaff | bacek++ | / (2 files):
08:08 dalek parrot/opmap_aware_pmcs: Fix OpMap.load_lib
08:08 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/fcedaff7e4
08:08 dalek parrot/opmap_aware_pmcs: 7654375 | bacek++ | t/pmc/packfileopmap.t:
08:08 dalek parrot/opmap_aware_pmcs: Add (failing) test for mapping ops from dynext
08:08 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/7654375616
08:08 dalek parrot/opmap_aware_pmcs: c6c2678 | bacek++ | src/pmc/packfileopmap.pmc:
08:08 dalek parrot/opmap_aware_pmcs: Fix mapping ops from dynext
08:08 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/c6c2678af8
08:08 bacek opmap_aware_pmcs is ready for merging :)
08:08 bacek sorta
08:10 tadzik yay, cardinal works!
08:10 tadzik bluescreen++
08:13 cotto bacek, it worked
08:13 bacek msg plobsing why do you need bytecode->op_func_table and bytecode->op_info_table? Or they are filled during loading of PBC?
08:13 aloha OK. I'll deliver the message.
08:13 bacek cotto, of course! :)
08:14 cotto waking someone up over irc is impressive
08:14 cotto I really need to sleep, but it's awesome that you got that working so quickly.
08:14 bacek it's just another way of communication.
08:14 bacek I'm going to merge it back to master tomorrow morning
08:15 bacek It's self-contained piece of work anyway
08:15 cotto ok.  It can't mess anything up.
08:15 cotto next stop, PIRATE
08:15 cotto 'night
08:16 bacek night
08:18 dalek parrot/opmap_aware_pmcs: 16c87fb | bacek++ | / (1958 files):
08:18 dalek parrot/opmap_aware_pmcs: Merge branch 'master' into opmap_aware_pmcs
08:18 dalek parrot/opmap_aware_pmcs:
08:18 dalek parrot/opmap_aware_pmcs: Conflicts:
08:18 dalek parrot/opmap_aware_pmcs: MANIFEST
08:18 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/16c87fb2f0
08:20 theory left #parrot
08:20 M_o_C joined #parrot
08:26 fperrad joined #parrot
08:29 bacek_ joined #parrot
08:34 bacek left #parrot
08:40 dalek parrot/opmap_aware_pmcs: fe5dbbe | bacek++ | src/pmc/packfileopmap.pmc:
08:40 dalek parrot/opmap_aware_pmcs: Fix function names after merging with master
08:40 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/fe5dbbeca3
08:40 dalek parrot/opmap_aware_pmcs: 27d29b7 | bacek++ | src/pmc/packfilebytecodesegment.pmc:
08:40 dalek parrot/opmap_aware_pmcs: Fix compiler warning
08:40 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/27d29b7677
08:40 dalek parrot/opmap_aware_pmcs: c2db800 | bacek++ | t/pmc/class.t:
08:40 dalek parrot/opmap_aware_pmcs: We have 2 more core PMCs. Adjust default value for new Classes.
08:40 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/c2db8009c0
08:40 dalek parrot/opmap_aware_pmcs: 4f97261 | bacek++ | t/pmc/opcode.t:
08:40 dalek parrot/opmap_aware_pmcs: Update test to modern OpCode.
08:40 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/4f97261c40
08:42 * dukeleto builds plumage
08:46 dukeleto msg sorear i think plumage needs to be added to the file that tells dalek about repos
08:46 aloha OK. I'll deliver the message.
08:49 dukeleto Plumage works. I don't understand the /topic
08:49 * dukeleto goes to bed
08:55 dalek winxed: r726 | NotFound++ | trunk/winxedst1.winxed:
08:55 dalek winxed: optimize string constant indexed with int constant
08:55 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=726
08:55 dalek parrot/opmap_aware_pmcs: 5bc87fe | bacek++ | src/pmc/packfile (2 files):
08:55 dalek parrot/opmap_aware_pmcs: Fix codetest - proper coda
08:55 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/5bc87fe003
08:55 dalek parrot/opmap_aware_pmcs: 96d9d48 | bacek++ | src/pmc/ (2 files):
08:55 dalek parrot/opmap_aware_pmcs: Fix codetest - space
08:55 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/96d9d48a38
08:55 dalek parrot/opmap_aware_pmcs: 795f10e | bacek++ | src/pmc/packfilebytecodesegment.pmc:
08:55 dalek parrot/opmap_aware_pmcs: Fix codetest - POD syntax.
08:55 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/795f10edd3
08:55 dalek parrot/opmap_aware_pmcs: 263f60d | bacek++ | src/pmc/packfile (2 files):
08:55 dalek parrot/opmap_aware_pmcs: Fix codetest - trailing space
08:55 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/263f60d392
08:58 dalek parrot/opmap_aware_pmcs: 74b1055 | bacek++ | / (2 files):
08:58 dalek parrot/opmap_aware_pmcs: Re-enable examples/make_hello_pbc
08:58 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/74b1055805
08:59 cogno joined #parrot
08:59 bacek_ seen tcurtis
08:59 aloha tcurtis was last seen in #parrot 12 hours 40 mins ago joining the channel.
09:00 bacek_ kids...
09:00 bacek_ msg tcurtis What about resurrecting tree-optimizations? I do need it :)
09:00 aloha OK. I'll deliver the message.
09:07 bacek_ left #parrot
09:19 bacek_ joined #parrot
09:28 cogno left #parrot
09:28 PacoLinux left #parrot
09:30 dalek parrot/opmap_aware_pmcs: 7f66d12 | bacek++ | MANIFEST:
09:30 dalek parrot/opmap_aware_pmcs: Regenerate MANIFEST
09:30 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/7f66d1262d
09:51 rfw left #parrot
09:57 bacek__ joined #parrot
10:02 bacek_ left #parrot
10:05 cogno joined #parrot
10:12 dalek pir: 91c4298 | bacek++ | src/PIR/Grammar.pm:
10:12 dalek pir: Use :qq to handle double-quoted strings.
10:12 dalek pir: review: https://github.com/parrot/pir/commit/91c4298427
10:12 dalek pir: 0312732 | bacek++ | README:
10:12 dalek pir: Merge branch 'master' of github.com:parrot/pir
10:12 dalek pir: review: https://github.com/parrot/pir/commit/0312732a19
10:12 dalek pir: d44f759 | bacek++ | / (2 files):
10:12 dalek pir: Move hacks into src/hacks.pir
10:12 dalek pir: review: https://github.com/parrot/pir/commit/d44f759800
10:12 dalek pir: e134c19 | bacek++ | / (3 files):
10:12 dalek pir: Fix creating of OpLib
10:12 dalek pir: review: https://github.com/parrot/pir/commit/e134c19804
10:15 dalek parrot: c13f8ca | NotFound++ | t/pmc/bytebuffer.t:
10:15 dalek parrot: test ByteBuffer get_chars method out of bounds condition
10:15 dalek parrot: review: https://github.com/parrot/parrot/commit/c13f8ca8e7
10:18 Topic for #parrot is now Parrot 2.11.0 Released | http://parrot.org | Log: irclog.perlgeek.de/parrot/today | Keep up with GCI | Get Plumage working
10:20 dalek parrot: 59d037f | NotFound++ | runtime/parrot/library/Test/More.pir:
10:20 dalek parrot: fix message and diag of Test;More throws_type
10:20 dalek parrot: review: https://github.com/parrot/parrot/commit/59d037f186
10:23 dalek pir: 86d8bc3 | bacek++ | / (2 files):
10:23 dalek pir: Move generated files into gen directory
10:23 dalek pir: review: https://github.com/parrot/pir/commit/86d8bc38a6
10:27 cogno left #parrot
10:28 mtk left #parrot
10:31 tadzik moving a compiler from PCT to NQP-rx is something more than changing "is PCT::Grammar" to "is HLL::Grammar" and making that work?
10:32 moritz the "making that work" step might be non-neglible
10:32 tadzik I know that
10:34 dalek winxed: r727 | NotFound++ | trunk/t/postincdec.t:
10:34 dalek winxed: improve post ++ and -- basic tests
10:34 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=727
10:34 mtk joined #parrot
10:35 Themeruta joined #parrot
10:35 Themeruta is now known as NotFound_gf
10:35 NotFound_gf hi
10:36 tadzik hi :)
10:47 tadzik for the good start I moved LOLCODE to nqp-rx :)
10:47 moritz does it work?
10:47 tadzik seems so
10:47 tadzik although when running setup.pir I don't see it compililng the grammar
10:51 tadzik and when I removed gen_grammar.pir it doesn't rebuild it and the thing doesn't work at all :)
10:52 moritz huh
10:52 tadzik looks like the old setup.pir doesn't handle the situation much
10:52 moritz but once it's built, the test suite passes?
10:53 tadzik it's not built anymore :) But when it did, it fails the same tests as before
10:54 tadzik wowowow. No, it doesn't work at all :)
10:54 tadzik Parse errors: Unknown TAP token: "Cannot find TOP regex in Grammar"
10:55 tadzik now Unknown TAP token: "Parent isn't a Class.". That seems familiar cardinal fails identically
10:55 tadzik must be some deprecation in the new object model or something
10:56 tadzik shame that lolcode has no classes except the grammar.
10:57 moritz I remember getting that error too when I tried the port
10:58 tadzik int eresting; I'll try making a new lolcode with mk_language_shell and moving the files, so I'll have a shiny new setup.pir working with nqprx
11:00 cogno joined #parrot
11:22 aantn left #parrot
11:25 cogno left #parrot
11:30 M_o_C left #parrot
11:32 dalek parrot/opmap_aware_pmcs: 81e718d | bacek++ | src/pmc/packfilebytecodesegment.pmc:
11:32 dalek parrot/opmap_aware_pmcs: Add PFBC.get_integer_keyed_int for introspection purposes
11:32 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/81e718d4b9
11:34 dalek pir: 8e53a54 | bacek++ | src/POST/Compiler.pm:
11:34 dalek pir: Remove fixups. They are gone.
11:34 dalek pir: review: https://github.com/parrot/pir/commit/8e53a548e2
11:34 dalek pir: ea3c470 | bacek++ | src/hacks.pir:
11:34 dalek pir: Remove FixupTable and change RawSegment to BytecodeSegment
11:34 dalek pir: review: https://github.com/parrot/pir/commit/ea3c4708ba
11:34 dalek pir: 314dec5 | bacek++ | src/POST/Compiler.pm:
11:34 dalek pir: Start refactoring PBC emitting.
11:34 dalek pir:
11:34 dalek pir: Rename op-part generating methods to to_op from to_pbc.
11:34 dalek pir: review: https://github.com/parrot/pir/commit/314dec589c
11:34 dalek pir: 76e2fb8 | bacek++ | src/POST/Compiler.pm:
11:34 dalek pir: Fix generating Op in PCC call. NQP is really NQ
11:34 dalek pir: review: https://github.com/parrot/pir/commit/76e2fb8813
11:39 redicaps joined #parrot
11:44 aantn joined #parrot
11:52 tadzik Unable to obtain PAST from Regex;Match -- does this sound familiar to you?
11:58 Coke ... whoa, bacek is in hospital?
12:05 bacek__ Coke, sorta
12:05 bacek__ is now known as bacek
12:06 bacek tadzik, forgot to add proper method into Actions
12:12 tadzik bacek: any chance to investigate which one?
12:12 bacek tadzik, try --target=past
12:12 bacek You should see something,
12:12 bacek Or may be not.
12:13 tadzik no, gives the same errors
12:13 tadzik Rakudo's <?DEBUG(1)> would be useful
12:17 bacek_ joined #parrot
12:17 darbelo joined #parrot
12:19 bacek_ tadzik, <?DEBUG> than
12:19 bacek_ in nqp
12:20 tadzik oh
12:21 Coke msg dukeleto plumage's sanity.t fails nearly every test for me. opened a ticket.
12:21 aloha OK. I'll deliver the message.
12:21 Coke aloha, ping?
12:21 aloha Coke: No clue. Sorry.
12:21 Coke slowbot.
12:22 Coke anyone know how to do "prove -v" with setup.pir ?
12:22 bacek left #parrot
12:24 tadzik there's enormormous amount of calls to ws and ww
12:32 dalek parrot/opmap_aware_pmcs: 55002ed | bacek++ | src/pmc/packfilebytecodesegment.pmc:
12:32 dalek parrot/opmap_aware_pmcs: Add main_sub to BytecodeSegment
12:32 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/55002ed366
12:39 aantn left #parrot
12:40 dalek pir: 74a163e | bacek++ | src/POST/Compiler.pm:
12:40 dalek pir: Use Bytecode instead of Raw segment.
12:40 dalek pir: review: https://github.com/parrot/pir/commit/74a163e381
12:40 dalek pir: 3286f15 | bacek++ | src/POST/Compiler.pm:
12:40 dalek pir: Small fixes for handling to_pbc(POST::Op)
12:40 dalek pir: review: https://github.com/parrot/pir/commit/3286f15dd2
12:40 dalek pir: 298813f | bacek++ | src/hacks.pir:
12:40 dalek pir: Fix PackfileConstantTable.push hack
12:40 dalek pir: review: https://github.com/parrot/pir/commit/298813f01f
12:40 dalek pir: e1e5a28 | bacek++ | src/POST/Compiler.pm:
12:40 dalek pir: Add stub to_op(Label).
12:40 dalek pir: review: https://github.com/parrot/pir/commit/e1e5a288d2
12:40 dalek pir: a3a157c | bacek++ | src/POST/Compiler.pm:
12:40 dalek pir: Bring FIA back for default returns
12:40 dalek pir: review: https://github.com/parrot/pir/commit/a3a157c605
12:40 dalek pir: 3a28ad4 | bacek++ | src/POST/Compiler.pm:
12:40 dalek pir: Fix generating pbc for POST::Op
12:40 dalek pir: review: https://github.com/parrot/pir/commit/3a28ad4dbe
12:40 dalek pir: b028854 | bacek++ | src/POST/Compiler.pm:
12:40 dalek pir: Select main sub in same way as imcc
12:41 dalek pir: review: https://github.com/parrot/pir/commit/b028854b6b
12:41 contingencyplan left #parrot
12:42 contingencyplan joined #parrot
12:42 NotFound_gf Coke: looks like a shebang problem: the shell can't locate parrot-nqp just by its name.
12:42 arnsholt tadzik: IIRC the unable to obtain PAST message means that the ast property of the Match object contains something other than a PAST node
12:42 arnsholt In my code it usually means that I've brainoed and made an action method return the AST object instead of make()ing it
12:46 aantn joined #parrot
12:46 tadzik yeah, that's fixed now. Btw, plenty of compilers tend to have their own literal methods, written in pir. What's a good way to include those in the grammar?
12:47 tadzik I tried wrapping them in Q:PIR and adding to grammar.pm, got some strange errors, but is there a better way?
12:48 bluescreen joined #parrot
12:49 cogno joined #parrot
12:49 bacek_ tadzik, why do you need PIR in Grammar???
12:49 arnsholt Not sure what you mean by "literal method"
12:50 tadzik bacek_: some special quote tokens as I see, cardinal has them too
12:51 bacek_ tadzik, put them into separate pir file. Same way as NQP did.
12:51 * bacek_ sleep
12:51 bacek_ it's almost tomorrow again
12:51 tadzik but how would setup.pir know about them?
12:51 moritz it doesn't need to
12:51 dalek pir: 3347e7d | bacek++ | src/POST/Compiler.pm:
12:51 dalek pir: Partially migrate sub invocations to new Bytecode
12:51 dalek pir: review: https://github.com/parrot/pir/commit/3347e7d3ec
12:51 bacek_ msg cotto PIRATE passing 03-pbc/01-basic test now.
12:51 aloha OK. I'll deliver the message.
12:51 moritz they are just .include'ded in Compiler.pir or so
12:52 tadzik I see
12:53 bacek_ left #parrot
12:58 aantn left #parrot
12:58 aantn joined #parrot
12:59 lucian joined #parrot
13:03 darbelo dukeleto: ping
13:04 cogno left #parrot
13:05 cogno joined #parrot
13:10 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#2044) fulltest) at 2_11_0-689-g59d037f - Ubuntu 10.10 i386 (g++-4.5)
13:14 pmichaud 12:47 <tadzik> I tried wrapping them in Q:PIR and adding to grammar.pm, got some strange errors, but is there a better way?
13:14 pmichaud one can always put the PIR directly into (grammar) methods
13:14 pmichaud method xyz() { Q:PIR { ... } }
13:14 pmichaud or even
13:15 pmichaud method xyz() { pir::op(...);  pir::op(...); }
13:16 tadzik pmichaud: the first example was my first trial. The .param and .return will not work anymore, no?
13:16 moritz I'm taking a very wild guess here, but I think that's not the actual problem
13:16 cogno left #parrot
13:16 pmichaud tadzik: you can put params there also
13:16 moritz but rather that the interaction of hand written parsing methods with regexes/cursors has changed
13:16 pmichaud method xyz($x) { ... }
13:17 pmichaud moritz: yes, you may be correct :-)
13:17 pmichaud I'm only going on the question I have before me :)
13:17 dalek parrot: 4ff4ae3 | NotFound++ | runtime/parrot/library/LWP/Protocol.pir:
13:17 dalek parrot: fix LWP;Protocol request without content
13:17 dalek parrot: review: https://github.com/parrot/parrot/commit/4ff4ae315c
13:20 pmichaud is there a github repo I can look at?
13:20 cogno joined #parrot
13:20 tadzik strange how now yarn_literal.pir is not included anywhere, and the compiler does not complain about using it in a grammar
13:21 pmichaud afk, taking kids to school -- bbiaw
13:21 NotFound_gf tadzik: using a file in a grammar?
13:22 tadzik NotFound_gf: well, using the yarn_literal token
13:22 NotFound_gf tadzik: A sub?
13:24 tadzik NotFound_gf: https://github.com/tadzik/lolcode-nqprx/​blob/master/src/lolcode/Grammar.pm#L140
13:26 NotFound_gf tadzik: if that rule is assumed to be a pir .sub, pir doesn't care if doesn't see it, it will be looked up at runtime.
13:28 lucian left #parrot
13:30 tadzik I see
13:33 Coke NotFound_gf: any test that expects a bare shebang like that to work is borked.
13:34 cogno left #parrot
13:37 pmichaud why is yarn_literal being written in PIR, ooc?
13:39 cogno joined #parrot
13:39 tadzik no idea
13:42 rurban_ joined #parrot
13:44 pmichaud I mean, I understand why it was done that way before nqp-rx existed, but HLL::Grammar provides some builtins for parsing quoted strings
13:45 rurban left #parrot
13:45 rurban_ is now known as rurban
13:46 PacoLinux joined #parrot
13:47 fbrito joined #parrot
13:47 PacoLinux left #parrot
13:48 PacoLinux joined #parrot
13:49 whiteknight joined #parrot
13:50 Coke when in doubt, bitrot.
13:50 PacoLinux left #parrot
13:50 whiteknight good morning, #parrot
13:50 PacoLinux joined #parrot
13:51 PacoLinux left #parrot
13:51 atrodo Sometimes, I enjoy pre-bitrotting my code to save me the hassle in the future
13:51 PacoLinux joined #parrot
13:52 PacoLinux left #parrot
13:52 PacoLinux joined #parrot
13:54 dalek winxed: r728 | NotFound++ | trunk/examples/ajax.winxed:
13:54 dalek winxed: delete no longer needed chunked decoding from example ajax
13:54 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=728
13:55 tadzik does the '{*}   #= declare' syntax still work in nqp-rx?
13:57 aantn left #parrot
14:00 pmichaud I know it's no longer acceptable Perl 6, so it's being phased out
14:00 pmichaud I think nqp-rx still supports it, though.
14:01 pmichaud yes, it does support it still
14:25 cogno left #parrot
14:38 redicaps left #parrot
14:40 aantn joined #parrot
15:03 Psyche^ joined #parrot
15:04 cogno joined #parrot
15:04 cogno left #parrot
15:04 cogno joined #parrot
15:06 Patterner left #parrot
15:06 Psyche^ is now known as Patterner
15:08 bluescreen left #parrot
15:12 dalek parrot: 9d13ffa | Whiteknight++ | / (2 files):
15:12 dalek parrot: export the function for separating out the path extension
15:12 dalek parrot: review: https://github.com/parrot/parrot/commit/9d13ffaa53
15:23 bluescreen joined #parrot
15:27 dylan_ left #parrot
15:27 plobsing left #parrot
15:27 gbacon joined #parrot
15:31 TimToady note also that we've since stolen the {*} notation for use as the "you are here" in protos
15:32 whiteknight what is "you are here"?
15:34 moritz it's basically a term for "start your real work at this point"
15:34 TimToady where the multis are notionally called from the proto, in the new proto semantics
15:35 * moritz feels that TimToady did a much better job describing {*}
15:35 TimToady so a proto can specify wrapping behavior around its multi dispatch
15:35 moritz but then he's the one who invented it in the first place :-)
15:35 TimToady {*} basically stands for the multi dispatcher itself
15:36 cogno left #parrot
15:36 TimToady so proto foo () {*} can generally be optimized away to the current multi semantics
15:36 TimToady but since protos are lexically scoped, this gives us a way to name multi dispatchers
15:37 TimToady so when you say &foo, it's really the name of the dispatcher, as cloned into the current lexical scope
15:37 TimToady hence represents all the currently visible candidates
15:38 lucian joined #parrot
15:38 TimToady rakudo has not yet switched to that viewpoint, but jnthn's 6model will use the new scheme
15:39 TimToady to get a clean semantics we're banking on the idea that sub invocation will become much cheaper, and aggressive inlining is usually possible
15:42 aantn left #parrot
15:43 whiteknight okay. Thanks
15:47 dalek parrot: ec9e3a0 | Whiteknight++ | / (2 files):
15:47 dalek parrot: update OS PMC to do PATHEXT matching on Win32 to determine executability. This completely ignores newer Win32 permissions models, but is a good start and gets this test passing. We can cover the more advanced cases later, if necessary
15:47 dalek parrot: review: https://github.com/parrot/parrot/commit/ec9e3a041a
15:49 theory joined #parrot
15:54 dalek TT #731 closed by whiteknight++: can't tell if an OS file is executable from parrot
15:54 dalek TT #731: http://trac.parrot.org/parrot/ticket/731
16:01 gbacon left #parrot
16:09 dukeleto ~~
16:11 Kristaba joined #parrot
16:16 dalek parrot: c834f3a | mikehh++ | src/dynpmc/os.pmc:
16:16 dalek parrot: add func docs, remove trailing whitespace
16:16 dalek parrot: review: https://github.com/parrot/parrot/commit/c834f3aa1f
16:20 hercynium joined #parrot
16:24 dukeleto fperrad++ # beating me to fixing the plumage test
16:26 gbacon joined #parrot
16:29 dalek parrot: 362335a | Whiteknight++ | / (2 files):
16:29 dalek parrot: remove unused multis from integer.pmc, which fixes one TODO'd test
16:29 dalek parrot: review: https://github.com/parrot/parrot/commit/362335ac00
16:29 dalek parrot: 851d079 | Whiteknight++ | src/dynpmc/os.pmc:
16:29 dalek parrot: Merge branch 'master' of github.com:parrot/parrot
16:29 dalek parrot: review: https://github.com/parrot/parrot/commit/851d07935e
16:31 dukeleto whiteknight: have any ideas for more GCI tasks? I am kind of burned out.
16:31 tadzik dukeleto: I'm sharpening my pge-to-nqprx skills porting lolcode
16:32 * moritz fears porting languages to nqp-rx is too hard for students
16:32 dukeleto darbelo: pong
16:33 dukeleto moritz: i would really like to provide some utility that helps convert PGE langs to nqp-rx
16:33 dukeleto tadzik: can you please document what you have to do? Those instructions are very valuable for others.
16:33 dukeleto tadzik: it would make a *great* blog post
16:34 darbelo dukeleto: I just noticed the gitorious plumage repo is falling out of date, do we have any plans for it?
16:34 dukeleto darbelo: it is no longer canonical
16:34 dukeleto darbelo: it is just an out-of-date mirror now
16:34 whiteknight plumage is on parrot/plumage in github
16:34 dalek parrot: 2d13d16 | Coke++ | runtime/parrot/bin/prove.pir:
16:34 dalek parrot: this script is no longer called tapir.
16:34 dalek parrot: review: https://github.com/parrot/parrot/commit/2d13d16ed5
16:35 darbelo I know, but stale mirrors are a pain, I'd rather kill it or make it an updated mirror,
16:35 dukeleto darbelo: it is slightly confusing though.
16:35 dukeleto darbelo: i agree
16:35 whiteknight we don't have the authority to kill it
16:35 whiteknight japhb owns it
16:35 whiteknight we can only work with what we have
16:35 dukeleto darbelo: japhb started plumage on gitorious, so it is his pony
16:35 dukeleto darbelo: but if you contact him and tell him what is up, i am sure he will be ammenable to fixing the situation
16:35 dukeleto darbelo: i think he has just been really busy
16:37 cogno joined #parrot
16:41 chromatic joined #parrot
16:44 tadzik dukeleto: I must first figure out what decisions were right :)
16:44 tadzik dukeleto: has there been any successful attempts so far?
16:44 dalek TT #1887 closed by whiteknight++: Integer PMC i_multiply bug
16:44 dalek TT #1887: http://trac.parrot.org/parrot/ticket/1887
16:44 dalek TT #710 closed by whiteknight++: IO - On Win32, huge strings printed by Parrot do not appear in the console ...
16:44 dalek TT #710: http://trac.parrot.org/parrot/ticket/710
16:45 dukeleto tadzik: not sure, good question.
16:46 lucian left #parrot
16:49 Coke how does one re-open a ticket on github?
16:49 Coke ah, found it.
16:53 dukeleto Coke: what did you break now?
16:54 cogno left #parrot
16:58 whiteknight msg Andy can you please take a look at TT #152? In most cases I think we can remove PARROT_CATCH_NULL with no issues since it's been the default for so long. However, in include/parrot/interpreter.h I see something about SPLINT, and I figure I should ask you about it first. Thanks
16:58 aloha OK. I'll deliver the message.
16:59 Coke dukeleto: fperrad's fix doesn't make those tests pass.
16:59 Coke (on plumage)
17:00 dukeleto Coke: does "make test" pass for you?
17:01 dukeleto Coke: parrot setup.pir test
17:01 dukeleto Coke: is what I meant
17:02 dukeleto /home/leto/git/plumage/plumage.c:4226: undefined reference to `Parrot_api_make_interpreter'
17:02 dukeleto that wasn't happening last night
17:02 whiteknight anybody here with a working rakudo and a few minutes to investigate a bug?
17:02 Coke dukeleto: ... no. hence the ticket.
17:03 dukeleto Coke: it was working for me last night
17:03 Coke yes, and it wasn't working for me.
17:03 whiteknight dukeleto: try a realclean.
17:03 Coke which is why i was trying to generate verbose output about what was expected and what was got (which doesn't seem to be generated).
17:03 whiteknight Parrot does export Parrot_api_make_interpreter
17:04 M_o_C joined #parrot
17:04 dukeleto whiteknight: realclean in plumage?
17:04 dukeleto whiteknight: i assume you mean realclean in my parrot
17:04 whiteknight dukeleto: either
17:04 dukeleto whiteknight: which i will try
17:05 whiteknight I mean, after the embed_api merge, libparrot does export that symbol
17:05 Coke why would realclean in the build dir of parrot help plumage running against an installed parrot?
17:05 dukeleto whiteknight: setup.pir doesn't have realclean, but "parrot setup.pir clean" does not work either
17:05 Coke oh, that's something else.
17:05 Coke nevermind.
17:05 fbrito we have some impossible GCI tasks: http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129329282870 and http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129360922947
17:05 Coke dukeleto: "parrot setup.pir clean" seems to remove files, yes.
17:05 whiteknight if your installed parrot is older than the embed_api merge, you need to install a more recent version
17:06 dukeleto fbrito: looking
17:06 whiteknight there's no real way to test the readline_interactive method on FileHandle
17:06 dukeleto fbrito: if you make it to 100%, than that counts
17:06 whiteknight I don't know what the problem is with OrderedHash
17:07 fbrito OrderedHash PMC test coverage is 92.7%.
17:07 dukeleto fbrito: but if there are static functions in OrderedHash, then those will never show up as covered
17:07 whiteknight fbrito: make it 100%
17:07 dukeleto fbrito: is there anything in orderedhash that looks uncoverable ? such as dead code or static functions ?
17:08 dukeleto fbrito: i can change the task to say "increase 5%" if that makes you feel better :)
17:08 fbrito hehehe, it does. sorry, but I am very literal :P
17:08 Coke dukeleto: why would static functions not show coverage if they are used by a non-static func?
17:13 dukeleto Coke: static functions are inlined at compile time and don't show up in code coverage
17:14 dukeleto fbrito: which task do you want me to change the title of? orderedhash ?
17:14 gbacon left #parrot
17:14 Coke dukeleto: huh. I'd expect gcov &/or our compiler options to be smart enough to handle that.
17:14 fbrito dukeleto: yes. and maybe update the test coverage % on the description
17:17 dukeleto Coke: this is very basic. static functions are never "called" because the C preprocessor/compiler (not sure which) inlines them
17:17 dukeleto Coke: it happens before anything else can see what is going on
17:18 PerlPilot dukeleto: I think Coke wants an option to turn off that inlining.
17:19 Kristaba Can someone confirm me if the tailcall passing arguments system is supposed to be the same than invokecc?
17:19 PerlPilot is now known as PerlJam
17:20 Coke dukeleto: are you sure that's done when the function is just "static" and not "static inlnie" ?
17:20 Coke *inline
17:20 Coke (looks like g++ would do it regardless).
17:22 dukeleto Coke: i am actually not sure. I just pretend to know stuff
17:23 Coke looks like it's enabled with -OX, but could be overridden with something like -fno-inline
17:23 Coke (just looking at             SELECT cl.val
17:23 Coke FROM t_ecm_filing f, t_ecm_obligation o, t_ecm_countrylogic cl
17:23 Coke WHERE f.obligation_id = o.obligation_id
17:23 Coke AND cl.country_code = '??'
17:23 Coke AND f.filing_id = <cfqueryparam value="#Arguments.filing_id#" cfsqltype="cf_sql_numeric">
17:23 Coke AND cl.logic_id =
17:23 Coke GAH
17:23 Coke http://gcc.gnu.org/onlinedocs/gcc/Op​timize-Options.html#Optimize-Options is the url i was looking at.
17:30 dukeleto Coke-- # pasting cold fusion into #parrot ;)
17:31 * darbelo starts looking for exploits...
17:32 cogno joined #parrot
17:32 plobsing joined #parrot
17:33 dukeleto Coke: so do you think we should compile with -fno-inline for repos that do coverage tests?
17:33 dukeleto Coke: perhaps we need a Configure.pl argument?
17:35 Coke --cflags="-fno-inline"
17:36 Coke we're already doing a reconfigure, so adding another parameter should be easy.
17:38 dalek parrot: b9e9c3c | fperrad++ | compilers/pct/src/PCT/Grammar.pir:
17:38 dalek parrot: [PCT] fix ww when called by generated code
17:38 dalek parrot:
17:38 dalek parrot: sample from language GIL:
17:38 dalek parrot:     $P0 = find_name 'ww'
17:38 dalek parrot:     ...
17:38 dalek parrot:     captob = $P0(captob, 'dba'=>"")
17:38 dalek parrot: review: https://github.com/parrot/parrot/commit/b9e9c3cb8a
17:47 plobsing left #parrot
17:52 fbrito left #parrot
17:55 fperrad plumage is working again
17:55 cogno left #parrot
18:02 plobsing joined #parrot
18:03 fbrito joined #parrot
18:04 dalek plumage: 1af2147 | fperrad++ | t/ (4 files):
18:04 dalek plumage: fix shebang of t/*.t
18:04 dalek plumage: review: https://github.com/parrot/​plumage/commit/1af2147c22
18:04 dalek plumage: 5f8e803 | fperrad++ | t/sanity.t:
18:04 dalek plumage: tests use the fakexecutable installable_plumage
18:04 dalek plumage: review: https://github.com/parrot/​plumage/commit/5f8e803a28
18:04 dalek plumage: 80fc017 | fperrad++ | src/plumage.nqp:
18:04 dalek plumage: fix the following error:
18:04 dalek plumage: too many named arguments: 1 passed, 0 used
18:04 dalek plumage: current instr.: 'command_info' pc 3997 (src/plumage.pir:1476)
18:04 dalek plumage:
18:04 dalek plumage: parrot seems more strict now
18:04 dalek plumage: review: https://github.com/parrot/​plumage/commit/80fc017d15
18:04 whiteknight ...and parrot/plumage is now feeding into dalek
18:05 dalek pir: 3a28ad4 | bacek++ | src/POST/Compiler.pm:
18:05 dalek pir: Fix generating pbc for POST::Op
18:05 dalek pir: review: https://github.com/parrot/pir/commit/3a28ad4dbe
18:05 dalek pir: b028854 | bacek++ | src/POST/Compiler.pm:
18:05 dalek pir: Select main sub in same way as imcc
18:05 dalek pir: review: https://github.com/parrot/pir/commit/b028854b6b
18:05 dalek pir: 3347e7d | bacek++ | src/POST/Compiler.pm:
18:05 dalek pir: Partially migrate sub invocations to new Bytecode
18:05 dalek pir: review: https://github.com/parrot/pir/commit/3347e7d3ec
18:05 whiteknight ...and so is parrot/pir
18:08 cotto nom
18:08 fbrito left #parrot
18:10 fperrad whiteknight, have you seen http://smolder.parrot.org/a​pp/projects/smoke_reports/3 ?
18:14 gbacon joined #parrot
18:14 dukeleto yay for passing test suites!
18:15 mtk left #parrot
18:16 dukeleto whiteknight: i still get /home/leto/git/plumage/plumage.c:4277: undefined reference to `Parrot_api_string_export_ascii'
18:16 dukeleto whiteknight: i just did a realclean and installed a fresh parrot from the master branch
18:16 dukeleto whiteknight: am i doing something wrong?
18:16 dukeleto whiteknight: this is in plumage
18:16 cogno joined #parrot
18:22 JimmyZ joined #parrot
18:23 dukeleto whiteknight: i am rm -rf'ing and starting totally fresh, trying to reproduce
18:23 dukeleto Could not upload report to Smolder at http://smolder.parrot.org
18:23 dukeleto HTTP CODE: 500 (Internal Server Error)
18:23 dukeleto smolder--
18:24 dukeleto whiteknight: false alarm. Evidently 'realclean' wasn't really cleaning. Sometimes "git clean -fdx" is the only solution
18:26 whiteknight dukeleto: weird. File a bug report
18:27 dukeleto whiteknight: if i hit it again, i will
18:28 particle1 joined #parrot
18:29 cotto_work ~~
18:31 particle left #parrot
18:33 dukeleto cotto_work: buenas dias
18:34 Topic for #parrot is now Parrot 2.11.0 Released | http://parrot.org | Log: irclog.perlgeek.de/parrot/today | Keep up with GCI
18:34 dukeleto what does "keep up with gci" mean? Does it mean "try not to drown in GCI student commits?"
18:34 dukeleto we are pretty short on tasks right now.
18:35 dukeleto we also have many branches on github from GCI. We should short those out sooner rather than later, or the bitrot elves will eat them.
18:35 dukeleto s/short/sort/
18:36 dukeleto is GCI our only goal for this week?
18:36 plobsing left #parrot
18:37 plobsing joined #parrot
18:38 cotto_work dukeleto: Rakudo was too, but plobsing++ took care of it last night.
18:38 mtk joined #parrot
18:38 cotto_work dukeleto: is plumage usable now to run tests on HLLs?
18:39 darbelo It should be.
18:39 darbelo If it isn't I might be able to spare a few tuits.
18:39 dukeleto cotto_work: plumage works
18:42 cotto_work Shiny.  Let's start using it then.
18:43 * cotto_work wonders if we can build with tcc
18:43 whiteknight we want plumage able to submit smoke reports
18:44 cotto_work "no" appears to be the answer
18:45 dukeleto whiteknight: what do you mean?
18:45 whiteknight nevermind, I take that back. Plumage is currently submitting smoke reports
18:45 whiteknight fperrad++
18:45 dukeleto whiteknight: yep :)
18:45 whiteknight http://smolder.parrot.org/a​pp/projects/smoke_reports/3
18:45 cotto_work v nice
18:46 cotto_work seen kid51
18:46 aloha kid51 was last seen in #parrot 16 hours 26 mins ago saying "But, Yuki`N, you still haven't told us *where* you want to use it.".
18:47 bluescreen left #parrot
18:50 cotto_work seen matt
18:50 aloha Sorry, I haven't seen matt.
18:50 cotto_work seen matt_
18:50 aloha matt_ was last seen in #parrot 3 days 13 hours ago saying "Im gonna go now. Good night!".
18:50 cotto_work seen matt__
18:50 aloha Sorry, I haven't seen matt__.
18:52 dukeleto cotto_work: we need more goals, or the GCI goal needs to be more specific
18:55 Coke plumage does NOT work.
18:55 cotto_work dukeleto: is there a way to delete branches through github's web interface?
18:55 Coke (if by work you mean "pass all tests")
18:56 dukeleto Coke: show us the errors. It works for whiteknight and me
18:56 darbelo Coke: It does. Update.
18:56 dukeleto cotto_work: probably, why do you ask?
18:57 bluescreen joined #parrot
18:57 dukeleto cotto_work: git push origin :branch_to_delete
18:57 dukeleto cotto_work: is how to delete from the command line, which is described in git_workflow.pod :)
18:57 darbelo Coke: see 80fc017 by fperrad++
18:58 cotto_work dukeleto: yup.  I was just looking for a lazier way.
19:00 Coke dukeleto:   Failed tests:  3-18
19:00 dukeleto Coke: what do you want to delete?
19:00 dukeleto Coke: a smoke report would be useful
19:00 Coke (t/sanity.t) - that's after doing a clean/build/test at 80fc017
19:01 cotto_work Coke: same thing here
19:01 cotto_work reported to smolder
19:01 Coke dukeleto: This step needs a parrot built with zlib
19:02 dukeleto also, as a data point, I had to rm -rf the directory that I install parrot into (in my source tree) to get Plumage to compile
19:02 Coke but you can use cotto's. There's nothing to see in the error output, the tests fail, done.
19:02 Coke plumage compiles just fine for me.
19:02 dukeleto some bug with "make realclean", probably
19:03 dukeleto those tests could have more useful failure output
19:05 Coke cotto_work: 14:00 <@dukeleto> Coke: what do you want to delete?
19:07 JimmyZ left #parrot
19:07 cotto_work a couple of merged gci branches
19:08 cogno left #parrot
19:15 dalek TT #1764 closed by whiteknight++: Infinite loop in exit handler
19:15 dalek TT #1764: http://trac.parrot.org/parrot/ticket/1764
19:17 bluescreen left #parrot
19:25 Kristaba Does anyone here know pretty good the tailcall operation?
19:25 whiteknight Kristaba: sure, what's up?
19:26 Kristaba whiteknight: Oh, I have a complex problem with this
19:27 Kristaba whiteknight: When a sub is called, and when this sub do a tailcall, the tailcalled sub seems to be called 2 times (one time at the tailcall instruction, and one time if the main sub do "get_results") :/
19:27 Coke Kristaba: do you have a small PIR snippet to demonstrate the issue?
19:27 bluescreen joined #parrot
19:27 Kristaba http://pastebin.com/sU0U1J24
19:27 whiteknight Kristaba: nopaste your code?
19:28 Kristaba The output is "main\nfoo\n [the too few argument error message]", the current instruction is the line 16, and the called instruction is the line 5
19:28 whiteknight Kristaba: Okay. Don't use invokecc directly. Call f like "f()"
19:28 Kristaba (Using the zero-arity branch)
19:29 whiteknight same with tailcall op. use .tailcall b("0", "from_foo")
19:29 Kristaba whiteknight: Isn't my code, it's a test code at t/op/calling.t
19:29 whiteknight and use .return() instead of returncc
19:29 whiteknight Kristaba: oh. that test is wrong then
19:29 Coke whiteknight: assuming the purpose is to text get_results & set_args & friends, that doesn't help.
19:29 Coke whiteknight: not necessarily.
19:30 Kristaba There are many test that use this type of old code :/
19:30 whiteknight Coke: set_args and get_results and friends are included in the PIR call sugar
19:30 whiteknight their use is incorrect in PIR
19:30 rfw joined #parrot
19:30 Coke whiteknight: no, it isn't. it might be uncommon and not recommended, but "incorrect" is a stretch.
19:30 plobsing left #parrot
19:31 Kristaba The line 15 is a line I added to fix the problem that append in this branch when get_parms is used instead of .param
19:31 Coke if it really is meant to be incorrect to use them, then that code shouldn't even compile.
19:31 dmalcolm joined #parrot
19:32 dalek TT #833 closed by whiteknight++: Exception from :init sub in PIR compreg causes problems
19:32 dalek TT #833: http://trac.parrot.org/parrot/ticket/833
19:32 dalek TT #1764 reopened by coke++: Infinite loop in exit handler
19:32 dalek TT #1764: http://trac.parrot.org/parrot/ticket/1764
19:32 plobsing joined #parrot
19:33 Kristaba So, anyone has an idea of what I would have to do?
19:33 Kristaba Because many test I have to fix have this kind of problem :(
19:34 Yuki`N joined #parrot
19:34 Yuki`N dukeleto, how do you feel about Configure.pl forking to handle "tee" emulation?
19:35 dukeleto Yuki`N: sounds fine to me
19:36 Kristaba whiteknight: See the description of my task : http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129413283999
19:38 Kristaba whiteknight: I think the fix I have to do are really dirty, and all of them affect tests which use invokecc, set_args, get_params, etc...
19:40 Kristaba So I don't know what to do, I think the major part of these tests should be rewriten instead to fix them that way...
19:47 aantn joined #parrot
19:48 cogno joined #parrot
19:49 dalek TT #1764 closed by coke++: Infinite loop in exit handler
19:49 dalek TT #1764: http://trac.parrot.org/parrot/ticket/1764
19:59 Yuki`N Hmmm, I'm having trouble forking twice to handle stderr and stdout. :|
20:02 cotto_work dukeleto: is there a compelling reason to use Parrot_hsh_* instead of Parrot_hash_* for hash function names?
20:03 dalek parrot: 6231646 | fperrad++ | runtime/parrot/library/distutils.pir:
20:03 dalek parrot: [disutils] add get_submitter()
20:03 dalek parrot: review: https://github.com/parrot/parrot/commit/6231646a84
20:05 dalek TT #833 reopened by whiteknight++: Exception from :init sub in PIR compreg causes problems
20:05 dalek TT #833: http://trac.parrot.org/parrot/ticket/833
20:06 bluescreen left #parrot
20:10 Yuki`N left #parrot
20:11 Yuki`N joined #parrot
20:12 Nol888 joined #parrot
20:14 Yuki_N joined #parrot
20:15 cogno left #parrot
20:17 Yuki`N left #parrot
20:17 cogno joined #parrot
20:19 Nol888 left #parrot
20:21 Yuki_N is now known as Yuki`N
20:31 dalek parrot: 8b188db | Whiteknight++ | / (3 files):
20:31 dalek parrot: Fix for TT #1029. The return continuation was being mangled in the PIR compreg function, then we weren't able to account for it in the NCI.invoke VTABLE. cache the old value before we call the function, then sanity check the new return continuation value to see if we should update the cache. All tests pass.
20:31 dalek parrot: review: https://github.com/parrot/parrot/commit/8b188dbbc7
20:31 dalek parrot: 07c6d61 | Whiteknight++ | / (3 files):
20:31 dalek parrot: Merge branch 'master' of github.com:parrot/parrot
20:31 dalek parrot: review: https://github.com/parrot/parrot/commit/07c6d618b9
20:36 Yuki`N whiteknight, I got the tee-style Configure.pl working but as a side-effect I had to redirect stderr to stdout.
20:36 aantn left #parrot
20:39 dalek TT #1435 closed by gerd++: Tru64 report
20:39 dalek TT #1435: http://trac.parrot.org/parrot/ticket/1435
20:39 dalek TT #1029 closed by whiteknight++: taillcall into PIR compiler broken
20:39 dalek TT #1029: http://trac.parrot.org/parrot/ticket/1029
20:39 aantn joined #parrot
20:43 aantn rfw: why are you missing from http://socghop.appspot.com/gci/pr​ogram/show_ranking/google/gci2010 ?
20:43 rfw aantn: it takes a while to load
20:43 rfw mainly because it loads in chunks of 150 records
20:44 aantn rfw: okay
20:44 Coke whiteknight: oooh, #1029. Danke.
20:44 rfw aantn: you scared me for a second
20:48 cogno left #parrot
20:48 Yuki`N [configure_mod 8889182]
20:48 Yuki`N All numbers!
20:48 Yuki`N 8889182311ffabfeaec80a80a316600770eaee3e
20:49 dukeleto cotto_work: not really. I think 3 or 4 letter short names should be fine
20:49 Yuki`N That is the lowest entropy SHA1 I have ever seen.
20:49 aantn cotto_work: I'm having some trouble with http://socghop.appspot.com/gci/task/show/google​/gci2010/parrot_perl_foundations/t129360578422
20:50 aantn cotto_work: the first two untested lines don't seem to be testable
20:50 dukeleto aantn: what's up?
20:50 aantn dukeleto: ^
20:51 whiteknight aloha: coverage?
20:51 aloha whiteknight: coverage is http://cv.perl6.cz or http://tapir2.ro.vutbr.cz/cover/cover-results/
20:51 dalek parrot: 1e56d3f | fperrad++ | src/dynpmc/os.pmc:
20:51 dalek parrot: [dynpmc] fix build on MinGW32
20:51 dalek parrot: review: https://github.com/parrot/parrot/commit/1e56d3f7bb
20:52 bacek joined #parrot
20:52 whiteknight aantn: those two lines look like dead code.
20:52 whiteknight aantn: rip those lines out and replace them with PARROT_ASSERT()
20:52 aantn whiteknight: what does PARROT_ASSERT() do?
20:53 whiteknight aantn: very similar to assert from the standard library.
20:53 whiteknight aantn: do PARROT_ASSERT(!PMC_IS_NULL(namespace)) for instance
20:53 whiteknight or PARROT_ASSERT(!PMC_IS_NULL(info))
20:53 plobsing left #parrot
20:54 Yuki`N Can someone review https://github.com/nol888/parrot/commit/9​84cb27a7d25d1e6200658e868bc612a5bfd92da?
20:57 aantn whiteknight: when is a class's nameset set? before of after init_pmc?
20:58 whiteknight during init_pmc
20:59 aantn whiteknight: by init_pmc?
20:59 whiteknight line 355
20:59 whiteknight init_pmc calls init_class_from_hash
20:59 whiteknight init_class_from_hash calls the method on NameSpace PMC to set the class
21:00 Yuki`N dukeleto, can you review https://github.com/nol888/parrot/commit/​984cb27a7d25d1e6200658e868bc612a5bfd92da as a possible solution?
21:00 whiteknight aantn: actually, like 360
21:00 whiteknight sorry
21:00 aantn whiteknight: doesn't line 355 unset the namespace if it was already set?
21:01 whiteknight aantn: yes, I was mistaken. 355 unsets the class in the old namespace. line 360 sets it in the new namespace
21:01 aantn whiteknight: but if the namespace can't be set before then (before init_pmc calls init_from_hash) then the code to unset the existing namespace can also be removed
21:02 whiteknight aantn: no. You can see from the coverage report that the code IS being called. Which means there is an old_ns
21:02 whiteknight oh wait, wrong again
21:02 whiteknight I keep looking at the wrong lines
21:03 whiteknight aantn: init_class_from_hash is called from other places
21:03 whiteknight clone_pmc, METHOD name
21:03 whiteknight the one in clone_pmc cannot have an old_ns either
21:04 whiteknight but the one in METHOD name might
21:04 whiteknight because that method renames the class, which associates it with a new namespace
21:04 aantn whiteknight: okay, i see
21:05 aantn whiteknight: i'm writing a test for thatn now
21:05 whiteknight okay
21:05 fperrad left #parrot
21:07 whiteknight aantn++
21:13 bacek_ joined #parrot
21:15 dukeleto Yuki`N: why did you modify lib/Parrot/Configure/Utils.pm ?
21:16 dukeleto Yuki`N: why must the parent redirect STDERR to STDOUT ?
21:16 Yuki`N dukeleto, STDERR doesn't get caught by the fork, so it doesn't get logged otherwise.
21:17 Yuki`N Utils.pm had a prompt() sub, and I modified it to print to stdout the response to prompts so that they're logged as well.
21:17 cogno joined #parrot
21:17 aantn whiteknight: look at the section which starts with:  if (VTABLE_exists_keyed_str(interp, info, resolve_method_str)) {
21:18 aantn whiteknight: I can't give you a line number, because I've modified the file
21:18 bacek_ aloha, humans
21:19 bacek left #parrot
21:19 aantn whiteknight: I can test that superficially by passing a resolve_methods list to init
21:19 aantn (via the init hash)
21:19 aantn but is there a way to really test if that line is doing what it should be?
21:20 aantn i.e. is there any situation where a non-empty list of resolve_methods would be passed to init_from_hash
21:22 dukeleto Yuki`N: ok, sounds reasonable, i guess. did you send a pull request ?
21:23 aantn I can't find any good documentation on resolve_methods, but as far as I can understand, it's used to check whether a class implements a role or not
21:23 Yuki`N dukeleto, no, not yet, I wanted to get feedback and whatnot.
21:26 whiteknight aantn: I don't know. I have to look
21:27 aantn whiteknight: okay, thanks
21:28 whiteknight aantn: Yeah, it looks like something tricky that has to do with roles
21:28 whiteknight I would do the superficial test for now. Add a TODO note-comment to your test to mention the shortcomings
21:28 aantn whiteknight: okay, thanks
21:29 whiteknight I'm heading home now. Later
21:29 sorear ping dukeleto
21:29 aantn whiteknight: k, thanks
21:30 cogno left #parrot
21:31 whiteknight left #parrot
21:31 plobsing joined #parrot
21:32 darbelo left #parrot
21:34 dukeleto sorear: pong
21:40 sorear where is plumage?
21:41 Yuki`N dukeleto, pull requete'd
21:41 Yuki`N *request'd
21:42 M_o_C left #parrot
21:42 tadzik sorear: github/parrot/plumage iirc
21:42 rurban_ joined #parrot
21:42 tadzik plumage?
21:42 tadzik aloha: plumage?
21:42 aloha tadzik: plumage is a package manager for Parrot or https://github.com/parrot/plumage
21:43 dukeleto sorear: github.com/parrot/plumage
21:44 Coke plumage is now working for me after a reinstall of parrot.
21:45 Coke if plumage requires a specific version of parrot, it should probably die during the build rather than fail at runtime.
21:45 rurban left #parrot
21:45 rurban_ is now known as rurban
21:48 cogno joined #parrot
21:50 bacek__ joined #parrot
21:53 sorear tadzik: is dalek working for you now?
21:53 tadzik sorear: no idea, haven't commited anything in a while
21:54 tadzik hmm, is parrot/bf tracked?
21:54 sorear dukeleto: https://github.com/perl6/mu/bl​ob/master/misc/dalek-push.txt # Best way to track a github repository
21:55 sorear sadly, I can't do it - it requires admin access to the repo
21:55 bacek joined #parrot
21:56 bacek_ left #parrot
21:57 aantn left #parrot
22:00 bacek__ left #parrot
22:03 dukeleto sorear: i can do it
22:03 dukeleto sorear: i thought there was a different way, some metadata file that you maintained
22:04 cogno left #parrot
22:04 dukeleto sorear: dalek-conf.json it seems to be called
22:06 bacek_ joined #parrot
22:07 dukeleto sorear: now i understand
22:09 dukeleto Yuki`N: submit your task?
22:11 Yuki`N left #parrot
22:12 bacek left #parrot
22:15 user1 joined #parrot
22:24 user1 is now known as la_step
22:24 la_step left #parrot
22:26 cotto_work ~~
22:26 bacek__ joined #parrot
22:26 fbrito joined #parrot
22:29 dalek parrot/gci_hash_func_rename: fbce216 | cotto++ | / (35 files):
22:29 dalek parrot/gci_hash_func_rename: have we learned nothing from creat?
22:29 dalek parrot/gci_hash_func_rename: review: https://github.com/parrot/parrot/commit/fbce2163d0
22:32 bacek_ left #parrot
22:32 bacek_ joined #parrot
22:37 bacek__ left #parrot
22:41 mikehh t/pmc/integer.t - TODO passed:   127 - ok 127 # TODO unresolved bug, see TT #1887 - TT #1887 was closed a few hours ago, nobody unTODOed the test (not sure how to)
22:42 cotto_work mikehh: thanks for noticing!
22:43 mikehh line would line 627 -     todo($I0, 'i_multiply Integer PMC by BigInt PMC', 'unresolved bug, see TT #1887') -> ok($I0, 'i_multiply Integer PMC by BigInt PMC') work?
22:44 mikehh not sure if that get's the intent of the test
22:45 mikehh forget the initial line
22:50 mikehh seems to work, should I commit, or is someone else working on it?
22:56 dalek parrot: 826469e | mikehh++ | t/pmc/integer.t:
22:56 dalek parrot: remove resolved TODO from test
22:56 dalek parrot: review: https://github.com/parrot/parrot/commit/826469e35a
23:04 dalek parrot: 58adb70 | mikehh++ | t/pmc/integer.t:
23:04 dalek parrot: forgot to update copyright year again
23:04 dalek parrot: review: https://github.com/parrot/parrot/commit/58adb70b3b
23:20 bluescreen joined #parrot
23:21 bluescreen left #parrot
23:21 bluescreen joined #parrot
23:28 bacek__ joined #parrot
23:33 cotto_work hi bacek_
23:34 bacek_ left #parrot
23:34 bacek__ is now known as bacek
23:34 bacek aloha, cotto_work
23:34 dalek parrot/opmap_aware_pmcs: d66af7f | bacek++ | src/pmc/packfilebytecodesegment.pmc:
23:34 dalek parrot/opmap_aware_pmcs: Add PFBCS's direct manipulation functions.
23:34 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/d66af7ff6d
23:34 dalek parrot/opmap_aware_pmcs: 348d61c | bacek++ | src/pmc/packfilebytecodesegment.pmc:
23:34 dalek parrot/opmap_aware_pmcs: More PFBCS accessors
23:34 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/348d61c482
23:34 dalek parrot/opmap_aware_pmcs: 73c23da | bacek++ | src/pmc/packfilebytecodesegment.pmc:
23:34 dalek parrot/opmap_aware_pmcs: Add .opmap for fetching OpMap.
23:34 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/73c23da75a
23:34 dalek parrot/opmap_aware_pmcs: 1dae6e2 | bacek++ | src/pmc/packfilebytecodesegment.pmc:
23:34 dalek parrot/opmap_aware_pmcs: Reorder vtables.
23:34 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/1dae6e2c28
23:34 dalek parrot/opmap_aware_pmcs: 1b566eb | bacek++ | src/pmc/packfileopmap.pmc:
23:34 dalek parrot/opmap_aware_pmcs: More accessors to OpMap to fetch Op PMC by name.
23:34 dalek parrot/opmap_aware_pmcs: review: https://github.com/parrot/parrot/commit/1b566eb9d9
23:37 dalek pir: 57d1f3d | bacek++ | src/ (2 files):
23:37 dalek pir: First step of fixing fixup_labels. Calculate offset of label within op
23:37 dalek pir: review: https://github.com/parrot/pir/commit/57d1f3d317
23:40 Kristaba cotto: I just finish my task : http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129413283999
23:41 Kristaba cotto: Tell me if you think that something needs to be redone
23:42 dukeleto cotto_work: that task is all you. The commit looks good, feel free to complete the task if the tests pass :)
23:42 dalek pir: 57d1f3d | bacek++ | src/ (2 files):
23:42 dalek pir: First step of fixing fixup_labels. Calculate offset of label within op
23:42 dalek pir: review: https://github.com/parrot/pir/commit/57d1f3d317
23:43 cotto_work Kristaba: great.  I'll look at it later this evening when I can throw some dedicated time at it.
23:43 cotto_work dukeleto: you mean Kristaba's?
23:45 Kristaba cotto: Ok, don't worry, in France it's about 1 am, so I'm not really hurried ;)
23:45 dukeleto cotto_work: yep
23:49 whiteknight joined #parrot
23:51 fbrito left #parrot
23:53 dalek ohm-eta-wink-kzd: 943b658 | plobsing++ | src/Ωη.coda.winxed:
23:53 dalek ohm-eta-wink-kzd: distinguish between init_pmc vtable overrides for NullOptimization
23:53 dalek ohm-eta-wink-kzd: review: https://github.com/plobsing/ohm​-eta-wink-kzd/commit/943b658175
23:53 dalek ohm-eta-wink-kzd: d837de9 | plobsing++ | src/Ωη.coda.winxed:
23:53 dalek ohm-eta-wink-kzd: workaround set_integer_keyed in NullOptimization
23:53 dalek ohm-eta-wink-kzd: review: https://github.com/plobsing/ohm​-eta-wink-kzd/commit/d837de9cfa
23:53 dalek ohm-eta-wink-kzd: 5dbd234 | plobsing++ | src/ (2 files):
23:53 dalek ohm-eta-wink-kzd: liberal sprinkling of string() coercions to get valid winxed output
23:53 dalek ohm-eta-wink-kzd: review: https://github.com/plobsing/ohm​-eta-wink-kzd/commit/5dbd234700
23:54 dalek pir: b82088d | bacek++ | src/POST/Compiler.pm:
23:54 dalek pir: Fix stupid typo in fixup_labels.
23:54 mikehh whiteknight: ping
23:54 dalek pir: review: https://github.com/parrot/pir/commit/b82088df74
23:55 whiteknight pong
23:57 mikehh whiteknight: having a problem with t/pmc/integer.t, I sorta fixed a problem, then looked at your commit from a few hours ago
23:58 whiteknight mikehh: what problem? What platform?
23:58 mikehh you sorta fixed the wrong todo, but what you did works withh g__, but fails with g__ --optimize (complex multiply)
23:58 dalek pir: b82088d | bacek++ | src/POST/Compiler.pm:
23:58 dalek pir: Fix stupid typo in fixup_labels.
23:58 dalek pir: review: https://github.com/parrot/pir/commit/b82088df74
23:59 mikehh damn, g++
23:59 whiteknight mikehh: weird. Let me fire up the VM and give that a spin

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

Parrot | source cross referenced