»ö« 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.
ToddAndMargo If I think I am saving something and it is not actaully saving, then it would seem like I am in a haunted house. Next time I edit this program I will use vi 00:00
Thatr trans thing works real pretty! Thank you! I never would have figure ti out from the docs either. 00:02
timotimo for some reason the docs don't have results for the first few trans examples 00:03
ToddAndMargo I am waiting for you guys new beginner level docs. Maybe you should consider getting in on it. Your explainations to me are extrodinarily easy to understand. And I can be thick as a stone! 00:06
timotimo hm, i wasn't exactly confident in my ability to explain stuff. or maybe my problem is more with building a bunch of knowledge into a coherent "narrative" 00:07
ToddAndMargo Dude! As your long staning pupil, you are way undercutting yourself. Your explainations are extrodinary 00:09
timotimo maybe i'm just good at getting into your head :P 00:14
but the only thing i'll be getting into right now is my bed, i'm afraid
ToddAndMargo Sleep? What is that??? By the way, if Todd understands it, anyone will. Anyone feel free bounce explainations off me to see if I get it. 00:17
Thank you again.
timotimo YW
vrurg Any ideas how to delcare a 'my method' in a module to prevent it loosing closure after compilation? 00:26
raschipi vrurg: Do you have a snippet we can look at? 00:38
vrurg raschipi: No, but it's about Red ORM: github.com/FCO/Red/issues/158 00:39
vrurg I know it's possible because I use similar approach of adding methods in AttrX::Mooish. But it's a kind of magic anyway. 00:41
Kaiepi i really need to get my linux vm working again so i'm not wasting my time fighting with travis 02:44
jmerelo releasable6: status 05:53
releasable6 jmerelo, Next release will happen when it's ready. 1 blocker. 132 out of 284 commits logged (⚠ 2 warnings)
jmerelo, Details: gist.github.com/a5c42698e87f9d014a...ad39d6fd55
jmerelo :-( 05:54
Geth doc: JJ assigned to antoniogamiz Issue Cursor should probably be taken off the type graph github.com/perl6/doc/issues/2770
a0a7388044 | (JJ Merelo)++ | doc/Language/subscripts.pod6
06:05
doc: 602dbaba18 | (JJ Merelo)++ | doc/Language/subscripts.pod6
Reflows
antoniogamiz o/ 06:28
antoniogamiz rebuilding docs to fix #2770... time for breakfast 06:52
El_Che antoniogamiz: lo 07:07
Geth doc: 955184317a | Antonio++ | type-graph.txt
deletes Cursor line in type-graph.txt, closes #2770
07:17
tyil antoniogamiz: o/ 08:10
antoniogamiz tyil: what email client do you use? 09:03
tyil antoniogamiz: claws-mail
antoniogamiz tyil: ty :) 09:04
tyil no probs ^_^
Kaiepi i'm excited about the grant someone just received for linking perl 6 programs 09:34
shame it only focuses on making it work on windows, mac, and linux though 09:36
Geth doc: d5f06e5c96 | (Ben Davies)++ | 2 files
Temporarily remove mentions of Scheduler.cue edge case version reqs

