»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
Set by moritz on 22 December 2015.
00:14 travis-ci joined
travis-ci Doc build errored. Jan-Olof Hendig 'Added some missing types 00:14
travis-ci.org/perl6/doc/builds/246665665 github.com/perl6/doc/compare/0ba54...41ed3db751
00:14 travis-ci left 00:27 cdg joined 00:42 jamesaxl left 00:43 Cabanossi left 00:44 danlei` joined 00:45 Cabanossi joined 00:46 danlei left 00:54 zacts left 00:59 zacts joined 01:02 lichtkind left 01:03 zacts left 01:11 bwisti left 01:12 zacts joined 01:14 aborazmeh joined, aborazmeh left, aborazmeh joined 01:27 troys_ is now known as troys 01:34 cpage left 01:36 zacts left 01:40 aborazmeh left 01:46 ilbot3 left 01:48 ilbot3 joined, ChanServ sets mode: +v ilbot3 02:00 MasterDuke left 02:02 bwisti joined 02:06 cpage joined 02:20 gabc joined 02:21 noganex joined 02:24 noganex_ left, cdg left 02:30 Cabanossi left, Cabanossi joined 02:32 aborazmeh joined, aborazmeh left, aborazmeh joined 02:49 aborazmeh left, danlei` left 02:59 Ben_Goldberg joined, BenGoldberg left, Ben_Goldberg is now known as BenGoldberg 03:11 Cabanossi left 03:13 Cabanossi joined 03:19 troys is now known as troys_ 03:41 aindilis left 04:25 Cabanossi left
samcv turns out there's a ligature in unicode which is three whole words 04:27
04:28 Cabanossi joined
samcv it must not fold on casefolding or i would have noticed this. but it has 18 collation keys. instead of the usual of 1 per codepoint 04:28
u: ARABIC LIGATURE SALLALLAHOU ALAYHE WASALLAM 04:29
unicodable6 samcv, U+FDFA ARABIC LIGATURE SALLALLAHOU ALAYHE WASALLAM [Lo] (ﷺ)
samcv looks like this i.imgur.com/rWbnskP.png
unidump: ARABIC LIGATURE SALLALLAHOU ALAYHE WASALLAM 04:30
unicodable6 samcv, gist.github.com/14c00aae9b37aa0c32...845fbe4a91
samcv ugh. that didn't work
unidump: ﷺ 04:31
unicodable6 samcv, gist.github.com/d9298ac65ac22d9962...c11b636bef
04:40 geekosaur left 04:42 geekosaur joined 04:47 khw left 04:57 Cabanossi left, troys_ is now known as troys 04:58 Cabanossi joined 05:00 troys left 05:11 BenGoldberg left 05:37 skids joined 05:41 Cabanossi left 05:42 pilne left 05:43 Cabanossi joined 05:47 skids left 05:52 xinming_ joined 05:55 xinming left 05:57 skids joined 06:06 rindolf joined 06:10 bwisti left 06:13 domidumont joined 06:17 domidumont left 06:18 domidumont joined 06:29 domidumont left 06:33 araujo left 06:41 Cabanossi left 06:43 Cabanossi joined 06:44 wamba joined 07:04 domidumont joined 07:16 domidumont left 07:20 domidumont joined 07:35 domidumont left 07:37 konsolebox left 07:44 konsolebox joined 07:57 parv joined 08:25 skids left 08:47 sjoshi joined 08:49 mr-foobar left, mr-foobar joined 08:50 sjoshi left, sjoshi joined 08:53 sjoshi left 08:54 domidumont joined 08:56 Cabanossi left 08:57 domidumont left, Cabanossi joined
TEttinger the sun is not doing samcv is doing 09:06
I wonder what that amazing ligature is used for
09:14 zapwai left 09:20 xinming_ is now known as xinming 09:33 parv left 09:46 mr-fooba_ joined 09:48 mr-foobar left 09:55 Cabanossi left 09:56 espadrine joined 09:58 Cabanossi joined 10:09 nhywyll joined
zengargoyle translate.google.com/#auto/en/SALL...20WASALLAM 10:22
"Peace be upon him" probably a set phrase. 10:23
geekosaur yes 10:24
10:27 Cabanossi left 10:28 Cabanossi joined
zengargoyle there are a few slightly similar things in the Japanese codepoints where there are 4 characters arranged in a 2x2 pattern as a single glyph. probably a holdover from the pre-unicode days and cellphones. 10:28
.u ㌖ 10:30
yoleaux U+3316 SQUARE KIROMEETORU [So] (㌖)
zengargoyle from U+3300 to U+3357 10:32
samcv hmm wonder if it makes sense for IO::Path.child to take multiple arguments?
$*CWD.child('foo', 'bar') would be ./foo/bar
something i thought of 10:33
10:39 domidumont joined 10:41 domidumont left 10:55 Rawriful joined 10:57 Cabanossi left 10:58 Cabanossi joined 11:35 nhywyll left, nhywyll joined 11:40 Cabanossi left 11:42 Cabanossi joined 11:57 ChoHag joined 12:03 abraxxa joined 12:07 abraxxa left, nhywyll left 12:13 awwaiid left 12:18 lollercopter joined
lollercopter . 12:18
yoleaux 12:15Z <dogbert17> lollercopter: hasn't IOninja's recent IO work made github.com/perl6/doc/issues/852 closable?
12:19 ufobat joined
lollercopter dogbert17: closed 12:19
samcv: not IMO. No other IO routines take their paths in arbitrary chunks like that, so adding this would be inconsistent. You can always use '/' as the separator, so it'd be $*CWD.child('foo/bar') or $*CWD.child: @parts.join: '/' and will just work and will be faster than adding a slurpy multi candidate. 12:21
12:21 lollercopter left 12:22 nhywyll joined
samcv so there's no way to use a / 12:22
*not
12:24 ufobat left 12:26 Cabanossi left 12:28 Cabanossi joined 12:30 kaare_ left 12:31 kaare_ joined 12:41 AlexDaniel left, AlexDaniel joined 12:44 nhywyll left
zengargoyle hrm... i thought 'rule { <F> | <F> <B> }' would do longest match. that didn't work but 'rule { <F> <B> | <F> }' did. 12:53
zengargoyle should probably be re-reading some docs... 12:54
12:54 nullcone left 13:00 AlexDaniel left 13:03 bwisti joined
timotimo only does longest match with the declarative prefix 13:05
so maybe you have something in F that stops the longest token from becoming any longer
zengargoyle hrm, <F> maches 'now' and <B> matches '+ 1 min'. they're pretty direct exact match of a specific string or digit. 13:17
timotimo strange, can you golf it?
13:19 domidumont joined
zengargoyle i'm not sure, it goes down a few levels from F and B. lemme see. 13:20
13:25 Cabanossi left
zengargoyle m: my grammar T { rule t { <S> | <S> <B> }; rule S { 'now' }; rule B { <C> | <D> }; rule C { '+' \d 'min' }; rule D { '-' \d 'min' }; }; say so T.parse("now",:rule<t>); say so T.parse("now + 1 min",:rule<t>); say so T.parse("+ 1 min",:rule<C>);say so T.parse("+ 1 min",:rule<B>); 13:26
camelia True
False
True
True
zengargoyle m: my grammar T { rule t { <S> <B> | <S> }; rule S { 'now' }; rule B { <C> | <D> }; rule C { '+' \d 'min' }; rule D { '-' \d 'min' }; }; say so T.parse("now",:rule<t>); say so T.parse("now + 1 min",:rule<t>); say so T.parse("+ 1 min",:rule<C>);say so T.parse("+ 1 min",:rule<B>); 13:27
camelia True
True
True
True
zengargoyle m: my grammar T { regex t { <S> | <S> <B> }; rule S { 'now' }; rule B { <C> | <D> }; rule C { '+' \d 'min' }; rule D { '-' \d 'min' }; }; say so T.parse("now",:rule<t>); say so T.parse("now + 1 min",:rule<t>); say so T.parse("+ 1 min",:rule<C>);say so T.parse("+ 1 min",:rule<B>);
camelia True
True
True
True
zengargoyle it works if backtracking or the longest match is given first.
13:28 Cabanossi joined
zengargoyle timotimo: what's 'declarative prefix'? 13:32
there's a TOP { ^^ <t> $$ } around that in reality. 13:34
timotimo the initial part of a regex that can be matched with a simple DFA
so no backreferences, or lookahead/lookbehind, no code blocks 13:35
jnthn rule { <F> | <F> <B> } # <.ws> is not declarative, so these two have identical declarative prefixes 13:37
zengargoyle so that S can match some pretty complicated things (it just doesn't in this case since one of the things it can match is 'now') does that negate longest matching?
ok, that makes some sense. will arranging the branches in longest to shortest help any? 13:39
i basically just tried to transcribe the .l file into tokens and the .y file into rules as straightforward as possible. 13:40
this is the unix `at` command's time specificaton format...
13:41 brrt joined
zengargoyle figures if lex/yacc can do it, Grammars can too one way or another. :) 13:43
13:51 nightfrog joined
timotimo jnthn: ah! i would have missed <.ws> there 13:52
zengargoyle: you can change your <ws> token to behave differently or use something other than "rule
zengargoyle cool, i have it parsing all of the strings from the minimal test program shipped with the `at` src. i think everything is simple enough to order by longest and use regex if needed. 13:59
14:06 pilne joined 14:10 andrzejku joined 14:19 kaare_ left 14:25 domidumont left
Geth doc: de113b3f16 | (Jan-Olof Hendig)++ | doc/Language/functions.pod6
Updated the text about multi-dispatch.

