Camelia, the Perl 6 bug

IRC log for #parrot, 2011-11-25

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:48 whiteknight joined #parrot
00:53 whiteknight good evening, #parrot
01:06 whiteknight msg NotFound I'm trying to run that fly.winxed example, but I don't have opengl_defines.pasm. Where do I get that file?
01:06 aloha OK. I'll deliver the message.
01:26 alvis joined #parrot
01:43 dalek Rosella: d23f71d | Whiteknight++ | src/unstable/random/MersenneTwister.winxed:
01:43 dalek Rosella: Convert constants in MersenneTwister from attributes to constant ints.
01:43 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/d23f71d204
01:43 dalek Rosella: 61e6c3b | Whiteknight++ | s (2 files):
01:43 dalek Rosella: Add in a Rosella.Random namespace with a method to get a default random number generator.
01:43 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/61e6c3b465
01:43 dalek Rosella: 5a540ef | Whiteknight++ | / (7 files):
01:44 dalek Rosella: Add in a Box-Muller transformation to turn the Marsenne twister into a normal distribution generator. Add basic histograms to the example program
01:44 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/5a540ef349
01:50 dalek Rosella: 9635fe2 | Whiteknight++ | / (3 files):
01:50 dalek Rosella: fix the interface for the normal number generator to be the same as the uniform number generator
01:50 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/9635fe2182
04:01 jsut joined #parrot
05:20 dalek parrot: bbe82b9 | NotFound++ | src/pmc/structview.pmc:
05:20 dalek parrot: refactor repeated throws into static functions
05:20 dalek parrot: review: https://github.com/parrot/parrot/commit/bbe82b9e37
05:42 rfw joined #parrot
05:50 benabik joined #parrot
05:58 NotFound msg whiteknight the opengl includes are created during the build if you have opengl configured
05:58 aloha OK. I'll deliver the message.
06:01 benabik o/ #parrot
06:06 benabik torrap# \o
08:26 lucian joined #parrot
08:44 mj41 joined #parrot
09:21 lucian joined #parrot
12:13 Psyche^ joined #parrot
12:27 whiteknight joined #parrot
12:27 whiteknight good morning, #parrot
12:56 whiteknight msg NotFound: error while building rosella: Method 'emit' not found for invocant of class 'Winxed;Compiler;FunctionId'
12:56 aloha OK. I'll deliver the message.
13:05 whiteknight msg NotFound the error happens with the current winxed snapshot and master
13:05 aloha OK. I'll deliver the message.
13:19 bluescreen joined #parrot
13:52 benabik joined #parrot
13:59 dalek Rosella: d19b688 | Whiteknight++ | src/query/ (4 files):
13:59 dalek Rosella: Workaround for a winxed bug with the default sort comparer. Fix the Array Provider .foreach and .map methods to iterate in the forward direction as expected
13:59 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/d19b688f91
14:23 whiteknight joined #parrot
14:36 benabik joined #parrot
14:38 PacoLinux joined #parrot
14:38 dalek winxed: 0a49b0c | NotFound++ | winxedst1.winxed:
14:38 dalek winxed: ooops, FunctionId lacked the emit method. whiteknight++
14:38 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/0a49b0c76d
14:38 whiteknight NotFound++ Quick Fix!
14:40 whiteknight NotFound: When is the inline branch going to merge? I have lots of places I want to use it in Rosella
14:40 cosimo_ joined #parrot
14:42 NotFound whiteknight: I found some problems and decided that I'm going to first add an stage 2 and then integrate inline into it rather than in stage 1. I'm doing that in a local branch.
14:42 whiteknight oh, what's the problem in stage 1?
14:43 NotFound Adding thing to stage 1 implies dealing with the limitations and bad diagnostics of stage 0.
14:45 whiteknight so stage2 is going to diverge from the stage1 implementation?
14:45 NotFound whiteknight: yeah.
14:46 NotFound There will be stage 1 and stage 2 winxed sources, and stage 3 will be stage 2 compiled with itself.
14:47 lucian joined #parrot
16:03 dalek parrot: 9279f64 | mls++ | compilers/pct/src/PCT/Node.pir:
16:03 dalek parrot: PCT/Node.pir: use 'append' instead of creating an iterator and pushing every element
16:03 dalek parrot: review: https://github.com/parrot/parrot/commit/9279f6445d
17:00 dalek Heuristic branch merge: pushed 26 commits to winxed/stage2_inline by NotFound
17:06 dalek winxed/stage2_inline: bedc804 | NotFound++ | winxedst1.winxed:
17:06 dalek winxed/stage2_inline: fix merge master conflict
17:06 dalek winxed/stage2_inline: review: https://github.com/NotFoun​d/winxed/commit/bedc804333
17:15 dalek winxed/stage2_inline: 58b22fd | NotFound++ | winxedst2.winxed:
17:15 dalek winxed/stage2_inline: diagnose inline with local functions not allowed
17:15 dalek winxed/stage2_inline: review: https://github.com/NotFoun​d/winxed/commit/58b22fdbbf
17:22 dalek winxed/stage2_inline: a669e35 | NotFound++ | winxedst2.winxed:
17:22 dalek winxed/stage2_inline: generic diagnostic for inline not allowed
17:22 dalek winxed/stage2_inline: review: https://github.com/NotFoun​d/winxed/commit/a669e35b3b
17:24 dalek winxed/stage2_inline: d431d64 | NotFound++ | winxedst2.winxed:
17:24 dalek winxed/stage2_inline: diagnose yield inline
17:24 dalek winxed/stage2_inline: review: https://github.com/NotFoun​d/winxed/commit/d431d647b9
17:34 dalek winxed/stage2_inline: c45da47 | NotFound++ | winxedst2.winxed:
17:34 dalek winxed/stage2_inline: implement clone is some more operators
17:34 dalek winxed/stage2_inline: review: https://github.com/NotFoun​d/winxed/commit/c45da470ef
17:39 dalek winxed/stage2_inline: 2c11441 | NotFound++ | examples/fly.winxed:
17:39 dalek winxed/stage2_inline: use inline in example fly
17:39 dalek winxed/stage2_inline: review: https://github.com/NotFoun​d/winxed/commit/2c1144147c
17:45 dalek parrot: d4331ed | nine++ | t/pmc/task.t:
17:45 dalek parrot: Remove timing assumptions from t/pmc/task.t
17:45 dalek parrot: review: https://github.com/parrot/parrot/commit/d4331ed651
17:51 fperrad joined #parrot
18:21 dukeleto ~~
18:45 zby_home joined #parrot
18:56 whiteknight hello duke
18:59 dalek winxed/stage2_inline: 64dbc7e | NotFound++ | winxedst2.winxed:
18:59 dalek winxed/stage2_inline: implement clone in MultiStatement and pirops
18:59 dalek winxed/stage2_inline: review: https://github.com/NotFoun​d/winxed/commit/64dbc7eb0a
19:00 dukeleto whiteknight: how was your turkey day?
19:03 whiteknight dukeleto: very good, thanks. My grandmother's 80th birthday party is happening tomorrow night, so family from all over the country has flown in for the occasion
19:03 whiteknight so the holiday yesterday was more heavily populated than usual
19:05 whiteknight how was your day?
19:05 dukeleto whiteknight: wow! sound awesome. I am at a large family gathering in Olympia, Washington, which we are calling "Occupy Olympia"
19:06 dukeleto because about 20 people are staying/camping in one house
19:06 whiteknight heh, "Occupy" is t3h memez
19:09 dukeleto or "occu-pie"
19:09 * dukeleto is occupying some Pecan Pie
19:10 dukeleto whiteknight: did you happen to keep the gci tasks you were making in a git repo somewhere?
19:10 dukeleto whiteknight: i would like to tweak some of your tasks to make new tasks
19:10 whiteknight dukeleto: No, I have not. I've been dumping them from my head into melange
19:10 whiteknight They have a csv export functionality
19:10 whiteknight and I've basically be copying your template
19:19 dukeleto whiteknight: ok
19:20 dukeleto whiteknight: i like putting the tasks in a git repo so we can refer to them in future years
19:20 whiteknight I can try to do some of that
19:20 dukeleto whiteknight: i am concerned that many of the tasks are submitting code with no tests
19:20 dukeleto whiteknight: so i think we should make some kind of stipulation for future tasks that there be some kind of basic test to prove that stuff works
19:21 whiteknight I've been asking for example code for most of the rosella stuff, but I mostly haven't been asking for automated tests, for them.
19:21 whiteknight For stuff in the Parrot repo, I do ask for tests, or at least to run existing tests to prove no breakage
19:22 dukeleto whiteknight: sure. For example, the mersenne twister stuff needs a few tests and I was thinking that would make a good task
19:22 dukeleto whiteknight: we can turn the need for tests into more tasks
19:23 whiteknight yes, that would. I needed to do a little work turning that into a proper library first, because Rosella's test suite is completely oriented towards libraries
19:23 whiteknight I added a Box-Muller implementation this morning too, using the twister as the data source, so that's going to need tests
19:27 dukeleto whiteknight: this might help : https://github.com/leto/mat​h--primality/tree/master/t
19:27 dukeleto whiteknight: and https://github.com/leto/mat​h--primality/tree/master/xt
19:28 dukeleto whiteknight: lots of good test data that can be stolen
19:28 jsut_ joined #parrot
19:28 whiteknight the problem with a PRNG is how do you actually test it in a way that the test never gives a false negative?
19:28 whiteknight I don't want to be getting a statistically certain number of false bug reports
19:29 whiteknight Or we can write tests that are so loose and forgiving that they don't tell us anything about the generator
19:29 dukeleto whiteknight: no no no, people have solved that problem already :)
19:30 dukeleto whiteknight: http://en.wikipedia.org/wiki/Diehard_tests
19:32 whiteknight Most of those tests I see would still allow for false negatives
19:33 whiteknight I'll keep that link handy, for now, and I will accept submissions for tests using that
19:34 dukeleto whiteknight: cool. Basically, if you run statistical tests with the right number of iterations, false negatives can be made very rare
19:35 dukeleto whiteknight: because you get to define how much tests need to deviate from "what you expect" to fail
19:35 whiteknight right, but "very rare" and "not possible" are still different things.
19:35 dukeleto whiteknight: indubiously
19:35 schmooster joined #parrot
19:35 dukeleto Every time I bang my fist on the kitchen table, there is a non-zero chance that all the atoms in my hand will miss all the atoms in the table.
19:35 whiteknight As far as I am concerned, at least for now, so long as the numbers plausibly appear to be random to the untrained human eye, I'm satisfied
19:36 whiteknight eventually I'll want a higher standard, but I don't need it now
19:36 dukeleto whiteknight: works for me, for now
19:36 whiteknight (again, I will always accept code submissions, I'm just talking about budgeting my own time)
19:36 dukeleto whiteknight: yeps.
19:36 * dukeleto goes for a post-pie walk
19:36 whiteknight have fun
19:37 dalek winxed/stage2_inline: b79afdc | NotFound++ | winxedst2.winxed:
19:37 dalek winxed/stage2_inline: implement clone in do, while, break and continue
19:37 dalek winxed/stage2_inline: review: https://github.com/NotFoun​d/winxed/commit/b79afdc399
19:39 dalek Rosella: 108ac81 | Whiteknight++ | src/unstable/random/ (2 files):
19:39 dalek Rosella: Implement BoxMullerNormal.get_int(). It's ugly but it works. Small optimization to MersenneTwister, use integers for mti calculations.
19:39 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/108ac81086
19:39 dalek Rosella: cc7a6ae | Whiteknight++ | src/unstable/random/BoxMullerNormal.winxed:
19:39 dalek Rosella: Completely calculate the spare value in BoxMuller immediately, since the center and stddev are invariants
19:39 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/cc7a6ae87e
19:40 mj41 joined #parrot
20:01 dalek winxed/stage2_inline: 300598a | NotFound++ | winxedst2.winxed:
20:01 dalek winxed/stage2_inline: style fixes
20:01 dalek winxed/stage2_inline: review: https://github.com/NotFoun​d/winxed/commit/300598a0f4
20:02 dalek Rosella: 6b0ea74 | Whiteknight++ | src/include/Random.winxed:
20:02 dalek Rosella: +An include file for Random
20:02 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/6b0ea7444d
20:07 dalek Rosella: 7d8585d | Whiteknight++ | s (5 files):
20:07 dalek Rosella: Move the knuth-fisher-yates shuffle implementation to the Random library. Update it to use the twister. Make Random a dependency of Query
20:07 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/7d8585d2b1
20:10 rfw joined #parrot
20:48 alvis joined #parrot
20:54 dalek winxed/stage2_inline: 38dcd26 | NotFound++ | winxedst (2 files):
20:54 dalek winxed/stage2_inline: fix a problem with local functions sharing used subids with its outers
20:54 dalek winxed/stage2_inline: and have more fun with closures, binders and algorithms in stage 2
20:54 dalek winxed/stage2_inline: review: https://github.com/NotFoun​d/winxed/commit/38dcd265a7
21:23 dalek winxed/stage2_inline: 5e03a27 | NotFound++ | winxedst2.winxed:
21:23 dalek winxed/stage2_inline: use some more binders
21:23 dalek winxed/stage2_inline: review: https://github.com/NotFoun​d/winxed/commit/5e03a27730
21:28 dalek winxed: 3d29f54 | NotFound++ | winxedst (2 files):
21:28 dalek winxed: FunctionId.emit
21:28 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/3d29f5493a
21:28 dalek winxed: 99b4e0b | NotFound++ | winxedst1.winxed:
21:28 dalek winxed: fake inline in stage 1
21:28 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/99b4e0bd47
21:28 dalek winxed: 8b9ad0f | NotFound++ | winxedst2.winxed:
21:28 dalek winxed: apply changes in stage 1 from the inline branch to stage 2
21:28 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/8b9ad0f2ba
21:28 dalek winxed: e1a409a | NotFound++ | winxedst2.winxed:
21:28 dalek winxed: add some binders and inline a few more things
21:28 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/e1a409af4c
21:28 dalek winxed: bedc804 | NotFound++ | winxedst1.winxed:
21:28 dalek winxed: fix merge master conflict
21:28 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/bedc804333
21:28 dalek winxed: 58b22fd | NotFound++ | winxedst2.winxed:
21:28 dalek winxed: diagnose inline with local functions not allowed
21:28 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/58b22fdbbf
21:28 dalek winxed: a669e35 | NotFound++ | winxedst2.winxed:
21:28 dalek winxed: generic diagnostic for inline not allowed
21:28 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/a669e35b3b
21:28 dalek winxed: d431d64 | NotFound++ | winxedst2.winxed:
21:28 dalek winxed: diagnose yield inline
21:28 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/d431d647b9
21:28 dalek winxed: c45da47 | NotFound++ | winxedst2.winxed:
21:28 dalek winxed: implement clone is some more operators
21:28 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/c45da470ef
21:28 dalek winxed: 2c11441 | NotFound++ | examples/fly.winxed:
21:28 dalek winxed: use inline in example fly
21:28 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/2c1144147c
21:28 dalek winxed: 64dbc7e | NotFound++ | winxedst2.winxed:
21:28 dalek winxed: implement clone in MultiStatement and pirops
21:28 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/64dbc7eb0a
21:28 dalek winxed: b79afdc | NotFound++ | winxedst2.winxed:
21:28 dalek winxed: implement clone in do, while, break and continue
21:28 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/b79afdc399
21:28 dalek winxed: 300598a | NotFound++ | winxedst2.winxed:
21:28 dalek winxed: style fixes
21:28 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/300598a0f4
21:28 dalek winxed: 38dcd26 | NotFound++ | winxedst (2 files):
21:28 dalek winxed: fix a problem with local functions sharing used subids with its outers
21:28 dalek winxed: and have more fun with closures, binders and algorithms in stage 2
21:28 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/38dcd265a7
21:28 dalek winxed: 5e03a27 | NotFound++ | winxedst2.winxed:
21:28 dalek winxed: use some more binders
21:28 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/5e03a27730
21:35 dalek winxed: 5bedc59 | NotFound++ | NEWS:
21:35 dalek winxed: update NEWS
21:35 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/5bedc5982a
21:37 lucian joined #parrot
21:39 dalek winxed: 9300774 | NotFound++ | pir/winxed_compiler.pir:
21:39 dalek winxed: update installable compiler
21:39 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/9300774687
21:49 dalek parrot: a9e6183 | NotFound++ | ext/winxed/compiler.pir:
21:49 dalek parrot: update winxed snapshot to 9300774687
21:50 dalek parrot: - inline functions
21:50 dalek parrot: - fix FunctionId emit problem
21:50 dalek parrot: review: https://github.com/parrot/parrot/commit/a9e61832fc
22:11 jsut joined #parrot
22:50 lucian joined #parrot
23:19 contingencyplan joined #parrot
23:19 dalek rakudo/nom: a227e73 | jnthn++ | src/core/Str.pm:
23:19 dalek rakudo/nom: substr was rather wasteful before, and didn't give the optimizer half as much to go on as it could; this improves things a bit. Found while profiling Simple::Redis by Woodi++.
23:19 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a227e73f6f
23:33 dukeleto ~~
23:46 dalek rakudo/nom: da4426a | jnthn++ | src/core/ListIter.pm:
23:46 dalek rakudo/nom: Some small optimizations to ListIter. Knocks about 10% more off Simple::Redis benchmark, which has iteration on hot path.
23:46 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/da4426ae77
23:50 snearch joined #parrot

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

Parrot | source cross referenced