It may be in 2019.05, but may have to wait until 2019.06, but either way, 2019.04 isn't a version.
09:40
tyil Kaiepi: you can't target everything, I guess 09:46
I think that with those 3 platforms you have most of humanity's computer platforms covered
Kaiepi true 09:47
maybe after the grant's done i could take a look at supporting bsd as well
timotimo once that stuff is implemented, it's probably not too hard to expand it to also cover some BSDs
yeah
Kaiepi speaking of which, i'm planning on starting my own grant work soon 09:48
tyil going from GNU+Linux to BSD should be easier than going from nothing to BSD, I hope :>
Kaiepi it depends
i still don't have a mentor yet, but i'm allowed to start work without one in the meantime 09:49
tyil you're always allowed to make contributions, I think
Kaiepi yeah 09:50
ofc i chose to start with the hardest work to do: preparing 6.e.PREVIEW and refactoring IO::Socket and IO::Socket::Async for upcoming changes in that release 09:52
i remember zoffix had trouble preparing 6.d 09:53
kawaii timotimo: good morning sir! Are you the one controlling the current rakudo site hosting? 10:00
timotimo i'm a part of the group who does
kawaii so I only had access to the old server, and today I'm determined to do my first release 10:01
it's going to be messy but hey, first time :D
so I'll ping you later about uploading the new release files
timotimo we'll support you as best we can! *goes away to take a nap*
antoniogamiz uoh githyb is not working? O.o 10:22
github*
antoniogamiz yep, github is down 10:24
timotimo oh, huh 10:27
not on my end
jast works for me, too
actually SSH is broken for me, too 10:28
timotimo i was just able to "git pull" in my rakudo clone without issue 10:28
antoniogamiz timotimo: it was only for a minute or so 10:48
timotimo OK 10:51
Kaypie m: my Junction $alph = any 'abcdefghijklmnopqrstuvwxyz'.comb; my @words = flat ('aaaa'..'zzzz'), ('AAAA'..'ZZZZ'); my Instant $begin = now; @words.grep(-> $word { $alph ~~ all $word.comb }); say now - $begin 10:59
camelia (timeout)
Kaypie m: my Junction $alph = any 'abcdefghijklmnopqrstuvwxyz'.comb; my @words = flat ('aaa'..'zzz'), ('AAA'..'ZZZ'); my Instant $begin = now; @words.grep(-> $word { $alph ~~ all $word.comb }); say now - $begin
camelia 20.846608 11:00
Kaypie m: my @words = flat ('aaa'..'zzz'), ('AAA'..'ZZZ'); my Instant $begin = now; @words.grep(-> $word { $word ~~ / ^ <[a..z]> $ / }); now - $begin 11:01
camelia WARNINGS for <tmp>:
Useless use of "-" in expression "now - $begin" in sink context (line 1)
Kaypie m: my @words = flat ('aaa'..'zzz'), ('AAA'..'ZZZ'); my Instant $begin = now; @words.grep(-> $word { $word ~~ / ^ <[a..z]> $ / }); say now - $begin
camelia 0.1564643
Kaypie why is it so much faster to use regex than to use junctions?
timotimo m: my Junction $alph = any 'abcdefghijklmnopqrstuvwxyz'.comb; my @words = flat ('aaaa'..'zzzz'), ('AAAA'..'ZZZZ'); my Instant $begin = now; @words.grep(-> $word { $alph eq all $word.comb }); say now - $begin 11:05
camelia (timeout)
timotimo the alph junction is a list of strings that all have to be string-compared separately
<[a..z]> is just a check if the codepoint is between two numbers 11:06
timotimo also, since the junction could have anything at all in it, resolving the result has to do full multi dispatch every time 11:07
Kaypie ah 11:11
timotimo oh, also your regex seems to only accept one-character words, i.e. it will reject everything in @words
if our regex optimizer/engine were smarter it would immediately reject it based on string length 11:12
but yeah, you're also turning all the three-letter "words" into arrays of strings again for checking
tyil looks like I've been getting timeouts for a while on www.nntp.perl.org 11:43
which is where I used to pull new CPAN uploads from 11:44
tyil to whom can I report this issue? 11:45
lizmat tyil: nntp.perl.org is still down to Perl NOC maintenance 11:46
tyil ah
I assume it will be fixed in time, then
in the meantime I guess I should set up multiple sources so I can always get module updates 11:47
maybe something for tonight at amsterdam.pm
lizmat yes... looks like :-)
indeed
log.perl.org/2019/04/maintenance-week.html 11:52
also: “We're mostly done with the heavy listing, and now we're cleaning up the dust and sharp edges and things we missed. Things should be stabilizing rapidly. I'm working on cleaning up the monitoring which will help us identify what's still out” 11:53
“This whole thing happened in a hurry, due to things outside our control, but we're pretty happy with how it went”
tyil lizmat: thanks :> 11:56
Geth doc: 7175096e4e | (Elizabeth Mattijsen)++ | doc/Language/setbagmix.pod6
Further work on Set/Bag/Mix introduction

  - reduce set operator lemma's to just intro
   - add link to complete info in operators/terms
   - add Wikipedia link to the mathematical explanation
  - note that they should be called QuantHash operators, but that's a mouthful
