Camelia, the Perl 6 bug

IRC log for #parrot, 2012-05-22

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:16 Tene evening, at least.
00:17 sorear o/ Tene
00:17 Tene o/ sorear
00:21 whiteknight hello Tene, sorear
00:21 kid51 Has everybody upgraded to Perl 5.16?  :-)
00:25 whiteknight nope
00:30 wagle joined #parrot
00:55 * benabik uses system perl.
00:57 dalek parrot: f7fec05 | Whiteknight++ | / (2 files):
00:57 dalek parrot: Add a new Parrot_api_set_stdhandle routine to the embedding API to set a custom IO-alike PMC as one of the standard handles for the interp
00:57 dalek parrot: review: https://github.com/parrot/parrot/commit/f7fec052e0
00:57 dalek parrot: da52d96 | Whiteknight++ | src/embed/api.c:
00:57 dalek parrot: Some improved docs for the new function
00:57 dalek parrot: review: https://github.com/parrot/parrot/commit/da52d96d01
00:57 dalek parrot: 3d0c5f7 | Whiteknight++ | src/string/spf_ (2 files):
00:57 dalek parrot: A few codestd fixes from the sprintf cleanup work
00:57 dalek parrot: review: https://github.com/parrot/parrot/commit/3d0c5f751f
00:57 dalek Heuristic branch merge: pushed 186 commits to parrot/whiteknight/gh_663 by Whiteknight
00:58 whiteknight codetest is still telling me that src/string/spf_private.h doesn't have a coda
01:00 bacek_at_work aloha, humans
01:02 whiteknight hello bacek
01:02 dalek parrot: 727e515 | Whiteknight++ | src/ (2 files):
01:02 dalek parrot: Remove trailing whitespace
01:02 dalek parrot: review: https://github.com/parrot/parrot/commit/727e5150fa
01:02 bacek_at_work hello whiteknight
01:05 dalek parrot: 68fed26 | bacek++ | src/string/spf_private.h:
01:05 dalek parrot: Update code to make codetest happy
01:05 dalek parrot: review: https://github.com/parrot/parrot/commit/68fed26600
01:05 bacek_at_work whiteknight, fixed :)
01:05 whiteknight dafaq?
01:05 bacek_at_work - * vim: expandtab shiftwidth=4:
01:05 bacek_at_work + * vim: expandtab shiftwidth=4 cinoptions='\:2=2' :
01:05 bacek_at_work in the nutshell :)
01:05 whiteknight I copied that coda from another .h file.
01:06 whiteknight I copied it exactly from a file that passes
01:06 bacek_at_work heh
01:07 bacek_at_work our code test is bit fragile, isn't it?
01:10 whiteknight I don't care about fragile. I wish it would output the expected value so I can just copy+paste whatever the test wants
01:10 whiteknight or, better yet, if the test could edit the file automatically, that would be great
02:07 kid51 joined #parrot
02:51 japhb joined #parrot
03:40 alester_ joined #parrot
04:10 davidfetter joined #parrot
04:44 kurahaupo joined #parrot
05:36 kurahaupo joined #parrot
06:00 contingencyplan joined #parrot
06:13 brrt joined #parrot
06:24 benabik joined #parrot
06:44 fperrad joined #parrot
07:41 contingencyplan joined #parrot
07:47 brrt joined #parrot
08:13 brambles joined #parrot
08:17 lucian joined #parrot
08:44 kjs joined #parrot
08:54 lucian joined #parrot
09:28 kjs joined #parrot
10:19 schmooster joined #parrot
10:41 xdd joined #parrot
11:18 JimmyZ joined #parrot
11:58 benabik joined #parrot
12:01 whiteknight joined #parrot
12:01 whiteknight good morning, #parrot
12:01 moritz \o whiteknight
12:03 bluescreen joined #parrot
12:03 whiteknight hello moritz
12:05 brrt joined #parrot
12:09 benabik ~~
12:10 whiteknight good morning, benabik
12:14 JimmyZ_ joined #parrot
12:19 brrt joined #parrot
12:31 kjs joined #parrot
12:43 whiteknight msg brrt I added a new Parrot_api_set_stdhandle to override one of the interpreters standard IO PMCs. For now, use a StringHandle to capture output. When the interp exits you can read all output from there. This prevents streaming, but should get you moving forward until we come up with something better
12:43 aloha OK. I'll deliver the message.
13:01 whiteknight I've got over 20GB of things in my recycle bin, I think it's time to clean that out
13:04 PacoAir joined #parrot
13:04 brrt whiteknight, i saw, awesome!
13:05 benabik In my department we have Mac, Ubuntu, and Windows machines.  I've seen a number of people hit their quota because they never cleared out one trash or another.
13:07 Psyche^ joined #parrot
13:07 bluescreen joined #parrot
13:09 whiteknight brrt: for a "real" streaming solution we're either going to need a custom PMC type or NCI bindings. I'd much prefer you to get the infrastructure for the project set up first, and get basic examples working before we worry about performance or advanced features
13:10 whiteknight also, that new API is not tested at all, so use at your own risk (unless you want to add a quick test)
13:14 brrt whiteknight: i imagined
13:14 brrt can you also do this for the input handle?
13:15 brrt s/you/i or any other person/
13:15 whiteknight yes
13:15 brrt nice
13:15 moritz ooh
13:15 whiteknight standard input 0, standard output = 1, and standard error = 2
13:15 moritz currently a say() call in rakudo looks up the dynamic $*OUT variable
13:16 moritz I wonder if we can optimize that away, and instead switch to a different standard handle when a new $*OUT is declared
13:16 whiteknight moritz: There is a way to override the standard output handle in the interp, if you want to avoid the lookup
13:16 brrt well, then, first steps is going be a per-request parrot instance
13:16 brrt with stringhandles for io
13:16 whiteknight Yes. Rosella uses that exact mechanism in its test harness and in a few other places
13:16 moritz otoh that optimization might be premature
13:17 whiteknight moritz: yeah, it actually might be. Methods on the handle might get called in a nested runloop
13:18 whiteknight Here's the code Rosella uses, for your reference: https://github.com/Whiteknight/Rosell​a/blob/master/src/core/IO.winxed#L10
13:19 whiteknight It might actually be good to assign $*OUT there too, to make sure to catch output from libraries and non-Perl6 extensions. But that's a small issue
13:20 whiteknight brrt: I'm planning a pretty big cleanup of the IO system soon, so if you have any particular requests write them down somewhere
13:20 brrt ehm, yes, but i'm honestly not at the stage that i know all the details
13:20 whiteknight that's fine. My work won't start for a few days and will take a while to get right
13:21 whiteknight so if you're hacking and think "it would be neat if..." tell me
13:21 brrt will do, but i'll probably be busy just getting it running
13:21 brrt youve seen the mod_parrot repository yet?
13:21 whiteknight that's fine too.
13:22 whiteknight yes, I've seen it. I haven't tried to play with anything yet, I figure you'll tell me when it's ready to be played with
13:22 brrt it has no code right now, mod_bart has some
13:22 brrt but all that is testing stuff
13:22 * davidfetter wonders whether there's a mod_lisa
13:23 brrt although i did manage to get a debug httpd instance running
13:23 * brrt slowly got the simpsons reference
13:24 brrt you should try mod_bart/start_debug_apache.sh, although i'm not sure if it will work on anything not entirely standard
13:24 brrt s/standard/fedora/
13:37 whiteknight I can give that a try at some point. I'm on a vanilla ubuntu install, which I'm sure is supported
13:38 whiteknight or, supported without too much hassle
13:43 brrt you'll need a package like apache2-dev
13:43 brrt to get apxs
13:44 brrt and i know debian calls apxs apxs2
13:49 whiteknight great
14:04 n0den1te joined #parrot
15:23 contingencyplan joined #parrot
15:27 slavorg joined #parrot
15:50 kjs cotto: ping
15:51 Justin joined #parrot
15:51 Justin good afternoon
15:54 d4l3k_ joined #parrot
15:54 whiteknight_ joined #parrot
15:54 perlite_ joined #parrot
15:54 justin1 joined #parrot
15:54 particle1 joined #parrot
15:54 dmalcolm joined #parrot
15:55 Themeruta joined #parrot
15:55 particle1 joined #parrot
15:55 justin1 joined #parrot
15:55 perlite_ joined #parrot
15:55 Justin joined #parrot
15:55 contingencyplan joined #parrot
15:55 bluescreen joined #parrot
15:55 Patterner joined #parrot
15:55 brrt joined #parrot
15:55 JimmyZ joined #parrot
15:55 benabik joined #parrot
15:55 schmooster joined #parrot
15:55 brambles joined #parrot
15:55 fperrad joined #parrot
15:55 davidfetter joined #parrot
15:55 japhb joined #parrot
15:55 wagle joined #parrot
15:55 Hunger joined #parrot
15:55 plobsing joined #parrot
15:55 particle joined #parrot
15:55 perlite joined #parrot
15:55 alester joined #parrot
15:55 Khisanth joined #parrot
15:55 Woodi joined #parrot
15:55 mdupont joined #parrot
15:55 aloha joined #parrot
15:55 bacek_at_work joined #parrot
15:55 pmichaud joined #parrot
15:55 mtk joined #parrot
15:55 alvis joined #parrot
15:55 dalek joined #parrot
15:55 PerlJam joined #parrot
15:55 Coke joined #parrot
15:55 p6eval joined #parrot
15:55 pjcj joined #parrot
15:55 eternaleye joined #parrot
15:55 atrodo joined #parrot
15:55 Maddingue joined #parrot
15:55 simcop2387 joined #parrot
15:55 janus joined #parrot
15:55 elmex joined #parrot
15:55 sorear joined #parrot
15:55 GeJ joined #parrot
15:55 jsut joined #parrot
15:55 smash joined #parrot
15:55 dngor joined #parrot
15:55 Tene joined #parrot
15:55 arnsholt joined #parrot
15:55 rblackwe joined #parrot
15:55 Kovensky joined #parrot
15:55 NotFound joined #parrot
15:55 wendar joined #parrot
15:55 knewt joined #parrot
15:55 Timbus joined #parrot
15:55 cxreg joined #parrot
15:55 szbalint joined #parrot
15:55 cotto joined #parrot
15:55 TonyC joined #parrot
15:55 nopaste joined #parrot
15:55 jtpalmer joined #parrot
15:55 autark joined #parrot
15:55 Infinoid joined #parrot
15:55 jlaire joined #parrot
15:55 ttbot joined #parrot
15:55 sri joined #parrot
15:55 awwaiid joined #parrot
15:55 wagle_ joined #parrot
15:55 Maddingu1 joined #parrot
15:55 alester_ joined #parrot
15:55 benabik_ joined #parrot
15:55 preflex_ joined #parrot
15:55 eternaleye joined #parrot
15:55 JimmyZ_ joined #parrot
15:56 brrt1 joined #parrot
15:56 Timbus joined #parrot
15:56 _sri joined #parrot
15:56 whiteknight__ joined #parrot
15:56 szbalint joined #parrot
15:56 TonyC joined #parrot
15:56 janus joined #parrot
15:56 nine joined #parrot
15:57 Hunger joined #parrot
16:02 eternaleye_ joined #parrot
16:02 allison joined #parrot
16:02 brrt joined #parrot
16:02 whiteknight__ joined #parrot
16:02 d4l3k_ joined #parrot
16:02 preflex_ joined #parrot
16:02 wagle joined #parrot
16:02 kurahaupo joined #parrot
16:02 nopaste joined #parrot
16:02 Timbus joined #parrot
16:02 tadzik joined #parrot
16:02 alester joined #parrot
16:02 jevin joined #parrot
16:03 sri joined #parrot
16:06 Maddingue joined #parrot
16:08 slavorg joined #parrot
16:50 PacoAir joined #parrot
17:44 lucian joined #parrot
17:57 kjs joined #parrot
18:17 cotto kjs, pong
18:20 kjs hi cotto
18:21 kjs i had a few questions about the role of M0 and lorito. Perhaps you have a few mins during or after parrotsketch?
18:22 crab2313 joined #parrot
18:22 cotto now works.  #ps isn't for another hour
18:23 kjs oh ok. in that case i will miss it.
18:23 kjs ok, some other time then.
18:24 cotto I'm free most of today
18:25 kjs i'll be back an hour after #ps starts
18:43 particle joined #parrot
19:07 lucian joined #parrot
19:27 zby_home joined #parrot
19:34 whiteknight joined #parrot
19:37 whiteknight good afternoon, #parrot
19:37 dmalcolm joined #parrot
19:38 benabik o/ whiteknight
19:44 brrt joined #parrot
19:48 whiteknight hello benabik
19:48 whiteknight almost done your GSOC project yet?
19:48 whiteknight :)
19:49 dmalcolm joined #parrot
19:49 benabik :-P
20:29 benabik ... Did I just miss #ps?
20:29 benabik Did everyone just miss #ps?
20:29 NotFound Looks like we all missed it.
20:31 cotto d'oh
20:32 cotto my alarm went off 45 minutes ahead.  I made a note of it, continued hacking and forgot about it completely.
20:33 whiteknight blah
20:34 kjs can we do it now?
20:34 whiteknight how hard would it be to setup aloha to make a countdown message about it?
20:34 whiteknight "#ps meeting in 10 minutes, scrawny humans"
20:35 benabik Aloha's just a perl bot.
20:35 benabik Shouldn't be too hard.
20:36 cotto just fork, hack and ask bacek++ to pull
20:36 kjs is it an idea to hold #ps now?
20:36 brrt1 joined #parrot
20:36 kjs since there are several people here..
20:36 whiteknight I'm fine with that
20:37 cotto +1
20:58 brrt stupid apxs
21:07 Coke kjs: using C worked so well attracting core developers, we now have... how many that hack on C guts on a regular basis? (I don't think dan's assumption there has stood the test of time.)
21:08 whiteknight our current number of core developers has very little to do with choice of language, I think
21:08 whiteknight switching over to C++ isn't going to gain us a dozen new helpers or more
21:09 kjs Coke: you're right but implementing it in say, Eiffel, wouldn't really help :-)
21:12 whiteknight we've lost several core developers for a variety of reasons recently, and there's nothing really we could do about it
21:20 cotto nopaste?
21:20 cotto aloha, nopaste?
21:21 aloha cotto: nopaste is is http://nopaste.snit.ch (works with the script in $_PARROT/tools/dev/nopaste.pl)
21:21 kjs that's it
21:21 kjs thanks
21:21 nopaste "kjs" at 89.101.178.50 pasted "problem with running m0 assembler" (2 lines) at http://nopaste.snit.ch/142354
21:23 cotto kjs, istr assuming perl >= 5.12.0 for the m0 assembler
21:23 kjs i got 5.10
21:24 cotto yup
21:24 kjs ok time to upgrade so
22:37 lucian joined #parrot
23:07 particle joined #parrot
23:15 lucian joined #parrot
23:58 cotto kjs++

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

Parrot | source cross referenced