»ö« 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. |
|||
timotimo | hi ShadowManu | 00:03 | |
00:04
audiatorix left
|
|||
ShadowManu | hi mate | 00:05 | |
(not really used to IRC channels, but here I'm trying) | |||
00:06
Rawriful left
|
|||
timotimo | did you get the message about your first message getting cut short? | 00:07 | |
"at learning perl and comes the" were the last words | 00:08 | ||
ShadowManu | oh, it got truncated: "(...) I was looking at learning perl and comes the question: Perl5 or 6?" I have no issues with being in the bleeding-edge and updating code (if it's worth). | 00:10 | |
00:11
Geth_ left,
Geth_ joined,
ChanServ sets mode: +v Geth_
00:12
Geth_ left,
Geth_ joined
00:13
ChanServ sets mode: +v Geth_,
Geth_ left
|
|||
timotimo | there's a lot of cool to be had in perl6, like having very easy access to multithreaded/parallel/asynchronous stuff | 00:13 | |
00:13
Geth_ joined,
ChanServ sets mode: +v Geth_
|
|||
timotimo | you'll probably be doing a bunch of ssh back and forth, we have a nice asynchronous libSSH binding | 00:13 | |
00:14
Geth_ left,
Geth_ joined,
ChanServ sets mode: +v Geth_,
Geth_ left
00:16
Geth_ joined,
ChanServ sets mode: +v Geth_
00:20
cdg joined
00:22
mcmillhj joined
00:25
cdg left
|
|||
timotimo goes to bed | 00:29 | ||
00:34
cdg joined
00:35
Aaronepower left
00:37
cpage_ left
00:39
cdg left
00:46
troys is now known as troys_
00:47
ShadowManu left
00:49
Cabanossi left
00:50
eroux left,
Cabanossi joined
00:53
llfourn joined
00:58
astj joined
00:59
noganex_ joined
01:02
noganex left
01:06
cpage_ joined
01:12
ryn1x joined
01:13
cdg joined
01:15
eliasr left
01:17
cdg left
01:33
Cabanossi left
01:35
Cabanossi joined
01:41
bitrauser joined
01:44
bitrauser_ left
01:46
ilbot3 left
01:55
ilbot3 joined,
ChanServ sets mode: +v ilbot3
02:00
mcmillhj left
02:03
[equa] left
02:07
kyan joined
02:12
mcmillhj joined
02:16
mcmillhj left
02:19
cdg joined
02:23
cdg left
02:26
pilne left
02:27
mcmillhj joined
02:32
mcmillhj left
02:34
noganex joined,
piojo joined
02:36
noganex_ left
02:38
ch3ck3r joined,
ufobat___ joined
02:42
ufobat_ left
02:48
Cabanossi left,
rjbs left,
mson left
02:50
Cabanossi joined
03:00
kent\n left
03:01
jeromelanteri joined
03:04
kent\n joined
03:11
mson joined
03:20
kyo91 joined
03:27
kerframil left
03:34
atroxaper joined
03:43
nekomune left
03:47
nekomune joined
03:48
Cabanossi left
03:49
Cabanossi joined
04:03
ryn1x left,
ryn1x joined
04:09
darkmorph joined
04:10
troys_ is now known as troys
04:12
ryn1x left
04:13
ryn1x joined
04:18
ryn1x left,
awwaiid left,
awwaiid joined
04:30
ryn1x joined
04:35
vike left
04:39
cpage__ joined,
cpage_ left,
cpage__ is now known as cpage_
04:40
troys left
04:42
kurahaupo left,
kurahaupo joined,
kurahaupo left
04:43
kurahaupo joined,
kurahaupo left,
kurahaupo joined,
kurahaupo left
04:47
Cabanossi left
04:48
vike joined
04:49
Cabanossi joined
04:56
xtreak joined
04:59
mr-fooba_ left
05:01
mr-foobar joined
05:02
Guest43993 left,
aborazmeh joined,
aborazmeh left,
aborazmeh joined
05:08
ryn1x left
05:09
ryn1x joined
05:15
cpage_ left
05:17
cpage_ joined,
ryn1x left
05:18
mson left
05:20
kyan left
05:25
skids left
05:33
Cabanossi left
05:34
Cabanossi joined,
ryn1x joined
05:36
giraffe joined,
giraffe is now known as Guest30004
05:38
piojo1 joined
05:40
piojo left
05:42
lizmat_ left
05:43
ryn1x left
05:44
ryn1x joined
05:49
vike left
05:50
piojo joined
05:51
piojo left
05:52
ryn1x left,
piojo1 left
05:55
ryn1x joined
05:56
cdg joined
05:58
vike joined
06:00
lizmat joined,
cdg left
06:02
domidumont joined
06:03
Cabanossi left
06:04
Cabanossi joined
06:07
domidumont left
06:12
lizmat left,
imcsk8 left,
darkmorph left
06:14
traxex left
06:15
traxex joined,
sacomo joined
06:18
rba_ joined
06:20
thunktone joined,
traxex_ joined
06:21
traxex left
06:22
rba left
06:23
rba_ left
06:26
xtreak left,
xtreak joined
06:27
thunktone left,
xtreak left
06:28
xtreak joined,
thunktone joined
06:31
domidumont joined
06:33
ryn1x left
06:34
ryn1x joined
06:37
sjn left
06:38
sjn joined
06:39
ryn1x left,
ryn1x joined
06:40
lizmat joined
06:41
imcsk8 joined
06:43
nadim joined,
traxex_ left
06:45
traxex joined,
lowbro joined
06:46
traxex left
06:47
Cabanossi left
06:48
ryn1x left
06:49
ryn1x joined,
Cabanossi joined
06:50
traxex joined
06:52
lowbro left,
lowbro joined
06:53
AlexDaniel- left
06:57
ryn1x left
06:58
ryn1x joined,
Ven joined,
Ven is now known as Guest43745
07:01
lowbro left
07:03
mr-foobar left
07:04
thunktone left
07:06
thunktone joined,
ryn1x left
07:07
ryn1x joined,
mr-foobar joined
07:11
ryn1x left
07:12
wamba joined
07:13
traxex left
07:16
thunktone left
07:18
thunktone joined
07:19
vivus-ignis joined
07:20
xtreak left
07:23
xtreak joined
07:26
wander joined
07:28
ryn1x joined
07:29
thunktone left,
abraxxa joined
07:30
Camelia_ joined
|
|||
Camelia_ | Sounds like a plan, kannan ^_^ | 07:30 | |
07:30
Camelia_ left,
Camelia_ joined
|
|||
Camelia_ | Sounds like a plan, kannan ^_^ | 07:30 | |
07:30
Camelia_ left
07:31
aborazmeh left
07:32
vike left
07:35
thunktone joined
07:40
rba joined
07:42
darutoko joined
07:43
vike joined
07:46
thunktone left
07:47
thunktone joined
07:54
thunktone left
07:55
xtreak left,
xtreak joined
07:57
thunktone joined,
xtreak left,
lizmat left,
xtreak joined
08:02
xtreak left
08:04
tejr joined
08:06
ryn1x left
08:07
ryn1x joined
08:11
cdg joined
08:12
zakharyas joined
08:16
ryn1x left,
aborazmeh joined,
aborazmeh left,
aborazmeh joined,
cdg left
08:17
ryn1x joined
08:24
xtreak joined,
lizmat joined
08:30
ryn1x left
08:31
ryn1x joined
08:32
wander left
08:33
KDr2 joined
08:39
ryn1x left
08:40
ryn1x joined
08:42
lizmat left
08:45
someuser_ joined
08:49
eliasr joined
08:53
ryn1x left
08:54
ryn1x joined,
lizmat joined
08:55
gdonald left
09:00
kerframil joined
09:02
ryn1x left
09:03
ryn1x joined
09:04
jameslenz left
09:09
wamba left
09:11
aborazmeh left
09:12
llfourn left
09:22
cdg joined
09:26
cdg left
09:30
Guest43745 left
09:34
Ven joined
09:35
Ven is now known as Guest53747
09:36
ryn1x left
09:37
rgrau joined,
ryn1x joined
09:42
lizmat left
09:43
cog_ joined
09:44
lizmat joined
09:46
ryn1x left,
cognominal left,
ryn1x joined
09:49
ZofBot left
09:50
ZofBot joined,
ChanServ sets mode: +v ZofBot
09:51
ryn1x left
09:52
traxex joined
09:58
lizmat left
10:00
gdonald joined
10:09
rindolf joined
10:12
ryn1x joined
10:14
lizmat joined,
wamba joined
10:16
ryn1x left
10:17
ryn1x joined
10:19
kurahaupo joined,
kurahaupo left,
kurahaupo joined,
kurahaupo left,
TEttinger left
10:21
kurahaupo joined,
ryn1x left
10:28
lizmat left
10:31
lizmat joined
10:32
kurahaupo left
10:33
kurahaupo joined
10:38
ryn1x joined
10:39
Guest53747 left
10:40
kyo91 left
10:48
vivus-ignis is now known as ignis__away
10:49
wamba left
10:56
ignis__away is now known as vivus-ignis
10:58
atroxaper left
|
|||
HoboWithAShotgun | what's the idiomatic way to split a list? i need something like (@good, @bad) = @peas.cinderella | 10:58 | |
or a destructive grep | |||
it's early, i mean .cinderella( $matcher ) | 10:59 | ||
.categorize looks promising | 11:01 | ||
11:02
thunktone left
|
|||
MasterDuke | i think there's also a classify-list | 11:02 | |
yoleaux | 06:31Z <AlexDaniel-> MasterDuke: fwiw RT #132285 | ||
synopsebot | RT#132285 [new]: rt.perl.org/Ticket/Display.html?id=132285 [REGRESSION] Error message talks about null strings when trying to create a num32 Blob (Blob[num32].new(2e0)) | ||
11:03
thunktone joined
11:04
zakharyas left
11:13
lizmat left
|
|||
HoboWithAShotgun s changes to atom have been merged | 11:13 | ||
timotimo | cool, what are they? | 11:14 | |
11:16
ryn1x left
11:17
lizmat_ joined,
ryn1x joined
11:19
lizmat__ joined
|
|||
tyil | HoboWithAShotgun: congratz! | 11:19 | |
that was your first PR ever, right? | |||
11:21
lizmat_ left
11:23
lizmat__ left
11:24
lizmat joined,
swastika joined
11:26
ryn1x left
|
|||
swastika | hello guys , im new to perl programming language and i have expereice of scripting and programming with other languages , can anyone give a dicrection to me about a good read or starting considering im like to start with perl 6? | 11:26 | |
11:26
ryn1x joined
11:30
swastika left
11:31
xtreak left
|
|||
tyil | well, not if you leave immediately | 11:31 | |
bhm | swastika: I just read "Think Perl 6: How to Think Like a Computer Scientist" by Laurent Rosenfeld & Allen B. Downey, and think it is a good book. | 11:32 | |
11:32
ryn1x left
|
|||
tyil | bhm: he closed the chat tab a few seconds after he asked the question | 11:32 | |
bhm | Argh. | 11:33 | |
11:33
ryn1x joined,
Camelia_ joined
|
|||
Camelia_ | Hi, blub | 11:33 | |
11:33
Camelia_ left,
Camelia_ joined
|
|||
Camelia_ | Hi, blub | 11:33 | |
11:33
Camelia_ left
11:34
Camelia_ joined
|
|||
Camelia_ | Hi, blub | 11:34 | |
11:34
Camelia_ left,
Camelia_ joined
|
|||
Camelia_ | Hi, blub | 11:34 | |
11:34
Camelia_ left
|
|||
timotimo | why would someone call themselves "swastika"? | 11:35 | |
11:35
vivus-ignis is now known as ignis__away,
traxex left
|
|||
tyil | to stay anonymous on the internet | 11:35 | |
11:35
xtreak joined
|
|||
tyil | or maybe he's just really religious | 11:36 | |
11:40
rindolf left
11:42
ryn1x left,
ryn1x joined,
rindolf joined
|
|||
Geth_ | perl6.org: cc774260a8 | (Patrick Spek)++ | source/whatever/index.html Add Neovim as recommended editor. Fixes #84 |
11:45 | |
perl6.org: f04df671ca | (Patrick Spek)++ | source/whatever/index.html Update link to vim-perl6 |
|||
perl6.org: e7be47c70d | (Patrick Spek)++ (committed using GitHub Web editor) | source/whatever/index.html Merge pull request #86 from perl6/add-neovim-recommended-editor Add neovim as a recommended editor |
|||
11:46
Ven joined
|
|||
Geth_ | perl6.org/master: 4 commits pushed by (Patrick Spek)++, (Zoffix Znet)++ | 11:46 | |
11:46
Ven is now known as Guest45011
11:47
ryn1x left
|
|||
Geth_ | perl6.org: b71cb4669b | (Zoffix Znet)++ (committed using GitHub Web editor) | source/community/irc.html Remove Zoffix-specific bot description |
11:48 | |
perl6.org: f6a01b0cab | (Zoffix Znet)++ (committed using GitHub Web editor) | source/community/irc.html Fix typos |
11:49 | ||
perl6.org: dd13c060ef | (Zoffix Znet)++ (committed using GitHub Web editor) | source/community/irc.html Remove NeuralAnomaly It's on extended vacation; replaced by releasable |
11:51 | ||
11:53
thunktone left
11:54
thunktone joined
11:57
NotZoffix joined,
NotZoffix left,
NotZoffix joined,
NotZoffix left
11:58
NotZoffix joined,
NotZoffix left,
NotZoffix joined,
NotZoffix left,
NotZoffix joined,
NotZoffix left
12:00
ZofBot left,
ZofBot joined
12:01
mcmillhj joined
12:06
buggable left,
buggable joined,
ChanServ sets mode: +v buggable,
mcmillhj left
12:07
buggable left
12:08
ryn1x joined,
abraxxa left
12:09
buggable joined,
ChanServ sets mode: +v buggable,
buggable left
12:10
buggable joined,
ChanServ sets mode: +v buggable,
ignis__away is now known as vivus-ignis
12:13
[equa] joined
12:15
llfourn joined
|
|||
bitrauser | Good afternoon everyone | 12:20 | |
tyil | o/ | ||
12:22
ShalokShalom_ joined
12:25
ShalokShalom left
12:30
lizmat left,
zakharyas joined,
xtreak left
12:33
xtreak joined,
lizmat joined,
xtreak left
12:35
atroxaper joined
12:40
KDr2 left
12:41
jeromelanteri left,
setty1 joined
12:42
ryn1x left,
ryn1x joined
12:46
thunktone left
12:49
thunktone joined
12:51
ryn1x left
12:52
ryn1x joined
12:54
mcmillhj joined
12:56
rjbs joined
12:57
cpage_ left
13:02
Cabanossi left
13:03
thunktone left
13:04
thunktone joined,
ryn1x left,
Cabanossi joined
13:05
ryn1x joined
13:08
mcmillhj left
13:09
mson joined,
jameslenz joined
13:10
araraloren joined,
ShalokShalom_ is now known as ShalokShalom
13:12
vivus-ignis left,
thunktone left
13:13
thunktone joined
13:14
mcmillhj joined
13:18
ryn1x left,
cdg joined
13:19
ryn1x joined
13:23
cdg_ joined
13:26
cpage_ joined
13:27
cdg left,
Ven joined,
Ven is now known as Guest83577
13:28
Guest45011 left,
Ven_ joined
13:31
Guest83577 left
13:32
ryn1x left
13:39
mcmillhj left
13:40
ryn1x joined
|
|||
HoboWithAShotgun | m: class A {}; my @a = A.new; say @a.classify({ .WHAT }) | 13:42 | |
camelia | {(A) => [A.new]} | ||
HoboWithAShotgun s changes to atom have been merged | 13:43 | ||
m: class A {}; class B {}; my @a = A.new, A.new, B.new; say @a.classify({ .WHAT }) | |||
camelia | Use of uninitialized value of type A in string context. Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful. {(B) => [B.new], (A) => [A.new A.new]} in block <unit> at <tmp> line 1 Use of uninitialized value… |
||
HoboWithAShotgun | Why? | ||
m: class A {}; class B {}; my @a = A.new, A.new, B.new; say @a.classify({ .^name }) | 13:44 | ||
camelia | {A => [A.new A.new], B => [B.new]} | ||
tyil | on modules.perl6.org, my App::MPD::AutoQueue still appears twice, even though I removed it from the META.list a while ago | 13:45 | |
and some other modules from CPAN are still not appearing | |||
HoboWithAShotgun | m: class A {}; class B {}; my @a = A.new, A.new, B.new; say @a.classify({ $_ ~~ A ?? "A" !! $_ ~~ B ?? "B" !! "OTHER" ) | 13:46 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Missing block at <tmp>:1 ------> 3~ A ?? "A" !! $_ ~~ B ?? "B" !! "OTHER" 7⏏5) expecting any of: statement end statement modifier statement modifier loop |
||
HoboWithAShotgun | m: class A {}; class B {}; my @a = A.new, A.new, B.new; say @a.classify({ $_ ~~ A ?? "A" !! $_ ~~ B ?? "B" !! "OTHER" }) | ||
camelia | {A => [A.new A.new], B => [B.new]} | ||
13:46
darkmorph joined
13:52
[equa] left
13:55
mcmillhj joined
13:57
Ven joined,
Ven is now known as Guest22988
13:59
Ven_ left
|
|||
Geth_ | perl6.org: ae4680c858 | (Zoffix Znet)++ (committed using GitHub Web editor) | source/fun/index.html List 'On Troll Hugging, Hole Digging...' article A bit of self-horn-tooting, but article received good feedback and it fits next to audrey's Troll Hugging article already listed. |
13:59 | |
14:01
ShalokShalom_ joined
14:02
ShalokShalom left,
Cabanossi left
14:04
Cabanossi joined
14:10
vivus-ignis joined
14:18
ryn1x left
14:19
ryn1x joined
14:22
skids joined
|
|||
Geth_ | modules.perl6.org: aa5324584e | (Zoffix Znet)++ | lib/ModulesPerl6/DbBuilder.pm Unbust build Was crashing due to cpan.metacpan.org/authors/id/U/UG/....30.tar.gz not having a dist name present in the filename. Fix by warning about and skipping such dists. |
14:32 | |
14:33
Ven_ joined
|
|||
ugexe | fwiw allowing arbitrary file names allows one to use the ‘upload from link’ functionality from PAUSE with an archive link from GitHub | 14:35 | |
14:35
Guest22988 left
|
|||
ugexe | (which is how that file came to be) | 14:35 | |
14:36
Ven_ left
14:39
Ven_ joined
14:46
mcmillhj left
14:51
thunktone left
14:53
thunktone joined
14:56
traxex joined
14:57
ryn1x left
14:58
ryn1x joined
|
|||
jdv79 | ugexe: is that what we want? arbitrary file names? | 15:01 | |
15:02
wamba joined
15:06
ryn1x left
15:07
troys joined
15:08
vivus-ignis is now known as ignis__away,
ryn1x joined
15:09
setty1 left
15:11
mcmillhj joined
15:13
domidumont left
|
|||
Geth_ | modules.perl6.org: aae710a7f9 | (Zoffix Znet)++ | lib/ModulesPerl6/DbBuilder/Dist/Source/CPAN.pm Toss dead code |
15:14 | |
15:14
ryn1x left
15:15
ryn1x joined
|
|||
Geth_ | modules.perl6.org: 3213557d4a | (Zoffix Znet)++ | lib/ModulesPerl6/DbBuilder/Dist/Source/CPAN.pm Add CLEANUP to tempdir Misread the docs originally and thought it was the default, but that's only for method form. |
15:16 | |
15:16
thunktone left,
kaare_ left
15:17
thunktone joined,
ignis__away is now known as vivus-ignis
15:21
[equa] joined
15:22
xinming_ left
15:23
araujo left
15:24
ryn1x left
|
|||
ugexe | jdv79: well I think we want to be a specific way as possible, but they have to allow arbitrary-ness in some way because dist name/ver cant always be mapped to a file system verbatim. | 15:26 | |
15:28
araujo joined
15:30
ch3ck3r left
15:31
xinming joined
15:33
epony left,
[equa] left
15:34
ryn1x joined,
araujo left
|
|||
atroxaper | Hello #perl6 | 15:36 | |
Good Friday! | |||
Does anybody want to review my new module before publishing? | |||
github.com/atroxaper/p6-Propius | |||
[Coke] | spelling: cpecified (specified) | 15:37 | |
:WITCH WHICH | |||
atroxaper | I better in Java but not in English xDD Thank you. | 15:38 | |
15:38
ryn1x left
15:39
zakharyas left,
ryn1x joined
15:40
kaare_ joined
|
|||
ugexe | the failed travis tests suggest you need to add OO::Monitors to your depends | 15:42 | |
atroxaper | Oh. Good point. | ||
15:43
Ven_ left
15:46
kaare_ left,
kyan joined
15:50
napo1eon joined
15:52
ryn1x left
15:53
ryn1x joined
16:03
Cabanossi left,
mempko joined
16:04
Cabanossi joined
16:07
mcmillhj left
16:08
ZofBot left
16:10
ZofBot joined,
ChanServ sets mode: +v ZofBot
16:14
ZofBot left,
ShalokShalom_ left
16:19
ZofBot joined,
ChanServ sets mode: +v ZofBot
16:30
ChoHag left,
HoboWithAShotgun left
16:32
napo1eon left
16:35
[equa] joined
16:39
Xal left
16:42
jast left,
mcmillhj joined
16:45
rba left,
ryn1x left,
ShalokShalom joined
16:46
wander joined,
ryn1x joined
|
|||
Geth_ | evalbot: f35f462af1 | (Zoffix Znet)++ | 2 files Increase SHA length from 6 to 9 chars These are used frequently in bug reports and 6-char sha is too short and conflicts with other commits when using, say, commitable6 |
16:46 | |
16:47
camelia left,
camelia joined
16:48
darutoko left,
ChanServ sets mode: +v camelia
16:59
ryn1x left
17:00
ryn1x joined
17:03
HoboWithAShotgun joined
17:04
ryn1x left
17:10
mcmillhj left
|
|||
buggable | New CPAN upload: Propius-0.1.0.tar.gz by ATROXAPER cpan.metacpan.org/authors/id/A/AT/...1.0.tar.gz | 17:10 | |
New CPAN upload: TimeUnit-0.1.2.tar.gz by ATROXAPER cpan.metacpan.org/authors/id/A/AT/...1.2.tar.gz | |||
17:11
lostinfog joined
17:14
pmurias joined
17:17
ChoHag joined
|
|||
jdv79 | .tell jnthn I just RT'd the one from a week ago - RT#132287 - not sure how to debug that. never had to debug something threaded like that before. | 17:22 | |
yoleaux | jdv79: I'll pass your message to jnthn. | ||
synopsebot | RT#132287 [new]: rt.perl.org/Ticket/Display.html?id=132287 [CONC] stall/block in async heavy code | ||
17:23
HoboWithAShotgun left
17:25
ryn1x joined
17:26
vivus-ignis is now known as ignis__away
17:30
HoboWithAShotgun joined,
domidumont joined
17:37
ignis__away is now known as vivus-ignis,
wamba left
17:42
rgrau left
17:44
vivus-ignis is now known as ignis__away
17:55
thunktone left
17:56
thunktone joined
17:57
TEttinger joined
18:00
kerframil left
18:01
thunktone left
18:06
thunktone joined
|
|||
HoboWithAShotgun puts "when you do $regex ~~ $string you get a coercion error" into his notebook | 18:06 | ||
18:06
mr-foobar left
|
|||
geekosaur | yes, ~~ is not commutative. | 18:08 | |
18:08
ryn1x left
|
|||
geekosaur | it has to pick one side to invoke .ACCEPTS on and feed that the other | 18:08 | |
18:08
mr-foobar joined
18:09
ryn1x joined
18:10
NotCamelia joined
|
|||
NotCamelia | Good job, AlexDaniel | 18:10 | |
18:10
NotCamelia left,
NotCamelia joined
|
|||
NotCamelia | Good job, AlexDaniel | 18:10 | |
AlexDaniel | ahhem… | ||
yoleaux | 13:46Z <Zoffix> AlexDaniel: what do you think of this ticket? rt.perl.org/Ticket/Display.html?id...xn-1493785 The problem is swept under the rug and it the cause appears to be just that we shuttle a capture around from Unicode ops to ASCII ones, so that issue will be resolved on its own. So should the ticket be closed? What about tests? | ||
AlexDaniel | 3 more times | ||
18:10
AlexDaniel- joined,
NotCamelia left
|
|||
yoleaux | 13:48Z <Zoffix> AlexDaniel: also this one can prolly be closed entirely? rt.perl.org/Ticket/Display.html?id...et-history | 18:10 | |
18:10
NotCamelia joined
|
|||
NotCamelia | Good job, AlexDaniel | 18:10 | |
18:10
NotCamelia left,
NotCamelia joined
|
|||
NotCamelia | Good job, AlexDaniel | 18:10 | |
18:10
NotCamelia left
|
|||
wander | HoboWithAShotgun: github.com/perl6/doc/issues/1603 | 18:11 | |
18:14
thunktone left
|
|||
ugexe | jdv79: looks like it could be an exception, notably github.com/rakudo/rakudo/blob/80ce...nc.pm#L151 "Too few positionals passed; expected 6 arguments but got 2" | 18:14 | |
TEttinger | ... what is NotCamelia? | ||
panderbot? | 18:15 | ||
18:15
andrzejku joined
|
|||
geekosaur was considering a ban until he saw '3 more times' | 18:15 | ||
18:15
thunktone joined
|
|||
AlexDaniel- | TEttinger: some smart ass came up with a way to make an IRC connection from camelia | 18:15 | |
TEttinger | heh | ||
ugexe | jdv79: thats what i get when I run gist.github.com/ugexe/ee12646ef6ee...cf85b3639b for a long enough time | ||
AlexDaniel- | now I'm hunting for regressions, so I took all m: snippets from IRC logs | 18:16 | |
and I run them on several rakudo versions and check for differences | |||
18:16
kerframil joined
|
|||
AlexDaniel- | … which means that I'm running all sorts of crap people used to run on camelia during the last few years | 18:16 | |
TEttinger | yeah, I think the similar issue that affected clojurebot and the earlier lazybot has been fixed. On the lazybot I host, apparently you would have had access to remote code execution, within message size limits | 18:17 | |
AlexDaniel- | well, remote code execution is kinda the point of having an evalbot :) | ||
whether it should have internet access or not is a different question, yeah | 18:18 | ||
TEttinger | rm -r /* | ||
don't want that evaled :) | |||
geekosaur | i,i evilable6 | 18:19 | |
AlexDaniel- | I'm not too concerned about that actually, but I don't want it to be evaled too :D | ||
evilable6: say 42 | |||
evalable6 | 42 | ||
TEttinger | ha | ||
18:19
atroxaper left
|
|||
AlexDaniel- | (I'm not too concerned because most of the filesystem is read-only for the bots, but precomp files and other stuff isn't, so it will disturb the bots a little bit) | 18:20 | |
TEttinger | if you can execute a file as another user maybe | ||
JVM has stuff to run shell commands with privilege | 18:21 | ||
AlexDaniel- | for that reason, for example, *ables no longer have RESTRICTED setting (it was worthless anyway), but please don't do crazy shit | ||
TEttinger | yeah | ||
18:21
troys is now known as troys_
|
|||
AlexDaniel- | as for the internet access, there was at least one time when we were bisecting IRC::Client on bisectable | 18:22 | |
so it's super useful to have unrestricted bots, even though it's scary as f | |||
wander | so now when we overload operator infix:<=, it doesn't work on ≤? | ||
surprised | 18:23 | ||
geekosaur | this is something of a known wart. it's a bit more widely visible than it used to be | 18:25 | |
but there are a number of places where you have to be precise about that iirc | |||
18:25
jast joined
|
|||
wander | fair enough, there must be people who think it should not work | 18:26 | |
18:26
ignis__away is now known as vivus-ignis
18:27
cdg joined
|
|||
wander | for it said infix ≤ equivalent to <=, but never use the word alias | 18:28 | |
18:28
cdg left
|
|||
skids | A DSL slang could conceivably want to make them differ. | 18:29 | |
18:30
cdg_ left
18:32
thunktone left
|
|||
jdv79 | ugexe: hmm, ok | 18:33 | |
18:33
thunktone joined
|
|||
jdv79 | how come i can't get an exception out of that... | 18:40 | |
18:41
cdg joined,
noganex left
|
|||
jdv79 | ugexe: how'd you capture that exception? i threw a CATCH in the start block of interest but still nada. | 18:41 | |
18:42
noganex joined
|
|||
geekosaur | wander, my understading is it *should* work and this is considered a bug, but a relatively minor one that is hard to fix without killing performance of the compile stage | 18:43 | |
ugexe | jdv79: had to have RAKUDO_SCHEDULER_DEBUG=1 | 18:44 | |
jdv79 | oh, that's fun | ||
now i get "Unexplained error" again | 18:45 | ||
this stuff is fickler than most i've played with recently;) | |||
18:45
cdg left
18:46
pilne joined,
[ptc]_ left
|
|||
wander | geekosaur, can you briefly intro the difficulty | 18:46 | |
or show me the way to learn more about why low performance | |||
18:47
sergot left
|
|||
geekosaur | wander, ideally the names infix:< <= > and infix:<< <= >> and infix:<≤> etc. should be aliases. instead they are separate definitions, *and* certain parts of the code expect to see only one canonical form for them. | 18:48 | |
I am not sure what's up with aliases, possibly they are intended to be implemented at some point but aren't yet. | 18:49 | ||
the second problem I mentioned is harder because making the code handle any of the possible forms the name can take will make it very slow | |||
given that you have to support both unicode and ascii versions along with any of multiple possible quoting formats, which end up being part of the name | 18:50 | ||
18:50
domidumont left
|
|||
AlexDaniel- | related ticket: RT #131626 | 18:51 | |
synopsebot | RT#131626 [open]: rt.perl.org/Ticket/Display.html?id=131626 [PERF] ≥ and ≤ are 36x slower than Texas version; ≠ is 15x slower | ||
18:52
vivus-ignis is now known as ignis__away
18:54
[ptc] joined
18:55
sergot joined
|
|||
jdv79 | ugexe: i'm gonna guess you ran out of socket pairs or something. mine stalls out and doesn't throw much faster - mostly < 10s | 19:01 | |
thanks though | |||
AlexDaniel- | .tell Zoffix I've added [TESTNEEDED] and [EXOTICTEST] tags to RT #131626. Honestly I don't mind it being closed, but something about just closing it does not feel right. Maybe this half-step will do for now. | ||
yoleaux | AlexDaniel-: I'll pass your message to Zoffix. | ||
synopsebot | RT#131626 [open]: rt.perl.org/Ticket/Display.html?id=131626 [EXOTICTEST][PERF] ≥ and ≤ are 36x slower than Texas version; ≠ is 15x slower | ||
19:02
Praise left,
Praise joined,
Praise left,
Praise joined
|
|||
ugexe | im not running out of sockets | 19:03 | |
19:03
ryn1x left
|
|||
El_Che | an alpine dev in the room? | 19:04 | |
19:04
ryn1x joined
|
|||
AlexDaniel- was wondering why people talk about running out of socks | 19:04 | ||
moritz has been in the Alps before | |||
AlexDaniel- | I should really get some sleep… too tired | ||
ugexe | it will crash out faster if i'm not using gdb or strace | ||
El_Che | moritz: :) | ||
ugexe | an afinity worker thread is already created before it stalls | 19:05 | |
jdv79 | huh | ||
19:07
ignis__away left
|
|||
wander | geekosaur, how about do textual-substitution before compile/interpret s/≤/<=/ for `≤' which does operator | 19:07 | |
ugexe | it works until it prints out `[SCHEDULER] Added an affinity worker thread` | 19:08 | |
19:08
mempko left
|
|||
geekosaur | wander, you still have to worry about all the possible ways it can be written | 19:09 | |
jdv79 | it seems to me to work iff i see "SCHEDULER] Added a general worker thread" | 19:10 | |
19:10
mcmillhj joined
|
|||
jdv79 | that's interesting. it seems very consistent now that i noticed that. thanks ugexe | 19:11 | |
so the new scheduler is a bit funky | |||
19:13
ryn1x left
|
|||
jdv79 | gist.github.com/anonymous/49f84d38...a95696a29b | 19:14 | |
.tell jnthn - looks like the scheduler might have enough worker threads... - gist.github.com/anonymous/49f84d38...a95696a29b | |||
yoleaux | jdv79: I'll pass your message to jnthn. | ||
ugexe | hmm for me its never the initial affinity thread that does it | 19:15 | |
AlexDaniel- | .tell regarding RT #131515, you say that it is not the right commit, even though it totally feels like it's exactly the right one. I'm too tired right now, but I've added [BISECTME] tag so that I'd get to it later. ⅕ of a step this time, but eventually we'll get it nailed | ||
yoleaux | AlexDaniel-: I'll pass your message to regarding. | ||
AlexDaniel- | fffffff | ||
synopsebot | RT#131515 [open]: rt.perl.org/Ticket/Display.html?id=131515 [BISECTME][PERF] Performance loss in some commits | ||
AlexDaniel- | .tell Zoffix regarding RT #131515, you say that it is not the right commit, even though it totally feels like it's exactly the right one. I'm too tired right now, but I've added [BISECTME] tag so that I'd get to it later. ⅕ of a step this time, but eventually we'll get it nailed | ||
yoleaux | AlexDaniel-: I'll pass your message to Zoffix. | ||
jdv79 | hmm, is there a way to set the # of worker threads these days...? | ||
ugexe | RAKUDO_MAX_THREADS | 19:16 | |
AlexDaniel- | o/ | ||
AlexDaniel- & | |||
jdv79 | no, i mead statically create them on startup | ||
not a max for the dynamically created pool | |||
*mean | 19:17 | ||
wander | since what we care about is the operator form, s/infix:<≤>/infix< <= >/ | ||
HoboWithAShotgun | fricking smartmatch. %h ~~ $key doesn't work. It has to be $key ~~ %h | ||
gfldex | jdv79: there is still Thread.start | ||
wander | what zoffix did in github.com/rakudo/rakudo/commit/6ec21cb473 is `if ($name eq '&infix:<≤>') { $op.name: '&infix:«<=»' }` | 19:18 | |
[Coke] | You can write your own schedule, I think. | ||
*er | |||
geekosaur | HoboWithAShotgun, did you see my earlier remark about that? | 19:19 | |
wander | maybe definition should also be converted | 19:20 | |
geekosaur | ~~ CANNOT be commutative. (think of it this way, a subclass is not a superclass. so A ~~ B can't imply B ~~ A if B is a subclass of A) | ||
wander, you are still missing the point that you can use any of umpteen different kinds of quoting | 19:21 | ||
19:22
ryn1x joined
|
|||
jdv79 | i get a weird mutex error if i try to set initial_threads | 19:22 | |
but i can still set max_threads in a new Scheduler like before the rework | |||
wander | isn't simply textual-substitution, but when deal with a operator definition it performs | ||
jdv79 | oh, its not public | ||
gah | 19:23 | ||
geekosaur | infix:<≤> and infix:<<≤>> and infix:«≤» and infix:‹≤› are all supposed to be the same thing (and there's still other ways to write it) | ||
wander | well | ||
geekosaur | do you start to see the problem? | ||
wander | so the fix doesn't work, right? | 19:24 | |
it just deal with '&infix:<≤>' | |||
if we can reduce all forms of use into '&infix:<≤>', we shall be able to reduce all form of definition into one, says, standard form | 19:27 | ||
19:27
mr-fooba_ joined
19:29
mr-foobar left
|
|||
jdv79 | so tried to recompile with initial_threads set to 4 and got a lock error | 19:29 | |
:( | |||
ugexe | there have to be a certain number of threads initially, although i dont know what that number is | 19:30 | |
1 for gc for instance | |||
19:30
ryn1x left
|
|||
jdv79 | the default worker count is 1 | 19:30 | |
19:31
ryn1x joined
|
|||
timotimo | yeah the MAX_THREADS is only the default for any scheduler created without that argument passed in code | 19:31 | |
jdv79 | i think what's happening is that I'm piling (possibly dependant) work on the scheduler before it decides to start enough threads and it deadlocks | ||
wander | convert the definition instead of substitute text | ||
jdv79 | or something like that | ||
timotimo | moarvm will start one thread for spesh and jit, and one thread for eventloopy things | 19:32 | |
jdv79 | unless there's a better theory for why my test case only works if a second general worker is started ^H | ||
ugexe | that doesn't explain the exception i see though | ||
jdv79 | i'm not sure that's necessarily related | 19:33 | |
i don't everr get an exception here but the test passes and doesn't | |||
ugexe | did you run the code exactly as is from that gist? | 19:34 | |
jdv79 | yeah | 19:35 | |
ugexe | because it -is- slightly different in that the same perl6 instance would be managing every retry | ||
jdv79 | im running both way | ||
s | |||
19:35
Zoffix joined
|
|||
Zoffix | . | 19:35 | |
yoleaux | 19:01Z <AlexDaniel-> Zoffix: I've added [TESTNEEDED] and [EXOTICTEST] tags to RT #131626. Honestly I don't mind it being closed, but something about just closing it does not feel right. Maybe this half-step will do for now. | ||
19:15Z <AlexDaniel-> Zoffix: regarding RT #131515, you say that it is not the right commit, even though it totally feels like it's exactly the right one. I'm too tired right now, but I've added [BISECTME] tag so that I'd get to it later. ⅕ of a step this time, but eventually we'll get it nailed | |||
synopsebot | RT#131626 [open]: rt.perl.org/Ticket/Display.html?id=131626 [EXOTICTEST][PERF] ≥ and ≤ are 36x slower than Texas version; ≠ is 15x slower | ||
RT#131515 [open]: rt.perl.org/Ticket/Display.html?id=131515 [BISECTME][PERF] Performance loss in some commits | |||
Zoffix | wander: convert definition to what? | 19:36 | |
ugexe | to me it looks like the wrong continuation is used to eventually pass arguments to | ||
jdv79 | hmm, ok | 19:38 | |
Xliff | \o | ||
geekosaur: What mneumonic do you use to determine smartmatch order? | 19:39 | ||
I typically think of ~~ as one of "matches", "is" or "does". | |||
You could even use "in", but that's semantics. | 19:40 | ||
19:40
ryn1x left
|
|||
ugexe | jdv79: which rakudo/moar revisions? can't think of another reason we'd have different results | 19:40 | |
19:40
lostinfog left
|
|||
jdv79 | latests | 19:40 | |
Zoffix | wander: the commit simply rewrites Unicode `≤` to ASCII `<=` (as long as both are core), so we bypass the perfomance hit of shuffling the Capture: github.com/rakudo/rakudo/blob/7bea...ic.pm#L301 | ||
19:41
ryn1x joined
|
|||
geekosaur | Xliff, I know it's turning into R.ACCEPTS(LHS) | 19:41 | |
ugexe | mine is a few days old, but i'll see what latest does | ||
geekosaur | er RHS.ACCEPTS(LHS) | ||
19:41
mcmillhj left
|
|||
Xliff | Ahh. That actually is better than what I've been using. | 19:41 | |
jdv79 | if you go back to before the scheduler rework, say 2017.09, mmy test always passes | ||
Zoffix | s/shuffling/shuttling/; | ||
jdv79 | but now i'm just repeating myself ^H | 19:42 | |
wander | seeing your fix `if ($name eq '&infix:<≤>') { $op.name: '&infix:«<=»' }`, I wonder if all ≤ calls have the form `&infix:<≤>` | ||
if so, we may write `if ($name eq infix:<≤>) { $op.name: 'infix:«<=»' }` "when dealing with multi operator definition" | |||
jdv79 | anyway, anyone have any ideas here?: gist.github.com/anonymous/dbe5c79e...72d146603d | ||
Xliff | geekosaur: is .ACCEPTS nqp? | 19:43 | |
jdv79 | all i did was change the # of initial_threads from 0 to 4 | ||
wander | premise, <= is the alias of ≤ | ||
geekosaur | m: say Int.ACCEPTS(3) | 19:45 | |
camelia | True | ||
19:45
ryn1x left
|
|||
geekosaur | ~~ is just shorthand for aliasing $_ to the left side and then invoking the ACCEPTS method of the right side with $_ as parameter | 19:46 | |
Xliff | kk | ||
wander | Xliff, github.com/perl6/nqp/blob/ebac9fee...Mu.nqp#L86 | ||
geekosaur | so I guess I read ~~ as 'is ACCEPTed by' | 19:47 | |
Xliff | Which is a more conside way of how I was thinking about it. LOL. | ||
Zoffix | wander: yeah, any way you write them will be cannonicalize to one form: github.com/rakudo/rakudo/blob/7bea...5023-L5039 | ||
wander: you can see it gets converted to infix:<≤> form if you dump AST: perl6 --target=ast -e 'infix:«≤»(4, rand)' and if you dump optimizer stage, you can see it gets converted: perl6 --target=optimize -e 'infix:«≤»(4, rand)' | 19:48 | ||
19:49
espadrine joined
|
|||
Zoffix | wander: unsure what you mean by "`if ($name eq infix:<≤>) [...] "when dealing with multi operator definition""`. The `$name eq infix:<≤>` won't be valid code in the optiimizer | 19:49 | |
wander | Zoffix, since we are able to convert_unicode_op_to_ascii when optimize_call, can we convert_unicode_op_to_ascii when define_multi_sub? | 19:55 | |
19:57
ryn1x joined
|
|||
wander | then both definition and use of there ops are equivalent, so they are aliases | 20:00 | |
Zoffix | wander: probably yes. But I don't know how. I'm a n00b at this. lizmat++ proposed doing something like that when the commit when it, so maybe she know how. Prolly should watch out for how it works out with user defined ops. Unless we define all Unicode ops as strictly aliases for ASCII ops (prolly make sense). IIRC there as an `is alias` trait lizmat made in the past but it disn't make the cut | 20:01 | |
huggable: alias | 20:02 | ||
huggable | Zoffix, Alias methods (with `aka` trait): irclog.perlgeek.de/perl6/2017-08-31#i_15093699 Condensed to an "also" trait: sub trait_mod:<is>(Method:D $m, :$also!) { my $c := $m.package; $c.^add_method($_,$m) for @$also } | ||
Zoffix | hm, that's for methods | ||
wander: FWIW we also have #perl6-dev channel where more devs who know this stuff might notice the discussion :) | 20:03 | ||
20:03
cdg joined
|
|||
Zoffix & for awhile | 20:03 | ||
20:05
troys_ is now known as troys
|
|||
wander | Zoffix, thank you for replies. | 20:16 | |
20:21
Nicolas__ joined,
Nicolas__ left
20:25
Nicolas42 joined
|
|||
Nicolas42 | \o | 20:26 | |
<--- Zoffix on step-brothers box. | |||
20:27
dataangel joined
|
|||
Nicolas42 | Gonna teach Perl 6 lulz | 20:27 | |
20:28
ryn1x left
20:30
ryn1x joined
|
|||
gfldex | perl6 -e 'my $s = "y\n" x 1024; loop { print $s }' | pv -r > /dev/null | 20:30 | |
any idea how to speed that ^^^ up further? | 20:31 | ||
context: matthias-endler.de/2017/yes/ | |||
20:33
andrzejku left
|
|||
Nicolas42 | Prolly my $s = "y\n" x 1024; my $fh := $*OUT; $fh.print: $s while 1; | 20:34 | |
20:34
cdg left
|
|||
Nicolas42 | There's an old reddit thread in r/perl6 something with "performance concerns with `yes`" and it has something similar to this. with Zoffix showing an example of how to optimize it more, but I think it was just that... with storing the handle and changing loop to while | 20:34 | |
20:35
mempko joined,
cdg joined
|
|||
gfldex | that is a good bit faster indeed | 20:37 | |
20:38
ryn1x left
20:39
ryn1x joined
20:43
weabot left
20:44
ryn1x left
20:54
ToastyNIck joined,
Nicolas42 left
20:58
skids left
21:00
ignis__away joined
21:05
ryn1x joined,
darkmorph left
21:09
troys is now known as troys_,
ignis__away left
|
|||
ToastyNIck | How do make it log in How can make it log in gist.github.com/ToastyNIck/4758980...7d7ed82d27 | 21:09 | |
21:11
ToastyNIck left
|
|||
Zoffix | lol | 21:13 | |
That's my sibling | |||
Total noob. A kid. So be nice, even with bad questions :) | |||
Probably gonna be about making a Discord bot | 21:14 | ||
21:23
ryn1x left,
someuser_ left,
ryn1x joined
21:28
mson left
21:30
rindolf left
21:31
troys_ is now known as troys
21:32
ryn1x left
|
|||
masak | Zoffix: Perl 6 is all about younger siblings ;) | 21:32 | |
21:37
ryn1x joined
|
|||
Zoffix | :) | 21:39 | |
Zoffix retreats to #perl6-dev | |||
\o | 21:40 | ||
21:40
Zoffix left
21:42
ryn1x left
|
|||
thunktone | \exit | 21:53 | |
21:58
thunktone left
21:59
cdg_ joined
22:02
cdg left
22:03
ryn1x joined
22:16
epony joined
22:19
Xliff left
22:22
setty1 joined
22:25
mson joined
22:33
mempko left
22:39
troys is now known as troys_
22:40
darkmorph joined
22:43
troys_ is now known as troys
22:50
ryn1x left
22:51
DarthGandalf left,
traxex left
22:53
ggoebel left
22:55
traxex joined
22:57
weabot joined
23:07
ggoebel joined
23:11
setty1 left
23:12
weabot left,
weabot joined
23:15
rba joined
23:20
BenGoldberg joined
23:25
timotimo left,
APic left
23:26
MasterDuke left,
araraloren_ joined
23:27
obfusk left,
ruoso____ left
23:28
obfusk joined,
araraloren left,
araralonre__ joined
23:30
nine left,
araraloren_ left,
TimToady left
23:31
nine joined
23:32
araraloren_ joined,
TimToady joined
|
|||
[equa] | how would I go about combining multiple regexps into a regex that matches them in order? e.g. turning /a/ and /b/ into /ab/ | 23:32 | |
23:34
araralonre__ left
23:35
cdg_ left,
DarthGandalf joined,
araralonre__ joined
23:37
araraloren_ left
23:38
Ben_Goldberg joined,
BenGoldberg left,
Ben_Goldberg is now known as BenGoldberg
23:39
araraloren_ joined
|
|||
[equa] | agh | 23:40 | |
guess I can work around it by turning into a function that tests each regex in order, I guess | |||
BenGoldberg | You can do my $a = qr/a/; my $b = qr/b/; my $combined = qr/$a$b/; | 23:41 | |
23:41
araralonre__ left
|
|||
BenGoldberg | Hmm, make that my $combined = qr/$a|$b/, since you want to match if any of them match. | 23:41 | |
[equa] | no, i want them in order | ||
thanks | |||
BenGoldberg | Welcome :) | 23:42 | |
23:42
araralonre__ joined
23:44
araraloren_ left,
araralonre__ left
23:45
wander left
23:46
araralonre__ joined
|
|||
[equa] | hmm, this is weird. I'm looping through the list of regexs and then adding them together via $final-regex = /$final-regex $_/. However, when I try to actually match something against the result, it just sits there and hangs forever | 23:47 | |
23:47
araralonre__ left
23:48
ryn1x joined
23:49
araralonre__ joined
|
|||
geekosaur | that's not right for perl 6 | 23:51 | |
23:51
araralonre__ left
23:52
araralonre__ joined
|
|||
geekosaur | // would do the match right away. you want qr//. and if the components are actually full regexes and not intended to be constant strings then you need <$x> to get them to interpolate as such | 23:52 | |
23:53
timotimo joined
|
|||
geekosaur | but for this I think the better route is to build up a string and qr/<$whatever>/ at the very end | 23:53 | |
to compile it into a regex | |||
[equa] | that sounds like the best choice | 23:54 | |
timotimo | build up the regex with QAST nodes :P | 23:55 | |
geekosaur | m: my @rs = <abc def ghi>; say [~] @rs | ||
camelia | abcdefghi | ||
23:55
telex left
23:56
araraloren_ joined
|
|||
geekosaur | ...that sounds like a good way to go QASTers up >.> | 23:56 | |
timotimo | hm? | ||
geekosaur | sorry, bad pun | 23:57 | |
timotimo | aye, please explain though? | ||
geekosaur | 'casters up' = shit done broke | 23:58 | |
timotimo | what region is that slang from? | ||
23:58
araralonre__ left
|
|||
geekosaur | which is what you;re going to get if someone not familiar with QAST tries oit | 23:58 | |
23:58
telex joined
|
|||
[equa] | geekosaur: works great, thanks | 23:59 | |
23:59
araralonre__ joined
|
|||
timotimo | if you want to be able to capture stuff, though, you have to EVAL, don't you? | 23:59 |