»ö« 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.
notviki AlexDaniel: about what? 00:00
dudz: you can DM him
AlexDaniel notviki: about the arrows :)
notviki AlexDaniel: no opinion.
dudz ok thanks notviki 00:01
loveperl How to read excel file with perl? 01:24
loveperl How to read excel file with perl? 01:31
loverperl Read excel file with perl6 01:35
?
loveperl How to read an excel file with perl6? 01:39
How to read an excel file with perl6? 01:42
AlexDaniel loveperl: github.com/spebern/Parser-FreeXL-Native probably? 01:43
loveperl how install library? 01:45
AlexDaniel huggable: zef 01:48
huggable AlexDaniel, nothing found
AlexDaniel huggable: panda 01:49
huggable AlexDaniel, nothing found
AlexDaniel alright, well
timotimo huggable: install
huggable timotimo, nothing found
timotimo huggable: module
huggable timotimo, nothing found
timotimo huggable: ecosystem
huggable timotimo, nothing found
timotimo huggable: huggable
huggable timotimo, See github.com/zoffixznet/huggable
AlexDaniel loveperl: well, you either use zeff or panda
loveperl: if you are using rakudo star, then I guess you already have one of those?
so it should be 「zef install Parser::FreeXL::Native
or panda install Parser::FreeXL::Native 01:50
loveperl ok tankyou 01:50
MasterDuke timotimo, notviki: either of you guys mind reviewing (and hopefully merging) github.com/rakudo/rakudo/pull/960 ? thanks 01:59
BenGoldberg Is nqp::stmts the same as LISP's progn? 02:01
MasterDuke believe so 02:04
dduncan Anyone know on what day Rakudo Star Release 2016.12 will come out? 03:09
dalek line-Perl5: 838d86e | ugexe++ | Build.pm:
Remove Panda::Builder and Shell::Command deps
07:30
line-Perl5: 5781f8c | niner++ | Build.pm:
Merge pull request #84 from ugexe/patch-1

