Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2017-05-07

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:01 cpage_ joined #perl6
00:14 stmuk joined #perl6
00:18 pierre__ joined #perl6
00:40 pierre_ joined #perl6
00:50 khw joined #perl6
00:51 itsame joined #perl6
01:17 haxmeister ok this funtoo xml is wrecked
01:17 haxmeister very bad improper format
01:22 raschipi The standard demands that you refuse to parse it.
01:30 stmuk_ joined #perl6
01:32 zacts joined #perl6
01:41 pierre_ joined #perl6
01:54 raschipi joined #perl6
02:02 bjz joined #perl6
02:04 Cabanossi joined #perl6
02:07 mienaikage I'm going to try and get the Perl 6 track launched on exercism, hopefully get some more people to give the language a go 🙂
02:11 raschipi mienaikage: I always wanted to do it, but didn't because it didn't have a Perl6 track.
02:16 mienaikage There is a Perl 6 track there, it's currently in the upcoming section
02:17 mienaikage I've been poking around with the repo for it over the past few months
02:17 mienaikage There's about 20 exercises at the moment
02:18 itsame joined #perl6
02:26 eroux joined #perl6
02:26 raschipi I have seen it. Thanks for your help.
02:48 Cabanossi joined #perl6
03:02 wigner joined #perl6
03:09 raschipi joined #perl6
03:16 Cabanossi joined #perl6
03:18 xtreak joined #perl6
03:28 pierre_ joined #perl6
03:46 bjz joined #perl6
04:01 pierre_ joined #perl6
04:04 geekosaur joined #perl6
04:12 stmuk joined #perl6
04:15 begginner_perl joined #perl6
04:17 pierrot joined #perl6
04:40 pierrot joined #perl6
04:50 eythian joined #perl6
04:53 itsame joined #perl6
04:56 geekosaur joined #perl6
05:16 Cabanossi joined #perl6
05:18 wamba joined #perl6
05:43 raiph joined #perl6
05:44 parv joined #perl6
05:46 Cabanossi joined #perl6
05:48 raiph .tell timotimo Do you have any ideas for comments or an answer to http://stackoverflow.com/questions/43821435/adding-user-mode-types-for-perl-6-nativecall-structs?
05:48 yoleaux raiph: I'll pass your message to timotimo.
05:50 bioexpress joined #perl6
05:52 bioexpress Hello, I tried the "::=" operator and it told me, that it is not yet implemented. Is it already known, when the "::=" operator will be implemented?
06:00 moritz bioexpress: no, we don't have a time-based roadmap
06:01 sammers moritz, question about :=
06:01 sammers m: my $s := 123; say $s; $s := 321; say $s;
06:01 camelia rakudo-moar 695ebc: OUTPUT: «123␤321␤»
06:02 sammers is that the expected behavior?
06:04 eroux joined #perl6
06:07 bioexpress thx
06:07 kurahaupo joined #perl6
06:07 moritz sammers: yes
06:07 geekosaur joined #perl6
06:09 kaare__ joined #perl6
06:09 leah2 joined #perl6
06:11 sammers thanks
06:12 domidumont joined #perl6
06:12 sammers for ::= that will throw an immutable error?
06:13 sammers or will it allow for re-binding with ::= as well?
06:16 domidumont joined #perl6
06:20 kurahaupo joined #perl6
06:32 moritz I think it doesn't allow rebinding, but the design docs are not very clear
06:34 haxmeister that was a nasty hack job..
06:34 haxmeister logic isn't great but I memorized a lot of syntax so that's good
06:37 Actualeyes joined #perl6
06:37 raiph joined #perl6
06:39 sammers thanks moritz
06:40 mr-foobar joined #perl6
06:41 CIAvash joined #perl6
06:47 pierre_ joined #perl6
06:52 kurahaupo_ joined #perl6
07:01 Cabanossi joined #perl6
07:02 itsame joined #perl6
07:22 anton_p joined #perl6
07:26 darutoko joined #perl6
07:53 stmuk_ joined #perl6
07:58 robertle_ joined #perl6
07:58 xtreak joined #perl6
08:01 Cabanossi joined #perl6
08:04 kurahaupo joined #perl6
08:37 grumble joined #perl6
08:46 Cabanossi joined #perl6
08:48 lizmat joined #perl6
08:51 xtreak joined #perl6
08:55 bjz joined #perl6
08:59 bjz joined #perl6
09:00 sjn good *, #perl6
09:03 nine Good hacking day, sjn!
09:05 u-ou * * *
09:08 sjn yeah, weather turned all gray and wet today \o/
09:08 * sjn is trying to figure out TelegramBot
09:08 sjn (again)
09:16 pierre_ joined #perl6
09:28 AlexDaniel joined #perl6
09:46 timotimo raiph: i think you could use a coercive type in the native sub's argument list for one direction at least. also, you could always write a trait that'll wrap the native sub and do conversions as necessary
09:46 yoleaux 05:48Z <raiph> timotimo: Do you have any ideas for comments or an answer to http://stackoverflow.com/questions/43821435/adding-user-mode-types-for-perl-6-nativecall-structs?
09:56 lizmat joined #perl6
10:01 Cabanossi joined #perl6
10:03 stmuk_ does anyone have a PI?
10:03 xtreak joined #perl6
10:06 ChoHag joined #perl6
10:08 timotimo i actually have one. one of the earlier models, though
10:10 stmuk_ I've only found rakudo practical on a PI3
10:11 timotimo yeah, we can consider it again when we've decreased the memory requirements by half or something
10:18 anton_p joined #perl6
10:18 espadrine joined #perl6
10:33 rindolf joined #perl6
10:40 geekosaur joined #perl6
10:42 AlexDaniel m: say π
10:42 camelia rakudo-moar 695ebc: OUTPUT: «3.14159265358979␤»
10:46 Cabanossi joined #perl6
11:16 Cabanossi joined #perl6
11:23 xtreak joined #perl6
11:36 itsame joined #perl6
11:43 lizmat joined #perl6
11:46 Cabanossi joined #perl6
12:11 pierre__ joined #perl6
12:15 itsame joined #perl6
12:26 llfourn joined #perl6
12:33 espadrine joined #perl6
12:46 eroux joined #perl6
12:47 geekosaur joined #perl6
12:48 stmuk joined #perl6
12:52 itsame joined #perl6
13:01 Cabanossi joined #perl6
13:16 pierre__ joined #perl6
13:19 itsame joined #perl6
13:35 lizmat joined #perl6
13:46 Cabanossi joined #perl6
13:47 kurahaupo joined #perl6
14:08 kyan joined #perl6
14:08 khw joined #perl6
14:20 xtreak joined #perl6
14:32 brrt joined #perl6
14:38 kaare_ joined #perl6
14:38 pierrot joined #perl6
14:41 zakharyas joined #perl6
15:03 pierrot joined #perl6
15:12 Actualeyes left #perl6
15:14 Actualeyes joined #perl6
15:16 Cabanossi joined #perl6
15:25 Khisanth joined #perl6
15:36 skids joined #perl6
15:36 BenGoldberg joined #perl6
16:26 dct joined #perl6
16:32 AlexDaniel joined #perl6
16:48 ChoHag joined #perl6
16:54 domidumont joined #perl6
16:54 stmuk_ joined #perl6
17:12 ribasushi joined #perl6
17:16 Cabanossi joined #perl6
17:44 daxim joined #perl6
18:00 pierre_ joined #perl6
18:42 kyan joined #perl6
18:46 Cabanossi joined #perl6
18:46 labster joined #perl6
18:48 dct joined #perl6
18:57 Zoffix joined #perl6
18:58 Zoffix 2 days ago, we were talking about IO stuff and I said nqp-only Perl 6 read was 4.4x slower than Perl 5's version, but I actually forgot the chomp in Perl 5 version, so the actual difference is just 3.5x
18:59 Zoffix And well, even then it's not a perfect comparison 'cause we do all the grapheme stuff
18:59 timotimo hold on
18:59 timotimo ah, that was with built-in chomp config for the file handle, yeah?
19:00 timotimo isn't there "autochomp" in perl5, too?
19:00 Zoffix On command line yeah
19:00 Zoffix or maybe that's just appending "\n" on print
19:01 Zoffix Basically, I timed:
19:01 Zoffix time perl -C -wlE 'open my $fh, "<:encoding(UTF-8)", "foo"; while (<$fh>) { chomp }'
19:01 Zoffix vs
19:01 Zoffix time perl6 -e 'use nqp; my $fh := nqp::open("foo", "r"); nqp::while(($_ := nqp::readlinechompfh($fh)), nqp::null)'
19:01 Zoffix on a 10mb file
19:02 timotimo mhm
19:02 Zoffix with 10000000 lines
19:11 Zoffix left #perl6
19:23 wamba joined #perl6
19:28 raschipi joined #perl6
19:31 raiph timotimo: thanks for guidance re SO question
19:38 timotimo i had initially misunderstood the question, i think, because i talked about how to do things with native subs/methods
19:38 timotimo but the question was more about structs/classes
19:51 mcmillhj joined #perl6
19:54 dct joined #perl6
19:56 raiph timotimo: yeah, I concluded I wasn't going to be able to add value beyond christoph's answer so just upvoted their's
19:56 raiph s:3rd/\'//
19:58 BenGoldberg s: SetHash, 'push', ()
19:59 timotimo yeah, i also gave christoph's answer a +1
20:00 mcmillhj joined #perl6
20:01 Cabanossi joined #perl6
20:11 ChoHag joined #perl6
20:11 lizmat joined #perl6
20:17 dct joined #perl6
20:18 BenGoldberg After installing perl6 on bash on windows, running certain commands (p6doc, zef, panda) produces "Dynamic variable $*REPO not found" ... how do I fix this?
20:19 El_Che BenGoldberg: how did you install it?
20:20 BenGoldberg sudo apt-get install rakudo
20:21 El_Che can yoy try this pkg?  https://github.com/nxadm/rakudo-pkg/releases/tag/2017.03_03
20:21 El_Che the ubuntu 16.04 one
20:22 robertle_ even sid only has 2016.12, not sure that's worth installing anymore..
20:22 timotimo "$*REPO not found" sounds like you have a rather old version; can you tell us your perl6 --version?
20:23 lizmat joined #perl6
20:23 BenGoldberg "This is perl6 version 2015.11 built on MoarVM version 2015.11"
20:26 timotimo that's really bad
20:26 timotimo you won't be able to run any package manager's recent versions with that
20:26 timotimo as you've already found out :)
20:29 BenGoldberg When running "sudo /opt/rakudo/bin/install_zef_as_root", I got this error message: "/opt/rakudo/bin/moar: error while loading shared libraries: libmoar.so: cannot enable executable stack as shared object requires: Invalid argument"
20:30 El_Che /opt/rakudo/bin/fix_windows10
20:30 El_Che first
20:30 BenGoldberg It's not there.
20:31 El_Che did you pick 16.04?
20:31 BenGoldberg I ran "sudo dpkg -i perl6-rakudo-moarvm-ubuntu16.10_20170300-03_amd64.deb"
20:32 El_Che you need to download the 16.04 pkg
20:32 El_Che windows runs ubuntu 16.04 on it's last service pack (creator's upgrade)
20:32 El_Che the previous runs Ubuntu 14.04
20:32 El_Che howover, the ubuntu 16.04 pkg works on both
20:33 BenGoldberg And 16.10 doesn't exist on windows yet?
20:33 El_Che indeed
20:33 El_Che it's the same rakudo
20:34 El_Che just compiled on the stated os
20:34 El_Che thing is pretty self contained, so the 16.04 version does also work on 17.04
20:34 El_Che maybe I need to clarify in the readme
20:35 BenGoldberg Do I need to uninstall the wrong one, or can I just dpkg the correct one and the wrong one will go away?
20:35 * BenGoldberg is not an expert
20:35 BenGoldberg Err, not a linux expert
20:35 El_Che normally it will overwrite the old one, but remove it first to be sure
20:36 BenGoldberg Ok.
20:36 BenGoldberg So just rm -rf /opt/rakudo ?
20:36 El_Che no
20:36 El_Che sudo apt-get remove --purge perl6-rakudo-moarvm-ubuntu16.10
20:37 El_Che got to go, ping me if you have problems
20:39 BenGoldberg El_Che++
20:39 BenGoldberg Thanks
20:42 doesthiswork joined #perl6
20:42 doesthiswork left #perl6
20:53 raschipi robertle_: Install Perl6 from experimental. I'm running 2017.03.
21:17 kurahaupo joined #perl6
21:46 itsame joined #perl6
22:01 Cabanossi joined #perl6
22:13 dj_goku_ joined #perl6
22:23 mniip joined #perl6
22:26 hobbs joined #perl6
22:26 hobbs joined #perl6
22:37 Exodist joined #perl6
22:37 alimon joined #perl6
22:38 nadim joined #perl6
22:40 M-Illandan joined #perl6
22:42 daxim joined #perl6
22:42 huggable joined #perl6
22:42 CIAvash[m] joined #perl6
22:45 nadim hi, an example of P6 data dump in DHTML format, optinions welcome https://drive.google.com/open?id=0B2cpZf_We6InVDFSOXZzUnUtVzg
23:01 Cabanossi joined #perl6
23:16 Actualeyes joined #perl6
23:49 mcmillhj joined #perl6
23:59 mcmillhj joined #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo