»ö« 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.
ttkp6 he makes some atute observations, but seems to have missed the mark with regard to templates. there are plenty of examples of frameworks (like Dancer2) which allow programmers to use their preferred templating modules. 00:00
still, bookmarking Oddmuse6 cgit repo .. want to follow this 00:02
00:12 epony joined, p6bannerbot sets mode: +v epony
AlexDaniel ttkp6: your own fork? 00:12
ttkp6: I mean, is there a fork that we don't know about? :) I think the intention was to list all of them here (under Forks): oddmuse.org/wiki/What_Is_Oddmuse 00:15
00:15 mcmillhj left
AlexDaniel hah “I thought the logo should be a mad cow.” 00:16
interestingly the current mad cow logo was added just a few months ago :)
previously it was the inverted smiley 🙃
ttkp6 ttkp6 - yeah, my own fork 00:17
AlexDaniel .tell kensanata colabti.org/irclogger/irclogger_log...9-17#l1054 colabti.org/irclogger/irclogger_log...8-09-18#l1
yoleaux AlexDaniel: I'll pass your message to kensanata.
ttkp6 oops
AlexDaniel - yeah, my own fork
I haven't published anything yet because it's woefully incomplete 00:18
AlexDaniel ttkp6: is it publicly available or are you just using it for yourself?
ttkp6 AlexDaniel - I'll publish it when it's not embarrassingly horrible
AlexDaniel let us know once you do :)
ttkp6 okie-doke
will likely publish it to CPAN as App::drunkenfay when the day comes 00:19
AlexDaniel ttkp6: also feel free to discuss it with Alex if you want, he's `kensanata` here and on #oddmuse (but he's not always online) 00:20
00:20 qiqi left
ttkp6 AlexDaniel - thank you, good to know 00:20
00:24 mcmillhj joined 00:25 p6bannerbot sets mode: +v mcmillhj
ttkp6 reviewing the commit logs, all I've done is make the flat file storage scheme more scalable, improved BannedContent to pull additional rules from external sources, changed the page format, and wrote a deployer script 00:29
00:29 mcmillhj left
ttkp6 on the to-do list: user registration and login, support ~~~~ to insert name and date a la mediawiki, embed markup help image, "Talk" link at top of page a la mediawikil, incorporate Lucy for searching 00:30
00:31 MasterDuke left 00:36 beeman joined, p6bannerbot sets mode: +v beeman 00:37 zakharyas joined, aborazmeh joined, aborazmeh left, aborazmeh joined, p6bannerbot sets mode: +v aborazmeh 00:38 rindolf left, p6bannerbot sets mode: +v zakharyas, mcmillhj joined, p6bannerbot sets mode: +v aborazmeh, p6bannerbot sets mode: +v mcmillhj 00:42 mcmillhj left
AlexDaniel ttkp6: sounds great 00:43
ttkp6: btw these can probably be merged directly into oddmuse if done right 00:44
ttkp6: and a commit bit for the repo should be available if you want to do that, just ask kensanata 00:45
00:45 qiqi joined 00:46 p6bannerbot sets mode: +v qiqi 00:51 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke 00:52 MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke 00:53 ZzZombo_ joined, p6bannerbot sets mode: +v ZzZombo_ 00:54 qiqi left 00:56 ZzZombo left, ZzZombo_ is now known as ZzZombo 01:08 mcmillhj joined 01:09 p6bannerbot sets mode: +v mcmillhj 01:13 mcmillhj left 01:20 molaf left 01:24 mcmillhj joined, p6bannerbot sets mode: +v mcmillhj 01:28 mcmillhj left 01:33 epony left, molaf joined 01:34 p6bannerbot sets mode: +v molaf 01:38 chenyf_ joined 01:39 p6bannerbot sets mode: +v chenyf_ 01:43 itaipu joined, p6bannerbot sets mode: +v itaipu 01:51 mcmillhj joined 01:52 p6bannerbot sets mode: +v mcmillhj 01:56 mcmillhj left 02:01 vike1 left 02:05 qiqi joined 02:06 p6bannerbot sets mode: +v qiqi 02:10 chenyf_ left 02:11 ufobat_ joined 02:12 p6bannerbot sets mode: +v ufobat_ 02:14 mahafyi left 02:15 ufobat left 02:20 mcmillhj joined, p6bannerbot sets mode: +v mcmillhj 02:21 vike1 joined 02:22 p6bannerbot sets mode: +v vike1 02:24 mcmillhj left 02:32 ggoebel joined 02:33 p6bannerbot sets mode: +v ggoebel 02:34 MasterDuke left 02:35 mcmillhj joined, p6bannerbot sets mode: +v mcmillhj 02:36 lizmat left 02:39 mcmillhj left 02:46 itaipu left 02:49 chenyf_ joined 02:50 p6bannerbot sets mode: +v chenyf_ 03:04 chenyf_ left 03:07 mcmillhj joined, p6bannerbot sets mode: +v mcmillhj 03:08 epony joined, p6bannerbot sets mode: +v epony 03:10 qiqi left 03:11 mcmillhj left 03:23 mcmillhj joined 03:24 p6bannerbot sets mode: +v mcmillhj 03:28 mcmillhj left 03:30 lindylex joined, p6bannerbot sets mode: +v lindylex
lindylex I am try to negate a string literal not sure how to do that. pastebin.com/BGKQqSqV 03:36
03:56 mcmillhj joined
geekosaur regex doesn't do negation that well 03:56
03:56 p6bannerbot sets mode: +v mcmillhj
geekosaur you are better off doing that part outside the regex. if for some reason it absolutely must be in the regex, you need to test what you've matched after matching it --- and you must prevent backtracking, or it will get past your "917" by matching "91" 04:00
04:00 mcmillhj left 04:09 mcmillhj joined 04:10 p6bannerbot sets mode: +v mcmillhj 04:14 mcmillhj left 04:30 beakdoosan joined, p6bannerbot sets mode: +v beakdoosan
AlexDaniel lindylex: you can try something like: / <!before 917> <$phonenumber> / 04:32
04:35 beakdoosan left 04:40 mcmillhj joined 04:41 p6bannerbot sets mode: +v mcmillhj, cpage_ joined 04:42 p6bannerbot sets mode: +v cpage_ 04:44 cpage_ is now known as cpage 04:45 mcmillhj left 04:57 mcmillhj joined, p6bannerbot sets mode: +v mcmillhj 05:01 mcmillhj left 05:08 molaf left, mcmillhj joined 05:09 p6bannerbot sets mode: +v mcmillhj 05:11 aborazmeh left 05:12 hamhu3_ left, mcmillhj left, hamhu3 joined 05:13 p6bannerbot sets mode: +v hamhu3 05:30 robertle left 05:34 Clouder25 joined 05:36 Clouder25 left 05:40 mcmillhj joined 05:41 p6bannerbot sets mode: +v mcmillhj, abraxxa joined 05:42 p6bannerbot sets mode: +v abraxxa 05:44 mcmillhj left
lindylex AlexDaniel : still catches 1-526-553-1234 1.917.123.4567 05:46
05:51 mcmillhj joined, p6bannerbot sets mode: +v mcmillhj 05:56 mcmillhj left 05:58 TisonKun joined, p6bannerbot sets mode: +v TisonKun
TisonKun Hi #perl6, I wonder how to define a class method. It look like method(ClassName:U:) { ... } works but get lost with "ClassName:U:" part, especially the latter ":", what it is? 06:00
tyil TisonKun: from my experience that's not needed to put in anyway 06:01
just method($foo, $bar) { "Got a $foo and $bar" } would work fine
geekosaur that's only if you want ametdo that does something different as a class method than as an instance method
what it means is that the invocant (instance) is the class's type object
:U means the value provided must be undefined; the following colon separates the invocant from the other parameters. Normally you don't have an explicit invocant 06:02
er, want a method that does 06:04
hm, although I guess if you want a compile time error for using a class method on an instance, you might use that form of definition 06:05
TisonKun thanks, like A.f(args) treated as if A::f(A, args), the latter colon separates the invocant
tyil: you are right, but here I want a more exactly method that must be invoked by a class, not instance. 06:06
tyil also, anyone on the mastodons that have more knowledge of Cro to help this guy out: mastodon.social/web/statuses/100740628894585564 ? 06:07
06:12 robertle joined 06:13 p6bannerbot sets mode: +v robertle 06:19 TisonKun left 06:24 mcmillhj joined 06:25 p6bannerbot sets mode: +v mcmillhj 06:29 mcmillhj left 06:31 khisanth_ left 06:34 robertle left 06:44 curan joined, p6bannerbot sets mode: +v curan, khisanth_ joined 06:45 bhoman13 joined, p6bannerbot sets mode: +v khisanth_ 06:48 bhoman13 left 07:00 lizmat joined 07:01 p6bannerbot sets mode: +v lizmat 07:10 pecastro joined 07:11 p6bannerbot sets mode: +v pecastro 07:13 mcmillhj joined 07:14 p6bannerbot sets mode: +v mcmillhj 07:16 lizmat left 07:18 mcmillhj left, andrzejku joined, p6bannerbot sets mode: +v andrzejku 07:21 domidumont joined 07:22 p6bannerbot sets mode: +v domidumont 07:23 jbetz14 joined 07:26 jbetz14 left 07:29 dakkar joined, mcmillhj joined, p6bannerbot sets mode: +v dakkar 07:30 p6bannerbot sets mode: +v mcmillhj 07:34 mcmillhj left 07:44 lizmat joined 07:45 duffolonious17 joined, p6bannerbot sets mode: +v lizmat, duffolonious17 left 07:50 domidumont left, domidumont joined 07:51 p6bannerbot sets mode: +v domidumont 07:58 lindylex left 08:04 mcmillhj joined, shareable6 joined, committable6 joined, evalable6 joined, ChanServ sets mode: +v evalable6, reportable6 left, releasable6 joined, reportable6 joined, ChanServ sets mode: +v reportable6, bisectable6 joined, benchable6 joined, ChanServ sets mode: +v benchable6, p6bannerbot sets mode: +v mcmillhj, unicodable6 joined, squashable6 joined 08:05 p6bannerbot sets mode: +v shareable6, p6bannerbot sets mode: +v committable6, p6bannerbot sets mode: +v evalable6, p6bannerbot sets mode: +v releasable6, p6bannerbot sets mode: +v reportable6, p6bannerbot sets mode: +v bisectable6, p6bannerbot sets mode: +v benchable6, p6bannerbot sets mode: +v unicodable6, p6bannerbot sets mode: +v squashable6 08:08 Ven` joined, p6bannerbot sets mode: +v Ven` 08:09 mcmillhj left 08:16 mcmillhj joined 08:17 p6bannerbot sets mode: +v mcmillhj 08:21 mcmillhj left 08:28 scimon joined, mcmillhj joined 08:29 p6bannerbot sets mode: +v scimon, p6bannerbot sets mode: +v mcmillhj 08:33 mcmillhj left, b2gills joined 08:34 p6bannerbot sets mode: +v b2gills 08:44 Hor|zon joined
buggable New CPAN upload: Scalar-Util-0.0.5.tar.gz by ELIZABETH modules.perl6.org/dist/Scalar::Util...:ELIZABETH 08:44
08:44 p6bannerbot sets mode: +v Hor|zon 08:53 Ven` left 08:54 mcmillhj joined 08:55 p6bannerbot sets mode: +v mcmillhj 08:56 Ven` joined, p6bannerbot sets mode: +v Ven` 08:59 mcmillhj left 09:03 rindolf joined, p6bannerbot sets mode: +v rindolf 09:08 djsxxx_away joined 09:11 djsxxx_away left
Ulti m: say 1.2.round(0.1).WHAT; say 1.2.round(1e-1).WHAT; 09:13
camelia (Rat)
(Num)
09:13 mcmillhj joined
lizmat clickbaits p6weekly.wordpress.com/2018/09/17/...ersus-six/ 09:14
Ulti ^ that can be a quite large gotcha since you're unlikely to write 0.0000000000000001 as a constant literal but would write 0.01
09:14 p6bannerbot sets mode: +v mcmillhj
Ven` ;q 09:14
oops. Hi, #perl6 09:15
09:18 mcmillhj left 09:30 pmurias joined, p6bannerbot sets mode: +v pmurias 09:31 Hor|zon left
pmurias moritz: re new jvm stuff we have the initial stages of the truffle backend 09:34
tyil hi Ven` :> 09:35
09:39 Hor|zon joined, p6bannerbot sets mode: +v Hor|zon
lizmat in a similar vein to timotimo's operator: 09:44
m: sub postfix:<§>($a is rw) { LEAVE $a = Nil; $a<> }; my $a = 42; say $a; say $a§; say $a
camelia 42
42
(Any)
lizmat aka, take a rw value, return its ro value while resetting it on the fly 09:45
09:45 mcmillhj joined
lizmat inspired by making .kv iterators 09:45
09:46 p6bannerbot sets mode: +v mcmillhj 09:50 mcmillhj left 09:53 zakharyas left 09:58 ufobat_ is now known as ufobat 09:59 mcmillhj joined, p6bannerbot sets mode: +v mcmillhj 10:00 pmurias left, pmurias joined, p6bannerbot sets mode: +v pmurias 10:03 mcmillhj left 10:12 kensanata joined, p6bannerbot sets mode: +v kensanata
pmurias are there any guidelines for creating new repositories in the perl6 organization? 10:13
like is creating a repo there for the rakudo.js-in-browser-using-parcel example cool?
lizmat sounds cool enough and perl 6 related enough to me, but that's just my opinion: others may differ 10:14
10:15 perlharbor joined, p6bannerbot sets mode: +v perlharbor
pmurias thanks, it seems that having it the org removes the hassle of having to give commit bits but unwritten rules are always hard to navigate ;) 10:18
10:18 perlharbor left
pmurias github.com/perl6/perl6-parcel-example # Simple example of running rakudo.js in the browser 10:19
timotimo looking forward to it growing :) 10:23
buggable New CPAN upload: Array-Sparse-0.0.4.tar.gz by ELIZABETH modules.perl6.org/dist/Array::Spars...:ELIZABETH 10:24
pmurias the big problem ahead of making rakudo.js more fun to play with is figuring out a good way to tree shake away large parts of the setting :/ 10:25
lizmat pmurias: is module loading supported ?
pmurias lizmat: not yet in the browser, it's the very first version that installs from npm 10:26
lizmat right.. ok 10:27
well I was thinking that maybe some parts of the setting could be optionally autoloaded somehow
10:27 dakkar left
lizmat think about set operators e.g. 10:27
10:34 mcmillhj joined
pmurias lizmat: loading stuff we aren't sure if we need seems like a likely part of the solution 10:35
10:35 p6bannerbot sets mode: +v mcmillhj
pmurias tools are spliting large javascript bundles into loaded on demand parts already 10:35
10:40 mcmillhj left
kensanata I'm observing something strange: whenever I edit my code and run it, e.g. running my tests, I get "This type (NQPMu) does not support associative operations" -- and when I run it again, it either works or I get a real error. Any ideas what this is about? 10:40
yoleaux 00:17Z <AlexDaniel> kensanata: colabti.org/irclogger/irclogger_log...9-17#l1054 colabti.org/irclogger/irclogger_log...8-09-18#l1
kensanata ttkp6: What were you referring to when you mentioned templates> 10:42
?
Ven` ;qa 10:51
pmurias: nicely done, I don't remember if you touched the "FFI" part of rakudojs? 10:52
10:52 mcmillhj joined, p6bannerbot sets mode: +v mcmillhj, Zoffix joined, p6bannerbot sets mode: +v Zoffix
Zoffix kensanata: are you using multi-threading constructs in your code? 10:53
pmurias Ven`: you mean calling js or doing native calls to c libraries? 10:54
Ven` calling JS
pmurias Ven`: a tiny bit from the nqp level 10:55
10:56 mcmillhj left
pmurias Ven`: github.com/perl6/nqp/blob/master/t...tcomp-js.t 10:56
kensanata Zoffix: No. I think I found the issue by chance: there's was some code I didn't use yet which was supposed to append a string to another string and I used $foo ~= $bar. After rewriting this, the warning disappeared.
Ven` pmurias: I meant FFI 10:57
Zoffix kensanata: too bad. There's likely a bug in rakudo you were tickling. Would be nice to find it 10:58
pmurias Ven`: you mean like declaring the signatures of javascript functions?
Ven` yes
Zoffix So far I traced the error to "die_no_ass_del" routine...
>:)
pmurias Ven`: I'm not convinced we should do that that way
Ven` I'm convinced we should write a TypeScript-to-rakudojs-fa??ade converter :P 10:59
pmurias using typescript definitions would be cool for sure 11:01
Zoffix nqp: nqp::deletekey(Foo, 'x')
camelia This type (NQPMu) does not support associative operations
at <tmp>:1 (<ephemeral file>:<mainline>)
from gen/moar/stage2/NQPHLL.nqp:1675 (/home/camelia/rakudo-m-inst-1/share/nqp/lib/NQPHLL.moarvm:eval)
from gen/moar/stage2/NQPHLL.nqp:1914 (/home/cam…
Zoffix kensanata: if you manage to golf it down, please report it: github.com/rakudo/rakudo/issues/new
pmurias Ven`: for regular untyped js I'm hoping for stuff to work fairly okish without having to write a FFI layer 11:02
Ven` well, I suppose you'll always have to be in OO-land
11:02 Bucciarati joined
pmurias just like calling Perl 5 using Inline::Perl5 11:02
Ven`: what do you mean by being in OO-land? 11:03
11:03 p6bannerbot sets mode: +v Bucciarati
kensanata Zoffix: I'm trying but failing... 11:04
Zoffix ok 11:07
11:07 Zoffix left 11:08 lookatme_q joined 11:09 p6bannerbot sets mode: +v lookatme_q 11:18 Ven` left 11:24 mcmillhj joined
buggable New CPAN upload: Array-Agnostic-0.0.5.tar.gz by ELIZABETH modules.perl6.org/dist/Array::Agnos...:ELIZABETH 11:24
11:24 p6bannerbot sets mode: +v mcmillhj 11:29 mcmillhj left
CIAvash[m] pmurias: getting a build error test.p6: Cannot find module '/home/pmurias/rakudo/src/vm/js/perl6-runtime' 11:29
11:29 Ven` joined, p6bannerbot sets mode: +v Ven`
pmurias CIAvash[m]: I'll look into it, seems like a hardcoded path leaked 11:34
11:34 pmurias left 11:35 mcmillhj joined 11:36 p6bannerbot sets mode: +v mcmillhj 11:40 mcmillhj left, pmurias joined, p6bannerbot sets mode: +v pmurias 11:44 Ven` left 11:50 Xliff left 11:51 Ven` joined 11:52 p6bannerbot sets mode: +v Ven`
Ven` pmurias: do you plan to support `import :from<JS>;`? 11:55
pmurias Ven`: yes 11:57
CIAvash[m]: hopefully the version used in the current HEAD of the example repo doesn't depend on stuff from /home/pmurias 12:00
12:02 mcmillhj joined 12:03 p6bannerbot sets mode: +v mcmillhj
pmurias Ven`: I'm trying to get it to the sanely installs and doesn't explode on other machines phase today but stuff like being to use Perl 6 and JS modules seems like something that's mandatory to have fun with it 12:04
Ven`: I looked into typescript a bit and it also seems using ts definitions seems like something that could come in handy 12:06
12:07 mcmillhj left
Ven` yeah, I'm only half-joking when I talk about a .d.ts converter. Maybe not joking at all. 12:08
12:09 mcmillhj joined 12:10 p6bannerbot sets mode: +v mcmillhj, noganex left
CIAvash[m] pmurias: that's fixed, but I'm getting another error now: gist.github.com/CIAvash/d57ae64fa5...3d4ed890ee 12:13
12:13 mcmillhj left
pmurias CIAvash[m]: what's your node.js version? 12:18
CIAvash[m] pmurias: v10.10.0 12:20
pmurias I reproduced the error message on my box turns out it was masked by the parcel caches :( 12:21
12:25 Bucciarati left 12:26 mahafyi joined 12:27 p6bannerbot sets mode: +v mahafyi
CIAvash[m] pmurias: not an issue, but I think for executing the binary you can do `npx parcel index.html` (in README) 12:27
12:27 pmurias left 12:29 pmurias joined, p6bannerbot sets mode: +v pmurias, Bucciarati joined 12:30 pmurias left, p6bannerbot sets mode: +v Bucciarati 12:34 pmurias joined, p6bannerbot sets mode: +v pmurias 12:39 stux|RC joined 12:40 pmurias left, p6bannerbot sets mode: +v stux|RC 12:41 pmurias joined, p6bannerbot sets mode: +v pmurias
pmurias Ven`: to make use of the typescript definitions Perl 6 would have to have real gradual typing 12:42
Ven` we do, we have Any :P.
pmurias Ven`: isn't that dynamic typing? 12:44
masak I think the `Any` thing was a joke, but... 12:45
`any` in TypeScript means the lack of (static) typing, which I guess one could refer to as dynamic typing (only)
pmurias Ven`: we could turn the typescript gradual typing into Perl6y runtime type assertions 12:46
Ven` well, a Perl 6 runtime type assertion is a "$ where Foo" instead of "Foo $" for subs
pmurias masak: doesn't mean something is weakly typed rather then dynamically typed checked in TypeScript 12:48
?
masak "weakly typed" as in "type coercions happen instead of type mismatch errors"? 12:49
12:49 pmurias left 12:54 mcmillhj joined, pmurias joined, p6bannerbot sets mode: +v pmurias 12:55 p6bannerbot sets mode: +v mcmillhj 12:57 pmurias left 12:59 pmurias joined, p6bannerbot sets mode: +v pmurias, psychoslave joined 13:00 p6bannerbot sets mode: +v psychoslave 13:04 pmurias left 13:09 pmurias joined, p6bannerbot sets mode: +v pmurias
buggable New CPAN upload: Getopt-Advance-1.0.1.tar.gz by ALOREN modules.perl6.org/dist/Getopt::Adva...pan:ALOREN 13:14
13:28 Ven` left 13:31 curan left 13:36 Ven` joined, p6bannerbot sets mode: +v Ven` 13:38 sena_kun joined 13:39 p6bannerbot sets mode: +v sena_kun 13:40 aborazmeh joined, aborazmeh left, aborazmeh joined, p6bannerbot sets mode: +v aborazmeh 13:43 pmurias left 13:45 pmurias joined, p6bannerbot sets mode: +v pmurias
CIAvash[m] weekly: Author of Python books: twitter.com/dabeaz/status/1042013193370050560 13:54
notable6 CIAvash[m], Noted!
13:59 itaipu joined 14:00 p6bannerbot sets mode: +v itaipu 14:12 regreg joined 14:13 p6bannerbot sets mode: +v regreg 14:16 psychoslave left 14:33 pmurias left 14:36 klinquist11 joined 14:37 PtxDK19 joined 14:38 aborazmeh left 14:39 PtxDK19 left 14:40 kensanata left, blackberry9900 joined, p6bannerbot sets mode: +v blackberry9900 14:42 klinquist11 left 14:48 ccc joined 14:49 p6bannerbot sets mode: +v ccc
ccc Would somebody like to explain why this is an error: Type check failed for return value; expected Array[Pair] but got Array[Pair].new(0 => 2, 0 => 4, ... 14:50
timotimo uh oh, i wonder if that's interning fail 14:52
ccc The code: method transpositions(--> Array[Pair]) {my Pair @ret; ...; @ret.push(pair $x => $y); ... return @ret}
timotimo that does look correct
jnthn Yeah, I think there's an issue filed about that somewhere
ccc The code: method transpositions(--> Array[Pair]) {my Pair @ret; ...; @ret.push($x => $y); ... return @ret} 14:53
timotimo but this isn't in two different comp units, i don't think? :(
ccc no
Should I register an issue, and if so, to which repository does it belong? 14:58
15:00 blackberry9900 left 15:03 Zoffix joined, p6bannerbot sets mode: +v Zoffix
Zoffix ccc: You can file all the Issues in github.com/rakudo/rakudo/issues/new but that particular issue has already been filed before RT#127309 and G#2182 15:04
synopsebot RT#127309 [new]: rt.perl.org/Ticket/Display.html?id=127309 Type check failure for Array[...] as return value caused by irrelevent inclusion from another compunit
Zoffix R#2182
synopsebot R#2182 [open]: github.com/rakudo/rakudo/issues/2182 [regression] Array[Pair] as return constraint does not work
Zoffix Also RT#132525 15:05
synopsebot RT#132525 [open]: rt.perl.org/Ticket/Display.html?id=132525 [REGRESSION][PRECOMP] type constraints to Array[Pair] don't work when precompiled
ccc Ok, thanks
El_Che releasable6: status 15:15
releasable6 El_Che, Next release will happen when it's ready. 1 blocker. 112 out of 114 commits logged
El_Che, Details: gist.github.com/8e8154d170d975be87...5232571a68
Zoffix m: say 0.0000000000000001.nude.tail.log: 2 15:16
camelia 53.1508495181978
Zoffix Ulti: 0.0000000000000001 is almost a maximum Rat denominator, so you'd have to switch to Num soon enough anyway. Currently, that operation follows the pattern that two different numerics get .Bridge'd (which in this case is to a Num) 15:17
Ulti: also things have a much better chance of being seen and addressed when they're filed as an Issue, rather than mentioned on a non-dev chat. 15:18
15:19 sena_kun left
Zoffix (INB4: while 0.0000000000000000000000000000000000000000000001 is a Rat; it's a fattish Rat and basically all non-FatRat operations with it would degrade it to a Num, unless the result gets a chance to become less than 64-bit denominator. It'd violate the patter to produce a fattish rat through .round) 15:20
15:20 Zoffix left
El_Che since I retired a perl6 that ran in prod for 2 years (it was an app to help with the migration of a CA provider, query servers and bug users) because the migration was completed, I added our first perl 6 service on our internal cloud. As a byproduct there are now (internal) visible perl6 Docker base images :) 15:23
who knows :)
timotimo \o/ 15:24
El_Che the funny detail is that this is a smallish script that monitors oracle jdk releases and puts the rpms in our internal artefact repo :) 15:26
so our Java images are brought to you by Rakudo Perl 6 (TM)
:)
AlexDaniel yesterday I had to talk to people about perl 6 15:29
and the confusion that comes because of its name is very strong…
15:29 kurahaupo joined
El_Che I am too nice to say "no shit, Sherlock" (however, I may be sneaku enough to imply it) 15:30
jk
/o\
AlexDaniel one thing that I noticed is that even if you explain the whole thing about perl5 and perl 6, people still keep referring to it as “perl”
maybe because it's easier to pronounce, I don't know
15:30 p6bannerbot sets mode: +v kurahaupo
El_Che AlexDaniel: it's because they are normal 15:30
and can count sequentially 15:31
:)
it's a lost battle
AlexDaniel but then someone else joins the discussion, hears “perl” and then it's even harder to unconfuse it
El_Che I just say Rakudo
except to people that know perl
ofperfection[m] Yeah, I'm excited for the rebranding effort
El_Che don't hold your breath 15:32
ofperfection[m] When my cohorts here I'm using perl there is usually some eye rolling or wincing
hard to get people excited about it
El_Che yeah, people use it as banter at work
me being the perl guy (because of the lack of other candidates) :) 15:33
AlexDaniel yeah, my day was unnecessarily hard yesterday because of the damn name… and I really hope we can fix that so that others don't have to feel the same way
on a related note, my university changed its name
well, its short name to be precise
El_Che it's good that I can troll the rubyst with the same arguments
AlexDaniel not entirely sure why, but it was weird, confusing and sucked anyway
El_Che "Oh, haven't we moved that ruby code to go yet?" 15:34
AlexDaniel: political parties around here change their names once in a while
and sadly enough it works
ofperfection[m] oof
El_Che ("I don't want to live in this planet any more" :) )
AlexDaniel .tell Zoffix I hope the alias thingie is still part of the plan for v6.d. Pleaaaase. colabti.org/irclogger/irclogger_log...09-18#l498 15:36
yoleaux AlexDaniel: I'll pass your message to Zoffix.
ofperfection[m] +1
El_Che my I should add a "ln -s /opt/rakudo-pkg/bin/perl6 /opt/rakudo-pkg/bin/rakudo" to the Linux pkg build scripts :) 15:37
so people do "#!/usr/bin/env rakudo" :)
AlexDaniel that totally makes sense and is not related to the alias anyway
maybe I want to have more than one compiler installed and I want to run something specifically with rakudo 15:38
15:38 domidumont left
El_Che while my pkgs are opniated (they include zef) I don't want to start a war 15:38
AlexDaniel but maybe rakudo itself should produce a `rakudo` executable? 15:39
diakopter but,.. a war with whom? who might realistically object
AlexDaniel along with a `perl` one
diakopter heh
AlexDaniel or one symlinked to another
El_Che (I am contemplating adding the needed libs for a working repl, thought?)
AlexDaniel: that would be the pratical renaming, e.g. as output for -v as well
that is way further than an alias though 15:40
AlexDaniel huh? why?
El_Che if even perl6{.exe} calls itself rakudo, then it will be the main name 15:41
in my eyes
AlexDaniel ???
evalable6 Stub code executed
in block <unit> at /tmp/98uO7XzRD4 line 1
AlexDaniel name of the compiler, yes
El_Che I C
good enough
AlexDaniel El_Che: or if not, then let's say I want to install rakudo along with another perl6 compiler 15:42
El_Che make the main one 'rakudo' and smaller ones 'rakudo-js' or something?
AlexDaniel then how can I differentiate?
El_Che AlexDaniel: install path?
AlexDaniel El_Che: ok, but what does that mean?
so I do apt install rakudo
and then apt instal oenuhoneuh
I'd get the other one uninstalled because they both want to be `perl6`, no? 15:43
El_Che apt-cache search perl
"shall I install the old one or the most recent one?"
/civil-war-started-by-debian
while apt-cache search rakudo doesn't have that effect 15:44
AlexDaniel ok, actually, I guess I'm not qualified to have an opinion on that :)
maybe we should ask domidumont or robertle 15:45
diakopter I have not heard of this oenuhoneuh
El_Che AlexDaniel: this is the Internet (no one knows you're a dog)
(In case the reference is lost: assets.media-marketing.com/wp-conte...e-pas.png) 15:46
diakopter: it's like rakudo, but faster and with a syntax close to Perl 5. 15:47
diakopter google returns no results
El_Che diakopter: it will be announce in Riga
by AlexDaniel
diakopter how is it like rakudo if it has a syntax close to Perl 5 15:48
ofperfection[m] All the current learning materials assume Rakudo syntax do they not
El_Che ofperfection[m]: there is only rakudo
AlexDaniel the announcement will include a tutorial on how to come up with a good name by hitting the home row keys on a Dvorak layout :) 15:49
El_Che lol
Juerd dvorak++
learn.dvorak.nl/ !!!1 :D
AlexDaniel ofperfection[m]: the official documentation on docs.perl6.org/ draws a clear line for perl6 vs rakudo features 15:50
Juerd apt-get install snthueoat
15:50 Zoffix joined, p6bannerbot sets mode: +v Zoffix
Zoffix . 15:50
yoleaux 15:36Z <AlexDaniel> Zoffix: I hope the alias thingie is still part of the plan for v6.d. Pleaaaase. colabti.org/irclogger/irclogger_log...09-18#l498
AlexDaniel` ofperfection: for example: docs.perl6.org/programs/01-debuggi...unction_dd
Zoffix AlexDaniel: it is: twitter.com/zoffix/status/1026176474058055680
El_Che Perl 6: create you own grammars, slangs and proglang name! 15:51
diakopter how is it like rakudo if it has a syntax close to Perl 5
AlexDaniel` ofperfection: generally rakudo-specific features are not even documented, but some worthy mentions (like `dd`) are
El_Che I don't think it's a good idea
ofperfection[m] Okay, my uses aren't sophisticated enough to be affected
El_Che we'll end up with dialects 15:52
AlexDaniel Zoffix: ok, good. Thank you ♥
Zoffix: let me know if any help is needed
AlexDaniel optimistically assumes he can be of any help for that
El_Che "best viewed with Rakudo 6.d-moarvm-js-Internet Explorer 1024x768"
do you guys remember the oracle jdk renaming? 15:53
(and girls)
Zoffix FWIW: There was already a pumpking-rejected ticket on renaming the executable R#2095
synopsebot R#2095 [closed]: github.com/rakudo/rakudo/issues/2095 [6.d review][build] Do not use `perl6` as executable
AlexDaniel oh, right 15:57
so you can probably use perl6-m to mean rakudo on moar
fine :)
El_Che well the single entrypoint does not help is the reason to change it is the "perl" en "6" part 15:58
*if
diakopter someone help me understand what is this new perl6?
El_Che it helps with the discussion about the compiler ecosystem in the future 15:59
[Coke] regarding perl6 vs. rakudo executables. It's my understanding that are already some packages that provide that prior art; that if you install 2 things that provide a service, the package installs cooperate so you can choose which one gets the real name, but both get their own name.
El_Che like alternatives in Linux?
[Coke] ISTR that pmichaud has mentioned that before. that seems like a very reasonable thing for a rakudo package to do. 16:00
El_Che it does so by setting syslinks to the correct path
what about the ln -s perl6 rakudo idea?
bbl train arrived
[Coke] reads www.tutorialspoint.com/unix_command...atives.htm sure. No idea if pacakage managers support the aliases out of the box or if you'd have to do it yourself as the pkg mgr. 16:01
Zoffix m: dd 9930972392403501.round(.1) 16:02
camelia 9930972392403501.0
Zoffix oh, nm, I have old perl6 with that math bug. Thought it still existed on HEAD 16:03
16:06 rindolf left 16:09 ccc left 16:10 rindolf joined
Zoffix Ulti: actually, it's not bridged to Num. The type of argument is used, except when rounding a Complex, in which case the result is Complex 16:10
16:11 p6bannerbot sets mode: +v rindolf 16:12 psychoslave joined 16:13 p6bannerbot sets mode: +v psychoslave 16:16 domidumont joined 16:17 p6bannerbot sets mode: +v domidumont 16:21 Actualeyes left, psychoslave left
Altreus lizmat: I found an error in opensource.com/article/18/9/signatures-perl-6 - you've put «if (exists %named{bar}) {» in a Perl5 snippet, where of course it should be $named{bar} 16:22
16:26 Geth left, Geth joined, ChanServ sets mode: +v Geth
Geth doc: MorayJ++ created pull request #2318:
Changes routine headlines
16:27
doc: 9d4abe5269 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Cool.pod6
Document .round's return type behaviour

Spec: github.com/perl6/roast/commit/171a1c59e3
16:28
synopsebot Link: doc.perl6.org/type/Cool
Geth doc: 004b45f73d | MorayJ++ | doc/Type/Cool.pod6
Changes routine headlines

If a routine is only defined as sub, change to 'sub name', if only by method to 'method name', and if by both to 'routine name' - where this was not already the case.
16:29
doc: 7060d26908 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Cool.pod6
Merge pull request #2318 from MorayJ/cool-routine-fixes

Changes routine headlines
16:31 scimon left 16:33 Zoffix left 16:39 noganex joined, domidumont left 16:40 dogbert17 joined, p6bannerbot sets mode: +v noganex, p6bannerbot sets mode: +v dogbert17
Geth doc: 21c256f4e2 | MorayJ++ | doc/Language/operators.pod6
Adds straightforward example for feed operator

Response to: The documentation on ==> should get to the point faster #2316
16:42
synopsebot Link: doc.perl6.org/language/operators
doc: fca819d1d5 | MorayJ++ (committed using GitHub Web editor) | doc/Language/operators.pod6
Merge pull request #2317 from MorayJ/feed-operator

Adds straightforward example for feed operator
16:43 Ven` left, lizmat left 16:46 lucidguy7 joined 16:47 Ven` joined, p6bannerbot sets mode: +v Ven` 16:48 lucidguy7 was kicked by timotimo (lucidguy7)) 16:53 Ven` left, lizmat joined 16:54 p6bannerbot sets mode: +v lizmat 16:55 stmuk_ joined, p6bannerbot sets mode: +v stmuk_
lizmat Altreus: yeah, I can't change the article anymore 16:57
Altreus: someone else (you?) also spotted it, I've confirmed in a reply to his comment 16:58
stmuk_ I have my Butterfly Book!
ofperfection[m] Butterfly book? 16:59
timotimo brian d. foy's i imagine
stmuk_ shop.oreilly.com/product/0636920062776.do 17:00
timotimo $ perl Configure.pl --prefix=$MOAR_PREFIX $MVM_OPTIONS --cc="$CC" $MVM_debug $MVM_optimize;
Can't locate strict.pm in @INC
what the heck?
stmuk_ actually it should be probably have been a moth (cf. llama)
timotimo hah 17:01
17:20 domidumont joined 17:21 p6bannerbot sets mode: +v domidumont 17:36 pmurias joined 17:37 p6bannerbot sets mode: +v pmurias
pmurias CIAvash[m]: what browser are you using? 17:37
17:41 kurahaupo left 17:47 Bucciarati left 17:49 Bucciarati joined 17:50 p6bannerbot sets mode: +v Bucciarati 17:52 molaf joined, kurahaupo joined 17:53 p6bannerbot sets mode: +v molaf, p6bannerbot sets mode: +v kurahaupo 17:58 stmuk_ left
CIAvash[m] pmurias: qutebrowser which uses webengine which uses chromium. I'm not on my computer right now, I can try it on Firefox tomorrow. 17:58
pmurias CIAvash[m]: rakudo.js uses native BigInts which as far as I know don't work in firefox yet 18:05
CIAvash[m]: I test it on newish chrome, it seems likely the didn't upgrade V8 in qutebrowser yet 18:07
CIAvash[m]: anyway thanks a lot for helping to make the parcel bundling part portable
CIAvash[m] pmurias: that's probably it, webengine is usually behind chrome. No problem. 18:12
pmurias I didn't invest (much) time into portability for browsers with non-cutting edge features for rakudo.js as it's a problem that goes away with time 18:18
;)
CIAvash[m] 😃 18:20
El_Che pmurias: isn't pretty much the point of a JS port portability? 18:24
(as when ready, not when work in progress, I mean)
pmurias El_Che: when ready it will make sense to spend some time to all the popular browsers 18:25
El_Che yes, that's what I mean, not now 18:27
but must not be forgotten then :)
I don't want to hear rakudo active X jokes :)
pmurias: do you still post about the port? 18:28
I remember some post on blog.perl.org, iirc
pmurias I'll write on soonish now that I have something reportable ;)
El_Che looking forward to it 18:29
18:32 domidumont left 18:47 Guest73317 joined, Guest73317 left 18:56 mcmillhj left 19:19 sauvin left 19:25 sauvin joined, p6bannerbot sets mode: +v sauvin 19:27 molaf left 19:28 lichtkind joined 19:29 p6bannerbot sets mode: +v lichtkind 19:51 sarna joined, p6bannerbot sets mode: +v sarna
sarna o/ 19:51
AlexDaniel \o 19:52
sarna y'all know the red monk language rankings?
redmonk.com/sogrady/2018/08/10/lan...ings-6-18/
I didn't see Perl 6 there
AlexDaniel maybe they count perl5 and perl 6 as the same thing 19:53
sarna so I shot them an email, Perl 6 is gonna be included the next time :)
lizmat sarna++
El_Che sarna++
AlexDaniel oh
sarna++
sarna three, no, six pluses! today's a good day :D
AlexDaniel heh that graph may be a bit misleading 19:54
KiCad is not a programming language :)
sarna well, it's not ideal 19:55
more accurate than TIOBE though, in my opinion
AlexDaniel I don't mind… more people will know about kicad, that's great :) 19:56
20:00 sarna left 20:08 {horse} joined, {horse} left 20:36 pmurias left 20:37 dct joined, p6bannerbot sets mode: +v dct 20:40 ggoebel left
buggable New CPAN upload: CroX-HTTP-Auth-Munge-0.1.tar.gz by CTILMES modules.perl6.org/dist/CroX::HTTP::...an:CTILMES 20:54
20:55 ggoebel joined 20:56 p6bannerbot sets mode: +v ggoebel 21:05 kerframil joined, p6bannerbot sets mode: +v kerframil 21:27 ufobat left
jnthn Cool, I think that's the first CroX module :) 21:40
21:45 regreg left 21:47 rindolf left
lizmat .o( program with your feet :-) 21:48
Geth ecosystem: 61df9639ca | (Zoffix Znet)++ (committed using GitHub Web editor) | META.list
Remove NASA.pm6 from ecosystem

Most API services unimplemented and no longer maintained.
21:52
AlexDaniel weeeeell… that's not exactly what I meant… but yeah… I guess… 21:54
21:56 ZofBot joined, ChanServ sets mode: +v ZofBot 21:57 p6bannerbot sets mode: +v ZofBot
tyil weekly: alexschroeder.ch/wiki/2018-09-18_T...ing_Perl_6 22:14
notable6 tyil, Noted!
22:33 pecastro left 22:51 dct left 22:53 dct joined, p6bannerbot sets mode: +v dct 22:54 sauvin left 23:04 sauvin joined, p6bannerbot sets mode: +v sauvin 23:19 Xliff joined 23:20 p6bannerbot sets mode: +v Xliff 23:22 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke, k_89 joined 23:23 MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke, p6bannerbot sets mode: +v k_89
timotimo hi Xliff, hi k_89 23:24
Xliff timotimo.
Are there any plans on getting $=pod Pod::Block::Named structures into something easier to access than an array? 23:25
Thinking something like %=pod<data> would give me a Str of data if only one section was defined... or an Array if there were more.
timotimo haven't touched pod in a looooong time
Xliff LOL
Just looking through it and was wondering why it is all in an _array_ of all things.
timotimo i could imagine that working, especially as many items pretend to be an array of one item
Xliff But easiest implementation wins. 23:26
timotimo could be because it's supposed to be ordered?
Xliff How would one get access to $=pod from outside its scope?
I would assume that was made difficult for good reasons. 23:27
timotimo hm, you mean $=pod variables are kind of lexically scoped?
Xliff Yeah. Would like to see if writing a module to get all of the Pod::Block::Named sections into a hash would be possible.