Remove Panda::Builder and Shell::Command deps
stmuk_ dduncan: It's released about every 3 months and was released last month so next release is next yea 07:58
r
andrzeju_ hello perl! 08:45
samcv hello! 08:49
DrForr o/ 08:53
andrzeju hi people 11:00
DrForr Afternoon. 11:01
andrzejku do you know something about Perl in automotive? 11:02
DrForr I've written Perl in cars, yes... 11:03
andrzejku DrForr, ohh really 11:04
samcv On a plane is good too.
andrzejku DrForr, what exactly do you code?
samcv also, good night everybody. see you later 11:04
DrForr A plane too, though nowadays seat pitch is making it harder and harder to do that. 11:05
andrzejku xd
DrForr andrzejku: Well, at the moment finishing up Perl6::Parser when I stop sleeping on New York time while in Romania. 11:06
notviki stmuk_: but someone told me you were going to be releasing it every month from now on :/ 11:14
FWIW, I wish we had the same solid, predictable plan for R* releases as for the compiler. i.e. every X-day people can expect an R* release. 11:15
It's the only user-facing release we have and when ever the core devs are confused about when the next release is gonna happen it just makes us look like we ain't got a clue
notviki And if it's volunteer time that's at issue here, make Zoffix cut the release. 11:16
DrForr Or make the release process simple enough that we can rotate it, as perl5 is doing. 11:17
notviki
.oO( make it automated.... )
11:18
DrForr Did I say that? :)
notviki MasterDuke: I don't wanna merge something I don't understand and that looks like dense NQP code. I'll leave the browser tab open and hopefully will take a look when I get home, unless someone else does. 11:20
notviki m: use nqp; dd nqp::defined(Failure.new) 11:28
camelia rakudo-moar b8df3a: OUTPUT«1␤»
notviki m: use nqp; dd Failure.new // 'differ'
camelia rakudo-moar b8df3a: OUTPUT«"differ"␤»
notviki MasterDuke: ^ looks like nqp::defined is not a direct replacement for // ? Can $!handle.get return a Failure? 11:29
lizmat notviki: that's because Failure.defined is special 11:29
it disables the Failure and makes it disappear by pretending it wasn't defined
nqp::defined is not so subtle 11:30
notviki MasterDuke: aslo, in the previous version, $limit could be any numeric, but now it'll be silently ignored unless it's an Int. I think we could stick an Int() coercer in the sig
notviki lizmat: yeah, I think we have similar thing on Junctions 11:32
m: sub (Int()) {}(*) 11:33
camelia rakudo-moar b8df3a: OUTPUT«No such method 'Int' for invocant of type 'Whatever'␤ in sub at <tmp> line 1␤ in block <unit> at <tmp> line 1␤␤»
notviki MasterDuke: oh, I guess we can't just stick a coercer on $limit 'cause it could be Whatever
notviki m: $*ARGFILES.lines(2.1+0i).say 11:47
camelia rakudo-moar b8df3a: OUTPUT«(»Wann treffen wir drei wieder zusamm?« »Um die siebente Stund‘, am Brückendamm.« »Am Mittelpfeiler.«)␤»
jnthn
.oO( That German is too complex for me... :) )
11:49
yoleaux 20 Dec 2016 23:17Z <AlexDaniel> jnthn: 「$proc.start(scheduler => ThreadPoolScheduler.new);」 seems to work. What's going to happen if I create a new scheduler for every Proc::Async (just like in the example)?
jnthn .tell AlexDaniel You'll over time end up with hundreds or thousands of threads sat doing nothing. :-) Create one ThreadPoolScheduler to share among your Proc::Async instances. :) 11:50
yoleaux jnthn: I'll pass your message to AlexDaniel.
arnsholt jnthn: Pretty sure it's Macbeth. I think the first phrase has to be "We will three meet again?" 12:36
*When
andreoss m: my $x = class { method foõ {} }.nee ; say 1; $x.foo 12:38
camelia rakudo-moar a16fac: OUTPUT«No such method 'nee' for invocant of type '<anon|66263680>'␤ in block <unit> at <tmp> line 1␤␤»
andreoss m: my $x = class { method foõ {} }.new ; say 1; $x.foo 12:39
camelia rakudo-moar a16fac: OUTPUT«1␤No such method 'foo' for invocant of type '<anon|58157696>'␤ in block <unit> at <tmp> line 1␤␤»
andreoss can it fail at compile time instead?
arnsholt Given a sufficiently clever compiler, I guess 12:40
But that's a kind of error detection where there will always be holes
kaare_ "When the battle's lost and won"
(sorry) 12:41
andreoss also why it doesn't sugest .foo?
arnsholt: so theoretically in a different perl6 compiler? 12:42
jnthn I expect we'll implement suggesting method names in Rakudo at some point. 12:43
The sub/method distinction is an early-bound/late-bound distinction. 12:44
andreoss can i have a some kind of strict methods which are always checked at compilation? 12:45
jnthn Maybe with a module
But late binding is part of the original definition of OO
If you want early binding, don't do OO. 12:46
(Somebody will surely some day implement an OO::LikeIt'sJavaAllOverAgain some day though. :) 12:47
s:2nd/some day// 12:48
Given method dispatch is itself overridable, and we've got things like FALLBACK, though, it's not going to be so simple. 12:49
rjbs Best place to report typos in p6advent? 12:58
jnthn rjbs: Many of the authors are on this channel, otherwise can leave a comment. 13:01
(on the post itself) 13:02
notviki Looks like it's That Time Of The Year.... Time to make a celebratory New Years Bot \o/ 13:13
♫ It's the moooost wonderfuuul tiiiime of theeee yeaaarr ♫ ♫ 13:15
ufobat BTW does FALLBACK in actions of grammars work, too? 14:05
or is there something special
jnthn Should work fine
Oh...actually 14:06
I think it has some interesting effects on .can
ufobat what is .can? what do you mean?
jnthn Since a method with FALLBACK can do anything
.can is how we check if an object can perform a certain method
I don't think you'll get any surprises though, tbh 14:07
notviki m: DateTime.now.later(:hours(2.75)).say 14:08
camelia rakudo-moar a16fac: OUTPUT«2016-12-21T17:08:17.539916+01:00␤»
notviki m: DateTime.now.later(:hours(2)).say
camelia rakudo-moar a16fac: OUTPUT«2016-12-21T17:08:23.044448+01:00␤»
notviki That sucks.
I was gonna use it, expecting it to work, or least loudly complain :/
moritz : DateTime.now.later(:hour(2)).say 14:10
m: DateTime.now.later(:hour(2)).say
camelia rakudo-moar a16fac: OUTPUT«2016-12-21T17:10:49.337966+01:00␤»
moritz m: DateTime.now 14:11
camelia ( no output )
moritz m: say DateTime.now
camelia rakudo-moar a16fac: OUTPUT«2016-12-21T15:11:11.710861+01:00␤»
ufobat thanks jnthn :D i'll try it out :D
timotimo samcv: are you awake? i pointed out something on your json_fast pullrequest 15:06
notviki m: dd 1.roll(-Inf)[^10] 15:17
camelia rakudo-moar a16fac: OUTPUT«This type cannot unbox to a native integer: P6opaque, Failure␤ in block <unit> at <tmp> line 1␤␤»
notviki m: dd 1.roll(NaN)[^10]
camelia rakudo-moar a16fac: OUTPUT«This type cannot unbox to a native integer: P6opaque, Failure␤ in block <unit> at <tmp> line 1␤␤»
notviki m: dd 1.pick(Inf)[^10] 15:18
camelia rakudo-moar a16fac: OUTPUT«(1, Nil, Nil, Nil, Nil, Nil, Nil, Nil, Nil, Nil)␤»
notviki m: dd 1.pick(-Inf)[^10]
camelia rakudo-moar a16fac: OUTPUT«Cannot coerce -Inf to an Int␤ in block <unit> at <tmp> line 1␤␤Actually thrown at:␤ in block <unit> at <tmp> line 1␤␤»
timotimo eep %)
notviki
.oO( consistent inconsistency... )
notviki m: DateTime.now.later(:2hours, :5minutes).say 15:30
camelia rakudo-moar a16fac: OUTPUT«More than one time unit supplied␤ in block <unit> at <tmp> line 1␤␤»
notviki
.oO( so what? )
jnthn So it's ambiguous (given named args don't have order) 15:33
I forget the specifics, but remember it was intentionally this way :)
notviki jnthn: I don't see the ambiguity.
notviki I'm not providing any seconds, so there's no ambig there. 15:34
jnthn DST perhaps?
I know when it's about days/months then it can get very confusing too
notviki Ah, OK, yeah
holli a very pleasant localtime good sirs and lady
jnthn I suspect there's some discussion in backlog or commit message :)
perlpilot_ makes a note to look for said discussion 15:36
notviki holli: good localtime, sandwich
perlpilot_ If you always apply the time units in order from biggest to smallest, I don't think there's an ambiguity. 15:37
notviki perlpilot_: well, yeah, if you declare order to this
holli only my friends call me that. are you my friend?
notviki holli: no, I don't like having friends. 15:38
perlpilot_ notviki: then that's how it should be implemented! :-)
holli is sad
notviki perlpilot_: agreed! From smallest to largest unit!
^_^ 15:39
holli: and since we aren't friends, I don't have to care. See? My method works ;)
holli but caring equals love and everybody needs someone to love 15:41
notviki holli: that's where the bots come in. I love my bots 15:42
perlpilot_ notviki: that implementation needs a little love anyway I think ...
m: say DateTime.now.later( :2days, :earlier); # weird
camelia rakudo-moar a16fac: OUTPUT«2016-12-19T16:42:45.163504+01:00␤»
notviki 0.o
timotimo m: say DateTime.now.later(:1337lol) 15:43
camelia rakudo-moar a16fac: OUTPUT«Cannnot use unit lol with Date.delta␤ in block <unit> at <tmp> line 1␤␤»
notviki Oh, speaking of which, I just spotted the spectest for Str.lines tests for :$eager parameter even though we ain't got one
timotimo aha!
that's gotta go
i don't think it was ever meant to be spectested at all
timotimo AFK
notviki m: say DateTime.now.later( :2days, :0earlier); 15:45
camelia rakudo-moar a16fac: OUTPUT«2016-12-23T16:45:05.352899+01:00␤»
notviki m: say DateTime.now.later( :days(-2), :earlier);
camelia rakudo-moar a16fac: OUTPUT«2016-12-23T16:45:25.346807+01:00␤»
notviki ^_^
perlpilot_ indeed
notviki ugh 15:56
notviki m: my %time; %time = :month("December"), :month-day("21"), :time("10:56 AM"), :year("2016"); my %months = <DUMMY January February March April May June July August September October November December>.antipairs; my ($hour, $minute) = %time<time>.match(/(\d+) ':' (\d+)/).caps».value».Int; %time<DateTime> = DateTime.new: :year(%time<year>), :month(%months{ %time<month> }), :day(%time<month-day>), :$hour, 15:59
camelia ( no output )
notviki $minute; say %time<DateTime>
ZoffixW m: my %time; %time = :month("December"), :month-day("21"), :time("10:56 AM"), :year("2016"); my %months = <DUMMY January February March April May June July August September October November December>.antipairs; my ($hour, $minute) = %time<time>.match(/(\d+) ':' (\d+)/).caps».value».Int; %time<DateTime> = DateTime.new: :year(%time<year>), :month(%months{ %time<month> }), :day(%time<month-day>), :$hour, $minute; say %time<DateTime> 15:59
camelia rakudo-moar a16fac: OUTPUT«1970-01-01T00:00:56Z␤»
ZoffixW Challenge: spot where the bug is (as in, why is the date 1970 and not 2016)
notviki :) 16:00
notviki knows it
But it took awhile to find
notviki Give up? :) 16:03
It's the damn missing ':' on :$minute
notviki And the whole things gets interpreted via a different .new multi where $minute gets interpreted as POSIX time and the rest is ignored 16:03
moritz is now on holiday until 2017-01-08 o/ 16:34
notviki You work as a teacher?
timotimo fantastic! 16:36
moritz notviki: nope, but 30 days of vacation is standard in Germany 16:39
notviki :o
notviki moves to Germany
tony-o mich auch 16:40
notviki has 20 business days of vacation.
moritz notviki: plus a few holidays, like 12-{24,25,26,30}, 01-{01,06}
notviki And I had to work for 10 years to get that many!
moritz though 12-24 and 12-31 are only half holidays, TBH 16:40
notviki: we could sure use a competent programmer or devops person :-) 16:41
tony-o to the vaterland with you
notviki And quit my cushy designer job where I barely do any work, pfft. pass :)
notviki actually hopes to quit it in 2017 :o 16:42
jdmmmmm I've been using p6 to run one-liners through muliple lines of input -- e.g. perl6 -n -e '("foo: " ~ $_).say' -- however, I cannot seem to be able to interpolate with "$_". This will fail: perl6 -n -e '"{foo: {$_}".say'. Any better way to do this? 16:49
correction: perl6 -n -e '"foo: {$_}".say' 16:50
notviki jdmmmmm: I see syntax errors in the first two lines.... 16:52
jdmmmmm: you interpolate it in one liners same way you'd interpolate it normal code;
m: say "Woo, it's a $_" with "something"
camelia rakudo-moar 9eed27: OUTPUT«Woo, it's a something␤»
notviki Well, on the middle line.
jdmmmmm: what's the failure? 16:53
timotimo maybe { } gets its own $_ :P
m: say "woo it's a {$_}" with "something"
camelia rakudo-moar 9eed27: OUTPUT«woo it's a something␤»
timotimo nope, it should work
notviki Well, the "this will fail" line above has an unclosed block... so... 16:54
and a fun error: "Cannot find method 'has_compile_time_value' on object of type NQPMu"
tony-o i'd imagine that first curly is a mistake 16:55
notviki m: say "{foo:{$_}".say
camelia rakudo-moar 9eed27: OUTPUT«===SORRY!===␤Cannot find method 'has_compile_time_value' on object of type NQPMu␤»
tony-o otherwise, even after it's enclosed ..
notviki m: "{foo:{$_}".say
camelia rakudo-moar 9eed27: OUTPUT«===SORRY!===␤Cannot find method 'has_compile_time_value' on object of type NQPMu␤»
notviki m: "{foo:{$_}"
camelia rakudo-moar 9eed27: OUTPUT«===SORRY!===␤Cannot find method 'has_compile_time_value' on object of type NQPMu␤»
notviki m: "{foo:"
camelia rakudo-moar 9eed27: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Confused␤at <tmp>:1␤------> 3"{foo:7⏏5"␤ expecting any of:␤ colon pair␤»
tony-o m: "{foo:{$_}}".say;
camelia rakudo-moar 9eed27: OUTPUT«===SORRY!===␤Cannot find method 'has_compile_time_value' on object of type NQPMu␤»
tony-o ^
geekosaur lta, at least 16:56
tony-o m: "foo: {$_}".say;
camelia rakudo-moar 9eed27: OUTPUT«Use of uninitialized value $_ of type Any in string context.␤Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful.␤ in block <unit> at <tmp> line 1␤foo: ␤»
notviki m: "{x:{}}"
camelia rakudo-moar 9eed27: OUTPUT«===SORRY!===␤Cannot find method 'has_compile_time_value' on object of type NQPMu␤»
notviki m: x:{} 16:57
camelia rakudo-moar 9eed27: OUTPUT«===SORRY!===␤Cannot find method 'has_compile_time_value' on object of type NQPMu␤»
tony-o m: x: {}
camelia ( no output )
tony-o m: x:{foo} 16:58
camelia rakudo-moar 9eed27: OUTPUT«===SORRY!===␤Cannot find method 'has_compile_time_value' on object of type NQPMu␤»
notviki ticketed: rt.perl.org/Ticket/Display.html?id=130382
tony-o jdmmmmm: you do have an unenclosed block, like notviki said, and from the other example you have, it looks like the first curly isn't wanted. the second is also not necessary
m: "foo: $_".say with "something"; 16:59
camelia rakudo-moar 9eed27: OUTPUT«foo: something␤»
notviki Hm
notviki say "{$_}" is actually broken in -n 16:59
jdmmmmm: just use the variable as-as without any curlies. The {$_} is a bug and I'll report it 17:00
m: "foo: {$_}".say with "something"; 17:01
camelia rakudo-moar 9eed27: OUTPUT«foo: something␤»
notviki m: -> --> Nil { "foo: {$_}".say }("something") 17:02
camelia rakudo-moar 9eed27: OUTPUT«Too many positionals passed; expected 0 arguments but got 1␤ in block <unit> at <tmp> line 1␤␤»
notviki m: -> $_ --> Nil { "foo: {$_}".say }("something")
camelia rakudo-moar 9eed27: OUTPUT«Use of Nil in string context␤ in block at <tmp> line 1␤foo: ␤»
notviki m: -> $_ --> Any { "foo: {$_}".say }("something") 17:03
camelia rakudo-moar 9eed27: OUTPUT«foo: something␤»
notviki Rakudobugged the -n issue: rt.perl.org/Ticket/Display.html?id=130383
MasterDuke: ^ wonder if your PR fixes it
:/ 17:05
notviki is unplesantly surprised to find `dd` is documented 17:06
[ptc]: ! 17:07
No cookie for you
dalek c: eefd082 | (Zoffix Znet)++ | doc/Type/IO.pod6:
Remove `dd` from role IO