Closes #858
14:31
14:33 brrt left 14:39 ggoebel left 14:49 zakharyas joined
moritz lol I blogged: perlgeek.de/blog-en/perl-6/2017-01...-edge.html 14:49
14:51 ggoebel joined 14:55 Cabanossi left 14:57 Cabanossi joined 15:02 hythm left 15:21 travis-ci joined
travis-ci Doc build errored. Jan-Olof Hendig 'Updated the text about multi-dispatch. 15:21
travis-ci.org/perl6/doc/builds/246795462 github.com/perl6/doc/compare/f441e...113b3f16b7
15:21 travis-ci left
zengargoyle moritz: www.fileformat.info/info/unicode/ch...upport.htm 15:25
www.fileformat.info/info/unicode/ch...iew=entity -- search and follow clicky things. :) 15:28
15:31 nhywyll joined
zengargoyle unix.stackexchange.com/questions/1...-codepoint -- python script :P 15:34
gist.github.com/zengargoyle/2a565e...49556682c9 15:35
15:36 kaare_ joined, setty1 joined
lizmat moritz: s/wich I use/which I use/ 15:44
moritz: s/friends cam up/friends came up / 15:45
moritz: s/to avod collisions/to avoid collisions/
moritz++ :-) 15:46
15:57 khw joined 15:59 mr-foobar joined 16:01 mr-fooba_ left 16:02 nowan left, nhywyll left, nhywyll joined 16:04 nowan joined 16:05 cognominal joined 16:29 mr-fooba_ joined 16:32 mr-foobar left
andrzejku hey guys do you knwo open source project which need contrbutors 16:35
in C++?
16:35 mr-foobar joined 16:36 mr-fooba_ left
tadzik maybe godotengine.org/? 16:36
16:40 Rawriful left, sufrostico joined, sufrosti1o joined 16:41 sufrostico left, sufrostico joined 16:42 Rawriful joined
dogbert17 .seen moritz 16:42
yoleaux I saw moritz 14:49Z in #perl6: <moritz> lol I blogged: perlgeek.de/blog-en/perl-6/2017-01...-edge.html
16:55 nhywyll left 17:03 araraloren left 17:12 andrzejku left 17:16 skids joined 17:19 |oLa| joined 17:23 andrzejku joined 17:25 zakharyas left 17:27 zakharyas joined 17:32 MasterDuke joined 17:41 bwisti left 17:44 Rawriful left 17:46 Rawriful joined 17:48 domidumont joined 17:55 gensym left 18:01 andrzejku left 18:06 setty1 left 18:08 setty1 joined 18:09 BenGoldberg joined, zakharyas left
moritz :-) 18:10
lizmat: thanks, fixing the typos now 18:12
zengargoyle: those links kinda support my point; for example www.fileformat.info/info/unicode/ch...upport.htm lists just one font that's obviously mono space, and that doesn't seem to be open source 18:15
dogbert17 moritz: do you have time to look at a documentation gist? 18:16
moritz dogbert17: depends on how long it is :-)
dogbert17 not so long :) gist.github.com/dogbert17/4bb9490a...aad381925c
moritz dogbert17: looks correct 18:19
on the language front, I find the hanging "or Mu if no ..." a bit weird
might be better to put that earlier, and start a new sentence that explains how it looks up the method
18:19 sufrosti1o left 18:20 sufrostico left, andrzejku joined
dogbert17 moritz: thx, I'll try to implement your suggestions 18:20
18:26 sjoshi joined
Geth doc: 1b648fa0a0 | (Jan-Olof Hendig)++ | doc/Type/Metamodel/MethodContainer.pod6
Added documentation for lookup. Moritz++, MasterDuke17++ for proofreading.

