Camelia, the Perl 6 bug

IRC log for #parrot, 2011-05-21

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:06 kid51 joined #parrot
00:08 kid51 msg benabik Please subscribe at http://lists.parrot.org/ma​ilman/listinfo/parrot-dev so we don't have to pre-approve your posts
00:08 aloha OK. I'll deliver the message.
00:08 benabik ~~
00:08 benabik kid51: I get the e-mails, so I thought I was subscribed.
00:08 benabik kid51: I'll doublecheck the addresses though.
00:09 benabik kid51: Yeah, I just sent it from my main address instead of my mailing list address.  Sorry.
00:19 NotFound Glad to see winxed planned to be used in bubaflub GSoC project.
00:19 bubaflub NotFound: glad you're making it - it'll make OO convience classes *much* easier
00:20 kid51 Interesting to see how a change in one .pmc causes nearly a complete rebuild during 'make'.
00:21 Tene I'm just finishing up my new home server; anyone have any use for a hosted VM?
00:23 mtk left #parrot
00:24 bacek_at_work ~~
00:24 sorear what kind of system?
00:29 Tene sorear: hardware?  core 2 duo, 4GB ram
00:31 mspaulding left #parrot
00:32 mtk joined #parrot
00:34 kid51 Tene: which OS?
00:34 Tene base OS is Fedora, but you could run whatever you wanted on a VM, if you wanted to maintain it yourself.
00:34 Tene If you just want a shell, that would be fine too.
00:35 kid51 I have Linode, so I'm accustomed to running a Linux VM -- though all I had to do was push a button to install it.
00:35 kid51 So maybe it's time for me to try another VM for the purpose of running tests
00:35 Tene I've got more server than I really need, so I'm glad to let others use it.
00:36 kid51 I'm trying to figure out what role I can play other than just running make test on my own machines.
00:37 Tene kid51: I haven't really been following it, but have you seen the discussions about asking for volunteers to figure out how to use build farms for testing?
00:37 kid51 seen it, but like you, have not been following it too closely
00:37 aloha Sorry, I haven't seen it, but like you, have not been following it too closely.
00:38 Tene heh
00:38 kid51 aloha--
00:38 aloha kid51: Pbbbbtt!
00:39 kid51 Tene, let me compose my thoughts to dukeleto and pmichaud about what they could use.  Then I'll be back in touch.  Thanks.
00:39 Tene kid51: sure.
00:39 Tene It's on my home internet connection, so sometimes unreliable.
00:39 kid51 But I would ssh in, correct?
00:41 Tene Unless you wanted to connect some other way, yeah.
00:43 kid51 k
00:43 dalek winxed: r1017 | NotFound++ | trunk/examples/Xlib.winxed:
00:43 dalek winxed: update one remaining NCI 't' to current usages
00:43 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=1017
00:43 kid51 benabik: Recommend logging 'make' output to file and attaching that file to post to parrot-dev, rather than including it in body.
00:45 kid51 benabik (and other GSOCers): Do you know about tools/dev/nopaste.pl?
00:45 benabik kid51: Alrighty, will try to remember that.  I'm used to git list where attachements are verboten.
00:45 benabik kid51: And I've heard of nopaste
00:46 dukeleto those git devs have fits when you attach something
00:46 dukeleto like you said their mothers used CVS or something
00:46 kid51 but their mothers *did* use CVS
00:47 kid51 nopaste is very good for getting a quick first response on build or test failures
00:47 cotto ~~
00:47 kid51 I will frequently type:
00:48 kid51 prove -v t/some/failing/test.t 2>&1 | perl tools/dev/nopaste.pl -n kid51 -t "t/some/failing/test.t: new failure"
00:49 kid51 (which I suppose I should boil down farther into a shell function)
00:49 cotto kid51, points for laziness
00:50 kid51 But I can't do that right now because all tests are passing :-)
00:51 cotto btw, I fixed nopaste.pl so it uses your system username if you don't provide one.
00:53 dukeleto kid51: i could break some tests if you want...
01:01 kid51 make test PASS @ HEAD: darwin/ppc; linux/i386 various combinations
01:04 benabik GAH.  I went to fix the Makefile and it worked.  :-(
01:04 benabik (Before I fixed it.
01:11 bubaflub left #parrot
01:17 dalek parrot: 8f70521 | jkeenan++ | t/tools/dev/headerizer/01_functions.t:
01:17 dalek parrot: Update test to reflect change is way asserts are capture.
01:17 dalek parrot: See http://trac.parrot.org/parrot/ticket/2119.
01:17 dalek parrot: review: https://github.com/parrot/parrot/commit/8f705215a2
01:24 dalek TT #2119 closed by jkeenan++: t/tools/dev/headerizer/01_functions.t failure
01:24 dalek TT #2119: http://trac.parrot.org/parrot/ticket/2119
01:32 bubaflub joined #parrot
01:45 silug left #parrot
01:50 dukeleto bubaflub: wazzup
01:57 bubaflub hey dukeleto
02:00 Andy joined #parrot
02:01 dukeleto bubaflub: are you on your coding horse yet?
02:01 bubaflub dukeleto: sure am
02:10 bacek_at_work benabik, ping
02:38 cotto dukeleto, ping
02:40 kid51 msg cotto If possible, please review http://trac.parrot.org/parrot/ticket/540
02:40 aloha OK. I'll deliver the message.
02:40 kid51 msg whiteknight If possible, please review http://trac.parrot.org/parrot/ticket/540
02:40 aloha OK. I'll deliver the message.
02:44 benabik bacek_at_work: pong
02:53 cotto aloha, going to yapc::na?
02:53 aloha cotto: going to yapc::na is cotto or dukeleto or atrodo or atrodo or Util or kid51
03:01 benabik left #parrot
03:01 benabik joined #parrot
03:02 * cotto is booking a room for yapc::na
03:02 benabik I should really figure out if I can afford YAPC::NA
03:03 kid51 left #parrot
03:06 luben left #parrot
03:09 cotto benabik, do it now.  There are very few hotel rooms left.
03:10 soh_cah_toa aww...really? i gotta make my reservations soon then
03:10 cotto soh_cah_toa, yes
03:11 benabik cotto: IIRC, there was talk of doing a parroty thing the day after?
03:12 cotto benabik, more than talk
03:12 cotto benabik, http://www.yapc2011.us/yn2011/wi​ki?node=Parrot/Perl6%20Hackathon
03:13 soh_cah_toa cotto: do you think you could take a look at the pdb branch? when calling Parrot_runcore_pdb_init(), make complains about an undefined reference. i have no idea why, it's prototype is in include/parrot/runcore_api.h
03:14 benabik cotto: Date not mentioned on that, but is 30th?
03:14 cotto benabik, Tuesday evening and all Thursday
03:15 cotto soh_cah_toa, I suppose I should do that, being your mentor and all. ;)
03:15 cotto soh_cah_toa, you have a .o checked in
03:16 soh_cah_toa cotto: what do you mean?
03:17 cotto https://github.com/soh-cah-toa/parrot/commi​t/077ecdc3c26cd4ec20795435e5e0fdc0e1c54f1d
03:17 benabik cotto soh_cah_toa: Website already refusing to give me a room. :-(
03:17 cotto benabik, I had to call
03:17 particle1 joined #parrot
03:18 cotto people are getting different responses depending on how they try to book rooms.  The 848 number seems to be best.
03:18 benabik cotto: Bleh, telephones.
03:18 cotto I know, right.
03:19 particle left #parrot
03:20 benabik cotto: Will put that on TODO for tomorrow.  Book room now and worry about transportation later.
03:20 cotto soh_cah_toa, what's the makefile target I should be using.
03:20 cotto benabik, my approach too
03:20 soh_cah_toa cotto: make pdb
03:21 benabik cotto: Might drive down, as horrible as that seems.  But I can stop at my folks on the way and I have a friend who might come and splitting car is cheaper than a plane.
03:21 cotto soh_cah_toa, I don't see any such target.  Did you add it to the makefile template?
03:22 cotto benabik, I wish I could drive.  Flying is expensive.
03:22 soh_cah_toa agh...i knew that would happen. even though i modified it, git didn't report it as changed
03:22 benabik cotto: Not that much cheaper since I'd have to rent a car to do it.  Only have one and my wife would like to get to work that week.
03:22 soh_cah_toa i think maybe b/c vim keeps telling me i'm modifying a read-only file. i checked the permissions though and they're -rw-rw-r--
03:23 cotto soh_cah_toa, the makefile is generated.  You probably want config/gen/makefiles/root.in .
03:23 cotto soh_cah_toa, that's on purpose because it's generated.
03:23 soh_cah_toa cotto: i'll do that and re-commit
03:24 cotto awesome
03:24 Andy Does anyone object to having the timer on the test harness?
03:25 cotto Andy, I'd love to have one.
03:25 cotto don't we already?
03:25 Andy yay
03:25 Andy No.
03:25 Andy there you go
03:25 benabik Andy: Timer?
03:25 Andy Let's see if anyone gets upset.
03:25 dalek parrot: 41bfa13 | petdance++ | t/harness:
03:25 dalek parrot: turn on the test harness timer
03:25 dalek parrot: review: https://github.com/parrot/parrot/commit/41bfa130f5
03:25 soh_cah_toa cotto: i just realized...i never used .in files before. do i use make?
03:25 bubaflub left #parrot
03:26 cotto go figure
03:26 soh_cah_toa it said nothing needs to be done
03:26 cotto soh_cah_toa, the Makefile is generated by Configure.pl
03:26 soh_cah_toa oh wait, i edit that file instead?
03:26 cotto you need to edit root.in and re-run Configure.pl
03:26 soh_cah_toa now i see
03:30 soh_cah_toa cotto: ok, i think i got
03:31 cotto soh_cah_toa, trying now
03:32 soh_cah_toa cotto: ok
03:33 cotto are you planning on taking over the current debugger or making a new one?
03:34 soh_cah_toa cotto: making a new one
03:34 soh_cah_toa cotto: i think testing would be easier that way
03:35 cotto soh_cah_toa, ok.  In that case, you should probably use a different variable in the makefile.  PDB is already used for the current debugger.
03:36 soh_cah_toa cotto: so there will be two debuggers?
03:36 cotto soh_cah_toa, isn't that the plan?
03:37 soh_cah_toa cotto: i just assumed that mine would be the main one. it's not up to me but why leave the broken one around
03:37 luben joined #parrot
03:38 cotto soh_cah_toa, no objections to nuking it.  Just make sure to be thorough.
03:39 soh_cah_toa cotto: well, that's why i'm trying to do a few things early before coding officially starts
03:41 soh_cah_toa cotto: also, we can change the name of that target later once i've given some more thought about the name
03:41 cotto sure
03:42 soh_cah_toa cotto: i thinking maybe *pd, something parrot debugger. we'll see
03:43 benabik soh_cah_toa: Awesome parrot debugger
03:43 sorear call it parrotbug
03:43 sorear just to confuse people who have used perlbug
03:44 soh_cah_toa sorear: you saying my code is just one big bug? ;)
03:44 cotto soh_cah_toa, and we can confuse it with the existing tool called parrotbug
03:44 sorear soh_cah_toa: it's a portmanteau of "parrot" and "debug".  Duh.
03:44 soh_cah_toa sorear: lol i know :)
03:46 soh_cah_toa cotto: anyway, do you see what i was talking about w/ make? it makes no sense
03:47 cotto soh_cah_toa, it's perfectly sensible.  You just have to become appropriately insane.
03:48 soh_cah_toa cotto: i didn't realize i could attain a higher level of insanity
03:48 sorear After $CHRISTMAS, do you forsee Perl 6 users using your Parrot debugging program?
03:49 sorear Or do you see a "perl6db" which allows source-level, intelligent debugging (possibly using a libraryized Parrot-Debugger underneath)?
03:49 sorear s/<?after 'program?'>/ (directly)/
03:49 soh_cah_toa sorear: of course
03:50 sorear could call it parrot-pdp
03:50 sorear parrot debugging program
03:50 sorear pir debugging program
03:50 sorear pmichaud debugging program...no wait
03:50 soh_cah_toa sorear: ha
03:51 benabik parrot debugging parrot?
03:51 cotto pdp?  I'm not sure how I feel about that.
03:51 benabik cotto: I'll be a while before our pdp hits version 11.
03:52 soh_cah_toa ha
03:52 soh_cah_toa reminds me too much of presidential decision directive. that's what i think of at least
03:52 soh_cah_toa i don't know why...:/
03:52 soh_cah_toa it rhymes
03:53 soh_cah_toa pir debugging program wouldn't be appropriate b/c i'm hoping for it to work w/ all parrot hll's
03:55 soh_cah_toa sorear: i'm glad you asked about rakudo. after gsoc, i should definitely keep some perl6-features in mind
04:00 soh_cah_toa cotto: i just realized i made a mistake in my last commit. now it should replicate the error
04:05 cotto soh_cah_toa, can you delete frontend/pdb/main.o ?
04:06 soh_cah_toa cotto: why do i wanna do that?
04:07 cotto soh_cah_toa, it's an artifact of the build.  It shouldn't be in version control.
04:08 Kulag left #parrot
04:08 Kulag joined #parrot
04:08 soh_cah_toa cotto: ok
04:11 soh_cah_toa cotto: still complaining
04:13 soh_cah_toa cotto: there...committed. you can see what i did
04:14 Kulag left #parrot
04:14 Kulag joined #parrot
04:14 cotto soh_cah_toa, Parrot_runcore_x_init functions should only be called in Parrot_runcore_init
04:15 soh_cah_toa cotto: i see...
04:15 cotto you want Parrot_api_set_runcore
04:17 soh_cah_toa ugh...how do you know all these functions? this api is huge
04:19 soh_cah_toa are there any docs that are like a reference for the parrot api?
04:20 cotto I don't.  I just looked at frontend/parrot/main.c
04:20 silug joined #parrot
04:20 cotto src/*/api.c should have inline POD
04:21 soh_cah_toa ok good
04:38 Kulag left #parrot
04:38 Kulag joined #parrot
04:39 soh_cah_toa cotto: agh...i cannot get this makefile to cooperate! could you look at my last commit?
04:46 cotto sure
04:48 cotto soh_cah_toa, are you looking at frontend/parrot/main.c for example code?
04:49 soh_cah_toa cotto: i am now :)
04:50 soh_cah_toa cotto: it's the makefile though that's causing problems
04:51 cotto how so?
04:51 soh_cah_toa 'make pdb' gives 'Error 1'
04:52 cotto lots of things cause errors
04:53 cotto I'd recommend copying the Makefile rule for $(PARROT) as a basis for $(PDB)
04:55 soh_cah_toa cotto: alright, i'll give it a shot. btw, what's parrot_config.o for? it doesn't sound like something i'd need but parrot_debugger did use it
04:57 cotto it's a fakecutable that contains config_lib.pir
04:58 cotto config_lib.pir contains some configuration information gathered during configure-time and compile-time
05:00 silug left #parrot
05:04 sorear I disrecommend the name pdb
05:05 sorear it will confuse Windows people and BioPerl peoplr
05:09 soh_cah_toa sorear: i know. also w/ the perl 5 debugger. i'm just using for now until i come up w/ a new name
05:10 cotto You can add an extra random letter.
05:10 cotto pxdb
05:12 Kulag left #parrot
05:14 soh_cah_toa cotto: well, i have progress but it's still refusing to cooperate
05:17 cotto looking better.  Let's see what happens.
05:19 cotto soh_cah_toa, take a look at the definition of Parrot_api_set_runcore.  It takes a few more arguments than you're giving it.
05:20 soh_cah_toa cotto: okay, i'll look. make is complaining about the headers not existing though
05:22 Andy left #parrot
05:23 Kulag joined #parrot
05:24 PerlJam left #parrot
05:24 PerlJam joined #parrot
05:26 soh_cah_toa cotto: well, i corrected Parrot_api_set_runcore() but make is still preventing me from going to bed
05:27 cotto soh_cah_toa, care to push?
05:27 cotto also, don't let it do that.  You'll think more clearly after sleeping.  If it's getting late, go to sleep.
05:28 soh_cah_toa done
05:28 soh_cah_toa i'm so close though
05:29 soh_cah_toa i hope
05:35 Kulag left #parrot
05:36 soh_cah_toa cotto: any idea?
05:37 cotto soh_cah_toa, you should be generating main.o as one step and then linking it into pdb$(EXE) in a separate step
05:37 redicaps joined #parrot
05:37 soh_cah_toa cotto: you told me to delete that
05:39 cotto I said to delete the object file from vcs.  Here I'm talking about how to deal with them in the makefile.
05:39 cotto main.o should be created as part of the build, just not checked in to git
05:40 soh_cah_toa alright, let me try
05:41 cotto $(PARROT) is a good example of what to do
05:41 cotto note that it links frontend/parrot/main$(O)
05:43 soh_cah_toa i did copy from there. i tried adding some things from the old $PDB though
05:43 cotto make sure you understand what you're doing
05:44 soh_cah_toa yeah, i'm kinda winging it
05:44 cotto I'm glad to answer questions
05:45 soh_cah_toa i've never faced the problem before of trying to build a hello world program from a 10,000 lines makefile
05:45 cotto the infrastructure can be overwhelming
05:46 cotto you just have to learn which few lines you care about and which to ignore
05:47 soh_cah_toa well normally something like parrot_config.o i would think that has nothing to do w/ debugging and would ignore right off the bat but apparently i need it
05:50 soh_cah_toa and what's a blib? binary library?
05:50 cotto yup, as opposed to Perl library
05:52 soh_cah_toa ok
05:52 theory joined #parrot
06:00 soh_cah_toa cotto: could you take a look at my newest mess?
06:03 cotto sure
06:04 cotto btw, I think you're including more headers than you need to.
06:06 redicaps left #parrot
06:06 soh_cah_toa oh yeah.
06:12 soh_cah_toa actually, just msg me what you think the problem is. you're right, 2:00am is not time for writing code. i'll come back to it tomorrow. thanks for the help
06:13 soh_cah_toa left #parrot
06:14 cotto msg soh_cah_toa The default rule will take care of all the includes etc needed to build an object file.  It's not necessary to explicitly list the command to compile it for frontend/pdb/main$(O)
06:14 aloha OK. I'll deliver the message.
06:14 fperrad joined #parrot
06:15 cotto msg soh_cah_toa Also, Makefile comments need to have a '#' as the first character.  Part of the problem was that make was running a commented-out rule.
06:15 aloha OK. I'll deliver the message.
06:31 theory left #parrot
06:32 theory joined #parrot
06:32 theory left #parrot
06:54 dalek cardinal: 41b18e1 | (Hongwe Qiu)++ | / (2 files):
06:54 dalek cardinal: t/range/to_s.t now passes.
06:54 dalek cardinal:
06:54 dalek cardinal: Add another multi method for initialization of Range to handle three parameters,
06:54 dalek cardinal: fix a bug in Range#to_s, and since Symbols are not yet implemented, use key=value
06:54 dalek cardinal: pair instead of Symbol in t/range/to_s.t, so that t/range/to_s.t now passes.
06:54 dalek cardinal: review: https://github.com/parrot/​cardinal/commit/41b18e13cd
06:54 dalek cardinal: 2a0211b | (Hongwe Qiu)++ | t/range/to_s.t:
06:54 dalek cardinal: [t/range/to_s.t] forgot to bump "plan 1;" to "plan 2;"
06:54 dalek cardinal: review: https://github.com/parrot/​cardinal/commit/2a0211b2f3
06:54 dalek cardinal: 3aa96b2 | (Hongwe Qiu)++ | src/classes/ (2 files):
06:54 dalek cardinal: Range#!from_exclusive has gone, and Range#!to_exclusive is now simply Range#!exclusive.
06:54 dalek cardinal:
06:54 dalek cardinal: Ruby don't have !from_exclusive. And if cardinal is supposed to have !from_exclusive, then
06:54 dalek cardinal: I don't know what Range.new(from, to, from_exclusive=true, to_exclusive=true).to_s is supposed
06:54 dalek cardinal: to output.
06:54 dalek cardinal: review: https://github.com/parrot/​cardinal/commit/3aa96b27a2
06:54 dalek cardinal: 73d3bbf | (Hongwe Qiu)++ | src/classes/Range.pir:
06:54 dalek cardinal: pod fixes and some other minor changes for src/classes/Range.pir.
06:54 dalek cardinal: review: https://github.com/parrot/​cardinal/commit/73d3bbfcc4
06:54 dalek cardinal: fa2ff00 | tadzik++ | / (3 files):
06:54 dalek cardinal: Merge pull request #11 from qiuhw/master
06:54 dalek cardinal:
06:54 dalek cardinal: Some work done for CardinalRange
06:54 dalek cardinal: review: https://github.com/parrot/​cardinal/commit/fa2ff00302
07:22 cotto dukeleto, ping
07:27 dalek parrot/m0-prototype: a87ddd8 | cotto++ | src/m0/m0_interp.pl:
07:27 dalek parrot/m0-prototype: implement the math and boolean ops
07:27 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/a87ddd856c
07:27 dalek parrot/m0-prototype: 5214d57 | cotto++ | src/m0/m0_interp.pl:
07:27 dalek parrot/m0-prototype: implement the last of the easy M0 ops
07:27 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/5214d57bae
07:27 dalek parrot/m0-spec: f7aaf2e | cotto++ | docs/pdds/draft/pdd32_m0.pod:
07:27 dalek parrot/m0-spec: sub_[in] should calculate a difference, not zero
07:27 dalek parrot/m0-spec: review: https://github.com/parrot/parrot/commit/f7aaf2e6c6
07:34 dalek parrot/m0-prototype: 397f57d | cotto++ | src/m0/m0_interp.pl:
07:34 dalek parrot/m0-prototype: fix set_var op
07:34 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/397f57d282
07:34 mj41 joined #parrot
07:48 dalek parrot/m0-prototype: bc32af0 | cotto++ | / (2 files):
07:48 dalek parrot/m0-prototype: add m0_tests makefile target to run any know-passing M0 tests
07:48 dalek parrot/m0-prototype:
07:48 dalek parrot/m0-prototype: also add a simple test to make sure that hello.m0b keeps working
07:48 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/bc32af0dfa
07:48 cotto msg dukeleto Is there a nice way to directly poke into memory from Perl?
07:48 aloha OK. I'll deliver the message.
07:48 * cotto sleeps
07:52 rurban_ joined #parrot
07:54 rurban left #parrot
07:54 rurban_ is now known as rurban
07:58 silug joined #parrot
08:00 mj41 left #parrot
08:04 silug left #parrot
10:06 rurban_ joined #parrot
10:06 rurban left #parrot
10:06 rurban_ is now known as rurban
10:31 rurban_ joined #parrot
10:31 rurban left #parrot
10:31 rurban_ is now known as rurban
10:34 silug joined #parrot
10:36 p6eval left #parrot
10:36 p6eval joined #parrot
10:45 baest joined #parrot
10:45 baest left #parrot
10:48 baest_ left #parrot
10:51 dodathome joined #parrot
11:02 Psyche^ joined #parrot
11:07 Patterner left #parrot
11:07 Psyche^ is now known as Patterner
11:15 tty234 left #parrot
12:13 dalek parrot: eb392fc | jkeenan++ | t/harness:
12:13 dalek parrot: Revert 41bfa130f.  'timer' should not be on by default.  This is kind of
12:13 dalek parrot: change that should have been posted first as a Trac ticket.
12:13 dalek parrot: review: https://github.com/parrot/parrot/commit/eb392fc093
12:17 silug left #parrot
12:26 Kulag joined #parrot
12:39 contingencyplan left #parrot
12:48 theory joined #parrot
12:56 theory left #parrot
13:42 mj41 joined #parrot
13:48 tty234 joined #parrot
13:49 mtk left #parrot
13:57 mtk joined #parrot
13:59 theory joined #parrot
14:07 mj41 left #parrot
14:14 mj41 joined #parrot
14:43 redicaps joined #parrot
14:44 mj41 left #parrot
14:56 pjcj left #parrot
14:57 pjcj joined #parrot
15:00 kid51 joined #parrot
15:00 * kid51 builds Perl 5.14.0 from source
15:02 mj41 joined #parrot
15:09 silug joined #parrot
15:11 redicaps left #parrot
15:13 theory left #parrot
15:16 kid51 Damn, Perl 5.14 is so big that the install fills up my disk!
15:18 tadzik whoa
15:19 kid51 Not even Rakudo has done that ;-)
15:21 tadzik so Rakudo is less resource-heavy than Perl 5.14? :P
15:22 kid51 No, I'm talking about the size of files in the distro, built by make, and needing to be installed.
15:24 kid51 Of course, the size of Parrot's .git is also nothing to sneeze at.
15:24 kid51 It's the largest thing I have under my homedir
15:26 redicaps joined #parrot
15:32 theory joined #parrot
15:33 * kid51 takes drastic action: deleting 3 older versions of Perl 5
15:39 mj41 left #parrot
15:40 silug left #parrot
15:40 silug joined #parrot
15:48 mj41 joined #parrot
15:52 redicaps left #parrot
16:03 kthakore left #parrot
16:07 kid51 left #parrot
16:07 silug left #parrot
16:20 davidfetter joined #parrot
16:21 cotto ~
16:26 dukeleto ~~
16:27 dukeleto cotto: what memory poking do you want to do?
16:27 cotto dukeleto, same as can be done with pointers in C
16:28 dukeleto cotto: there are probably some Devel:: modules to do what you want. Do you have a specific use case?
16:28 cotto dukeleto, implementing copy_mem and copy_byte in M0
16:29 cotto Tie::Array::Pointer looks promising
16:29 dodathome left #parrot
16:30 cotto that also seems to provide a wrapper around malloc, though not free
16:31 cotto dukeleto, what do you think about adding labels to M0?  gotos get pretty unwieldy without them.
16:32 cotto (and with them, but that's a separate issue) ;)
16:33 dukeleto cotto: hmmm. what are our options?
16:35 cotto dukeleto, I'm not sure of how little magic it could require.
16:36 cotto dukeleto, I think the only way to do it would be to have the assembler maintain a symbol table and to either store those values in the variables segment or allow them to be used directly by set_var + a little magic
16:36 dukeleto cotto: i just found Devel::Pointer, which may be useful
16:37 mj41 left #parrot
16:37 dodathome joined #parrot
16:38 mj41 joined #parrot
16:38 dukeleto cotto: this is probably something that would be good to get feedback from chromatic++ and allison++
16:39 cotto pointers or labels?
16:39 dukeleto cotto: labels
16:40 dukeleto cotto: here is a thought. Should we have a "constant variable table" and a "dynamic variable table" for each chunk?
16:40 dukeleto cotto: the offsets of goto's could be in the static part, mutable variables would be in the dynamic part
16:40 dukeleto cotto: this could be batshit crazy, but I figure I should tell you and then you can tell me why it wouldn't work
16:40 cotto dukeleto, I'm not opposed to the idea.  It does solve the problem of making sure that data that's supposed to stay constant actaully does
16:41 cotto dukeleto, we'd need a new op to access the constants, right?
16:42 dukeleto cotto: it also makes it so that there are two "namespaces", so we could have up to 65K items in each kind of variable table, instead of both kinds getting jammed into one namespace
16:42 dukeleto cotto: not necessarily. perhaps we can cheat somehow
16:42 cotto dukeleto, i.e. first half is constant, second half is not?
16:43 cotto dukeleto, that means that the interp would have to act differently for the two halves
16:43 dukeleto cotto: i think we need to write down what the possibilities are and what the consequences of each are
16:44 NotFound Will not be easier to use relative jumps?
16:44 cotto dukeleto, that's an immanently sensible suggestion
16:45 dukeleto NotFound: please expound on "using relative jumps"
16:45 NotFound dukeleto: goto currentpos + distance to the label
16:45 dukeleto NotFound: distance is measured in ... ?
16:46 NotFound dukeleto: in opcodes, or whatever you call it in m0.
16:46 dukeleto NotFound: ok. Since we have one opcode per line, that could be nice
16:47 cotto and opcodes are a fixed length
16:54 dalek parrot: 880eb3f | petdance++ | src/gc/string_gc.c:
16:54 dalek parrot: consting vars, and fixed a SHIM argument
16:54 dalek parrot: review: https://github.com/parrot/parrot/commit/880eb3f01c
16:54 dalek parrot: 775dc88 | petdance++ | t/harness:
16:54 dalek parrot: HARNESS_TIMER now turns on the time stamps
16:54 dalek parrot: review: https://github.com/parrot/parrot/commit/775dc88939
17:03 mj41 left #parrot
17:12 Coke left #parrot
17:12 davidfetter left #parrot
17:12 Coke joined #parrot
17:14 theory left #parrot
17:15 bubaflub joined #parrot
17:16 dukeleto bubaflub: mornin'
17:16 bubaflub morning dukeleto
17:18 lucian joined #parrot
17:42 theory joined #parrot
17:54 mj41 joined #parrot
17:59 ambs joined #parrot
18:22 rurban left #parrot
18:38 Khisanth left #parrot
18:54 davidfetter joined #parrot
18:55 davidfetter dukeleto, ping
18:58 davidfetter dukeleto, got your concerns addressed, and then some
19:04 dalek winxed: r1018 | NotFound++ | trunk/winxedst1.winxed:
19:04 dalek winxed: look for class in namespaces used at namespace level
19:04 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=1018
19:04 dukeleto dalek: oh yeah?
19:14 dalek winxed: r1019 | NotFound++ | trunk/winxedst1.winxed:
19:14 dalek winxed: check that the control var is defined in for in
19:14 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=1019
19:21 davidfetter dukeleto, how do i rebuild pl/parrot with debugging info turned on?
19:26 dukeleto davidfetter: hmmm. there should be a DEBUG defined at the top of plparrot.c
19:26 dukeleto davidfetter: make it truthy
19:26 davidfetter dukeleto, thanks! :)
19:27 davidfetter dukeleto, there's a DEBUG_MODE
19:27 davidfetter it was 0. should i make it something other than 1?
19:27 * davidfetter tias's
19:28 dalek nqp: ed37a36 | jonathan++ | src/ (7 files):
19:28 dalek nqp: Apply patch from Richard Hainsworth to add Parrot vtable delegation.
19:28 dalek nqp: review: https://github.com/perl6/nqp/commit/ed37a369d4
19:28 dalek nqp: 606ef7c | jonathan++ | src/stage0/ (6 files):
19:28 dalek nqp: Update bootstrap.
19:28 dalek nqp: review: https://github.com/perl6/nqp/commit/606ef7c0ed
19:28 dalek nqp: e6326c0 | jonathan++ | src/core/NQPCapture.pm:
19:28 dalek nqp: Use parrot_vtable_handler trait in NQPCapture for the performance win.
19:28 dalek nqp: review: https://github.com/perl6/nqp/commit/e6326c0429
19:28 dalek nqp: 88e0df7 | jonathan++ | src/pmc/sixmodelobject.pmc:
19:28 dalek nqp: Enable Parrot vtable delegation for invoke.
19:28 dalek nqp: review: https://github.com/perl6/nqp/commit/88e0df746c
19:30 dalek winxed: r1020 | NotFound++ | trunk/winxedst1.winxed:
19:30 dalek winxed: parse modifiers of functions and its parameters in the parsing context when the
19:30 dalek winxed: function is defined
19:30 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=1020
19:30 silug joined #parrot
19:42 ShaneC joined #parrot
19:49 davidfetter left #parrot
19:56 mikehh left #parrot
20:03 theory left #parrot
20:16 davidfetter joined #parrot
20:20 theory joined #parrot
20:23 davidfetter left #parrot
20:25 bubaflub left #parrot
20:28 theory left #parrot
20:29 Khisanth joined #parrot
20:33 perlite_ joined #parrot
20:37 perlite left #parrot
20:37 perlite_ is now known as perlite
20:44 khisanth_ joined #parrot
20:44 khisanth_ left #parrot
20:56 luben left #parrot
21:01 mikehh joined #parrot
21:02 silug left #parrot
21:07 dodathome left #parrot
21:37 mtk left #parrot
21:39 fperrad left #parrot
21:43 mtk joined #parrot
21:50 Khisanth left #parrot
21:53 ambs left #parrot
21:58 Khisanth joined #parrot
22:10 kid51 joined #parrot
22:23 gbacon_ joined #parrot
22:23 soh_cah_toa joined #parrot
22:24 soh_cah_toa ~~
22:27 ShaneC left #parrot
22:28 mj41 left #parrot
22:49 kid51 left #parrot
23:00 dalek parrot: 6bfc7aa | petdance++ | config/gen/makefiles/root.in:
23:00 dalek parrot: Added src/call/*.c to the splint targets
23:00 dalek parrot: review: https://github.com/parrot/parrot/commit/6bfc7aa227
23:07 gbacon_ left #parrot
23:32 lucian left #parrot

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

Parrot | source cross referenced