»ö« 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.
00:04 daxim joined 00:05 manchicken left, p6bannerbot sets mode: +v daxim 00:20 sharktopusev joined 00:23 sharktopusev left 00:41 rindolf left 00:44 MasterDuke left 00:58 alcymd joined 00:59 p6bannerbot sets mode: +v alcymd 01:07 avar left, avar joined, avar left, avar joined, p6bannerbot sets mode: +v avar, alcymd left
Herby_ o/ 01:08
01:08 p6bannerbot sets mode: +v avar
AlexDaniel squashable6: next 01:14
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in 2 days and ≈8 hours (2018-10-06 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
Herby_ AlexDaniel: I was just about to ask about hackathon / squashathon
:)
AlexDaniel Herby_: what's the question? :) 01:15
Herby_ basically where does one go to get info
AlexDaniel by default github.com/rakudo/rakudo/wiki/Mont...Squash-Day then click on GUIDE 01:17
currently it points to github.com/perl6/ecosystem/wiki/SQUASHathon
Herby_: if you have a module you should set up a hook, label your issues and help contributors with their PRs 01:18
Herby_ great. i don't have any modules, just want looking to contribute towards others. hopefully some easy wins or good beginner issues :)
AlexDaniel that one depends on others, so I don't know how it's going to go :) 01:19
meanwhile I'm fixing the guide… :)
01:21 DempRJ joined 01:23 DempRJ left 01:31 ZzZombo left 01:36 almuc joined 01:37 p6bannerbot sets mode: +v almuc 01:38 khisanth_ left, almuc left 01:41 vike1 left 01:42 vike1 joined, p6bannerbot sets mode: +v vike1
AlexDaniel Herby_: can you take a look at github.com/perl6/ecosystem/wiki/SQUASHathon again? 01:47
Herby_ sure
AlexDaniel Herby_: let me know what can be improved, or if there's anything else that's unclear
Herby_ initial feedback: the Frequently Asked Questions bullet doesn't have a hyperlink like the contributers and maintainers do 01:49
AlexDaniel fixed
timotimo ohai 01:50
AlexDaniel btw feel free to edit too
timotimo: o/
timotimo o/
AlexDaniel timotimo: I bet you have some nice modules :)
timotimo they're mediocre :)
01:51 Bucciarati left, avar left
Herby_ AlexDaniel: looks great. 01:51
this line: SQUASHathon is a 1 day (50-hours) long event organized
should that be 2 days?
or am i reading it wrong
AlexDaniel hehe
01:52 khisanth_ joined
AlexDaniel Herby_: it's UTC-12…UTC+14 :) 01:52
Herby_ timotimo: \o
leont Timezones, they exist to make everything more complicated
timotimo humans really shot themselves in the foot with that one
01:52 p6bannerbot sets mode: +v khisanth_
AlexDaniel I kinda like it. It's two days if you want it, or just one Saturday if you don't :) 01:52
leont xkcd.com/1883/ 01:53
AlexDaniel timotimo: there, I created a cool ticket 01:55
and by cool I mean shitty, but I'm pretty sure there are more perf improvements to squeeze out of it :) 01:56
( github.com/timo/json_fast/issues/45 )
Geth ecosystem: 8b80997b34 | (Aleks-Daniel Jakimenko-Aleksejev)++ | 3 files
Move SQUASHathon stuff to the wiki

This declutters the repo somewhat. The wiki is perhaps more appropriate because things will be changing a lot (I hope). This file can be deleted later, but right now I'm just afraid that there's a
  link to it somewhere.
