»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 July 2018.
discord6 <RaycatWhoDat> m: say 42; 00:23
discord6 <RaycatWhoDat> Not sure if these messages are getting through. 00:24
<RaycatWhoDat> But it's a shame that the IRC bot doesn't trigger from the bridge
Elronnd I would probably add a separate evaluation bot to the discord, instead of having the irc bot respond 00:30
that way each network is self-contained
AlexDaniel and other bots? 00:35
we have 18 in whateverable project
no, the bots should understand messages from the discord bridge, that's for sure
tobs: ↑ something important to implement :) 00:36
RaycatWhoDat: we'll get it working eventually, sorry :)
tobs: somewhere in Whateverable.pm6 we need `irc-privmsg-channel` which redispatches messages from discord6 00:38
tobs: I think redispatching to this is going to work: github.com/perl6-community-modules...t.pm6#L233 00:39
it's a private method, but… so what?
.tell tobs colabti.org/irclogger/irclogger_lo...-08-26#l10 00:41
tellable6 AlexDaniel, I'll pass your message to tobs
Herby_ o/ 02:58
irced hey all i can't seem to make a simple grammer that parses a block of text surrounded by { } where the inside text may or may not be surrounded by { } without it matching beyond the closing } to a different closing curly brace. you dig? 04:11
like say for the case of illustration i define a struct within a struct in a c source code then outside of that initial struct i do the same. only i want to match the structs (outer structs) separately 04:14
seems the ~ surrounding operator will overreach 04:15
consider for those who know c++ a namespace. so i have like namespace MyDomain { blah blah namespace InnerDomain { blah blah struct { ... }; }; }; followed by maybe class MyClass { ... } 04:19
given grammar namespace { regex TOP { .* \n namespace <namespace-token> <block> .* } token namespace-token < <.ws> <ident>+ <.ws> } regex block { '{' ~ '}' .* } } I can match namespace-token and block but block includes the MyClass { ... } 04:21
surely such parsing is very common where one wants to capture a specific grouping. i imagine i can eventually find a regex book or something that gets into it. but is there some idiomatic perl6 way perhaps ? (using perl6 regex special sauce) 04:23
irced can't seem to spell grammar 04:27
irced not camlelia! 04:42
moritz irced: using .* in a grammar is basically always wrong
irced moritz: k, thanks for the tip
moritz at the very least, ask yourself what *can't* be inside the block (for example), and make a negated character class out of it 04:44
irced moritz: sounds like a good way to go about things if only i can stay inside the outside { }'s 04:45
maybe this particular problem is not one a regex would most facilely address. i suppose i could just iterate and track opening and closing braces 04:53
as an action perhaps 04:54
to get the best of both worlds
track == count 04:55
count == +/-
irced still explores the regex way tho. 04:56
irced has got some ideas about the negated character classes, try 1002 04:58
irced moritz: i'm making some progress here especially taking the focus off of too-encompassing metacharacters 05:10
moritz: thanks
irced k 05:23
ijl
El_Che irced: :q! to escape vim :) 07:35
irced El_Che: hahah 07:55
irced El_Che: funny how you got that seeing that i didn't write k hkl as jl would make a funny insertion 07:57
El_Che :) 08:00
jjmerelo Hey 08:08
Just to warn you about some bumpy road ahead for the documentation github.com/perl6/doc/milestone/2 08:09
We are going to be using mainly rba's staging servers and maybe others for testing, but behond the milestone there's going to be a serious overhaul of the documentation repo.
Your input (and help) is welcome during the process 08:10
rba jjmerelo: As part of your tasks, may you please publish to docs-prod as well, as I like to take over docs.perl6.org soon, to offload the temp server. 08:14
jjmerelo rba: OK 08:15
Geth doc: JJ assigned to antoniogamiz Issue Test documentable github.com/perl6/doc/issues/2972
8135a4442b | Antonio++ (committed using GitHub Web editor) | doc/Language/syntax.pod6
08:32
synopsebot Link: doc.perl6.org/language/syntax
doc: a857488049 | Antonio++ | doc/Type/independent-routines.pod6
Change the value of kind to Language, fix #2973
09:23
synopsebot Link: doc.perl6.org/type/independent-routines
migo Hi, I have problem with mysql connector, im returning iterator from method `return $!sth-aggregate.execute( $created-at, :finish ).hashes;` and then iterating over it using `for $message-stats-repository.aggregate($time-range) -> %row {...` and finally getting at "random" row error `Cannot look up attributes in a DB::MySQL::Native::ResultsBind type 09:49
object` any ideas what wrong?
tyil AlexDaniel: why fix it in IRC::Client, when the bot could check for / ^ [ "<" $nick ">" ]? "m:" / (or something like that, basically, check for an optional nick in front of m:) 09:50
Geth doc: 735a673f87 | (JJ Merelo)++ | htmlify.p6
Adds deprecation notice to disambiguation files closes #2974
09:59
jjmerelo hi, finanalyst
finanalyst jjmerelo: hi. 10:02
cpan-p6 New module released to CPAN! WebService::Soundcloud (0.0.8) by 03JSTOWE 10:21
Geth whateverable: taboege self-assigned Bots should respond to messages from the discord bridge github.com/perl6/whateverable/issues/356
4d49f92814 | Xliff++ | lib/Whateverable/Processing.pm6
11:45
whateverable: 889b1e8860 | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed using GitHub Web editor) | lib/Whateverable/Processing.pm6
Merge pull request #347 from Xliff/master

  - Process code in between ```...``` markdown tags.
