»ö« 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
|
|||
SmokeMachine | This way I can pass a “join” model instead of a real model... to make it easier to join... | 00:00 | |
vrurg | SmokeMachine: except that I'd expect it to be :model(MyModel)? Or do you do string resolution into a model type? | ||
Wow, I see! That'd probably would speed up some actions. | 00:01 | ||
SmokeMachine | It already do the string resolution because of the lazy load... but it will accept the Model obj type as well... | ||
vrurg | My biggest disappointemnt, so far is that there is a bug in rakudo with run-away closures. It breaks so many things around. :( | 00:02 | |
SmokeMachine | vrurg: yes, probably... | ||
00:02
reportable6 joined,
ChanServ sets mode: +v reportable6,
kiwi_65 joined
|
|||
SmokeMachine | Yes... if it’s the bug I’m thinking of... I had to change a lot of stuff on Red to make it possible to remove the ‘no precompilation’ because of that... | 00:03 | |
discord6 | <Aearnus> what's the syntax for coercing an argument to a type again | 00:05 | |
vrurg | SmokeMachine: I think it's the one. | ||
discord6 | <Aearnus> sub f(Str(IO::Path) $s) or something like that? | ||
vrurg | Aearnus: yes, it's the syntax | ||
SmokeMachine | vrurg: I’m thinking of, on this api change, remove the red-do from experimentation and add it to core... what do you think? | 00:06 | |
vrurg | SmokeMachine: why asking? My idea, your code. ;) Anybody disagree? Any one?? No? Ok! :D :D :D | 00:07 | |
SmokeMachine | :D | ||
00:09
leont left,
[particle]1 joined
00:10
TeamBlast left
00:11
[particle] left
00:15
[particle] joined
00:16
[particle]1 left
00:17
[particle]1 joined
00:19
[particle] left
00:23
Cabanossi left,
[particle] joined,
MilkmanDan left
00:24
Cabanossi joined
00:25
[particle]1 left
00:29
MilkmanDan joined
00:39
[particle]1 joined
00:41
[particle] left
00:56
[particle] joined
00:57
[particle]1 left
01:00
[particle] left
01:01
TeamBlast joined
01:03
[particle] joined
01:06
MasterDuke left
01:08
[particle] left
01:09
[particle] joined
01:19
lucasb left
01:40
molaf left,
nepugia_ joined,
nepugia left
01:49
ravenous_ joined
01:51
ChoHag left
01:52
molaf joined
01:53
ravenous_ left
01:55
nepugia_ left
01:58
ChoHag joined
02:04
Manifest0 left,
Manifest0 joined
|
|||
cpan-p6 | New module released to CPAN! Tomty (0.0.2) by 03MELEZHIK | 02:05 | |
02:08
[particle]1 joined
02:10
[particle] left
02:11
[particle] joined
02:13
[particle]1 left
02:15
cpup joined
02:26
cpan-p6 left,
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
02:29
Cabanoss- joined
02:30
Cabanossi left,
Cabanoss- is now known as Cabanossi
02:39
mahafyi left
02:49
[particle] left
02:50
[particle] joined
02:58
kaare_ left
03:02
stanleytam joined
03:07
squashable6 left,
squashable6 joined,
ChanServ sets mode: +v squashable6
03:10
kiwi_65 left
03:21
[Sno] joined
03:32
kst left
03:42
stanleytam left
03:50
Sgeo__ joined
03:52
Sgeo_ left
04:01
[Sno] left
|
|||
Geth | doc: e2effd77f8 | Alexander++ (committed using GitHub Web editor) | doc/Language/regexes.pod6 Literals and metacharacters: layout correction, introduction of new examples, minor corrections (#2957) |
04:01 | |
synopsebot | Link: doc.perl6.org/language/regexes | ||
04:06
[particle]1 joined
04:09
[particle] left
04:15
[particle]1 left,
[particle] joined
04:18
TeamBlast is now known as TeamBlast_
04:20
TeamBlast joined
04:21
TeamBlast_ left
04:24
rindolf joined,
aborazmeh joined,
aborazmeh left,
aborazmeh joined
04:27
MilkmanDan left
04:28
MilkmanDan joined
04:29
TeamBlast left,
Circlepuller joined
04:30
Circlepuller is now known as TeamBlast
04:36
[particle] left
04:39
[particle] joined
04:40
TeamBlast left,
curan joined
04:47
TeamBlast joined
04:53
kst joined
|
|||
aearnus[m] | m: my @cmd; my @args; qqx( { @cmd } { @args } ) | 04:59 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Unable to parse expression in argument list; couldn't find final ')' (corresponding starter was at line 1) at <tmp>:1 ------> 3my @cmd; my @args; qqx( { @cmd }7⏏5 { @args } ) expecting a… |
||
aearnus[m] | is that ^^^ right or can you not use `()` as string delimiters | 05:00 | |
aha, the docs explain it. nvm nvm! | 05:03 | ||
05:17
sauvin joined,
aborazmeh left
05:21
molaf left
05:33
robertle left
|
|||
aearnus[m] | is there any way to make a class in a module that has the same name? like, I want to be able to import the `NSJail` class from the `NSJail` module | 05:35 | |
(I know I could do `NSJail::NSJail` but that's ugly) | |||
06:00
reportable6 left
06:01
reportable6 joined
06:19
fake_space_whale left,
ravenous_ joined
06:24
ravenous_ left
06:41
rba left
06:42
rba joined
06:45
rba left,
rba joined
06:53
Cabanossi left
06:59
Cabanoss- joined
07:05
domidumont joined
07:20
leont joined
07:27
sena_kun joined
07:28
sena_kun left
07:40
giraffe left,
giraffe joined
07:45
leont left
|
|||
Kaiepi | aearnus[m], sub EXPORT is probably what you're looking for | 07:51 | |
aearnus[m] | Kaiepi, what do you mean? | 07:52 | |
I just haven't seen that before | |||
Kaiepi | something like this hastebin.com/osihabifer.pl | 07:53 | |
i think this would let you `use NSJail` and have NSJail point to the class, but i'm not sure, i haven't used it in this way | 07:54 | ||
aearnus[m] | Ahh, didn't know that was something you could do | ||
Kaiepi | yeah, that works | 07:55 | |
08:08
ravenous_ joined
|
|||
Geth | doc: 2d210b68d9 | (Luis F. Uceta)++ | 7 files Proofread some documents Changes mostly involve text reflow, whitespace and correcting minor typos. |
08:11 | |
doc: cab26672cf | (Luis F. Uceta)++ | 2 files Add changes as requested |
|||
doc: ec374a60e4 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | 7 files Merge pull request #2955 from uzluisf/doc-proofreading Proofread some documents |
|||
08:12
ravenous_ left
08:16
robertle joined
08:21
dolmen joined
08:28
[particle]1 joined
08:30
[particle] left
08:40
zakharyas joined
08:45
sena_kun joined
09:00
scimon joined
|
|||
scimon | Morning. | 09:00 | |
aearnus[m] | o/ | ||
SmokeMachine | morning! | 09:04 | |
lizmat clickbaits p6weekly.wordpress.com/2019/08/19/...were-back/ | 09:07 | ||
tellable6 | 2019-08-19T23:06:25Z #perl6 <tbrowder> lizmat great catchup weekly! | ||
2019-08-19T23:53:05Z #perl6-dev <SmokeMachine> lizmat what event name would make you go? | |||
09:08
Maylay left
|
|||
scimon | Read the weekly last night and this morning (and watch the Demythtfying talk) all good. | 09:09 | |
09:09
Maylay joined
|
|||
scimon | I had a thought of something I can do if/when we rename I'll take the job of adding the new tag to all the stack overflow questions. | 09:10 | |
lizmat | scimon: I understand there are maintainer tools for that to make that a lot easier | 09:11 | |
aearnus[m] | So many little edge cases to handle. Who's going to change the Wikipedia article? | ||
lizmat | aearnus[m]: someone | ||
aearnus[m] | :) | 09:13 | |
kawaii | for anyone interested, I'm going to throw together a pre-release of Rakudo Star 2019.07.1 since it doesn't look like there's anything happening in that regards | 09:17 | |
El_Che | kawaii: there were a few people asking about it, so they'll be glad :) | 09:19 | |
scimon | lizmat: Awesome! Still. I'll take stack overflow and once that's done will see what else I can help with. Assuming of course it's decided we're going to do it. I don't want to preempt things. | 09:20 | |
lizmat | ++scimon | 09:21 | |
09:22
zakharyas left
|
|||
sena_kun | lizmat++, a great weekly! # "I joined #prl6-dev" <- typo | 09:29 | |
"Meta-c omputation" <- redundant whitespace | 09:30 | ||
09:32
pat_js joined
|
|||
lizmat | sena_kun++ # both fixed | 09:32 | |
sena_kun | \o/ | ||
09:40
camelia left
09:42
camelia joined,
zakharyas joined
09:43
ChanServ sets mode: +v camelia
09:52
pilne left
10:01
zakharyas left
|
|||
scimon | Is the only way to check if a Rat is going to give a divide by 0 error to check .denominator ? Is it worth adding a .safe (or some other name) method that gives False if the denominator is 0? | 10:03 | |
jnthn | I think probably just checking the denominator is 0 is clear enough | 10:05 | |
scimon | Yeah... I guess I would like to type less ;) | ||
lizmat | m: my $a = 42/0; dd +$a # sorta expected to see a Failure there | 10:06 | |
camelia | <1/0> | ||
scimon | Ah but dd is special magic. | ||
jnthn | + is surely identity on a Rat :) | ||
But yes, the actual division is delayed | |||
scimon | I think dd is using .perl which is fine it's the Str coercion that blows stuff up. | 10:07 | |
jnthn | Right, it has to do the division then | ||
scimon | (I'm just working on the list of cool stuff to tell people about [INSERT LANGUAGE NAME HERE]. | ||
lizmat | I was sorta expecting you could use prefix:<+> in combination with `with` as a quick way to see if a Rat is valid | 10:08 | |
aka, +Rat would check the denominator for you | |||
scimon | (I'm currently making the, probably futile, attempt to get Perl6 accepted as at least a potential language to make stuff in at Work.) | 10:12 | |
10:27
squashable6 left
|
|||
woolfy | In case people are still a bit happy that Perl 6 entered the Tiobe index at #93, be sad that Perl 6 dropped out of the top 100 already. tiobe.com/tiobe-index/ | 10:27 | |
Languages that are in the Tiobe Index on place 51-100, listed in alphabetical order: (Visual) FoxPro, 4th Dimension/4D, ABC, Alice, BBC BASIC, bc, Bourne shell, C shell, CL (OS/400), Clipper, Clojure, CoffeeScript, Common Lisp, Crystal, cT, Erlang, Euphoria, Factor, Forth, Icon, Inform, Io, J, Korn shell, LabVIEW, Ladder Logic, LiveCode, Maple, Mercury, ML, Monkey, MQL4, MS-DOS batch, NATURAL, OpenCL, OpenEdge ABL, Oz, PL/I, Ring | 10:29 | ||
tadzik | given how obscure these are, I can't believe Perl 6 is not more popular than this, whatever your measure of popularity might be | 10:30 | |
make it seems like TIOBE is just not very good at distinguishing Perl and Perl 6 | |||
we'll see when Raku comes around... ;) | |||
woolfy | tadzik: any article that Google can find should have "Perl 6 programming" in it: tiobe.com/tiobe-index/programming-...efinition/ | 10:31 | |
tadzik: I think most people only write "Perl 6", "Perl6", "Rakudo Perl 6", and therefore any news about Perl 6 will not be picked up by Tiobe. | 10:32 | ||
10:32
squashable6 joined
|
|||
tadzik | woolfy: yeah, I'm not a big fan of their methodology either :) | 10:35 | |
10:38
ravenous_ joined,
Black_Ribbon left
|
|||
woolfy | tadzik : it is not very important to be a big fan of Tiobe or not. It seems that quite a lot of people use it as a means to qualify or disqualify a programming language for their new projects. To have a programming language acceptable to be used inside their company. | 10:39 | |
It's a bit like people who do not believe in gravity: jump of a building and you will fall down, gravity doesn't care if you are a fan or not. ;-) | |||
10:42
ravenous_ left
|
|||
Geth | doc/regexes: df1297024f | threadless-screw++ | doc/Language/regexes.pod6 Rewrite of regexes-lexical conventions section |
10:44 | |
doc/regexes: 26b90051d4 | threadless-screw++ | doc/Language/regexes.pod6 wip |
|||
doc/regexes: e258b433e5 | threadless-screw++ | doc/Language/regexes.pod6 Expansion of Regexes:Lexical Conventions section: - intro clarifying 'regular expressions' and 'regexes'; - systematic treatment of anonymous and named regex definitions; - new subsection on common ways of matching regexes; |
|||
doc: tbrowder++ created pull request #2959: tidy grammar |
10:46 | ||
doc: a7e659eb4b | (Tom Browder)++ | doc/Language/regexes.pod6 tidy grammar |
10:49 | ||
synopsebot | Link: doc.perl6.org/language/regexes | ||
doc: 7496243939 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/regexes.pod6 Merge pull request #2959 from tbrowder/gram tidy grammar |
|||
doc: threadless-screw++ created pull request #2960: Regexes |
|||
10:51
dolmen left
|
|||
scimon | The "We won't use language X because it's not popular" circular argument is a thing. Unfortunately most businesses exist to make money and not train developers (or let devs do what they like). | 10:54 | |
So you get the vicious circle. No one pays people to write X so no one learns X because they can't get a job in it... sigh. | 10:55 | ||
Critical mass is the thing (and why having a niche and / or a killer app is important). | 10:56 | ||
Remember when everyone suddenly wanted to learn Ruby because Rails was a thing? (And then they killed it with their constant updates). | |||
tadzik | woolfy: you are correct :) | 10:57 | |
woolfy | scimon and tadzik : it still makes me sad when stuff like this is correct... | ||
I remember happily the time (I think it was the YAPC::Europe in Frankfurt) when we were sitting with a large group on the terrace in front of a restaurant, when masak arrived with the words "I found Perl 6 modules on darkpan" and we all rejoiced. | 10:59 | ||
(or something like that) | |||
tadzik | well, to get back to the gravity example: it doesn't matter if we like it or agree with it, it's the best model of reality that we currently have, and the best we can do is work with that :) | ||
11:11
veesh1 joined
11:23
dolmen joined
|
|||
scimon | Yup. | 11:39 | |
Thing is. I'm not going to stop banging this drum. Because it's the only way for it to work. Keep chipping away. | |||
Also point out "I thought you wanted autonomous teams?" (that one makes me laugh). | 11:40 | ||
Geth | problem-solving/path-to-raku: b9c597b3d7 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md Add mention of pragmas and other places needing adaptation. |
||
Ulti | scimon popularity isnt quite the same as highly adopted though | 11:54 | |
especially adopted for production softeng | 11:55 | ||
11:55
adu left
|
|||
lizmat | Whether you agree with this or not, a TIOBE listing means bankability of a language | 11:55 | |
we need bankability for Perl 6, because without it there will not be any commitment from companies using the language | |||
woolfy | -> Whether you agree with it or not, gravity means stuff falls down to Earth. | 11:56 | |
lizmat | and without commitment from companies, there will not be any jobs | ||
in Perl 6 | |||
nor will there be any money for grants | |||
12:00
reportable6 left,
scimon_ joined
12:01
reportable6 joined
12:03
scimon left
12:05
noisegul joined
|
|||
El_Che | woolfy: out of the top 100? autch | 12:10 | |
scimon_ | Ulti: You are not wrong. | 12:11 | |
Unfortunately perceived popularity can matter. | 12:12 | ||
12:12
scimon_ left,
scimon_ joined,
scimon_ left
12:13
scimon joined
12:14
sena_kun left,
sena_kun joined
|
|||
El_Che | and to be blunt we don't have perceived popularity nor hidden adoption | 12:18 | |
12:39
veesh1 left
|
|||
cpan-p6 | New module released to CPAN! App::AizuOnlineJudge (0.0.3) by 03TITSUKI | 12:46 | |
12:51
domidumont left,
domidumont1 joined
13:01
lucasb joined
13:03
pat_js left
|
|||
Ulti | yeah I would say perceived popularity is kind of more important in open source, its how you get adoption because people will try out the language and related libraries at home and then introduce their place of work to it when they see a fit | 13:04 | |
going straight for corporate adoption feels a little strained, how can you actually target that without a lot of investment in solving specific problems for them and putting it in the core language? | 13:05 | ||
and by investment I mean actual monetary investment and understanding of what problem space you'd take the language as a whole down... at that point it becomes more of a DSL for a task too | 13:06 | ||
13:06
pmurias joined
|
|||
Ulti | surely libraries are where one would expect adoption from companies | 13:06 | |
pmurias | tadzik: some of the languages on that top 50 list seem not that obscure | 13:09 | |
tadzik: like say CoffeScript | 13:11 | ||
tadzik | some, yes | ||
13:18
pmurias left,
pmurias joined
13:23
dolmen left
13:26
pmurias left
13:28
dolmen joined
13:31
mcmillhj joined,
curan left
13:40
nepugia joined,
pat_js joined
14:02
molaf joined
14:04
jtpalmer left
14:09
mcmillhj left
14:19
domidumont1 left
|
|||
Geth | problem-solving/path-to-raku: 87d43430ed | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md Separate next release from language release |
14:31 | |
14:34
pierrot_ joined
|
|||
Geth | problem-solving/path-to-raku: 535d778c66 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md Specify when "Perl 6" should be referenced |
14:34 | |
14:36
Guest93 left
14:37
Guest93 joined
|
|||
Geth | problem-solving/path-to-raku: dd6054cddd | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md NQP stays Not Quit Perl |
14:37 | |
problem-solving/path-to-raku: d14804e6b0 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md Elaborate a bit about changing external references |
14:40 | ||
14:42
HPWiz joined
|
|||
HPWiz | p6: say [\R+] 1…10; | 14:44 | |
camelia | (10 19 27 34 40 45 49 52 54 55) | ||
Geth | problem-solving/path-to-raku: ce377bd9c6 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md Remove mention of marketing repo We need new material, that's the important thing. Of course that will wind up in a repo. FWIW, I mentioned a new repo because I thought we had lost the repo with Zoffix' departure. |
14:45 | |
HPWiz | The output above is unexpected to me, R+ is the same as +. It seems to reverse the list, then [\+] | 14:46 | |
14:48
pmurias joined
|
|||
Geth | problem-solving/path-to-raku: 2f5794b458 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md Elaborated on special attention |
14:48 | |
problem-solving/path-to-raku: 1b89762c28 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md Elaborate on repo name changes and documentation changes |
14:53 | ||
¦ problem-solving: AlexDaniel assigned to JJ Issue Specify documentation URLs github.com/perl6/problem-solving/issues/93 | 14:55 | ||
14:56
pat_js left
|
|||
Geth | problem-solving/path-to-raku: 2b237b5ca8 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md Elaborate on effects on running sub-projects |
14:57 | |
AlexDaniel | HPWiz: you mean like this | ||
c: 2015.03 say [\R+] 1…10; | |||
committable6 | AlexDaniel, ¦2015.03: «1 3 6 10 15 21 28 36 45 55» | ||
AlexDaniel | c: 2015.04 say [\R+] 1…10; | ||
committable6 | AlexDaniel, ¦2015.04: «10 19 27 34 40 45 49 52 54 55» | ||
AlexDaniel | bisect: 2015.03,2015.04 say [\R+] 1…10; | ||
bisectable6 | AlexDaniel, Using old=2015.03 new=2015.04 in an attempt to DWIM | ||
AlexDaniel, Bisecting by output (old=2015.03 new=2015.04) because on both starting points the exit code is 0 | |||
HPWiz | Right, It also seems inconsistent | ||
p6: say [\R,] 1…10; | 14:58 | ||
bisectable6 | AlexDaniel, bisect log: gist.github.com/d6c57997b11764262d...f3018fbf1d | ||
AlexDaniel, (2015-03-29) github.com/rakudo/rakudo/commit/02...e408bede1b | |||
camelia | ((1) (2 1) (3 2 1) (4 3 2 1) (5 4 3 2 1) (6 5 4 3 2 1) (7 6 5 4 3 2 1) (8 7 6 5 4 3 2 1) (9 8 7 6 5 4 3 2 1) (10 9 8 7 6 5 4 3 2 1)) | ||
HPWiz | Is what I expect | ||
pmurias | lizmat: "A mention to Perl 6 should only occur | ||
" | |||
lizmat: which mention - the one mentioned above? | 14:59 | ||
robertle | reportable6: not sure this qualifies, not really about perl 6 but more using perl 6 for some other point: www.semistable.com/#104 | 15:02 | |
reportable6 | robertle, I cannot recognize this command. See wiki for some examples: github.com/perl6/whateverable/wiki/Reportable | ||
AlexDaniel | did you mean weekly: ? :) | ||
robertle | yes :) | ||
lizmat | weekly: www.semistable.com/#104 | 15:03 | |
notable6 | lizmat, Noted! (weekly) | ||
15:05
robertle left
|
|||
AlexDaniel | HPWiz: looking at the commit ( github.com/rakudo/rakudo/commit/02e1e998218 ) it seems like it is meant to work that way | 15:06 | |
HPWiz: so `1 R+ 2 R+ 3` is identical to `3 + 2 + 1` | 15:07 | ||
HPWiz | I can seem what it's doing now, but I don't like how the triangular reduce depends on the associativity of the function | ||
*see | |||
15:08
tharkun joined
15:10
kensanata joined
15:12
sauvin left
|
|||
AlexDaniel | anybody wants a perl6 puzzle? I have code that is relatively short but the resulting behavior makes no sense whatsoever | 15:15 | |
15:16
pmurias left
|
|||
AlexDaniel | it could be that I'm just being dumb, but I've been staring at the thing for quite some time and I still don't get it | 15:18 | |
15:18
imcsk8 left
|
|||
AlexDaniel | and yeah, I'm hoping that somebody will figure out that bug in tellable6 :) | 15:19 | |
15:19
HPWiz left
|
|||
kensanata | I have a different question: what does pl6anet.org/ run on? | 15:20 | |
AlexDaniel | kensanata: what do you mean? The server, the code, something else? | 15:21 | |
kensanata | AlexDaniel: I was hopping to get a URL to a git repo that describes a feed aggregator that creates static files because that's why I use myself but the software I use is Planet Venus which is written in Python 2 and I'd be interested in something that is written in Perl 6. | 15:22 | |
AlexDaniel | kensanata: github.com/stmuk/pl6anet.org | 15:23 | |
kensanata | AlexDaniel: Thanks! | 15:24 | |
AlexDaniel | kensanata: now you help me :D | ||
15:25
sauvin joined
|
|||
AlexDaniel | so what I have is this github.com/perl6/whateverable/blob...ble.p6#L74 | 15:25 | |
basically, the idea behind that line is that if you .tell to somebody and they reply immediately, the message won't be delivered | |||
and you can see that in action here: colabti.org/irclogger/irclogger_lo...08-20#l116 | |||
so it works, right? | |||
15:25
imcsk8 joined
|
|||
AlexDaniel | except that a few minutes later it delivers these messages anyway: colabti.org/irclogger/irclogger_lo...08-20#l136 | 15:26 | |
I have no explanation to that besides time travel | |||
15:26
pamplemousse joined
|
|||
AlexDaniel | my current hypothesis is that something in the for loop throws, so it ends up jumping out of that sub altogether | 15:28 | |
I'm not seeing any exception anywhere, so that's weird, but maybe maybe | |||
now, after 10 minutes it no longer throws, so it ends up delivering the messages ( github.com/perl6/whateverable/blob...ble.p6#L30 ) | 15:29 | ||
O_O | |||
timotimo: I FIGURED IT OUT | 15:30 | ||
O_O | |||
okay!! | |||
soo | |||
kensanata: ok thank you! | |||
timotimo: it doesn't trigger if you adress somebody!! | |||
kensanata | Hah | 15:31 | |
AlexDaniel | timotimo: so in the log above, SmokeMachine was always talking to “lizmat: ” | ||
15:31
wildtrees joined
|
|||
AlexDaniel | timotimo: and then it triggered on a message that didn't do that | 15:31 | |
kensanata | on the "s" | ||
AlexDaniel | yeah | ||
15:33
kaare_ joined
|
|||
Geth | problem-solving/path-to-raku: f3d057acc1 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md Elaborate a bit on community healing |
15:34 | |
AlexDaniel | kensanata: do you ever go to conferences? | 15:36 | |
kensanata: would be lovely to meet you one day :) | |||
15:38
Actualeyes joined,
ravenousmoose left
15:40
sena_kun left
|
|||
kensanata | AlexDaniel: Hah. I very rarely do. I was at the Swiss Perl Workshop 2018 (the previous one)... and that's it. | 15:42 | |
15:42
chloekek joined
|
|||
kensanata | AlexDaniel: If you ever come to Switzerland, we should meet up, for sure. | 15:42 | |
Geth | problem-solving/path-to-raku: 6b0041002e | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md Add social media section |
15:43 | |
AlexDaniel | kensanata: sure :) | ||
kensanata | AlexDaniel: Or if you happen to be in the north of Portugal in the first half of September... | ||
AlexDaniel | that's less likely x) | ||
kensanata | Installing Perlanet feels like downloading half of CPAN. | 15:44 | |
15:46
chloekek left
|
|||
Geth | ¦ problem-solving: JJ self-unassigned X::MyModule::Foo or MyModule::X::Foo ? github.com/perl6/problem-solving/issues/57 | 15:48 | |
15:49
Actualey` joined
15:50
Actualeyes left
|
|||
Geth | ¦ problem-solving: AlexDaniel self-assigned X::MyModule::Foo or MyModule::X::Foo ? github.com/perl6/problem-solving/issues/57 | 15:51 | |
15:52
robertle joined
|
|||
AlexDaniel | kensanata: good, now you have a backup ;) | 15:55 | |
15:55
Actualey` left
15:56
Actualey` joined
|
|||
Geth | doc: b14b5c00aa | Coke++ | 2 files whitespace |
15:56 | |
15:57
Sgeo_ joined
16:00
Sgeo__ left
16:06
woolfy left,
woolfy1 joined
16:07
scimon left
|
|||
kensanata | AlexDaniel: HTML::Tidy failed, but still 85 things installed. Gah. | 16:11 | |
Well, it succeeded on the second attempt, so I guess some dependencies were missing somewhere. | 16:12 | ||
16:19
mowcat joined,
mowcat left
16:20
mowcat joined
16:26
Actualey` left
16:31
chloekek joined
|
|||
El_Che | (We, and all dynamic languages, do have a dependency problem) | 16:36 | |
16:37
MilkmanDan left
16:38
irced joined
|
|||
rba | kensanata: re pl6anet.org/ and github.com/stmuk/pl6anet.org keep me updated here please, as I'm on the way to take over the domain and need to prepare the hosting and likely fork the repo into perl6 github org | 16:39 | |
kensanata: you can watch this github.com/perl6/problem-solving/issues/86 to stay updated regarding the move | 16:40 | ||
16:40
MilkmanDan joined
|
|||
irced | hey all, is it possible to declare a class method then define it elsewhere outside of the class definition itself (e.g. in another file)? directly or maybe by reference? (i realize i could create a subroutine and pass a reference to the object maybe even assign a variable in the class definition to name it but is there a less indirect way? | 16:41 | |
Geth | doc/regexes: f819c26680 | threadless-screw++ | doc/Language/regexes.pod6 Rewrite of regexes-lexical conventions section |
16:42 | |
doc/regexes: 195a4b9a1c | threadless-screw++ | doc/Language/regexes.pod6 wip |
|||
doc/regexes: 0229474d9c | threadless-screw++ | doc/Language/regexes.pod6 Expansion of Regexes:Lexical Conventions section: - intro clarifying 'regular expressions' and 'regexes'; - systematic treatment of anonymous and named regex definitions; - new subsection on common ways of matching regexes; |
|||
rba | I've installed a znc (irc boucner; wiki.znc.in/ZNC). Does one like to jump on? Still do testing though. Yet this is my second installation and the first one was rocket stable, yet I needed it installed on a system with gcc >= 4.9 for a znc push module. | 16:44 | |
Let me know your nick and I will add it as a user. | |||
vrurg | irced: you can create an anonymous method and then add it to a class. | 16:49 | |
irced | vrurg: thank you for the suggestion, i'll give it a go! | ||
vrurg | irced: look for .^add_method. There gotchas, though. | 16:50 | |
irced | vrurg: ok, thanks for the reference and tip. | ||
vrurg | Best if you do it before a class is done composing. You may look at AttrX::Mooish code. | ||
Geth | doc/regexes: d7b48569e5 | threadless-screw++ | doc/Language/regexes.pod6 Expansion of Regexes:Lexical Conventions section: - intro clarifying 'regular expressions' and 'regexes'; - systematic treatment of anonymous and named regex definitions; - new subsection on common ways of matching regexes; |
16:51 | |
irced | vrurg: ok 😃 | ||
vrurg | irced: And to finalize, OO::Plugin builds a new class on the fly. Might be useful too. Check Manager.pm6. | 16:52 | |
16:52
domidumont joined
|
|||
irced | vrurg: cool, gtk, thanks! | 16:53 | |
vrurg | my pleasure! :) | ||
16:54
dolmen left
|
|||
AlexDaniel | rba: well, if i'd like to route my bots through it, how would that work? | 16:55 | |
Geth | doc: threadless-screw++ created pull request #2962: Expansion of Regexes:Lexical Conventions section |
16:56 | |
rba | Al | 16:57 | |
AlexDaniel: I don‘t see the advantage for a bot. I use it mainly to get notifications and to be able to stay online and switch clients (mac, ipad, iphone). | 16:59 | ||
AlexDaniel | rba: so that there's no 18 leave+join messages whenever I upgrade rakudo on the server | ||
16:59
aborazmeh joined,
aborazmeh left,
aborazmeh joined
|
|||
rba | AlexDaniel: Ah. We can try. Maybe we start with one to test? | 17:00 | |
AlexDaniel | rba: and how will it work with the 10 connections per IP limit on freenode? | 17:02 | |
17:03
lichtkind joined
17:05
wildtrees left
17:06
Actualeyes joined
|
|||
rba | AlexDaniel: Hmm good point. Will check. | 17:06 | |
17:14
wildtrees joined
|
|||
Geth | problem-solving/path-to-raku: 3118a7eb71 | (Elizabeth Mattijsen)++ | solutions/language/PATH-TO-RAKU.md Add historical matters |
17:17 | |
rba | AlexDaniel: Did you see the limit somewhere documented? | ||
AlexDaniel | rba: no but I've been hitting it in practice | ||
rba: currently whateverables connect randomly from either ipv4 address or ipv6 one, so they're still below the 10+10 limit | 17:18 | ||
rba | AlexDaniel: Do you use SSL to connect, SASL or nickserv for the bots? | 17:20 | |
17:20
[Sno] joined
|
|||
AlexDaniel | rba: nickserv but it only allows 5 nicks to be logged in at the same time | 17:20 | |
rba | AlexDaniel: Is it for freenode in general? Could you just connect different freenode servers? | 17:23 | |
17:26
ravenousmoose joined
|
|||
rba | AlexDaniel: We me just try using SASL to connect from znc to freenode. | 17:28 | |
17:32
aborazmeh left
|
|||
AlexDaniel | rba: not sure. Either way, that's probably not something for today | 17:48 | |
17:53
ravenousmoose left
|
|||
rba | AlexDaniel: ok | 17:55 | |
18:00
reportable6 left
18:04
reportable6 joined
18:05
|oLa| joined
18:16
tilpner left
|
|||
lucasb | hey RAKU! friends!! | 18:17 | |
18:21
kensanata left
18:24
ravenousmoose joined
|
|||
AlexDaniel | lucasb: we have a special cage for time travelers | 18:25 | |
18:25
Sgeo_ left,
sauvin left
|
|||
El_Che | I am failing to understand ugexe comment on the renaming thread. Picking new file extension, does not mean that the one in use will stop working. | 18:37 | |
and every dot release recompiles the world anyways, so even then it does not sound problematic to me | 18:38 | ||
and Perl 5 isn't Perl 5. It doesn't have a zillion users shouting for an extreme form of backwards compatibility | 18:39 | ||
hell, newer rakudos break old code once in a while | 18:40 | ||
Grinnz | (and count yourself lucky there) | ||
18:40
MasterDuke joined
|
|||
El_Che | (meant Perl 6 isn't Perl 6, but you got that :) ) | 18:40 | |
dman | |||
Grinnz | LOL | ||
El_Che | (meant Perl 6 isn't Perl 5, but you got that :) ) | 18:41 | |
I need a break :) | |||
Grinnz | IMO the important takeaway there is that the upgrade path should be worked out | ||
18:43
cpan-p6 left,
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
|
|||
AlexDaniel | El_Che: well, newer rakudo versions shouldn't be breaking code… | 18:44 | |
I'm not sure what you have in mind but if something in particular then I was doing a bad job :) | |||
18:44
Sgeo joined
|
|||
AlexDaniel | I think ugexe++ has a point | 18:45 | |
El_Che | AlexDaniel: the great list refactoring, the new IO code, etc | 18:46 | |
AlexDaniel | the PR doesn't really discuss how these small thinks will work in terms of backwards compatibility | ||
El_Che | and that's ok | ||
AlexDaniel | El_Che: GLR was before Christmas, it doesn't count | ||
I don't remember much about IO stuff, but I think most of it was done in a way that didn't break much | 18:47 | ||
and I think it happened before we started pushing for ecosystem toasting and stuff like that | |||
18:48
|oLa| left
|
|||
AlexDaniel | so no, we do our very best to prevent your code breaking with new rakudo releases | 18:48 | |
from* | |||
lizmat | I think if we would be able to bring out a Raku E later this year, it would be ok to start deprecating then for release in Raku F, and then remove in Raku G | 18:50 | |
which should put us about 2 years into the future | |||
AlexDaniel | lizmat: so that no longer feels wrong? :) | 18:51 | |
lizmat | I said: " if we would be able to bring out a Raku E later this year" | 18:52 | |
AlexDaniel | lizmat: ok then I don't understand. Because that to me means that 6.e will be released with no deprecations while the rename thing already landed | 18:54 | |
lizmat | yes | ||
MasterDuke | anyone else seeing some flapping from t/spec/S02-types/subset-6e.t (existing before the float jit merge) | ||
AlexDaniel | lizmat: either way, this is something that can be clarified in the PR | ||
lizmat | MasterDuke: yes, I've seen if fail | ||
18:55
mowcat left
|
|||
vrurg | MasterDuke: I have it. Fighting over the last several days. But it only happens then TEST_JOBS > 1 | 18:55 | |
MasterDuke | vrurg++ | 18:56 | |
vrurg | MasterDuke: the problem is that I have no f* idea what happens because no output is possible. Tried runningf or 1000 times natively, via harness5, harness6 – nothing. `make spectest` – and every second run fails! | 18:57 | |
vrurg is currently relaxing on QAST programming. l( | 18:58 | ||
18:59
tilpner joined
19:01
chloekek left
19:03
sjm_uk joined
|
|||
kent\n | > zef uses information from META6.json only # I imagine the suggestion here is that the name may need/want to be changed if the language ceases to be called "perl6". ( Maybe rakuMETA.json for example ) | 19:03 | |
19:04
domidumont left,
MilkmanDan left
|
|||
lizmat | kent\n: no, that's not the suggestion | 19:05 | |
kent\n | I just suspect people will find that filename "odd" ;) | ||
lizmat | the provides section in a META6.json contains a filename | ||
which currently ends in .pm6 generally | 19:06 | ||
19:06
MilkmanDan joined
|
|||
vrurg | BTW, why would nqp::ctxlexpad complain about requiring MVMContext when it gets BOOTContext returned by nqp::ctxouter? | 19:06 | |
lizmat | zef installs whatever is in the "provides" | ||
and doesn't care about what the extension is, afaik | |||
19:10
__jrjsmrtn__ left
19:11
_jrjsmrtn joined
19:12
ChoHag left
19:17
sjm_uk left
19:20
pilne joined
19:39
sjm_uk joined
|
|||
MasterDuke | anyone want to chime in with a perl 6 example? twitter.com/karpathy/status/1163713702836625408 | 19:44 | |
19:44
Ven`` joined
19:49
ChoHag joined
19:52
sjm_uk left
|
|||
tbrowder | uh, not i, but i do need help with inline perl 5 | 19:52 | |
i have a p5 module (package CL) containing a hash %m = (k => {a => 1}); | 19:55 | ||
in my p6 (raku) prog i use CL:from<Perl5>...never mind, i'll provide a gist | 19:57 | ||
20:07
Black_Ribbon joined
20:08
kensanata joined
20:11
[Sno] left
20:12
[Sno] joined
20:13
pamplemousse left
20:14
Ven`` left
20:21
Ven`` joined
20:22
pierrot_ is now known as pierrot,
pierrot left,
pierrot joined
20:23
Manifest0 left,
Manifest0 joined
20:27
success joined
20:28
success is now known as Guest5665
20:31
ravenousmoose left,
Ven`` left
|
|||
Geth | doc/regexes: 22095edbc4 | threadless-screw++ | doc/Language/regexes.pod6 Minor corrections |
20:32 | |
20:33
pmurias joined
|
|||
tbrowder | i need some help on fixing the code at gist: gist.github.com/tbrowder/890714b6c...e2ca088e24 | 20:35 | |
www.irccloud.com/pastebin/zdzmB9Tw/ | 20:36 | ||
i have tried various things such as "my $h = %P5::h" that didn't work. | 20:37 | ||
20:39
chloekek joined
|
|||
tbrowder | note i have not tried using any export statements in the package... | 20:40 | |
trying that now... | 20:41 | ||
no go!! | 20:44 | ||
guifa | Are dynamic variables supposed to be lost inside of promise threads? | 20:45 | |
20:56
dolmen joined
|
|||
[Coke] | tbrowder: if you dd %P5::h before you try to use it, you'll see it's not initialized. | 21:01 | |
so you're doing my %foo = Any; # basically | |||
tbrowder | ok, is there a way at all to access the hash from p6? | 21:02 | |
i have in the past just rewritten the p5 module to p6 and that worked. and i have just been using p5 modules successfully (objects and funcs only thus far), so i was hoping to use p5 vars. | 21:04 | ||
maybe make them p5 constants (which they are)? | 21:05 | ||
[Coke] | Dunno yet, digging. This works: gist.github.com/coke/55bdb09c953c8...ee0ba5d993 , so it seems theoretically possible. | ||
tbrowder | encouraging! | 21:07 | |
21:07
kensanata left
|
|||
tbrowder | niner's README says "Allows passing integers, strings, arrays, hashes, code references, file handles and objects between Perl 5 and Perl 6." | 21:09 | |
but i don't yet see an example...looking... | 21:10 | ||
[Coke] | so, it's clearly finding and doing something with the module (because if you rename it, it explodes). But if I immediately try to use "P5", it complains it doesn't exist. | 21:13 | |
.seen niner? | 21:15 | ||
tellable6 | [Coke], I cannot recognize this command. See wiki for some examples: github.com/perl6/whateverable/wiki/Tellable | ||
[Coke] | .seen niner | ||
tellable6 | [Coke], I haven't seen niner around, did you mean nine? | ||
[Coke] | .seen nine | ||
tellable6 | [Coke], I saw nine 2019-08-18T14:14:20Z in #perl6-dev: <nine> I think | ||
[Coke] | above my pay grade here, sorry | ||
tbrowder | [Coke]: thanks! | 21:16 | |
rba | .seen jjmerelo | 21:24 | |
tellable6 | rba, I saw jjmerelo 2019-08-19T06:47:00Z in #whateverable: <jmerelo> 1+^1 | ||
21:29
Cabanoss- left
21:35
Cabanossi joined
21:40
|oLa| joined
21:41
|oLa| left
|
|||
uzl[m] | AlexDaniel Thanks for bringing up the issue about .first and .head. I myself have conflated them :-). However, with jnthn's explanation things are clearer. | 21:43 | |
AlexDaniel` | uzl: I still feel weird about it | ||
uzl: we have .head and .tail but .first and no .last, instead you do .first(:end) | 21:44 | ||
21:46
Cabanossi left
21:48
Cabanossi joined
|
|||
uzl[m] | AlexDaniel: I know. For some reason, it feels unbalanced ;-). However, I guess adding sintactic sugar for .first(:end) as .last wouldn't be worth the trouble. | 21:49 | |
AlexDaniel` | 🤷 | ||
21:51
leont joined
21:55
leont left
21:59
robertle left
22:12
chloekek left
22:13
pmurias left
|
|||
irced | hey all, so i'm wrapping my head around concurrency and dabbling in the event driven paradigm, that said, given that i can react to a Supplier with a whenever block and that the whenever block assign $_ the value emitted, how would i go about a conjunction such as whenever $supply1 && $supply2 and examine their individual emissions ? | 22:15 | |
i tried .tap inside the whenever block but no dice (it seemeth) | 22:17 | ||
[Coke] | if it's event driven, you're saying you want to wait until you have an event from both? | 22:18 | |
irced | Coke: exactomondo! | ||
rba | marketing.perl6.org/ is back online, yayh. | 22:19 | |
22:19
noisegul left
|
|||
irced | to note, I am able to use "&&" apparently, though this is more experimentation then documentation | 22:22 | |
perhaps there is a better way than && in the first | |||
woolfy1 | rba++ | ||
[Coke] | if you have something going every 3 seconds and something going every 10s, what behavior are you looking for? | 22:24 | |
woolfy1: long time no see. | |||
hi | |||
irced | the supplies are not intervals, and I am using them more like channels. | 22:25 | |
22:33
rindolf left
|
|||
irced | i have two domains that emit values and a third domain (that i call payload) will collect those values then emit itself (the payload). this is not based on any model i've seen in existence mind you. but I think I am still within the paradigm. | 22:33 | |
it emits its "self" to yet another domain. but anyway, i think this explains what behavior i'm looking for in the least. | 22:34 | ||
22:35
pmurias joined
|
|||
[Coke] | if the elements are paired, does it make sense to have something that emits a tuple instead? | 22:35 | |
irced | the whole emits to another domain is accomplished by each domain having the supply or channel that it expects emissions from | ||
no matter what "self" i emit, the fact is, i need to be sure two domains have provided the values to fill the pair/tuple | 22:36 | ||
[Coke] | (my interval question was trying to get at the root of that, what do you expect to happen if the events are not coming out at the same time) | ||
irced | i want to wait (non-blocking) and react only when both independent events have been triggered | 22:37 | |
regardless of which finished first and whether is was "simultaneous" (no synchronization idea involved here) | |||
well loosely involved i guess | 22:38 | ||
so it seems safe to use $supply1 && $supply2 this this reaction will only be true once the supplies have something to emit, and this happens only once in the lifecycle. | 22:40 | ||
anyway, the problem with whenever $supply1 && $supply2 is i don't know how to get the emissions individually | 22:41 | ||
i suppose i could chain reactions, seems lengthy but not nonsensical | 22:42 | ||
using the topical variable in two blocks (one nested). | 22:43 | ||
but it seems although tmtowtdi, some ways seem "too" long 😃anyway, trying that now | |||
hmm, probably don't need to "start" nested, can block inside i think | 22:54 | ||
jnthn | irced: Maybe you want Supply.zip($supply1, $supply2) | 22:57 | |
irced | it didn't work either way. | ||
jnthn: oh | |||
irced peers into the perl6 crystal ball. | 22:58 | ||
23:01
wildtrees_ joined
|
|||
irced | jnthn: thanks for the suggestion trying it | 23:03 | |
23:03
dolmen left,
wildtrees_ left,
wildtrees left
23:04
wildtrees_ joined
|
|||
irced | jnthn: it's working, thanks! | 23:12 | |
Coke: thanks for the discussion and the suggestion to pass a simpler data structure! | 23:15 | ||
23:16
pmurias left
23:28
Sgeo left
23:29
Sgeo joined
23:48
wildtrees_ left
|
|||
irced | hey all, i am passing a supplier to different classes after initializing it with Supplier.new, however, they don't all seem to see the same supplier. specifically, one sees Supplier.new and the other one sees Supplier[handleid...] is there an accepted way to ensure an empty supplier is the same wherever it is passed as an argument ? | 23:52 | |
basically, what is the correct way to pass suppliers unto other functions after they are initialized with $supply = Supplier.new | 23:55 | ||
so that things don't break | |||
😃 | 23:56 | ||
i mean, as soon as i do $supply = Supplier.new i get something like Supplier<94524891953648> but i pass it unto other functions and one of them for some weird reason sees Supplier.new | 23:57 | ||
err, actually on another thread i start supplying and then it gets an id, just not in sequence so scrath that last statement | 23:59 | ||
nevertheless, another function, which has been passed the supplier by name, never picks up on the id assignment |