Closes #875
18:27
18:27 seatek joined 18:33 |oLa| left 18:52 sjoshi left 18:56 BenGoldberg left 19:07 mniip left 19:12 zakharyas joined 19:14 ChoHag left 19:15 BenGoldberg joined 19:16 domidumont left 19:17 awwaiid joined, domidumont joined 19:18 travis-ci joined
travis-ci Doc build errored. Jan-Olof Hendig 'Added documentation for lookup. Moritz++, MasterDuke17++ for proofreading. 19:18
travis-ci.org/perl6/doc/builds/246843680 github.com/perl6/doc/compare/de113...648fa0a02c
19:18 travis-ci left 19:26 mniip joined, b2gills left 19:27 b2gills joined 19:29 domidumont left 19:33 andrzejku left 19:42 b2gills left 19:44 b2gills joined 19:51 |oLa| joined, bwisti joined 19:58 |oLa| left 19:59 kybr left 20:00 kybr joined 20:09 AlexDaniel joined 20:17 paule32 left 20:18 zapwai joined 20:24 nullcone joined
BenGoldberg Could someone point me to where is the keyword "unit" documented? I kinda know what it does by examples I've seen, but I'd like to read the doc. 20:43
20:47 zakharyas left
Geth doc/master: 4 commits pushed by (Will "Coke" Coleda)++ 20:55
geekosaur docs.perl6.org/language/syntax#Mod...eclaration 20:56
[Coke] BenGoldberg: pretty sure we don't have a solid doc page for that. docs.perl6.org/language/modules has some usage of it.
20:57 Cabanossi left
[Coke] geekosaur++ 20:57
20:58 Cabanossi joined
BenGoldberg wonders whether it would be worthwhile to ask for a keyword 'unbrace' which works with ANY expression which would normally be followed by something in {} 21:01
To make parsing simpler, it might go at the end of the line (where the '{' would be), instead of the beginning. 21:03
. o O (unlisp!)
AlexDaniel hm… you can already omit braces sometimes 21:09
m: say BEGIN now
camelia Instant:1498425014.143994
21:17 gfldex_ is now known as gfldex
timotimo whenever you have a blast, you can omit brackets 21:26
because a blast is a BLock, Alternative STatement
sometimes they're called "blorst", which is just "BLock OR STatement" 21:28
21:31 setty1 left 21:38 wamba left 21:45 travis-ci joined
travis-ci Doc build errored. Will "Coke" Coleda 'skip failing sample code' 21:45
travis-ci.org/perl6/doc/builds/246879859 github.com/perl6/doc/compare/1b648...a7c34f473d
21:45 travis-ci left 21:56 Cabanossi left 21:57 lizmat left 21:58 Cabanossi joined 22:08 lizmat joined
lizmat www.reddit.com/r/perl6/comments/6j...sl_do_end/ 22:22
BenGoldberg m: await start { my $a = "strange"; $a does role Test { }; } xx 2 22:29
camelia ( no output )
BenGoldberg m: await start { my $a = "strange"; $a does role Test { }; } xx 16
camelia Tried to get the result of a broken Promise
in block <unit> at <tmp> line 1

