»ö« 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:07 powellc left 00:08 daxim left 00:14 daxim joined 00:17 wamba left 00:20 aborazmeh joined, aborazmeh left, aborazmeh joined 00:38 lucasb left 01:08 aborazmeh left 01:38 molaf left
DrForr .tell sena_kun Following the official (changed) installation instructions - the new invocation is 'npm install --save-dev babel-loader @babel/core', don't know how far it'll go. 01:40
tellable6 DrForr, I'll pass your message to sena_kun
01:51 molaf joined 02:05 Cabanossi left 02:12 Cabanossi joined 02:25 agentzh left 02:27 agentzh joined 03:07 wamba joined 03:13 El_Che left 03:29 dduncan left 03:31 holyghost left 03:48 sena_kun joined 04:02 wamba left 04:03 Cabanossi left 04:07 sno left 04:10 guifa2 joined 04:13 Cabanossi joined 04:22 sena_kun left 04:48 guifa2 left 05:03 wamba joined 05:04 robertle_ left 05:26 jmerelo joined 05:32 holyghost joined 05:42 wamba left
Geth doc/master: 6 commits pushed by (JJ Merelo)++ 06:02
doc: 22505fd732 | (JJ Merelo)++ | doc/Type/Distribution/Path.pod6
Yep, I mistyped that. Thanks @travisci @shippable
06:15
synopsebot Link: doc.perl6.org/type/Distribution::Path
06:21 Black_Ribbon left, Black_Ribbon joined 06:22 domidumont joined 06:26 lnx left, lnx joined 06:27 sena_kun joined 06:29 jmerelo left 06:38 abraxxa joined 06:47 wamba joined 06:58 vike left 07:00 wamba left
abraxxa Array.elems is not the best name, I tried count and size first, both don't exist 07:02
07:03 Cabanossi left 07:04 Cabanossi joined 07:05 wamba joined
abraxxa sena_kun: Hi! paged works halfway, the control I get back from the ldap server after the first search always has size 0 07:05
sena_kun abraxxa, but is the cookie present? 07:06
tellable6 2019-09-16T01:40:52Z #perl6 <DrForr> sena_kun Following the official (changed) installation instructions - the new invocation is 'npm install --save-dev babel-loader @babel/core', don't know how far it'll go.
abraxxa sena_kun: it seems so
sena_kun abraxxa, 0 as size is normal and server may do so if they can't estimate, at least the RFC says so 07:07
abraxxa, so you just iterate as long as there is a cookie to work with
abraxxa sena_kun: but then the loop ends
discord6 <Aearnus> abraxxa: Perl 6 should tell you the correct name of array.elems if you accidently put any of those other names
sena_kun abraxxa, how so? it shouldn't unless the cookie length is zero
abraxxa I missed the loop { in my code 07:08
last unless $control.cookie.elems; doesn't seem to check if its inside a loop
sena_kun m: last if 42; 07:10
evalable6 (exit code 1) ===SORRY!===
last without loop construct
sena_kun maybe something else was related
abraxxa sometimes it works, sometimes it stops after the first search already 07:11
it stops when cookie => Blob.new() 07:12
so when the cookie is empty
the control-value is way shorter when that happens but I guess you extract the cookie from the control-value 07:13
sena_kun yes
07:14 vike joined
sena_kun goes afk for some hours 07:14
abraxxa sena_kun: any idea why that happens?
sena_kun what exactly?
ah, why is it unstabale... no idea 07:16
maybe the difference can be spot with two CRO_TRACE=1 logs compared?
07:18 reach_satori left
abraxxa sena_kun: ASN_BER_PARSER_DEBUG shows that the last search which returns entries does also return a cookie, the next one doesn't return entries and also no cookie 07:20
sena_kun: K00002040: SvcErr: DSID-031403B2, problem 5010 (UNAVAIL_EXTENSION) 07:22
07:22 sena_kun left 07:31 ravenousmoose joined 07:38 zakharyas joined
lizmat weekly: perl6.eu/pokemon-chiao.html 07:48
notable6 lizmat, Noted! (weekly)
07:54 guipo joined 07:57 reach_satori joined 08:01 guipo left 08:02 ravenousmoose left 08:07 dakkar joined, xinming_ joined 08:11 xinming left 08:28 leont joined 08:36 leont left 08:41 wamba left 08:45 aborazmeh joined, aborazmeh left, aborazmeh joined 08:46 sena_kun joined, robertle left 08:48 robertle joined 08:57 wamba joined 09:14 sena_kun left 09:28 pmurias joined 09:57 pmurias left 10:03 robertle left 10:10 robertle joined 10:11 kensanata joined 10:31 wamba left 10:34 pmurias joined 10:46 pat_js joined 10:53 pmurias left 10:54 pmurias joined 11:12 sena_kun joined 11:31 El_Che joined 11:46 pmurias left, pmurias joined 12:06 Black_Ribbon left 12:09 pat_js left 12:15 pmurias left 12:17 pmurias joined 12:21 gabiruh joined 12:32 __jrjsmrtn__ left 12:36 __jrjsmrtn__ joined 12:40 pmurias left 12:44 pmurias joined 12:52 Ven_de_Thiel joined 12:57 Kaypie is now known as Kaiepi, scimon joined 13:03 number6` joined 13:05 aborazmeh left 13:09 wamba joined 13:26 kensanata left 13:31 ravenousmoose joined 13:32 evalable6 left 13:36 ravenousmoose left 13:37 holyghost left, holyghost joined 13:40 camelia joined 13:42 lucasb joined 13:44 evalable6 joined, ChanServ sets mode: +v evalable6 13:45 camelia left 13:47 camelia joined 13:48 ChanServ sets mode: +v camelia 13:54 reach_satori_ joined 13:57 reach_satori left 14:04 p9s joined 14:06 satori__ joined 14:07 p9s left 14:08 p9s` joined, reach_satori_ left 14:13 p9s` left 14:14 p9s joined
p9s how to start convert perl5 module to perl6? 14:15
14:19 reach_satori_ joined
tadzik hmmm... one line at a time? 14:19
any module in particular you're thinking of?
depending on the module, it may make more sense to just rewrite it from scratch, in which case you may want to start with the testsuite 14:20
14:21 satori__ left, reach_satori joined, sortiz joined
lizmat p9s: opensource.com/user_articles/238941/238941 has a list of blog posts about things you might encounter 14:22
14:23 reach_satori_ left 14:25 reach_satori left
p9s #lizmat thanks for you message 14:32
14:40 number6` left 14:48 zakharyas left 14:51 wamba left 14:58 b2gills left
abraxxa lizmat: an article about error handling would be great! 14:58
lizmat abraxxa: I've decided to not write any more articles in that series 14:59
abraxxa lizmat: why?
I haven't seen them before and will read them when time permits
lizmat long story 15:03
15:05 sortiz left 15:09 wamba joined 15:10 SqrtNegInf joined 15:11 zakharyas joined, pmurias left, Guest15407 left 15:12 b2gills joined
masak .oO( the reason I'm not writing long stories is a long story ) 15:18
timotimo learns about The Excel Depression 15:22
15:22 p9s left 15:23 p9s joined, p9s left 15:25 domidumont left 15:34 thowe left
lizmat and yet another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2019/09/16/...essinging/ 15:41
15:41 p9s joined 15:43 p9s left 15:44 p9s joined 15:45 p9s left 15:47 robertle left 15:48 p9s joined
scimon lizmat++ 15:49
16:09 zakharyas left 16:10 wamba left
El_Che thx lizmat 16:10
moritz lizmat++, twoot 16:23
timotimo lizmat++
16:26 Xliff joined
Xliff \o 16:26
tellable6 2019-09-14T13:20:26Z #perl6 <SmokeMachine> Xliff: I've made a few changes... but what do you think? fco.github.io/Red/api/Red
16:28 MilkmanDan left 16:29 reach_satori joined, dakkar left 16:30 scimon left, MilkmanDan joined
Xliff Can someone tell me how to use $?RESOURCES properly? 16:51
16:53 xinming-pad joined 16:56 xinming-pad left 16:58 p9s left 16:59 p9s joined
Voldenet Xliff: docs.perl6.org/language/modules has demo of it 17:00
> %?RESOURCES<templates/default-template.mustache>.slurp; 17:01
17:02 wamba joined
Voldenet lizmat: p6weekly.wordpress.com/2019/09/16/...essinging/ has broken link to github.com/perl6/doc/issues/2983 17:07
17:09 p9s left, sno joined, p9s joined 17:15 domidumont joined
cpan-p6 New module released to CPAN! LibXML (0.0.8) by 03WARRINGD 17:18
17:21 leont joined 17:24 aborazmeh joined, aborazmeh left, aborazmeh joined 17:27 p9s left
lizmat Voldenet++ #$ fixed 17:32
17:34 kylese joined 17:44 sena_kun left 17:45 Kaiepi left 17:46 Kaiepi joined 17:50 veesh joined 17:51 robertle joined 17:55 mowcat left 17:56 p9s joined 17:58 cpan-p6 left 17:59 cpan-p6 joined, cpan-p6 left, cpan-p6 joined 18:00 ravenousmoose joined 18:01 p9s left, pecastro joined
Geth ¦ problem-solving: vrurg assigned to AlexDaniel Issue Decision to be taken on Raku filename extensions. github.com/perl6/problem-solving/issues/106 18:02
18:02 rindolf left 18:07 Doc_Holliwood joined
Doc_Holliwood lols at an error message 18:07
"Cannot negate (^) because junctive or operators are not iffy enough" 18:08
timotimo m: say 1 !(^) 2
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot negate (^) because junctive or operators are not iffy enough
at <tmp>:1
------> 3say 1 !7⏏5(^) 2
expecting any of:
infix
infix stopper
timotimo c: say 1 ![(^)] 2
committable6 timotimo, Seems like you forgot to specify a revision (will use “v6.c” instead of “say”)
timotimo m: say 1 ![(^)] 2
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot negate [(^)] because junctive or operators are not iffy enough
at <tmp>:1
------> 3say 1 ![7⏏5(^)] 2
expecting any of:
bracketed infix
infix
infix st…
timotimo huh.
i mean, it does return a set
committable6 timotimo, gist.github.com/93f9923c13a276b32d...fc1cd6a9b7 18:09
timotimo which is not really a thing you can sensibly negate in perl6
Doc_Holliwood I thought it might just do the opposite then
magic ^^
18:10 kylese left
timotimo is (^) symmetric difference? isn't the opposite of that the (&)? 18:10
Doc_Holliwood I'm looking at the weekly. I have a solution with map, easy enough, but I'm looking for something that uses sets or bags 18:11
18:11 aborazmeh left
timotimo the weekly challenge? 18:11
Doc_Holliwood yeah, the first task. basically, two lists, count one for every occurance of a in b, return the sum 18:12
if i read it right, the question is not entirely clear.
18:16 kotrcka joined 18:27 sauvin left 18:34 p9s joined 18:35 kylese joined 18:40 p9s left
Geth doc: 96ffda77f5 | Coke++ | xt/words.pws
track meta variant changes
18:42
18:49 daxim left, wamba left 18:50 domidumont left 18:53 daxim joined 18:55 krychu joined, aborazmeh joined, aborazmeh left, aborazmeh joined 19:01 rindolf joined 19:04 Kaiepi left 19:05 Kaiepi joined 19:07 Kaiepi left, Kaiepi joined, kylese left 19:09 p9s joined 19:14 mtdms joined, p9s left 19:22 Sgeo left, aborazmeh left 19:23 sena_kun joined 19:25 jjatria left 19:26 jjatria joined 19:40 wildtrees joined 19:43 p9s joined 19:48 pmurias joined, p9s left 19:50 mtdms left 19:51 AlexDaniel left, AlexDaniel joined, AlexDaniel left, AlexDaniel joined
Doc_Holliwood m: sub foo( $foo ) {}; [1,2].map: foo(*) 19:56
camelia Cannot map a Array using 'Nil'
Did a * (Whatever) get absorbed by a list?
in block <unit> at <tmp> line 1
Doc_Holliwood m: sub foo( $foo ) {}; [1,2].map( foo(*) ) 19:57
camelia Cannot map a Array using 'Nil'
Did a * (Whatever) get absorbed by a list?
in block <unit> at <tmp> line 1
Doc_Holliwood I'm getting "Cannot resolve caller Numeric(WhateverCode:D: ); none of these signatures match" on my system
19:58 Kaiepi left 20:01 Kaiepi joined, Kaiepi left, Kaiepi joined
Grinnz wonders if ugexe realizes the irony in derailing an issue with comments about derailment ;) 20:03
El_Che and about the derailing about the derailing of the derailing? 20:04
I don't get the bikeshedding remark. It's a pretty to the point issue
Grinnz and the reason separate issues weren't opened for the name is that the name was already discussed without much core disagreement in the main issue 20:05
20:05 epony left
Grinnz mostly before it exploded, too 20:05
20:05 tilpner joined 20:08 epony joined
Doc_Holliwood hastebin.com/idemojuyuf.pl, my entry for the weekly 20:15
can it get more rakuish? 20:16
mmh. perlish sounds better, but that is an edge case ^^
maybe omit the u and just say "rakish"? 20:17
Grinnz that's already a word, and not a good connotation
rakuic? rakulike? 20:18
[Coke] it's not bad, strictly speaking.
Grinnz true, it could be what you're going for in context 20:19
20:20 ravenousmoose left 20:21 robertle left 20:26 HarmtH left
AlexDaniel vrurg: “rakish”, you're going to love that :P :P 20:27
Grinnz suddenly craves radishes 20:28
20:37 mtdms joined
[Coke] radicchio 20:38
20:40 sena_kun left 20:54 Ven`` joined
Doc_Holliwood m: say $*PERL; 20:55
camelia Perl 6 (6.d)
Doc_Holliwood m: say $*DISTRO; 20:56
camelia opensuse (42.3)
20:56 mowcat joined
guifa I know it’s possible to do custom exporting of symbols, but is there a way to do that based on the arguments passed in the use statement? 20:56
guifa is thinking along the lines of, use Units::Operators :SI :length; that would import SI length units (m, km, etc) vs Units::Operators :US :length; that would import American lengths instead 20:58
Doc_Holliwood hold on 20:59
i'm working on exactly that
21:00 mtdms left
Doc_Holliwood github.com/holli-holzer/perl6-Units-Prefixes, github.com/holli-holzer/perl6-Units 21:00
21:01 tilpner left
Doc_Holliwood uh, two years already. time flies. i'm not sure, but i think the code was pretty complete 21:01
21:02 tilpner joined 21:03 tilpner left
Doc_Holliwood what it does is, it has a bunch of unit classes like Units::Watt that have a symbol attribute, which gets exported so you can write "120W" and get an class Units::Watt with a value of 120 21:04
guifa Someone else recently had one like that too, I was going to add on operators for them all for the module 21:06
Doc_Holliwood also: ok( 8A * 2Ω = 20V ); does work 21:07
tellable6 Doc_Holliwood, I'll pass your message to also
guifa ^^ lol @ tellable 21:08
Doc_Holliwood if that someone was xliff, he has commit bits on this
16V of course
and ==
guifa No, it was a totally different module, It as p6steve on GH, not sure what he goes by on #perl6
Doc_Holliwood stackoverflow.com/questions/471361...-operators 21:09
guifa Although looking at how both of y’all’s modules have been done internally, I may actually write a third one based on the work that I’ve been doing with CLDR. Maybe overkill, but better to have leaner ones like yours for normal stuff and a heavier one for when localization stuff is necessary 21:10
Doc_Holliwood Or I give you a commit bit and you expand on what is already working 21:14
21:15 p9s joined 21:16 kotrcka left
Doc_Holliwood we should try to avoid rank growth when we can methinkss 21:16
guifa I agree. What it might end up being is a collaboration between two modules 21:17
Doc_Holliwood in the module ecosystem I mean
guifa Intl::Units and Units::*
(or even Intl::CLDR::Units, I’m not 100% on my final organization of CLDR data yet)
It’s unfortunately going to be a hot minute before I can delve back into the CLDR package because dissertation deadlines, but when I do I’ll do a mock up of a module with, say, just lengths, and then see how to merge that into Units::* 21:19
21:19 krychu left
AlexDaniel alright time to delete these nicks from its db :D 21:19
21:20 p9s left, tellable6 left 21:21 Black_Ribbon joined, pecastro left 21:22 Ven`` left 21:25 p9s joined 21:26 guifa is now known as also 21:27 also is now known as guifa
guifa shakes fist at whoever registered "also" 21:27
Such a ruined joke
21:30 p9s left, kybr left
Doc_Holliwood sure, let me know if you need something changed, put in place of have other suggestions 21:31
21:35 abraxxa left 21:36 abraxxa joined
Xliff *un-zzz*s 21:36
Wha? wazzis about bits? Are them those polygons that get spikey when they go "NO!" ? 21:37
Doc_Holliwood: That's a bit funny. I was just looking at that module recently. Don't know if it's still being actively worked on. 21:39
I do have the afforementioned bit, so if a collab is in the works, I'm game.
Still. An attempt to notify the maintainer would be appreciated.
21:41 Kaiepi left
Doc_Holliwood That would be me 21:44
I got ... side trackes
tracked*
Xliff Ah.
So what's up?
(I got side-tracked too... see my pinned projects on GitHub) 21:45
guifa Xliff: convo just picked up because I was looking at someone else’s module and was looking to add in operators so that 1kg + 500m returns 1.5kg etc. D_H has a similar module. I think it might be nice to eventually get a localized units module. The CLDR has tons of related data 21:47
(for example github.com/holli-holzer/perl6-Unit...s/Acre.pm6 has attributes for singular, plural, and symbol, and would be cool to have an ability to link that to CLDR to provide single/dual/plural/paucel/etc with long short narrow forms) 21:48
21:50 Kaiepi joined
guifa see, for instance, st.unicode.org/cldr-apps/v#/ja/Length/ 21:51
21:52 mtdms joined 21:57 mtdms left
Doc_Holliwood I see. It would be a good idea then to rename the stringy methods of unit (and add some) methods to `Units::Unit` then. 22:01
I'm tired. That shows in broken sentences like the former. But you got me. 22:02
Doc_Holliwood hits the sack 22:03
vrurg AlexDaniel: beer with rakish? ;) 22:05
22:06 pmurias left
AlexDaniel guifa: it wasn't exactly registered, it was a misfeature in the previous bot that allowed to send to nonexistent names 22:07
guifa: tellable6 acquired the db of the previous bot, so now it thinks that “also” was a real nickname
Xliff guifa: OK, then it sounds like you are on. 22:08
Let me know if you need any help.
guifa has a lot of ideas for using the CLDR stuff 22:11
Like exporting a regex for units
22:11 Sgeo joined
guifa my $foo /… <unit(:length)>…/ 22:12
“blah blah blah 5km blah blah blah” ~~ $foo
could match 5km and maybe even offer up an action for turning it into a unit 22:13
cpan-p6 New module released to CPAN! Prometheus::Client (0.0.1) by 03HANENKAMP 22:24
22:28 Sgeo_ joined 22:31 Sgeo left, mtdms joined 22:36 Sgeo_ left 22:39 Celelibi joined 22:49 oodani joined 22:59 p9s joined
Xliff guifa: Keep me posted on the progess. I kinda like the idea of a module that would work with Units::SI and offer localized alternatives! 23:01
guifa Xliff: this is more long term planning / ideas. I’m in a crunch period with the PhD :-( 23:02
guifa grumbles about javascript being horrid and annoying and not liking it at all lol
23:04 p9s left
Xliff hhahahaha! I totally agree, guifa 23:04
23:26 Sgeo joined