»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg camelia perl6: ... | irclog: irc.perl6.org | UTF-8 is our friend!
Set by sorear on 25 June 2013.
jercos raydiak: the difference is that it's explicit? :p 00:00
raydiak jercos: according to the discussion earlier today in the backlog, the difference is massive, performance-wise 00:01
jercos Ah, I did scroll up for context, but not all the way to 12 hours ago. 00:02
raydiak I'm a little behind :) 00:04
moritz raydiak: a return basically throws a control exception that a routine catches 00:17
raydiak: so you can do fun stuff like catching that control exception 00:18
raydiak: the compiler should really optimize that away if it can proof that there's no catcher, but it's not yet smart enough
raydiak thanks moritz++, that's extremely useful for me to know 00:20
dalek ecs: 33f0256 | larry++ | S05-regex.pod:
clarification from TheDamian++
02:50
raydiak japhb: I decided to leave the organization alone for now, and added a couple operations instead, incl cross product...are right-handed coordinates okay? or did you want to provide some facility for choosing handedness? 03:02
japhb: also, column-major or row-major matrices?
diakopter usage of the world perl through the years: goo.gl/rrwyv4 04:12
usage of other programming language names through the years: goo.gl/cbnPKM 04:18
BenGoldberg Set smoothing to zero to see a graph using the real data 04:21
diakopter law of small numbers... :) 04:22
BenGoldberg Also, since that data is how many times those words occur in all books in the corpus, not *just* programming books, I'm sure many occasions of the word 'java' refer to the island (or the coffee), and many occasions of the word 'ruby' refer to the gemstone. 04:25
diakopter well maybe. but the general hype/noise hump there I think is pretty representative of the programming self-help segment 04:26
perigrin BenGoldberg: you'd expect Python to see a bump for the snake though 04:27
BenGoldberg That too :) 04:28
perigrin (and Haskell to get a bump for the obnoxious neighbor kid?)
diakopter perigrin: you're a snake bump
perigrin I haven't been a snake bump for 36 years!
skids Similar google trends data (second group is scaled from much smaller values) goo.gl/vRq7fB goo.gl/Cf9gYG 04:50
diakopter skids: yeah, I think those curves can be normalized to all programming languages interest 04:58
(as chromatic has said repeatedly) 04:59
[I think] 05:00
skids Yes it seems that there is less interest in programming due probably to recession and/or dotcom afterglow fading. 05:01
lue If that thing just searches books, it's possible that books aren't the place to write about programming languages anymore :) 05:03
skids Maybe google isn't the place to search anymore either and people are just turning to social media forums. 05:04
(perfectly horrible way to find information, but that doesn't stop behavioral trends.) 05:05
perigrin might be people aren't the right things to search for programming languages 05:07
and applications are all generated by other AI
skids And Professional Services Organizations are just a AI population growth mechanism? 05:09
perigrin YAPC is going to be renamed YABC - Yet Another Bot Conference 05:10
japhb raydiak: I'd say "like OpenGL does it". That means a right handed coordinate system, and transformation matrices specified and multiplied as they are in the OpenGL docs. 05:13
raydiak ls 06:45
TimToady . .. .bashrc 06:51
raydiak *heart stops* 06:52
that's what it looked like last time my vps provider got hacked :P 06:53
japhb: do you suppose we ought to come up with a more consistent and obvious routine naming scheme? eg div and div-i (for In-place), instead of div and divide? 06:57
moritz \o #perl6 07:01
arnsholt G'day!
raydiak \o moritz 07:02
TimToady o/ 07:03
jnthn o 07:42
uh, o/
teaching & 07:47
raydiak japhb: I just added rotations; things which may need changing: you mentioned not wanting to use specific names for the axii, but they are named rot-x, rot-y, etc for now...instead of degrees like opengl, they take radians; I'll let you decide if/how to convert optimally...and I didn't verify that rotation directions are the same as opengl 07:54
timotimo o/ from a desk 08:25
FROGGS o/ 08:39
brrt hi #perl6
i haven't been here for a loooong time
a): anyone going to FOSDEM this weekend?
b): hows perl6 doing these days
tadzik damn, it's this weekend already? :/ 08:40
brrt yes
1 and 2 februari
tadzik well, next year then :/
brrt … shame
i'm superexcited to go
tadzik anyway, I think it's doing better than ever
MoarVM is better and better
brrt oooh
brrt is still feeling bad about not having found the time to contribute to MoarVM 08:41
timotimo brrt: just a few tiny data points: moarvm starts up a rakudo faster than parrot and uses less than half its memory already 08:44
it performs better than parrot in almost all microbenchmarks as well as the minibenchmarks we ran
brrt benefit of hindsight :-) 08:45
but, great
tadzik hehe, /r/perl6 has its own troll :) 08:47
timotimo yup :)
Ulti tadzik it's me getting baited too :S I guess Perl 6 is an easy target for the decline in hipsterness of Perl 09:24
hoelzro brrt: I'll be there 09:25
tadzik first they ignore you, then they laugh at you...
hoelzro timotimo: not only that, but I managed to build the docs *without* the OOM killer knocking on my door! 09:26
brrt tadzik: then they continue ignoring you 09:27
Ulti someone in my lab who mainly uses Python is going to learn Perl just to completely replace his use of BASH, which is both a good idea and a new person to Perl, but he's never going to blog about his hacked up research shell like scripts :/
timotimo hoelzro: \o/ \o/ \o/
hoelzro: what timing, ooc? 09:28
hoelzro timotimo: 7m
timotimo that's not even bad
hoelzro nope
timotimo but still not very good :P
hoelzro and I got it to run using 600MB RAM
timotimo we should be able to do better, but it's a good start. 09:29
hoelzro it's a *great* start
I'm thinking of porting my JVM instrumentation thing to Maro
*Moar
timotimo dives into some data munging 10:18
it's a PDF that's apparently been exported from excel and i'd like to have it in some excel-readable format again ... >_> 10:19
arnsholt Have fun =) 10:25
PDF is more of an image format than a text format, so there's lots of weird stuff that can happen 10:26
timotimo yes.
arnsholt Some of my colleagues have been doing PDF extraction. IIRC they used a toolkit called pdfbox
timotimo i have the content as txt now 10:30
and the format is susceptible to regex :)
moritz "everybody stand back, I know regular expresions!" 10:40
Ulti timotimo: try `pdftotext` and see if it outputs as something nice like | or \t delimited text 10:43
erk too late 10:44
timotimo time for a nice walk in the park 10:49
but Ulti that does sound helpful
i'll look at it in an hour
masak oh hai #perl6 11:07
nwc10 good UGT, masak 11:08
rindolf n: my %h; %h{'foo'} //= do { 5+6;}; %h 11:10
camelia ( no output )
rindolf What?
n: my %h; %h{'foo'} //= do { 5+6;}; %h{'foo'}
camelia ( no output ) 11:11
rindolf :-(
rindolf Can anyone help? 11:11
rindolf n: my %h; %h{'foo'} //= do { 5+6;}; %h{'bar'} = "Bazooka"; %h 11:12
camelia ( no output )
rindolf :-(
tadzik ENOSAY 11:13
rindolf n: my %h; %h{'foo'} //= do { 5+6;}; %h{'bar'} = "Bazooka"; say %h
camelia niecza v24-109-g48a8de3: OUTPUT«{"bar" => "Bazooka", "foo" => 11}␤»
rindolf tadzik: thanks. 11:21
dalek pan style="color: #395be5">perl6-examples: ea0588e | (Shlomi Fish)++ | euler/prob031-shlomif.pl:
[Euler] Add solution for #31.
11:50
timotimo aaw, vim can't do J on visual block selection 12:23
colomon tadzik: 12:24
bin/rakudobrew switch moar
Switching to moar-HEAD
Updating shims
say() on closed filehandle $fh at bin/rakudobrew line 149.
tadzik :o'
that's a bug :)
colomon: I'll take a look at home, could you open a bug on github? 12:25
colomon sure
tadzik thanks 12:27
colomon done 12:31
FROGGS nqp: use Perl6::Pod # :o( 14:02
camelia nqp-jvm: OUTPUT«java.nio.file.NoSuchFileException: Perl6/Pod␤ in (src/vm/jvm/ModuleLoader.nqp:62)␤ in load_module (src/vm/jvm/ModuleLoader.nqp:52)␤ in load_module (gen/jvm/stage2/NQP.nqp:284)␤ in statement_control:sym<use> (gen/jvm/stage2/NQP.nqp:2087)␤ in !reduce (g…»
( no output )
moritz missing build or install step in nqp-j? 14:05
FROGGS moritz: no, Perl6::Pod (from rakudo) is just installed elsewhere, even when it is an nqp module 14:06
FROGGS right, it is installed to nqp/install/languages/perl6/lib/Perl6 but should be in nqp/install/languages/nqp/lib/Perl6 14:07
FROGGS question is: should I fix that or should we do this when cleaning up that languages/ mess? 14:08
well, I just copied it over locally 14:10
[Coke] is dalek asleep? 14:51
[Coke] yawns. 15:05
FROGGS jnthn: don't nip at tea while looking at that: gist.github.com/FROGGS/33710fad7bd09cd2d7b4 15:06
moritz FROGGS: submit a bug report to icedtea/openjdk 15:08
moritz has had similar bugs in the past
FROGGS jnthn: that is the same code that gives us the STable conflict on moar 15:14
colomon :\ 15:15
FROGGS daxim: ping 15:19
diakopter FROGGS: heh jdk-source-code.googlecode.com/svn/...OopMap.cpp 15:21
programmer ascii art is ascii 15:22
FROGGS heeh 15:22
hehe*
jnthn FROGGS: ouch 15:30
.oO( Is Oop short for "Oops"? :) )
FROGGS yeah, was not what I had expected
tadzik ...yyyeeeah, that looks like a dependency graph alright
or whatever that was meant to be 15:31
diakopter onion
tadzik Right. Onion.
timotimo :) 15:32
silly hackers
FROGGS *g* 15:33
I'd guess that this kind of silly hackers even wear conference shirts on hackathons^^ 15:34
at*
tadzik hahaha
FROGGS :P
tadzik I should've taken a screenshot of that page
FROGGS yeah
timotimo that was the fashion blog thing?
tadzik my 5 minutes as an internet celebrity
yep 15:35
timotimo oh man.
diakopter to be fair, you guys did look pretty ridiculous
tadzik your face looks ridiculous
diakopter i know
moritz diakopter: heresy
diakopter oh, I meant pretty 15:36
tadzik hehe
timotimo common mistake
the keys are right next to each other
diakopter my fingers grew
tadzik ah, the post is there on the wayback machine, but without the images :| 15:38
timotimo .u checkmark 15:45
nothing?
yoleaux No characters found
timotimo ah, yes
2713
diakopter .u 999999999999999999999999999999999999999999999999999999999999999999999999999999 15:46
yoleaux No characters found
timotimo :) 15:47
FROGGS .u diakopter 15:48
yoleaux No characters found
[Coke] .u rmom 15:49
yoleaux No characters found
moritz .u dad 15:50
diakopter .u .u
FROGGS .u beef
yoleaux U+002E FULL STOP [Po] (.)
U+0075 LATIN SMALL LETTER U [Ll] (u)
U+0636 ARABIC LETTER DAD [Lo] (ض)
U+06FB ARABIC LETTER DAD WITH DOT BELOW [Lo] (ۻ)
U+FC22 ARABIC LIGATURE DAD WITH JEEM ISOLATED FORM [Lo] (ﰢ)
No characters found
[Coke] yoleaux: slow, yo? 15:51
tadzik .u boot 15:53
yoleaux U+1F3BF SKI AND SKI BOOT [So] (🎿)
U+1F462 WOMANS BOOTS [So] (👢)
tadzik wow, SKI AND SKI BOOT might be my favourite one, next to FRONT-FACING BABY CHICK
tadzik I wonder if I could name a Perl 6 module with U+1F43C 15:55
rindolf Hi all, using niecza - how do I do/require/use a filename so I have access to all its subroutines?
Ulti tadzik: those render as emoji graphics in OSX :S wat 15:58
diakopter r: module � {} 16:00
rindolf Is there any way I can run code interactively using niecza? 16:01
camelia rakudo-parrot c884dc, rakudo-jvm c884dc, rakudo-moar c884dc: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfile␤Unable to parse module definition␤at /tmp/tmpfile:1␤------> module ⏏� {}␤ expecting any of:␤ statement lis…»
rindolf Well, I tried copy+pasting the code, but it wanted to eval every line separately.
diakopter .u upside
yoleaux No characters found
diakopter o_O
colomon rindolf: interactively, like a REPL? 16:02
timotimo rindolf: yeah, that's a problem with rakudo as well
rindolf colomon: I mean I have some source code in a file I want to load it and execute some commands.
timotimo maybe we should introduce an explicit "line continuation character"
jnthn eval slurp 'file' 16:03
rindolf colomon: in order to test it.
jnthn Or if it's implemented, evalfile 'file'
colomon use filename doesn't work from the REPL?
timotimo as in "if this line ends in that character and without it, it'd not parse on its own, then strip the character, assk for another line and concatenate. then repeat"
actually, \ at the end of a line followed by a literal newline may even work without having to strip it
jnthn Oh, I misread
Yeah, use works in repl too :) 16:04
But not with filename.
And yeah, it won't import the subs.
rindolf Undeclared routine:
'eval' used at line 1
timotimo EVAL? :)
rindolf timotimo: thanks now I get a line of sub gen_perms(@set) { ... } 16:05
timotimo ah, yeah 16:05
timotimo on some of our backends, the repl of rakudo is very ... weird 16:06
colomon use module name works fine in Niecza.
in the REPL, I mean.
rindolf colomon: what's the exact incantation?
colomon niecza> use ABC::Utils
Nil
niecza> is-a-power-of-two(1/4)
True
colomon the module has to be in the library search path, I actually ran Niecza from ABC's lib directory so I could import ABC modules. 16:07
rindolf colomon: OK.
colomon: how does the module look like?
PerlJam rindolf: are you perhaps having problems with the "have access to all of its subroutines" portion of your request?
rindolf Does it end in .p6? 16:08
PerlJam: yes, I do.
Or .p6m?
colomon .pm6, no?
colomon always just uses .pl and .pm
PerlJam just uses .pm
hoelzro I think .pm is the winner these days
colomon hoelzro: but wouldn't your github tools prefer .p6 / .pm6? I've been pondering changing back.... 16:10
hoelzro colomon: they do, but I improved the detection over the weekend
everything roast, rakudo and rakudo-star/modules is successfully detected as Perl 6 (with two exceptions) 16:11
colomon rindolf: anyway, if you're going to use your code as a module, you probably need "is export" on the subs.
hoelzro it's sitting in a PR
rindolf OK, how do I put packages in the .pm file?
colomon: ah.
colomon hoelzro++
afk
rindolf niecza> use Euler 16:13
GLOBAL::Euler does not name any package
rindolf And I have Euler.pm in the same directory. 16:13
colomon it's possible you need to declare "module Euler" in Euler.pm for it to work? 16:14
jnthn Shouldn't be needed.
colomon typed afk and then forgot to actually leave the keyboard.
jnthn colomon: happens to the best of us :) 16:15
rindolf pastie.org/8675705 - what is wrong with this? 16:19
jnthn rindolf: Not sure, don't have a Niecza here, but just tried with perl6-m... gist.github.com/jnthn/907707cbb2e2768f1dc7 16:22
emergency social & 16:23
FROGGS rindolf: you can `require "foo.p6"` and then call sub indirectly by: `::("bar")(1, 2)`
since require does not import 16:24
rindolf: maybe you need to put a `module Euler;` in taht file? 16:25
rindolf FROGGS: no idea.
FROGGS froggs@TL02L-R8RXTCW-linux:~/dev/niecza$ echo '42' > Foo.pm 16:26
froggs@TL02L-R8RXTCW-linux:~/dev/niecza$ run/Niecza.exe -e 'use Foo'
Unhandled exception: GLOBAL::Foo does not name any package
but: 16:27
froggs@TL02L-R8RXTCW-linux:~/dev/niecza$ echo 'module Foo;' > Foo.pm
froggs@TL02L-R8RXTCW-linux:~/dev/niecza$ run/Niecza.exe -e 'use Foo'
froggs@TL02L-R8RXTCW-linux:~/dev/niecza$
rindolf: so, put a `module Euler;` right after the `use v6;`
rindolf FROGGS: OK, I did it - not it's working.
FROGGS not? 16:28
FROGGS bbiab 16:31
smls rosettacode.org/wiki/Constrained_ge...ity#Perl_6 16:40
^^ This Rosetta Code solution does not work for me on R* 2013.12, although the description says "Works with: Rakudo version 2010.09.17"...
has the syntax changed?
rindolf n: 100800.split('').elems 16:41
camelia ( no output )
rindolf n: say 100800.split('').elems
camelia niecza v24-109-g48a8de3: OUTPUT«8␤»
rindolf 8 is a strange result. 16:42
r: say 100800.split('').elems
camelia rakudo-parrot c884dc, rakudo-jvm c884dc, rakudo-moar c884dc: OUTPUT«6␤»
diakopter n: say 100800.split('').perl 16:43
camelia niecza v24-109-g48a8de3: OUTPUT«["", "1", "0", "0", "8", "0", "0", ""].list␤»
smls n: 100800.comb.perl
camelia ( no output )
jercos n: say 100800.Str.split('').perl
camelia niecza v24-109-g48a8de3: OUTPUT«["", "1", "0", "0", "8", "0", "0", ""].list␤»
jercos n: say 100800.Str.comb.perl
camelia niecza v24-109-g48a8de3: OUTPUT«["1", "0", "0", "8", "0", "0"].list␤» 16:44
TimToady smls: works if you change .perl to .Str, so looks like the .perl/.gist are not getting autogenerated 16:45
TimToady well, .Str tells you it has a yummy, but doesn't show the insides 16:47
rindolf TimToady: hi. 16:48
TimToady howdy
TimToady will not be too coherent today, due to something fluish (despite a flu shot) 16:50
PerlJam Despite or because of? :) 16:50
PerlJam TimToady: In any case ... may your fluishness be short and your health return quickly. :-) 16:51
smls perl6: role A[::T] { has T $.x }; class B does A[Int] { }; say B.new.x.WHAT.Str; 16:59
camelia rakudo-moar c884dc: OUTPUT«Cannot invoke null object␤ in block at /tmp/tmpfile:1␤␤»
..niecza v24-109-g48a8de3: OUTPUT«===SORRY!===␤␤GLOBAL::T does not name any package at /tmp/tmpfile line 1:␤------> role A[::T⏏] { has T $.x }; class B does A[Int] { ␤␤A type must be provided at /tmp/tmpfile line 1:␤------> role…»
..rakudo-parrot c884dc, rakudo-jvm c884dc: OUTPUT«No such method 'Str' for invocant of type 'T'␤ in block at /tmp/tmpfile:1␤␤»
FROGGS >.< 17:00
dalek rlito/gh-pages: 983e411 | (Flavio S. Glock)++ | / (9 files):
Create gh-pages branch via GitHub
17:33
dalek rlito/gh-pages: 9e959c1 | (Flavio S. Glock)++ | CNAME:
Perlito - page - add CNAME file
17:43
rlito/gh-pages: 904110a | (Flavio S. Glock)++ | CNAME:
Perlito - page - add CNAME file
17:46
timotimo ooh perlito! 18:05
skids realizes how hard it is to find that specced hard-quote square corner char in the docs when he doesn't have a sample to cut from. 18:25
[Coke] r: say "hi" ~~ "hi" 18:39
camelia rakudo-parrot c884dc, rakudo-jvm c884dc, rakudo-moar c884dc: OUTPUT«True␤»
[Coke] r: say ("hi" ~~ "hi").perl
camelia rakudo-parrot c884dc, rakudo-jvm c884dc, rakudo-moar c884dc: OUTPUT«Bool::True␤»
[Coke] bah.
moritz need a regex 18:40
r: say 'hi' ~~ /h/
camelia rakudo-parrot c884dc, rakudo-jvm c884dc, rakudo-moar c884dc: OUTPUT«「h」␤␤» 18:40
moritz r: say 'hi' ~~ /(h)/
camelia rakudo-parrot c884dc, rakudo-jvm c884dc, rakudo-moar c884dc: OUTPUT«「h」␤ 0 => 「h」␤␤»
moritz ... with a capture :-)
timotimo r: say 'hi' ~~ /<alpha>/
camelia rakudo-parrot c884dc, rakudo-jvm c884dc, rakudo-moar c884dc: OUTPUT«「h」␤ alpha => 「h」␤␤»
timotimo (implicit capture)
moritz used fewer chars :-) 18:41
timotimo did it more general 18:42
FROGGS p: sub a(\a) { if a == 1 { 1 } else { if a == 2 { 2 } elsif a == 3 { 3 } else { 4 } } }; say a($_) for ^5 18:47
camelia rakudo-parrot c884dc: OUTPUT«4␤1␤2␤3␤4␤»
FROGGS k
FROGGS nqp: sub a() { sub b() { 42 }; b() } 19:04
camelia ( no output )
FROGGS nqp: sub a($a, $b, $c) { sub b() { 42 }; b(1, 2, 3) } # that fails to parse here
camelia ( no output ) 19:05
FROGGS weird 19:05
[Coke] hurls the quest: questhub.io/realm/perl/quest/52e802...996000001b 19:17
(crap, hoelzro has outpaced me) 19:18
Util #ps in 3m 19:27
colomon Util! o/ 19:29
Util colomon: \o 19:30
[Coke] colomon: 49 niecza failures in roast. 19:31
colomon [Coke]: running make spectest now 19:37
psch hi #perl6 20:12
[Coke] hio. 20:13
timotimo hello mister ə :) 20:14
psch .u throws_like 'class A { method b { Q<b> } }; my $a = A.new; my $b = &A::b.assuming($a); $b();', X::Method::NotFound, method => { m/'assuming'/ }, private => { $_ === False };
whoops
my bad
rindolf Hi all. With www.shlomifish.org/Files/files/code/Euler.pm if I do "use Euler" in ./perl6-j in Rakudo c884dc10f273b9e201dbf90ea6c5bd739a7ff3a7 I get many «Method 'count' not found for invocant of class 'Parcel'» one after the other. 20:15
psch .u ə
because maybe the name helps me understand the reference... :)
timotimo the bot doesn't seem to be answering? 20:16
psch no, apparently not
you'll have to explain it yourself timotimo 20:17
geekosaur yoleaux went missing again
psch also, am i using rt badly or are there no unresolved [LHF] anymore? 20:17
timotimo ə is the ipa symbol for a schwa
i think we're short on LHF :(
psch oh, right 20:18
i used to know a bit IPA
well, still 35 testneeded! :)
right, RT #76400 was quite high up on my list 20:19
synopsebot Link: rt.perl.org/rt3//Public/Bug/Displa...l?id=76400
psch r: $foo:: = 42; say $foo::;
camelia rakudo-parrot c884dc, rakudo-jvm c884dc, rakudo-moar c884dc: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfile␤Variable '$foo' is not declared␤at /tmp/tmpfile:1␤------> $foo::⏏ = 42; say $foo::;␤ expecting any of:␤ post…»
psch std: $foo:: = 42; say $foo::
camelia std 09dda5b: OUTPUT«ok 00:01 124m␤»
psch the behavior as in the last but one comment is desired i assume, although i don't quite understand the semantics 20:20
it's an assignment directly into the namespace?
timotimo where are jnthn's garbage collector talk slides again? o_O 20:25
psch jnthn.net/papers/2013-bs-secret-life-of-gc.pdf # this was the first hit on google for 'jnthn garbage collectors perl6' 20:27
it does look like it deals with garbage collectors! 20:28
timotimo thank you! 20:30
damn it :)
i looked at both 6guts and jnthn.net and didn't find it on either m)
now i feel stupid for not looking into the "papers" section (or google it)
psch i do that too, quite often, especially here 20:31
feeling stupid that it :P
timotimo :3 20:32
we get promoted into different environments until we no longer never feel stupid
(or promote ourselves)
[Coke] other low hanging fruit: turn rakudo todos/skips with no RT into real tickets. 20:35
(just give a shout on channel if you're going through a section so we don't duplicate effort)
e.g. anything marked "nom regression" or "nigh" needs a ticket by this point.
psch [Coke]: any hints/tips/tricks on how to find out if there's a ticket? or should i just rely on "there's no ticket number near the skip/todo" as a heuristic? 20:42
raydiak :q 20:44
hugme hugs raydiak, good vi(m) user!
raydiak ugh
I have a really hard time keeping my windows straight lately
PerlJam that's okay, curved windows are the future! 20:45
raydiak that's it, I'm just ahead of the curve :) 20:46
psch ahead of the pack, out of the straight into the curve
raydiak imagines a perl6 window manager with no straight lines and race cars running around the resize border... 20:47
psch U+26D0, right 20:51
[Coke] psch: you got it. "no rt near this comment means no rt". you can do a search to see if it's covered by a ticket, of course. 20:52
psch [Coke]: right, thanks. i'm in S03-operators/precedence.t right now, for RT #116100
synopsebot Link: rt.perl.org/rt3//Public/Bug/Displa...?id=116100
[Coke] doesn't have to be mentioned IN the todo/skip message, but if there is one, it's usually right before it.
timotimo is back to hacking smallbigint for a bit 21:02
FROGGS C:\v5>perl6-m -e "use v5; use Config" 21:05
===SORRY!===
STable conflict detected during deserialization.
FROGGS (at least it is consistent) 21:05
timotimo aaw :( 21:11
FROGGS timotimo: my hope was that it does only break on my linux 21:17
[Coke] largetinystring 21:18
dalek rl6-roast-data: da335a0 | coke++ | / (2 files):
today (automated commit)
[Coke] ^^ first day we've had no moar progress in a while 21:19
hoelzro to whom do I send my signed CLA? 21:20
timotimo karen@ ... perlfoundation.org i believe 21:21
hoelzro alrighty 21:22
timotimo cool :) 21:23
psch create-moar-runner.pl fails for me 21:25
gist.github.com/peschwa/8676843
did i forget to update something? 21:26
timotimo in those cases, running Configure.pl again oftentimes helps
you have to manually re-do it every time it changes
and i think it recently did
psch Configure.pl just says "using [...]bin/nqp-{j,m}" 21:27
i'll just rerun make clean && make && make install anyway 21:28
FROGGS psch: yeah, you have to reconfigure after jnthn++'s patch 21:38
otherwise the script that creates the runner gets two args less
timotimo psch: Configure.pl implicitly forces the next make run to start from zero, i believe
FROGGS true 21:39
timotimo ooh, that reminds me 21:39
was it [Coke] who started working on that tcl compiler atop nqp after the RaNIW?
"partcl"?
dalek ast: db7936e | (Pepe Schwarz)++ | S03-operators/precedence.t:
Added test for RT #116100.
21:48
synopsebot Link: rt.perl.org/rt3//Public/Bug/Displa...?id=116100
[Coke] timotimo: ayup
it was before then, IIRC.
timotimo [Coke]: any news? 21:49
(not that i have any interest in tcl itself, as i've never written a single line of code in it)
[Coke] "i really hope I can find tuits to work on it again" 21:52
timotimo fair enough :)
[Coke] I had started moving it over to default to the jvm. Perhaps I will re-switch it to moar.
it's hard to stay motivated, I've had to rewrite that damn thing from scratch several times. 21:53
with much help from pmichaud++ the time before last!
"why, I remember when it was a p5 script that acted like a parrot assembler!"
timotimo: what made you think of it? 21:54
nwc10 um, isn't the point of NQP that you write it once and it runs on Parrot, JVM and Moar (and maybe JS at some point)? Or did you need custom ops?
timotimo colomon: a person named "particle" joined this channel :) 21:55
[Coke] nwc10: there have been MANY nqps. :P 21:56
it was written for the original one bundled with parrot first. 21:57
nwc10 OK, that's at least 2 back
but maybe I lost count
[Coke] that was not a trivial upgrade. I never got a fully working version running on nqp-current.
nwc10 the *current* NQP which appears to be the final one
aha.
timotimo :D
[Coke] nwc10: yes, I've been hacking on this since just after parrot started.
the pure-PIR version is the most complete.
timotimo that sounds scary
PerlJam [Coke]: does it still run on modern parrot? 21:58
[Coke] I was running a substantial version of the tcl test suite with it.
[Coke] PerlJam: it was difficult to keep running against the moving target of parrot. Some stuff broke years ago and I couldn't get them fixed. 21:59
I don't know how much of it still works against parrot 5.
... if I get it working against nqp-latest, then i won't care.
timotimo isn't there parrot 6 now? :)
hoelzro yes 22:00
just came out!
tadzik PERL 6.0.0 RELEASED
hoelzro is there a Perl 6 builtin to get the current time? (preferably in millis/micros) 22:01
PerlJam r: now 22:02
camelia ( no output )
PerlJam r: say now
tadzik r: say nqp::time_n
camelia rakudo-moar c884dc: OUTPUT«Instant:1390946576.829475␤»
..rakudo-jvm c884dc: OUTPUT«Instant:1390946576.416␤»
..rakudo-parrot c884dc: OUTPUT«Instant:1390946575.591308␤»
rakudo-jvm c884dc: OUTPUT«1.390946543434E9␤»
..rakudo-moar c884dc: OUTPUT«1390946543.8345␤»
..rakudo-parrot c884dc: OUTPUT«1390946542.78067␤»
tadzik jvm, seriously?
PerlJam (the mismatch between calemia and the repl is always annoying)
er, camelia 22:03
.oO( what a calemity! )
timotimo m) 22:03
geekosaur calemny!
hoelzro thanks PerlJam
[Coke] oh. I have 3 hours to kill tonight. partcl's as good as anything. :) 22:06
PerlJam looks at partcl's commit log 22:08
psch forgot the [BUG] in his first RT ticket 22:09
...can i still put it there?
PerlJam oh, you were working on it as recently as September. [Coke]++ keeping the fire burning
psch i don't see any "edit" button-or-similar, and seeing as RT can be used via mail i guess i'm out of luck on this one... 22:10
psch RT #121107, for reference 22:12
synopsebot Link: rt.perl.org/rt3//Public/Bug/Displa...?id=121107
timotimo gnite 22:13
diakopter o/
timotimo psch: you have to click the links at the top right
like "basic" i think
it's not very intuitive
o/
FROGGS psch: rt.perl.org/Ticket/Modify.html?id=121107 # does that link work for you? 22:14
diakopter it's the best at being unintuitive
psch FROGGS: yes, modify works, thanks 22:16
psch needs to get copy&paste between host and guest working 22:17
gists aren't a great way to transfer camelia output :P
smls How can I get at members of an enum? 22:18
i.e. given Bool, return the parcel (Bool::False, Bool::True) 22:19
FROGGS p: say Bool::
camelia rakudo-parrot c884dc: OUTPUT«("False" => Bool::False, "True" => Bool::True).hash␤»
smls p: say Bool::.values.perl 22:20
camelia rakudo-parrot c884dc: OUTPUT«(Bool::False, Bool::True).list␤»
smls ok, thanks 22:21
psch r: say 1, 2 Z 3, 4 X 5, 6 # is this related to the bug i just created? STD gives the same error it gives for RT #121107 22:23
synopsebot Link: rt.perl.org/rt3//Public/Bug/Displa...?id=121107
camelia rakudo-parrot c884dc, rakudo-jvm c884dc, rakudo-moar c884dc: OUTPUT«1 3 2 5␤»
hoelzro wow, Sets are almost 5x slower than Arrays for iteration...
psch std: 1, 2 Z 3, 4 X 5, 6 # for reference
camelia std 09dda5b: OUTPUT«===SORRY!===␤"Z" and "X" are non-associative and require parens at /tmp/BAVftp1BAm line 1:␤------> 1, 2 Z 3, 4 X ⏏5, 6 # for reference␤Check failed␤FAILED 00:01 124m␤»
psch i'll just stuff it in there and correct to title to refer to list associativity in general 22:25
psch unless someone has an argument why that's wrong... :) 22:26
psch is off to bed o/ 22:47