»ö« 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:03 labster left, mildbill_ joined 00:07 Rawriful left 00:08 troys joined 00:09 pierre_ joined, quotable6 left 00:10 cdg joined, quotable6 joined, ChanServ sets mode: +v quotable6 00:11 pierre_ left, pierre_ joined 00:12 brrt left 00:20 mcmillhj joined 00:23 skids left, mildbill_ left 00:25 mcmillhj left 00:28 Phraeyll joined
Phraeyll i'm not able to create a udp socket with :broadcast set 00:29
attempting this: my $socket = IO::Socket::Async.udp(:broadcast); 00:30
00:32 Cabanossi left 00:35 Cabanossi joined 00:49 lookatme joined
lookatme morning 00:49
00:52 raschipi joined 00:57 cdg left, cdg joined 01:00 Phraeyll left 01:02 Phraeyll joined 01:03 eythian left 01:04 raschipi left, kshannon joined 01:06 skids joined 01:09 Phraeyll left 01:11 troys is now known as troys_, eythian joined 01:14 evalable6 left, evalable6 joined, ChanServ sets mode: +v evalable6 01:16 mr-fooba_ left 01:17 mcmillhj joined 01:19 mr-foobar joined 01:21 colomon joined 01:22 mcmillhj left 01:33 mcmillhj joined 01:35 cdg left 01:36 colomon left 01:38 troys_ is now known as troys 01:39 mcmillhj left 01:45 ilbot3 left 01:47 Cabanossi left 01:50 Cabanossi joined 01:51 ilbot3 joined, ChanServ sets mode: +v ilbot3 01:52 pierre_ left 01:57 astj joined 02:02 astj left 02:04 cpage__ joined 02:05 cpage_ left, cpage__ is now known as cpage_ 02:09 noganex_ joined, DBeepBeep joined 02:11 cpage left, jargan joined, jast left, cpage joined 02:12 noganex left 02:17 pilne left, cibs_ joined, R0b0t1_ joined 02:18 ilbelkyr_ joined, leah2 left, MilkmanDan left, k-man left, Aaronepower left, eythian left, hythm left, cgfbee left, mtj_ left, lizmat left, maettu left, notbenh left, alimon left, R0b0t1 left, ilbelkyr left, sivoais left, risou left, konsolebox left, sjn left, alimon joined, ijneb left, freeze left, ryu0 left, jeek left, camelia left, cibs left, ranguard left 02:19 sivoais joined, jeek joined, eythian joined, sjn joined 02:20 ranguard joined, cgfbee joined, ryu0 joined, lizmat joined, john51 left, freeze joined, KotH_ joined 02:21 TEttinger left, john51 joined 02:22 ribasushi left, epony left, Peter_R left 02:23 MilkmanD1n joined, maettu joined, konsolebox joined 02:24 risou joined, Peter_R joined, TEttinger joined, alimon1 joined, dorothyw joined 02:26 pierre_ joined, kshannon_ joined, hythm joined 02:27 ilbelkyr_ is now known as ilbelkyr 02:28 kshannon left, KotH left, alimon left, ijneb joined 02:29 mtj_ joined, leah2 joined, camelia joined 02:31 Peter_R left, ChanServ sets mode: +v camelia 02:32 Ben_Goldberg joined, BenGoldberg left, Ben_Goldberg is now known as BenGoldberg, notbenh joined 02:33 Peter_R joined, Cabanossi left
DBeepBeep Have macros been implemented yet? 02:34
02:35 Cabanossi joined
Geth whateverable/master: 4 commits pushed by (Aleks-Daniel Jakimenko-Aleksejev)++ 02:35
AlexDaniel DBeepBeep: no 02:36
DBeepBeep: but what problem are you trying to solve? Maybe there's a way to do it without macros
DBeepBeep There isn't
I'll just use common lisp for now
AlexDaniel :)
DBeepBeep Thanks anyways 02:37
02:39 mcmillhj joined 02:41 k-man joined
DBeepBeep ;/part 02:43
02:43 DBeepBeep left 02:44 mcmillhj left 02:48 ribasushi joined
dorothyw I had thought there were macros in perl6 but they were called slangs 02:49
because apparently a macro is a very specific sort of way to add syntax.
02:50 mcmillhj joined 02:55 mcmillhj left 03:01 mcmillhj joined 03:07 mcmillhj left
dorothyw based on this it seems macros do exist in perl6 perl6advent.wordpress.com/2012/12/...23-macros/ 03:09
03:12 mcmillhj joined
lookatme yeah, IDK is slang is a kind if macro 03:13
s/if/of/
03:15 nadim left
dorothyw AFAIK actual macros are supported 03:16
03:17 Cabanossi left, mcmillhj left
dorothyw You just have to treat perl6 macros very gingerly by the sound of it 03:17
mst I believe that while there is a macro facility in core it's not an officially-for-use thing because it's not a finalised design
lookatme dorothyw, Perl 6 of course has macro, I found that in test suite 03:18
03:18 Cabanossi joined
mst slangs OTOH are a way to sort of lexically subclass the parser 03:19
lookatme but there has no document about macro
mst generally internal-use-only features don't get documented, no
lookatme and I have read some slang example, there are not similar with macro for me
03:20 Phraeyll joined 03:21 Phraeyll left 03:22 mcmillhj joined 03:23 ipatrol joined
ipatrol what is this unsigiled "lines" variable I keep seeing in places? 03:23
03:27 mcmillhj left
lookatme you mean the sigilless variable ? 03:28
docs.perl6.org/language/variables#..._variables
ipatrol lookatme: is that how `lines` is created? 03:31
see github.com/dnmfarrell/Perl6-One-Liners#tutorial for an example 03:32
03:33 mcmillhj joined
lookatme ipatrol, it is not create container as document said, the different with sigil variable is it not enforce context 03:33
ipatrol lookatme: but what is `lines` then?
lookatme ipatrol, no 03:34
there is just a sub
03:34 skids left
lookatme It's no a variable 03:34
docs.perl6.org/routine/lines 03:35
without argument, it will operator on $*ARGFILES 03:36
ipatrol lookatme: oh I see
lookatme Hmm
03:37 pierre_ left, mcmillhj left 03:39 troys is now known as troys_ 03:43 someuser left 03:44 mcmillhj joined, Phraeyll joined 03:45 pierre_ joined 03:48 mcmillhj left 03:52 skids joined 03:54 mcmillhj joined 03:55 pharv_ joined 03:56 entonian joined 03:59 mcmillhj left 04:00 entonian left, pharv_ left 04:03 ipatrol left 04:05 mcmillhj joined 04:07 mr-foobar left 04:10 mcmillhj left, mr-foobar joined 04:11 lijinfeng joined 04:16 mcmillhj joined 04:21 epony joined, mcmillhj left, pierre_ left, skids left 04:25 mcmillhj joined 04:28 pharv_ joined 04:30 mcmillhj left 04:34 llfourn joined 04:36 mcmillhj joined 04:37 mr-foobar left 04:38 skids joined, mr-foobar joined 04:41 mcmillhj left 04:43 AlexDani` joined 04:45 AlexDaniel left, Cabanossi left 04:48 Cabanossi joined 04:49 lijinfeng left 04:51 troys_ is now known as troys 04:58 BenGoldberg left 05:00 Phraeyll left, haha_ joined 05:01 larry joined 05:04 ckraniak left, troys left 05:05 haha_ left 05:06 khw left, mcmillhj joined 05:08 mr-foobar left 05:09 xtreak joined 05:10 skids left 05:11 mcmillhj left 05:12 mr-foobar joined 05:17 mcmillhj joined 05:19 ckraniak joined 05:21 larry left 05:22 mcmillhj left, mcmillhj joined 05:27 mcmillhj left 05:33 mcmillhj joined 05:36 zengargo1le joined 05:38 mcmillhj left 05:39 zengargoyle left 05:40 haha_ joined 05:43 espadrine joined 05:45 mcmillhj joined 05:48 dorothyw` joined 05:49 mcmillhj left 05:52 dorothyw left 05:53 nhywyll joined 05:58 llfourn left, andrzejku joined 05:59 wamba joined 06:03 ckraniak left 06:06 mcmillhj joined 06:09 mr-foobar left 06:11 haha_ left, mr-foobar joined 06:13 pierre_ joined 06:14 mcmillhj left 06:19 zengargoyle joined 06:20 lizmat left, cpage_ left, cpage__ joined 06:21 ckraniak joined 06:23 zengargo1le left 06:24 zengargoyle left, zengargo1le joined 06:33 espadrine left 06:38 mcmillhj joined, mr-foobar left 06:40 mr-foobar joined, wamba left 06:42 mcmillhj left 06:45 mcmillhj joined 06:46 wamba joined 06:53 mcmillhj left 06:58 nadim joined, dwarring left 07:00 vimal2012 joined 07:03 lizmat joined 07:04 ijneb left 07:05 llfourn joined, xtreak left 07:06 xtreak joined, rindolf joined 07:07 labster joined 07:09 mr-foobar left, eroux left, darutoko joined 07:10 xtreak left, mr-foobar joined 07:12 abraxxa joined 07:14 KotH_ is now known as KotH 07:15 nadim left 07:16 labster left 07:18 eroux joined 07:20 zengargo1le left 07:22 zengargoyle joined 07:23 mcmillhj joined 07:28 mcmillhj left, nadim joined 07:30 mcmillhj joined 07:32 labster joined 07:33 labster left, labster joined 07:34 labster left 07:35 mcmillhj left, lowbro joined, lowbro left, lowbro joined 07:37 labster joined 07:38 lizmat left, lizmat joined 07:39 mr-foobar left 07:40 lizmat left 07:41 mcmillhj joined 07:42 mr-foobar joined
stmuk hopes brrt gets streamed 07:47
07:47 mcmillhj left, vimal2012 left 07:49 lizmat joined 07:58 mcmillhj joined 08:03 mcmillhj left 08:04 pharv_ left 08:05 zengargoyle left 08:07 xtreak joined, snarkyboojum left 08:09 mcmillhj joined, mr-foobar left 08:10 mr-foobar joined, xtreak left 08:11 xtreak joined, xtreak left, xtreak joined 08:14 labster left 08:17 zengargoyle joined 08:18 mcmillhj left 08:19 xtreak left, xtreak joined
zengargoyle .botsnack 08:23
synopsebot6 om nom nom
yoleaux :D
08:24 xtreak left, mcmillhj joined 08:26 zakharyas joined 08:28 zakharyas left
lookatme :P 08:28
08:29 mcmillhj left, ChoHag joined 08:30 zakharyas joined 08:34 sena_kun joined 08:37 parv joined 08:46 lizmat left 08:47 labster joined, mcmillhj joined 08:50 labster left 08:51 pierre_ left
zengargoyle trying to catch up on internet things during the next few hours when DSL works. AT&T is either dense, or just stalling for time. by now, i know it gets better around midnight, goes belly-up around 1am and works until sometime in the morning after i've gone to bed, then is borked again until about midnight. :P 08:51
08:52 mcmillhj left 08:55 pierre_ joined 08:56 llfourn left 08:58 mcmillhj joined 09:00 lizmat joined 09:02 pharv_ joined 09:03 wamba left, mcmillhj left 09:05 pmurias joined
pmurias hi 09:05
yoleaux 9 Aug 2017 08:51Z <jnthn> pmurias: If we see it's a heredoc, though, we can always peek the heredocs queue and I think in there we can find info about the here language to tell if it's an interpolating one or not.
pmurias start of JSX slang for todays TPC::EU talk demo: github.com/pmurias/p6-jsx
09:06 jameslenz left
pmurias I'm not sure what syntax would be best, raw <span>Hello World</span> collides with our <list of words construct> 09:07
I'm currently using "jsx <span>Hello World</span>"
moritz or q:xml <span>Hello Word</span> 09:08
09:09 mr-fooba_ joined
zengargoyle are there videos of TPC::Ampsterdam? 09:09
lookatme yeah, add it into Quote Language 09:10
09:11 lizmat left, mr-foobar left 09:13 jameslenz joined 09:15 someuser joined, pmurias left 09:18 pmurias joined, lizmat joined 09:20 xtreak joined 09:24 mr-foobar joined, mr-fooba_ left, pierre_ left, xtreak left 09:25 ChoHag left 09:30 pierre_ joined, labster joined 09:34 llfourn joined 09:36 pharv_ left 09:38 xtreak joined 09:39 lizmat left, lizmat joined 09:40 lookatme left 09:41 xtreak_ joined, xtreak_ left 09:42 mcsnolte left, xtreak_ joined 09:43 xtreak left, xtreak_ left, xtreak joined 09:47 labster left, lizmat left, Cabanossi left 09:49 Cabanossi joined 09:52 pmurias left 09:55 llfourn left 09:56 llfourn joined 10:00 pmurias joined 10:01 dorothyw` left, jargan is now known as jast 10:05 ijneb joined 10:10 lizmat joined 10:13 parv left
eythian is there a canonical place to go to read about perl6 keywords? e.g. I want to know about react and whenever, but when I google them I get the page on concurrency which does talk about them, but doesn't give me a perldoc-type explanation of everything about them. 10:14
jast I think that is currently the primary location that documents react blocks 10:16
eythian ah OK. I was hoping for something like 'perldoc -f foo' gives. But perhaps it's just not existant yet :) 10:18
stmuk there is p6doc -f react but it may not even return that page 10:19
jast the documentation for classes/objects is more structured 10:20
eythian my computer doesn't seem to know anything about p6doc, alas
(I think the ubuntu packages have a wee way to go really. But that's OK.)
10:21 Aaronepower joined 10:22 xtreak left, nightfrog joined, lizmat left 10:23 pmurias left
stmuk p6doc really needs sqlite fts 10:26
10:27 xtreak joined 10:32 lizmat joined 10:35 lizmat left 10:40 llfourn left, xtreak left 10:42 nhywyll left 10:46 Cabanossi left 10:47 pierre_ left 10:49 Cabanossi joined 10:56 dh7320 joined 11:06 zakharyas left 11:09 markmont left 11:14 grumble left 11:15 grumble joined 11:17 Cabanossi left 11:19 Cabanossi joined 11:23 araraloren joined 11:24 rindolf left, cpage__ left, epony left, k-man left, Peter_R left
eythian I try to run a script, and it says "Could not find Encode at line 5 in:" then lists the perl6path. Shouldn't it be telling me where the module is being requested as well? 11:27
11:27 brrt joined 11:30 cpage_ joined
timotimo oh, it probably should 11:31
11:32 tardisx joined
araraloren buggable: eco Encode 11:32
buggable araraloren, Encode 'Character encodings in Perl 6': github.com/sergot/perl6-encode 6 other matching results: modules.perl6.org/s/Encode
araraloren Encode is a module name
timotimo somebody ought to port this to the new encoder/decoder api 11:33
11:34 markmont joined, Peter_R joined
eythian the problem is more that the error tells me that it's not found at line 5. But it doesn't tell me line 5 of what. 11:34
timotimo oh!
11:34 lizmat joined 11:38 rindolf joined
Geth doc: 5b48c19b84 | (Timo Paulssen)++ | doc/Type/IO/Socket/Async.pod6
doc methods {socket,peer}-{host,port} of IO::Socket::Async
11:41
timotimo i haven't worked on p6doc in a long time, so hopefully that's correct
araraloren Is the new version rakudo released ? 11:45
11:48 wamba joined 11:53 xtreak joined 11:56 raschipi joined, k-man joined 11:58 pierre__ joined
timotimo what do you mean? 12:04
Geth Inline-Perl5: 5c38652fd2 | (Stefan Seifert)++ | lib/Inline/Perl5/Hash.pm6
Speed up Inline::Perl5::Hash AT-KEY and EXISTS-KEY

Use the UTF-8 encoder directly just like in p6_to_p5(Str)
12:06
12:07 brrt left 12:08 mr-foobar left 12:10 mr-foobar joined, xtreak left 12:11 brrt joined 12:19 mr-foobar left, ggoebel left, timotimo left, chansen_ left, escherlat left, skaji left, jnap_ left, tbrowder left, tbrowder joined, timotimo joined, skaji joined, chansen_ joined, escherlat joined, ggoebel joined, jnap_ joined 12:21 konsolebox left, mr-foobar joined 12:22 ccntrq left 12:23 Peter_R left, pmurias joined, zakharyas joined 12:24 Peter_R joined 12:25 ccntrq joined 12:28 konsolebox joined
timotimo no facebook posts from the perl conference in the last 20 hours at all :| 12:40
lizmat busy busy busy :-) 12:41
12:41 lizmat left 12:42 pmurias left 12:43 abraxxa left 12:45 cpage_ left 12:50 cpage_ joined 12:51 AlexDani` is now known as AlexDaniel
El_Che timotimo: you should come next time :) 12:54
timotimo so that i can do the livestreaming? :P 12:56
brrt for one thing 12:57
AlexDaniel eythian: hey. I've submitted a ticket for “at line 5” issue: RT #131884
synopsebot6 Link: rt.perl.org/rt3/Public/Bug/Display...?id=131884
12:57 mcmillhj joined
El_Che :) 12:59
13:03 lizmat joined 13:14 wamba left 13:15 brrt left
eythian AlexDaniel++ 13:15
13:15 cdg joined 13:16 lizmat left 13:23 dh7320 left 13:24 lucasb joined 13:30 HoboWithAShotgun joined, lizmat joined
HoboWithAShotgun good localtime() you wonderful people. 13:31
timotimo o/
HoboWithAShotgun Do you guys use any tools to enter the unicode operators of perl6?
timotimo well, i have been typing neo2 for a long time and that has a whole lot of useful things easily accessible 13:32
we do have a documentation page on unicode input that goes into a few different editors and operating system's input methods
docs.perl6.org/language/unicode_entry
mspo HoboWithAShotgun: it's tough 13:33
maybe a touchbar mac would be good :)
I was also thinking a phone/tablet app with a supplemental keyboard might be cool
HoboWithAShotgun Not exactly flow friendly 13:34
mspo that's probably why you'd use the texas symbols most of the time 13:35
and just let your editor transform them if you wanted
13:35 epony joined
HoboWithAShotgun maybe some kind of auto-correct? 13:35
mspo sure
timotimo i don't think there's anything you can't use an ascii equivalent for
mspo in vim I think it would be easy-ish to setup 13:36
I think those set symbols are difficult to distinguish anyway :)
HoboWithAShotgun so when you type <<< it turns it into «
mspo although I can definitely see the appeal of them
timotimo i remember a plugin that displays things pretty while keeping the "original" ascii underneith
mspo HoboWithAShotgun: yeah you could do that
timotimo: that's another thing but now I forgot the name :) 13:37
timotimo they call it "conceal"
13:37 skids joined
AlexDaniel HoboWithAShotgun: there's this page: docs.perl6.org/language/unicode_entry 13:37
HoboWithAShotgun maybe i can hack an auto-hotkey script together. but that wouldn't help the majority of you guys 13:38
AlexDaniel ah, already mentioned
AlexDaniel is blind, sorry
HoboWithAShotgun i know. i dont uuse vim or emacs and (i know, i know) windows
raschipi timotimo: That would be supported in the font, it's called ligatures.
mspo I think I'm thinking about ligatures
yeah
timotimo raschipi: that's a different thing
syn match HateWord /hate/ conceal cchar=!
this would replace "hate" with a ! until you cursor into it 13:39
mspo HoboWithAShotgun: both of those work on windows :)
timotimo raschipi: though of course you can have a font with a ligature "math.pi" that looks like π 13:40
mspo in the perl6 world you could replace the *actual* characters though, not just the display
timotimo well, yeah
eythian can't you just press compose-<< to get «?
AlexDaniel yes
eythian turns out you can
timotimo but this is about when you can't easily input unicode characters
mspo looks for the compose button 13:41
timotimo ≤_≥
eythian I have it set to be the menu button, because I never use that
AlexDaniel has it on TAB, heh… :P
raschipi I have it set to the right super button because there's two of those.
mspo ⊎ vs ⊍ are just too similar for me 13:42
AlexDaniel HoboWithAShotgun: I've come to a (possibly wrong) conclusion that getting your tools to enter unicode freely is a personal journey, so there's no easy answer
Altreus caps lock seemed like a good candidate to me
timotimo for me it's capslock + tab 13:43
Altreus At once? :o
timotimo at the same time, yes
capslock is already what gives me stuff like \/{}*?()-:@
and …_[]^!><=&ſ and #$|~`+%"';
and ¹²³›‹¢¥‚‘’ 13:44
AlexDaniel there are three keys that you probably want to be placed in a better position: compose, hyper and altgr. But there is only one caps lock :(
mspo I don't know how to type those bracket-looking quotes
13:44 cpage_ left
mspo 「these」 13:44
jast I've repurposed altgr to enter umlauts and other assorted characters while using the US layout
Altreus My keyboard already has keys for every ASCII character in that set :\ 13:45
13:45 cpage_ joined
Altreus do you have a special tiny keyboard 13:45
AlexDaniel jast: \o/ yay for custom layouts! If you have altgr placed in a comfortable position, consider adding altgr-ed arrow keys on the home row :)
timotimo aye, altgr and esdf on neo2 are arrow keys 13:47
jast I don't use arrow keys enough for that
timotimo and there's pgup/pgdwn, home/end, escape, tab, backspace, delete around it
AlexDaniel
.oO(and also changing your spacebar to altgr. Just don't tell anybody that I recommended this)
jast and I don't mind moving my hands sometimes, helps avoid muscle issues due to prolonged immobilization 13:48
mspo I want an interrobang key 13:49
AlexDaniel jast: that's ok :) One thing to note, however, is that your layout defines your workflow. If your arrow keys are too far, then you don't use them often.
timotimo the fridge is far away from my desk and i still use it too often :< 13:51
AlexDaniel timotimo: consider changing it so that you have to hold a modifier to use it 13:52
eythian plans to install foot pedals
AlexDaniel eythian: I've tried that, didn't work too well :( turns out that I'm moving around too often 13:53
eythian Maybe a microphone then. So "AAAAAAAARGH"-<< gives you « 13:54
timotimo fantastic
vocal modifiers
eythian it's the future, especially for open-plan offices.
jast AlexDaniel: to be honest I don't understand why everyone is so obsessed with distance of keys. I wouldn't want my letters and symbols spread all over the place, but going from typing to movements is a mental mode switch anyway. the speed at which I can move my hands has never felt like a limiting factor. 13:55
AlexDaniel jast: it's no longer a mental mode switch for me. Movement, typing and editing is blended together for me 13:56
jast in fact, I find that moving the hands and doing that mental mode switch correlates nicely on a cognitive and so I almost prefer moving my hands :)
13:56 lizmat left
jast maybe you're just way faster than me 13:56
AlexDaniel no, that's because my layout has all these keys in the same place :) 13:57
13:57 cdg left, lizmat joined, lizmat left
jast I mean in the sense that the movement would cause actual measurable delays 13:57
13:57 cdg joined
AlexDaniel timotimo: have you noticed any mental switch using neo layout? 13:58
13:59 mcsnolte joined
jast eythian: how about mouse gestures 14:01
14:02 andrzejku_ joined, Cabanossi left
eythian jast: that'd be quite "rub tummy pat head" 14:03
AlexDaniel perfect for pair programming
14:03 Cabanossi joined
[Coke] keeps trying to watch samcv's video on FB and getting disconnected. 14:05
samcv++
14:05 andrzejku left 14:09 pierre__ left 14:11 Kyo91 joined 14:23 dh7320 joined
timotimo also looking forward to seeing the recording and/or slides of pmurias' talk about rakudo-js 14:27
14:28 lizmat joined
El_Che is samcv still around? I would like to say hallo before the conference ends :) 14:29
14:29 lucasb left
hythm Hello Perl6, For some reason I don't understand how to organize the code as modules... I read the docs multiple times (checked perl6 modules in github) but still don't get it, for instance where to use unit package, unit module, unit class, subs inside these modules. 14:31
I probably will get a better idea if I looked into an aplication example, where there is bin/app.p6 includes App.pm main module, and App.pm includes other major and small features of the app 14:32
14:33 Cabanossi left, Cabanossi joined
timotimo "unit class" is the same as "class" and putting curly braces around the entire rest of the file 14:35
14:38 cpage_ left, cpage__ joined
El_Che hythm: do you plan to mainly use OO (from your question)? Concentrate on class, has and method 14:39
for now 14:40
14:47 lizmat left
ugexe its not exactly the same, but is supposed to be - see: rt.perl.org/Public/Bug/Display.htm...et-history 14:48
Geth Inline-Perl5: 9088f5e68f | (Stefan Seifert)++ | lib/Inline/Perl5/Object.pm6
Speed up repeated calls to methods on Perl 5 objects

