»ö« 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:00 reportable6 left, reportable6 joined 00:14 netrino left
discord6 <Aearnus> i'm being big dumb again how do you define per project dependencies again? is it in the meta6 file 00:19
00:22 Cabanossi left
timotimo yeah, that's the place 00:22
00:27 Cabanossi joined
discord6 <Aearnus> hmm. how do you specify a default file to execute when you try to run a perl6 program? is that even smth you can do 00:31
timotimo not really. you can put stuff in bin/ and zef will install launchers for those files
discord6 <Aearnus> ahh, that's what I want
timotimo that serves as an entry point usually
discord6 <Aearnus> how does that work? just pop it in bin and zef install does the rest? 00:32
timotimo yeah i believe so
discord6 <Aearnus> lemme give that a shot 00:33
<Aearnus> (trying to get a cro application to work) 00:34
00:34 lucasb left
discord6 <Aearnus> ahh zef is slow it makes me sad 00:35
timotimo for my cro app i have a "service.p6" in my project's root folder at the moment
you need to get in there to run "npm install" and "npm run dev" anyway
discord6 <Aearnus> ah. so you just run service.p6 manually? 00:36
00:36 Nightyb joined
discord6 <Aearnus> wouldn't be a bad idea. might just be nice to have some sort of standard file (for cro at least). sort of like rackup for ruby/rack 00:36
<Aearnus> cro-up. croup. hehe 00:37
timotimo i mean, "cro run" is a thing 00:42
00:43 Nightyb left
discord6 <Aearnus> oh! that's exactly what I wanted 00:45
00:45 kerframil left
discord6 <Aearnus> 😄 00:45
<Aearnus> huh. i'm trying to run the example from cro's website and it doesn't do anything. it just blocks and doesn't output anything 00:59
<Aearnus> oh. i'm really dumb. the default application doesn't have a path for "/" 01:01
<Aearnus> cro run auto updates! that's really incredible 01:03
01:07 mowcat left
timotimo unfortunately it suffers from some buffering :( 01:15
01:17 jaldhar_ joined 01:19 rainmanj_ joined 01:21 jaldhar left, rainmanjam left
discord6 <Aearnus> timotimo: much better than the situation over in the world of Ruby, what i'm used to 01:23
timotimo no way 01:24
if you think this is good, "cro web" might just blow your mind
it's an alternative to "cro run", so you'd kill that first 01:25
discord6 <Aearnus> woah
<Aearnus> that's insane
timotimo just to cover all bases, do you know about CRO_TRACE? 01:26
discord6 <Aearnus> no, I don't
timotimo it gives, potentially, a whole lot of output
discord6 <Aearnus> ahh. much nicer than cro run 01:27
<Aearnus> this seems too easy
timotimo it allows you to follow messages back and forth through cro's different transformers
you'll see web requests come in to the server, websocket messages go in and out, etc
discord6 <Aearnus> i don't think i can go back
<Aearnus> this is suuuper nice 01:29
timotimo cro has its roots in microservices, which is also why there's "link templates" you can have it stub for you, and why "cro web" will run multiple services for you and hook them up to each other by starting dependent services with the hostname / port number of other services 01:30
discord6 <Aearnus> i can definitely appreciate using websockets with such ease 01:31
01:38 Sgeo__ joined 01:41 Sgeo_ left
discord6 <Aearnus> is github.com/perl6/DBIish more or less the standard for sqlite3 databases? 01:50
timotimo i use that in moarperf 01:51
discord6 <Aearnus> works well?
timotimo yeah, it's been good enough at least 01:54
jn gave it a little performance-past not too long ago, too
sleep, seeya! 01:58
discord6 <Aearnus> o/
02:04 Manifest0 left 02:05 Manifest0 joined 02:20 Cabanossi left 02:33 Cabanossi joined 02:37 Sgeo__ left 02:43 Sgeo joined 02:51 hythm joined 03:00 [particle] joined
hythm hello, is there a documentation for how to programatically check if a module exists in the ecosystem and retrieve its META6.json? something like `curl ecosystem-api.p6c.org/Foo::Bar` 03:00
03:01 [particle]1 left 03:02 pamplemousse left 03:03 rainmanjam joined
hythm I'm trying to check how `zef` search for a module to install it, but it's a little complicated to me and can't figure it out 03:04
03:06 rainmanj_ left
vrurg hythm: If you mean The ecosystem, then fetch github.com/perl6/ecosystem/blob/ma.../META.list and parse it. 03:07
Not sure if there is a module for this task.
modules.perl6.org/dist/Perl6::Ecos...an:JMERELO 03:08
hythm Thanks vrurg, that's helpful, checking... I was reading this advent post which mention a "Recommendation Manager", and I was wondering how this works and if there is any documentation on working with Recommendation managers perl6advent.wordpress.com/2016/12/...sh/#fnref1 03:15
checking modules.perl6.org/dist/Perl6::Ecos...an:JMERELO ... 03:17
03:27 rainmanj_ joined 03:28 rainmanjam left 03:47 cpan-p6 left, cpan-p6 joined, cpan-p6 left, cpan-p6 joined 03:57 hythm left 04:12 Kaiepi left, Kaiepi joined 04:20 rainmanj_ left 04:21 rainmanjam joined 04:52 curan joined 05:10 orangejuice joined, orangejuice left 05:30 rainmanjam left 05:39 sauvin joined 05:47 quester joined 06:00 reportable6 left 06:03 reportable6 joined, ChanServ sets mode: +v reportable6 06:19 rindolf joined 06:39 abraxxa joined 06:48 [particle] left 06:53 [particle] joined 06:54 Sgeo left 06:55 lizmat joined 06:56 lizmat left 07:01 molaf joined 07:07 __jrjsmrtn__ joined 07:09 _jrjsmrtn left 07:10 [particle] left, [particle]1 joined 07:13 [particle] joined 07:16 [particle]1 left 07:17 demanuel left, [particle]1 joined 07:19 [particle] left 07:41 satori__ joined 07:45 scimon joined 08:02 chloekek joined 08:09 quester left 08:17 kensanata joined 08:19 antoniogamiz joined
antoniogamiz what module do you recommend to generate digests from files? 08:21
El_Che ecocode: lo 08:22
scimon antoniogamiz: github.com/cosimo/perl6-digest-md5 ? (Looks like it's not been updated in a while it installs OK) 08:32
antoniogamiz scimon: I will take a look, thanks :D 08:33
I was also looking this => github.com/grondilu/libdigest-perl6
it has some stars so I suppose it's good too
scimon Seems to work. To do a file Digest::MD5.new.md5_hex("filename".IO.slurp) works OK. 08:34
08:56 noisegul joined 08:57 lizmat joined
scimon Morning. 08:58
09:01 Sgeo joined
antoniogamiz morning o/ 09:02
Geth problem-solving/path-to-raku: 31a00384a6 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md
Refince external references section

Add specific mention of Rosetta Code
09:04
discord6 <Aearnus> is there any way to combine routing applications in cro? 09:05
lizmat Aearnus: perhaps #cro would be a better channel to ask this ? 09:13
also: not sure what you mean exactly? 09:14
discord6 <Aearnus> fair, didn't know #cro existed :^)
<Aearnus> and i just meant being able to split routing across multiple files
<Aearnus> login routes in one module, application routes in another
lizmat you could export a sub with the routes and combine those 09:15
scimon Yup there is. It's in the docs. One sec. 09:16
discord6 <Aearnus> aha cro.services/docs/reference/cro-ht...ng_routers
<Aearnus> just managed to find it
scimon There you go :)
discord6 <Aearnus> 😄
09:30 Kaiepi left
discord6 <Aearnus> random thought: it's real fun how tight knit the perl 6/raku community is. i follow like half of y'all on twitter and vice versa, and you don't really get that with other tech communities 09:31
09:34 Kaiepi joined
Geth problem-solving/path-to-raku: 92fd411b67 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md
Open the door to a joint rename / next version event

Also fix some erroneous backslashes
09:37
09:40 netrino joined
scimon It is nice. It won't last, there's more people getting interested all the time. Only so long you can keep track of them all. 09:40
09:46 noisegul left
Geth problem-solving/path-to-raku: cfd072d974 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md
Mention a "Raku Foundation" as part of YAS
09:47
09:51 pat_js joined
discord6 <Aearnus> scimon: always going to be some sort of core community 09:52
<Aearnus> haskell's still got a really strong core community despite the fact that it's rather huge
<Aearnus> hopefully p6 can stay like that too
scimon Oh yes. Definitely.
09:54 pilne left
lizmat I think it wll 09:58
*will
09:59 leont joined
scimon I'm just looking at the stats JJ put togther on Python vs Perl6 doing Fibonacci. That's impressive. 09:59
discord6 <Aearnus> link?
scimon twitter.com/jjmerelo/status/1162103498437210115 10:00
discord6 <Aearnus> definitely impressive, but something about that python strikes me as particularly undogmatic 10:03
scimon unidiomatic?
It's probably not Pythonic. (A phrase that grates my teeth everytime I here it). 10:04
discord6 <Aearnus> well, you know python and their One True Way To Do It. so in this situation undogmatic == unidiomatic == not... pythonic, ahah
jast is it perlonic though? :}
scimon TIMTOWTDI
discord6 <Aearnus> regardless of the performance, i'd take the bottom over the top any day 10:05
scimon Indeed. 10:06
10:10 scimon left
discord6 <Aearnus> huh. it seems like dbiish is kinda broken 10:11
<Aearnus> or at least my install is broken. probably that. 10:12
10:12 scimon joined
discord6 <Aearnus> ahh. i accidentally created a table twice. gotta figure out how to handle that.... 10:12
10:16 kensanata left, lizmat left
SmokeMachine timotimo: about languages with much words and few symbols (or none at all), I agree... and can show you an example: github.com/FCO/Bernalang (sorry, backlogging...) 10:28
10:47 kensanata joined
kawaii Aearnus: CREATE TABLE IF NOT EXISTS? :) 10:53
antoniogamiz I can install some modules with zef using alpine, but not some mm 10:54
11:04 jaldhar_ left, jaldhar_ joined
antoniogamiz tyil: using your docker image, I can make zef install Pod::Load, but I cannot execute zef install Perl6::TypeGraph for instance 11:07
oh sorry, ignore that 11:08
Voldenet Huh, I'm parsing irc logs with perl6 and get 'malformed utf' when encountering � 11:10
11:10 netrino left
Voldenet Yes, it may be a malformed utf character, but can lines just ignore it somehow? 11:11
antoniogamiz Voldenet: maybe this helps you www.perlmonks.org/?node_id=902060
Voldenet it would if it was perl6 answer :P 11:12
antoniogamiz oh there's a stack overwflow answer too (in perl6) => stackoverflow.com/questions/493200...block-unit
tyil antoniogamiz: ignore that as in, you did a mistake and you fixed it now, or is it something I could improve (whetehr by documentation, or the image itsefl)
antoniogamiz I did a mistake hehe 11:13
11:14 Guest93 left, Guest93 joined
Voldenet antoniogamiz: Ah, thanks, apparently using utf8-c8 is the way to handle maybe-invalid utf8 11:15
antoniogamiz Voldenet: you're welcome :D 11:16
11:19 lizmat joined 11:26 netrino joined
chloekek p6: class C { has $.x; method f($y) { $!x + $y } }; my &f := *.f; f(C.new(x => 1), 2).say 11:30
camelia Too many positionals passed; expected 1 argument but got 2
in block <unit> at <tmp> line 1
chloekek p6: class C { has $.x; method f($y) { $!x + $y } }; my &f := *.f(*); f(C.new(x => 1), 2).say
camelia Too many positionals passed; expected 1 argument but got 2
in block <unit> at <tmp> line 1
11:37 Black_Ribbon left 11:42 lichtkind_ joined 11:43 lichtkind_ left 11:44 lichtkind_ joined 11:45 lichtkind left, lichtkind_ is now known as lichtkind 11:56 pat_js left
SmokeMachine Aearnus: Using Red: `MyModel.^create-table: :if-not-exists;` 11:58
12:00 reportable6 left 12:03 pat_js joined 12:04 reportable6 joined 12:11 lizmat left 12:14 lizmat joined 12:20 noisegul joined 12:25 antoniogamiz left
kawaii I still need to try Red :) 12:27
12:28 mensvaga joined
SmokeMachine kawaii: please, do! 12:40
I would expect to `&[+]` be faster than `*+*` (or at least the same speed)... but it seems to be the opposite: 12:42
m: (1, 1, *+* ... *)[65535]; say now - INIT now
m: (1, 1, &[+] ... *)[65535]; say now - INIT now
m: (1, 1, *+* ... *)[1000]; say now - INIT now
camelia 17.03908035 12:43
(timeout)32.5424868
0.7587308
SmokeMachine m: (1, 1, &] ... *)[1000]; say now - INIT now
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse expression in parenthesized expression; couldn't find final ')' (corresponding starter was at line 1)
at <tmp>:1
------> 3(1, 1, &7⏏5] ... *)[1000]; say now - INIT now
ex…
SmokeMachine m: (1, 1, &[+] ... *)[1000]; say now - INIT now
camelia 0.98636324
chloekek 100 ms per element, oh my. 12:49
Oh no, 1 ms per element.
12:53 ravenous_ joined 12:58 ravenous_ left
scimon It doesn't seem the best use of [+] really. I'd guess that's why it's slow. The Sequence code (I'm guessing) is optimised for a code block. 13:09
13:09 pat_js left
AlexDaniel clarkema: question about star: colabti.org/irclogger/irclogger_lo...08-16#l149 13:10
clarkema: maybe you should hang around on #perl6-dev too :)
13:14 nepugia joined 13:25 lembark left 13:30 avalenn left 13:31 Kaiepi left, Kaiepi joined 13:41 curan left 13:43 nepugia left 13:52 lucasb joined
kawaii Itching with boredom not having my laptop :( 13:55
Need to get back to Perling asap
13:57 domidumont joined, domidumont left, domidumont joined 14:02 rainmanjam joined
timotimo you got everything you need to hook up your phone to mouse/keyboard and display? :) 14:09
14:10 lembark joined
mst AlexDaniel++ # unfortunately necessary 14:10
heh, and the opinion from the perl5 side appears to be "the only reason we're sorry it's locked is because it means we can't post to disavow the assholes claiming to be on the same side of us who posted after the last time we did that" 14:13
s/of/as/
14:15 satori__ left
scimon It was getting a bit annoying. 14:16
mst indeed 14:17
scimon I was managing to control my urge to wade in.
mst lizmat's 'coming out' metaphor was genius though and I'm glad it lasted long enough for that to get posted
timotimo i've read parts of the thread but github doesn't remember for me how much i've read so now i'm lost 14:18
lucasb is lost too 14:19
scimon I've mostly been reading the emails.
mst I've read all of it and politely LARTed a few people, mostly perl5ers being daft 14:20
scimon I saw.
14:22 Guest93 left 14:23 Guest93 joined 14:24 antoniogamiz joined, pat_js joined 14:27 rindolf left 14:40 rainmanj_ joined 14:42 rainmanjam left 14:43 scimon left 14:46 rainmanj_ left, rainmanjam joined 14:50 rindolf joined
jdv79 how can i assign an array into a scalar without the $[] bit again? 14:50
Geth doc/master: 4 commits pushed by Coke++
14:56 pamplemousse joined 14:57 molaf left
jdv79 m: class c { has Array[Str] $.a; }; c.new(a => [1,2,3]); 14:58
camelia Type check failed in assignment to $!a; expected Array[Str] but got Array ($[1, 2, 3])
in block <unit> at <tmp> line 1
jdv79 m: class c { has Array[Str] $.a; }; c.new(a => ["asdf"]);
camelia Type check failed in assignment to $!a; expected Array[Str] but got Array ($["asdf"])
in block <unit> at <tmp> line 1
jdv79 ignore the first one - my bad 14:59
15:02 rainmanj_ joined, [Sno] left 15:03 pat_js left, [Sno] joined 15:04 rainmanjam left
jnthn You need to creaet an Array[Str] 15:05
*create
15:05 noisegul left
jnthn m: class c { has Array[Str] $.a; }; c.new(a => Array[Str]("asdf")); 15:05
camelia ( no output )
jdv79 thanks 15:07
jnthn (When it's an @ sigil, like `has Str @.a`, then assignment is copying, so it checks each element as it assigns) 15:08
15:19 rainmanj_ left 15:22 Cabanossi left 15:30 kensanata left 15:34 pat_js joined, Cabanossi joined
antoniogamiz mi6 bumps version automatically? 15:36
timotimo it has a thing in it that does it for you, but you can deactivate it 15:37
also, it asks what you want the version to be, but it defaults to "minor version increase by 1"
antoniogamiz I want to know what thing exactly
I mean, what should I execute for that to happen
timotimo "mi6 release" will do everything
antoniogamiz ah ok, thanks :D 15:38
15:52 Grinnz joined
Grinnz apologies for the intrusion :) I just had some unsolicited opinion to offer on the latest concern in #81 15:53
timotimo ohai grinnz
i appreciate your contributions on reddit :) 15:54
Grinnz It's a valid concern. As a modern Perl 5 user I am keenly aware that people will say stupid, uninformed things about anything. And it will happen for this. But the question for this decision is: will it be worse than the distortion and misrepresentation of the current usage of the name Perl? What can be done to direct the narrative?
timotimo i'm not sure what exactly you're refering to 15:57
Grinnz github.com/perl6/problem-solving/issues/81 15:58
timotimo ah, that part i know
i was more wondering about "the distortion and misrepresentation of the current usage of the name perl"
i expect you're talking about usage of "perl" in the greater programming community?
the typical "lol perl is line noise" stuff? 15:59
15:59 pamplemousse left
Grinnz all of the ways that Perl 6 having the name Perl 6 have been misinterpreted due to all of that 15:59
antoniogamiz 213 comments uf
15:59 pamplemousse joined
timotimo so including things like "perl 6 killed perl 5" and "php skipped version 6 because it's cursed"? 16:00
Grinnz sure, though I don't know if the latter is very prevalent :P
mst timotimo: fundamentally, all the things masak was gesturing at in his later comments
and given he and I were the ones who co-ordinated the sister language narrative, yeah, we've both got the scars 16:01
timotimo i think mysql either also skipped version 6 or had a bad experience with their version 6? 16:02
Grinnz *and* 7, in that case
apparently because 6 existed at some point, and 7 was used by mysql cluster 16:03
mst co-ordinating this and making sure we retain control of the narrative is going to be a stone cold bitch of a problem
on the upside, though, a decent chunk of the perl5 people who were ... issues ... in the previous case will likely be assets this time around if we can get them aimed properly 16:04
Grinnz The way I'd approach it would be to make sure the nuance and gray area is acknowledged, not hidden: Raku is a Perl but it's not the same Perl, thus it needs its own identity, and emphasize that the communities still plan to work together 16:11
16:12 Sgeo_ joined
Grinnz LeoNerd's Lisp/Scheme analogy is also apt I think, though of course we are dealing with a very different audience 16:12
16:14 Sgeo left 16:19 trinityhex joined
jdv79 i'm curious to see what the rename will result in 16:19
16:26 lizmat left 16:27 harmil joined, lizmat joined, lizmat left
tadzik indeed 16:31
I got excited today seeing someone use Raku at work... but it turned out that I misread and it was actually `rake` :(
16:32 Ven`` joined
timotimo haha 16:32
harmil Rake should be the name of a test harness for something in the ecosystem. 16:34
16:35 lembark left 16:40 pat_js left 16:43 Sgeo_ left 16:45 Kaiepi left, Kaiepi joined 16:53 chloekek left
gdonald rake is already the name of a tool Ruby developers use daily 16:55
kawaii I said this in the Perl 6 Discord server but I'll repeat here: it's a silly debate. I don't care what the name of the language is. You shouldn't either, it's distracting you from programming :) 16:58
antoniogamiz kawaii: you should ping that in the issues repo 16:59
Grinnz The problem is, people do care, whether you want them to or not 17:00
gdonald what debate?
timotimo renaming perl 6 17:01
antoniogamiz renaming perl6
gdonald: see github.com/perl6/problem-solving/issues/81
gdonald oh, that's still a thing?
17:01 leont left
gdonald I thought that idea got squashed already. 17:01
tadzik kawaii: we wouldn't be having the discussion if "you shouldn't care" worked on the general public ;)
kawaii antoniogamiz: I don't have such powers to comment on locked issues ;)
I'm just AlexDaniel's lowly apprentice 17:02
tadzik oh, locked! Time to subscribe to it again :) 17:03
gdonald did the Perl 5 peeps run out of version numbers?
kawaii Perl 5 is at .30, no?
tadzik it is indeed
kawaii So they have another .69 versions to use, right?
gdonald sounds like plenty 17:04
Grinnz 969 actually. but that's not relevant
tadzik only if they settle for 2-digit numbers :)
kawaii On average how long is there between Perl 5 releases? 17:05
Grinnz major releases, 1 year
tadzik ...why does it matter?
I can see where you're going with this, but it's unrelated to the discussion 17:06
Grinnz (though each major release is 2 major versions apart)
kawaii So according to Grinnz's comment about them having another 969 version numbers to use, and the fact that there's a release each year if we estimate... We can delay this debate for another 969 years.
Grinnz perl 5's use of version numbers is not at all relevant to the issue 17:07
17:07 Ven`` left
kawaii It seems to be their main point of contention, that we 'stole' 6 from them. 17:07
Grinnz it is a small note in the history of the long contention
17:08 Ven`` joined
Grinnz and one of the least relevant to Perl 6 17:08
as such I would only consider it a strawman in the current discussion
17:08 mowcat joined
gdonald I can't even spell Camelia :( 17:09
AlexDaniel gdonald: it's ok, I can't pronounce Raku 17:10
gdonald good point.
Grinnz I'd also like to apologize that the blowhards from perlmonks caused the discussion to have to be locked, since I'm sure there are more people that would like to at least give some reactions on the posts 17:13
17:13 molaf joined, Ven`` left 17:17 lucasb left
gdonald so that was the "poll 17:18
17:19 ravenous_ joined
gdonald " 17:19
the github issue I mean? people like voted there or whatever?
AlexDaniel Grinnz: it's not that, really, I think everyone should take a break from that thread and go do stuff
gdonald: not exactly, but it was a way to show your support and love 17:20
17:23 antoniogamiz left 17:24 ravenous_ left
kawaii Perlmonks is probably the worst place to learn Perl 17:27
Or to ask for help
Unless you have a fetish for being ridiculed and verbally abused
The only downside to tmtowtdi: everyone thinks their way is best :) 17:28
timotimo pfft, you only get ridiculed and verbally abused if you're not good at what you're trying to learn 17:29
or if you've learned it wrong
or if you have the wrong opinion on something
actually, i know barely anything about perlmonks' community
so this is totally hyperbole based on no knowledge *shrug*
kawaii usercontent.irccloud-cdn.com/file/...AIhmlM.png 17:30
timotimo: ^ :)
friendly guys
gdonald that's harsh right there. 17:31
timotimo i hope our treatment of holyghost didn't feel like that screenshot to them 17:32
17:41 lembark joined 17:42 harmil left 17:45 wildtrees joined 17:46 wildtrees left, wildtrees joined
Geth whateverable: 3965841bc8 | (Aleks-Daniel Jakimenko-Aleksejev)++ | xbin/Tellable.p6
Strip numbers aggressively