It's a Rakudo-specific helper sub and non-standard Perl6 (so not spectested)
17:13
synopsebot6 Link: doc.perl6.org/type/IO
notviki u: non-break space 17:15
unicodable6 notviki, Found nothing!
notviki u: non-breaking space
unicodable6 notviki, Found nothing!
notviki you suck, robot!
m: "\x[A0]".uniname.say
camelia rakudo-moar 9eed27: OUTPUT«NO-BREAK SPACE␤»
dalek c: 46a2797 | (Zoffix Znet)++ | doc/Programs/01-debugging.pod6:
Document `dd` in `Programs/01-debugging`

It's a non-standard, Rakudo-only feature, but it's useful enough that users should know about it, despite it not being in the roast.
17:17
notviki samcv: is doc/1061 ready to merge? Do we need to install anything on the server with the doc build? I see "you need node for this" comment... On the server npm -v gives 2.15.1; is that sufficient? Do we need anything else? 17:31
.ask samcv is doc/1061 ready to merge? Do we need to install anything on the server with the doc build? I see "you need node for this" comment... On the server npm -v gives 2.15.1; is that sufficient? Do we need anything else? 17:32
yoleaux notviki: I'll pass your message to samcv.
notviki .botsnack
yoleaux :D
synopsebot6 om nom nom
notviki synopsebot6: rude!
notviki I guess we also need *!~synopsebo@2001:780:101:ff00::2:9 in the +V thing 17:33
lucasb m: .:: 17:35
camelia rakudo-moar 9eed27: OUTPUT«===SORRY!===␤MVMArray: Can't pop from an empty array␤»
lucasb m: .::(1)
camelia rakudo-moar 9eed27: OUTPUT«===SORRY!===␤cannot stringify this␤»
notviki There's a ticket for that...
lucasb :D
notviki And it's in the grammar for cases that looks for .Foo::bar method calls
notviki s/for cases/in tocket/; 17:36
lucasb notviki: I noticed you submitted a bug for x:{}
notviki lucasb: yup
lucasb made me remind of these 2 bugs... 17:37
notviki Ah
lucasb I put them on the same category of "strange syntax yields internal errors"
notviki "The program 'perl6' is currently not installed. You can install it by typing: 17:38
sudo apt-get install rakudo"
Guess what version I'd get if I actually did run that :)
i.imgur.com/XTkuAIR.png 17:39
saki uyhh 17:40
notviki ^_^
saki ubuntu14 has 2013.12-1, so you must be on ubuntu12 or something heh 17:41
mst notviki: lemme guess, umbongo? 17:42
notviki Ubuntu 12.04 LTS
mst ah lol
so basically unmaintained crap at this point
notviki Yup
mst since LTS means "we'll lose interest after a year or two"
notviki :) 17:43
mst as opposed to "there's another release in six months, we already lost interest"
occasionally I feel like the world would be improved if somebody spiked the ubuntu HQ coffee pot with ADHD meds
saki mst, canonical needs you ;) 17:45
lucasb m: class C { has $.a::b::c = 42 }; say C.new.'a::b::c'() 17:46
camelia rakudo-moar 9eed27: OUTPUT«42␤»
lucasb in P6, to convert to another object, you define a method named '.TheOtherClass' 17:47
it's a core convention :)
but it doesn't work quite so well for nested names like, A::B::C 17:48
would you name the method '.C'?
IMO, the 'has $.a::b::c' is a bug
a fully qualified var name like that should be invalid as a attr name
mst saki: I don't even use linux on the desktop, I don't think I'm qualified to work on a desktop OS 17:49
notviki m: class C { has $.a::b::c = 42 }; say C.new.a::b::c 17:51
camelia rakudo-moar 9eed27: OUTPUT«Cannot dispatch to method c on Failure because it is not inherited or done by C␤ in block <unit> at <tmp> line 1␤␤»
lucasb m: @a::b = 10; %a::b = 20; say (@a::b, %a::b) # don't enforce positional and associative constraints
camelia rakudo-moar 9eed27: OUTPUT«(10 20)␤»
notviki renames lucasb to AlexDaniel2 17:52
lucasb anyway, I think this subject of fully qualified names and variables needs some loving
lucasb ah, Alex is not here now :) 17:52
notviki m: @z::b = 10; say GLOBALish::.keys 17:53
camelia rakudo-moar 9eed27: OUTPUT«(z)␤»
loveperl How to read an excel file? 17:59
tony-o loveperl: check out freexl
lucasb
.oO( /me usually starts at the first row )
tony-o loveperl: github.com/spebern/Parser-FreeXL-Native 18:00
shadowpaste "loveperl" at 217.168.150.38 pasted "error" (5 lines) at fpaste.scsys.co.uk/540318
notviki 0.o
loveperl I get this error 18:01
fpaste.scsys.co.uk/540318?tx=on&...rmat+it%21
notviki There's also Spreadsheet::DataFromExcel:from<Perl5>
loveperl: you need to install the C lib. What OS are you on? aptitude search libfreexl
(sudo apt-get install libfreexl1; on my box) 18:02
loveperl linux
notviki heh, there are many linuxes :}
loveperl yeah :D 18:03
tony-o if you're on some debian flavor ^ that aptitude command should work
loveperl I still have the same error
notviki m: say $*VM.config<dll> 18:05
tailgate How can I capture all strings between [ ] in a string with a regex?
camelia rakudo-moar 9eed27: OUTPUT«lib%s.so␤»
lucasb Parser::FreeXL::Native hard codes the lib path? github.com/spebern/Parser-FreeXL-N...ive.pm6#L5
notviki tailgate: what's a "string"?
tailgate like foo[bar][baz] I want to get bar and baz 18:06
tony-o is there ever going to be an escaped [ or ] ?
lucasb maybe / '[' (.*?) ']' /
notviki m: "foo[bar][baz]".comb(/'[' <( <-[[]>+ )> ']'/).say 18:07
camelia rakudo-moar 9eed27: OUTPUT«(bar baz)␤»
lucasb what <(...)> does again? :)
notviki capture marker 18:08
tailgate thanks
shadowpaste "loveperl" at 217.168.150.38 pasted "codigo" (24 lines) at fpaste.scsys.co.uk/540320
lucasb notviki: ah, thanks
notviki m: say 'abcdefg' ~~ /......./
camelia rakudo-moar 9eed27: OUTPUT«「abcdefg」␤»
notviki m: say 'abcdefg' ~~ /...<(..../
camelia rakudo-moar 9eed27: OUTPUT«「defg」␤»
notviki m: say 'abcdefg' ~~ /...<(..)>../
camelia rakudo-moar 9eed27: OUTPUT«「de」␤»
notviki m: say 'abcdefg' ~~ /.....)>../
camelia rakudo-moar 9eed27: OUTPUT«「abcde」␤»
lucasb like \K in P5?
loveperl This is the code fpaste.scsys.co.uk/540320?tx=on&...rmat+it%21
notviki loveperl: well, it can't find the lib
loveperl: which one did you install? 18:09
lucasb: yeah
lucasb notviki: your examples made it clear, thanks
loveperl this panda install Parser::FreeXL::Native
notviki loveperl: but it also needs the freexl C library to go with it. Did you install that? 18:10
loveperl no, how install?
lucasb I would confirm that I've correctly installed the lib; find the lib file and patch the line Parser/FreeXL/Native.pm6#L5 in place
tony-o what flavor or linux are you on?
of 18:11
notviki lucasb: are you sure that patch is needed? There's Build.pm that does stuff...
loveperl: what linux are you using?
loveperl ubuntu 16.04 18:12
lucasb notviki: nope, I'm not sure :) It just looks strange the path starts with './lib', but maybe that's how it's supposed to be
notviki loveperl: what does aptitude search libfreexl give you?
tony-o am i muted?.. 18:13
notviki tony-o: yup. No one can hear you :} 18:13
err... I mean.. whaaaat? :)
tony-o seems that way today, back to making the perl6 orm do table joins :-p
shadowpaste "loveperl" at 217.168.150.38 pasted "codigo" (6 lines) at fpaste.scsys.co.uk/540322 18:14
loveperl this fpaste.scsys.co.uk/540322?tx=on&...rmat+it%21
lucasb loveperl: you don't need to paste the link again :)
notviki loveperl: ok, now run this: sudo apt-get install libfreexl1 18:15
loveperl: and then install the module with panda: panda install Parser::FreeXL::Native
Then make a sacrifice to a deity of your choosing.... and stuff should work.
loveperl this error 18:16
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
notviki loveperl: did you do the sudo? It's `sudo apt-get install libfreexl1` not `apt-get install libfreexl1`
loveperl: or do you have Synaptic open? Close it (or use it to install libfreexl1) 18:17
loveperl ok 18:18
notviki Works now? 18:19
loveperl reloat? 18:21
notviki ? reload what?
After you installed libfreexl1, install the Parser::FreeXL::Native module, and then your script should work 18:22
loveperl no works 18:23
notviki What's the error?
shadowpaste "loveperl" at 217.168.150.38 pasted "codigo" (86 lines) at fpaste.scsys.co.uk/540324
notviki loveperl: sudo apt-get install build-essential 18:24
tetrasite 18:25
fuck you
tony-o lol, what? 18:26
notviki nothing :}
tony-o almost have DB::ORM::Quicky doing joins 18:27
notviki gives `passwd` a couple of goes and moves on
loveperl I already have it installed
notviki loveperl: no idea then. Try some other module. 18:28
tony-o loveperl: try the libfreexl-dev
loveperl: rather than libfreexl
maybe also try zef install
tailgate okay, so what's the way to get the stuff not being captured ... i.e. if /'[' <( <-[[]>+ )> ']'/ captures bar baz in foo[bar][baz], how would I get foo? 18:30
notviki tailgate: the way I showed you like 10 minutes ago?
loveperl And I use the same bookstore 18:31
notviki m: "foo[bar][baz]".comb(/'[' <( <-[[]>+ )> ']'/)[0].say
camelia rakudo-moar 9eed27: OUTPUT«bar␤»
notviki tailgate: oh, sorry, misread
tailgate lol
notviki :)
tailgate appreciated anyways
notviki tailgate: well, what's "stuff not being captured"? Is it just the prefix before the bracketed stuff? 18:32
tailgate well, foo[bar]baz should capture foo and baz in this case
stuff NOT in btween a []
notviki But capture how? would it be two separate captures of "foo" and "baz" or two separate of "foo[" and "]baz" or one string "foobaz" or one string "foo[]baz"? 18:33
loveperl What other options are there to read an Excel?
notviki loveperl: metacpan.org/pod/Spreadsheet::DataFromExcel 18:34
You can use it through Inline::Perl5
notviki use Spreadsheet::DataFromExcel:from<Perl5>; my @data = Spreadsheet::DataFromExcel.new.load: "yourfile.xls" 18:34
tailgate I think it should be a list of foo baz 18:36
tailgate so foo[bar]baz[bing]bong should be (foo, baz, bong) 18:37
notviki m: "foo[bar]baz[bing]bong".comb(/"[" <-[[]>+ "]" || <-[[]>+/).categorize({.starts-with("[") && .ends-with("]") ?? "in" !! "out"}).say 18:39
camelia rakudo-moar 9eed27: OUTPUT«{in => [[bar] [bing]], out => [foo baz bong]}␤»
tailgate nice 18:40
thanks
Xliff \o
[Coke] gets close to have a working perl 6 again, after losing his last mactop to a tragic update brick.
notviki o/
tony-o ouch
Xliff Just out of curiousity... is there any reason we can't run pre-compiled p6 directly from MoarVM?
notviki We can? 18:41
loveperl how install? notviki
tony-o with cpan 18:42
notviki loveperl: perlbrew install perl-5.24.0 -Duseshrplib -Dusemultiplicity
notviki loveperl: 1 sec 18:43
samcv bisectable6 say "ୈ" 18:45
yoleaux 17:32Z <notviki> samcv: is doc/1061 ready to merge? Do we need to install anything on the server with the doc build? I see "you need node for this" comment... On the server npm -v gives 2.15.1; is that sufficient? Do we need anything else?
notviki loveperl: gist.github.com/zoffixznet/2fc2aa2...29f1774dbb
Xliff tony-o: Good luck with DB::ORM::Quicky. I would love to be able to use JOINS without nasty SQL.
notviki loveperl: that will build you latest Perl 5 and install cpanm command
loveperl: and then you can find pretty much any module on metacpan.org/ install it with `cpanm Some::Module` and then use it in Perl6 as `use Some::Module:from<Perl5>` 18:46
samcv notviki well the commands to make it changed. See .travis.yml
But I think that node should work fine
notviki loveperl: and the first command in that list installs perlbrew: perlbrew.pl/ it's an installer for Perl 5
samcv But it is ready yeah. Though let me try doing a clean build on my laptop before you merge 18:48
notviki samcv: so is it ready to merge or are you still tweaking it?
samcv Just in case
notviki OK :)
tony-o Xliff: maybe you'd like to provide some feedback, here is the route i'm going right now (runs to gist.github)
samcv Not tweaking it. Its ready, though i want to just do a clean build since the last change 18:49
Xliff Hmmm... never seen .categorize() before...
Xliff puts it on the list.
notviki There's also .categorize-list
Xliff puts that on the list, too.
tony-o Xliff: gist.github.com/tony-o/d19c6ab1943...369d8e62ef
samcv bisectable6: say "ୈ"
bisectable6 samcv, On both starting points (old=2015.12 new=9eed276) the exit code is 1 and the output is identical as well
samcv Eweee
notviki m: say "ୈ"
camelia rakudo-moar 9eed27: OUTPUT«5===SORRY!5===␤Argument to "say" seems to be malformed␤at <tmp>:1␤------> 3say7⏏5 "ୈ"␤Bogus postfix␤at <tmp>:1␤------> 3say 7⏏5"ୈ"␤ expecting any of:␤ infix␤ infix stopper␤ postfix␤ s…»
notviki m: " ".name.say 18:50
camelia rakudo-moar 9eed27: OUTPUT«No such method 'name' for invocant of type 'Str'␤ in block <unit> at <tmp> line 1␤␤»
notviki m: " ".uniname.say
camelia rakudo-moar 9eed27: OUTPUT«SPACE␤»
notviki mkay
samcv I found a bugggg. Wull send the bug once i have internet again. (In a car)
notviki I see it's differnet, but it turns to space when I try to copy/paste it
Don't drive and debug!
:)
samcv What turns to a space? 18:51
notviki oh
Xliff tony-o: Commented. ;)
samcv m: say 0xb48.chr
camelia rakudo-moar 9eed27: OUTPUT«ୈ␤»
samcv That? Or something else 18:52
Xliff samcv: Please tell me you are not driving! 8-)
notviki samcv: this is how it renders on my terminal: i.imgur.com/wQUTK6O.png
But I see in the weblog, it's totally different
tony-o Xliff: sounds good - that's what i'm working generating into sql now :-)
Xliff I can't stand trying to use a smartphone in a car...
samcv Oh, i can see it fine on my laptop and phone
Not driving
Xliff tony-o++ # Well, in that case... code away! ;)
notviki Xliff: what about using a smartcar in a phone?
samcv IN a Phone? 18:53
notviki :}
samcv A
Madness
Xliff notvikiZoffixOnABong: X::Exception.new( :msg("DON'T NOT COMPUTE") ).throw
Xliff www.youtube.com/watch?v=GulbyZv_qm...nnel=SAMYB 18:55
notviki uhhhh... Thanks, I don't feel that bad not knowing who Prince is anymore. 18:56
notviki blasts some metal to cleanse the ear canals
Xliff :P 18:57
Xliff hacks the earphones so that it blasts Carrie Underwood, instead.
notviki www.youtube.com/watch?v=DSu_rV91EQ0 18:58
Xliff I'm sorry, I take my rocks with something on them! Preferably something liquid! 18:59
Xliff raises viki with www.youtube.com/watch?v=E3bSrUnRQ-...B6yerVideo 19:00
notviki raises with www.youtube.com/watch?v=Yq9otaF5UPY 19:01
Nice female vocals :)
sena_kun oh wow, the first person I met who knows this band.
notviki :)
notviki samcv: I'm running `make html` and it told me "pygmentize 2.0.1, found; code blocks will be highlighted; Using syntax highlighting via Inline::Python". Is that normal? 19:05
Xliff dusts viki with www.youtube.com/watch?v=Ey046roWN6...nicsmoke7d
notviki That kinda reminds me of www.youtube.com/watch?v=iYrWgumk2lU 19:06
sena_kun www.youtube.com/watch?v=9XHKXOT3j6M - let it be here too, as a late compromise between a harsh vocal and low-speed tune. 19:07
notviki 0.o 19:08
interesting combination..
Xliff LOL 19:09
Xliff tosses viki to pieces with www.youtube.com/watch?v=B8LJl_x5LP...el=Treeock
<emo>
notviki That one is actually nice :) 19:11
notviki trumps all with www.youtube.com/watch?v=UA2Ns0i06iM 19:14
Drunk Zoffix in his natural habitat :P 19:15
samcv notviki its a go! 19:18
notviki renames dalek to Titanic 19:20
dalek Heuristic branch merge: pushed 20 commits to doc by zoffixznet
notviki aww :(
dalek c/grammar-links-fix: 067f98d | Altai-man++ | doc/Language/glossary.pod6:
Cleanup of broken links on Glossary page(either removing or fixing)
19:22
samcv notviki merge when you are ready please :) 19:23
notviki samcv: already done :)
1420 +dalek │ Heuristic branch merge: pushed 20 commits to doc by zoffixznet
samcv Nice. :) 19:24
[11:05] (notviki) samcv: I'm running `make html` and it told me "pygmentize 2.0.1, found; code blocks will be highlighted; Using syntax highlighting via Inline::Python". Is that normal?
I missed this tho. You found the right two commands to run? 19:25
notviki two commands? I just ran `make html`
What are the two commands?
samcv Aww 19:26
Make init-highlights
Make html-highlights
lucasb m: EVAL "'\x[300]'"
camelia rakudo-moar 9eed27: OUTPUT«5===SORRY!5=== Error while compiling /home/camelia/EVAL_0␤Bogus statement␤at /home/camelia/EVAL_0:1␤------> 3<BOL>7⏏5'̀'␤ expecting any of:␤ prefix␤ term␤»
samcv Should run both every build
notviki samcv: so that replaces the old `make html` or do I need to run that too? 19:27
lucasb ^^ characters failing starts at 0x300 and goes on...
samcv Uhm
lucasb committable6: 2015.12 EVAL "'\x[300]'"
committable6 lucasb, gist.github.com/76d5627e17e450445d...0a3f4812e6
notviki m: "\x[300]".uniname.say
camelia rakudo-moar 9eed27: OUTPUT«COMBINING GRAVE ACCENT␤»
samcv No, make html uses pygments
samcv So yeah you dont need that anymore 19:28
lucasb committable6: all EVAL "'\x[300]'"
committable6 lucasb, gist.github.com/48b3782014b494787f...1d645aaac8 19:29
samcv lucasb :( how far though 19:30
Are they all Mn or Mo chars?
lucasb samcv++ for finding the bug :)
idk
samcv Will submit an RT in 25 minutes 19:30
dalek c: 92a1533 | (Zoffix Znet)++ | util/update-and-sync:
Use new highlights make commands
19:31
lucasb ah, bisectable6 couldn't find anything :| but something changed between the following releases: 19:32
committable6: 2015.04 EVAL "'\x[300]'"
committable6 lucasb, ¦«2015.04»:
lucasb committable6: 2015.05 EVAL "'\x[300]'"
committable6 lucasb, ¦«2015.05»: 04===SORRY!04=== Error while compiling EVAL_0␤Bogus statement␤at EVAL_0:1␤------> 03<BOL>08⏏04'̀'␤ expecting any of:␤ prefix␤ term «exit code = 1»
notviki So what's the bug? 19:33
lucasb maybe jnthn was working on NFG at the time?
idk, is there something like a "invalid string" in unicode, even if it doesn't make sense? 19:34
I don't expect a literal string to die
notviki But it's not a string, you're trying to use a synthetic char as an opening delimiter
m: "'\x[300]".chars.say 19:35
camelia rakudo-moar 9eed27: OUTPUT«1␤»
samcv m: say "ୈ"
camelia rakudo-moar 9eed27: OUTPUT«5===SORRY!5===␤Argument to "say" seems to be malformed␤at <tmp>:1␤------> 3say7⏏5 "ୈ"␤Bogus postfix␤at <tmp>:1␤------> 3say 7⏏5"ୈ"␤ expecting any of:␤ infix␤ infix stopper␤ postfix␤ s…»
notviki m: "'\x[300]".uniname.say
camelia rakudo-moar 9eed27: OUTPUT«APOSTROPHE␤»
notviki hm
m: "\x[300]".uniname.say
camelia rakudo-moar 9eed27: OUTPUT«COMBINING GRAVE ACCENT␤»
notviki m: "'\x[300]".ords.say
camelia rakudo-moar 9eed27: OUTPUT«(39 768)␤»
samcv m: say Q<ୈ>
camelia rakudo-moar 9eed27: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Couldn't find terminator <ୈ (corresponding <ୈ was at line 1)␤at <tmp>:1␤------> 3say Q<ୈ>7⏏5<EOL>␤ expecting any of:␤ <ୈ␤»
notviki m: "'\x[300]".uninames.say
camelia rakudo-moar 9eed27: OUTPUT«(APOSTROPHE COMBINING GRAVE ACCENT)␤»
samcv Alsoooo
See that last error with Q 19:36
lucasb ah, ok. understood, I can't literally combine the quotes with those characters in the source code
notviki lucasb: yeah, it basically turns into a single synthetic char... 19:37
samcv m: say Q<ୈtestୈ>
camelia rakudo-moar 9eed27: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Couldn't find terminator <ୈ (corresponding <ୈ was at line 1)␤at <tmp>:1␤------> 3say Q<ୈtestୈ>7⏏5<EOL>␤ expecting any of:␤ <ୈ␤»
notviki m: EVAL "'\n\x[300]'"
camelia ( no output )
samcv Ohh
notviki m: "'\n\x[300]'".EVAL.trim
camelia ( no output )
notviki m: "'\n\x[300]'".EVAL.trim.uninames.say
camelia rakudo-moar 9eed27: OUTPUT«(COMBINING GRAVE ACCENT)␤»
samcv m: say Q<ୈtestୈ<
camelia rakudo-moar 9eed27: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Couldn't find terminator <ୈ (corresponding <ୈ was at line 1)␤at <tmp>:1␤------> 3say Q<ୈtestୈ<7⏏5<EOL>␤ expecting any of:␤ <ୈ␤»
samcv m: say Q<ୈtest<ୈ 19:38
camelia rakudo-moar 9eed27: OUTPUT«test␤»
samcv Crazy
notviki that looks.... evil on my terminal
samcv Yeah it should only combine with its proper unicode symbols
Not ANYTHING
just certain ones 19:39
sena_kun why links to .Str Mu-method point me to Str.val? It is sad.
notviki m: ("Q ♥" ~ "\x[308]" x 100 ~ "heh" ~ "♥" ~ "\x[308]" x 100).EVAL.say
camelia rakudo-moar 9eed27: OUTPUT«heh␤»
notviki m: ("Q ♥" ~ "\x[308]" x 1000 ~ "heh" ~ "♥" ~ "\x[308]" x 1000).EVAL.say 19:40
camelia rakudo-moar 9eed27: OUTPUT«heh␤»
notviki m: ("Q ♥" ~ "\x[308]" x 100000 ~ "heh" ~ "♥" ~ "\x[308]" x 100000).EVAL.say 19:41
camelia rakudo-moar 9eed27: OUTPUT«heh␤»
notviki 0.o
notviki was expecting a segv
travis-ci Doc build passed. Altai-man 'Cleanup of broken links on Glossary page(either removing or fixing)' 19:41
travis-ci.org/perl6/doc/builds/185863714 github.com/perl6/doc/commit/067f98d0dd03
notviki Ah, I'm too short 19:41
m: ("Q ♥" ~ "\x[308]" x 150000 ~ "heh" ~ "♥" ~ "\x[308]" x 150000).EVAL.say 19:42
camelia rakudo-moar 9eed27: OUTPUT«(signal SEGV)»
notviki ehehe
lucasb what?! :)
notviki stack overflow
rt.perl.org/Ticket/Display.html?id...et-history 19:43
j: ("Q ♥" ~ "\x[308]" x 150000 ~ "heh" ~ "♥" ~ "\x[308]" x 150000).EVAL.say
camelia rakudo-jvm 8ca367: OUTPUT«5===SORRY!5=== Error while compiling /home/camelia/EVAL_0␤Bogus postfix␤at /home/camelia/EVAL_0:1␤------> 3̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈heh♥7⏏…» 19:44
notviki j: say "x" ~ "\x[308]" x 150000
camelia rakudo-jvm 8ca367: OUTPUT«…»
notviki umm... :/
j: say "x" ~ "\x[308]"
camelia rakudo-jvm 8ca367: OUTPUT«x􏿽xCC􏿽x88􏿽xE2􏿽x90􏿽xA4»
notviki j: say "x" ~ "\x[308]" x 10
camelia rakudo-jvm 8ca367: OUTPUT«x􏿽xCC􏿽x88􏿽xCC􏿽x88􏿽xCC􏿽x88􏿽xCC􏿽x88􏿽xCC􏿽x88􏿽xCC􏿽x88􏿽xCC􏿽x88􏿽xCC􏿽x88􏿽xCC􏿽x88􏿽xCC􏿽x88􏿽xE2􏿽x90􏿽xA4»
notviki j: say "x" ~ "\x[308]" x 100000 19:45
camelia rakudo-jvm 8ca367: OUTPUT«…»
notviki Interesting...
samcv Has it generated the docs notviki. Not sure if it has the new version or not 19:46
notviki samcv: um, in the footer it tells you which commit the build is for and it's currently the latest commit 19:47
s/um/yup/;
hmmm 19:48
I also ran it in a separate dir on the server and that one got: Makefile:7: recipe for target 'html-highlights' failed
make: *** [html-highlights] Broken pipe
gfldex samcv: see docs.perl6.org/build-log/
notviki samcv: though in the build log I still see it mentioning Inline::Python docs.perl6.org/build-log/build-201...5+0000.log 19:49
lemme double check it's using the right build command
notviki ah, ok 19:51
samcv: it ran the old build script
But I think the new one will fail, I can't get it to run. Ends with broken pipe thing
dalek c: f06487f | (Zoffix Znet)++ | README.md:
Trigger doc rebuild
19:52
notviki It's crashing on spurt "html{$doc.url}.html", p2h($doc.pod, 'programs', pod-path => $pod-path); when $doc.name is 'Perl 6' 19:59
broken pipe... 20:00
notviki tries using a bong instead
samcv hmm. not sure why
crashing on the spurting? weird 20:01
travis used to get broken pipe
but that was because highlights wasn't getting installed
you _did_ run make init-highlights right?
i'll be back a little later, but will check my phone periodically 20:02
notviki I'm almost positive I'm sure I did.
samcv run it again tho 20:03
running it again dosen't hurt and just ensures it's up to date or properly installed
notviki seems not the spurt but one of the args... p2h maybe
p2h()
notviki debugs moar
yeah, make init-highlights was run. Ran it again and it told me "already exists" 20:04
uuuuuu... It's also failing with this here: docs.perl6.org/build-log/build-201...5+0000.log 20:05
maybe my bash-foo is too weak. I added it as this line: github.com/perl6/doc/blob/master/u...d-sync#L33 20:06
samcv If you run: echo htmlify | ./highlights/highlightfilenamefromstdin.coffee 20:08
notviki -su: ./highlights/highlightfilenamefromstdin.coffee: No such file or directory 20:09
samcv Not exact filename, im on my phone. But it should spit out htmp
Just ls that dir
notviki -su: ./highlights/highlight-filename-from-stdin.coffee: highlights/node_modules/coffee-script/bin/coffee: bad interpreter: No such file or directory 20:10
samcv Spit out html
Ok its not installed
:)
notviki What do I install? apt-get install coffeescript ?
samcv No 20:11
notviki apt-get install node-coffeescript ?
samcv It installs with everything elsr
notviki with the make init-highlights?
samcv It should be at highlights/node_modules/coffee-script/bin/coffee 20:12
Yes
Does that file exist?
notviki doc.perl6.org@hack:~/highlights-te...e_modules$ ls
highlights less
That's the only thing in that folder
[Coke] tries out zef since he has to use a brand new p6 install.. 20:13
notviki lemme nuke it and try from scratch, maybe there's an error I overlooked
samcv Yeah
samcv Thats the issue. But that echo... Commanf i told you is the best way to ensure it is installed. Brb lunch 20:14
[Coke] is highlights live on master, or is notviki just testing to see if it works on the build machine?
notviki [Coke]: it's merged but we can't get it to build 20:15
[Coke]: the first error is this: github.com/perl6/doc/blob/master/u...d-sync#L33
[Coke]: I mean this: docs.perl6.org/build-log/build-201...5+0000.log
And I'm unsure if that's just me messing up the bash command in github.com/perl6/doc/blob/master/u...d-sync#L33
It used to be `make html` but now it got two `make blah` in ity 20:16
We should prolly make it one command again
.oO( make doc building great again! )
[Coke] ... why was this merged? 20:20
shouldn't we have removed the pygements stuff as part of it and replaced 'make html'?
[Coke] what's in ./highlights/atom-language-perl6 right now? 20:21
*pygments
notviki [Coke]: I presume github.com/perl6/atom-language-perl6/ the new highlighter
[Coke] realizes he can probably ssh in.
yes, I know what's *MEANT* to be in there; what is IN there?
ugh. all my ssh keys are on dead mactop. 20:22
notviki [Coke]: that 20:23
[Coke] but not a clean copy, apparently.
notviki on latest commit
Oh you mean on the one that's in the actual build
[Coke] and do you get the same error message when you run "git pull" from the command line in that dir?
notviki 1 sec 20:24
[Coke] Yes, the one in the directory shown just before the error message on this page: docs.perl6.org/build-log/build-201...5+0000.log
This should not have been merged. :|
notviki samcv: here's the full output including the broken pipe: gist.github.com/zoffixznet/1e290c7...592447ab63 and there's still just "highlights less" in the highlights/node_modules dir 20:25
notviki It's fine. We can still build the old way, exactly because `make html` remains :) 20:25
dalek c: 9e265ee | (Zoffix Znet)++ | util/update-and-sync:
Switch back to old update method

  ...while we sort out the broken pipe thing...
