Parrot 3.10.0 "Apple Pi" | parrot.org | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 22 November 2011.
dalek kudo/nom: de3e8e7 | jnthn++ | src/Perl6/ (2 files):
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
kudo/nom: 09097de | jnthn++ | docs/ChangeLog:
Couple of ChangeLog additions.
00:30
00:46 Yuki`N joined
dalek kudo/nom: 1e5b310 | jnthn++ | src/core/IO/Socket/INET.pm:
Method calls automatically coerce their results into Perl 6 things, so we don't need to re-do it in this case.
01:14
kudo/nom: 8fe7111 | jnthn++ | src/core/IO/Socket.pm:
Avoid various accidental v-table calls in socket IO.
kudo/nom: 78cf70e | jnthn++ | src/core/Str.pm:
Optimize chomp a little.
02:40 benabik joined 02:58 bacek joined 04:52 arnsholt joined, jsut_ joined, alester joined 04:53 cotto joined, Nol888 joined, nopaste joined 04:54 perlite joined 04:55 Tene joined 04:56 Hunger joined, Yuki_N joined 05:01 perlite joined, TonyC joined, kthakore joined, jsut joined 05:02 slavorg joined 05:37 Yuki`N left, Yuki`N joined 05:38 Yuki`N joined 06:05 rfw joined 07:20 fperrad joined 09:02 alvis joined 10:44 contingencyplan joined 10:53 mj41 joined 11:56 zby_home joined 12:13 Psyche^ joined 12:31 mj41 joined, whiteknight joined
whiteknight good morning, #parrot 12:49
dalek rrot/extend_cleanup: fc65871 | Whiteknight++ | src/embed/bytecode.c:
remove old TODO note
12:52
rrot/extend_cleanup: ffca829 | (Tristan Hume)++ | / (6 files):
Removed Parrot_sub_new_from_c_func and tests that rely on it
rrot/extend_cleanup: 7a4a967 | (Tristan Hume)++ | / (7 files):
moved Parrot_PMC_newclass to oo.c and renamed to Parrot_oo_new_class_pmc
rrot/extend_cleanup: 0a414ef | Whiteknight++ | / (6 files):
Merge branch 'master' of github.com:parrot/parrot
rrot/extend_cleanup: 3a35d09 | Whiteknight++ | src/pmc/structview.pmc:
Merge branch 'master' of github.com:parrot/parrot
rrot/extend_cleanup: 3e796d7 | Whiteknight++ | / (3 files):
Merge branch 'master' of github.com:parrot/parrot
rrot/extend_cleanup: ec76d8c | Whiteknight++ | / (8 files):
Merge branch 'GCI_extend_cleanup' of git://github.com/trishume/parrot into extend_cleanup
13:25 schmooster joined
dalek kudo/nom: 5f34902 | jnthn++ | src/Perl6/Actions.pm:
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
kudo/nom: f7053be | jnthn++ | tools/build/Makefile.in:
Shuffle Attribute.pm earlier in the bootstrap, since we're going to use a class with attributes in Routine.
kudo/nom: 4d35f0c | jnthn++ | src/ (2 files):
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:40 lucian joined
dalek rrot: 3e796d7 | Whiteknight++ | / (3 files):
Merge branch 'master' of github.com:parrot/parrot
13:57
rrot: ec76d8c | Whiteknight++ | / (8 files):
Merge branch 'GCI_extend_cleanup' of git://github.com/trishume/parrot into extend_cleanup
14:21 JimmyZ joined
dalek sella: 69af454 | Whiteknight++ | benchmarks/query/sort.winxed:
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
sella: 86747c0 | Whiteknight++ | benchmarks/query/ (3 files):
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
kudo/nom: 98b6731 | jnthn++ | src/ops/perl6.ops:
Ensure that dispatch searcher can handle frames with an unpopulated dispatcher slot.
15:38
kudo/nom: dcc9495 | jnthn++ | src/Perl6/Actions.pm:
Ensure every block gets a $*DISPATCHER slot, since they could all end up serving as wrappers.
kudo/nom: 927659c | jnthn++ | src/ (2 files):
Get unwrapping in place.
kudo/nom: ef81604 | jnthn++ | t/spectest.data:
Turn on wrap.t.
kudo/nom: 046303e | jnthn++ | src/core/Routine.pm:
Rename method on the wrap handle to match the spec.
15:47
Coke . 16:22
dalek sella: d11d234 | Whiteknight++ | s (9 files):
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
sella: eb204a8 | Whiteknight++ | src/unstable/random/ (4 files):
+docs for Random. Fix the .get_range() function so it filters out out-of-range values and only tries a fixed number of times.
whiteknight hello Coke 16:28
16:31 schmooster joined
dalek sella/gh-pages: fc85ad2 | Whiteknight++ | libraries/random.md:
Stub out some documentation for the new Random library
16:40
17:00 c_noob joined 17:15 Yuki`N joined
Yuki`N whiteknight, I don't understand the fix to .get_range 17:18
whiteknight Yuki`N: if I have a normal distribution instead of a uniform one, I could get weird issues 17:29
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
your implementation was perfect for the uniform generator
Yuki`N well idk if you wanted to keep the contract [low, high) but that code will return [low, high]. 17:31
potentially. 17:32
Either that or I'm not understanding the mechanics of a normal distribution generator.
Well, as long as get_float returns [0, 1), get_range will uphold [low, high). 17:33
running tests on the renamed slash-conversion code now.
alright, whiteknight, pushed some changes to the pull request. 17:40
whiteknight awesome, let me poke at it
looks good to me. 17:41
dalek rrot/separator_fixes: 5a90db4 | Yuki`N++ | / (219 files):
Merge remote branch 'upstream/master'
17:43
rrot/separator_fixes: c7cef77 | Yuki`N++ | / (1103 files):
Merge branch 'master' of git://github.com/parrot/parrot
rrot/separator_fixes: a29e047 | Yuki`N++ | / (3 files):
Merge branch 'master' of git://github.com/parrot/parrot
rrot/separator_fixes: e923c34 | Yuki`N++ | / (5 files):
Merge branch 'master' of git://github.com/parrot/parrot
rrot/separator_fixes: c447729 | Yuki`N++ | / (3 files):
Add Parrot_lib_fix_path_slashes; fix OS.pwd to normalize slashes based on platform.
rrot/separator_fixes: a9642d4 | Yuki`N++ | src/string/api.c:
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.
whiteknight I'll merge it into master after a few more tests. I want to make sure it doesn't break perl6 first
rrot/separator_fixes: 7c16288 | Yuki`N++ | / (4 files):
codingstd and readability fixes.
rrot/separator_fixes: 04379ec | Whiteknight++ | / (4 files):
Merge branch 'master' of git://github.com/nol888/parrot into separator_fixes
Yuki`N alright.
whiteknight submit the task for review
I'll close it
17:51 lucian joined
dalek kudo/nom: 08e560e | jnthn++ | src/core/List.pm:
Make unshift handle the case where it's called and $!items is empty.
17:59
kudo/nom: 99fff11 | jnthn++ | src/core/Array.pm:
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.
kudo/nom: de08cc8 | jnthn++ | docs/ChangeLog:
Some ChangeLog entries.
18:18
Yuki`N whiteknight, done. 18:21
I'll implement the doomsday rule if you want. 18:23
whiteknight do I!? 18:49
NotFound whiteknight: inline is already in master and snapshoted into parrot 19:15
whiteknight NotFound++
I'll have to start playing with it
NotFound: for inline functions, are the functions themselves compiled and callable from libraries or do they disappear during compilation?
NotFound whiteknight: strictly inlined, not available otherwise. 19:16
whiteknight okay, I was hoping you would say that
NotFound ... except if you compile with stage 1.
whiteknight so if I have some inline functions in an include file for built-ins, that would be perfect?
NotFound Stage 1 fake inlines treating it as functions, to be able to use inlines in stage 2. 19:17
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
Null PMC access in find_method('numargs') 19:27
current instr.: 'parrot;Winxed;Compiler;InlinedBlock;InlinedBlock' pc 64289 (ext/winxed/compiler.pir:26854) (winxedst2.winxed:10629)
that's if I have an inline with no args 19:30
also, it doesn't look like inlines work well with namespaces right now?
19:36 ambs joined
whiteknight and inlines can't return float yet? 19:38
NotFound whiteknight: uh, no, I forgot that. 19:39
whiteknight :) it's okay, I'm doing a lot of playing
dalek sella/winxed_inline: 0f2835a | Whiteknight++ | / (7 files):
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:40
sella/winxed_inline: bec689a | Whiteknight++ | src/unstable/reflect/ (4 files):
Several cleanups for Reflect
sella/winxed_inline: 56ada4b | Whiteknight++ | src/unstable/r (5 files):
Start updating the Random library to use the new winxed 'inline' keyword
19:41 mj41 joined
dukeleto ~~ 19:42
mmmm, intermittent test failures in t/pmc/nci.t
gist.github.com/1396207 19:44
whiteknight yeah, we've been seeing that for a while
I haven't really dug into it
dukeleto blarg. 19:51
whiteknight NotFound: Method 'getPirString' not found for invocant of class 'Winxed;Compiler;TokenIdentifier' 19:57
current instr.: 'parrot;Winxed;Compiler;StringLiteral;getPirString' pc 18864 (ext/winxed/compiler.pir:8192) (winxedst2.winxed:3459)
dukeleto $MS draws a line in the sand with Dart: news.cnet.com/8301-30685_3-57330431...-language/ 20:01
whiteknight: you want github.com/parrot/parrot/pull/207 ? 20:03
whiteknight: oops, didn't see the comments 20:04
Yuki`N NotFound, ping 20:05
NotFound Yuki`N: pong 20:09
Yuki`N Any chance you could add variable occlusion checks to winxed? 20:10
e.g. function herp(int meh) { int meh; }
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.
(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.
Yuki`N ah 20:13
NotFound whiteknight: Do you have a snippet for that bug?
Yuki`N alright then whiteknight, I've finished. www.google-melange.com/gci/task/vie...11/7175219 20:23
moritz dukeleto: have you seen news.perlfoundation.org/2011/11/hag...l#comments ? I hope you find it useful 20:24
20:43 contingencyplan joined 20:50 lucian joined 21:03 whiteknight joined
dalek kudo/nom: 4a4601d | jnthn++ | src/Perl6/Actions.pm:
Make sure embedded blocks in strings get the correct lexical scope.
21:09
21:12 ambs joined 21:13 rfw joined 21:35 mj41 joined 22:40 alvis joined
dalek rrot: 22c17f4 | petdance++ | t/pmc/nci.t:
removed unnecessary interpolation
22:41
22:50 GodFather joined