»ö« 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.
jmerelo releasable6: status 05:32
yoleaux 16 Jun 2019 23:13Z <AlexDaniel> jmerelo: github.com/ajs/perl6-Math-Sequences/issues/30
releasable6 jmerelo, Next release in ≈3 days and ≈13 hours. 3 blockers. 221 out of 624 commits logged (⚠ 1 warnings)
jmerelo, Details: gist.github.com/69484fdaf3b47b2a3d...cc03aa43ca
samcv .tell sena_kun I don't think I have that anymore. but i can check 05:49
yoleaux 16 Jun 2019 21:01Z <sena_kun> samcv: hi! can you, please, try to remember where a script that generates gist.github.com/samcv/9177c43f2a78...54c63d28e5 can be found? I am doing kinda archeology at github.com/perl6/ecosystem/issues/324 and would like to revive it for a bit. no problem if not, I'll just write it then
samcv: I'll pass your message to sena_kun.
jmerelo Hi, samcv ! How's the GSoC project going? 05:50
.tell AlexDaniel www.reddit.com/r/perl6/comments/c1...nd_coming/ 05:54
yoleaux jmerelo: I'll pass your message to AlexDaniel.
jmerelo geth is apparently busted. 06:20
sena_kun m: say 'o/' 07:18
yoleaux 05:49Z <samcv> sena_kun: I don't think I have that anymore. but i can check
camelia o/
Xliff o/ 08:57
AlexDaniel . 10:03
yoleaux 05:54Z <jmerelo> AlexDaniel: www.reddit.com/r/perl6/comments/c1...nd_coming/
AlexDaniel nicee
lizmat weekly: engineering.purdue.edu/~mark/pwc-012.pdf 11:38
notable6 lizmat, Noted!
lucasb docs.google.com/forms/d/e/1FAIpQLS...wanalytics 13:35
^^ the page to see the results :)
(sorry for not replying the other day, I had gone AFK) 13:36
lucasb within most charts, my answers matched the majority 13:41
lucasb rt.perl.org/Public/Bug/Display.htm...xn-1641016 13:52
Xliff Is there a p5-Graph module? Was mentioned in the survey results. 14:00
sena_kun modules.perl6.org/search/?q=graph 14:03
lucasb metacpan.org/pod/distribution/Grap.../Graph.pod 14:05
for the p5 one
sena_kun doesn't seem to me like we have this one 14:07
timotimo hurm, weak references, still something we'll need to have at some point
ugexe what purpose do weak references serve with our type of GC? 14:12
timotimo hold a reference to an object that is allowed to die 14:14
ugexe ah 14:31
timotimo the core would be able to use it for making "augment" immediately affect subclasses 14:43
timotimo because right now, if we had something for that, it would keep all classes that are created alive forever 14:43
AlexDaniel o yey, distro packages at 27% 14:45
someone asks for “calm in the community” :) 14:48
and someone else says “Drop the “Perl 6” name”
moritz ugexe: a good example is: a parent class might want to a store a list of all subclasses, to allow "augment"s to percolate to them. But the parent class doesn't want the subclasses to be kept alive by this reference 15:08
ugexe yeah not sure why i was associating weak references so heavily with reference counting 15:09
moritz too much Perl 5? :D 16:03
scimon I may have caught a bug. When you call .succ on a Date object it passes on the custom formatter to the child object... up to a point 16:22
m: my $d = Date.new( :2019year, :1month, :1day, formatter => sub ($s) { sprintf "%04d/%02d/%02d", .year, .month, .day given $s } );for ^30 { say ++$d }
camelia 2019/01/02
2019/01/03
2019/01/04
2019/01/05
2019/01/06
2019/01/07
2019/01/08
2019/01/09
2019/01/10
2019/01/11
2019/01/12
2019/01/13
2019/01/14
2019/01/15
2019/01/16
2019/01/17
2019/01/18
2019/01/19
2019/01/20
2019…
scimon m: my $d = Date.new( :2019year, :1month, :1day, formatter => sub ($s) { sprintf "D[%02d]", .day given $s } );for ^30 { say ++$d } 16:23
camelia D[02]
D[03]
D[04]
D[05]
D[06]
D[07]
D[08]
D[09]
D[10]
D[11]
D[12]
D[13]
D[14]
D[15]
D[16]
D[17]
D[18]
D[19]
D[20]
D[21]
D[22]
D[23]
D[24]
D[25]
D[26]
D[27]
D[28]
2019-01-29
2019-01-30
2019-01-3…
scimon There we go.
I would expect it to pass on the formatter but I'm not sure if it's specced. (This does mean Range or Sequences of Dates can't easily have custom formatters) 16:24
timotimo ~oh damn, lol
just some branch in the .succ that forgets to pass the value, eh? 16:25
also, hi, good to see you :)
scimon I'm guessing yes.
Hi. Yeah Been hella busy at work.
I've been working on a new module. I'm off next week and I'm hoping I'll have a goodly chunk done.
(And I'm fleeing home in a sec but I thought I'd raise this) 16:26
timotimo plays CATCH
aye, there's new-from-daycount and new-from-diff, and only new-from-daycount passes :&formatter 16:27
scimon Awesome.
So an easy fix then?
I'm going to run. I'll try and be around more. 16:28
timotimo um. but nothing is passing :&formatter to new-from-daycount 16:29
ah, ok, method later of DateTime passes &!formatter when setting the attributes on the new one 16:32
er, new-from-diff is using clone, which does carry over the formatter 16:33
tobs I'm trying to create a class whose objects can "escape" subroutine/method calls and decide themselves what they want to do with them, like Junctions do. Is that possible or do I need explicit support for my class doing that in core? 16:35
timotimo junctions are implemented by a failure to bind arguments during an invocation and a special "junction autothreader" that gets called by the argument binder in that case 16:36
so it'll not be as simple as building a class that "does something special", the special doings belong to a different part of the system
tobs is the argument binder in BOOTSTRAP.nqp? 16:38
or better: where is the argument binder? :)
timotimo it could very well be
OK, the "bind_error" thing in BOOTSTRAP is where it lives on everything except the jvm it seems like 16:40
timotimo other than that the Binder class also has an $autothreader attributes 16:40
well, it's a scalar, not an attribute
tobs aha, thanks 16:42
timotimo depending on what exactly it is you need, you may be able to get it working anyway, but with a different mechanism 16:46
tobs I was wondering if I could make symbolic variables, which instead of having code applied to them return an AST of what should have happened to them. 16:51
just a *really* fancy syntax for lambdas, I suppose, with the added option to have a syntax tree of the operations as well. 16:52
so a whatever star won't quite cut it either, I think.
I mean: in the end, I either want to play around with the AST or evaluate the object a bunch of times with different arguments. That's how the lambda/whatever came into the picture. 16:53
timotimo i recommend you have a look at Red 17:02
the ORM
timotimo tobs: in particular, github.com/FCO/Red/blob/master/lib...rators.pm6 17:08
timotimo i can't immediately find the code where it calls the filter function over and over, figuring out what it does, and reconstructing the AST from that 17:14
AFKBBL 17:15
tobs thanks, I was on my way home 17:20
tobs yeah, I mean, I thought about overloading every operator in existence too, but for my application, the fun only starts when expressions involve user-defined operators. 17:24
tobs it is certainly a fallback solution though, putting the additional operator overloading burden on the user 17:25
timotimo ooh geth is back 18:52
lizmat weekly: blogs.perl.org/users/damian_conway/...olset.html 20:02
notable6 lizmat, Noted!
lizmat and another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2019/06/17/...es-of-int/ 22:09
Juerd lizmat: Thanks! :) 22:13
lizmat Juerd: you're welcome! 22:14
lizmat calls it a day