b117438b90 | Antonio++ | doc/Type/Range.pod6 EXISTS-POS method added #2739
tyil ok 11:56
lizmat oops, how did I do that ?
killing Geth I mean ?
tyil nobody will know 11:56
probably too many messages in too short time 11:57
I need to configure persistent logging on my containers
tyil logs dont show any particular error, though 11:59
sena_kun 12:03
xinming m: 1.5 div 1 12:14
camelia WARNINGS for <tmp>:
Useless use of "div" in expression "1.5 div 1" in sink context (line 1)
Cannot resolve caller infix:<div>(Rat:D, Int:D); none of these signatures match:
(Int:D \a, Int:D \b --> Int:D)
(int $a, int $b --> int)
in…
xinming m: (1.5 div 1).perl.say; A bit curious, Why will (1.5 div 1) returns the 0.5?
camelia 5===SORRY!5=== Error while compiling <tmp>
Two terms in a row
at <tmp>:1
------> 3ay; A bit curious, Why will (1.5 div 1)7⏏5 returns the 0.5?
expecting any of:
infix
infix stopper
postfix
xinming (1.5 div 1).perl.say; A bit curious, Why will (1.5 div 1) returns the 0.5?
m: (3 div 2).perl.say;
camelia 1
xinming With integer, it worked, Why doesn't it work with floating numbers? 12:15
timotimo i'll be running a fedora distro upgrade, which could take a little while. kawaii, you'll have to find someone to do the uploads; sena_kun can give away access and perhaps tell you who already has access to do the uploads
kawaii no problem, I'll come and be annoying later when I'm ready to do all that! :D 12:16
moritz xinming: div is an operator that explicitly coerces to integer
sena_kun agrees with timotimo
sena_kun kawaii, just ping me anytime you are fancy 12:16
moritz masak: I've just learned that you can implement lambda calculus in mediawiki templates 12:17
xinming moritz: I know it coerces to integer, I'm just curious why we don't have the Num version for it. 12:18
the design purpose
timotimo "total download size: 5.7G" - probably cutting it a bit close with only 6.02G free on the hard drive ...
xinming What I do for now is $x - Int($x / 2) to get the remainder. 12:19
But we have div already, I'm just curious why don't we have that support the Number.
The decision behind it.
timotimo why not use % for getting remainders? 12:20
raschipi xinming: div is supposed to work like the native integer division that processors have 12:22
moritz if you put two floats into %, you get the closest equivalent to div 12:24
works in the type you want, does a modulo
xinming timotimo: Not remainder, I need the Int($x / 2) part 12:25
raschipi: Thanks, That clear my confusion.
m: (5 % 3) 12:26
camelia WARNINGS for <tmp>:
Useless use of "%" in expression "5 % 3" in sink context (line 1)
xinming m: (5 % 3).perl.say;
camelia 2
timotimo m: for (1, 1.5, 2, 3.1, 3.2, 3.3) X (1, 2, 2.5, 3, 3.5, 0.1, 0.5) -> ($a, $b) { my $one = Int($a / $b); my $two = $a div $b; say "$a / $b: $one, $two" unless $one == $two } 12:30
camelia Cannot resolve caller infix:<div>(Int:D, Rat:D); none of these signatures match:
(Int:D \a, Int:D \b --> Int:D)
(int $a, int $b --> int)
in block <unit> at <tmp> line 1
timotimo oh?
timotimo At least 3996MB more space needed on the / filesystem. 12:35
bleeeehhhh
lizmat that fits on a USB stick :-) 12:37
timotimo i just have to find some stuff that i can move over sensibly 12:41
tyil timotimo: time for zfs? :D 12:47
tyil or is your entire disk overflowing 12:47
timotimo it's the entire disk
it's an SSD 12:48
not a big one
timotimo BBL 12:53
lizmat clickbaits p6weekly.wordpress.com/2019/05/06/...s-to-riga/ 15:31
tadzik \o/ 15:34
moritz twooot 15:38
Geth doc: uzluisf++ created pull request #2772:
Remove spaces around operators and reflow
15:41
jmerelo hey 15:43
moritz ho
jmerelo moritz: let's go. A few riffs more, and we got a Ramones' song. 15:46
jmerelo releasable6: status 18:12
releasable6 jmerelo, Next release will happen when it's ready. 1 blocker. 132 out of 284 commits logged (⚠ 2 warnings)
jmerelo, Details: gist.github.com/32dd8143d266b08daa...492c2957a4
jmerelo That did not move a lot in the last few days.
masak moritz: that's the best thing I've heard about MediaWiki templates in quite a while. 18:19
masak is really looking forward to Riga, too
will be my first YAPC::EU in a while, and my first PerlCon ever ;) 18:20
jmerelo masak: that's got to do something how the people is going to receive your totally not disruptive change in the Perl 6 core? 18:21
moritz what did I miss? 18:22
jmerelo moritz: masak's plans for world domination twitter.com/carlmasak/status/11254...7125017600 18:27
tadzik I can't wait for the GGE rewrite in 007 replacing Grammar.pm
masak tadzik: shhhhh! 18:29
tadzik oops 18:30
masak gee, am I really that transparent? 18:30
tadzik don't worry, with my GDPR superpowers I'm going to delete this from the internet
y'all are not allowed to read this anymore
masak "I exercise my right to be forgotten. hello. hello?"
tobs masak: the Yoneda lemma has one layer of stuff much, right?
(re: your twitter blurb) 18:31
masak tobs: you can always fix things by adding another layer of stuff... except possibly the Yoneda lemma, which already has way too much stuff. or too little, I can't decide.
moritz jmerelo: ah, those plans :D 18:32
masak mwhahah... I mean, please disregard any fallacious rumors about plans
tobs I think the fixing effect of more layers is when you put indirections in between, not stack more and more on top :)
masak well. "in between" is undoubtedly the best place to put indirections :P 18:33
masak .oO( "where does that indirection go?" -- "nowhere. it was put in at the very end, after we had any referents left." ) 18:34
I only really know two things about the Yoneda lemma: that I don't understand it, and that it's a beautiful generalization of Cayley's theorem 18:35
(and even that latter fact I had to look up, so I didn't actually write "Cauchy's theorem")
accidentally* 18:36
I know all the ingredients and constituent parts that go into the lemma, but I can only really make them all fit together in my head when I'm drunk
jmerelo masak: I'll get you to explain it to me over beers in Riga 18:38
masak: they have beer in Riga, right?
lizmat yes, belgian beer even 18:42
lizmat has fond memories of the Belgian bar in Riga
jmerelo lizmat: good to know. They have proper glasses for every kind of beer. That's probably essential to prove the Yoneda lemma 18:43
lizmat bon-vivant.lv/en/home/ 18:44
masak jmerelo: I'm not drunk right now, but there's a Swahili word "ubuntu" that's been having an upswing for the past 14 years for some reason. 18:49
jmerelo: it means (IIUC) that people are defined by who they know and spend time with. 18:50
jmerelo: that's a good description of the Yoneda lemma, except with categorical objects instead of people :D
jmerelo and functors 18:54
masak: people are defined by what they functor with 18:55
masak and who they cofunctor with 19:06
ufobat m: say grammar { rule TOP { <.ws>* \w* }}.parse("foo") 19:53
m: say "oi?" 19:54
:-(
camelia (timeout)
oi?
ufobat uh!
timotimo ufobat_: did you find out why that was wrong? 20:34
ufobat_ not yet 20:34
tobs m: say " foo" ~~ / <.ws> \w* / 20:37
camelia 「 foo」
tobs if I had to guess it's because <ws> is already a star-quantified whitespace, so it can match 0 times if it must and you star it again, so it keeps consuming nothing over and over. 20:38
m: say all("foo", " foo") ~~ / <.ws> \w* / 20:39
camelia all(「foo」, 「 foo」)
tobs m: say "foo" ~~ / [<[ ]>*]* \w* / # <.ws>*, I assume, is then something like this but with more kinds of whitespace 20:40
ufobat_ ^
camelia (timeout)
ufobat_ i see :D 20:42
thanks tobs