»ö« 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.
AlexDaniel squashable6: next 00:01
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in 1 day and ≈9 hours (2017-10-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
00:07 skids joined 00:16 cdg_ left 00:22 skids left 00:26 skids joined 00:27 avalenn left, llfourn joined 00:30 margeas left 00:31 skids left 00:33 avalenn joined 00:43 committable6 left, committable6 joined, ChanServ sets mode: +v committable6 00:49 mudman left 00:53 Ben_Goldberg joined, BenGoldberg left, mudman joined, Ben_Goldberg is now known as BenGoldberg, bisectable6 left, bisectable6 joined 01:06 avalenn left 01:07 avalenn joined 01:10 Cabanossi left 01:13 Cabanossi joined 01:15 bisectable6 left, squashable6 left, skids joined 01:17 statisfiable6 left 01:21 mudman left 01:22 releasable6 left, releasable6 joined 01:23 r3m joined 01:33 bisectable6 joined, ChanServ sets mode: +v bisectable6, squashable6 joined, ChanServ sets mode: +v squashable6, statisfiable6 joined 01:46 ilbot3 left 01:50 mudman joined 01:54 ilbot3 joined, ChanServ sets mode: +v ilbot3 01:57 zakharyas joined 02:02 arnsholt left, Gothmog_ left 02:03 Gothmog_ joined, arnsholt joined 02:07 zakharyas left 02:11 astj joined 02:31 mcmillhj joined 02:36 mcmillhj left 02:43 noganex joined 02:46 astj_ joined, noganex_ left, mcmillhj joined 02:47 ufobat_ joined 02:49 astj left 02:51 ufobat left 02:52 astj_ left 02:53 mcmillhj left 02:57 tardisx left 03:05 Ven`` joined, TimToady left 03:07 TimToady joined, pilne left
perlawhirl There's some forgettable syntax for declaring a Map with abitrary data type as the key (instead of string). Can anyone remind me 03:08
something something... with colon's and Any
AlexDaniel perlawhirl: what about docs.perl6.org/type/Hash#Non-string_keys 03:11
03:11 Cabanossi left
AlexDaniel m: my %foo{Int}; %foo<abc> = 42 03:13
camelia Type check failed in binding to parameter 'key'; expected Int but got Str ("abc")
in block <unit> at <tmp> line 1
BenGoldberg m: my %foo{Any}; %foo{pi} = 42; dd %foo;
camelia Hash[Any,Any] %foo = (my Any %{Any} = 3.14159265358979e0 => 42)
03:13 Cabanossi joined
AlexDaniel perlawhirl: this is doc-ed in docs.perl6.org/type/Hash#method_keyof 03:14
BenGoldberg m: my %foo{Any}; %foo{pi} of Str = 42; dd %foo;
camelia 5===SORRY!5=== Error while compiling <tmp>
Bogus statement
at <tmp>:1
------> 3my %foo{Any}; %foo{pi} o7⏏5f Str = 42; dd %foo;
expecting any of:
whitespace
AlexDaniel perlawhirl: I've created this issue for you: github.com/perl6/doc/issues/1588 03:16
03:17 Khisanth left 03:21 Util joined 03:22 wamba joined 03:25 kurahaupo_ left
perlawhirl AlexDaniel++ 03:25
thanks
03:27 BenGoldberg left
perlawhirl m: my %h{Any}; %h{set('this', 'that')} = True; say %h{set(< that this that that this >)} 03:27
camelia True
perlawhirl cool
03:27 Ven`` left 03:31 Khisanth joined
perlawhirl digging through my notes, i think the syntax i was thinking of was something like my Hash[Any,Any] $h = :{} 03:34
but I should be able to remember %h{Any} without too much hassle
03:37 CacoS joined, ch3ck3r joined 03:42 Cabanossi left 03:43 Cabanossi joined 03:51 tardisx joined 03:54 Cabanossi left 03:57 Cabanossi joined 04:02 hoffentlichja joined 04:12 astj joined 04:16 eythian left, eythian joined 04:22 skids left 04:27 xtreak joined 04:28 astj left 04:33 CacoS left 04:41 Cabanossi left, mr-foobar left, thou left 04:42 Cabanossi joined 04:43 wamba left
AlexDaniel squashable6: status 04:44
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in 1 day and ≈5 hours (2017-10-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
04:56 nhywyll joined
AlexDaniel buggable: LHF 05:01
buggable: tag LHF
buggable AlexDaniel, There are 5 tickets tagged with LHF; See fail.rakudo.party/t/LHF for details 05:02
05:16 evalable6 left, evalable6 joined
AlexDaniel Geth: ver github.com/rakudo/rakudo/commit/22...9854e33739 05:18
Geth AlexDaniel, version bump brought in these changes: github.com/perl6/nqp/compare/2017....-g4ceee06d 05:19
AlexDaniel Geth: ver github.com/perl6/nqp/commit/b083e3...b870eb6ac2
Geth AlexDaniel, version bump brought in these changes: github.com/MoarVM/MoarVM/compare/2...-g58457845
05:21 u-ou is now known as no-n, no-n is now known as u-ou 05:24 SHODAN left 05:27 araujo_ joined 05:30 rba left 05:32 araujo left 05:40 astj joined 05:55 HoboWithAShotgun left 06:01 mcmillhj joined 06:05 mcmillhj left 06:09 yht joined, domidumont joined 06:11 Cabanossi left, konsolebox joined 06:12 Cabanossi joined 06:17 domidumont left, domidumont joined 06:30 lowbro joined, lowbro left, lowbro joined 06:33 Morfent left 06:42 nadim joined 06:52 darutoko joined 06:55 rba joined 07:01 Morfent joined 07:03 Morfent left 07:04 jonas1 joined
hoffentlichja where are the rakudo issues reported? 07:05
07:09 Cabanossi left 07:10 someuser joined 07:11 domidumont left 07:12 Cabanossi joined, domidumont joined 07:16 rindolf joined 07:20 wamba joined
hoffentlichja nevermind I'm reading the wiki right now 07:24
07:29 patrickz joined, patrickz left 07:30 patrickz joined
El_Che hoffentlichja: rt 07:32
07:36 xtreak left 07:41 Cabanossi left 07:42 Cabanossi joined 07:54 wamba left 07:55 dakkar joined 07:58 yht left, xtreak joined 08:00 sproctor joined 08:04 mudman left, ufobat_ left 08:11 Cabanossi left 08:12 Cabanossi joined 08:13 mudman joined 08:22 HoboWithAShotgun joined 08:34 domidumont left 08:36 domidumont joined 08:39 wamba joined 08:40 Cabanossi left 08:42 Cabanossi joined 08:43 mudman left, epony left, rba_ joined 08:46 rba left 08:47 mcmillhj joined 08:48 epony joined 08:49 llfourn left 08:50 lowbro left 08:52 mcmillhj left 08:59 piojo joined, rba_ is now known as rba 09:02 mcmillhj joined 09:04 rba left 09:06 rba joined 09:07 mcmillhj left 09:09 mcmillhj joined 09:12 yht joined 09:14 mcmillhj left 09:15 Aaronepower left 09:16 astj left 09:18 mudman joined 09:23 eliasr joined 09:24 Aaronepower joined 09:26 Cabanossi left 09:27 Cabanossi joined 09:29 margeas joined 09:30 rba left 09:31 lowbro joined, lowbro left, lowbro joined 09:34 rindolf left, piojo left, Aaronepower left 09:35 piojo joined 09:36 rindolf joined 09:39 rba joined 09:40 astj joined
DrForr Anyone around? 09:43
09:43 astj left
jnthn o/ 09:44
El_Che DrForr: you're the last man on earth. This is a recorded message.
DrForr: Will you join linkedin
:)
DrForr Yay! Bring on Jennifer Lawrence! (see: /Passengers/)
Waiting... :) 09:45
El_Che the ever optimist
DrForr Hey, gotta have a dream. I had a thought about the Test module. 09:46
I'm finding myself wanting something like does { my $setup = 1; return 3 }, 'the block returns true'; 09:47
09:49 Aaronepower joined, rba left 09:51 astj joined, Aaronepower left 09:52 cpage_ left
DrForr I.E. I'd want to put this into a subtest{} block, but really only want to run one test in that block. 09:57
09:57 Aaronepower joined 09:58 araujo_ left 09:59 Aaronepower left
Geth ecosystem: a03882c64b | (Tom Browder)++ (committed using GitHub Web editor) | META.list
remove module which is now in CPAN
10:01
10:02 robertle joined
tbrowder DrForr: hi! 10:02
10:03 araujo joined
tbrowder are you going to get a chance to integrate my PR for yr grammar module? 10:03
10:05 astj left
tbrowder that’s the Perl6::Parser... 10:06
Zoffix DrForr: ok do { my $setup = 1; return 3 }, 10:08
DrForr: ok do { my $setup = 1; return 3 }, 'the block returns true'
well, can't `return` from a block, but just use `do`. No need to invent anything new :) 10:11
10:25 evalable6 left, evalable6 joined, ChanServ sets mode: +v evalable6 10:26 W4RL0RD joined
DrForr tbrowder: Remind me again tonight... 10:29
Zoffix: Right, I'd forgotten about do{}. I was doing sub() and thinking that wasn't *quite* the right answer... 10:30
Zoffix Also, we already have a `does-ok` with a different meaning :)
m: use Test; does-ok 42, Numeric
camelia ok 1 - The object does role 'Numeric'
DrForr Ah, right, role stuff.
Any more of this and I'll start writing p6 best practices :) 10:31
Zoffix :)
hoffentlichja: there's also fail.rakudo.party/ that lists all currently open rakudo tickets that I find more usable than RT 10:36
HoboWithAShotgun how do i turn an into into a hexadecimal string representation? 10:37
s/an/an Int/
jnthn m: say 16.base(16)
camelia 10
HoboWithAShotgun ?? i thought it tried that 10:38
moritz m: printf '%x', 32
camelia 20
moritz m: say '20'.unbase(16) 10:42
camelia No such method 'unbase' for invocant of type 'Str'
in block <unit> at <tmp> line 1
moritz m: say :16('20')
camelia 32
HoboWithAShotgun m: "0;255;12".split(";").map({ .Int }).map({ sprintf("%02x", $_) }).join.say 10:44
camelia 00ff0c
HoboWithAShotgun fine. but is there a better way?
Zoffix perlawhirl: there are 4 syntaxes for the object hash thing: `my Int %h` constraints *values* to just `Int` objects; `my %h{Int}` constrains *keys* to just `Int`; you can combine these two and write, say, `my Num %h{Int}` to constrain keys to Int and values to Num; there's also `Hash[Num].new: 42 => 2e0`, `Hash[Num,Int].new: 42 => 2e0` or `Hash.^parameterize(Num,Int).new: 42, 2e0` to do the same; except here
you can do it with values from variables and stuff. And lastly, there's the `:{ }` circumfix op that creates an object hash with `Mu` constrainted values and `Any` constrainted keys.
HoboWithAShotgun m: "0;255;12".split(";").map({ sprintf("%02x", .Int) }).join.say 10:45
camelia 00ff0c
moritz m: say "0;255;12".split(';')».Int».fmt('%02x').join
camelia 00ff0c
Zoffix HoboWithAShotgun: this is color stuff, innit? 10:46
10:46 evalable6 left, evalable6 joined, ChanServ sets mode: +v evalable6
HoboWithAShotgun no shit sherlock 10:46
Zoffix :S
huggable: swearjar
huggable Zoffix, nothing found
HoboWithAShotgun :D i always wanted to say that
Zoffix huggable: swear jar
huggable Zoffix, Help Perl 6. Donate: donate.perlfoundation.org/
Zoffix HoboWithAShotgun: well, why not use the color modules instead of re-inventing the wheel? 10:48
buggable: color
eco: color
tyil Zoffix: “Perlâ€
buggable Zoffix, Found 6 results: Data::Dump, Color, Term::ANSIColor, Terminal::ANSIColor, IRC::TextColor. See modules.perl6.org/s/color
tyil I think there's an encoding bug on that page
Zoffix eco: Color 10:49
buggable Zoffix, Color 'Format conversion, manipulation, and math operations on colours': github.com/zoffixznet/perl6-Color 5 other matching results: modules.perl6.org/s/
tyil eco: Config
buggable tyil, Config 'Extensible library for reading and writing configuration files.': github.com/scriptkitties/p6-Config 12 other matching results: modules.perl6.org/s/
Zoffix tyil: a few moons ago [Coke] mentioned it to TPF, but I guess it never got fixed
tyil neat
Zoffix: is there a public repo for this where I can put up a PR?
Zoffix c: HEAD use lib <data/all-modules/zoffixznet/perl6-Color/lib>; use Color; Color.new(|"0;255;12".comb(/\d+/)».Int).say 10:51
committable6 Zoffix, ¦HEAD(a28c00a): «#00FF0C»
Zoffix I guess that ain't much improvement....
tyil: don't know. Ask [Coke] or lizmat. They're the TPF people 10:52
tyil [Coke], lizmat: it looks like there's an encoding bug on donate.perlfoundation.org/, in the third paragraph it shows “Perl†10:53
Zoffix m: "0;255;12".comb(/\d+/)».fmt("%02x").join.say
camelia 00ff0c
Zoffix HoboWithAShotgun: ^ two better ways
lizmat hmmm... wonder being on the Grant Committee makes you a TPF person
HoboWithAShotgun ty zoffix. but terminal::ansicolor and the rest don't deal with rgb colors, they are all just using the 16 color palette 10:54
lizmat anyways, [Coke] would be the person to be able to actually fix that, I have no access to the perlfoundation site
Zoffix Ah :) my bad
tyil he's been highlighted a couple times now, I guess he'll read back what the fuss was
DrForr HoboWithAShotgun: Yeah, 'Color' is an overloaded term :) 10:55
HoboWithAShotgun that's why my module to deal with them is called Terminal::Vision::Screen::Driver::Xterm 10:56
Of course there's other stuff too under T::V 10:57
Zoffix You should make a PR to Color to add a method for conversion to 16 pallet :)
tyil Zoffix: that would only work decently if one uses the default 16 color, but its not uncommon for people to define their own colors in their terminal 10:58
Zoffix Ah, OK
Zoffix &
tyil I've even made a little config change to make the console use slightly different colors to fit better with my main terminal emulator's colors
HoboWithAShotgun besides color matching ain't easy
10:59 domidumont left
HoboWithAShotgun i mean mathematically it is, but your brain/eyes beg to differ with the math at times 10:59
DrForr All the more reason to have a module for it so others don't have to do the math :) 11:00
hoffentlichja Zoffix: it is useful, thanks
11:02 holyghost joined 11:07 ChoHag left 11:16 xtreak left 11:17 domidumont joined 11:18 xtreak joined 11:30 Zoffix is now known as CallMeBob 11:32 yht left 11:36 xtreak left 11:37 rba joined 11:40 Cabanossi left 11:42 Cabanossi joined 11:43 nhywyll left 11:44 mudman left
HoboWithAShotgun m: our enum Names ( :name1("zoffix"), :name2("holli") ); Names.enums.keys.grep("name1").first; 11:55
camelia ( no output )
HoboWithAShotgun m: our enum Names ( :name1("zoffix"), :name2("holli") ); Names.enums.keys.grep("name1").first.say;
camelia name1
HoboWithAShotgun that's conoluted
11:55 llfourn joined
HoboWithAShotgun i need a need keyboard 11:56
there must be a better to get a enum member by $key 11:57
11:57 eliasr left
geekosaur m: our enum Names ( :name1("zoffix"), :name2("holli") ); dd Names.enums<name1> 11:58
camelia "zoffix"
geekosaur ...I have no idea what you are doing there
11:58 ChoHag joined 11:59 domidumont1 joined
geekosaur m: our enum Names ( :name1("zoffix"), :name2("holli") ); my $k = 'name1'; dd Names.enums{$k} 11:59
camelia "zoffix"
12:02 Xal left, domidumont left
jnthn m: our enum Names ( :name1("zoffix"), :name2("holli") ); say Names::{"name1"} 12:02
camelia zoffix
jnthn Just grab it out of the package 12:03
12:04 Xal joined
HoboWithAShotgun yes, Names.enums<name1> is what i wanted 12:05
12:06 ZofBot left 12:07 ZofBot joined, ChanServ sets mode: +v ZofBot
CallMeBob m: our enum Names ( :name1("zoffix"), :name2("holli") ); say Names::{"name1"} 12:07
camelia zoffix
HoboWithAShotgun i didnt know you cam treat a Map like that 12:08
CallMeBob our enum Names ( :name1(" zoffix "), :name2("holli") ); say Names::{"name1"} 12:09
our enum Names ( :name1("zoffix"), :name2("holli") ); say Names::{"name1"}
HoboWithAShotgun nice one Bob Some::Distant::Enum::<key> looks way nicer than Some::Distant::Enum.enums<key> 12:11
CallMeBob jnthn++ said it first
HoboWithAShotgun now i wish i could control the scope better. if i declare the enum lexical in a package, it's useless. if i use our all these symbols pollute the namespace and potentially collide. and "is export" isn't working 12:15
[Coke] tyil: yup, long standing bug, thanks for the report. 12:17
tyil o/ 12:18
[Coke] lizmat: note that the donate site ain't the wiki-based site.
CallMeBob HoboWithAShotgun: my enum Meows <foo bar ber>; sub EXPORT { { 'Meows' => Meows } };
HoboWithAShotgun i mean why can't i have enum cars( :suv, :misc ) and enum books( :novels, :misc ) in the same scope
CallMeBob You can.
lizmat [Coke] noted
HoboWithAShotgun please. enlighten me :) 12:19
CallMeBob -_-
12:23 domidumont1 left 12:25 Cabanossi left 12:27 Cabanossi joined 12:28 virtualsue joined
timotimo it lets you do that, it just gives a "potential difficulties". it installs an alias that errors out when you try to use it, but the error reporting seems broken at the moment 12:29
bisectable6: enum a <x y>; enum b <z y>; say y 12:32
bisectable6 timotimo, Bisecting by output (old=2015.12 new=b33c2d6) because on both starting points the exit code is 1
timotimo, bisect log: gist.github.com/e58eab90a5d0a6a05a...efecad9321
timotimo, (2016-08-30) github.com/rakudo/rakudo/commit/76...ccfef298af
12:32 gfldex_work joined
timotimo huh? 12:33
HoboWithAShotgun ugh. enum supports is export, i just put it in the wrong place
timotimo looks like the error reporting is only broken on my local machine
HoboWithAShotgun <-- headmeetsdesk
gfldex_work m: enum E (:a1, :b2, :c3); dd E.enums<a c>; 12:34
camelia (Nil, Nil)
gfldex_work m: enum E (:a1, :b2, :c3); dd E::<a c>; 12:35
camelia (Any, Any)
12:35 CallMeBob left, okl joined
timotimo er, that syntax works? 12:35
m: say (:a1)
camelia a1 => True
12:35 domidumont joined
timotimo m: enum E (:1a, :2b, :3c); dd E::<a c>; 12:36
camelia (E::a, E::c)
perlpilot m: say (:1a)
camelia a => 1
timotimo well, of course it works
gfldex_work if you do it right :-> 12:37
12:38 ChoHag left 12:39 gfldex_work left
perlpilot Most times I want to give enums specific values, I want them to be represented in hexadecimal or something other than integer. 12:39
timotimo m: enum E (a => <0x99>); say E::<a> 12:40
camelia 5===SORRY!5=== Error while compiling <tmp>
Multi method 'Str' with signature :(E:D $: *%_) must be resolved by class E because it exists in multiple roles (StringyEnumeration, NumericEnumeration)
at <tmp>:1
timotimo whoa.
perlpilot that is LTA for sure :)
timotimo enums are *not* happy with allomorphs
m: enum E (dummy => 1, a => <0x99>); say E::<a> 12:41
camelia ===SORRY!===
Incompatible MROs in P6opaque rebless for types IntStr and E
timotimo ouch
m: enum E (dummy => Any, a => <0x99>); say E::<a> 12:42
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot auto-generate a proto method for 'Int' in the setting
at <tmp>:1
perlpilot timotimo: right now it looks like you're playing a game where you try to get as many different errors from Rakudo as possible :) 12:43
timotimo someone want to rakudobug this?
12:43 domidumont1 joined 12:44 ShalokShalom_ joined
timotimo but yeah, that would have been a way to get what perlpilot wants 12:46
12:46 domidumont left 12:47 ShalokShalom left
timotimo m: enum E (a => 0x99 but "0x99"); say E::<a> 12:48
camelia a
timotimo m: enum E (a => 0x99 but "0x99"); say E::<a>.value
camelia 0x99
timotimo perlpilot: how do you like this?
perlpilot m: enum E ( a => 0x99 ); say E::<a>; # works fine 12:49
camelia a
perlpilot fine-ish
:)
anyway, I was more musing about the utility of :1a syntax (at least in my head if not aloud). It's cute and all, but of limited utility. I certainly like that I can say s:3x/q/s/, but .... I dunno where else it's the clear syntactic winner 12:50
12:50 ChoHag joined 12:51 Xal left
perlpilot Language design is always a balancing act, but I wonder if this particular bit of syntax will be seen by future sixers as more of a wart 12:51
timotimo i like it a lot, but i might not be future enough
moritz "you think this is cute today" 12:52
12:52 ab5tract_ left 12:53 ab5tract joined, mcmillhj joined
[Coke] I think I'm cute today. 12:53
12:54 Xal joined
lizmat [Coke]: you are :-) 12:55
moritz awww :-) 12:58
13:03 okl left 13:04 hoelzro left 13:07 hoelzro joined 13:11 epony left 13:14 virtualsue left 13:18 rba left 13:20 piojo left, rba joined 13:21 piojo joined 13:24 weabot left 13:25 weabot joined
rba anyone using zef behind a http proxy? how to configure this? 13:28
always get "Aborting due to fetch failure: .* from git://github.com/.*" -- ssh is not allowed to the internet from this box 13:29
13:30 cog_ joined 13:33 cognominal left 13:39 piojo left 13:40 piojo joined 13:43 lizmat left
tyil rba: set HTTP_PROXY 13:45
13:45 zakharyas joined
tyil and HTTPS_PROXY 13:45
13:52 jameslenz left 13:53 nowan left 13:57 nowan joined
rba tyil: I did it. Yet for git:// urls this doesn't seem to work. Have to add that proxy only works with auth (username/password) 13:58
tyil I have a couple others set here as well, and git seems to correctly try to pass through the proxy 13:59
cry.nu/p/67mw
username/password should be settable in the url
just make it username:password@proxy-server:proxy-port 14:00
rba tyil: the env http_proxy and https_proxy did make it work. so setting proxies in .curlrc and .wgetrc is not enough 14:09
tyil the env method works best in my experience
chromium and firefox seem to respect the env vars for proxies too 14:10
14:10 piojo left 14:22 HoboWithAShotgun left
DrForr Checking out a 4DX theater tonight for blade runner... 14:25
14:28 cgfbee left, skids joined 14:31 cgfbee joined
japhb .tell HoboWithAShotgun Terminal::ANSIColor does indeed support extended color escape codes, see github.com/tadzik/Terminal-ANSICol...example.pl 14:36
yoleaux japhb: I'll pass your message to HoboWithAShotgun.
14:36 astj joined 14:41 astj left 14:43 mcmillhj left 14:44 mcmillhj joined 14:54 domidumont1 left 14:56 cdg joined 14:58 lowbro left 15:03 rba left, rba_ joined 15:04 robertle left 15:09 nowan left, Cabanossi left 15:11 nowan joined 15:12 Cabanossi joined 15:15 zakharyas left, piojo joined 15:27 astj joined 15:28 zakharyas joined 15:47 rba_ left 15:49 wamba left, jonas1 left 15:53 sproctor left 15:55 mcmillhj left 16:01 lizmat joined 16:02 mempko joined, wamba joined, SHODAN joined 16:03 cdg_ joined 16:04 cdg_ left, cdg__ joined 16:06 cdg left 16:12 AlexDaniel_ joined, wamba left 16:15 piojo left 16:18 robertle joined 16:21 zakharyas left, ChoHag left 16:24 patrickz left 16:25 redhands joined 16:27 troys joined 16:28 astj left 16:29 astj joined, dakkar left 16:30 ch3ck3r left 16:33 squashable6 left, mcmillhj joined, astj left 16:41 Cabanossi left, leont_ joined 16:42 Cabanossi joined 16:43 squashable6 joined 16:44 timotimo left 16:45 okl joined
squashable6 Webhook for perl6/nqp is now inactive! 16:45
16:45 timo joined
squashable6 Webhook for perl6/nqp is now inactive! 16:45
16:46 timo is now known as Guest28948
squashable6 Webhook for perl6/roast is now inactive! 16:46
tyil :(
16:46 Guest28948 left 16:47 timo1 joined
timo1 töst 16:47
16:47 timo1 is now known as timotimo
timotimo finally i have utf8 again 16:47
AlexDaniel_ timotimo: should we perform the zalgo test to confirm it? :) 16:48
16:48 cdg joined
squashable6 Webhook for perl6/roast is now active! Responsive is better than fast. 16:48
timotimo no thanks :\
AlexDaniel_ ohhhh I know what's wrong 16:49
it's triggering on *any* event, oops…
16:49 squashable6 left
tyil AlexDaniel_: pls do the zalgo test :> 16:51
AlexDaniel_ is busy doing other tests
16:51 cdg__ left
tyil ;~; 16:51
16:51 squashable6 joined
squashable6 Webhook for perl6/roast is now active! Responsive is better than fast. 16:52
Webhook for perl6/nqp is now active! It's not fully shipped until it's fast.
tyil AlexDaniel_: are you using a module to deal with the github webhooks?
AlexDaniel_ tyil: no, but I'd highly appreciate if somebody wrote a module 16:53
tyil github.com/scriptkitties/perl6-IRC...Github.pm6
I actually made a small one for IRC::Client for use in my own bot :p
its not complete yet, but it does commits, issues and PRs now 16:54
AlexDaniel_ Mine also performs HMAC tests: github.com/perl6/whateverable/blob...#L144-L176
it's a mess but it does work
tyil mine currently does not, but I can look into putting that in 16:55
AlexDaniel_ feel free to take that code
16:55 lizmat left
tyil alright :> 16:56
16:57 lizmat joined 17:00 astj joined
tyil AlexDaniel_: are there any other features you feel are necesary in my module to be able to consider it for your needs? 17:01
AlexDaniel_ tyil: direct access to payload data 17:02
and headers too
17:02 lizmat left
Xliff What will the next squashathon be focusing on? 17:03
17:03 lizmat joined
AlexDaniel_ Xliff: all RT tickets, so contributions to nqp, rakudo, roast, moarvm count 17:03
tyil: because I'm saving everything here: github.com/perl6/whateverable/blob...#L164-L166 17:04
17:04 astj left
AlexDaniel_ tyil: not sure why, I think the idea was that I may want to do some post-processing of this stuff later 17:04
and IIRC github does not store more than 300 webhook or something like that, I don't remember now
squashable6: status
squashable6 AlexDaniel_, ⚠🍕 Next SQUASHathon in ≈16 hours (2017-10-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
17:05 lizmat left
AlexDaniel_ Xliff: there's a guide I tried to write for the squashathon, but I don't know if it's helpful. Maybe take a look anyway github.com/rakudo/rakudo/wiki/Raku...thon-Guide 17:05
17:05 redhands left
Xliff AlexDaniel_: Thanks! I will. 17:07
timotimo: Yes, the squashed pair value syntax is warty. I actively discourage myself from using it. 17:08
Much prefer <key> => <value> because it is concise.
17:08 ChoHag joined 17:10 HoboWithAShotgun joined
ilmari AIUI the :42foo syntax was invented purely so s:2nd/foo/bar/ would 17:10
17:12 domidumont joined 17:14 squashable6 left, squashable6 joined, Ven`` joined
robertle samcv: (or anyone) can I ask you a unicode-related question? in something like github.com/robertlemmen/perl6-cucu....pm6#L348, the farsi text reads ok on the screen, but only because the characters are reveresed. this way it renders ok in a left-to-right context 17:15
samcv hello it is I
tyil licks samcv
hi :3
robertle I want to match them against a right-to-left text, now I am wondering whether reversing the string and then matching would work... 17:16
tyil AlexDaniel_: making all incoming requests saveable should be easy enough to do
Geth whateverable: 95803e5a84 | (Aleks-Daniel Jakimenko-Aleksejev)++ | bin/Squashable.p6
Process ping payload to test webhooks

Issue #243
17:17
whateverable: a2ef17c698 | (Aleks-Daniel Jakimenko-Aleksejev)++ | services/whateverable@.service
Be even more forgiving about new processes

Some things may need more processes, and that's OK for now.
AlexDaniel_ tyil: or that, yeah
samcv robertle, well RTL text is still encoded the same as any other text. it's only display which is different
Geth whateverable: 6b2a808dd9 | (Aleks-Daniel Jakimenko-Aleksejev)++ | services/whateverable@.service
Make watchdogs a bit less aggressive

Otherwise bots keep getting killed.
robertle in english it would work, e.g. 'ofenrohr'.flip ~~ /'rnef'/
samcv so for RTL text. it's still encoded the same
17:17 setty1 joined
samcv the "first" character comes first and last comes last 17:17
tyil AlexDaniel_: I'll get on with HMAC stuff first, that looks more useful 17:18
samcv it's only display that is different. i.e. if a user were typing it on their keyboard. (that order)
17:18 mr-foobar joined
robertle but in right-to-left text the first/rightmost character comes first in the character sequence, correct? 17:18
samcv yes. as they would type it
it is only display which is different. but input is the order that it is typed in
robertle in the line I highlighted, the "first" farsi character comes last in the farsi sequence, so that it renders ok in left-to-right
17:19 wamba joined
robertle so basically it is wrong, but looks correct 17:19
samcv first in rtl would be the right most
robertle but that type of wrong is all I can do in a mixed LRT and RTL file
samcv oh so you're saying it's arabic script rendering LTR? 17:20
so it's reversed?
robertle correct!
samcv (in the encoding)
hah
you can use .flip i suppose to flip it and test against both?
robertle I believe that is the only way I can put arabic words in my text file with other languages
samcv well. it depends on what is displaying it
what is your editor?
robertle right, that's what i am wondering: does the flip and match work in all cases? it does work in any script or unicode range that I understand, like the example: 17:21
'ofenrohr'.flip ~~ /'rnef'/
but does that work across all unicode ranges?
I guess that bils down to me not undertsanding what a "grapheme" is... 17:22
samcv yeah
well. ok. it doesn't flip codepoints but flips graphemes
robertle right, and that is where my confusion comes in
samcv m: say "á"\c[COMBINING CARON]".flip
camelia 5===SORRY!5=== Error while compiling <tmp>
Confused
at <tmp>:1
------> 3say "á"\7⏏5c[COMBINING CARON]".flip
expecting any of:
postfix
samcv m: say "á\c[COMBINING CARON]".flip 17:23
camelia á̌
samcv so that isn't flipped becuase it's one grapheme. it doesn't flip codepoints. i mean what are you trying to do?
who is this for? is it just because your own editor doesn't support RTL text?
17:24 nhywyll joined
samcv at least وِیژگی shows the same in my RTL supporting editor for me at least 17:25
17:25 jameslenz joined
samcv i can't read farsi though 17:25
17:25 Cabanossi left
robertle my editor can do rtl and left too right, but not within one line 17:25
samcv oh. maybe you should switch? Atom seems to support mixed i think. 17:26
yeah it appears to support it
m: "وِیژگی".flip.say
camelia یگژیوِ
samcv m: "وِیژگی".ords.reverse.chrs.say
camelia یگژیِو
samcv that's the difference between doing it by grapheme with flip and reversing the codepoints 17:27
m: "وِیژگی".chars.say; "وِیژگی".codes.say
camelia 5
6
samcv there is one combining grapheme in there
17:27 Cabanossi joined
robertle ah, that's interesting! about the editor: that appears to be the core problem really. how to put both LTR and RTL text into one file and keeping it accessible... 17:29
squashable6 Webhook for MoarVM/MoarVM is now active! It's not fully shipped until it's fast.
AlexDaniel_ samcv: ↑ thanks :)
timotimo: do you have access to rakudo repo settings? 17:30
robertle thinking more about it, reversing the characters in the file just to make it look right in some random cases seems to be a stupid idea... 17:33
samcv yay
\o/
HoboWithAShotgun can i have method aliases? i know i can export what i want, but maybe i can do something like "method foo alias bar" 17:34
yoleaux 14:36Z <japhb> HoboWithAShotgun: Terminal::ANSIColor does indeed support extended color escape codes, see github.com/tadzik/Terminal-ANSICol...example.pl
timotimo AlexDaniel_: it doesn't seem so, no
AlexDaniel_ timotimo: do you know who does?
samcv robertle, i mean you could insert a code to force RTL? though idk if the editor doesn't support it then
may be out of luck anyway. depending on what the issue is
timotimo AlexDaniel_: no clue :\ 17:37
17:37 |oLa| joined
AlexDaniel_ perlpilot: can you set up a webhook on rakudo repo for me? 17:40
17:40 astj joined 17:45 astj left
Geth doc: 218dce50db | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Cool.pod6
Doc EVAL(Blob)/EVALFILE encoding use

