»ö« 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. |
|||
00:07
Akagi201 joined
00:12
Akagi201 left
00:13
virtualsue left
|
|||
[Coke] waves from... Iowa | 00:18 | ||
00:22
risou is now known as risou_awy,
risou_awy is now known as risou
00:36
dmol left
00:38
ivanshmakov left,
ivanshmakov joined
|
|||
colomon | Writing lib/Math/ThreeD/Vec3.pm...done | 00:38 | |
Writing lib/Math/ThreeD/Mat44.pm...Segmentation fault (core dumped) | |||
(that's in a parrakudo smoke) | |||
01:03
Grrrr joined
01:04
woosley left
01:08
woosley joined
01:13
Su-Shee_ joined,
Sqirrel_ joined
01:16
Sqirrel left,
Su-Shee left
01:17
telex left,
klapperl joined
01:18
telex joined
01:20
klapperl_ left
01:22
raiph left
01:24
thou left
01:43
btyler joined
01:47
lucas joined
01:57
uniejo joined
02:07
ponbiki left
02:10
thou joined
|
|||
lucas | Hello, I made a little toy to help me run my implementations: | 02:13 | |
gist.github.com/lucasbuchala/a12a0...9920fc4369 | |||
02:15
ponbiki joined,
ponbiki is now known as Guest67868
02:16
kshannon_ joined
02:17
hoverboard joined,
kshannon left
02:20
lucas left
02:33
noganex_ joined
02:35
Akagi201 joined
02:36
noganex left
02:39
Akagi201_ joined
02:41
Akagi201 left
02:45
akagi201 joined
02:50
zengargo1le joined
02:52
zengargoyle left
02:54
cognominal__ joined
02:57
cognominal left
|
|||
dalek | rl6-bench: 8dc1c34 | (Geoffrey Broadwell)++ | minibenchmarks.pl: Reduce initial SCALE for rc-self-describing-numbers Rakudo handles this benchmark so slowly that this one test was easily dominating testing time. |
02:58 | |
rl6-bench: 8b08ec7 | (Geoffrey Broadwell)++ | / (4 files): Add rc-dragon-curve minibenchmark |
|||
rl6-bench: 6547ae8 | (Geoffrey Broadwell)++ | / (4 files): Add rc-9-billion-names minibenchmark |
|||
03:09
uniejo left
03:12
molaf_ left
03:21
atroxaper joined
03:26
kaare_ joined
03:31
atroxaper left
03:34
atroxaper joined
03:47
btyler left
03:52
atroxaper left,
atroxaper joined
03:55
raiph joined
03:57
atroxaper left
03:58
atroxaper joined
04:00
atroxaper left,
atroxaper joined
04:04
atroxaper left
04:06
rindolf joined
04:08
eMBee joined,
[Sno] left
04:14
felher left,
kaare_ left
04:28
lizmat left
04:29
woolfy left
04:30
woolfy joined,
lizmat joined
04:37
kaare_ joined
04:48
BenGoldberg left
04:51
atroxaper joined
|
|||
dalek | t--IRC: fb2cb3f | (Jarrod Funnell)++ | lib/Net/IRC/ (6 files): Merge the fixes from my commandhandler branch |
04:52 | |
t--IRC/new-handler: c24efc1 | (Jarrod Funnell)++ | lib/Net/IRC/ (3 files): Add events for quit/part. Clean up defaulthandler's user tracking |
|||
05:00
mr-foobar left
05:01
vendethiel left
05:11
donaldh joined
05:12
gfldex joined
|
|||
atroxaper | Good morning, #perl6 ! | 05:16 | |
donaldh | o/ atroxaper | 05:20 | |
atroxaper | donaldh: o/ | ||
I heed to use some string-template system. I mean 'Insert to string value by <%= key %>'. I think I can use some regex to find <%= ... %>. But how can I find all that pieces? | 05:24 | ||
moritz | atroxaper: how about using one of the several template engiens found on modules.perl6.org? | 05:25 | |
or else, use a global match | 05:26 | ||
m:g/.../, or $str.match(:g, $regex) | |||
05:27
raiph left
|
|||
atroxaper | Yes! Global search. Thank you. | 05:27 | |
I didn't think to find existent template system. But I'm going to look at them. | 05:28 | ||
05:37
donaldh left
05:43
mr-foobar joined
|
|||
atroxaper | My panda didn't install module for Rakudo Parrot, but did for MoarVM and JVM? | 05:46 | |
I have perl6 like perl6-m | 05:48 | ||
05:54
atroxaper left
05:56
brrt joined
05:57
[Sno] joined
06:00
REPLeffect joined
06:01
mr-foobar left,
atroxaper joined
06:11
mr-foobar joined
06:13
denis_boyun_ joined
06:15
mr-fooba_ joined
06:16
mr-foobar left
|
|||
timotimo | check that your $PATH is pointing at the correct perl6 perhaps? | 06:21 | |
and the correct panda binary as well; especially try head (which panda) | |||
atroxaper | $PATH is pointing to all perl6-* and perl6. perl6 -> perl6-m | 06:23 | |
timotimo | and the hashbang of the panda command? | 06:26 | |
atroxaper | #!/usr/bin/env perl6 | 06:28 | |
timotimo | can youexplain your problem a bit more? | ||
06:29
erdic left,
erdic joined
|
|||
atroxaper | I have installed Template::Mojo by panda install. And now if I write 'use Template::Mojo' and run per6-p I see that perl6 can't find that module. But perl6-m and -j works well. | 06:30 | |
timotimo | er ... panda should install it for only one of your perl6s | ||
atroxaper | And how can I install it for another? | 06:31 | |
timotimo | the best approach is probably using rakudobrew, you can "rakudobrew switch" very easily | ||
06:31
dayangkun joined
|
|||
atroxaper | Really? Where can I read about that? | 06:32 | |
timotimo | hmm, good question; the repository with it is in tadzik/rakudobrew | ||
atroxaper | Yes. I found it. Reading ;) | 06:33 | |
timotimo | we should quite possibly propagate information about rakudobrew closer to perl6.org and rakudo.org | 06:34 | |
atroxaper | It would be great! | 06:35 | |
06:40
Sqirrel_ left
06:43
mr-foobar joined
06:46
mr-fooba_ left
06:47
pdcawley left
06:50
pdcawley joined
06:52
thou left,
thou joined
06:53
atroxaper left
06:54
atroxaper joined
06:58
zakharyas joined,
atroxaper left
06:59
atroxaper joined
07:04
hoverboard left
07:06
woolfy left
07:07
lizmat left,
lizmat joined
07:11
atroxaper left,
atroxaper joined
|
|||
moritz | possibly a line on modules.perl6.org | 07:13 | |
and rakudo.org, yes | |||
maybe also mention it in rakudo's README | |||
07:15
fhelmberger joined
07:16
atroxaper left
07:20
FROGGS joined,
woolfy joined
07:22
Maddingu1 is now known as Maddingue
07:27
atroxaper joined
07:34
atroxaper left
07:35
atroxaper joined
07:39
atroxaper_ joined
07:40
atroxaper left,
atroxaper_ left
07:41
atroxaper joined
07:44
lizmat_ joined,
thou left
07:45
atroxaper left
07:46
lizmat left,
atroxaper joined
07:48
dmol joined
07:52
mr-foobar left
07:54
donaldh joined
07:55
mr-foobar joined
07:56
pecastro left
08:00
kaleem joined
|
|||
tadzik blushes | 08:07 | ||
FROGGS | hi tadzik | 08:08 | |
08:11
Su-Shee_ is now known as Su-Shee
08:25
dakkar joined
08:34
salv0 left,
salv0 joined
08:35
felher joined
08:45
chenryn joined
08:48
chenryn left
08:51
spider-mario joined
08:53
denis_boyun_ left
08:54
[1]chenryn joined,
virtualsue joined
08:55
chenryn joined,
[1]chenryn left
|
|||
atroxaper | I'he tried to install Rakudos with rakudobrew and I think it would be better to clone repositories with flag --depth, isn't it? | 09:01 | |
09:01
thou joined
|
|||
FROGGS | tadzik: that is for you --^ | 09:02 | |
09:05
thou left
|
|||
tadzik | oh, maybe | 09:14 | |
I never saw a problem with not doing that | 09:15 | ||
moritz | it just downloads more stuff | ||
you just can't do much with a shallow clone (a bit better in newer git versions) | 09:16 | ||
09:19
donaldh left
|
|||
atroxaper | tadzik: moritz: I just clone nqp three times :) And i thought that using --depth can allow to install all three backends faster in first time. | 09:19 | |
And that change don't require lots modification in rakudobrew. | 09:21 | ||
09:23
chenryn left
|
|||
atroxaper | tadzik: btw how can I uninstall panda? I have installed in by bootstrap. And now I install all by rakudobrew but panda runs from previous path. | 09:23 | |
tadzik | atroxaper: oh, manually :/ | 09:24 | |
remove .rakudobrew/<backend>/panda probably | |||
atroxaper | tadzik: no. Panda that I've installed by bootstrap.pl ) | 09:25 | |
moritz | atroxaper: maybe --reference <path-to-existing-repo> would be even faster | ||
git clone --reference <path> # that one | |||
tadzik | ah | 09:26 | |
09:26
Guest67868 is now known as ponbiki
|
|||
tadzik | atroxaper: well, it got installed to wherever your rakudo was, probably | 09:26 | |
'which panda' will tell you | |||
moritz | it then obtains objects from the reference repo | ||
09:27
pecastro joined
|
|||
atroxaper | moritz: yes! It would be best! | 09:27 | |
tadzik: if I remove panda from that path (which panda) then '> panda' said that can't find panda) Maybe there is some system variable with path to perl6? | 09:32 | ||
09:33
mst joined
|
|||
mst | WHY WAS I NOT ALREADY IN HERE | 09:33 | |
tadzik | I don't know a thing about your system variables :) | ||
mst pokes his IRC config with a stick | |||
tadzik | poke it with a large trout | ||
mst | I already am a large trout, evidently that didn't help | ||
tadzik | troo | 09:34 | |
09:35
denis_boyun joined
|
|||
atroxaper | tadzik: oh... sorry. I commented a part of my PATH variable in bash_profile. But forget about " ". Thank you :) | 09:36 | |
tadzik | :) You're welcome | 09:38 | |
FROGGS | mst: you missed all the fun in here :o) | ||
mst | FROGGS: I owe Liz and Wendy some cpantesters work | 09:39 | |
FROGGS | ohh, nice! | ||
mst | FROGGS: I did Rakudo::Star on CPAN, now it's time to do it again, properly | 09:40 | |
FROGGS | that reminds me that I wanted to write/port CPAN::Report::Metabase::Mumble in the very near future | ||
mst | FROGGS: also, Wendy stranded me in Schiphol for twenty four hours so I believe she volunteered to play secretary in response; she'll find that out tomorrow :) | ||
FROGGS | *g* | ||
mst: so is that about smoking the rakudo installation process? | 09:41 | ||
mst | FROGGS: and also making it installable as a cpan module | 09:42 | |
FROGGS | ohh, even nicer :o) | ||
mst | I did it with rakudo already | ||
just nobody doing release management ever used my work | |||
so this time, I redo it with instructions for stupid people | 09:43 | ||
(yes, I'm being an asshole, I'm drunk and tired :) | |||
09:43
mr-fooba_ joined
|
|||
FROGGS | :o) | 09:43 | |
your accent compensates all that :o) | 09:44 | ||
(at least according to $wife) | |||
09:45
mr-foobar left
|
|||
FROGGS | hmmm, there is stuff out there I didn't know: metacpan.org/source/MAGNOLIA/Enbld...udostar.pm | 09:46 | |
mst | I had to remove the old Rakudo::Star because it turns out it had package statements in common with core perl and was breaking the indices ;) | 09:49 | |
FROGGS | ewww | 09:55 | |
09:55
virtualsue left
09:57
brrt left
10:06
mr-fooba_ left,
mr-foobar joined
10:08
atroxaper left,
atroxaper joined
10:13
atroxaper left
10:16
mr-foobar left
10:17
atroxaper joined
10:20
brrt joined
10:24
mr-foobar joined
|
|||
atroxaper | tadzik++ for rakudobrew | 10:27 | |
woolfy | I stranded mst on schiphol for 24 hours? I seem to be a very bad person... In that case, I maybe should indeed play secretary for mst... | 10:28 | |
Of course I have no idea wht mst means. hen? When? WHEN??? | 10:29 | ||
10:30
chenryn joined
|
|||
dalek | t--IRC/new-handler: d413f30 | (Jarrod Funnell)++ | lib/Net/IRC/Event.pm: Whoops. s/ident/username/ |
10:30 | |
woolfy | But he will tell me today, so I will be prepared to be ashamed. | 10:38 | |
10:49
thou joined
10:54
thou left
10:59
brrt left
11:13
atroxaper left
11:14
atroxaper joined
11:18
uniejo joined,
atroxaper left
11:24
zengargoyle joined
11:27
zengargo1le left
11:28
Sqirrel joined
11:44
kaleem left
11:46
colomon left
11:59
mr-foobar left,
lucas__ joined
12:02
pdcawley left
12:04
colomon joined
12:08
uniejo left
12:09
atroxaper joined
12:15
pdcawley joined
12:17
mr-foobar joined
12:20
jnap joined
12:21
uniejo joined
12:27
silug left,
uniejo left,
guru joined,
ennio joined
12:28
uniejo joined,
guru is now known as Guest86392,
Guest86392 is now known as ajr_,
atroxaper left
12:29
atroxaper joined
12:31
woolfy left,
ennio left
12:32
chenryn left,
lizmat_ left
12:34
atroxaper left
12:36
Vlavv left
12:38
thou joined
|
|||
lucas__ | Hello channel! | 12:39 | |
FROGGS | hi lucas__ | ||
lucas__ | I'm trying to get my head around type constraints. Can you help me determine if the following statment is false or true? "You can only use type constraints in my/state/has declarations and in routine signatures; You can't use it with our and constant declarations and pointy blocks parameters." Did I get it right or wrong? | ||
12:40
lizmat joined
12:42
thou left
|
|||
FROGGS | m: -> Int $x { say $x }(42) | 12:43 | |
camelia | rakudo-moar a7b4cb: OUTPUT«42» | ||
FROGGS | m: -> Int $x { say $x }("a") | ||
camelia | rakudo-moar a7b4cb: OUTPUT«Type check failed in binding $x; expected 'Int' but got 'Str' in block at /tmp/P4VdNRTYAX:1» | ||
FROGGS | lucas__: so it works in pointies | ||
12:44
virtualsue joined,
pdcawley left
12:45
colomon left
12:46
raiph joined
|
|||
FROGGS | m: constant Int x = 42; | 12:47 | |
camelia | rakudo-moar a7b4cb: OUTPUT«===SORRY!=== Error while compiling /tmp/9R9w25wpCcMissing initializer on constant declarationat /tmp/9R9w25wpCc:1------> constant Int ⏏x = 42; expecting any of: statement list prefix…» | ||
12:47
pdcawley joined
|
|||
FROGGS | okay, that makes sense | 12:47 | |
lucas__ | FROGGS: it is good it work in pointy blocks :) | ||
FROGGS | "You can only use type constraints in my/state/has declarations and in routine signatures (including pointy blocks); You can't use it with our and constant declarations." | 12:48 | |
lucas__: pointy blocks are almost identical to subroutines | |||
12:48
Vlavv joined
|
|||
FROGGS | the only difference is that a return falls through | 12:48 | |
lucas__ | I was thinking more like "constant Int $x = 42;" But I agree it makes a strange sense to type a constant. | ||
FROGGS | m: constant $x = 42; | 12:49 | |
camelia | ( no output ) | ||
FROGGS | m: constant Int $x = 42; | ||
camelia | rakudo-moar a7b4cb: OUTPUT«===SORRY!=== Error while compiling /tmp/ZooPqXgHdmMissing initializer on constant declarationat /tmp/ZooPqXgHdm:1------> constant Int ⏏$x = 42; expecting any of: statement list prefi…» | ||
FROGGS | it wants to parse a name (or variable), so a type that looks like a name confuses it | ||
12:50
uniejo left
|
|||
lucas__ | yes, S03 says constants can't be used with signatures, because constant declarations already declare names in "type" space. | 12:51 | |
I guess only "our" scoped variable remains... | 12:52 | ||
12:52
lizmat left
12:53
brrt joined,
kaare_ left
12:57
lizmat joined,
uniejo joined
|
|||
FROGGS | timotimo: blog.yapcna.org/2014/06/23/yapc-is-...n-youtube/ | 12:59 | |
13:02
MilkmanDan left
13:03
MilkmanDan joined
13:05
lizmat left
13:10
FROGGS left
13:12
psch joined
|
|||
psch | hi #perl6 | 13:12 | |
13:13
uniejo left
|
|||
brrt | hi psch | 13:17 | |
13:18
uniejo joined
13:19
jnthn left
13:20
jnthn joined
|
|||
psch | hi brrt | 13:20 | |
brrt | how is it? :-) | ||
psch | i'm poking at Actions.nqp to try and figure out how to make tr/// actually work | 13:22 | |
fwiu, in smart-match context tr/// has to set its lhs to the result of .trans with the tr/// arguments as par, but return the number of changed or deleted characters | 13:23 | ||
so to compare the before and after i have to store the original lhs to the smart match somewhere; i think i have figured out how to do that now | |||
brrt | ok.. cool :-) | 13:24 | |
psch | what are you up to? | 13:25 | |
13:31
mr-foobar left
13:33
uniejo left
|
|||
brrt | i'm working on a bug in moarvm | 13:39 | |
basically, 'inline and jit doesn't work together very well yet' | |||
jnthn++ has already suggested the right solution | 13:40 | ||
psch | sounds a bit more involved than what i'm doing :) | 13:44 | |
13:45
dmol left
|
|||
brrt | no, not really :-) | 13:45 | |
just another language :-) | |||
13:45
btyler joined
|
|||
psch | i had had a look at something in moar recently, but got stuck in a spot where FROGGS got stuck as well; that combined with my lack of understand of moar and low confidence in my c knowledge made me put that aside | 13:45 | |
brrt | what did you want to fix? maybe i can help out | 13:46 | |
psch | that something was P6int without an explicit nativesize not having the right bitsize | ||
brrt | hmmm | ||
psch | i.e. on a 32bit machine 'my int $x' instantiates a P6int with 64bit, which is not to spec | ||
brrt | what would be the 'right' bitsize according to you? | ||
hmm | |||
psch | or rather, it doesn't limit to 32bit | ||
brrt | i believe its according to moarvm implementation, yes :-) | 13:47 | |
in nqp, my int $x makes a true native int, and those are always 64 bit wide in moarvm, basically because all registers are 64 bits wide | |||
yes, that is a pain point on 32 bits, no, we're very unlikely to ever fix that :-) | 13:48 | ||
that is to say | 13:49 | ||
i kind of know how to fix that | |||
but i don't think we should | |||
13:50
FROGGS joined
|
|||
psch | to be fair, the one point where i noticed it being a real issue is with NativeCall, i.e. the test suite tests non-specific int against long, which works on 64bit and fails on 32bit arch | 13:50 | |
brrt | hmmm | ||
psch | but then, interfacing with c code without explicit bit sizes for int is probably a bit not-so-great anyway | ||
brrt | ok, i see | ||
hmm, indeed | 13:51 | ||
i don't actually know how nativecall works, but i kind of imagine it being a pain on 32 bit | 13:52 | ||
what with the many different ABI's | |||
FROGGS | on the other hand you want to make it as easy as possible for the user | ||
13:52
bluescreen10 joined
|
|||
FROGGS | so we need to make that tests pass on 32bit, without modifying the test | 13:52 | |
13:53
uniejo joined
|
|||
brrt | hmmm | 13:53 | |
moritz | do we have all of int, int32, int64 available for nativecall? | ||
brrt | i don't know about nativecall :-) | 13:54 | |
FROGGS | moritz: yes | ||
13:54
kaare_ joined
|
|||
brrt | does explicitly passing int32 make nativecall do the right thing? | 13:55 | |
i.e. | |||
FROGGS | the test is about unpacking a C struct with a long inside using a class that has an Int attribute | ||
err, int | |||
brrt: yes | |||
brrt | hmmm | ||
FROGGS | only on 32bit of course | ||
brrt | hhow... wait, | ||
is long 32 bit on 32 bit platforms? | |||
13:55
thou joined
|
|||
FROGGS | for all to read: github.com/jnthn/zavolaj/issues/37 | 13:56 | |
brrt: yes, according to Perl -V | |||
brrt | o | ||
FROGGS | ö | ||
brrt | hmm | 13:57 | |
i suppose that treating int as int32 depending on platform is correct | |||
FROGGS | yes, but trying to do it that way makes it explode | 13:59 | |
so, I guess I did something stupid or missed something | |||
that is from my ubuntu 14.04 x86 VM: intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 | 14:01 | ||
my host: intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 | |||
14:01
nebuchadnezzar left
|
|||
brrt | hmmm | 14:02 | |
sorry, can't really help you right now | 14:03 | ||
14:05
dayangkun left
|
|||
FROGGS | LIVE: www.youtube.com/user/yapcna/featured | 14:05 | |
ARRRGGG! Live Streaming ist wegen Rechteproblemen in Deutschland leider nicht möglich. | |||
psch | FROGGS: yup :) | 14:06 | |
FROGGS | >.< | ||
that sucks | 14:08 | ||
psch | well there is proxtube | ||
PerlJam | someone should move a mic closer to TimToady or turn up the volume or something. | 14:09 | |
14:10
newbie_Perl6 joined
|
|||
psch | hm, there's no way for me to leverage the existing levenshtein implementation in World for comparing the tr/// result with the original input, is there? | 14:11 | |
FROGGS | psch++ # love you! :D | ||
psch | FROGGS: you're welcome :) | ||
14:12
newbie_Perl6_ joined,
prevost joined
14:14
newbie_Perl6 left
|
|||
newbie_Perl6_ | Can I get information about Regex? (something in pseudocode, for example) | 14:15 | |
token alpha / <[a..z]> / -----> alpha.self = (Regex.CharacterClass, ).List | |||
rule expr / <alpha>+ \+ <alpha>+ / -----> expr.self = (alpha.TokenPlus, '+'.Str, alpha.TokenPlus).List | |||
rule array / '[' <digit>* %% ',' ']' / -----> array.self = ('['.Str, digit.SeperatorPlus(','), ']'.Str).List | |||
moritz | newbie_Perl6_: no, they aren't introspectable | ||
cognominal__ | too bad we can't see the slides. | 14:16 | |
newbie_Perl6_ | I think it's useful~~~ | ||
14:16
uniejo left
14:18
kaleem joined,
colomon joined
14:20
newbie_Perl6 joined
|
|||
newbie_Perl6 | how about an introspectable regex? | 14:20 | |
14:20
newbie_Perl6_ left
|
|||
moritz | newbie_Perl6: if you prototype one, maybe it'll be specced | 14:21 | |
PerlJam | newbie_Perl6: what you mentioned earlier looks more like the AST than what I would call introspection. | ||
colomon | TimToady is on youtube live! | 14:23 | |
www.youtube.com/watch?v=mxLIQxSda0E | |||
14:24
newbie_Perl6 left
14:25
newbie_Perl6 joined
|
|||
newbie_Perl6 | Hello PerlJam, what's a introspectable regex? some idea? | 14:26 | |
14:26
ajr_ left
14:27
guru joined,
guru is now known as Guest86031,
treehug88 joined
14:28
kurahaupo joined,
Guest86031 is now known as ajr_,
ajr_ left
|
|||
newbie_Perl6 | Hello moritz. I just think it's a cool thing, but the implemetation is too hard for me. | 14:29 | |
14:30
ajr joined,
ajr is now known as Guest63362,
Guest63362 is now known as ajr_,
atroxaper joined
|
|||
hoelzro | morning #perl6 | 14:31 | |
14:31
dmol joined
|
|||
moritz | newbie_Perl6: you could try, and ask for help when you get stuck | 14:32 | |
PerlJam | hoelzro: greetings | ||
moritz | newbie_Perl6: I also think it's cool, but it's way down my priorities list | ||
psch | hi hoelzro | 14:33 | |
lucas__ | anyone watching larry live? what kind of vim script is he using? :D | ||
colomon | am watching, no idea about the vim | ||
PerlJam | TimToady's talk mentions several principles that we've seen before, but I get the feeling that an update (or perhaps an addendum) to the Perl 6 Design Principles document is in order | ||
14:33
newbie_Perl6 left
14:34
newbie_Perl6 joined
14:35
atroxaper left
|
|||
newbie_Perl6 | moritz: I will try. | 14:36 | |
PerlJam | newbie_Perl6++ trying is good. | 14:37 | |
newbie_Perl6 | If someone interested in it too, please try it too. | ||
PerlJam, some intereting idea? | 14:38 | ||
hoelzro | so I tried creating a custom RoleHOW to monitor the "closing" of a class, but it seems that specialize/compose are called on declaration, and add_method on the classHOW is called afterwards | 14:39 | |
14:39
newbie_Perl6_ joined
|
|||
hoelzro | (I'm trying to create some postconditions for consumers of my role) | 14:39 | |
newbie_Perl6_ | sorry, bad internet connection | 14:40 | |
14:40
newbie_Perl6_ left
14:42
newbie_Perl6 left
|
|||
hoelzro | also, I couldn't figure out how to change the class/role HOW objects from within the same file; I had to create another file and use EXPORTHOW. If someone could guide me on how to do that, that would be great =) | 14:44 | |
14:46
dmol1 joined,
dmol left
14:48
uniejo joined
14:53
uniejo left,
uniejo joined
|
|||
colomon | hmm, what to watch next from YAPC? | 14:55 | |
lucas__ | colomon: thanks for sharing the link! | ||
colomon | you're welcome | 14:56 | |
14:58
denis_boyun left,
denis_boyun joined
15:01
nebuchad` joined
|
|||
cognominal__ | TimToady decided not to unwrap the christmas presents today. These presents are future, or unevenly distributed. | 15:02 | |
15:02
nebuchad` is now known as nebuchadnezzar
|
|||
FROGGS | TimToady++ # anyway :o) | 15:05 | |
I enjoyed the talk | 15:06 | ||
cognominal__ | yes, it opened a window to his thought process. | 15:07 | |
15:08
denis_boyun left
|
|||
jnthn | For regex introspective stuff, my github.com/jnthn/grammar-generative does evil to actually capture the AST produced as they parse. | 15:08 | |
15:08
kurahaupo left
|
|||
moritz | .tell newbiew_Perl6 about github.com/jnthn/grammar-generative | 15:09 | |
yoleaux | moritz: I'll pass your message to newbiew_Perl6. | ||
jnthn | I don't know if (a) the code still works, and (b) if it's comprehensible. :) | ||
And (c) if I understand it any more :P | |||
hoelzro: When I want to do stuff at compose time I just replace ClassHOW with something that has a method compose($obj { ...checks/stuff... callsame(); post-compose stuff } | 15:12 | ||
With that subclassing ClassHOW of course. | |||
hoelzro | jnthn: right, but then users of my library would have to use that ClassHOW that I've built | 15:13 | |
dalek | kudo-star-daily: e8442a6 | coke++ | log/ (13 files): today (automated commit) |
||
rl6-roast-data: 48aec67 | coke++ | / (5 files): today (automated commit) |
|||
jnthn | And...the other way they have to use the RoleHOW you built? | ||
hoelzro | jnthn: this is what I have in mind: gist.github.com/hoelzro/d552753137568ac5285c | ||
well, apps consume the App::Subcommander role | |||
so I have control over the latter | |||
so I figured I could detect with a custom RoleHOW when the role is composed into a class | 15:14 | ||
[Coke] | rakudo moar tested clean today; jvm & parrot still have one failing test file. | ||
hoelzro | unfortunately, that happens too early for my checking code to make any sense | ||
jnthn | Oh. | ||
hoelzro | if you need more explanation, I'm happy to give it =) | 15:15 | |
15:15
uniejo left
|
|||
hoelzro | I would just like duplicate subcommands to be detected at compile time | 15:15 | |
jnthn | I think I see the problem; need to look at the code to think of a solution... | ||
(the metamodel code | |||
hoelzro | ah ha | ||
jnthn | ) | ||
hoelzro | I spent a bit of time looking at it yesterday; I'm sure you'll be able to come up with something | 15:16 | |
I think that I may just have to use a ClassHOW and have users subclass App::Subcommander | |||
jnthn | Yeah. Not least 'cus I can extend the thing if it isn't up to your use case :P | ||
hoelzro | rather than make it a role | ||
jnthn | anyway, back to hotel & | 15:17 | |
15:25
virtualsue left
|
|||
TimToady | m: my Int constant x = 42; say x | 15:27 | |
camelia | rakudo-moar a7b4cb: OUTPUT«42» | ||
TimToady | m: constant x of Int = 42; say x | ||
camelia | rakudo-moar a7b4cb: OUTPUT«===SORRY!=== Error while compiling /tmp/kEdFtpLoDNUnexpected named parameter 'SYMBOL' passedat /tmp/kEdFtpLoDN:1------> » | ||
btyler | TimToady++ # learned about z. in vim :) | ||
TimToady | std: constant x of Int = 42; say x | ||
camelia | std 0f2049c: OUTPUT«ok 00:01 122m» | ||
15:27
uniejo joined
|
|||
TimToady | rakudobug I guess | 15:28 | |
btyler: I'm glad someone learned something from it :) | |||
I only covered about 15 of the 56 principles I had available, but I suppose it was unrealistic to think I could get to most of 'em | 15:29 | ||
TimToady was lucky to just finish reading all the RFCs last night | 15:31 | ||
colomon | TimToady++ | ||
TimToady | they're quite amazing in spots :) | 15:32 | |
both ++ly and --ly | |||
15:34
zakharyas left
15:37
logie joined,
uniejo left
15:40
[Sno] left
15:43
dmol1 left,
dmol joined,
uniejo joined
15:44
dayangkun joined
15:47
atroxaper joined,
dayangkun left,
dayangkun joined
15:52
fhelmberger left
|
|||
masak | good afternoon, #perl6 | 15:52 | |
atroxaper | masak: o/ | 15:53 | |
psch | hi masak | ||
15:54
uniejo left
|
|||
jnthn | masak: afternoon? It's pretty much evening :P | 15:55 | |
masak | ...four minutes left of the afternoon :P | 15:56 | |
TimToady | still antenoon :P | ||
15:57
kaleem left,
araujo joined
|
|||
PerlJam | Still another hour of morning here. :) | 15:57 | |
woolfy broke it! | 15:58 | ||
TimToady | ayup, woolfy++ | ||
testing-to-destruction++ | 15:59 | ||
16:00
Ven joined
|
|||
Ven is watching woolfy++ live | 16:00 | ||
16:00
brrt left
|
|||
TimToady | lunch & | 16:01 | |
dalek | rl6-bench: 5a159b3 | (Geoffrey Broadwell)++ | minibenchmarks.pl: Add curated tags for minibenchmarks |
16:04 | |
16:06
logie left
|
|||
Ven | TimToady++'s talk was a bit more for p5ers | 16:15 | |
16:15
troydm joined
|
|||
troydm | hey all! I've just installed rakudo wth parrot and it takes 4-5 seconds just to start perl6 executable, why is it so slow? | 16:16 | |
colomon | troydm: errr…. good question? I just tried it on my Linux box, and it was definitely under 1 second. | 16:17 | |
I expect JVM to be that slow, but not Parrot | |||
troydm | lpaste.net/530134410415046656 | 16:19 | |
colomon | troydm: thats .465 seconds "real" for me. what sort of machine are you running on? | 16:20 | |
Ven | troydm: can you perl6 -v, please :P ? | ||
troydm | This is perl6 version 2014.04 built on parrot 6.1.0 revision 0 | ||
gtg be back in 30 mins | 16:21 | ||
16:25
Akagi201_ left
16:27
Ven left,
ajr_ left,
guru joined
16:28
guru is now known as Guest85594,
Guest85594 is now known as ajr_
16:31
ajr_ left
16:34
prevost left
|
|||
thou | TimToady++ # Inspiring an incredibly fun community | 16:35 | |
16:39
sjn_ joined
|
|||
atroxaper | While using role a can define method with { ... }. But can I define method with ( ... ) and { ... } also? | 16:45 | |
jnthn | As in, with a signature? | 16:46 | |
atroxaper | I'm going to pass arguments my introspection to some method. I just want to force customer of role to implement some method with some arguments. | ||
by introspection* | |||
jnthn | Oh | 16:47 | |
It doesn't try and enforce a signature match | |||
At present, anyway. | |||
masak | TimToady++ # not giving up through X years of second system syndrome | ||
16:48
Rotwang joined
|
|||
atroxaper | jnthn: ok. I will find another way maybe. | 16:48 | |
16:49
xdoctor joined
16:54
atroxaper left
16:55
atroxaper joined
16:56
thilp joined
16:59
atroxaper left,
rje__ joined
17:00
xinming_ left
17:02
xinming joined,
mr-foobar joined,
dakkar left
17:07
kaleem joined
|
|||
troydm | so I'm back, guys why is perl6 parrot so slow on startup? | 17:08 | |
17:10
dmol left
|
|||
psch | troydm: as colomon asked, what kind of machine are you running on? | 17:10 | |
timotimo | perl6 parrot should start up fairly quickly, the times where it took a second are long gone | ||
17:13
pecastro left
17:14
virtualsue joined
17:17
raiph left
17:18
sjn_ left
17:19
sjn_ joined
17:21
carlin joined
|
|||
troydm | psch: virtual machine on virtualbox | 17:21 | |
17:21
kaleem left
|
|||
troydm | psch: it takes 8 seconds to load perl6 on my virtual machine | 17:21 | |
psch | i have a similar setup, running a debian vm on a win7 host; i get ~1.5s real for -e'say "Hello"' on parrot perl6 | 17:22 | |
troydm | and other languages/interpreters work fast | ||
I've compiled rakudo on this machine | |||
timotimo | even when the cache has warmed up? | ||
troydm | yes | 17:23 | |
17:23
sjn_ left
17:26
Akagi201_ joined
|
|||
psch | for reference, a laptop i have here runs moar -e'say "Hello"' in about 2.7 real; parrot is about 3 times slower i seem to recall timotimo++ said in his talk | 17:29 | |
that laptop is a old 2.2ghz single core though | |||
17:29
uniejo joined
17:30
uniejo left
17:31
Akagi201_ left
|
|||
timotimo | my talk? | 17:34 | |
psch | yeah, you showed benchmarks at gpn, didnt you | 17:35 | |
i watched the first half hour yesterday before going to bed | |||
17:35
uniejo joined
|
|||
psch | maybe that's why i misremembered it, if i did that :P | 17:35 | |
17:44
itz joined
17:47
uniejo left
17:50
dmol joined
17:51
carlin left
17:52
carlin joined,
fhelmberger joined
|
|||
PerlJam | Did doy just say Rust is similar to Perl 6?!? ;) | 17:54 | |
17:55
atroxaper joined
17:56
fhelmberger left
|
|||
moritz | if you look hard enough, you find some similarities | 17:56 | |
like, both are still in flux | 17:57 | ||
both aren't widely adopted yet | |||
... and that's about where the similarities end :-) | |||
18:00
atroxaper left,
treehug88 left
|
|||
colomon | lizmat++ is talking on my computer! | 18:00 | |
okay, lizmat is breaking up on my computer. feed is very choppy | 18:02 | ||
18:03
Akagi201_ joined
|
|||
PerlJam | colomon: It's probably because I switched to watching lizmat ;) | 18:03 | |
(But the feed is smooth for me) | |||
moritz | sounds like your computers are connected. | ||
colomon | stop sucking down all the bits!@!!!!! | 18:04 | |
moritz will work from $home tomorrow, with public transport on strike, and family sick | |||
colomon | moritz: :( | 18:05 | |
moritz | colomon: at least my employer doesn't complain, that's worth something | ||
colomon | sick family is never fun, though. | ||
PerlJam | (moritz's employer)++ | ||
moritz | colomon: aye | ||
colomon | lizmat has stopped breaking up. yay! | 18:06 | |
PerlJam | What's with all of the mirrors in all of the rooms? Are they trying to make the rooms look bigger? | ||
18:07
Akagi201_ left
|
|||
moritz | or afraid of vampires? | 18:07 | |
timotimo | psch: i didn't know you knew german :) | ||
PerlJam | It's Florida ... who ever heard of vampires visiting Florida? | 18:08 | |
psch | timotimo: german is, in fact, my first language :) | 18:12 | |
timotimo | ah! | 18:13 | |
colomon | CLDR, eh? | 18:17 | |
colomon is watching patch++ now | |||
itz watchs timtoady on www.perl6.org/archive/rfc/28.html | 18:19 | ||
18:23
uniejo joined,
uniejo left
|
|||
itz | hmmm no lizmat sound | 18:24 | |
PerlJam | itz: In that talk he also called out one of my RFCs www.perl6.org/archive/rfc/114.html as rejected :) | ||
18:24
sjohnson joined
18:27
[Sno] joined
|
|||
itz | ah sound now | 18:27 | |
masak | PerlJam: wow, you submitted four of them. | 18:28 | |
colomon | PerlJam++ | 18:29 | |
masak | and cognominal++ two. | ||
PerlJam | masak: I did? I only remember a couple. | 18:30 | |
masak | well, it depends on what exactly "maintainer" means on www.perl6.org/archive/rfc/by-group.html | ||
PerlJam | Ah ... I apparently wanted to gie ALLCAPS subroutine names back to the end-users by proposing a way to signify special subs. | 18:33 | |
18:37
lizmat joined
18:39
uniejo joined,
bowtie left
|
|||
masak | special subs, as in phasers? | 18:43 | |
PerlJam | aye | 18:44 | |
18:44
hoverboard joined,
logie joined
18:45
lizmat left
18:47
uniejo left,
rje__ left
18:48
bowtie joined,
brrt joined
18:51
lizmat joined
18:52
guru joined,
guru is now known as Guest9650
18:53
Guest9650 is now known as ajr_
18:55
oetiker left,
oetiker joined,
uniejo joined
18:57
uniejo left,
uniejo joined
19:07
beastd joined
19:09
uniejo left
19:10
atroxaper joined
19:14
ajr_ left
19:15
atroxaper left
19:16
REPLeffect left
19:20
logie left,
logie joined
|
|||
lizmat | good *, #perl6! | 19:22 | |
do we actually have an idea how to implement "goto" in rakudo / moar ? | |||
psch | hi lizmat | ||
lizmat | psch o/ | ||
19:23
telex left
|
|||
masak | hm, I remember discussing `goto` with someone recently. | 19:23 | |
was it you, FROGGS? | |||
19:24
telex joined
|
|||
FROGGS | masak: possible | 19:24 | |
goto shouldn't be that hard to implement in moar me thinks | 19:25 | ||
it is like unwinding after an exception happened to the spot right after the exception happened | 19:26 | ||
19:26
xragnar_ joined,
xragnar is now known as Guest65932,
xragnar_ is now known as xragnar
|
|||
lizmat | so it's just a SMOP ? | 19:26 | |
FROGGS | so the goto label stores its "pc" (p-something counter), and then we just unwind to it using nqp::unwind perhaps | 19:27 | |
lizmat | *program* ? | ||
FROGGS | "perhaps" :o) | ||
19:28
Guest65932 left,
dwarring joined
|
|||
moritz | I think the PC stands for "politically correct" register :-) | 19:29 | |
lizmat | :-) | ||
FROGGS | hehe | ||
lizmat | moritz o/ | ||
FROGGS | "Perl 6 has P.C. built-in" - that fits :o) | 19:30 | |
19:30
Sqirrel left,
uniejo joined
19:31
logie left,
kivutar left
|
|||
masak | I have an idea that I can't quite express yet. | 19:34 | |
it may turn into one of my YAPC::EU talk proposals. | 19:35 | ||
the idea is something like "a macro toolkit for building control flow has an API that looks stackless, regardless of actual underlying implementation" | |||
FROGGS | what a nice short catching title :P | 19:36 | |
moritz | s/has/as/ ? | ||
masak | moritz: no, 'has' | 19:37 | |
19:38
fab1an joined
|
|||
masak | as in, the idea is that a toolkit (invariably?) *has* such an API. | 19:38 | |
lizmat | s/has/which has/ ? | ||
masak | you keep wanting my idea to be a noun phrase! :P | ||
19:38
ajr joined,
pecastro joined
|
|||
[Coke] is nearly at Worthington, Minnesota. | 19:38 | ||
19:38
ajr is now known as Guest73366
|
|||
lizmat | choo choo! | 19:39 | |
19:39
Guest73366 is now known as ajr_
|
|||
lizmat assumes [Coke] is on a train | 19:39 | ||
fab1an | Hi there. I am trying to connect to an sqlite db. Using DBIish.connect('SQLite') command i need to add an database name. Does anyone knows how? | 19:40 | |
moritz | fab1an: didn't we have that topic, like, yesterday? | ||
fab1an | yap. i am working on an example for the readme. | 19:41 | |
moritz wates far too much time on dhmholley.co.uk/civclicker.html building a zombie-only empire | |||
19:41
virtualsue left
|
|||
moritz | fab1an: did you get it working from looking at the test code? | 19:42 | |
[Coke] | lizmat: nope. the wife is driving us across country in a rented car. | 19:43 | |
lizmat | ah, your support human (as Chip Salzenberg explained to me today) | ||
:-) | |||
fab1an | unfortunately no. copy pasting the connection steps to the repl does not work, | 19:45 | |
19:46
cc joined
|
|||
[Coke] | hee. | 19:46 | |
19:46
cc is now known as Guest6627
|
|||
[Coke] | Hey, tell chip I said hi! | 19:46 | |
moritz | sm: use DBIish; my $dbh = DBIish.connect( 'SQLite', :database<camelia.sqlite3> ); say $dbh.prepare('SELECT abs(4)').fetchrow.perl | 19:47 | |
camelia | star-m 2014.04: OUTPUT«Cannot locate native library 'libsqlite3.so' in method postcircumfix:<( )> at /home/p6eval/star-2014.04/languages/perl6/lib/NativeCall.pm6:127 in method connect at /home/p6eval/star-2014.04/languages/perl6/lib/DBDish/SQLite.pm6:221 in method connec…» | ||
moritz | fab1an: how does it not work? | 19:48 | |
sm: use DBIish; my $dbh = DBIish.connect( 'SQLite', :database<camelia.sqlite3> ); say $dbh.prepare('SELECT abs(4)').fetchrow.perl | 19:49 | ||
camelia | star-m 2014.04: OUTPUT«fetchrow_array without prior execute in method fetchrow at /home/p6eval/star-2014.04/languages/perl6/lib/DBDish/SQLite.pm6:136 in block at /tmp/XCrF0Z6Nit:1» | ||
19:49
uniejo left
|
|||
moritz | sm: use DBIish; my $dbh = DBIish.connect( 'SQLite', :database<camelia.sqlite3> ); my $sth = $dbh.prepare('SELECT abs(4)'); $sth.execute; say $sth.fetchrow.perl | 19:50 | |
camelia | star-m 2014.04: OUTPUT«Array.new("4")» | ||
19:50
Guest6627 left
|
|||
moritz | fab1an: working example produced right there for you | 19:50 | |
19:50
lizmat left
|
|||
fab1an | i am trying it... and it works. :-) | 19:51 | |
what is this construct: :database<camelia.sqlite3>? | 19:52 | ||
19:52
uniejo joined
|
|||
masak | fab1an: it's a pair. | 19:52 | |
fab1an: where the key is a string. | |||
er, value* | 19:53 | ||
though the key is a string, too :) | |||
fab1an: it means 'database' => 'camelia.sqlite3' | |||
moritz | short form of database => 'camelia.sqlite3' | ||
[Coke] uploads one of the worthington shots, though this is not the best one: | |||
feather.perl6.nl/~coke/worthington.jpg | |||
moritz | masak: without the quotes around the key (that wouldn't be a named arg) | ||
fab1an | ahh ok. | ||
i will add an example script with a short description to the readme. i think this will help other trying to use DBIish. | 19:55 | ||
moritz | ++fab1an | ||
[Coke] | crap, anyone II might of visited perl wise on the west coast is probably on the EAST coast. :) | 19:56 | |
19:58
btyler left
19:59
REPLeffect joined
|
|||
masak | moritz: ah, right. | 20:00 | |
20:00
lizmat joined
|
|||
[Coke] | gah. *might have | 20:01 | |
20:02
logie joined
20:03
fab1an left
|
|||
FROGGS | lizmat: about the goto SMOP.... goto is just that ugly that it is not even on my TODO :o) | 20:03 | |
lizmat | ah, ok | 20:04 | |
lizmat makes mental note | |||
20:04
erkan left
20:05
btyler joined
|
|||
FROGGS is still fighting Archive::Tar... | 20:06 | ||
which also has at least one goto | |||
20:07
carlin left
|
|||
lizmat | can you get around it (no punt intended) | 20:07 | |
*pun | |||
FROGGS | I guess a loop and a redo will do | 20:08 | |
brrt | whats wrong with goto? | ||
FROGGS | yes, it is only one label and the goto's come afterwards in the same sub | 20:09 | |
brrt: you often can't see the label, so you cannot see where it jumps to | |||
lizmat | brrt: it needs to go looking up the stack for it at runtime | 20:10 | |
at least in p5 :-) | |||
brrt would be trolling if he suggested to get a bigger screen (or smaller letters or better glasses) | |||
what | |||
up the... what | |||
lizmat | call stack | 20:11 | |
brrt | i'm kidding, though, but, look up on the stack? how even | ||
FROGGS | in our case the label is just a lexical, like we redo a loop atm | ||
brrt | ahaa | ||
the very late binding thing :-) | |||
psch | wrt "can't see the label": zf* when on the label in vim should let you see it... :) | ||
FROGGS | the label would be in the call chain... hmmm | 20:12 | |
brrt | i'm still struggling to imagine a case wherein the goto label would be dynamically bound | 20:13 | |
oh, i know one case | |||
exceptions | |||
20:14
virtualsue joined
|
|||
psch | anyway, tr/// now just needs actual code to compute the distance instead of just doing &infix:<ne> on the original lhs and the result and escape sequences | 20:15 | |
the latter is what i've been trying the last few hours, and it's enough for today | |||
so, good night #perl6 o/ | |||
20:15
psch left
|
|||
lizmat | good night Psyche^_ | 20:15 | |
.oO( not fast enough :-) |
20:16 | ||
20:17
kivutar joined
20:21
hoverboard is now known as moistcherry
|
|||
lucas__ | p6: sub foo is export(:a, :b, :c) {}; say "alive"; | 20:26 | |
camelia | niecza v24-109-g48a8de3: OUTPUT«===SORRY!===Export tags NYI at /tmp/tmpfile line 1:------> sub foo is export(:a, :b, :c) ⏏{}; say "alive";Unhandled exception: Check failed at /home/p6eval/niecza/boot/lib/CORE.setting line …» | ||
..rakudo-{parrot,jvm,moar} a7b4cb: OUTPUT«alive» | |||
lucas__ | p6: sub foo is export(:a :b :c) {}; say "alive"; | ||
camelia | niecza v24-109-g48a8de3: OUTPUT«===SORRY!===Multi colonpair syntax not yet understood at /tmp/tmpfile line 1:------> sub foo is export(:a :b :c⏏) {}; say "alive";Export tags NYI at /tmp/tmpfile line 1:------> sub foo is e…» | ||
..rakudo-{parrot,jvm,moar} a7b4cb: OUTPUT«alive» | |||
lucas__ | commas are optional in export lists? | ||
or maybe I didn't get pair syntax right | 20:27 | ||
std: sub foo is export(:a, :b, :c) {} | 20:28 | ||
camelia | std 0f2049c: OUTPUT«ok 00:01 127m» | ||
lucas__ | std: sub foo is export(:a :b :c) {} | ||
camelia | std 0f2049c: OUTPUT«ok 00:01 125m» | ||
20:30
lizmat left
20:34
brrt left
20:39
itz left
20:40
cibs left
20:42
virtualsue left
20:48
uniejo left,
bluescreen100 joined
20:49
bluescreen__ joined
20:52
bluescreen10 left,
bluescreen100 left,
uniejo joined
20:56
bluescreen__ left
20:57
kaare_ left
20:59
erdic left
21:00
erdic joined
21:02
moistcherry is now known as hovercraft,
jnap left,
uniejo left
21:04
cibs joined
21:06
hovercraft is now known as siriustar
|
|||
masak | 'night, #perl6 | 21:08 | |
FROGGS | gnight masak | 21:09 | |
21:12
atroxaper joined
21:16
atroxaper left
21:20
uniejo joined
21:27
uniejo left
21:32
lue left
21:33
lue joined,
slavik joined
21:40
lucas__ left
21:46
logie left
21:51
uniejo joined
21:52
uniejo left
21:53
fhelmberger joined
21:57
fhelmberger left
21:59
uniejo joined
22:01
siriustar is now known as hoverboard
22:11
uniejo left
22:26
beastd left
22:46
FROGGS left,
spider-mario left
22:52
FROGGS joined
22:58
kivutar left
23:02
Kirkkaf joined
23:03
nickf_mt joined
|
|||
Kirkkaf | Hello, can someone provide some guidance on whether I should begin my journey with Perl 5 or 6? I am require to learn Perl to further my career but have never really done any serious programming. | 23:05 | |
japhb_ | Kirkkaf, What do you mean when you say you are required "to learn Perl to further my career"? Are you working in a group that does a lot of Perl already? If so, you probably want to learn the same one they are using, which is most likely a Perl 5. | 23:09 | |
If you were just told "Learn a Perl, it's good for your brain", then your choice is more open. We tend to believe Perl 6 is pretty good for your brain, but it is not bulletproof, hardened, and ready for large-scale high-volume deployments yet. (We are still working on a few final features, as well as heavily working on optimization, bug squashing, and shaving off the sharp bits of edge cases.) | 23:11 | ||
nickf_mt | So, quick question... Looking to get started playing with Perl 6... I note the perl6 book on github was last updated in 2012... Would this still be a useful resource to start with, or should I look at more current online tutorials/refs? | 23:13 | |
23:13
atroxaper joined
23:14
BenGoldberg joined
|
|||
Kirkkaf | japhb_, my company is writing alot of Perl but the version was not specified so I guess I will have to get the details but are the two very different in design? | 23:17 | |
23:17
atroxaper left
|
|||
japhb_ | Kirkkaf, Yes, Perl 6 is a completely new language, more of a sister language than a version increment. | 23:17 | |
Perl 6 includes a large number of features that couldn't reasonably be retrofitted into Perl 5 due to backwards-compatibility constraints in the Perl 5 community. | 23:19 | ||
So Perl 6 takes advantage of the compatibility break to include some amazing new features. | |||
23:21
dmol left
|
|||
japhb_ | nickf_mt, What kinds of things are you interested in learning? | 23:21 | |
23:21
FROGGS left
|
|||
japhb_ | Note that I've not read the GitHub Perl 6 book, as I joined the community before it was written. | 23:22 | |
nickf_mt | hrm... didn't have a lot of specifics in mind, just looking to play with a new language. I guess I'll probably be wanting to interface with databases, use regex if I use it at work down the line | 23:25 | |
maybe output excel files. (working through the cpa exam atm, starting as a tax accountant in september) | |||
23:27
gfldex left
|
|||
nickf_mt | Any idea how much the language itself has changed in the last 2 years? As opposed to ironing out implementation/performance issues | 23:29 | |
japhb_ | nickf_mt, You'll definitely want to learn about Grammars. jnthn++ has a good talk on this: jnthn.net/papers/2014-fosdem-perl6-today.pdf | 23:33 | |
23:34
Kirkkaf left
|
|||
nickf_mt | excellent, thank you. downloading :) | 23:34 | |
japhb_ | As for language changes, there have been changes in the concurrency design, an expansion of Rakudo to multiple backends that had some knock-on effects as we learned more, a fleshing out (and implementation) of the more advanced module ecosystem design, and so on. | 23:35 | |
The core language hasn't changed much, just gotten smoother, less buggy, faster, and so on. | 23:36 | ||
Oh, there have also been improvements in I/O, especially with the creation of the async I/O model. | |||
(I'm sure there are more that I am forgetting off the top of my head.) | |||
nickf_mt | ok... so sounds like I should plan on looking elsewhere once I get past the very basics, unless they update that book :) | 23:38 | |
given my large block of freetime to really dig in will be August though, I shan't count on that happening | 23:39 | ||
Oh, sounds like the rest of the family's home. Thanks for the info, japhb . See y'all next time I have a little downtime! | 23:41 | ||
japhb_ | nickf_mt, The channel is quite helpful too, and most active from about 8 AM to midnight in the European timezones (others are available in Asia and Americas, but fewer of us at any given time). | ||
nickf_mt, Enjoy! | |||
nickf_mt | alrighty, thanks again! | 23:42 | |
23:42
nickf_mt left
23:44
Akagi201_ joined
23:59
rindolf left
|