»ö« 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. |
|||
timotimo | hi | 00:00 | |
how are you doing, p6tester? | |||
p6tester | testing stuff, going to bed now :) | ||
00:00
p6tester left
00:06
albongo joined
00:26
lookatme left
|
|||
Geth | doc: 46f28118f1 | Coke++ | doc/Type/Enumeration.pod6 fix compilation errors |
00:26 | |
synopsebot | Link: doc.perl6.org/type/Enumeration | ||
00:27
[Coke] joined
|
|||
vrurg | If anybody could help me with the following: stackoverflow.com/questions/516189...bute-trait | 00:42 | |
00:47
lookatme_q joined
|
|||
lookatme_q | :/ | 00:47 | |
00:55
lizmat left
01:23
dct left
01:26
Kaiepi joined,
ToddAndMargo joined
|
|||
ToddAndMargo | I am having troule with a checker error: ===SORRY!=== Error while compiling /home/linuxutil/GetUpdates.pl6 Missing block at /home/linuxutil/GetUpdates.pl6:288 | 01:27 | |
------> # 'UNKNOWN' =>⏏ 0, # 0000b, unknown (default) | |||
Why is it complaining about a "comment" I wrote? How do I troubleshoot this? | 01:28 | ||
timotimo | i would assume you had an opening < on an earlier line | 01:29 | |
so it was parsing an array like <foo bar baz> | |||
ToddAndMargo | checking! | 01:30 | |
timotimo | i get that from seeing that it puts the error marker after the > | ||
DrForr | .seen lizmat | 01:31 | |
yoleaux | I saw lizmat 1 Aug 2018 16:08Z in #perl6: <lizmat> in any case, it didn't even build :-( | ||
ToddAndMargo | not finding it. the closest is `PrintRed( "$Str\>\n" );` | 01:33 | |
timotimo | i'd probably have to see the rest of the file. maybe syntax highlighting in your editor can give a clue, but editors often get the finest details wrong | 01:34 | |
ToddAndMargo | I am going to put some junk in to find where it chashes and waht it up to the error | 01:37 | |
timotimo | maybe you can put in a > earlier than the error happened and move it further and further back until the error message changes | 01:38 | |
a > in the wrong place will, of course (?) also give an error | 01:39 | ||
01:39
lizmat joined
|
|||
ToddAndMargo | I am walking it with `$xxx= (25;` | 01:40 | |
timotimo | m: my $foo = (25; 26; 27;); say $foo.perl | ||
camelia | $(25, 26, 27) | ||
timotimo | that's actually a valid code fragment you have there | ||
i've got to go now, good luck! | 01:42 | ||
ToddAndMargo | Found it! `if $Debug || $Status >= %StatusHash<%StatusHash<ERROR> { ` Now I have a new tool to troubleshoot! | 01:43 | |
Thank you! | 01:44 | ||
01:44
lizmat left
01:57
sacomo joined
02:10
haxmeister left
02:11
ryn1x joined
|
|||
ryn1x | . | 02:11 | |
02:11
haxmeister joined
02:17
ryn1x left
02:23
ryn1x joined
|
|||
ToddAndMargo | What is the proper way to escape all the slashes in the following: | 02:23 | |
if $Line ~~ | '/windows/security/anti-virus/c/combofix/ComboFix.exe' | {do something} | |||
ryn1x | Forward slashes should work fine on windows.... or you can 'c:\\path\\to\\file.exe'... I do not think your path is correct though... windows does not have a root '/' dir like unix... you have to start with a drive letter like 'c:/windows/security ...' | 02:28 | |
ToddAndMargo | I am in Linux | 02:39 | |
ryn1x | What are you intending the vertical bars to do? I haven't seen that syntax yet, but I am still pretty new. | 02:40 | |
ToddAndMargo | I am testing to see if this line exists: | 02:42 | |
download.bleepingcomputer.com/dl/e...mboFix.exe | 02:43 | ||
Thjis was my workaround: `if $Line ~~ m{ "dl/" (.*) ( "/windows" ) } {}` | |||
ryn1x | ```.contains``` might be easier than a regex | 02:51 | |
p6: say 'download.bleepingcomputer.com/dl/e....contains: '/windows/security/anti-virus/c/combofix/ComboFix.exe' | |||
camelia | True | ||
ToddAndMargo | I will try .contains! Thank you! | 02:52 | |
ryn1x | Np =) | ||
03:07
ryn1x left
03:19
vrurg left
03:29
Kaiepi left
03:54
vrurg joined
03:59
vrurg left
04:09
spycrab0 left
04:15
Kaiepi joined
04:56
curan joined
05:07
sauvin joined,
stmuk left
05:37
vrurg joined
05:38
vrurg left
05:48
rindolf joined
05:52
lookatme_q left
05:53
kjp left
06:11
entonian joined,
vrurg joined
06:13
entonian left
06:18
vrurg left
06:30
psychoslave_ joined
06:35
ToddAndMargo left
07:15
lizmat joined
07:19
domidumont joined
07:24
samcv left,
samcv joined
07:25
domidumont left
07:26
domidumont joined
07:33
dakkar joined
07:38
raydiak left
07:45
xi| joined,
Voldenet left,
xi- left,
irco left,
xiaomiao left
07:46
spider-mario left,
daxim left,
kaare_ left
07:47
susmus joined,
spider-mario joined,
yoleaux left,
dpk left,
Voldenet joined
|
|||
masak | good morning, #perl6 | 07:50 | |
07:50
Kaiepi left
|
|||
masak | I usually constrain Perl 6 macro discussions to #perl6-macros, but I have two pieces of good news that I'd like to discuss here if anyone has the stamina | 07:50 | |
07:50
dpk joined
|
|||
masak | oh, and a question, which is really for TimToady but which might be good to broadcast | 07:51 | |
moritz | masak: I'll have to leave for a meeting, but I'd love to read your news when I backlog :-) | 07:57 | |
masak | wonderful. | 07:58 | |
(I) There's now a concrete plan for how to achieve hygiene with macros. Jumping straight to the big insight, macros have the useful property that they run _once_ per bit of injected code, so any lookups into the macro can be precomputed and replaced by a Location, which can then be read and written. it's nice and confluent, because we were already sniffing at a Location abstraction for unrelated reasons: | 08:04 | ||
github.com/masak/007/issues/214#is...-409670173 | |||
(II) Something called "contextual macros" has taken shape in the past week or so. They seem to be able to implement (syntactic) junctions, an `each` macro, and the `amb` macro. | 08:06 | ||
they essentially supersede the older, less concrete idea of "watcher macros" | 08:07 | ||
github.com/masak/007/issues/349 | |||
and here now, is my question: | |||
does COMPILING:: only dig into the _static_ scope? is there/could there be something corresponding that digs into a _runtime_ scope from a macro? | 08:08 | ||
(I don't know what to call such a pseudo-package. I suppose MY:: is not quite it. maybe RUNTIME:: ?) | |||
08:14
xiaomiao joined
08:22
Xliff joined
|
|||
Xliff | \w | 08:25 | |
\o, even | |||
lizmat | masak: UNIT:: perhaps | ||
Xliff o/\ | |||
Xliff | lismat: Your head is outsidef your arms! | 08:26 | |
lizmat | yeah, it felt funny :-) | 08:28 | |
Xliff | :) | 08:29 | |
08:50
sena_kun joined
|
|||
masak | lizmat: hm -- what makes "unit" a fitting description of a runtime scope corresponding to COMPILING? | 08:56 | |
08:57
vrurg joined,
maettu left
|
|||
lizmat | hmmm... good question: I guess I wasn't awake just yet | 08:57 | |
masak | it feels to me that the initial use case for COMPILING:: is that things like $?LINE are constant, but that's weird because we know it changes all the time ;) | ||
so COMPILING:: is the scope that can bend the rules a little bit, and $?LINE is assignable in it | 08:58 | ||
lizmat | so do you think COMPILING:: has a narrowed scope than MY:: ? | ||
*narrower | |||
perhaps THUNK:: then ? | |||
as a name ? | |||
masak | heh -- I definitely wouldn't think THUNK:: was what I wanted if I went looking for it in the docs :P | 08:59 | |
lizmat | my $a; ENTER $a = 42 # is that one COMPILING:: or 2 ? | ||
so are you asking for something new or something existing | 09:00 | ||
lizmat is confused | |||
masak | I've lost count of how many cross purposes we've accumulated o.O this is hard to talk about | ||
please slow down :) | |||
COMPILING:: already exists. I think I can pick out three orthogonal use cases for it. one of them is "from macros/quasis", which is neat | |||
that latter one is the only one where COMPILING:: isn't close in _space_ to the scope you're in. so besides meaning "a mutable static scope (used by the compiler)" it also kinda means "the scope that the macro call is in; where we were just now before calling the macro" | 09:02 | ||
I find all of that neat and I don't want to change any of that | |||
but -- I'm now having use cases where I want everything from the above list except the "static scope" bit | 09:03 | ||
my use case is an infix:<ff> macro, by the way | 09:04 | ||
09:04
vrurg left
|
|||
masak | it turns out it falls out _very_ nicely if the macro is allowed to inject (gensym'd) variables into the current _runtime_ scope of the macro | 09:04 | |
the variable in question would keep track of whether the `infix:<ff>` operator is "switched on" or not | 09:05 | ||
lizmat | but at runtime, scopes (lexpads) are static, no ? | ||
masak | in my mental model, each _block_ (thing with braces) has one static scope/lexpad, and zero or more runtime scopes/lexpads, one per time it was entered | 09:06 | |
the static lexpad (a) populates the runtime lexpads with defaults, and (b) acts as an ultimate fallback for lookup that's doing weird enough things, like the fun method-in-method example | 09:07 | ||
m: class C { method foo { my $x = "OH HAI"; method bar { say $x } } }; C.new.bar | |||
camelia | (Any) | ||
masak | but the terminology is confusing and varies from case to case. moarvm talks about frames where I would talk about blocks, for example. | 09:14 | |
lizmat | and then you talk about a mental model, when it is maybe more a frame of mind :-) | 09:18 | |
masak | haha | ||
I should add that I'm aware that what I'm asking for here is, um, temporally suspicious | 09:19 | ||
in the sense that a macro is definitely BEGIN-time, and so it shouldn't have much to say about what happens to variables at runtime | |||
lizmat | that is my feeling as well | 09:20 | |
but the flag could be planted at compile time, and set/inspected at runtime, no? | |||
masak | that's the idea | 09:21 | |
in the case of this flag, it needs to be initialized in a `once` statement. | |||
lizmat | in a way this feels like being able to export a phaser to the scope in which a "use" statement is done | ||
masak | yeah, kinda like that | ||
except that this is exporting "in time" instead of "in space" :) | 09:22 | ||
in a very real sense, the quasi in a macro is already talking about the dynamic/runtime aspects of the code, in the simple sense that the code injected is meant to be run | 09:27 | ||
lizmat | but that's the basic BEGIN conundrum, no? | 09:29 | |
masak | not sure... what's the basic BEGIN conundrum? :) | 09:32 | |
lizmat | that you're running code when compilation has not finished yet | 09:33 | |
(of the compilation unit( | |||
masak | oh! yeah, there are gnarly side effects of that, for sure | ||
particularly strangelyconsistent.org/blog/lexpad...eed-fixups which shows up as an issue in macros, too | |||
there's jnthn's vodka quote about that one. I talked about it with him again last week, and he just said "yeah -- let me know if you find a good solution to that one" | 09:39 | ||
lizmat | vodka quote ? | 09:41 | |
masak | literally the first line in the linked post ;) | 09:46 | |
lizmat | ah, ok... I try not to get distracted too much :-) | 09:48 | |
masak | no worries; didn't mean to distract :) | 09:49 | |
the blog post uses "lexpad" where nowadays I'd use "frame", but those are 1-to-1 so it doesn't matter very much | |||
09:52
[particle] joined
10:00
[particle] left
10:03
[particle] joined
10:05
arkanoid555 joined
10:06
arkanoid555 left
10:08
[particle] left
|
|||
tbrowder_ | tyil: are you here? | 10:09 | |
.tell tyil i expect to submit =defn PR today | 10:11 | ||
bloody irc client | |||
.tell tyil i expect to submit =defn PR today | 10:12 | ||
anyone see my msgs? | |||
crud!! | |||
sena_kun | I do | ||
tbrowder_ | sena_kun: hi | 10:13 | |
sena_kun | o/ | ||
tbrowder_ | i’m confused with all this spam response and don’t know if i’m being seen or not | 10:14 | |
the .tell thing doesn’t seem to work | |||
sena_kun | yoleaux is not in the channel for some reason. | ||
10:15
spycrab0 joined
|
|||
tbrowder_ | .tell tyil i expect to submit =defn thingy today | 10:15 | |
sena_kun | the bot is not here yet. | ||
tbrowder_ | probably not registered :-D | ||
sena_kun | dunno. | 10:16 | |
I use hexchat client and it's somewhat nice enough to use. And registered some months ago for `cro` channel. The spam is quite annoying issue indeed. | 10:17 | ||
10:17
[particle] joined
10:27
tbrowdertheloung joined,
tbrowdertheloung left
|
|||
tbrowder_ | trying another client: mutter, trying to come here and it says i’m banned! | 10:34 | |
lizmat | tbrowder_: maybe one client has the registration credentials and the other doesn't ? | 10:36 | |
afk for most of the day& | 10:38 | ||
Xliff | m: class C { method foo { my $x = "OH HAI"; method bar { say $x } } }; C.new.bar # masak -- WAAAT1? | 10:41 | |
camelia | (Any) | ||
Xliff | m: class C { method foo { my $x = "OH HAI"; method bar { say $x } } }; C.new.bar; C.new.foo # masak ^~^ | ||
camelia | (Any) | ||
Xliff | Nope. Not what I was hoping. | 10:42 | |
m: class C { method foo { my $x = "OH HAI"; method bar { say $x } } }; C.new.bar; C.new.foo; C.new.bar # masak ^~^ | |||
camelia | (Any) OH HAI |
||
10:42
noganex left
|
|||
Xliff | \o/ | 10:42 | |
Oh wait. Isn't that an implied state var? | 10:45 | ||
m: class C { method foo { my $x = "OH HAI"; method bar { say $x }; method explody { $x = "BOOM!"; self.bar; } }; C.new.explody; | 10:46 | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Missing block at <tmp>:1 ------> 3= "BOOM!"; self.bar; } }; C.new.explody;7⏏5<EOL> |
||
Xliff | m: class C { method foo { my $x = "OH HAI"; method bar { say $x }; method explody { $x = "BOOM!"; self.bar; }; }; C.new.explody; | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Missing block at <tmp>:1 ------> 3 "BOOM!"; self.bar; }; }; C.new.explody;7⏏5<EOL> |
||
Xliff | m: class C { method foo { my $x = "OH HAI"; method bar { say $x }; method explody { $x = "BOOM!"; self.bar; }; }; }; C.new.explody; | 10:47 | |
camelia | BOOM! | ||
Xliff | m: class C { method foo { my $x = "OH HAI"; method bar { say $x }; method explody { $x = "BOOM!"; self.bar; }; }; }; C.new.explody; C.new.bar; C.new.foo; C.new.bar; | ||
camelia | BOOM! BOOM! OH HAI |
||
Xliff | OK. I will stop, now. | ||
10:54
scimon joined
10:55
scimon left
10:56
Xliff left,
scimon joined
10:57
scimon left,
scimon joined
|
|||
scimon | (Trying to get my IRC client working with the new (and useful) spam measures) | 10:59 | |
tyil | tbrowder_: sweet! | 11:01 | |
tbrowder_ | scimon: what irc client? like it? | 11:02 | |
11:06
jhill joined
|
|||
Geth | ecosystem-unbitrot: 8e3ab5e9f1 | (JJ Merelo)++ | README.md Instructions for the squashathon |
11:20 | |
11:37
pmurias joined
11:39
jjmerelo joined
|
|||
jjmerelo | Hi | 11:39 | |
11:39
jjmerelo is now known as jmerelo
|
|||
jmerelo | and hi | 11:39 | |
squashable6: status | |||
well... | |||
.seen AlexDaniel | 11:41 | ||
11:43
lizmat left
|
|||
tbrowder_ | jjmerelo: hi! | 11:43 | |
Geth | ecosystem-unbitrot: 7b0987ef62 | (Juan Julián Merelo Guervós)++ | _config.yml Set theme jekyll-theme-minimal |
11:44 | |
tbrowder_ | bots seem to be missing (not registered?) | ||
jmerelo | tbrowder_: or somesuch... | ||
Squashathon pages now published to perl6.github.io/ecosystem-unbitrot/ | |||
Suggestions and any kind of help is welcome | 11:45 | ||
scimon | Just HexChat. | 11:46 | |
I've got it logging into freenode but it tries to do the auto join before that's complete. | |||
I can live with it. | |||
Ummm having the test go bold on link hover is a bit ugly. Makes the rest of the test bounce around (perl6.github.io/ecosystem-unbitrot/) | 11:47 | ||
I meant text not test | 11:49 | ||
Geth | ecosystem-unbitrot: e79103d841 | (JJ Merelo)++ | populate-issues.p6 Added working with issue number Please @alexdaniel check that it's correct. The idea is to create a map from issue number to module so that it's easy to get one from the other. |
11:51 | |
jmerelo | scimon: OK | ||
scimon: where is that? | 11:52 | ||
jkramer | jmerelo: The link in the last paragraph I think | 11:53 | |
Actually the one in the middle too but not as bad :) | 11:54 | ||
11:54
ExtraCrispy joined
|
|||
jmerelo | jkramer: I see. It's default theme thing. I can change the theme... | 11:55 | |
Which I think I'll do, since it does not work in Firefox... | |||
Geth | ecosystem-unbitrot: 6c8cce6d5a | (Jonas Kramer)++ (committed using GitHub Web editor) | README.md Fix typo. |
||
ecosystem-unbitrot: 832db7f1c3 | (Juan Julián Merelo Guervós)++ | _config.yml Set theme jekyll-theme-hacker |
11:56 | ||
jmerelo | hacker theme for the hackathon, I guess I should have set that from the beginning... | ||
jkramer | :D | 11:57 | |
Geth | ecosystem-unbitrot: fa6ff94285 | MasterDuke17++ (committed using GitHub Web editor) | README.md Fix numbering |
||
jkramer | How will the issues be polutated and when? | ||
*pop | 11:58 | ||
sena_kun | I guess tomorrow. | ||
Geth | ecosystem-unbitrot: 53a45915af | MasterDuke17++ (committed using GitHub Web editor) | README.md Fix typo |
12:00 | |
jmerelo | jkramer: I expect AlexDaniel to do that, if he's not ready, I can try and do it this afternoon | ||
Geth | ecosystem-unbitrot: 4cb021964d | (JJ Merelo)++ | README.md Adds links |
12:10 | |
12:14
squashable6 joined
|
|||
jmerelo | squashable6: status | 12:16 | |
squashable6 | jmerelo, ⚠🍕 Next SQUASHathon in ≈21 hours (2018-08-04 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
jmerelo | She's back! | ||
Geth | doc: 7f029ca8de | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/pod.pod6 use present tense, prepare for changes |
12:18 | |
synopsebot | Link: doc.perl6.org/language/pod | ||
jmerelo | tbrowder_++ | 12:31 | |
[Coke] | absolutely off topic: I made sous vide bacon today. | 12:33 | |
12:33
stmuk_ joined
12:37
jmerelo left
12:38
pmurias left
12:39
stmuk joined
12:40
stmuk_ left
12:44
stmuk left
12:46
stmuk joined
|
|||
MasterDuke | [Coke]: huh, don't think i've heard of sous viding bacon before. any good? | 12:47 | |
masak | I have some encouraging microbenchmark news: | 12:50 | |
I just went back to strangelyconsistent.org/blog/send-m...y-in-perl6 and re-ran some of the Perl 6 examples | |||
[Coke] | MasterDuke: it was delicious but weird. | ||
masak | the Perl 6 port of the Perl 5 version of Version A used to take 15 minutes back in 2015. it now takes 2m19s on my laptop. | 12:51 | |
Version B used to take 15 seconds. it now takes 4 seconds. | 12:52 | ||
(part of this might be due to me having a new laptop... microbenchmarking is hard) :) | |||
12:53
john_parr left
13:12
Zoffix joined
|
|||
Zoffix | masak: the very first example crashes for me with "P6opaque: no such attribute '$!value' on type Pair in a Scalar when trying to get a value" :) | 13:12 | |
c: 2018.06 temp.perl6.party/z.txt | |||
committable6 | Zoffix, Successfully fetched the code from the provided URL | ||
Zoffix, ¦2018.06: «P6opaque: no such attribute '$!value' on type Pair in a Scalar when trying to get a value in block at /tmp/glT7kl_ZiS line 5 in sub choose at /tmp/glT7kl_ZiS line 23 in block <unit> at /tmp/glT7kl_ZiS line 3 «exit code = 1»» | |||
Zoffix | mc: temp.perl6.party/z.txt | 13:13 | |
committable6 | Zoffix, Successfully fetched the code from the provided URL | ||
masak | Zoffix: yes, for me too. | ||
committable6 | Zoffix, gist.github.com/15c670fc54f98a9c41...6ae65ab25b | ||
masak | that code seems to have bitrotted. I don't know exactly why; maybe lizmat knows. | ||
(-) seems to now be returning Pair values, which I don't think it did back then | |||
Zoffix | the error suggests a missing decont in the guts somewhere | ||
timotimo | shees, the iteration one spends 21.6% in sink, but it's called 26,064,244 times | 13:14 | |
masak | Zoffix: oh, so it's a rakudobug? | ||
timotimo | but it does do something, as the inclusive time is a bit more than the exclusive time | ||
masak | man, I'm getting rusty | ||
Zoffix | m: use nqp; my $p = :42foo; dd nqp::getattr($p, Pair, '$!value) | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Unable to parse expression in single quotes; couldn't find final "'" (corresponding starter was at line 1) at <tmp>:1 ------> 3foo; dd nqp::getattr($p, Pair, '$!value)7⏏5<EOL> expecting … |
||
13:14
john_parr joined
|
|||
Zoffix | m: use nqp; my $p = :42foo; dd nqp::getattr($p, Pair, '$!value') | 13:14 | |
camelia | P6opaque: no such attribute '$!value' on type Pair in a Scalar when trying to get a value in block <unit> at <tmp> line 1 |
||
Zoffix | m: use nqp; my $p = :42foo; dd nqp::getattr(nqp::decont($p), Pair, '$!value') | 13:15 | |
camelia | 42 | ||
Zoffix sprays masak with WD40 he won yesterday | |||
timotimo | jeez, all the time sink doesn't spend in "itself" it spends in identity | ||
i wonder if that's almost 100% profiler overhead %) | 13:16 | ||
13:16
vrurg joined
|
|||
masak | "mostly a bunch of naval gazing" -- masak to jnthn, after exiting the Maritime Museum | 13:16 | |
13:17
ChoHag joined
|
|||
Zoffix | masak: but what I was gonna say about that program is if you're using `(-)` a ton of times, wouldn't it make the program faster to just use a Set instead of @digits? | 13:18 | |
masak | timotimo: if nothing else, I guess it says something about the need for eliminating sinks | ||
Zoffix: probably. | |||
Zoffix | I think p6sink already does some elimination | ||
masak | Zoffix: or maybe arrays and grep instead of sets | ||
Zoffix | (or maybe I'm misremembering) | 13:19 | |
timotimo | this is sink from List, it has a few ops left in it | 13:20 | |
Zoffix | List.sink is a noop. Maybe we should eliminate the call entirely in static optimizer/p6sink? | 13:22 | |
timotimo | how often do we know it's that exact type? | ||
what if someone mixes in something, etc | |||
masak | g'ah, exact types. the bane of optimizations everywhere. | 13:23 | |
timotimo | that's spesh's domain :) | ||
Zoffix | :) | ||
tbrowder_ | can we have an irc channel for pod? say, #perl6-pod | ||
Zoffix | Why do we have a million channels? | 13:24 | |
13:24
alexghacker left
|
|||
Zoffix | TIL we have #perl6-macro | 13:24 | |
or whatevere it was masak mentioned. I don't even remember anymore | |||
#perl6-dev was ded for the past ~12 hours. Why do you need a separate channel to be dead for pod dev? | 13:25 | ||
timotimo | maybe it should be renamed to #007-perl6 | ||
Zoffix finds all the 007 stuff offputting TBH | |||
timotimo | oh? | ||
Zoffix | The bond stuff I mean | ||
timotimo | i find it cute and harmless | ||
it's not like we expect to be pushing 007 to business execs | |||
Zoffix | I mean, I wanna read the docs, but I keep getting through references to some movie | 13:26 | |
tbrowder_ | because we can? anyone want to talk pod? we need some consensus on getting formatting code working everywhere, but how to do it is the question. only in the renderers? a text class for every pod string that will always have format attributes? | 13:27 | |
etc. | 13:28 | ||
big changes... | |||
Zoffix | tbrowder_: that doesn't answer the question. If you want concensus, why seek it in a place most devs won't know exists instead of—you know—the channel specifically designed for development discussions. | ||
tbrowder_: especially if in the future you want to refer to previous conversation. Now you got to search through $n number of channels because you don't really remember which channel the discussion was on. | 13:29 | ||
tbrowder_ | well i’m blocked at the moment and haven’t been able to register | ||
Zoffix | tbrowder_: so register. It takes 2 seconds. | 13:30 | |
tbrowder_: how do we know you're the real tbrowder_? | |||
tbrowder_: what's the problem with registering? | |||
mst can probably fix it | |||
/msg NickServ REGISTER teh-password tbrowser@some-email.com | 13:31 | ||
Did you do that? | |||
tbrowder_ | not if you’re a non-irc xpert, catch 22, define an alias before you register it, | ||
Zoffix | What alias? | ||
tbrowder_ | but i’m registered here, how? beats the heck out of me | 13:32 | |
timotimo | imgur.com/Ei9UwJs - masak, Zoffix, how do you like this view? | ||
Zoffix | NickServ (NickServ@services.): tbrowder_ is not registered. | ||
tbrowder_ | any hoo, i’ll quit whining until i can get it sorted out | 13:33 | |
Zoffix | tbrowder_: did you register with the NickServ register command? | ||
timotimo | "register" alone isn't enough, you also need to "identify" whenever you connect. though your irc client likely has a feature that automates it | ||
also, i think freenode allows sasl-based authentication, which logs you in even before you're fully connected | |||
tbrowder_ | i originally did, but then that trailing underscore popped up, so who knows | ||
Zoffix | tbrowder_: well, switch back to nick without underscore | 13:34 | |
timotimo | tbrowder without underscore is currently logged in, too | ||
tbrowder_ | freenode knows my email and i have a password | ||
timotimo | has been idle for 14 hours, says /whois | ||
Zoffix | NickServ (NickServ@services.): tbrowder is not registered. | ||
tbrowder_: doesn't look like you registerd that nick either | 13:35 | ||
tbrowder_ | \o/ | ||
mst | your irccloud account is connected twice | 13:36 | |
the first connection is as tbrowder | |||
use that one to register, then confirm it, then everything should be fine | |||
Zoffix | m: dd 1 (-) ($ = :42foo,) # golfed crash for the set thing | ||
camelia | P6opaque: no such attribute '$!value' on type Pair in a Scalar when trying to get a value in block <unit> at <tmp> line 1 |
||
mst downgrades back to a scalart container | |||
13:36
mst sets mode: -o mst
|
|||
Zoffix | See the fix too. Gonna file as "good first issue" | 13:37 | |
timotimo: don't know what any of the stuff on the image means, so I have no opinion :) | |||
timotimo | it's like the profiler, but newer! | 13:39 | |
here you can see that sink spends a lot of time in total, but only 0.06 nanoseconds per call | 13:40 | ||
at least i think ns is what comes at 1/1000 of a ms | |||
Zoffix | timotimo: microsecond | 13:41 | |
µs | 13:42 | ||
13:43
alexghacker joined
|
|||
mst | tbrowder_: shout if you get stuck | 13:43 | |
tbrowder_ | thnx, afk& | 13:46 | |
timotimo | that makes more sense! | 13:51 | |
thanks | |||
13:53
alexk_ joined
|
|||
timotimo | the expanded routines there show that the anon from line 50 calls sink 20 million times; i'll want to have a "per entry" in there, too | 13:53 | |
m: say 20321281 / 4838400 | |||
camelia | 4.20000021 | ||
Zoffix | Filed as R#2167 | ||
synopsebot | R#2167 [open]: github.com/rakudo/rakudo/issues/2167 [easy to resolve][medium difficulty] Explosions due to missing deconts in a bunch of Set ops | ||
Zoffix | Man, there are 19 easy issues: github.com/rakudo/rakudo/labels/ea...%20resolve | 13:54 | |
Need to write some sort of "quickstart of contributing to rakudo" blog and link it in each issue, so anyone who wants to give those a go knows how to start | |||
13:54
Actualeyes left
|
|||
Zoffix | And like this person got a patch, but doesn't know how to build MoarVM with it: github.com/rakudo/rakudo/issues/21...-409923875 | 13:55 | |
13:56
Zoffix left
13:57
curan left
|
|||
Ulti | another one is to know any of those tags exist to find the tickets | 14:01 | |
timotimo | masak: we're already fully inlining these sinks and the "identity" functions inside them (identity is what a decontrv that doesn't do anything spesh-plugins to) | ||
masak: it's just we keep too much crap around due to deopt potential, i believe | |||
ooh that's funny | 14:04 | ||
directly after the "next" we leave in the call to speshresolve and the call to the result of it | |||
because we never logged anything there, because the point after "next" wasn't reached before the routine got speshed | 14:05 | ||
14:08
jmerelo joined
|
|||
Ulti | so I think this script I just hacked up is really torturing Rakudo possibly because it creates a very large string it has to deal with | 14:08 | |
jmerelo | [Coke] Is it crispy? (The sous-vide bacon) | ||
14:19
HaraldJoerg joined
|
|||
Geth | perl6.org: 70c5649c8c | (Zoffix Znet)++ (committed using GitHub Web editor) | source/.htaccess Add URL shortcut for dev IRC channel as well |
14:19 | |
alexk_ | Hi, does anyone know why it's no longer possible to connect to #moarvm IRC channel via webchat? | 14:25 | |
masak | alexk_: bet it has something to do with Freenode's ongoing handling of spambots | 14:28 | |
14:34
jmerelo left
|
|||
timotimo | webchat is supposed to have an exception though? | 14:40 | |
perl6 has Cnt, moarvm has cnrt, not sure what the exact differences are | |||
14:40
kerframil joined
|
|||
El_Che | ping mst, he know more about the server side | 14:40 | |
masak | that +r is what the freenode public broadcast announcement advised channels to set | 14:41 | |
El_Che | registered only? | ||
masak | that sounds like it, yes | ||
14:42
alexk_ is now known as xelak
|
|||
timotimo | masak: any words on imgur.com/Ei9UwJs ? | 14:42 | |
14:43
Zoffix joined
|
|||
masak | timotimo: I confess to not being good at reading those | 14:43 | |
14:43
xelak left
|
|||
timotimo | is that anything i can try to make better by changing my design? | 14:43 | |
14:43
ChanServ sets mode: +o Zoffix
14:44
test123_ joined
|
|||
test123_ | hi | 14:44 | |
timotimo | hi test123_ | ||
14:44
xelak joined
|
|||
test123_ | sorry, I (El_Che) was testing my anti spam script. Just ignore new joins for 5 seconds. It works :) | 14:44 | |
14:44
test123_ left
|
|||
masak | timotimo: I don't have much, only a tiny nit | 14:45 | |
timotimo: it looks like in the rightmost column there is a space before the '/' but not after | |||
timotimo | ah, indeed! | 14:46 | |
i have to put that in explicitly after i split the JSX into lines | |||
so a {" "} was necessary | |||
Zoffix | xelak: try again | 14:47 | |
masak | :) | ||
timotimo | and the colors for the bars are obviously atrocious :) | ||
i'm looking for a design pattern that would let me point out to the user "you can click here to get an explanation for this little thing", do you know of anything better than just a little question mark in a box or circle? | 14:48 | ||
there's the "what's this" thing that windows used to have, that it seems like never got any use anywhere | |||
Zoffix | tbrowder_: you should be able to join all our channels without needing to reg any more | 14:49 | |
14:51
vrurg left,
xelak left
|
|||
MasterDuke | timotimo: how come it's CORE:: instead of SETTING::? | 14:57 | |
timotimo | *shrug* :) | ||
i replace SETTING::src/core/ with CORE:: | 14:58 | ||
though perhaps i also want to have a .d version of that | |||
14:58
abraxxa left
|
|||
MasterDuke | CORE.c, CORE.d, etc? | 15:00 | |
15:01
vrurg joined
15:02
vrurg left
15:06
p6bannerbot left
15:13
Zoffix sets mode: -b $~a,
Zoffix sets mode: +b $~a$#perl6-redirect
15:14
Blargsra-p6 joined
|
|||
Blargsra-p6 | Zoffix, my my! You're a genius! | 15:14 | |
15:14
Blargsra-p6 left
|
|||
Zoffix | :) | 15:14 | |
15:14
Zoffix sets mode: -o Zoffix
|
|||
Zoffix | So basically, now non-registered users are banned, but webchats and nicks ending with `-p6` are exempt. And the banned users get redirected to #perl6-redirect where the bot tells them to register, change nick to end in -p6 or use webchat | 15:16 | |
El_Che | that's pretty awful | ||
(it will get me banned if my client disconnect) | |||
Zoffix | El_Che: you're excempt too | 15:17 | |
El_Che | thx | ||
Zoffix | .oO( crybaby :P ) |
||
El_Che | .oO( meeeeeeh ) |
||
:) | |||
15:19
cognominal-p6 joined
|
|||
Zoffix | wb :P | 15:19 | |
El_Che | what about making the channel moderated and giving everyone a voice 10 seconds after joined? | ||
(my client ignore every newly joined nick for 10 seconds) | 15:21 | ||
Zoffix | Kinda confusing. You join, say "Hey all!" and get a message that you can't talk. | 15:22 | |
El_Che | the boot could write something for the new user | ||
nick: Welcome. You'll be able to write to the channels in 10 seconds (a temporarely measure against spam). | 15:23 | ||
anyway, let's see if the active setup works | |||
maybe the spammers will die from hepatitis C sooner | |||
Zoffix | But what about my genius scheme with redirects and nick exceptions? It's exusitelly convoluted! :) | 15:24 | |
El_Che | upload.wikimedia.org/wikipedia/com...ped%29.gif | ||
I remember someone accusing mst of that in a mailing list, so I reread the wikipedia page then :) | 15:25 | ||
15:26
Zoffixw-p6 joined,
ChanServ sets mode: +o Zoffix,
Zoffix sets mode: +m
15:27
Zoffix sets mode: -m
15:31
Zoffix sets mode: -b $~a$#perl6-redirect
15:34
p6bannerbot joined,
Zoffix sets mode: +o p6bannerbot,
p6bannerbot sets mode: +v p6bannerbot
|
|||
Zoffix | stupid robot | 15:34 | |
15:34
Zoffix sets mode: +o p6bannerbot
15:35
epony joined
15:36
linuxdaemon14 joined,
p6bannerbot sets mode: +v epony
|
|||
linuxdaemon14 | With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! williampitcock.com/ | 15:36 | |
I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard bryanostergaard.com/ | |||
15:36
p6bannerbot sets mode: +v linuxdaemon14
|
|||
linuxdaemon14 | Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal encyclopediadramatica.rs/Freenodegate | 15:36 | |
15:36
Zoffix sets mode: +b *!*@117.243.239.7
|
|||
linuxdaemon14 | A fascinating blog by freenode staff member Matthew 'mst' Trout MattSTrout.com/ | 15:36 | |
15:36
linuxdaemon14 was kicked by Zoffix (linuxdaemon14)),
p6bannerbot left,
p6bannerbot joined
|
|||
Zoffix | At least we know the attack is still ongoing :P | 15:36 | |
El_Che | :) | ||
15:36
Zoffix sets mode: +o p6bannerbot,
p6bannerbot sets mode: +v p6bannerbot
|
|||
Zoffix | grr | 15:36 | |
El_Che | must be one of the longest attacks so far | ||
Zoffix | oh right, I forgot one of the multies | 15:37 | |
Yeah, mst sure knows how to piss people off :D | |||
15:37
p6bannerbot left,
p6bannerbot joined,
Zoffix sets mode: +o p6bannerbot,
Zoffixw-p6 left
|
|||
Zoffix | A minute of silence for all of the killed bugs in all the programs.... | 15:38 | |
15:38
Zoffix sets mode: +m ,
Zoffixw-p6 joined,
p6bannerbot sets mode: +v Zoffixw-p6
|
|||
Zoffixw-p6 | hm | 15:38 | |
15:38
Zoffix sets mode: -m
|
|||
Zoffix | I guess /notices don't come through to some users? If there's some mode set, eh? | 15:39 | |
it came from me. Need to be registered, I guess | 15:40 | ||
15:40
p6bannerbot left
15:41
Zoffix is now known as p6bannerbot,
p6bannerbot is now known as Zoffix
15:43
Zoffixw-p6 is now known as ZoffixW,
ZoffixW left,
p6bannerbot joined,
Zoffix sets mode: +o p6bannerbot
15:44
ZoffixW joined,
p6bannerbot sets mode: +v ZoffixW,
ZoffixW left
|
|||
El_Che | Zoffix: how were your talks? aka, how were they received? | 15:44 | |
Zoffix | 1 sec | ||
15:44
Zoffix sets mode: +m ,
ZoffixW joined,
Zoffix sets mode: -m ,
p6bannerbot sets mode: +v ZoffixW
|
|||
Zoffix | k, notice from bot now works | 15:44 | |
El_Che | nice! | 15:45 | |
15:45
MeiR joined
|
|||
MeiR | With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! williampitcock.com/ | 15:45 | |
Zoffix | Is there an easy way to +v all users? | ||
MeiR | I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard bryanostergaard.com/ | ||
15:45
MeiR was kicked by Zoffix (MeiR))
15:46
Zoffix sets mode: +v [Coke]
15:47
Zoffix sets mode: +vv [particle] [ptc]
|
|||
Zoffix | Is listing all users the only way to do this? | 15:47 | |
15:47
vrurg joined
|
|||
Juerd | Zoffix: Yes. | 15:47 | |
Zoffix | crap | ||
15:47
p6bannerbot sets mode: +v vrurg
|
|||
Juerd | Zoffix: But note that the network lets you +v several in one line, +vvv foo bar baz | 15:48 | |
Zoffix | I still have to list all the things tho | ||
Juerd | Zoffix: Good irc clients will do that automatically, and will something like "/voice *" to do so | ||
Zoffix: Yes. | |||
15:48
Zoffix sets mode: +o ZoffixW
|
|||
Juerd | There's no escaping that | 15:48 | |
15:49
ZoffixW sets mode: +vvvv a3f a3r0 aeruder_ afresh1,
ZoffixW sets mode: +vvvv aindilis albongo AlexDaniel AlexDaniel-old[m,
ZoffixW sets mode: +vvvv alexghacker alpha6 ambs andrewalker,
ZoffixW sets mode: +vvvv APic atta avuserow awwaiid,
ZoffixW sets mode: +vvvv b2gills benchable6 BertolucciTalks bhm,
ZoffixW sets mode: +vvvv BinGOs BooK broquaint BuildTheRobots,
ZoffixW sets mode: +vvvv caa51h caasih casdr Celelibi,
ZoffixW sets mode: +vv chansen_ charsbar
|
|||
Zoffix | yey Hexchat ctrl+select -> voice | 15:49 | |
15:49
ZoffixW sets mode: +vvvv ChoHag CIAvash[m] cibs cjkinni,
ZoffixW sets mode: +vvvv cognominal-p6 cpage daemon dakkar,
ZoffixW sets mode: +vvvv damnlie DarthGandalf diakopter diegok,
ZoffixW sets mode: +vvvv dogbert17 dogbert2 domidumont domm,
ZoffixW sets mode: +vvvv dotdotdot dpk DrForr dustinm`,
ZoffixW sets mode: +vvvv dylanwh eater ecocode El_Che,
ZoffixW sets mode: +vvvv erdic esh_ EuAndreh[m] Exodist,
ZoffixW sets mode: +vv ExtraCrispy eythian
|
|||
Zoffix | hm, looks like it only gives voice to N users even if you select all heh | 15:50 | |
15:50
ZoffixW sets mode: +vvvv f3ew felher g- Garland_g[m],
ZoffixW sets mode: +vvvv geekosaur gfldex giraffe go|dfish,
ZoffixW sets mode: +vvvv Grauwolf gregf_ Grrrr grumble,
ZoffixW sets mode: +vvvv gtodd Guest17966 Guest26294 Guest57458,
ZoffixW sets mode: +vvvv hahainternet HaraldJoerg haxmeister hobbs,
ZoffixW sets mode: +vvvv hoelzro huf ilbelkyr ilmari,
ZoffixW sets mode: +vvvv ilmari_ imcsk8_ ingy integral,
ZoffixW sets mode: +vvvv isacl iviv japanoise japhb,
ZoffixW sets mode: +vvvv japhb_ jast jcallen jdv79,
ZoffixW sets mode: +vvvv jeek jferrero jhill jkramer,
ZoffixW sets mode: +vvvv jnthn john_parr joy_ Juerd
|
|||
El_Che | irssi: /voice * -YES | 15:50 | |
15:50
ZoffixW sets mode: +vvvv kanbas kent\n kerframil Khisanth,
ZoffixW sets mode: +vvvv kini kipd KotH krunen,
ZoffixW sets mode: +v lance_w[m]
|
|||
Juerd | weechat too | 15:50 | |
15:50
Zoffix sets mode: +vvvv Zoffix stmuk squashable6 scimon,
Zoffix sets mode: +vvvv spycrab0 sena_kun xiaomiao Voldenet
15:51
Zoffix sets mode: +vvvv spider-mario susmus xi| samcv,
Zoffix sets mode: +vvvv psychoslave_ rindolf sauvin sacomo,
Zoffix sets mode: +vvvv Sgeo statisfiable6 SHODAN undersightable6,
Zoffix sets mode: +vvvv Praise notable6 SyrupThinker tinita,
Zoffix sets mode: +vvvv sftp telex scott |oLa|
|
|||
Zoffix | ok, weekchat now :) | 15:51 | |
15:51
Zoffix sets mode: +vvvv xq TreyHarris mephinet reu,
Zoffix sets mode: +vvvv xinming leah2 sno Summertime,
Zoffix sets mode: +vvvv x[LGWs4x4i]uG2N0 Woodi sivoais rgrau
|
|||
Juerd | weekchat? | 15:51 | |
15:51
Zoffix sets mode: +vvvv obfusk SCHAPiE Possum MilkmanDan,
Zoffix sets mode: +vvvv nebuchadnezzar p6lert MasterDuke sjn
|
|||
Zoffix | weechat | 15:51 | |
Juerd | Does it expire after 7 days? | ||
15:51
Zoffix sets mode: +vvvv pierrot timotimo vike mst,
Zoffix sets mode: +vvvv mrsolo mithaldu_ pnu__ wbn,
Zoffix sets mode: +vvvv PotatoGim phogg nightfrog S007,
Zoffix sets mode: +vvvv Matthew[m] tyil[m]1 tyil[m] wictory[m],
Zoffix sets mode: +vvvv unclechu[m] mirlur[m] MitarashiDango[m webstrand,
Zoffix sets mode: +vvvv silug mniip ribasushi ponbiki,
Zoffix sets mode: +vvvv perlawhirl metracom perigrin samebchase,
Zoffix sets mode: +vvvv nuclearsandwich xxpor spacedbat titsuki_,
Zoffix sets mode: +vvvv timeless skaji rodarmor SmokeMachine,
Zoffix sets mode: +vvvv olinkl zostay Spot_ lucs,
Zoffix sets mode: +vvvv leedo ownTheLibs shadowpaste nopl_
|
|||
Zoffix | Well, I must say, this is a strange way to deal with spam. | 15:51 | |
15:51
Zoffix sets mode: +vvvv tbrowder_ simcop2387 sysdef mingdao
|
|||
geekosaur | the server sets a limit, smarter clients will break commands up to fit it | 15:51 | |
15:51
Zoffix sets mode: +vvvv moritz mtj_ syntaxma1 speedChicken,
Zoffix sets mode: +vvvv perlbot musca Technaton markk_,
Zoffix sets mode: +vvvv pmichaud mempko tobs tardisx,
Zoffix sets mode: +vvvv profan TimToady nine tyil,
Zoffix sets mode: +vvvv TeamBlast stux|RC sunnavy Util
15:52
Zoffix sets mode: +vvvv masak Mithaldu tony-o_ rjbs,
Zoffix sets mode: +vvvv tomaw m0ltar stux|RC-only riatre,
Zoffix sets mode: +vvvv marcusramberg smash protium robinsmidsrod
|
|||
Zoffix | And I'm guessing all these users are getting notifications too, eh? :) | 15:52 | |
15:52
Zoffix sets mode: +vvvv ttkp6 Ulti telnet p6bannerbot,
jmerelo joined
|
|||
geekosaur | yes | 15:52 | |
15:52
p6bannerbot sets mode: +v jmerelo
|
|||
El_Che | ah, funny: [tmp_ignore.pl] Running action ignore on jmerelo on #perl6 at Freenode... | 15:52 | |
geekosaur | "MODES=4" in one of the server messages during connection fwiw | 15:53 | |
15:53
Zoffix sets mode: +m
|
|||
SmokeMachine | can I still speak? | 15:53 | |
El_Che | of course, my dear | 15:54 | |
SmokeMachine | I think I do... | ||
:) | |||
Zoffix | SmokeMachine: yues | ||
AlexDaniel | jmerelo: hello | ||
nebuchadnezzar | Zoffix: what about setting the chan to +r to allow only registered and logged in users to speak instead of being in moderated mode? | ||
AlexDaniel | jmerelo: haven't read the intsructions yet, but it looks freaking awesome | ||
xinming | don't forget me please | ||
Zoffix | nebuchadnezzar: that's what it originally was, and people said, "what about giving voice after 10seconds instead of requiring users to register" :) | 15:55 | |
xinming | I can speak, I was afraid of being blocked out. :-) | ||
geekosaur | +r means they can't even join | ||
El_Che ducks | |||
nebuchadnezzar | Zoffix: so a bot will voice new people after 10 seconds, I'm ok with that | ||
El_Che | nebuchadnezzar: we're a newbie friendly channel, lots of unregistered people pop in for a question | 15:56 | |
Zoffix | Yeah | ||
15:56
Blargembers joined,
p6bannerbot sets mode: +v Blargembers
|
|||
AlexDaniel | just in time for the squashathon I guess? | 15:56 | |
15:57
Blargembers left,
Blargement joined,
p6bannerbot sets mode: +v Blargement
|
|||
Zoffix | hm, weird. | 15:57 | |
The bot's meant to +v web users right away | |||
nebuchadnezzar | so what happen to bots trying to spam the chan? How are they discriminated from users? | 15:58 | |
Zoffix | nebuchadnezzar: that's why there's a 10 second delay | ||
El_Che | nebuchadnezzar: they are k-lined automatically | ||
mostly before the 10 secs | |||
Zoffix | nebuchadnezzar: at least in theory, the bot will send the spam in those 10 seconds and then piss off, and we never get it | ||
Juerd | I feel we came full-circle, because the first Perl IRC channel I've visited was efnet #perl which had +m and a bot that would give +v, delayed... :D | ||
Zoffix | lol | ||
Juerd | This was a long time ago | 15:59 | |
El_Che | Juerd: we should all use epicII or mirc :) | ||
Juerd | BitchX | ||
nebuchadnezzar | yes, good old time | ||
El_Che | Juerd: BitchX started as a epicII script | ||
15:59
edong2320 joined,
vrurg left,
nebuchadnezzar left
16:00
nebuchadnezzar joined,
p6bannerbot sets mode: +v edong2320
|
|||
edong2320 | With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! williampitcock.com/ | 16:00 | |
I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard bryanostergaard.com/ | |||
Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal encyclopediadramatica.rs/Freenodegate | |||
A fascinating blog by freenode staff member Matthew 'mst' Trout MattSTrout.com/ | |||
16:00
p6bannerbot sets mode: +v nebuchadnezzar
|
|||
El_Che | agh f* | 16:00 | |
Zoffix | loool | ||
El_Che: so... now what? | |||
El_Che | we form a posse | ||
AlexDaniel | bump the limit? | ||
Zoffix | My exquisitelly convoluted setup sounds more attractive :) | ||
Juerd | El_Che: PHP started as a Perl script. There's probably some pattern here... | 16:01 | |
Zoffix | I wonder if the bot just waits until it gets voiced if the channel is +m. | ||
That's how I'd make it if I made one | |||
El_Che | perl 6 started as a perl5 script | ||
nebuchadnezzar | Zoffix: notify new comer with a token to reply to the bot? | ||
Juerd | Zoffix: Could be. I never expected it to be that smart... | ||
AlexDaniel | Zoffix: ah, makes sense | ||
Juerd | nebuchadnezzar: Ooooh. An IRC captcha! | ||
Zoffix | nebuchadnezzar: my original idea seems simpler than that , but people didn't like it | 16:02 | |
nebuchadnezzar: the idea being the user just changes nick to end with "-p6" or registers it or uses webchat. And the bot tells them to do any of those things | |||
El_Che | bump the time and see if it's ok? | ||
jmerelo | .seen AlexDaniel | ||
AlexDaniel | I'm right here? | ||
nebuchadnezzar | Just saying Hello to the bot or to the chan? | ||
jmerelo | AlexDaniel: sorry, just woke up | ||
El_Che | AlexDaniel: I didn't recognize you without the -p6 suffix | ||
jmerelo | AlexDaniel: are you going to populate the issues? Tomorrow? | 16:03 | |
16:03
domidumont left,
p6bannerbot left
|
|||
AlexDaniel | jmerelo: I was thinking about now | 16:03 | |
16:03
p6bannerbot joined,
Zoffix sets mode: +op p6bannerbot
|
|||
nebuchadnezzar | Zoffix: what about voicing only polite people who say hello ;-) | 16:03 | |
16:03
qew joined
|
|||
Zoffix | The limit's 15s now. And is 0 for web users | 16:03 | |
AlexDaniel | jmerelo: but that's only if we're happy with the template I think: github.com/perl6/ecosystem-unbitro...p6#L10-L17 | ||
16:03
p6bannerbot sets mode: +v qew
|
|||
jmerelo | AlexDaniel: Please check the small change I did to the script to save issue # with names | 16:04 | |
Zoffix | Hmmmm | ||
Are all spamular accounts using a plain IP address as host? | |||
nope :( | 16:05 | ||
El_Che | most of them, but not all | ||
Geth | ecosystem-unbitrot: be87ec57ce | (JJ Merelo)++ | populate-issues.p6 Less strong phrasing |
||
16:05
edong2320 left
|
|||
jmerelo | AlexDaniel: ^^^ also that | 16:05 | |
Anyway, I'm creating the labels | |||
16:06
qew left
16:07
Blargblae joined,
p6bannerbot sets mode: +v Blargblae
|
|||
Blargblae | meow | 16:07 | |
Nice | |||
.botsnack | |||
16:07
Blargblae left
|
|||
jmerelo | Labels created now | 16:08 | |
Zoffix | The cool thing is this bot is like 16 lines of p6 code :) | ||
El_Che | impressive | ||
Zoffix | <3 promises | ||
16:09
Blargement left
|
|||
AlexDaniel | jmerelo: “Choose one to work on, and tell everyone by commenting on the issue” why not self-assign instead? | 16:11 | |
jmerelo | AlexDaniel: you can't self-assign if you're not part of the repo | 16:12 | |
AlexDaniel: otherwise said, you can't assign to anyone who is not part of the repo, either by being authorized or by having some code accepted (I think) | 16:13 | ||
16:14
ChanServ sets mode: -v AlexDaniel
|
|||
Zoffix | ? | 16:15 | |
16:16
Zoffix sets mode: +v AlexDaniel
|
|||
Zoffix | AlexDaniel: what happened there? | 16:16 | |
AlexDaniel | I devoiced myself? I think I can talk without it | ||
16:16
ChanServ sets mode: -v AlexDaniel,
ChanServ sets mode: +v AlexDaniel
|
|||
AlexDaniel | ok I see… | 16:16 | |
Zoffix | :) | ||
AlexDaniel | my irc client shows myself as “+AlexDaniel” and it's annoying :D | 16:17 | |
Zoffix | same. It also makes it bold :) | ||
s/it/the plus/; | |||
16:17
ZoffixW left
16:21
jmerelo left,
scimon left
16:22
AlexDaniel` joined
16:23
p6bannerbot sets mode: +v AlexDaniel`
16:25
AlexDaniel` left,
AlexDaniel` joined,
rajaniemi.freenode.net sets mode: +v AlexDaniel`,
p6bannerbot sets mode: +v AlexDaniel`
16:26
Zoffix sets mode: -b *!*@117.243.239.7,
dakkar left,
vrurg joined,
Zoffix sets mode: -b *!*@117.203.*.*
16:27
p6bannerbot sets mode: +v vrurg,
Zoffix sets mode: -b *!*@69.41.179.20*,
Zoffix sets mode: -b liudelong_______!*@*,
kaare__ joined,
p6bannerbot sets mode: +v kaare__
16:30
p6bannerbot left
16:31
p6bannerbot joined,
Zoffix sets mode: +o p6bannerbot,
ZoffixW joined,
p6bannerbot sets mode: +v ZoffixW,
ZoffixW left,
ZoffixW joined
|
|||
AlexDaniel` | test | 16:32 | |
16:32
p6bannerbot sets mode: +v ZoffixW,
BuildTheRobots3 joined
|
|||
Zoffix | (made the bot /notice info message only once per seen host, so it doesn't /notice-spam people who keep bouncing) | 16:32 | |
16:32
p6bannerbot sets mode: +v BuildTheRobots3,
ZoffixW left
|
|||
Zoffix | AlexDaniel`: test successful! | 16:33 | |
[Coke] | jmerelo - bacon - the meat was crispy, and the fat was oddly... solid. slightly gelatinized? | ||
jkramer | Is that the thing where you put meat into a plastic bag and throw it in the dishwasher? | 16:36 | |
El_Che | a cat? | ||
[Coke] | ... conceptually that's close enough, sure. :) | ||
jkramer | (that sous vide thing, had to scroll up as I was intrigued by that bacon line of [Coke] :)) | ||
16:36
BuildTheRobots3 left
|
|||
jkramer | Gotta try that one day :) | 16:38 | |
MasterDuke | [Coke]: did you fry it at all? if not, how in the world was the meat crispy? | ||
jkramer | I once tried to fry meat in a sandwich toaster. Can't recommend it | 16:39 | |
16:41
MitarashiDango[m joined
16:42
p6bannerbot sets mode: +v MitarashiDango[m
|
|||
[Coke] | as with most sous vide, finish with a fry. | 16:46 | |
so you get the delicious browning. | |||
You could eat it pre-fry, it's fully cooked, but that'd be gross. :) | 16:47 | ||
AlexDaniel | 💫 | 16:49 | |
just slept for 13+ hours. Not fun :S | |||
16:53
domidumont joined,
p6bannerbot sets mode: +v domidumont
|
|||
Zoffix | New blog post: "Introducing: Newcomer Guide to Contributing to Core Perl 6": rakudo.party/post/Introducing-Newc...ore-Perl-6 | 17:03 | |
17:03
lucasb joined,
p6bannerbot sets mode: +v lucasb
|
|||
AlexDaniel | Zoffix: still reading and it's promising, but fwiw there's perl 6 without nbsp: screenshots.firefox.com/jMOs3AluZ9...kudo.party | 17:08 | |
Zoffix: also “is can” in the same paragraph | |||
Zoffix | Meh, I'm tired of fixing the name. | 17:09 | |
The name's broken | |||
Fixed. | 17:12 | ||
17:13
Zoffix left
|
|||
xinming | when I try to build use p5 in perl6, I got error Missing serialize REPR function for REPR VMException (BOOTException) | 17:14 | |
What might this be caused? | |||
I use something like, use Inline::Perl5; my $p5 = Inline::Perl5.new; $p5.use('Module')... | 17:15 | ||
17:19
lucasb left
|
|||
xinming | I use something like, use Inline::Perl5; my $p5 = Inline::Perl5.new; $p5.use('Data::Dumper'); | 17:19 | |
Do I miss something when I compile perl5? | |||
17:19
Zoffix joined
|
|||
xinming | Zoffix: ping | 17:19 | |
17:19
p6bannerbot sets mode: +v Zoffix
|
|||
xinming | do you know how to solve the problem about Inline::Perl5? | 17:19 | |
17:20
epony left,
epony joined,
orwell.freenode.net sets mode: +v epony,
ChanServ sets mode: -v epony
|
|||
xinming | Missing serialize REPR function for REPR VMException (BOOTException) <--- This error | 17:20 | |
17:20
p6bannerbot sets mode: +v epony
|
|||
Zoffix | xinming: it means that you tried to "precompile" an Exception object. You probably have something in the mainline that produces a Failure, but it never explodes during precompilation | 17:20 | |
17:20
Kaiepi joined
17:21
p6bannerbot sets mode: +v Kaiepi
17:22
stmuk_ joined,
AlexDani` joined
|
|||
Zoffix | xinming: what if you add `$! = Nil` at the bottom of the module | 17:22 | |
17:22
epony left,
p6bannerbot sets mode: +v stmuk_
17:23
p6bannerbot sets mode: +v AlexDani`
|
|||
xinming | Let me try. bbl | 17:23 | |
17:23
epony joined,
epony left,
epony joined,
p6bannerbot sets mode: +v epony
17:24
stmuk left
17:26
AlexDaniel left
|
|||
Zoffix | e: BEGIN 'sandbox/A38'.IO.mkdir.add('Foo.pm6').spurt: 「constant z = (try require YourMom)」; use lib 'sandbox/A38'; use Foo; | 17:27 | |
evalable6 | (exit code 1) ===SORRY!=== Missing serialize REPR function for REPR VMException (BOOTException) |
||
Zoffix | e: BEGIN 'sandbox/A38'.IO.mkdir.add('Foo.pm6').spurt: 「constant z = (try require YourMom); $! = Nil」; use lib 'sandbox/A38'; use Foo; | ||
evalable6 | (exit code 1) ===SORRY!=== Missing serialize REPR function for REPR VMException (BOOTException) |
||
Zoffix | e: BEGIN 'sandbox/A38'.IO.mkdir.add('Foo.pm6').spurt: 「constant z = (try require YourMom); BEGIN $! = Nil」; use lib 'sandbox/A38'; use Foo; | ||
evalable6 | |||
Zoffix | xinming: might need a stick a BEGIN to it too; `BEGIN $! = Nil` | 17:28 | |
17:29
epony left,
Zoffix left
17:30
epony joined
17:31
p6bannerbot sets mode: +v epony
|
|||
xinming | m: use Inline::Perl5; my $p = Inline::Perl5.new; $p.use('Data::Dumper'); $p.run(q[sub test { print Dumper \@_ }]); $p.call('test', { a => 'b'}); | 17:41 | |
camelia | ===SORRY!=== Could not find Inline::Perl5 at line 1 in: /home/camelia/.perl6 /home/camelia/rakudo-m-inst-1/share/perl6/site /home/camelia/rakudo-m-inst-1/share/perl6/vendor /home/camelia/rakudo-m-inst-1/share/perl6 Comp… |
||
xinming | How do we force a hashref pass please? | ||
In my example, We got something like, ['a', 'b'] in perl5 instead of [{a => 'b'}] | 17:42 | ||
it seems we have to force $({... }); | 17:43 | ||
yea, we have to $(...) | 17:44 | ||
timotimo | m: say <a b c d>.pairup | 17:48 | |
camelia | (a => b c => d) | ||
timotimo | i'm not sure what exactly you're interested in :) | 17:49 | |
xinming | passing perl6 hash to perl5 as hashref. | 17:50 | |
timotimo | oh, in Inline::Perl5 | ||
i haven't used that yet | |||
17:50
AlexDani` left,
AlexDani` joined,
cherryh.freenode.net sets mode: +v AlexDani`,
AlexDani` is now known as AlexDaniel,
p6bannerbot sets mode: +v AlexDaniel
|
|||
xinming | but with Inline::Perl5, as far as I tried, they'll be expanded to a list of values | 17:50 | |
17:51
kerframil left
|
|||
timotimo | have you looked through the test cases in the Inline::Perl5 repo? | 17:51 | |
17:52
domidumont left,
Zoffix joined,
p6bannerbot sets mode: +v Zoffix
|
|||
Zoffix | xinming: basically you just scalarize it, as you've found already $(...). For some things, you pass them as Captures, like `\(1)` to give a scalar ref to 1 | 17:52 | |
17:54
pmurias joined
|
|||
Zoffix | xinming: also don't know what you're doing, but your code seems overly elaborate. This works equally well: use Data::Dumper:from<Perl5>; print Dumper [{ a => "b"},] | 17:54 | |
17:54
p6bannerbot sets mode: +v pmurias
|
|||
xinming | Zoffix: I wish to see how perl5 sees the data passed, So, I wish to all these within perl5 code. | 17:56 | |
what I mean is, I want to see the perl5 view of data style, not in perl6 env. | |||
Zoffix | xinming: yeah, that Dumper call is Perl 5's Dumper | 17:57 | |
xinming | Zoffix: Ok, what I mean is, all things in p5 printed, not things from perl6 | 17:58 | |
something like that. ignore me anyway, I got it fixed. | 17:59 | ||
Zoffix | ok :) | ||
18:01
Zoffix left
18:08
abraxxa joined,
p6bannerbot sets mode: +v abraxxa
18:12
abraxxa left
18:16
MilkmanDan left
18:18
MilkmanDan joined,
p6bannerbot sets mode: +v MilkmanDan
18:19
vrurg left
18:22
Khisanth left
18:23
sauvin left
18:25
stmuk joined,
p6bannerbot sets mode: +v stmuk
18:26
stmuk_ left
18:27
abraxxa joined,
p6bannerbot sets mode: +v abraxxa
|
|||
buggable | New CPAN upload: Sparrowdo-VSTS-YAML-Cordova-0.0.2.tar.gz by MELEZHIK modules.perl6.org/dist/Sparrowdo::V...n:MELEZHIK | 18:28 | |
18:30
stmuk_ joined,
vrurg joined,
p6bannerbot sets mode: +v stmuk_,
p6bannerbot sets mode: +v vrurg,
stmuk left
|
|||
El_Che | Zoffix: it seems to work | 18:35 | |
18:35
stmuk_ left,
Khisanth joined,
p6bannerbot sets mode: +v Khisanth
|
|||
El_Che | Zoffix: an upgrade from #perl5 when all the non registered users are silenced :) | 18:35 | |
18:38
pmurias left,
pmurias joined,
p6bannerbot sets mode: +v pmurias
18:39
stmuk_ joined,
p6bannerbot sets mode: +v stmuk_
18:54
abraxxa left,
stmuk_ left
18:56
abraxxa joined,
p6bannerbot sets mode: +v abraxxa
|
|||
perlbot | Anonymous pasted a new file at f.perl.bot/p/9zlc9b - | 18:57 | |
vrurg | Anybody to suggest what is wrong with type capturing in the above link? | 18:58 | |
[Coke] wonders how long perlbot has been in here. | |||
m: my $i = Nil; say $i.WHAT | 19:00 | ||
camelia | (Any) | ||
19:00
domidumont joined,
p6bannerbot sets mode: +v domidumont
19:05
domidumont left
|
|||
vrurg | m: my Int $i = Nil; say $i.WHAT | 19:10 | |
camelia | (Int) | ||
xinming | for an existing declaration attribute without 'handles <a b c>', How do we add additional 'handles' in subclass? | 19:11 | |
geekosaur wants to see that with --ll-exception: that error looks like it's in the process of constructing a different error | 19:12 | ||
or maybe that's not enough for this, hm | 19:13 | ||
perlbot | Anonymous pasted a new file at f.perl.bot/p/yszbif - | 19:15 | |
vrurg | The trace is in the last link. | ||
19:17
nolash joined,
p6bannerbot sets mode: +v nolash
|
|||
tbrowder_ | helloooo, anyone home? | 19:18 | |
nolash | passing headers with underscores in HTTP::Request, they get replaced with hyphens. Can that be turned off? | 19:20 | |
19:23
chsanch joined,
p6bannerbot sets mode: +v chsanch
|
|||
xinming | seems we can just write the definitions. | 19:24 | |
geekosaur | I looked but don't know enough about the internals --- and apparently have the wrong rakudo version: the error is likely being thrown in BOOTSTRAP.nqp but mine doesn't have as many lines as your | ||
s | |||
19:24
Zoffix joined
|
|||
vrurg | geekosaur: Mine is 2018.06 | 19:25 | |
19:25
p6bannerbot sets mode: +v Zoffix
|
|||
Zoffix | vrurg: the capture stuff is pretty buggy, and I suspect that's the case there. You're hitting a bug. It's not supposed to say "no gist on T" | 19:25 | |
geekosaur | ok, I updated last week so 2018.08 and too much has changed | ||
er, I think 08 | |||
Zoffix | Last release is 208.06 | 19:26 | |
Last release is 2018.06 | |||
geekosaur | no, it says 2018.06-234-gcb2ea93 | ||
vrurg | Zoffix: I felt like reporting a bug. Will do now. | ||
Zoffix | nolash: do you know what module it's from? | 19:28 | |
nolash: I mean, which distribution is HTTP::Request from? | |||
it sucks that modules.perl6.org doesn't find modules inside distros :/ | 19:29 | ||
nolash | LWP::UserAgent | ||
Zoffix | Thanks. | ||
nolash: you mean HTTP::UserAgent, right? | |||
You're using Perl 6, not Perl, right? | 19:30 | ||
Quickly glancing at HTTP::Request in HTTP::UserAgent dist, I'm not seeing any place in code where it changes _ to - | 19:31 | ||
hm, but it does change it (checked with `perl6 -MWWW -e 'say get "httpbin.org/headers", :Some_Header<Value>'` which uses HTTP::UserAgent under the hood) | 19:35 | ||
19:38
stmuk_ joined
|
|||
vrurg | m: sub genf (::T $) { return sub ( T $v ) { say $v } }; genf( Int )( Nil ); | 19:38 | |
camelia | Type check failed in binding to parameter '$v'; expected Int but got Nil (Nil) in sub at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
19:38
p6bannerbot sets mode: +v stmuk_
|
|||
nolash | hmm | 19:38 | |
ehh | |||
hehe | |||
I guess I'm using perl5 | |||
Zoffix | Oh | ||
nolash | so wrong channel | ||
Zoffix | :) | ||
nolash | is there a perl channel? | ||
Zoffix | Yeah, you want the #perl next door | ||
nolash | 5 | ||
vrurg | Zoffix: is it same kind of problem? I guess, in this case Nil is treated not as a value but as a type in the signature check. | 19:39 | |
nolash | Zoffix: thanks! | ||
Zoffix | vrurg: looks right tho. `sub (Int) {}(Nil)` isn't going to work | 19:40 | |
m: sub (Int) {}(Nil) | |||
camelia | Type check failed in binding to parameter '<anon>'; expected Int but got Nil (Nil) in sub at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
Zoffix | vrurg: Nil sets a container to its default value when assigned into container. But signatures use binding, not assignment | 19:41 | |
xinming | class A { }; A does { method test { } }; A.new.test; | ||
m: class A { }; A does { method test { } }; A.new.test; | |||
camelia | Potential difficulties: Useless declaration of a has-scoped method in mainline (did you mean 'my method test'?) at <tmp>:1 ------> 3class A { }; A does { method7⏏5 test { } }; A.new.test; Cannot use 'does' operator on a type … |
||
vrurg is fighting to implement moo-like lazy attributes. | |||
19:42
abraxxa left
|
|||
vrurg | Ok, then manual type-checking is what I doomed to have. | 19:42 | |
xinming | Is it possible to apply roles to loaded class for the runtime globally? | ||
Zoffix | vrurg: there's a module for that stuff. I think a couple even | ||
xinming: I think augment can do it | |||
vrurg | Zoffix: two. Both doing it absolutely wrong way. | ||
Zoffix | vrurg: ah, too bad :) | ||
vrurg | One fails if attribute is declared in a role. | ||
Zoffix | m: use MONKEY-TYPING; class Foos {}; role Meows { method z { say "meow" } }; augment class Foos does Meows {}; Foos.z | 19:43 | |
camelia | meow | ||
Zoffix | xinming: note that subclasses of Foos won't get the augment. You have to explicitly call .^compose on them to get it | 19:44 | |
vrurg | I also trying bind an attribute to a Proxy container. Is it something rightful to do? Because so far I end up with indefinite loop on FETCH. | ||
moritz | vrurg: if you work with a Proxy, you need to store the actual value somewhere else | ||
xinming | Zoffix: What about roles of roles? | 19:45 | |
19:45
giraffe left,
giraffe joined,
cherryh.freenode.net sets mode: +v giraffe,
ChanServ sets mode: -v giraffe,
giraffe left,
giraffe joined,
p6bannerbot sets mode: +v giraffe
|
|||
Zoffix | vrurg: prolly. I know you can with Proxee | 19:45 | |
vrurg: github.com/zoffixznet/perl6-Proxee#synopsis | 19:46 | ||
vrurg | moritz: Sure I do. I just cannot find out why FETCH => method { %attrs<value> } results in calling same FETCH again. Can't even find out if it's a loop of some kind of a recursion. | ||
19:46
abraxxa joined
|
|||
xinming | subclass doesn't get the new augment'ed baseclass, what about the role? | 19:46 | |
19:46
p6bannerbot sets mode: +v abraxxa
|
|||
xinming | will the role globally pointing to the same role? | 19:46 | |
Zoffix doesn't understand the question | |||
vrurg | Zoffix: I didn't want to make a pretty low-level module to bedependant on third-party modules. KISS in action. ;) | 19:47 | |
Zoffix | m: with class Foo { has $.bar := do { my $v = 42; Proxy.new: :FETCH{ $v }, :STORE(-> $, \n { $v = n }) } }.new { .bar.say; .bar = 100; .bar.say } | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Cannot use := to initialize an attribute at <tmp>:1 ------> 3CH{ $v }, :STORE(-> $, \n { $v = n }) } 7⏏5}.new { .bar.say; .bar = 100; .bar.say } |
||
Zoffix | xinming: you wanna have an attribute changed with a Proxy, in other words, right? | 19:48 | |
Like it doesn't have to be bound? | |||
m: with class Foo { has $!bar; method bar is rw { Proxy.new: :FETCH{ $!bar }, :STORE(-> $, $!bar { $!bar }) } }.new { .bar.say; .bar = 100; .bar.say } | 19:49 | ||
camelia | (Any) 100 |
||
Zoffix | that's one way | ||
vrurg | Zoffix: I do it with set_value in a HOW role. Though binding in BUILDALL does the trick too. | ||
Zoffix | xinming: sorry, I meant to ask vrurg. nm. | 19:50 | |
19:50
lucasb joined
|
|||
Zoffix | vrurg: ah, I've no idea what set_value is :) | 19:51 | |
over my head | |||
19:51
nolash left,
p6bannerbot sets mode: +v lucasb
|
|||
vrurg | Zoffix: I wanna lazyness to be working well with private attributes too. | 19:51 | |
Zoffix: Attribute.set_value. I'm not familiar with nqp to analize it well, but seems like it binds a value to attribute. | |||
Zoffix | s: Attribute, 'set_value' | 19:52 | |
SourceBaby | Zoffix, Sauce is at github.com/rakudo/rakudo/blob/df5d...e.pm6#L188 | ||
lucasb | o/ | ||
vrurg | So, to the Proxy stuff. I wanna method foo { say $!bar } to have $!bar lazilly initialized as well, as method foo { $.bar }. Too ambitios? | 19:53 | |
Zoffix | I see. It does bind stuff | ||
19:53
ChoHag left
|
|||
lucasb | just to confirm that vrurg may have run into some bug where type captures don't retain the type they are supposed to capture | 19:53 | |
related to R#2169 is RT#130286 | |||
synopsebot | RT#130286 [new]: rt.perl.org/Ticket/Display.html?id=130286 [OPTIMIZER] Type capture doesn't capture inside comma lists | ||
R#2169 [open]: github.com/rakudo/rakudo/issues/2169 Assigning Nil to a scalar declared with captured type changes it's container metaclass to GenericHOW | |||
Zoffix | lucasb: comment that on the ticket :) | ||
moritz | vrurg: sounds overly ambitious; the p5 version doesn't do laziness for $self->{foo} either | 19:54 | |
Zoffix | moritz: but what about just having a Proxy? | ||
vrurg | moritz: neither it has containers and Proxy. | ||
moritz | Proxies are quite expensive, no? | 19:55 | |
19:56
ChoHag joined
19:57
p6bannerbot sets mode: +v ChoHag
|
|||
Zoffix | m: multi trait_mod:<is> (Attribute:D \a, :$laazy!) { a.set_value: $laazy, Proxy.new: :FETCH{ a.set_value: $laazy, now }, :STORE(-> | {}) }; class Foo { has $!bar is laazy(self); method z { say $!bar } }.new.z | 19:57 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Can't use unknown trait 'is laazy' in an attribute declaration. at <tmp>:1 expecting any of: rw readonly box_target leading_docs trailing_docs |
||
Zoffix | oh well | ||
ah, right, it wouldn't work anyway, 'cause trait is applied before composition | 19:59 | ||
*before instantiation I mean | |||
20:01
Zoffix left
|
|||
vrurg | Zoffix: I postpone lazyfication up until BUILDALL is called. If you're interested, github.com/vrurg/Perl6-AttrX-Extended – this is my playground. | 20:01 | |
xinming | Zoffix: You told me that subclasses of Foos won't get the augment, I'll have to call .^compose on them. What I mean is, what if we try to augment a role? | ||
if we try to augment a role, will all classes have that role applied also have the modification? | |||
SmokeMachine | Zoffix it could only voice the user on its first message after 10 secs... | 20:02 | |
vrurg | xinming: My guess would be: no, they won't. Roles are applied by mixing into the classes. | 20:05 | |
xinming | BTW, What does the name monkey-typing mean? means all people doing class augment are just typing like monkey? | ||
vrurg | So, to re-apply changes one would need to re-mix again. | ||
xinming | Ok, THanks. | ||
Need a way to do .^compose then | 20:06 | ||
m: use MONKEY-TYPING; role A { }; augment A { method t { "t".say; } }; A.new.t; | 20:07 | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Malformed augment at <tmp>:1 ------> 3use MONKEY-TYPING; role A { }; augment A7⏏5 { method t { "t".say; } }; A.new.t; |
||
xinming | m: use MONKEY-TYPING; role A { }; augment role A { method t { "t".say; } }; A.new.t; | 20:08 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Cannot augment A because it is closed at <tmp>:1 ------> 3ONKEY-TYPING; role A { }; augment role A7⏏5 { method t { "t".say; } }; A.new.t; expecting any of: generic role |
||
xinming | seems we can't augment "roles" | ||
20:09
abraxxa left
|
|||
El_Che | xinming: docs.perl6.org/language/pragmas#in...KEY-TYPING | 20:12 | |
xinming | El_Che: I don't mean the use, I mean why do we have MONKEY-* prefix | 20:15 | |
need story :-) | |||
El_Che | xinming: I suspect it's a joke composed of the Infinite monkey theorem and Duck Typing | 20:17 | |
DrForr | .tell lizmat Just caught your reply, no worries. I'll see you in Glasgow. | 20:18 | |
El_Che | moritz or TimToady can correct me, surely | ||
20:18
stmuk joined,
p6bannerbot sets mode: +v stmuk
|
|||
tbrowder_ | .tell tyil =defn PR submitted | 20:18 | |
20:20
stmuk_ left
|
|||
tyil | tbrowder_++ | 20:20 | |
masak | xinming: I think it's referring to two things: "monkey-patching" (which is what adding methods to classes after the fact is sometimes called), and possibly the slang expression "to monkey around [with sth]" | ||
tyil | is the .tell bot dead? | ||
El_Che | masak: my speculation was way beter :) | 20:21 | |
masak | xinming: in Perl 6, "monkey patching" quickly mutated to "monkey typing", for the reason El_Che described | ||
alexghacker | maybe also the saying "monkey see, monkey do" and the monkey that "sees no evil" en.wikipedia.org/wiki/See_no_evil,...ak_no_evil ? | 20:22 | |
El_Che | there is also the running joke of Java/Perl5/Php being the implementation of the nfinite monkey theorem (but often limited to 100 or 1000 monkeys) :- | 20:25 | |
:) | |||
alexghacker | maybe "use 🙈;" should be a synonym for "use MONKEY-SEE-NO-EVAL;" ? | ||
El_Che | hehe | 20:26 | |
alexghacker | but hmm... I did seem to get distracted by a different monkey | 20:28 | |
El_Che | or a squirrel | ||
20:36
skids joined,
p6bannerbot sets mode: +v skids
|
|||
pmurias | xinming: monkey patching means adding methods to a class at runtime in an adhoc manner | 20:37 | |
xinming: Perl 6 has it extend to other things a monkey would do while coding | |||
* extended | 20:38 | ||
MasterDuke | dpk: looks like yoleaux is missing | 20:39 | |
20:40
chsanch left
20:41
chsanch joined,
p6bannerbot sets mode: +v chsanch
20:43
DarthGandalf left
|
|||
xinming | Thanks masak pmurias for your explaination. :-) | 20:45 | |
20:45
chsanch left
20:56
DarthGandalf joined,
p6bannerbot sets mode: +v DarthGandalf
20:57
skids left
21:01
chsanch joined
21:02
p6bannerbot sets mode: +v chsanch
21:03
Zoffix joined,
p6bannerbot sets mode: +v Zoffix
|
|||
Zoffix | SmokeMachine: sorry, what? | 21:03 | |
I'm making the bot whitelist the @perl6/ cloak, so... good reason to get one *wink* *wink* | 21:04 | ||
moritz | how does one? message some freenode staff? | 21:05 | |
Zoffix | moritz: ask mst | 21:06 | |
El_Che | how does that work? | ||
SmokeMachine | the bot could do +v on the user when it sends the first message after 10 seconds... if the spammer waits to get +v to send the message, it will never get the +v | ||
Zoffix | El_Che: /whois Zoffix | ||
[Zoffix] (WeeChat@perl6/zoffix) | |||
moritz | hey mst, can I please get a perl6 affilication/cloak whatever it's called on freenode? kthxbye | ||
21:06
chsanch left
|
|||
timotimo | have you looked through the test cases in the Inline::Perl5 repo? | 21:06 | |
oops | |||
my ssh session is laggy %) | |||
Zoffix | El_Che: see the host is all cool-lookin'? That's a cloak | 21:07 | |
21:07
vrurg left
|
|||
El_Che | yes, I know what a cloack is, I just wonder how it works (a reverse dns type of setup, a login to the services, etc) | 21:08 | |
Zoffix | A login I think | ||
SmokeMachine: that means everyone will lose 1 message before they can talk. That'd be mighty confusing for noobs and annoying for everyone else | 21:09 | ||
SmokeMachine | the bot could "print" it | 21:10 | |
Zoffix | SmokeMachine: oh yeah... that's the other issue. How would the bot see the message? Is there a user mode that lets you see muted messages? | ||
SmokeMachine | Zoffix: thats a good question... | 21:11 | |
:( | |||
Zoffix | Also, doesn't look like there's been any spam attacks after bumping to 15s (even tho #zofbot did get spammed), so I guess we're good | ||
El_Che | \o/ | 21:12 | |
Zoffix | moritz: BTW we have two: @perl6/moritz and @perl6/developer/moritz. Tell mst which one you want | ||
El_Che | +Zoffix+ | ||
21:14
p6bannerbot left,
p6bannerbot joined,
Zoffix left,
Zoffix joined,
ChanServ sets mode: +o Zoffix,
Zoffix sets mode: +o p6bannerbot
21:15
Zoffix left,
Zoffix joined,
p6bannerbot sets mode: +v Zoffix
|
|||
Zoffix | sweet | 21:15 | |
21:15
lizmat joined,
p6bannerbot sets mode: +v lizmat
|
|||
Zoffix | oh | 21:15 | |
Just noticed: a user joining all 4 of our channels gets 4 notices :P | |||
Made it ban by `.host.contains: '/'` I think that covers all the cloaks and none of potential spam domains | 21:16 | ||
21:17
Zoffix left
|
|||
lizmat | . | 21:17 | |
21:17
abraxxa joined
21:18
p6bannerbot sets mode: +v abraxxa
|
|||
El_Che | lizmat: what you missed so far: Zoffix is being an anti-spam hero :) | 21:21 | |
lizmat | I'm glad to hear... :-) | ||
21:21
abraxxa left
|
|||
lizmat | Am I supposed to talk on #perl6-dev / #moar ? | 21:22 | |
*be able to | |||
Message(404): Cannot send to channel | |||
21:23
chsanch joined,
p6bannerbot sets mode: +v chsanch,
Zoffix joined,
p6bannerbot sets mode: +v Zoffix
|
|||
Zoffix | lizmat: 1 sec. Looks like my bot ain't good | 21:23 | |
lizmat | I don't have particularly much to say, so no worries | 21:24 | |
Zoffix | ok; should be good now | 21:25 | |
Ahh.. I forgot to re-give bannerbot ops in other channels | |||
.oO( nned another bot that gives ops to this bot... ) |
|||
21:26
p6bannerbot left,
p6bannerbot joined,
ChanServ sets mode: +o p6bannerbot
21:27
chsanch left,
Zoffix left
21:40
abraxxa joined,
p6bannerbot sets mode: +v abraxxa
21:43
vrurg joined,
p6bannerbot sets mode: +v vrurg
21:47
alexghacker left
21:48
abraxxa left
21:49
alexghacker joined,
p6bannerbot sets mode: +v alexghacker
21:50
vrurg left,
kerframil joined,
p6bannerbot sets mode: +v kerframil
21:51
abraxxa joined,
p6bannerbot sets mode: +v abraxxa
21:54
psychoslave_ left
21:57
abraxxa left
21:58
abraxxa joined
21:59
p6bannerbot sets mode: +v abraxxa
22:01
x[LGWs4x4i]uG2N0 left
22:05
x[LGWs4x4i]uG2N0 joined,
p6bannerbot sets mode: +v x[LGWs4x4i]uG2N0
22:06
pmurias left
22:07
abraxxa left
22:25
chsanch joined
22:26
p6bannerbot sets mode: +v chsanch
|
|||
buggable | New CPAN upload: CamelPub-0.2.0.tar.gz by DONPDONP modules.perl6.org/dist/CamelPub:cpan:DONPDONP | 22:28 | |
22:29
vrurg joined,
p6bannerbot sets mode: +v vrurg
22:30
chsanch left
22:44
lucasb left
|
|||
AlexDaniel | .tell jmerelo I gave you owner access for the perl6 organization so that you can invite people during the squashathon | 22:57 | |
:| | |||
no bot | |||
El_Che | I'll tell him if I am around | 23:01 | |
23:07
chsanch joined,
p6bannerbot sets mode: +v chsanch
|
|||
buggable | New CPAN upload: CamelPub-0.2.5.tar.gz by DONPDONP modules.perl6.org/dist/CamelPub:cpan:DONPDONP | 23:08 | |
23:12
chsanch left
23:13
lizmat left
23:14
lizmat joined,
p6bannerbot sets mode: +v lizmat
23:18
notacoder joined
23:19
p6bannerbot sets mode: +v notacoder
23:23
notacoder left
23:25
x[LGWs4x4i]uG2N0 left
23:29
x[LGWs4x4i]uG2N0 joined
23:30
p6bannerbot sets mode: +v x[LGWs4x4i]uG2N0
23:47
sena_kun left
23:48
Kaiepi left,
chsanch joined
23:49
p6bannerbot sets mode: +v chsanch,
Kaiepi joined,
p6bannerbot sets mode: +v Kaiepi
23:53
chsanch left
23:56
rindolf left
|