02:00
AlexDaniel .tell jmerelo thanks! I moved parts of it to the wiki, again. This time I didn't forget to set up the redirection :)
yoleaux AlexDaniel: I'll pass your message to jmerelo.
AlexDaniel .tell jmerelo I also changed a bunch of stuff, so please review and edit as you like 02:01
yoleaux AlexDaniel: I'll pass your message to jmerelo.
AlexDaniel .tell jmerelo I tried to keep it minimalistic but perhaps I left some parts unexplained (please re-add if you deem necessary) 02:02
yoleaux AlexDaniel: I'll pass your message to jmerelo.
02:10 fake_space_whale left 02:11 kerframil left 02:12 leont left 02:14 ZzZombo joined, p6bannerbot sets mode: +v ZzZombo 02:23 Herby__ joined 02:24 fake_space_whale joined, p6bannerbot sets mode: +v Herby__ 02:25 p6bannerbot sets mode: +v fake_space_whale, mahafyi_ left, Zergnomen joined 02:26 p6bannerbot sets mode: +v Zergnomen 02:29 Zergnomen left 02:50 Sgeo joined 02:51 p6bannerbot sets mode: +v Sgeo 02:52 Sgeo_ left 02:59 kurahaupo left, kurahaupo joined 03:00 p6bannerbot sets mode: +v kurahaupo 03:22 avar joined, avar left, avar joined, p6bannerbot sets mode: +v avar, Bucciarati joined 03:23 p6bannerbot sets mode: +v avar, p6bannerbot sets mode: +v Bucciarati, dracokL joined 03:24 dracokL left
tison \o 03:31
Herby__ tison: o/ 03:39
03:41 Herby__ left 04:19 claes-magnus joined 04:20 p6bannerbot sets mode: +v claes-magnus 04:38 claes-magnus left 04:43 troys left 04:44 ZzZombo_ joined, p6bannerbot sets mode: +v ZzZombo_, ZzZombo left, ZzZombo_ is now known as ZzZombo 06:05 jmerelo joined, p6bannerbot sets mode: +v jmerelo 06:06 sauvin joined, p6bannerbot sets mode: +v sauvin 06:11 domidumont joined 06:12 p6bannerbot sets mode: +v domidumont
Geth doc: 50d854a0cd | (JJ Merelo)++ | doc/Language/control.pod6
Adds example closes #2350
06:14
synopsebot Link: doc.perl6.org/language/control
06:16 fake_space_whale left 06:24 lizmat joined, p6bannerbot sets mode: +v lizmat 06:32 |oLa| joined 06:33 p6bannerbot sets mode: +v |oLa| 06:42 jmerelo left 06:44 abraxxa left 06:46 abraxxa joined, ufobat joined, p6bannerbot sets mode: +v abraxxa 06:47 p6bannerbot sets mode: +v ufobat
El_Che leont: a flat earth wouldn't need timezones! 06:49
06:51 tac-tics joined, p6bannerbot sets mode: +v tac-tics
AlexDaniel
.oO( let's make it flat, then )
06:53
06:54 tac-tics left
El_Che ;) 06:54
07:03 AlexDaniel left 07:06 abraxxa left 07:10 abraxxa joined 07:11 Grauwolf_ joined, p6bannerbot sets mode: +v Grauwolf_, p6bannerbot sets mode: +v abraxxa, kensanata joined, p6bannerbot sets mode: +v kensanata 07:14 f3ew_ joined, huf_ joined, gfldex_ joined, Hor|zon_ joined 07:15 p6bannerbot sets mode: +v f3ew_, p6bannerbot sets mode: +v huf_, p6bannerbot sets mode: +v gfldex_, p6bannerbot sets mode: +v Hor|zon_ 07:16 SourceBaby_ joined, ChanServ sets mode: +v SourceBaby_ 07:17 p6bannerbot sets mode: +v SourceBaby_
masak El_Che: I remember having my first *visceral* experience that the world is round here on #perl6, when I took in the fact that people fell asleep and woke up in shifts here. 07:17
El_Che: I mean, now it doesn't feel odd at all, but I remember actually needing to get used to it, in some sense
07:19 camelia left, Celelibi left, huf left, Hor|zon left, gfldex left, ExtraCrispy left 07:21 comboyna joined, aindilis left 07:22 silug joined 07:23 p6bannerbot sets mode: +v silug
kensanata Sometimes error messages are weird. I was struggling with Cro this morning, wanting to set a cookie to 'rainbow unicorn'. The error I got said it expected a CookieValue but had gotten a Str instead. I didn't know what to make of this. It was only by reading the source code that I figured out that this is due to a constraint (because cookie values may not contain spaces etc). 07:26
07:27 comboyna left 07:31 camelia joined
El_Che masak: we are the universalist elite populists talk about :) 07:32
07:32 p6bannerbot sets mode: +v camelia, nwejS joined, aindilis joined, Celelibi joined, S007 joined, mephinet joined, benchable6 joined, niven.freenode.net sets mode: +vvvv Celelibi S007 mephinet benchable6, roguelazer joined, xq joined, Hotkeys joined, huggable joined, niven.freenode.net sets mode: +vvvv roguelazer xq Hotkeys huggable, hoelzro joined, daemon joined, ilmari joined, niven.freenode.net sets mode: +vvv hoelzro daemon ilmari, p6bannerbot sets mode: +v S007, p6bannerbot sets mode: +v mephinet, p6bannerbot sets mode: +v xq, p6bannerbot sets mode: +v Hotkeys, p6bannerbot sets mode: +v daemon, p6bannerbot sets mode: +v ilmari 07:33 p6bannerbot sets mode: +v nwejS, p6bannerbot sets mode: +v aindilis, p6bannerbot sets mode: +v Celelibi, p6bannerbot sets mode: +v benchable6, p6bannerbot sets mode: +v roguelazer, p6bannerbot sets mode: +v huggable, p6bannerbot sets mode: +v hoelzro 07:34 aindilis left, nwejS left, aindilis joined 07:35 p6bannerbot sets mode: +v aindilis 07:37 huf_ is now known as huf 07:40 Sigyn left, Sigyn joined, p6bannerbot sets mode: +v Sigyn 07:57 AlexDaniel joined 07:58 p6bannerbot sets mode: +v AlexDaniel
El_Che I am 2 days working on older p5 code I write, and I must say perl 6 is responsable of making perl 5 less fun for me 08:01
you bastards 08:02
:)
08:04 saki joined, saki left
lizmat :-) 08:05
lizmat is currently working on a project to be integrated in a Perl 5 environment, but prototyping it in Perl 6 08:06
08:06 saki joined, saki left 08:09 Ven` joined 08:10 p6bannerbot sets mode: +v Ven` 08:11 dakkar joined 08:12 p6bannerbot sets mode: +v dakkar 08:13 Celelibi left, S007 left, mephinet left, benchable6 left, roguelazer left, xq left, Hotkeys left, huggable left, hoelzro left, daemon left, ilmari left 08:15 saki joined, saki left 08:21 Kaiepi left, Kaiepi joined 08:22 p6bannerbot sets mode: +v Kaiepi 08:27 Celelibi joined, S007 joined, mephinet joined, benchable6 joined, niven.freenode.net sets mode: +vvvv Celelibi S007 mephinet benchable6, roguelazer joined, xq joined, Hotkeys joined, huggable joined, niven.freenode.net sets mode: +vvvv roguelazer xq Hotkeys huggable, hoelzro joined, daemon joined, ilmari joined, niven.freenode.net sets mode: +vvv hoelzro daemon ilmari, p6bannerbot sets mode: +v S007, p6bannerbot sets mode: +v mephinet, p6bannerbot sets mode: +v xq, p6bannerbot sets mode: +v Hotkeys, p6bannerbot sets mode: +v daemon, p6bannerbot sets mode: +v ilmari 08:28 p6bannerbot sets mode: +v Celelibi, p6bannerbot sets mode: +v benchable6, p6bannerbot sets mode: +v roguelazer, p6bannerbot sets mode: +v huggable, p6bannerbot sets mode: +v hoelzro 08:29 [particle]1 left, [particle] joined, p6bannerbot sets mode: +v [particle] 08:32 saki joined, p6bannerbot sets mode: +v saki 08:38 gregf_ left 08:40 Ven` left 08:43 chiyosaki joined, TheresNoTimebu joined 08:44 Ven` joined, p6bannerbot sets mode: +v chiyosaki, p6bannerbot sets mode: +v TheresNoTimebu 08:45 p6bannerbot sets mode: +v Ven` 08:46 TheresNoTimebu left 08:50 rindolf joined 08:51 saki left, Celelibi left, S007 left, mephinet left, benchable6 left, roguelazer left, xq left, Hotkeys left, huggable left, hoelzro left, daemon left, ilmari left, p6bannerbot sets mode: +v rindolf 08:59 zectrosanXf joined 09:05 Celelibi joined, S007 joined, mephinet joined, benchable6 joined, niven.freenode.net sets mode: +vvvv Celelibi S007 mephinet benchable6, roguelazer joined, xq joined, Hotkeys joined, huggable joined, niven.freenode.net sets mode: +vvvv roguelazer xq Hotkeys huggable, hoelzro joined, daemon joined, ilmari joined, niven.freenode.net sets mode: +vvv hoelzro daemon ilmari, p6bannerbot sets mode: +v S007, p6bannerbot sets mode: +v mephinet, p6bannerbot sets mode: +v xq, p6bannerbot sets mode: +v Hotkeys, p6bannerbot sets mode: +v daemon, p6bannerbot sets mode: +v ilmari, zectrosanXf left, p6bannerbot sets mode: +v Celelibi, p6bannerbot sets mode: +v benchable6, p6bannerbot sets mode: +v roguelazer, p6bannerbot sets mode: +v huggable, p6bannerbot sets mode: +v hoelzro 09:07 gregf_ joined, p6bannerbot sets mode: +v gregf_ 09:08 daemon left, daemon joined, daemon left, daemon joined, p6bannerbot sets mode: +v daemon 09:20 olligobberzQ joined 09:22 cebrunsLH joined, p6bannerbot sets mode: +v cebrunsLH 09:25 olligobberzQ left 09:29 cebrunsLH left 09:32 moritz_ is now known as moritz 09:34 nightfrog joined, p6bannerbot sets mode: +v nightfrog 09:43 robertle left 09:59 ZzZombo left 10:00 SHODAN left 10:01 robertle joined 10:02 p6bannerbot sets mode: +v robertle 10:17 domidumont left 10:28 chiyosaki left 10:38 sena_kun joined, p6bannerbot sets mode: +v sena_kun 11:02 scimon joined, p6bannerbot sets mode: +v scimon 11:04 dogbert17 joined 11:05 p6bannerbot sets mode: +v dogbert17
Altreus What's the difference between Promise(supply {...}) and start { supply { ... } } ? 11:07
timotimo i think the former is equivalent to (supply { ... }).Promise, so it'll tap the supply and resolve the promise when the supply is finished, or maybe when it emits the first value 11:08
Returns a Promise that will be kept when the Supply is done. If the Supply also emits any values, then the Promise will be kept with the final value. Otherwise, it will be kept with Nil. If the Supply ends with a quit instead of a done, then the Promise will be broken with that exception.
that's the description of method Promise on class Supply 11:09
11:10 pmurias joined, p6bannerbot sets mode: +v pmurias
pmurias hmm, taking the --encoding option into account when decoding a Blob seems super weird :/ 11:11
timotimo oh, we do that? 11:12
11:13 saki joined
Altreus ah right, that's the behaviour that causes the pattern to work 11:13
I see I see
11:13 p6bannerbot sets mode: +v saki 11:17 sena_kun left 11:18 molaf joined, StianLRT joined, p6bannerbot sets mode: +v molaf
Altreus Say role A has a method frob($x), then role B does role A and wants to add new versions of frob. But role A hasn't declared it multi. 11:19
This seems odd
Because it means that by not declaring a method multi you constrain extension 11:20
timotimo worst case you can add a multi method frob($x) { self::A.frob($x) }
Altreus But then class C that does B is not allowed to have method frob($x) and also multi method frob()
and
I tried adding multi method frob($x) but it still complained
I'll make a small test 11:21
timotimo OK, in that case you may have to put an empty class in the hierarchy to do that
since role composition is kind of like copy-pasting the role's contents into your class
11:22 StianLRT left
Geth doc: 5876004878 | (Elizabeth Mattijsen)++ | doc/Language/5to6-nutshell.pod6
Add BEGIN, UNITCHECK, CHECK, INIT and END section

This was completely missing from the 5 -> 6 migration docs, afaics
11:23
synopsebot Link: doc.perl6.org/language/5to6-nutshell
Altreus gist.github.com/Altreus/da60f1c273...a27cd7c40f 11:24
Pretend Frobber comes from someone else though
Seems strange because it means any code on CPAN is immediately impossible to extend because the methods aren't multi
which means why would you ever make a method not multi 11:25
lizmat fwiw, I also think this behaviour of roles wrt to multi / only methods is sub-optimal, almost LTA
Altreus Does any other language have this sort of default restriction?
Every OO language I know of is multi-dispatch by default
luckily, in my analogous case, I have control over Frobber 11:26
I dunno why I'm being secretive about it; all the code is on github anyway
I fear judgement ;)
lizmat I think you're a bit paranoid :-) 11:27
Altreus I'm working on it 11:30
lizmat :-)
Altreus++
11:31 pmurias left 11:32 pmurias joined, p6bannerbot sets mode: +v pmurias, leont joined
masak re "why would you ever make a method not multi" -- designing for *lack of* extensibility is a valid use case/tradeoff in many cases, IMHO 11:33
11:33 p6bannerbot sets mode: +v leont
masak whether `only` is a good default for methods is another matter 11:33
(but it is consistent with how subs work, and macros)
leont I can see the advantage for subs but not for methods (in the general case) 11:34
Then again, global subs are something to avoid anyway, and properly namespaces it isn't really an issue 11:35
pmurias timotimo: I can't tell if it's a thought out decision or just a literal interpretation of S29 11:36
masak not sure where "global" comes into it, or whether I agree there's something wrong with global subs for (say) small scripting uses
pmurias Zoffix: do we really want use the value of --encoding for EVAL on Blob?
masak: almost everything is okish for small scripting uses ;) 11:38
11:39 pmurias left
masak yes, well, "properly namespaced it isn't really an issue" -- when you start scaling up to modules, each "global" is really only a private module namespace 11:39
"the best thing about the global namespace is there's so many of them" :P 11:40
11:42 molaf left 11:44 AlexDaniel left 11:45 pmurias joined, p6bannerbot sets mode: +v pmurias, ZzZombo joined, p6bannerbot sets mode: +v ZzZombo
buggable New CPAN upload: App-Platform-0.4.1.tar.gz by KAJI modules.perl6.org/dist/App::Platform:cpan:KAJI 11:47
tadzik masak: in case of objects it feels like a bit of an open-closed violation imho 11:54
masak no, I think it goes deeper than that 11:59
quoting Bloch, "Design and document for inheritance or else prohibit it" (Item 19 in Effective Java) 12:00
I think that's an extreme stance (measured relative to what most people think), but I think it makes sense from an API perspective 12:01
crucially, some classes one writes *should not be extended*
lizmat afk for a few hours&
leont TBH, most classes I write shouldn't be extended 12:02
masak right
inheritance is not a universal right -- it's more like a fairly limited design choice 12:03
from that perspective, I think it makes sense for methods to be `only` by default, actually
it's only in recent OO languages that methods are *virtual* by default ;) 12:04
12:04 domidumont joined
pmurias masak: do you think methods being *not* virtual makes any sense from a language design perspective 12:05
masak: as opposed for being easier to implement perspective
12:05 p6bannerbot sets mode: +v domidumont
pmurias s/opposed for/opposed to the/ 12:06
leont virtual is more complicated 12:07
e.g. in many languages one can't call virtual methods reliably from a constructor
12:07 pmurias left, pmurias joined, p6bannerbot sets mode: +v pmurias 12:10 domidumont left 12:11 domidumont joined, pmurias left, p6bannerbot sets mode: +v domidumont 12:12 pmurias joined, p6bannerbot sets mode: +v pmurias
buggable New CPAN upload: App-Platform-0.4.2.tar.gz by KAJI modules.perl6.org/dist/App::Platform:cpan:KAJI 12:17
masak I've had real-world bugs come from virtual/overridden methods being called from a constructor in Java 12:25
the order in which initializers/constructors in base/derived classes run in Java is very surprising
pmurias: I dunno. I haven't really taken a stance on that issue. from what I've read there's kind of a final-by-default camp and a virtual-by-default camp 12:26
and they both have reasonable arguments 12:27
12:44 pmurias left 12:49 sph084bluego joined 12:50 p6bannerbot sets mode: +v sph084bluego, thundergnat joined, p6bannerbot sets mode: +v thundergnat, sph084bluego left
thundergnat Howdy #perl6 12:50
12:51 pmurias joined, p6bannerbot sets mode: +v pmurias
masak thundergnat: \o 12:51
thundergnat I am trying to find the indicies of an array where the values are the same but am having difficulty doing it concisely.
pmurias masak: I meant you where in the non-final and non-virtual camp like in C++
thundergnat I've got something that works, but it requires an intermediate value and seems like it should be something that can be more concise. 12:52
12:53 pmurias left
thundergnat m: my %s; [0, 0, 0, 0, 1, 1, 2, 4, 2, 4, 0].antipairs.map({ %s{$_.key}.push: $_.value }); say %s.values; #works, but verbose 12:53
camelia ([0 1 2 3 10] [4 5] [6 8] [7 9])
thundergnat Anyone have any hints on how to get rid of %s? 12:54
I don't really care about the actual values, just the groups of indicies where they are the same. 12:55
12:55 pmurias joined, p6bannerbot sets mode: +v pmurias
timotimo so a little bit like categorize? 12:55
12:56 Technaton joined
thundergnat timotime: yes, but I'm drawing a blank on what the catogorize mapper should be. 12:56
timotimo m: say [0, 0, 0, 0, 1, 1, 2, 4, 2, 4, 0].pairs.categorize(*.key, :as(*.value));.perl
camelia {0 => [0], 1 => [0], 2 => [0], 3 => [0], 4 => [1], 5 => [1], 6 => [2], 7 => [4], 8 => [2], 9 => [4], 10 => [0]}
timotimo not quite
m: say [0, 0, 0, 0, 1, 1, 2, 4, 2, 4, 0].pairs.categorize(*.value, :as(*.key));.perl
camelia {0 => [0 1 2 3 10], 1 => [4 5], 2 => [6 8], 4 => [7 9]}
timotimo does that look right?
12:57 p6bannerbot sets mode: +v Technaton
thundergnat timotimo: Ah! yes, that is perfect! 12:57
Thanks!
timotimo \o/
13:01 domidumont1 joined, p6bannerbot sets mode: +v domidumont1 13:04 domidumont left 13:05 thundergnat left, Zoffix joined, p6bannerbot sets mode: +v Zoffix, Zoffix left 13:09 lizmat left 13:18 saki left 13:26 saki joined 13:27 p6bannerbot sets mode: +v saki
masak pmurias: not sure I'm in any camp right now 13:29
timotimo look around you. look around you! just ... look around you 13:30
are there any tents?
masak yes...?
two small ones and a big one
timotimo that is the correct answer
write it down in your copybook now
masak scribbles furiously 13:31
"...in ...a ...camp"
timotimo just to make sure, you know about Look Around You, right?
masak don't think I do 13:32
timotimo ooooh
you're potentially in for a real treat
masak tentatively checks youtube
ooh
pmurias is confused 13:33
13:40 mamaloskB joined 13:41 p6bannerbot sets mode: +v mamaloskB 13:48 mamaloskB left 13:57 pmurias left 13:59 ubermonk left, ubermonk joined 14:00 p6bannerbot sets mode: +v ubermonk 14:04 SqrtNegInf left, isacl_ joined, p6bannerbot sets mode: +v isacl_ 14:05 AlexDaniel joined 14:06 p6bannerbot sets mode: +v AlexDaniel 14:10 pmurias joined, p6bannerbot sets mode: +v pmurias 14:11 domidumont joined 14:12 sena_kun joined, p6bannerbot sets mode: +v domidumont 14:13 p6bannerbot sets mode: +v sena_kun 14:14 domidumont1 left 14:25 pmurias left 14:35 kerframil joined, p6bannerbot sets mode: +v kerframil
[Coke] yawns. 14:44
14:52 domidumont left 15:02 alcymd joined 15:03 p6bannerbot sets mode: +v alcymd 15:04 dshwang joined, dshwang left, chkeoe joined 15:05 p6bannerbot sets mode: +v chkeoe 15:08 troys joined, chkeoe left, p6bannerbot sets mode: +v troys 15:23 saki left 15:26 saki joined 15:27 p6bannerbot sets mode: +v saki 15:30 lizmat joined, p6bannerbot sets mode: +v lizmat 15:31 fake_space_whale joined 15:32 p6bannerbot sets mode: +v fake_space_whale, shmup joined, p6bannerbot sets mode: +v shmup 15:38 Bucciarati left 15:46 SqrtNegInf joined 15:47 p6bannerbot sets mode: +v SqrtNegInf 15:50 itaipu joined, p6bannerbot sets mode: +v itaipu 15:53 Bucciarati joined 15:54 p6bannerbot sets mode: +v Bucciarati 15:57 rsalvetiHq joined, p6bannerbot sets mode: +v rsalvetiHq, rsalvetiHq left 15:58 Alumin joined 15:59 p6bannerbot sets mode: +v Alumin 16:02 Alumin left 16:03 jmerelo joined, p6bannerbot sets mode: +v jmerelo 16:09 alcymd left 16:12 claes-magnus joined, p6bannerbot sets mode: +v claes-magnus 16:14 claes-magnus left 16:16 zxcvz joined 16:17 p6bannerbot sets mode: +v zxcvz 16:23 HaraldJoerg joined 16:24 p6bannerbot sets mode: +v HaraldJoerg 16:26 scimon left 16:28 dakkar left, saki left 16:30 MilkmanDan left 16:31 kensanata left, MilkmanDan joined, p6bannerbot sets mode: +v MilkmanDan 16:37 Ven` left 16:43 domidumont joined, p6bannerbot sets mode: +v domidumont 16:45 MilkmanDan left 16:47 MilkmanDan joined, p6bannerbot sets mode: +v MilkmanDan 16:54 jmerelo left 16:56 wigustuk joined 16:58 molaf joined 16:59 p6bannerbot sets mode: +v molaf 17:00 wigustuk left
Geth doc: ddd8efa50d | (Elizabeth Mattijsen)++ | doc/Language/phasers.pod6
Move CLOSE phaser to asychronous phasers section
17:05
synopsebot Link: doc.perl6.org/language/phasers
17:11 Guest48427 joined 17:15 avar left, Bucciarati left, Guest48427 left 17:17 Kaiepi left, Bucciarati joined, avar joined, avar left, avar joined, p6bannerbot sets mode: +v avar 17:18 Kaiepi joined, p6bannerbot sets mode: +v Bucciarati, p6bannerbot sets mode: +v avar, p6bannerbot sets mode: +v Kaiepi 17:20 domidumont left 17:21 domidumont joined 17:22 p6bannerbot sets mode: +v domidumont 17:41 kensanata joined, p6bannerbot sets mode: +v kensanata 18:04 puddingpimpvP joined
kensanata I'm looking for some Perl6 and Cro advice for this route: github.com/kensanata/oddmuse6/blob...es.pm6#L65 -- it's a simple CAPTCHA sort of thing: if you don't have the secret cookie, go answer a question; if you have the answer, go set the cookie. The first problem I have is I don't know how to move this code into a sub. 18:05
set-cookie only seems to work in this particular context and I don't know what to pass to a sub so that I can call set-cookie over there. Something about the invisible request, I assume. 18:06
I was also wondering how to write this using the Auth idea that Cro comes with but wasn't sure how to do it, exactly, since I don't actually have accounts so translating the examples wasn't straight forward. 18:07
sena_kun kensanata, give me a second...
kensanata, so you did try to just move your code into the sub and call it from route? The thing is it works using dynamic variable, so I am tend to think it should just work here. 18:09
18:10 puddingpimpvP left
kensanata sena_kun: Let me recreate what I had and get back to you with an error. :) 18:12
sena_kun kensanata, well, if it certainly caused an error, it's another deal. :) I'll create a small example and play with it... 18:13
18:13 zxcvz left 18:14 zxcvz joined, st_elmo joined, p6bannerbot sets mode: +v zxcvz, p6bannerbot sets mode: +v st_elmo 18:15 zxcvz left
sena_kun kensanata, gist.github.com/Altai-man/2e042792...cd7d37254c <- this(`service.p6` and other stubbed parts are omitted) works for me and correctly sets cookie. 18:16
18:17 Jeroen52ax joined, p6bannerbot sets mode: +v Jeroen52ax, Jeroen52ax left
sena_kun kensanata, as for Auth question, not sure right now and a bit busy, probably you want to ping me tomorrow. a SO question is an option too. 18:18
kensanata sena_kun: You are right about the set-cookie example and I verified that it works in my code as well. D'Oh! Now I wonder what I must have tried yesterday evening. Must have been late! 18:19
sena_kun: Thanks! Will clean up my code, now! 18:20
sena_kun kensanata, evening is often the case for me too. :)
kensanata :)
sena_kun kensanata, good luck.
kensanata Thanks
18:22 zxcvz joined, p6bannerbot sets mode: +v zxcvz 18:27 sauvin left
mantovani hello 18:31
do you recommend some article to learn perl 6 grammar ? the example of the documentation is quick simple 18:32
El_Che mantovani: theperlfisher.blogspot.com/2016/02/...rs-pt.html
there are 4 pieces
mantovani thank you El_Che. 18:33
El_Che The author is a regular here :)
mantovani great :)
moritz mantovani: I'd recommend smile.amazon.com/dp/1484232275/ but I'm biased :-)
El_Che also, moritz published a book on the subject 18:34
ah, his spam was faster than my reaction :P
mantovani thank you moritz
moritz: when I read a book from safaribooking they pay you? 18:35
moritz mantovani: there is a one-time payment to me for inclusion in safari books, but not per read there 18:36
but that's fine. If I were after the money, I'd spent my time differently than writing Perl 6 books :-)
El_Che moritz: interesting to know 18:37
I thought it was an streaming model
moritz might depend on the publisher
anyway, I'd be much happier about an amazon rating (doesn't need to be a full review) than another paying customer 18:38
tison oh I forget to give a rating, your book is the first recommendation when someone asked me if there is a Perl 6 book. 18:39
El_Che moritz before (the beginning) the amazon review and after (from sec 40): twitter.com/ThatEricAlper/status/1...4645199872 18:40
mantovani moritz: I will buy the book 18:41
tison hmmm I cannot write a review now, but given a rating 18:42
18:43 kerframil left
mantovani moritz: does it has a PDF version? 18:43
(that I can buy)
I don't have kindle and I want to read on my computr
El_Che mantovani: www.apress.com/gp/book/9781484232279 18:44
mantovani: do you have "Perl 6 Regexes and Grammars" in Safari? I don't and I wonder if it's a region thing 18:45
(think perl6 is there) 18:46
(also Perl6 Deep Dive)
mantovani El_Che: what do you mean ?
moritz right, Apress sells watermarked but DRM-Free PDFs
mantovani Safari the browser?
El_Che no o'reilly service 18:47
geekosaur oreillys online thing
El_Che learning perl6 also arrived
so we have 3 recent books there
and 3 old ones
mantovani moritz: I just bought the book
moritz mantovani: thanks 18:48
El_Che (2 old instead of 3: 2003, 2004)
It may be interesting to read to see what's changed
DrForr's series of talks is also there 18:49
Garland_g[m] moritz: Thanks for writing that book. I got myself a copy and it's really helped me understand Grammars better.
moritz Garland_g[m]: my pleasure; I'd also appreciate a rating on amazon :-)
mantovani moritz: prnt.sc/l1tnx4 18:50
can you send me the pdf please ?
this kindlecloud is discusting
El_Che (when needed I use Calibre to convert kindle to epub) 18:51
mantovani I just download it 18:52
I hope is free if malware
18:52 xinming left
El_Che calibre? 18:52
mantovani yes
El_Che calibre is free software
18:52 kurahaupo left 18:54 kurahaupo joined
moritz mantovani: what's your email address? 18:54
18:54 p6bannerbot sets mode: +v kurahaupo
mantovani [email@hidden.address] 18:55
I don't understand why so many stupid restrictions.
El_Che welcome to 2018 18:57
18:57 AlexDaniel left, AlexDaniel joined 18:58 p6bannerbot sets mode: +v AlexDaniel
mantovani moritz: thank you very much, I own you a beer 18:58
I own you many beers 18:59
moritz: I just submitted a 5 star review 19:01
submit*
ufobat what is wrong when "cro run" says An operation first awaited: in sub run-services at /home/martin/.rakudobrew/moar-2018.08/install/share/perl6/site/sources/966B0E6CB70976402D480A8B95DE5228DD11C48C (Cro::Tools::CLI) line 227 19:03
mantovani I need to migralte an ELT wrote using SQL Server Stored Procedures to Apache Spark and I intend to write a grammar to do mostly of the job 19:04
moritz mantovani: thanks!
mantovani migrate* 19:05
ufobat ah it dies: Died with the exception: Cannot look up attributes in a Cro::Tools::CroFile type object
moritz that means somewhere forgot a .new
19:05 xinming joined 19:06 Bucciarati left, p6bannerbot sets mode: +v xinming
sena_kun it is an odd heisenbug which is tied to _probably_ YAMLish module. :/ 19:08
19:08 Bucciarati joined 19:09 p6bannerbot sets mode: +v Bucciarati
ufobat where exactly, moritz :p 19:10
github.com/croservices/cro/blob/ma...I.pm6#L227 <- thats the line that is mentioned in the stack trace 19:11
19:11 domidumont left
masak the 007 test suite runs a few seconds faster on today's Rakudo than Rakudo-from-two-months-ago 19:12
19:12 fake_space_whale left
tbrowder__ hi, #perl6 ....... \o 19:12
masak m: say ((63 - 58) / 63 * 100).fmt("a %.1f%% speedup") 19:13
camelia a 7.9% speedup
tbrowder__ i’m still looking for a new best editor. has anyone ever used Sublime Text or UltraEdit or Komodo? if so, can they be modified, by the user, to work with p6? same questions for Slick Edit. 19:15
ufobat funny, the stack trace looks differently when i clone cro and do a perl6 -I ../to/cloned/cro/lib
tbrowder__ thanks
19:16 Kaiepi left
tadzik 7.9% is pretty fat :) 19:17
mantovani DrForr: your blog is not being indexed by Google
tbrowder__ i have a love-hate relationship with emacs, hate the lisp stuff, but love the results (sometimes).
19:17 Kaiepi joined, HaraldJoerg left
tbrowder__ i have high hope for commaide, but it’s not there yet. 19:18
19:18 p6bannerbot sets mode: +v Kaiepi 19:20 Zoffix joined, p6bannerbot sets mode: +v Zoffix, HaraldJoerg joined
sena_kun tbrowder__, vim maybe? I am an emacs user though(well, moving to Comma for testing purposes). Is there something particular you don't like in just using emacs's perl6-mode(without a couple of bugs) or just general lack of features? 19:20
19:21 p6bannerbot sets mode: +v HaraldJoerg
Zoffix .tell pmurias I imagined --encoding was for source code encoding, hence why it makes sense in blob evals 19:21
yoleaux Zoffix: I'll pass your message to pmurias.
19:21 Zoffix left
tbrowder__ sena_kun: hi! 19:21
sena_kun o/ 19:22
ufobat i see the bug, i dont know how to fix it :(
sena_kun ufobat, can you please post your guesses to github.com/croservices/cro/issues/68 (if it's relevant)? Otherwise, github.com/croservices/cro/issues/65 19:23
ufobat ty for the links 19:24
jnthn tbrowder__: Also, please remember to submit details about things you run into (beyond those you already have, of course). I'm using it for nearly all my Perl 6 coding by now, to also uncover stuff (and also because by now I miss the auto-complete and error detection too much everywhere else... :))
sena_kun I remember the same bug was reproducible after N times of running just plain YAML loading, so we suspected it's concurrency issue with YAMLish. But now iirc we have a guard there and the bug is still here it seems. 19:25
tbrowder__ well, for emacs, i would really like a good unicode visual map, get perl5 mode working, and get horizontal sliders working. since i moved from xemacs to emacs with p6, i’ve not been real happy (although i’m very pleased with my p6 sub/class/var indexer contribution).
ufobat then maybe i run into a different bug, sena_kun
jnthn Yeah, I remember putting in some kind of locking around the YAML loading...did that get released yet, though?
ufobat sena_kun, give me a sec, i'll create a gist to let to know what i have spotted. maybe i am wrong 19:26
sena_kun ufobat, then please report it, it'd be very appreciated.
jnthn really wants to get 0.8.0 out late this week or early next week; probably, looking at my schedule, the latter.
19:27 steamport joined
sena_kun tbrowder__, oh, you have more needs than just "type text with some highlighting and indentation" it seems. then I am afraid I am not much of help. 19:27
masak does anyone want to hear something freaky I just realized about unquotes?
masak .oO( don't ask to horrify )
tbrowder__ jnthn: to be fair i’ve not used commaide much. the lack of a visual tool for unicode is a feature i really want, and it’s been a little slow on my laptop—i’m probably not a typical user, ‘cause i don’t use many power features. 19:28
19:28 AlexDaniel left 19:29 AlexDaniel joined, p6bannerbot sets mode: +v AlexDaniel
ufobat sena_kun, gist.github.com/ufobat/fb62ec03013...099359078c 19:30
19:31 steamport left
jnthn tbrowder__: What visual tools for Unicode are you using otherwise, out of curiosity? 19:31
sena_kun ufobat, thanks! bookmarked it.
ufobat i dont know if it is the same bug, but if you tell me if it fits to one of those 2 issues i'll comment on it. i just started cro, i have no clue what the cro-file is in a service 19:32
sena_kun ufobat, seems to be something different at a glance. 19:33
jnthn ufobat: cro.services/docs/cro-yml fwiw
tbrowder__ jnthn: i’m just using the klingon mind meld with emacs to insert codepoints, and i use \x and \c a fair amount when needed inside rakudo source
masak "vulcan mind meld", surely? 19:34
or is the Klingon mind meld a really aggressive version of that?
tbrowder__ yeah, that, couldn’t think of vulcan soon enough
i did mean vulcan
ufobat i do have such a .cro.yml file 19:35
geekosaur masak, were you looking to be unquoted?
:p
masak geekosaur: I'll take that as a "yes" :P
ok, so you all know that when you compare two operators A and B for precedence, there are three possible answers 19:36
"A is tighter", "B is tighter", "A and B share a precedence level"
these are the *only* three possible answers on a totally ordered set 19:37
for a *partially* ordered set, there's a fourth answer
"A and B are do not have a comparable precedence" 19:38
but that answer is not possible, since the precedence levels are totally ordered...
...*until* you introduce quasi unquotes o.O
19:39 pecastro joined 19:40 p6bannerbot sets mode: +v pecastro
jnthn Well, that's an interesting point to poset... :P 19:40
19:41 pyrimidine left
jnthn This effectively means that you can't actually put a quasi's quoted material into tree form until the unqoutes are filled? 19:41
masak correct
jnthn Or at least, not a final tree form...
That's kinda evil :) 19:42
masak I realized this time last year that you shouldn't even try to put it in tree form before evaluation
the JS templating libraries that implement templates as functions got it right
jnthn Especially given that Perl 6 actually tries to do this while parsing EXPR, not even in an actions phase later (every compiler I've written in Perl 6 actually defers it to actions, though :)) 19:43
So that implies maybe we need a different EXPR (and who knows what else) for parsing quasis
masak yeah, there's certainly a tension going on there 19:44
a... different EXPR. but that'd be *gasp* two code paths!
jnthn Oh no!!!
masak .oO( meanwhile, in the other code path: Oh no!! )
jnthn goes to cry, though mainly 'cus he has to chop onions :) 19:45
19:45 alcymd joined
tadzik don't feel bad, they don't have feelings 19:45
and try to avoid the fingers :P
19:46 p6bannerbot sets mode: +v alcymd
masak onions have *fingers*!? 19:46
tadzik 6 of them, just like us humans
masak needs to sit down
El_Che you sadist
tadzik 6 in each hand, so 18 in total 19:47
duh
masak starts sweating, deciding to play along 19:48
...of course.
tadzik /r/totallynotrobots 19:49
mantovani Audrey Tang anre't involved anymore with Perl 6 community ? 19:52
moritz no 19:56
19:57 pyrimidine joined
kensanata When I'm on my Debian server, I am offered perl6 and rakudo, but on this laptop I installed rakudo-star, if I remember correctly. How do I decide what I need? 19:58
19:58 p6bannerbot sets mode: +v pyrimidine
El_Che She is a miniter in the Taiwanese government nowadays 19:58
moritz kensanata: look at the version numbers available for either 20:01
also, "apt-cache show $package" can provide some insight
for example on ubuntu, the info for perl6 contains 20:02
perl6 package is a meta package that aims to depend on a Perl6
compiler and Perl6 core modules. Currently this package depends only
on a compiler (rakudo). Dependency on the perl6 modules shipped by rakudo-star
will be added later once they are available on Debian.
kensanata moritz: One says 6.c-1, the other 2016.12-1 and my own is 2018.06 but is apparently also 6.c
Ah.
El_Che on my ubuntu: 2018.03-1 (what's packaged on Ubuntu 18.04) and 2018.09-01 (my rakudo-pkg debian/ubuntu repo) 20:04
I guess star is something in between
jnthn 6.c is the language version, 2018.06 is the compiler version; 2018.06 will be an enormous amount better. :) 20:05
kensanata OK! 20:06
20:10 patrickb joined 20:11 p6bannerbot sets mode: +v patrickb 20:16 ribasushi joined 20:17 p6bannerbot sets mode: +v ribasushi 20:18 ferossri joined 20:21 Bucciarati left 20:22 HaraldJoerg left, HaraldJoerg1 joined, avar left 20:23 ferossri left, p6bannerbot sets mode: +v HaraldJoerg1 20:27 kensanata left 20:29 devxvG joined, devxvG left 20:32 zxcvz left 20:36 patrickb left 20:37 Grauwolf_ is now known as Grauwolf, Rawriful joined 20:38 p6bannerbot sets mode: +v Rawriful 20:40 st_elmo left 20:41 avar joined, avar left, avar joined, Bucciarati joined, p6bannerbot sets mode: +v avar 20:42 p6bannerbot sets mode: +v avar, p6bannerbot sets mode: +v Bucciarati 21:00 scotticles joined 21:01 p6bannerbot sets mode: +v scotticles, sena_kun left 21:02 scotticles left 21:03 scotticles joined 21:04 p6bannerbot sets mode: +v scotticles, scotticles left, scotticles joined 21:05 p6bannerbot sets mode: +v scotticles 21:06 scotticles left 21:16 scotticles joined 21:17 p6bannerbot sets mode: +v scotticles 21:41 scotticles left 21:42 jsimonet joined 21:43 p6bannerbot sets mode: +v jsimonet 21:46 sidetrack joined 21:47 p6bannerbot sets mode: +v sidetrack 21:51 sdx23AI joined, sdx23AI left 21:53 sidetrack left 21:56 Rawriful left 22:02 molaf left 22:05 s0me0ne_ left, s0me0ne_ joined 22:06 p6bannerbot sets mode: +v s0me0ne_ 22:14 HaraldJoerg1 left 22:20 itaipu left 22:35 entonian joined, MasterDuke joined, p6bannerbot sets mode: +v MasterDuke 22:36 p6bannerbot sets mode: +v entonian, MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke
buggable New CPAN upload: Sparrowdo-VSTS-YAML-Build-Assembly-Patch-1.0.0.tar.gz by MELEZHIK modules.perl6.org/dist/Sparrowdo::V...n:MELEZHIK 22:37
22:39 pecastro left, entonian left 22:50 vrurg left 22:51 vrurg joined 22:52 p6bannerbot sets mode: +v vrurg 22:59 lizmat left 23:10 MasterDuke left 23:13 MATPOCKuH joined 23:14 p6bannerbot sets mode: +v MATPOCKuH 23:19 MATPOCKuH left 23:24 rindolf left 23:25 lizmat joined, p6bannerbot sets mode: +v lizmat 23:31 camelia left 23:34 camelia joined, p6bannerbot sets mode: +v camelia