|
»ö« | perl6.org/ | nopaste: paste.lisp.org/new/perl6 | evalbot usage: 'perl6: say 3;' or rakudo: / pugs: / std: , or /msg p6eval perl6: ... | irclog: irc.pugscode.org/ | UTF-8 is our friend! Set by moderator on 20 October 2009. |
|||
|
00:00
estrai_ joined,
zaslon joined,
pointme joined,
sjohnson joined,
estrai joined
00:16
facsimile joined
|
|||
| facsimile hugs Larry Wall (at least in spirit) | 00:16 | ||
| facsimile (was reading nasty blog posts about perl 6) | 00:17 | ||
| hm everyone not just Larry | |||
| spinclad | hugme: hug everyone | ||
| hugme hugs everyone | |||
| spinclad | hugme++ | ||
| spinclad hugs everyone, too | 00:18 | ||
| /me is off for a holiday week-and-a-half, have -Ofun, y'all! | 00:19 | ||
| facsimile | I had no idea people would get angry about it but probably a topic that's come up lots of times so no more to say about it | ||
| -funroll-loops! | |||
| spinclad | facsimile: i'm glad to see a small spake of bloggings this week trying to ease people's antipathies. masak++ mst++ etc++ | 00:21 | |
| perigrin tried to be fair and balanced. | 00:22 | ||
| spinclad | ~Y~ | ||
| perigrin | emoticon fail | 00:23 | |
| are you blinking with a migraine? | |||
|
00:48
Wolfman2000 joined
|
|||
| Wolfman2000 | evening | 00:49 | |
|
00:50
gfx joined
|
|||
| sjohnson | hi | 00:53 | |
|
00:59
envi^office joined
01:01
agentzh joined
01:02
frew_ joined
01:20
cognominal_ joined
|
|||
| quietfanatic | uh oh | 01:26 | |
| rakudo: say 0 <=> -1/2 | |||
| p6eval | rakudo 7347ec: 0 | ||
| quietfanatic | -1/2 is not 0! | ||
| (bug submitted) | 01:30 | ||
|
01:32
kst joined
|
|||
| Wolfman2000 | rakudo: say -1 / 2 | 01:33 | |
| p6eval | rakudo 7347ec: -0.5 | ||
| quietfanatic | rakudo: say 0 < -1/2 | 01:34 | |
| rakudo: say 0 > -1/2 | |||
| p6eval | rakudo 7347ec: 0 | ||
| rakudo 7347ec: 1 | |||
| diakopter | rakudo: say 0/4 <=> -1/2 | ||
| p6eval | rakudo 7347ec: Multiple Dispatch: No suitable candidate found for 'cmp_num', with signature 'PP->I'in Main (file <unknown>, line <unknown>) | ||
| quietfanatic | rakudo: say 0 == -1/2 | ||
| p6eval | rakudo 7347ec: 0 | ||
| quietfanatic | wait PP->I is a parrot signature. | 01:35 | |
|
01:37
stephenlb joined
01:47
justatheory joined
01:54
facsimile joined
|
|||
| diakopter | rakudo: say 0 <=> 1/ | 01:56 | |
| p6eval | rakudo 7347ec: Confused at line 2, near "/"in Main (file <unknown>, line <unknown>) | ||
| diakopter | rakudo: say 0 <=> 1/1 | ||
| p6eval | rakudo 7347ec: -1 | ||
| diakopter | rakudo: say 0 <=> 2/1 | 01:57 | |
| p6eval | rakudo 7347ec: -1 | ||
| diakopter | rakudo: say 0 <=> -2/1 | ||
| p6eval | rakudo 7347ec: 1 | ||
| diakopter | rakudo: say 0 <=> 1/2 | ||
| p6eval | rakudo 7347ec: 0 | ||
| diakopter | rakudo: say 0 <=> -1/2 | ||
| p6eval | rakudo 7347ec: 0 | ||
|
02:00
ihrd left
|
|||
| diakopter | ng: say Inf ** (1/Inf) | 02:00 | |
| p6eval | ng 2a3149: 1 | ||
| diakopter | ng: say Inf ** (-Inf) | ||
| p6eval | ng 2a3149: 0 | ||
| cotto_work | rakudo's math is not impressive | 02:01 | |
| diakopter | ng: say &(Inf) | 02:03 | |
| p6eval | ng 2a3149: Method 'item' not found for invocant of class 'Float'current instr.: '_block14' pc 29 (EVAL_1:0) | ||
| Tene | [particle]: re rewrite: remember that there's also the 3600 lines of setting that's mostly not being rewritten. | 02:09 | |
|
02:13
kst joined
|
|||
| TimToady | yeah, they're only replacing the brain, simple... | 02:14 | |
| diakopter must've missed something about a rewrite | 02:17 | ||
| Tene: what rewrite? | 02:18 | ||
| Tene | diakopter: ng | ||
| diakopter | rakudo: say Inf ** (-Inf) | 02:19 | |
| p6eval | rakudo 7347ec: 0 | ||
| sjohnson | snuggle | 02:27 | |
| wrong chan sorry | |||
| TimToady | hugme: snuggle sjohnson | 02:30 | |
| Tene | sjohnson: np, I do that all the time. | ||
| sjohnson | i might have to roll up my sleeves and implement that hugme functionality | 02:31 | |
| i can't quite snuggle myself | |||
| well, without grossing out anyone | |||
| diakopter | too late. | ||
| Tene | You're jus tt not trying hard i was gonna say, you're just not trying hard enough. | 02:32 | |
| Argh, lag. :( | |||
| sjohnson | <--- going to watch a chick flick, and have a glass of wine for 1 by a warm fire | 02:33 | |
| colomon | diakopter: Are you writing new spectests for those math issues you're finding? | 02:35 | |
| pugs_svn | r29134 | lwall++ | [S02,3,4] attempt to rename void context to sink context and see if it clogs | 02:40 | |
|
02:42
Exodist joined
02:43
facsimile joined
02:46
JimmyZ joined
|
|||
| pugs_svn | r29135 | lwall++ | [STD] put constant into the same category as subset and enum | 02:47 | |
|
02:53
kst joined
03:04
jaldhar joined
|
|||
| pugs_svn | r29136 | lwall++ | [constant.t] tweaks for change of constant category to be more typish | 03:10 | |
|
03:10
am0c joined
03:18
kst joined
03:30
Wolf2k_Pinged joined
|
|||
| pugs_svn | r29137 | lwall++ | [STD] improve the clarity of borg messages | 03:38 | |
| diakopter | colomon: if I knew they were issues, I might | 03:40 | |
| colomon | surely 0 <=> 1/2 --> 0 is wrong? | 03:41 | |
|
03:42
justatheory joined
|
|||
| colomon | pmichaud: ping? | 03:47 | |
| pmichaud | colomon: pong | 03:57 | |
| colomon | pmichaud: I decided I really wanted to have a very basic set of range tests we can pass now for refactoring it. | ||
| pmichaud | sounds like a good idea | 03:58 | |
| colomon | I've created t/02-basic/01-range.t here and hooked it up. | ||
| pmichaud | okay | ||
| colomon | is that a good name / approach? (hooked it up to make test, I mean.) | ||
| pmichaud | works for me. Is there any reason why we can't have basic range tests in t/spec, though? | 03:59 | |
| colomon | Something like t/spec/blah/range-basic.t? | ||
| pmichaud | sure | ||
| colomon | works for me, I just thought you'd suggested the t/02-basic approach. | ||
| pmichaud | this is partially why I've carped from time to time about some of the spectests relying on too many advanced p6 features | ||
| I did suggest the t/02-basic approach, but I'd prefer that as a fallback position rather than a primary one | 04:00 | ||
| colomon | okay, I'll move what I've got over to the spectest. | ||
| (and what I've got is really, really slight so far. :) | 04:01 | ||
| pmichaud | that just seems easier overall, and given that we hope other implementations of Perl 6 will be coming up, it would be useful for them also. | ||
| colomon | though now that I've said it, I may have to hack on master a bit to get even what I've got now working there. :) | ||
| pmichaud | well, it doesn't have to go into spectest.data in master :) | 04:03 | |
| colomon | BTW, the problem here is just that the range.t tests are way too complex. The first one is "is ~(3..6), "3 4 5 6", which requires the operator to work, the range to be constructed properly, and stringification to act in a certain way which I'm not sure is actually in the spec. | ||
| pmichaud: good point! :) | 04:04 | ||
|
04:05
justatheory_ joined
|
|||
| pmichaud | afk for a while | 04:06 | |
|
04:08
benabik joined
|
|||
| pugs_svn | r29138 | colomon++ | [t/spec] Start a set of very basic tests for Range. | 04:16 | |
|
04:19
dj_goku joined
|
|||
| pugs_svn | r29139 | jafelds++ | If using XHTML (...why?), put ' /' where needed. | 04:25 | |
| Wolfman2000 | ...does pugs_svn not recognize the directory I'm uploading from or something/ | ||
| Wolfman2000 also wonders why the feather index page isn't updated with his changes yet. | 04:26 | ||
| pugs_svn | r29140 | lwall++ | [S12] start process of distingishing abstract ~ from concrete .Str | 04:31 | |
| r29140 | (likewise for + vs .Num) | |||
| r29141 | lwall++ | [S06,S09] rename 'is ref' to 'is parcel' and make it synonymous with \\ | 04:35 | ||
|
04:46
am0c joined
04:47
justatheory joined
04:59
astrojp left
05:15
vamped joined
05:22
gfx joined
05:41
synth joined
05:52
synth joined
05:59
QtPlaty[HireMe] joined
06:04
TiMBuS joined
|
|||
| pugs_svn | r29142 | lwall++ | [Spec] slaughter various confusing overloadings of the term 'context' | 06:12 | |
| r29142 | contextual variables are now dynamic variables | |||
| r29142 | specific dynamic contexts are now just call frames | |||
| r29142 | (for now we've left alone 'context' used as in 'context switching') | |||
|
06:16
JimmyZ_ joined
06:20
yahooooo joined
06:30
pnate2 joined
06:36
meppl joined
|
|||
| diakopter | std: ~ ~ ~ ~ ~ ~ 7 | 06:45 | |
| p6eval | std 29142: ok 00:01 108m | ||
| diakopter | std: - - - - - - - - - 7 | ||
| p6eval | std 29142: ok 00:01 108m | ||
| diakopter | std: ? ! ? ! ? ! ? ! ? ! ? ! 7 | 06:46 | |
| p6eval | std 29142: ok 00:01 108m | ||
|
06:46
iblechbot joined
06:53
simcop2387 joined
06:58
quietfanatic joined
|
|||
| diakopter | quietfanatic: hi | 07:04 | |
| quietfanatic | hi | 07:05 | |
|
07:05
rfordinal joined
|
|||
| diakopter | rakudo: say [].PARROT | 07:06 | |
| p6eval | rakudo 7347ec: Perl6Array | ||
| diakopter | rakudo: say [].WHAT | ||
| p6eval | rakudo 7347ec: Array() | ||
| diakopter | rakudo: say []() | 07:07 | |
| p6eval | rakudo 7347ec: invoke() not implemented in class 'ResizablePMCArray'in Main (file <unknown>, line <unknown>) | ||
|
07:08
kaare joined
|
|||
| JimmyZ_ | rakudo: \\.PARROT | 07:09 | |
| p6eval | rakudo 7347ec: ( no output ) | ||
| JimmyZ_ | rakudo: say \\.PARROT | 07:10 | |
| p6eval | rakudo 7347ec: Failure | ||
| pugs_svn | r29143 | lwall++ | [S03] tweaks from TheDamian++ | ||
| r29143 | Various coercion clarifications | |||
|
07:14
[particle]1 joined
07:23
Su-Shee joined
|
|||
| Su-Shee | good morning. | 07:23 | |
| meppl | good morning, Su-Shee | 07:26 | |
| sushi ,) | |||
| cognominal_ | rakudo-ng: '' ~~ / { say "hello" } / | 07:28 | |
| hum | |||
| perigrin | I think ti's just ng: | 07:29 | |
| cognominal_ | ng: '' ~~ / { say "hello" } / | ||
| p6eval | ng 2a3149: Confused at line 1, near "'' ~~ / { "current instr.: 'perl6;HLL;Grammar;panic' pc 448 (src/stage0/HLL-s0.pir:300) | ||
| perigrin | ng: /me often has a Grammar:panic too | ||
| p6eval | ng 2a3149: Confused at line 1, near "/me often "current instr.: 'perl6;HLL;Grammar;panic' pc 448 (src/stage0/HLL-s0.pir:300) | ||
| cognominal_ | apparently closure is not yet supported | 07:30 | |
| perigrin | hmm and apparently an irssi one | ||
| cognominal_: nor irc ACTION commands | |||
| :/ | |||
| cognominal_ | pmichaud has updated the STATUS file for nqp-rx five days ago | 07:33 | |
| A lot of thing already there... | 07:34 | ||
| pmichaud++ | |||
| jnthn++ | |||
|
07:42
_eMaX_ joined
|
|||
| cognominal_ | Competition yoga, Comme dirait le dude à walter : You make everything a fucking travesty! www.nytimes.com/2009/11/19/fashion/....html?_r=1 | 07:43 | |
|
07:44
_eMaX_1 joined
|
|||
| cognominal_ | oops wrong window | 07:48 | |
|
07:49
justatheory joined
|
|||
| TimToady | it was entertaining nonetheless | 07:49 | |
| moritz_ | good morning | 07:50 | |
| diakopter | good morning to you | 07:55 | |
|
07:56
barney joined
|
|||
| quietfanatic | There. It's not near where I need for Gamebase, but here's Events for Perl 6 | 08:16 | |
| github.com/quietfanatic/Events | |||
| moritz_ | cool | 08:17 | |
| quietfanatic: you should add that to the proto project list | |||
| quietfanatic | moritz_: how? Also I don't have a Makefile... | 08:18 | |
| moritz_ | quietfanatic: see their PIONEERS file, there's not much you have to do | ||
| hugme: add quietfanatic to proto | |||
| hugme hugs quietfanatic. Welcome to proto! | |||
| quietfanatic | oh cool | ||
| moritz_ | quietfanatic: and now you can edit projects.list :-) | 08:19 | |
| quietfanatic | Heh | ||
| moritz_ | resistance is futile :-) | 08:20 | |
|
08:22
rfordinal joined
|
|||
| quietfanatic | Hmm, how do I make it install things without learning how to write Makefiles? | 08:22 | |
| moritz_ | quietfanatic: as far as I understand the installed-module branch provides a reasonable default installing system | ||
|
08:23
orafu joined
|
|||
| moritz_ | quietfanatic: for example my SVG::Plot has no Makefile at all, and proto installs it just fine | 08:23 | |
| quietfanatic | moritz_: meaning copy the contents of lib/ into the user's library? | ||
| I'll have to rearrange a bit then | |||
| moritz_ | right | ||
|
08:23
JimmyZ joined
|
|||
| moritz_ | yep, standard layout helps | 08:23 | |
|
08:25
ejs joined
|
|||
| quietfanatic | moritz_: Okay, I think I did it right. I have no way of knowing if I just broke your proto or not. :) | 08:28 | |
| (until I try it for myself...) | |||
| moritz_ | quietfanatic: I'm sure somebody will tell you if you broke it :-) | 08:34 | |
|
08:36
KatrinaTheLamia joined
|
|||
| pugs_svn | r29144 | lwall++ | [Specs] more constant cleanups | 08:39 | |
| r29144 | add 'anon' declarator in place of 'my'/'our' misuse | |||
|
08:39
ejs joined
08:47
rfordinal left
08:59
eternaleye joined
09:05
eternaleye joined
09:07
xenoterracide joined,
jrockway joined
|
|||
| jnthn | oh hai | 09:26 | |
| moritz_ | oh morning, oh jnthn | 09:29 | |
|
09:30
masak joined
|
|||
| masak | \\o/ | 09:30 | |
| jnthn | welcome to the wi-fi internets, masak \\o/ | ||
| sjohnson | yo masak | 09:31 | |
| masak | man, this feels good. | ||
| sjohnson | wireless internet? | ||
| masak | you don't know how nice wifi/laptop battery is until it is taken away from you. :) | ||
| sjohnson | yeah i just woke up from a nap and still typing in bed | ||
| jnthn | lol i stole his laptop ;-) | ||
| masak | :P | 09:32 | |
| jnthn is joking. | |||
| moritz_ knows quite many mac users who forget their charger :-) | |||
| masak | yeah, learning the hard way what a new one costs... | ||
| moritz_ | ~100€ I think? | 09:33 | |
| masak | aye. | ||
| moritz_ | ou.ch | 09:34 | |
| sjohnson | jnthn: diakopter recommended console2 to me yesterday. it does the whole resize thing with the mouse, both x and y. quite nice if you ask me :) | ||
| just thought i'd pass that along | 09:35 | ||
| moritz_ | $somebody contacted me and asked if I wanted to place ads for programming jobs on my blog or website | ||
| masak | do you? | ||
| of all kinds of ads, ads for programming jobs are the least despicable, I think. | |||
| moritz_ | well, I'm toying with the idea | 09:36 | |
| and I want to get opinions from my readers | |||
| masak | I don't get annoyed by ads, since I filter them out. :) | 09:37 | |
| moritz_ | if it were text-only somewhere in the left side bar... would that annoy you? | ||
| masak | oh, text. | ||
| jnthn | Text ads dont't annoy me. :-) | ||
| masak | moritz_: probably not, no. | 09:38 | |
| jnthn | Unless they use the <OMGBLINK> tag. | ||
| masak | they annoy me if they blink. or are marquee. | ||
| moritz_ | jnthn: I plan to continue to use valid xhtml, and no javascript :-) | ||
| jnthn | Oh yes, or marquee. | ||
| masak | if they do both, I usually want to stab someone. | ||
| which is unusual. | |||
| jnthn | Please can we all make a concerted effort not to send masak links to sites that use marquee and blink this weekend? kplzthnx. | 09:39 | |
| masak sticks out tongue | |||
| moritz_ remebers the xcd layout on occasion of shutting down geocities | 09:40 | ||
| masak | :) | ||
| quietfanatic++ # github.com/quietfanatic/Events | 09:47 | ||
| moritz_ | use Event; # Haack! | 09:49 | |
| masak | quietfanatic++ # event sub aliens_attack { ... } | 09:50 | |
| quietfanatic: both jnthn and I were surprised one can even do that in Rakudo! | |||
| moritz_ too | |||
| it took a while to understand that quietfanatic++ didn't add a scope declarator :-) | 09:51 | ||
| jnthn | yes! | ||
| masak | he's kinda worked around it :) | ||
| moritz_ | rakudo: sub a(&foo) { say foo() }; a sub space { 'rocks' } | 09:52 | |
| p6eval | rakudo 7347ec: rocks | ||
| masak | question is, why does he need both 'events sub' and declare the sub name in the Event::Type constructor call? | ||
| moritz_ | ng: sub a(&foo) { say foo() }; a sub space { 'rocks' } | ||
| p6eval | ng 2a3149: rocks | ||
| masak | ng++ # rocks | ||
| moritz_ | perl6: sub a(&foo) { say foo() }; a sub space { 'rocks' } | ||
| p6eval | rakudo 7347ec: rocks | ||
| ..pugs: ***  Unexpected "space" expecting "=", subroutine parameters, trait or block at /tmp/EvHH6JQVa6 line 1, column 34 | |||
| ..elf 29144: /home/p6eval/pugs/misc/STD_red/match.rb:141:in `block in to_dump0': undefined method `to_dump0' for true:TrueClass (NoMethodError) from /home/p6eval/pugs/misc/STD_red/match.rb:140:in `each' from /home/p6eval/pugs/misc/STD_red/match.rb:140:in `map' from | |||
| ../home/p6eval/pugs/misc/STD_red/ma… | |||
| moritz_ | std: sub a(&foo) { say foo() }; a sub space { 'rocks' } | 09:53 | |
| masak | seems rakudo-specific :) | ||
| p6eval | std 29144: ok 00:01 112m | ||
| moritz_ | not quite :-) | ||
|
09:55
eternaleye joined
|
|||
| masak | Hacker News covers 'Fuck Perl 6', and more or less completely mis-groks it: news.ycombinator.com/item?id=950215 | 10:00 | |
| jjames at the bottom actually does the research. | |||
| moritz_ | then upvote him! | 10:01 | |
| masak | (Dave Cross)++ # perlhacks.com/2009/11/my-sekrit-project.php | 10:02 | |
| as you see, I'm catching up on news here. :) | |||
| moritz_ | wow | 10:03 | |
| that's exactly what I had in mind of perlblog.org | |||
|
10:05
synth joined
|
|||
| zaslon | lolmasakhazblogged! masak++ 'November 19 2009 -- a feeling of power, a feeling of release': use.perl.org/~masak/journal/39921?from=rss | 10:35 | |
|
10:37
am0c joined
|
|||
| sjohnson | i would like to give suggestions and the like for this new Perl 6 pdf book | 10:38 | |
| masak | sjohnson: go ahead; either here or on #perl6book. | ||
| sjohnson | thanks masak | ||
| finally, something i could contribute to perl6 | 10:39 | ||
| ( `ー´) | |||
| is it p michaud who runs rakudo's site? | |||
| pmichaud: grep downloadthe on rakudo.org/node/58 | 10:42 | ||
|
10:50
ihrd joined,
ihrd left
|
|||
| masak | food & | 10:55 | |
|
11:02
[particle] joined,
drbean_ joined
11:03
athaba joined
11:12
justatheory joined
|
|||
| moritz_ | sjohnson: typo corrected | 11:15 | |
| sjohnson | *thumbs up* | 11:19 | |
|
11:20
cognominal joined
11:27
dakkar joined
11:56
simcop2387 joined
12:05
ejs joined
12:15
envi^home joined
12:17
payload joined
12:20
simcop2387 joined
12:34
colomon joined
|
|||
| colomon | o/ | 12:35 | |
| sjohnson | hi colomon | 12:36 | |
| pmichaud | good morning, perl6 | 12:58 | |
| jnthn | morning, pmichaud | 13:00 | |
| colomon | \\o | 13:01 | |
| pmichaud | today's goal: eval. and maybe repl. | 13:03 | |
| moritz_ | a worthy goal. | ||
| colomon | \\o/ | 13:04 | |
| moritz_ | and being able to call eval_{lives,dies}_ok will bring us back a few tests, I think | ||
|
13:04
masak joined
|
|||
| jnthn | lolitsmasak | 13:04 | |
| moritz_: Yes, I think so. | 13:05 | ||
| colomon | and being able to call eval will bring us back a few more. | ||
| jnthn | I've had tests that passed all until they hit a dies_ok. | ||
| moritz_ | dies_ok should work | ||
| just the eval_ versions not | |||
| jnthn | uh, eval_does_ok I ment. | ||
| masak | TimToady: in S32/Containers, the documentation for the .pick method on Set looks copy/pasted from that for .pick in Bag, and not altogether applicable. | ||
| jnthn | *ie | ||
| moritz_ | pmichaud: do you plan to ever merge ng into master, or simply replace it? | 13:06 | |
| pmichaud | replace | ||
| masak | TimToady: I'll probably change it right away, but might want to look over the result, to see that I didn't miss anything, or introduce new infelicities. | ||
| pmichaud | likely: rename master to something else, rename ng to master | ||
| moritz_ | pmichaud: any objections to cherry-picking some useful commits from master ng? | 13:07 | |
| pmichaud | no objections | ||
| colomon | moritz_: do you have something in mind? | 13:10 | |
| moritz_ | colomon: lots of things actually | 13:11 | |
| the doc changes from the release | |||
| takadonet | morning all | ||
| moritz_ | KyleHa's patch to parallelize tools/update-passing-test-files.pl | ||
| colomon | sounds good to me. | 13:12 | |
| moritz_ | I'm just a bit afraid of losing overview, and forgetting some important things | 13:13 | |
| colomon | rakudo: say "hello".perl | ||
| p6eval | rakudo 7347ec: "hello" | ||
| colomon | rakudo: say '$range'.perl | 13:14 | |
| p6eval | rakudo 7347ec: "\\$range" | ||
| colomon | ng: say '$range'.perl | ||
| p6eval | ng 2a3149: sh: ./perl6: No such file or directory | ||
| pugs_svn | r29145 | masak++ | [S32/Containers] fixed copy/paste error | 13:15 | |
| moritz_ | it's rebuild time | ||
| masak | I feel this line is non-sensical, or misleading. github.com/rakudo/rakudo/blob/maste...ist.pm#L53 | 13:16 | |
| can I remove it? (if I make spectests, and nothing breaks) | |||
| colomon | wfm | 13:17 | |
| moritz_ | I'd rather remove the Int type constraint | ||
| masak | maybe that'd be better, yes. | ||
| I'll do that. | |||
|
13:17
bluescreen joined
|
|||
| pmichaud | +1 | 13:17 | |
| masak | also, I'm not really sure I like the current behavior of %h.pick | 13:18 | |
| colomon | the idea that .pick(1.5) would be valid kind of scares me | ||
| masak | but I've not quite decided yet. | ||
|
13:18
iblechbot joined
|
|||
| colomon | would .Int be more appropriate than .floor anyway? | 13:19 | |
| masak | colomon: yes, that sounds like a good idea. | 13:20 | |
| moritz_ | +1 | ||
| masak | intent rather than procedure. | ||
| masak writes `$num .= Int`, which reads quite well | 13:21 | ||
| moritz_ wants $num as Int | |||
| cognominal | I thought I had seen in S05 a convention for bracketted construct with the brackets before the rule for bracketted stuff. Am I wrong? | ||
| masak | moritz_: nod. | 13:22 | |
| cognominal: A ~ C B | |||
| moritz_ | cognominal: the "goal matching" thing, yes | ||
| cognominal: '(' ~ ')' [ stuff ] | |||
| cognominal | thx | ||
| masak | std: my $a; $a .= Int | 13:23 | |
| p6eval | std 29145: ok 00:02 109m | ||
| masak | rakudo: my $a = 5.5; $a .= Int | ||
| p6eval | rakudo 7347ec: .= must have a call on the right hand side at line 2, near " .= Int"in Main (file src/gen_setting.pm, line 2751) | ||
| masak submits rakuodbug | |||
| ng: my $a = 5.5; $a .= Int | 13:24 | ||
| p6eval | ng 2a3149: ( no output ) | ||
| cognominal | '(' ~ ')' <term> ** \\, # so that makes sense? | ||
| masak | ng++ | ||
| cognominal: yes. | 13:25 | ||
| moritz_ | cognominal: you might need brackets around the <term> ** \\, | ||
| I'm not sure about the relative precdence of ~ and ** | |||
| and rakudo used not to be sure too | |||
| cognominal | So I suppose it would fail to work as desired if <term> may match a closing parenthesis | 13:26 | |
| masak | that sounds reasonable, yes. | 13:27 | |
| pugs_svn | r29146 | colomon++ | [t/spec] More very basic Range tests. | 13:29 | |
| cognominal | ng: "ab" ~~ / a ~ b <?> / | 13:30 | |
| p6eval | ng 2a3149: Confused at line 1, near "\\"ab\\" ~~ /"current instr.: 'perl6;HLL;Grammar;panic' pc 448 (src/stage0/HLL-s0.pir:300) | ||
| moritz_ | cognominal: ng doesn't have regex literals yet | ||
| cognominal | ng: "ab" ~~ / 'a' ~ 'b' <?> / | 13:31 | |
| p6eval | ng 2a3149: Confused at line 1, near "\\"ab\\" ~~ /"current instr.: 'perl6;HLL;Grammar;panic' pc 448 (src/stage0/HLL-s0.pir:300) | ||
| masak | moritz_: which is kinda ironic. | ||
| moritz_ | i know :-) | ||
| masak: tell pmichaud (after he's done eval) | |||
| masak | I'm not going to imply to pmichaud that I want a schedule change. :) | 13:32 | |
| I want ng to be as good as possible, that's all. | |||
| cognominal | rakudo: "ab" ~~ / 'a' ~ 'b' <?> / | ||
| moritz_ wants it to be better than possible :-) | |||
| p6eval | rakudo 7347ec: ( no output ) | ||
| cognominal | rakudo: say "ab" ~~ / 'a' ~ 'b' <?> / | ||
| p6eval | rakudo 7347ec: ab | ||
| cognominal | how can he test anything without regex literals? | 13:33 | |
| moritz_ | grammar Foo { token TOP { regex here } }; Foo.parse('str') | ||
| cognominal | ok :) | 13:34 | |
| sukria, ça peut t'intéresser | 13:42 | ||
| oops | |||
| masak | ça certainement ne peut m'intéresser! | 13:43 | |
| pfui! :) | |||
| moritz_ | colomon: you coul add range-basic.t to spectest.data | 13:44 | |
| masak: 'ne'... always requires 'pas' or 'plus' or something like that in the end | |||
| colomon | moritz_: I did in ng | ||
| masak | moritz_: dang. :/ | ||
| colomon | don't know if it works in master | ||
| masak | it's been too long. | ||
| ça certainement ne peut PAS m'intéresser! | |||
| moritz_ | colomon: if so you didn't push | ||
| $ grep range t/spectest.data | grep -vE \\# | wc -l | 13:45 | ||
| 0 | |||
| ng_feed | rakudo-ng: colomon++ | ||
| rakudo-ng: Add S03-operators/range-basic.t to the tested spectest files for ng. | |||
| colomon | moritz_: apparently I am not always fully functional right before going to bed. | 13:47 | |
| s/right before going to bed// | 13:48 | ||
|
13:48
ruoso joined
|
|||
| moritz_ | nobody is always fully functional :-) | 13:49 | |
| colomon | I think this explains why ng_feed never reported my commit last night. :) | 13:50 | |
| moritz_ | hugme: hug ng_feed | ||
| hugme hugs ng_feed | |||
| moritz_ | up to 279 spectests now | 13:51 | |
| sjohnson | masak: tu parles francais aussi? :) | 14:00 | |
| masak | sjohnson: non. je ne peux parler français. | ||
| sjohnson: non. je ne peux PAS parler français. | |||
| dang again. :/ | |||
| sjohnson | heh | 14:01 | |
| moritz_ | :-) | ||
| sjohnson | ou as-tu appris le francais? | ||
| moritz_ smatters français :-) | |||
| masak | sjohnson: j'ai l'appris, mais je ne peux pas parler. | 14:02 | |
| jnthn | Je suis une merdique en francais. | ||
| moritz_ | jnthn is female in french? :-) | 14:03 | |
| masak | I'm afraid so. :P | ||
| sjohnson | est-ce qu'on peut parler en francais sans trouble si on le fais a 06h du matin? | ||
| jnthn | Ooh la la... | ||
| cognominal | masak: non, ton français est merdique :) don't confuse the adjective with the noun | ||
| masak | cognominal: don't confuse me with jnthn :) | ||
| cognominal | anyway, we pardon you french :) | 14:04 | |
| jnthn | We pardon you English too. | ||
| cognominal | oops | ||
| masak | touché :) | ||
.oO( your father was a hamster and your mother smelled of elderberries ) |
14:05 | ||
| moritz_ has heard worse name calling | |||
| masak | moritz_: you... kniggit! | 14:06 | |
| cognominal | "touché", "c'est la vie" and some others are French expressions rarely used except by anglosaxons :) | 14:08 | |
| masak | cognominal: "double entendre" :) | ||
| PerlJam | good $localtime all | ||
| cognominal | indeed | ||
| sjohnson | hi | 14:09 | |
| cognominal | we would say "double sens" | 14:10 | |
| moritz_ | hi PerlJam | ||
| PerlJam | cognominal: but which consonants would you not pronounce? :) | ||
| masak | cognominal: why is the adjective before the noun in that phrase? | ||
| PerlJam | TimToady++ (is parcel) | 14:11 | |
| cognominal | I don't know any definitve rule for the place of the ajectives which come usually last. | 14:12 | |
| PerlJam | TimToady++ (s/contextual/dynamic/ Isn't that were we started? :) | ||
| masak | cognominal: when I learned French, I was taught that they all come last except for a select few. | ||
| cognominal | Sometimes, the meaning varies with the postiion : "Un homme grand" is a tall guy, but "un grand homme" is an very important man. De Gaulle was both | 14:13 | |
| masak: yes, that the general rule. | 14:14 | ||
| masak | cognominal: nodnod. that makes very much sense, because the most meaning-carrying word gets to go first. | ||
| cognominal | more funny is the sexism, "un homme public" is a well-known man, "une femme publique" is a prostitute | 14:15 | |
| masak | all too common in languages. | ||
| moritz_ | we have that (most important first) in Perl 6 too | ||
| masak | a wizard is something cool. a witch is something bad. | ||
| moritz_ | that's why you can write statement-modifying 'if', 'for', 'while' | ||
|
14:16
astrojp joined
|
|||
| moritz_ | masak: witch isn't negative to me, but that might be because I read all 7 Harry Potter books :-) | 14:16 | |
| where it's used neturally | |||
| masak | moritz_: right. but look at children's stories in general. | ||
| moritz_: I'm sure I could think up more pairs than witch/wizard, too. | 14:17 | ||
| moritz_ | yes, sure | ||
| PerlJam | I don't think I've heard tell of a "nice witch" or a "kind witch" or a "beautiful witch" (Except in Oz) | ||
| usually they are evil and/or ugly | |||
| colomon | PerlJam: Think of Oz. Two bad witches, two nice witches. | 14:18 | |
| PerlJam | as I said, except in Oz | ||
| colomon | ah, yes. :) | ||
| Oz and Harry Potter. | |||
| PerlJam | Aesop certainly had a very negative view of witches | 14:19 | |
| And the brothers Grimm as well (but they seemed to be very negative towards everybody) | |||
| moritz_ | I guess 'sorceress' isn't exactly very positive either :-) | 14:20 | |
| colomon | in my head, if I strip away modern stuff, wizard is pretty dodgy as well. | ||
| maybe not always out and out evil, but dark and mysterious and arrogant. | 14:21 | ||
| moritz_ | colomon: I guess you count Tolkien as "modern"? | ||
| colomon | moritz_: he certainly is next to Aesop and Grimm. | ||
| moritz_ | because Gandalf is one of the most likeable characters in LOTR and Little Hobbit, IMHO | 14:23 | |
| colomon | and even in Tolkien, dark and mysterious and arrogant fits Saruman to a T, and really isn't that far from Gandalf. | ||
| we just see Gandalf's lighter side, too. | 14:24 | ||
| moritz_ | he has one :-) | ||
|
14:28
elmex_ joined
|
|||
| masak is looking forward to the adaptation of The Hobbit | 14:29 | ||
| too bad the canceled "Ender's Game", though. :/ | 14:30 | ||
| colomon is actually pretty happy with the existing adaptation of The Hobbit. | |||
| PerlJam | I was looking forward to a proper treatment of LotR, but was disappointed that a good chunk of Return of the King was left out :( | 14:31 | |
| masak | colomon: hm, haven't seen that one. | ||
| PerlJam | colomon: are you talking about the animated ones? | 14:32 | |
| moritz_ | PerlJam: I was especially disappointed that the return to the shire was so different from the book | ||
| colomon | masak: It might not have the same effect on people who weren't 9 when they saw it the first time. :) | ||
| PerlJam | moritz_: indeed | ||
| colomon | PerlJam: yes | ||
| moritz_ | OTOH it was way too long for a single movie anyway :-) | ||
| PerlJam: I found that the LOTR movies are good if you treat them as disconnected from the book | 14:33 | ||
| PerlJam | moritz_: yes, I suppose that's true. | ||
| But I've read the books so many times, I *know* the story and the movies aren't quite it | |||
| colomon | I'm guess I'm something of a heretic -- IMO the movies strip away a lot of cruft from the books. They're definitely not perfect, but at this point I'd be more inclined to rewatch the movies than to reread the books. | 14:34 | |
| PerlJam | I can understand leaving out things like their encounter with Tom Bombadil but other things are less forgiving. | ||
| moritz_ | PerlJam: I think Tom Bombadil is not essential for the story, but still essential for the spirit of the book | 14:35 | |
| PerlJam | s/forgiving/forgivable/ | ||
| colomon | (Though I fear I won't react so well to the new Hobbit movie... that book is much tighter.) | ||
|
14:37
athaba joined
|
|||
| colomon would be vastly more likely to reread some Stevermer or Wolfe anyway... | 14:38 | ||
|
14:39
synth joined
14:42
elmex left
14:44
KyleHa joined
14:48
pmurias joined
|
|||
| pmurias | ruoso: hi | 14:49 | |
| ruoso | hi pmurias | 14:50 | |
| pmurias | 7 mildew tests are remaining for mildew-js :) | 14:51 | |
| ruoso envy pmurias, because he can actually code... | |||
| pmurias | ruoso: still doing the budget planning? | ||
| ruoso | now planning the details on the budget execution | 14:52 | |
| masak | .oO( budget executioner ) |
14:53 | |
| moritz_ | .oO( execution executioner ) |
14:55 | |
| pmurias | ruoso: i think having a .handled on exceptions is incorrect as the spec seems to imply that the exceptions are rethrown at the end of the block if you don't exit the block with a when | 14:57 | |
|
14:58
athaba joined
15:00
pmurias joined
15:01
perlygatekeeper joined
15:08
ejs joined
|
|||
| ruoso | pmurias, the concept of halded exceptions exist anyway | 15:09 | |
| s/halded/handled/ | |||
| even if that is not the definition for the rethrow | 15:10 | ||
| because that applies to $! | |||
|
15:10
Psyche^ joined
15:12
PacoLinux joined
|
|||
| ruoso lunch & | 15:12 | ||
|
15:13
payload joined
|
|||
| pmichaud | jnthn: ping | 15:20 | |
| KyleHa | moritz_: How about we rename $impl in t/harness in ng to 'ng' and then fudge stuff in the suite for it so we can run more files sooner? When ng is about ready to go master, we switch $impl back to 'rakudo' and take out the fudge. Eh? | ||
| jnthn | pmichaud: pong | 15:22 | |
| KyleHa | colomon: I don't think you need done_testing; if your plan has an explicit number (I'm looking at range-basic.t). | ||
| pmichaud | interesting conversation in #parrot last night about compilation performance; thread starts at irclog.perlgeek.de/parrot/2009-11-20#i_1751189 | ||
| colomon | KyleHa: You're probably right. :) | ||
| pmichaud | takeaway: mark and sweep is killing us | ||
| KyleHa | colomon: Also, I think the best way to test the result of .perl is to eval() it since there might be multiple legitimate (but not string eq) ways to represent what's getting serialized. | 15:23 | |
| colomon: And thanks for range-basic.t ! 8-) | 15:24 | ||
| colomon | KyleHa: Agreed, but that relies on eval actually working. And it doesn't. | ||
| pmichaud | I should have eval shortly. | ||
| as in, today. | |||
| [particle] | KyleHa: i would call it rakudo-ng to be more descriptive to the casual observer | ||
| KyleHa | pmichaud++ # eval! | ||
| [particle]: Good idea. | |||
| colomon | pmichaud++ #indeed! | ||
| jnthn | pmichaud: That's more than I'd have expected. | 15:25 | |
| profiling++ | |||
| pmichaud | well, let's think about it this way | ||
|
15:25
cognominal joined
|
|||
| pmichaud | when compiling (nqp) Actions.pm, we end up creating 23,994 Capture objects | 15:26 | |
| that sounds about rightish to me, given that every parse, PAST, and POST node is a Capture object | |||
| masak | o.O | ||
| pmichaud | (they're trees, after all) | ||
| furthermore, they're long lived | |||
| so, as our source programs get bigger, we end up (repeatedly) mark+sweep on that entire tree | 15:27 | ||
| KyleHa | How often does Parrot collect garbage? | 15:28 | |
| jnthn | Yes, thus the need for a more generational scheme. | ||
| pmichaud | in that particular run, there were 92 gc runs | 15:29 | |
| resulting in 500,000 marks of Capture objects | |||
|
15:29
rfordinal joined
|
|||
| masak | o.O | 15:30 | |
| jnthn | Given that so far, two GSOC projects iirc have tried to improve GC and not ended up getting merged back (granted, the code likely got a bunch cleaner), I'm not optimistic of that changing too soon... :-/ | ||
| masak | that sounds computationally intensive. half a million marks. | ||
| pmichaud | that's half a million marks for 24,000 PMCs | 15:31 | |
| so each one of those PMCs ended up being marked (on average) about 20 times | |||
| jnthn | That's seriously painful. | ||
| pmichaud | note that by way of comparison, close to 3.5 million PMCs were created for PCC | ||
| jnthn | Well yes. | 15:32 | |
| pmichaud | but they resulted in far fewer gc marks | ||
| jnthn | Right, 'cus they die very young. | ||
| pmichaud | exactly | ||
| jnthn | Almost alwys. | ||
| pmichaud | 1.8 million Context and CallSig PMCs resulted in only 30,000 marks. | ||
| jnthn | They're probably for the most part found unreachable and so we need not mark them. | 15:33 | |
| Juerd | Hmm, 3.5 cookies :) | ||
| +million | |||
| jnthn | .oO( 3.5 million stroopwaffels ) |
||
| Juerd | s/ff/f/ | ||
| pmichaud | jnthn: yeah. So, we were concerned about contexts-as-pmcs increasing GC pressure.... but that tends to not happen much | 15:34 | |
| jnthn | Well, yes and no. | ||
| pmichaud | relatively speaking it doesn't happen much, because what matters is not how many context pmcs get created, but how many are live when gc runs occur | ||
| jnthn | We still pay an allocation/collection cost. | ||
|
15:34
alester joined
|
|||
| pmichaud | well, we were getting allocation/collection cost even when they weren't PMCs | 15:34 | |
| jnthn | But they don't stay around and need marking. | ||
| Yes, true. | |||
| pmichaud | (maybe not as much, but we did have to allocate/collect contexts) | 15:35 | |
| anyway, I'm wondering if we could use this information to get another parrot hackathon to fix gc :) | |||
| similar to the way we got people working on pccupdate | |||
| jnthn | :-S | ||
| Dunno. It's non-trivial to design and implement and debug. | 15:36 | ||
| pmichaud | true, but whiteknight already has a good start on it | ||
| and pcc was also non-trivial to design and implement and debug | |||
| anyway, I think I may post these numbers to parrot-dev and see how people respond | 15:37 | ||
| jnthn | Yes, it's worth making the bottleneck more widely known. | ||
|
15:40
explorer joined
|
|||
| pugs_svn | r29147 | masak++ | [spec/S04-declarations/constant.t] unbroke singly-quoted string w/ apostrophe | 15:42 | |
| [particle] | does it make rakudo unacceptably slow? | 15:43 | |
| or, noticibly slower than expected? | |||
| pmichaud | it makes compiling slow | ||
| the benchmark was a straight compile, no execution | 15:44 | ||
| [particle] | well, sure, but that's what the benchmark is... | ||
| dalek | kudo: 6bf0179 | masak++ | src/setting/Any-list.pm: [Any-list.pm] removed Int constraint on $num in .pick |
||
| [particle] | ooc, is compiling rakudo-ng today slower than compiling rakudo two or three months ago? | 15:45 | |
| pmurias | rakudo: my @foo;say @foo.push(7); | ||
| p6eval | rakudo 7347ec: 7 | ||
| pmurias | rakudo: my @foo;say @foo.push(7,4); | ||
| p6eval | rakudo 7347ec: 74 | ||
| [particle] | i'm wondering what slow compilation is benchmarked against. | ||
| [particle] runs off to a meeting & | 15:46 | ||
| pmurias | the return value of Array.push is not specced | ||
| pmichaud | [particle]: (slow compilation) -- the fact that we end up compiling around only 50 lines of source code per second? | 15:47 | |
| KyleHa | I wonder how that compares to compilers that took their input from punched cards. | 15:51 | |
| masak | :) | 15:52 | |
| KyleHa: it's kinda tragic when that comparison even comes to mind. | |||
| pugs_svn | r29148 | lwall++ | [S03] fix fossil found by edwin.steiner++ | 15:53 | |
| r29148 | nail down that constants are still constants | |||
| KyleHa | I remember my dad telling me that an important innovation during his college years was that you could hand your box of punched cards to the tech in the computer room and then GET THEM BACK a few minutes later instead of having to wait until the job had run. | ||
| (They copied them and gave them back. | 15:54 | ||
| TimToady | pmurias: "Add to the end of C<@array>, all of the subsequent arguments and returns the modified array." S32-Containers | 15:55 | |
| pmurias | TimToady: thanks, not sure how i missed that | 16:02 | |
| zaslon | lolmasakhazblogged! masak++ 'November 20 2009 -- big battles, small commits': use.perl.org/~masak/journal/39922?from=rss | 16:04 | |
| masak | std: Container | 16:06 | |
| pugs_svn | r29149 | lwall++ | [S32/Containers] minor typos | ||
| p6eval | std 29147: Undeclared name: 'Container' used at line 1ok 00:01 107m | ||
| masak | TimToady: 'Container' is in S32 but not in STD. | ||
| TimToady | feel free to add it to CORE.setting :) | 16:07 | |
| masak | not remove it from S32/Containers? :) | ||
| TimToady | either is fine by me until I get my coffee... | ||
| okay, got my coffee, and it doesn't help...guess I'll have to drink some of it | 16:10 | ||
| allbery_b | IV? | ||
| TimToady | they took out my PIC line when I left the hospital, alas | 16:11 | |
| masak | allbery_b: problem is, after going IV there's really no level above that. you've kind of run out of boosters. | 16:12 | |
| allbery_b | high-saturation caffeine ringers drip | 16:13 | |
| TimToady | I asked for the genetic mod to manufacture my own caffeine, but they said I was a poor risk, since my head might explode. | 16:14 | |
| masak | I can only concur in that assessment. | 16:16 | |
| about the risk, I mean. | |||
| furthermore, I don't think anyone here at #perl6 would want TimToady to run headless. | |||
| pugs_svn | r29150 | lwall++ | [S03] typo | 16:19 | |
| r29151 | lwall++ | [S32/Containers] typo | 16:21 | ||
| TimToady | obviously I shouldn't type either in the evening or in the morning | 16:22 | |
| rakudo: say Container.WHAT | 16:23 | ||
| p6eval | rakudo 7347ec: Could not find non-existent sub Containerin Main (file src/gen_setting.pm, line 324) | ||
| TimToady | hmm, can anyone envision a use for the Container role? | ||
| what methods does it have? | |||
| masak | TimToady: its primary purpose seems to be to tie together List and Hash. | 16:24 | |
| which in itself is kinda dis-levelly. | 16:25 | ||
| List and Associative I'd understand, or Array and Hash. | |||
| erm. | |||
| List and Map. | |||
| TimToady | maybe I will add it to CORE.setting when someone writes a test that uses it. :) | 16:26 | |
| (a test that tests its functionality, not its existence) | 16:27 | ||
| ((if it has any functionality)) | |||
| masak | I think it's bogus. | ||
| jnthn | FETCH and STORE? | ||
|
16:29
ejs joined
|
|||
| TimToady | mebbe, have to think about it when my thinker is thinkier. | 16:29 | |
| jnthn | :-) | ||
| TimToady | ng: say Container.WHAT | 16:30 | |
| p6eval | ng c8de8d: Could not find non-existent sub &Containercurrent instr.: '_block14' pc 29 (EVAL_1:0) | ||
| TimToady | then there's that datapoint... | ||
| jnthn | Well, yeah. | ||
| We don't have a Container role | |||
| We do have FETCH and STORE methods on all our containers, iirc. | |||
| TimToady | but with differing signatures, I'll wager | 16:31 | |
| jnthn | mebbe, pmichaud can probably answe that right off since he wrote them. :-) | ||
| TimToady | meaning you can't write generic Container code in any case | ||
| jnthn | In that case, yes, the container role is less useful. | 16:32 | |
| TimToady | unless someone wants ~~ Container for some reason that I can't fathom at this depth | ||
| early in the morning my right brain loves to free associate while my left brain isn't looking | 16:33 | ||
| masak | :) | ||
| TimToady.rightBrain ~~ Associative | 16:34 | ||
| o/ | |||
| jnthn | masak: I needz beer1 | ||
| oh yay...we can go to the bar! \\o/ | |||
| o/ | |||
| TimToady | too early!!! | 16:35 | |
|
16:36
explorer__ joined
|
|||
| TimToady | hmm, both "bridge building efforts"; we may have two bridges for sale, if they don't meet in the middle :) | 16:47 | |
|
16:50
lambdabot joined
16:52
payload joined
17:18
rfordinal joined
|
|||
| diakopter | re "Ender's Game" film canceled - I suspect that tricking a child into effecting genocide/obliteration of an entire planet is a notion that, when portrayed on the big screen, would stir up too-strong emotions... so it's a very risky project. | 17:20 | |
| even if the alternative was destruction of humanity... | 17:21 | ||
| colomon | isn't that already the plot of the Last Starfighter? ;) | 17:22 | |
| TimToady | Without knowing a thing about it, I suspect Scott Card of putting the kabosh on it for getting out of hand | ||
| I doubt he would have signed over all his editorial rights. | 17:23 | ||
| diakopter | ... I'm sure that's true.. producers wanted to tame/alter the psychology | 17:24 | |
| I'm guessing. | |||
| TimToady | are you always sure something is true when you're guessing? :P | ||
| diakopter | 'that' referred to what you said... "I'm guessing" referred to "producers..." | 17:25 | |
| but, to answer your question, unfortunately, yes | 17:26 | ||
| pugs_svn | r29152 | lwall++ | [fudge] allow a name like rakudo-ng | ||
| diakopter | it could've been rakudong | ||
| TimToady | rofl | ||
| diakopter | I can't find the referent of "bridge building efforts" | 17:27 | |
| alester | diakopter: Oh good, ruin the book for me. | 17:28 | |
| TimToady | diakopter: irclog.perlgeek.de/perl6/2009-11-20#i_1751739 | 17:29 | |
| then follow the linked link | 17:30 | ||
|
17:30
qp_pq joined
|
|||
| qp_pq | hi and sorry to bother you | 17:31 | |
| moritz_: my salutations | |||
| moritz_: I very much appreciate you for taking the initiative to write a book | |||
| I think the effort is very well spent | |||
|
17:31
rfordinal left
|
|||
| diakopter | alester: :( I'm sorry. it's an excellent book, even after the first time. | 17:32 | |
| qp_pq | but I do have an OBJECTION | ||
| diakopter | qp_pq: objection overruled | 17:33 | |
| (kidding) - what is it? | |||
| qp_pq | since the syntax of p6 hasn't yet come to a stable form(prove me wrong?) try to keep the code in teh book pseudo-code for now...or you can just link to it outside the book... | ||
| like, a book is very good to make the language known and such... | |||
| but if the language is not finished | |||
| can you expect someone coming(who doesn't know what to expect) | |||
| he comes and writes a few lines of Perl6 seems something is broken | 17:34 | ||
| (very likely I presume) | |||
| he will get the bad idea | |||
| diakopter | qp_pq: that's a good idea (each code example has a tinyurl to its updated form online), but the current version should still be printed | ||
| qp_pq | so first finish the language, then you can publish a big book on it and everyone will be happy | ||
| (including me) | |||
| Tene | ew ew tinyurl | ||
| diakopter | at least some id. | ||
| Tene | and what happens when tinyurl dies? or if they expire old links? | 17:35 | |
| diakopter | I don't mean _the_ tinyurl | ||
| I mean the book's site | |||
| or github. or whatever. | 17:36 | ||
| a smallish url[-portion] | |||
| Tene | qp_pq: Are you saying that nobody should do any work on a book until the language is "finished"? | ||
| qp_pq: also, what language do you know that is "finished" and allows no additional changes? | 17:37 | ||
| TimToady | if you print out a book for an alpha-ish chunk of code, it should warn you at the front, and that should be sufficient warning for an attentive reader | ||
|
17:38
rgrau joined
|
|||
| TimToady | but part of the bootstrap of Perl 6 is to get people to start using preliminary implementations to flush out the problems | 17:38 | |
| Tene | qp_pq: The book is likely going to discuss Perl 6 as it is when Rakudo Star is released, is my understanding. The majority of the language implemented so far hasn't changed much, and the changes aren't made for no reason... they're in response to real problems people are encountering. | ||
| TimToady | we'll probably go into a design "slush" when rakudo * comes out so that we can converge on a solution for 6.0.0 | 17:40 | |
| we'll still tweak things after that, but we'll start marking more issues for "post 6.0.0" | 17:41 | ||
| PerlJam | convergence++ | ||
| diakopter | like a slushee machine, but with lava instead of ice | ||
| TimToady | right now we're still trying not to fall into the trap of "we already have 11 users, so we can't change anything" | ||
| Tene | diakopter++ | ||
| alester | But once we hit 14 users, we're etching it all in stone! | 17:42 | |
| diakopter | TimToady: but that's 11 in base-999999999 | ||
| pugs_svn | r29153 | lwall++ | [S03] add infix:<else> to match infix:<also>, suggested by TheDamian++ | 17:43 | |
|
17:52
stephenlb joined
|
|||
| quietfanatic | masak: the reason for both the event sub and the Event::Type declaration is that I expect module authors to define and call the types and users of their module to write the handlers. | 17:53 | |
| Wait he's not here! | 17:54 | ||
| phenny: tell masak The reason for having both the event sub and the Event::Type declaration is that I expect module authors to define and call the types, and users of their module to write the handlers. | 17:55 | ||
| phenny | quietfanatic: I'll pass that on when masak is around. | ||
| quietfanatic | phenny: tell masak Also the Event::Types will have many more options in the future that control just how handlers are dealt with. | 17:56 | |
| phenny | quietfanatic: I'll pass that on when masak is around. | ||
| pugs_svn | r29154 | lwall++ | [STD] implement infix:<else> to see if it causes any problems | ||
| diakopter | what's infix:<else> | 18:01 | |
| TimToady | opposite of infix:<also> | ||
| short-circuit junctional | |||
| quietfanatic | Does that make "A if B else C" work as expected? | 18:02 | |
| TimToady | depends on what's expected | 18:03 | |
| diakopter | is "A if B else C" the same as B ?? A !! C | ||
| [particle] | A if B | C | ||
|
18:04
cdarroch joined
|
|||
| diakopter | o | 18:04 | |
| [particle] | i'm sure it'll cause synaptic dissonance | ||
| TimToady | well, we could also s/also/then/ :) | 18:05 | |
| [particle] | oy. | ||
| save the headaches for monday, will you please? | |||
| TimToady | 'mkay | 18:06 | |
| diakopter | 'during' might be more time-appropriate for junction & than 'then' | ||
| TimToady | I don't see how that works at all | 18:07 | |
| implies short-circuit the other direction to me | |||
| [particle] | meetoo | ||
| quietfanatic | like 'while' | ||
| diakopter | I must not comprehend "short-circuit junctional" | ||
| TimToady | well, here's another play, if we want both &/| and &&/|| semantics, it's &&&/||| | 18:08 | |
| sorta like anding 1 and 2 :) | |||
| er, oring | |||
| or, erring | |||
.oO(I have an O-ring for an earring) |
18:09 | ||
| [particle] oohs and adds | |||
|
18:09
chromatic joined
|
|||
| [particle] | sigh, dvorakian slip | 18:09 | |
| TimToady | doohdadds | ||
| and then A ??? B !!! C would obviously be junctional too | 18:12 | ||
|
18:14
ProperNoun joined
|
|||
| quietfanatic | Let's not claim every possible combination of ascii characters as operators. | 18:14 | |
| diakopter missed the boat on the wrong side of the bed this morning | |||
| TimToady | I'm with you lock, stock, and sinker... er, hook, line, and barrel.... | 18:17 | |
| the whole nine yards for small values of 9 | 18:18 | ||
| TimToady thinks he is funny, and is occasionally correct, but not the way he imagines... | 18:19 | ||
|
18:19
astrojp_ joined
|
|||
| diakopter | who's on zeroeth | 18:20 | |
|
18:21
eiro_ joined
|
|||
| TimToady | I don't know doesn't know | 18:21 | |
| and the manager has sent me to the showers... & | |||
|
18:24
jan___ joined
18:30
Su-Shee_ joined
18:33
KyleHa joined
|
|||
| KyleHa | TimToady++ # [fudge] allow a name like rakudo-ng | 18:39 | |
|
18:51
payload joined
|
|||
| TimToady | wow, the shower really helped, and I know what to do with short-circuit junctions now. | 19:05 | |
| perigrin | shower them? | ||
| they probably won't short after they're clean and dry | 19:06 | ||
|
19:16
FullMetalHarlot joined
|
|||
| TimToady | to make a long story short-circuited, there's going to be an S metaoperator that suppress | 19:19 | |
| suppresses any out-of-order execution | |||
| either explicit, with junctions or hypers | |||
| or implicit because the optimizer thought it could get away with it | |||
| KyleHa | Nice. | ||
| TimToady | S for sequential/serial/synchronous/short-circuit | 19:20 | |
| and with relationship to sink/sync | |||
| not to mention single-threaded | |||
| pmurias | TimToady: what's the point of suppresing out-of-order execution made by the optimizer? | 19:23 | |
| TimToady | if you know that the optimizer is going to make a suboptimal decision in the larger scheme of things, like using up a bunch of threads to do something fast that is not going to be used soon. | 19:26 | |
| things the optimizer can't know | |||
| but it also gives us S& and S| for free, not to mention S^ and S«op» | 19:27 | ||
| the optimizer can't know how safe some evalutions are, because figuring that out might be a halting-ish problem | |||
| so S is also for "safe" | 19:28 | ||
| KyleHa | S for slow? | ||
| TimToady | that too :) | 19:29 | |
| diakopter | but how do you distinguish halting-ish problems from halting problems? | 19:35 | |
| chromatic | Check the exit status. | 19:36 | |
| [particle] | S for suboptimal! | 19:37 | |
| TimToady | diakopter: obviously, you check their isomorphic status bits | ||
| diakopter | :( it keeps hanging on that check. | 19:39 | |
| TimToady | you forgot to mark the variables as volatile!!! | 19:55 | |
| takadonet | ahh volatile | 20:06 | |
| TimToady | explosive variables make it really easy to determine when it will halt. It will halt NOW! | 20:09 | |
| pugs_svn | r29155 | lwall++ | [S03] destroy two low-powered, obscure, short-circuiting operators | 20:13 | |
| r29155 | in favor of one high-powered, obscure-but-transparent, S metaoperator | |||
| r29156 | kyle++ | [t/spec] Test for RT 70664: Try <=> with rationals | 20:16 | ||
| dalek | p-rx: b387ccf | pmichaud++ | (2 files): Allow bareword GLOBAL:: package identifier. |
20:17 | |
| p-rx: 2443dcc | pmichaud++ | src/stage0/ (3 files): Update bootstraps. |
|||
| qp_pq | Tene: latin | ||
| TimToady: the people that will be using it will all be testers... an average Perl6 user might require a good baggage of Perl5 and some serious functional programming experience... | 20:19 | ||
| pugs_svn | r29157 | lwall++ | [S03] tweaks, add conjectural RSR case | ||
| qp_pq | Tene: yes, but about 3 books on Perl6 have already been rendered obsolete so far... | 20:20 | |
| TimToady | and all of them have said, "This is all subject to change". or should have... | 20:21 | |
|
20:23
cognominal joined
|
|||
| TimToady | the optimal strategy for coming up with a 100-year language does not involve freezing designs that will come back to haunt us later. | 20:23 | |
| the process must be convergent, but forcing convergence to rapidly is as suboptimal longterm as forcing it too slowly. | 20:24 | ||
| *too | |||
| japhb | TimToady, What exactly does 'fiddly' mean in the context of infix operators? | 20:29 | |
|
20:30
Exodist joined
|
|||
| TimToady | it is precisely those operators to show up marked as "fiddly" when the metaoperator decides whether to allow it or not. | 20:39 | |
| pugs_svn | r29158 | kyle++ | [t/spec] more rational relational tests | ||
| TimToady | most fiddly markings come straight from the precedence table | ||
| but an operator can declare itself to be fiddly or non-fiddly as well | |||
|
20:40
astrojp_ left
20:41
astrojp joined
|
|||
| TimToady | mostly, it means, "has strange side-effects" such as control flow or modifying its arguments | 20:41 | |
| in a similar vein, the % operator declares itself to be 'iffy' so that !% works | 20:42 | ||
| qp_pq | can a language like Perl6 have a person saying | 20:44 | |
| "hey, let's get a f*cking plan together and finish this thing ?" | |||
| or is this too hostile ? | |||
| why doesn't this happen ? does someone always come up with a new idea | |||
| TimToady | eh, people do that all the time, only politely | ||
| qp_pq | and then effort is dispersed in that direction ? | ||
| TimToady | when you say "why can't we all go this direction", I immediately get a picture of the respected doctor in the original Posaidon Adventure | 20:46 | |
| who confidently led a large group of people to the bow of the ship, where they all died. :) | |||
| *Poseidon | 20:47 | ||
| so I always listen very hard to the little boys who think the emperor has no clothes, because sometimes they're right. | 20:50 | ||
| KyleHa | Let's all go this direction: www.code-muse.com/blog/wp-content/u...021001.jpg | 20:51 | |
| TimToady | if that gives the appearance of herding cats, then so be it | ||
| qp_pq | TimToady: just watched the trailer to poseidon adventur | ||
| TimToady | cats is all we've got | ||
| qp_pq | TimToady: funny as hell www.youtube.com/watch?v=dd03qev59Jo | ||
| TimToady: thanks for a good laugh | |||
| sjohnson | qp_pq: the new one or old one? | 20:52 | |
| TimToady | dunno if the new one matches the old one in plat though, never saw the new one | ||
| QtPlaty[HireMe] | TimToady: Sometimes the little boys who say the emperor has no cloaths are boys who cry wolf. To compleatly mangle a metaphore. | ||
| TimToady | *plot | ||
| qp_pq | sjohnson: I only saw one trailer(the '70s one) | ||
| sjohnson | new one is technologically "newer", ie, cell phones, portable game systems that kids use, etc | ||
| and the tables aren't nailed to the floor as in the old one | |||
| except for the piano | 20:53 | ||
| my uncle when he was a child was given the novel, and he misread it as "the positron adventure". he was probably a bit disappointed when he started reading the book | |||
| TimToady | wow, Blue Angels-ish critters flying overhead | ||
| it's one of those films I classify as heavily existentialist, along with One Flew Over the Cuckoo's Nest | 20:54 | ||
| qp_pq | TimToady: I saw 2012 | 20:55 | |
| TimToady: and today 30 days of night | |||
| they were both incredible crap | |||
| KyleHa | Is 2012 a sequel to 2010? | 20:56 | |
| TimToady | yeah, well, I saw Star Wars when it was just *one* movie, and it was pretty okay. :) | ||
| pity GL learned the wrong lessons at several points | 20:57 | ||
| perigrin | Star Wars before it had a subtitle. | 21:00 | |
|
21:01
takadonet left
21:03
IllvilJa joined
|
|||
| sjohnson | anyone here like Donnie Darko? | 21:05 | |
| qp_pq | me | ||
| it was a very confusated movie | |||
|
21:06
justatheory joined
|
|||
| qp_pq | I can honestly say I did not understand anything after watching it | 21:06 | |
| but it was interesting to watch | |||
| sjohnson | one reason why i enjoyed it so much | ||
| pmurias | qp_pq: freezing the spec would speed up implementing Perl 6 | 21:09 | |
| * wouldn't | |||
| TimToady | you see--we're all conflicted about it :) | 21:10 | |
| KyleHa | std: sub foo($opt?, $req) { say "1 $opt, 2, $req" } | 21:11 | |
| p6eval | std 29158: [31m===[0mSORRY![31m===[0mCan't put required parameter after optional parameters at /tmp/uOpdCBaIqM line 1:------> [32msub foo($opt?, $req[33m⏏[31m) { say "1 $opt, 2, $req" }[0m expecting any of: constraint parameter trait whitespaceFAILED 00:01 109m | ||
| pugs_svn | r29159 | lwall++ | [STD] add S metaoperator, delete also/else | 21:14 | |
| diakopter | std: say 3 [S+] 4 | ||
| p6eval | std 29158: [31m===[0mSORRY![31m===[0mTwo terms in a row at /tmp/c7s8Vbc32u line 1:------> [32msay 3 [[33m⏏[31mS+] 4[0m expecting any of: infix or meta-infix infix stopper standard stopper terminatorFAILED 00:01 106m | ||
| pmurias | TimToady: why do we allow the optimiser choice in marking a routine as hard or soft? won't it lead to portability problems? | 21:15 | |
| pugs_svn | r29160 | lwall++ | [also.t] rewrite to S&, too lazy to rename file | 21:16 | |
| pmurias | with code that uses a routine as a soft one without declaring that breaking using a different (version/configuration) of the optimiser | ||
| pugs_svn | r29161 | kyle++ | [t/spec] Test for RT 66822: required param after optional param | 21:17 | |
| TimToady | pmurias: I don't know what you mean by hard/soft | ||
| [particle] | hrmm, i wonder how often i'll use the Sand operator | 21:18 | |
| diakopter | Surely more often than you'll use Sbut | 21:19 | |
| pmurias | TimToady: hard - unwrappable | ||
| TimToady: hard - HardRoutine, soft - SoftRoutine | 21:20 | ||
| [particle] | i wonder if we'll talk about operations being Sandy or Sorry | ||
| (S metaop)++ | 21:22 | ||
| TimToady | pmurias: it is necessary to give optimizers some room to cheat, or they can never optimize anything, and you either end up with an unoptimizable language, or a B&D language | 21:23 | |
| we're looking for a happy medium | 21:24 | ||
| because neither extreme is happy. | |||
| diakopter | std: say 3 [S+] 4 | 21:25 | |
| p6eval | std 29161: ok 00:01 106m | ||
| TimToady | when it comes to optimizers, Don't Care is as important as Yes and No. | 21:26 | |
| it's yet another way of writing generic code | |||
| diakopter | std: say 3 [SRSRSRSRSRSRSRSRSR+] 4 | 21:27 | |
| p6eval | std 29161: ok 00:01 106m | ||
| [particle] | S+ is what R is based on. | ||
|
21:27
zamolxes joined
|
|||
| [particle] | but that's a horse of a different color. | 21:27 | |
|
21:36
payload joined
|
|||
| diakopter | std: [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[Sand]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]] 4,5,6,7,8 | 21:41 | |
| p6eval | std 29161: ok 00:01 111m | ||
| diakopter | std: *&!*%$$*_!=$_&&$_ | 21:47 | |
| p6eval | std 29161: ok 00:01 110m | ||
| diakopter | rakudo: my $$a = 5; say $$a; | 21:48 | |
| p6eval | rakudo 7347ec: 5 | ||
| diakopter | rakudo: my $$$$$a = 5; say $$$$$a; | 21:49 | |
| p6eval | rakudo 7347ec: 5 | ||
| diakopter | O_O | ||
| someone, help? | 21:51 | ||
|
21:51
hcchien joined
21:52
Su-Shee left
|
|||
| sjohnson | sdssswqrakudo: my $$$$$a = 5; say $$$$a; | 22:06 | |
| rakudo: my $$$$$a = 5; say $$$$a; | |||
| p6eval | rakudo 7347ec: Symbol '$$$$a' not predeclared in <anonymous> (/tmp/cpfJw6xJdz:2)in Main (file <unknown>, line <unknown>) | ||
| sjohnson | curiosity killed the compiler | 22:08 | |
|
22:10
meppl joined
22:11
astrojp left
22:30
quietfanatic joined
|
|||
| diakopter | quietfanatic: help | 22:30 | |
| rakudo: my $$$$$a = 5; say $$$$$a; | |||
| p6eval | rakudo 7347ec: 5 | 22:31 | |
| quietfanatic | what's up diakopter? | ||
| I'm not terribly surprised | |||
| diakopter | std doesn't complain | ||
| ng: my $$$$$a = 5; say $$$$$a; | |||
| p6eval | ng c8de8d: Malformed my at line 1, near "$$$$$a = 5"current instr.: 'perl6;HLL;Grammar;panic' pc 448 (src/stage0/HLL-s0.pir:300) | ||
| diakopter | oh | ||
| 'tis good | 22:32 | ||
| quietfanatic | Apparently variable names can have as many sigils as they want :| | ||
| diakopter | fixed in ng I guess | ||
| quietfanatic | At least currently | ||
|
22:48
zaphar_ps joined
22:59
perigrin_ joined
23:08
TiMBuS joined
23:16
solarion joined
23:34
payload joined
23:40
payload joined
23:48
zamolxes joined
23:50
bluescreen joined
|
|||