| 2018-11-07 |
| → lizmat joined | 00:00 |
| p6bannerbot set mode: +v | 00:00 |
| → woolfy joined | 00:11 |
| → pirateFinn joined | 00:11 |
| p6bannerbot set mode: +v | 00:11 |
| p6bannerbot set mode: +v | 00:12 |
| ← Sound left | 00:14 |
|
woolfy
| stmuk_: Picture on Perl 6 Facebook group that sported you and Sue has been removed from the group, and replaced by a picture of the three country point at Perl. | 00:14 |
|
yoleaux
| 6 Nov 2018 16:51Z <CIAvash> woolfy: thinking back, "pretending" was a strong word, sorry for using it. | 00:14 |
|
woolfy
| stmuk_: | 00:14 |
|
| stmuk_: please feel free to check on it: https://www.facebook.com/groups/perl6/ | 00:14 |
| → vrurg joined | 00:18 |
| p6bannerbot set mode: +v | 00:19 |
|
El_Che
| just had a look | 00:22 |
|
| damn, not getting facebook any time soon | 00:22 |
|
| such an annoying format | 00:22 |
| ← fake_space_whale left | 00:23 |
|
timotimo
| how can people live with sacrificing about a third of their screen real estate to a big white box? | 00:23 |
| → MasterDuke joined | 00:24 |
| p6bannerbot set mode: +v | 00:24 |
| ← MasterDuke left | 00:24 |
| → MasterDuke joined | 00:24 |
| herbert.freenode.net set mode: +v | 00:24 |
| p6bannerbot set mode: +v | 00:24 |
|
woolfy
| Feel free to delete the picture and replace it by something of your own liking. | 00:40 |
| ← Kaiepi left | 00:47 |
| → Kaiepi joined | 00:48 |
| p6bannerbot set mode: +v | 00:49 |
| ← daxim left | 00:59 |
| → daxim joined | 00:59 |
| p6bannerbot set mode: +v | 01:00 |
| → Some-body_ joined | 01:09 |
| p6bannerbot set mode: +v | 01:09 |
| ← DarthGandalf left | 01:09 |
| Some-body_ → DarthGandalf | 01:10 |
| ← Itaipu left | 01:23 |
| → Itaipu joined | 01:25 |
| p6bannerbot set mode: +v | 01:25 |
| ← TeamBlast left | 01:31 |
| → TeamBlast joined | 01:31 |
| p6bannerbot set mode: +v | 01:32 |
| → ryn1x joined | 01:50 |
| p6bannerbot set mode: +v | 01:51 |
| ← nightfrog left | 01:54 |
| → nightfrog joined | 01:55 |
| p6bannerbot set mode: +v | 01:56 |
| ← leont left | 02:04 |
|
Xliff
| It's Tuesday, Election Day here in the US. | 02:24 |
|
| And I am steadfastly trying to ignore the coverage. | 02:24 |
|
| Kinda hard, tho... | 02:24 |
|
| So I'm sipping a Cognac and Coke and listening to music. | 02:25 |
|
| Can someone tell me the best way to pass a function to a C-Callback? | 02:25 |
|
| method some_meth (&some_func (Type1, Type2, Type3)) seems like it should work, but doesn't. | 02:26 |
|
lookatme_q
| It should work, what error you get ? | 02:34 |
| ← xinming_ left | 02:42 |
| → xinming_ joined | 02:44 |
| p6bannerbot set mode: +v | 02:44 |
| ← ryn1x left | 02:56 |
| → doggo joined | 02:59 |
| p6bannerbot set mode: +v | 02:59 |
| doggo → Guest34146 | 02:59 |
| ← Guest34146 left | 03:00 |
|
Xliff
| lookatme_q: Cannot unpack or Capture `&sort-func`. To create a Capture, add parentheses: \(...) | 03:10 |
| ← vrurg left | 03:25 |
| → vrurg joined | 03:30 |
| p6bannerbot set mode: +v | 03:31 |
| ← MasterDuke left | 03:32 |
|
lookatme_q
| Xliff, Oh, that's the sub signature error, the correct syntax is &some_func:(Type1 ... | 03:46 |
|
| I am not sure what's the `&some_func (Type1 ...` is | 03:47 |
|
| what | 03:47 |
| → n0tjack joined | 03:59 |
| p6bannerbot set mode: +v | 04:00 |
| → colomon joined | 04:02 |
| ← colomon left | 04:02 |
| → molaf joined | 04:03 |
| p6bannerbot set mode: +v | 04:03 |
| ← Cabanossi left | 04:18 |
|
Xliff
| Well, now I get "Constraint type check failed in binding to parameter '&sort_func'; expected anonymous constraint to be met but got -> $a, $b --> int32 {... | 04:19 |
|
| " | 04:19 |
| ← ferreira left | 04:19 |
| → Cabanossi joined | 04:19 |
| p6bannerbot set mode: +v | 04:20 |
|
Xliff
| All I really want is a signature that can take either of these: "$a.pass_func(-> $a, $b --> gint { ... })" OR "sub func($a, $b --> gint) { ... }; $a.pass_func(&func)" and pass that to a C function. | 04:20 |
|
| pass_func, in this case is a method. | 04:21 |
|
| m: my $a = -> $aa, $bb --> gint { 1; }; say $a.WHAT | 04:29 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «=== SORRY!=== Error while compiling <tmp>Type 'gint' is not declared. Did you mean any of these? Int int UInt uintat <tmp>:1------> my $a = -> $aa, $bb --> gint ⏏ { 1; }; say $a.WHAT » | 04:29 |
|
Xliff
| m: my $a = -> $aa, $bb --> Int { 1; }; say $a.WHAT | 04:29 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «(Block)» | 04:29 |
|
Xliff
| m: my $a = -> $aa, $bb --> Int { 1; }; my $b = sub($a, $b) returns Int { 1; }; say $a.WHAT; say $b.WHAT; | 04:30 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «=== SORRY!=== Error while compiling <tmp>Cannot use variable $b in declaration to initialize itselfat <tmp>:1------> a, $bb --> Int { 1; }; my $b = sub($a, $ ⏏ b) returns Int { 1; }; say $a.WHAT; say  expecting any of: …» | 04:30 |
|
Xliff
| m: my $a = -> $aa, $bb --> Int { 1; }; my $b = sub($aa, $bb) returns Int { 1; }; say $a.WHAT; say $b.WHAT; | 04:30 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «=== SORRY!=== Error while compiling <tmp>Variable '$aa' is not declaredat <tmp>:1------> -> $aa, $bb --> Int { 1; }; my $b = sub( ⏏ $aa, $bb) returns Int { 1; }; say $a.WHA » | 04:30 |
|
Xliff
| m: my $a = -> $aa, $bb --> Int { 1; }; my $b = sub(Int, Int) returns Int { 1; }; say $a.WHAT; say $b.WHAT; | 04:30 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «=== SORRY!=== Error while compiling <tmp>Two terms in a rowat <tmp>:1------> bb --> Int { 1; }; my $b = sub(Int, Int) ⏏ returns Int { 1; }; say $a.WHAT; say $b  expecting any of: infix infix stopper …» | 04:30 |
|
Xliff
| m: my $a = -> $aa, $bb --> Int { 1; }; my $b = sub(Int, Int --> Int) { 1; }; say $a.WHAT; say $b.WHAT; | 04:30 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «=== SORRY!=== Error while compiling <tmp>Unable to parse expression in argument list; couldn't find final ')' (corresponding starter was at line 1)at <tmp>:1------> $bb --> Int { 1; }; my $b = sub(Int, Int ⏏ --> Int) { 1; }; say $…» | 04:30 |
|
Xliff
| m: my $a = -> $aa, $bb --> Int { 1; }; my $b = sub (Int, Int --> Int) { 1; }; say $a.WHAT; say $b.WHAT; | 04:31 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «(Block)(Sub+{Callable[Int]})» | 04:31 |
| ← molaf left | 04:31 |
| ← cognominal-p6 left | 04:46 |
| → sauvin joined | 04:49 |
| p6bannerbot set mode: +v | 04:49 |
| → Sgeo_ joined | 05:10 |
| p6bannerbot set mode: +v | 05:11 |
| ← Sgeo left | 05:13 |
| n0tjack → n0tjack_ | 05:16 |
| ← n0tjack_ left | 05:19 |
| ← mattp_ left | 05:30 |
| ← cgfbee left | 05:32 |
|
Xliff
| m: sub do-func(&func) { &func($a) }; do-func(-> $a, $b { say $a.flip }); | 05:37 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «=== SORRY!=== Error while compiling <tmp>Variable '$a' is not declaredat <tmp>:1------> sub do-func(&func) { &func( ⏏ $a) }; do-func(-> $a, $b { say $a.flip } » | 05:37 |
|
Xliff
| m: sub do-func(&func) { my $a = 42; &func($a) }; do-func(-> $a, $b { say $a.flip }); | 05:38 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «Too few positionals passed; expected 2 arguments but got 1 in block <unit> at <tmp> line 1» | 05:38 |
|
Xliff
| m: sub do-func(&func) { my $a = 42; &func($a) }; do-func(-> $a { say $a.flip }); | 05:38 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «24» | 05:38 |
| → cgfbee joined | 05:42 |
| p6bannerbot set mode: +v | 05:43 |
| → mattp_ joined | 05:48 |
| p6bannerbot set mode: +v | 05:49 |
| → hami joined | 05:52 |
| p6bannerbot set mode: +v | 05:52 |
| ← mattp_ left | 05:52 |
| → curan joined | 05:58 |
| p6bannerbot set mode: +v | 05:58 |
| → jmerelo joined | 06:02 |
|
Kaiepi
| ok, the jvm can run tools/build/install-core-dist but not moar | 06:02 |
| p6bannerbot set mode: +v | 06:03 |
| ← hami left | 06:07 |
| ← lizmat left | 06:12 |
|
holyghost
| I'll try to arrange AI::Agent on github this week, compilable | 06:48 |
|
| Then later on I'll fix Bayes::Learn and Game::Markov | 06:51 |
|
| I might make an AI::Agent::Nintendo for rom agents. Then have a simple dispatch method for agent classes based on an Actor class | 06:53 |
| → domidumont joined | 06:53 |
| p6bannerbot set mode: +v | 06:54 |
|
Kaiepi
| figured out how to get tools/build/install-core-dist.p6 to run | 07:05 |
|
| i just need to pass -Ilib to it in the makefile | 07:05 |
| ← troys left | 07:14 |
|
holyghost
| I've Actor and Agent.pm6 are compilable, I'll post later on | 07:16 |
|
| s/I've/I've got | 07:18 |
| → stmuk joined | 07:20 |
| p6bannerbot set mode: +v | 07:21 |
| ← stmuk_ left | 07:22 |
| ← Itaipu left | 07:23 |
| → Itaipu joined | 07:25 |
| p6bannerbot set mode: +v | 07:26 |
| ← jmerelo left | 07:31 |
| → robertle joined | 07:31 |
| p6bannerbot set mode: +v | 07:32 |
| → stmuk_ joined | 07:35 |
| p6bannerbot set mode: +v | 07:35 |
| ← stmuk left | 07:36 |
| → laminowany joined | 07:36 |
| p6bannerbot set mode: +v | 07:37 |
| ← Itaipu left | 07:39 |
| ← sauvin left | 07:42 |
| → Sound joined | 07:51 |
| p6bannerbot set mode: +v | 07:51 |
| ← dct left | 07:53 |
| ← Sound left | 07:55 |
| → ufobat_ joined | 07:59 |
| p6bannerbot set mode: +v | 08:00 |
| ← domidumont left | 08:07 |
| → domidumont joined | 08:07 |
| ← ufobat_ left | 08:08 |
| p6bannerbot set mode: +v | 08:08 |
| → sauvin joined | 08:16 |
| p6bannerbot set mode: +v | 08:16 |
| → sauvin_ joined | 08:19 |
| p6bannerbot set mode: +v | 08:19 |
| ← domm left | 08:20 |
| ← sauvin left | 08:20 |
| sauvin_ → Sauvin | 08:23 |
| ← laminowany left | 08:30 |
|
AlexDaniel
| “An official (heh!) spec release of 6.d illustrates Camelia smashed against a wall of marketing.” | 08:32 |
|
| andrewshitov++ # humor :) | 08:32 |
| → domm joined | 08:33 |
| p6bannerbot set mode: +v | 08:34 |
| → zakharyas joined | 08:35 |
|
El_Che
| AlexDaniel: in days like this I start to envy programming languages with less controversial names, like Brainfuck | 08:35 |
|
| ok, let's tweet this | 08:35 |
| p6bannerbot set mode: +v | 08:36 |
| → frispete_ joined | 08:38 |
| ← frispete_ left | 08:39 |
| → dakkar joined | 08:41 |
| ← noganex_ left | 08:41 |
| p6bannerbot set mode: +v | 08:42 |
| → noganex joined | 08:42 |
| p6bannerbot set mode: +v | 08:43 |
| → lizmat joined | 08:43 |
| p6bannerbot set mode: +v | 08:43 |
| → scimon joined | 08:51 |
| → rindolf joined | 08:51 |
| p6bannerbot set mode: +v | 08:51 |
| p6bannerbot set mode: +v | 08:52 |
|
scimon
| Morning all. | 08:58 |
| → tobs` joined | 08:59 |
| p6bannerbot set mode: +v | 09:00 |
|
scimon
| https://www.youtube.com/watch?v=yt8SrZ_V_50 : A video. On using MAIN with Perl6 mostly. :) | 09:24 |
| ← Grauwolf left | 09:32 |
| → Grauwolf joined | 09:33 |
| p6bannerbot set mode: +v | 09:33 |
| ← robertle left | 09:34 |
| → robertle joined | 09:36 |
| p6bannerbot set mode: +v | 09:37 |
| ← domm left | 09:38 |
| ← robertle left | 09:46 |
| → robertle joined | 09:49 |
| p6bannerbot set mode: +v | 09:50 |
| → domm joined | 09:50 |
| p6bannerbot set mode: +v | 09:51 |
|
holyghost
| I'm going to do a AI::Agent::Embedded for NES and M68k binaries | 09:57 |
|
| Then I can add on | 09:57 |
|
| a NES is a embedded system with rom code and so is the M68000 microcode | 09:57 |
| → hamhu3 joined | 09:59 |
| p6bannerbot set mode: +v | 10:00 |
|
holyghost
| It's just a parser within the agent to reverse engineer and stock it | 10:01 |
|
| though AI::Agent is now at 127 lines | 10:02 |
| ← Bucciarati left | 10:08 |
| → Bucciarati joined | 10:08 |
| p6bannerbot set mode: +v | 10:09 |
|
woolfy
| Claudio Ramirez: "what's with the xeno?", "more drama?" -> check in history, I use that nick when not at home and log in from my mobile. And yes, I love drama. I hate drama. But xenowoolfy as a name is not meant to add drama. My oldest nickname online is Xenolupa, and that was 27 years ago on CompuServe. | 10:31 |
|
lizmat
| El_Che: ^^^ | 10:38 |
|
El_Che
| woolfy: the drama was about stmuk and facebook | 10:47 |
|
| the 2 questions are unrelated | 10:47 |
|
buggable
| New CPAN upload: AI-Agent-0.2.1.tar.gz by HOLYGHOST http://modules.perl6.org/dist/AI::Agent:cpan:HOLYGHOST | 11:01 |
| → noganex_ joined | 11:07 |
| p6bannerbot set mode: +v | 11:07 |
| ← noganex left | 11:10 |
| → leont joined | 11:11 |
| p6bannerbot set mode: +v | 11:12 |
|
holyghost
| I've added AI-Agent to github.com/theholyghost2 | 11:21 |
| → ufobat_ joined | 11:23 |
| → jast joined | 11:23 |
| p6bannerbot set mode: +v | 11:23 |
| p6bannerbot set mode: +v | 11:24 |
| → Popov_ joined | 11:44 |
| p6bannerbot set mode: +v | 11:44 |
| ← Popov_ left | 11:50 |
| → lucasb joined | 12:03 |
| p6bannerbot set mode: +v | 12:04 |
| → Zoffix joined | 12:06 |
| p6bannerbot set mode: +v | 12:06 |
|
Zoffix
| .tell TimToady please respond to https://github.com/perl6/user-experience/issues/33 | 12:07 |
|
yoleaux
| Zoffix: I'll pass your message to TimToady. | 12:07 |
| ← Zoffix left | 12:07 |
| ← scimon left | 12:08 |
|
buggable
| New CPAN upload: AI-Agent-Music-0.2.1.tar.gz by HOLYGHOST https://cpan.metacpan.org/authors/id/H/HO/HOLYGHOST/Perl6/AI-Agent-Music-0.2.1.tar.gz | 12:11 |
|
holyghost
| I just uploaded AI-Agent-Music to github : github.com/theholyghost2 | 12:11 |
|
| It needs a parser | 12:12 |
| → scimon joined | 12:12 |
|
lucasb
| Taking a look at the Node.js project, it looks like they are very structured with Foundation Board of Directors, Technical Steering Committee, Working Groups, etc. | 12:12 |
| p6bannerbot set mode: +v | 12:12 |
|
holyghost
| a parser in the sense that it should parser further on on music links and so on | 12:12 |
|
lucasb
| I think a little more structure to this project would be a good thing | 12:13 |
| ← domm left | 12:13 |
|
lucasb
| P6 is maturing, attracting people | 12:13 |
|
holyghost
| it is :-) | 12:14 |
|
| I'm in for matlab functionality :-) | 12:14 |
|
lucasb
| But I accept that the core devs maybe want some freedom | 12:15 |
|
| ... of action :) | 12:16 |
| ← zakharyas left | 12:16 |
|
holyghost
| eco: AI::Agent::Music | 12:17 |
|
buggable
| holyghost, Nothing found | 12:17 |
|
holyghost
| I'm going to do some parsing tomorrow :-) I might want to turn in natuaral language processing with a grammar | 12:21 |
|
lucasb
| I want to open 2 issues to formally request {blog,wiki}.perl6.org websites for this project. Is perl6/user-experience an appropriate place for this? At least someone supports these ideas? | 12:25 |
| → domm joined | 12:26 |
|
AlexDaniel
| lucasb: I think it is a good idea to wait a bit before starting to discuss this stuff | 12:26 |
|
| lucasb: everyone is too emotional right now | 12:26 |
| p6bannerbot set mode: +v | 12:26 |
|
lucasb
| AlexDaniel: agreed, thanks for the advice :) | 12:27 |
|
lizmat
| AlexDaniel++ | 12:27 |
|
lucasb
| so much passion | 12:27 |
|
AlexDaniel
| lucasb: as for the wiki, I think it is needed (there were a couple of cases in the past). Right now stuff ends up here: https://github.com/rakudo/rakudo/wiki | 12:29 |
|
| lucasb: there's an interesting question as to which wiki engine should be used :) | 12:29 |
|
lucasb
| MediaWiki, otherwise don't even bother :) | 12:30 |
|
AlexDaniel
| lucasb: I mean, surely there are many great ones, but we love dogfooding, right? | 12:30 |
|
lucasb
| perl 5 had an SocialText wiki, it didn't worked | 12:30 |
|
| nobody was familiar with the interface. everybody knows wikipedia | 12:30 |
|
AlexDaniel
| perl5 also has oddmuse, and there's now oddmuse written in perl 6 https://github.com/kensanata/oddmuse6 | 12:31 |
|
| it's in very early stages, so kinda not ready | 12:31 |
|
lucasb
| I understand that. (Oddmuse (5) user myself :) | 12:31 |
|
| But I still think MediaWiki is the most appropriate one and robust for this situation | 12:32 |
|
| My idea is that only registered users would be able to edit pages. This avoid the spam/vandalism problem, right? | 12:32 |
|
AlexDaniel
| lucasb: yeah, maybe. I'm not insisting on anything, just listing the options :) | 12:32 |
|
| lucasb: I dislike wikis that can't be edited without going through all the hoops to get your account ready… I just end up not contributing at all… | 12:34 |
|
| but it depends on what purposes we want to use it for | 12:34 |
|
| maybe using github accounts is possible? Like through OAuth apps or what is it called? I'm not sure | 12:34 |
|
| this: https://www.mediawiki.org/wiki/Extension:OAuth2_Client | 12:35 |
|
lucasb
| Well, if you are an P6 enthusiast, you only need to register an account once, and enjoy later. I think it's a good tradeoff to not have to deal with outside people disrupting the wiki | 12:38 |
|
AlexDaniel
| yeah, but then we're missing out on microcontributions | 12:40 |
|
| with MediaWiki I'm pretty sure we can have very fine control over privileges and stuff, so that important pages are not disrupted | 12:41 |
|
lucasb
| right, maybe it should start open and only get restricted if we face problems | 12:41 |
|
| needs an Apache server, PHP/MySQL instance. where would this run? in the p6c hack machine? | 12:42 |
|
AlexDaniel
| lucasb: here's a repo that is related: https://github.com/perl6/infrastructure-doc | 12:43 |
|
holyghost
| AFAIK the wikie syntax matters | 12:43 |
|
| s/wikie/wiki | 12:44 |
|
| AlexDaniel wonders if this extension is working at all https://www.mediawiki.org/wiki/Extension:Markdown | 12:45 |
| → jervo joined | 12:45 |
|
holyghost
| I meant in your browser | 12:45 |
|
AlexDaniel
| holyghost: ? | 12:46 |
| p6bannerbot set mode: +v | 12:46 |
|
AlexDaniel
| lucasb: perhaps start with a docker image and then we figure out where to run it later :) | 12:46 |
|
lucasb
| yes. I rememebered I had already populated an MediaWiki wiki with P6 content. I'll see if I can ressurect it | 12:47 |
|
holyghost
| AlexDaniel: The wiki syntax in editing your browser should be straightforward | 12:47 |
|
AlexDaniel
| holyghost: yeah, but that's the point of that extension | 12:48 |
|
holyghost
| AlexDaniel: else you have to go to the help file | 12:48 |
|
lucasb
| if Mediaw | 12:48 |
|
holyghost
| FWIW | 12:48 |
|
| Don't turn in P6 just for wiki | 12:48 |
|
lucasb
| if MediaWiki is chosen, then I think we should start with the standard MediaWiki syntax, and add anything later | 12:48 |
|
holyghost
| You have to manage your users | 12:49 |
|
| AlexDaniel: I cannot lookup the extension here | 12:49 |
|
AlexDaniel
| lucasb: I… I don't know… can't we try that markdown extension first? | 12:50 |
|
| personally I don't know mediawiki syntax, even though I've been wiki-ing a lot… | 12:50 |
|
| that “I don't know” lines up vertically :D | 12:51 |
|
| lucasb: oooh… right, we had a wiki | 12:52 |
|
| I forgot :) | 12:52 |
|
| it'd be good to figure out what went wrong with it | 12:52 |
|
holyghost
| I don't want sf.net syntax | 12:52 |
|
| I'd rather be smalltalking on c2.com :-) | 12:53 |
|
AlexDaniel
| lucasb: https://web.archive.org/web/20130521070045/http://wiki.perl6.org/ | 12:53 |
|
holyghost
| c2.com was the 1st wikiwikiweb, they did'nt invent that solo | 12:56 |
| → bazzaar joined | 12:57 |
| p6bannerbot set mode: +v | 12:57 |
|
lucasb
| yeah, I think the previous one was running Gitit (in Haskell) | 12:57 |
|
holyghost
| lol | 12:58 |
|
lucasb
| one more reason we should choose a mainstream engine :) | 12:58 |
|
holyghost
| :-) | 12:58 |
|
| "Choose your syntax" TMOTOWTDI | 12:58 |
|
lucasb
| although I like the idea of a git-backed wiki for my own personal usage, but not for a big open source project | 12:58 |
|
holyghost
| true | 12:59 |
|
| To be honest, we need some hackers for the wikiweb imp. | 13:01 |
|
| smite it on a public repo and then we can follow | 13:03 |
|
| As I said, *turn on* your wiki syntax | 13:04 |
|
| I'd be glad to help | 13:05 |
|
| eco: AI::Agent::Music | 13:11 |
|
buggable
| holyghost, Nothing found | 13:11 |
|
scimon
| eco: AI::Agent | 13:14 |
|
buggable
| scimon, AI::Agent 'AI network Agent system': http://cpan.metacpan.org/authors/id/H/HO/HOLYGHOST/Perl/AI-Agent-0.2.1.tar.gz 1 other matching results: https://modules.perl6.org/s/AI%3A%3AAgent | 13:14 |
|
scimon
| holyghost: It looks like it doesn't pull out the sub modules. | 13:14 |
|
holyghost
| I see | 13:15 |
|
scimon
| zef search finds it though. | 13:16 |
|
holyghost
| ok | 13:16 |
|
| botcherous CPAN parser ? | 13:16 |
|
| zef search AI::Agent::Music finds it ? | 13:17 |
|
| I don't know CPAN syntax for submodules of AI::Agent | 13:17 |
|
| If zef finds it, with my web address it's ok | 13:18 |
|
| it's the CPAN agent then | 13:19 |
|
Kaiepi
| i can't install zef atm | 13:22 |
|
| it just hangs when i try | 13:22 |
|
holyghost
| ok | 13:23 |
|
| It's a parser issue | 13:23 |
|
| cpan serves :-) | 13:24 |
| ← ufobat_ left | 13:26 |
|
holyghost
| It's a deliberate syntax with AI-Agent-Music as subclass | 13:26 |
| → n0tjack joined | 13:28 |
| p6bannerbot set mode: +v | 13:29 |
|
CIAvash
| 💭 What if TimToady sees the mess and doesn't come back? 😀 | 13:32 |
| → yqt joined | 13:37 |
|
holyghost
| eco: AI::Agent::Music | 13:38 |
|
buggable
| holyghost, Nothing found | 13:38 |
|
holyghost
| eco: AI::Agent | 13:38 |
|
buggable
| holyghost, AI::Agent 'AI network Agent system': http://cpan.metacpan.org/authors/id/H/HO/HOLYGHOST/Perl/AI-Agent-0.2.1.tar.gz 1 other matching results: https://modules.perl6.org/s/AI%3A%3AAgent | 13:38 |
|
Geth
| ¦ ecosystem: a4f23fd24e | (Zoffix Znet)++ (committed using GitHub Web editor) | META.list | 13:38 |
|
| ¦ ecosystem: Remove unsupported modules | 13:38 |
|
| ¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/a4f23fd24e | 13:38 |
| p6bannerbot set mode: +v | 13:38 |
|
holyghost
| ok. zef finds it | 13:39 |
| ← kurahaupo left | 13:39 |
| → kurahaupo joined | 13:40 |
| p6bannerbot set mode: +v | 13:40 |
| → zakharyas joined | 13:42 |
| p6bannerbot set mode: +v | 13:43 |
| ← kurahaupo left | 13:44 |
| → kurahaupo joined | 13:44 |
| p6bannerbot set mode: +v | 13:45 |
|
holyghost
| Kaiepi: you might want to do a fresh install, older versions work on older systems | 13:46 |
|
| it's called POSIX :-) | 13:47 |
|
scimon
| (Sorry in a meeting) | 13:47 |
| ← lucasb left | 13:48 |
|
lizmat
| CIAvash: then we'd have to figure out things amongst ourselves | 13:49 |
|
CIAvash
| lizmat: I was just joking 🙂 | 13:50 |
|
Kaiepi
| holyghost problem is i can't do a perfectly fresh install since tools/build/install-core-dist.p6 refuses to run with moar as the backend | 13:52 |
|
| it works with the jvm, but i can't install zef using it because one of the ops zef uses is unsupported | 13:53 |
|
holyghost
| Kaiepi: lookup tags like --gen-moar | 13:56 |
|
bazzaar
| lizmat: I agree whole-heartedly with your 'ramblings' article, and look forward to reading your perl6 *weekly's* | 13:56 |
|
Kaiepi
| i've already done that, didn't make any difference | 13:59 |
| ← Sgeo_ left | 14:00 |
|
lizmat
| bazzaar: thank you for your kind words | 14:01 |
| → Sgeo_ joined | 14:01 |
| p6bannerbot set mode: +v | 14:02 |
| → Sgeo__ joined | 14:04 |
| p6bannerbot set mode: +v | 14:05 |
| ← Sgeo_ left | 14:06 |
| → lichtkind joined | 14:08 |
| → lichtkind_ joined | 14:08 |
| p6bannerbot set mode: +v | 14:08 |
| p6bannerbot set mode: +v | 14:09 |
| ← bazzaar left | 14:13 |
| ← andrzejku left | 14:14 |
| ← lichtkind_ left | 14:30 |
| ← domidumont left | 14:37 |
| hahainternet → SilenceTheTruth | 14:51 |
| SilenceTheTruth → WontChangeAnythi | 14:51 |
| WontChangeAnythi → TrumpOwnsYou | 14:51 |
| → domidumont joined | 14:53 |
| p6bannerbot set mode: +v | 14:53 |
| → poohman joined | 14:54 |
| p6bannerbot set mode: +v | 14:54 |
|
poohman
| m: say "Hello" | 14:55 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «Hello» | 14:55 |
|
poohman
| m: my Str $contents = '{name: Winfred}{name: Asher}';$contents ~~ s/ '}'\s*'{' / '}' \n '{' /; say $contents; | 14:55 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «=== SORRY!=== Error while compiling <tmp>Unable to parse expression in single quotes; couldn't find final "'" (corresponding starter was at line 1)at <tmp>:1------> '}'\s*'{' / '}' \n '{' /; say $contents; ⏏ <EOL>  expecting …» | 14:55 |
|
poohman
| m: my Str $contents = '{name: Winfred}{name: Asher}';$contents ~~ s/ '}'\s*'{' / \n /; say $contents; | 14:56 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «{name: Winfred  name: Asher}» | 14:56 |
| → Sgeo_ joined | 14:56 |
| p6bannerbot set mode: +v | 14:57 |
|
poohman
| m: my Str $contents = '{name: Winfred}{name: Asher}';$contents ~~ s/ '}'\s*'{' / '}\n{' /; say $contents; | 14:57 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «=== SORRY!=== Error while compiling <tmp>Unable to parse expression in single quotes; couldn't find final "'" (corresponding starter was at line 1)at <tmp>:1------> s/ '}'\s*'{' / '}\n{' /; say $contents; ⏏ <EOL>  expecting …» | 14:57 |
|
poohman
| m: my Str $contents = '{name: Winfred}{name: Asher}';$contents ~~ s/ '}'\s*'{' / "}\n{" /; say $contents; | 14:57 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «=== SORRY!=== Error while compiling <tmp>Unable to parse expression in double quotes; couldn't find final '"' (corresponding starter was at line 1)at <tmp>:1------> s/ '}'\s*'{' / "}\n{" /; say $contents; ⏏ <EOL>  expecting …» | 14:57 |
|
poohman
| hello everybody - any idea how I can include the braces also in the substitution? | 14:58 |
| ← Sgeo__ left | 14:58 |
| ← curan left | 14:59 |
|
moritz
| poohman: try "}\n\{" | 15:01 |
|
| poohman: {...} inside a double-quoted string starts a closure | 15:02 |
|
poohman
| m: my Str $contents = '{name: Winfred}{name: Asher}';$contents ~~ s/ '}'\s*'{' / "}\n\{" /; say $contents; | 15:02 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «{name: Winfred "}{" name: Asher}» | 15:02 |
| TrumpOwnsYou → Wrongvoice | 15:02 |
|
poohman
| moritz - thanks - so the second brace made it think that it was a start of a closure?? | 15:04 |
|
moritz
| poohman: correct | 15:05 |
|
| m: say "2 * 4 == {2 * 4}" | 15:05 |
|
camelia
| rakudo-moar 8b93ec9f5: OUTPUT: «2 * 4 == 8» | 15:05 |
| ← silug left | 15:05 |
|
poohman
| moritz : thanks | 15:06 |
|
| one more question - when reading from files, we do have the lines method where it reads each line one after the other - do we have a possibility to read with user defined delimiters | 15:09 |
|
| \s* instead of \n - for example | 15:10 |
|
moritz
| user-defined limiters are possible, but not regexes | 15:11 |
|
| https://docs.perl6.org/routine/open look for nl-in | 15:11 |
|
SmokeMachine
| poohman: `words`wouldn't do what you want? | 15:12 |
|
moritz
| but you can set it to [' ', "\n"] for example | 15:12 |
|
poohman
| moritz : thanks - will try nl-in | 15:16 |
|
| Smokemachine : was trying to read Json records one after the other | 15:17 |
| → lucasb joined | 15:17 |
| p6bannerbot set mode: +v | 15:18 |
| → domidumont1 joined | 15:18 |
| p6bannerbot set mode: +v | 15:19 |
|
lucasb
| AlexDaniel and others interested in the wiki idea: https://i.imgur.com/Iuq7VMC.png | 15:19 |
| ← domidumont left | 15:21 |
|
moritz
| poohman: json can be completely without whitespace between tokens | 15:23 |
| ← n0tjack left | 15:25 |
| ← lucasb left | 15:27 |
| Wrongvoice → hahainternet | 15:29 |
|
Geth
| ¦ perl6.org: zoffixznet self-unassigned Implement Perl 6 Academy for use as call to action on marketing pieces https://github.com/perl6/perl6.org/issues/107 | 15:29 |
|
| ¦ marketing: zoffixznet self-unassigned Material to include in "Perl 6 Starter Kit" https://github.com/perl6/marketing/issues/14 | 15:31 |
| ← yqt left | 15:32 |
|
poohman
| moritz : I was using the JSON::Class package and that writes one line after the other - so I am tryng to read it back | 15:34 |
|
moritz
| poohman: but then reading line by line is more correct than splitting on any whitespace, no? | 15:35 |
| → dakkar_ joined | 15:35 |
| ← dakkar left | 15:35 |
| p6bannerbot set mode: +v | 15:36 |
|
poohman
| so trying to have one record in one line and then read the each line to feed it to from-json | 15:36 |
| ← dakkar_ left | 15:41 |
| → dakkar_ joined | 15:41 |
| dakkar_ → dakkar | 15:41 |
| p6bannerbot set mode: +v | 15:42 |
|
moritz
| that's a pretty common approach, yes | 15:46 |
| → tokomer joined | 15:47 |
| p6bannerbot set mode: +v | 15:48 |
| ← xinming_ left | 15:52 |
|
holyghost
| eco: AI::Agent | 15:56 |
|
buggable
| holyghost, AI::Agent 'AI network Agent system': http://cpan.metacpan.org/authors/id/H/HO/HOLYGHOST/Perl/AI-Agent-0.2.1.tar.gz 1 other matching results: https://modules.perl6.org/s/AI%3A%3AAgent | 15:56 |
|
holyghost
| eco: AI::Agent::Music | 15:56 |
|
buggable
| holyghost, Nothing found | 15:56 |
|
holyghost
| I hope AI::Agent and AI::Agent::Music compiles | 15:57 |
| → jmerelo joined | 15:59 |
| p6bannerbot set mode: +v | 15:59 |
| → ferreira joined | 16:00 |
| → hamhu3_ joined | 16:00 |
| p6bannerbot set mode: +v | 16:00 |
| p6bannerbot set mode: +v | 16:01 |
| ← hamhu3 left | 16:02 |
|
scimon
| holyghost : Just got Install [FAIL] for AI::Agent:ver<0.1.24>:auth<CPAN:HOLYGHOST>:api<1>: Failed to open file /home/sproctor/.zef/store/AI-Agent-0.1.24.tar.gz/AI-Agent/lib/AI/Learn/NESMusicAgent.pm6 trying to install. | 16:03 |
|
| Have you looked at App::Mi6? It's GREAT module development. | 16:06 |
|
jmerelo
| scimon: you got DM'd | 16:06 |
| → fake_space_whale joined | 16:15 |
| p6bannerbot set mode: +v | 16:16 |
| → harrison joined | 16:18 |
| p6bannerbot set mode: +v | 16:19 |
| ← harrison left | 16:27 |
| ← noganex_ left | 16:28 |
| → noganex joined | 16:28 |
| p6bannerbot set mode: +v | 16:29 |
| ← kurahaupo left | 16:30 |
| → kurahaupo joined | 16:31 |
| → troys joined | 16:31 |
| p6bannerbot set mode: +v | 16:31 |
| p6bannerbot set mode: +v | 16:32 |
| ← fake_space_whale left | 16:36 |
| → fake_space_whale joined | 16:48 |
| p6bannerbot set mode: +v | 16:49 |
| → alcinous1 joined | 17:01 |
| ← robertle left | 17:02 |
| p6bannerbot set mode: +v | 17:02 |
|
Altreus
| capital S/// is return-a-copy, right? | 17:14 |
| ← kurahaupo left | 17:15 |
|
timotimo
| yes | 17:15 |
|
stmuk_
| woolfy: Thanks! I'm hoping things will calm down soon | 17:22 |
| → noganex_ joined | 17:22 |
| p6bannerbot set mode: +v | 17:23 |
| → ufobat joined | 17:24 |
| p6bannerbot set mode: +v | 17:25 |
| ← noganex left | 17:26 |
|
El_Che
| stmuk_: for max 6 months, sure. | 17:28 |
|
Altreus
| so I should be able to do $a = $a.lc.trim ~~ S/// | 17:29 |
|
| Correct? :s | 17:29 |
|
El_Che
| stmuk_: how is star coming along. We've had sole questions last week | 17:29 |
|
timotimo
| that will not do what you hope for, Altreus | 17:30 |
|
El_Che
| some | 17:30 |
|
timotimo
| it'll take the result of the S/// and smartmatch it against the LHS, though it will set the LHS as the $_ of the RHS | 17:30 |
|
El_Che
| tablet typing sucks | 17:30 |
|
timotimo
| so essentially it'll result in False, unless the substitution did nothing in which case it would result in True | 17:30 |
|
Altreus
| Is that because LHS of ~~ is not a variable? | 17:32 |
|
| not bindable, or some similar concept? | 17:32 |
|
timotimo
| no, it's because S/// is an operator that immediately does something | 17:32 |
|
Altreus
| But I thought it did it to the LHS of ~~ | 17:33 |
|
| otherwise surely it can only ever apply to $_ | 17:33 |
|
tony-o
| lizmat++ | 17:33 |
|
Altreus
| which is not true of lowercase s/// | 17:33 |
|
tony-o
| just read the blog | 17:33 |
| ← scimon left | 17:34 |
|
Altreus
| See | 17:36 |
|
| I told this non-programmer chap that in Perl6 we'd use ~~ instead of the .subst method | 17:36 |
|
| But now I'm thinking maybe not | 17:36 |
|
| I was like why use a method when there's an operator | 17:37 |
|
timotimo
| i notice that i'm confused | 17:37 |
|
| i don't have a good explanation for why S/// and s/// behave so differently | 17:37 |
|
Altreus
| tsuyoki naritai? did I get that right | 17:37 |
|
timotimo
| paamayim nekudotayim | 17:38 |
|
Altreus
| I did PHP for 4 years. You'll have to try harder than that. | 17:38 |
|
timotimo
| i was not familiar with your term until now | 17:39 |
|
moritz
| timotimo: the explanation has to do with smart-matching | 17:39 |
|
timotimo
| moritz: s/// on its own also operates immediately, doesn't it? | 17:39 |
|
moritz
| timotimo: it does | 17:39 |
|
timotimo
| so the ACCEPTS method is called on the result of that, right? | 17:39 |
|
moritz
| yes | 17:40 |
|
| but s/// can just return True | 17:40 |
|
timotimo
| oh | 17:40 |
|
moritz
| and True.ACCEPTS(anything) is always True | 17:40 |
|
timotimo
| that makes total sense | 17:40 |
|
moritz
| but S/// just returns the modified string | 17:40 |
|
| which is then passed to $lhs.ACCEPTS(...), where it's lost | 17:40 |
|
Altreus
| total sense to you maybe | 17:42 |
|
| :P | 17:42 |
|
| This implies that $_ will be modified if I do $a ~~ s/// | 17:42 |
|
timotimo
| it's true! | 17:43 |
|
Altreus
| It seems to me the whole point of doing that is to use $a *instead* of $_ | 17:43 |
|
| on account of how I also write Perl5 | 17:43 |
|
| this seems naughty | 17:43 |
|
timotimo
| that's right | 17:43 |
|
| ~~ binds $_ for you only in the right-hand-side of itself | 17:43 |
|
| so you don't have to my $_ := $a manually | 17:43 |
|
Altreus
| ah! | 17:44 |
|
| so $a ~~ S/// is actually S'ing $a, but that returns a new $a, which is discarded | 17:44 |
|
| Whereas the lowercase s does ... something else, which $a can ACCEPT and thereby modify itself? | 17:44 |
|
timotimo
| still not quite | 17:44 |
|
| let me try to desugar it somewhat | 17:44 |
| ← dakkar left | 17:44 |
|
timotimo
| $a ~~ S/// works a lot like this: my $_ := $a; my $result = S///; return $result.ACCEPTS($a) | 17:45 |
|
| since S/// doesn't touch $_, it has no visible effect to the outside | 17:45 |
|
| and the result string will be used as the thing to smart match $a against | 17:46 |
|
| so you want the binding of $_, but not the match behaviour of ~~ | 17:46 |
|
| that's why rakudo (should?) suggests using "given" instead | 17:46 |
|
Altreus
| it did do that | 17:47 |
|
| and we followed suit | 17:47 |
|
| so the "side-effect" of mutating $_ is actually fine because ~~ gives us a super-local $_ for the purpose | 17:47 |
|
| Is .subst an acceptable alternative? | 17:48 |
|
| It seems a bit javascripty but I guess JS can be right sometimes | 17:48 |
|
timotimo
| subst is an acceptable alternative | 17:49 |
|
| another is S[...] = ... | 17:49 |
|
| which is super funky | 17:49 |
|
moritz
| wait what? | 17:49 |
|
timotimo
| that doesn't exist? | 17:50 |
|
| m: my $_ = "hello"; my $result = S[ll] = 99; say $result; say $_ | 17:50 |
|
camelia
| rakudo-moar 130cc8178: OUTPUT: «Potential difficulties: Redeclaration of symbol '$_' at <tmp>:1 ------> my $_ ⏏ = "hello"; my $result = S[ll] = 99; say he99ohello» | 17:50 |
| → atweiden-air joined | 17:50 |
|
timotimo
| m: $_ = "hello"; my $result = S[ll] = 99; say $result; say $_ | 17:50 |
|
camelia
| rakudo-moar 130cc8178: OUTPUT: «he99ohello» | 17:50 |
|
timotimo
| m: $_ = "hello"; my $result = S[l] = $++; say $result; say $_ | 17:50 |
|
camelia
| rakudo-moar 130cc8178: OUTPUT: «he0lohello» | 17:50 |
|
timotimo
| m: $_ = "hello"; my $result = S:g[l] = $++; say $result; say $_ | 17:51 |
|
camelia
| rakudo-moar 130cc8178: OUTPUT: «he01ohello» | 17:51 |
|
timotimo
| m: $_ = "hello hello hello"; my $result = S:g[l] = $++; say $result; say $_ | 17:51 |
|
camelia
| rakudo-moar 130cc8178: OUTPUT: «he01o he23o he45ohello hello hello» | 17:51 |
|
moritz
| it just seems very weird to use an *assignment* to trigger a non-destructive substitution | 17:51 |
| p6bannerbot set mode: +v | 17:51 |
|
timotimo
| :D | 17:51 |
|
| i did say it's super funky | 17:51 |
|
Altreus
| I think I understand more things | 17:53 |
|
| Possibly not S[] | 17:53 |
|
timotimo
| :D | 17:53 |
|
Altreus
| unless I just pretend it's Perl5's substr all over again | 17:53 |
|
timotimo
| how does that work? | 17:53 |
|
| do you assign into the result of a substr call to modify a string? | 17:53 |
|
moritz
| substr($a, $from, $to) = $replacement | 17:53 |
|
Altreus
| yes | 17:53 |
|
timotimo
| ah | 17:53 |
|
| yeah, we do have substr-rw | 17:54 |
|
moritz
| it's even *more* funky than that | 17:54 |
|
Altreus
| but you can also just provide the replacement as the 4th parameter | 17:54 |
|
moritz
| S[...], I mean | 17:54 |
|
timotimo
| yeah, the thing about S[...] = ... is that it thunks the RHS | 17:54 |
|
moritz
| because with s[...] = ... and the upper-case form, the right-hand side is evaluated for each match | 17:54 |
|
Altreus
| well the other thing is that you had to set $_ | 17:54 |
|
| I can do that anyway :P | 17:54 |
|
| I could have done that to solve my original question :D | 17:54 |
|
| wait hang on, this means that part of what I had was my $_ := $a.lc.trim; | 17:55 |
|
| I feel like there's a better way hiding in here | 17:56 |
|
timotimo
| i'm not sure what code you're currently at, and what's bothering you about it | 17:56 |
|
Altreus
| sorry, I was just thinking that when I did $a.lc.trim ~~ S///, the smartmatch put the trimmed string in $_ | 17:56 |
| → ExtraCrispy joined | 17:57 |
| p6bannerbot set mode: +v | 17:57 |
| → kvda joined | 17:57 |
|
Altreus
| which means even though the expression looks immutable I could have used s/// on it ... which makes me feel like I could have got the mutated string more easily somehow | 17:57 |
| ← kvda left | 17:57 |
|
timotimo
| oh | 17:57 |
|
| m: my $a = " HELLO "; $a.lc.trim ~~ s/ll/0/; say $a; | 17:58 |
|
camelia
| rakudo-moar 130cc8178: OUTPUT: «Cannot modify an immutable Str (hello) in block <unit> at <tmp> line 1» | 17:58 |
|
timotimo
| you can not use s/// there | 17:58 |
|
| it binds to $_ rather than assigning to it | 17:58 |
|
Altreus
| That's a concept I'm still trying to get installed into firmware | 17:59 |
| → n0tjack joined | 17:59 |
| p6bannerbot set mode: +v | 18:00 |
| → mod_cure joined | 18:02 |
| ← jmerelo left | 18:02 |
| p6bannerbot set mode: +v | 18:02 |
|
timotimo
| binding and first-class lvalues is quite a thing | 18:03 |
| ← zakharyas left | 18:05 |
| → zakharyas joined | 18:07 |
| ← tokomer left | 18:07 |
| p6bannerbot set mode: +v | 18:08 |
| → molaf joined | 18:08 |
| p6bannerbot set mode: +v | 18:09 |
| → Sigyn joined | 18:09 |
| p6bannerbot set mode: +v | 18:09 |
| mst set mode: +o | 18:09 |
|
mst
| AlexDaniel: if sigyn eats a bot, you can '/msg sigyn unkline nick' while +o, or you can pok me or other staff in #freenode | 18:09 |
| ← Sauvin left | 18:18 |
| → robertle joined | 18:24 |
| p6bannerbot set mode: +v | 18:25 |
| n0tjack → n0tjack_ | 18:26 |
| n0tjack_ → n0tjack | 18:27 |
| n0tjack → n0tjack_ | 18:27 |
| → pecastro joined | 18:28 |
| n0tjack_ → n0tjack | 18:29 |
| n0tjack → n0tjack_ | 18:29 |
| p6bannerbot set mode: +v | 18:29 |
| ← domidumont1 left | 18:40 |
| n0tjack_ → n0tjack | 18:40 |
| n0tjack → n0tjack_ | 18:40 |
| ← tobs` left | 18:41 |
| ← troys left | 18:42 |
| → lucasb joined | 18:47 |
| p6bannerbot set mode: +v | 18:47 |
| → pmurias joined | 18:49 |
| p6bannerbot set mode: +v | 18:49 |
| ← zakharyas left | 18:50 |
| → laminowany joined | 18:52 |
| p6bannerbot set mode: +v | 18:53 |
|
mst
| heh | 18:54 |
|
| weird connections, 2018 edition: somebody I was talking to from a completely unrelated channel is about to wave at Dan Sugalski from me | 18:54 |
| → ryn1x joined | 18:55 |
| p6bannerbot set mode: +v | 18:55 |
|
[Coke]
| oh, hi dan. | 18:56 |
| ← alcinous1 left | 19:00 |
| n0tjack_ → n0tjack | 19:04 |
|
tony-o
| | 19:04 |
| ← ExtraCrispy left | 19:07 |
|
Kaiepi
| finally got zef reinstalled! | 19:07 |
|
| the problem was a segfault in the code i was writing that was silent | 19:07 |
|
mst
| Crouching Tiger, Hidden Segfault | 19:09 |
|
pirateFinn
| mst: Compiling Tiger, Hidden Segfault | 19:10 |
|
| Currently lacking more amusing words that sound like Tiger | 19:11 |
|
buggable
| New CPAN upload: LibUUID-0.2.tar.gz by CTILMES https://cpan.metacpan.org/authors/id/C/CT/CTILMES/Perl6/LibUUID-0.2.tar.gz | 19:11 |
|
tadzik
| timer? | 19:11 |
| ← lucasb left | 19:13 |
| → boris joined | 19:19 |
| p6bannerbot set mode: +v | 19:19 |
|
boris
| bye | 19:19 |
| ← boris left | 19:19 |
| ← atweiden-air left | 19:23 |
| n0tjack → n0tjack_ | 19:34 |
| ← ferreira left | 19:37 |
|
leont
| Honestly, that ticket is harmful and depressing | 19:42 |
|
| And embarrassing | 19:42 |
| ← fake_space_whale left | 19:44 |
| n0tjack_ → n0tjack | 19:45 |
| n0tjack → n0tjack_ | 19:45 |
|
leont
| I'm not sure what's going on in people's heads, but IMNSHO closing it until everyone can adult again would be preferable over letting this continue | 19:45 |
| → IAAEPD9 joined | 19:49 |
| ← rindolf left | 19:49 |
|
jdv79
| where's dan | 19:50 |
|
| i went to a parrot talk of his at mit way back in the day. so long ago. | 19:50 |
|
tony-o
| leont: #33 ? | 19:52 |
|
| lizmat will not be the one closing #33 | 19:53 |
|
El_Che
| link? | 19:53 |
|
| the old perl5 tracker thingie? | 19:53 |
|
tony-o
| it's issue #33 on the gh rakudo repo | 19:53 |
|
El_Che
| thx | 19:53 |
|
mst
| https://github.com/perl6/user-experience/issues/33 | 19:53 |
|
tony-o
| mst++ | 19:53 |
|
El_Che
| ow | 19:54 |
|
| it looks like a reddit discussion | 19:54 |
|
leont
| 317 people including me could technically do just that, I just don't quite feel like I have to mandate to do so by myself | 19:54 |
|
mst
| El_Che: the reddit threads have been much more pleasant tbh. | 19:54 |
|
El_Che
| yeah, you and stmuk agreeing and all | 19:55 |
|
| it's christmas time already | 19:55 |
|
mst
| that or the apocalypse | 19:55 |
|
| or given the drama llama infestation, possibly the alpacalypse | 19:56 |
|
tony-o
| lol | 19:56 |
|
El_Che
| after 1 too many family come together I kind of wish for the apocalyps | 19:56 |
| ← ryn1x left | 19:56 |
|
masak
| this is #perl6, we don't do Apocalypses | 19:58 |
|
jdv79
| what do we do then? | 19:58 |
|
El_Che
| drama | 19:59 |
| → dct joined | 19:59 |
| p6bannerbot set mode: +v | 19:59 |
|
mst
| which day was bingo again? | 19:59 |
|
El_Che
| thursday mostly except when it's fajita evening | 19:59 |
|
| does php5 era code run unaltered on php7? | 20:00 |
|
| asking for a friend | 20:00 |
|
jdv79
| i doubt it | 20:00 |
|
El_Che
| "damn", she exclaims | 20:01 |
|
jdv79
| got tests? :) | 20:01 |
|
| it might be small changes | 20:01 |
|
| *only* | 20:01 |
|
mst
| I've got to admit, that thread basically seenms to be "a bunch of people very clearly need to have a conversation ... but really aren't in a mental state where they can have that conversation constructively currently" | 20:02 |
|
El_Che
| it's actually a third party app: http://cnmonitor.sourceforge.net/ | 20:02 |
|
| needs php5 according to the doc, but I see sec support end in december for php5 | 20:02 |
|
| (I could run centos, they will support it for ever :) ) | 20:02 |
| n0tjack_ → n0tjack | 20:02 |
|
El_Che
| s/I/she/ :) | 20:03 |
|
jdv79
| i'd just try it | 20:03 |
|
| php is a shit storm overall though so good luck | 20:03 |
| → rindolf joined | 20:03 |
|
El_Che
| yeah, I want to move it to a container, but I need to figure how to add support for SAML or OpenID-connect | 20:03 |
|
| probably through a apache module in front | 20:04 |
| p6bannerbot set mode: +v | 20:04 |
| ← n0tjack left | 20:04 |
| → n0tjack joined | 20:04 |
|
jdv79
| i've never had less fun than when i php | 20:05 |
| p6bannerbot set mode: +v | 20:05 |
|
El_Che
| jdv79: the time I used php was for calling a perl5 script with an include :) | 20:05 |
|
jdv79
| that sums it up pretty much | 20:05 |
|
El_Che
| cgi on the cheap | 20:05 |
|
| :) | 20:05 |
| → silug joined | 20:06 |
| p6bannerbot set mode: +v | 20:07 |
| ← dct left | 20:07 |
|
leont
| I closed it. foregiveness > persmission | 20:09 |
|
SmokeMachine
| How can I make my custom sequence, when `my @a = MyCustomSequence.new` make @a be lazy? | 20:09 |
|
Geth
| ¦ ecosystem: shintakezou++ created pull request #415: Add Xmav::JSON to ecosystem | 20:10 |
|
| ¦ ecosystem: review: https://github.com/perl6/ecosystem/pull/415 | 20:10 |
|
leont
| my @a := MyCustomSequence.new is the easiest way I think | 20:11 |
|
El_Che
| Without going into the core issue (I have vent my opinion), one must wonder how silly we must look from the outside | 20:11 |
|
SmokeMachine
| m: my @a = Seq.new: ^Inf .iterator; say @a.is-lazy # like this, but not with Seq... | 20:11 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «True» | 20:11 |
|
El_Che
| s/vent/vented/ | 20:11 |
|
mst
| happily I don't think the outside is really paying attention | 20:11 |
|
SmokeMachine
| m: my @a = class :: does Sequence { method iterator { ^Inf .iterator } }.new; say @a.is-lazy # like this, but not with Seq... | 20:12 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «False» | 20:12 |
|
El_Che
| mst: you're making it worse :) | 20:12 |
|
| mst: luckily for you, p5p seems to be less heated nowadays | 20:12 |
| → zakharyas joined | 20:14 |
| p6bannerbot set mode: +v | 20:14 |
|
AlexDaniel
| leont++ # emotions are indeed too high | 20:14 |
|
El_Che
| I think a cooling period is in order indeed, but ignoring the real problems is not a solution either. Luckily, it does not looks like a people problem to me, even if everyone seems entrenched in his/her position. | 20:18 |
|
| The worst short term outcome is people burning out and leaving | 20:18 |
| → patrickas joined | 20:18 |
| p6bannerbot set mode: +v | 20:18 |
|
stmuk_
| El_Che: wrt to star answer. I put a RC tarball link on the channel several days ago but (rather like 6.d) it was lost in the noise | 20:18 |
|
El_Che
| it looks damn close to me | 20:18 |
| → ferreira joined | 20:19 |
|
El_Che
| stmuk_: mea culpa indeed. Sorry for my part of the noise. | 20:19 |
|
stmuk_
| http://pl6anet.org/drop/rakudo-star-2018.10-RC1.tar.gz | 20:19 |
|
El_Che
| thx, so we can inform star users asing about it | 20:19 |
|
AlexDaniel
| yeah, concerns and options should be discussed, but it does not seem to be possible right now | 20:19 |
|
stmuk_
| I'll probably firm up and build binaries over the w/e | 20:20 |
| p6bannerbot set mode: +v | 20:20 |
|
SmokeMachine
| m: my @a = Seq.new: ^Inf .iterator; my @b = class :: does Sequence { method iterator { ^Inf .iterator } }.new; say [@a.is-lazy, @b.is-lazy] | 20:20 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «[True False]» | 20:20 |
|
SmokeMachine
| why @a is las and @b isn't? | 20:20 |
|
stmuk_
| (unrelated to current events since it was mentioned earlier in the year this will be my last star release for a while) | 20:20 |
|
AlexDaniel
| stmuk_++ # thank you for your work | 20:21 |
|
El_Che
| stmuk_: I hoped it was a heat of the moment decision and you'd reconsider. Whatever you do, thx for the work | 20:21 |
| ← sacomo left | 20:21 |
|
jdv79
| mst: except it was (is?) on hackernews | 20:23 |
|
mst
| the 6.d release announcement was | 20:23 |
|
jdv79
| but meh | 20:23 |
|
mst
| I've not seen significant attention to the arguments | 20:23 |
|
jdv79
| yeah, a handful of comments | 20:24 |
|
El_Che
| mst: it's completely gibberish from the ouside, as we don't even agree on the problem how can we get the solution right | 20:24 |
| ← holyghost left | 20:24 |
|
El_Che
| funny how that is a good thing PR wise in this case | 20:24 |
| → holyghost joined | 20:25 |
| p6bannerbot set mode: +v | 20:26 |
|
tony-o
| stmuk_++ | 20:26 |
|
El_Che
| stmuk_: do you pass star to a new maintainer? | 20:27 |
|
leont
| Yeah the release announcement contained a fair amount of gibberish. A clear case of "we haven't done this before". | 20:27 |
|
| It's a long list of titles without explanation. Some are grokkable by themselves, many are not. | 20:28 |
| → sacomo joined | 20:28 |
| p6bannerbot set mode: +v | 20:29 |
|
stmuk_
| El_Che: I have a nice hat here with a star on it | 20:32 |
|
| El_Che: would suit you sir! | 20:32 |
|
| :> | 20:32 |
|
El_Che
| hehe, I wasn't applying for the job :) | 20:33 |
| n0tjack → n0tjack_ | 20:33 |
| → niceperl joined | 20:33 |
| p6bannerbot set mode: +v | 20:34 |
| ← patrickas left | 20:36 |
|
SmokeMachine
| m: my @a = Seq.new: ^Inf .iterator; my @b = class :: does Sequence { method is-lazy { True }; method iterator { ^Inf .iterator } }.new; say [@a.is-lazy, @b.is-lazy] | 20:39 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «[True False]» | 20:39 |
| ← niceperl left | 20:43 |
| → niceperl joined | 20:46 |
| ← niceperl left | 20:46 |
| ← scott left | 20:47 |
| ← mithaldu_ left | 20:47 |
| ← spycrab0 left | 20:47 |
| ← SmokeMachine left | 20:47 |
| ← iviv left | 20:47 |
| → scott joined | 20:47 |
| ← olinkl left | 20:47 |
| p6bannerbot set mode: +v | 20:47 |
| → SmokeMachine joined | 20:48 |
| p6bannerbot set mode: +v | 20:48 |
| → iviv joined | 20:48 |
| → spycrab0 joined | 20:48 |
| p6bannerbot set mode: +v | 20:48 |
| p6bannerbot set mode: +v | 20:48 |
| ← jhill left | 20:48 |
| ← chansen___ left | 20:48 |
| ← timeless left | 20:48 |
| ← kipd left | 20:48 |
| → olinkl joined | 20:48 |
| p6bannerbot set mode: +v | 20:48 |
| ← susmus left | 20:49 |
| → jhill joined | 20:49 |
| p6bannerbot set mode: +v | 20:49 |
| → mithaldu_ joined | 20:49 |
| p6bannerbot set mode: +v | 20:49 |
| → kipd joined | 20:49 |
| p6bannerbot set mode: +v | 20:49 |
| → chansen___ joined | 20:50 |
| p6bannerbot set mode: +v | 20:50 |
| → susmus joined | 20:50 |
| → timeless joined | 20:50 |
| p6bannerbot set mode: +v | 20:50 |
| p6bannerbot set mode: +v | 20:51 |
| ← pmichaud left | 20:53 |
| → pmichaud joined | 20:53 |
| ← |oLa| left | 20:54 |
|
masak
| m: say "netsplit" | 20:54 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «netsplit» | 20:54 |
| p6bannerbot set mode: +v | 20:54 |
|
masak
| m: say "net" ~ "split" | 20:54 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «netsplit» | 20:54 |
|
timotimo
| m: say "net".split() | 20:55 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «Cannot resolve caller split(Str: ); none of these signatures match: (Str:D: Regex:D $pat, $limit is copy = Inf;; :$v is copy, :$k, :$kv, :$p, :$skip-empty, *%_) (Str:D: Str(Cool) $match;; :$v is copy, :$k, :$kv, :$p, :$skip-empty, *%_) …» | 20:55 |
|
timotimo
| m: say "net".split("") | 20:55 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «( n e t )» | 20:55 |
|
jdv79
| The Net was from another time | 20:55 |
| → |oLa| joined | 20:56 |
| p6bannerbot set mode: +v | 20:56 |
|
masak
| m: say "net".comb | 20:57 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «(n e t)» | 20:57 |
|
jdv79
| what's the diff for in the output? | 20:58 |
|
timotimo
| empty string in the front and back | 20:58 |
|
masak
| split cares about gaps, and there are gaps at the ends | 20:59 |
|
| comb cares about the characters, and there are only three of those | 20:59 |
|
timotimo
| welcome to the interнет | 20:59 |
|
jdv79
| the "gist" output isn't very clear in that case | 20:59 |
|
| the .perl version is much more clear | 21:00 |
|
| whatever | 21:00 |
|
masak
| Python kinda has a point there, defaulting to some variant of .perl | 21:00 |
|
| or rather, the REPL always prints the repr() of things, but print an array and all its contents is repr()'d | 21:01 |
|
jdv79
| i get it. such is the gist tradeoff. | 21:01 |
|
timotimo
| we should perhaps move to using put almost all the time on here | 21:01 |
|
jdv79
| but a newbie will be confused | 21:01 |
|
timotimo
| to hammer it into our branes | 21:01 |
|
| m: put "net".split("") | 21:01 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: « n e t » | 21:01 |
|
timotimo
| that's even worse! | 21:01 |
|
masak
| heh | 21:01 |
|
jdv79
| i can see this being in a faq "did you try .perl?" | 21:01 |
|
masak
| Perl 6 has way to many was to stringify things | 21:02 |
|
| ways* | 21:02 |
|
jdv79
| meh, they are kinda good in specific cases | 21:02 |
|
timotimo
| oh hey masak | 21:02 |
|
| i have a question for you | 21:02 |
|
AlexDaniel
| branes xD | 21:02 |
|
timotimo
| since you tend to be quite good at explaining stuff, and know a whole bunch | 21:02 |
|
jdv79
| maybe it should switch the stringification method contextually? :) | 21:02 |
|
timotimo
| what are the DWIMs and WATs of Any's "i'll behave as a list of a single item" behaviour? | 21:03 |
|
| i seem to barely ever stumble upon that in actual code i write | 21:03 |
|
| so when someone on twitter exclaimed "omgwtfbbq" i wasn't able to immediately give good examples of the trade-offs involved | 21:04 |
| ← TimToady left | 21:08 |
| → TimToady joined | 21:16 |
| p6bannerbot set mode: +v | 21:16 |
| → bodkan joined | 21:29 |
| p6bannerbot set mode: +v | 21:29 |
| ← bodkan left | 21:33 |
| ← random_yanek left | 21:35 |
| → alcinous1 joined | 21:41 |
| p6bannerbot set mode: +v | 21:42 |
| → kdr22 joined | 21:47 |
| p6bannerbot set mode: +v | 21:47 |
| ← laminowany left | 21:48 |
| ← kdr21 left | 21:49 |
|
SmokeMachine
| m: my @a = Seq.new: ^Inf .iterator; my @b = class :: does Sequence { method iterator { ^Inf .iterator } }.new.cache; say [@a.is-lazy, @b.is-lazy] | 21:50 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «[True True]» | 21:50 |
| → random_yanek joined | 21:50 |
|
SmokeMachine
| shuldn't PositionalBindFailover call `.cache` on `@b = SomeKindOfSequence.new`? | 21:51 |
| p6bannerbot set mode: +v | 21:51 |
| → kurahaupo joined | 21:55 |
| p6bannerbot set mode: +v | 21:56 |
| → niceperl joined | 21:59 |
| p6bannerbot set mode: +v | 21:59 |
| ← zakharyas left | 22:01 |
| ← robertle left | 22:05 |
| ← alcinous1 left | 22:06 |
|
Xliff
| help, please? :) https://gist.github.com/Xliff/eb76df40cca74aaa829687ccd1e8e082 | 22:16 |
| ← stmuk_ left | 22:27 |
| → lucasb joined | 22:27 |
| p6bannerbot set mode: +v | 22:28 |
| → ryn1x joined | 22:44 |
|
SmokeMachine
| m: class A does Sequence { method iterator is rw { ^Inf .iterator }; method cache {1, 2, 3} }; my @a = A.new; say @a # should it be a array of a list or just a list? | 22:44 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «[(1 2 3)]» | 22:44 |
| p6bannerbot set mode: +v | 22:45 |
|
lucasb
| well, since the heated issue was closed and the weather looks calmer now I plan to submit a issue requesting a wiki, ok? It has nothing to do with naming, so no troubles :) | 22:48 |
|
| done here: https://github.com/perl6/user-experience/issues/34 | 22:50 |
|
ryn1x
| Is there a dynamic variable that shows if you are using v6.c from v6.d? | 22:52 |
|
| m: use v6.c; say $*PERL; | 22:52 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «Perl 6 (6.c)» | 22:52 |
|
ryn1x
| m: use v6.d; say $*PERL; | 22:52 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «Perl 6 (6.d)» | 22:52 |
|
ryn1x
| oh... | 22:52 |
|
| maybe it just doesnt work in the REPL... | 22:53 |
|
SmokeMachine
| m: class A does Sequence { method iterator is rw { ^Inf .iterator } }; my @a = A.new; say @a # is it expected? | 22:53 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «[(...)]» | 22:53 |
|
SmokeMachine
| shouldn't be [...]? | 22:54 |
| ← lucasb left | 22:57 |
|
timotimo
| i think it needs to be Iterable to be "extracted" into the array | 22:58 |
|
SmokeMachine
| that's what I don't want... | 23:00 |
|
| Id like something like Seq... | 23:00 |
|
| m: my @a = Seq.new: ^Inf .iterator; say @a[0] | 23:00 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «0» | 23:00 |
|
timotimo
| m: say Seq.^mro | 23:01 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «((Seq) (Cool) (Any) (Mu))» | 23:01 |
|
timotimo
| m: say Seq.^mro(:all) | 23:01 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «Unexpected named argument 'all' passed in block <unit> at <tmp> line 1» | 23:01 |
|
timotimo
| m: say Seq.^roles | 23:01 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «((Sequence) (PositionalBindFailover) (Iterable))» | 23:01 |
|
SmokeMachine
| PositionalBindFailover makes the trick | 23:01 |
|
timotimo
| see, Sequence doesn't imply Iterable | 23:01 |
| ← pmurias left | 23:01 |
|
SmokeMachine
| https://rakudo.party/post/Perl-6-Seqs-Drugs-and-Rock-n-Roll#stashintothecache | 23:02 |
|
| m: say Sequence.does: PositionalBindFailover | 23:02 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «True» | 23:02 |
|
timotimo
| assignment isn't binding | 23:02 |
|
| the PBF will happen when you pass something to a function or method for example if there's an @-sigiled parameter | 23:03 |
|
SmokeMachine
| m: my @a = Seq.new: ^Inf .iterator | 23:03 |
|
camelia
| rakudo-moar cbbe16edd: ( no output ) | 23:03 |
|
SmokeMachine
| m: my @a := Seq.new: ^Inf .iterator | 23:03 |
|
camelia
| rakudo-moar cbbe16edd: OUTPUT: «Type check failed in binding; expected Positional but got Seq (?) in block <unit> at <tmp> line 1» | 23:03 |
|
SmokeMachine
| timotimo: I think the name is bind, but it works for assignment... ^^ | 23:04 |
|
timotimo
| perhaps it only works for the binding we have for signatures | 23:04 |
|
ryn1x
| Is it possible to `use v6.c` in the repl? | 23:04 |
|
SmokeMachine
| m: my @a = Seq.new: ^Inf .iterator # timotimo: here its working... | 23:05 |
|
camelia
| rakudo-moar cbbe16edd: ( no output ) | 23:05 |
|
SmokeMachine
| timotimo: thanks! | 23:07 |
| → stmuk_ joined | 23:12 |
| p6bannerbot set mode: +v | 23:12 |
| ← ryn1x left | 23:16 |
|
Xliff
| help, please? :) https://gist.github.com/Xliff/eb76df40cca74aaa829687ccd1e8e082 | 23:21 |
| ← niceperl left | 23:23 |
| ← lichtkind left | 23:26 |
| → stmuk joined | 23:35 |
| p6bannerbot set mode: +v | 23:36 |
| ← stmuk_ left | 23:37 |
|
Xliff
| Nevermind. Figured it out. | 23:41 |
| ← pecastro left | 23:41 |
|
Xliff
| Post updated with solution -- https://gist.github.com/Xliff/eb76df40cca74aaa829687ccd1e8e082 | 23:52 |