Camelia, the Perl 6 bug

IRC log for #parrot, 2010-04-28

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:03 smash allison: where are you storing the debian packages ?
00:03 allison smash: http://pub.lohutok.net/parrot
00:04 smash allison: what's wrong with http://alioth.debian.org/projects/pkg-parrot/ ?
00:05 smash (and that's where the link for 'debian packages' still in parrot.org)
00:05 allison smash: that's for package distribution, i.e. packages that won't go in one of the primary Debian distros
00:06 allison smash: mine is just a temporary location for our sponsors to pull files from
00:06 allison that is, they actually get stored in http://packages.debian.org/search?keywords=parrot
00:07 smash i'm lost
00:08 allison smash: they're stored in the debian package archive, and copied to every debian mirror
00:08 allison smash: so, the downloads page should be pointing to debian
00:09 smash allison: how do they get into the debian package archive ?
00:09 allison smash: not to the developer pages on alioth
00:09 allison smash: I send a message to our sponsors and they upload them
00:09 allison smash: alioth doesn't have anything to do with the main debian package archive
00:10 smash can i change the link on parrot.org then ?
00:11 * Coke ponders checking a macport of 2.3.0
00:11 allison smash: yes, please do :)
00:11 eternaleye joined #parrot
00:14 smash allison: done
00:14 allison smash: thanks!
00:19 smash right, i'm off
00:19 * smash wavez.
00:19 plobsing every time I look at imcc I wonder why it's not segfaulting constantly
00:19 chromatic Because I fixed most of those.
00:20 plobsing yes, but it still *looks* like it deserves to segfault in a bunch of places
00:21 chromatic ... and leak memory, and offer worse-than-quadratic performance, and....
00:22 Coke anyone here use ubuntu?
00:22 chromatic I do.
00:22 Coke +1?
00:22 purl -1
00:22 Coke (looking at a dell laptop, can get it preinstalled.)
00:22 darbelo What are the alternatives?
00:22 purl the alternatives are worse
00:23 Coke ubuntu and windows 7.
00:23 chromatic Ha ha!  No, seriously.  What's the alternative to Ubuntu on that machine?
00:23 Coke I could be vaguely productive with w7.
00:24 Coke Just wondering if ubuntu is ok. Been a while since I've used linux for day to day and had to manage the box.
00:24 chromatic That depends on what you do and what you need.
00:24 cotto_work Win7 isn't too bad with a decent virtual desktop manager.
00:25 s1n Coke: i bought a dell mini 10, came with ubuntu, seemed okay, so i installed arch over it
00:25 Austin Bah. Just buy more monitors. It's what I do.
00:26 Coke chromatic: barring something surprising, it'll probably be for websurfing and hacking on parrot.
00:26 Coke s1n: how's the keyboard on the mini10?
00:27 Austin Sweet. See if you can get VS2k8 to build parrot, eh?
00:27 chromatic Coke, you should have no trouble.
00:27 Coke sweet.
00:27 Coke (crap, yapc just got about twice as expensive. :P)
00:27 cotto_work how so?
00:27 cotto_work work thing?
00:28 Coke ... because now I'm buying a laptop.
00:28 Austin Business expense - gotta buy the laptop for the conference...
00:28 Austin :)
00:28 darbelo Austin: We do, if you configure with Activestate perl. Or that's what I heard last time we broke the VS build.
00:28 Coke yah, my work doesn't pay for anything perl related.
00:28 s1n Coke: it's a bit cramped, but i like it
00:28 s1n Coke: after using the mini10 for 6 months, i can't imagine using a regular laptop
00:29 s1n my wife has a 13" inspiron and the thing feels like a monster
00:29 Austin Heh
00:29 Austin Why would anybody need more than 640k?
00:30 s1n 2 downsides: trackpad is ultra sensitive, and the 6cell extends underneath, not back
00:30 s1n Austin: you think differently when there are no moving parts and you use it in a vehicle ride to work :/
00:30 Coke 6cell?
00:31 Austin Coke: battery
00:31 s1n Coke: yeah, i bought the 6 cell battery
00:31 Coke last laptop I bought (not gifted by work) was a 17" aluminum monster from apple.
00:31 s1n it's a bit bigger than i thought, but i get like 8 hours battery life
00:31 s1n lol
00:31 s1n this will feel like a phone compared to the apple giants
00:31 Austin s1n:  Who was it as the PVMW last year that had a laptop the size of a whiteboard?
00:32 s1n Austin: i dunno, was it a mac?
00:32 s1n lol
00:32 s1n (what's the point of a laptop if it's bigger than a desktop?)
00:32 Austin I think it was an hp, but the first time I saw it I thought he'd brought an artists sketchpad..
00:33 s1n hmm i don't remember that
00:34 Austin Yeah, we should have had some more photos taken. Cotto++ got some good pics at the end, but everyone was too involved during the early bits..
00:35 * Coke ponders compilation on a netbook.
00:38 Whiteknight Coke: I used to have an EEE as my primary work computer
00:38 Whiteknight and I ran visual studio on that hog
00:38 Coke EEE?
00:38 purl somebody said EEE was gone, and I've had to work in two many teams that needed a DBA but didn't have one or http://en.wikipedia.org/wiki/ASUS_Eee_PC
00:39 Whiteknight my point is, if you're a patient man, you can run anything you need on it
00:39 Whiteknight but I'll be damned if any multitasking happens
00:39 Coke heh.
00:39 Austin Oh, please.
00:40 Austin VS is compiling, you're getting coffee. That's two totally different tasks right there.
00:40 Whiteknight I don't drink coffee
00:40 Whiteknight I watched the progress bar slowly tick upwards
00:40 chromatic I remember when I didn't have any hobbies either.
00:41 darbelo Still two things happening ;)
00:42 Whiteknight anyway, long story short I told my boss it was an unacceptable work PC, and now I have a 2-point-something gigawhatever dual-core monster
00:42 allison Coke: I've got a dell netbook, came pre-installed with ubuntu
00:43 Austin Yeah, my neighbor's graphics card has more mips than my laptop..
00:44 allison Coke: I installed a more recent version than dell shipped, though
00:44 allison Coke:  they've worked hard to make ubuntu easy to use
00:48 dalek parrot: r46085 | plobsing++ | branches/pbc_frozen_strings1/t/native_pbc (4 files):
00:48 dalek parrot: native_pbc platform updates
00:48 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46085/
00:55 abqar joined #parrot
01:04 dalek parrot: r46086 | plobsing++ | trunk/tools/dev/mk_native_pbc:
01:04 dalek parrot: fix echo line to give a correctly quoted command
01:04 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46086/
01:04 dalek parrot: r46087 | plobsing++ | branches/pbc_frozen_strings1 (6 files):
01:04 dalek parrot: add Parrot_freeze_strings to wrap ImageIOStrings PMC calls
01:04 dalek parrot: also manifest_and_skip + svn prop updatess
01:04 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46087/
01:07 allison sorear: are you here?
01:07 purl Yes, I am, allison.
01:09 plobsing purl, are you sorear?
01:09 purl i don't know, plobsing
01:10 GeJ bacek: ping
01:10 kid51 joined #parrot
01:11 sorear allison: yes, I'm here
01:12 allison sorear: what do you mean by GC ordering? Ordered destruction?
01:14 GeJ make codetest fails on trunk. The reason seems to be that examples/benchmarks/stress_strings.pir has been checked in without 'eol-style' and 'keywords' props.
01:16 sorear allison: yes
01:17 kid51 GeJ:  I'll take a look.
01:18 allison sorear: it's on the list for sometime next year, but we haven't hashed out the details yet
01:18 kid51 GeJ:  svn up and see if it passes tests now
01:19 * kid51 hasn't tested yet
01:20 dalek parrot: r46088 | jkeenan++ | trunk/examples/benchmarks/stress_strings.pir:
01:20 dalek parrot: Set SVN properties.
01:20 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46088/
01:21 Whiteknight I'm really not sure how ordered destruction is going to work in parrot
01:21 Whiteknight every PMC might need a cache of children that must be destroyed before it is
01:22 * kid51 sings:  Don't ya know we're on the eve of destruction?
01:22 GeJ kid51: t/distro/file_metadata.t ....... ok   looks good.
01:22 Whiteknight or, have a "dependent parent" role, and any PMC which implements that role has such a cache
01:23 Whiteknight we could switch to a generational GC and hope that all parent PMCs filter up to older generations, but that's no guarantee by a longshot without additional safeguards
01:24 Whiteknight a two-tier generations system, one with "independent" objects and the other with "dependent" objects would help, but then we could only have two-level dependency hierarchies
01:26 bacek_at_work GeJ, pong (quietly)
01:27 allison Whiteknight: from the parrot perspective, it's a matter of storing metadata about dependent objects
01:28 allison Whiteknight: the default is always independent, with dependent objects needing to be marked
01:29 Whiteknight allison: yeah, that's what I'm thinking. We need a better system of metadata
01:29 GeJ bacek_at_work: nah, I was pinging you about a file stress_strings.pir that you had checked in earlier without setting the svn props. kid51 took care of it.
01:29 Whiteknight and we need to standardize on a set of predefined metadata keys that we use consistently and all parts of the system understand
01:29 bacek_at_work GeJ, svn? Never heard about it :)
01:29 GeJ :)
01:31 GeJ new codetest failure (that must be recent since I didn't have it on my previous run) : t/oo/methods.t has a trailing space on line 137.
01:32 GeJ with this one fixed, make codetest passes on trunk at r46088
01:37 dalek parrot: r46089 | jkeenan++ | trunk/t/oo/methods.t:
01:37 dalek parrot: Fix trailing whitespace. GeJ++.
01:37 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46089/
01:37 GeJ thanks James.
01:41 allison jnthn/chromatic: I've got a patch that fixes jonathan's test case and passes all tests
01:41 allison jnthn/chromatic: it's pretty small, so I'll go ahead and commit it
01:42 allison jnthn/chromatic: it still looks in the main namespace if the method isn't found in the class or the method cache, because it looks like C methods are still being stored in the namespace
01:43 allison jnthn/chromatic: I'll work on digging that one out tomorrow
01:46 allison Coke: where did you add that test, so I can un-todo it?
01:51 chromatic joined #parrot
01:51 allison Coke: found it in the ticket: t/oo/methods.t (thanks)
01:53 dalek parrot: r46090 | plobsing++ | branches/pbc_frozen_strings1/compilers/imcc/pbc.c:
01:53 dalek parrot: move storing subs in PBC until *after* it is fully created
01:53 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46090/
01:53 dalek parrot: r46091 | plobsing++ | branches/pbc_frozen_strings1​/src/pmc/imageiostrings.pmc:
01:53 dalek parrot: fix linelength
01:53 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46091/
01:55 FullMetalHarlot joined #parrot
01:58 Psyche^ joined #parrot
02:06 snarkyboojum joined #parrot
02:08 cotto I've got that syncing feeling.
02:08 cotto svn--
02:10 Andy joined #parrot
02:17 GeJ in make examples_test, I have several errors complaining about opcodes not found (mostly in the substr_* family and one bors_s_s). Doest that ring any bell to anybody?
02:19 GeJ Also I needed to regenerate MANIFEST.SKIP for manifest_tests to pass.
02:19 kid51 Gej: re manifest_tests:  You did exactly what's needed.
02:21 JimmyZ joined #parrot
02:22 JimmyZ messages
02:23 nopaste "kid51" at 192.168.1.3 pasted "Failing tests in t/examples/" (1247 lines) at http://nopaste.snit.ch/20389
02:25 JimmyZ msg Coke ID is jimmy, as what cotto said.
02:25 purl Message for coke stored.
02:26 dalek parrot: r46092 | allison++ | trunk (3 files):
02:26 dalek parrot: [oo] Fix method lookup on low-level PMCs so they find methods in the
02:26 dalek parrot: method cache and in the class/proxy object. See TT #1596.
02:26 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46092/
02:26 dalek parrot: r46093 | jkeenan++ | trunk/MANIFEST.SKIP:
02:26 dalek parrot: Regenerated per post by GeJ++.
02:26 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46093/
02:27 ttbot Parrot trunk/ r46092 i386-freebsd-64int make error http://tt.taptinder.org/file/cmdout/285080.txt ( http://tt.taptinder.org//bui​ldstatus/pr-Parrot/rp-trunk/ )
02:27 JimmyZ msg cotto, that patch doesn't work, it was failed with Malformed UTF-8 string instead of Malformed string now.
02:27 purl Sorry, I've never seen cotto, before.
02:28 cotto hi
02:30 JimmyZ hello
02:30 kid51 JimmyZ:  When using purl's 'msg', don't put a comma after the name of the person you are contacting
02:30 JimmyZ kid51: thanks, my typo
02:30 kid51 np
02:31 kid51 purl hasn't been taught to strip the trailing comma
02:31 purl kid51: huh?
02:32 cotto kid51, what svn version are you running
02:32 cotto I get a different MANIFEST.skip
02:32 kid51 cotto:  Will check once this smolder finishes
02:32 cotto ko
02:32 cotto ok
02:33 * kid51 waits for Smolder upload
02:33 * kid51 suspects he's running with whatever came with Debian stable (for some definition of 'stable')
02:34 cotto "old and moldy"
02:34 kid51 On Darwin/PPC, version 1.6.3 -- but that's not where I regenerated from
02:34 kid51 On Linux/i386: version 1.5.1
02:35 Coke .
02:35 kid51 cotto:  That difference might be worth a TT.
02:36 Coke JimmyZ: what about the userid zhuomingliang ?
02:36 cotto It might be his evil twin.
02:36 cotto Better kill him just to be safe.
02:38 kid51 cotto: subversion 1.5.1 is "latest" for Debian Lenny
02:40 kid51 cotto:  However, when, on my Darwin/PPC, I first 'svn up' and then run tools/dev/mk_manifest_and_skip.pl, I get no change in MANIFEST.SKIP
02:40 Coke jimmy, cotto : privs should be set now.
02:40 kid51 So Subversion 1.6.3 doesn't find anything to change, at least for me, in SKIP
02:41 cotto odd.  1.5.4 does.
02:42 cotto nm.  stale svn crap
02:42 Coke is there a diff somewhere to show what's changign?
02:42 Coke (mine has nothing to change either, 1.6.5)
02:42 cotto I blew away tools/, svn up'd and it's back to normal
02:42 dalek parrot: r46094 | plobsing++ | branches/pbc_frozen_strings1 (2 files):
02:42 dalek parrot: rearrange to store sub pmcs' strings in pbc
02:42 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46094/
02:42 cotto Can it be git time now please?
02:43 JimmyZ Coke there was an id, jimmy
02:44 * kid51 must sleep
02:44 purl $kid51->sleep(8 * 3600);
02:44 cotto JimmyZ, I'll be your mentor.  de facto that doesn't mean I'll actually need to do a whole lot but if you have any questions, I'll be glad to answer them for you.
02:45 JimmyZ cotto: ok, thanks.
02:45 cotto I'll also be reviewing your commits for a while while you get used to your newfound powers.
02:45 cotto np
02:45 JimmyZ eyes welcome :)
02:46 * cotto stares at JimmyZ
02:46 JimmyZ :)
02:47 cotto :
02:48 * JimmyZ is listening jnthn's music.
02:48 janus joined #parrot
02:53 Coke JimmyZ: yah, I gave privs to jimmy; I'mm saying there's another id that looks like it might have been yours.
02:53 JimmyZ which is another id?
02:54 Coke zhuomingliang ?
02:58 JimmyZ ah, It's me! I didn't use it at all.
03:01 Coke ok. I'll kill that account, then.
03:01 snarkyboojum joined #parrot
03:02 JimmyZ thanks.
03:06 chromatic Look at plobsing go.
03:07 JimmyZ there is a bug in trac?
03:08 JimmyZ I can't download http://trac.parrot.org/parrot/raw-at​tachment/ticket/1595/TT%231595.patch
03:11 sorear What is JimmyZ's GSoC task?
03:11 JimmyZ sorear: I have no GSoC task.
03:11 sorear chromatic: Does Rakudo work now on trunk?
03:12 sorear wait
03:12 sorear wrong person
03:14 dalek parrot: r46095 | mikehh++ | trunk/src/oo.c:
03:15 dalek parrot: fix codetest failure - tabs in leading whitespace
03:15 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46095/
03:15 dalek parrot: r46096 | mikehh++ | trunk/src/pmc/namespace.pmc:
03:15 dalek parrot: fix codetest failure - tabs in leading whitespace
03:15 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46096/
03:20 chromatic sorear, I think it might.
03:23 sorear I suppose I could check.
03:23 sorear Building Rakudo takes 12 minutes now, not 12 hours
03:23 ttbot Parrot trunk/ r46096 MSWin32-x86-multi-thread make error http://tt.taptinder.org/file/cmdout/285199.txt ( http://tt.taptinder.org//bui​ldstatus/pr-Parrot/rp-trunk/ )
03:23 sorear chromatic++ leak huntng
03:23 Coke might need the immutable strings branch, not master.
03:25 chromatic Yes, I'm sure that's also the case.
03:28 JimmyZ ===SORRY!===I'm missing some needed files from the Parrot installation:  E:/rakudo/parrot_install/lib/2.​3.0-devel/languages/nqp/nqp.pb
03:28 JimmyZ sorear: rakudo doesn't build with trunk
03:29 chromatic I fixed that in Rakudo's immutable_strings branch.
03:31 dalek parrot: r46097 | cotto++ | branches/ops_pct (744 files):
03:31 dalek parrot: sync branch with trunk plus some fixes to fix the build
03:31 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46097/
03:31 dalek parrot: r46098 | petdance++ | trunk (2 files):
03:31 dalek parrot: consting more input STRINGs
03:31 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46098/
03:31 dalek parrot: r46099 | cotto++ | branches/ops_pct/ext/nqp-rx/src/gen/settings.pm:
03:31 dalek parrot: [ext] update settings.pm for immutable strings
03:31 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46099/
03:39 JimmyZ still failed , with Null PMC access in setprop()
03:42 bacek_at_work cotto, I can give you commit bit to my nqp-rx fork (which is "upstream" for NQP settings)
03:43 cotto I didn't know you had one.
03:43 cotto It's a tiny change either way
03:47 bacek_at_work Just not to miss it :)
03:48 dalek parrot: r46100 | jimmy++ | trunk/compilers/pct/src/PAST/Compiler.pir:
03:48 dalek parrot: Replace deprecated in-place substr ops
03:48 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46100/
03:48 bacek_at_work cotto, your github id is "cotto"?
03:48 cotto yup
03:49 bacek_at_work done
03:49 bacek_at_work Jimmy++ # welcome aboard!
03:50 JimmyZ bacek_at_work: thanks.
03:50 bacek_at_work JimmyZ, put yourself into ./CREDITS. You can also setup aliases for Jimmy <=> jimmyz
03:50 JimmyZ will do
03:50 bacek_at_work Ah. You already there.
03:51 bacek_at_work JimmyZ, may be you need "U" field. Check with Infinoid how dalek handles it.
03:52 JimmyZ bacek_at_work: Thanks.
03:52 Andy joined #parrot
04:00 sorear Is it considered a bug that NQP doesn't handle closures by default?
04:01 cotto bacek_at_work, what's the purpose for your fork?
04:04 dalek parrot: r46101 | jimmy++ | trunk/CREDITS:
04:04 dalek parrot: update my CREDITS
04:04 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46101/
04:09 bacek_at_work cotto,play with settings
04:12 cotto looks like it's been a while since th last update
04:13 bacek_at_work yes.
04:13 bacek_at_work But settings was enough for ops_pct
04:20 dalek parrot: r46102 | mikehh++ | trunk/examples/pir/quine_ord.pir:
04:20 dalek parrot: replace/modify in-place string ops and regenerate data section
04:20 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46102/
04:21 mikehh phew - finally got examples/pir/quine_ord.pir to work - took a bit of fiddling
04:23 ttbot Parrot trunk/ r46101 i386-freebsd-64int make error http://tt.taptinder.org/file/cmdout/285392.txt ( http://tt.taptinder.org//bui​ldstatus/pr-Parrot/rp-trunk/ )
04:23 mikehh now there is a failure in t/examples/tutorial.t and some problems in the docs/book/pir/ch04_variables.pod
04:36 dalek parrot: r46103 | jimmy++ | trunk/examples (4 files):
04:36 dalek parrot: replace/modify in-place string ops
04:36 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46103/
04:37 davidfetter joined #parrot
04:39 snarkyboojum joined #parrot
04:46 plobsing arg, found a GC bug
04:46 plobsing src/gc/gc_ms.c:1623, ptr = 0x9
05:01 rurban joined #parrot
05:42 dalek parrot: r46104 | cotto++ | branches/ops_pct/compilers/opsc (2 files):
05:42 dalek parrot: [opsc] get tests Ops::File tests passing, not sure why _set_version needed to be moved
05:42 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46104/
05:58 uniejo joined #parrot
06:06 japhb joined #parrot
06:15 dalek parrot: r46105 | jimmy++ | trunk/examples/pir (4 files):
06:15 dalek parrot: replace/modify in-place string ops
06:15 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46105/
06:23 viklund joined #parrot
06:28 fperrad joined #parrot
06:28 fperrad_ joined #parrot
06:31 ttbot Parrot trunk/ r46105 i386-freebsd-64int make error http://tt.taptinder.org/file/cmdout/285622.txt ( http://tt.taptinder.org//bui​ldstatus/pr-Parrot/rp-trunk/ )
06:55 JimmyZ_ joined #parrot
07:01 aukjan joined #parrot
07:01 fperrad ping bacek
07:16 gaz joined #parrot
07:21 lucian joined #parrot
07:38 iblechbot joined #parrot
07:44 iblechbot joined #parrot
08:26 dalek parrot: r46106 | fperrad++ | trunk/runtime/parrot/library/TAP (2 files):
08:26 dalek parrot: [TAP] typo
08:26 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46106/
08:35 ttbot Parrot trunk/ r46106 i386-freebsd-64int make error http://tt.taptinder.org/file/cmdout/285834.txt ( http://tt.taptinder.org//bui​ldstatus/pr-Parrot/rp-trunk/ )
08:37 moritz msg chromatic (book) re argument vs parameter, a parameter is what appears in the signature, and an argument is what's bound to a parameter. The spec uses it consistently, and so should we. I've tried to stick to that so far
08:37 purl Message for chromatic stored.
08:37 kurahaupo joined #parrot
08:43 muixirt joined #parrot
08:53 dalek TT #1595 closed by jimmy++: [PATCH][PCT]removed deprecated in-place ops
08:53 dalek TT #1595: http://trac.parrot.org/parrot/ticket/1595
08:55 muixirt ping bacek
08:56 JimmyZ I guess bacek_at_work
08:57 muixirt is it save to replace substr_s_ic_ic_sc with the new replace opcode?
08:59 JimmyZ yes
09:00 muixirt thanks JimmyZ
09:03 * bacek arrives in flames and smoke
09:03 bacek muixirt, yes, as JimmyZ said :)
09:03 bacek fperrad, pong
09:03 muixirt ok bacek
09:04 bacek muixirt, it's not in-place, so signature is replace_s_s_i_i_s
09:04 fperrad bacek, could you verify my last commits on Lua ?
09:04 fperrad still have one segfault, see http://smolder.plusthree.com/ap​p/projects/tap_stream/33515/54
09:05 bacek fperrad, pulling
09:05 bacek fperrad, last 3?
09:06 fperrad bacek, yes
09:06 bacek fperrad, looks all right...
09:07 bacek may be you found bug in parrot (as usual :)
09:09 fperrad bacek, the easy way to reproduce last segfault is :
09:09 fperrad $ parrot test_lex.pir string.txt
09:09 fperrad with (extract of test_string() in t/test_lex.t)
09:09 fperrad $ cat string.txt
09:09 fperrad 'alo\n123"'
09:09 fperrad "alo\n123\""
09:09 fperrad '\97lo\10\04923"'
09:11 bacek It doesn't segfault in test_lex.pir...
09:11 bacek But it does from setup.pir test
09:12 fperrad try
09:12 fperrad $ parrot t/test_lex.t
09:13 bacek got "shell"
09:13 bacek n, sorry
09:13 bacek segfault
09:13 purl segfault is probably http://xkcd.com/371/ or nice
09:17 fperrad bacek, i try to find which line segfaults, alone each line is ok, the segfault appears only with the 3 lines
09:27 bacek fperrad, niiiice.
09:28 bacek segfault in Scalar.i_concatenate
09:30 bacek i_concatenate_str actually.
09:33 bacek #1  0xb7dccca1 in Parrot_str_concat (interp=0x8051040, a=0x8142730, b=0x81af350) at src/string/api.c:470
09:33 bacek 470    mem_sys_memcopy((void *)((ptrcast_t)dest->strstart + a->bufused),
09:33 bacek (gdb) p *a
09:33 bacek $2 = {flags = 131328, _bufstart = 0xb6827950, _buflen = 76,
09:33 bacek strstart = 0xb6827950 "This compiler is built with the Parrot Compiler Toolkit, parrot revision ",
09:33 bacek bufused = 73, strlen = 73, hashval = 0, encoding = 0x8071dc8, charset = 0x8071f28}
09:33 bacek (gdb) p *b
09:33 bacek $3 = {flags = 405760, _bufstart = 0xb687f2d4, _buflen = 5,
09:33 bacek strstart = 0xb687f2d4 <Address 0xb687f2d4 out of bounds>, bufused = 5, strlen = 5, hashval = 0,
09:33 bacek encoding = 0x8071dc8, charset = 0x8071f28}
09:33 bacek yak...
09:34 JimmyZ somebody may interests A Generational Mostly-concurrent Garbage Collector http://research.sun.com/tech​rep/2000/smli_tr-2000-88.pdf
09:34 moritz .oO( we don't even run user code in parallel yet ... )
09:40 bacek fperrad, I have a serious question...
09:40 bacek How you manage to find such a errors???
09:41 bacek 1. str_concat invokes new_string_header.
09:41 bacek 2. Which triggers GC
09:42 bacek 3. Which move buffers
09:42 bacek 4. Which kills arguments passed to str_concat.
09:42 * bacek banging head against table...
09:44 bacek HOW IT EVEN WORKED FOR LAST 10 YEARS???
09:55 fperrad bacek, I do nothing, it's the power of a large test suite
09:56 * moritz wonders if rakudo will find new segfaults once it runs on parrot HEAD again
09:56 bakkdoor joined #parrot
09:58 JimmyZ rakudo still failed with NULL acesss setprop
10:01 iblechbot joined #parrot
10:05 muixirt is someone working on fixing nqp-rx wrt to deprecated string ops?
10:08 JimmyZ muixirt: no one, I think
10:09 muixirt sorry for being confused. what's the staus of parrot-nqp?
10:10 moritz it passed its test suite last I looked
10:11 muixirt moritz: which test suite?
10:12 moritz muixirt: the nqp-rx test suite
10:13 muixirt does any of the parrot makefile target run the nqp-rx test suite?
10:15 moritz dunno
10:16 JimmyZ muixirt: nqp-rx has its makefile
10:17 muixirt so nqp-rx in parrot trunk is fixed but not the github nqp-rx
10:22 moritz did somebody fix the generated code in the parrot repo?
10:22 moritz that feels slightly insane to me :-)
10:28 bacek moritz, o/
10:29 bacek I actually did it :)
10:29 * moritz sighs
10:30 Andy joined #parrot
10:30 muixirt so does nqp in parrot/ext/nqp-rx run the test suite successfully?
10:32 bacek moritz, I can create patch for "upstream". But I'm not sure which version nqp-rx following - 2.3 or trunk
10:33 moritz bacek: trunk... with 2.3 nqp-rx worked fine without patches
10:33 bacek moritz, it was ages ago :) No we have immutable strings and quite few deprecated ops.
10:33 muixirt sorry for being dumb, but how do i run the *nqp* test suite for the nqp version in parrot trunk?
10:34 moritz muixirt: the normal workflow is to run the tests in the nqp-rx repo, and if they pass the generated code is pushed to parrot
10:35 * muixirt tried in parrot/ext/nqp-rx: prove -r --exec ../../parrot ./t/p6regex/01-regex.t
10:35 moritz muixirt: and since nobody is supposed to change the generated code, there's no need to re-run the test suite in parrot
10:36 moritz lunch&
10:36 muixirt i naively tried to fix nqp-rx (github version) but the tests fail :-(
10:37 muixirt t/p6regex/01-regex.t to be precise
10:37 JimmyZ muixirt: that test should be removed deprecated ops
10:38 JimmyZ muixirt: I mean, deprecated ops should be removed in that file
10:39 muixirt JimmyZ: i did and it can be compiled, but the test itself fails
10:42 aukjan joined #parrot
10:42 bacek fperrad, someone owe you a beer...
10:42 bacek And me as well...
10:43 muixirt so if no one say otherwise i presume parrot-nqp in parrot trunk is buggy
10:45 bacek muixirt, it's not.
10:47 muixirt bacek how did you run the nqp test suite for parrot-nqp?
10:47 bacek muixirt, I didn't. But testsuite in nqp-rx require update for current trunk.
10:48 bacek And yes, I updated generated files for nqp-rx
11:06 nopaste "muixirt" at 192.168.1.3 pasted "nqp-rx test failure (for bacek)" (97 lines) at http://nopaste.snit.ch/20390
11:14 bacek muixirt, did you rebuild nqprx?
11:14 bacek There is more patches required.
11:15 muixirt bacek yes i did rebuild nqp-rx (github version) but this test failed too
11:16 muixirt i assume that all tests passed on parrot release 2.3.0 but i'm not sure
11:16 muixirt will try that on another machine
11:20 Andy joined #parrot
11:27 bacek muixirt, nqp-rx passed all tests after updating to recent parrot changes.
11:33 muixirt bacek ok
11:33 bacek moritz, I pushed changes in nqp-rx into my fork.
11:34 bacek muixirt, hmm. May be not.
11:35 bacek Interesting. p6regex-test isn't in "default" test target.
11:36 bacek But nqp-test and hll-test passed.
11:36 moritz bacek: I think because it doesn't pass it's not in default
11:37 bacek msg plobsing I have very-very bad feelings about "runtime/parrot/library/config.pir". It unpack PBC from GC allocated string. But PF_fetch_string will keep "external" flags for Strings.
11:37 purl Message for plobsing stored.
11:37 jan joined #parrot
11:37 bacek moritz, make sense.
11:38 moritz bacek: I've merged your changes into main nqp-rx and bumped PARROT_REVISION
11:38 moritz bacek: thanks for the patches
11:38 bacek moritz, I hope it's last 2 commits only.
11:38 bacek (I've got prototype of nqp Settings in my repo)
11:39 moritz I hope too :-)
11:39 bacek :)
11:39 moritz http://github.com/perl6/nqp-rx/commits/master
11:39 bacek Nope...
11:39 moritz looks like only two of your commits got in, right?
11:40 bacek You pulled everything...
11:40 dalek nqp-rx: 5961dad | bacek++ |  (5 files):
11:40 dalek nqp-rx: Update nqp-rx to recent parrot trunk.
11:40 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/5​961dad596a797710c07b4bf17832be2e905f3d9
11:40 dalek nqp-rx: 8600657 | bacek++ | src/stage0/ (4 files):
11:40 dalek nqp-rx: New stage0 files
11:40 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/8​600657a0e908c1862d3894db619e7fd0b3d6f3b
11:40 dalek nqp-rx: 4271e79 | moritz++ |  (17 files):
11:40 dalek nqp-rx: Merge remote branch 'bacek/master'
11:40 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/4​271e79d91a3d0c44ff15113b11449dc9f540faf
11:40 dalek nqp-rx: 09ca8b1 | moritz++ | build/PARROT_REVISION:
11:40 bacek http://github.com/perl6/nqp-rx/commit/4​271e79d91a3d0c44ff15113b11449dc9f540faf
11:40 dalek nqp-rx: bump PARROT_REVISION
11:40 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/0​9ca8b173c48bea87a43b6d27a150bdd19453ca4
11:40 bacek moritz, http://github.com/perl6/nqp-rx/commit/4​271e79d91a3d0c44ff15113b11449dc9f540faf
11:40 moritz bacek: oh, are those old commits yours too?
11:40 moritz dammit
11:40 bacek yes...
11:40 * moritz should have been more careful
11:41 bacek You can keep it. Pm agreed to have Settings for nqp.
11:41 moritz if I revert the merge commit, will the others go awaz too
11:41 moritz s/z/y/
11:41 bacek Try it locally.
11:41 bacek Or you can rebase your repo to filter out wrong stuff.
11:42 bacek moritz, did you merge with --no-ff?
11:42 moritz bacek: nope, I just said 'git merge bacek/master'
11:42 bacek moritz, hmm... Looks like it wasn't fast-forwarded anyway.
11:43 bacek revert should do it.
11:45 JimmyZ joined #parrot
11:46 JimmyZ bacek: replace result, result, -1, 1, '' # It's pasm, not pir
11:46 bacek JimmyZ, it's valid pir as well.
11:47 bacek "foo = op bar" is syntax sugar for "op foo, bar"
11:50 JimmyZ that shouldn't be used in pir, IIRC
11:50 bacek .oO( Wow! In git you can cherry-pick from same branch )
11:51 bacek JimmyZ, it's just little bit more readable in "assignment form"
11:51 dalek nqp-rx: d893061 | moritz++ |  (17 files):
11:51 dalek nqp-rx: Revert "Merge remote branch 'bacek/master'"
11:51 dalek nqp-rx: This reverts commit 4271e79d91a3d0c44ff15113b11449dc9f540faf, reversing
11:51 bacek Not mandatory.
11:51 dalek nqp-rx: changes made to d823fc2d9ea6c8706c260937b34861c0596e6486.
11:51 dalek nqp-rx: There were more changes in that branch than I realized, so I'll try to
11:51 dalek nqp-rx: cherry-pick the commits I'm really interested in
11:51 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/d​893061d99fbfa8dccc90ef8f4a4017f6ca3ad8a
11:51 whiteknight joined #parrot
11:51 bacek JimmyZ, but you're right. I'll change it.
11:52 bacek whiteknight, Good morning, lazybones!
11:52 aukjan1 joined #parrot
11:53 whiteknight good morning, bacek
11:55 whiteknight I haven't been lazy. Been busy with other things
11:56 dalek nqp-rx: 695e31a | bacek++ |  (5 files):
11:56 dalek nqp-rx: Update nqp-rx to recent parrot trunk.
11:57 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/6​95e31a5dfebb0b18d9d397e7423af1fdb4d0f0b
11:57 dalek nqp-rx: d04243b | bacek++ | src/stage0/ (4 files):
11:57 dalek nqp-rx: Update stage0 files
11:57 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/d​04243bb8211822881a047df0522f42760d31a54
11:58 bacek moritz, is it upstream nqp-rx reported?
11:59 moritz bacek: I don't understand that question
11:59 bacek moritz, last to commits reported by dalek
12:00 moritz yes
12:01 bacek ok
12:02 muixirt did someone invoked make p6regex-test ?
12:03 jsut joined #parrot
12:07 moritz bacek: should I update parrot with the new nqp-rx stage0 files?
12:07 moritz muixirt: yes
12:07 bacek moritz, why not?
12:10 muixirt moritz: and the tests pass?
12:10 purl ship it!
12:10 moritz muixirt: nope. They never did
12:10 muixirt moritz: ?
12:11 moritz !
12:12 bacek
12:13 muixirt so these 72 tests never passed?
12:13 moritz I don't know if it were exactly the same 72 tests, but the test file was never fully clean in nqp-rx
12:13 dalek nqp-rx: 40bb2a8 | moritz++ | docs/bootstrapping.pod:
12:13 dalek nqp-rx: [docs] fix typo in path
12:13 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/4​0bb2a8d84864d10935db50cd060e10fc13f5a52
12:16 muixirt moritz: i tried to fix nqp-rx wrt deprecated string ops and ran into these tests :-(
12:16 muixirt moritz: thought i had done something wrong
12:20 plobsing joined #parrot
12:22 jsut_ joined #parrot
12:23 Coke (took some fiddling to get quine to work) I hate that test. =-)
12:30 tetragon joined #parrot
12:31 dalek parrot: r46107 | moritz++ | trunk/ext/nqp-rx/src/stage0 (4 files):
12:31 dalek parrot: [nqp] update bootstrapping files
12:31 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46107/
12:37 particle joined #parrot
12:41 Coke joined #parrot
12:44 snarkyboojum joined #parrot
12:50 sorear joined #parrot
12:52 particle joined #parrot
12:52 jsut_ joined #parrot
12:52 gaz joined #parrot
12:52 uniejo joined #parrot
12:52 FullMetalHarlot joined #parrot
12:52 arnsholt joined #parrot
12:52 szabgab joined #parrot
12:52 Maddingue joined #parrot
12:52 hicx174 joined #parrot
12:52 rblackwe joined #parrot
12:52 darbelo joined #parrot
12:52 wagle joined #parrot
12:52 estrabd_ joined #parrot
12:52 Tene joined #parrot
12:52 athomason joined #parrot
12:52 confound joined #parrot
12:52 silug joined #parrot
12:52 GeJ joined #parrot
12:52 dukeleto joined #parrot
12:52 he joined #parrot
12:52 Hunger joined #parrot
12:52 sri joined #parrot
12:52 Infinoid joined #parrot
12:52 treed joined #parrot
12:55 KatrinaTheLamia joined #parrot
13:01 rurban_ joined #parrot
13:04 atrodo joined #parrot
13:12 bluescreen joined #parrot
13:18 bakkdoor is it possible to turn of the implicit calling of parse actions at the end of a rule?
13:19 dalek rakudo: 6cf515b | masak++ | docs/ROADMAP:
13:19 dalek rakudo: [ROADMAP] added self to Buf impl work
13:19 dalek rakudo: Seems someone got his GSoC project accepted. \o/
13:20 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/6​cf515ba8ac53d7e97988220eba735821aea0982
13:20 bakkdoor my actions always get called with no key given, although i specify them
13:20 bakkdoor (they get called without a key in addition to with them . so basically one time too much)
13:21 moritz bakkdoor: the whole keys thing is deprecated anyway
13:22 kurahaupo joined #parrot
13:22 bacek moritz, wow... And we should use instead?
13:23 bacek .oO( No sarcasm )
13:23 bacek proto-regexes?
13:23 moritz yes
13:23 moritz (not sure if it's deprecated in nqp-rx, but it's gone from Perl 6)
13:23 bacek sigh... I don't grok them.
13:24 moritz they are not complicated
13:24 moritz just not explained very well, usually
13:25 bacek yeah... And I didn't have time too look at them more closely.
13:26 moritz it's just   token foo:sym<x> { <sym }; token foo:sym<y> { <sym> }  being roughly the same as token foo { x | y }
13:26 bacek moritz, btw, what is replacement for "optable" in nqp-rx world? I want to update squaak
13:26 bluescreen joined #parrot
13:26 particle joined #parrot
13:26 jsut_ joined #parrot
13:26 gaz joined #parrot
13:26 uniejo joined #parrot
13:26 arnsholt joined #parrot
13:26 szabgab joined #parrot
13:26 Maddingue joined #parrot
13:26 hicx174 joined #parrot
13:26 rblackwe joined #parrot
13:26 darbelo joined #parrot
13:26 wagle joined #parrot
13:26 estrabd_ joined #parrot
13:26 Tene joined #parrot
13:26 athomason joined #parrot
13:26 confound joined #parrot
13:26 silug joined #parrot
13:26 GeJ joined #parrot
13:26 dukeleto joined #parrot
13:26 he joined #parrot
13:26 Hunger joined #parrot
13:26 sri joined #parrot
13:26 Infinoid joined #parrot
13:26 treed joined #parrot
13:26 moritz so if you call <foo>, one of the alternatives matches
13:26 moritz bacek: no idea
13:26 bacek moritz, and what action's method will be called?
13:27 moritz bacek: the one that matched... if foo:sym<x> matched, the action method foo:sym<x> will be called
13:27 bacek yak... It's valid Perl6 method name???
13:27 * bacek running away screaming
13:28 bakkdoor hm..
13:28 bakkdoor is there a tutorial / documentation on that?
13:28 moritz sure. Just like  CGI:from<perl5>
13:29 moritz I've written http://perlgeek.de/en/article/m​utable-grammar-for-perl-6#proto but it's not really a tutorial
13:29 moritz still it explains the background
13:29 bakkdoor moritz: but why does it work in the squaak sample language. it uses keys
13:29 bacek bakkdoor, src/Perl6/Actions.pm in rakudo :)
13:29 bacek bakkdoor, squaak wasn't updated to nqp-rx
13:30 bakkdoor bacek: oh i thought it was. however, it works there, but doesnt seem to work for me, which i find strange. oh well
13:30 moritz bakkdoor: do you have a blank after the #= ?
13:31 bacek bakkdoor, TT#1319
13:32 dukeleto 'ello
13:32 ruoso joined #parrot
13:33 bakkdoor moritz: hm. it looks like this: | <expression> #= expression
13:33 bakkdoor moritz: so yeah, theres a space between the #= and the key
13:33 bakkdoor moritz: but thats also the case for the squaak gramma
13:33 moritz bakkdoor: and the action method has a signature that accepts two positional arguments?
13:34 bakkdoor moritz: yeah. e.g.: method receiver($/, $key?) {
13:34 moritz looks good
13:34 bakkdoor moritz: i put in the ? optional because otherwise it gave me errors
13:34 moritz then I have no idea :(
13:38 JimmyZ joined #parrot
13:39 dalek rakudo: 6a502fc | moritz++ | src/core/Any-list.pm:
13:39 dalek rakudo: implement Any.elems to fix RT #74732
13:39 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/6​a502fcb6675d313df7739536128bf227c3814ae
13:41 bakkdoor moritz: hm ok. well i'll use the proto stuff then
13:53 bluescreen joined #parrot
13:55 allison joined #parrot
14:04 Andy joined #parrot
14:09 smash joined #parrot
14:09 smash hello everyone
14:11 smash darbelo: ping
14:33 bubaflub joined #parrot
15:08 khairul joined #parrot
15:13 bakkdoor joined #parrot
15:15 bacek joined #parrot
15:25 bakkdoor is there a tutorial on the proto stuff for the grammar & actions? i only found tutorials with the deprecated way of doing it
15:25 ruoso joined #parrot
15:35 davidfetter joined #parrot
15:40 arnsholt bakkdoor: It's fairly simple. First you declare a proto regex: proto token myproto { <...> }
15:41 arnsholt Then, each branch looks like this: token myproto:sym<tag> { <foo> <bar> <.blech> }
15:42 arnsholt You then attach an action to a particular branch by declaring a method with the same name: method myproto:sym<tag> { ... }
15:43 cotto_work joined #parrot
15:46 Andy Consting all these funcs is like pulling a long thread.
15:46 Andy So much coupledness is just unraveling.  It makes me happy.
15:48 mikehh putting up fences - decoupling adds defence :-}
15:48 bakkdoor arnsholt: so whatever goes into the sym<..> has to be a token i'm looking for?
15:49 bakkdoor arnsholt: or can it also be a rule?
15:50 bakkdoor arnsholt: because currently i have a rule that contains different subrules, e.g. rule expression{ <assignment> | <literal_value> | .. } .
15:51 dalek parrot: r46108 | mikehh++ | trunk (2 files):
15:51 dalek parrot: add a replace op and document the addition
15:51 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46108/
15:51 arnsholt The thing inside the sym<...> is basically just a name for that particular branch, but you can match against it, like this: token infix:sym<==> { <sym> }
15:52 arnsholt But you don't have to
15:52 dalek joined #parrot
15:56 kjeldahl_ joined #parrot
15:56 bakkdoor arnsholt: hm alright i'll try that later
15:59 aukjan joined #parrot
16:01 theory joined #parrot
16:08 dalek parrot: r46109 | petdance++ | trunk (10 files):
16:08 dalek parrot: consting the STRINGs passed to Parrot_io_write_*
16:08 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46109/
16:08 dalek parrot: r46110 | petdance++ | trunk (2 files):
16:08 dalek parrot: fixed some ARGINs that were set to SHIM
16:08 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46110/
16:14 ash_ joined #parrot
16:41 alexn_org joined #parrot
17:00 dalek rakudo: 72f914f | (Solomon Foster)++ | src/core/Cool-str.pm:
17:00 dalek rakudo: Clone the returned match so we can take it without worrying about the next iteration clobbering it.
17:00 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/7​2f914f44897c5a1d64287a119af8b9fa5d9dbc7
17:07 cotto_work2 joined #parrot
17:07 cotto_work2 "svn--" has ceased to convey my dislike of subversion
17:10 cotto_work2 That junk needs to go away.
17:10 Coke what this time?
17:11 cotto_work2 The opsc branch sync failed to copy over some files that were added since the last sync.
17:11 ash_ you know, github lets you check stuff out from git with svn...
17:12 cotto_work Sure, but does it let me check stuff into Parrot's svn repo?
17:13 darbelo It still doesn't beat my conflict between two nonexistent files.
17:13 dalek parrot: r46111 | darbelo++ | branches/include_dynpmc_makef​ile/tools/dev/checkdepend.pl:
17:13 dalek parrot: We don't autogenerate dynpmc dep data on this branch.
17:13 ash_ there is a git clone of the repo, so you can git checkout directly, and anyone else could use svn
17:13 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46111/
17:13 dalek parrot: r46112 | plobsing++ | branches/pbc_frozen_strings1 (7 files):
17:13 dalek parrot: add consttable support to imagio and imageiosize
17:13 dalek parrot: add Parrot_freeze_pbc, Parrot_freeze_pbc_size, and Parrot_thaw_pbc to make use of this
17:13 dalek parrot: use added functions in packfile routines
17:13 dalek parrot: also a workaroud to keep the ParrotInterpreter PBC hack happy
17:13 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46112/
17:14 ash_ http://github.com/leto/parrot if you'd like to use git
17:14 cotto_work it's ro
17:14 ash_ ah, thats a shame
17:16 ash_ what about git-svn to checkout from svn.parrot.org?
17:16 ash_ does that help you any?
17:16 cotto_work I'm non-trivially tempted.
17:17 cotto_work I'll either do that or set up a trac instance to show that git/trac integration will work on our Trac site.
17:17 tewk cotto_work: git/trac++
17:18 cotto_work (or offer a vertical meter of beer to the person who does)
17:18 * darbelo is not falling for that one.
17:18 bubaflub cotto_work: i've got both a svn checkout and a git-svn checkout, if ya need some help let me know
17:18 ash_ i tried git/trac for my senior design project last fall and i had issues, but i was easily deterred because i use github for so much
17:18 darbelo I wan't *volume* measirements.
17:19 bubaflub it's a one meter long slim-jim
17:19 cotto_work darbelo: http://use.perl.org/~Alias/journal/28427
17:19 ash_ lol, image a beer mug thats as thin as a slim-jim that is a meter tall
17:20 ash_ so... since i was accepted into the GSoC, is there anything I should be working on right now? its still "get to know the community time"
17:20 cotto_work not sure if it's quite a big enough task for that
17:20 cotto_work If not, it's annoying enough.
17:20 moritz ash_: have you submitted a CLA yet?
17:21 ash_ i have it printed, i haven't mailed it yet, i need more stamps (which i plan to get when i go to the grocery store next)
17:21 bubaflub left #parrot
17:21 bubaflub joined #parrot
17:21 darbelo ash_: What's your project?
17:22 ash_ the llvm one
17:22 Coke ash_: you can always scan+email. that's fine.
17:22 ash_ llvm stack frame builder and improvements to the nci framework (which means libffi probably)
17:22 ash_ i don't have a scanner
17:22 ash_ i guess there is probably one on campus somewhere...
17:23 darbelo ash_: You could inspect the detect_llvm/ branch. Sounds like you'll need that anyway.
17:23 moritz ... next to the crocery store :-)
17:24 ash_ darbelo: alright, i can checkout that somewhere and look at the diffs (and see if its still merge-able into trunk)
17:24 bubaflub ash_: will you be building against the newest LLVM?
17:25 ash_ 2.7 was just released, so i plan to target that, unless  there is something the trunk does that 2.7 doesn't, i plan on using the latest released version of the llvm
17:25 particle ash_: you're free to start working towards your goal before the official time starts
17:26 particle ...for gsoc, that is
17:26 darbelo ash_: Also, your mentor will probably be willling to commit stuff for you while you are waiting for your bit.
17:26 ash_ the llvm does a release every 3 months, i believe
17:26 particle we can give a provisional bit to gsoc'ers who stay in a dedicated branch
17:26 aukjan joined #parrot
17:27 ash_ i was going to work from a github fork for now, but if i should be working on an svn branch thats fine too
17:28 ash_ i have finals coming up, so i probably won't be doing to much till they finish, but i'll definitely get started soon
17:29 particle just get that CLA in, so we can start blaming you for things gone wrong.
17:29 ash_ sweet, sounds like fun?
17:31 particle we aim to please
17:31 particle in the meantime, have a game of hatetris: http://qntm.org/files/hatetris/hatetris.html
17:32 ash_ i was thinking i'd start with the libffi stuff and try to knock out the changes needed to nci first, then go on to the stack frame builder
17:35 plobsing ash_: sounds like a good plan
17:38 plobsing message bacek (re: external strings in PBC) this is similar to other pointers in PBC. they don't belong, but right now the answer is simply "don't do that!"
17:38 purl Message for bacek stored.
17:39 bubaflub ash_: if you ever need someone to compile / test on Mac OS X or Fedora Core 12, message me and tell me what to pull down and i can compile and test
17:40 ash_ bubaflub: i am on OS X, but I don't have fedora, (I do have a vm with ubuntu though)
17:40 bubaflub yeah, my Fedora runs through VirtualBox
17:41 ingy joined #parrot
17:44 ash_ brb &
17:54 cotto_work joined #parrot
18:02 joeri joined #parrot
18:02 dalek parrot: r46113 | plobsing++ | branches/pbc_frozen_strings1/t/native_pbc (4 files):
18:02 dalek parrot: native_pbc platform updates
18:02 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46113/
18:02 ash_ joined #parrot
18:02 Coke ho, ingy.
18:03 aukjan joined #parrot
18:07 bakkdoor sigh.. this proto stuff is really weird if you're not used to it. is there any useful documentation on it how you'd use it in a parrot grammar file?
18:11 ash_ bakkdoor: still doing nqp?
18:11 bakkdoor ash_: yeah
18:12 ash_ whats confusing you? i know documentation's a bit sparse, but maybe i can help
18:12 bakkdoor ash_: i had a somewhat working parser but it didn't work correctly in the action methods (using keys)
18:12 bakkdoor ash_: alright. let me nopaste my old code
18:13 ash_ http://perlgeek.de/en/articl​e/mutable-grammar-for-perl-6 might help, its a bit more than just proto regex's, but moritz++ talks a bit about what they do, if thats still confusing you
18:14 ash_ nqp is a subset of perl6, so most things that apply to perl6 apply to nqp
18:15 bakkdoor ash_: http://nopaste.info/bcc57ddeba.html <-
18:16 bakkdoor ash_: well i'm new to nqp and haven't used perl at all before..
18:16 ash_ ah, well, i'll help you with the stuff your not understanding, let me know if something confuses you
18:17 bakkdoor ash_: have a look at my nopaste.. i wrote a comment there too
18:19 dalek parrot: r46114 | plobsing++ | branches/pbc_frozen_strings1/src (2 files):
18:19 dalek parrot: fix codetest
18:19 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46114/
18:20 cotto_work joined #parrot
18:25 ash_ bakkdoor: do you have a sample of what your trying to parse?
18:25 ash_ of what should be valid?
18:25 Coke msg Infinoid: http://cpanratings.perl.org/#7294
18:25 purl Message for infinoid stored.
18:27 bakkdoor ash_: yeah, here: http://nopaste.info/d9176df120.html
18:27 bakkdoor ash_: i have more (longer) sample code that i could successfully parse (but not compile) with the old grammar
18:35 theory joined #parrot
18:45 darbelo Parrot_io_make_string() has die. It really, really, has to die.
18:49 Coke darbelo: is DYNPMC_H_FILES different from PARROT_H_...?
18:50 Coke darbelo: the .c file doesn't depend on the .h files, the $(O) does.
18:51 darbelo didn't I do it that way?
18:52 dalek parrot: r46115 | darbelo++ | branches/include_dynpmc_makefile/src/dynpmc (2 files):
18:52 dalek parrot: Bulk add deps to the dynpmc files.
18:52 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46115/
18:52 Coke darbelo: looks like some .c's have it, some don't.
18:52 darbelo Aw crap I edited .mak and not .in
18:53 darbelo I'll fix that in a sec.
18:54 Coke k. Also, deleting that function: +1
18:55 darbelo Awww. The book merge-props are acting up again.
18:55 Coke msg bacek if you're still in string cleanup mode, maybe you could: 14:45 <@darbelo> Parrot_io_make_string() has die. It really, really, has to die.
18:55 purl Message for bacek stored.
18:56 darbelo It should be easier to kill now, but there's still a bunch of stringy tentacles going deep into io-land
19:00 Coke only about 4. =-)
19:00 bakkdoor ash_: any ideas on the grammar stuff?
19:00 ash_ yeah, i am working on it, one sec
19:00 Coke from #perl 6 - it would be nice if Sub/MultiSub/Eval had a "provides Callable" or something on them, ala the array/string/ etc. types.
19:01 bakkdoor ash_: ah ok, no problem! take your time. just wanted to ask :)
19:07 Coke joined #parrot
19:15 Coke anyone have a better suggestion than 'callable' for sub/multisub/eval ?
19:16 kurahaupo Invocable ?
19:17 kurahaupo s/c/k/
19:17 NotFound What they have in common, other than vtable invoke ?
19:17 sorear Callable is the name used in the Perl6 synopses for the role that all &foo implementations must implement
19:17 sorear that's the only reason I suggested it
19:18 kurahaupo :-2,-1d
19:18 NotFound Please don't use perl jargon if a parrotish alternative is found.
19:19 Coke NotFound: /win 2
19:19 Coke whoops.
19:20 particle you use 'win 2' a lot...
19:20 Coke NotFound: that's why I'm asking. =-)
19:20 Coke particle: it's the best window.
19:22 NotFound Better question: what they have in common, and not in common with continuations?
19:22 sorear Continuations are callable too?
19:22 Coke they're the 3 I could remember. =-)
19:22 Coke anything that's meant to be invoked should have it.
19:23 NotFound That depends of what is 'callable'. Having invoke?
19:23 Coke NotFound: TT: #1597 , pile on.
19:23 kurahaupo Should it include or exclude coroutines?
19:23 Coke something that you could reasonable expect $P0() to work on.
19:23 Coke *bly
19:24 NotFound Then a continuation is callable
19:24 dalek parrot: r46116 | darbelo++ | branches/include_dynpmc_makefile (462 files):
19:24 dalek parrot: Sync branch with trunk.
19:24 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46116/
19:25 dalek parrot: r46117 | darbelo++ | branches/include_dynpmc_mak​efile/src/dynpmc/Rules.in:
19:25 dalek parrot: Remove miss added deps for the .c files.
19:25 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46117/
19:26 kurahaupo Or invokable. Do you care whether it comes back when it's done?
19:26 sorear Bikeshed over, invokable it is
19:30 ash_ bakkdoor: http://gist.github.com/382584
19:30 ash_ i kinda started from scratch, working towards what your said was valid, you can try running that just as an example
19:31 bakkdoor ash_: thanks very much!
19:32 dalek TT #1597 created by coke++: add "provides" for sub/eval/multisub/etc.
19:32 dalek TT #1597: http://trac.parrot.org/parrot/ticket/1597
19:32 bakkdoor ash_: so from what you've posted, it seems like you always have to use tokens instead of rules?
19:33 ash_ not always, they mean two different things, so i just use the one that i think is right (which isn't always correct)
19:36 bakkdoor ash_: so i can also say proto rule foo {..}?
19:38 ash_ proto rule foo { <...> }  is the way i have always seen it, but that might work
19:41 bakkdoor ash_: yeah thats what i meant
19:43 ash_ yeah, that makes a proto regex foo, then you can define say token foo:sym<++> { } as one of the tokens
19:43 bakkdoor but the sym<foo> part will always only match "foo" right? so how would i convert my old expression rule (e.g.: rule expression { <assignment> | <literal_value> | <method_call> | ... } ) to using protos instead? or is that even possible?
19:43 bakkdoor hm
19:43 dalek parrot: r46118 | coke++ | trunk/docs/project/metacommitter_guide.pod:
19:43 dalek parrot: minor doc update
19:43 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46118/
19:44 moritz bakkdoor: there's no obligation to use <sym> inside a proto regex
19:44 bakkdoor i think i still don't get the basic idea behind it. :(
19:44 moritz you can say   quote:sym<blah> { 'q/' .*? '/' }   if that pleases you
19:45 moritz the basic idea is that you have multi tokens with the same short name (here 'quote')
19:45 bakkdoor moritz: what would that match? or what exactly does the blah then stand for?
19:45 bakkdoor hm ok
19:45 moritz bakkdoor: it's a name, nothing more
19:45 ash_ a proto is useful for something like say infix operations, so you define { <token> <infix> <token> }, then you say <infix> is a proto regex, and define your actual operators later, for instance infix:sym<+> or infix:sym<*>
19:45 bakkdoor ah ok
19:45 ash_ so really, that original would be the same as { <token> [*|+] <token> }
19:46 bakkdoor so i could have a proto rule expression. and then expression:sym<assignment> { } ?
19:46 bakkdoor ok
19:46 moritz aye
19:47 moritz and you can easily define an action method for expression:sym<assignment>
19:47 bakkdoor alright. and i could then refer to either <expression> or, if needed, directly to <assignment> somewhere else? or would i need to use expression:sym<assignment> ?
19:47 ash_ expression:sym<assignment> will look for the word "assignment" as the symbol that invokes the rule
19:47 moritz that's only called if this one matches, not if expression:sym<for_loop> matches
19:47 moritz ash_: only if it begins with <sym>
19:47 ash_ yea
19:47 moritz bakkdoor: you can only refer to the whole of it, ie <expression>
19:48 moritz bakkdoor: if you want to refer to a specific proto, you have to use indirection
19:48 bakkdoor moritz: alright. but what if i want to use assignments directly as well?
19:48 moritz expression:sym<assignment> { <assignment> }
19:48 bakkdoor moritz: ah ok and then another rule assignment ?
19:48 moritz token assignment { <lvalue> '=' <rvalue> }
19:48 moritz right
19:49 bakkdoor moritz: i see. well i did that already, but i then get syntax errors..
19:49 moritz .oO( you can solve any problem in computer science with another layer of indirection )
19:49 bakkdoor i'll see
19:49 moritz bakkdoor: then paste what you have, and what errors you get
19:52 bakkdoor http://nopaste.info/9daf6a315d.html <- here
19:54 moritz so you don't get a syntax error while compiling your grammar, but while actually trying to parse something with it
19:55 NotFound So the grammar is right and he must fix his language?
19:57 moritz bakkdoor: I currently don't have the time to debug a full grammar, sorry...
19:58 moritz bakkdoor: my best advice is to start from something very simple that work, and then gradually expand
19:59 bakkdoor moritz: yeah, of course. i'll get it working eventually ;) i hope. but yeah, it compiles fine. but the parsing doesnt work. it worked in the old version but i had problems with the action methods there
19:59 bakkdoor thanks for your time however :)
20:02 dalek blizkost: bb4950c | sorear++ | examples/tk (2 files):
20:02 dalek blizkost: Move tk example to Perl6
20:02 dalek blizkost: review: http://github.com/jnthn/blizkost/commit/​bb4950c39cfafd5233f7ff6cddeebd9a7c2fa7f7
20:18 TiMBuS joined #parrot
20:26 tewk Who is the t/pmc/packfile*./t expert? I removed the parrotthread pmcs and the packfile tests are broken unimplemented key type
20:26 Coke when you remove a PMC, bump PBC_COMPAT.
20:26 cotto_work It's likely because the PMC ids got out of sync in that file.
20:26 cotto_work what Coke said
20:26 Coke then run tools/dev/mk_native_pbc - if you update the _1 pbcs, you win. commit.
20:27 Coke if you update something else? you lose. just commit the PBC commit and hope someone else fixes it soon.
20:27 Coke the PBC_COMPAT commit, I mean.
20:29 allison chromatic: around?
20:30 ash_ when i get the doing the llvm-stack frame builder, should I only use C? or can I use C++?
20:31 ash_ s/get the doing the/get to working on the/
20:32 cotto_work If nothing else, it'd be important that you not break the C build.
20:33 Tene ash_: I don't know of any other C++ in parrot currently.  If C++ is a requirement for you to getting it done, I expect that having it at all would be more important than having it in C, but it might be a little suboptimal.
20:33 Tene That's wild speculation on my part.
20:33 cotto_work Is the C API significantly inferior to the C++ API?
20:34 ash_ well, the llvm has a C api, but its not nearly as rich as the C++
20:34 ash_ the C++ has a few things (like some templates) that can make your life easier, its still possible to do the same stuff with the C api
20:35 Coke if this is something we plan on keeping in parrot-core, then I think C is preferable.
20:35 NotFound tewk: platform?
20:38 tewk I think inc PBC_COMPAT will fix it.
20:40 * Coke ponders the use of the xt/ test directory for parrot.
20:40 particle icu is c++
20:40 particle parrot coding standards specify C89, specifically, ash_
20:40 ash_ ah, okay, i'll keep that in mind
20:41 particle so if it's in parrot core, it's C89-compliant
20:42 darbelo ash_: You could middle-of-the-road it, with a c++ core that exposes a extern "C" interface for parrot to link to.
20:44 darbelo But I doubt it's worth it, if there's already a C api for what you want to do.
20:44 tewk ash_: Isn't most of the c++ stuff kinda a dsl for building LLVM-IR?
20:45 ash_ tewk: yeah, but its still possible to build it using only the C api, it just takes more typing
20:48 NotFound C89 intersection with C++ is more realistic.
20:50 Tene ash_: you could always write your own DSL on Parrot to generate that. :)
20:51 ash_ Tene: thats a good point
20:51 particle joined #parrot
20:51 GeJ Good morning everyone.
20:51 ash_ kinda how you already use perl to generate some of your C
20:51 Tene Exactly. :)
20:55 mikehh I am attempting to fix docs/book/pir/ch04_variables.pod so that it passes examples_tests - t/examples/pod.t
20:56 mikehh there is probably a lot of other stuff that needs changing as well
20:56 mikehh for example what is the COW status at the moment?
21:01 rurban_ joined #parrot
21:03 iblechbot joined #parrot
21:17 bacek ~~
21:18 bacek mikehh, there is no "COW" anymore
21:19 Whiteknight joined #parrot
21:20 * darbelo mourn parrot's dead cow.
21:20 Whiteknight mooo
21:21 bacek Aaaaa!!! Zombie cows!!!!
21:21 Coke parrot cow goes moawk?
21:21 * bacek running in circles screaming
21:21 cotto_work Mmmmm. Zombie hamburger.
21:21 ash_ i hear zombies are in general bad for your health
21:21 cotto_work It'd probably be safe if you cooked it well.
21:22 darbelo The hard part is not getting eaten.
21:22 cotto_work Cardio.
21:23 darbelo Santa vaca! Wikipedia has a page on 'Asado'
21:23 bacek Zombies eats brains, correct?
21:24 bacek So I'm pretty safe because I don't have any.
21:24 ash_ I think in my nq-nqp I have function calls working now, and variable assignment
21:24 darbelo bacek: Outside of soviet russia, yes.
21:24 bacek darbelo, In Soviet Russia YOU eats zombies!
21:25 bacek O, wait...
21:35 mikehh ok - examples_tests now passes
21:40 dalek parrot: r46119 | mikehh++ | trunk/docs/book/pir/ch04_variables.pod:
21:40 dalek parrot: fix docs/book/pir/ch04_variables.pod so it passes t/examples/pod.t - the chapter needs review as it mentions COW for example
21:40 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46119/
21:42 ash_ sweet, i got method calls working in nq-nqp
21:42 ash_ http://gist.github.com/382765
21:48 darbelo cotto_work: I just added a GSoCersStartHere page to the wiki based on your tips to me from last year.
21:49 darbelo cotto_work: It's a draft for now, you should probably give it a look from a mentor perspecti and maybe con other mentor into jumping in to edit.
21:49 cotto_work darbelo++
21:49 ash_ the trac wiki ParrotBestPractices is rather slim
21:50 darbelo Also good would be to check it for grossly inacurate statements before pointing students at it.
21:50 darbelo For example I'm not sure the CLA has to be signed in blood anymore...
21:51 cotto_work It's recommended but no longer required.
21:52 NotFound We shouldn't discriminate vampires.
21:55 bacek And robots!
21:56 dalek parrot: r46120 | darbelo++ | branches/include_dynpmc_makefile/src/dynpmc (2 files):
21:56 dalek parrot: Readd gziphandle dynpmc that got lost in the sync with trunk.
21:56 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46120/
21:56 dalek parrot: r46121 | NotFound++ | trunk/src/packfile.c:
21:56 dalek parrot: fix XXX in packfile.c by adding a and documenting SEGMENT_HEADER_SIZE
21:56 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46121/
21:58 tcurtis joined #parrot
22:00 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#33532), fulltest) at r46119 - Ubuntu 10.04 RC amd64 (g++)
22:00 dalek tracwiki: v1 | darbelo++ | GSoCersStartHere
22:00 dalek tracwiki: Add a samll intro for GSoCers new to parrot.
22:00 dalek tracwiki: http://trac.parrot.org/parrot/wiki/GSoC​ersStartHere?version=1&amp;action=diff
22:00 dalek tracwiki: v167 | darbelo++ | WikiStart
22:00 dalek tracwiki: Link to GSoCersStartHere from the wiki front page.
22:00 dalek tracwiki: http://trac.parrot.org/parrot/wiki/W​ikiStart?version=167&amp;action=diff
22:06 dukeleto darbelo++
22:16 he joined #parrot
22:30 dalek left #parrot
22:30 dalek joined #parrot
22:34 ttbot Parrot trunk/ r46121 darwin-thread-multi-2level make error http://tt.taptinder.org/file/cmdout/286741.txt ( http://tt.taptinder.org//bui​ldstatus/pr-Parrot/rp-trunk/ )
22:35 kid51 joined #parrot
22:37 cotto_work I've seen a lot of build failures that get exposed on my profiling code.
22:37 cotto_work I think it's a good thing.
22:38 cotto_work or non-bad
22:38 darbelo cotto++ # Making the broken noticeable.
22:39 ruoso joined #parrot
22:40 hercynium joined #parrot
22:45 ash_ does nqp support MMD?
22:46 cotto_work only if you drop down to pir
22:46 cotto_work sadly
22:46 ash_ got ya
22:46 ash_ hmm
22:46 cotto_work probably less sad for you ;)
22:47 cotto_work2 joined #parrot
22:48 ash_ hmm
22:48 ash_ i could see how it would be confusing
22:48 sorear my current "next month's project" is to try and expand nqp's ability to tap into parrot features, so we need to write less PIR in various places
22:48 ash_ since you can't statically type the variables in  nqp, no my Int $a;
22:48 cotto_work2 I don't know if it's planned.
22:49 sorear I'd like to try my hand at stuff like method () is vtable(...)
22:49 sorear I'll be hashing out a plan with pmichaud after blizkost settles
22:50 cotto_work2 I'm all for adding more awesome to nqp-rx.
22:50 cotto_work2 (or nqp now that the old version is out of svn)
22:51 ash_ sorear: a main() would be nice, so you don't have to drop into pir to get command line args
22:51 cotto_work yes
22:52 sorear It would be simpler just to implement @*ARGS
22:52 ash_ that too
22:52 sorear NQP generates the PIR-level main sub as sub (@) { ...your main scope here... }
22:53 sorear it shouldn't be *too* hard to change that to sub (@*ARGS) { ... }
22:53 tetragon joined #parrot
23:25 slavorg joined #parrot
23:27 jimk joined #parrot
23:28 cotto_work Coke: ping
23:32 snarkyboojum joined #parrot
23:32 plobsing_ joined #parrot
23:36 dalek parrot: r46122 | darbelo++ | branches/include_dynpmc_makefile/src/dynpmc (2 files):
23:36 dalek parrot: Some more dep work. Add cleanups.
23:36 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46122/
23:41 darbelo cotto is right, svn-- fails to capture the amount of hate that tool promotes.
23:42 cotto_work srsly
23:43 darbelo I'm seriously tempted to just stop branching and start keeping patchsets in my work dir.
23:44 darbelo Fells like it would be less maintaince overhead.
23:44 cotto_work svn haters?
23:45 cotto_work svn haters is cotto
23:45 cotto_work svn haters?
23:45 purl svn haters is cotto
23:46 * cotto_work wonders if it'll catch on
23:50 darbelo Screw it. I'm installing git-svn.
23:50 plobsing_ svn haters is also plobsing
23:50 purl okay, plobsing_.
23:50 darbelo svn haters is also darbelo
23:50 purl okay, darbelo.
23:52 dalek parrot: r46123 | darbelo++ | branches/include_dynpmc_makefile (11 files):
23:52 dalek parrot: Last sync with trunk.
23:52 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46123/
23:53 sorear svn haters is also *really* sorear
23:53 purl okay, sorear.
23:53 sorear svn haters is also (but only if he's not core)
23:53 purl okay, sorear.
23:54 darbelo svn haters?
23:54 purl svn haters is, like, cotto or plobsing or darbelo or *really* sorear or (but only if he's not core)
23:59 darbelo I'd like to know who ever thought that updating *every freaking file* in the repo was necessary for merging a branch that edits three files, adds two more files and removes another one.

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

Parrot | source cross referenced