Camelia, the Perl 6 bug

IRC log for #parrot, 2011-11-26

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:29 dalek rakudo/nom: de3e8e7 | jnthn++ | src/Perl6/ (2 files):
00:29 dalek rakudo/nom: Implement an optimization for private method calls. If possible, it reduces them to sub calls. Can also detect and complain about missing private method calls at CHECK time (since they're non-virtual). Requires --optimize=3.
00:29 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/de3e8e7e92
00:30 dalek rakudo/nom: 09097de | jnthn++ | docs/ChangeLog:
00:30 dalek rakudo/nom: Couple of ChangeLog additions.
00:30 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/09097de5d2
00:46 Yuki`N joined #parrot
01:14 dalek rakudo/nom: 1e5b310 | jnthn++ | src/core/IO/Socket/INET.pm:
01:14 dalek rakudo/nom: Method calls automatically coerce their results into Perl 6 things, so we don't need to re-do it in this case.
01:14 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/1e5b310ede
01:14 dalek rakudo/nom: 8fe7111 | jnthn++ | src/core/IO/Socket.pm:
01:14 dalek rakudo/nom: Avoid various accidental v-table calls in socket IO.
01:14 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/8fe7111b66
01:14 dalek rakudo/nom: 78cf70e | jnthn++ | src/core/Str.pm:
01:14 dalek rakudo/nom: Optimize chomp a little.
01:14 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/78cf70e733
02:40 benabik joined #parrot
02:58 bacek joined #parrot
04:52 arnsholt joined #parrot
04:52 jsut_ joined #parrot
04:52 alester joined #parrot
04:53 cotto joined #parrot
04:53 Nol888 joined #parrot
04:53 nopaste joined #parrot
04:54 perlite joined #parrot
04:55 Tene joined #parrot
04:56 Hunger joined #parrot
04:56 Yuki_N joined #parrot
05:01 perlite joined #parrot
05:01 TonyC joined #parrot
05:01 kthakore joined #parrot
05:01 jsut joined #parrot
05:02 slavorg joined #parrot
05:37 Yuki`N left #parrot
05:37 Yuki`N joined #parrot
05:38 Yuki`N joined #parrot
06:05 rfw joined #parrot
07:20 fperrad joined #parrot
09:02 alvis joined #parrot
10:44 contingencyplan joined #parrot
10:53 mj41 joined #parrot
11:56 zby_home joined #parrot
12:13 Psyche^ joined #parrot
12:31 mj41 joined #parrot
12:31 whiteknight joined #parrot
12:49 whiteknight good morning, #parrot
12:52 dalek parrot/extend_cleanup: fc65871 | Whiteknight++ | src/embed/bytecode.c:
12:52 dalek parrot/extend_cleanup: remove old TODO note
12:52 dalek parrot/extend_cleanup: review: https://github.com/parrot/parrot/commit/fc658711a5
12:52 dalek parrot/extend_cleanup: ffca829 | (Tristan Hume)++ | / (6 files):
12:52 dalek parrot/extend_cleanup: Removed Parrot_sub_new_from_c_func and tests that rely on it
12:52 dalek parrot/extend_cleanup: review: https://github.com/parrot/parrot/commit/ffca829265
12:52 dalek parrot/extend_cleanup: 7a4a967 | (Tristan Hume)++ | / (7 files):
12:52 dalek parrot/extend_cleanup: moved Parrot_PMC_newclass to oo.c and renamed to Parrot_oo_new_class_pmc
12:52 dalek parrot/extend_cleanup: review: https://github.com/parrot/parrot/commit/7a4a967cce
12:52 dalek parrot/extend_cleanup: 0a414ef | Whiteknight++ | / (6 files):
12:52 dalek parrot/extend_cleanup: Merge branch 'master' of github.com:parrot/parrot
12:52 dalek parrot/extend_cleanup: review: https://github.com/parrot/parrot/commit/0a414ef698
12:52 dalek parrot/extend_cleanup: 3a35d09 | Whiteknight++ | src/pmc/structview.pmc:
12:52 dalek parrot/extend_cleanup: Merge branch 'master' of github.com:parrot/parrot
12:52 dalek parrot/extend_cleanup: review: https://github.com/parrot/parrot/commit/3a35d09af8
12:52 dalek parrot/extend_cleanup: 3e796d7 | Whiteknight++ | / (3 files):
12:52 dalek parrot/extend_cleanup: Merge branch 'master' of github.com:parrot/parrot
12:52 dalek parrot/extend_cleanup: review: https://github.com/parrot/parrot/commit/3e796d7a0a
12:52 dalek parrot/extend_cleanup: ec76d8c | Whiteknight++ | / (8 files):
12:52 dalek parrot/extend_cleanup: Merge branch 'GCI_extend_cleanup' of git://github.com/trishume/parrot into extend_cleanup
12:52 dalek parrot/extend_cleanup: review: https://github.com/parrot/parrot/commit/ec76d8ccb5
13:25 schmooster joined #parrot
13:27 dalek rakudo/nom: 5f34902 | jnthn++ | src/Perl6/Actions.pm:
13:27 dalek rakudo/nom: A routine will always need some kind of dispatcher slot, since it may be a wrapper (in fact, we probably need to generalize this to block level).
13:27 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/5f349023b7
13:27 dalek rakudo/nom: f7053be | jnthn++ | tools/build/Makefile.in:
13:27 dalek rakudo/nom: Shuffle Attribute.pm earlier in the bootstrap, since we're going to use a class with attributes in Routine.
13:27 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/f7053be8f5
13:27 dalek rakudo/nom: 4d35f0c | jnthn++ | src/ (2 files):
13:27 dalek rakudo/nom: First cut implementation of Routine.wrap. No unwrap support yet, and the wrappers also need to be rutines until the dispatcher slot gets generalized to blocks.
13:27 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/4d35f0c9ec
13:40 lucian joined #parrot
13:57 dalek parrot: 3e796d7 | Whiteknight++ | / (3 files):
13:57 dalek parrot: Merge branch 'master' of github.com:parrot/parrot
13:57 dalek parrot: review: https://github.com/parrot/parrot/commit/3e796d7a0a
13:57 dalek parrot: ec76d8c | Whiteknight++ | / (8 files):
13:57 dalek parrot: Merge branch 'GCI_extend_cleanup' of git://github.com/trishume/parrot into extend_cleanup
13:57 dalek parrot: review: https://github.com/parrot/parrot/commit/ec76d8ccb5
14:21 JimmyZ joined #parrot
14:34 dalek Rosella: 69af454 | Whiteknight++ | benchmarks/query/sort.winxed:
14:34 dalek Rosella: Fix Smoothsort to take a comparison routine instead of assuming integer comparisons. This has a slight performance penalty, but makes the benchmarks more fair
14:34 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/69af454206
14:34 dalek Rosella: 86747c0 | Whiteknight++ | benchmarks/query/ (3 files):
14:34 dalek Rosella: Add in two new benchmark files. One to compare various SORT_TRANSITION values in the hybrid sort, and another to start testing some other optimizations
14:34 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/86747c00b1
15:38 dalek rakudo/nom: 98b6731 | jnthn++ | src/ops/perl6.ops:
15:38 dalek rakudo/nom: Ensure that dispatch searcher can handle frames with an unpopulated dispatcher slot.
15:38 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/98b6731165
15:38 dalek rakudo/nom: dcc9495 | jnthn++ | src/Perl6/Actions.pm:
15:38 dalek rakudo/nom: Ensure every block gets a $*DISPATCHER slot, since they could all end up serving as wrappers.
15:38 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/dcc9495907
15:38 dalek rakudo/nom: 927659c | jnthn++ | src/ (2 files):
15:38 dalek rakudo/nom: Get unwrapping in place.
15:38 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/927659c821
15:38 dalek rakudo/nom: ef81604 | jnthn++ | t/spectest.data:
15:38 dalek rakudo/nom: Turn on wrap.t.
15:38 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/ef81604b93
15:47 dalek rakudo/nom: 046303e | jnthn++ | src/core/Routine.pm:
15:47 dalek rakudo/nom: Rename method on the wrap handle to match the spec.
15:47 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/046303e0f1
16:22 Coke .
16:23 dalek Rosella: d11d234 | Whiteknight++ | s (9 files):
16:23 dalek Rosella: Rename the shuffle function to be more general (we may use a different algorithm in the future, or provide options). Add some missing docs to the query providers
16:23 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/d11d234f77
16:23 dalek Rosella: eb204a8 | Whiteknight++ | src/unstable/random/ (4 files):
16:23 dalek Rosella: +docs for Random. Fix the .get_range() function so it filters out out-of-range values and only tries a fixed number of times.
16:23 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/eb204a8949
16:28 whiteknight hello Coke
16:31 schmooster joined #parrot
16:40 dalek Rosella/gh-pages: fc85ad2 | Whiteknight++ | libraries/random.md:
16:40 dalek Rosella/gh-pages: Stub out some documentation for the new Random library
16:40 dalek Rosella/gh-pages: review: https://github.com/Whiteknig​ht/Rosella/commit/fc85ad2aeb
17:00 c_noob joined #parrot
17:15 Yuki`N joined #parrot
17:18 Yuki`N whiteknight, I don't understand the fix to .get_range
17:29 whiteknight Yuki`N: if I have a normal distribution instead of a uniform one, I could get weird issues
17:30 Yuki`N oh.
17:30 whiteknight Yuki`N: if I have a bell curve centered at 5.0, and ask for a random number in the range [20, 25), I might not be able to get it
17:30 whiteknight your implementation was perfect for the uniform generator
17:31 Yuki`N well idk if you wanted to keep the contract [low, high) but that code will return [low, high].
17:32 Yuki`N potentially.
17:32 Yuki`N Either that or I'm not understanding the mechanics of a normal distribution generator.
17:33 Yuki`N Well, as long as get_float returns [0, 1), get_range will uphold [low, high).
17:33 Yuki`N running tests on the renamed slash-conversion code now.
17:40 Yuki`N alright, whiteknight, pushed some changes to the pull request.
17:40 whiteknight awesome, let me poke at it
17:41 whiteknight looks good to me.
17:43 dalek parrot/separator_fixes: 5a90db4 | Yuki`N++ | / (219 files):
17:43 dalek parrot/separator_fixes: Merge remote branch 'upstream/master'
17:43 dalek parrot/separator_fixes: review: https://github.com/parrot/parrot/commit/5a90db47c5
17:43 dalek parrot/separator_fixes: c7cef77 | Yuki`N++ | / (1103 files):
17:43 dalek parrot/separator_fixes: Merge branch 'master' of git://github.com/parrot/parrot
17:43 dalek parrot/separator_fixes: review: https://github.com/parrot/parrot/commit/c7cef77abd
17:43 dalek parrot/separator_fixes: a29e047 | Yuki`N++ | / (3 files):
17:43 dalek parrot/separator_fixes: Merge branch 'master' of git://github.com/parrot/parrot
17:43 dalek parrot/separator_fixes: review: https://github.com/parrot/parrot/commit/a29e04771b
17:43 dalek parrot/separator_fixes: e923c34 | Yuki`N++ | / (5 files):
17:43 dalek parrot/separator_fixes: Merge branch 'master' of git://github.com/parrot/parrot
17:43 dalek parrot/separator_fixes: review: https://github.com/parrot/parrot/commit/e923c34c89
17:43 dalek parrot/separator_fixes: c447729 | Yuki`N++ | / (3 files):
17:43 dalek parrot/separator_fixes: Add Parrot_lib_fix_path_slashes; fix OS.pwd to normalize slashes based on platform.
17:43 dalek parrot/separator_fixes: review: https://github.com/parrot/parrot/commit/c447729f69
17:43 dalek parrot/separator_fixes: a9642d4 | Yuki`N++ | src/string/api.c:
17:44 dalek parrot/separator_fixes: Fix bug in string API where Parrot_str_new_init was not properly setting the bufused field when passed a null buffer with a length.
17:44 whiteknight I'll merge it into master after a few more tests. I want to make sure it doesn't break perl6 first
17:44 dalek parrot/separator_fixes: review: https://github.com/parrot/parrot/commit/a9642d402b
17:44 dalek parrot/separator_fixes: 7c16288 | Yuki`N++ | / (4 files):
17:44 dalek parrot/separator_fixes: codingstd and readability fixes.
17:44 dalek parrot/separator_fixes: review: https://github.com/parrot/parrot/commit/7c162888a4
17:44 dalek parrot/separator_fixes: 04379ec | Whiteknight++ | / (4 files):
17:44 dalek parrot/separator_fixes: Merge branch 'master' of git://github.com/nol888/parrot into separator_fixes
17:44 dalek parrot/separator_fixes: review: https://github.com/parrot/parrot/commit/04379ec7f2
17:44 Yuki`N alright.
17:44 whiteknight submit the task for review
17:44 whiteknight I'll close it
17:51 lucian joined #parrot
17:59 dalek rakudo/nom: 08e560e | jnthn++ | src/core/List.pm:
17:59 dalek rakudo/nom: Make unshift handle the case where it's called and $!items is empty.
17:59 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/08e560e4ed
17:59 dalek rakudo/nom: 99fff11 | jnthn++ | src/core/Array.pm:
17:59 dalek rakudo/nom: Try to fix Array.STORE a bit. This isn't perfect, but an improvement for sure; things like '@a = @a' and '@a .= uniq()' now work. Still something rotten in some of the lazy cases, though.
17:59 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/99fff110ad
18:18 dalek rakudo/nom: de08cc8 | jnthn++ | docs/ChangeLog:
18:18 dalek rakudo/nom: Some ChangeLog entries.
18:18 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/de08cc8482
18:21 Yuki`N whiteknight, done.
18:23 Yuki`N I'll implement the doomsday rule if you want.
18:49 whiteknight do I!?
19:15 NotFound whiteknight: inline is already in master and snapshoted into parrot
19:15 whiteknight NotFound++
19:15 whiteknight I'll have to start playing with it
19:15 whiteknight NotFound: for inline functions, are the functions themselves compiled and callable from libraries or do they disappear during compilation?
19:16 NotFound whiteknight: strictly inlined, not available otherwise.
19:16 whiteknight okay, I was hoping you would say that
19:16 NotFound ... except if you compile with stage 1.
19:16 whiteknight so if I have some inline functions in an include file for built-ins, that would be perfect?
19:17 NotFound Stage 1 fake inlines treating it as functions, to be able to use inlines in stage 2.
19:18 NotFound whiteknight: yes, haven't tried yet but they should work preftectly within includes.
19:18 whiteknight yay! Rosella is going to have a large number of includes with inlines
19:27 whiteknight Null PMC access in find_method('numargs')
19:27 whiteknight current instr.: 'parrot;Winxed;Compiler;InlinedBlock;InlinedBlock' pc 64289 (ext/winxed/compiler.pir:26854) (winxedst2.winxed:10629)
19:30 whiteknight that's if I have an inline with no args
19:30 whiteknight also, it doesn't look like inlines work well with namespaces right now?
19:36 ambs joined #parrot
19:38 whiteknight and inlines can't return float yet?
19:39 NotFound whiteknight: uh, no, I forgot that.
19:39 whiteknight :) it's okay, I'm doing a lot of playing
19:40 dalek Rosella/winxed_inline: 0f2835a | Whiteknight++ | / (7 files):
19:40 dalek Rosella/winxed_inline: Rewrite decorate tests in winxed, autogenerated. Add them to the harness because apparently they weren't there before. Several updates and cleanups to the decorate library
19:41 dalek Rosella/winxed_inline: review: https://github.com/Whiteknig​ht/Rosella/commit/0f2835ac0c
19:41 dalek Rosella/winxed_inline: bec689a | Whiteknight++ | src/unstable/reflect/ (4 files):
19:41 dalek Rosella/winxed_inline: Several cleanups for Reflect
19:41 dalek Rosella/winxed_inline: review: https://github.com/Whiteknig​ht/Rosella/commit/bec689a01d
19:41 dalek Rosella/winxed_inline: 56ada4b | Whiteknight++ | src/unstable/r (5 files):
19:41 dalek Rosella/winxed_inline: Start updating the Random library to use the new winxed 'inline' keyword
19:41 dalek Rosella/winxed_inline: review: https://github.com/Whiteknig​ht/Rosella/commit/56ada4b5ce
19:41 mj41 joined #parrot
19:42 dukeleto ~~
19:42 dukeleto mmmm, intermittent test failures in t/pmc/nci.t
19:44 dukeleto https://gist.github.com/1396207
19:44 whiteknight yeah, we've been seeing that for a while
19:44 whiteknight I haven't really dug into it
19:51 dukeleto blarg.
19:57 whiteknight NotFound: Method 'getPirString' not found for invocant of class 'Winxed;Compiler;TokenIdentifier'
19:57 whiteknight current instr.: 'parrot;Winxed;Compiler;St​ringLiteral;getPirString' pc 18864 (ext/winxed/compiler.pir:8192) (winxedst2.winxed:3459)
20:01 dukeleto $MS draws a line in the sand with Dart: http://news.cnet.com/8301-30685_3-57330431-264​/microsoft-shoots-down-googles-dart-language/
20:03 dukeleto whiteknight: you want https://github.com/parrot/parrot/pull/207 ?
20:04 dukeleto whiteknight: oops, didn't see the comments
20:05 Yuki`N NotFound, ping
20:09 NotFound Yuki`N: pong
20:10 Yuki`N Any chance you could add variable occlusion checks to winxed?
20:10 Yuki`N e.g. function herp(int meh) { int meh; }
20:10 Yuki`N Ran into an issue where I was defining a local variable 5/6 of the way down in a method which happened to have the same name as a parameter.
20:11 Yuki`N (or make it a GCI task)
20:11 NotFound Yuki`N: I'll think about it. Right now I don't know how difficult may be.
20:13 Yuki`N ah
20:13 NotFound whiteknight: Do you have a snippet for that bug?
20:23 Yuki`N alright then whiteknight, I've finished. http://www.google-melange.com/gci​/task/view/google/gci2011/7175219
20:24 moritz dukeleto: have you seen http://news.perlfoundation.org/2011/11/hag​ue-grant-application-plperl.html#comments ? I hope you find it useful
20:43 contingencyplan joined #parrot
20:50 lucian joined #parrot
21:03 whiteknight joined #parrot
21:09 dalek rakudo/nom: 4a4601d | jnthn++ | src/Perl6/Actions.pm:
21:09 dalek rakudo/nom: Make sure embedded blocks in strings get the correct lexical scope.
21:09 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/4a4601d0c2
21:12 ambs joined #parrot
21:13 rfw joined #parrot
21:35 mj41 joined #parrot
22:40 alvis joined #parrot
22:41 dalek parrot: 22c17f4 | petdance++ | t/pmc/nci.t:
22:41 dalek parrot: removed unnecessary interpolation
22:41 dalek parrot: review: https://github.com/parrot/parrot/commit/22c17f49d2
22:50 GodFather joined #parrot

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

Parrot | source cross referenced