»ö« 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:00
lelf` left
00:02
cdg_ joined
00:06
lelf` joined,
cdg left
00:07
cdg_ left
00:08
noganex left
00:10
lelf` left
00:12
cognominal joined
00:15
cog__ left
00:16
lelf` joined
00:19
cdg joined
00:21
lelf` left
00:23
cdg left
00:25
markong left,
w_richard_w joined
00:26
lelf` joined
00:30
lelf` left,
pharv left
00:31
pharv joined
00:32
othzu left
00:35
pharv left
00:36
lelf` joined
00:39
pharv joined
00:40
lelf` left
00:42
comborico1611 left
00:43
pharv left
00:46
cdg joined,
lelf` joined,
pierre_ joined
00:47
aborazmeh joined,
aborazmeh left,
aborazmeh joined
00:51
lelf` left
00:54
w_richard_w1 joined
00:55
w_richard_w left
00:56
lelf` joined
00:59
lookatme joined
01:00
lelf` left
|
|||
tbrowder_ | stmuk: i just filed an issue with “rakudup”, it looks like “$dir” on line 31 is undefine. | 01:01 | |
.tell stmuk_ see new issue for rakudup | 01:03 | ||
yoleaux | tbrowder_: I'll pass your message to stmuk_. | ||
01:04
cdg left
01:05
kurahaupo joined
01:06
lelf` joined
01:10
lelf` left
01:16
lelf` joined
01:19
imcsk8 joined
01:21
lelf` left
01:26
lelf` joined
01:27
w_richard_w joined
01:29
w_richard_w1 left
01:31
lelf` left,
MasterDuke joined
01:36
lelf` joined
01:37
pierre_ left
01:40
lelf` left
01:43
kalkin--- joined,
Kaiepi left,
pierre_ joined
01:46
lelf` joined
01:47
kalkin-- left
01:50
lelf` left
01:54
enheh left
01:56
lelf` joined
02:01
lelf` left
02:06
rouking left,
lelf` joined
02:07
cdg joined
02:11
lelf` left
02:12
cdg left
02:16
lelf` joined
02:17
cdg joined
02:20
lelf` left
02:26
lelf` joined
02:28
Kaiepi joined
02:31
lelf` left
02:36
lelf` joined
02:41
lelf` left
02:45
ilbot3 left
02:46
lelf` joined
02:50
lelf` left
02:51
aborazmeh left
02:53
pierre_ left
02:54
sharksoft left
02:55
ilbot3 joined,
ChanServ sets mode: +v ilbot3
02:56
lelf` joined
03:00
lelf` left
03:03
pierre_ joined
03:06
lelf` joined
03:08
pierre_ left,
pierre_ joined
03:11
lelf` left
03:16
lelf` joined
03:18
pharv joined
03:21
lelf` left
03:22
cdg left,
pharv left
03:24
kaare__ joined,
kaare_ left
03:26
lelf` joined
03:29
kaare__ is now known as kaare_
03:30
lelf` left
03:36
lelf` joined
03:40
lelf` left
03:46
lelf` joined
03:50
ufobat___ joined,
lelf` left
03:54
ufobat_ left
03:56
lelf` joined
04:01
lelf` left,
wamba joined
04:02
Liuweic joined
|
|||
Liuweic | join | 04:02 | |
syslog | |||
help | 04:03 | ||
say 49 + 9 | |||
evalable6 | 58 | ||
Liuweic | --help | ||
7.WHAT | 04:04 | ||
7 %% 4 | |||
AlexDaniel | Liuweic: you have to say it :) | ||
say 7 %% 4 | |||
evalable6 | False | ||
AlexDaniel | or even better: | ||
m: say 7 %% 4 | |||
camelia | False | ||
AlexDaniel | (where m: triggers the bot consistently) | 04:05 | |
04:06
lelf` joined,
khw left
|
|||
AlexDaniel | huggable: try | 04:07 | |
huggable | AlexDaniel, f.perlbot.pl/#perl6 tio.run/#perl6 glot.io/new/perl6 ideone.com/ | ||
AlexDaniel | Liuweic: you can also use these websites ↑ to try things out | ||
04:10
lelf` left
04:16
lelf` joined
04:20
lelf` left
04:25
johnl_ joined
04:26
lelf` joined,
pierre_ left
04:27
vike left
04:30
Kaiepi is now known as BeastieBot,
lelf` left
04:31
BeastieBot is now known as Kaiepi
04:36
lelf` joined
04:39
yosh_ joined,
xtreak joined
|
|||
yosh_ | sup | 04:40 | |
04:40
lelf` left
|
|||
AlexDaniel | o/ | 04:41 | |
04:42
eliasr left
04:46
lelf` joined
|
|||
Geth | doc: cd3f6827a0 | cfa++ | doc/Language/faq.pod6 Clarify that contextualisers, .list and .item deal with context, not flattening |
04:48 | |
synopsebot | Link: doc.perl6.org/language/faq | ||
04:51
lelf` left
04:55
johnl_ left
04:56
lelf` joined,
kurahaupo left
05:00
lelf` left
05:06
lelf` joined
05:10
lelf` left
|
|||
buggable | New CPAN upload: PDF-Class-0.1.0.tar.gz by WARRINGD cpan.metacpan.org/authors/id/W/WA/...1.0.tar.gz | 05:11 | |
05:15
lalitmee joined
05:16
lelf` joined
05:18
AlexDaniel left
05:19
imcsk8 left,
imcsk8 joined
05:20
skids left
05:21
lelf` left
05:24
cdg joined
05:26
lelf` joined
05:28
cdg left
05:30
w_richard_w left,
w_richard_w joined,
lelf` left
05:32
pharv joined
05:35
wamba left
05:36
lelf` joined,
pharv left
05:38
curan joined
05:40
lelf` left
05:43
lelf` joined,
pierre_ joined
05:47
jeromelanteri joined
05:48
lelf` left
05:50
lalitmee left
05:58
jeromelanteri left
05:59
troys left
06:00
pierre_ left
06:02
pierre_ joined
06:12
Kaiepi is now known as BeastieBot
06:14
sauvin_ joined
06:18
TEttinger left,
sauvin_ is now known as bocaneri,
domidumont joined
06:19
TEttinger joined
06:21
aindilis` left
06:26
domidumont left
06:27
domidumont joined
06:28
wamba joined,
xtreak left
06:29
xtreak joined
06:31
xtreak left,
domidumont left,
xtreak joined
06:36
wamba left
06:38
darutoko joined
06:50
rindolf joined
06:59
quotable6 left,
quotable6 joined
07:00
yosh_ left
07:01
domidumont joined
07:04
Alikzus left
07:05
Alikzus joined
07:10
teatime joined
07:11
enheh joined
07:13
rindolf left,
rindolf joined
|
|||
teatime | Is the built-in command-line argument parsing stuff, exposed for use in parsing command lines that did not come from the program's actual command line? | 07:14 | |
07:15
lowbro joined
|
|||
teatime | for example, would it be possible to use it to create a unix/windows-like syntax for an irc bot | 07:15 | |
07:15
lowbro left,
lowbro joined
07:16
parv joined
07:28
imcsk8 left,
ufobat___ is now known as ufobat
07:36
domidumont left
07:37
domidumont joined
|
|||
lookatme | m: sub MAIN(Str $file) { echo $file; }; &MAIN.wrap(sub (|c) { nextwith("file A"); }); | 07:37 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Undeclared routine: echo used at line 1 |
||
lookatme | m: sub MAIN(Str $file) { put $file; }; &MAIN.wrap(sub (|c) { nextwith("file A"); }); | ||
camelia | Usage: <tmp> <file> |
||
lookatme | m: sub MAIN(Str :$file) { put $file; }; &MAIN.wrap(sub (|c) { nextwith(file => "file A"); }); | 07:38 | |
camelia | Cannot invoke object with invocation handler in this context in block <unit> at <tmp> line 1 |
||
teatime | oh, right.. I forgot about that.. so it has to be named MAIN, still? that's actually OK though, for my use. | ||
07:38
imcsk8 joined
|
|||
lizmat clickbaits p6weekly.wordpress.com/2018/03/12/...less-gems/ | 07:38 | ||
lookatme | yeah, maybe you can HOOK it :) | ||
there are some module you can try . I think | 07:39 | ||
grep: getopt | |||
greppable6 | lookatme, 155 lines, 16 modules: gist.github.com/e03db5edc08a6c188f...0d11167e4a | ||
lookatme | you can trying my module Getopt::Advance, pass things not from actual command line to module interface | 07:41 | |
07:42
noganex joined
|
|||
teatime | I know about getopt et al., was just wondering if Perl6's MAIN stuff was reusable | 07:42 | |
I will def. check out your module, though. | |||
lookatme++ | |||
hehe, yay, I got to give it its first github star | 07:43 | ||
lookatme | thanks | ||
MAIN is enough for most case | |||
teatime | it does work surprisingly well | 07:44 | |
when I first learned Perl6 was going to build-in argument parsing | |||
I thought it was a bad idea, because I figured it would be difficult to get right, and if it was a built-in shouldn't have obvious flaws/deficiencies | 07:45 | ||
lookatme | yeah, that's a useful feature :) | ||
teatime | but then I looked at it, and couldn't really find anything to complain about, heh | ||
lookatme | though I want some more flexible style like `-foo 2` rather than `-foo=2` | 07:46 | |
so I create my module :) | |||
teatime | sure | ||
07:51
parv left
07:52
robertle joined
07:57
pierre_ left
07:58
enheh left,
enheh joined
08:03
pierre_ joined
08:04
kurahaupo joined
08:07
pierre_ left
08:09
enheh left
08:14
pierre_ joined
08:18
BeastieBot is now known as Kaiepi
08:23
xtreak left,
cdg joined
08:26
xtreak joined
08:27
cdg left
08:29
lizmat left
08:30
xtreak left
08:34
dakkar joined
08:35
FROGGS joined
|
|||
FROGGS | Hi, is anybody working on a Net::LDAP port, or does somebody know about something that allows me to authenticate users against ActiveDirectory? | 08:36 | |
ufobat misses Net::LDAP as well | 08:37 | ||
FROGGS | how hard could it be? :P | ||
ufobat: would you like to join the fight? | |||
ufobat | uhm! | 08:38 | |
i am missing complete openssl bindings even more :-( | 08:39 | ||
FROGGS | :/ | ||
ufobat | why not inline::perl5 net::ldap? | ||
FROGGS | yeah, I could give that a try | ||
I probably should anyway... there are a bunch of Perl 5 modules in the Net::LDAP dist that would need porting | 08:41 | ||
08:41
cog_ joined
|
|||
FROGGS | I hope Inline::Perl5 plays nicely with cro | 08:41 | |
ufobat | net::ldap is huge, thats why i said "uhm" | ||
08:42
lizmat joined,
cognominal left
|
|||
ufobat | ping me if you really want/need to port it | 08:43 | |
FROGGS | will do | 08:44 | |
ufobat | a friend of mine is writing a bailador app and needs net::ldap as well, i'am going to ask him as well :) | ||
FROGGS | \o/ | 08:45 | |
08:46
xtreak joined
|
|||
FROGGS | all what I need is: Net::LDAP->new($server)->bind(...)->code | 08:47 | |
when code is zero, the user was authenticated successfully... | |||
I pull out information about users in another project, but I do not plan to port that to Perl 6 anytime soon | 08:48 | ||
08:52
xtreak left
08:55
scimon joined
09:05
lookatme left
09:06
FROGGS left
|
|||
ufobat | sergot, is there a specific reason why the PR github.com/sergot/openssl/pull/49 is not yet merged, can i help? i am looking for some missing parts in the openssl bindings | 09:06 | |
e.g. github.com/sergot/openssl/issues/39 and the ability to set the verify_callback | 09:07 | ||
El_Che | Net::LDAP, where Pull Requests got to die | 09:11 | |
09:13
pierre_ left
09:16
xtreak joined
09:19
FROGGS joined
09:22
kurahaupo_ joined
09:24
kurahaupo left,
kaare_ left
09:25
kaare_ joined
09:27
wamba joined
09:28
cdg joined
09:29
cdg_ joined
09:31
maettu left,
cdg__ joined
09:32
cdg left
09:33
kaare_ left,
pharv joined
09:34
kaare_ joined,
cdg_ left
09:35
cdg__ left
09:37
maettu joined
09:38
pierre_ joined,
pharv left
09:39
kaare_ left,
kaare_ joined
09:45
kaare__ joined
09:46
kaare_ left
09:49
kaare__ left
09:50
kaare__ joined
09:52
xtreak left
09:57
wamba left
10:04
pmurias joined
10:11
w_richard_w left
|
|||
stmuk_ | . | 10:19 | |
yoleaux | 01:03Z <tbrowder_> stmuk_: see new issue for rakudup | ||
FROGGS | ufobat: the Net::LDAP code is horror | 10:24 | |
El_Che | FROGGS: what I would do is setup something that talks to ldap and offer oauth/saml2 auth | 10:25 | |
so your project doesn't depend on ldap | |||
FROGGS | hmmm | ||
10:26
xtreak joined
|
|||
El_Che | if you're a C heron you could bind libldap through nativecall | 10:28 | |
10:28
aindilis joined
|
|||
moritz | heron, that's a bird, right? | 10:33 | |
El_Che | moritz: one with style, at that | 10:34 | |
10:34
xtreak left
10:35
kaare__ left
10:36
kaare__ joined
|
|||
FROGGS | hmmm, I do love C and NativeCall... | 10:44 | |
El_Che | FROGGS: to get you started, generate the LDAP perl 6 constants from the Net::LDAP doc :) : gist.github.com/nxadm/2c5a415ea0c3...768bac7ddf | 10:54 | |
FROGGS | nice :o) | 10:56 | |
10:56
Zoffix joined
|
|||
Zoffix | m: &[RRRRRRRRZZZZZZZZZZZZZZZZZZRRRRRRRRRSSSSSSSS+] | 10:56 | |
camelia | ===SORRY!=== No such method 'CALL-ME' for invocant of type 'Int' |
||
Zoffix | Do I have too much blood in my coffee veins or why is it executing it? I just want the Callable object, not to actually call anything | 10:57 | |
m: say &[RRRRRRRRZZZZZZZZZZZZZZZZZZRRRRRRRRR,] | |||
camelia | -> |args is raw { #`(Block|67228960) ... } | ||
El_Che | FROGGS: or I could give you the result: gist.github.com/nxadm/5acd0d322374...893a791cf0 :) | ||
Zoffix | Ah, it's the S meta op doing things looks like | ||
FROGGS | El_Che: awesome, thank you | ||
10:58
domidumont left
|
|||
Zoffix | R#1616 | 11:01 | |
synopsebot | R#1616 [open]: github.com/rakudo/rakudo/issues/1616 Callables for auto-generated metaops blow up with `S` metaop | ||
11:01
Zoffix left
|
|||
El_Che | FROGGS: this was a handy doc for the C sdk: www.yolinux.com/TUTORIALS/LinuxTuto...pment.html | 11:02 | |
11:03
dogbert17 left
11:14
araraloren joined
|
|||
stmuk_ | .tell tbrowder_ thanks | 11:15 | |
yoleaux | stmuk_: I'll pass your message to tbrowder_. | ||
11:15
wamba joined,
xtreak joined
11:18
cdg joined,
mr_ron joined
|
|||
mr_ron | m: gist.github.com/ronaldxs/5303df1f7...de6d38e56f | 11:19 | |
camelia | MoarVM panic: Memory allocation failed; could not allocate 154928 bytes | ||
mr_ron | seems to hang - rakudobug ? | ||
11:22
cdg left
|
|||
jnthn | On `FETCH => method () { say self.WHAT; $storage * 2 },` the self.WHAT will try to defereence self, which is the Proxy, thus calling FETCH | 11:23 | |
yoleaux | 04:04Z <samcv> jnthn: where do I need to set gc mark? not sure where it is github.com/MoarVM/MoarVM/pull/815#...3675573R40 | ||
jnthn | (So it's an infinite recursion, which eventually runs out of memory) | ||
masak | mr_ron: curious question - did you try it first without the `say self.WHAT;` and then notice it started hanging with that line? | 11:24 | |
11:24
FROGGS left
|
|||
mr_ron | masak: yes | 11:25 | |
araraloren | :) yeah self will calling FETCH | ||
mr_ron | jnthn: I understand it's a recursive loop ... still contemplating exactly why | 11:26 | |
jnthn | Because a Proxy is an item container, and .WHAT on an item container fetches from the container | ||
m: my $a = 42; say $a.WHAT; | 11:27 | ||
camelia | (Int) | ||
jnthn | That's why you get Int, not Scalar, here. | ||
araraloren | m: gist.github.com/araraloren/dfd54ba...9dcef89388 | 11:28 | |
camelia | 0 1 2 3 (Int) (Int) (Int) 4 5 6 7 8 9 10 11 8 |
||
mr_ron | don't understand why araloren example doesn't recursively loop too ... sigh ... | 11:30 | |
araraloren | :) I add a `if` there | 11:31 | |
an | |||
It will stop trying to saying self.WHAT when $count > 3 | |||
mr_ron | got it - stops looping for $count > 3 ... thanks | 11:32 | |
11:33
pierre_ left,
athenot joined,
pierre_ joined
|
|||
mr_ron | So self refers to the proxy but .WHAT fetches from container. Didn't expect .WHAT to fetch from container. | 11:35 | |
masak | m: my $a = 42; say $a.VAR.WHAT | 11:37 | |
camelia | (Scalar) | ||
masak | that's how you can prevent fetching from the container | ||
mr_ron | thanks ! | ||
masak | dunno why you're so keep on printing out (Proxy) there in your code, though | ||
keen* | |||
:) | 11:38 | ||
11:38
pierre_ left
|
|||
jnthn | Probably to understand what's happening :) | 11:38 | |
mr_ron | looking at rt.perl.org/Ticket/Display.html?id=126198 | ||
masak | oh; in that case, carry on ;) | 11:39 | |
araraloren | so it should print (Proxy) ? | ||
masak | if you add .VAR it should, yes | ||
if you don't have .VAR, it should loop infinitely | |||
because you're (implicitly) calling a thing from within itself | 11:40 | ||
araraloren | oh | ||
clear ! | 11:41 | ||
11:42
athenot_ joined
11:44
athenot left
11:45
pmurias left
11:46
markong joined
11:54
wamba left
11:59
xtreak left
12:02
domidumont joined
12:12
aindilis left
12:16
domidumont left
12:25
dogbert17 joined
12:28
Liuweic left
12:30
mcmillhj joined
12:32
pharv joined
12:35
eliasr joined
12:37
pharv left
12:43
domidumont joined
12:45
domidumont left
12:46
domidumont joined
12:48
vcv joined,
cdg joined
12:53
cdg left
12:56
cdg joined
12:58
pierre_ joined,
aborazmeh joined,
aborazmeh left,
aborazmeh joined
13:02
mr_ron left
13:18
pmurias joined
13:23
sharksoft joined,
aborazmeh left
13:36
kurahaupo_ left,
kurahaupo joined
13:42
kurahaupo_ joined
13:43
greppable6 left,
greppable6 joined,
kurahaupo_ left,
kurahaupo_ joined,
kurahaupo left
13:47
kurahaupo_ is now known as kurahaupo
13:59
jeromelanteri joined
14:13
mcmillhj left
14:15
mcmillhj joined
14:17
mr_ron joined
|
|||
Geth | doc: 9735277593 | (Zoffix Znet)++ | doc/Type/Junction.pod6 Use better head |
14:22 | |
synopsebot | Link: doc.perl6.org/type/Junction | ||
14:24
jeromelanteri left
14:25
Celelibi left
|
|||
Geth | doc: 3745e866ca | (Will "Coke" Coleda)++ | 2 files remove dupe words |
14:27 | |
doc: b6fab0e369 | (Will "Coke" Coleda)++ | doc/Language/functions.pod6 Can't test <unit>s with our current testing setup |
|||
synopsebot | Link: doc.perl6.org/language/functions | ||
cfa | morning | 14:30 | |
[Coke]: thanks (and oops) | |||
masak | good afternoon, cfa | ||
cfa | hi masak | ||
[Coke] | cfa: no worries. | 14:31 | |
cfa: github.com/perl6/doc/blob/master/C...ning-tests shows a way to run the extended tests on just your local changes, btw. | 14:32 | ||
cfa nods | |||
[Coke] | but I run it every few days or so, not a huge deal | 14:33 | |
cfa | in the MAIN case i copy-pasted the example and didn't think to test whether `unit` would cause problems | ||
[Coke] notes he's working on the duplicates test, which is currently borked. nearly there. | |||
cfa | neat | 14:36 | |
btw, for anyone using vim-perl6: .pm6 files are now searched for before .pm (when using gf etc.) | 14:37 | ||
14:39
curan left
14:43
pierre_ left
|
|||
timotimo | oh, are you developing vim-perl6 per chance? | 14:44 | |
14:47
mcmillhj left,
mcmillhj joined
14:48
pierre_ joined,
pierre_ left
|
|||
Geth | doc: 9f6d9bf61a | (Zoffix Znet)++ | doc/Type/Junction.pod6 Document Junction.Str/.gist/.perl Propspec: github.com/perl6/roast/commit/177ce4d52b |
14:48 | |
synopsebot | Link: doc.perl6.org/type/Junction | ||
doc: d4109600bc | (Zoffix Znet)++ | 2 files Document output routines' behaviour with Junctions Propspect: github.com/perl6/roast/commit/6a8fc07878 Rakudo impl: github.com/rakudo/rakudo/commit/b62e0eb7a7 github.com/rakudo/rakudo/commit/07616effd1 github.com/rakudo/rakudo/commit/355b2eb5ff |
14:49 | ||
14:51
comborico1611 joined
|
|||
cfa | timotimo: nah, i just contributed a patch | 14:52 | |
timotimo | OK | ||
because it'd be really neat if someone could unbreak the syntax highlighter for comments that have = or - in them or whatever it is | 14:53 | ||
14:53
releasable6 left
|
|||
timotimo | many = or -, i should say | 14:53 | |
14:53
releasable6 joined,
ChanServ sets mode: +v releasable6
|
|||
timotimo | there must be some catastrophic backtracking or something | 14:53 | |
cfa | timotimo: did you file an issue? i found the maintainer very helpful, responsive | ||
timotimo | i definitely should have | 14:58 | |
is there some way i could include debug output of some kind? | 14:59 | ||
15:02
wamba joined
15:09
AlexDaniel joined
15:10
skids joined
15:18
araraloren left
15:31
Kaiepi left
15:32
Kaiepi joined
15:38
troys joined
15:41
dakkar left,
dakkar joined
|
|||
Geth | doc: cabc1e5e6d | (Zoffix Znet)++ | doc/Type/Pair.pod6 Fix shown output |
15:47 | |
synopsebot | Link: doc.perl6.org/type/Pair | ||
Geth | doc: c9414514f5 | (Zoffix Znet)++ | doc/Type/Pair.pod6 Not Pair.freeze is proposed for removal in 6.d Proposal: github.com/perl6/6.d-prep/commit/ce7fab350a |
15:48 | |
15:49
athenot_ left
15:50
Kaiepi left,
athenot joined,
Kaiepi joined
15:52
sharksoft left
15:56
Kaypie joined,
Kaiepi left
15:58
mcmillhj left
|
|||
cfa | timotimo: not sure | 16:00 | |
another hmm, this time re: the list contextualiser vs. list sub | 16:01 | ||
m: my @a = <one two three>; my $i = @a.item; .say for list($i), $i.list, @($i) | |||
camelia | ([one two three]) [one two three] [one two three] |
||
timotimo | m: my @a = <one two three>; my $i = @a.item; .perlsay for list($i), $i.list, @($i) | 16:02 | |
camelia | No such method 'perlsay' for invocant of type 'List' in block <unit> at <tmp> line 1 |
||
timotimo | m: my @a = <one two three>; my $i = @a.item; .perl.say for list($i), $i.list, @($i) | ||
camelia | ($["one", "two", "three"],) ["one", "two", "three"] ["one", "two", "three"] |
||
timotimo | that's clearer | 16:03 | |
16:03
khw joined
|
|||
cfa | yeah, but this is re: design.perl6.org/S03.html#line_2537 | 16:03 | |
where list contextualizer is used to refer to the list routine | |||
whereas its behaviour differs from @() and .list | |||
16:03
FROGGS joined
|
|||
FROGGS | ufobat: now I've got a short module that lets me authenticate a user against ActiveDirectoy... interested? | 16:04 | |
16:04
mcmillhj joined
16:07
Zoffix joined
|
|||
ufobat | aye :-) | 16:08 | |
FROGGS | gist.github.com/FROGGS/bafc8454a14...0048dabf47 | ||
16:08
natrys joined
|
|||
ufobat | net::ldap::simple? | 16:08 | |
looks good! | 16:09 | ||
16:10
mcmillhj left
|
|||
cfa | updated my previously confus{ed,ing} comment on github.com/perl6/doc/issues/1711 | 16:11 | |
Zoffix | cfa: note the message at the top of that page. Those documents are historical and in many places differ from today's language. The `@` contextulizer in Rakudo calls .cache method (doesn't look like the spec mandates it; only the return value), which on all but Seq type calls .list method, which returns a Positional type (so, say, Int is not Positional so it'd be listified and returned as (Int,), while List and | 16:14 | |
Array are position so those would be returned as List and Array). When it comes to &list the sub, there's inconsistency with how it handles Seq (it just returns a Seq, despite it not being Positional). It's R#1344 which is blocked by R#1355 | |||
synopsebot | R#1344 [open]: github.com/rakudo/rakudo/issues/1344 [@LARRY] What is a "list"? | ||
R#1355 [open]: github.com/rakudo/rakudo/issues/1355 +@a/+a slurpies produce inconsistent results | |||
16:15
mr_ron left
|
|||
cfa | Zoffix: oh neat, didn't realise this was a bug | 16:15 | |
16:15
mr_ron joined
|
|||
cfa | Zoffix: i'm only mentioned s03 because you referred to it in the ticket | 16:15 | |
mentioning* | 16:16 | ||
16:21
comborico1611 left
|
|||
ufobat | FROGGS, (17:16:35) Felix: gute arbeit | 16:23 | |
FROGGS | \o/ | 16:25 | |
16:25
mcmillhj joined
|
|||
cfa | Zoffix: added a note to the issue | 16:27 | |
Zoffix | m: dd cache 1, 2, 3; dd (1, 2, 3).cache | 16:29 | |
camelia | [1, 2, 3] (1, 2, 3) |
||
Zoffix | ZofBot: the joys of over-engineering! | 16:30 | |
ZofBot | Zoffix, And went up the stairs and saw a sign saying Platform 1 and there was pointing at a glass door so went through it, and someone bumped into me again with a suitcase and made another noise like a dog barking, and they said, “Watch where the hell you’re going,” but pretended that they were just o | ||
Zoffix | item, cache, pair, hash, list. Do we got any others? | 16:32 | |
ah, slip, bag, mix, set | |||
cfa | eep | ||
16:33
bisectable6 left,
bisectable6 joined
16:34
domidumont left
16:37
pharv joined
|
|||
Zoffix | cfa: FWIW, the ticket only mentions inconsistency in `item Seq:D` vs `Seq:D.item`. I'm spectesting a fix for the other problem you showed. | 16:37 | |
aaand it's blocked :( unless I did something wrong | 16:38 | ||
16:38
sharksoft joined
|
|||
Zoffix | ah | 16:38 | |
16:39
lowbro left
|
|||
cfa | Zoffix: thanks | 16:39 | |
16:41
pharv left,
Kaypie left
16:42
pharv joined
16:43
Kaiepi joined
|
|||
[Coke] | Zoffix: How's it going? | 16:45 | |
Zoffix | [Coke]: with what? | 16:46 | |
[Coke] | Just in general. Thanks for all the work you're putting in, I appreciate it. | ||
16:47
pmurias left
|
|||
Zoffix | m: dd hash Map.new | 16:50 | |
camelia | Hash % = {} | ||
Zoffix | deep the rabbit hole goes >_< | ||
[Coke] didn't know we had a 'hash' keyword. operator? | 16:51 | ||
Zoffix | m: dd pair 1, 2 | 16:52 | |
camelia | 1 => 2 | ||
Zoffix | I didn't know we had `pair` until recently. | ||
There's like a billion waits to make Pairs | |||
s/waits/ways/; | |||
huggable: colonpair | |||
huggable | Zoffix, All the shortcuts of colonpairs: twitter.com/zoffix/status/839807414211854337 | ||
16:56
smash_ is now known as smash
16:59
sharksoft left
|
|||
cfa | also, +1 to [Coke]'s comment | 17:03 | |
Zoffix | now blows up setty tests. Maybe broken tests. Will look later at it | 17:08 | |
|4h coercers fixes gist.github.com/zoffixznet/0dbeeaa...9a85b5ec90 | |||
ZofBot | Zoffix, Will remind you on 2018-03-13T16:08:45.766154-05:00 about coercers fixes gist.github.com/zoffixznet/0dbeeaa...9a85b5ec90 | ||
17:08
Zoffix left
17:10
robertle left
17:15
Kaiepi left,
Kaiepi joined
17:21
pharv left,
pharv joined
17:22
pharv left,
pharv joined
17:23
sharksoft joined
17:30
scimon left
17:33
mr_ron left
17:34
mr_ron joined
17:35
dakkar left
17:47
mcmillhj left
17:51
pharv left
17:55
pharv joined
17:58
mcmillhj joined
17:59
grondilu joined
18:00
domidumont joined
18:01
domidumont left
18:03
mcmillhj left,
domidumont joined,
domidumont left
18:04
vcv left
18:07
mcmillhj joined
|
|||
lichtkind | zoff | 18:12 | |
ah no zoffix there | 18:13 | ||
18:14
cdg left,
cdg joined
18:18
comborico1611 joined,
cdg left
|
|||
timotimo | you can just write his name and he'll get your message delivered by his trusty bot | 18:19 | |
El_Che | just don't say it 3 times in a row... | ||
you never know | |||
18:21
Zoffix joined
|
|||
Zoffix | lichtkind: what? | 18:21 | |
18:24
bocaneri left
|
|||
Zoffix | Math::Vector pr? It ain't my module, bruh | 18:24 | |
18:25
sharksoft left
|
|||
lichtkind | Zoffix but you seems to have admin rights | 18:27 | |
Zoffix | eco: Math::Vector | ||
buggable | Zoffix, Math::Vector 'Vector math class': github.com/colomon/Math-Vector | ||
Zoffix | lichtkind: ^ that module? No, I don't... "You’re editing a file in a project you don’t have write access to." | 18:28 | |
There are a couple of my commits, but they were merged via PRs | |||
lichtkind | i was checking if github automatically creates a clone if i try to do that | ||
Zoffix | It does. | 18:29 | |
lichtkind | so i have to make pr as well to colomon, i currently do math::matrix and at least want to ensure interoperability | 18:33 | |
18:34
kaare_ joined
18:35
Zoffix left
18:36
kaare__ left,
sharksoft joined
|
|||
lichtkind | zoffix: and i didnt seen any activity in long time so i hoped maybe get maintanane | 18:36 | |
nance | |||
18:38
pharv left,
pharv_ joined
18:42
TreyHarris left,
sharksoft left
18:44
sharksoft joined
18:48
sharksoft left
18:50
sharksoft joined
18:52
pharv_ left
18:54
pharv joined,
darutoko left,
vcv joined
|
|||
[Coke] | . o O (there's no one named nance here...) | 18:55 | |
18:55
sharksoft left
18:56
pharv left,
TreyHarris joined,
pharv joined
18:57
sharksoft joined
|
|||
lichtkind | maintenance | 18:59 | |
[Coke] was just being silly | 19:02 | ||
19:02
sharksoft left
19:04
sharksoft joined
19:05
grondilu left
19:07
bwisti joined
19:09
pharv left
|
|||
lichtkind | good | 19:10 | |
19:12
pharv joined,
greppable6 left,
greppable6 joined,
ChanServ sets mode: +v greppable6
|
|||
masak .oO( just a bunch of nansense ) | 19:14 | ||
19:20
Kaiepi left
19:21
Celelibi joined,
Kaiepi joined
19:22
Ven`` joined
19:23
pharv left,
Celelibi left
19:25
wamba left
19:26
Celelibi joined
19:29
Ven`` left
19:30
mr_ron left
19:31
pharv joined,
Ven`` joined
19:32
andrzejku joined,
Ven`` left
19:36
sharksoft left
19:38
mr_ron joined
|
|||
Geth | doc: bfe911449e | (JJ Merelo)++ | htmlify.p6 Exceptions → Exception closes #659 |
19:42 | |
19:47
sharksoft joined
|
|||
Geth | perl6.org: 605bc928b7 | (Zoffix Znet)++ (committed using GitHub Web editor) | source/community/irc.html Link synopse bot's repo Updates github.com/perl6/doc/issues/711 |
19:50 | |
19:51
sharksoft left
19:53
pierre_ joined
19:58
pierre_ left
19:59
rightfold joined
20:01
cdg joined
|
|||
rightfold | Can I do blocking I/O in a Cro HTTP request handler? In particular, a blocking Native call. | 20:01 | |
timotimo | you could ask in #cro as well | 20:02 | |
rightfold | Ah, I didn't see that mentioned on the website, thaniks. | ||
I'll ask there. :) | |||
timotimo | also, i'd assume you can whenever start { do some work } { do something with the result } | ||
n.b. it's been a while since i last wrote crode | 20:03 | ||
20:04
cdg left
20:05
cdg_ joined
20:06
athenot left
20:07
athenot joined
20:09
pharv left
20:11
pharv joined
20:12
andrzejku left
20:17
pharv left
20:18
mr_ron left
20:19
espadrine joined,
pharv joined
|
|||
tony-o | m: mkdir 'lib'; 'lib/A.pm6'.IO.spurt('class A { has $.x = 5; }'); require ::('A'); my $a = ::('A').new; $a.x.say; | 20:21 | |
camelia | mkdir is disallowed in restricted setting in sub restricted at src/RESTRICTED.setting line 1 in sub mkdir at src/RESTRICTED.setting line 8 in block <unit> at <tmp> line 1 |
||
tony-o | oops | ||
20:29
andrzejku joined
20:31
mr_ron joined
20:42
pharv left
20:44
pharv joined
20:45
natrys left
20:52
athenot left
20:54
pharv left,
pharv joined
20:59
natrys joined
21:10
natrys left,
mcmillhj left
21:13
kurahaupo_ joined
21:15
comborico1611 left
21:16
kurahaupo left
21:23
andrzejku left,
FROGGS left
21:28
imcsk8_ joined,
pharv left,
aindilis joined
21:30
imcsk8 left
21:31
pharv joined
21:36
vcv left,
andrzejku joined
21:42
pharv left
21:45
Celelibi left
21:46
cdg_ left
21:51
pharv joined
21:52
green_ joined
21:54
andrzejku left
21:55
pharv left
21:56
pharv joined,
cdg joined
21:57
cdg left
21:58
mr_ron left
21:59
green_ left
22:02
pharv left,
pharv joined
22:06
mr_ron joined
22:07
cdg joined
|
|||
Geth | rakudo.org: dba91d1d8e | (Zoffix Znet)++ | templates/files-star-windows.html.ep Fix 404 |
22:08 | |
22:22
pharv left
22:27
pharv joined
|
|||
jnthn | A little announcement: 6guts.wordpress.com/2018/03/13/rem...or-moarvm/ | 22:30 | |
Geth | rakudo.org: fe1c642d38 | (Zoffix Znet)++ | 4 files Move Rakudo-Only option onto a separate page |
22:32 | |
lizmat | reddited it | 22:34 | |
Geth | rakudo.org: e19daa9918 | (Zoffix Znet)++ | 6 files Add footer social media icons |
22:55 | |
22:57
pharv_ joined,
pharv left
23:01
robertle joined
23:05
lichtkind left
23:10
kurahaupo_ left
23:17
lichtkind joined
23:20
rindolf left
23:26
cognominal joined,
cog_ left
23:36
thowe joined,
thowe left
23:39
thowe joined,
pharv_ left
23:40
pharv joined
23:41
thowe left
23:43
thowe joined,
thowe left
23:44
pharv left
23:46
thowe joined
|
|||
thowe | Can someone tell me how I would get the last day of a month using DateTime? Or is there a way? | 23:47 | |
cfa | m: say DateTime.new(year => 2018, month => 2).days-in-month | 23:50 | |
camelia | 28 | ||
cfa | thowe: ^^^ | ||
23:51
mr_ron left
|
|||
cfa | m: say DateTime.new(year => 2020, month => 2).days-in-month # leap year | 23:52 | |
camelia | 29 | ||
thowe | oh, yeah... duh | ||
Geth | rakudo.org: 21d478ea3a | (Zoffix Znet)++ | 2 files Add favicon |
||
thowe | I'm looking for some kind of last method or somsuch. I'm clearly not in the right state of mind for this. I should just go home. | ||
23:53
pharv_ joined
|
|||
thowe | cfa, Thank you, kind person of the net | 23:53 | |
timotimo | thowe: do you know .truncated-to? you can easily .earlier :1day i think | ||
i mean like take the month you're interested in, truncate to month, go forwards one month, go backwards 1 day | 23:54 | ||
thowe | I'm just looking at it now as I want to re-write my invoice calculator in Perl6. | ||
They keep throwing hardware at the old one, and I need some way to make replacing it fun. So... Perl6. | |||
23:55
bwisti left
|
|||
thowe | the symbols like :1day suprise me. what are these things called? | 23:56 | |
if I know their name maybe I can find them in the docs. | 23:57 | ||
23:57
pharv_ left
|