Method fallbacks have considerable overhead. But once we know that a Perl 5 object may have some method, we can assume that its gonna be called again in the future. So we install a wrapper method with the name we now know to avoid the overhead of fallbacks in future calls.
wictory[m] Hi! Is there a ready made http client module supporting keep alive connections? It seems that WWW (building on HTTP::UserAgent) does not do this 14:49
ugexe Net::HTTP, but its probably missing other things you'd want :x 14:50
hythm EL_Che, yes mainly OO. (sorry for late answer, had to step out for a minute) 14:51
ckraniak HoboWithAShotgun: Only been really toying with perl6 for a day, but fwiw I've been using BabelMap, only need to have one set symbol in the source, then copy paste as needed 14:57
I am not using that many unicode symbols at this point however 14:58
14:58 tzekid joined 15:00 pmurias joined
pmurias timotimo: I could upload the slides somewhere, not sure what a good place would be? 15:01
15:01 Cabanossi left
pmurias not sure how I should upload a reveal.js presentation 15:02
15:03 Cabanossi joined 15:04 ckraniak left
[Coke] hythm: here's a dumb app with a bin script using a lib. 15:08
warning: might be too dumb.
15:08 lizmat joined 15:09 nadim left
El_Che it's an invisible link! 15:09
:)
pmurias timotimo: pmurias.github.io/rakudo.js-tpc-eu/ - presentation slides 15:10
hythm the app is to dumb to have a link to point to it :D 15:12
El_Che the app provides the link on irc, but it posted to the wrong channel :) 15:13
pmurias El_Che: have we met at the YAPC::EU? 15:14
15:14 nadim joined 15:15 ckraniak joined
timotimo thanks pmurias :) 15:15
now i have to leave the house but i'll look later
pmurias timotimo: that slides itself aren't that informative ;) 15:16
* themselves
timotimo ah 15:18
15:18 rindolf left
El_Che pmurias: I don't think so 15:19
I was timekeeping an other talk during yours :(
15:20 lizmat left
hythm Coke: Where can I find the smart app? 15:20
15:21 nadim left
El_Che hythm: docs.perl6.org/language/objects#Classes <-- that is pretty clear on class, has and method 15:27
hythm Thanks El_Che, Checking this out 15:28
15:28 nowan left
El_Che np 15:31
15:31 nowan joined 15:32 rindolf joined
[Coke] never sent his link! 15:33
github.com/coke/p6-uni
15:33 khw joined
hythm I guess the app became smarter :) 15:34
15:34 cpage__ left, MilkmanD1n left 15:35 MilkmanDan joined, lizmat joined 15:36 zakharyas left, cpage_ joined 15:39 lizmat left, zengargoyle left 15:40 pmurias left 15:44 lizmat joined, someuser left 15:46 lizmat left
renormalist fears to ask an FAQ but anyway: 15:46
Which option does an Emacs user have to edit Perl6 code currently? 15:47
sena_kun renormalist, perl6-more.
renormalist checks
sena_kun renormalist, it gives you syntax highlight and indention.
renormalist perl6-mod(!)e you mean? 15:48
with d
sena_kun sure
just a typo, sorry
renormalist k
fine, just wanted to make sure I don't miss another option
thanks 15:49
sena_kun it's quite useful if you ask me, however, it is not a perfect tool and if someone stands up with a better alternative, it will be quite great
15:49 raschipi_ joined
Geth Inline-Perl5: b77f9175b1 | (Stefan Seifert)++ | lib/Inline/Perl5.pm6
Speed up p5_to_p6 a little

