»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
Set by moritz on 22 December 2015.
buggable 🎺🎺🎺 It's time for the monthly Accidental /win Lottery 😍😍😍 We have 2 ballots submitted by 2 users! DRUM ROLL PLEASE!... 00:00
And the winning number is 42! Congratulations to Zoffix! You win a roll of duck tape!
jdv79 AlexDaniel: fwiw, i get its not much, i gave moritz the steps to fix "fancy unicode" in the logs. its all him. 00:05
i was on the trail of the ansi color bug but i'm holding off til unicode is fixed 00:06
maybe we should move to something else. idk.
AlexDaniel if we can fix it soon-ish then there's no problem 00:07
jdv79 ask moritz. the unicode steps are known.
AlexDaniel .tell moritz I've created this out of frustration github.com/perl6/marketing/issues/1 . According to jdv79 the steps for fixing the unicode issue are known. What's holding it? 00:08
yoleaux AlexDaniel: I'll pass your message to moritz.
jdv79 basically its just the usual mysql suckage
AlexDaniel jdv79: I don't think I've seen the steps for fixing this, but does it happen on read or write? 00:09
jdv79 well, a tad more but not too surprising
its write
AlexDaniel alright, so some of the logs are broken forever? 00:10
:S
jdv79 the table's charset needs to be changed to utf8mb4. the sproc used for the insert needs the param changed to the same. the "set names" clause the same. that should be it. 00:11
jdv79 yes. iirc the upgrade/change from mysql to mariadb was the source of the issues. 00:11
AlexDaniel I'm not happy about it because at least quotable6 is using the same logs
and we have a few months of mangled data… maybe someone can donate his logs so that we can recover some of it 00:12
jdv79 its since july 21 or so 00:13
its easy to find if you poke that table
AlexDaniel jdv79: thank you for your help
jdv79 anyway. have a good weekend!
HoboWithAShotgun Raider is now known as Twix 01:09
Geth whateverable: 91137b410a | (Aleks-Daniel Jakimenko-Aleksejev)++ | 2 files
Accept any word I can think of

Also makes Releasable and Squashable more consistent between each other.
See #236.
01:54
Geth whateverable: c73cd331cc | (Aleks-Daniel Jakimenko-Aleksejev)++ | lib/Whateverable.pm6
Emergency line is on a different channel

Issue #224
02:10
whateverable: ec2169ce0e | (Aleks-Daniel Jakimenko-Aleksejev)++ | lib/Whateverable.pm6
Note that “say” is ok in these cases

I tend to grep for “say” to make sure I don't leave any debugging aids in the code. Maybe it's better to use 「put $foo.gist」 here?
geekosaur 'note'? 02:12
geekosaur m: note $*PERL 02:12
camelia Perl 6 (6.c)
AlexDaniel geekosaur: ahhhh maybe, that's if I want it to go to STDERR 02:13
hmm
geekosaur that is where I'd want most debug output
AlexDaniel m: $*PERL.note 02:14
camelia Perl 6 (6.c)
u-ou m: 02:16
evalable6
Geth whateverable: b6bd79da61 | (Aleks-Daniel Jakimenko-Aleksejev)++ | bin/Squashable.p6
Remove debugging output

Oops
02:18
whateverable: 754d4ebaba | (Aleks-Daniel Jakimenko-Aleksejev)++ | lib/Whateverable.pm6
Note instead of saying

It's probably better to use STDERR in this case.
  geekosaur++
Geth whateverable: 595e52e37b | (Aleks-Daniel Jakimenko-Aleksejev)++ | bin/Squashable.p6
Point to SQUASHathon wiki

