r28179 | chromatic++ | trunk: : [src] Turned two #if directives into #ifdef directives to avoid compilation : warnings. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28179 r28180 | chromatic++ | trunk: : [config] Fixed readline detection with g++, cleaned up related code in ParrotIO : PMC (NotFound, RT #55154). diff: http://www.parrotvm.org/svn/parrot/revision?rev=28180 % iblechbot has joined #parrot % Zaba has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % barney has joined #parrot % bigal has joined #parrot r28181 | chromatic++ | trunk: : [IO] Unbroke the gcc build; this re-breaks the g++ build, but the former is : more common and the latter hasn't worked in ages, so we'll have to live with it : for now. : Compiler vendors who think a C++ compiler is perfectly compatible with C and : can't seem to make a C99 compiler, you are now on My List. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28181 r28182 | fperrad++ | trunk: : [Lua] : - fix dependence for luabytecode.pbc diff: http://www.parrotvm.org/svn/parrot/revision?rev=28182 % bigal has left bigal!~BigAL@ip24-251-239-179.ph.ph.cox.net % barney has left barney!~bernhard@p549A0CFA.dip0.t-ipconnect.de % Ivatar has joined #parrot % ruoso has joined #parrot % bacek has joined #parrot % paco has left paco!~chatzilla@139.Red-80-36-122.staticIP.rima-tde.net % paco has joined #parrot % kid51 has joined #parrot % jan has left jan!~chatzilla@90-229-128-103-no52.tbcn.telia.com % TiMBuS has left TiMBuS!~Hurf@123-243-167-27.static.tpgi.com.au Jim Keenan | YAPC::NA::2008: link: http://www.perlfoundation.org/parrot/index.cgi?yapc_na_2008 % davidfetter has joined #parrot % jhorwitz has joined #parrot * davidfetter waves to jhorwitz * jhorwitz sips coffee and waves mmm...coffee coffee++ karma coffee i guess purl is sleeping better wake him up, then * davidfetter queues up pulp fiction :) where do you usually hang your hat? * jhorwitz wears too many hats but hangs them in philly o/` to all my bulls out in philly, where all they smoke is phillies... o/` what part of philly? * davidfetter has compadres in fishtown suburbs...king of prussia % jan has joined #parrot % tetragon has joined #parrot Jim Keenan | YAPC::NA::2008: link: http://www.perlfoundation.org/parrot/index.cgi?yapc_na_2008 % davidfetter has left davidfetter!~chatzilla@start.fetter.org % Zero_Yao has joined #parrot % kid51 has left kid51!~jkeen@pool-70-107-15-30.ny325.east.verizon.net % cognominal has left cognominal!~cognomina@82.67.232.89 % cotto_home has left cotto_home!~cotto@75-92-237-130.sea.clearwire-dns.net % cotto-work has left cotto-work!~cotto@tide534.microsoft.com % cotto-work has joined #parrot % kid51 has joined #parrot % Zero_Yao has left Zero_Yao!~Zero_Yao@221.221.161.158 % baest has left baest!~baest@2206ds1-suoe.0.fullrate.dk % Theory has joined #parrot % ruoso has left ruoso!~ruoso@81.84.157.134 % cotto_home has joined #parrot Huh. King of Prussia. I teach classes there for Red Hat regularly. % gmansi has left gmansi!~gmansi@190.55.35.246 Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/codingstd/c_header_guards.t 1 256 5 1 20.00% 1 (in trunk.) r28183 | pmichaud++ | trunk: : [rakudo]: : * Update 'join' semantics. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28183 pmichaud: Does that test report which files failed the header guards standard? (Many of our other codingstd tests have been adapted to report that info.) kid51: yes (it has since scrolled off my screen.) src/jit/i386/jit_emit.h Am going out now; will look at it later, if no one else does first. I'm not too clear as to what header guards are supposed to be/do (C knowledge I don't have). they handle the case where a .h file is included more than once (i.e., so the compiler doesn't end up re-compiling the same definitions) Thx oh, here's a better error message '#pragma once' in compatible ;) # Failed test 'identical PARROT_*_GUARD macro names used in headers' # in t/codingstd/c_header_guards.t at line 131. # collisions: # /home/pmichaud/parrot/trunk/src/jit_emit.h, # /home/pmichaud/parrot/trunk/src/jit/i386/jit_emit.h % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net so the test is complaining that the same header guard is appearing in two files. I suspect this is in fact "normal", and that src/jit_emit.h is a copy of src/jit/i386/jit_emit.h so that the test file needs to know not to complain about this. I don't know why it showed up today. maybe I'll bisect revisions real quick. pmichaud: c touched this file today: src/jit/i386/jit_emit.h r28175 | chromatic | 2008-06-08 01:23:12 -0400 (Sun, 08 Jun 2008) | 2 lines [src] Removed global variables Parrot_exec_rel_addr and Parrot_exec_rel_count (NotFound, see RT #54602). yes, but it didn't appear to me as though the guard changed. it may just be some oddity in my working copy, as I have another checkout where it's working fine. I'll try a fresh co. hmm, it passes in a fresh co. perhaps another place where 'make realclean' isn't. so, I guess we can ignore it for now. % kid51 has left kid51!~jkeen@pool-70-107-15-30.ny325.east.verizon.net % bacek has left bacek!~bacek@123-243-38-218.tpgi.com.au Tene: ping me for beers next time you're in KOP! jhorwitz: I did a fix for 'item' on Friday evening (late) -- did that help with what you were working on? pmichaud: haven't had a chance to look yet, but i will now! pmichaud++ # 'item' fix works! mod_perl6 lives again yay! % grim_fandango has joined #parrot % purl has joined #parrot jhorwitz: I'll be there two weeks from today. I'll take you out to dinner sometime that week. sounds good to me. :) Maybe I'll work on mod_cardinal once I'm done with the class definition stuff I'm working on atm. Tene: going to YAPC? See : going to yapc::na or yapc::whatever or cwest, uri, DrForr jhorwitz: that's during the one week this month that I'm going to be home, and I need to find a place to move to and actually move this month, so... no. :( well that's no fun. :-P % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1167934364.dsl.bell.ca % gryphon has joined #parrot % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % jhorwitz has left jhorwitz!~chatzilla@96.245.16.45 % cognominal has joined #parrot r28184 | pmichaud++ | trunk: : [rakudo]: : * Add {closure} interpolation to double-quoted strings. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28184 % Ademan_ has joined #parrot Nice! :-) thanks. :-) I happened to notice that it was working in Pugs and decided it was worth adding to Rakudo, since it was a short fix. I was bacek sent in a lazy lists related patch too. Didn't get chance to look over it...got my head mostly full of thoughts about roles at the moment. :-) Got a preferred day for me to hack on Rakudo next week? Wed or Thu will work best for me. those are great. Thu might be slightly better -- won't have any kids that day. OK, will go for that. bacek's patch seems to create a LazyList type, where I think it should just be List. Ah, OK. Yes, I think it should be one class. And it can do some "I know I'm not lazy" style optimzations. jonathan: are you aware of "Seq"? correct. I was thinking "I know I'm not lazy up to point XYZ" moritz: Seq Completely evaluated (hence immutable) sequence Hmm. jonathan: yes. though I thought that current List impl. is actually "Seq" (1,2,3) # actually a Seq? moritz: not exactly but I don't know if "Completely" also referrse to "recursively completely evaluated"? current List impl. is lazy about flattening at the moment. just not lazy about element generation ok, so it's somewhere in between % barney has joined #parrot I think that all Seq's are completely evaluated sequences, but not all completely evaluated sequences are Seq's % barney has left barney!~bernhard@dslb-084-058-167-186.pools.arcor-ip.net i.e., there's nothing that says that List cannot be completely evaluated. Sure. I'm curious if we should construct a Seq when we know we have something fully evaluated though. Or does the spec explicitly say that 1,2,3 forms a List rather than a Seq? I think it's actually more efficient to just keep it as a List. than to do the check. Fairy nuff. % gmansi has joined #parrot % clunker3 has left clunker3!~IRC@procura.xs4all.nl r28185 | jonathan++ | trunk: : [rakudo] Fix sleep. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28185 jonathan: can you do that to me too ? ;-) * jonathan sends moritz to bed moritz->sleep(8*3600) it's worth a try good night ;) eek! sleep() is now backwards. pmichaud: Huh? r28186 | pmichaud++ | trunk: : [rakudo]: : * A different version of sleep. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28186 is subname? Didn't know that one existed. just added it yesterday with name unary fixes. Oh. OK, I spent yesterday at a BBQ and watching euro 2008 games. I think it's more important to have &abs available than &prefix:abs, for example. Sure. that way when we eventually have $foo.sleep() it'll know to call sleep($foo) and not have to try to find prefix:sleep Makes sense. I also got complex numbers to work (sorta) > say 1i; 0+1i > say 1i*4i; -4+0i Nice Is i a postfix operator? % iblechbot has left iblechbot!~iblechbot@221.16-dial.augustakom.net yes that's how it's given in STD.pm, anyway :-) % tetragon has left tetragon!~seneca@69-196-141-26.dsl.teksavvy.com % Theory has joined #parrot % Zaba has joined #parrot % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.or.comcast.net % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru I got curious just how far Parrot's thread handling seems to be away from us being able to implement async in Rakudo. Seems, some way. :-| % tetragon has joined #parrot well, I think concurrency and exceptions are linked so, it's the pdd25cx branch that probably gives a better idea % paco has left paco!~chatzilla@139.Red-80-36-122.staticIP.rima-tde.net Yeah, I guessed that. Was as curious to look into the model and API Parrot exposes as anything. Wasn't really seeking a working implementation of async, just exploring. :-) right now I'm looking at exceptions, fail(), and eval(). I had got looking into fail in mind, and working out exactly how $! worked (seems to collect failures etc). But figured the branch was probably going to help with that. Or if I got on with other stuff, someone else would work on that. ;-) as best I understand it, fail just acts like return, but it has some side-effects Yeah. I think it's along the lines of, fail registers the exception in $! and returns it. It's an unthrown exception, as such. But $! keeps track of all the unthrown exceptions. I think it registers an exception in $!, and then returns a Failure object that references the exception. OK i.e., it doesn't return the exception itself. Yes, I think you're right. then $! is just a list of exceptions, thrown and unthrown sorry, handled and unhandled. Yes Doing a definedness check un an exception or calling .handled or something marks it handled or something like that. .defined or .true * jonathan as a slightly hazy memory of this bit of the spec. *has and any other "get the value" operation on a Failure throws any unhandled exception OK (otherwise it returns "false") *nod* Would be cool to have implemented, just not sure how much the branch will make it easier/change things, and how much it's worth waiting for. I plan to spend some of Thursday on roles. Hope to have the odd bit of evening time...keen to finish :instanceof(...) off. did you get to see my regression test history? No, not paid so much attention to backscroll this weekend... "pmichaud" at 76.183.97.54 pasted "Rakudo spectest regression history" (30 lines) at http://nopaste.snit.ch/13213 Nice. The more we can test the bits we've implemented so far, the more stability we can deliver to those playing with Rakudo. And the better outside impression people will get. correct. % slightlyoff has joined #parrot % Ivatar has left Ivatar!~graham@tu055.demon.co.uk % particle has left particle!~particle@c-98-232-7-104.hsd1.wa.comcast.net % Eevee has joined #parrot % Limbic_Region has joined #parrot % jjore is now known as zz_jjore % zz_jjore is now known as jjore % jisom has joined #parrot % teknomunk has joined #parrot % tetragon has left tetragon!~seneca@216.126.67.44 % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net % Whiteknight has joined #parrot % kid51 has joined #parrot % AndyA has left AndyA!~andy@82.152.157.85 there were 60 commits this weekend, it looks like that is, if you don't mind my technical jargon, a crapload % AndyA has joined #parrot I think it's good for a summer weekend where most of the USA is in a sweltering heatwave. % Zero_Yao has joined #parrot % bacek has joined #parrot % tetragon has joined #parrot yeah, i guess you're right. I spent much of the weekend indoors myself although i didn't do any coding r28187 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] updating to trunk 28186 diff: http://www.parrotvm.org/svn/parrot/revision?rev=28187 % purl has left purl!purl@sentient.life seen chromatic whoops Yes, purl has taken a leave of absence. is RT down? for that matter, is all of perl.org down? No I just got a refresh at rt.perl.org And I can ping www.perl.org I don't think purl is on perl.org, anyway. It's more likely on feather. I think purl's on hachi's machine. okay, i just got in to RT I'm pretty sure purl isn't on feather. purl's not on feather. % TonyC has joined #parrot r28188 | jkeenan++ | trunk: : Applying slightly edited version of patch submitted by Andy Bach in : http://rt.perl.org/rt3/Ticket/Display.html?id=52894: utilize File::Temp to : create tmp file for testing presence of perldoc. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28188 % Eevee has left Eevee!~eevee@c-67-160-3-54.hsd1.wa.comcast.net % tetragon has left tetragon!~seneca@216.126.67.44 % TiMBuS has joined #parrot % tetragon has joined #parrot How do I use headerizer to copy all function prototypes to a header file? or is that supposed to happen automatically, from the build? % Zaba_ has joined #parrot % tetragon has left tetragon!~seneca@gw-312-705.somanetworks.com % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru anybody here know anything about Configure.pl or the makefile? Whiteknight: I am more or less a maintainer of Configure.pl. makefile is area I know only a little about. Questions? % jimk has joined #parrot * jimk was disconnected by heat lightning! * jimk nods at #parrot and gives him a small kipper % jimk has left jimk!~jkeen@pool-71-247-43-185.nycmny.east.verizon.net % kid51 has left kid51!~jkeen@pool-70-107-9-2.ny325.east.verizon.net % kid51 has joined #parrot r28189 | chromatic++ | trunk: : [encodings] Documented all functions in src/encodings/*.c. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28189 % jimk has joined #parrot r28190 | chromatic++ | trunk: : [src] Improved parameter passing documentation, especially for interpreter data : structures (Bram Geron, RT #46593). diff: http://www.parrotvm.org/svn/parrot/revision?rev=28190 % kid51 has left kid51!~jkeen@pool-71-247-43-185.nycmny.east.verizon.net % tetragon has joined #parrot I almost have class definition working in cardinal. I'm just running into some weird problems with instantiating classes. I'm now checking online to try to figure out what exactly the semantics are that I need. % jimk has left jimk!~jkeen@68.237.14.167 % teknomunk has left teknomunk!~teknomunk@r74-195-239-111.stl1cmta01.stwrok.ok.dh.suddenlink.net Looks like there's something weird about assigning to attribute vars, too that I should work out. % teknomunk has joined #parrot % Ademan has left Ademan!~dan@c-71-198-30-70.hsd1.ca.comcast.net % Ademan_ has left Ademan_!~dan@c-71-198-30-70.hsd1.ca.comcast.net pmichaud: ping % teknomunk has left teknomunk!~teknomunk@r74-195-239-111.stl1cmta01.stwrok.ok.dh.suddenlink.net % teknomunk has joined #parrot % teknomunk has left teknomunk!~teknomunk@r74-195-239-111.stl1cmta01.stwrok.ok.dh.suddenlink.net % teknomunk has joined #parrot % teknomunk has left teknomunk!~teknomunk@r74-195-239-111.stl1cmta01.stwrok.ok.dh.suddenlink.net % slightlyoff has left slightlyoff!~slightlyo@204.14.154.209 % teknomunk has joined #parrot r28191 | tene++ | trunk: : [cardinal] : * Beginning of class definition support : * 'self' implemented : * attribute vars work inside of methods diff: http://www.parrotvm.org/svn/parrot/revision?rev=28191 That was a fun commit to build. r28192 | tene++ | trunk: : Fix svn metadata. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28192 % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % teknomunk_ has joined #parrot % teknomunk has left teknomunk!~teknomunk@r74-195-239-111.stl1cmta01.stwrok.ok.dh.suddenlink.net % Theory has joined #parrot % teknomunk_ has left teknomunk_!~teknomunk@r74-195-239-111.stl1cmta01.stwrok.ok.dh.suddenlink.net % teknomunk_ has joined #parrot % teknomunk_ has left teknomunk_!~teknomunk@r74-195-239-111.stl1cmta01.stwrok.ok.dh.suddenlink.net % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % zarchne has left zarchne!~michael@209.40.67.38 tene: pong % TonyC has left TonyC!~tony@202-154-105-237.people.net.au % nopaste has left nopaste!~opaste@202-154-105-237.people.net.au % acmoore has left acmoore!~acm@CPE-65-26-82-45.kc.res.rr.com afk # sleep % Ademan has joined #parrot pmichaud: figured it out. % masak has joined #parrot % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.or.comcast.net % Zaba has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % tetragon has left tetragon!~seneca@gw-312-705.somanetworks.com perl6: my Int $foo; say (try{$foo='xyz'}) ~~ undef; WW % grim_fandango has joined #parrot Hey, I downloaded Parrot for the first time today. Is it OK to have failed tests? shouldn't occur which OS and architecture are you on? Umm.. lemme check Ubuntu on x86_64 seems fairly standard please report test failures to parrotbug@perl.org Lemme paste the error. http://pastie.org/211340 How? Just send a mail? there's a "parrotbug" utility in the parrot tree at top level oh wait, no need to report that it's "only" a coding standard test Indeed there is. which means it will probably be fixed anyway nothing platform dependant and shouldn't affect parrot's stability on your system either moritz, no, it isn't. It's 'spawn' faileru failure So, do I report it or not? bacek: oh, you're right * moritz doesn't have his wits together cizra: yes, please. *nod* cizra: and ignore everything else I might say today ;) OK * moritz has a huge test in 3hrs, can't get any sleep anymore, and is totally nervous Umm.. The category is "core", right? thinks so Severity? critical high medium low wishlist none medium * bacek send moritz bottle of vodka for relaxation good idea: relaxing prior to exams. Bad idea: being drunk during exam. bacek: anyway, I apreciate your care for me ;) How do I figure out which version of glibc I have? moritz, sometime I've just drink with teachers instead of exams :) dpkg -i libc6 (debian based distributions)++ cizra, sorry, wrong command *nod* I got it So, what else? apt-cache show libc6 cizra, drink vodka with moritz :) cizra: output of the test itself... I don't drink. cizra, can you run 'prove --verbose t/op/spawnw.t'? It will output more info cizra, moritz doesn't drikn too. At least now :) bacek: actually I only drink very seldom at all ;) All tests successful. I don't drink, ever and ever. Aha I think I nailed the bug. How do I update my bug report? The test fails when LC_ALL and/or LANG are set. did you sent it already? yep you'll get an email shortly with a bug id just reply to that email Right. cizra++ # investing time in bug reports \o/ karma cizra (where's that karma bot when you need it?) purl-- # being absent cizra++ # we might not know the position, but we sure know the momentum mmd-- # it suck all the time... bacek: please explain if it's so bad, don't use it masak: see #perl6. rakudo fails to smartmatch because of mmd issues I see masak, I can't stop use it... isn't that just rakudo being bad atm? ISTR that smartmatch is one of the few cases that shouldn't use MMD at all masak: I think that parrot and perl 6 partly disagree on how MMD should behave that sounds very strange masak: I didn't understand the second one. moritz: wouldn't smartmatch be the most benefitting operator for smartmatch there ever was? cizra: the one about momentum? just trying to make an oblique reference to Scrodinger's uncertainty principle Oh. Also, it's Schrödinger (= Scrödinger. right masak: dunno. Just reed S03:2771 ff moritz: oki You still missed the 'h' :-p cizra: sorry it's early in the morning :) Schrödinger ...of course actually I got it wrong - it does seem to use mmd, but it's allowed to assume that no aditional candidates will be defined at run time that's a relief otherwise I would have lost a sizeable bit of faith in mmd, actually Hmm. I think I replied to that bug, but nothing happened on the perlbug tracker. "yeah, well, we decided not to use it for smartmatch" cizra: perl.org mail server are a bit slow sometimes OK * Tene glad to see cizra hanging out here \o/ % barney has joined #parrot % Psyche^ has joined #parrot % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1167934364.dsl.bell.ca % barney has left barney!~bernhard@dslb-084-058-167-186.pools.arcor-ip.net * cizra hangs out here.. hangs.. sways slightly with the wind.. gets a post-hanging erection.. % Patterner has left Patterner!~Psyche@e177231062.adsl.alicedsl.de % Psyche^ is now known as Patterner % uniejo has joined #parrot % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru Tene: Ooh. Cardinal has an irb mockup. It doesn't apparently support readline, though. eh? howso? ../../parrot cardinal.pbc, then type in some code and hit enetr. Then press up arrow on keyboard. works for me Real irb gets the previous command. This one shows some escape characters. you maybe compiled parrot without readline support Perhaps. Hmm, no support for blocks.. hm? blocks? {|i| puts i} is that the same as do ... end? no Hm, yes Yes, it is identical? no semantic difference? there is What's the difference? Blocks can be passed into functions lemme give you an example 0.upto(5) {|i| puts i } .. which also can be written as 0.upto(5) do |i| puts i done whoops, end so it's a lambda? looks a lot like perl 6 pointy blocks I'm not sure. Sure sounds similar. yes, they are the same. Beware of http://samdanielson.com/2007/3/19/proc-new-vs-lambda-in-ruby this distinction cizra's url is at http://xrl.us/bmqa6 Hm. ah, that's very similar to perl 6 again ;) return() returns from something which a 'sub' or 'method' or 'marcro' keyword r28193 | tene++ | trunk: : [cardinal] : * add {} syntax for blocks # cizra++ diff: http://www.parrotvm.org/svn/parrot/revision?rev=28193 speaking of which, does rakudo implement return yet? masak: no. :/ masak: blocking on exceptions implementation oh. I thought exceptions were implemented in parrot masak: there are "working" exceptions, but they're not compliant with the current spec