Rakudo impl: github.com/rakudo/rakudo/commit/6c928d61d9 Spec: github.com/perl6/roast/commit/6949cb13ad
17:46
synopsebot Link: doc.perl6.org/type/Cool
doc: 01383c637e | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Cool.pod6
Fix EVALFILE signature / hint there's encoding stuff involved
17:48
17:51 astj joined
[Coke] `/win 3 17:51
Not sure how I keep missing entering the contest. 17:52
17:52 troys is now known as troys_ 17:55 astj left
AlexDaniel_ [Coke]: can you set up a webhook for squashable on rakudo repo? 17:59
18:02 zakharyas joined 18:06 pcp joined 18:07 HoboWithAShotgun left 18:08 W4RL0RD left, troys_ is now known as troys 18:13 skids left 18:17 mcmillhj left 18:19 mcmillhj joined 18:23 Aaronepower joined 18:24 Aaronepower left 18:26 shadoxx left, astj joined 18:28 Aaronepower joined, shadoxx joined 18:30 astj left 18:31 astj joined 18:32 Aaronepower left 18:35 Aaronepower joined, astj left 18:36 thou joined 18:37 Aaronepower left, Aaronepower joined 18:39 Aaronepower left, Cabanossi left 18:40 Xal left 18:41 okl left 18:42 Cabanossi joined, Xal joined 18:43 darutoko left 18:46 troys is now known as troys_, zakharyas left
AlexDaniel_ squashable6: status 18:51
squashable6 AlexDaniel_, ⚠🍕 Next SQUASHathon in ≈15 hours (2017-10-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
18:52 skids joined, zakharyas joined
perlpilot AlexDaniel_: What sort of webhook? 18:53
AlexDaniel_ perlpilot: pm-ed. That's needed for squashable 18:54
19:00 Aaronepower joined
squashable6 Webhook for rakudo/rakudo is now active! Responsive is better than fast. 19:01
AlexDaniel_ perlpilot: ↑ yay! Thanks!
19:01 Aaronepower left
AlexDaniel_
.oO( maybe squashable6 should not print the “zen” thingy from github… these seem to be a bit off-topic )
19:02
19:04 domidumont left 19:06 astj joined, Aaronepower joined 19:08 Aaronepower left 19:09 Aaronepower joined 19:10 astj left 19:17 lucasb joined 19:18 cdg_ joined 19:19 Aaronepower left 19:21 cdg left 19:22 Aaronepower joined 19:23 cdg_ left 19:27 Aaronepower left, Aaronepower joined 19:30 zakharyas left, pmurias joined
pmurias rakudo.js nows passes 64.65% of roast tests (with very slight fudging for some unicode issues) 19:31
tyil neat
moritz pmurias++
19:34 ChoHag left 19:35 lichtkind joined 19:40 synergy joined, Cabanossi left, Aaronepower left 19:41 Aaronepower joined 19:42 Cabanossi joined 19:43 Aaronepower left 19:44 ShalokShalom_ is now known as ShalokShalom, Aaronepower joined 19:45 astj joined, andrzejku joined 19:47 Aaronepower left
MasterDuke very cool 19:48
19:48 Aaronepower joined
pmurias blogs.perl.org/users/pawel_murias/2...-test.html 19:48
19:49 astj left 19:56 zakharyas joined 19:57 Aaronepower left 19:59 sergot joined
thou There seems to be an error with */tbrowder/* entries in raw.githubusercontent.com/perl6/ec.../META.list 20:01
dups pointing to various commit hashes instead of /master/
resulting in broken module pages, e.g. modules.perl6.org/dist/Text::More 20:02
moritz seems to be multiple releases
thou (I assume it's the cause of the breakage)
20:03 rba joined
moritz which breakage? 20:03
thou modules.perl6.org/dist/Text::More
none of those links go to anything useful
moritz no? 20:04
raw.githubusercontent.com/tbrowder...META6.json
seems to point to version 0.1.2 of Net::IP::Lite
what's not useful about that?
thou Do you find that on modules.perl6.org/dist/Text::More ? 20:05
I'm just seeing 4 links that all go to modules.perl6.org/dist/Text::More:g...b:tbrowder 20:06
and when clicking on that link, it's the same content as modules.perl6.org/dist/Text::More
moritz that looks like problem with modules.perl6.org to me, not with the ecosystem list
or simply a "not yet implemented"
20:07 synergy left, rjbs joined
thou could be; i'd assumed that ecosystem list wasn't intended to have multiple links for a single module 20:08
20:11 Zoffix joined, ChoHag joined 20:12 Xal left
Zoffix It's both a now-pointless dupping of entries in meta-list and a NYI on modules.perl6.org of being able to distinguish when multiple metas point to the same dist but multiple versions (they're uniqued on meta URLs) 20:13
thou I do get meaningful results from `zef search Text::More` (lists ::ver<0.1.{2, 3, 4, 7}>). That's probably not useful in this particular case but it's at least intelligible.
Zoffix thou: do you get the same for dists without multiple metas in the list? I think zef has some service running that fishes out which commits correspond to which version 20:14
thou it just shows `List::Utils` or `Test::Harness` in those two cases, no explicit version in the module name 20:16
Not sure if there might be some subset of modules that zef knows more version info about. 20:17
20:17 Xal joined
thou I am assuming that it's looking at the META6.json files pointed to by those 4 Text-More lines in ecosystem and reporting version from there. 20:17
Or something similar
20:18 andrzejku left 20:19 astj joined 20:21 skids left 20:23 astj left
thou I'd be happy to just remove the commit-hash-referenced entries and keep things simple, but perhaps there is more that should be done 20:23
Zoffix would be nice to teach mp6o to link to different versions of p6c dists 20:25
(using the same service zef uses to find version bump commits)
20:26 Wiertek joined 20:30 zakharyas left, thou left 20:34 someuser left 20:37 wamba left 20:41 Cabanossi left, lucasb left, Cabanossi joined 20:42 setty1 left 20:46 pecastro left, Wiertek left 20:47 pecastro joined 20:49 troys_ is now known as troys 20:53 pecastro left
tbrowder I’ll be happy to remove all my stuff in ecosystem as soon as I upload to CPAN. Working on it no.... 20:53
20:57 skids joined 21:01 cdg joined 21:03 mcmillhj left 21:10 astj joined 21:13 skids left 21:14 astj left 21:22 thou joined
buggable New CPAN upload: Text-More-Perl6-01.8.tar.gz by TBROWDER cpan.metacpan.org/authors/id/T/TB/...1.8.tar.gz 21:22
New CPAN upload: Text-More-Perl6-01.8.zip by TBROWDER cpan.metacpan.org/authors/id/T/TB/...6-01.8.zip
21:25 troys is now known as troys_
leont_ That doesn't look right to me 21:26
Zoffix leont_: what particularly? 21:27
two uploads of same version?
leont_ Various files that I suspect shouldn't be there
Zoffix Ah 21:28
21:28 troys_ is now known as troys 21:29 thou left 21:30 thou joined
Zoffix I was gonna make mp6o filter out duped dists, but on second thought, no point in keeping them in the list so I decided not to commit; diff in gist.github.com/zoffixznet/db0b415...62957dae51 21:30
\o
21:30 Zoffix left 21:31 pecastro joined
thou o/ 21:34
Geth ecosystem: cd8096ae65 | (Tom Browder)++ | META.list
remove Text::More which is now on CPAN
21:36
tbrowder Zoffix: ref dist files, you need to set some CPAN rules for META6, file names and types, etc. in the past ugexe has said zip is best, but CPAN doesn't care, and github generates both. 21:39
21:39 pecastro left
buggable New CPAN upload: Text-More-Perl6-0.1.8.tar.gz by TBROWDER cpan.metacpan.org/authors/id/T/TB/...1.8.tar.gz 21:42
21:46 pecastro joined
tbrowder so what file(s) do you want on CPAN? 21:46
21:49 cdg_ joined
Geth ecosystem: 2401e536b8 | (Tom Browder)++ | META.list
remove Geo::Ellipsoid which is now on CPAN
21:50
tyil github.com/Tyil/perl6-Ebuilder/blo...-ecosystem occasionally, make-ebuild dies, but the code after the make-ebuild statement seem to still be executed, even though there's a try/catch in place to call next if something in it dies 21:51
21:51 astj joined
buggable New CPAN upload: Text-More-Perl6-0.1.8.zip by TBROWDER cpan.metacpan.org/authors/id/T/TB/...-0.1.8.zip 21:52
New CPAN upload: Geo-Ellipsoid-Perl6-0.2.0.tar.gz by TBROWDER cpan.metacpan.org/authors/id/T/TB/...2.0.tar.gz
New CPAN upload: Geo-Ellipsoid-Perl6-0.2.0.zip by TBROWDER cpan.metacpan.org/authors/id/T/TB/...-0.2.0.zip
21:53 cdg left 21:55 pecastro left 21:56 astj left
teatime hrm, I thought there was a squashaton on 21:57
did I miss it?
21:59 leont_ left, troys is now known as troys_, kurahaupo joined
timotimo squashable6: status 21:59
squashable6 timotimo, ⚠🍕 Next SQUASHathon in ≈12 hours (2017-10-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
teatime thanks, knew the right bot but not how to ask 22:00
Geth ecosystem: 44bd501072 | (Tom Browder)++ | META.list
remove META6::To::Man which is now on CPAN
buggable New CPAN upload: META6-To-Man-Perl6-0.2.0.zip by TBROWDER cpan.metacpan.org/authors/id/T/TB/...-0.2.0.zip 22:02
22:11 eliasr joined
buggable New CPAN upload: META6-To-Man-Perl6-0.2.0.tar.gz by TBROWDER cpan.metacpan.org/authors/id/T/TB/...2.0.tar.gz 22:12
Geth ecosystem: 5c2f1f6cf5 | (Tom Browder)++ | META.list
remove Net::IP::Lite which is now on CPAN
22:13
22:17 nhywyll left 22:18 pcp left, kerframil joined, BenGoldberg joined 22:20 pmurias left
buggable New CPAN upload: Net-IP-Lite-Perl6-0.1.4.tar.gz by TBROWDER cpan.metacpan.org/authors/id/T/TB/...1.4.tar.gz 22:22
New CPAN upload: Net-IP-Lite-Perl6-0.1.4.zip by TBROWDER cpan.metacpan.org/authors/id/T/TB/...-0.1.4.zip
22:22 mcmillhj joined 22:23 pecastro joined
Geth ecosystem: fe41c46932 | (Tom Browder)++ | META.list
remove Number::More which is now on CPAN
22:24
22:27 mcmillhj left 22:28 astj joined, mcmillhj joined 22:32 astj left
buggable New CPAN upload: Number-More-Perl6-0.2.0.tar.gz by TBROWDER cpan.metacpan.org/authors/id/T/TB/...2.0.tar.gz 22:32
22:33 mcmillhj left 22:34 mudman joined 22:35 lichtkind left 22:39 mempko left
Geth ecosystem: b647dc29fd | (Tom Browder)++ | META.list
remove Proc::More which is now on CPAN
22:42
ecosystem: 31fc91c0ac | (Tom Browder)++ | META.list
remove Linux::Proc::Time which was replaced by Proc::More
22:44
22:44 mcmillhj joined, rindolf left 22:45 Morfent joined 22:49 mcmillhj left
Geth doc: 255d9df270 | (Zoffix Znet)++ | doc/Type/Blob.pod6
Document Blob.gist trims to 100els

Rakudo impl: github.com/rakudo/rakudo/commit/ac8e5f430b Spec: github.com/perl6/roast/commit/1871724d47
22:50
synopsebot Link: doc.perl6.org/type/Blob
buggable New CPAN upload: Proc-More-Perl6-0.3.0.tar.gz by TBROWDER cpan.metacpan.org/authors/id/T/TB/...3.0.tar.gz 22:52
New CPAN upload: Proc-More-Perl6-0.3.0.zip by TBROWDER cpan.metacpan.org/authors/id/T/TB/...-0.3.0.zip
22:55 mcmillhj joined 22:57 skids joined, astj joined 23:00 hoffentlichja left, gary joined 23:01 bwisti joined, gary is now known as Guest20173, Guest20173 left 23:02 astj left 23:16 DarthGandalf left, DarthGandalf joined, mcmillhj left, mcmillhj joined 23:20 jameslenz left, lizmat joined 23:21 mcmillhj left 23:26 Xal left 23:27 astj joined, jameslenz joined 23:28 Xal joined 23:32 astj left, mcmillhj joined 23:36 eater left 23:38 eater joined, cgfbee left 23:40 Cabanossi left, mcmillhj left 23:42 Cabanossi joined, eater left 23:43 kurahaupo_ joined 23:45 eater joined 23:46 kurahaupo left 23:53 cdg_ left