Hopefully the page will be moved elsewhere, but right now let's point to whatever we have.
03:10
whateverable: 7f79b08b7a | (Aleks-Daniel Jakimenko-Aleksejev)++ | bin/Squashable.p6
Allow strikethru
AlexDaniel squashable6: status 03:35
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in 5 days and ≈6 hours (2017-10-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
weabot AlexDaniel that's next friday? 03:55
AlexDaniel weabot: next Saturday, but it's UTC-12⌁UTC+14 so for most people it also includes half of Friday and Sunday 03:57
weabot oh alright
I'll try to contribute a bit even though I've never opened up rakudo's code
AlexDaniel weabot: commits to github.com/perl6/roast/ also count, so there's a little chance you won't even have to :) 03:58
buggable: tag TESTNEEDED
buggable AlexDaniel, There are 46 tickets tagged with TESTNEEDED; See fail.rakudo.party/t/TESTNEEDED for details
geekosaur how about docs?
AlexDaniel no docs this time 03:59
weabot but I'd like to, seems like a good way to get started in contributing to moar or rakudo
AlexDaniel weabot: \o/ 🍕 03:59
geekosaur: don't know if you know, but last SQUASHathon was about the doc repo. Here's the log: gist.github.com/Whateverable/fea65...df5cd397d8
geekosaur I remembered docs from last time, was just wondering as that might be a route for folks who don;t know the source 04:00
AlexDaniel .tell lizmat It's probably a good idea to mention SQUASHathon and Hacktoberfest in the next weekly. github.com/rakudo/rakudo/wiki/Mont...Squash-Day github.com/issues?utf8=%E2%9C%93&a...toberfest+ hacktoberfest.digitalocean.com/ 04:07
yoleaux AlexDaniel: I'll pass your message to lizmat.
AlexDaniel .tell lizmat oh, and raw.githubusercontent.com/perl6/ma...-media.jpg 04:09
yoleaux AlexDaniel: I'll pass your message to lizmat.
AlexDaniel did we just go down from 1675 to 1608 tickets? 04:12
weabot is rakudo entirely written in nqp and perl6? 04:18
AlexDaniel weabot: well, yeah, but it needs a virtual machine to run on (like MoarVM) 04:23
weabot yeah I see that 04:24
and it needs nqp 04:25
weabot obviously 04:25
nine Should I upgrade my laptop's OS on the day before a 2 weeks vacation? I don't know why, but I feel so tempted. 04:26
Zoffix AlexDaniel: I rebuilt R6's db, so it's possible it had some already closed tickets as new. I think if a ticket is made resolved and then someone comments on it, it think it was opened again. Also spam. 04:27
AlexDaniel buggable: bugs 04:27
buggable AlexDaniel, Total: 1649; 6.D: 1; 9999: 10; @LARRY: 24; ANNOYING: 7; BOOTSTRAP: 5; BUG: 603; BUILD: 12; CONC: 48; DOCS: 1; EXOTICTEST: 1; GLR: 3; IO: 23; JVM: 53; LTA: 178; MATH: 4; META: 1; MOAR: 1; NATIVECALL: 22; NYI: 55; OO: 13; OPTIMIZER: 8; OSX: 2; PARSER: 6; PERF: 28; POD: 19; PRECOMP: 15; REGEX: 51; REGRESSION: 37; REPL: 6; RFC: 63; RT: 1;
AlexDaniel, SECURITY: 1; SEGV: 25; SINK: 1; SITE: 1; SPESH: 1; STAR: 7; TESTCOMMITTED: 10; TESTNEEDED: 46; TODO: 13; UNI: 26; UNTAGGED: 413; WEIRD: 2; WINDOWS: 3; See fail.rakudo.party/ for details
AlexDaniel aaaaaah
ok then last time I used that number
and 1608 is straight from RT 04:28
Zoffix m: say [+] <959 690>
camelia 1649
Zoffix RT tells me 1649 tickets, so R6 matches it 04:29
AlexDaniel that's my query: rt.perl.org/Search/Results.html?Format='<a href%3D"%2Frt3%2FTicket%2FDisplay.html%3Fid%3D__id__">__id__<%2Fa>%2FTITLE%3A%23'%2C%0A'<a href%3D"%2Frt3%2FTicket%2FDisplay.html%3Fid%3D__id__">__Subject__<%2Fa>%2FTITLE%3ASubject'%2C%0A'__QueueName__'%2C%0A'__ExtendedStatus__'%2C%0A'__CreatedRelative__'%2C%0A'<a href%3D"%2Frt3%2FTicket%2FDisplay.html%3FAction%3DTake%26amp%3Bid%3D__id__">Take<%2Fa>%2FTITLE%3A%26nbsp%3B 04:29
'&Order=DESC|DESC|ASC|ASC&OrderBy=Created|||&Query=Owner %3D 'Nobody' AND Queue !%3D 'spam' AND ( Status %3D 'new' OR Status %3D 'open' ) AND Queue %3D 'perl6'&RowsPerPage=50
/o\
Zoffix I just went to rt.perl.org/ and looked in the "perl6" in query box 04:30
AlexDaniel: your query excludes tickets marked as stalled
AlexDaniel riiiight 04:31
Zoffix Yeah, I agree about marketing Issue you opened. 04:32
.tell HoboWithAShotgun there are some modules that let you have lazy attributes: modules.perl6.org/s/lazy 04:35
yoleaux Zoffix: I'll pass your message to HoboWithAShotgun.
Zoffix m: use nqp; dd nqp::list_i(1, 2, 3).list 06:44
camelia Cannot find method 'list': no method cache and no .^find_method
in block <unit> at <tmp> line 1
Zoffix What's the easy way to dump out an nqp::list_i? Just to take a look what's inside 06:45
m: use nqp; sub d (Mu \l) { dd (nqp::atpos_i(l,$_) for ^nqp::elems(l)) }; d nqp::list_i(42, 2, 3) 06:47
camelia (42, 2, 3)
Zoffix Does the trick, I guess
Zoffix .tell teatime you were curious about the regex fix: github.com/rakudo/rakudo/commit/681d6be974 tests github.com/perl6/roast/commit/99c822abde It's scarier than it looks only 'cause it's in full-on NQP. It could've been in almost pure Perl 6 (but nqp performs better). 08:31
yoleaux Zoffix: I'll pass your message to teatime.
Zoffix .tell teatime Docs for nqp ops: github.com/perl6/nqp/blob/master/d...s.markdown github.com/rakudo/rakudo/blob/nom/...s.markdown and guts course: github.com/edumentab/rakudo-and-nq...s-workshop 08:32
yoleaux Zoffix: I'll pass your message to teatime.
Zoffix .tell teatime I meant it's *NOT* as scary as it looks :) 08:36
yoleaux Zoffix: I'll pass your message to teatime.
HoboWithAShotgun how do i break out of a react block OR how do i stop a supply from the outside? consider: hastebin.com/atorapaqol.pl 09:25
yoleaux 04:35Z <Zoffix> HoboWithAShotgun: there are some modules that let you have lazy attributes: modules.perl6.org/s/lazy
HoboWithAShotgun if want to exit main-loop cleanly on press of ctrl-x 09:26
chakli How do i check if a Str variable is undefined or empty? 10:28
hoffentlichja chakli: I thnk you can do that with "with" 10:28
and with "without" the negative form 10:29
HoboWithAShotgun m: my $str; say $str.defined;
camelia False
HoboWithAShotgun m: my $str; say "no" unless $str; 10:30
camelia no
hoffentlichja m: my Str $s; say "it undefined?!" without $s; 10:31
camelia it undefined?!
HoboWithAShotgun m: my $str = ""; say "no" unless $str;
camelia no
hoffentlichja :)
chakli m: my $str =""; say "qqq" with $str; 10:31
camelia qqq
HoboWithAShotgun yes, but it's still perl. undefined and empty evaluate to false 10:32
so no need to get fancy :)
HoboWithAShotgun m: my $str = ""; say "no" if $str ~~ False; 10:35
camelia Potential difficulties:
Smartmatch against False always fails; if you mean to test the topic for truthiness, use :!so or *.not or !* instead
at <tmp>:1
------> 3my $str = ""; say "no" if $str ~~ 7⏏5False;
chakli m: my $str = ""; say "good" if $str.defined && $str !~~ ""; 10:36
camelia ( no output )
hoffentlichja is there any convention for calling functions? what's the most common way of calling functions? 10:58
pmurias jnthn: ping 11:00
moritz hoffentlichja: there's func(args); and func args; both are common 11:01
yoleaux 00:08Z <AlexDaniel> moritz: I've created this out of frustration github.com/perl6/marketing/issues/1 . According to jdv79 the steps for fixing the unicode issue are known. What's holding it?
moritz AlexDaniel: time. Nerves. Other projects. 11:02
doing an ALTER TABLE on a multi-million rows mysql table is not something you should do when you don't know if you're around until it's finished
pmurias jnthn: if we have a 'method ^foo() {}' (or even method foo() {} as it seems to work the same way) how does the low level code ref end up installed in the high level Perl 6 object? 11:10
chakli when i'm doing for @arr -> $element { }, can i get to know the index? 11:15
jnthn chakli: for @arr.kv -> $idx, $element { } 11:22
jnthn pmurias: Depends; if it's something we just compiled and are running right now, then there's some fixup code that runs and installs it; see github.com/rakudo/rakudo/blob/nom/....nqp#L2268 11:26
jnthn Oh, and on the precomp path iirc it's just done as part of deserialization 11:30
timotimo HoboWithAShotgun: you can just "done" and the react block will finish 11:54
hoffentlichja should hash keys be quoted? 12:45
timotimo by default hash access will call .Str on your keys for you. if you don't want that, use an object hash, like my %foo{Any}; 12:46
hoffentlichja so it's not necessary to quote them
teatime the pair operator => works with barewords 12:47
yoleaux 08:31Z <Zoffix> teatime: you were curious about the regex fix: github.com/rakudo/rakudo/commit/681d6be974 tests github.com/perl6/roast/commit/99c822abde It's scarier than it looks only 'cause it's in full-on NQP. It could've been in almost pure Perl 6 (but nqp performs better).
08:32Z <Zoffix> teatime: Docs for nqp ops: github.com/perl6/nqp/blob/master/d...s.markdown github.com/rakudo/rakudo/blob/nom/...s.markdown and guts course: github.com/edumentab/rakudo-and-nq...s-workshop
08:36Z <Zoffix> teatime: I meant it's *NOT* as scary as it looks :)
hoffentlichja teatime: alright, thanks 12:47
Zoffix hoffentlichja: for basic things (like letters and numbers only), no. But for more complex, yes 12:49
m: my %h = foo42 => 42; say %h
camelia {foo42 => 42}
Zoffix m: my %h = fo.o42 => 42; say %h
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
fo used at line 1. Did you mean 'so', 'fc'?
Zoffix huggable: colonpairs 12:50
huggable Zoffix, All the shortcuts of colonpairs: twitter.com/zoffix/status/839807414211854337
Zoffix ^ all these shortcuts work too 12:50
soon hello 12:50
Zoffix \o
hoffentlichja Zoffix: I see 12:51
soon: hi
teatime Zoffix: perfect on the NPQ docs, thx
Zoffix \o/
teatime NQP 12:52
Zoffix |
/\
soon can anybody help me around OAuth2?
Zoffix runs away 12:53
:)
soon :D
Zoffix Don't see any modules for it :/ 12:54
soon really?
Zoffix soon: yeah, this language is only like 2 years old, so the ecosysem is baby sized :) There's also Perl modules on metacpan.org/ you could try using via Inline::Perl5 12:55
Or you could roll your own basic client, like I see OAuth2::Client::Google did github.com/bduggan/p6-oauth2-clien...Google.pm6 12:56
Or Twitter.pm6 (though that one is OAuth1 IIRC) 12:57
soon I should only ask with the clientid and clientsecret to access the token and then with token download the json file 12:58
okey TNX
Zoffix oh neat, we reached a new milestone 900 modules. Getting there for the first 1000 \o/ 12:59
Geth doc: 89be4fa3e8 | (Zoffix Znet)++ (committed using GitHub Web editor) | META6.json
Fill missing authors

  modules.perl6.org don't like it