Turns out a series of if statements is just faster than using given/when Also this should hopefully test the most common types first.
15:51
renormalist sena_kun: it's not a trivial task, I adapted cperl-mode years ago and it was a) hard in general and b) hard to keep up with perl6 development 15:52
15:52 raschipi left, nadim joined
sena_kun renormalist, no doubts the task is very complex, I'm just dreaming a bit, so don't take it serious. :) 15:54
s/serious/seriously/
renormalist :-)
sena_kun renormalist, also, about the other options... 15:57
15:59 raschipi_ left
AlexDaniel I wish perl6-mode had someone working on it consistently 15:59
16:00 nadim left, setty1 joined
AlexDaniel we already forked it to perl6/ org, it helped a bit github.com/perl6/perl6-mode 16:00
sena_kun the last update of hinrik's perl6-mode was at 2016, since then tbrowder++ improved it here: github.com/perl6/perl6-mode - it is a fork and because of some issues not listed on melpa, but if you're okay with installation of raw packages, you can try it. I use "vanilla", so cannot say is it much better though.
16:01 zengargoyle joined 16:02 Cabanossi left 16:03 Cabanossi joined
AlexDaniel is treyharris on IRC? 16:04
oh yeah
TreyHarris: hey! What do you think about github.com/perl6/perl6-mode/issues...-321853018 ? 16:05
16:05 lowbro left 16:11 cpage_ left 16:13 cpage_ joined, cdg_ joined 16:15 cdg left 16:17 andrzejku joined 16:28 zengargoyle left 16:30 zengargoyle joined 16:32 nadim joined 16:35 zengargoyle left 16:36 lizmat joined 16:37 tzekid left 16:41 zengargoyle joined, dh7320 left 16:47 nadim left 16:50 lizmat left 16:58 brrt joined 17:01 Cabanossi left 17:02 brrt left 17:03 ckraniak left, Cabanossi joined 17:17 mtj_ left 17:29 sufrostico left 17:31 sufrostico joined 17:32 Cabanossi left 17:33 Cabanossi joined 17:36 sufrostico left, pilne joined 17:38 sufrostico joined
Geth modules.perl6.org: e1f6b72f5c | (Zoffix Znet)++ | lib/ModulesPerl6.pm
Implement handling of `BREW` HTTP requests

  irclog.perlgeek.de/perl6-dev/2017-...i_15002201