Original exception:
Incompatible MROs in P6opaque rebless for types Str+{Test} and Str+{Test}
in block at <tmp> line 1
BenGoldberg m: my $l = Lock.new; await start { my $a = "dubba"; role Test { }; $l.protect: { $a does Test }; } xx 16 22:36
camelia ( no output )
22:38 rindolf left, mr-foobar left 22:41 mr-foobar joined 22:48 espadrine left 22:54 sufrostico joined, sufrosti1o joined 22:56 Cabanossi left 22:57 Cabanossi joined 23:08 grondilu joined 23:10 sufrosti1o left, sufrostico left 23:11 Rawriful left
Geth doc: fcc07f1575 | (Will "Coke" Coleda)++ | util/new-type.p6
Don't emit {}'s around type name

Fixes #1392
23:26
doc: d2bb868efb | (Will "Coke" Coleda)++ | doc/Language/5to6-perlsyn.pod6
use nbsp
23:33
doc: ec53fea130 | (Will "Coke" Coleda)++ | 2 files
test examples, part of #1387
doc: 29c9046565 | (Will "Coke" Coleda)++ | 2 files
test examples, part of #1387
23:39
23:51 zapwai left
BenGoldberg m: printf '%.4f, for a good time call', (7 ** (e - 1/e) - 9) * pi**2; 23:54
camelia 867.5309, for a good time call
23:56 Cabanossi left 23:57 Cabanossi joined