13:01
Geth modules.perl6.org: 2d3c703c43 | (Zoffix Znet)++ | lib/ModulesPerl6/DbBuilder/Dist/Source.pm
[REBUILD] Handle case of "authors" set to empty array
13:05
Geth ecosystem: 1a2d8287fe | (Zoffix Znet)++ (committed using GitHub Web editor) | META.list
Remove 404ed module
13:07
Zoffix .seen faraco
yoleaux I saw faraco 1 Aug 2017 07:24Z in #perl6: <faraco> m: say (2/9 + 1/3 * 2 / 12).perl;
Zoffix .tell faraco One of your META urls in ecosystem is a 404. Couldn't see if it was renamed to something else, so I removed it: github.com/perl6/ecosystem/commit/1a2d8287fe 13:08
yoleaux Zoffix: I'll pass your message to faraco.
HoboWithAShotgun allright, i have a supply that emits instances of MouseClick, in a consuming supply i want to either emit a MouseDoubleClick event if two sinle clicks occured within 0.3 seconds or the original single click evnt 13:53
HoboWithAShotgun basically i want to suppress the single click if a doubleclick is detected 13:54
i have an idea with start and sleep and closures, but i wonder if there is an idiomatic way
timotimo HoboWithAShotgun: have you looked at the list of combiners and transformers that exist? 13:59
HoboWithAShotgun i did read the docs for the Supply class but i did not find anything suitable 14:00
HoboWithAShotgun maybe the match method 14:01
timotimo hmm. i thought there was one that can batch up consecutive events
HoboWithAShotgun but the docs are sparse on that one 14:02
timotimo perhaps the source code of the throttle method can help, but i assume it's quite big given how many features it has 14:04
teatime .batch is simpler and very almost does what you want 14:05
but yeah between those two, presumably inspiration
timotimo ah, yes, with batch you can then map the resulting supply. for any two elements you emit a double click event, otherwise a single click 14:10
does batch "restart" its countdown when a new event comes in?
HoboWithAShotgun can you show me an example? 14:12
i tried whenever self.mouse-supply.grep({ $_ ~~ MouseClickEvent }).batch(:seconds(0.3)) -> $events 14:14
that gave me an "already vowed" error 14:15
whatever that means
MasterDuke_ HoboWithAShotgun: what about swapping the .grep and the .batch? 14:17
HoboWithAShotgun because i would then have to deal with MouseUp, Down and Move Events too 14:17
MasterDuke right, but .batch is a Supply method, not a Seq method 14:19
timotimo grep is also a supply method 14:20
HoboWithAShotgun anyway, whenever self.mouse-supply.batch( :seconds(0.3) ) gives me the same "Access denied to keep/break this promise; Already vowed" 14:21
timotimo oh, interesting
MasterDuke oops, timotimo++
timotimo can you golf that in a short snippet?
MasterDuke i get something different 14:24
m: for Supply.from-list(^10).batch(:3elems) -> $b { dd $b } 14:25
camelia List $b = $(0, 1, 2)
List $b = $(3, 4, 5)
List $b = $(6, 7, 8)
List $b = $(9,)
MasterDuke m: for Supply.from-list(^10).batch(:seconds(0.3)) -> $b { dd $b }
camelia Cannot resolve caller infix:<div>(Int, Rat); none of these signatures match:
(Int:D \a, Int:D \b)
(int $a, int $b --> int)
in block <unit> at <tmp> line 1
timotimo oh? no support for fractional seconds in the batch method? 14:26
MasterDuke it appears that way. not sure why 14:27
MasterDuke .interval support 1ms resolution, seems like it would be nice for batch to also 14:30
timotimo m: say time div 0.3 14:32
camelia Cannot resolve caller infix:<div>(Int, Rat); none of these signatures match:
(Int:D \a, Int:D \b)
(int $a, int $b --> int)
in block <unit> at <tmp> line 1
timotimo that's what it tries to do
timotimo looks like instead it wants do / but then .round($seconds) perhaps? 14:33
HoboWithAShotgun the problem seems to lie with Terminal::Print::DecodedInput 14:34
can i inspect the source of the batch method? 14:36
timotimo of course 14:37
timotimo s: Supply, "batch", \() 14:37
SourceBaby timotimo, Something's wrong: ␤ERR: Could not find candidate that can do \()␤ in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 29␤ in block <unit> at -e line 6␤␤
timotimo s: Supply, "batch", \(9)
SourceBaby timotimo, Something's wrong: ␤ERR: Could not find candidate that can do \(9)␤ in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 29␤ in block <unit> at -e line 6␤␤
timotimo s: Supply, "batch", \(Int)
SourceBaby timotimo, Something's wrong: ␤ERR: Could not find candidate that can do \(Int)␤ in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 29␤ in block <unit> at -e line 6␤␤
timotimo how do this bot ...
s: Supply, "batch", \(Supply: Int)
SourceBaby timotimo, Something's wrong: ␤ERR: Could not find candidate that can do \(Int)␤ in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 29␤ in block <unit> at -e line 6␤␤
MasterDuke s: Supply, batch, \(Int)
SourceBaby MasterDuke, Something's wrong: ␤ERR: ===SORRY!=== Error while compiling -e␤Undeclared routine:␤ batch used at line 6. Did you mean 'CATCH'?␤␤
timotimo github.com/rakudo/rakudo/blob/nom/...ly.pm#L924
HoboWithAShotgun: ^ 14:38
MasterDuke and .interval end up here eventually, if you want some inspiration github.com/rakudo/rakudo/blob/nom/...er.pm#L589 14:40
HoboWithAShotgun there is no constraint on $seconds in that method
so why does it croak with 0.3?
MasterDuke github.com/rakudo/rakudo/blob/nom/...ly.pm#L942 14:41
timotimo showed what happens
m: say time div 0.3
camelia Cannot resolve caller infix:<div>(Int, Rat); none of these signatures match:
(Int:D \a, Int:D \b)
(int $a, int $b --> int)
in block <unit> at <tmp> line 1
timotimo div only does integers
HoboWithAShotgun line 938
HoboWithAShotgun ? 14:42
timotimo yup and a few lines further down
Geth doc/master: 5 commits pushed by (Naoum Hankache)++ 14:42
HoboWithAShotgun is that to be considered a bug? 14:43
i mean you can specify milliseconds everywhere else i looked so far 14:44
MasterDuke i would say that's a bug 14:46
timotimo yup
HoboWithAShotgun batch doesnt do what i want anyway. turns out, it only "fires" when a value is emmitted to it after the treshold time 14:55
i need it to fire after a treshold time once a event has been emitted to it 14:56
m: Supply.from-list(0 .. 1).batch 14:57
camelia ( no output )
HoboWithAShotgun m: Supply.from-list(0 .. 1).batch(:3elems) -> $x { $x.say } 14:58
jnthn Are you trying to debounce?
camelia 5===SORRY!5=== Error while compiling <tmp>
Unexpected block in infix position (missing statement control word before the expression?)
at <tmp>:1
------> 3Supply.from-list(0 .. 1).batch(:3elems)7⏏5 -> $x { $x.say }
expecting any of:…
jnthn If so, .stable is perhas what you're looking for 14:58
HoboWithAShotgun i don't know i have to look up that word :)
jnthn An example would be a user typing into a textbox, and you only want to get events after nothing changed for, say 500mx 14:59
*ms
e.g. when they stop typing for a moment
HoboWithAShotgun jnth: in a supply i consume a supply that gives me MouseDown/Up/Click objects. and i currently just emmit them as i get them 15:01
now i want to defer the emitting of a click event until i know it is not a double click
HoboWithAShotgun and if turns out it isn't emit the original click 15:02
and if it is, emit a MouseDoubleClick
brb, HexChat is acting up again 15:04
teatime sidenote: I did this exact thing once in AutoHotkey, heh 15:04
jnthn Not sure there's soemthing built-in that does exactly that, but can write it quite easily 15:05
HoboWithAShotgun not for me :) 15:06
<-- NOOB 15:07
jnthn Something like this perhaps: gist.github.com/jnthn/7835d295cf30...6a2b6ef786 15:10
HoboWithAShotgun very nice 15:21
now all i need to know how to rebless from MouseClick to MouseDoubleClick 15:22
the classes are identical except for the name 15:23
timotimo you might be able .o MouseDoubleClick.new(|$otherclick.Capture) 15:26
m: class Test { has $.foo; has $.bar; has $.quux }; Test.new(:99foo, bar => "baaaar", quux => "lol"); say Test.Capture.perl 15:27
camelia Cannot look up attributes in a Test type object
in block <unit> at <tmp> line 1
timotimo m: class Test { has $.foo; has $.bar; has $.quux }; Test.new(:99foo, bar => "baaaar", quux => "lol").Capture.perl.say
camelia \(:bar("baaaar"), :foo(99), :quux("lol"))
Geth doc: 11bd102ec4 | (Zoffix Znet)++ | doc/Type/List.pod6
Document List.ACCEPTS
15:30
synopsebot Link: doc.perl6.org/type/List
Geth doc: d19beddd1f | (Zoffix Znet)++ | doc/Language/operators.pod6
Tell to look at ACCEPTS in `~~` docs

  - Make it more clear the provided list of semantics is incomplete
  - Link to ACCEPTS routines people could follow and read details