17:43
17:45 zengargoyle left
Geth modules.perl6.org: 0a841cef5c | (Zoffix Znet)++ | lib/ModulesPerl6.pm
Handle BREW requests on / too
17:53
17:59 sufrostico left 18:02 zengargoyle joined 18:04 espadrine joined 18:08 cdg_ left 18:12 ckraniak joined 18:23 dustinm` left, Matthew[m] left, unclechu left, CIAvash[m] left, tadzik left, tyil[m] left, ilmari[m] left, M-Illandan left, xui_nya[m] left, mack[m] left, mienaikage left, wictory[m] left 18:28 zengargoyle left 18:29 mienaikage joined 18:31 Cabanossi left, dustinm` joined 18:33 Cabanossi joined 18:34 zengargoyle joined 18:49 zengargoyle left, zengargoyle joined 18:51 mack[m] joined, tadzik joined, tyil[m] joined, M-Illandan joined, CIAvash[m] joined, unclechu joined, wictory[m] joined, Matthew[m] joined, ilmari[m] joined, xui_nya[m] joined 18:57 haha_ joined, zengargo1le joined 19:01 zengargoyle left 19:04 cpage_ left 19:05 astj joined 19:06 tardisx left 19:18 astj left 19:20 hankache joined
hankache hello #perl6 19:24
19:24 nadim joined 19:31 wamba joined 19:32 Cabanossi left 19:34 Cabanossi joined 19:36 sufrostico joined 19:41 sufrostico left 19:45 darutoko left
ckraniak Ok, native call on FormatMessage 19:47
stmuk finds an odd looking object which appears to be a Uk->Swiss plug adaptor 19:49
useful!
ckraniak "Native call expected return type with CPointer representation, but got a P6opaque (Int)" 19:50
timotimo yeah, you passed an int where you were supposed to pass a pointer
geekosaur I don't think you can use Int with NativeCall because it's a boxed, arbitrary-sized value 19:51
ckraniak The call has uint32 (DWORD) in it
19:51 hankache left
timotimo oh god not windows api 19:51
geekosaur m: my uint32 $x = 0 19:52
camelia ( no output )
geekosaur but that is not Int
timotimo why does it say "return value" though?
ckraniak That is once I call it 19:53
I assume it's because I am not setting up the return buffer right but I cannot find any example code that returns that way
19:54 markmont left
timotimo what's your definition look like? in perl6 code i mean 19:55
19:55 cpage_ joined 19:57 haha_ left, zacts left 19:58 thunderheart joined
thunderheart hi all, am doing my first steps into Perl6. Can you explain me the help syntax from docs.perl6.org, ie multi sub infix:<lcm>($a, $b --> Int:D) ? 20:00
ckraniak sub __FormatMessage(uint32 $flags, Pointer[void] $source, uint32 $message-id, uint32 $language-id, Str $buffer is rw, uint32 $size, OpaquePointer $arguments --> uint32) is native('kernel32') is symbol('FormatMessageW') { ... } 20:01
But
20:01 mack[m] left, ilmari[m] left, unclechu left
ckraniak I have been messing with the signature to try to extract a different error message 20:01
20:01 tyil[m] left, Matthew[m] left, xui_nya[m] left, tadzik left, mienaikage left, M-Illandan left, CIAvash[m] left, wictory[m] left
ckraniak So the pointers and Str are just whatever right now 20:02
Been messing with types for $buffer and $argument mostly 20:03
20:03 cdg joined
ckraniak I am pretty sure OpaquePointer is wrong 20:03
20:03 mienaikage joined 20:04 cdg_ joined
timotimo oh, this is about variable number of arguments? 20:05
ckraniak Maybe? 20:06
Is this a known issue?
timotimo yeah, we don't have proper support for var args yet, but you can declare multiple multi candidates that have any number of arguments ...
20:07 thunderheart left
ckraniak Tried leaving it off and that gives the same message 20:07
Documentation indicates a uint32 is rw will be accepted there
20:08 cdg left
ckraniak I don't understand the current error message and can't make it do any others 20:09
20:09 nadim left 20:10 sufrostico joined, andrzejku left
ckraniak Or a Pointer[Pointer[uint32]] 20:12
I think
20:14 mcmillhj left 20:15 ue joined 20:17 ue left
ckraniak Jesus Christ it's because it can't coerce 0 to void* 20:17
20:18 sufrosti1o joined
ckraniak Feeling pretty stupid bout that one 20:21
20:23 markmont joined 20:24 SCHAPiE left 20:25 ckraniak left, nadim joined, SCHAPiE joined 20:27 tadzik joined, CIAvash[m] joined 20:28 mack[m] joined, unclechu joined, ckraniak joined, M-Illandan joined, tyil[m] joined, wictory[m] joined, ilmari[m] joined, Matthew[m] joined, xui_nya[m] joined 20:30 wamba left 20:31 mcmillhj joined 20:34 zengargoyle joined 20:36 mcmillhj left 20:37 zengargo1le left 20:38 wamba joined 20:41 APic joined 20:44 aindilis left 20:45 nadim left 20:51 wamba left 20:52 wamba joined 21:00 Cabanossi left 21:01 dh7320 joined 21:03 Cabanossi joined 21:07 sufrostico left, sufrosti1o left 21:11 pharv joined 21:13 pharv left 21:28 sufrostico joined 21:29 sufrosti1o joined 21:30 rindolf left 21:33 mtj_ joined 21:38 aindilis joined 21:41 Kyo91_ joined, skids left 21:43 Kyo91 left 21:52 llfourn joined 21:53 dwarring joined
Geth ecosystem: 1096674cf6 | (David Warring)++ | META.list
add PDF::Content class library
21:56
tyil[m] lizmat: is the hackathon still planned? 22:03
22:04 alimon1 left 22:11 Kyo91_ left 22:14 nadim joined 22:23 sena_kun left
Geth ecosystem: 814b55959b | (David Warring)++ | META.list
add PDF::Lite - A minimal class for manipulating PDF content
22:40
22:43 sufrosti1o left, sufrostico left 22:53 zengargo1le joined 22:54 zengargoyle left 23:00 mr-foobar left 23:01 mr-foobar joined 23:02 Cabanossi left 23:03 Cabanossi joined 23:09 sufrostico joined, sufrosti1o joined 23:11 setty1 left 23:13 mcmillhj joined 23:14 nadim left 23:16 skids joined 23:18 cdg joined, mcmillhj left 23:21 HoboWithAShotgun left 23:22 cdg_ left, cdg left 23:23 cdg joined 23:25 wamba left 23:28 mcmillhj joined, cdg left 23:30 mr-foobar left 23:32 mcmillhj left 23:33 mcmillhj joined, lizmat joined 23:34 mr-foobar joined 23:37 mcmillhj left 23:40 fbostanci joined 23:43 lucs left, lucs joined, mcmillhj joined 23:44 raschipi joined, ckraniak left 23:47 mcmillhj left 23:51 llfourn left 23:59 mcmillhj joined