»ö« 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
00:04 dmol left, geekosaur joined 00:07 treehug88 left 00:09 treehug88 joined 00:12 rylinaux left 00:13 virtualsue left 00:14 treehug88 left
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
00:27 denis_boyun left 00:35 mavcunha joined 00:40 btyler_ joined 00:42 treehug88 joined 00:44 btyler left 00:49 dayangkun_ joined, skids joined 00:51 dayangkun left 00:52 prevost left 00:57 rylinaux joined 01:03 kst left 01:31 kst joined 01:32 rurban1 left 01:40 varna joined 01:42 havenwood left 01:53 treehug88 left 01:55 kaare__ left 02:00 kbaker joined 02:04 thou left 02:06 thou joined 02:10 colomon left, treehug88 joined 02:16 treehug88 left, colomon joined 02:26 thou left 02:27 thou joined 02:34 rurban1 joined 02:38 rurban1 left 02:44 rurban1 joined
dalek ecs: 33f0256 | larry++ | S05-regex.pod:
clarification from TheDamian++
02:50
02:56 kbaker left
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?
03:13 thou left 03:20 treehug88 joined 03:25 skids left 03:29 skids joined 03:30 treehug88 left 03:31 mavcunha left, jnap left 03:40 xenoterracide left 03:41 krunen left 03:43 cognominal left 03:44 cognominal joined, treehug88 joined 03:53 aindilis joined 03:58 treehug88 left, kaleem joined 04:12 araujo joined
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
04:26 xenoterracide joined
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!
04:29 kaare__ joined 04:32 jnap joined 04:36 jnap left 04:43 krunen joined 04:49 kurahaupo_mobile joined
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
05:00 btyler_ left
skids Yes it seems that there is less interest in programming due probably to recession and/or dotcom afterglow fading. 05:01
05:02 BenGoldberg left
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
05:24 varna left 05:28 kurahaupo_mobile left 05:31 skids left, SamuraiJack joined 05:35 kaleem left 05:44 btyler joined 05:46 treehug88 joined 05:48 rurban1 left 05:53 treehug88 left 05:54 rurban1 joined 06:28 kaleem joined 06:37 [Sno] left 06:44 rurban1 left
raydiak ls 06:45
06:50 odoacre_ left, dmol joined
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
07:11 FROGGS joined 07:15 darutoko joined 07:26 berekuk joined 07:29 brrt joined 07:34 virtualsue joined
jnthn o 07:42
uh, o/
teaching & 07:47
07:50 btyler left
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
07:55 berekuk left 08:01 virtualsue left 08:08 brrt left, brrt joined 08:12 zakharyas joined 08:17 sivoais left, sivoais joined, brrt left 08:18 brrt joined, itz_ left, sorear left 08:19 woolfy left 08:20 markov left, itz joined, sorear joined 08:21 Rix left, woolfy joined 08:22 markov joined
timotimo o/ from a desk 08:25
08:30 Rix joined, pecastro left 08:33 zakharyas left 08:38 Alula left
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
08:39 pdcawley joined
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
08:43 denis_boyun joined
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
08:45 zakharyas joined, zakalwe left, zakalwe joined, zakalwe left, zakalwe joined
tadzik hehe, /r/perl6 has its own troll :) 08:47
timotimo yup :)
08:51 Alula joined 09:04 Pleiades` left 09:05 rindolf joined 09:06 SamuraiJack left 09:07 FROGGS left 09:08 Pleiades` joined 09:15 sqirrel joined
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
09:47 dakkar joined 10:01 FROGGS joined 10:03 pecastro joined 10:07 darutoko left
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
10:28 sqirrel left 10:29 dakkar left
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
10:49 dakkar joined
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
10:51 darutoko joined 11:03 denis_boyun left
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 :-(
11:11 telex left
rindolf Can anyone help? 11:11
11:12 darutoko- joined, telex joined
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}␤»
11:14 darutoko left 11:15 [Sno] joined 11:18 sqirrel joined
rindolf tadzik: thanks. 11:21
11:24 djanatyn left 11:25 djanatyn joined 11:34 brrt left 11:38 krunen left, pecastro left, FROGGS left 11:44 sqirrel left
dalek pan style="color: #395be5">perl6-examples: ea0588e | (Shlomi Fish)++ | euler/prob031-shlomif.pl:
[Euler] Add solution for #31.
11:50
11:58 krunen joined, atroxaper joined 12:00 FROGGS joined 12:09 pecastro joined 12:19 djanatyn left, djanatyn joined 12:21 mavcunha joined
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
12:25 ribasushi left
tadzik thanks 12:27
12:28 SamuraiJack joined 12:30 djanatyn left
colomon done 12:31
12:31 djanatyn joined 12:32 djanatyn left 12:34 djanatyn joined, sqirrel joined 12:35 ribasushi joined 12:40 djanatyn left 12:42 djanatyn joined 12:45 sqirrel left 12:47 rindolf left 12:51 treehug88 joined 12:59 sqirrel joined, sqirrel left, sqirrel joined 13:00 treehug88 left, sqirrel left, sqirrel joined 13:06 djanatyn left, djanatyn joined 13:07 rindolf joined 13:17 djanatyn left, denis_boyun joined 13:19 djanatyn joined 13:21 djanatyn left 13:22 djanatyn joined, sqirrel left 13:24 djanatyn left 13:26 djanatyn joined 13:28 djanatyn left 13:29 djanatyn joined 13:38 djanatyn left 13:39 djanatyn joined 13:40 kaleem left 13:41 lizmat left, djanatyn left 13:43 djanatyn joined, djanatyn left 13:48 Tene left, Tene joined 13:49 djanatyn joined 13:53 djanatyn left 13:54 djanatyn joined 13:55 djanatyn left 13:57 denis_boyun__ joined, denis_boyun left, djanatyn joined 14:02 djanatyn left
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 )
14:03 Tene left
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
14:06 araujo left 14:07 araujo joined
FROGGS right, it is installed to nqp/install/languages/perl6/lib/Perl6 but should be in nqp/install/languages/nqp/lib/Perl6 14:07
14:08 kaleem joined
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
14:11 djanatyn joined, Tene joined, Tene left, Tene joined 14:14 djanatyn left 14:20 Tene left 14:26 jnap joined 14:36 bluescreen10 joined 14:42 mavcunha left 14:43 krunen left 14:44 mavcunha joined 14:45 Tene joined, Tene left, Tene joined 14:46 btyler joined 14:48 kbaker joined 14:49 treehug88 joined
[Coke] is dalek asleep? 14:51
14:52 ajr joined, ajr is now known as Guest29714, Guest29714 is now known as ajr_ 15:00 treehug88 left 15:04 djanatyn joined 15:05 djanatyn left
[Coke] yawns. 15:05
15:06 djanatyn joined
FROGGS jnthn: don't nip at tea while looking at that: gist.github.com/FROGGS/33710fad7bd09cd2d7b4 15:06
15:07 djanatyn left, treehug88 joined, djanatyn joined
moritz FROGGS: submit a bug report to icedtea/openjdk 15:08
moritz has had similar bugs in the past
15:09 thou joined 15:10 djanatyn left 15:11 Alina-malina left 15:12 Alina-malina joined, djanatyn joined
FROGGS jnthn: that is the same code that gives us the STable conflict on moar 15:14
colomon :\ 15:15
15:15 treehug88 left
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
15:22 kaare__ left
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
15:40 djanatyn left 15:41 djanatyn joined 15:42 djanatyn left 15:43 djanatyn joined, djanatyn left
timotimo .u checkmark 15:45
nothing?
yoleaux No characters found
timotimo ah, yes
2713
15:45 djanatyn joined
diakopter .u 999999999999999999999999999999999999999999999999999999999999999999999999999999 15:46
yoleaux No characters found
timotimo :) 15:47
FROGGS .u diakopter 15:48
yoleaux No characters found
15:49 Alina-malina left
[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
15:51 djanatyn left
[Coke] yoleaux: slow, yo? 15:51
15:51 djanatyn joined, krunen joined
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
15:54 Alina-malina joined
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?
15:56 djanatyn left 15:57 djanatyn joined
Ulti tadzik: those render as emoji graphics in OSX :S wat 15:58
16:00 kaleem left
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? :)
16:05 djanatyn left
rindolf timotimo: thanks now I get a line of sub gen_perms(@set) { ... } 16:05
16:05 btyler_ joined
timotimo ah, yeah 16:05
16:05 Tene left
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
16:07 btyler left
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
16:12 djanatyn joined
rindolf niecza> use Euler 16:13
GLOBAL::Euler does not name any package
16:13 Tene joined, Tene left, Tene joined
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
16:16 sivoais left 16:17 zakharyas left, araujo left
rindolf pastie.org/8675705 - what is wrong with this? 16:19
16:20 sivoais joined
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.
16:25 daniel-s_ joined
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
16:31 rurban1 joined
FROGGS bbiab 16:31
16:31 sivoais left, FROGGS left 16:36 sivoais joined 16:38 smls joined
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
16:44 sivoais left
TimToady smls: works if you change .perl to .Str, so looks like the .perl/.gist are not getting autogenerated 16:45
16:47 btyler_ left
TimToady well, .Str tells you it has a yummy, but doesn't show the insides 16:47
rindolf TimToady: hi. 16:48
TimToady howdy
16:49 btyler joined
TimToady will not be too coherent today, due to something fluish (despite a flu shot) 16:50
16:50 FROGGS joined
PerlJam Despite or because of? :) 16:50
16:51 ajr_ left
PerlJam TimToady: In any case ... may your fluishness be short and your health return quickly. :-) 16:51
16:54 jeffreykegler joined
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
17:06 daniel-s_ left 17:10 FROGGS left 17:19 atroxaper left 17:21 sivoais joined 17:24 FROGGS joined, fhelmberger joined 17:28 fhelmberger left 17:30 silug left
dalek rlito/gh-pages: 983e411 | (Flavio S. Glock)++ | / (9 files):
Create gh-pages branch via GitHub
17:33
17:38 pecastro left 17:40 jnap left 17:41 silug joined
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
17:47 treehug88 joined 17:54 sivoais left 17:56 dakkar left 17:59 sivoais joined 18:00 sivoais left, sivoais joined, sivoais left 18:03 kst left
timotimo ooh perlito! 18:05
18:06 skids joined 18:13 rindolf left, tgt joined, rindolf joined 18:16 benabik joined 18:20 Sqirrel joined 18:22 spider-mario joined 18:23 ajr joined 18:24 ajr is now known as Guest29834, Guest29834 is now known as ajr_
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
18:37 ajr_ left
[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/
18:40 zby_home joined
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
18:41 jnap joined
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
18:50 yoleaux left 18:53 berekuk joined 18:55 sivoais joined 18:57 airdisa joined, darutoko- left 19:01 pecastro joined
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
19:05 ajr joined
FROGGS weird 19:05
19:05 ajr is now known as Guest24655, Guest24655 is now known as ajr_ 19:11 Alina-malina left 19:14 Alina-malina joined 19:17 SamuraiJack left
[Coke] hurls the quest: questhub.io/realm/perl/quest/52e802...996000001b 19:17
(crap, hoelzro has outpaced me) 19:18
19:23 bjz_ joined, bjz left
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
19:37 jeffreykegler left 19:39 tgt left 19:55 tgt joined 19:58 rurban2 joined 20:01 rurban1 left 20:12 psch joined, kbaker left
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
20:17 FROGGS left
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.
20:37 xenoterracide left 20:39 Sqirrel left 20:41 FROGGS joined
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
20:42 kbaker joined
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
20:51 virtualsue joined, sqirrel joined
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.
20:53 zby_home left, YannosB joined 20:55 YannosB left 21:02 dayangkun_ left
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.
21:05 Entonian joined
FROGGS (at least it is consistent) 21:05
21:07 rindolf left 21:10 smls left, smls joined
timotimo aaw :( 21:11
21:14 sqirrel left 21:16 dayangkun_ joined
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)
21:19 kaare__ joined
[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
21:21 Entonian left
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
21:26 yoleaux joined, ChanServ sets mode: +v yoleaux
psch Configure.pl just says "using [...]bin/nqp-{j,m}" 21:27
i'll just rerun make clean && make && make install anyway 21:28
21:28 [particle]1 left 21:32 xenoterracide joined 21:36 bluescreen10 left
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
21:39 [particle] joined
timotimo ooh, that reminds me 21:39
was it [Coke] who started working on that tcl compiler atop nqp after the RaNIW?
"partcl"?
21:45 smls left, smls joined
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
21:55 airdisa left 21:56 treehug88 left
[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.
21:58 denis_boyun__ left
[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
22:01 treehug88 joined
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! )
22:03 spider-mario left
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
22:12 mavcunha left
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
22:17 mbcd joined
psch needs to get copy&paste between host and guest working 22:17
gists aren't a great way to transfer camelia output :P
22:17 skids left
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␤»
22:24 benabik left
psch i'll just stuff it in there and correct to title to refer to list associativity in general 22:25
22:25 kbaker left
psch unless someone has an argument why that's wrong... :) 22:26
22:26 tgt left 22:29 mbcd left, mbcd joined 22:33 mbcd left 22:34 mbcd joined 22:35 mbcd left 22:37 [particle]1 joined 22:38 [particle] left
psch is off to bed o/ 22:47
22:47 psch left 22:48 BenGoldberg joined 22:51 xenoterracide left 23:09 mavcunha joined 23:10 Alula left 23:11 rurban2 left 23:12 treehug88 left 23:13 treehug88 joined 23:17 rurban1 joined 23:19 dmol left, rurban1 left 23:20 airdisa joined, denis_boyun joined 23:23 tgt joined, jeffreykegler joined, Alula joined 23:24 airdisa left, berekuk left 23:27 tgt left 23:31 treehug88 left 23:40 lizmat joined, virtualsue left, mavcunha left, xinming joined 23:42 denis_boyun left 23:43 xinming_ left 23:52 benabik joined