20:27
notviki I need to do some work stuff and relocating in 20m, but in 1.5 hours will see what's up with that pipe is from home. 20:28
(doc need a re-build bump after ^ that commit builds, so that it'd use the update script from that commit) 20:29
notviki and the build thing worked this time, so just the pipe thing remains \o/ 20:32
notviki and no need to trigger a rebuild either. All changes are currently online and if a commit with a change shows up, that'll trigger the rebuild. 20:34
\o/
| 20:36
/\
Ah ok, I see why the first error occured 20:38
The command is: git clone github.com/perl6/atom-language-perl6 ./highlights/atom-language-perl6 || cd highlights/atom-language-perl6; git pull 20:39
but that || should just be a ;
(it'd pull on a freshly cloned branch but.. eh, who cares.
)
That, or make it `cd` in both conditions 20:40
or check if the dir exists and clone only if it ain't there 20:47
notviki will fix after relocation
notviki &
[Coke] maaaaan is this loaner laptop slow compared to the work one. :| 20:53
dalek osystem: 2face6b | RabidGravy++ | META.list:
Update to META6 for Attribute::Lazy
20:56
RabidGravy Can I release 5 more modules before the end of the year 21:00
gfldex if you want to
RabidGravy it's a more realist aspiiration than the 240 we need to double the number in the ecosystem since last year 21:02
dalek c: f978565 | coke++ | doc/Programs/01-debugging.pod6:
use non-braking space
21:05
c: 2768751 | coke++ | / (2 files):
remove trailing whitespace
[Coke] ugh, speeling missteak.
notviki huh, weird. I was sure I used a non-break space there :/ 21:17
sena_kun was there a doc-related issue about "method, method, method, method, method" on docs.perl6.org/routine-method.html page? I just fixed it, but cannot find a ticket. 21:24
[Coke] fixed it... in a PR? 21:27
sena_kun [Coke], on localhost, but I'll push it now. 21:28
just wondering.
[Coke] github.com/perl6/doc/issues/642 21:29
so, it was already considered fixed?
so, please make a PR for review instead, maybe?
Unless you fixed it according to my last comment? :)
sena_kun [Coke], judging by "method,method,method" on current docs.perl6 it doesn't fixed. (: 21:30
Ah, stop.
[Coke] Those correspond directly to the things on the right.
sena_kun Ah, I've got it. 21:33
[Coke], the fix only relates to write-main-index, but write-sub-index subroutine needs .flat too. Hence duplicates. I'll create a PR now. 21:36
Ah, it is wontfix... 21:37
sena_kun Then there was no point, never mind me. 21:38
dalek c: 067f98d | Altai-man++ | doc/Language/glossary.pod6:
Cleanup of broken links on Glossary page(either removing or fixing)
21:41
c: 887dd1a | Altai-man++ | doc/Language/glossary.pod6:
Merge pull request #1068 from perl6/grammar-links-fix

