[00:05] *** kurahaupo joined [00:09] *** kurahaupo left [00:12] *** kurahaupo joined [00:16] *** kurahaupo left [00:17] *** kurahaupo joined [00:42] *** abraxxa left [00:43] *** abraxxa joined [00:55] *** kurahaupo left [01:19] *** mowcat left [01:20] *** Doc_Holliwood left [01:28] *** kurahaupo joined [01:30] *** Sgeo_ joined [01:30] *** sxmx left [01:32] *** kurahaupo left [01:32] *** kvw_5_ joined [01:33] *** Sgeo left [01:35] *** kvw_5 left [01:36] *** Sgeo__ joined [01:39] *** Sgeo_ left [01:42] *** Doc_Holliwood joined [01:47] *** kurahaupo joined [01:59] *** guifa2 left [02:00] *** guifa2 joined [02:29] *** muffindrake left [02:30] *** muffindrake joined [02:33] *** dataangel joined [02:41] *** guifa2 left [02:50] *** Manifest0 left [02:54] *** Sgeo_ joined [02:57] *** Sgeo__ left [03:20] *** lucasb left [04:11] *** muffindrake left [04:20] *** Doc_Holliwood left [04:23] *** Doc_Holliwood joined [04:34] *** parabolize left [04:40] *** squashable6 left [04:42] *** squashable6 joined [04:44] *** squashable6 left [04:44] *** squashable6 joined [04:51] *** kurahaupo left [04:54] *** kurahaupo joined [04:55] *** sno joined [04:58] m: say 0..^* [04:58] rakudo-moar 726a75e24: OUTPUT: «0..^Inf␤» [04:58] m: say ^* [04:58] rakudo-moar 726a75e24: OUTPUT: «WhateverCode.new␤» [05:07] *** aindilis left [05:33] *** aluaces joined [05:41] *** Doc_Holliwood left [05:46] *** wamba joined [05:53] *** Kaiepi left [05:54] *** Kaiepi joined [05:58] *** maggotbrain left [06:00] *** maggotbrain joined [06:10] *** kurahaupo left [06:12] *** Kaiepi left [06:12] *** Sgeo_ left [06:12] *** Kaiepi joined [06:17] *** kurahaupo joined [06:21] *** domidumont joined [06:56] *** domidumont left [07:10] *** domidumont joined [07:10] *** Manifest0 joined [07:12] *** pecastro joined [07:44] *** kurahaupo left [07:44] *** eaterof joined [07:46] *** domidumont left [07:46] *** shadowpaste0 joined [07:47] *** eater left [07:47] *** shadowpaste left [08:06] *** jmerelo joined [08:06] *** sena_kun joined [08:18] *** rindolf joined [08:33] *** frost-lab joined [08:36] *** kurahaupo joined [08:37] *** MasterDuke left [08:38] *** Doc_Holliwood joined [09:15] *** Kaiepi left [09:16] *** Kaiepi joined [09:49] *** sivoais joined [09:55] *** bbkr joined [09:56] hi. any idea why my article from 2015 suddenly popped up on https://pl6anet.org ? no changes or updates were made, looks like a bug. [09:58] hah [10:06] *** abraxxa left [10:07] *** abraxxa joined [10:12] yeah, I was wondering the same thing [10:15] *** domidumont joined [10:24] Installing Rakudo 2021.02.1 from ports using pkg_add works again. I wonder why the error disappeared. [10:31] *** PimDaniel joined [10:41] *** lizmat_ joined [10:44] *** lizmat left [10:45] *** lizmat_ is now known as lizmat [10:47] * PimDaniel tadzik : I tried to see your video, i like bad programmers. but i did not understand because i do not understand too fast english. [10:48] ah, sorry :( [10:50] * PimDaniel tadzik : i should have probably use $!bar is built like proposed me lizmat. [10:51] sounds like a good idea [10:55] * PimDaniel tadzik What i was just trying to say and sorry that i was not clear, is that you can't access any class attribute before it is blessed. Well you can pass it to bless but nothing more; Do you agree? Or there is something that i mess? [10:55] *or messed may be. [11:13] *** natrys joined [11:13] hum well i must be more precise : you can attrib on the default new constructor but only with given posisionnal parameters not with overloaded constructors and even with is built. [11:20] *** bbkr_ joined [11:20] *** dustinm` left [11:21] *** bbkr left [11:21] *** agentzh joined [11:21] *** agentzh left [11:21] *** agentzh joined [11:23] PimDaniel: inside the .new method, there is no object yet, just a type [11:24] so you cannot access any attributes yet, as there aren't any yet [11:25] *** dustinm` joined [11:25] yeah. You can transform it to your heart's desire *before* you pass it to bless though, and after the bless you can still do whatever you want on the object [11:25] after the bless, but before the new() ends [11:26] yeah, but *not* inside of the "new" method itself [11:26] because there "self" is still the type object, so $!foo won't work [11:26] oh, right. You can call methods on the result of self.bless though, no? [11:26] yup [11:26] right [11:27] or you can haz a TWEAK :-) [11:30] *** l-as left [11:43] *** domidumont left [11:49] *** MasterDuke joined [12:13] *** patrickb joined [12:15] *** patrickb left [12:25] * PimDaniel lizmat: "inside the .new method, there is no object yet, just a type so you cannot access any attribute yet" : i know this yet and that's a bit what i'm trying to explain to tadzik. [12:26] :-) [12:27] * PimDaniel tadzik: you can transform any .new method parameter but you can't touch any class attribute so you can't share anything at this step. [12:27] what are you starting each of your messages with a /me? :) [12:30] Only TWEAK acts has is, but afterwords, because TWEAK is just a method self triggered after after any constructor. [12:31] i don't know what does me: [12:32] i searched for the instruction that make me appear in yellow. [12:33] This is easier ton interpell a particular person. [12:34] I looked at Irssi Help on my Linux but did not understand which method people use to appear in yellow. Like Lizmat did into this message: inside the .new method, there is no object yet, just a type [12:34] at 13:23 [12:35] One day lizmat told me that it was /me. [12:35] But may be i did not well understand or the opposite. [12:35] Why is me so borring? [12:37] putting /me at the beginning puts your username at the start. but if you want to trigger notification of someone else, usually you just put their username and a colon. [12:37] * MasterDuke is demonstrating that /me at the beginning is replaced with my username [12:38] yess but Masterduke does not appear in yellow. [12:38] PimDaniel: but putting your username at the beginning will likely highlight this message in your client [12:39] Yess now MasterDuke is yellow colored. [12:40] what is a colon? this --> : [12:40] you can probably configure your client how you want, but those are the standard conventions (use /me if talking about yourself, use : to cause a message to be highlighted for someone else) [12:41] MasterDuke: Do i appear higlighted? [12:42] the entire message is [12:42] Why? What dit i miss? [12:43] :MasterDuke is it ok now? [12:43] *** jmerelo left [12:44] it's the same. this client highlights an entire message if my username is anywhere in it (and yes, my username is printed in a different color). there is the option to only highlight if a message starts with the username though [12:47] MasterDuke do you mean without colon? [12:48] \h [12:48] help [12:48] yeah. so both "MasterDuke do you mean without colon?" and "Yess now MasterDuke is yellow colored." are highlighted for me [12:52] Sorry, not clear: You say that the entire line is colored or just your Name? Or are thez colored in different colors or what? [12:52] I looked at the web page but nothing is really colored. [12:54] a normal message has a white background with black text. when my username is in a message the entire message has a gray background with black text and my username is in color [13:01] MasterDuke ok thank you very mutch. I get nearly the same except that message are allways in the same intensity: low white on black. only Names may appear higligted and/or colored. Thank's. [13:01] np [13:02] PimDaniel i test something. [13:02] Does not work. [13:03] PimDaniel: I test another thing. [13:03] No more. [13:03] Bon nevermind. [13:04] PimDaniel: If I start a message with your name, it will be highlighted for you. If you do it with my name, it will be highlighted for me. If you do it with your own name, I guess it doesn't need highlighting, so it doesn't [13:10] jjatria If i tried this it's because I understood exacly the opposite from MasterDuke. 14:38 message yellowed. PimDaniel: but putting your username at the ... [13:11] Well nevermind : this will suffice. Thank's to all of you for your help! [13:12] *** PimDaniel left [13:25] *** Sgeo joined [13:26] *** masak joined [13:33] *** Sgeo_ joined [13:36] *** Sgeo left [13:41] *** klapperl joined [13:50] *** xinming_ left [13:59] *** mowcat joined [14:00] *** bbkr_ left [14:29] *** frost-lab left [14:32] *** Doc_Holliwood left [14:46] *** linkable6 joined [15:03] *** mowcat left [15:03] *** parabolize joined [15:03] *** mowcat joined [15:05] *** mowcat left [15:16] *** mowcat joined [15:22] after poking around i've determined that even if writing a comprehensive lexer for emacs is out of the question due to performance requirements surrounding indent-line-function (it gets run a whole lot) it's likely more straightforward to replace the current raku-mode line-indent-function with something homebrew as opposed to SMIE. It would be nice to use CC-mode's engine; however, it seems pretty embedded and if it's possible to build other modes with it it isn't [15:22] terribly well documented for that purpose. [15:23] cperl-mode is as complicated as it is because of cruft for _very_ old emacs support, afaict. and there's little point in borrowing from it. [15:28] *** dataangel left [15:59] *** guifa2 joined [16:04] *** kurahaupo left [16:05] *** mowcat left [16:32] what changed in the last ~year wrt MAIN? [16:33] i just tried to build master and i get "Type check failed in binding to parameter ''; expected Any but got Mu (Mu)" [16:33] and the ll trace seem to imply src/core.c/Main.pm6 [16:34] *** patrickb joined [16:34] rather, i built raku off master and tried to run some $work code that works on a raku that's about a year old [16:39] several things did change last year [16:40] *** Geth joined [16:41] line 86 so codesections stuff... [16:42] *** kurahaupo joined [16:52] jdv79: if you could golf... :-) [16:54] *** mowcat joined [16:57] *** neshpion joined [17:01] https://nopaste.nl/aygAKLCcyn [17:03] and what should I pass as parameters ? [17:03] jdv79 ^^ [17:03] nothing [17:03] *** xelxebar joined [17:03] running that code is clean for me [17:04] same for me (on both master and 2021.03) [17:06] https://nopaste.nl/Wack3DZ1GV [17:08] last known to work on "This is Rakudo version 2020.06-7-gf1960baa9 built on MoarVM version 2020.06-6-gbf6af07de [17:08] implementing Raku 6.d." [17:08] oops:( [17:09] oops? [17:09] pasted what i thought was multiplelines [17:10] nothing about the issue at hand [17:10] ugh, what i thought was one line. can't think today. [17:11] do both of those RHS ~Date.… lines run ok by themselves for you? [17:12] yeah [17:14] aha, I can reproduce. It requires splitting into two files, as in your second paste [17:26] Interesting, ./bin/fetcher.raku -f='' doesn't crash, nor does /fetcher.raku -f=1 [17:27] *** kurahaupo left [17:30] *** mowcat left [17:35] further golfed to `sub MAIN (:$f = Date, :$t where * > $f) is export {}` [17:36] So I'm guessing it's something to do with compile-time calculation of Dates? But I'm not positive [17:43] ¦ doc: 2d903afd4e | (JJ Merelo)++ | doc/Type/Lock/ConditionVariable.pod6 [17:43] ¦ doc: Lock::ConditionVariable gets its own page [17:43] ¦ doc: [17:43] ¦ doc: This refs #3844, but still `signal` to go, since I have actually no idea what it does. [17:43] ¦ doc: [17:43] ¦ doc: Also documents wait with predicate, thus refs #3828 [17:43] ¦ doc: review: https://github.com/Raku/doc/commit/2d903afd4e [17:43] ¦ doc: 8cdb710ee0 | (JJ Merelo)++ | 2 files [17:44] Link: https://docs.raku.org/type/Lock::ConditionVariable [17:44] ¦ doc: Eliminates Lock::ConditionVariable definition from the condition method. [17:44] ¦ doc: [17:44] ¦ doc: Refs #3844 [17:44] ¦ doc: review: https://github.com/Raku/doc/commit/8cdb710ee0 [17:44] *** linkable6 left [17:45] *** linkable6 joined [17:55] i guess i'll file a bug report as it seems non-trivial to address [18:02] *** xinming_ joined [18:14] *** kurahaupo joined [18:19] *** Doc_Holliwood joined [18:19] *** abraxxa left [18:20] *** Kaiepi left [18:21] *** Kaiepi joined [18:22] *** abraxxa joined [18:39] codesections: It looks like you're setting $f to a type object, but then trying to do a comparison in $t's where clause. But you can [18:39] 't compare to a type object that way. [18:40] FEK [18:44] yeah, that golfing isn't equiv [18:45] i'd have to guess it might be something about the * and not dates but i'll try to look later maybe [19:07] what is the intent of ".ACCEPTS: True" in this context? [19:09] hey all this might seem a bit of a trolly question but please bear with me, in terms of processing JSON data from a websocket or alternatively JSON objects straight from a TCP connection, which would be capable of doing more object processing per second, perl5 or raku [19:10] Perl [19:10] cool thank you jdv79 [19:12] jdv79: it distinguishes between parameters MAIN that accept True as an argument (and thus can be called from the CLI with a flag like `./fetcher --flag`, that is without an argument, which is the same as --flag=True) from those that *must* have an argument [19:13] That's what lets us tell how to parse a space-separated CLI call [19:14] full details at https://github.com/rakudo/rakudo/pull/4209 [19:16] m: say :(DateTime :$t where * > DateTime.now).params[0].constraint_list[0].ACCEPTS: True [19:16] rakudo-moar 726a75e24: OUTPUT: «Cannot resolve caller Real(DateTime:D: ); none of these signatures match:␤ (Mu:U \v: *%_)␤ in block at line 1␤␤» [19:16] idk if that's remotely related... [19:20] *** mowcat joined [19:25] *** aborazmeh joined [19:28] maybe these new ".ACCEPTS: True" calls require some pre-reqs (like sig/cap binding,etc...)?... idk:) [19:34] *** aborazmeh left [19:36] jdv79: did it break as of today? or are you using a recent release? [19:46] *** MasterDuke left [19:47] i know it works on a 2020-06 raku [19:48] i'm almost certain that its that constraints are being used before being "fully formed" [19:48] *** MasterDuke joined [19:49] *** kurahaupo left [20:00] *** kurahaupo joined [20:17] *** Black_Ribbon joined [20:18] codesections: https://github.com/rakudo/rakudo/issues/4278 is all i can do today [20:18] i might be able to help, if possible - idk that stuff well, later [20:24] *** brtastic joined [20:34] bisectable6: say :(DateTime :$t where * > DateTime.now).params[0].constraint_list[0].ACCEPTS: True [20:34] ugexe, Will bisect the whole range automagically because no endpoints were provided, hang tight [20:35] ugexe, Output on all releases: https://gist.github.com/6062ed2adf0209d46b53fef9cf34ed05 [20:35] ugexe, Bisecting by output (old=2018.11 new=2018.12) because on both starting points the exit code is 1 [20:35] ugexe, bisect log: https://gist.github.com/c4efffd674d37f332ea01b4ca00259d1 [20:35] ugexe, (2018-11-19) https://github.com/rakudo/rakudo/commit/869b9e5813ea0ddd495ea637dd17f88e77b500f3 [20:35] ugexe, Bisecting by output (old=2016.05 new=2016.06) because on both starting points the exit code is 1 [20:35] ugexe, bisect log: https://gist.github.com/63c39044277d75b0821c43893cc0974a [20:35] ugexe, (2016-06-09) https://github.com/rakudo/rakudo/commit/b6902e5192929a733a37079d5dc414430078bc7d [20:36] ugexe, Output on all releases and bisected commits: https://gist.github.com/65e0491fa5f2a20688842ab87c73025f [20:37] *** patrickb left [20:38] m: sub MAIN (DateTime(Str) :f(:$from) = ~Date.today.DateTime.earlier(:1day), DateTime(Str) :t(:$to) where * > $from = ~Date.today.DateTime) { say "$from - $to"; }; [20:38] rakudo-moar 726a75e24: OUTPUT: «Type check failed in binding to parameter ''; expected Any but got Mu (Mu)␤ in block at line 1␤␤» [20:38] bisectable6: sub MAIN (DateTime(Str) :f(:$from) = ~Date.today.DateTime.earlier(:1day), DateTime(Str) :t(:$to) where * > $from = ~Date.today.DateTime) { say "$from - $to"; } [20:38] ugexe, Will bisect the whole range automagically because no endpoints were provided, hang tight [20:38] ugexe, Output on all releases: https://gist.github.com/e0f9610662c41da22ec465e9e8c3ba3b [20:38] ugexe, More than 4 changes to bisect, please try a narrower range like old=2021.02.1 new=HEAD [20:39] bisectable6: old=2021.02.1 sub MAIN (DateTime(Str) :f(:$from) = ~Date.today.DateTime.earlier(:1day), DateTime(Str) :t(:$to) where * > $from = ~Date.today.DateTime) { say "$from - $to"; } [20:39] ugexe, Bisecting by exit code (old=2021.02.1 new=76022f6). Old exit code: 0 [20:39] ugexe, bisect log: https://gist.github.com/71259030fc06a43208c54d003d6eb5f2 [20:39] ugexe, (2021-02-24) https://github.com/rakudo/rakudo/commit/67143a6de4ae281f122030d4befa3858c459a631 [20:40] codesections: ^ [20:40] *** rindolf left [20:40] *** MasterDuke left [20:41] *** MasterDuke joined [20:55] *** MasterDuke left [20:56] *** MasterDuke joined [21:10] *** aindilis joined [21:25] *** aborazmeh joined [21:33] *** natrys left [21:34] *** aborazmeh left [21:40] *** abraxxa left [21:43] *** abraxxa joined [21:59] *** brtastic left [22:01] *** kurahaupo left [22:06] .seen adu [22:06] raydiak, I saw adu 2019-05-08T19:54:44Z in #perl6: hi timotimo [22:07] *** kurahaupo joined [22:17] interesting...my own logs show that person last in #raku on 2020-07-24. Logging bot must have been out to lunch [22:27] *** hahahahahaaahaha joined [22:28] *** hahahahahaaahaha left [22:33] *** wamba left [22:38] *** samcv_ joined [22:38] *** benaiah` joined [22:39] *** samebchase-6 joined [22:39] *** nebuchad` joined [22:40] *** tobs` joined [22:41] *** gfldex_ joined [22:41] *** Ulti_ joined [22:41] *** samcv left [22:41] *** Ulti left [22:41] *** benaiah left [22:41] *** synthmeat left [22:41] *** benaiah` is now known as benaiah [22:41] *** torbjorn_ joined [22:41] *** ambs_ joined [22:41] *** [ptc] joined [22:42] *** samebchase joined [22:42] *** nebuchadnezzar left [22:42] *** tobs left [22:42] *** Ekho left [22:42] *** tobs` is now known as tobs [22:42] *** cxreg joined [22:43] *** lnx joined [22:43] *** markmarkmark joined [22:46] *** abraxxa left [22:46] *** jmcgnh_ joined [22:46] *** jmcgnh_ is now known as jmcgnh [22:48] *** abraxxa joined [22:51] *** Ekho joined [23:05] *** samcv_ is now known as samcv [23:06] *** samcv left [23:06] *** samcv joined [23:08] *** synthmeat joined [23:09] *** tadzik joined [23:23] *** pecastro left [23:46] *** abraxxa left [23:49] *** abraxxa joined [23:52] *** berber44 joined [23:55] *** Sgeo_ left