»ö« 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. |
|||
timotimo | nice. | 00:03 | |
that's surely also friendlier on the GC :) | |||
AlexDaniel | timotimo: that's… not that much data actually? Even if it was fully leaked I'd be fine with it… :D | 00:04 | |
let's say 20kB per query, you'd need to use camelia (m: ) whooping 50 times to leak a 1 MB | 00:06 | ||
timotimo | wellllll | 00:08 | |
depends entirely on how many objects you split the data over :D | |||
00:09
[particle] left
|
|||
tobs | AlexDaniel: the role idea is proving to be difficult. | 00:09 | |
00:09
[particle] joined
|
|||
AlexDaniel | tobs: why? Something strips the mixin? | 00:10 | |
tobs | m: say ("msg" but role {}).^name # IRC::Client relies on .^name to see which events to raise | ||
evalable6 | Str+{<anon|1>} | ||
AlexDaniel | damn | ||
then mix into the inside of msg, screw it | |||
tobs | >:D | 00:11 | |
that might even read better | |||
nick => ~$<nick> but FromDiscord | |||
AlexDaniel | right | ||
timotimo | give the mixin a ^name method, too :D | 00:12 | |
00:18
[particle]1 joined
00:20
[particle] left
00:21
[particle] joined
00:23
[particle]1 left
00:25
k0Le left,
k0Le joined
|
|||
Geth | whateverable: taboege++ created pull request #358: Evalable: respond to discord even if camelia is present |
00:26 | |
Xliff | Yawn... | 00:28 | |
I hate naps. They sneak on you and strike when you least expect them. | 00:29 | ||
AlexDaniel | tobs: why not declare FromDiscord in Discordable.pm6 ? | ||
tobs: you'd need to `use Whateverable::Discordable;` in evalable but that's fine | |||
tobs | AlexDaniel: I wanted to keep the `unit role` with less indentation | 00:30 | |
AlexDaniel | tobs: can't it be inside anyway? | ||
00:31
mowcat joined
|
|||
tobs | can it? Let me try | 00:31 | |
00:32
[particle] left
|
|||
AlexDaniel | also now that I look at it, you don't need `is export` on roles? | 00:32 | |
tobs | It works when I declare it `my role FromDiscord is export` inside the `unit role`. Without `my` it complains about role scope being too generic | 00:36 | |
AlexDaniel | I'd prefer that | ||
tobs | test just finished as well | 00:37 | |
AlexDaniel | Bits.pm6 is like a junk box, not cool | ||
tobs | AlexDaniel: updated | 00:39 | |
00:39
[particle] joined
|
|||
Geth | whateverable: efd7e911f3 | (Tobias Boege)++ | 3 files Evalable: respond to discord even if camelia is present Normally evalable6 leaves queries to camelia when she is around. But camelia does not support responding to discord, so in that case evalable6 should not restrain itself. This is made possible by mixing a FromDiscord role into the nick field of messages (not the message itself because that would break event dispatch in IRC::Client) and testing for that while deciding whether to leave the message to camelia or not. |
00:39 | |
whateverable: d93927994a | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed using GitHub Web editor) | 3 files Merge pull request #358 from taboege/discordable-and-camelia Evalable: respond to discord even if camelia is present |
|||
00:40
evalable6 left
|
|||
tobs | Thanks, maybe you can remove that now-useless `use Whateverable::Bits` from Discordable.pm6 real quick. I overlooked it. | 00:41 | |
AlexDaniel | tobs: you can commit that directly | ||
tobs: if you want to work on something jaw-dropping, then maybe github.com/perl6/whateverable/issues/352 | |||
timotimo | it'd be great if the discord bot could pick apart the geth messages into individual "bigger" messages on the discord side ... | 00:42 | |
AlexDaniel shrugs | |||
discord6 is not part of whateverable | |||
00:43
lucasb left
|
|||
AlexDaniel | discord6: source | 00:43 | |
00:43
[particle] left
|
|||
AlexDaniel | I can't find the issue tracker for it… | 00:44 | |
00:44
evalable6 joined,
ChanServ sets mode: +v evalable6
|
|||
AlexDaniel | evalable6: source | 00:45 | |
evalable6 | AlexDaniel, github.com/perl6/whateverable | ||
AlexDaniel | tyil: ↑ discord6 probably needs source/help commands, and there's a cool feature request from timotimo :) | ||
Geth | whateverable: 8a573ba550 | (Tobias Boege)++ | lib/Whateverable/Discordable.pm6 Remove useless `use` |
00:47 | |
00:55
adu joined
00:57
Doc_Holliwood left
01:13
Doc_Holliwood joined
01:19
cpup left
01:30
wildtrees left
01:31
molaf left
|
|||
Xliff | timotimo: Did you modify --stagestats for an option to return to the old format? | 01:32 | |
timotimo | not yet; feel free to mock up some code or come up with a name for --boring-stagestats or whatever :) | 01:34 | |
01:35
hythm joined
|
|||
timotimo | o/ | 01:35 | |
Xliff | LOL. OK. | 01:36 | |
gn | |||
timotimo: Either that, or I need to put in some ... like... work... and fix my own parsing routines. :p | 01:37 | ||
But yah. Good night. | |||
01:44
molaf joined
01:50
[particle] joined,
zakharyas joined
02:02
Sgeo_ joined
02:04
Manifest0 left,
Manifest0 joined,
Sgeo left
02:21
Kaiepi joined
02:24
adu left
02:41
mowcat left
02:44
robertle_ joined
02:45
hythm left
02:47
robertle left
03:01
Cabanossi left
03:04
Cabanossi joined
03:26
Doc_Holliwood left
|
|||
Geth | ¦ problem-solving: vrurg assigned to AlexDaniel Issue Alert system for core developers github.com/perl6/problem-solving/issues/95 | 03:34 | |
¦ problem-solving: AlexDaniel assigned to rba Issue Alert system for core developers github.com/perl6/problem-solving/issues/95 | 03:35 | ||
03:47
[particle]1 joined
03:48
[particle] left
03:53
molaf left
03:57
[Sno] left,
Sgeo__ joined
04:01
Sgeo_ left
04:04
k0Le left
04:07
k0Le joined
04:22
k0Le left
04:26
Doc_Holliwood joined
04:46
k0Le joined
04:47
curan joined
04:54
robertle joined
04:57
robertle_ left
05:32
Xliff left
05:44
sauvin joined
|
|||
tyil | AlexDaniel: discord6 is a nodejs application that I didn't write | 05:54 | |
AlexDaniel | oh | 05:55 | |
tyil | I know there's a Discord module and an IRC::Client module, so it should be reasonably easy to write a similar thing in perl 6 | 05:56 | |
however, resource usage of a perl 6 variant will be much higher | |||
05:56
xinming_ left
05:58
xinming_ joined
|
|||
AlexDaniel | I just assumed that discord6 was written in perl6 :) | 06:01 | |
bisectable was first written in perl5, and was called exactly “bisectable” | 06:02 | ||
then after a rewrite it became bisectable6 :) | |||
tyil | I may have to reconsider the "6" part anyway, pending a language rename :p | 06:08 | |
06:10
ravenous_ joined
06:15
ravenous_ left
06:25
robertle left
06:26
Actualeyes joined
06:27
Doc_Holliwood left
06:31
patrickb joined
06:32
LionelJuspin joined
|
|||
LionelJuspin | hi | 06:38 | |
what is the "grammer" in the perl6 aspect? | 06:39 | ||
06:48
domidumont joined
07:00
k0Le left
07:07
afresh1 left
07:08
patrickb left
|
|||
Geth | doc: a6bb085afd | (JJ Merelo)++ | doc/Language/typesystem.pod6 Fixes declaration of BUILD, refs #2977 |
07:15 | |
synopsebot | Link: doc.perl6.org/language/typesystem | ||
07:15
Sgeo_ joined
07:19
Sgeo__ left
07:22
k0Le joined
07:23
xinming_ left
|
|||
masak | good antenoon, #perl6 | 08:01 | |
tellable6 | 2019-08-25T07:10:35Z #perl6 <Xliff> masak Has any of Alma made it into Perl6, yet? | ||
masak | yes, but before Alma was even 007 :) | ||
08:02
rindolf joined
|
|||
masak realizes to his great satisfaction that `unit sub MAIN` works | 08:02 | ||
08:09
scimon joined
|
|||
Geth | doc: JJ self-assigned app.js is generated with the wrong permissions github.com/perl6/doc/issues/2978 461c41f9ad | (JJ Merelo)++ | app.pl |
08:09 | |
08:14
antoniogamiz joined
|
|||
antoniogamiz | o/ | 08:15 | |
is there a module to make terminal progress bar? | |||
like [10% ====> ] | 08:16 | ||
08:17
zakharyas left
08:19
dolmen joined
08:21
gregf_ joined
|
|||
08:27
zakharyas joined
08:28
jjmerelo joined
|
|||
jjmerelo | hey | 08:28 | |
Geth | doc: 9108f1a7e7 | Antonio++ | type-graph.txt Add missing types to type-graph, fix #2976 |
||
jjmerelo | the new version of the site is being tested now at docs-stage.p6c.org/ | 08:29 | |
Except for some URLs that were generated by error (syntax/with.html, I'm looking at you) and some new URLs, it should be pretty much the same as the old one | |||
08:32
gregf_ left
08:36
sena_kun joined
08:39
zakharyas left
|
|||
Geth | doc: JJ assigned to antoniogamiz Issue Templates need to be updated github.com/perl6/doc/issues/2979 b3f7370b63 | (JJ Merelo)++ | README.md |
08:40 | |
08:50
loops left
09:00
ravenousmoose left
09:01
ravenousmoose joined
|
|||
09:18
pecastro joined
09:22
pat_js joined
|
|||
Geth | doc: fe27d37a49 | Antonio++ | template/footer.html Update footer template, fix #2979 |
09:34 | |
09:43
LionelJuspin left
09:49
Doc_Holliwood joined
09:53
reach_satori left
09:59
pilne left,
antoniogamiz left
10:00
jjmerelo left,
cpan-p6 left,
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
10:08
ravenousmoose left
10:09
ravenousmoose joined
10:21
Guest93 left
10:23
Guest93 joined
10:27
Sgeo__ joined
10:28
domidumont left
10:30
xinming joined
10:31
Sgeo_ left,
dolmen left
10:48
MilkmanDan left,
MilkmanDan joined
10:56
reach_satori joined
11:03
dolmen joined,
Black_Ribbon left
11:07
reach_satori left
|
|||
cpan-p6 | New module released to CPAN! Gnome::GObject (0.14.1) by 03MARTIMM | 11:37 | |
11:40
MilkmanDan left
11:42
MilkmanDan joined
|
|||
scimon | antoniogamiz: Term::ProgressBar? It's rather out of date but might do what you need. | 11:48 | |
tellable6 | scimon, I'll pass your message to antoniogamiz | ||
11:53
Doc_Holliwood left
12:00
domidumont joined
12:21
patrickb joined
12:30
Kaiepi left,
Kaiepi joined
|
|||
Geth | doc: 0803868a9b | (JJ Merelo)++ | README.md Adds the right instructions for serving, closes #2980 |
12:34 | |
12:38
ChoHag left
12:40
ChoHag joined
|
|||
Geth | doc: 4591f2a288 | Antonio++ | type-graph.txt Fix type in type-graph entry |
12:41 | |
12:42
mowcat joined
|
|||
Geth | doc: 1ec0511f25 | Antonio++ | type-graph.txt Fix type in type-graph entry |
12:44 | |
doc: 2a33010ad6 | Antonio++ | type-graph.txt Fix type in type-graph entry |
|||
12:46
lucasb joined
12:47
[particle] joined
12:48
[particle]1 left
|
|||
Geth | doc: 184e3c156b | (JJ Merelo)++ | type-graph.txt Re-adds stuff |
12:49 | |
12:57
Sgeo_ joined
13:01
Sgeo__ left
13:13
mowcat left
13:24
ChoHag left
13:37
molaf joined
|
|||
tbrowder | regex/grammar question: in the rakudo grammar there is a token "opener" defined as a character class something like "<[a b c]>" | 13:48 | |
later it is used in the definitions of other tokens like this "<?opener>" | 13:49 | ||
my questions are what does that syntax mean and does it consume a character in the input text stream? | 13:53 | ||
timotimo | <?foo> and <!foo> are zero-width | 13:54 | |
tbrowder | ok? that helps a bunch--thanks? | ||
arg: ok! thanks! | 13:55 | ||
13:56
pat_js left
|
|||
tbrowder | i have not been able to get a dump on the cursor so i was parsing blind. that seems like a good case for doing some testing nqp grammar in p6 | 13:57 | |
14:02
dolmen left
14:03
dolmen joined
14:05
curan left
14:11
ChoHag joined
|
|||
SmokeMachine | hi! | 14:13 | |
14:15
ChoHag left
14:18
sena_kun left
14:20
SCHAPiE left
14:21
pat_js joined
14:29
afresh1 joined
14:30
SCHAPiE joined
|
|||
tbrowder | SmokeMachine: hi! i see lots of work lately. i need to revisit Red i think. | 14:37 | |
SmokeMachine | tbrowder: yes, please do that! :) | 14:40 | |
14:45
jaldhar_ left
14:47
vrurg left
14:58
antoniogamiz joined
|
|||
antoniogamiz | o/ | 14:58 | |
tellable6 | 2019-08-27T11:48:06Z #perl6 <scimon> antoniogamiz: Term::ProgressBar? It's rather out of date but might do what you need. | ||
antoniogamiz | scimon: I have seen Terminal::Spinners | 15:00 | |
thanks anyway | |||
mmm anyone knows how can I get the usage output from the code? | 15:04 | ||
15:04
jjmerelo joined
|
|||
antoniogamiz | I mean, when you have a main and you do not use the options correctly, some comments appear | 15:04 | |
15:06
patrickb left
15:13
ufobat__ joined
|
|||
jjmerelo | Still testing the new document generation tool. Check it out at docs-stage.p6c.org/ | 15:16 | |
15:16
ufobat_ left
15:18
molaf left
|
|||
scimon | www.youtube.com/watch?v=yt8SrZ_V_50 I may have given a talk about that. | 15:28 | |
AlexDaniel | jjmerelo: it looks exactly the same? | ||
scimon | www.slideshare.net/SimonProctor8/p...-scripting : With slides ;) | ||
AlexDaniel: There's good though right? | |||
AlexDaniel | jjmerelo: no syntax highlighting though | 15:29 | |
scimon: yeah, I guess so | |||
jjmerelo: “ Generated from PODPATH.” | |||
jjmerelo | AlexDaniel we're not using it for the time being. | ||
AlexDaniel: we're fixing this right now | |||
scimon | jjmerelo: I did a search for $/. It showed in the autocomplete list but the link went to docs-stage.p6c.org/syntax/$%5c$SOLIDUS | 15:30 | |
(Which is a 404) | |||
jjmerelo | If you see anything else, please raise an issue in github.com/antoniogamiz/Perl6-Docu...issues/113 or perl6/doc | ||
scimon | antoniogamiz: #| and #= are your friend for auto usage generation. | 15:31 | |
antoniogamiz | scimon: good | 15:32 | |
jjmerelo | scimon: please create an issue. We'll fix it tomorrow. Anything else you observe, please let us know | 15:33 | |
15:34
Kaiepi left,
nativecallable6 left,
committable6 left,
evalable6 left,
reportable6_ left,
bisectable6 left,
unicodable6_ left,
notable6 left,
releasable6 left,
benchable6 left,
greppable6 left,
tellable6 left,
squashable6 left,
statisfiable6 left,
coverable6 left,
shareable6 left,
quotable6 left,
Kaiepi joined
|
|||
scimon | antoniogamiz got there before me :) | 15:34 | |
15:34
ravenous_ joined
15:35
ravenous_ left,
squashable6 joined,
statisfiable6 joined
|
|||
antoniogamiz | sorry :D | 15:35 | |
15:35
bisectable6 joined,
ChanServ sets mode: +v bisectable6
|
|||
jjmerelo | scimon: he's fast | 15:35 | |
15:35
greppable6 joined
15:36
benchable6 joined,
ChanServ sets mode: +v benchable6,
nativecallable6 joined,
ChanServ sets mode: +v nativecallable6,
quotable6 joined,
ChanServ sets mode: +v quotable6,
evalable6 joined,
bloatable6 joined,
ChanServ sets mode: +v bloatable6
|
|||
scimon | No problems. ;) | 15:37 | |
15:37
releasable6 joined,
tellable6 joined,
committable6 joined
15:38
notable6 joined,
unicodable6 joined,
shareable6 joined
15:39
coverable6 joined,
ChanServ sets mode: +v coverable6,
reportable6 joined,
cwilson joined
|
|||
rba | About changing the name: itsfoss.com/gimp-fork-glimpse/ | 15:43 | |
15:46
pat_js left
15:50
dolmen left,
scimon left
15:58
wildtrees joined,
wildtrees left
15:59
wildtrees joined
16:01
dolmen joined,
wildtrees left
16:02
wildtrees joined
|
|||
guifa | Interesting. I tried two separate methods to read in a data file of entries with four items each. The first was for lines() { my (\a, \b, \c, \d) = $_.split($delimiter) }. The other was for lines() -> \a, \b, \c, \d { … } | 16:04 | |
The first one consistently beats out the second one, but it seems like the second one should be a smidgen faster or at least about equal | |||
16:08
telex left
16:10
telex joined
16:11
Doc_Holliwood joined
16:12
MasterDuke joined
16:18
Actualeyes left
16:23
robertle joined
16:27
mowcat joined
16:37
ChoHag joined
16:44
ChoHag left
16:50
dolmen left
16:51
ChoHag joined
16:58
chloekek joined
16:59
antoniogamiz left
|
|||
jjmerelo | OK, that should be fixed | 17:00 | |
jjmerelo goes down to the beach | |||
17:00
vrurg joined
|
|||
timotimo | guifa: do you mean the second one has a different separator set on the file handle or something? | 17:02 | |
guifa | First example used a | b | c | d \n a | b | c | d \n a | b | c | d \n | 17:03 | |
(where | is the delimiter, sans spaces but trying to keep it readable here) | 17:04 | ||
Second example used a \n b \n c \n d \n a \n b \n c \n d \n a \n b \n c \n d \n | |||
timotimo | ah, ok | ||
17:05
jjmerelo left
|
|||
guifa | It’s not a huge difference, but the former is about 20% faster. Maybe the optimizer realizes that for $foo.lines { @bar.push: $_.split($delim) } doesn’t need a new context, but the for $foo.lines -> \a, \b, \c, \d { … } does require it? I remember someone (you or jnthn) talking about that could make post-fixed forms in the past a bit faster | 17:09 | |
s/optimizer/$0 \/ compiler | 17:10 | ||
17:23
ChoHag left,
ChoHag joined
17:26
domidumont left
17:29
Ven`` joined
17:34
ravenous_ joined
17:43
ChoHag left
18:24
Woodi left
18:27
chloekek left,
sauvin left
18:37
Woodi joined
18:41
Black_Ribbon joined
18:47
[Sno] joined
18:54
quester left
19:05
Kaiepi left
19:06
Kaiepi joined
19:22
sena_kun joined
19:23
sena_kun left
19:41
ChoHag joined
19:42
mowcat left
19:45
Ven`` left,
Ven`` joined
20:09
ChoHag left
20:15
cpage joined
20:27
chloekek joined
20:48
molaf joined
20:49
ChoHag joined
20:51
Ven`` left
20:53
dumarchie joined
21:05
[particle]1 joined
21:06
[particle] left
21:13
afresh1 left
21:18
dumarchie left
21:23
sftp left
21:24
sftp joined
21:27
pamplemousse_ joined
21:30
pilne joined
21:37
tobs left
21:47
[particle] joined
21:48
[particle]1 left
21:49
pamplemousse_ left
21:50
ChoHag left
21:55
chloekek left
21:56
tobs joined,
wildtrees left
21:58
wildtrees joined
22:02
reach_satori joined
22:17
mowcat joined
22:18
mowcat left,
mowcat joined
|
|||
tbrowder | .tell jjmerelo i want to create a new docs page that shows all the valid "opener" chars from the rakudo repo: src/Perl6/Grammar.nqp. the page could also be used for other char sets of interest that have no other home. given the proposal is acceptable, i'm open to suggestions for (1) the file name (Language/?.pod6), (2) the TITLE, (3) the SUBTITLE, and (4) the sort section and order. | 22:30 | |
tellable6 | tbrowder, I'll pass your message to jjmerelo | ||
22:34
[particle]1 joined,
[particle] left
22:47
rindolf left
22:48
hobbified joined,
hobbs left
23:09
Herby_ joined
|
|||
Herby_ | o. | 23:09 | |
o/ | |||
gdonald | how can I know if a class is defined? | 23:12 | |
m: my $klass = 'Foo'; say $klass.defined | |||
evalable6 | True | ||
23:13
pecastro left,
unclechu left
|
|||
jnthn | m: say ::<Foo>:exists | 23:14 | |
evalable6 | False | ||
jnthn | m: class Foo { }; say ::<Foo>:exists | ||
evalable6 | True | ||
jnthn | gdonald: ^^, and replace <...> with {$name} if it's a name in a variable | ||
gdonald | thank you | ||
jnthn | Ah, and also ::(...) is useful if it's a multi-part name too | ||
23:15
unclechu joined
23:29
mowcat left
23:40
afresh1 joined
|
|||
gdonald | m: use MONKEY; my $klass = 'Foo'; my $k = 'class Foo {};'; EVAL $k unless ::{$klass}:exists; EVAL $k unless ::{$klass}:exists | 23:42 | |
evalable6 | (exit code 1) 04===SORRY!04=== Error while compiling /home/bisectable/git/wh… | ||
gdonald, Full output: gist.github.com/aafedc635cf29e89e3...94d729bfb9 | |||
23:55
ChoHag joined
|