»ö« 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:01 molaf left 00:09 noganex_ joined, dogbert11 joined 00:10 p6bannerbot sets mode: +v noganex_, p6bannerbot sets mode: +v dogbert11, webstrand left 00:11 webstrand joined, Summertime left, markk left 00:12 p6bannerbot sets mode: +v webstrand, Summertime joined, p6bannerbot sets mode: +v Summertime, Guest13389 left, noganex left, perigrin left, vike left 00:13 dogbert17 left, perigrin joined 00:14 vike joined, p6bannerbot sets mode: +v perigrin, Guest13389 joined, jameslenz left 00:15 p6bannerbot sets mode: +v vike, p6bannerbot sets mode: +v Guest13389, jameslenz joined 00:16 p6bannerbot sets mode: +v jameslenz 00:17 markk joined, p6bannerbot sets mode: +v markk 00:24 epony left 00:33 epony joined, p6bannerbot sets mode: +v epony 00:38 jbotz left 01:07 lance_w[m] left, Matthew[m] left, ExtraCrispy left, Demos[m] left 01:08 ExtraCrispy joined, p6bannerbot sets mode: +v ExtraCrispy, Bucciarati left, Bucciarati joined 01:09 lance_w[m] joined, p6bannerbot sets mode: +v lance_w[m], Matthew[m] joined, p6bannerbot sets mode: +v Matthew[m], p6bannerbot sets mode: +v Bucciarati 01:11 Demos[m] joined, p6bannerbot sets mode: +v Demos[m] 01:14 fake_space_whale joined, p6bannerbot sets mode: +v fake_space_whale 01:21 MasterDuke left 01:25 Guest23156 left, success joined 01:26 success is now known as Guest2942, p6bannerbot sets mode: +v Guest2942 01:30 Guest2942 left, failure joined, failure is now known as Guest15319 01:31 p6bannerbot sets mode: +v Guest15319 01:35 Guest15319 left, wbn left 01:37 wbn joined, lance_w[m] left, p6bannerbot sets mode: +v wbn, ofperfection[m] left, tyil[m]1 left 01:40 ZzZombo left 01:43 lance_w[m] joined, p6bannerbot sets mode: +v lance_w[m], success- joined, tyil[m]1 joined, p6bannerbot sets mode: +v tyil[m]1 01:44 p6bannerbot sets mode: +v success- 01:45 ofperfection[m] joined, p6bannerbot sets mode: +v ofperfection[m] 01:48 success- left, success- joined 01:49 p6bannerbot sets mode: +v success-
vrurg If I have a parent/child relations between two classes in separate files and need to specify parent type in a child method signature – how can I do it without causing circular dependencies in modules? 01:49
01:55 kurahaupo left, kurahaupo joined, success- left 01:56 p6bannerbot sets mode: +v kurahaupo, Demos[m] left 01:58 Demos[m] joined, p6bannerbot sets mode: +v Demos[m] 02:10 cognominal-p6 joined, p6bannerbot sets mode: +v cognominal-p6 02:27 cognominal-p6 left, cognominal-p6 joined 02:28 p6bannerbot sets mode: +v cognominal-p6 02:34 cognominal-p6 left 02:35 ZzZombo joined, p6bannerbot sets mode: +v ZzZombo, ZzZombo left 02:38 epony left 02:43 ufobat___ joined 02:44 p6bannerbot sets mode: +v ufobat___ 02:47 ufobat_ left 03:07 aindilis left 03:15 epony joined, p6bannerbot sets mode: +v epony 03:18 success joined 03:19 success is now known as Guest90448, p6bannerbot sets mode: +v Guest90448 03:53 sauvin joined, p6bannerbot sets mode: +v sauvin 04:08 epony left, epony joined, p6bannerbot sets mode: +v epony
k-man why does 7.5.numerator work, but 7.5e-3.numerator does not ? 04:11
sjn k-man: bexayse 7.5 is a Rat, and 7.5e-3 is a Num, and .numerator is only available in Rats 04:17
r: sat 7.5e-3.Rat.numerator
r: say 7.5e-3.Rat.numerator
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
sat used at line 1. Did you mean 'set', 'say'?
5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
sat used at line 1. Did you mean 'say', 'set'?
3
sjn (sorry about the typos) 04:18
r: say (7.5e-3).Rat.nude 04:19
k-man sjn, ah i see
camelia (3 400)
sjn r: say (7.5e-3).nude
camelia Method 'nude' not found for invocant of class 'Num'
in block <unit> at <tmp> line 1
No such method 'nude' for invocant of type 'Num'. Did you mean any of these?
none
note