Cleanup of broken links on Glossary page(either removing or fixing)
synopsebot6 Link: doc.perl6.org/language/glossary
samcv notviki, were you able to get it working? 21:46
notviki nope 21:47
samcv what does echo htmlify.p6 | ./highlights/highlight-filename-from-stdin.coffee do
notviki the coffee thing isn't there
samcv hmm 21:48
notviki I'll check when I get home in about ~15m. On the bus ATM
[Coke] is the git clone failing?
ah.
samcv wait the git clone is failing or it's just not installing coffeescript with the rest of the node stuff?
notviki Pretty sure nothing's failing in the output. Scroll up, I pasted full output there somewhere 21:49
samcv let me try specifying it specifically in package.json
i've built it from source cleanly but. might as well 21:50
samcv yeah ok. other things depend on coffeescript as well... so maybe this will ensure it will always be in that location, maybe node moved around where dependencies are moved 21:53
dalek c: dab8068 | samcv++ | highlights/package.json:
Ensure that node specifically installs coffee-script

Even though the packages in the package.json depend on coffee-script, hopefully specifying it will make sure it gets installed.
21:54
samcv will be back later. see you soon 21:55
timotimo oh 22:16
timotimo merged samcv's stuff into json_fast and bumped version 22:20
notviki u: tab 22:32
unicodable6 notviki, U+0009 CHARACTER TABULATION [Cc] (control character)
notviki, U+000B LINE TABULATION [Cc] (control character)
notviki, U+0088 CHARACTER TABULATION SET [Cc] (control character)
notviki, gist.github.com/e2268bed9fb0855fe9...b4f576f57f
notviki well, dammit... how am I supposed to write a makefile if I can't type or copy-paste a tab :S 22:33
moritz m: say "x\tx" for notviki 22:34
camelia rakudo-moar 541d12: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Undeclared routine:␤ notviki used at line 1␤␤»
moritz m: say "x\tx" # for notviki
camelia rakudo-moar 541d12: OUTPUT«x x␤»
stmuk wibble 22:35
tony-o Xliff: do you have a use case you'd like to try the ORM out with? 22:37
notviki moritz: I couldn't copy-paste either, 'cause the editor was changing it to spaces apparently. I've used anotehr editor now tho :) 22:39
dalek c: ea9df17 | (Zoffix Znet)++ | Makefile:
Prevent repo cloning failures in make init-highlights
22:53
notviki samcv: well, now that fixed the pipe issue. Seems to be working, but it's printing a toooooon of `duplicated path in ....-pod_to_pyg.pod` warnings. I know we had them before, but does `pod_to_pyg` in filename means it's still using the old pygments or whatever it was for highlights? 23:13
tony-o Xliff: github.com/tony-o/perl6-db-orm-qui...ing-tables 23:14
dalek c: ed76af6 | (Zoffix Znet)++ | util/update-and-sync:
Switch to new highlighting work

  github.com/perl6/doc/pull/1061