Previous regex was wrong anyway.
17:46
whateverable: 97d9d28b68 | (Aleks-Daniel Jakimenko-Aleksejev)++ | xbin/Tellable.p6
Save requested nickname from .tell

So that we can later use it for renormalization.
whateverable: 2ac5e98bda | (Aleks-Daniel Jakimenko-Aleksejev)++ | 2 files
Print actual nickname

Instead of repyling back what was requested, or replying with a overnormalized string.
17:48 samcv joined, wildtrees left
Geth whateverable: a0ae90710e | (Aleks-Daniel Jakimenko-Aleksejev)++ | xbin/Tellable.p6
Renormalize nicknames on startup

Should improve the bus factor a bit, assuming that nothing goes wrong with these few lines.
17:49
17:49 wildtrees joined
AlexDaniel vrurg++ # doing work 17:50
17:50 wildtrees left
vrurg AlexDaniel: just closing own stuff. Boring. 17:50
AlexDaniel vrurg: close someone else's stuff, that's always more fun 17:51
17:51 wildtrees joined
AlexDaniel :) 17:51
especially if you *just* close it, without resolving :)
vrurg AlexDaniel: Wish to. For that I currently need jnthn approval for CORE::<lang-rev> namespaces.
Oh, really! That's an idea! Gonna choose one most hurtfull one for that! :D 17:52
17:52 wildtrees left, eiro left, satori__ joined 17:53 harmil joined, eiro joined
vrurg "His last words were: What harm could it be?" ;) 17:53
Grinnz perlmonks is like any other perl community. it has people that are helpful and nice and people that are an overall drain on the community (as helper or asker). it just does not have any apparent moderation direction to keep the latter from getting out of hand 17:54
i assume out of some fear of censorship but I'm not familiar enough to say 17:55
El_Che and it's looked that's stuck in the 90s 17:56
Grinnz I have many opinions on the look yes ;)
El_Che it confirms to many people the perl is dead idea 17:57
17:57 nepugia joined 18:00 reportable6 left
Grinnz it reminds me of what I've heard about #perl before a more... strict approach was taken 18:00
18:02 reportable6 joined, ChanServ sets mode: +v reportable6 18:03 Xliff joined
Xliff \o 18:03
18:12 pilne joined 18:15 nepugia left
Xliff kawaiiusercontent.irccloud-cdn.com/file/...AIhmlM.png 18:15
^^ Where was this discussion?
timotimo cdn.discordapp.com/attachments/538...nknown.png - Xliff
kawaii Xliff: I don't remember the thread exactly, it's an old screenshot I had laying around on my Google drive 18:16
Xliff \o/
kawaii You could probably Google the wording and find it
Xliff ^ timotimo
timotimo \o/
Xliff kawaii: OK.
18:17 domidumont left
Xliff timotimo: So... L-systems? 18:17
timotimo well, this one isn't an L-system
18:17 sena_kun joined
Xliff Yeah, but you were talking about 'em and I've been reading. 18:17
Would make a great livecoding experiment 18:18
timotimo sure
it'll also want things you can change without recompiling, though
18:18 aborazmeh joined, aborazmeh left, aborazmeh joined 18:19 domidumont joined
Xliff timotimo: Predefined routines? 18:19
timotimo i'm thinking of an API to declare a UI that'd be displayed alongside the source or canvas 18:20
like, the frame function could have extra variables in the signature that youcan give type constraints to that are then used to create the UI
type constraints and documentation comments
and default values
Xliff timotimo: Mhm..... you wanna spec that out for me? 18:21
timotimo nope, gotta run! lol
18:21 lucasb joined
Xliff Hahaha! 18:21
It's funny. Whenever I use the word "spec", timotimo finds somewhere else to go. :D 18:22
18:22 zakharyas joined 18:23 sauvin left 18:24 netrino_ joined 18:27 netrino left 18:31 thundergnat joined 18:32 ravenous_ joined
thundergnat Xliff: L-systems and Hilbert curves (if you weren't already aware) rosettacode.org/wiki/Hilbert_curve#Perl_6 18:32
tony-o AlexDaniel: any reason that thread (renaming) is locked for me? 18:37
AlexDaniel tony-o: it shouldn't be, but unfortunately there's no fine-grained control over this stuff on github. Why it was locked in general: github.com/perl6/problem-solving/i...-522000319 18:38
tony-o: let me try something 18:39
18:40 domidumont left 18:42 kerframil joined 18:43 wildtrees joined
AlexDaniel tony-o: what about now? 18:44
18:44 domidumont joined 18:47 domidumont left
discord6 <Aearnus> SmokeMachine: I thought Red wasn't functional yet? 18:52
vrurg Aearnus: Red is pretty much functional already. 18:55
I used it in a local project.
18:57 sena_kun left
discord6 <Aearnus> nice! I'll check it out 18:57
18:58 zakharyas left 18:59 jaldhar_ left, jaldhar_ joined 19:01 jaldhar_ left 19:02 jaldhar_ joined
vrurg What'd be the best way to compile and test a QAST tree in a script? 19:02
MasterDuke vrurg: i think zoffix++ has a module to make that easy
19:03 jaldhar_ left
vrurg MasterDuke: modules.perl6.org finds nothing. :( 19:04
19:04 jaldhar_ joined
vrurg There is a visualizer, but that's all. 19:04
19:04 Black_Ribbon joined
MasterDuke AlexDaniel, timotimo: ^^^ am i imagining something? what am i thinking of? 19:05
i think it was moved to some perl6 git organization/repo 19:07
timotimo zoffix made a little script that turns a qast tree into html 19:08
with collapsible/expandable lines
vrurg MasterDuke: A lot was moved, yes. But search for 'QAST' give only 'q' visualizer again 19:09
timotimo and automatically de-emphasizes things that are not important
oh, you want to compile a qast
yeah, zoffix made an irc bot for that
it accepts a shorthand for qast creating code
vrurg I guess HLL::Backend::Moar.mast is the thing, I guess.
19:10 grayrider joined 19:27 aborazmeh left 19:33 grayrider left 19:36 rindolf left 19:42 Ven`` joined
kawaii I miss Zoffix :( 19:46
19:47 adu joined 19:52 rindolf joined 19:54 kerframil left 19:55 pmurias joined, mowcat left 19:56 pamplemousse left
pmurias In regards to the rename what's interesting is how will Raku be presented/marketed to people following the rename 20:00
20:07 pamplemousse joined 20:10 pmurias left 20:11 pmurias joined 20:15 harmil left
lichtkind kawaii: is zoffix gone? 20:17
kawaii lichtkind: iirc he had some issues with the community
but I don't know much about it
20:20 |Sno| joined 20:21 jaldhar_ left, jaldhar_ joined
lichtkind kawaii: there are several people i miss especially the who was around during exegesis times 20:23
20:23 [Sno] left, jaldhar_ left 20:24 jaldhar_ joined 20:26 pamplemousse left 20:31 mensvaga left 20:32 pamplemousse joined 20:35 jaldhar_ left
discord6 <Aearnus> I'm really hoping for something more like a playful minimalist design. Even though that's a little contrary to what Larry Wall wanted. 20:35
20:36 jaldhar_ joined
discord6 <Aearnus> I really like how cro is branded in that regard 20:36
20:37 jaldhar_ left, jaldhar_ joined 20:46 ravenous_ left
tony-o AlexDaniel: works good now ty 20:48
lichtkind what did you mean with rebrand? 20:50
21:00 nepugia joined 21:01 nepugia left 21:04 harmil joined 21:09 Cabanossi left 21:12 jaldhar_ left, jaldhar_ joined 21:22 Cabanossi joined 21:25 epony left 21:36 cpan-p6 left
gdonald issue 81 is a long read.. and I have yet to run into anything like a poll or survey. it's like some kind of practical extraction and reporting language is needed to sum it all up. 21:37
21:37 cpan-p6 joined, cpan-p6 left, cpan-p6 joined
cpan-p6 New module released to CPAN! Tomty (0.0.1) by 03MELEZHIK 21:37
AlexDaniel gdonald: the process was summarized in one of the first comments 21:39
gdonald: here: github.com/perl6/problem-solving/i...-519386472
gdonald: there's no voting and it's meant to be this way 21:40
gdonald: then, jnthn said that a PR should be submitted with more details: github.com/perl6/problem-solving/i...-520591781 21:42
gdonald: so that is currently in the works
gdonald: once it is submitted, these people will need to approve it (or request changes): github.com/perl6/problem-solving#reviewers 21:43
in fact, we'll probably have some discussion about required changes first, and a bit later we'll get to approving stuff 21:44
gdonald I see. Thanks.
lucasb lol "Camila, or whatever they are calling it these days" 21:46
21:51 Ven`` left
gdonald is 'Rakuist' 3 syllables or 2? 21:52
I kinda like how `#!raku` looks in my editor. 21:53
ecocode If anything, I'd say I kinda feel sorry for the community 21:57
Xliff m: say (1 + 1i).^name.say 22:08
camelia Complex
True
kawaii I feel like these kinds of debates detract from valuable technical discussion about the language 22:09
Xliff kawaii++ # This stuff is mostly political. 22:10
vrurg: Was a MoarVM ticket filed for #3075? If not, I should go file one.
vrurg Xliff: No, I didn't file it. 22:11
AlexDaniel ecocode: sorry about what? 22:12
ecocode: we now have a framework for working on such issues, and it looks like we're going to resolve this one for good this time
Xliff vrurg: OK. I will. Thanks!
AlexDaniel ecocode: I don't see anything negative in the situation, quite the opposite actually. Things are looking pretty great right now 22:13
Xliff AlexDaniel: I hope they continue to be so.
ecocode AlexDaniel: Yeah, it is a weird feeling, but not necessarily a negative one. Just that I have seen so many people hurt and get hurted over the last years. 22:17
22:31 jaldhar_ left 22:32 jaldhar_ joined 22:35 jaldhar_ left 22:36 jaldhar_ joined 22:43 jaldhar_ left 22:44 jaldhar_ joined 22:47 MasterDuke left 22:50 rindolf left
Geth whateverable: ed910fa418 | (Aleks-Daniel Jakimenko-Aleksejev)++ | 2 files
Ignore Guests completely

My understanding is that the numbers are changing all the time, so it's not useful for both `.seen` and `.tell`.
22:57
22:57 harmil left
john_parr I am trying to use gather/take with a channel. Why does the following code simply print a single ‘3’? I would expect a continuous stream of”3\n4”. 23:00
pastebin.com/pQCxtDUi
timotimo gather itself isn't a looping construct
so your code ends up just polling, getting the first value, then finishing sub a 23:01
rather
finishing the gather block
AlexDaniel john_parr: it looks like you want react/whenever 23:02
23:02 pamplemousse left
john_parr AlexDaniel: ok, I can try that. I suppose I may have misunderstood the flow control mechanism created by gather/take … 23:03
tobs `gather loop { … }` is a gathering loop construct :) 23:04
if you truly want it to loop ad infinitum
AlexDaniel that'd actually work, I guess?
john_parr tobs: ok, I may try that first. 23:05
23:05 Guest93 left
AlexDaniel evalable6: gist.github.com/AlexDaniel/f21b016...234ca374e9 23:05
evalable6 (signal SIGHUP) 3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
john_parr tobs: ok, perfect! I just made that small change.
AlexDaniel john_parr: not so quick… what are you trying to do? 23:06
john_parr this will get me the continous stream of 3s and 4s pastebin.com/wrcwJGSw 23:07
23:07 pamplemousse joined
john_parr AlexDaniel: I am trying to create what might be called an infinite generator. 23:09
evalable6 AlexDaniel, Full output: gist.github.com/c598d15fb8146ea72f...fa59d97d5d
AlexDaniel john_parr: so why not use sequence operator?
tobs john_parr: unless this is just an exercise, think about AlexDaniel's question. Perl 6 has very nice structured ways to do concurrency. A busy gather loop is closer to a goto
(too late) 23:10
AlexDaniel m: say (3, { $_ == 3 ?? 4 !! 3 }…∞)[^20] 23:11
camelia (3 4 3 4 3 4 3 4 3 4 3 4 3 4 3 4 3 4 3 4)
john_parr hmmm, I really didn’t know about sequence operators I’ll see if they make sense for what I am really trying to do.
AlexDaniel m: say (3, { $_ == 3 ?? 4 !! 3 }…∞)
camelia (...)
23:11 pamplemousse left
AlexDaniel m: say ({3 + $++ % 2} … ∞)[^20] 23:12
camelia (3 4 3 4 3 4 3 4 3 4 3 4 3 4 3 4 3 4 3 4)
23:16 netrino_ left
Geth whateverable: eda26f489e | (Aleks-Daniel Jakimenko-Aleksejev)++ | xbin/Tellable.p6
Remove underscores too

Judging by the list of seen nicknames, this seems to be important.
23:27
23:27 netrino joined
timotimo m: .say for flat |(3, 4) xx * 23:27
camelia (timeout)3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3…
23:31
timotimo impressive timeout 23:32
23:34 uzl joined
uzl Redispatch may be required to call a block that is not the current scope what provides nextsame and friends with the problem to referring to the wrong scope. Use nextcallee to capture the right candidate and call it at the desired time. 23:35
How could the first sentence be reworded? It's from docs.perl6.org/language/functions#...nextcallee 23:36
23:53 jaldhar_ left, jaldhar_ joined 23:56 wildtrees left