in block <unit> at <tmp> line 1
sjn m: say (7.5e-3).WHAT 04:20
camelia (Num)
sjn m: say (7.5).WHAT
camelia (Rat)
04:22 molaf joined
k-man thanks sjn 04:23
04:23 p6bannerbot sets mode: +v molaf
k-man i'm working through Learning Perl 6, and one of the questions was "What is 7.297351e-3 as a fraction 04:24
"
sjn r: say 7.297351e-3.Rat.nude 04:25
camelia (27 3700)
k-man r: say 7.297351e-3.Rat.perl 04:26
camelia <27/3700>
k-man i found that way too
sjn wonders if there's a complete type inheritance graph somewhere on docs.perl6.org 04:29
Hm. looks like docs.perl6.org/type/Cool#Type_Graph shows a lot 04:36
k-man: if you expand that, you'll see that Num doesn't inherit from Rat 04:37
k-man i see, interesting 04:38
04:40 Ven` joined 04:41 p6bannerbot sets mode: +v Ven` 04:45 Ven` left 04:56 curan joined, p6bannerbot sets mode: +v curan
lookatme_q k-man, Num is IEEE754 floating point number 04:56
05:13 perlpilot joined 05:14 p6bannerbot sets mode: +v perlpilot 05:16 jmerelo joined 05:17 p6bannerbot sets mode: +v jmerelo 05:30 cognominal-p6 joined, cognominal-p6 left, cognominal-p6 joined 05:31 p6bannerbot sets mode: +v cognominal-p6 05:37 pierrot left 05:38 pierrot joined, p6bannerbot sets mode: +v pierrot 05:40 perlpilot left 05:41 troys left 05:54 cognominal-p6 left 06:04 domidumont joined 06:05 p6bannerbot sets mode: +v domidumont
nine timotimo: nah, I just like In Flames ;) 06:08
06:14 lizmat joined, p6bannerbot sets mode: +v lizmat 06:20 fake_space_whale left, aindilis joined 06:21 p6bannerbot sets mode: +v aindilis 06:31 reario joined, p6bannerbot sets mode: +v reario
reario helo 06:31
jmerelo reario: hi! 06:33
yoleaux 10 Oct 2018 18:45Z <uzl> jmerelo: They're welcome to take a look at it. uzluisf.gitlab.io/piensaperl6/ <- gitlab page which also has a link to the repo.
jmerelo .tell uzl received, thanks!
yoleaux jmerelo: I'll pass your message to uzl.
Geth doc: c9620835f2 | (JJ Merelo)++ | 2 files
Some reflow and corrections
06:35
doc: 1e61135372 | (JJ Merelo)++ | doc/Language/py-nutshell.pod6
Adds example for input

Since there are differences between Python 2 and 3, I just use here the most similar to Perl 6, which is Python 3 (and say so). Adds examples for usage in Python and Perl 6. Also reanchors. Refs #2355
synopsebot Link: doc.perl6.org/language/py-nutshell
reario e 06:44
06:49 lizmat left, jmerelo left 06:54 HaraldJoerg joined, p6bannerbot sets mode: +v HaraldJoerg 06:58 HaraldJoerg left 07:01 lizmat joined, p6bannerbot sets mode: +v lizmat 07:06 lizmat left 07:12 kurahaupo left 07:13 kurahaupo joined
lookatme_q hi 07:13
07:14 p6bannerbot sets mode: +v kurahaupo 07:16 dct joined, p6bannerbot sets mode: +v dct 07:20 tankf33der left 07:21 robertle joined 07:22 p6bannerbot sets mode: +v robertle 07:45 domidumont left 07:47 kensanata joined, p6bannerbot sets mode: +v kensanata 07:48 domidumont joined, p6bannerbot sets mode: +v domidumont 07:56 lizmat joined, p6bannerbot sets mode: +v lizmat
masak lookatme_q: \o 08:06
08:13 b2gills left 08:21 scimon joined 08:22 p6bannerbot sets mode: +v scimon
lookatme_q o/ 08:25
08:27 b2gills joined 08:28 p6bannerbot sets mode: +v b2gills 08:34 dct left, Ven` joined 08:35 p6bannerbot sets mode: +v Ven` 08:49 lichtkind left 08:50 cognominal-p6 joined 08:51 p6bannerbot sets mode: +v cognominal-p6 09:03 lichtkind joined, p6bannerbot sets mode: +v lichtkind 09:06 cognominal-p6 left, cognominal-p6 joined 09:07 p6bannerbot sets mode: +v cognominal-p6 09:11 pmurias joined, p6bannerbot sets mode: +v pmurias 09:13 pmurias left 09:14 cognominal-p6 left 09:15 xinming left 09:16 pmurias joined, p6bannerbot sets mode: +v pmurias, xinming joined 09:17 p6bannerbot sets mode: +v xinming
scimon Morning all 09:23
lizmat scimon o/
09:28 cognominal-p6 joined 09:29 pmurias left, p6bannerbot sets mode: +v cognominal-p6 09:31 cognominal-p6 left, cognominal-p6 joined 09:32 p6bannerbot sets mode: +v cognominal-p6 09:33 pmurias joined 09:37 ZofBot left, huggable left, p6bannerbot left, buggable left, pmurias left 09:44 fnux joined 09:47 jbotz joined 09:53 cognominal-p6 left 10:13 rindolf joined
reario quit 10:13
10:19 noganex_ left, yqt joined
masak reario: so sorry to see you go 10:35
masak dances
lizmat wonders what that is about 10:36
masak from my side, not much :)
reario: what you want to type is `/quit`, with a slash at the beginning
10:40 ZzZombo joined
MitarashiDango[m I stumbled upon some weirdness with &?ROUTINE and &?BLOCK when using control flow in a subroutine. If I use loop in a sub, &?ROUTINE should refer to the sub, shouldn't it? Because &?BLOCK does instead 10:40
But inside a for block &?ROUTINE does in fact refer to the sub 10:41
masak m: sub foo { say &?ROUTINE }
camelia ( no output )
masak m: sub foo { say &?ROUTINE }; foo
camelia &foo
masak m: sub foo { loop { say &?ROUTINE; last } }; foo
camelia -> { #`(Block|67791376) ... }
masak I'd call that a bug
lizmat yup, genuwine 10:42
10:42 ZzZombo_ joined, ZzZombo_ left
jnthn Oops. Yes. 10:42
yoleaux 09:33Z <lizmat> jnthn: is there a way during compilation that we're compiling inside an EVAL ?
09:33Z <lizmat> jnthn: *to find out
10:07Z <lizmat> jnthn: fixed by adding an my $*INSIDE-EVAL inside sub EVAL and checking that
10:42 ZzZombo_ joined
jnthn lizmat: Why did you want to know that? :) 10:42
lizmat he... refactoring MAIN handling
we will also need that if / when we decide to precompile scripts, btw 10:43
timotimo ah, so that when you EVAL something that has sub MAIN it shouldn't run the things?
lizmat yup
MitarashiDango[m I'll open an issue on github in a bit if one doesn't exist already
masak MitarashiDango[m: +1 10:44
10:46 ZzZombo left, ZzZombo_ is now known as ZzZombo 10:54 robertle left 11:01 grumble left 11:07 grumble joined 11:10 jbotz_ joined, jbotz left
erana I finished the statisitics package inside my markov strategy kit 11:11
I'll put it on github next week
masak nice
erana thnx
it's light and small, just needs conditional probabilities 11:12
For now it's incorporated in another package but it'll do 11:13
it should be someting like ai::markov::statisitics I believe
11:13 Ven` left
erana s/be/become 11:14
11:14 jbotz_ left 11:15 jbotz joined 11:16 jbotz_ joined, jbotz_ left
erana It's based on distributions in a population, so it should not become a general statisticsc package such as Math::Statistics SFY later on 11:18
so it can use evolution with genetic algorithms and more
It's not multi-variate however 11:20
but you have variance, expectance, covariance, correlation, very small as I said 11:21
11:22 p6bannerbot joined, ChanServ sets mode: +o p6bannerbot, ZofBot joined, ChanServ sets mode: +v ZofBot, p6bannerbot sets mode: +v ZofBot, huggable joined, ChanServ sets mode: +v huggable, buggable joined, ChanServ sets mode: +v buggable 11:23 p6bannerbot sets mode: +v huggable, p6bannerbot sets mode: +v buggable 11:27 sena_kun joined, p6bannerbot sets mode: +v sena_kun 11:32 Ven` joined, p6bannerbot sets mode: +v Ven` 11:35 tobs` joined 11:36 p6bannerbot sets mode: +v tobs`
erana Then again, it's for games so it can evolve distributionpopulations 11:37
I'll put in a Game::AI tag or something
The formulas are somewhat looser than the real math to gain momentum at load and runtime in perl6 games 11:38
11:40 rindolf left 11:42 [particle] left 11:43 [particle] joined, Kaiepi left 11:44 p6bannerbot sets mode: +v [particle]
tobs` m: anon sub { state %e = .antipairs with { :1st }; say %e }(); anon sub { state %e = do .antipairs with { :1st }; say %e }() 11:44
camelia {}
{1 => st}
11:44 Kaiepi joined
tobs` is my understanding correct that `with` being a statement modifier swallows the `state` in that statement? 11:44
11:45 p6bannerbot sets mode: +v Kaiepi, sacomo joined 11:46 p6bannerbot sets mode: +v sacomo
tobs` m: anon sub { state %e = { :1st }.antipairs; say %e }() # I know about this way of doing it, but was surprised by the first one leaving %e empty 11:46
camelia {1 => st}
11:47 cognominal-p6 joined 11:48 p6bannerbot sets mode: +v cognominal-p6, rindolf joined 11:49 p6bannerbot sets mode: +v rindolf 11:54 erana is now known as holyghost 11:56 jameslenz left, reario left 11:58 jameslenz joined 11:59 p6bannerbot sets mode: +v jameslenz 12:01 cognominal-p6 left 12:02 cognominal-p6 joined 12:03 p6bannerbot sets mode: +v cognominal-p6 12:08 araraloren joined 12:09 p6bannerbot sets mode: +v araraloren, cog joined 12:10 p6bannerbot sets mode: +v cog, ExtraCrispy left 12:11 ExtraCrispy joined, p6bannerbot sets mode: +v ExtraCrispy 12:12 cognominal-p6 left 12:17 kurahaupo left 12:18 kurahaupo joined 12:19 p6bannerbot sets mode: +v kurahaupo
holyghost I posted the statistics package for next week on perlmonks, CUFP 12:22
12:28 ExtraCrispy left, ExtraCrispy joined, p6bannerbot sets mode: +v ExtraCrispy 12:40 kurahaupo left 12:41 kurahaupo joined, p6bannerbot sets mode: +v kurahaupo 12:49 scovit left 12:55 scovit joined, p6bannerbot sets mode: +v scovit
scovit Hello, I have a Perl 6 question, let's say that I matched a string with such a simple pattern: m/^\s* [ (<float>) <.ws> ]+ $/ 12:57
where my regex float { <[+-]>?\d*'.'\d+[e<[+-]>?\d+]? }
it is very simple, but results in quite a complex $/ object 12:58
how do I get to the matched (<float>)s ?
moritz first, remove the ()
<float> already captures
scovit didn't know that, ok 12:59
moritz and then just iterate: for $<float> -> $f { ... }
jnthn That's probably why it looked complex :-)
moritz I might be biased, but I'd recommend smile.amazon.com/dp/1484232275/ :-)
masak moritz++ # biased in exactly the right way 13:00
scovit moritz, great, your for cycle works! 13:02
is there a more sugarish way to take $<float> and get an array of strings out of it? 13:03
moritz $<float>».Str
evalable6 Use of Nil in string context
in block <unit> at /tmp/0oUT9zW2UZ line 1
moritz evalable6: shut up, I wasn't talking to you :) 13:04
evalable6 (exit code 1) 04===SORRY!04=== Error while compiling /tmp/Uzxs6xOhW8
Precedi…
moritz, Full output: gist.github.com/80347471033dfd74a7...e20d4a2111
moritz or even ~«$<float>, but I'd consider that exaggerated
scovit mortiz it works! 13:05
I cannot get the non-unicode version to work tough
the Texas version
moritz $<float>>>.Str
evalable6 Use of Nil in string context
in block <unit> at /tmp/Y03O0wYRPm line 1
jnthn ~<<$<float>
moritz it's just ugly 13:06
jnthn Actually with the texas version I prefer the prefix ~ 'cus then you don't have two different kinds of > against each other :)
scovit yep I will avoid the ugly one :)
13:06 ExtraCrispy left
moritz $<float>.map(*.Str) # timtowtdi 13:06
evalable6 Use of Nil in string context
in whatevercode at /tmp/PR_xEin8aQ line 1
scovit thank you all! 13:07
13:19 kurahaupo left 13:20 kurahaupo joined, kurahaupo left, kurahaupo joined 13:21 HaraldJoerg joined, p6bannerbot sets mode: +v kurahaupo, p6bannerbot sets mode: +v HaraldJoerg 13:23 kurahaupo left 13:24 kurahaupo joined, kurahaupo left, kurahaupo joined 13:25 p6bannerbot sets mode: +v kurahaupo, AlexDaniel left, AlexDaniel joined 13:26 p6bannerbot sets mode: +v AlexDaniel 13:30 HaraldJoerg left, HaraldJoerg joined 13:31 p6bannerbot sets mode: +v HaraldJoerg 13:35 scovit left 13:38 cpup left 13:56 curan left 14:04 pmurias joined, p6bannerbot sets mode: +v pmurias
lizmat twitter.com/JohnDCook/status/10503...2555891717 # something someone might want to respond to 14:06
14:08 pmurias left, pmurias joined, p6bannerbot sets mode: +v pmurias 14:09 pmurias left 14:11 pmurias joined, p6bannerbot sets mode: +v pmurias 14:14 pmurias left
El_Che lizmat: done 14:15
lizmat El_Che++ 14:16
14:18 pmurias joined, p6bannerbot sets mode: +v pmurias 14:19 HaraldJoerg left 14:30 pmurias left 14:45 jast left 14:50 stephane_ joined
holyghost I finished the multi-variate probability class, Bayes, P(A or B) and P(A and B) and P(A|B) and P(X) :-) 14:51
14:51 p6bannerbot sets mode: +v stephane_
holyghost The package is almost ready to post 14:51
14:53 cog left 14:54 jast joined, fake_space_whale joined, p6bannerbot sets mode: +v jast 14:55 p6bannerbot sets mode: +v fake_space_whale 14:56 araraloren left 14:57 araraloren joined
araraloren holyghost cool 14:57
14:57 p6bannerbot sets mode: +v araraloren 15:03 sftp left 15:04 sftp joined, p6bannerbot sets mode: +v sftp, cpup joined 15:05 p6bannerbot sets mode: +v cpup 15:17 vrurg left 15:19 ExtraCrispy joined, p6bannerbot sets mode: +v ExtraCrispy 15:20 mattp_ left, dct joined, p6bannerbot sets mode: +v dct 15:21 domidumont left, kensanata left 15:22 tadzik left, tadzik joined 15:23 araraloren left, p6bannerbot sets mode: +v tadzik 15:24 troys joined 15:25 p6bannerbot sets mode: +v troys 15:34 random_yanek left 15:35 random_yanek joined 15:36 stephane_ left, lizmat left, p6bannerbot sets mode: +v random_yanek 15:44 tobs` left 15:45 noganex joined 15:46 p6bannerbot sets mode: +v noganex 15:49 pmurias joined, p6bannerbot sets mode: +v pmurias 15:50 mattp_ joined, p6bannerbot sets mode: +v mattp_ 15:51 dct left 15:54 jmerelo joined, p6bannerbot sets mode: +v jmerelo 15:56 mattp_ left
holyghost bbl 15:57
15:57 holyghost left 16:00 mattp_ joined, p6bannerbot sets mode: +v mattp_ 16:02 lizmat joined, p6bannerbot sets mode: +v lizmat 16:06 lizmat left 16:18 dotdotdot joined 16:19 ExtraCrispy left, p6bannerbot sets mode: +v dotdotdot 16:23 Ven` left
scimon Right. Heading to LPM. 16:27
16:27 scimon left 16:28 Guest90448 left, success joined, cpup left
timotimo good luck with the talk, scimon :) 16:28
16:28 success is now known as Guest6842 16:29 p6bannerbot sets mode: +v Guest6842 16:30 erdic left 16:31 erdic joined, p6bannerbot sets mode: +v erdic 16:33 shareable6 left, reportable6 left, committable6 left, quotable6 left, squashable6 left, reportable6 joined, shareable6 joined, committable6 joined, ChanServ sets mode: +v shareable6, ChanServ sets mode: +v committable6, quotable6 joined, squashable6 joined, ChanServ sets mode: +v squashable6, evalable6 left, bisectable6 left, evalable6 joined, ChanServ sets mode: +v evalable6, bisectable6 joined 16:34 p6bannerbot sets mode: +v reportable6, p6bannerbot sets mode: +v shareable6, p6bannerbot sets mode: +v committable6, p6bannerbot sets mode: +v quotable6, p6bannerbot sets mode: +v squashable6, p6bannerbot sets mode: +v evalable6, p6bannerbot sets mode: +v bisectable6 16:35 ExtraCrispy joined, p6bannerbot sets mode: +v ExtraCrispy 16:36 lizmat joined, p6bannerbot sets mode: +v lizmat 16:39 releasable6 left, notable6 left, greppable6 left, releasable6 joined, notable6 joined, greppable6 joined 16:40 p6bannerbot sets mode: +v releasable6, p6bannerbot sets mode: +v notable6, p6bannerbot sets mode: +v greppable6 16:41 [particle] left 16:42 [particle] joined, unicodable6 left, unicodable6 joined, p6bannerbot sets mode: +v [particle] 16:43 p6bannerbot sets mode: +v unicodable6, yqt left 16:56 MilkmanDan left 16:58 MilkmanDan joined, p6bannerbot sets mode: +v MilkmanDan 16:59 ExtraCrispy left 17:00 robertle joined 17:01 p6bannerbot sets mode: +v robertle 17:03 domidumont joined, p6bannerbot sets mode: +v domidumont 17:07 epony left 17:10 fake_space_whale left, domidumont left 17:15 sauvin left 17:23 fake_space_whale joined 17:24 p6bannerbot sets mode: +v fake_space_whale 17:31 metelik__ joined, p6bannerbot sets mode: +v metelik__ 17:33 metelik_ left 17:45 pecastro joined 17:46 p6bannerbot sets mode: +v pecastro 17:48 evalable6 left, evalable6 joined, ChanServ sets mode: +v evalable6 17:49 shareable6 left, p6bannerbot sets mode: +v evalable6, albongo left 17:50 diego_k left, diegok joined 17:51 p6bannerbot sets mode: +v diegok
tony-o hmm, getting 'make: *** No rule to make target `js-install', needed by `install'. Stop.' when making with js backend 18:03
when `make install` with js backend
timotimo that sounds like Configure.pl didn't work right 18:04
tony-o i just did a pull and it got some new stuff from yesterday, we'll see what happenes. if y'all didn't exp that then i'll dig around and try to figure out what happened 18:13
18:18 grzs joined 18:19 p6bannerbot sets mode: +v grzs
[Coke] tony-o: what version of node? I got that, but it vanished after an upgrade to node 10.x 18:22
... sorry, no. I got a very similar error with js-clean, my bad. 18:23
18:23 holyghost joined 18:24 p6bannerbot sets mode: +v holyghost
tony-o i'm on 10.5 18:24
maybe i should get 10.12
18:29 cognominal-p6 joined 18:30 p6bannerbot sets mode: +v cognominal-p6 18:35 SCHAPiE left
Geth doc: bf57d08b14 | (JJ Merelo)++ | 2 files
Reindex confusing ws page
18:38
doc: 39aed8de99 | (JJ Merelo)++ | 2 files
Reindexing Python stuff with category "Python"

This closes #2355. It so happens you didn't need to special-code a new category; as a matter of fact, there's a simple (if obscure) way of doing it, which I have used. Also correcting some accidental indexing somewhere else.
18:41 jmerelo left
pmurias tony-o: install doesn't work yet 18:43
tony-o: on the js backend
18:45 SCHAPiE joined, p6bannerbot sets mode: +v SCHAPiE, molaf left, shareable6 joined 18:46 p6bannerbot sets mode: +v shareable6 19:07 Kaiepi left, Kaiepi joined 19:08 p6bannerbot sets mode: +v Kaiepi, cognominal-p6 left 19:20 bobbyJim joined, p6bannerbot sets mode: +v bobbyJim
bobbyJim Working thru brian's Learning Perl6. I'm finding Perl6 to feel quite natural so far. 19:21
moritz that's good to hear :-) 19:22
buggable New CPAN upload: Sparrowdo-VSTS-YAML-Angular-Build-0.0.5.tar.gz by MELEZHIK cpan.metacpan.org/authors/id/M/ME/...0.5.tar.gz
bobbyJim Is there a forum for brainstorming about Perl6? Uses, targets, applications, conquer-the-world matters? 19:23
El_Che ((o)) 19:24
here :)
bobbyJim I don't know if it is proper to clutter this channel with that chatter?
channel clutter chatter 19:25
El_Che this channel is the most generic one
there is also #moarvm and #perl6-dev
bobbyJim mmmm yes those are targetted 19:26
I was listening to a speaker extolling Node at a meetup, and all I could think about was " 19:27
Perl could do this better
"
El_Che Not everything, but it will 19:28
Demos[m] yeah like the biggest draw for node is that it's pretty fast consiering the language. Perl6 has a lot more headroom on this front 19:29
robertle I thought the biggest draw of node was that you can do frontend and backend work in the same lang, which is really cool 19:30
...so how is the JS backend again? ;)
Demos[m] I kinda don't understand that draw 19:31
but *shrug*
robertle I guess it depends a bit on what your backend language is, but not everything fits well into one head at a time together with javascript 19:32
geekosaur yeh, easier tot hink about interactions in one langauge instead of two 19:33
bobbyJim The JS backend is easier to develop than Java. For example, ORM is easy. Even Node evangelists know that it's not the full solution, but it seems quite good for responsive front-end development, and I admit its ORM mapping is handy.
geekosaur esp. snce your'e vulnerable to idiosyncratic differences in handling of json, yaml, ...
bobbyJim Yes, you need a one-source standard. I think V8/Google is Node's standard, but these things are moving targets, so... 19:34
19:38 bobbyJim left
Demos[m] one thing is that if you're compiling a language to JS the JS backend actually has to be good and a large portion of the ecosystem needs to support it 19:40
nim has this problem. the js backend is good, but much of the ecosystem doesn't work on it 19:41
robertle because some packages don't work and the transitive dependencies wreck the rest? or some othger reason? 19:42
Demos[m] well it's a systems language, so plenty of packages make FFI calls to C 19:43
and load DSOs and whatnot
also the memory and threading model is different on JS as opposed to the C target
19:50 ufobat___ left 19:59 ufobat___ joined 20:00 p6bannerbot sets mode: +v ufobat___
pmurias Demos[m]: why is making FFI calls a problem? 20:04
ahh, you mean in the browser 20:05
20:06 molaf joined, p6bannerbot sets mode: +v molaf
holyghost I just found a game named gnomesquest4 in my backup directory from 2007, I forgot I wrote 44000 lines init. It's C++ 20:17
I thought I lost it, now I can hack on :-) 20:18
I am a Roberta Williams fan, hence the name 20:19
20:20 Grauwolf_ left, Grauwolf_ joined, adams.freenode.net sets mode: +v Grauwolf_, p6bannerbot sets mode: +v Grauwolf_, Grauwolf_ is now known as Grauwolf
Demos[m] yeah no reason to compile for the js target serverside 20:22
but that bad boy on source control! STAT!
20:25 molaf left 20:26 Kaiepi left
Demos[m] what's the type signature for functions and closures 20:31
like if I want a parameter that accepts boolean returning functions
20:35 remol joined, p6bannerbot sets mode: +v remol
remol hi, can someone tell me what is raduko.js please ? can i run perl6 code in a website ? 20:35
20:36 Kaiepi joined, p6bannerbot sets mode: +v Kaiepi
pmurias remol: it's the js backend for rakudo (the Perl 6 compiler) 20:40
remol so if i include it in my webpage 20:41
i can write in perl instead of js ?
20:42 Kaiepi left
pmurias yes, you can turn your perl 6 into js code that can run on your webpage 20:42
20:42 Kaiepi joined
pmurias it's not ready for serious use yet 20:42
remol jesus its cool 20:43
20:43 p6bannerbot sets mode: +v Kaiepi
remol i thought about this, would it be wise for somebody to code a browser that actually interpret perl code instead of JS ??µ 20:43
holyghost remol: See perlyroids, which was a game that used that with a IE perl plugin 20:44
I think it was from Adobe quite some time ago 20:45
remol yes its cool
20:46 ufobat___ left
holyghost 2003 AFAIK 20:47
20:50 ufobat___ joined, p6bannerbot sets mode: +v ufobat___ 20:57 sena_kun left 21:06 vrurg joined
pmurias holyghost: rewrite the game in Perl 6 ;) 21:07
21:07 p6bannerbot sets mode: +v vrurg 21:09 metelik__ left, pmurias left
El_Che Travis also suports windows: blog.travis-ci.com/2018-10-11-wind...ly-release 21:23
21:27 pyrimidi_ left 21:34 remol left 21:36 random_yanek left 21:41 shmup left 21:46 HaraldJoerg1 joined 21:47 p6bannerbot sets mode: +v HaraldJoerg1, random_yanek joined 21:48 p6bannerbot sets mode: +v random_yanek 21:49 squashable6 left 21:50 squashable6 joined, ChanServ sets mode: +v squashable6, p6bannerbot sets mode: +v squashable6 21:53 squashable6 left, squashable6 joined, ChanServ sets mode: +v squashable6 21:54 p6bannerbot sets mode: +v squashable6 22:05 cognominal-p6 joined, p6bannerbot sets mode: +v cognominal-p6 22:08 birdrock joined, p6bannerbot sets mode: +v birdrock 22:09 cognominal-p6 left 22:10 cognominal-p6 joined, p6bannerbot sets mode: +v cognominal-p6
birdrock Hi there - I've been here off and on, wondering what Perl6 could do better than my current toolset. I think it may be able to do RESTful web services better than SpringBoot -- less code and more power. 22:11
Oh, I forgot about Bailador! ;/ 22:18
jnthn birdrock: There's also cro.services/ 22:19
ufobat___ cro!! 22:21
timotimo croo is good 22:24
birdrock Sweet! Thanks for that. 22:25
22:26 kurahaupo left, kurahaupo joined
birdrock Does it have a "magnon" runtime option? :) 22:27
22:27 p6bannerbot sets mode: +v kurahaupo
birdrock I wish we had a Perl6-to-JS transpiler...... 22:28
hmmmm
22:29 birdrock left 22:31 cognominal-p6 left 22:45 rouking joined
rouking Are there any optimizations on string concatenation with `~`? 22:46
I was reading blog.matatu.org/markatu and he seems to be using ~ quite heavily 22:47
jnthn On MoarVM at least, it uses a strand structure so it doesn't have to really copy all the pieces eagerly (or at least, so long as there isn't Unicode combining things that prevent such an optimization) 22:54
22:55 pecastro left
jnthn join will typically be faster for such things, though 22:55
23:12 HaraldJoerg1 left, lichtkind left 23:18 vxe_ left 23:20 yqt joined 23:21 p6bannerbot sets mode: +v yqt 23:22 epony joined, p6bannerbot sets mode: +v epony 23:25 yqt left 23:27 rindolf left, cognominal-p6 joined 23:28 p6bannerbot sets mode: +v cognominal-p6 23:32 cognominal-p6 left, cognominal-p6 joined 23:33 p6bannerbot sets mode: +v cognominal-p6 23:36 lichtkind joined 23:37 p6bannerbot sets mode: +v lichtkind 23:54 greppable6 left, greppable6 joined, ChanServ sets mode: +v greppable6 23:55 p6bannerbot sets mode: +v greppable6 23:56 vxe joined 23:57 p6bannerbot sets mode: +v vxe