»ö« 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.
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
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
abraxxa Array.elems is not the best name, I tried count and size first, both don't exist 07:02
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
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?
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
lizmat weekly: perl6.eu/pokemon-chiao.html 07:48
notable6 lizmat, Noted! (weekly)
p9s how to start convert perl5 module to perl6? 14:15
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
lizmat p9s: opensource.com/user_articles/238941/238941 has a list of blog posts about things you might encounter 14:22
p9s #lizmat thanks for you message 14:32
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
masak .oO( the reason I'm not writing long stories is a long story ) 15:18
timotimo learns about The Excel Depression 15:22
lizmat and yet another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2019/09/16/...essinging/ 15:41
scimon lizmat++ 15:49
El_Che thx lizmat 16:10
moritz lizmat++, twoot 16:23
timotimo lizmat++
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
Xliff Can someone tell me how to use $?RESOURCES properly? 16:51
Voldenet Xliff: docs.perl6.org/language/modules has demo of it 17:00
> %?RESOURCES<templates/default-template.mustache>.slurp; 17:01
Voldenet lizmat: p6weekly.wordpress.com/2019/09/16/...essinging/ has broken link to github.com/perl6/doc/issues/2983 17:07
cpan-p6 New module released to CPAN! LibXML (0.0.8) by 03WARRINGD 17:18
lizmat Voldenet++ #$ fixed 17:32
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
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 ^^
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
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.
Geth doc: 96ffda77f5 | Coke++ | xt/words.pws
track meta variant changes
18:42
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
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
Grinnz mostly before it exploded, too 20:05
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
AlexDaniel vrurg: “rakish”, you're going to love that :P :P 20:27
Grinnz suddenly craves radishes 20:28
[Coke] radicchio 20:38
Doc_Holliwood m: say $*PERL; 20:55
camelia Perl 6 (6.d)
Doc_Holliwood m: say $*DISTRO; 20:56
camelia opensuse (42.3)
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
Doc_Holliwood github.com/holli-holzer/perl6-Units-Prefixes, github.com/holli-holzer/perl6-Units 21:00
Doc_Holliwood uh, two years already. time flies. i'm not sure, but i think the code was pretty complete 21:01
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
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
AlexDaniel alright time to delete these nicks from its db :D 21:19
guifa shakes fist at whoever registered "also" 21:27
Such a ruined joke
Doc_Holliwood sure, let me know if you need something changed, put in place of have other suggestions 21:31
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.
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
guifa see, for instance, st.unicode.org/cldr-apps/v#/ja/Length/ 21:51
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
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
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
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
Xliff hhahahaha! I totally agree, guifa 23:04