AlexDaniel tyil: I didn't say it should be fixed in IRC client, I just pointed out which IRC::Client method should be called from whateverable 12:22
tyil ah, okay 12:23
AlexDaniel and I think tobs we'll get it working soon :)
will*
tyil awesome! 12:27
tobs no ETA yet. I wrote the code, now I have to write the tests :) 12:37
tellable6 2019-08-26T00:41:49Z #perl6 <AlexDaniel> tobs colabti.org/irclogger/irclogger_lo...-08-26#l10
AlexDaniel tobs: maybe somewhere here: github.com/perl6/whateverable/blob...e.pm6#L148 12:38
tobs: these are used for every bot
feel free to add tests to specific bots too :) 12:39
tobs oh great, I was looking in a completely different place
AlexDaniel tyil: which nick discord6 will use if discord6 is taken?
tyil: discord6` or discord6_ or … ? 12:40
AlexDaniel tobs: and you can probably do $!irc-client.nick(‘discord6’) 12:41
tyil discord6_ iirc, but we can test that 13:00
tyil AlexDaniel: also, it should always have the cloak "perl6/bot/discord6" 13:01
it seems to have become discord61
AlexDaniel hah 13:01
tobs the numbering seems fine. AFAICS Testable does the same thing
but I'm not sure if I should match all of discord6\d+… 13:02
AlexDaniel we can't check for cloaks yet…
tyil oh
that removes that option, then 13:03
AlexDaniel tobs: you can slap `1?` into the regex
might save us a little bit of frustation in the future :)
tobs: fwiw testable needed to have random nicknames (with numbers) when a single irc server was used for testing all the bots 13:04
tobs: now that it starts a new irc server on a random port each time, there's no need for that
tobs ah, ok 13:05
AlexDaniel which is why you can now do .nick(‘discord6’) without worrying that it'll clash with some other process :) 13:06
tobs: or, you can start a new irc-client: github.com/perl6/whateverable/blob...ble.t#L230
tobs e: use IRC::Client; IRC::Client.new.nick('x') 13:22
evalable6 (exit code 1) ===SORRY!===
Could not find IRC::Client at line 1 in:
file#/home/bisecta…
tobs, Full output: gist.github.com/5ff0213b96467cf6ec...7e8668cb25
tobs ah
anyway, did anybody use the .nick method recently? It gives me a "wrong number or arguments error"
AlexDaniel tobs: yes 13:24
tobs: I mean, this test works: github.com/perl6/whateverable/blob...ble.t#L251
tobs touché 13:25
Geth whateverable: f1563a651f | (Aleks-Daniel Jakimenko-Aleksejev)++ | 4 files
Fix code block processing in md files

This time with tests to make sure it actually works.
13:44
grondilu m: say "1 2 3" ~~ m/<digit> ** 3/ 13:46
evalable6 False
tellable6 gist.github.com/6d3386ef88a4f99e3b...4df6d63432
AlexDaniel grondilu: oh oops, that gist has a message for you 13:47
and tellable6 is acting weird :)
AlexDaniel e: gist.github.com/AlexDaniel/c5c1aa0...099d0f9b19 13:50
evalable6 41
41
grondilu m: say "1 2 3" ~~ m/[<digit>\s] ** 3/ 13:53
evalable6 False
grondilu m: say "1 2 3" ~~ m/[<digit><ws>] ** 3/
evalable6 「1 2 3」
digit => 「1」
ws => 「 」
digit => 「2」
ws => 「 」
digit => 「3」
ws => 「」
grondilu m: say "1 2 3" ~~ m/[<digit><.ws>] ** 3/
evalable6 「1 2 3」
digit => 「1」
digit => 「2」
digit => 「3」
grondilu I really thought this was simpler 13:54
m: grammar Foo { rule TOP { <digit>**3 } }; say Foo.parse: "1 2 3" 13:55
evalable6 Nil
grondilu m: grammar Foo { rule TOP { <digit>**3 } }; say Foo.parse: "123"
evalable6 「123」
digit => 「1」
digit => 「2」
digit => 「3」
grondilu m: grammar Foo { rule TOP { <digit> **3 } }; say Foo.parse: "1 2 3"
evalable6 「1 2 3」
digit => 「1」
digit => 「2」
digit => 「3」
grondilu oh my, the space is relevant here?
that seems LTA 13:56
AlexDaniel grondilu: but that's the point of using a rule, no? 13:57
grondilu I thought that on the contrary, spaces were relevant in tokens, not rules.
And I mean the space before the ** operator 13:58
basically I thought <foo>**number was the same as <foo> **number 13:59
apparently not :/
grammars are hard. Everytime I try to write one, I struglle with things like that :/ 14:00
moritz grammars are a whole programming topic that you have to learn through practice, much like writing good OO code is 14:03
tadzik oh, it took me ages too :/ 14:08
timotimo tbf our tooling around grammars could use some improvement 14:12
grondilu yeah, there is a debugger but it's in module space. Not sure it should not be in the core or something. 14:14
timotimo not necessary, i think
grondilu maybe not a debugger, but a failure to parse should be a bit more verbose than just returning "Nil". 14:15
timotimo that's just one thing, but yeah 14:16
there's been discussion on making failed parses return a Failure object with extra info
jnthn The problem is it broke back-compat, *but* it can be done for 6.e (and that was being worked on recently by vrurg++) 14:17
grondilu ok, good to know it's being looked at. 14:18
timotimo yep
tobs AlexDaniel: getting there. Now I'm getting the test error I always ancitipated :) 14:23
Geth doc: d29fe6990b | Antonio++ | 3 files
Delets trailing 's' from comment pod block, fix #2970
14:58
antoniogamiz o/ 15:03
how can i know what roles implements a role?
moritz m: role A { }; role B does A { }; say B.^roles 15:05
evalable6 ((A))
moritz antoniogamiz: ^^
ah, you're asking the other way round
moritz no 15:05
in general, you can't, unless you have a list of all possible types
antoniogamiz moritz: oh thanks ! 15:07
I was asking the first one, actually haha
m: Telemetry.new 15:08
evalable6 (exit code 1) 04===SORRY!04=== Error while compiling /tmp/i3DdXtk5D1
Undeclared name:
Telemetry used at line 1
antoniogamiz how can I declare an instance of that class?
MasterDuke antoniogamiz: it's in Rakudo's lib directory, not part of the core, so you need to `use Telemetry` first 15:10
antoniogamiz ah ok :) 15:11
Geth whateverable: taboege++ created pull request #357:
Support messages from the discord bridge
16:57
AlexDaniel oooh… 17:05
tobs: why not connect with the right nick right away? 17:08
instead of setting up `method irc-connected($m)`
`:nick` parameter is passed a few lines earlier :)
AlexDaniel tobs: another thing, we can't be testing just evalable… 17:13
AlexDaniel because it can affect other bots in unexpected ways 17:14
for example, tellable should also work
.seen and .tell and stuff
tellable6 AlexDaniel, I'll pass your message to and
tobs AlexDaniel: good catch, that simplifies a bunch of stuff. I think I wasn't sure about when exactly to set nick and when to get the faked one and from where when I wrote that.
AlexDaniel what the hell was that, tellable6 ?
AlexDaniel .seen MasterDuke bot test 17:15
tellable6 AlexDaniel, I'll pass your message to MasterDuke 17:15
AlexDaniel oh
tadzik :D
AlexDaniel well it was kinda meant to work that way…
tobs AlexDaniel: but doing it right in :nick works fine.
AlexDaniel: we could duplicate the entire test suite 17:18
AlexDaniel tobs: hmm 17:38
tobs: well, every test goes through this: github.com/perl6/whateverable/blob...le.pm6#L92
so in theory it should be doable to just run everything twice, once through the bridge and once directly
buuuut it won't work for all bots
definitely not for all tests. e.g. tellable will then start passing messages two times, and stuff like this 17:39
tobs right, maybe the role is not the ideal solution.
AlexDaniel the role is fine it's just the way we test things…
sooo what about adding a test here: github.com/perl6/whateverable/blob...e.pm6#L149 17:40
if the bot can reply to the help command through the bridge, then it's not too broken
tobs wouldn't that test less than what is tested now? 17:42
AlexDaniel tobs: but I mean in addition to that
tobs AlexDaniel: the $!discord flag still needs to be set in the Testable instance so that it uses the right nick. So should there be an environment variable that every test inspects to see if :discord should be passed to Testable.new? 17:55
AlexDaniel tobs: I think it will be easier if you connect another irc-client for the bridge 17:58
tobs: then the `test` routine can have a `:bridge` flag
AlexDaniel tobs: if True, it can then send a message through the bridge client with `<$.our-nick> $command` 17:59
and the rest is processed as normal 18:00
AlexDaniel tobs: so self.test(:bridge, ‘help message’, “$.bot-nick, helP”, “$.our-nick, $help # blah blah”) 18:01
tobs AlexDaniel: and remove the :discord flag for the entire instance? 18:02
AlexDaniel tobs: yeah, don't need it
tobs Ok, let me see. 18:02
AlexDaniel tobs: and then, after that, we can perhaps add `:both` named parameter, which will run tests with both :bridge and without 18:03
AlexDaniel so after sprinkling some “:both” on the whole test suite we can get some nice coverage, maybe? 18:03
tobs e: sub f { once { say "hi" } }; f; f; f; f 19:23
evalable6 hi
tobs e: sub f { if True { once { say "hi" } } }; f; f; f; f
evalable6 hi
hi
hi
hi
tobs this is unfortunate ^
tobs can someone explain to me how once works? 19:24
AlexDaniel tobs: docs.perl6.org/language/traps#Usin...once_block 19:30
tobs ah, it's the same with a state variable inside an if block. 19:31
AlexDaniel yup 19:32
tobs now _that_ is a trap for an occasional perl5 programmer like me 19:33
tobs AlexDaniel: I wonder if :both should be the default and opt-out for tests known to fail? 19:36
AlexDaniel tobs: we can try that!
evalable.t will be fine, committable.t will be fine too 19:37
bisectable should be alright
unicodable too
notable and tellable definitely not
AlexDaniel actually, maybe all files except notable and tellable 19:38
and bisectable.t will become reeeeeeaally slow :)
but I don't mind
AlexDaniel tobs: also, see this: github.com/perl6/whateverable/issues/340 19:40
AlexDaniel tobs: you can simply ignore anything that is known to fail, I'll take a look later 19:41
tobs hah, running the tests is pretty annoying now :) 19:44
AlexDaniel I'm not sure if there's any other way 19:45
as we just had a `what:` issue uncovered by a bridge test
so it's useful for sure, just takes time :) 19:46
tobs AlexDaniel: regarding the list of non-functional tests: benchable.t also doesn't work for me 19:47
instead of the expected data, it returns "No new data" for me. Maybe my repo is not fully initialized?
AlexDaniel no… I think benchable changed and the tests were not updated 19:48
but hey, at least we have all these tests, they just need some love
AlexDaniel tobs: I updated the list: github.com/perl6/whateverable/issues/340 19:50
tobs I'm hitting timeouts on the segfault test in evalable now... 19:51
AlexDaniel tobs: possibly means that the bot doesn't respond? 19:52
tobs AlexDaniel: no, doubling the timeout makes it pass. The whole thing seems to slow down a bit with time. 19:54
AlexDaniel hhhhhhhhuuuuuuh 19:55
tobs: what's your rakudo version?
tobs: can you try monitoring memory usage while it runs?
tobs the same but bridged test afterwards passes really quickly though and I just nuked /tmp/whateverable, so maybe it has to do some extra work
AlexDaniel it can also be a bug in rakudo
tobs AlexDaniel: This is Rakudo version 2019.07 built on MoarVM version 2019.07 19:56
AlexDaniel this rings some bells because bots used to slow down quite a bit when memory leaks were present
it shouldn't be the case anymore, but please check… it can be a bug in rakudo…
tobs AlexDaniel: the memory consumption grows steadily, but not obscenely, from 190M to 290M over the entire test 19:59
AlexDaniel OK that's normal
tobs with my 2019.07 rakudo.
AlexDaniel it doesn't exactly grow, it just tends to settle on an amount that's a bit too high. It's ok
AlexDaniel tobs: could it be the IRC server doing some throttling? 20:00
Xliff \o
tobs good idea.
AlexDaniel o/
Xliff: ↓
e: gist.github.com/AlexDaniel/c5c1aa0...099d0f9b19
evalable6 41
41
AlexDaniel thanks for the PR! Had to fix it a little bit and write some tests, but the approach was exactly right :) 20:01
Xliff ? 20:02
Oh! LOL! 20:03
That was from back in Feb! Glad you like it :)
tobs AlexDaniel: another failing test here github.com/perl6/whateverable/issu...-525015600 20:20
AlexDaniel commit: releases say $*PERL 20:26
committable6 AlexDaniel, gist.github.com/6ced877769f319279e...993fa77bcf 20:27
AlexDaniel tobs: meh and a bunch of tests after that are probably broken too
AlexDaniel tobs: just change the query to `say 42` and that's it 20:28
well, and the output accordingly
these tests were working before we release v6.d :D 20:29
released*
lizmat and yet another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2019/08/26/...-atlantic/ 20:31
tellable6 2019-08-23T19:51:51Z #perl6-dev <AlexDaniel> lizmat: that GB18030 roast merge was a bit too early, moarvm pull request is not merged yet
2019-08-25T11:43:30Z #perl6-dev <dogbert17> lizmat did you by any chance fix R#3069 ?
synopsebot R#3069 [open]: github.com/rakudo/rakudo/issues/3069 Date formatter invalid after the twenty-eight day
tellable6 gist.github.com/d4c1ca169f83e5a04a...8cefbb7ff9
AlexDaniel lizmat: re “FWIW, only these people are allowed to vote, after which Jonathan Worthington will decide.”, it's other way around 20:37
tellable6 AlexDaniel, I'll pass your message to lizmat
AlexDaniel lizmat: so jnthn will be giving feedback so that we get a PR that is aligned with his view, then everyone votes (technically jnthn too) 20:38
tellable6 AlexDaniel, I'll pass your message to lizmat
irced hello, i am having difficulty using subparse. is there a site to which i can paste my code and discuss the issues is? 20:54
AlexDaniel irced: what about gist.github.com/ 20:58
irced that'll work, i thought maybe there was one where it can compile and run with output 20:59
Grinnz f.perl.bot/#perl6 can, not sure if simcop2387 is keeping up with the rakudo updates 21:00
AlexDaniel glot.io/ and a bunch of other websites…
evalable6 can run a gist just fine
irced hmm, ok, f.perl.bot seems ok. what's this about evalable6 ? 21:01
AlexDaniel irced: evalable6 can run gists, so you upload your code on gist.github.com/ and we'll give a link to the bot 21:02
irced that sounds ok too. f.perl.bot is more readable than an irc bot, so let me see if i can get help with that first 21:04
f.perl.bot/raw/evq89c why won't this grammar match on the subparse ? 21:05
AlexDaniel e: f.perl.bot/raw/evq89c 21:06
evalable6 AlexDaniel, Successfully fetched the code from the provided URL
namespace Details {
some namespace details
some more namespace details
}

#<failed match>
irced kewl
a quick inspection will show ratcheting is not the issue 21:08
not the central one anyway
tobs commit: v6c say $*PERL 21:15
irced brb
committable6 tobs, gist.github.com/1a8a239299752c4a00...15a1f5516f
tobs AlexDaniel: should this include v6.d also? 21:16
irced burps. 21:19
AlexDaniel irced: sry I'm in the middle of a bunch of tasks at the same time, can't look right now. Maybe someone else will :) 21:20
tobs: yyyyyeeea… github.com/perl6/whateverable/issues/345
irced no problem
tobs AlexDaniel: so much low-hanging(?) fruit :) 21:21
AlexDaniel tobs: most whateverable tickets are relatively easy. Discord thing is probably one of the hardest ones 21:22
tobs I only have the very last test of unicodable failing (and bisectable not run yet) before I can post the next version of the PR 21:23
irced i think the central issue with my code was that the rule was the only thing subparsed and it may not have been complete enough 21:27
irced yeah it seemed to be a lack of understanding of the mechanics of subparse so disregard the question as stated thanks all 21:55
guifa jnthn: is there a place for bug reports for Comma? 21:57
It doesn’t like my perfectly acceptable indirect colon syntax lol 21:58
guifa irced: Take a look at the name token. Two things: 22:03
tellable6 guifa, I'll pass your message to irced
guifa (1) When you do the subparse, it assumes an initial ^ 22:13
That means if a token/rule begins with an <?after>, it can never match on subparse.
(2) I can appreciate you wanting to capture just the name. Rather than use the <?after> just use 22:14
rule name-declarator { ‘namespace’ <name> ‘{‘ } 22:15
token name { \S+ }
simcop2387 Grinnz: i am sadly not, but with my current efforts to begin re-doing all that infrastructure I'll probably try to make that easier to manage. 22:29
jnthn guifa: Yes, make an account (in the buy process); you don't have to actually buy a copy to be able to reach the feedback page, just be logged in :) 22:41
Though I think there's actually a ticket for indirect colon syntax, which is probably waiting for somebody to actually want it :P 22:42
guifa raises hand 22:53
I’m probably the only person who use push array COLON item but it lines up so much nicer when I do that with my own objects in the same block 22:54
jnthn :) 22:55
Found it in our internal bug tracker, shuffled it into the To Do Soon column. Apparently it's assigned to me. :)
AlexDaniel tobs: oh, I know
tobs: unicodable does some tricks in order to get the full message
tobs: otherwise IRC::Client strips unicodey stuff like whitespace and whatever
discord6: help 22:56
uhhhhhhhhhh
well… what I like about whateverable bots is that at least it's easy to get help… 22:57
tobs: anyway, if discord6 is using IRC::Client, which I assume it does, then it's probably hard to get unicode through the bridge anyway
tobs AlexDaniel: and yes, bisectable.t takes a while and makes for a nice heating 23:00
AlexDaniel hah 23:01
tobs it was the only test that ran through without problems the first time though
AlexDaniel u: raw.githubusercontent.com/perl6/wh...stable.pm6 23:05
unicodable6_ AlexDaniel, Successfully fetched the code from the provided URL
AlexDaniel, U+0075 LATIN SMALL LETTER U [Ll] (u)
AlexDaniel, U+0073 LATIN SMALL LETTER S [Ll] (s)
AlexDaniel, Cowardly refusing to gist more than 5000 lines
AlexDaniel tobs: that test is bullshit 23:06
tobs: $t.last-test; is missing from that file
tobs: it is needed so that can make sure that there are no messages in the queue from the last test 23:07
tobs: because of that, the test file was succeeding
so add $t.last-test; before done-testing, aaand…
and we can change the test to something like 23:08
u: gist.githubusercontent.com/AlexDan...b9/foo.txt
unicodable6_ AlexDaniel, Successfully fetched the code from the provided URL
AlexDaniel, U+221E INFINITY [Sm] (∞)
AlexDaniel I wonder if this works too
u: gist.github.com/AlexDaniel/b392c71...6b4aeab511
unicodable6_ AlexDaniel, U+221E INFINITY [Sm] (∞)
AlexDaniel lol, cool, we can test this too :) 23:09
tobs heh, and my guess about `u:` turned out to be completely wrong, it was `use` :D 23:13
AlexDaniel xD 23:17
tobs AlexDaniel: I fixed the expectations of that specific test instead of replacing it by the ∞-gist. 23:23
probably the file being .pm6 was important, looking at the test description?
AlexDaniel ah, last-test was misplaced, doh 23:24
tobs: not really, the idea is just that it accepts something reasonable
unicodable should probably accept *any* mime type, but it shares the code path with other bots so maybe it doesn't 23:25
ok we're ready to merge I think
tobs \o/
thanks for the mentoring 23:26
AlexDaniel that private_method_table trick is pretty cool
Geth whateverable/master: 6 commits pushed by (Tobias Boege)++, (Aleks-Daniel Jakimenko-Aleksejev)++ 23:27
AlexDaniel I'm happy to help :)
timotimo cool 23:28
AlexDaniel is anybody on discord? 23:28
discord6 <timotimo> m: say "you are"
AlexDaniel OK good, too fast though!
timotimo :)
AlexDaniel also, that is not going to work!! 23:29
tobs: ok, we have a problem!
tobs: since camelia will not respond to messages from discord, some tests are a bit wrong!
tobs: so, currently evalable checks if camelia is around, and if she isn't, then it responds
tobs I see 23:30
AlexDaniel tobs: but for messages from the discord bridge, evalable6 should respond regardless of whether camelia is here or not 23:30
discord6 <timotimo> m: say "it works!!"
<timotimo> c: HEAD say "it works!"
committable6 timotimo, ¦HEAD(636888c): «it works!␤»
AlexDaniel omg it actually works :)
tobs I suppose yet another role could be mixed into messages handled by Discordable which could be used by evalable to decide to leave it to camelia or not 23:31
AlexDaniel tobs: yeah, that's what I thought too, probably the easiest way 23:32
AlexDaniel say 42 23:33
evalable6 42
AlexDaniel timotimo: ok try using evalable 23:35
discord6 <timotimo> m: say "hi" 23:36
evalable6 hi
AlexDaniel .seen timotimo
tellable6 AlexDaniel, I saw timotimo 2019-08-26T23:36:25Z in #perl6: <timotimo> m: say "hi"
AlexDaniel cool
discord6 <timotimo> o7
AlexDaniel o7? 23:37
timotimo a salute gesture
AlexDaniel .tell RaycatWhoDat now you can use the bots from discord! All *able6 bots! 23:38
tellable6 AlexDaniel, I'll pass your message to RaycatWhoDat
AlexDaniel timotimo: looks a bit more like head scratching :D 23:39
timotimo haha
tobs .tell timotimo I wonder if that actually works 23:40
tellable6 tobs, I'll pass your message to timotimo
tobs could you try, please? :)
AlexDaniel not this way!
because timotimo himself requested a feature due to which messages are intentionally not delivered in the first 10 minutes on the same channel 23:41
discord6 <timotimo> yep it's my fault 23:41
AlexDaniel but if .seen works (I tested it ↑), then .tell also does 23:42
we can always add more tests :)
alternatively timotimo can receive it on #perl6-dev 23:43
.tell timotimo hello to perl6-dev 23:44
tellable6 AlexDaniel, I'll pass your message to timotimo
AlexDaniel .tell timotimo like, from discord!!
tellable6 AlexDaniel, I'll pass your message to timotimo
discord6 <timotimo> .tell AlexDaniel can you get this?
tellable6 timotimo, I'll pass your message to AlexDaniel
discord6 <timotimo> can i what now? 23:46
tellable6 2019-08-26T23:45:21Z #perl6-dev <AlexDaniel> timotimo sure, but can you receive this??
discord6 <timotimo> nice.
tobs amazing what one small role gear can accomplish in the whateverable clockwork
AlexDaniel :>
also IRC::Client++, it's a bit hacky but it works really well 23:48
AlexDaniel tyil: ↑ you'd probably like to see that too :) 23:52
tobs++ :)
tobs where does Evalable take the presence of camelia into account? 23:53
there's one mention of the nick and a Whatever::Userlist, but I can't connect the dots
wait, it's not that hard 23:54
the dots are on a straight line, almost 23:55
discord6 <timotimo> these two dots are in a straight line! this can't be a coincidence! 23:56
AlexDaniel yeah, make-believe method used to have a bit more code until I rewrote the userlist stuff 23:58
now it properly handles joins/parts/nick changes instead of doing /names every time 23:59