Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2017-08-08

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:05 travis-ci joined #perl6
00:05 travis-ci Doc build errored. Will "Coke" Coleda 'no trailing whitespace'
00:05 travis-ci https://travis-ci.org/perl6/doc/builds/262044676 https://github.com/perl6/doc/compare/68057bd807ba...c8dd129d35a7
00:05 travis-ci left #perl6
00:05 buggable [travis build above] ? Did not recognize some failures. Check results manually.
00:08 Phraeyll joined #perl6
00:15 Geth ¦ doc: 12ca890ab3 | (Will "Coke" Coleda)++ | doc/Language/functions.pod6
00:15 Geth ¦ doc: catch-all no longer exists
00:15 Geth ¦ doc: review: https://github.com/perl6/doc/commit/12ca890ab3
00:15 Geth ¦ doc: 0d0024f6a5 | (Will "Coke" Coleda)++ | 2 files
00:15 Geth ¦ doc: Split out EXAMPLES.md
00:15 Geth ¦ doc:
00:15 Geth ¦ doc: Part of #1302
00:15 Geth ¦ doc: review: https://github.com/perl6/doc/commit/0d0024f6a5
00:16 Geth ¦ doc: dc79809f04 | (Will "Coke" Coleda)++ | CONTRIBUTING.md
00:16 Geth ¦ doc: fix link
00:16 Geth ¦ doc: review: https://github.com/perl6/doc/commit/dc79809f04
00:18 tokage joined #perl6
00:18 Geth ¦ doc: 9ea4a12844 | (Will "Coke" Coleda)++ | EXAMPLES.md
00:18 Geth ¦ doc: fix formatting
00:18 Geth ¦ doc: review: https://github.com/perl6/doc/commit/9ea4a12844
00:23 Geth ¦ doc: 0a0d8463bf | (Will "Coke" Coleda)++ | doc/Type/PseudoStash.pod6
00:23 Geth ¦ doc: run test, show output
00:23 Geth ¦ doc: review: https://github.com/perl6/doc/commit/0a0d8463bf
00:27 dogbert11 joined #perl6
00:34 Geth ¦ doc: 237aabfc29 | (Will "Coke" Coleda)++ | doc/Language/unicode_texas.pod6
00:34 Geth ¦ doc: remove since, #1236
00:34 Geth ¦ doc: review: https://github.com/perl6/doc/commit/237aabfc29
00:37 travis-ci joined #perl6
00:37 travis-ci Doc build errored. Will "Coke" Coleda 'fix formatting'
00:37 travis-ci https://travis-ci.org/perl6/doc/builds/262052769 https://github.com/perl6/doc/compare/dc79809f04da...9ea4a12844e2
00:37 travis-ci left #perl6
00:37 buggable [travis build above] ? Did not recognize some failures. Check results manually.
00:38 travis-ci joined #perl6
00:38 travis-ci Doc build errored. Will "Coke" Coleda 'fix link'
00:38 travis-ci https://travis-ci.org/perl6/doc/builds/262052579 https://github.com/perl6/doc/compare/0d0024f6a57b...dc79809f04da
00:38 travis-ci left #perl6
00:38 buggable [travis build above] ? Did not recognize some failures. Check results manually.
00:39 Geth ¦ doc: 9cdecdfc2f | (Will "Coke" Coleda)++ | doc/Type/IO/Pipe.pod6
00:39 Geth ¦ doc: recommend Proc::Async instead of Proc
00:39 Geth ¦ doc: review: https://github.com/perl6/doc/commit/9cdecdfc2f
00:41 lookatme joined #perl6
00:42 skids joined #perl6
00:42 lookatme morning
00:42 ijneb lookatme: Good morning, again lol
00:43 lookatme ijneb, yeah, :P lol
00:48 wamba joined #perl6
00:50 Geth ¦ doc: 43ac7e2b85 | (Will "Coke" Coleda)++ | doc/Language/containers.pod6
00:50 Geth ¦ doc: Change the wording on self-referential structures
00:50 Geth ¦ doc:
00:50 Geth ¦ doc: It's fine, you can use them.
00:50 Geth ¦ doc:
00:50 Geth ¦ doc: Closes #1125
00:50 Geth ¦ doc: review: https://github.com/perl6/doc/commit/43ac7e2b85
00:55 travis-ci joined #perl6
00:55 travis-ci Doc build errored. Will "Coke" Coleda 'remove since, #1236'
00:55 travis-ci https://travis-ci.org/perl6/doc/builds/262055474 https://github.com/perl6/doc/compare/0a0d8463bfdf...237aabfc29bc
00:55 travis-ci left #perl6
00:55 buggable [travis build above] ? Did not recognize some failures. Check results manually.
01:00 travis-ci joined #perl6
01:00 travis-ci Doc build errored. Will "Coke" Coleda 'recommend Proc::Async instead of Proc'
01:00 travis-ci https://travis-ci.org/perl6/doc/builds/262056269 https://github.com/perl6/doc/compare/237aabfc29bc...9cdecdfc2faa
01:00 travis-ci left #perl6
01:00 buggable [travis build above] ? Did not recognize some failures. Check results manually.
01:08 Cabanossi joined #perl6
01:10 travis-ci joined #perl6
01:10 travis-ci Doc build errored. Will "Coke" Coleda 'Change the wording on self-referential structures
01:10 travis-ci https://travis-ci.org/perl6/doc/builds/262057951 https://github.com/perl6/doc/compare/9cdecdfc2faa...43ac7e2b85b3
01:10 travis-ci left #perl6
01:10 buggable [travis build above] ? Did not recognize some failures. Check results manually.
01:11 [Coke] hoelzro: ===> Testing [FAIL]: IO::String:ver('0.1.1'):auth('Rob Hoelz')
01:11 [Coke] Aborting due to test failure: IO::String:ver('0.1.1'):auth('Rob Hoelz') (use --force-test to override)
01:12 [Coke] ... We can actually speed up the doc travis if we don't install the optional modules required by xt/
01:12 [Coke] (of which IO::String is one)
01:13 timotimo isn't xt something that should be run especially on CI?
01:14 astj joined #perl6
01:15 timotimo hm
01:15 timotimo perhaps only for the module author to run before a new commit is pushed or distro uploaded?
01:16 timotimo maybe the doc travis should be changed to run on docker and get rakudo that way?
01:17 timotimo if its rakudobrew build moar takes ~450 seconds ...
01:18 astj joined #perl6
01:25 Geth ¦ whateverable: 025c05081a | (Aleks-Daniel Jakimenko-Aleksejev)++ | 35 files
01:25 Geth ¦ whateverable: bin/ and lib/ directories
01:25 Geth ¦ whateverable:
01:25 Geth ¦ whateverable: Half resolves issue #194.
01:25 Geth ¦ whateverable:
01:25 Geth ¦ whateverable: Everything is far from being perfect but at least this is a small step
01:25 Geth ¦ whateverable: towards getting the tree properly organized.
01:25 Geth ¦ whateverable:
01:25 Geth ¦ whateverable: <…commit message has 10 more lines…>
01:25 Geth ¦ whateverable: review: https://github.com/perl6/whateverable/commit/025c05081a
01:27 mcmillhj joined #perl6
01:36 coverable6 joined #perl6
01:36 bloatable6 joined #perl6
01:36 committable6 joined #perl6
01:36 evalable6 joined #perl6
01:36 quotable6 joined #perl6
01:36 bisectable6 joined #perl6
01:36 greppable6 joined #perl6
01:36 benchable6 joined #perl6
01:36 unicodable6 joined #perl6
01:36 statisfiable6 joined #perl6
01:40 astj joined #perl6
01:51 ilbot3 joined #perl6
01:51 Topic for #perl6 is now »ö« Welcome to Perl 6! | https://perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:,  or /msg camelia p6: ... | irclog: http://irc.perl6.org or http://colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
01:57 cdg joined #perl6
02:00 astj joined #perl6
02:06 cdg joined #perl6
02:10 cdg joined #perl6
02:11 Zoffix There haven't been any updates to IO::String since June. The newest failures in it are rakudo's fault.
02:13 mcmillhj joined #perl6
02:13 noganex joined #perl6
02:17 pierrot joined #perl6
02:19 brimonk joined #perl6
02:19 tony-o joined #perl6
02:19 freeze joined #perl6
02:22 Geth ¦ doc: d40bee7f43 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/modules-core.pod6
02:22 Geth ¦ doc: Add doc links
02:22 Geth ¦ doc: review: https://github.com/perl6/doc/commit/d40bee7f43
02:22 andy__ joined #perl6
02:22 Zoffix Do we got docs for the `--doc=Text` feature?
02:23 Zoffix This is it, I guess: https://docs.perl6.org/language/pod#Text
02:25 ingy joined #perl6
02:25 pm5 joined #perl6
02:25 spider-mario joined #perl6
02:26 Geth ¦ doc: 90ff6a5ea9 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/pod.pod6
02:26 Geth ¦ doc: Document that you can pass `Text` value to --doc
02:26 Geth ¦ doc: review: https://github.com/perl6/doc/commit/90ff6a5ea9
02:26 TreyHarris joined #perl6
02:31 Zoffix TreyHarris!
02:42 travis-ci joined #perl6
02:42 travis-ci Doc build errored. Zoffix Znet 'Add doc links'
02:42 travis-ci https://travis-ci.org/perl6/doc/builds/262073996 https://github.com/perl6/doc/compare/43ac7e2b85b3...d40bee7f4372
02:42 travis-ci left #perl6
02:42 buggable [travis build above] ? Did not recognize some failures. Check results manually.
02:46 travis-ci joined #perl6
02:46 travis-ci Doc build errored. Zoffix Znet 'Document that you can pass `Text` value to --doc'
02:47 travis-ci https://travis-ci.org/perl6/doc/builds/262074714 https://github.com/perl6/doc/compare/d40bee7f4372...90ff6a5ea979
02:47 travis-ci left #perl6
02:47 buggable [travis build above] ? Did not recognize some failures. Check results manually.
03:14 anaeem1 joined #perl6
03:15 lookatme Last week report ?
03:15 lookatme Anyone know the link
03:15 lookatme ?
03:15 Zoffix lookatme: https://p6weekly.wordpress.com/2017/08/07/2017-32-weekly-101/
03:16 lookatme Zoffix, thanks
03:22 Cabanossi joined #perl6
03:29 mcmillhj joined #perl6
03:33 pharv joined #perl6
03:51 Geth ¦ modules.perl6.org: 46bfeea222 | (Zoffix Znet)++ | 4 files
03:51 Geth ¦ modules.perl6.org: Include core modules in the listing
03:51 Geth ¦ modules.perl6.org:
03:51 Geth ¦ modules.perl6.org: Since it may not be obvious where to look for their documentation to
03:51 Geth ¦ modules.perl6.org: users unfamiliar with our site. Make them link to docs for the topic.
03:51 Geth ¦ modules.perl6.org:
03:51 Geth ¦ modules.perl6.org: The Feelin'-Lucky search will direct to them on exact name match,
03:51 Geth ¦ modules.perl6.org: otherwise, it'll search through them only when no other dists were found.
03:51 Geth ¦ modules.perl6.org: review: https://github.com/perl6/modules.perl6.org/commit/46bfeea222
03:52 Zoffix (that looks like this: http://i.imgur.com/wLhrKdX.png )
03:52 Geth ¦ modules.perl6.org: 2c56c57681 | (Zoffix Znet)++ | templates/root/search.html.ep
03:52 Geth ¦ modules.perl6.org: Include core dists in search results count
03:52 Geth ¦ modules.perl6.org: review: https://github.com/perl6/modules.perl6.org/commit/2c56c57681
03:54 anaeem___ joined #perl6
03:58 Geth ¦ modules.perl6.org: 1dbc97f6ce | (Zoffix Znet)++ | lib/ModulesPerl6/Model/CoreModules.pm
03:58 Geth ¦ modules.perl6.org: Remove `is_core` key from CoreModules
03:58 Geth ¦ modules.perl6.org:
03:58 Geth ¦ modules.perl6.org: Ended up never using it
03:58 Geth ¦ modules.perl6.org: review: https://github.com/perl6/modules.perl6.org/commit/1dbc97f6ce
04:09 mcmillhj joined #perl6
04:14 pharv joined #perl6
04:16 zengargoyle joined #perl6
04:20 * zengargoyle zomg
04:23 * zengargoyle in begining of battle with AT&T over DSL being borked. :) on dual-routed LTE from phone and wired to home and watching DSL connection crash and burn. :P
04:24 * zengargoyle there's a line card flapping out there and calling support really doesn't help. :P
04:25 TEttinger zengargoyle: I also have AT&T, sadface
04:25 mcmillhj joined #perl6
04:25 TEttinger they should rebrand to AT&T&:(
04:27 zengargoyle i'm 99% sure that it's network issue, but conversation with support was LOL-tastic.  i'll try some serious social engineering tomorrow if it doesn't magically go away.
04:29 TEttinger hey, it's dan verizon here...
04:29 TEttinger alternately, get two calls going, one to verizon sales, one to AT&T support, both on speakerphone
04:29 zengargoyle lol...
04:31 zengargoyle i have problem that my original phone/dsl was a corporate paid deal and the mibration did not work.   my normal-user stuff is terribly borked.
04:32 zengargoyle but i have a tech i can call tomorrow who will sort things out, or at least give me good info on what is happening.
04:33 zengargoyle outsourced call-center "reboot your router" folk in the middle of the night are no help at all no matter their good intentions and script following. :)
04:40 zengargoyle hehe, luckily or unluckily i'm not a bit cell phone user, do there's data to burn. :P
04:52 aborazmeh joined #perl6
04:52 aborazmeh joined #perl6
04:53 BigJ joined #perl6
04:57 zengargoyle hah, i'm thinking they fixed it.... (crosses fingers and knocks on wood).
05:01 andrzejku joined #perl6
05:07 zengargoyle darn, maybe not.  400 seconds of uptime before boom...  and now back up.... so frustrating, hopefully some tech is cursing at a piece of eqipment like i would. :)
05:10 * zengargoyle kicked one of the DNS root servers in a fit of rage.
05:21 pharv_ joined #perl6
05:22 Cabanossi joined #perl6
05:29 khw joined #perl6
05:30 xtreak joined #perl6
05:39 lowbro joined #perl6
05:39 lowbro joined #perl6
05:44 anaeem1_ joined #perl6
05:52 Cabanossi joined #perl6
05:55 Resol joined #perl6
05:56 TEttinger joined #perl6
06:00 Resol p6: my $channel = Channel.new;
06:00 camelia rakudo-moar a91ad2: ( no output )
06:00 Resol say $channel
06:00 evalable6 Resol, rakudo-moar a91ad2da8: OUTPUT: «(exit code 1) ===SORRY!=== Error while compiling /tmp/k0lAdK6eT_?Variable '$channel' is not declared. Did you mean 'Channel'??at /tmp/k0lAdK6eT_:1?------> say ?$channel»
06:04 wigner joined #perl6
06:13 andrzejku joined #perl6
06:14 ChoHag joined #perl6
06:16 jsoo joined #perl6
06:18 wamba joined #perl6
06:18 pmurias joined #perl6
06:22 xtreak joined #perl6
06:28 cpage_ joined #perl6
06:32 lizmat joined #perl6
06:36 jsoo joined #perl6
06:42 jsoo joined #perl6
06:42 jsoo left #perl6
06:44 pmurias joined #perl6
06:44 pharv joined #perl6
06:53 pmurias joined #perl6
06:57 anaeem1 joined #perl6
07:02 lizmat joined #perl6
07:07 anaeem1_ joined #perl6
07:09 awwaiid joined #perl6
07:11 pharv_ joined #perl6
07:13 zengargoyle joined #perl6
07:14 zengargoyle meh, seems like my tethering AP shuts off after some inactivity.
07:15 abraxxa joined #perl6
07:16 mr-foobar joined #perl6
07:23 edehont joined #perl6
07:27 zengargoyle ha, i can feel the heat that using my laptop's wifi generates.
07:33 * moritz typically feels the heat that the mobile phone generates while tethering is activated
07:33 yoleaux 00:21Z <AlexDaniel> moritz: FWIW, somehow I was under impression that only new unicody messages are broken, but everything seems to be affected: https://irclog.perlgeek.de/perl6/2016-09-05#i_13155366 . Maybe you know already, I just thought that I'll mention it just in case…
07:34 parv joined #perl6
07:34 darutoko joined #perl6
07:37 nadim joined #perl6
07:38 mr-fooba_ joined #perl6
07:39 dha joined #perl6
07:42 zakharyas joined #perl6
07:47 lraynal joined #perl6
07:47 mr-foobar joined #perl6
07:48 zengargoyle moritz: heh, it's the laptop where i feel the heat. the phone is normal. the laptop is generally wired to the 1G network (who can tolerate NFS and X over wireless... :P )
07:49 nadim lizmat: morning, I see that you have digged a bit in NativeCall, there is an example here https://docs.perl6.org/language/nativecall#Embedding_CStructs_and_CUnions that I need some help with. It show a CStruct in a CStruct, one via has and the other via HAS but no exaample of how to instanciate the structures. Could you show me or add such examples?
07:49 * zengargoyle totally hasn't felt hot spots on this laptop before.
07:49 char_var[buffer] joined #perl6
07:51 zengargoyle wireless is for the chromecast/roku/phone... plebian devices :)
07:52 llfourn joined #perl6
07:52 Cabanossi joined #perl6
07:52 zengargoyle my baby talks gig to her significant other. :)
07:53 anaeem1__ joined #perl6
07:53 * zengargoyle gives laptop a love tap and says it will be all better soon.
07:55 * zengargoyle totally hasn't felt hot spots on this laptop before.really wanting to go home.
07:56 llfourn o/ from Amsterdam #perl6!
07:56 yoleaux 29 Jul 2017 11:45Z <nadim> llfourn: Hi, I did not managed to make a RT since I could not golf it down, on the other hand I found what the problem was. Maybe this will help https://nopaste.linux-dev.org/?1160132
07:58 llfourn nadim: looks like that pasta expired?
07:58 robertle joined #perl6
07:58 zengargoyle and that last weird was <deleted> gnome doing the history thing when you touch the scroolpad,  gah i hate gnome-terminal.
07:59 mr-fooba_ joined #perl6
07:59 zengargoyle dsl is up for a good hour now, i imagine some tech really wanting to go home.
08:04 nattefrost joined #perl6
08:17 mr-foobar joined #perl6
08:17 lizmat nadim: I'm really no expert on NativeCall, perhaps nine of Zoffix may be able to help out
08:17 yoleaux 03:11Z <Zoffix> lizmat: any idea why this gives only `"\n"` in the list instead of both `"\n"` and `"\r\n"`? Bisectbot points to the `is default` change in IO::Handle. I'm failing to golf it out of IO::Handle tho even after copying all the relevant bits. Code:  class Z is IO::Handle { method x { dd $.nl-in } }.new.x;
08:18 * lizmat clickbaits https://p6weekly.wordpress.com/2017/08/07/2017-32-weekly-101/
08:18 Kyo91 joined #perl6
08:19 araujo_ joined #perl6
08:21 araujo_ joined #perl6
08:22 nadim joined #perl6
08:22 Cabanossi joined #perl6
08:24 nadim lizmat: thanks, I have asked Zoffix alread, I'll ask nine
08:25 nadim nine: hi, any idea about the NativeCall question above?
08:32 char_var[buffer] joined #perl6
08:42 edehont joined #perl6
08:47 Ven joined #perl6
08:55 BigJ joined #perl6
08:55 nine nadim: you treat it pretty much like a normal class. The examples even contain the .new cll
08:55 dha joined #perl6
08:58 Ven_ joined #perl6
09:03 pharv_ joined #perl6
09:11 tzekid joined #perl6
09:19 nadim nine: this example https://docs.perl6.org/language/nativecall#Embedding_CStructs_and_CUnions, I could not set the embeded, or refered, Points.
09:22 Cabanossi joined #perl6
09:24 nadim IE: $mystruct2.point = $point ; gave me error: Cannot modify an immutable Point ((Point))
09:24 dhgalt joined #perl6
09:27 mr-foobar joined #perl6
09:33 nine nadim: you'll probably have to initialize the fields individually: $mystruct2.point.x = 1; $mystruct2.point.y = 2;
09:35 lookatme nadim, you can write a read-only accessor
09:40 lookatme m: use NativeCall; class Point is repr("CStruct") { has num64 $.x; has num64 $.y; submethod TWEAK() { $!x = num64.new(10); $!y = num64.new(10);}; }; class MS is repr("CStruct") { has Point $.point; has int32 $.flags; submethod TWEAK() { $!point := Point.new; $!flags = 1; }; }; say MS.new
09:40 camelia rakudo-moar a91ad2: OUTPUT: «MS.new(point => Point.new(x => 10e0, y => 10e0), flags => 1)?»
09:41 lookatme m: use NativeCall; class Point is repr("CStruct") { has num64 $.x; has num64 $.y; submethod TWEAK() { $!x = num64.new(10); $!y = num64.new(10);}; }; class MS is repr("CStruct") { has Point $.point; has int32 $.flags; submethod TWEAK() { $!point := Point.new; $!flags = 1; }; }; my $ms = MS.new; $ms.point.x = num64.new(32); say $ms;
09:41 camelia rakudo-moar a91ad2: OUTPUT: «Cannot modify an immutable Num (10)?  in block <unit> at <tmp> line 1??»
09:42 lookatme m: use NativeCall; class Point is repr("CStruct") { has num64 $.x is rw; has num64 $.y; submethod TWEAK() { $!x = num64.new(10); $!y = num64.new(10);}; }; class MS is repr("CStruct") { has Point $.point; has int32 $.flags; submethod TWEAK() { $!point := Point.new; $!flags = 1; }; }; my $ms = MS.new; $ms.point.x = num64.new(32); say $ms;
09:42 camelia rakudo-moar a91ad2: OUTPUT: «MS.new(point => Point.new(x => 32e0, y => 10e0), flags => 1)?»
09:42 lookatme nadim, does ^^ helpful ?
09:43 rindolf joined #perl6
09:46 lookatme off work now
09:47 nadim yes, should be in the example, may add it later
09:51 llfourn joined #perl6
09:53 sacomo joined #perl6
09:55 mr-foobar joined #perl6
09:55 zakharyas joined #perl6
10:07 Unavowed joined #perl6
10:18 broquaint joined #perl6
10:20 mr-foobar joined #perl6
10:22 haha_ joined #perl6
10:27 Ven joined #perl6
10:30 sena_kun joined #perl6
10:41 koto joined #perl6
10:50 mp_ joined #perl6
10:53 mp_ Can I compile perl6 scripts in moarvm bytecode and run the generated file? I would to use it in a production environment
10:53 mp_ thanks
10:54 Zoffix mp_: not yet
10:54 Zoffix buggable: eco wix
10:54 buggable Zoffix, App::InstallerMaker::WiX 'Tool to make basic WiX installers for Perl 6 apps, bundling MoarVM/Rakudo.': https://github.com/jnthn/p6-app-installermaker-wix
10:54 Zoffix You can pack it up tho on Windows ^
10:55 Zoffix mp_: note that modules are already precompiled. If you're just looking for a speed boost, shove everything into a module
10:57 mp_ ah ok. It was for hide my proprietary code
10:57 mp_ I'll try to use modules
11:00 Zoffix mp_: you can't hide that really. If someone really wants it, they'll disassemble your compiled binary. The cool kids use legal instruments for that purpose these days.
11:01 Zoffix that purpose = ensuring your work isn't re-used and re-sold
11:05 mp_ Yes, I know, it's just to make it a bit more difficult to read
11:05 mp_ thanks a lot
11:06 lizmat joined #perl6
11:15 dha joined #perl6
11:19 mr-fooba_ joined #perl6
11:27 titsuki_ joined #perl6
11:30 araraloren joined #perl6
11:31 edehont joined #perl6
11:32 dh7320 joined #perl6
11:36 colomon joined #perl6
11:40 Ven joined #perl6
11:48 anaeem1_ joined #perl6
11:52 Cabanossi joined #perl6
12:10 raschipi joined #perl6
12:11 nadim NativeCall support blog, thank you all for the help, http://blogs.perl.org/users/nadim_khemir/2017/08/take-a-walk-on-the-c-side.html
12:12 Zoffix nadim++ # blogging
12:16 nadim takes hell of a time!
12:16 sufrostico joined #perl6
12:22 Cabanossi joined #perl6
12:31 andreoss joined #perl6
12:33 nadim seriously, kudos to those of you who do it often
12:35 jnthn Last time I blogged I was like "eh, I'll just finish this post quickly before bed" and then when I got to bed it was after 3am...
12:39 hoelzro o/ #perl6
12:39 yoleaux 26 May 2017 18:56Z <Zoffix> hoelzro: Sent you a PR fixing a couple of bugs; an old one in .get() and a new one in .lines due to latest Rakudo encoding refactor no longer using .get for .lines; https://github.com/hoelzro/p6-io-string/pull/8
12:39 konsolebox joined #perl6
12:39 hoelzro wow, that long, huh? :(
12:39 jnthn o/ hoelzro
12:39 hoelzro I saw some IO::String releated failures on here last night - is there anything I can do to fix that?
12:39 hoelzro o/ jnthn
12:40 [Coke] hoelzro: the travis run of perl6/docs was dying trying to instll IO::String
12:41 hoelzro [Coke]: ah, ok - I just built a fresh rakudo and installed IO::String without incident - was it a hiccup, or something related to perl6/docs? or is there a problem with IO::String that needs fixing?
12:43 Zoffix hoelzro: it was a rakudo problem and is fixed on HEAD
12:44 [Coke] https://travis-ci.org/perl6/doc/
12:44 Zoffix (or rather, the cause was reverted to avoid breakage; the fix is still need to be found; https://rt.perl.org/Ticket/Display.html?id=131858#ticket-history )
12:44 [Coke] let me re-run that last one.
12:45 hoelzro Zoffix: ah, ok - thanks!
12:46 hoelzro I don't do much these days, but the least I can do is keep my modules green =)
12:46 mcmillhj joined #perl6
12:46 Zoffix buggable: eco author:hoelzro
12:46 buggable Zoffix, Nothing found
12:46 Zoffix buggable: eco author:hoelz
12:46 buggable Zoffix, Found 6 results: Linenoise, IO::String, Algorithm::LCS, PriorityQueue, Pod::EOD. See https://modules.perl6.org/s/author%3Ahoelz
12:46 Zoffix \o/
12:47 Zoffix hm. the core modules thing needs an author....
12:55 lizmat joined #perl6
12:57 nadim Do we have a sorted hash? or better a trait that sorts hashes?
12:58 timotimo nothing built-in
12:58 nadim although I realize now that the two thing I named are different things
12:58 timotimo at one point someone wrote a role that you can apply to a hash that makes it remember the order of things added
12:58 * nadim wonders what wold be the cleanest way to implement the
12:59 nadim Ah, who was it?
12:59 timotimo i believe it was masak
12:59 Zoffix Search the modules site, dude :)
12:59 timotimo like 6 years ago or something
12:59 Zoffix buggable: eco turducken
12:59 buggable Zoffix, ArrayHash 'An array in a hash in an array... like a turducken': https://github.com/zostay/perl6-ArrayHash
13:00 nadim yeah right! of course a turducken, what was I thinking ;)
13:00 Zoffix :)
13:00 Zoffix looks busted tho, if travis is to be believed
13:01 nadim Zoffix: I used to go to the module site like this https://modules.perl6.org/#q=data, IE it accepted a query but not any more.
13:01 nadim will that come back?
13:01 Zoffix nadim: no
13:01 Zoffix nadim: https://modules.perl6.org/q/data
13:02 Zoffix nadim: https://modules.perl6.org/s/data
13:02 nadim I see, it's "search?q=" now
13:02 Zoffix /s/ endpoint works
13:02 zostay i don't think it's busted, let me kick travis and go for a retry
13:03 zostay huh... "Unable to allocate an array of 18446744073709551615 elements"
13:03 nadim zostay: while you are lkicking travis, I have not made it pass once on Data::Dump::Tree, although tests are just passing fine, I haven't really got this and I'd appreciate a hand
13:04 zostay yeah, i've been getting a lot of transient errors in my tests lately on travis, but i don't why
13:04 zostay i don't get them when i run the tests local
13:07 edehont joined #perl6
13:14 zostay yep, rerun of travis passed, so it was either some bug in rakudo that existed as of the commit it lasted tested or something weird with travis-ci
13:15 llfourn joined #perl6
13:22 Cabanossi joined #perl6
13:23 eater joined #perl6
13:34 raschipi joined #perl6
13:40 haha_ joined #perl6
13:41 RockyBalboa joined #perl6
13:45 timotimo http://perlmonks.org/index.pl?node_id=1196984 - if someone has a perlmonks account
13:47 lizmat joined #perl6
13:49 * Zoffix reads but abstains from answering
13:49 Zoffix Too many questions and many of them are "why did you design it like that"
13:50 timotimo mhm
13:50 ab5tract good *, #perl6
13:50 yoleaux 9 Jul 2017 22:19Z <lizmat> ab5tract: my solution to [(^)] : https://github.com/rakudo/rakudo/commit/0cdd6c2535
13:50 sena_kun joined #perl6
13:50 skids joined #perl6
13:50 sena_kun arnsholt_, ping?
13:51 ab5tract i was wondering where i might find information on nqp::p6bindattrinvres
13:51 Zoffix ab5tract: https://github.com/rakudo/rakudo/blob/nom/docs/ops.markdown#p6bindattrinvres
13:52 Zoffix It's bind-this-value-to-this-attr-in-this-thing-and-return-the-thing
13:52 Cabanossi joined #perl6
13:53 Zoffix m: class Foo { has $.bar }; use nqp; dd nqp::p6bindattrinvres(Foo.new, Foo, q|$!bar|, "meows")
13:53 camelia rakudo-moar 674551: OUTPUT: «Foo.new(bar => "meows")?»
13:54 * moritz answers
13:55 Zoffix moritz++
13:55 timotimo answers++
13:55 moritz man, perlmonks really is a PITA to use
13:56 cdg joined #perl6
13:57 haha_ joined #perl6
13:58 moritz quoting parts of a question that contains markup mean you have to recreate the markup you quoted
13:58 moritz I know that when I used it a lot (around 2006-2009), I thought "it's not that bad"
13:58 moritz stockholm syndrome at its finest
14:05 jsoo joined #perl6
14:06 jsoo left #perl6
14:08 mcsnolte joined #perl6
14:16 Zoffix Writing a GUI automation app in AutoIt ATM.... I'd trade Rakudo's features over rakudo's slowness any time.
14:16 lizmat joined #perl6
14:16 Zoffix Can't even spread a function call onto multiple lines on this thing without putting ' _' as unspace on each line
14:16 moritz though I can kinda imagine that GUI automation is unfun in any language
14:17 Zoffix It's pretty neat in this language, I'd say. It's the lang itself that kinda eww. If I had Rakudo's features, it'd be pretty sweet. I think there's a C lib that comes with AutoIt. Might write bindings for it.
14:18 RockyBalboa Hello! Just a quick question. I have played with Perl 6 the past few days. I LOVE the language: the synthax, all the features, it's so good. I would love to switch to Perl 6 (coming from Ruby), but right now Perl 6 is sadly too slow (for a web app for example). I was wondering, where are now? When can we expect to have better performances? I would love to help, but I am just a web developer. Anyway, thanks for your work guys. :)
14:19 moritz RockyBalboa: Rakudo (the compiler) has been getting faster steadily over the last few years
14:19 Zoffix RockyBalboa: couple days ago we added new spesh that made our bench run 20% faster. And more work is being done. You can help sponsor the person most capable of performing the needed work: https://6guts.wordpress.com/2017/05/12/looking-for-perl-6-rakudo-and-moarvm-development-funding/
14:19 moritz and you could help by donating for http://www.perlfoundation.org/perl_6_core_development_fund :-)
14:19 Zoffix *new spesh changes
14:20 Zoffix RockyBalboa: also: help by reporting which constructs are unusually slow.
14:21 Zoffix huggable: rakudobug
14:21 huggable Zoffix, Report bugs by emailing to <rakudobug@perl.org>
14:21 Zoffix ^ by there
14:21 Zoffix RockyBalboa: oh, and new expression JIT backend is about to be merged soon. That's 2 years worth of work right there. It'll let up write more JIT stuff. https://github.com/MoarVM/MoarVM/pull/625
14:22 RockyBalboa Ok thanks! :) Nice, I will help with funding as I can't code hardcore VM stuff :)
14:22 Zoffix \o/
14:22 Cabanossi joined #perl6
14:23 Zoffix s/let up/let us/; -_-
14:23 Kyo91 joined #perl6
14:24 RockyBalboa For example, just parsing a string variable seems somehow slow compared to Ruby. Don't get me wrong, I don't want to be rude, I know you are working hard :)
14:24 moritz RockyBalboa: what do you mean by "parsing"? matching a regex against it?
14:25 timotimo rakudo has a few "performance cliffs" in my experience; there's ways to do things that are definitely fast enough, but you can easily shoot your performance to hell with just a simple change or two
14:26 RockyBalboa For example, if I declare: my $string = 'long long string' and simply run this perl file, it's kind of slow (compared to other scripting languages).
14:26 moritz oh, that's mostly startup time
14:27 RockyBalboa Oh ok, startup/compile time?
14:27 moritz and yes, last I measured, rakudo was around 100ms, and ruby around 40ms
14:27 nadim joined #perl6
14:27 raschipi TimToady is working on making that faster, isn't he?
14:28 Zoffix RockyBalboa: nothing rude in that :) Ruby first release 22 years ago, we first released less than 2 years ago :) Ruby had a much larger head start :)
14:28 Zoffix Last I heard TimToady was raking in huge amounts of air miles traveling :)
14:28 st_elmo joined #perl6
14:28 Zoffix But yeah, latest Cursor/Match stuff he worked on was to eventually make more optimizations in that area
14:30 Zoffix RockyBalboa: what rakudo version are you on BTW? perl6 -v
14:30 RockyBalboa Zoffix: Ok nice! Yes, I imagine it's a huuuge task! Ruby was very slow too a few years ago
14:31 RockyBalboa I was on rakudo-star-2017.07
14:31 Zoffix Ah. Good. That's the latest.
14:32 RockyBalboa In a web app, we need to do a lot of html template parsing and every ms count
14:33 timotimo you only need to parse html templates once, then a piece of code is generated for you that only does some string concatenation and loops and such
14:33 RockyBalboa But still, Perl 6 synthax is a magnificient! I love all these features. :)
14:34 RockyBalboa Yes timotimo, I should do that. Ruby is fast enough I didn't even cache generated code, I just eval it on the fly
14:35 timotimo there's multiple benefits to not generating the code new every time you use the template
14:35 timotimo the dynamic optimizer starts investigating code after it's been run a few times
14:35 timotimo if you only run it once, then toss it, that's not going to help terribly much :)
14:36 RockyBalboa Ok thanks! Yes, I am maybe too used to 100% interpreted language (and Perl is compiled...)
14:36 mspo 100% interpreted?
14:38 timotimo there aren't many of those around any more
14:38 mspo dash
14:39 RockyBalboa Ok :)
14:39 Zoffix AutoIt :)
14:39 * Zoffix is writing it ATM :)
14:40 Zoffix Nothing like getting a syntax error half way through execution ^_^
14:41 lizmat joined #perl6
14:41 Zoffix left #perl6
14:42 grumble joined #perl6
14:42 RockyBalboa Ohhh and I was wondering why we have array.elems (which I expected to return some elements) and not array.size or array.count? As a noob, that's the only tiny think I found counter-intuitive diving in Perl 6 :)
14:44 Geth_ ¦ perl6-most-wanted: 55cf48a9b3 | (Itsuki Toyota)++ (committed using GitHub Web editor) | most-wanted/bindings.md
14:44 Geth_ ¦ perl6-most-wanted: Delete gnuplot WIP
14:44 Geth_ ¦ perl6-most-wanted:
14:44 Geth_ ¦ perl6-most-wanted: I recently made a gnuplot bindings, however it is not a native one but a naive one.
14:44 Geth_ ¦ perl6-most-wanted: If there are anyone who want to use a native one, feel free to add gnuplot again.
14:44 Geth_ ¦ perl6-most-wanted: review: https://github.com/perl6/perl6-most-wanted/commit/55cf48a9b3
14:45 moritz RockyBalboa: in Perl 6, we try to encode the unit of the result in the method name
14:46 moritz RockyBalboa: .size -- could be size in bytes
14:46 moritz RockyBalboa: likewise, string lenghts are measured in .chars and .codes (and .bytes on buffers), there is no .length
14:47 geekosaur people like to think strings are simple, but they are anything but and pretending leads to e.g. web pages containing œ style gobbledygook
14:48 RockyBalboa Ok thx, it makes sense :)
14:49 RockyBalboa In Ruby, we can make string.chars (returns an array of chars) and chain with string.chars.size, but it's not efficient, so there is string.size as a shorthand
14:50 raschipi .comb.elems does the same thing in Perl6 as .chars
14:51 ugexe it probably returns the same result, but does it really do the same thing?
14:51 raschipi m: "Hello World!".comb.say
14:51 camelia rakudo-moar 674551: OUTPUT: «(H e l l o   W o r l d !)?»
14:52 andrzejku joined #perl6
14:52 geekosaur I thinkt hat is only true if all your "characters" are < 0x80
14:52 RockyBalboa Ok nice! In the end, it's just about embrassing the change, and not trying to do Ruby in Perl :)
14:52 geekosaur but poeeple like to pretend that's the world of characters
14:53 raschipi I think I got confused in my anser, .comb.elems does the same thing in Perl6 as .chars.size in Ruby.
14:53 raschipi Or does it?
14:55 RockyBalboa But what I was really saying is that "elems" feels like I will get an array or a collection of elements back, not an integer :)
14:55 geekosaur the real problem is, what is a character? how many characters in Æ?? ?
14:55 RockyBalboa But it's a minor thing yes :)
14:55 RockyBalboa A character = a unicode character?
14:56 raschipi RockyBalboa: Yes a "grapheme cluster".
14:56 rurban joined #perl6
14:57 timotimo it could very well be that when you comb a string and ask for the .elems that it'll use count-only to not have to create an array of characters
14:58 andreoss is it possible to specify varience for parametric role?
14:58 raschipi m: "???????????????????????????".comb
14:58 camelia rakudo-moar 674551: ( no output )
14:58 moritz andreoss: what does that mean?
14:58 raschipi m: "???????????????????????????".comb.say
14:58 camelia rakudo-moar 674551: OUTPUT: «(???? ???? ???????????????????)?»
14:59 timotimo don't we have multi roles? :)
14:59 moritz we do
14:59 timotimo is that perhaps what andreoss is asking for?
15:00 andreoss role Container[::A] { has A $.v }; class Foo {}; class Bar is Foo {}; Container[Foo] is a super class of Container[Bar]
15:01 timotimo ah, now i get it
15:01 timotimo i.e. do we smartmatch (for example) the parameters when we smartmatch roles
15:04 andreoss m: role Container[::A] { has A $.v }; class Foo {}; class Bar is Foo {}; say Container[Foo] ~~ Container[Bar]
15:04 camelia rakudo-moar 674551: OUTPUT: «False?»
15:05 timotimo looks like we don't
15:05 timotimo of course role parameters can be more than just types
15:06 anaeem1 joined #perl6
15:06 aborazmeh joined #perl6
15:06 aborazmeh joined #perl6
15:06 anaeem1_ joined #perl6
15:07 moritz m: role Container[::A] { has A $.v }; class Foo {}; class Bar is Foo {}; say Container[Bar] ~~ Container[Foo]
15:07 camelia rakudo-moar 674551: OUTPUT: «True?»
15:07 anaeem1 joined #perl6
15:07 moritz we do ^^
15:07 timotimo oh, huh, the ~~ was just the other way around
15:08 timotimo it's not even late, but i feel like i'm tired
15:08 andreoss my bad
15:08 anaeem1_ joined #perl6
15:08 andreoss so it's covariant by default
15:09 RockyBalboa timotimo: insall redshift on your computer, it's like power saving mode for the eyes :)
15:09 anaeem1 joined #perl6
15:09 itaipu joined #perl6
15:09 RockyBalboa * install
15:10 timotimo i have that
15:10 RockyBalboa Ok lol :)
15:11 Alikzus joined #perl6
15:12 andreoss what is the motivation behind not having parametic classes?
15:12 timotimo when you use a role as a type it'll create a class for you, called a "pun"
15:14 Dis3buted joined #perl6
15:15 Dis3buted Rakudo
15:16 haha_ joined #perl6
15:16 timotimo that's right
15:16 matiaslina joined #perl6
15:20 andreoss is there a differece betwee a role type and a class type?
15:21 timotimo there's differences, sure
15:21 jnthn andreoss: Classes are open (can be augmented) would be one notable problem, but in general roles are units of re-use and classes are units of instance management.
15:23 aborazmeh joined #perl6
15:23 aborazmeh joined #perl6
15:26 andreoss m: constant infix:<+++> = * + *; say 2 +++ 1
15:26 camelia rakudo-moar 674551: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>?Variable '&infix:<+++>' is not declared?at <tmp>:1?------> 3constant infix:<+++> = * + *; say 2 7?5+++ 1?»
15:26 andreoss m: constant infix:<+++> = * + *; say infix:<+++>
15:26 camelia rakudo-moar 674551: OUTPUT: «{ ... }?»
15:26 timotimo m: constant &infix:<+++> = * + *; say 1 +++ 3
15:26 camelia rakudo-moar 674551: OUTPUT: «4?»
15:26 timotimo it looks for things starting with &
15:27 timotimo which you get by default with a sub declaration, but not with a constant declaration
15:27 Ven joined #perl6
15:38 mr-foobar joined #perl6
15:38 RockyBalboa_ joined #perl6
15:42 khw joined #perl6
15:45 cdg joined #perl6
15:48 cdg_ joined #perl6
15:50 sufrostico joined #perl6
15:52 Cabanossi joined #perl6
16:07 haha_ joined #perl6
16:12 RockyBalboa_ left #perl6
16:12 Geth_ ¦ perl6-most-wanted: 22b5025aa4 | Altai-man++ (committed using GitHub Web editor) | most-wanted/bindings.md
16:12 Geth_ ¦ perl6-most-wanted: Remove bzip2 bindings
16:12 Geth_ ¦ perl6-most-wanted:
16:12 Geth_ ¦ perl6-most-wanted: The library was here since forever, it implements its features set, is tested, etc, so no reason to keep it here.
16:12 Geth_ ¦ perl6-most-wanted: review: https://github.com/perl6/perl6-most-wanted/commit/22b5025aa4
16:14 andrzejku joined #perl6
16:16 zakharyas joined #perl6
16:16 pmurias joined #perl6
16:17 * pmurias is now at dutch design hotel artemis
16:17 llfourn joined #perl6
16:18 andrzejku joined #perl6
16:19 dogbert11 joined #perl6
16:31 astj joined #perl6
16:34 haha_ joined #perl6
16:35 Exodist joined #perl6
16:37 Geth ¦ modules.perl6.org: d51f007333 | (Zoffix Znet)++ | lib/ModulesPerl6/Controller/Root.pm
16:37 Geth ¦ modules.perl6.org: Do not show core dists in result if author filter is used
16:37 Geth ¦ modules.perl6.org: review: https://github.com/perl6/modules.perl6.org/commit/d51f007333
16:38 itaipu joined #perl6
16:44 mcmillhj joined #perl6
16:48 bwisti joined #perl6
16:50 nhywyll joined #perl6
16:53 mcmillhj joined #perl6
16:54 pilne joined #perl6
16:57 colomon joined #perl6
16:59 Geth ¦ modules.perl6.org: a99540fb1f | (Zoffix Znet)++ | update-modules.perl6.org
16:59 Geth ¦ modules.perl6.org: Defend against potential commit trigger conflict
16:59 Geth ¦ modules.perl6.org:
16:59 Geth ¦ modules.perl6.org: If a commit to REAPP goes in in the same batch as NEWDB, we'll
16:59 Geth ¦ modules.perl6.org: be restarting the app over a db it can't handle, leading to a 500 error.
16:59 Geth ¦ modules.perl6.org: It's might be safe to REAPP when REBUILD is asked for, but I'm
16:59 Geth ¦ modules.perl6.org: avoiding REAPPING in that case as well, just in case.
16:59 Geth ¦ modules.perl6.org: review: https://github.com/perl6/modules.perl6.org/commit/a99540fb1f
17:00 ChristopherBotto joined #perl6
17:00 ChristopherBotto Hello everyone \o/
17:01 gfldex m: say "ohai ChristopherBotto!";
17:01 camelia rakudo-moar 674551: OUTPUT: «ohai ChristopherBotto!?»
17:01 ChristopherBotto I was wondering why unused parameters don't invoke a warning. This silently swallows its parameters, for example. p6: Hash.new(A => 1, B =>2);
17:01 ChristopherBotto p6: Hash.new(A => 1, B =>2)
17:01 camelia rakudo-moar 674551: ( no output )
17:02 gfldex ChristopherBotto: it can be quite handy of you overload or wrap methods
17:02 ChristopherBotto gfldex: Hi
17:03 mr-fooba_ joined #perl6
17:04 gfldex ChristopherBotto: if you don't like it, there is a module for you https://github.com/nxadm/StrictNamedArguments
17:05 ChristopherBotto Thanks! gfldex++
17:19 sena_kun timotimo, ping?
17:36 tzekid joined #perl6
17:36 andrzejku joined #perl6
17:36 astj joined #perl6
17:39 zengargoyle joined #perl6
17:44 RockyBalboa joined #perl6
17:51 ugexe strange, many of my perl6 repos are now showing up as unknown on github
17:52 ugexe https://github.com/github/linguist/pull/3735/files looks suspect
17:55 Ven joined #perl6
17:58 ChoHag joined #perl6
17:59 timotimo sena_kun: pong
18:03 cdg joined #perl6
18:05 sena_kun timotimo, hello. There are some changes from me to Net::ZMQ, I've pinged arnsholt, but no success, so I thought you can help me with a pull request review/merge, especially since you seem to use that library. I'd like rather not fork it.
18:05 espadrine joined #perl6
18:08 cdg joined #perl6
18:08 sena_kun timotimo, of course, if it doesn't interfere too much with your plans.
18:09 timotimo i don't actually use it, but i know someone else does :)
18:10 Aaronepower joined #perl6
18:11 timotimo huh, this is frustrating, i can't find the relevant emails any more
18:14 user3 joined #perl6
18:15 user3 regex. what is the difference in regard to capture between (\w+)? and ([\w+]?)
18:17 timotimo the first capture is allowed to "be missing" while the second is allowed to match an empty string
18:17 zengargoyle joined #perl6
18:17 user3 ok, so the first would produce Nil while the 2nd would produce an empty string?
18:18 user3 i'll run a few tests...
18:19 cdg_ joined #perl6
18:22 ugexe well if it uses positional matches anywhere it could change that
18:22 Cabanossi joined #perl6
18:23 cdg__ joined #perl6
18:23 user3 i think i get the idea. (\w+)? is probably what the cleaner one to use most often
18:23 ugexe maybe not
18:24 merced left #perl6
18:24 user3 *is probably the cleaner one...
18:26 AlexDaniel gfldex: hey ^^
18:26 AlexDaniel nice to see you around
18:27 sena_kun arnsholt, ping?
18:28 arnsholt sena_kun: Yeah?
18:28 ugexe ah I guess some Perl 6 repos will show up as Unknown language on github until the repo is updated / cache somehow reset since they changed the name from Perl6 to Perl 6
18:30 sena_kun arnsholt, hi! I am interested in Net::ZMQ a bit and sent a PR today, but it brings some changes and I think it needs to be reviewed. If you are still interested in this project, I will be very grateful for any help from you.
18:30 user3 what is the official name of the language, Perl6 or Perl 6?
18:31 Aaronepower joined #perl6
18:32 [Coke] Perl 6
18:32 [Coke] (with a nbsp if you can manage it, thanks)
18:32 Ven_ joined #perl6
18:32 zengargoyle joined #perl6
18:33 user3 ok, so the official name is the name of a version
18:33 user3 doesn't that lack identity?
18:34 user3 just saying...
18:35 mspo perl 6000
18:36 user3 maybe in 6000 years, i.e. another 6000 since creation
18:37 user3 jk
18:37 tbrowder m: sub foo { say &?ROUTINE.name }
18:37 camelia rakudo-moar 674551: ( no output )
18:37 arnsholt sena_kun: It's been ages since I did anything with that stuff
18:37 arnsholt And AFAIK noone else is really working on it
18:38 arnsholt So if you want, I could give you a commitbit, really
18:38 sena_kun the last PR was merged by Timo and I assumed he has write access too, so pinged him, yes.
18:39 tbrowder m: sub f{ my $s=&?ROUTINE.name; say "DEBUG: $s} foo
18:39 camelia rakudo-moar 674551: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>?Unable to parse expression in double quotes; couldn't find final '"' ?at <tmp>:1?------> 3y $s=&?ROUTINE.name; say "DEBUG: $s} foo7?5<EOL>?    expecting any of:?        postfix?»
18:40 sena_kun arnsholt, are there any known to you users of the library? Because I sort of need to update it to current ZMQ version and things went deprecated, etc, it can break stuff.
18:40 setty1 joined #perl6
18:40 ugexe m: sub foo { &?ROUTINE.name }; say foo()
18:40 camelia rakudo-moar 674551: OUTPUT: «foo?»
18:41 arnsholt sena_kun: AFAIK, only iperl6kernel
18:42 arnsholt Which isn't exactly bursting with life either
18:43 mspo the number should be higher
18:43 tbrowder ugexe: thanks, too hard to recover on anbiphone. i'm trying to add a debugging statement that says the name of the sib and haven't had much luck getting something like: say "DEBUG: entering sub &?ROUTINE.name"
18:43 mspo to communicate the total lack of compatibility
18:49 user3 left #perl6
18:52 raschipi Perl 6000000000000000000, otherwise the version name doesn't fit in 64-bit integer.
18:53 jnthn Please, if you write a test using Test::META or so, put it in xt/, *not* in t/. Again, I have trouble installing a module because of this. It passes all its tests except this one. :/
18:53 ugexe we really need to spec an author-depends
18:53 nadim I get this error when running Test::META, I rported it and the author said it was fixed and wondered if it was zef that would not update. error: Could not find META6:ver<0.0.4..*> at line 66 , bug report: https://github.com/jonathanstowe/Test-META/issues/27#issuecomment-319090770
18:54 jnthn oh heh, that's exactly the error I just got installing Pluggable
18:54 Ven joined #perl6
18:54 nadim jnthn: read what JStowe write in his answer
18:56 jnthn $ zef install Test::META
18:56 jnthn All candidates are currently installed
18:56 nadim same here
18:56 jnthn And I already did a zef update
18:56 nadim I forced it and still the same error
18:56 ugexe since it was fixed in .10, it might be that your zef version doesn't have the fix where it was doing numerical comparison
18:56 gfldex did you try `zef upgrade Test::META`?
18:56 jnthn Let's add --force
18:56 nadim I also updated to the latest zef
18:57 jnthn And that complains about JSON::Class
18:57 ugexe they installo fine for me, so one of two things should fix it
18:57 nadim Could not find JSON::Class:ver<0.0.5..*>
18:57 jnthn Same here
18:57 ugexe rm -rf ~/.perl6, or rm -rf ~/.zef
18:57 jnthn OK, I'll give this 2 mroe minutes and then I'll copy-paste :)
18:58 jnthn Pluggable depends on two further modules for its tests anyway, which I don't care to depend on for what I'm doing
18:59 * jnthn just nabs the idea at the heart of it :)
18:59 nadim rm -rf ~/.zef   did not help, trying the other
19:00 andrzejku joined #perl6
19:00 nadim rm -rf ~/.perl6, still same error
19:02 nadim ugexe: any test one could run for you to help find what it is?
19:04 ugexe i would try to find the file on disk to see if that line of code is as it says, and see if you could correlate that to a stale version somehow
19:05 [Coke] (xt vs. t) - perl6/docs also needs this separation.
19:06 ugexe nadim: maybe need to `zef nuke site home` if the module with that code is already installed (so it can be reinstalled)
19:06 ugexe that will delete all installed modules
19:08 nadim ohhh noooo!
19:08 nadim can I get a list that I can give back to zef to reinstall all?
19:09 ugexe zef list --installed (but its not something you can just feed back in)
19:09 ugexe otherwise you could just do `zef uninstall Blah` for anything by name
19:09 nadim I try that with META, otherwise I'll nuke all
19:10 nadim the list looks easy enough to parse
19:10 gfldex Pluggable installs fine for me
19:10 ugexe nadim: hell you could just rename the site and home module directories to test
19:11 ugexe rename them back after
19:14 Kyo91 joined #perl6
19:16 nadim it used to work and I am a stubborn SOB
19:16 raschipi stubborn is an understatement
19:16 mspo what about vendor?
19:17 zengargoyle joined #perl6
19:18 nadim raschipi: I take that as a compliment ;)
19:18 raschipi Yes it is.
19:19 ugexe it only worked by coincidence
19:20 nadim zef uninstall JSON::Class JSON::Marshal META6 Test::META then zef install Test::META
19:20 nadim jnthn: ^^
19:20 ugexe m: say Version.new("0.0.5..*"); say v0.0.5..*
19:20 camelia rakudo-moar 674551: OUTPUT: «v0.0.5.*?v0.0.5..Inf?»
19:23 jnthn nadim: ah, thanks. Already ended up with about 10 lines of code to do what I needed, so not worth the dep anyway. But will fix things so I'm not in bother next time :)
19:25 nadim Yu're welcome this has bugged me for a week, I hate seing tests numbers go dowm.
19:25 ugexe i think `zef upgrade` would have worked too actually
19:25 jnthn nadim: It worked. Yay. :)
19:25 jnthn nadim++
19:26 nadim ugex++
19:27 raschipi Who's ugex?
19:27 smls joined #perl6
19:28 nadim guy who makes zef among other things
19:28 Geth ¦ modules.perl6.org: 4d648afcf0 | (Zoffix Znet)++ | 2 files
19:28 Geth ¦ modules.perl6.org: Fix corruption of same-named dists
19:28 Geth ¦ modules.perl6.org:
19:28 Geth ¦ modules.perl6.org: The code erroneously finds cached data for the dist using its
19:28 Geth ¦ modules.perl6.org: name only, which causes it to find the wrong dist when two dists
19:28 Geth ¦ modules.perl6.org: with the same name exists in the ecosystem.
19:28 Geth ¦ modules.perl6.org:
19:28 Geth ¦ modules.perl6.org: Use META url as the key to find the cached data by.
19:28 Geth ¦ modules.perl6.org: review: https://github.com/perl6/modules.perl6.org/commit/4d648afcf0
19:29 sufrostico joined #perl6
19:30 smls bisectable6:  sub f { say @_; say %_; };  f |(a => 1, b => 2);
19:30 bisectable6 smls, Bisecting by output (old=2015.12 new=6745517) because on both starting points the exit code is 0
19:30 bisectable6 smls, bisect log: https://gist.github.com/82807ad44152bb3d96b5b9099b68ac5b
19:30 bisectable6 smls, (2016-04-05) https://github.com/rakudo/rakudo/commit/6a2ff75a61fdd49b55eec8dcb647a6822dac090b
19:31 itaipu joined #perl6
19:31 smls bisectable6:  sub f { say @_.elems; say %_.elems; };  f |(a => 1, b => 2);
19:31 bisectable6 smls, On both starting points (old=2015.12 new=6745517) the exit code is 0 and the output is identical as well
19:31 bisectable6 smls, Output on both points: «2?0»
19:32 jnthn |%
19:32 smls m:  say (a => 1, b => 2).Capture;
19:32 camelia rakudo-moar 674551: OUTPUT: «\(:a(1), :b(2))?»
19:33 smls jnthn: Does | in argument list context not use .Capture?
19:33 Zoffix joined #perl6
19:34 Zoffix No, that's for unpacking
19:34 smls ok
19:34 nadim Meh! now that works and I have updated the repo ... I have nothing to do
19:34 Zoffix | calls a secret method
19:35 jnthn smls: No
19:35 Zoffix m: dd [.FLATTENABLE_LIST, .FLATTENABLE_HASH] with (a => 1, b => 2);
19:35 camelia rakudo-moar 674551: OUTPUT: «[(:a(1), :b(2)), {}]?»
19:35 jnthn Shh, it's secret!!!
19:35 smls I'm not using   f |%(...)  because one of the named argument values is an Array, and the  %(...)  creates a Hash which itemizes the Array, and that messes up the assignment to the object attribute.
19:35 Zoffix :D
19:35 Zoffix Yeah, they're secret methods. Don't use them directly
19:36 jnthn m: sub f { say @_.elems; say %_.elems; };  f |\(a => 1, b => 2);
19:36 camelia rakudo-moar 674551: OUTPUT: «0?2?»
19:36 Zoffix :)
19:36 smls jnthn: Thanks!
19:36 jnthn walk, bbiab :)
19:37 Zoffix So for CPAN dists, I plan to ignore PSIXDISTS and anything that doesn't have a cpan URL as a source url
19:37 Zoffix for modules.perl6.orgh
19:38 gfldex Capture literals seam not to be indexed or something is confused by it's backslashy nature
19:38 gfldex it needs a \\ to search for a \ to start with
19:39 * gfldex files an issue
19:40 andrzejku joined #perl6
19:41 raschipi Gotta love UNIX.
19:43 Zoffix Why?
19:45 raschipi "it's backslashy nature"
19:45 * Zoffix doesn't see what a JS piece of code with an error in it has to do with UNIX or the love of it :P
19:48 * Zoffix will fix in 1hr, unless someone beats to it
19:49 * Zoffix ponders taking an axe to htmlify.p6
19:50 Zoffix Blow it up. Write from scratch. Properly.
19:50 * Zoffix relocates
19:58 zakharyas joined #perl6
19:59 andrzejku joined #perl6
20:00 zengargoyle joined #perl6
20:01 Ven joined #perl6
20:04 mcmillhj joined #perl6
20:05 Zoffix Blow it up and rewrite it and make it generate an SQLite db instead of HTML. Then have a mojo web app serve from that db. Solve all the problems with URLs, improve search, and shorten build times
20:05 Zoffix ???
20:05 Zoffix Profit!
20:06 Zoffix and have a bot use the docs from the API
20:06 Zoffix and have p6doc just use the DB
20:07 llfourn joined #perl6
20:08 andrzejku joined #perl6
20:08 jdv79 a web service?
20:08 mspo mm mojo
20:10 Zoffix jdv79: well, with mojo it kinda comes for free
20:10 Zoffix p6doc would just use a locally stored db, if that's what you meant
20:11 jdv79 where is this freeness?
20:11 andrzejku joined #perl6
20:12 Zoffix jdv79: right there: https://github.com/perl6/modules.perl6.org/blob/master/lib/ModulesPerl6/Controller/Root.pm#L93
20:13 Zoffix jdv79: is Meta6PAN ded?
20:14 jdv79 oh, i thought you were referring to some mojo restish pluging thing i didn't know about
20:14 Zoffix Ah. dunno maybe it's there
20:15 andrzejku joined #perl6
20:15 jdv79 it seems it.  nobody has contributed.  i ran out of tuis when i was porting it to their new version.
20:15 Zoffix ok
20:16 Zoffix good, even
20:16 jdv79 you seem to be building up modules.perl6.org and i haven't heard of any clamoring for metacpan6 so...
20:16 Zoffix heh
20:17 jdv79 i would say stalled but not dead yet
20:17 ugexe grep.metacpan6 would be great
20:18 Zoffix ugexe: tell AlexDaniel to slap a web interface to his bot :)
20:18 Zoffix greppable6: Rakudo::Internal
20:18 greppable6 Zoffix, https://gist.github.com/3d5f9f157d3d6bc8246d6fc6a86ffa77
20:18 andrzejku joined #perl6
20:19 Zoffix tsk tsk so many offenders :)
20:19 Zoffix greppable6: use nqp
20:19 greppable6 Zoffix, https://gist.github.com/96eff7b3821f154e3a30b6b057a6d88b
20:19 AlexDaniel haha
20:19 AlexDaniel /o\
20:20 AlexDaniel I'm planning to make whateverables easily runnable locally
20:20 Zoffix wow :) that's a lot
20:20 Zoffix cool
20:20 AlexDaniel so that people can bisect without talking to the bot at all
20:21 AlexDaniel no plans for a web interface yet, but contributions are welcome :)
20:23 AlexDaniel NeuralAnomaly: status
20:23 NeuralAnomaly AlexDaniel, [?] Next release will be in 1 week and 3 days. Since last release, there are 40 new still-open tickets (7 unreviewed and 1 blockers) and 138 unreviewed commits. See http://perl6.fail/release/stats for details
20:23 AlexDaniel fwiw I've marked RT #131857 as a blocker
20:23 synopsebot6 Link:  https://rt.perl.org/rt3/Public/Bug/Display.html?id=131857
20:27 sufrostico joined #perl6
20:30 andrzejku joined #perl6
20:30 AlexDaniel greppable6: storage_test333
20:30 greppable6 AlexDaniel, https://gist.github.com/0cfe4ad671fd71697c865876f9efcf45
20:31 Zoffix NeuralAnomaly: blockers
20:31 NeuralAnomaly Zoffix, There is 1 release blocker. See http://perl6.fail/release/blockers
20:31 NeuralAnomaly Zoffix, http://perl6.fail/131857 : Aliased named parameters broke in a recent MoarVM commit
20:31 Zoffix ah, yeah
20:33 andrzejku joined #perl6
20:33 Zoffix the `is default` stuff is suspicious too. I think dogbert is now having socket bug that looks similar that I had with handle before is default was reverted from it
20:33 Zoffix or rather, I think it's hitting somw other bug
20:34 Zoffix buggable: toast
20:34 buggable Zoffix, Between 2017.06-241-gb3f679b and 2017.06: 13 (1.56%) modules got burnt; 14 (1.68%) got unsucced; 203 (24.37%) out of 833 modules appear unusable. See https://toast.perl6.party/ for details.
20:36 AlexDaniel that's a bit outdated, no?
20:36 Zoffix yup
20:36 AlexDaniel Zoffix: are you planning to rerun this stuff this month?
20:36 AlexDaniel or, this week rather :P
20:37 Zoffix Ok
20:37 Cabanossi joined #perl6
20:37 AlexDaniel I wish I finally implented safe eval in whateverable, so things like this were not so scary
20:37 Zoffix in ~20hr
20:37 andrzejku joined #perl6
20:38 AlexDaniel awesome, thanks!
20:39 cdg joined #perl6
20:48 koto joined #perl6
20:57 pmurias joined #perl6
21:11 TEttinger joined #perl6
21:14 dwarring joined #perl6
21:22 lucs joined #perl6
21:22 Cabanossi joined #perl6
21:24 lizmat joined #perl6
21:34 colomon joined #perl6
21:38 markmont joined #perl6
21:39 Geth ¦ doc: 38846bcd26 | (Zoffix Znet)++ | template/search_template.js
21:39 Geth ¦ doc: Escape regex meta chars
21:39 Geth ¦ doc:
21:39 Geth ¦ doc: Fixes https://github.com/perl6/doc/issues/1442
21:39 Geth ¦ doc: review: https://github.com/perl6/doc/commit/38846bcd26
21:39 El_Che so, who's at TPCiA? lizmat, nine already here I think, anyone else?
21:40 Zoffix TimToady?
21:41 Zoffix llfourn
21:42 MasterDuke joined #perl6
21:48 AlexDaniel MasterDuke: so what's current the status of memory usage issue?
21:52 astj joined #perl6
21:52 zengargoyle joined #perl6
21:54 lizmat cono
22:00 cpage joined #perl6
22:01 MasterDuke i think i saw that jnthn++ fixed a leak today or yesterday, but i don't believe it's the one we're seeing
22:02 MasterDuke figuring out what's going on is difficult, because one of the recent changes increases memory churn a lot
22:03 MasterDuke which makes some numbers look much much bigger than before, but aren't necessarily indicative of a leak or truly increased consumption
22:03 AlexDaniel MasterDuke: can you submit a ticket or should I do it? I find it hard to track the status otherwise
22:04 zengargoyle joined #perl6
22:04 timotimo MasterDuke: i don't properly recall, did we try reverting that one commit that turned memset into free + calloc
22:04 timotimo ?
22:04 MasterDuke i can't do it for a while, about to afk for a bit
22:04 MasterDuke timotimo: don't think so
22:06 El_Che lizmat: how was the pre-social? I went to dinner and it was to late to make it
22:06 lizmat well, it wssn't on the roof because of the rain / wetness after the rain
22:06 lizmat it was a nice gathering  :-)
22:07 lizmat people had to be thrown out at 22:30  :-)
22:07 El_Che lots of people?
22:07 lizmat I would say about 100
22:07 El_Che we considerirng walking to the venue at 23h, but we reckon that 23:30 would be too late
22:08 MasterDuke timotimo: think just that commit can be reverted?
22:08 El_Che are you having breakfast in the hotel tomorrow morning?
22:10 timotimo MasterDuke: i think so
22:13 MasterDuke timotimo: http://i.imgur.com/1iucZ0k.png
22:15 timotimo why is gc_collect being listed as a memory leak? what does it do?
22:17 MasterDuke heh, i know almost nothing about how the moarvm gc works, don't ask me!
22:20 MasterDuke building 2017.07 now to compare with
22:22 Kyo91 joined #perl6
22:24 MasterDuke http://i.imgur.com/F63DUkB.png
22:24 MasterDuke now afk for a bit
22:27 El_Che is there an OS-independant way to create a tar/zip/whatever archive file with rakudo with using C libraries? (looking for something portable, can't find anything on modules.p6)
22:30 skids joined #perl6
22:38 mcmillhj joined #perl6
22:38 ugexe well, if you can use base perl 5...
22:38 ugexe but maybe thats only for extraction
22:38 El_Che mmm
22:39 El_Che I wanted a way to tar modules directories to package dependencies. Dependency on perl 5 would be difficult on windows
22:42 geekosaur joined #perl6
22:43 nhywyll joined #perl6
22:43 sufrosti1o joined #perl6
22:44 geekosaur joined #perl6
22:46 mcmillhj joined #perl6
22:48 MasterDuke timotimo: anything jump out at you?
22:50 timotimo the line in collect.c is what does the calloc for the nursery
22:50 jnthn El_Che: I used https://github.com/frithnanth/perl6-Archive-Libarchive in an app on both Windows and Linux.
22:51 jnthn El_Che: To produce tarballs
22:51 jnthn And extract them
22:51 jnthn It's set up on Windows to automatically download the DLLs
22:52 jnthn So they ship and work if made into an installer with https://github.com/jnthn/p6-app-installermaker-wix
22:52 aborazmeh joined #perl6
22:52 aborazmeh joined #perl6
22:55 El_Che jnthn: thx, I will look into it. I was thinking on a way to bundle all perl6 only deps so an app can be packages. Was reading stuff to understand if it's better to create a versioned pkg to be unpackaged and run, or to do something like Fatpacker on perl5
22:55 El_Che that's why I would prefer no C deps so it's really portable
23:02 zengargoyle joined #perl6
23:03 ugexe install 7zip standalone on windows with Build.pm
23:03 Kyo91 joined #perl6
23:04 El_Che going to bed, so I can have breakfast before the conf :)
23:04 El_Che thx for the pointers ugexe and jnthn
23:05 ugexe windows can unzip through powershell as well
23:07 ugexe zef will try powershell, gnu or bsd tar (arguments normalized to work between them), and finally perl -MArchive::Extract ... to achieve portability
23:09 ugexe i kept trying to figure out a way to rig `git` to do it but I never managed
23:09 cpage joined #perl6
23:24 zengargoyle joined #perl6
23:27 MasterDuke El_Che: samcv created appimages of rakudo, but i don't know how portable they are to windows, or if it's easy to include modules
23:32 mcmillhj joined #perl6
23:36 zengargoyle joined #perl6
23:42 zengargoyle joined #perl6
23:45 rurban joined #perl6
23:48 zengargoyle have fun everybody at TPC::EU
23:48 MasterDuke timotimo: and for the full comparison, this is HEAD (with nothing reverted) http://i.imgur.com/GVxPsUk.png
23:49 zengargoyle my DSL now has FEC and CRC errors that climb so fast it's totally toast. :)
23:54 BenGoldberg joined #perl6
23:55 BenGoldberg joined #perl6
23:58 BenGoldberg m: role R {}; constant T = R[:()]
23:58 camelia rakudo-moar 674551: OUTPUT: «===SORRY!===?QAST::Block with cuid 3 has not appeared?»
23:59 ryu0 El_Che: avoid C so it's more portable? lol. C is usually the most portable language there is.

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

Perl 6 | Reference Documentation | Rakudo