15:34
synopsebot Link: doc.perl6.org/language/operators
Xliff m: my @a = (1, 2, 3, 'all'); say "No" unless @a.all ~~ Int; 15:48
camelia No
Xliff m: my @a = (1, 2, 3); say "No" unless @a.all ~~ Int;
camelia ( no output )
tbrowder ugexe: if i load a module tarball to cpan, are the entries in its META6.json used for anything other than dependencies? 15:50
tbrowder Furthermore, if I load all my ecosystem modules to CPAN, couldn’t I remove them from the ecosystem/META.list file? 15:53
HoboWithAShotgun jnthn++, timotimo++ #lovelyPeople 16:06
Geth doc: a27ba6507b | (Zoffix Znet)++ | doc/Language/regexes.pod6
Rewrite section on `**` regex quantifier

  - Reduce prose on Range variants (examples show them already)
  - Make examples show the actual matched content rather than True/False
  - Explain how to write more complex Ranges and values
  - Document newly-implemented semantics for edge cases:
Rakudo impl: github.com/rakudo/rakudo/commit/681d6be974 Spec: github.com/perl6/roast/commit/99c822abde
16:08
synopsebot Link: doc.perl6.org/language/regexes
pmurias AlexDaniel: is there a serious issue stopping astral plane unicode characters from being supported by the irc log? 16:44
AlexDaniel pmurias: kinda. Just this: irclog.perlgeek.de/perl6/2017-10-01#i_15241846 16:45
pmurias: it was working just fine and then got broken after some update 16:46
at first even ␤ was rendering as ?, but jdv79++ offered his help and fixed that 16:47
jdv79 also outlined steps to fix the remaining issue and that was… a few weeks ago? 16:48
chansen_ github.com/moritz/ilbot/commit/65e...e5a99f0541 16:49
ugexe tbrowder: the meta6.json is always used the same no matter where it comes from 16:51
ugexe and if all your modules are on CPAN you don't really need them in the ecosystem too 16:56
tbrowder ugexe: what about conflicts between the two such as version number taken from the tar ball file name? or the source-url? do they have to agree? 17:11
ugexe cpan sets the source-url, and the version number is not taken fro the tar ball file name 17:12
tbrowder okay, so i can eliminate source-url if i no longer use the ecosystem? 17:14
Geth ecosystem: titsuki++ created pull request #369:
Add Geo::Hash to ecosystem
ecosystem: f8389151bd | (Itsuki Toyota)++ | META.list
Add Geo::Hash to ecosystem