23:28
notviki .tell samcv your last commit fixed the build issue on doc/1061. Seems to be working, but it's printing a toooooon of `duplicated path in ....-pod_to_pyg.pod` warnings. I know we had them before, but does `pod_to_pyg` in filename means it's still using the old pygments or whatever it was for highlights? I set the doc build to use the new highlights now 23:29
yoleaux notviki: I'll pass your message to samcv.
travis-ci Doc build failed. Zoffix Znet 'Switch to new highlighting work 23:35
travis-ci.org/perl6/doc/builds/185929346 github.com/perl6/doc/compare/ea9df...76af6673f4
samcv .tell notviki yeah it still uses the same filenames as before. So it is working 23:38
yoleaux 23:29Z <notviki> samcv: your last commit fixed the build issue on doc/1061. Seems to be working, but it's printing a toooooon of `duplicated path in ....-pod_to_pyg.pod` warnings. I know we had them before, but does `pod_to_pyg` in filename means it's still using the old pygments or whatever it was for highlights? I set the doc build to use the new highlights now
samcv: I'll pass your message to notviki.
samcv .
notviki \o/ 23:39
yoleaux 23:38Z <samcv> notviki: yeah it still uses the same filenames as before. So it is working
samcv We probably want to make the html use one or the other css if we want to keep pygments as an option. 23:40
dalek c: f15342a | (Zoffix Znet)++ | README.md:
Trigger doc rebuild

To make it generate the site using new highlighter
23:41
Xliff tony-o: How does that example work? 23:42
Because I see an AND with only one comparison 23:43
And no EQU which is usually present in a join.
tony-o: gist.github.com/tony-o/d19c6ab1943...nt-1954450 23:46
tony-o: As for use cases, does DB::ORM::Quickly work with MySQL? 23:47
I might be able to come up with a few. :)