Camelia, the Perl 6 bug

IRC log for #parrot, 2012-04-19

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:02 whiteknight dukeleto: ping
00:02 whiteknight mayank: ping
00:03 dukeleto whiteknight: pong
00:03 dukeleto whiteknight: i just saw the duplicate email
00:03 whiteknight yeah, I'm replying now
00:04 whiteknight my general thought is: it would be good/great for us. If it's better than that for them, that's fine by me
00:04 whiteknight or, whatever his preference is
00:11 dalek parrot/remove_sub_flags: 2ab8cb0 | Whiteknight++ | compilers/imcc/main.c:
00:11 dalek parrot/remove_sub_flags: Don't execute immediate subs twice. Only execute them the instant that they are compiled, not again later.
00:11 dalek parrot/remove_sub_flags: review: https://github.com/parrot/parrot/commit/2ab8cb031f
00:12 aloha joined #parrot
00:17 whiteknight We've got 99 branches on github, apparently
00:19 dukeleto whiteknight: one more to make it a century
00:19 dukeleto whiteknight++ # gsoc duplicate email
00:19 whiteknight I think I want to merge pcc_ops
00:46 whiteknight I've got 99 branches, but soon pcc_ops won't be one
00:56 whiteknight hmm. I think I've already merged a replacement for this
01:05 whiteknight ha, anybody mind if I merge my branch to delete the Eval PMC?
01:08 whiteknight actually, nevermind. It doesn't pass tests
01:20 dalek parrot/eval_pmc: 8749bb3 | Whiteknight++ | / (13 files):
01:20 dalek parrot/eval_pmc: Merge branch 'master' into eval_pmc
01:20 dalek parrot/eval_pmc: review: https://github.com/parrot/parrot/commit/8749bb3072
01:20 dalek parrot/eval_pmc: 68f0666 | Whiteknight++ | tools/dev/nci_thunk_gen.pir:
01:20 dalek parrot/eval_pmc: One fix to nci_thunk_gen.pir to get the build moving again. PackfileView doesn't have an invoke vtable like Eval did
01:20 dalek parrot/eval_pmc: review: https://github.com/parrot/parrot/commit/68f0666f3f
01:20 dalek parrot/eval_pmc: 53273f8 | Whiteknight++ | / (3 files):
01:20 dalek parrot/eval_pmc: Fix data_json and several tests so that the test run executes without hanging (some failures)
01:20 dalek parrot/eval_pmc: review: https://github.com/parrot/parrot/commit/53273f891a
01:20 dalek parrot/eval_pmc: 24c35b6 | Whiteknight++ | / (317 files):
01:20 dalek parrot/eval_pmc: Merge branch 'master' into eval_pmc
01:20 dalek parrot/eval_pmc: review: https://github.com/parrot/parrot/commit/24c35b693e
03:28 benabik joined #parrot
03:36 nbezzala joined #parrot
03:46 schmooster joined #parrot
03:47 davidfetter joined #parrot
04:09 _mayank whiteknight: pong
04:21 dalek joined #parrot
04:21 pmichaud_ joined #parrot
04:21 Util_ joined #parrot
04:42 dalek parrot: a71d1fd | petdance++ | src/ (3 files):
04:42 dalek parrot: consting args
04:42 dalek parrot: review: https://github.com/parrot/parrot/commit/a71d1fd812
07:10 nbezzala_ joined #parrot
07:23 lucian__ joined #parrot
07:40 fperrad joined #parrot
08:18 lucian joined #parrot
08:43 fperrad joined #parrot
09:15 dalek parrot: 613e1f9 | fperrad++ | t/pmc/timer.t:
09:15 dalek parrot: [t] fix shebang
09:15 dalek parrot: review: https://github.com/parrot/parrot/commit/613e1f9cc7
10:07 brrt joined #parrot
10:08 lucian joined #parrot
10:19 * lucian got disconnected yesterday, on the train
10:19 * lucian waves hello
10:25 lucian i've noticed the Jaesop proposal is marked as duplicate
10:29 brrt hello
10:41 _mayank lucian: Hi, I submitted the Jaesop proposal . What is meant by "marked as duplicate"?
10:41 lucian _mayank: i don't really know
10:42 lucian it could be either to signal mistakes, like the same person mistakenly submitting the same proposal twice
10:42 lucian or it could mean there's another very similar proposal
10:42 lucian neither appears to be the case here
10:42 _mayank Actually, I did submit another proposal to another organisation.
10:43 lucian hmm. i don't think that could be it
10:43 _mayank Is it related to that? I got a mail from the mentor from the other organisation, asking for my preference out of the 2 projects.
10:43 _mayank It was cc'ed to Andrew also
10:43 lucian it wouldn't be the same proposal, obviously
10:43 lucian _mayank: i see. have you expressed a preference?
10:45 _mayank Not yet, I need to. I wanted to have a word with Andrew before I do. Waiting for him.
10:46 brrt if history is an indication, he'll be here in an hour or so
10:49 lucian _mayank: btw, i also expressed an interest to mentor for this project
12:01 benabik joined #parrot
12:07 brrt left #parrot
12:13 bluescreen joined #parrot
12:16 whiteknight joined #parrot
12:25 whiteknight good morning, #parrot
12:26 _mayank good morning whiteknight
12:27 benabik o/ #parrot, whiteknight
12:29 _mayank whiteknight: I saw your ping from yesterday, was it about the conflicts?
12:29 whiteknight _mayank: yes, the conflicts
12:29 whiteknight hello benabik
13:12 PacoAir joined #parrot
13:30 bluescreen joined #parrot
13:34 rich joined #parrot
13:34 rich left #parrot
13:50 hercynium joined #parrot
14:20 contingencyplan joined #parrot
14:25 dalek nqp: e5e2dea | coke++ | VERSION:
14:25 dalek nqp: bump VERSION to 2012.04
14:25 dalek nqp: review: https://github.com/perl6/nqp/commit/e5e2dea0f5
14:29 dalek rakudo/nom: 0c5d318 | coke++ | tools/build/NQP_REVISION:
14:29 dalek rakudo/nom: update to latest NQP
14:29 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/0c5d3182f8
14:32 dalek rakudo/nom: b27b216 | coke++ | src/core/tai-utc.pm:
14:32 dalek rakudo/nom: ooh, new leap second
14:32 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/b27b2160d8
14:47 dmalcolm joined #parrot
14:58 Justin joined #parrot
14:59 Justin good day everyone
15:01 benabik o/ Justin
15:09 whiteknight hello Justin
15:11 dalek PACT: e7aed76 | benabik++ | / (3 files):
15:11 dalek PACT: Notes on REPLs
15:11 dalek PACT:
15:11 dalek PACT: Implementing a REPL framework has some tricky parts.  Document them
15:11 dalek PACT: somewhere for further reference and consideration.
15:11 dalek PACT: review: https://github.com/parrot/PACT/commit/e7aed7602f
15:11 * benabik is currently writing PACT/docs/optimization.mkd
15:12 whiteknight nice
15:12 whiteknight benabik++
15:13 benabik whiteknight: Did you look at the axe job I did to opcode trees?  I'm hoping my brief explanations are enough to carry the basic ideas.
15:14 whiteknight benabik: I saw the commit, but didn't read it too closely
15:15 whiteknight I probably need to go back and actually pay attention this time
15:15 benabik Well, if you get a chance.  :-D
15:15 whiteknight if I get a chance? My free time is boundless
15:15 benabik I suppose it's not too big a deal at the moment, given that I'm the only person working on it, but I want to have bus > 1
15:15 benabik whiteknight: Sarcasm doesn't travel well over the internet...
15:17 whiteknight :)
15:17 whiteknight I will look at it. Don't worry about that.
15:17 whiteknight PACT is very near and dear to my heart
15:24 Justin lol
15:35 Coke hey, everybody - if you're interested in mentoring a project for GSOC 2012 for parrot, it's not too late to sign up.
15:35 Coke help avoid burnout, sign up today!
15:36 whiteknight We actually have several mentors signed up already, but not all of them are interested in mentoring all projects
15:37 whiteknight matching mentors up to the right projects is the hard part
15:37 jashwanth joined #parrot
15:39 alvis joined #parrot
15:46 Justin aw :( no one wants to mentor me?
15:47 Justin lol
15:48 PerlJam Justin: What's your project proposal?
15:48 davidfetter joined #parrot
15:48 Justin The security sandbox :)
15:51 dngor joined #parrot
16:35 Justin joined #parrot
17:01 GodFather joined #parrot
17:03 PacoAir joined #parrot
17:25 cotto ~~
17:29 whiteknight hello cotto
17:32 cotto hi whiteknight
17:33 awwaiid joined #parrot
17:54 lucian__ joined #parrot
19:43 moritz hi everybody
19:43 moritz how do I switch off lcoale-dependent behavior in parrot?
19:43 benabik moritz: Somehow I knew that was coming.  Sadly, I don't know the answer.
19:45 moritz the code seems to be in src/platform/linux/encoding.c and not easily configurable
19:46 NotFound moritz: Configuring, or runtime?
19:47 moritz NotFound: runtime
19:47 NotFound moritz: try LANG=C
19:48 moritz NotFound: but then I don't get UTF-8 :/
19:48 moritz as Parrot_platform_encoding_ptr
19:48 moritz maybe the correct thing would be to never access that at runtime
19:48 benabik If you want UTF8, you probably want to set LANG=UTF-8 instead of LANG=C.  Or something like.
19:48 NotFound moritz: I thik so, relying in platform enconding is almost always wrong.
19:48 moritz it's not that easy
19:49 moritz NotFound: problem is, the documentation doesn't say where it's used
19:49 moritz relying on LANG is also wrong, because then subprocesses we spawn also has the modified LANG
19:49 moritz and that's not something a VM should do to its host programs
19:50 moritz maybe it's something as simple as manually setting the encoding of some file handle, but I just don't know
19:51 benabik You can get an object for stdin, I think...  Perhaps you can set the encoding on it?
19:53 NotFound moritz: What is your current problem?
19:54 NotFound I've had problems with open "rp", in that case you just need to set the encoding in the handle.
19:54 benabik I think it's that our output functions translate to platform encoding.  Which is probably vaguely sane.
20:07 moritz NotFound: the problem is that non-UTF-8 locales (or ones that are set up incorrectly) produce test failures like that: http://pastebin.com/FCj0dHU6
20:08 moritz NotFound: which basically means that strings don't round-trip correctly from -e on the command line to STDOUT
20:08 benabik I suppose we could default to UTF8 instead of ASCII.  :-/
20:08 benabik (Although we might explicitly recognize C as ASCII.)
20:11 NotFound Defaulting to utf8 is not a general solution, that way you get failures with byte sequences not parseable as uft8
20:12 moritz well, if you default to ASCII, you get errors on bytes > 127
20:12 moritz at least if you really mean ASCII
20:12 benabik Possible encoding errors in any case.
20:13 NotFound The assumption is that if you have a utf8 locale you pass utf8 strings to -e
20:13 NotFound And so on.
20:16 moritz yes, and I'd like to override that assumption
20:24 NotFound moritz: I don't understand that test. Does it expect that parrot must guess what encoding you want in the output?
20:29 moritz NotFound: no. Rakudo could pass it if rakudo simply always assumed UTF-8
20:30 moritz so, how do I make rakudo always use UTF-8 instead of (sometimes?) what the locales say?
20:30 benabik You can set encoding on IO objects, right?  So you should be able to get the stdio objects and set them to UTF-8.  Less sure about dealing with ARGV.
20:31 NotFound benabik: command line arguments are not stdin
20:31 benabik NotFound: Yes, but I bet stdout is set to ASCII too.
20:31 benabik NotFound: And that's why I said "less sure about argv".
20:32 benabik Probably need to set both to get it to work right.
20:32 * benabik could be wrong.
20:33 NotFound If you get a utf8 valid byte pair interpreted as latin-1 and then you recode to utf8, the result will be wrong.
20:43 benabik We may just want to add a --encoding parameter that overrides whatever we think the platform is.
20:46 NotFound I think that we should first document when and why we use the platform encoding. Otherwise adding more options can be just adding more confusion.
20:47 benabik True story.
21:27 Hunger joined #parrot
21:49 dip joined #parrot
22:09 whiteknight joined #parrot
22:43 kid51 joined #parrot
23:08 whiteknight good evening, #parrot
23:09 tadzik good night whiteknight
23:11 whiteknight hello tadzik, how are you?
23:12 tadzik pretty well. Survived the Killer Week on the university and now preparing for Perl 6 Hackathon in Oslo
23:12 tadzik it's 1:12 AM in here, and I'm leaving for the airport on 4:15 so I figured there's pretty much no point in going to bed :)
23:26 brambles joined #parrot
23:36 dmalcolm joined #parrot
23:44 dalek rakudo/nom: 6fcae56 | coke++ | docs/announce/2012.04:
23:44 dalek rakudo/nom: reluctantly add myself; remove duplicate masak
23:44 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/6fcae5611c
23:44 dalek rakudo/nom: 96ab007 | coke++ | docs/release_guide.pod:
23:44 dalek rakudo/nom: Add note about script requirement
23:44 dalek rakudo/nom:
23:44 dalek rakudo/nom: (match other note earlier in the doc)
23:44 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/96ab007ef5
23:44 dalek rakudo/nom: 73b1756 | coke++ | docs/ChangeLog:
23:44 dalek rakudo/nom: update ChangeLog slightly
23:44 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/73b1756dcf
23:44 dalek rakudo/nom: 65ab8e3 | coke++ | docs/release_guide.pod:
23:44 dalek rakudo/nom: nearly done planning...
23:45 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/65ab8e3d96
23:45 dalek rakudo/nom: 12411d0 | coke++ | VERSION:
23:45 dalek rakudo/nom: 2012.04 bump VERSION
23:45 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/12411d0943
23:52 dalek rakudo/nom: 2e550a8 | coke++ | docs/release_guide.pod:
23:52 dalek rakudo/nom: Update step number. Add note.
23:52 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/2e550a8202

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

Parrot | source cross referenced