Camelia, the Perl 6 bug

IRC log for #parrot, 2011-01-09

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:00 mikehh but anyway I need some sleep, so will try and finish it up when I wake up again
00:00 rfw oh, i'm not getting a segfault any more
00:00 rfw i'm getting SIGABRT
00:00 rfw odd
00:00 * mikehh bbl
00:00 rfw oh there we go
00:00 nwellnhof rfw: that's possible due to memory randomization and random hash seeds.
00:01 rfw attached
00:03 rfw cotto: is that okay?
00:04 cotto rfw, it also uses print, but I can fix that
00:05 rfw oh, didn't see that
00:12 dalek parrot: 4f5fc35 | cotto++ | t/pmc/bigint.t:
00:12 dalek parrot: Merge branch 'bigint_test_coverage' of https://github.com/rofflwaffls/parrot into rofflwaffls-bigint_test_coverage
00:12 dalek parrot: review: https://github.com/parrot/parrot/commit/4f5fc3551e
00:12 dalek parrot: b0380c8 | rfw++ | t/pmc/bigint.t:
00:12 dalek parrot: converted say to diag()
00:12 dalek parrot: review: https://github.com/parrot/parrot/commit/b0380c8f6b
00:12 dalek parrot: 23c2022 | cotto++ | t/pmc/bigint.t:
00:12 dalek parrot: Merge branch 'bigint_test_coverage' of https://github.com/rofflwaffls/parrot into rofflwaffls-bigint_test_coverage
00:12 dalek parrot: review: https://github.com/parrot/parrot/commit/23c202222d
00:12 dalek parrot: c9c10fb | cotto++ | t/pmc/bigint.t:
00:12 dalek parrot: [t] also avoid use of print op in bigint tests
00:12 dalek parrot: review: https://github.com/parrot/parrot/commit/c9c10fb235
00:13 cotto rfw, marked complete
00:13 rfw yay
00:13 rfw thanks
00:13 cotto Matt221, also marked complete
00:14 * Kovensky sends SIGQUIT to rfw
00:14 * rfw sends SIGSEGV to Kovensky
00:14 cotto Matt221, nice job breaking 100
00:14 Kovensky nuu D:
00:15 Matt221 cotto: thanks! ill take this: http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129452254826
00:15 cotto yes you can
00:15 cotto that'll be a good one
00:17 bacek cotto, did you create "pirate cli" task?
00:18 cotto Matt221, that PMC was very recently updated.  Don't be surprised if there's a lurking bug.
00:18 cotto bacek, not yet
00:18 dalek parrot/nqp_pct: eddba82 | bacek++ | compilers/pct/ (4 files):
00:18 dalek parrot/nqp_pct: Convert POST::Op to NQP
00:18 dalek parrot/nqp_pct: review: https://github.com/parrot/parrot/commit/eddba82142
00:18 dalek parrot/nqp_pct: 4da62c0 | bacek++ | compilers/pct/src/POST/ (12 files):
00:18 dalek parrot/nqp_pct: Update vim modelines
00:18 dalek parrot/nqp_pct: review: https://github.com/parrot/parrot/commit/4da62c0ccd
00:18 dalek parrot/nqp_pct: 98a5a52 | bacek++ | compilers/pct/src/POST/Sub.pm:
00:18 dalek parrot/nqp_pct: Remove obsoleted comment.
00:18 dalek parrot/nqp_pct: review: https://github.com/parrot/parrot/commit/98a5a52a17
00:19 cotto bacek, were you thinking it'd use PIR Getopt?
00:21 bacek cotto, dunno. There is some support for CLI in PCT::Compiler. We should just reuse and extend it in PIR::Compiler
00:22 cotto bacek, do you basically want to make ./installable_pir --target=pbc -o foo.pbc foo.pir dtrt?
00:22 cotto I thought it already did
00:23 bacek I want at least "--debug" :)
00:23 bacek --target, etc handled by PCT::Compiler afaik
00:23 cotto right
00:23 cotto what would --debug do?
00:24 cotto set an internal variable so that more diagnostic info gets printed?
00:25 Matt221 cotto: can you give a quick summary on how packfilebytecodesegment works. i.e. should it be initialized using the normal init method or from another object, etc..
00:25 aantn left #parrot
00:25 cotto Matt221, examples/pir/make_hello_pbc.pir
00:27 cotto it's a PMC-based interface to Parrot's Packfile code, which is the internal format used to store bytecode and whatever's needed to make the bytecode useful.
00:27 bacek cotto, POST::Compiler.create_context. It should set %context<debug> into 1.
00:27 cotto bacek, so the task is simple to add --debug to PIRATE that sets that flag?
00:28 Matt221 cotto: thanks, makes sense
00:28 bacek cotto, I think we should make it more generic
00:28 cotto bacek, can you write up what you have in mind?
00:28 cotto I can turn it into a gci task.
00:29 whiteknight joined #parrot
00:33 cotto hio whiteknight
00:33 whiteknight hello cotto
00:36 dalek parrot: 4bcb796 | nwellnhof++ | src/pmc/bigint.pmc:
00:36 dalek parrot: Fix BigInt.set_pmc
00:36 dalek parrot:
00:36 dalek parrot: See TT #1940
00:36 dalek parrot: review: https://github.com/parrot/parrot/commit/4bcb796669
00:36 nwellnhof we still need a test for that
00:38 cotto we can unskip the test
00:40 avms left #parrot
00:40 chromatic joined #parrot
00:43 nwellnhof cotto: which one?
00:44 cotto test_set_pmc in t/pmc/bigint.t
00:48 dalek parrot: c9ea3e3 | nwellnhof++ | t/pmc/bigint.t:
00:48 dalek parrot: [t] Unskip BigInt.set_pmc test
00:48 dalek parrot: review: https://github.com/parrot/parrot/commit/c9ea3e37a2
00:48 whiteknight you know what would solve the problem permanently? Rip BigInt out and send it on it's way
00:50 whiteknight wrap it up in plastic and drop it off a cliff
00:51 nwellnhof do we have a replacement?
00:52 dalek parrot: f935437 | jkeenan++ | lib/Parrot/Docs/Section/Tools.pm:
00:52 dalek parrot: Remove instance of new_item() for deleted program 'tools/dev/list_unjitted.pl'.
00:52 dalek parrot: review: https://github.com/parrot/parrot/commit/f935437efe
00:52 dalek parrot: a25bfd8 | jkeenan++ | / (3 files):
00:52 dalek parrot: Merge branch 'master' of git@github.com:parrot/parrot
00:52 dalek parrot: review: https://github.com/parrot/parrot/commit/a25bfd857a
00:53 nwellnhof plobsing: i've been working on unicode filenames. i should have something ready by tomorrow.
00:54 plobsing nwellnhof: I've been working on unicode environment variables and argv. I should have something to publish after I run fulltest
00:56 nwellnhof i've been looking into unicode command line arguments for windows. that will be hard to implement afaics.
00:58 plobsing it works now under linux and should be implementable on any system that consistently uses an encoding (ie: not insane)
00:59 plobsing nwellnhof: to get unicode command line arguments under windows, don't you simply rename main to wmain?
01:01 nwellnhof plobsing: yes, or you call GetCommandLineW. but the option parser doesn't understand utf-16.
01:02 nwellnhof i think the easiest way is to write a small standalone utf-16 to utf-8 converter.
01:03 plobsing IMHO, the correct solution is to use parrot strings pervasively and convert encodings at the OS barriers
01:04 dalek TT #1940 closed by nwellnhof++: set_pmc segfaults in BigInt
01:04 dalek TT #1940: http://trac.parrot.org/parrot/ticket/1940
01:04 plobsing that does make things quite tricky for the option parser (which happens before GC is initialized), but I think I might have a solution for that
01:04 dalek parrot: 8c532f1 | jkeenan++ | examples/benchmarks/mops_intval.pasm:
01:04 dalek parrot: Remove reference to deleted file in POD; provide plausible replacement.
01:04 dalek parrot: review: https://github.com/parrot/parrot/commit/8c532f1d14
01:06 nwellnhof plobsing: what's your plan?
01:07 plobsing create an initial interpreter (with hard-coded options) to parse the argv and set up the real deal
01:07 plobsing this strategy would also allow HLLs and other fakecutables to expose more control over the interp
01:08 nwellnhof that's the definitely the cleanest solution.
01:09 cotto It'd be nice to have all option parsing happen in the same place instead of needing to break it into two stages.
01:14 whiteknight a cleaner solution would be to not have options which the interpreter can't parse
01:15 whiteknight Being able to pick the GC core on the commandline is probably not a necessary feature
01:15 whiteknight GC threshold values can be set at any time, really
01:16 dalek parrot/platform-encoding: 76b1cdf | plobsing++ | / (5 files):
01:16 dalek parrot/platform-encoding: add "platform" encoding alias
01:16 dalek parrot/platform-encoding:
01:16 dalek parrot/platform-encoding: "platform" encoding represents the assumed encoding which occurs in many OSes.
01:16 dalek parrot/platform-encoding: This defaults to ASCII, which is how we treat our C strings now mostly.
01:16 dalek parrot/platform-encoding: review: https://github.com/parrot/parrot/commit/76b1cdfe7d
01:16 dalek parrot/platform-encoding: e5e791e | plobsing++ | config/gen/platform/linux/encoding.c:
01:16 plobsing afk
01:16 dalek parrot/platform-encoding: add linux-specific platform encoding functions with support for ASCII, Latin-1, and UTF-8 locales
01:16 dalek parrot/platform-encoding: review: https://github.com/parrot/parrot/commit/e5e791e0cd
01:16 dalek parrot/platform-encoding: daff2a6 | plobsing++ | frontend/parrot/main.c:
01:16 dalek parrot/platform-encoding: respect locale settings
01:16 dalek parrot/platform-encoding: review: https://github.com/parrot/parrot/commit/daff2a623f
01:16 dalek parrot/platform-encoding: 5503a4c | plobsing++ | config/gen/platform/generic/env.c:
01:16 dalek parrot/platform-encoding: use platform encoding strings in getenv/setenv
01:16 dalek parrot/platform-encoding: review: https://github.com/parrot/parrot/commit/5503a4cad6
01:16 dalek parrot/platform-encoding: 9c266ab | plobsing++ | src/string/api.c:
01:16 dalek parrot/platform-encoding: translate between NULL and STRINGNULL for platform strings
01:16 dalek parrot/platform-encoding: review: https://github.com/parrot/parrot/commit/9c266ab7dc
01:16 dalek parrot/platform-encoding: f375a9d | plobsing++ | / (8 files):
01:16 dalek parrot/platform-encoding: use parrot strings as the output of getenv
01:16 dalek parrot/platform-encoding:
01:16 dalek parrot/platform-encoding: this encapsulates platform encoding for environment strings
01:16 dalek parrot/platform-encoding: review: https://github.com/parrot/parrot/commit/f375a9d994
01:16 dalek parrot/platform-encoding: de3e486 | plobsing++ | src/pmc/env.pmc:
01:16 dalek parrot/platform-encoding: use parrot strings when iterating environment
01:16 dalek parrot/platform-encoding:
01:16 dalek parrot/platform-encoding: handles non-ascii environment variable names better
01:16 dalek parrot/platform-encoding: review: https://github.com/parrot/parrot/commit/de3e486837
01:16 dalek parrot/platform-encoding: 9cc3ace | plobsing++ | / (2 files):
01:16 dalek parrot/platform-encoding: allow for unicode names of fakecutables
01:16 dalek parrot/platform-encoding: review: https://github.com/parrot/parrot/commit/9cc3acec9a
01:16 dalek parrot/platform-encoding: c654e05 | plobsing++ | src/ (2 files):
01:16 dalek parrot/platform-encoding: respect locale for argv wrapping
01:16 dalek parrot/platform-encoding: review: https://github.com/parrot/parrot/commit/c654e0562d
01:16 dalek parrot/platform-encoding: f9ba45c | plobsing++ | / (2 files):
01:16 dalek parrot/platform-encoding: [codingstd] long lines and function documentation formatting
01:16 dalek parrot/platform-encoding: review: https://github.com/parrot/parrot/commit/f9ba45c3a3
01:16 dalek parrot/platform-encoding: 693f4b5 | plobsing++ | MANIFEST:
01:16 dalek parrot/platform-encoding: mk_manifest_and_skip
01:16 dalek parrot/platform-encoding: review: https://github.com/parrot/parrot/commit/693f4b5939
01:16 dalek parrot/platform-encoding: bb9927f | plobsing++ | include/parrot/ (2 files):
01:16 dalek parrot/platform-encoding: headerizer
01:16 dalek parrot/platform-encoding: review: https://github.com/parrot/parrot/commit/bb9927f91d
01:16 dalek parrot/platform-encoding: dd53af6 | plobsing++ | config/gen/platform/ (2 files):
01:16 dalek parrot/platform-encoding: fixup typos
01:16 dalek parrot/platform-encoding: review: https://github.com/parrot/parrot/commit/dd53af6872
01:16 dalek parrot/platform-encoding: 7606225 | plobsing++ | src/string/api.c:
01:17 dalek parrot/platform-encoding: assert args for newly added functions
01:17 dalek parrot/platform-encoding: review: https://github.com/parrot/parrot/commit/760622584d
01:19 dalek parrot: 995cf83 | Whiteknight++ | / (12 files):
01:19 dalek parrot: Merge branch 'master' of github.com:parrot/parrot
01:19 dalek parrot: review: https://github.com/parrot/parrot/commit/995cf8365c
01:21 nwellnhof whiteknight: the GC core option is the only really hard one. but we can also keep parseflags_minimal for that.
01:22 whiteknight nwellnhof: I've been coming to the conclusion that a command-line selectable GC core is not a good idea
01:22 whiteknight not only does it make arg parsing and interp creation more complicated, but it also adds an indirect function call for every single GC operation, which eats performance
01:23 whiteknight far better, I think, is a compile-time option like we used to have
01:26 kid51 is now known as kid51_at_dinner
01:27 nwellnhof compile-time is ok with me. we should also rip out the old gc_ms code.
01:37 cotto what about the hash seed?  That's quite useful for some debugging use cases.
01:38 plobsing can the GC invalidate precomputed hash seeds on all strings?
01:38 plobsing (since it knows about all the strings already)
01:39 cotto 0 is assumed to be uninitialized or otherwise invalid
01:39 nwellnhof it's no problem to keep parseflags_minimal for ascii options.
01:39 plobsing hmmm... that still doesn't cause all hashes to reorder themselves
01:39 cotto zeroing all string hashes should do it
01:40 nwellnhof changing the hash seed at runtime is next to impossible.
01:41 cotto I think the solution to doing that may be worse than just having two places that parse options.
01:42 nwellnhof we have three places currently
01:44 nwellnhof plobsing++ # i like platform-encoding
01:50 Yuki`N joined #parrot
01:50 whiteknight Well, when we consider hash seed, There really is no way to do all argument processing at once
01:50 whiteknight UNLESS we don't read the hash seed from the commandline
01:50 Yuki`N So I wonder when GCI really ends.
01:50 whiteknight we get it from an environment variable or something
01:51 Kapace Yuki`N: http://www.timeanddate.com/counters/customc​ounter.html?month=01&amp;day=10&amp;year=20​11&amp;hour=08&amp;min=&amp;sec=&amp;p0=0
01:51 Yuki`N 0800 UTC, which means beginning of jan 10, yes?
01:52 cotto whiteknight, interesting idea.  I'll need to give that some thought.
01:52 whiteknight cotto: Io
01:52 whiteknight I'm not necessarily suggesting it. But if there is motivation to unify arg processing, that's a way to acheive it
01:52 cotto that'd make it easier to deal with fakecutables and other embedded uses of libparrot.
01:52 whiteknight of course, arg processing is something that the front-end does, not libparrot itself
01:52 plobsing sent mail to parrot-dev re: platform-encoding. if noone objects, I'll merge monday sometime.
01:53 Matt221 cotto / whiteknight: can you review: https://github.com/parrot/parrot/pull/109
01:53 Yuki`N What happened to fbrito fixing sha256?
01:53 whiteknight right, the command-line options that parrot executable uses now is just a quirk of that front-end. We could easily write a new front-end with a different command-line
01:53 cotto Yuki`N, he may have given up or decided to come back to it.  I'm not sure.
01:54 cotto Yuki`N, are you interested in that task?
01:54 Yuki`N I may try it.
01:54 cotto whiteknight, are you reviewing the pull request?
01:54 Yuki`N Unfortunately I'll have to familiarize myself with sha256 first.
01:54 cotto Yuki`N, did you check the additional links?
01:55 whiteknight which pull request?
01:55 whiteknight I'm not reviewing anything right now
01:55 Yuki`N I wiki'd sha2.
01:55 Yuki`N The task is only a 2pointer? D:
01:55 Yuki`N I like crypto anyway.
01:55 cotto Yuki`N, it's open.
01:55 Yuki`N This one time I was writing a C# implementation of custom AES and it was bugged.
01:55 rfw Yuki`N: 30 more hours \o/
01:56 Yuki`N Turns out I passed a reference to a byte array instead of a clone.
01:56 Yuki`N Threw off the entire algorithm.
01:56 Yuki`N Crpyto bugs are horrible.
01:56 cotto Hmm.  I could call it "difficult" or "medium", depending on the state of the code.
01:56 cotto It could be a single-character problem or it could be something more serious.
01:57 rfw cotto: http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129452224440
01:57 cotto It's difficult now.
01:57 Yuki`N Ah.
01:57 Kapace i tried to look at it, I saw that some of the internal functions were optimized..
01:58 cotto accepted
01:58 cotto Kapace, in that case the rating of "difficult" is warranted.
01:58 Kapace so I redid them without optimizations (implemented straight from some other code), and still no go
01:59 cotto rfw, also accepted
01:59 dalek parrot/gci_hash_func_rename: 8e5145b | Whiteknight++ | / (15 files):
01:59 dalek parrot/gci_hash_func_rename: rename a few functions for saity. Add macros with the old function names (pre-branch) to help with the deprecation
01:59 dalek parrot/gci_hash_func_rename: review: https://github.com/parrot/parrot/commit/8e5145b84f
01:59 rfw cotto: thanks
01:59 Kapace cotto: but yeah, who knows, could be an off-by-one error or something
02:00 cotto Yuki`N, you can fix it however you like.  Once it's working, we can optimize it as needed now that we have tests.
02:00 Kapace it would be interesting to see what causes it in the end...
02:00 Kapace s/would/will/
02:00 kid51_at_dinner is now known as kid51
02:00 Yuki`N If I change the pir file how do I compile it to pbc?
02:00 cotto make will catch it
02:01 Yuki`N ah.
02:01 cotto it's nice like that
02:01 cotto at least you won't have a long compilation time
02:02 Matt221 cotto: can you take a look at this: https://github.com/parrot/parrot/pull/109
02:02 cotto whiteknight, do you have tuits to look at the pull request or should I?
02:03 whiteknight I don't tonight. I'm trying to wrap up this hash_func_rename branch tonight and then bed
02:03 whiteknight if it can wait till morning, I can do it
02:03 cotto ok.  I'll get it.
02:04 cotto that's a tricky one.
02:04 Yuki`N Too bad there's no PIR debugger.
02:04 cotto I tried and didn't end up having enough tuits
02:04 Yuki`N This code is only tricky because PIR is a relatively limited language.
02:04 cotto Yuki`N, you mean like parrot_debugger?
02:05 rfw how do i call the get_pointer vtable?]
02:05 Matt221 rfw: get_addr
02:05 rfw Matt221: thanks
02:05 cotto rfw, from PIR you don't
02:06 Yuki`N PIR is big-endian, yes?
02:06 cotto Yuki`N, it's the same as the platform
02:08 cotto rfw, it's one of those VTABLE functions that usually exposes internal stuff that we don't want exposed.  In the general case you don't want to muck with it, but for tests it's ok if you know what you're doing.
02:12 cotto Matt221, $P0 = box 3 is easier than $P0 = new 'Integer' \n $P0  = 3
02:13 dalek parrot: 3143e53 | (Matt Rajca)++ | / (2 files):
02:13 dalek parrot: Increased code coverage for PackfileBytecodeSegment PMC
02:13 dalek parrot: review: https://github.com/parrot/parrot/commit/3143e53f97
02:13 rfw cotto: ah okay
02:14 rfw cotto: 100% coverage for nativepccmethod :)
02:14 whiteknight rfw++
02:14 rfw hi whiteknight
02:16 cotto whiteknight, I'm glad you're working on hash_func_rename
02:16 rfw argh, forgot to rebase
02:16 rfw cotto, whiteknight: http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129452224440 review please
02:16 cotto rfw, you should be working from a branch anyway
02:17 rfw cotto: yeah but my master wasn't clean
02:17 rfw so i had to rebase parrot origin onto my branch
02:17 whiteknight cotto: It's going to merge tonight. I'm running tests now and if they pass it's merging
02:17 whiteknight and I've included those macros for deprecation awesomenes
02:18 cotto rfw, ah.  You are.  Good show.
02:18 cotto whiteknight, great.
02:18 cotto Changing _hsh_ to _hash_ will definitely not be one of the things I regret doing.
02:19 cotto even if I had to review the whole commit to make sure I didn't change anything I didn't mean to
02:19 whiteknight cotto: That's what I'm saying about those unique prefixes. If all functions in a subsystem use the same unique prefix, it's trivial to change them all at once
02:19 kid51 Suggestion for new GCI task:  Reduce number of files failing under 'make warnings_tests'
02:19 whiteknight from this point forward, we can change them all on a whim any time we want with a single sed command
02:20 cotto yup
02:21 cotto and if you named your variable Parrot_hash_foo, it won't go well with you.
02:21 nopaste "kid51" at 192.168.1.3 pasted "Tests failing under 'make warnings_test'" (39 lines) at http://nopaste.snit.ch/27662
02:21 cotto kid51, I didn't we had that.
02:22 cotto *know
02:23 kid51 Neither did I until I started going thru TT #1922 (the 'make help' review task that wasn't done so well)
02:24 cotto kid51, I agree.  Apologies for approving that prematurely.
02:25 kid51 My impression is that the students shy away from tasks where we include in the requirements things like: "evaluate this";  "write a report"; "make a recommendation"
02:25 Yuki`N How do I define PIR macros?
02:25 Yuki`N I feel like this code needs to be macro'd.
02:25 cotto t/pir/macro.t
02:26 dalek parrot: 28b43a8 | Whiteknight++ | / (35 files):
02:26 dalek parrot: merge the branch to rename hash functions, fixing conflicts
02:26 whiteknight ...and merged
02:26 dalek parrot: review: https://github.com/parrot/parrot/commit/28b43a8a85
02:26 dalek parrot: 2b85435 | Whiteknight++ | t/src/embed/api.t:
02:26 dalek parrot: add in a test file I thought I had added earlier
02:26 dalek parrot: review: https://github.com/parrot/parrot/commit/2b85435085
02:26 dalek parrot: d564d88 | Whiteknight++ | / (2 files):
02:26 dalek parrot: Merge branch 'master' of github.com:parrot/parrot
02:26 dalek parrot: review: https://github.com/parrot/parrot/commit/d564d8885b
02:26 rfw whiteknight: can you review my task?
02:26 cotto Yuki`N, note that the value of PI_APPROX does not represent a consensus among Parrot's development team.
02:26 Yuki`N I looked at that.
02:27 whiteknight rfw: link? I only have a few minutes
02:27 Yuki`N I'm rather sure 3.14 rounds to 3.
02:27 rfw whiteknight: http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129452224440
02:27 Yuki`N >:
02:27 plobsing cotto: what's wrong with it? round-to-even is better for most things than round-to-nearest-int
02:28 plobsing nevermind. serious thinko
02:29 dalek parrot/gci_nativepccmetod_coverage: 6778e6b | rfw++ | t/pmc/nativepccmethod.t:
02:29 dalek parrot/gci_nativepccmetod_coverage: 100% coverage for NativePCCMethod.
02:29 dalek parrot/gci_nativepccmetod_coverage: review: https://github.com/parrot/parrot/commit/6778e6bedf
02:29 dalek parrot/gci_nativepccmetod_coverage: 34a4ee8 | rfw++ | t/pmc/nativepccmethod.t:
02:29 dalek parrot/gci_nativepccmetod_coverage: Should be NativePCCMethods, not Keys
02:29 dalek parrot/gci_nativepccmetod_coverage: review: https://github.com/parrot/parrot/commit/34a4ee8bc3
02:29 cotto whiteknight, do what you can and I'll take care of the rest.  lmk when you're done.
02:29 whiteknight I've got this rfw task tonight
02:29 whiteknight but I'm to bed after it
02:29 cotto ok.  thanks
02:30 rfw whiteknight: thanks
02:31 dalek parrot: 1d16ad8 | Whiteknight++ | t/pmc/nativepccmethod.t:
02:31 dalek parrot: Merge remote branch 'origin/gci_nativepccmetod_coverage'
02:31 dalek parrot: review: https://github.com/parrot/parrot/commit/1d16ad8128
02:32 whiteknight rfw: Merged. Task closed. Great work.
02:32 whiteknight ...and now I'm off to bed
02:32 rfw thanks
02:32 whiteknight no, thank you
02:32 Kapace good night whiteknight
02:32 whiteknight goodnight
02:32 whiteknight left #parrot
02:33 Kapace goodknight
02:35 rfw Kapace: u so funneh
02:36 rfw Yuki`N: did you ever claim that gdb backtrace task
02:36 Yuki`N It's impossible, lol.
02:36 rfw oh
02:36 rfw didn't you get something working
02:37 Yuki`N Backtraces from assertions, etc, are not printed using gdb.
02:37 rfw oh
02:37 Yuki`N I got gdb pretty-printers working.
02:37 rfw http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129402505935 <-- this task?
02:37 rfw oh
02:37 rfw bleh
02:37 rfw i completely missed the word "backtrace"
02:37 rfw even after saying it
02:39 nwellnhof Yuki`N: that gdb pretty printer stuff sounds really interesting. how can i set it up?
02:40 Yuki`N You need a really recent verison of gdb, I'd compile from source.
02:40 nopaste "kid51" at 192.168.1.3 pasted "'make testgcd' test failures" (196 lines) at http://nopaste.snit.ch/27663
02:40 Yuki`N Then you just use gdb as you normally would. It has to be with the parrot you build though, so that it loads blib/lib/libparrot.so
02:41 Yuki`N While you're debugging, parrot strings get printed as normal strings, and PMC's get printed with their type as well as their attributes, auto-unmapped for you.
02:42 nwellnhof GNU gdb (GDB) 7.2-debian: is that enough?
02:42 dalek TT #1941 created by jkeenan++: make warnings_tests:  Eliminate tests which run with warnings
02:42 dalek TT #1941: http://trac.parrot.org/parrot/ticket/1941
02:43 Yuki`N Debian, probably not.
02:43 Yuki`N Try umm.
02:43 Yuki`N show pretty-printers
02:43 Yuki`N or info pretty-printers
02:43 Yuki`N I forget which one it is.
02:43 cotto time for food.  Code review will follow.
02:43 kid51 what just got merged in?
02:44 dalek parrot: a1010ba | jkeenan++ | config/gen/makefiles/root.in:
02:44 dalek parrot: Remove from 'make help' two test<runcore> targets which no longer exist.
02:44 dalek parrot: review: https://github.com/parrot/parrot/commit/a1010ba5af
02:50 rfw hm, in get_pmc_keyed_str method in dynlexpad returns PMCNULL if the lexical doesn't exist
02:50 rfw but can that actually happen
02:50 rfw since i just get no such item
03:02 rfw is it possible to make a constant dynlexpad?
03:02 rfw does that even make sense
03:03 Yuki`N Why can't I use the <rot> instruction in the Parrot library? It's in the bit dynops.
03:03 cotto kid51, it was a bunch of hash function renaming
03:03 plobsing Yuki`N: what makes you say you "can't"?
03:04 rfw cotto: a lot of the things in dynlexpad are uncoverable
03:04 Yuki`N It doesn't compile for some reason
03:04 rfw like mark/destory
03:04 rfw destroy*
03:04 cotto Kapace, the lsr_p_p_p test fails
03:04 rfw also it tests for a constant dynlexpad, which i don't think makes any sense
03:04 rfw can you even have a constant dynlexpad?
03:04 Yuki`N error:imcc:syntax error, unexpected VAR, expecting '(' ('x')
03:04 Yuki`N result = rot x, n, 32
03:05 rfw Yuki`N: you remembered to loadlib right
03:05 Yuki`N The rest of the bitops work, lol.
03:05 plobsing Yuki`N: did you .loadlib the dynoplib and make sure you've used the correct number/types of arguments?
03:05 dalek parrot: 57dbc6b | jkeenan++ | config/gen/makefiles/root.in:
03:05 dalek parrot: Eliminate 'testp' target, which is declared exactly the same as the older 'testr' target.
03:05 dalek parrot: review: https://github.com/parrot/parrot/commit/57dbc6b5fb
03:05 Yuki`N It's done with a hll spec.
03:06 dalek parrot: 1856359 | nwellnhof++ | / (8 files):
03:06 dalek parrot: [io] Cleanup file open code
03:06 dalek parrot:
03:06 dalek parrot: Make PIO_OPEN return a OS handle.
03:06 dalek parrot: review: https://github.com/parrot/parrot/commit/1856359998
03:06 dalek parrot: fb48675 | nwellnhof++ | / (5 files):
03:06 dalek parrot: [io] Unify stdhandle init code
03:06 dalek parrot: review: https://github.com/parrot/parrot/commit/fb486758f1
03:06 dalek parrot: 3916b26 | nwellnhof++ | / (6 files):
03:06 dalek parrot: [io] Remove unused PIO_PEEK
03:06 dalek parrot: review: https://github.com/parrot/parrot/commit/3916b2698b
03:06 dalek parrot: 22335de | nwellnhof++ | / (6 files):
03:06 dalek parrot: [io] Make PIO_CLOSE accept an OS handle
03:07 dalek parrot:
03:07 dalek parrot: Also factor out waitpid function
03:07 dalek parrot: review: https://github.com/parrot/parrot/commit/22335de41f
03:07 dalek parrot: e5a41ae | nwellnhof++ | / (6 files):
03:07 dalek parrot: [io] Make PIO_READ and PIO_FLUSH accept an OS handle
03:07 dalek parrot: review: https://github.com/parrot/parrot/commit/e5a41ae09d
03:07 dalek parrot: 33d25e1 | nwellnhof++ | / (5 files):
03:07 dalek parrot: [io] Make PIO_WRITE accept an OS handle and a raw buffer
03:07 dalek parrot: review: https://github.com/parrot/parrot/commit/33d25e18ab
03:07 dalek parrot: 69ff69f | nwellnhof++ | / (6 files):
03:07 dalek parrot: [io] Make PIO_SEEK and PIO_TELL accept an OS handle
03:07 rfw cotto: in fact it just looks copypasted from the hash pmc
03:07 dalek parrot:
03:07 dalek parrot: And fix some compiler warnings
03:07 dalek parrot: review: https://github.com/parrot/parrot/commit/69ff69ff6f
03:07 dalek parrot: 108b021 | nwellnhof++ | src/io/win32.c:
03:07 dalek parrot: [io] Win32 fixes
03:07 dalek parrot: review: https://github.com/parrot/parrot/commit/108b021471
03:07 dalek parrot: 569b6cb | nwellnhof++ | src/ (3 files):
03:07 dalek parrot: [io] Convert filenames to right encoding
03:07 dalek parrot: review: https://github.com/parrot/parrot/commit/569b6cb429
03:08 Kapace cotto: hmm, it passes for me
03:08 cotto not ok 88 - lsr_p_p_p
03:08 cotto # Have: 4
03:08 cotto # Want: 2
03:08 rfw oh bleh
03:09 rfw could someone approve http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129452161224
03:09 cotto done
03:09 Kapace cotto: the fix for output to preg 1 should be in the pull request
03:09 rfw pull request submitted
03:10 cotto Kapace, I just pulled and didn't get it
03:10 Kapace cotto: https://github.com/kapace/parrot/commit/​0ffbec3b4d141a1505b17c190d9fe8374efdf10c
03:11 Kapace it says it in the pull request.. strange
03:11 cotto Kapace, forgot to rebuild
03:11 cotto my mistake
03:12 Kapace ah right
03:13 cotto that's why we have coverage
03:14 Kapace so we don't forget to rebuild. what else is coverage for.. :P
03:14 Kapace perty numbers too
03:16 rfw cotto: can you destroy a dynlexpad?
03:16 dalek parrot: 0b2a9d4 | cotto++ | / (2 files):
03:16 dalek parrot: Merge branch 'kapace-kapace/test_bitops'
03:16 dalek parrot: review: https://github.com/parrot/parrot/commit/0b2a9d4ce2
03:17 cotto rfw, why do you ask?  I don't know why it shouldn't work.
03:17 rfw cotto: it doesn't seem to be garbage collected
03:17 cotto Kapace, done
03:17 rfw even when i null and sweep
03:17 Kapace thanks again cotto
03:17 bacek rfw, "$P0 = new DynLexPad; null $P0; sweep 1"
03:17 cotto rfw, odd
03:18 rfw never mind
03:18 rfw i tell a dirty lie
03:18 Kapace tommorow, I'm bringing a can of canned applause for the mentors and their hard work :)
03:19 rfw hm cotto destroy doesn't get called, only mark
03:19 kapace_ rfw, is the destroy func being set to be called?
03:20 rfw kapace_: how do i do that
03:20 kapace_ hold on, let me get you an example I ran into
03:21 kapace_ http://tapir2.ro.vutbr.cz/cover/cover​-results/2011-01/2011-01-01-e4bebcd/c​_cover/src-pmc-parrotlibrary-pmc.html
03:21 kapace_ see set_pointer, PObj_custom_destroy_SET(SELF);
03:21 rfw ah
03:21 rfw so what happens then?
03:21 kapace_ if that function isn't called, then the custom destroy function (destroy()) isn't called
03:21 rfw ah i see
03:22 kapace_ so check if theres a call to PObj_custom_destroy_SET(SELF) somewhere, and make sure you call that before nulling/sweeping
03:22 rfw hm, it's being called in the init_pmc vtable
03:22 kapace_ then your SOL buddy :P
03:23 rfw but how do i call the init_pmc vtable :|
03:24 kapace_ pretty sure (just from the name) it gets called when it initializes..
03:24 rfw odd
03:24 rfw doesn't seem to work
03:28 rfw oh, there
03:28 rfw had to initialize it from somewhere super weird
03:28 kapace_ lets see?
03:29 rfw $P0 = get_global "meh"
03:29 rfw $P1 = new ['LexInfo'], $P0
03:29 rfw $P2 = new ['DynLexPad'], $P1
03:29 kapace_ ah, certain constructor calls set destroy
03:29 rfw yeah
03:29 rfw cotto: can i get a const dynlexpad?
03:29 cotto rfw, I'm not sure.
03:30 rfw cotto: i don't think that quite makes sense
03:30 rfw but to test this i need a constant dynlexpad
03:30 cotto me neither
03:30 rfw which looks like it was just copypasted from hash
03:30 rfw it's at 90% right now and i think i've tested all i can test
03:30 cotto did you send your pull request early?
03:30 rfw yeah
03:30 cotto ok
03:32 rfw cotto: done
03:34 nopaste "nwellnhof" at 192.168.1.3 pasted "Unicode demo, works on Linux and Windows with current trunk" (9 lines) at http://nopaste.snit.ch/27664
03:36 plobsing nwellnhof: how does opening a file with non-ascii characters encoded as utf-8 work on windows?
03:37 plobsing I would expect that to fail pretty bad
03:37 kapace_ it doesn't :P
03:39 nwellnhof plobsing: https://github.com/parrot/parrot​/blob/master/src/io/win32.c#L223
03:40 nwellnhof now i only have to fix imcc...
03:41 Yuki`N Can I do index arithmetic in PIR? i.e. var = t[i + 1]
03:41 plobsing nwellnhof: have fun
03:42 plobsing Yuki`N: no. this is an assembly-ish language. and x86 is evil as far as assembly-langs go.
03:42 Yuki`N Hurrr.
03:42 Yuki`N Why are we implementing sha256 in asm?
03:42 Yuki`N `-`
03:43 rfw cotto: is it okay?
03:43 cotto rfw, looking now
03:43 rfw thanks
03:43 dalek ohm-eta-wink-kzd: eb41323 | plobsing++ | src/ometac.winxed:
03:43 dalek ohm-eta-wink-kzd: don't serialize Getopt - it still has issues
03:43 dalek ohm-eta-wink-kzd: review: https://github.com/plobsing/ohm​-eta-wink-kzd/commit/eb413239d5
03:43 dalek ohm-eta-wink-kzd: c88427b | plobsing++ | src/ometac.winxed:
03:43 dalek ohm-eta-wink-kzd: add -I, -L, and -h options inspired by winxed
03:43 dalek ohm-eta-wink-kzd: review: https://github.com/plobsing/ohm​-eta-wink-kzd/commit/c88427b807
03:46 Yuki`N I can't do `W[counter] |= Wtmp` either?
03:47 Yuki`N error:imcc:syntax error, unexpected BOR_ASSIGN, expecting '=' ('|=')
03:48 cotto Yuki`N, you can't do complex operations in pir
03:48 Yuki`N asdfas
03:48 kapace_ one thing at a time ;)
03:49 dalek parrot: e3fea5c | rfw++ | t/dynpmc/dynlexpad.t:
03:49 dalek parrot: Increased coverage to 92.0%.
03:49 dalek parrot: review: https://github.com/parrot/parrot/commit/e3fea5cec9
03:49 dalek parrot: 390e9b1 | cotto++ | t/dynpmc/dynlexpad.t:
03:49 dalek parrot: Merge branch 'dynlexpad_coverage' of https://github.com/rofflwaffls/parrot into rofflwaffls-dynlexpad_coverage
03:49 dalek parrot: review: https://github.com/parrot/parrot/commit/390e9b1d15
03:50 cotto approved
03:50 cotto thanks
03:50 rfw cotto: thanks
03:54 plobsing msg NotFound is it possible to suppress 'class not found at compile time' warnings in winxed?
03:54 aloha OK. I'll deliver the message.
03:57 cotto rfw, are you trying to break 300?
03:58 rfw cotto: trying not to, but jumpyshoes apparently has 10 tasks queued
04:09 Yuki`N Omg
04:09 Yuki`N I fixed it.
04:11 kid51 left #parrot
04:19 cotto Yuki`N, awesome
04:19 Yuki`N That was pretty intense.
04:19 cotto Yuki`N++
04:19 cotto let's see a pull request
04:19 Yuki`N I gotta update the test, I forgot.
04:24 Yuki`N https://github.com/parrot/parrot/pull/112
04:24 Yuki`N I had to reverse an optimization, but it was a memory-related optimization, not a speed one.
04:25 Kristaba left #parrot
04:27 cotto Yuki`N, if it broke something then it wasn't a very good optimization
04:28 Yuki`N I'm not quite sure why there was a method to switch the endian-ness of a word, but I see it in md5 as well.
04:28 cotto lmk when the rest of your changes are ready
04:28 Yuki`N They're ready.
04:28 cotto ok
04:28 Yuki`N I removed that initially, and the results didn't change.
04:28 Yuki`N I'm not quite sure why.
04:29 Yuki`N They should already be big-endian, and switching them would make it little-endian, but it appeared to not matter.
04:29 Yuki`N These implementations of MD5 and SHA should really be redone, though.
04:29 Yuki`N The way it's implemented requires all data to be in memory at once.
04:30 Yuki`N The standard C implementation allows for it to be done in iterations of the block size, e.g. 512 bits for SHA.
04:30 kapace_ Yuki`N, epic!
04:31 cotto Yuki`N, that's pretty lame.
04:31 Yuki`N Yeah. :/
04:32 cotto It's good you got it working though.  Nice job.
04:32 cotto I imagine you learned a bit about hashing algorithms too.
04:33 Yuki`N I suppose lol.
04:33 Yuki`N Now I know Rijndael and SHA.
04:33 Yuki`N lol
04:34 dalek parrot: 7d7cc60 | Yuki`N++ | / (2 files):
04:34 dalek parrot: Fix implementation of SHA256 in PIR.
04:34 dalek parrot: review: https://github.com/parrot/parrot/commit/7d7cc6015f
04:34 cotto don't forget to mark the gci project as complete
04:34 Yuki`N Oh right.
04:35 Yuki`N LAST MINUTE GCI TASK -> IMPLEMENT AES IN PIR.
04:35 Yuki`N lol
04:36 cotto you want it?
04:36 cotto I'll let you be as insane as you like
04:37 cotto done
04:38 Yuki`N Lol.
04:38 Yuki`N Thanks.
04:38 Yuki`N Idk
04:39 Yuki`N Could PIR use AES at all, and how would we test it.
04:39 Yuki`N *parrot
04:41 rfw left #parrot
04:41 dalek ohm-eta-wink-kzd: 27b9e2c | plobsing++ | Makefile:
04:41 dalek ohm-eta-wink-kzd: create blib dirs before build
04:41 dalek ohm-eta-wink-kzd: review: https://github.com/plobsing/ohm​-eta-wink-kzd/commit/27b9e2cc90
04:41 dalek ohm-eta-wink-kzd: ffb3ef4 | plobsing++ | / (2 files):
04:41 dalek ohm-eta-wink-kzd: separate case in winxed translator to handle parent-less classes
04:41 dalek ohm-eta-wink-kzd: review: https://github.com/plobsing/ohm​-eta-wink-kzd/commit/ffb3ef44a6
04:45 nwellnhof left #parrot
04:54 rfw joined #parrot
04:57 Yuki`N Just had to remedy a netsplit.
04:58 cotto Yuki`N, I don't think it'd be worthwhile right now.
05:05 Matt221 left #parrot
05:10 dalek TT #1936 closed by Yuki`N++: SHA256 sums don't seem to match with external tools.
05:10 dalek TT #1936: http://trac.parrot.org/parrot/ticket/1936
05:10 Yuki`N Reading through PEP8, and then they gave advice on how to write English.
05:10 Yuki`N Then I stopped reading.
05:24 cotto Strunk and White is funny once you start seeing that they don't follow some of their own advice.  There's some good stuff there, but there are also unsupported assertions about style.
05:25 cotto http://news.ycombinator.com/item?id=557899
05:27 dalek TT #1913 closed by Yuki`N++: README issues
05:27 dalek TT #1913: http://trac.parrot.org/parrot/ticket/1913
05:30 Yuki`N I feel that style guides are all good when writing code, but when they start saying how to write comments...
05:34 gbacon left #parrot
05:37 cotto Yuki`N, consider the source.
05:37 cotto Though to be fair, it is good to specify what should and shouldn't go into comments.  They can be very important for someone trying to figure out a bit of code.
05:40 Yuki`N I suppose.
05:40 dalek ohm-eta-wink-kzd: f62b138 | plobsing++ | / (2 files):
05:40 dalek ohm-eta-wink-kzd: handle else-less if statements in translator
05:40 dalek ohm-eta-wink-kzd: review: https://github.com/plobsing/ohm​-eta-wink-kzd/commit/f62b138e76
05:40 dalek ohm-eta-wink-kzd: e42d9ae | plobsing++ | README.pod:
05:40 dalek ohm-eta-wink-kzd: tweak readme to reflect reality
05:40 dalek ohm-eta-wink-kzd: review: https://github.com/plobsing/ohm​-eta-wink-kzd/commit/e42d9aec3f
05:40 dalek ohm-eta-wink-kzd: de86d4a | plobsing++ | bootstrap/README.pod:
05:40 dalek ohm-eta-wink-kzd: update/simplify bootstrap readme
05:40 dalek ohm-eta-wink-kzd: review: https://github.com/plobsing/ohm​-eta-wink-kzd/commit/de86d4a184
05:41 cotto there's a balance
05:41 plobsing Ωη bootstraps and runs all of its tests correctly! \o/
05:42 plobsing if only winxed wouldn't output those annoying warnings, I could generate proper TAP and have a real testsuite.
05:43 cotto plobsing, nice
05:45 rurban_ joined #parrot
05:48 rurban left #parrot
05:48 rurban_ is now known as rurban
05:54 Yuki`N left #parrot
06:07 dalek parrot/html_cleanup: c5af703 | mikehh++ | lib/Parrot/Docs/HTMLPage.pm:
06:07 dalek parrot/html_cleanup: fix copyright in footer (need to set up a parameter for this)
06:07 dalek parrot/html_cleanup: review: https://github.com/parrot/parrot/commit/c5af7038f7
06:07 dalek parrot/html_cleanup: 2cd49c4 | mikehh++ | lib/Parrot/Docs/PodToHtml.pm:
06:07 dalek parrot/html_cleanup: remove $Id$. add method to return page title
06:08 dalek parrot/html_cleanup: review: https://github.com/parrot/parrot/commit/2cd49c4236
06:08 dalek parrot/html_cleanup: 6ca8c86 | mikehh++ | tools/docs/make_html_docs.pl:
06:08 dalek parrot/html_cleanup: add code to generate index/header .html files
06:08 dalek parrot/html_cleanup: review: https://github.com/parrot/parrot/commit/6ca8c86554
06:16 theory left #parrot
06:49 dalek parrot/html_cleanup: a61b415 | mikehh++ | tools/docs/make_html_docs.pl:
06:49 dalek parrot/html_cleanup: add some lines I missed from my test file (for titles)
06:49 dalek parrot/html_cleanup: review: https://github.com/parrot/parrot/commit/a61b4154a6
06:49 dalek parrot/html_cleanup: 95dcd10 | mikehh++ | tools/docs/make_html_docs.pl:
06:49 dalek parrot/html_cleanup: fix home page reference
06:49 dalek parrot/html_cleanup: review: https://github.com/parrot/parrot/commit/95dcd10a9c
06:51 mib_yplng8 joined #parrot
06:52 mib_yplng8 hi, i'm getting error "Could not load oplib `perl6_ops`" when running perl6 in windows.
06:52 mib_yplng8 anybody have a solution?
06:56 dalek parrot/html_cleanup: 6d80f99 | mikehh++ | / (74 files):
06:56 dalek parrot/html_cleanup: [html_cleanup] merge in origin/master
06:56 dalek parrot/html_cleanup: review: https://github.com/parrot/parrot/commit/6d80f99c87
07:02 cotto mib_yplng8, how did you install Rakudo?
07:07 mib_yplng8 cotto, using the msi
07:07 rfw left #parrot
07:09 dalek parrot: 39140e3 | mikehh++ | MANIFEST:
07:09 dalek parrot: re-generate MANIFEST
07:09 dalek parrot: review: https://github.com/parrot/parrot/commit/39140e3b6f
07:09 cotto mib_yplng8, where did you get that?  I didn't know anyone was providing those.
07:09 kapace_ aloha, karma msi
07:09 aloha kapace_: msi has karma of -1.
07:15 mib_yplng8 http://sourceforge.net/projects/parrotwin32/
07:15 mib_yplng8 aloha: check this
07:15 mib_yplng8 cotto:
07:15 mib_yplng8 cotto: sourceforge
07:19 rfw joined #parrot
07:19 gcamblin left #parrot
07:20 gcamblin joined #parrot
07:21 cotto mib_yplng8, you might ask fperrad or see if they can help in #perl6 in freenode
07:22 mib_yplng8 ok
07:27 dalek parrot: a09d9d6 | mikehh++ | t/src/embed/api.t:
07:27 dalek parrot: add perl coda to fix perlcritic failure
07:27 dalek parrot: review: https://github.com/parrot/parrot/commit/a09d9d6c3a
07:39 mib_yplng8 left #parrot
07:59 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#2147) fulltest) at 2_11_0-881-ga09d9d6 - Ubuntu 10.10 i386 (g++-4.5)
08:20 dalek parrot/html_cleanup: 39140e3 | mikehh++ | MANIFEST:
08:20 dalek parrot/html_cleanup: re-generate MANIFEST
08:20 dalek parrot/html_cleanup: review: https://github.com/parrot/parrot/commit/39140e3b6f
08:20 dalek parrot/html_cleanup: a09d9d6 | mikehh++ | t/src/embed/api.t:
08:20 dalek parrot/html_cleanup: add perl coda to fix perlcritic failure
08:20 dalek parrot/html_cleanup: review: https://github.com/parrot/parrot/commit/a09d9d6c3a
08:20 dalek parrot/html_cleanup: 2834d92 | mikehh++ | / (2 files):
08:20 dalek parrot/html_cleanup: [html_cleanup] merge in origin/master
08:20 dalek parrot/html_cleanup: review: https://github.com/parrot/parrot/commit/2834d9238c
08:23 mikehh methinks that the branch is ready to merge, viewing/testing welcome
08:24 redicaps1 joined #parrot
08:24 cotto mikehh, great.  I'll give it a once-over.
08:29 cotto a json-based organization sounds much saner than the previous version
08:29 nopaste "cotto" at 192.168.1.3 pasted "make html fails after reconfig" (10 lines) at http://nopaste.snit.ch/27665
08:29 cotto mikehh, ^
08:35 mikehh cotto: definately don't get that, what version of perl you got?
08:37 cotto 5.10.0
08:38 mikehh cotto: Coke originally had is using 5.12 - and as I have 5.12.2 some of the core modules might be different
08:42 cotto We need to be sure that it keeps working with at leas 5.10.x
08:42 fperrad joined #parrot
08:42 mikehh cotto: sure, need to get kid51 to take a look
08:44 mikehh anyway will have a look at it later - got to do something else now
08:56 dukeleto ~~
08:58 tadzik o/
09:04 chromatic left #parrot
09:08 dukeleto tadzik: how goes it?
09:10 tadzik dukeleto: horrible, tbh. I got terribly sick this night, slept like 3-4 hours
09:12 tadzik otoh, I did some pretty awesome mangling in the Perl 6 module ecosystem yesterday :)
09:25 dukeleto tadzik: yes, i saw your email. looks cool :)
09:30 tadzik I gotta get back to this compiler work, yet all the thengs turned out to require loads of knowledge about deprecations and chnges
10:09 redicaps1 left #parrot
10:14 rfw left #parrot
11:05 contingencyplan joined #parrot
12:12 whiteknight joined #parrot
12:14 whiteknight good morning, #parrot
12:26 dalek nqp-rx/nom: 940a00d | jonathan++ | src/metamodel/rakudoobject. (2 files):
12:26 dalek nqp-rx/nom: Bring over the latest S-Table bits. This stubs in some bits for method cache and type check support.
12:26 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/940a00d0ef
12:26 dalek nqp-rx/nom: 5b23dc9 | jonathan++ | src/ (3 files):
12:26 dalek nqp-rx/nom: type_check op and initial port of the type checking logic.
12:26 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/5b23dc93d8
12:45 dalek parrot: 68dabe5 | Whiteknight++ | runtime/parrot/library/distutils.pir:
12:45 dalek parrot: distutils explicitly depends on turning off named argument count checking, so make sure to unset that flag at the entry point
12:45 dalek parrot: review: https://github.com/parrot/parrot/commit/68dabe59d3
12:46 dalek nqp-rx/nom: 5cefcab | jonathan++ | src/ops/nqp.ops:
12:46 dalek nqp-rx/nom: Untested port of the type check and method cache publication ops.
12:46 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/5cefcab0c1
13:18 dalek nqp-rx/nom: 997e41c | jonathan++ | src/ (2 files):
13:18 dalek nqp-rx/nom: Merge remote branch 'origin/nomnom' into nom
13:18 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/997e41c1fa
13:18 dalek nqp-rx/nom: f82129f | jonathan++ | src/HLL/Compiler.pm:
13:18 dalek nqp-rx/nom: Add all attributes from PCT::HLLCompiler and also some commentary about the transition.
13:18 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/f82129ff09
13:18 dalek nqp-rx/nom: 239cac7 | jonathan++ | src/ (2 files):
13:18 dalek nqp-rx/nom: Bring over initialization bits that used to be in PCT::HLLCompiler, plus some refactoring so we don't try and set attributes on a type object.
13:18 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/239cac7b9a
13:20 whiteknight blah. Distutils is broken trying to submit smoke reports
13:41 dalek parrot/html_cleanup: ebdd612 | mikehh++ | tools/docs/make_html_docs.pl:
13:41 dalek parrot/html_cleanup: replace make_path with legacy functional mkpath to accomodate older versions of Perl
13:41 dalek parrot/html_cleanup: review: https://github.com/parrot/parrot/commit/ebdd6122c8
13:42 kid51 joined #parrot
13:46 rurban_ joined #parrot
13:46 mikehh kid51: hi, can you have a look at html_cleanup, I think it is now ready for a merge - please check tools/doc/make_html_docs.pl - I did a lot of messin' around there (probably could have been done better)
13:48 rurban left #parrot
13:48 rurban_ is now known as rurban
14:13 dalek nqp-rx/nom: a511a30 | jonathan++ | src/HLL/Compiler.pm:
14:13 dalek nqp-rx/nom: Bring enough of PCT::HLLCompiler into HLL::Compiler that we can now run and get a prompt. Doesn't yet compile anything, but a step closer. Note that mostly this just wraps PIR bodies into an NQP wrapper; some would be very LHF to translate to NQP fully.
14:13 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/a511a302cb
14:28 fbrito joined #parrot
14:37 whiteknight nwellnhof: ping
14:45 kid51 mikehh:  What criteria should I apply to this review of html_cleanup?  (Am not very familiar with make html)
14:46 kid51 Where will html docs be created?
14:46 kid51 Are there specifics I should be looking out for?
14:49 kid51 Change topic:  If there is anyone here working on Darwin, please try out patch in http://trac.parrot.org/parrot/ticket/1890
14:57 mikehh kid51: can you have a look at tools/doc/make_html_docs.pl and of course run make html after config :-} and look at the output for docs/html/index.html and see if you see any problems
14:57 fbrito hey guys... I don't feel very comfortable asking for that, but whatever...  last month I claimed a task to increase code coverage of Complex PMC by 10% and I have managed to increase it by 20%. I saw that this happened with other students and they all got another task created for them, but I was too ashamed to ask someone to create a task just to me. My question is: is there any chance of having this other task created to me or am I a little bit late? :P
14:58 mikehh kid51: see if there are any broken links and if the navigation is ok
14:59 dalek nqp-rx/nom: dafce7f | jonathan++ | src/HLL/Compiler.pm:
14:59 dalek nqp-rx/nom: Port dumper from PCT::HLLCompiler to HLL::Compiler, translating to NQP along the way.
14:59 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/dafce7fa19
14:59 kid51 mikehh: Would tools/doc/make_html_docs.pl benefit from more documentation?
14:59 dalek nqp-rx/nom: 492aa92 | jonathan++ | src/HLL/Compiler.pm:
14:59 dalek nqp-rx/nom: Fix various thinkos, and remove the parse method grabbed from PCT::HLLCompiler, since it's overridden in the hll-compiler cheats anyway. This gets us through the build again, without depending on PCT::HLLCompiler.
14:59 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/492aa929a6
14:59 mikehh kid51: of course, most of our tools would :-} (will have a look at that)
15:00 kid51 mikehh: What is rationale for having both  lib/Parrot/Docs/POD2HTML.pm and lib/Parrot/Docs/PodToHtml.pm?  This seems to create potential for confusion.
15:00 mikehh kid51: I was mainly interested in getting it to work
15:00 kid51 mikehh:  Will we be using POD2HTML.pm going forward?
15:01 mikehh kid51: Pod2HTML will probably be removed
15:01 fbrito is now known as fbrito|away
15:01 kid51 mikehh: Well, I think we should decide one way or the other before doing a merge.
15:03 mikehh kid51: I wanted to do it after the merge, probably causes less problems
15:05 mikehh but of course I can look into that
15:07 Patterner left #parrot
15:08 Psyche^ joined #parrot
15:08 Psyche^ is now known as Patterner
15:15 Matt221 joined #parrot
15:19 kid51 mikehh: Is there a TT for this in which I can make comments?
15:26 dalek nqp-rx/nom: 4c967a1 | jonathan++ | src/ (2 files):
15:26 dalek nqp-rx/nom: Bring in the remaining missing methods from PCT::HLLCompiler.
15:26 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/4c967a14ad
15:26 dalek nqp-rx/nom: 7e9d75b | jonathan++ | t/hll/0 (4 files):
15:26 dalek nqp-rx/nom: A bunch of tests also relied on the ability to set attributes in a type object. D'oh. Corrected.
15:26 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/7e9d75b634
15:28 mikehh kid51: I sent a message to parrot-dev a couple of hours ago, you could comment there
15:36 tadzik http://wklej.org/id/453568/ -- look, it's funny
15:37 dalek nqp-rx/nom: ca87742 | jonathan++ | src/Regex/P6Regex.pir:
15:37 dalek nqp-rx/nom: Fix another case where the type object rather than an instance was being used and needing to store attributes. This gets the regex interpolation tests to run again, and things back to where they were before eliminating PCT::HLLCompiler.
15:37 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/ca877420c5
15:53 whiteknight left #parrot
15:57 mikehh html_cleanup branch:
15:57 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#2154) fulltest) at 2_11_0-959-gebdd612 - Ubuntu 10.10 i386 (g++-4.5)
15:58 mikehh that is of course from the branch git_describe
16:01 kid51 mikehh:  Commented on parrot-dev
16:03 Matt221 left #parrot
16:13 mikehh kid51: the only problem I can see is that fperrad's tool tool/docs/mk_chm.pl  - I haven't really looked at that, but it should use the new structure (it still uses the old one)
16:14 dalek nqp-rx/nom: 3a05d0d | jonathan++ | src/NQP/ (2 files):
16:14 dalek nqp-rx/nom: Add a class_6m package declarator so classes built using 6model can be tried out without introducing it everywhere just yet.
16:14 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/3a05d0dc15
16:14 dalek nqp-rx/nom: 2ac9555 | jonathan++ | src/HLL/Compiler.pm:
16:14 dalek nqp-rx/nom: Turn proccess_args into NQP.
16:14 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/2ac955592a
16:24 dalek nqp-rx/nom: 25b6884 | jonathan++ | src/NQP/Actions.pm:
16:24 dalek nqp-rx/nom: Fix compilation of inheritance. Seems to work just fine for class_6m-s now.
16:24 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/25b688447f
16:30 kid51 afk
16:40 whiteknight joined #parrot
16:48 nopaste left #parrot
16:55 nopaste joined #parrot
17:11 fbrito|away left #parrot
17:14 dalek nqp-rx/nom: 0dbc62c | jonathan++ | src/NQP/Actions.pm:
17:14 dalek nqp-rx/nom: Replace an (ab)use of .WHAT with smartmatching in the Actions.
17:14 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/0dbc62c14b
17:16 tadzik [16670.837208] perl6[31182]: segfault at 90 ip 00007f690818fcb9 sp 00007fff395826a0 error 6 in libparrot.so.2.11.0[7f69080cb000+1d3000]
17:16 tadzik from dmesg. Happens from time to time for the last few days
17:16 dalek nqp-rx/nom: 6993926 | jonathan++ | src/stage0/ (3 files):
17:16 dalek nqp-rx/nom: Update bootstrap to complete the elimination of PCT::HLLCompiler and to enable use of class_6m in NQP itself.
17:16 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/699392652f
17:19 kid51 left #parrot
17:35 plobsing tadzik: do you have any idea what you were doing to trigger the fault at that time?
17:37 whiteknight left #parrot
17:38 fbrito joined #parrot
17:41 fbrito any GCI mentor here? I have a question about the contest
17:44 tadzik plobsing: it seems purely random to me
17:44 tadzik fbrito: go ahead, there are plenty of mentors I believe
17:44 dalek parrot: 10d0d39 | fperrad++ | include/parrot/packfile.h:
17:44 dalek parrot: remove duplicated declaration of do_sub_pragmas()
17:44 dalek parrot:
17:44 dalek parrot: do_sub_pragmas() is defined in src/packfile/api.c
17:44 dalek parrot: review: https://github.com/parrot/parrot/commit/10d0d39c3e
17:45 fbrito I don't feel very comfortable asking for that, but whatever...  last month I claimed a task to increase code coverage of Complex PMC by 10% and I have managed to increase it by 20%. I saw that this happened with other students and they all got another task created for them, but I was too ashamed to ask someone to create a task just to me. My question is: is there any chance of having this other task created to me right now or am I a little bit late?
17:45 tadzik oh, that thingy
17:46 tadzik fbrito: haven't you had your task created just for you back then? I remember a discussion about this, or was that not you?
17:47 plobsing tadzik: sadly there isn't much we can do for you then. without the timestamp you started the parrot process, we don't know the hash seed (I suspect our hash implementation may be broken for some seeds). with address space randomization, the ip and sp provided mean nothing.
17:48 tadzik plobsing: timestamp as in seconds since epoch?
17:48 plobsing tadzik: IIRC, thats the only thing that goes into the seed ATM
17:49 tadzik it still segfaults, there's time to investigate
17:49 * plobsing checks real quick
17:49 tadzik Sun Jan  9 19:47:28 CET 2011
17:49 tadzik zsh: segmentation fault  perl6
17:49 tadzik that's date; perl6
17:50 fbrito tadzik: no, I had not :/
17:51 tadzik hmm, dukeleto probably remembers the case
17:51 tadzik dukeleto: you around?
17:51 fbrito tadzik: you can see my completed tasks here: http://www.google-melange.com/gci/student_rank​ing/show_details/google/gci2010/fernandobrito
17:52 plobsing yep. the only entropy source is the epoch time. src/string/api.c:138
17:52 tadzik plobsing: funny, parrot-nqp seems to work. So it's probably rakudo issue
17:52 fbrito (click on last column to order by most recent first and change pagination to 50)
17:52 plobsing tadzik: rakudo uses a *lot* more classes. classes use hashes internally.
17:52 tadzik ah, I see
17:53 fbrito this was the task: http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129193205977 (note that the title is mentioning the wrong PMC)
17:53 tadzik oh, the one that was mine-not-mine
17:54 tadzik I now remember you asking about the second task
17:55 fbrito http://irclog.perlgeek.de/p​arrot/2010-12-15#i_3088959 :D
17:57 dalek nqp-rx/nom: 8c92b8f | jonathan++ | src/metamodel/how/NQPClassHOW.pm:
17:57 dalek nqp-rx/nom: find_method should return null if there's no method available, not throw an exception.
17:57 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/8c92b8fbcf
17:57 dalek nqp-rx/nom: c30d699 | jonathan++ | src/ (3 files):
17:57 dalek nqp-rx/nom: Switch all of the Actions classes to use 6model rather than Parrot's OO (that's HLL::Actions, NQP::Actions, Regex::P6Regex::Actions and NQP::RegexActions). Seems to work out just fine, though it's an easy case: no instantiation, just method calls and single inheritance. But nice it works already!
17:57 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/c30d699ab1
17:58 tadzik fbrito: IMHO you deserve another task, but I'll wait for dukeleto with creating it
18:00 tadzik bah, and now perl6 works
18:03 plobsing tadzik: try parrot --hash-seed="some-hex-value" perl6.pbc
18:04 plobsing where "some-hex-value" is based on running epoch time through lrand48 once
18:06 tadzik plobsing: I'll try when I catch it segfaulting again, thanks
18:07 plobsing I swear, whoever thought that running a deterministic source through a pseudo-random number generator iteration would be a good idea should have their license to program revoked.
18:07 tadzik plobsing: yeah, that's it it seems
18:07 plobsing tadzik: did you find a hex value that fails?
18:08 tadzik plobsing: no, but http://wklej.org/id/453705/
18:08 tadzik hmm
18:08 tadzik that'd require writing a script trying all the possible values
18:09 tadzik which will take ages in the current state of Rakudo :)
18:09 plobsing what do you mean? a04810984fe seems to give a failure in your nopaste.
18:09 plobsing it only takes one
18:10 tadzik no, a04810984fe is fine
18:10 tadzik > % is the repl launching, then me pressing ^D
18:11 chromatic joined #parrot
18:14 hudnix left #parrot
18:21 chromatic left #parrot
18:25 hudnix joined #parrot
18:29 Matt221 joined #parrot
18:36 fbrito hm... I can't figure out how to run the "pbc_dump" tool
18:37 fbrito I keep getting "PackFile_unpack: This Parrot cannot read bytecode files with version 9.4."
18:37 plobsing fbrito: you've either got an old parrot or an old pbc
18:37 fbrito duuh
18:38 plobsing you should rebuild the pbc using whatever parrot pbc_dump came with
18:38 plobsing then pbc_dump should work
18:39 fbrito it is now working, thank you. I was running the one installed on my system and not the one that I had just generated
18:40 theory joined #parrot
18:43 rfw joined #parrot
18:44 whiteknight joined #parrot
18:44 whiteknight left #parrot
18:50 jan left #parrot
18:59 jan joined #parrot
19:13 fbrito dukeleto: ping
19:18 NotFound hi
19:18 tadzik hey
19:32 Matt221 left #parrot
19:32 Matt221 joined #parrot
19:32 fbrito is Jon Gentle or James Keenan here (GCI mentors for the pbc_dump test coverage task)? :D
19:33 sorear Keenan is kid51
19:33 fbrito oh :o
19:33 sorear not onine now
19:34 fbrito sometimes I feel bad not knowing the real name of people that I meet almost everyday on this channel and that have helped me a lot :/
19:34 plobsing fbrito: check the CREDITS file
19:34 fbrito sorear: thanks, Stefan
19:34 fbrito ok, Peter
19:37 NotFound fbrito: I've been using this nick since 15 years, is real enough for me.
19:38 fbrito 15 years? :o
19:38 fbrito your nick is pretty amazing, Pedro
19:39 dukeleto fbrito: hola
19:39 dukeleto fbrito: i saw your question about the Complex PMC task
19:40 fbrito (drums beating sound)
19:42 dukeleto fbrito: i think you deserve another task for your complex PMC work, but the Complex PMC could use a few more tests, too :)
19:43 dukeleto fbrito: i am seeing easy-to-cover stuff in the Complex PMC
19:43 dukeleto fbrito: is_equal and set_pmc and a few others
19:43 Matt221 dukeleto: can you review this: http://www.google-melange.com/gci/​task/show/google/gci2010/parrot_pe​rl_foundations/t129452277551#c2002
19:44 fbrito fbrito: hm, seems interesting. thank you for your attention :)
19:44 dukeleto fbrito: what task did you do before that you did more than the task required ?
19:45 dukeleto fbrito: i remember it, but just wondering which task it was
19:46 fbrito this one: http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129193205977 (the title is wrong :S)
19:47 dukeleto fbrito: ok, i see that you increased it 20% when the task only said 10%. I will create a task for you
19:47 dukeleto fbrito: you working on a task now?
19:47 dukeleto Matt221: task completed. Nice work!
19:47 Matt221 dukeleto: thanks
19:48 fbrito dukeleto: yes
19:48 fbrito but I am almost done
19:51 dukeleto fbrito: only a few hours left!
19:51 dukeleto It is amazing how many pull requests GCI generated for parrot.git
19:52 tadzik GCI was an awesome idea
19:52 dukeleto I think it is safe to say that GCI generated more code that is in master than GSOC did.
19:56 dukeleto rfw: 2 points from 300!
19:56 rfw dukeleto: yep
19:57 Yuki`N joined #parrot
19:58 Yuki`N How useful would a full SHA2 implementation be for Parrot?
19:59 Yuki`N i.e. SHA256/224/512/384
20:01 dukeleto Yuki`N: it would be pretty awesome and I would buy you a delicious beverage of your choice :)
20:02 tadzik :)
20:02 plobsing md5 and sha256 are the only algorithms commonly used for checksumming, which is why we have them IIUC
20:02 Yuki`N Ah.
20:02 plobsing but more = better
20:02 Yuki`N I might go ahead and properly implement them.
20:02 dukeleto Yuki`N: they would be useful for benchmarking against similar algorithms in C and Perl 5, to see how Parrot stands
20:02 Yuki`N i.e. Init, Update, Final.
20:02 tadzik how effortful is bringing a Parrot code to conform to the Parrot exporting API? So to make the modules present in a Parrot tree usable in any Parrot language w/o a wrapper
20:03 plobsing we have an exporting API?
20:03 tadzik I remember hearing that phrase once ;)
20:04 Yuki`N Right now the checksumming algorithms need the entire file to be checksummed in memory at once.
20:04 Yuki`N In most C implementations you only need block-size chunks of the data.
20:04 tadzik what I mean: there is e.g. runtime/parrot/library/Digest/MD5.pir. But even though Parrot is supposed to have language interoperability we still need to write wrappers to use such libraries in, say, Rakudo
20:05 tadzik I remember asking about it once and that's when the phrase "exporting api" got in my head
20:11 * dukeleto adds a few last-minute GCI tasks to make it interesting
20:11 Yuki`N lol
20:11 Yuki`N I feel like.
20:11 Yuki`N Writing that SHA2 implementation would be so time consuming.
20:12 tadzik so, what defines a library/module to be cross-language in Parrot?
20:12 dukeleto Yuki`N: what about math algorithms, do you enjoy those?
20:13 Yuki`N Perhaps.
20:13 Yuki`N I like crypto in some sadistic way though lol.
20:13 dukeleto Yuki`N: maybe you would enjoy implementing http://search.cpan.org/dist/Math​-Primality/lib/Math/Primality.pm in Parrot
20:13 dukeleto Yuki`N: number theory is the basis of all crypto. You won't get far without it :)
20:13 Yuki`N Primality testing, hm.
20:14 Yuki`N Very interesting.
20:14 Yuki`N I wrote these algorithms in C# once.
20:14 dukeleto Yuki`N: that is my CPAN module that was a GSoC project a few years ago
20:14 Yuki`N I was implementing Diffie-Hellman.
20:14 kid51 joined #parrot
20:14 Yuki`N I'll tackle it, sure.
20:14 Yuki`N I suppose you already have test data.
20:14 dukeleto Yuki`N: there is an extensive test suite
20:14 kid51 fbrito: You were looking for me?
20:15 dukeleto Yuki`N: that cpan module uses the "BPSW pseudoprime" algorithm, but that exists under many names
20:15 dukeleto Yuki`N: there are links in the docs describing the algorithm
20:16 fbrito kid51: yes... you are listed as a mentor of the pbc_dump test coverage task on GCI :)
20:16 kid51 Hmm, I wonder how that came about?   Perhaps I clicked an approve button.
20:16 kid51 Tell me about it.
20:17 kid51 Link?
20:17 dukeleto kid51: i probably did that
20:17 cotto fbrito, ping
20:17 dukeleto fbrito: i just pick random names out of my hat
20:17 fbrito ahhaha
20:17 cotto fbrito, did your question ever get answered?
20:17 fbrito yes :)
20:17 Yuki`N What is GMPz, anyway.
20:18 cotto great
20:18 Yuki`N Is that the same library that we use for BigInt/BigNum?
20:19 dukeleto Yuki`N: GMPz is an interface to GMP (a C library) from Perl 5
20:19 dukeleto Yuki`N: so, yes.
20:19 Yuki`N Ah.
20:19 dukeleto Yuki`N: GMPz is integers (mathematicians use a Z to denote the set of all integers)
20:19 dukeleto Yuki`N: GMPf is big floats
20:19 dukeleto Matt221: task claim accepted
20:20 dukeleto kapace_: task claim accepted
20:20 Yuki`N dukeleto, I'm just going to copy most of the POD from your perl module.
20:20 dukeleto Yuki`N: sure
20:21 cotto plobsing, using the date as the seed for hash randomization is lame, but we don't have (iirc) a portable way to get entropy from the system.
20:21 dukeleto Yuki`N: are you done with GCI tasks?
20:21 dukeleto cotto: i have been meaning to work on that. I think I created a TT for that a long time ago.
20:22 dukeleto Yuki`N: i don't think you are in danger of dropping out of the top 10, so I would say you have every right to start hacking on other stuff :)
20:23 Yuki`N I don't know, :P
20:25 kid51 We're getting test failures on Smolder.
20:25 kid51 http://smolder.parrot.org/app​/projects/report_details/2157
20:26 cotto dukeleto, I can't find the ticket.
20:26 dukeleto cotto: did you search for "entropy" ?
20:26 Yuki`N dukeleto, How can I make sure that parrot was compiled with GMP support.
20:27 dukeleto Yuki`N: look in the t/pmc/bigint.t tests, at the top
20:27 dukeleto Yuki`N: it is in the parrot config hash
20:27 dukeleto Yuki`N: which you can get at various ways
20:27 dukeleto Yuki`N: looks like the above smolder failure is related to your SHA code
20:28 Yuki`N Really?
20:28 Yuki`N I ran make test.
20:28 dukeleto Yuki`N: could be a platform-specific thing
20:28 dukeleto Yuki`N: or compiler-specific
20:28 cotto dukeleto, there it is.  #64
20:29 Yuki`N Hmm it's a 64-bit thing.
20:29 Yuki`N I don't have a 64-bit vm available.
20:29 kid51 Yes, it's a 64-bit thing
20:29 dukeleto cotto: if you want to add some feature requirements to that ticket, it might increase the chances of it happening
20:29 plobsing cotto: pulling the "entropy" from the date is fine (for now). putting it through a PRNG to make it "more random" somehow is just plain stupid.
20:30 cotto plobsing, I see what you're saying.
20:31 dukeleto GCI ends January 10, 2011, 12:00 AM Pacific Time / 08:00 UTC.
20:31 cotto 11.5 hours
20:31 dukeleto less than 12 hours! Get to it, students.
20:32 Yuki`N Judging by the failures in rot, as well.
20:32 Yuki`N I'd say the problem stems from an improper implementation of the bit rotation algorithm.
20:32 Yuki`N Hm.
20:35 kid51 Is there anyone available who can submit a smoke report of master on MSWin32?
20:35 Yuki`N How do I build on windows anyway?
20:35 Yuki`N dukeleto, there's a slight problem.
20:36 cotto Yuki`N, http://trac.parrot.org/par​rot/wiki/Platforms/Windows
20:36 Yuki`N dukeleto, bigint doesn't have a power-modulus function exposed.
20:36 Yuki`N And doing the power normally then applying the modulus doesn't sound like a good idea.
20:37 dukeleto Yuki`N: we need a power-modulus function, then.
20:38 Yuki`N Is there an appropriate PIR opcode to use though?
20:38 Yuki`N Making it a method maybe?
20:39 Yuki`N I already have activeperl installed...hm.
20:42 Yuki`N I'll work on getting parrot to compile on win32 first.
20:43 Yuki`N I'm running an x86_64 version of windows though.
20:43 dalek parrot: 2488c0d | plobsing++ | src/string/api.c:
20:43 dalek parrot: add DEBUG_HASH_SEED flag to enable hash-seed-debugging parrot builds
20:43 dalek parrot: review: https://github.com/parrot/parrot/commit/2488c0d956
20:44 Coke .
20:45 nopaste "mikehh" at 192.168.1.3 pasted "Untracked files after test run" (22 lines) at http://nopaste.snit.ch/27666
20:46 plobsing tadzik: I've added compile-time-optional debugging of hash seed in 2488c0d. if you are still encountering the issues you described earlier, edit parrot's src/string/api.c and set DEBUG_HASH_SEED to 1 and rebuild parrot (no need to rebuild rakudo). This will give you easy access to the hash seed and allow for reproducable bug reports.
20:46 kid51 Coke:  Does a patch I applied yesterday help you with http://trac.parrot.org/parrot/ticket/344?
20:47 mikehh bah - ignore t/src/embed/api.t~ in the above nopaste
20:48 cotto plobsing, why not make it an environment variable and avoid the rebuild?
20:48 plobsing cotto: this was easiest
20:48 tadzik plobsing: awesome, thank you
20:48 plobsing also I have a branch out already that touches how parrot manages environment variables. I don't want conflicts on merge
20:49 * dukeleto found 2 more tasks to create
20:49 dukeleto Yuki`N: GMP already has a powermod function, we just need to provide a way to get at it from Parrot
20:50 Yuki`N yeah.
20:50 dukeleto Yuki`N: it will be a method on the BigInt PMC, not an opcode
20:59 Coke kid51: building now
21:00 Coke kid51: wow. Simple fix. that bug's been around for a while. good catch.
21:00 Coke kid51++
21:00 Coke kid51++
21:01 kid51 It was a simple fix, but I don't claim to understand why Darwin is different from other OSes here.
21:01 kid51 But I remember that long ago you mentioned 'otool' to me.
21:02 kid51 That was helpful here:  otoo -L ./parrot
21:02 kid51 Also: man dyld
21:03 dukeleto plobsing: can you add some docs somewhere about DEBUG_HASH_SEED ?
21:03 dalek parrot: 24c6f3a | jkeenan++ | config/gen/makefiles/root.in:
21:04 dalek parrot: Correct 'smolder_coretest' target to include 'pbctestfiles', just as we did for 'coretest'.
21:04 dalek parrot: review: https://github.com/parrot/parrot/commit/24c6f3a9e7
21:04 dalek parrot: c0839da | jkeenan++ | src/string/api.c:
21:04 dalek parrot: Merge branch 'master' of git@github.com:parrot/parrot
21:04 dalek parrot: review: https://github.com/parrot/parrot/commit/c0839dafb8
21:04 * dukeleto added a few more gci tasks
21:05 fbrito (I am so addicted to GCI that some times I write "gci checkout -b new_branch" on shell -.-)
21:06 dukeleto fbrito: hah!
21:06 Yuki`N Does anyone have access to parrot build on 64-bit?
21:06 plobsing dukeleto: define the "somewhere" and I'll do it
21:07 plobsing where should "parrot debug tips" go?
21:08 NotFound Yuki`N: me
21:09 dukeleto plobsing: good question. Are other, similar, flags documented anywhere?
21:09 dukeleto Yuki`N: yep
21:09 dukeleto Yuki`N: i have 64bit linux i can test a patch on, if you need
21:10 Yuki`N Let me nopaste a patch.
21:11 nopaste "Yuki`N" at 192.168.1.3 pasted "sha2 patch" (98 lines) at http://nopaste.snit.ch/27667
21:11 dalek parrot: af9b1ef | (Matt Rajca)++ | t/pmc/packfileopmap.t:
21:11 dalek parrot: Increased coverage for PackfileOpMap PMC
21:11 dalek parrot: review: https://github.com/parrot/parrot/commit/af9b1ef6e7
21:11 Yuki`N I'm having trouble configuring parrot on Windows.
21:11 Yuki`N auto::sizes fails under visual studio.
21:11 Yuki`N vs2010
21:13 dalek parrot: 08cce4f | fbrito++ | t/tools/pbc_dump.t:
21:13 dalek parrot: Add tests to pbc_dump tool
21:13 dalek parrot:
21:13 dalek parrot: Signed-off-by: Jonathan "Duke" Leto <jonathan@leto.net>
21:13 dalek parrot: review: https://github.com/parrot/parrot/commit/08cce4f09b
21:13 cotto fbrito, alias gci='git'
21:13 cotto problem solved
21:13 fbrito hahahahaha, genius!
21:13 * dukeleto has alias g=git
21:14 plobsing dukeleto: a quick ack for DEBUG through src/ shows that such flags tend to be undocumented
21:14 * dukeleto makes a sadface
21:15 dukeleto plobsing: perhaps just some POD in the .c file that it lives in, for now?
21:15 plobsing also we do not document anywhere that users should dissable address space randomization when having "random" failures
21:17 Yuki`N "random" failures?
21:17 Yuki`N I've had quite a number of those.
21:17 plobsing inconsistent, intermittent, etc
21:18 plobsing they crop up from time to time and tend to dissapear without really getting fixed
21:18 Yuki`N Ah.
21:18 plobsing and I'm just foolish enough to chase after them
21:20 Yuki`N dukeleto, could you test that patch?
21:20 dukeleto Yuki`N: just saw it
21:22 dalek parrot: b0ceaaa | jkeenan++ | config/gen/makefiles/root.in:
21:22 dalek parrot: Correct description of what 'distclean' currently does.
21:22 dalek parrot: review: https://github.com/parrot/parrot/commit/b0ceaaa6a2
21:22 dukeleto Yuki`N: i am getting invalid patch errors. Did you copy and paste only part of the patch ?
21:24 plobsing wow docs/project/committer_guide.pod is severely outdated
21:26 Yuki`N Pretty sure I didn't.
21:27 Yuki`N Try pulling my master on github into a branch.
21:33 dukeleto plobsing: that might need to be deleted. i think git_workflow.pod supersedes it
21:33 dukeleto Yuki`N: hokey
21:35 dukeleto Yuki`N: what do you want me to test with that patch? sha tests?
21:35 Yuki`N Yeah, t/library/sha.t
21:37 nwellnhof joined #parrot
21:40 dukeleto Yuki`N: https://gist.github.com/772050
21:40 Yuki`N Hmmm.
21:40 Yuki`N Curious, does t/dynoplibs/bit.t also fail?
21:45 Yuki`N Is there a way for me to build parrot on windows as 64-bit?
21:45 rurban_ joined #parrot
21:47 dukeleto Yuki`N: yes, bit.t still fails. the rot tests
21:47 * dukeleto goes for a run
21:47 Yuki`N Hmmmph.
21:47 Yuki`N This is annoying.
21:47 Yuki`N I'll download a 64-bit image of Fedora later.
21:48 rurban left #parrot
21:48 rurban_ is now known as rurban
21:48 Yuki`N Wait.
21:48 Yuki`N I found a potential fix.
21:50 Yuki`N kid51, http://smolder.parrot.org/app​/projects/report_details/2162
21:51 Yuki`N Win32 smoke report.
21:55 fbrito I am having problems trying to test set_bool on Float PMC. I have used "not $P0" but that doesn't seem to call it
21:55 Yuki`N What's a good way to obtain a number with exactly x '1' bits.
21:55 Yuki`N i.e. I want to generate 0xFFFFFFFF, or binary 1111 1111 1111 1111.
21:56 dalek nqp-rx/nom: 1146ba7 | jonathan++ | src/HLL/Compiler.pm:
21:56 dalek nqp-rx/nom: More PIR => NQP and other work to prep HLL::Compiler to work with 6model.
21:56 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/1146ba7ff5
21:56 Yuki`N Or if I wanted say 10 '1' bits, give me 0000 0011 1111 111, 0x03FF.
21:57 plobsing Yuki`N: write a loop?
21:58 Yuki`N Ehh, I wanted to avoid writing a loop.
21:58 Yuki`N I guess 64 iterations of x += 2^i won't be too bad.
22:00 plobsing Yuki`N: you could hardcode an array [ 0, 1, 2, 4, 8, ... ], but I don't think you'd like that either
22:00 Yuki`N Yeah. :/
22:03 Yuki`N NotFound, could you try testing t/library/sha.t and t/dynoplibs/bit.t from my master on 64-bit?
22:03 Yuki`N I've modified the algorithm slightly.
22:04 NotFound Yuki`N: What master?
22:04 Yuki`N git://github.com/nol888/parrot
22:06 NotFound fbrito: there is no direct way to invoke the set_bool vtable from pir
22:07 dalek parrot: ffb0b0f | plobsing++ | docs/submissions.pod:
22:07 dalek parrot: add notes on reporting/debugging random failures
22:07 dalek parrot: review: https://github.com/parrot/parrot/commit/ffb0b0f586
22:08 fbrito NotFound: hm, interesting. thank you :). Is there any place where I can see which vtables can be invoked from pir?
22:08 NotFound I'm thinking about creating a dynops file with ops intended for testing purposes.
22:09 plobsing fbrito: we have no documentation explicitly listing that, but it is pretty easy to grep through the ops files to find instances (or lack thereof) of certain ops
22:09 NotFound fbrito: I think the only way is to grep the vtable functions in the ops files
22:11 Kovensky <+Wlah> lol @ #7 http://coedmagazine.com/2010/04/12/the-50-most-po​pular-women-on-the-web-according-to-google-10-1/
22:11 dalek TT #1942 created by jkeenan++: src/nci/libffi.c: Throws warnings under various make targets
22:11 dalek TT #1942: http://trac.parrot.org/parrot/ticket/1942
22:12 tadzik Kovensky: hehe
22:13 plobsing looks like we'll hit TT #2011 this year
22:16 kid51 left #parrot
22:16 cotto Matt221, accepted
22:18 Yuki`N cotto, you wouldn't happen to be on 64-bit would you?
22:25 dalek parrot: f1d51c4 | nwellnhof++ | / (5 files):
22:25 dalek parrot: [t] Make checkdepend handle spaces between # and include
22:25 dalek parrot:
22:25 dalek parrot: And fix the newly found dependencies
22:25 dalek parrot: review: https://github.com/parrot/parrot/commit/f1d51c4285
22:25 NotFound Yuki`N: sha.t pass, bit.t fails 3 tests
22:26 cotto Yuki`N, nope
22:26 cotto 32-bit both at home and work
22:27 Yuki`N Nice I got sha.t to pass.
22:27 Yuki`N bit.t still fails though...hm.
22:37 PacoLinux left #parrot
22:44 gcamblin left #parrot
22:45 fbrito Matt221: why did you give up on the Complex PMC code coverage? Is it impossible?
22:50 Matt221 fbrito: naah, just a bunch of 1-line code paths to test
22:50 fbrito msg dukeleto please take a look on https://github.com/parrot/parrot/pull/115. Only "set_bool" is missing, but I have no idea how to test it
22:50 aloha OK. I'll deliver the message.
22:50 Matt221 and I already discovered two dead VTABLESs too
22:54 bacek_at_work fbrito, "$P0 = new 'Float'; $P0 = 0; not $P0; ok($P0, 'set_bool')"
22:54 dalek parrot/nwellnhof/platform_src: 59fec7a | nwellnhof++ | / (128 files):
22:54 dalek parrot/nwellnhof/platform_src: Move platform code from config to src
22:54 dalek parrot/nwellnhof/platform_src:
22:54 dalek parrot/nwellnhof/platform_src: Compile the files directly instead of building src/platform.c
22:54 dalek parrot/nwellnhof/platform_src: review: https://github.com/parrot/parrot/commit/59fec7a832
22:58 bacek_at_work aloha, humans, btw
22:58 NotFound Did we still have a svn mirror of the git repo?
22:59 bacek_at_work NotFound, isn't it used for TapTinder?
22:59 bacek_at_work aloha, taptinder?
22:59 aloha bacek_at_work: taptinder is continues integration tool - http://taptinder.org . For Parrot project running on http://tt.taptinder.org/ and reporting build failures to #parrot channel as ttbot.
22:59 bacek_at_work meh... taptinder is down.
22:59 bacek_at_work seen mj41
22:59 aloha mj41 was last seen in #perl6 11 hours 48 mins ago joining the channel.
23:00 bacek_at_work msg mj41 Can we have taptinder back? Even on svn-git mirror?
23:00 aloha OK. I'll deliver the message.
23:00 NotFound tt.taptider.org gives me a 500 Internal Server Error
23:02 nwellnhof unfortunately, github diffs don't detect renames like git diff with the -M option
23:02 cotto NotFound, you can use github's svn bridge.
23:02 NotFound What's the url of that svn mirror?
23:02 Matt221 cotto: can you review: https://github.com/parrot/parrot/pull/116
23:02 Matt221 GCI is getting competitive :D
23:04 dalek nqp-rx/nom: c00a30c | jonathan++ | / (7 files):
23:04 dalek nqp-rx/nom: Switch HLL::Compiler, NQP::Compiler and Regex::P6Regex::Compiler to use class_6m. In the process, create .pm files for a couple of them (we keep the PIR around too, to combine the various produced outputs). Needs re-configure.
23:04 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/c00a30cf5f
23:04 dalek nqp-rx/nom: bd0b0fe | jonathan++ | src/HLL (2 files):
23:04 dalek nqp-rx/nom: Move Parrot HLL compiler init to avoid tickling an initializatin order bug (will track it down tomorrow or so). Gets some of the tests regressed when making HLL::Compiler et al use 6model passing again (down to just 2 regressions now).
23:04 dalek nqp-rx/nom: review: https://github.com/perl6/nqp-rx/commit/bd0b0fe943
23:05 NotFound cotto: You mean this? https://github.com/blog/626-announcing-svn-support
23:05 Yuki`N Can someone review https://github.com/parrot/parrot/pull/117
23:06 dalek parrot: 787fcd8 | fbrito++ | t/pmc/float.t:
23:06 dalek parrot: [t] Increase test coverage of Float PMC
23:06 dalek parrot: review: https://github.com/parrot/parrot/commit/787fcd86a5
23:06 dalek parrot: 002711c | cotto++ | t/pmc/float.t:
23:06 dalek parrot: Merge branch 'gci_float' of https://github.com/fernandobrito/parrot into fernandobrito-gci_float
23:06 dalek parrot: review: https://github.com/parrot/parrot/commit/002711c355
23:06 cotto NotFound, yes
23:08 Yuki`N cotto, I have some fixes for 64-bit platforms as a pull request.
23:08 dalek parrot/nwellnhof/unicode_filenames: d4769a3 | nwellnhof++ | compilers/imcc/ (7 files):
23:08 dalek parrot/nwellnhof/unicode_filenames: [imcc] Make IMCC slurp whole input files and scan byte buffers.
23:08 dalek parrot/nwellnhof/unicode_filenames: review: https://github.com/parrot/parrot/commit/d4769a372d
23:08 dalek parrot/nwellnhof/unicode_filenames: 903db1c | nwellnhof++ | / (23 files):
23:08 dalek parrot/nwellnhof/unicode_filenames: [imcc] Switch to PIO and STRING filenames for all input files
23:08 dalek parrot/nwellnhof/unicode_filenames: review: https://github.com/parrot/parrot/commit/903db1c25e
23:08 dalek parrot/nwellnhof/unicode_filenames: 241fbb5 | nwellnhof++ | / (7 files):
23:08 dalek parrot/nwellnhof/unicode_filenames: [imcc] Switch to PIO and STRING filenames for all output files
23:08 dalek parrot/nwellnhof/unicode_filenames: review: https://github.com/parrot/parrot/commit/241fbb5e13
23:08 dalek parrot/nwellnhof/unicode_filenames: 69fabae | nwellnhof++ | src/packfile/api.c:
23:08 dalek parrot/nwellnhof/unicode_filenames: [pf] Store segment name as Parrot string
23:08 dalek parrot/nwellnhof/unicode_filenames: review: https://github.com/parrot/parrot/commit/69fabae145
23:08 dalek parrot/nwellnhof/unicode_filenames: ee7bde1 | nwellnhof++ | / (4 files):
23:08 dalek parrot/nwellnhof/unicode_filenames: [str] Introduce Parrot_str_to_encoded_cstring
23:08 dalek parrot/nwellnhof/unicode_filenames: review: https://github.com/parrot/parrot/commit/ee7bde16ec
23:08 dalek parrot: 4c3d1d0 | cotto++ | t/dynpmc/rational.t:
23:08 dalek parrot: Merge branch 'master' of https://github.com/mattrajca/parrot into mattrajca-master
23:08 dalek parrot: review: https://github.com/parrot/parrot/commit/4c3d1d0a6c
23:09 cotto all pending tasks accepted
23:09 cotto Yuki`N, did you test on a 64-bit machine?
23:09 Yuki`N I got
23:10 Yuki`N NotFound to look over it.
23:10 fbrito cotto: thank you :)
23:10 bacek_at_work jnthn, ping. How we can share work on moving PCT to NQP?
23:11 bacek_at_work jnthn, I've got POST::* mostly translated already.
23:11 jnthn bacek_at_work: In general, code that is in NQP will "just work".
23:11 cotto fbrito, ok.  I'll merge once NotFound says he's happy.
23:11 jnthn (with the new meta-model)
23:11 jnthn bacek_at_work: Today I've been focusing on HLL::Compiler
23:12 bacek_at_work jnthn, ok. So, I can go ahead with PCT stuff without stepping on your shoulders.
23:12 bacek_at_work jnthn, correct?
23:12 jnthn bacek_at_work: Today I eliminated NQP::HLLCompiler from nqp-rx/nom.
23:12 bacek_at_work jnthn, ok
23:12 jnthn bacek_at_work: Everything is in HLL::Compiler int he nqp-rx repo now
23:12 jnthn bacek_at_work: Also switched it to use the new meta-model.
23:13 jnthn (like, 10 minutes ago :))
23:13 bacek_at_work jnthn, I did see your commits :)
23:13 jnthn bacek_at_work: So I'd leave the Compiler bits
23:13 jnthn bacek_at_work: I've no plans to work on PAST::Node and PAST::Compiler any time soon.
23:13 bacek_at_work jnthn, ok. I'll take care of it :)
23:13 jnthn So feel free to dig into that.
23:13 jnthn bacek_at_work++
23:13 jnthn Awesome.
23:14 bacek_at_work cotto, "Architect" question. Should we split PCT into separate project? Same as nqp-rx. And just bundle snapshot with parrot?
23:15 jnthn From discussion with pmichaud, I *think* his thinking is that it'll all move out of the Parrot repo and bundle a snapshot.
23:15 jnthn I suspect that, since there's a meta-model switch here too, the way to do this will be to deprecate the PCT stuff in the Parrot repo and start bundling the new nqp-rx, which contains all of the ported PCT. Maybe renaming the repo or some such.
23:16 bacek_at_work jnthn, I tend to agree with pmichaud. We just need good continuous integration tool to properly test parrot+nqp+pct+whatever
23:16 jnthn *nod*
23:16 jnthn bacek_at_work: I hope to ask pmichaud about these bits at #phasers on Tue
23:16 cotto bacek_at_work, that doesn't sound like a bad idea, provided it gets frequent testing.
23:17 jnthn Though maybe it's appropriate to discuss in #parrotsketch too as it also impacts Parrot.
23:17 NotFound fbrito: bit.t still fails
23:17 bacek_at_work jnthn, agreed.
23:17 jnthn OK
23:17 fbrito left #parrot
23:18 fbrito joined #parrot
23:18 jnthn Today is my first day back hacking on nqp-rx/nom after a bit of a break. So still getting back into everything still. :)
23:18 bacek_at_work jnthn, :)
23:18 bacek_at_work afk # meetings for next 6 hours
23:18 bacek_at_work 5 actually.
23:18 cotto bacek_at_work, do you have a 64-bit machine handy to test Yuki`N's changes?
23:19 cotto guess not
23:19 bacek_at_work cotto, nope.
23:20 Yuki`N Hmmm.
23:22 fperrad left #parrot
23:33 plobsing ping NotFound
23:33 NotFound plobsing: pong
23:33 arnsholt left #parrot
23:34 plobsing I'm having issues with 'WARNING: class OMeta not found at compile time
23:34 plobsing '
23:34 plobsing how can I make those go away?
23:35 NotFound plobsing: the only way for a now is using new [ ... ]
23:35 plobsing what about inheritance?
23:36 plobsing class A : OMeta { } // triggers the warning too
23:36 NotFound Same way: class Derived : ['Base'] {}
23:37 NotFound This is intended for non-winxed classes, but is the only way to avoid the warning until I develop a mechanism for import/include/introspect/whatever
23:39 plobsing that's an acceptable way of doing things
23:40 NotFound Yes, but I'd prefer to distinguish winxed classes for oters. Maybe I just add an 'extern class' statement.
23:41 plobsing I was also thinking predeclaration 'class A.B;
23:42 NotFound I'm also considering that, but like this: namespace A { class B; }
23:43 arnsholt joined #parrot
23:43 plobsing that could get unwieldy if you start having longer class names
23:43 plobsing org.parrot.Getopt.Long
23:44 plobsing or deeper heirarchies rather
23:46 NotFound I think that as short term fix the extern class will be better, to not interfere with the stable parsing paths.
23:47 NotFound Will think about it tomorrow.
23:47 plobsing thanks. that will make Ωη tests emit only  Test.More messages
23:47 NotFound The svn github interface fails for me, with a problem already reported and supposed to be fixed :(
23:48 mikehh left #parrot

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

Parrot | source cross referenced