See github.com/titsuki/p6-Geo-Hash
ecosystem: 32f3d41ae2 | (Itsuki Toyota)++ (committed using GitHub Web editor) | META.list
Merge pull request #369 from titsuki/add-geo-hash

Add Geo::Hash to ecosystem
teatime does modules.perl6.org/ index CPAN-only modules? 17:16
tomred_ I'm trying to build rakudo 2017.07 on ubuntu. I can't configure. I get "Unable to locate parrot_config" What other packages do I need to install? 17:55
Zoffix tomred_: that's a weird error. Parrot is a thing of the past. Is it possible you have some antient rakudo page installed that's interfering? 17:57
huggable: deb
huggable Zoffix, CentOS, Debian, Fedora and Ubuntu Rakudo packages: github.com/nxadm/rakudo-pkg/releases
Zoffix tomred_: ^ you can just install these debs instead of building anything
(more recent than 2017.07 too)
tomred_ Let me check that I got the latest version 18:01
Zoffix s/antient/ancient/; s/page/package/; # >_<
tomred_ I must have downloaded an old version, the latest.tar.gz has a MoarVM directory whereas the previous one I had didn't. 18:05
Xliff m: +False.say 19:07
camelia WARNINGS for <tmp>:
False
Useless use of "+" in expression "+False.say" in sink context (line 1)
Xliff m: say +False 19:08
camelia 0
Zoffix m: +False .say
camelia 0
Zoffix precedence
Zoffix 22 dists on CPAN and looks like all of them are in p6c eco... 19:30
Geth ecosystem: 51557dd738 | (Zoffix Znet)++ (committed using GitHub Web editor) | META.list
Trailblaze
19:32
Geth modules.perl6.org/cpan-support: b192b4821a | (Zoffix Znet)++ | 5 files
Implement CPAN metas fetcher
19:36
Geth modules.perl6.org/cpan-support: cbb602ce63 | (Zoffix Znet)++ | bin/build-project-list.pl
Remove duplicate constant
19:38
buggable New CPAN upload: Bailador-0.0.13.tar.gz by UFOBAT www.cpan.org/authors/id/U/UF/UFOBA....13.tar.gz 21:32
Zoffix \o/
buggable: <3
Zoffix hm 21:39
Zoffix isn't happy with App::Mi6
teatime ? 21:43
Zoffix I created an almost empty README.md and then refused to upload to CPAN because the unstashed files *it* created were still uncommited :P 21:44
It's better than nothing of course, but I think I'll roll my own upload… eventually 21:45
*uploader
"Error: Use of uninitialized value $last in numeric le (<=) at lib5/Buggable/CPANUploads.pm line 23" :( 21:52
Looks like buggable is… a bit buggly
buggable New CPAN upload: Pastebin-Shadowcat-2.001001.tar.gz by ZOFFIX www.cpan.org/authors/id/Z/ZO/ZOFFI...001.tar.gz 22:03
Zoffix k; take #2 22:04
Zoffix uploads another module
buggable: eco author:zoffix
buggable Zoffix, Found 35 results: Acme::Anguish, IRC::Client, WWW, GlotIO, CoreHackers::Sourcery. See modules.perl6.org/s/author%3Azoffix
Zoffix ok, now mi6 ouright nukes my README.md :( 22:06
buggable New CPAN upload: Number-Denominate-1.001001.tar.gz by ZOFFIX www.cpan.org/authors/id/Z/ZO/ZOFFI...001.tar.gz 22:26
buggable New CPAN upload: Acme-Anguish-1.001002.tar.gz by ZOFFIX www.cpan.org/authors/id/Z/ZO/ZOFFI...002.tar.gz 22:36
Zoffix yey. the bot finally works right
timotimo okay, now to learn how to sign up for cpan 22:44
timotimo /(readme|\.html|\.txt|\.[xy]ml|\.json|\.[pr]df|\.pod)(\.gz|\.bz2)?$/i 22:46
this is how pause detects documentation
... no md support? :\
Juerd Given the popularity of md it might be useful to work on a template for documenting Perl 6 projects with it. 22:52
I know that nowadays I'd rather write markdown than pod
timotimo let's invent MarkPod or PodDown
Juerd :)
And maybe mandown to format man pages :) 22:53
... Or maybe that's not the best name :P
leont has actually used pod to generate man pages outside of perl, as there aren't that many sane workflows for that as I had expected. 22:54
teatime my goto for pretty much everything in this area is pandoc
toyed with the idea of adding pod6 as an input format but I will never get around to that
Juerd leont: So do I, but I'm not enjoying it :) 22:55
teatime Juerd: try pandoc for markdown -> man
leont I've used pandoc for other purposes before (slides), I should have guessed it supports man pages 22:56
timotimo submitted a pause account request
i put in a line bragging about JSON::Fast being the #1 cited module :D 22:57
finanalyst.github.io/ModuleCitation/
weabot is it possible to compile a perl6 file to bytecode? 22:58
timotimo yup
rakudo does it automatically for all modules 22:59
we don't officially support it for scripts, but pretending a script is a module and running it that way is possible
weabot I'm trying to do it for a small markov chain I wrote as a test and it's giving me this Cannot dump this object; no dump method
timotimo right, you're possibly giving it the wrong --target
weabot hm
I'm using --target=mbc 23:00
timotimo are you also using the flag for the output filename?
weabot perl6 -o markov.mbc --profile=html --profile-filename=prof.html --optimize=3 --stagestats --target=mbc markov.p6
using --output instead worked 23:01
timotimo strange, it's supposed to support -o
jnthn It's --output=
timotimo it gives that exact error when you don't give it a filename
i mean it's in the --help
Juerd teatime: Pandoc looks interesting. Thanks for suggesting it 23:02
teatime what does "Note that only boolean single-letter options may be bundled." mean?
timotimo that you can have -asdf
but not --all-stage-deep-force or something?
teatime Juerd: it has the *best* implementation/extensions for markdown. but that's optional/configurable.
timotimo: oh, maybe meaning you can't do something like "tar -xzvf filename.tar.gz" 23:03
Juerd teatime: Indeed. -xzv would work, as they're boolean, but -f takes a string. 23:04
Zoffix timotimo: well, it has no 6lang support, does it? So it can detect all it wants, the renderer would be modules.perl6.org and you can use markdown
timotimo oh, i somehow didn't see the "boolean" in that
Zoffix: it's about what you're allowed to overwrite
Zoffix Ah 23:05
timotimo it allows you to modify documentation without forcing you to get a new version in your filename
Zoffix TIL
jnthn For anyone interested, I've made a sample Cro + React/Redux Single Page Application at github.com/croservices/sample-app-spa-react and drafted a tutorial explaining it at github.com/croservices/cro/blob/ma...ith-cro.md (which I'll proof-read tomorrow when I'm less tired, and get on the website proper afterwards) :) 23:07
timotimo cool! 23:08
i was probably going to use cro + react for my grant :3
jnthn :) 23:16
Sleep time for me; 'night o/
timotimo jnthn: wants a ".md" at the end of the "this guide" link 23:17
wow, they really had matcha beer? 23:18
macha* i guess?
mspo macha doesn't have sugars to ferment 23:22
Geth_ perl6-most-wanted: 0b94ef197f | (David Warring)++ (committed using GitHub Web editor) | most-wanted/modules.md
Update modules.md

Note WIP on Font::Freetype - bindings to the Freetype2 library
23:30
timotimo jnthn: after introducing the agree and disagree methods on Tip, there could be a mention that the next agree and disagree methods are added to the Tipsy class 23:42
other than that, cool tutorial