»ö« 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.
00:00 AlexDaniel joined 00:02 as__ left 00:05 astj joined, AlexDaniel left 00:09 Actualeyes joined, astj left
cale2 are the built ins for note and warn basically like a built in logger? 00:16
lizmat they write to $*STDERR, if that is what you mean ? 00:23
00:26 jp_ left 00:33 pmurias left 00:35 BenGoldberg joined 00:36 pmurias joined 00:37 milesrout joined
milesrout how's perl 6 going then 00:40
brokenchicken Going well. 00:41
cale2 medium.com/@squeaky_pl/million-req....yqa5k1am5 00:48
"All the techniques that were mentioned here are not really specific to Python. They could be probably employed in other languages like Ruby, JavaScript or PHP even."
00:56 aborazmeh joined, aborazmeh left, aborazmeh joined 01:07 pyrimidine joined 01:14 pyrimidine left 01:17 labster left 01:18 astj joined 01:22 labster joined 01:23 espadrine_ left, hartenfels joined
timotimo milesrout: any questions in particular? or just an overall status report? 01:30
01:33 pmurias left
samcv this is weird. i get Cannot pop from an empty Array, but i get the error message after i have already exited that sub 01:40
the sub that pops the array
TimToady is it returning a Failure? 01:41
brokenchicken QAST::Var(lexical $x :decl(contvar)) ... is that :decl<contvar>? And it'd give a containerised var I could :op<assign> to?
brokenchicken greps sauce 01:42
samcv this is what i get gist.github.com/samcv/e98039bb5208...073a0f45dd
brokenchicken No such uses :(
samcv i added a try on there and the error went away, but it is quite odd
TimToady just looks like it's returning a Failure through several layers before trying to use it 01:43
(or sinking it)
and try doesn't allow Failures to return through it 01:44
m: say try Failure.new 01:45
camelia rakudo-moar d69f37: OUTPUT«Nil␤»
samcv yeah so i guess just a weird error. i fixed the source of the failure 01:47
and it went away
01:51 Actualeyes left 01:52 pyrimidine joined
brokenchicken ugh Unable to parse expression in blockoid; couldn't find final '}' at line 7850 01:53
Yeah there ain't nothing wrong with that line, you stupid compiler!
brokenchicken yells at the cloud and goes to bed
01:54 hartenfels left
masak TimToady: oh! well, there were actually two separate questions, sort of: (1) should unquote-containing BEGINs invoke per expension? and (2) should non-unquote-containing BEGINs in quasis be deferred to expansion-time out of sympathy? 01:55
TimToady: for the time being, I'll take you as being in the "yes" camp for both, then.
and your "yes" stance on (2) ought to make arnsholt and vendethiel happy ;) 01:56
masak .oO( Happiness-Driven Development )
TimToady sure...to the first approximation, quasies are sequences of generic symbols that only attain meaning when instantiated in context 02:02
if we eventally need a QUASIBEGIN phaser, well then...
02:03 hartenfels joined
TimToady outside of the quasi, of course, it's real code, and BEGIN should go off immediately 02:04
even if it ends up returning something quasi for later 02:05
02:06 kalkin- joined
BenGoldberg Is it possible to define macro ops? Infix/suffix/etc? 02:07
timotimo should be, no? 02:08
02:08 user__ left
BenGoldberg remembers trying to, but got stumped by the syntax. 02:09
m: macro infix:<plus>($a, $b) { return quasi { {{{$a}}} + {{{$b}}} } }; say 2 plus 3; 02:12
camelia rakudo-moar d69f37: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Use of macros is experimental; please 'use experimental :macros'␤at <tmp>:1␤------> 3macro7⏏5 infix:<plus>($a, $b) { return quasi { {␤»
BenGoldberg m: use experimental :macros; macro infix:<plus>($a, $b) { return quasi { {{{$a}}} + {{{$b}}} } }; say 2 plus 3; 02:13
camelia rakudo-moar d69f37: OUTPUT«WARNINGS for <tmp>:␤Useless use of constant integer 2 in sink context (line 1)␤Useless use of constant integer 3 in sink context (line 1)␤5␤»
samcv so i wrote a function to pack bitfields and it is working pretty well
BenGoldberg m: use experimental :macros; macro infix:<plus>($a, $b) { return quasi { (({{{$a}}}) + ({{{$b}}})) } }; say 2 plus 3;
camelia rakudo-moar d69f37: OUTPUT«WARNINGS for <tmp>:␤Useless use of constant integer 2 in sink context (line 1)␤Useless use of constant integer 3 in sink context (line 1)␤5␤»
BenGoldberg m: use experimental :macros; macro plus($a, $b) { return quasi { (({{{$a}}}) + ({{{$b}}})) } }; say plus( 2, 3 ); 02:14
camelia rakudo-moar d69f37: OUTPUT«5␤»
BenGoldberg Why is it sinking?
MasterDuke samcv: will that end up making the moar excutable smaller? 02:15
samcv well it already does bitfield packing
my names compression will for sure
from 1.7KB to like 470KB 02:16
timotimo you mean mb? :)
samcv yes MB
the only hurdle left is getting the names able to grab specific names instead of just going through the whole datastructure in order (for the names) 02:17
uhm and also need to figure out how to compress the mapping of cp's to bitfield rows
that takes up way more space than the bitfield, since the bitfield rows are de-duped
BenGoldberg huggable, rakudobug 02:18
huggable BenGoldberg, Report bugs by emailing to [email@hidden.address]
samcv so you can imagine: const static uint16_t point_index[1114110]
this index of points to bitfield rows is very very big
so i still need to do the same thing I already did for the names, which is making some if statements/switch for getting an offset 02:19
so like if ( cp >= 'A' && cp <= 'Z' ) return 40; # something like that 02:20
though ranges can be very very big, of points that share the same properties
though also need to solve the perl 6 script taking 1000 years to create a full database. while i work on it i have it do a partial build 02:21
think it was like 30 minutes it takes
logging into the bisectable server now and gonna do a full build and see how long it takes now, been a while since i did a ful one 02:23
02:24 agentzh left
samcv right now the names is 470KB vs 1.7MB+ we have currently, but the bitfield is way bigger than what we have now due to the index taking up so much space 02:27
02:42 cibs left 02:43 cibs joined 02:45 mscha joined
mscha m: my int $a = 10**16; say $a; say $a div 4; 02:45
camelia rakudo-moar d69f37: OUTPUT«10000000000000000␤468729856␤»
02:45 ilbot3 left 02:48 ilbot3 joined, ChanServ sets mode: +v ilbot3 02:52 dugword joined 02:57 dugword left 02:58 mr_ron left 03:03 itcharlie joined
timotimo samcv: is your UCD repo still the one that i should be working against for making the cp-to-name lookup work? 03:04
samcv yea
it is still current with my work
03:05 mr_ron joined
timotimo is the bitfield allocation stuff in there, too, somewhere? 03:11
also i'm not sure what the indxe is all about. is that something we didn't need before?
03:13 agentzh joined, xtreak joined
milesrout Do the symbols in perl 6 get easier with time? I can only assume so. I didn't find perl 5 that cryptic, but just looking through the operator page for perl 6 is overwhelming. 03:13
timotimo i find the symbolic operators in perl6 to be more systematic
milesrout I assume people don't tend to write perl 6 that way, right? adn they're just examples?
timotimo that ought to make it easier to learn
you mean /language/operators? 03:14
milesrout I do 03:15
mspo I think terms like postcircumfix might deserve their own entry in the glossary
samcv timotimo, the bitfield allocation stuff is now
it's sorting the enum properties now, will soon also have it sort the enum and binary properties together but the module I am using to pack the bitfield is there
works quite well 03:16
milesrout what is .perl
mspo m: "What is this?".perl
camelia ( no output )
timotimo outputs an object as code that'd give you roughly the same value back
samcv m: say "test".perl
camelia rakudo-moar d69f37: OUTPUT«"test"␤»
milesrout is it like 'print in Lisp or repr in Python?
mspo oh oops, say
m: "say What is this?".perl
camelia ( no output )
timotimo it's good for finding out the structure of nested objects and such
samcv sorta like that i guess milesrout
mspo or not :)
timotimo haha
mspo m: say "What is this?".perl 03:17
camelia rakudo-moar d69f37: OUTPUT«"What is this?"␤»
samcv m: say (10 => 'whatever').perl
camelia rakudo-moar d69f37: OUTPUT«10 => "whatever"␤»
timotimo m: say ^10 .combinations(2)
camelia rakudo-moar d69f37: OUTPUT«((0 1) (0 2) (0 3) (0 4) (0 5) (0 6) (0 7) (0 8) (0 9) (1 2) (1 3) (1 4) (1 5) (1 6) (1 7) (1 8) (1 9) (2 3) (2 4) (2 5) (2 6) (2 7) (2 8) (2 9) (3 4) (3 5) (3 6) (3 7) (3 8) (3 9) (4 5) (4 6) (4 7) (4 8) (4 9) (5 6) (5 7) (5 8) (5 9) (6 7) (6 8) (6 9) (7 …»
mspo m: say *.perl
camelia rakudo-moar d69f37: OUTPUT«{ ... }␤»
timotimo that's a bit much for a simple result
m: say ^5 .combinations(2)
camelia rakudo-moar d69f37: OUTPUT«((0 1) (0 2) (0 3) (0 4) (1 2) (1 3) (1 4) (2 3) (2 4) (3 4))␤»
mspo milesrout: it's like Data::Dumper in perl5
or print_r in php 03:18
milesrout thanks
timotimo we also have Data::Dump::Tree, which is pretty cool
and rakudo has a routine named "dd" that's quite helpful, though it's not part of the perl6 language 03:19
perlpilot Didn't bdf just do a blog post on way to dump data in P6 ? 03:20
s/way/ways/ 03:21
www.learningperl6.com/2017/01/26/t...nt-perl-6/
oh, he says "pretty print"
03:24 zacts left 03:27 zacts joined
samcv m: use nqp; say nqp::unicmp_s('a', 'b', 7,0,0,0) 03:32
camelia rakudo-moar d69f37: OUTPUT«This type cannot unbox to a native integer: P6opaque, Str␤ in block <unit> at <tmp> line 1␤␤»
samcv not sure why i get this error
since it goes (string, string, int, int, int)
that should work... 03:33
bisectable6, use nqp; say nqp::unicmp_s('a', 'b', 7,0,0,0)
bisectable6 samcv, Bisecting by output (old=2015.12 new=d69f375) because on both starting points the exit code is 1
samcv, bisect log: gist.github.com/671b60247f0c93078c...247f72b9e7
samcv, (2016-12-30) github.com/rakudo/rakudo/commit/33...09dfce953e
samcv that's unhelpful
MasterDuke samcv: is the signature 3 or 4 ints? 03:36
milesrout what's the difference between ... !!! and ???
are they basically meant to mean 'not implemented', 'fatal error' and 'wtf???' 03:37
oh nvm i can't read, fail/die/warn
MasterDuke samcv: btw, it would be good to add unicmp to github.com/perl6/nqp/blob/master/d...s.markdown 03:38
03:39 noganex joined 03:40 curt_ left 03:42 noganex_ left 03:59 kst` joined
samcv nqp: say(nqp::unicmp_s('a', 'b', 7,0,0,0)) 04:10
camelia nqp-moarvm: OUTPUT«1␤»
samcv :\ whyyyyyy
dammit rakudo
04:14 liz_ joined 04:15 dugword joined 04:22 Actualeyes joined
samcv i love this atom plugin so much 04:27
cale2 samcv: what does the plugin do for you that you love? 04:28
samcv imgur.com/a/eLG42
look at the right panel
it populates with all Classes, Routine's and Operators now that I have it setup
and i can click on the thing on the right panel and it'll go directly to that part of the file 04:29
haven't added methods yet, maybe gonna do that idk
cale2 milesrout: I agree that the operations can be obscene at times. I come from a more haskelly/functional background, so I'm more interested in the type system 04:30
samcv is that not awesome?
cale2 milesrout: I think it's better to show off how perl6 lets you write much more declarative code than showing off crazy operator chains :)
samcv might as well add methods now, since you can collapse the lists anyway
cale2 samcv: I am DEFINITELY downloading that asap 04:31
samcv yeah let me put my config for it online
cale2 I switched to VS Code because Atom was too slow 04:32
samcv it's nav-marker-plus
cale2 maybe it's gotten faster?
samcv cale2, try the atom beta
it's much faster
cale2 trying nw
I actually have an idea for a mini book about perl6 04:33
might throw a draft on gitbook in the future 04:34
samcv cale2, here's my nav marker rules github.com/samcv/dot-files/blob/ma...rker-rules 04:35
i have it in the root of the project folder i'm working in 04:36
though if i open more files and they open in the same folder, it also works fine
cale2 samcv: It's been a while since I looked at atom. not sure what to do with those rules lol 04:37
samcv put it in the projects folder you're working on
there may be a way to make it global but i haven't done that
but if you wanna try it out, throw it in the folder you keep some perl 6 files, then launch atom from terminal or something when you're in that folder 04:38
like in the folder you put .nav-marker-rules in
let me know if that works 04:39
04:39 Actualeyes left 04:42 mr_ron left 04:43 xtreak left 04:45 xtreak joined
cale2 I'm confused about this: github.com/perl6/atom-language-per...i-use-this 04:48
agentzh okay, my perl 6 dialect compiler, fanlang, is powerful enough to run this simple arith expression calculator: gist.github.com/agentzh/9b9d679972...f1e9566ff2
cale2 I just downloaded Atom and it comes with P6 highlighting automatically. So is this atom thing already built in?
agentzh for a 4.2MB randomly generated huge expression input, the generated program can complete in 0.7 sec. 04:49
samcv no it's not
agentzh for comparison, a similar perl 6 program completes in 101.372s with the latest rakudo :)
samcv the perl 6 highlighting sucks
built into atom
it's basically the perl 5 highlighter with classes and a few things added 04:50
cale2, you can run `apm install language-perl6` in terminal
agentzh samcv: well, the grammar syntax is different from the perl 6 language. that's why i call fanlang a dialect :)
samcv or use the package center in atom
wait what?
agentzh also wrote an equivalent arith expression calculator in perl 5/pegex, and it completes in 10.482s.
all for the same input. 04:51
samcv cale2, that how do i use this implies you have already installed it :P
so .7 s for perl 6 and 10s for perl5 ?
cale2 samcv: Well there's language-per6 and language-perl6fe 04:52
samcv you want language-perl6
that's what i said right?
04:52 Actualeyes joined
agentzh sammers: 0.7s for fanlang, 101s for rakudo, and 10s for perl5/pegex 04:52
samcv <samcv> cale2, you can run `apm install language-perl6` in terminal
ah ok agentzh
agentzh sorry, i mean samcv
samcv source?
cale2, language-perl6fe is the old one that is not up to date. language-perl6 is the newest version which was forked from the old one and became an official perl 6 org project 04:53
04:53 liz_ left
samcv you will install language-perl6, but in the bottom right corner where you see the name of the language it's using syntax highlighting for, it will still say "Perl 6 FE", the reason is because the perl syntax highlighter stole it so we have to use somethnig different 04:54
but if you have language-perl6fe uninstall, since they will conflict, since they have the same scope as each other 04:55
nice we're up to 232 downloads for language-perl6 \o/ 04:56
.ask DrForr will this be able to be merged? Readline 7 has been out for a while github.com/drforr/perl6-readline/p...-276507278 04:57
yoleaux samcv: I'll pass your message to DrForr.
cale2 samcv: what should I name the files for it to pick up perl 6 fe right away? 04:58
samcv .p6, .pm6 .pl6 04:59
04:59 Cabanoss- joined
agentzh samcv: p6 version for the calculator: github.com/agentzh/perl-parsing-li...-Rakudo.p6 04:59
samcv oh you're using grammars
agentzh samcv: and then the p5 version: github.com/agentzh/perl-parsing-li...c-Pegex.pl
and my fanlang version (again): gist.github.com/agentzh/9b9d679972...f1e9566ff2 05:00
samcv what's fanlang? 05:01
oh the perl 6 dialect 05:02
that's pretty cool
05:02 Cabanossi left, Cabanoss- is now known as Cabanossi
agentzh right. 05:02
samcv i thought that's what you meant i just didn't see what fanlang was heh
agentzh fanlang is a perl 6 dialect compiler targeting LuaJIT and OpenResty.
we've been hacking on this thing since last November. 05:03
cale2 Just discovered this: docs.perl6.org/routine/andthen
Makes me so happy. Does it work yet?
agentzh the compiler itself is currently written in perl5/pegex and will soon be bootstrapped in fanlang itself :)
samcv yeah it is like `or` except uses defineness
does luajit support regex? 05:04
agentzh samcv: openresty exposes the pcre jit API so that what fanlang currently uses. luajit's own regex is quite limited and cannot be JIT compiled. 05:05
*that's 05:06
samcv ah ok
cale2, did you get language-perl6 working?
and what about the nav-panel-plus?
05:06 khw left
cale2 There needs to be more talk about using definedness in p6 05:06
samcv talk?
agentzh fanlang does not support perl 6 regexes yet. we use a mixture of EBNF and perl 5 regexes.
the EBNF part is influenced mainly by Parse::RecDescent. 05:07
and also Pegex.
samcv cale2, have you read learnxinyminutes.com/docs/perl6/
cale2 A lot of people won't even think about using a language if it doesn't have some sort of Maybe or Option type
TEttinger heh, define "a lot"
cale2 TEttinger: "internet people"
But really, the fact that P6 has smileys on types is great. And it also has a control structures built in for checking them like "andthen" 05:08
samcv i am sad at how slow my UCD-gen.p6 script runs compared to the perl 5 one :(
cale2 It lets you write in a very different way. It sort of guides you to writing closer to Rust than Perl5 really 05:09
And the concept of Types being on the same level as Values
It's basically Idris' dumb cousin :) 05:10
anyway, goodnight
TEttinger yeah, type-level programming seems like a good goal for a lot of languages to strive for 05:11
05:11 mr_ron joined
samcv also 05:12
m: my $a = 'a'; my $b = 'B'; say nqp::unicmp_s($a, $b, 7,0,0,0)
camelia rakudo-moar d69f37: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Could not find nqp::unicmp_s, did you forget 'use nqp;' ?␤at <tmp>:1␤------> 3 'B'; say nqp::unicmp_s($a, $b, 7,0,0,0)7⏏5<EOL>␤»
samcv how the hell do i fix this
m: use nqp; my $a = 'a'; my $b = 'B'; say nqp::unicmp_s($a, $b, 7,0,0,0)
camelia rakudo-moar d69f37: OUTPUT«This type cannot unbox to a native integer: P6opaque, Str␤ in block <unit> at <tmp> line 1␤␤»
samcv it works perfect in nqp
nqp: my $a := 'a'; my $b := 'B'; say(nqp::unicmp_s($a, $b, 7,0,0,0)) 05:13
camelia nqp-moarvm: OUTPUT«1␤»
05:13 cale2 left
samcv helppp 05:13
05:13 KDr2 joined
samcv wtf is it trying to do 05:13
hmm 05:14
m: use nqp; my int $c = 7; my $a := 'a'; my $b := 'B'; say(nqp::unicmp_s($a, $b, $c,0,0,0))
camelia rakudo-moar d69f37: OUTPUT«This type cannot unbox to a native integer: P6opaque, Str␤ in block <unit> at <tmp> line 1␤␤»
samcv m: use nqp; my int $c = 7; my str $a = 'a'; my str $b = 'B'; say(nqp::unicmp_s($a, $b, $c,0,0,0)) 05:15
camelia rakudo-moar d69f37: OUTPUT«1␤»
samcv for some reason it's not giving it a native int
TEttinger not sure what := does differently from = there 05:16
samcv well
that's not the reason for changes, nqp has to do :=
m: use nqp; my $c = 7; my str $a = 'a'; my str $b = 'B'; say(nqp::unicmp_s($a, $b, 7,0,0,0))
camelia rakudo-moar d69f37: OUTPUT«This type cannot unbox to a native string: P6opaque, Int␤ in block <unit> at <tmp> line 1␤␤»
samcv it's trying to unbox 7 to a string 05:17
but the op wants an integer
it worked fine when i first introduced the op
TEttinger teh earlier ones said cannot unbox to integer
and the last one to strig
samcv m: use nqp; my $c = 7; my $a = 'a'; my $b = 'B'; say(nqp::unicmp_s($a, $b, 7,0,0,0))
camelia rakudo-moar d69f37: OUTPUT«This type cannot unbox to a native integer: P6opaque, Str␤ in block <unit> at <tmp> line 1␤␤»
samcv m: use nqp; my int $c = 7; my $a = 'a'; my $b = 'B'; say(nqp::unicmp_s($a, $b, 7,0,0,0)) 05:18
camelia rakudo-moar d69f37: OUTPUT«This type cannot unbox to a native integer: P6opaque, Str␤ in block <unit> at <tmp> line 1␤␤»
samcv m: use nqp; my int $c = 7; my str $a = 'a'; my str $b = 'B'; say(nqp::unicmp_s($a, $b, 7,0,0,0))
camelia rakudo-moar d69f37: OUTPUT«This type cannot unbox to a native string: P6opaque, Int␤ in block <unit> at <tmp> line 1␤␤»
TEttinger it produced the output 1 when all the vars had types
samcv m: use nqp; my int $c = 7; my str $a = 'a'; my str $b = 'B'; say(nqp::unicmp_s($a, $b, $c,0,0,0))
camelia rakudo-moar d69f37: OUTPUT«1␤»
samcv m: use nqp; my $c = 7; my str $a = 'a'; my str $b = 'B'; say(nqp::unicmp_s($a, $b, $c,0,0,0))
camelia rakudo-moar d69f37: OUTPUT«This type cannot unbox to a native string: P6opaque, Int␤ in block <unit> at <tmp> line 1␤␤»
samcv m: use nqp; my int $c = 7; my $a = 'a'; my str $b = 'B'; say(nqp::unicmp_s($a, $b, $c,0,0,0))
camelia rakudo-moar d69f37: OUTPUT«This type cannot unbox to a native integer: P6opaque, Str␤ in block <unit> at <tmp> line 1␤␤»
samcv yeah
TEttinger is the issue that you don't have a certain type for what's calleed $c here? 05:19
samcv the problem is MVM is trying to convert to the wrong type 05:21
it should be automatic
at least for static numbers
TEttinger hm. is there more than one nqp::unicmp_s function?
samcv no 05:22
it tries to unbox the integers to strings, and tries to unbox the strings to integers 05:24
that is the issue
05:25 xtreak left 05:27 xtreak joined 05:30 geekosaur left 05:32 geekosaur joined 05:37 BenGoldberg left 05:38 KDr2 left, zacts left, BenGoldberg joined 05:56 BenGoldberg left 06:02 azertus left 06:16 zacts joined 06:26 Sgeo_ left 06:33 alphah joined 06:35 mr_ron left, hartenfels1 joined 06:37 hartenfels left, hartenfels1 is now known as hartenfels 06:38 alphah left 06:39 agentzh left 06:40 DarthGandalf joined 06:43 eroux joined 06:44 CIAvash joined 06:45 eroux left 06:48 eroux joined 06:50 RabidGravy joined 06:53 domidumont joined 06:54 azertus joined 06:59 domidumont left, domidumont joined 07:12 xtreak left 07:13 bwisti left 07:15 xtreak joined, Entonian joined 07:17 darutoko joined 07:19 Entonian left 07:21 rurban joined, rurban left 07:28 mr_ron joined 07:29 wamba joined 07:35 aborazmeh left 07:50 TEttinger left 07:52 sena_kun joined 07:55 mr_ron left 08:00 cibs left 08:02 cibs joined
sena_kun m: multi f(:$named) { note &?ROUTINE.signature }; multi f(:$also-named) { note &?ROUTINE.signature }; for 'named', 'also-named' -> $n { f(|($n => rand)) }; 08:22
camelia rakudo-moar 951a44: OUTPUT«(:$named)␤(:$also-named)␤»
08:27 cibs left, mr_ron joined 08:29 cibs joined 08:35 eroux is now known as eroux[away] 08:40 kalkin- left 08:41 abraxxa left 08:44 CIAvash left
sena_kun m: sub f(:$also-named) { note &?ROUTINE.signature }; my %pairs = also-named => 4; f |%pairs; 08:45
camelia rakudo-moar 951a44: OUTPUT«(:$also-named)␤»
Geth doc: bac11b6605 | Altai-man++ | doc/Type/UInt.pod6
Clarification of output style, correct output, deletion of :skip-code declaration
08:46
doc: 877fe8e1cf | Altai-man++ | doc/Type/Signature.pod6
Correct example to match output
08:48 abraxxa joined 08:49 zakharyas joined, abraxxa left 08:50 abraxxa joined 08:52 g4 joined, g4 left, g4 joined 08:59 abraxxa left 09:00 cschwenz joined, abraxxa joined, cschwenz left 09:02 jonas3 joined 09:16 dakkar joined 09:24 ufobat joined 09:27 dugword left
moritz \o/ brokenchicken's grant request has been granted: news.perlfoundation.org/2017/01/jan...votes.html 09:28
09:28 xtreak left 09:33 mr_ron left 09:36 domidumont left 09:38 domidumont joined
samcv brokenchicken++ 09:38
Geth doc: f5d74e5967 | (Wenzel P. P. Peppmeyer)++ | doc/Language/operators.pod6
explain how to disambiguate meta ops
09:39
gfldex .then: { brokenchicken++ } 09:40
I think we have a problem here. When his work is done his name will have changed again, so we cant attribute karma. :( 09:41
bartolin \o/ Zoffix++
sena_kun gfldex, do we actually count karma here? 09:42
gfldex no but moritz (i believe) got all the logs, so we could if we wanted to 09:43
samcv well i have made the processing of the biggest unicode data file 50% faster, so that's good. still is wayyy slow
09:44 wamba left
gfldex sena_kun: besides, the graph section on github is a good substitute 09:44
m: my $i₂ = 2; 09:46
camelia rakudo-moar 951a44: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Bogus postfix␤at <tmp>:1␤------> 3my $i7⏏5₂ = 2;␤ expecting any of:␤ constraint␤ infix␤ infix stopper␤ postfix␤ statement end␤ statement…»
sena_kun gfldex, by the way, what do you think about Language/ section examples? I started to dig into it, but we need to exclude more than actual check. 09:47
gfldex i did some of them already and if we can we should have them completely covered 09:48
sena_kun gfldex, hmm, okay, I'll continue it. Do you have time and enough passion to look on the third clause of github.com/perl6/doc/issues/776#is...274376637? It looks like extract-examples.p6 with preserving of output state, cheking of exit code and comparsions. 09:51
s/cheking/checking 09:52
gfldex sena_kun: # OUTPUT: «3␤» is very easy to parse, so if we (or anybody else who makes pdfs) changes his mind about rendering, can take them apart and show them as it pleases 09:54
09:56 eiro joined
eiro hello 09:56
gfldex we could even do that via javascript on demand
moritz \o eiro
sena_kun gfldex, we don't do pdfs now. I tried to do one with wkhtmltopdf(by moritz advice iirc) and bigpage output, but the result was horrible.
gfldex or CSS for that matter
09:57 rba_ left
gfldex bigpage was kind of a prototype for Pod::To::LaTeX but I refuse to implement that until jnthn fixed the bug that makes bigpage act up with more then 1 worker-thread 09:57
sena_kun gfldex, my concern is not a pretty look, but checking of correctness of comments. 09:58
gfldex LaTeX fiddeling needs loads of testing and I am not going to wait 3 minutes for each run
so you want to compare output?
i'm not sure if that's a good idea because we do have truncated quite a few outputs already 09:59
and there a quite a few lies-for-children too
10:01 rindolf joined
gfldex the reason why I started to check the examples was that many of them predated GLR, once we got them all checked we will be good and can put the issue at rest 10:01
being able to compile all examples once in a while is a nice bonus ofc 10:02
sena_kun gfldex, otherwise the examples will rot. After a half of year I've returned and fixed a bucket(not TOO MUCH, but maybe 5 or something files) of errors. Almost nobody checks it with `extract-examples`.
Though I don't know is it a serious problem or not. 10:03
gfldex when they all compile we can have a xt/extract-examples.t
so it becomes a problem of [Coke] :->
sena_kun If not, I'll cover Language/, make a single style of the output in Language/, then we need to update CONTRIBUTION and close the issue. 10:04
Yes, I thought exactly about some kind of xt/extract-examples.t. To check exit codes or something. Rakudo returns non-zero if compilation fails, yes? 10:05
10:05 ufobat left
gfldex yes 10:05
sena_kun Such a test even I will be able to write. Thanks. \0/ 10:07
samcv bisectable6, help 10:14
bisectable6 samcv, Like this: bisectable6: old=2015.12 new=HEAD exit 1 if (^∞).grep({ last })[5] // 0 == 4 # RT128181
synopsebot6 Link: rt.perl.org/rt3//Public/Bug/Displa...?id=128181
samcv bisectable6, use nqp; say(nqp::unicmp_s('a', 'B', 7, 0, 0,0))
bisectable6 samcv, Bisecting by output (old=2015.12 new=951a441) because on both starting points the exit code is 1
samcv, bisect log: gist.github.com/9bcaf3ce98bc15f5b5...ea2588c4af
samcv, (2016-12-30) github.com/rakudo/rakudo/commit/33...09dfce953e
samcv bisectable6, old=3383361189bcd3a03c6b085746eb1109dfce953e use nqp; say(nqp::unicmp_s('a', 'B', 7, 0, 0,0)) 10:15
bisectable6 samcv, On both starting points (old=3383361 new=951a441) the exit code is 1 and the output is identical as well
samcv, Output on both points: This type cannot unbox to a native integer: P6opaque, Str␤ in block <unit> at /tmp/1RCbjECy_u line 1␤
samcv bisectable6, old=3383361189bcd3a03c6b085746eb1109dfce953e new=HEAD use nqp; say(nqp::unicmp_s('a', 'B', 7, 0, 0,0)) 10:16
bisectable6 samcv, On both starting points (old=3383361 new=951a441) the exit code is 1 and the output is identical as well
samcv, Output on both points: This type cannot unbox to a native integer: P6opaque, Str␤ in block <unit> at /tmp/jUBc1ddQ2z line 1␤
10:17 espadrine_ joined 10:24 bjz joined 10:25 cibs left 10:27 cibs joined 10:29 xtreak joined 10:32 astj_ joined, astj left 10:33 labster left, xtreak left 10:34 xtreak joined 10:35 agentzh joined 10:39 agentzh left 10:41 travis-ci joined
travis-ci Doc build passed. Zoffix Znet 'Minor clarifications for S/// / s/// 10:41
travis-ci.org/perl6/doc/builds/196998464 github.com/perl6/doc/compare/df9d1...cfdd8e8a76
10:41 travis-ci left 10:48 bjz left, TBSliver joined 10:53 espadrine_ left 10:54 rurban joined, rurban left 10:58 domidumont left
brokenchicken w00t! I should start cracking. 11:02
I don't get what "Voting Results Title: Test2 Manual" is about. copy/pasta 11:03
samcv: have you heard back about your grant?
samcv no word back since the last time we spoke about it 11:04
brokenchicken :(
samcv seems like i may have to wait until march :( 11:05
brokenchicken Sorry. 11:06
samcv it is what it is. glad to hear yours got approved 11:08
11:09 skids joined 11:16 parv joined 11:17 bjz joined 11:21 eroux[away] is now known as eroux 11:22 bjz left 11:23 bjz_ joined, g4 left, g4 joined 11:33 travis-ci joined
travis-ci Doc build passed. Wenzel P. P. Peppmeyer 'doc interpolation of colon pairs in identifiers' 11:34
travis-ci.org/perl6/doc/builds/197105183 github.com/perl6/doc/compare/06b07...5373899156
11:34 travis-ci left
brokenchicken hehe, gitlab accidentally wiped 300GB of production data: twitter.com/gitlabstatus/status/82...1444384768 11:35
And developers all around the world are now reminded to check their backup solutions are working :P 11:36
brokenchicken recentlky accidentally nuked ~1000 bytes of production data himself 11:37
11:38 mscha left 11:45 notbenh left 11:46 notbenh joined
brokenchicken Someone was asking about early access ebook for Think Perl 6. The author just posted an updated on that: www.reddit.com/r/perl6/comments/5r...nk_perl_6/ 11:48
DrForr recently backed up all his GH repos, not even in a response to an issue :) 11:57
yoleaux 04:57Z <samcv> DrForr: will this be able to be merged? Readline 7 has been out for a while github.com/drforr/perl6-readline/p...-276507278
DrForr samcv: Done this morning.
samcv nice :) 11:58
11:58 milesrout left
DrForr I need to get some more done on that, but I say that about most projects :) 11:58
El_Che brokenchicken: sadly, not yet in the safari bookshelf (just checked) 12:00
DrForr Reminds me, I need to get my free Safari membership straightened out. 12:04
12:05 xtreak left 12:06 eroux left 12:17 wamba joined 12:28 rurban1 joined, domidumont joined 12:32 parv left 12:37 luiz_lha joined 12:38 luiz_lha is now known as Guest8003 12:39 Guest8003 is now known as luiz_lha 12:40 cyphase left 12:43 cyphase_eviltwin joined 12:51 bjz joined, bjz_ left 12:54 pmurias joined 12:58 imcsk8_ joined, imcsk8 left, espadrine joined 12:59 eroux joined 13:00 pyrimidi_ joined, pyrimidine left, imcsk8_ left 13:01 dogbert17_ joined, geekosaur left 13:03 imcsk8 joined, geekosaur joined 13:04 kst` left, eroux left 13:05 eroux joined, jcallen joined, eythian joined 13:07 freeze joined 13:08 kst` joined 13:09 awwaiid left 13:11 awwaiid joined 13:12 pmurias left, pmurias joined 13:14 ChoHag left 13:15 bitmap joined 13:17 ChoHag joined 13:20 kybr left, kybr joined 13:26 pyrimidine joined 13:29 pyrimidi_ left 13:30 rindolf left 13:34 kyan left 13:35 perlpilot left 13:36 perlpilot joined 13:46 KDr2 joined 13:47 ggoebel left 14:00 mr_ron joined, ggoebel joined 14:02 domidumont left 14:03 cdg joined 14:05 domidumont joined 14:11 g4 left 14:21 kurahaupo joined 14:26 kurahaupo__ joined 14:34 kurahaupo_ joined 14:37 agentzh joined 14:39 kurahaupo_ left, kurahaupo left, <