Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2017-05-13

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:06 BenGoldberg joined #perl6
00:12 cpage__ joined #perl6
00:17 skids joined #perl6
00:30 japhdc joined #perl6
00:39 cpage_ joined #perl6
00:41 mcmillhj joined #perl6
00:51 Cabanossi joined #perl6
00:56 xinming_ joined #perl6
01:01 kurahaupo joined #perl6
01:16 japhdc joined #perl6
01:17 cyphase joined #perl6
01:19 iH2O left #perl6
01:25 kent\n joined #perl6
01:25 grondilu m: use Test; my $*TOLERANCE = 1e-5; is-approx pi, 355/113;
01:26 camelia rakudo-moar ba0581: OUTPUT: «ok 1 - ␤»
01:26 grondilu m: use Test; my $*TOLERANCE = 1e-9; is-approx pi, 355/113;
01:26 camelia rakudo-moar ba0581: OUTPUT: «ok 1 - ␤»
01:26 grondilu m: use Test; my $*TOLERANCE = 1e-10; is-approx pi, 355/113;
01:26 camelia rakudo-moar ba0581: OUTPUT: «ok 1 - ␤»
01:26 grondilu m: use Test; my $*TOLERANCE = 1e-1; is-approx pi, 3.14;
01:26 camelia rakudo-moar ba0581: OUTPUT: «not ok 1 - ␤␤# Failed test at <tmp> line 1␤#     expected approximately: 3.14␤#                        got: 3.14159265358979␤# maximum relative tolerance: 1e-06␤# actual relative difference: 0.000506957382897213␤»
01:26 grondilu :/
01:48 ilbot3 joined #perl6
01:48 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:51 Cabanossi joined #perl6
01:56 Geth ¦ doc: 69d473f00a | (Zoffix Znet)++ | 2 files
01:56 Geth ¦ doc: [io grant] Document IO::Spec::*.devnull
01:56 Geth ¦ doc: review: https://github.com/perl6/doc/commit/69d473f00a
01:57 Zoffix joined #perl6
01:57 Zoffix grondilu: that's not how you specify tolerance for is-approx. There are two knobs: relative and absolute tolerances
01:57 Zoffix grondilu: https://docs.perl6.org/language/testing#index-entry-is-approx-is-approx%28%24value%2C_%24expected%2C_%24description%3F%29
01:58 Zoffix m: use Test; is-approx pi, 3.14, :abs-tol<0.01>;
01:58 camelia rakudo-moar ba0581: OUTPUT: «ok 1 - ␤»
01:58 Zoffix m: use Test; is-approx pi, 3.19, :abs-tol<0.01>;
01:58 camelia rakudo-moar ba0581: OUTPUT: «not ok 1 - ␤␤# Failed test at <tmp> line 1␤#     expected approximately: 3.19␤#                        got: 3.14159265358979␤# maximum absolute tolerance: 0.01␤# actual absolute difference: 0.0484073464102068␤»
01:59 * Zoffix notices that anchor is a line too low...
02:03 japhdc joined #perl6
02:04 samcv what should I use instead of exec? if i need to start a program that needs user input
02:05 samcv start the program then when it's done return control back to the P6 script
02:06 samcv if i don't capture :out, :in will it magically go through? i'd never tried it... not sure . on nice! it works
02:06 Zoffix That's not what exec does. It doesn't return. You can just not specify `:in` and it'll use the parent's STDIN
02:07 Zoffix $ perl6 -e 'run(:out, $*EXECUTABLE, "-e", "say q|Got: |, get").out.slurp(:close).say'
02:07 samcv yes i know
02:07 Zoffix meow
02:07 Zoffix Got: meow
02:07 samcv but there is no exec so i need alternatives
02:07 samcv and that works fine
02:07 * Zoffix didn't come up with anything last time I needed exec
02:07 Zoffix left #perl6
02:07 samcv i think just 'run' and then you can close the perl6 script or something
02:07 samcv hm
02:15 noganex joined #perl6
02:17 TEttinger joined #perl6
02:23 pierre_ joined #perl6
02:29 pierre_ joined #perl6
02:37 kurahaupo joined #perl6
02:40 kurahaupo joined #perl6
02:47 Geth ¦ ecosystem: 3a5768b89d | (Zoffix Znet)++ (committed using GitHub Web editor) | META.list
02:47 Geth ¦ ecosystem: Add Testo to ecosystem
02:47 Geth ¦ ecosystem:
02:47 Geth ¦ ecosystem: "Perl 6 Testing Done Right": https://github.com/zoffixznet/perl6-Testo
02:47 Geth ¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/3a5768b89d
03:06 Cabanossi joined #perl6
03:08 skids .oO(someone should name a testing framework "Icular" and then just persistently deny it is a dirty joke)
03:08 yoleaux 12 May 2017 10:41Z <nine> skids: with https://github.com/skids/perl6sum/commit/c2a8ac662b0c10dfc85ae05eec674e7be2702906 you removed the META.info, but the META6.json does not have a source-url, so the module is no longer installable
03:08 yoleaux 12 May 2017 10:57Z <Zoffix> skids: the META is fine, but there are test failures due to "P6M Merging GLOBAL symbols failed: duplicate definition of symbol $synopsis"
03:11 skids .tell Zoffix yeah that module is really bitrotten, and won't be worked on again until RT#126819 is resolved.
03:11 synopsebot6 Link:  https://rt.perl.org/rt3/Public/Bug/Display.html?id=126819
03:11 yoleaux skids: I'll pass your message to Zoffix.
03:11 perigrin skids: its used to test software for managing fishtanks right?
03:13 skids right. that's why!
03:20 pierre_ joined #perl6
03:35 Cabanoss- joined #perl6
03:44 klapperl joined #perl6
04:02 Geth ¦ ecosystem: 10edf5fd7a | (Zoffix Znet)++ (committed using GitHub Web editor) | META.list
04:02 Geth ¦ ecosystem: Add IO::Dir to ecosystem
04:02 Geth ¦ ecosystem:
04:02 Geth ¦ ecosystem: IO::Path.dir you can close
04:02 Geth ¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/10edf5fd7a
04:02 Geth ¦ doc: d456b8b55a | (Zoffix Znet)++ | doc/Type/IO/Path.pod6
04:02 Geth ¦ doc: Remove empty code block
04:02 Geth ¦ doc: review: https://github.com/perl6/doc/commit/d456b8b55a
04:04 Geth ¦ doc: 994d671048 | (Zoffix Znet)++ | doc/Type/IO/Path.pod6
04:04 Geth ¦ doc: [io grant] List IO::Dir as one of the means...
04:04 Geth ¦ doc:
04:04 Geth ¦ doc: ...to avoid the leaking descriptor issue with `dir`.
04:04 Geth ¦ doc: review: https://github.com/perl6/doc/commit/994d671048
04:05 Cabanossi joined #perl6
04:24 stmuk joined #perl6
04:40 cpage_ joined #perl6
04:50 Cabanossi joined #perl6
04:58 bjz joined #perl6
05:06 CIAvash joined #perl6
05:20 Cabanossi joined #perl6
05:43 kurahaupo_ joined #perl6
05:48 japhdc joined #perl6
05:48 kurahaupo_ joined #perl6
05:50 Cabanossi joined #perl6
05:56 rindolf joined #perl6
05:56 lizmat joined #perl6
06:06 aborazmeh joined #perl6
06:06 aborazmeh joined #perl6
06:27 espadrine joined #perl6
06:27 imcsk8 joined #perl6
06:31 domidumont joined #perl6
06:36 pierre_ joined #perl6
06:37 domidumont joined #perl6
06:38 wigner joined #perl6
06:43 japhdc joined #perl6
06:46 wamba joined #perl6
06:50 Cabanossi joined #perl6
06:52 wigner joined #perl6
07:05 curan joined #perl6
07:07 ChoHag joined #perl6
07:07 mcmillhj_ joined #perl6
07:15 parv joined #perl6
07:18 lizmat joined #perl6
07:35 Cabanossi joined #perl6
07:42 pierre_ joined #perl6
07:43 pierre_ joined #perl6
07:49 domidumont joined #perl6
07:50 pmurias joined #perl6
07:50 darutoko joined #perl6
08:05 samcv joined #perl6
08:07 TEttinger joined #perl6
08:11 azawawi joined #perl6
08:12 azawawi hi #perl6
08:19 lizmat azawawi o/
08:21 darutoko- joined #perl6
08:23 azawawi https://a.uguu.se/AC1mOAFJdyI5.gif  # Morning Perl 6 cubes/icosphere :)
08:23 azawawi uguu.se seems to be slow today in download
08:24 azawawi https://github.com/azawawi/perl6-terminal-caca/tree/master/examples
08:35 kurahaupo joined #perl6
08:35 Cabanossi joined #perl6
08:35 mcmillhj_ joined #perl6
08:36 salios joined #perl6
08:45 japhdc joined #perl6
08:53 samcv joined #perl6
08:59 rindolf joined #perl6
09:02 japhdotcom joined #perl6
09:20 Cabanossi joined #perl6
09:26 Geth ¦ modules.perl6.org/problems: 20cec0cfda | (Tadeusz “tadzik” Sośnierz)++ | 7 files
09:26 Geth ¦ modules.perl6.org/problems: Move some error reporting from Source.pm to METAChecker; store them in the database for later inspection
09:26 Geth ¦ modules.perl6.org/problems: review: https://github.com/perl6/modules.perl6.org/commit/20cec0cfda
09:26 Geth ¦ modules.perl6.org/problems: b259ce7a07 | (Tadeusz “tadzik” Sośnierz)++ | 5 files
09:26 Geth ¦ modules.perl6.org/problems: Make a view under /todo for showing problems with modules
09:26 Geth ¦ modules.perl6.org/problems: review: https://github.com/perl6/modules.perl6.org/commit/b259ce7a07
09:26 tadzik ^ this makes a /todo route on modules.perl6.org with a listing of LTA things in ecosystem modules
09:26 tadzik https://tadzik.net/pub/9mEBx3AvAq.png
09:26 dogbert17 joined #perl6
09:27 tadzik ^ looks like this
09:36 aborazmeh joined #perl6
09:36 aborazmeh joined #perl6
09:38 sammers joined #perl6
09:39 sammers joined #perl6
09:44 Geth ¦ doc: 79cdbb539f | (Jan-Olof Hendig)++ | doc/Type/Uni.pod6
09:44 Geth ¦ doc: Fixed typo
09:44 Geth ¦ doc: review: https://github.com/perl6/doc/commit/79cdbb539f
09:49 darutoko joined #perl6
09:52 pmurias joined #perl6
09:57 AlexDaniel joined #perl6
09:59 dogbert17_ joined #perl6
10:03 bjz joined #perl6
10:09 Rawriful joined #perl6
10:31 japhdc joined #perl6
10:38 salv0 joined #perl6
10:45 lizmat joined #perl6
10:51 samcv joined #perl6
11:02 wictory[m] left #perl6
11:07 Geth ¦ doc: 88f4beb09d | (Jan-Olof Hendig)++ | doc/Language/setbagmix.pod6
11:07 Geth ¦ doc: Fixed a couple of broken code examples
11:07 Geth ¦ doc: review: https://github.com/perl6/doc/commit/88f4beb09d
11:14 lichtkind moritz: your 2k3 mailadress returned to me my mail
11:17 pmurias joined #perl6
11:20 rindolf joined #perl6
11:20 Cabanossi joined #perl6
11:33 poohman joined #perl6
11:36 llfourn m: $_ = "foo"; s/(o)/$1/; .say # wat?
11:36 camelia rakudo-moar 4c8136: OUTPUT: «Use of Nil in string context␤  in code  at <tmp> line 1␤fo␤»
11:45 timotimo m: $_ = "foo"; s/(o)(o)/$1/; .say;
11:45 camelia rakudo-moar 4c8136: OUTPUT: «fo␤»
11:45 timotimo llfourn: $1 is second capture, not first
11:46 llfourn timotimo: doh. Thanks.
11:47 llfourn too much sed and awk recently :\
11:48 domidumont joined #perl6
11:52 poohman joined #perl6
11:57 pmurias joined #perl6
11:57 poohman joined #perl6
12:01 darutoko- joined #perl6
12:11 vendethiel joined #perl6
12:32 AlexDaniel m: $_ = "foo"; s/(o)/$10000000000000000000000000000000000000000000000000000000000000000/; .say
12:32 camelia rakudo-moar 4c8136: OUTPUT: «foo␤»
12:32 AlexDaniel llfourn: just append 64 zeroes and it should be fine with $1 also
12:34 tadzik nine: http://json5.org/
12:35 Cabanossi joined #perl6
12:36 timotimo can has json6 please
12:36 timotimo without all the insanity of json
12:36 tadzik we actually have https://github.com/Mouq/json5 too
12:36 tadzik timotimo: I expect json6 to have slangs, so you can write yaml in the middle of it
12:37 timotimo json is praised for how "simple" it is
12:37 timotimo json6 should be a json that's actually simple, not only pretend simple
12:37 timotimo json7 can have slangs and such
12:39 timotimo json8 is based on a virtual machine with unicode-character bytecode and it's allowed to self-modify
12:40 AlexDaniel and World War IV will be fought with sticks, stones and json9
12:41 timotimo world perl 6
12:46 llfourn AlexDaniel: ah thanks. Should have aimed higher.
12:47 masak macros watch: https://news.ycombinator.com/item?id=14329249 -- this would indeed be a reasonable use for macros, I think.
12:47 yoleaux 11 May 2017 03:07Z <MasterDuke_> masak: the inconsistent examples in https://rt.perl.org/Ticket/Display.html?id=122990 now are errors. e.g., `say \(1) ~~ :(int as Str)` gives `===SORRY!=== Error while compiling -e Malformed parameter at -e:1 ------> say \(1) ~~ :(int⏏ as Str)     expecting any of:         constraint         formal parameter`. is that ok or should the ticket be re-worded to make them work at all?
12:47 masak though would need to measure before/after so it's not just a microoptimization
12:48 masak MasterDuke_: I don't know. why are they now parse errors?
12:48 masak m: :(int as Str)
12:48 camelia rakudo-moar 4c8136: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Malformed parameter␤at <tmp>:1␤------> 3:(int7⏏5 as Str)␤    expecting any of:␤        constraint␤        formal parameter␤»
12:49 masak is it because we no longer have the `as` syntax?
12:49 masak maybe it should be `Str(int)` ?
12:49 masak m: :(Str(int))
12:49 camelia rakudo-moar 4c8136: ( no output )
12:49 * llfourn remembers something about removing as for coercions
12:49 masak m: say \(1) ~~ :(Str(int))
12:49 camelia rakudo-moar 4c8136: OUTPUT: «False␤»
12:50 masak tell MasterDuke_ seems the syntax has shifted and https://rt.perl.org/Public/Bug/Display.html?id=122990 should be `say \(1) ~~ :(Str(int))` etc. bug still manifests
12:50 masak er how do I
12:50 masak yoleaux: help
12:50 masak yoleaux: how do I
12:50 * masak frustrates at the tech
12:51 AlexDaniel .tell
12:51 yoleaux Relay a telegram to someone
12:51 masak .tell MasterDuke_ seems the syntax has shifted and https://rt.perl.org/Public/Bug/Display.html?id=122990 should be `say \(1) ~~ :(Str(int))` etc. bug still manifests
12:51 yoleaux masak: I'll pass your message to MasterDuke_.
12:51 masak AlexDaniel: muchos grazie
12:52 AlexDaniel committable6: how do I
12:52 committable6 AlexDaniel, ¦how: «Cannot find this revision (did you mean “all”?)»
12:52 AlexDaniel committable6: all do I?
12:53 committable6 AlexDaniel, https://gist.github.com/f971a726532ae75ab79ec903a025eda6
12:53 AlexDaniel committable6: all say do i
12:53 AlexDaniel xDDDDDDDDD
12:53 AlexDaniel oh you piece of sh…
12:54 committable6 joined #perl6
12:54 AlexDaniel committable6: all say do i
12:54 committable6 AlexDaniel, ¦all (40 commits): «0+1i»
12:55 AlexDaniel (for those wondering, this is the issue: https://github.com/perl6/whateverable/issues/136 )
12:56 masak I was wondering :)
12:56 masak AlexDaniel: any clues what's keeping files open?
12:56 masak also, AlexDaniel++ for pushing long-running Perl 6 server jobs to be better
12:57 AlexDaniel masak: I have a feeling that the error is on my side. Something here has to be .closed: https://github.com/perl6/whateverable/blob/master/Whateverable.pm6#L173
13:00 poohman joined #perl6
13:01 AlexDaniel masak: or it could be something with Proc::Async here: https://github.com/perl6/whateverable/blob/master/Whateverable.pm6#L97
13:02 AlexDaniel committable6: all say 42
13:02 committable6 AlexDaniel, ¦all (40 commits): «42»
13:02 lizmat joined #perl6
13:02 AlexDaniel committable6: all say 42
13:03 committable6 AlexDaniel, ¦all (40 commits): «42»
13:03 AlexDaniel how can I see which files are open?
13:03 AlexDaniel committable6: all say 42
13:04 committable6 AlexDaniel, ¦all (40 commits): «42»
13:05 AlexDaniel I see one zombie pzstd process, but would that be an issue?
13:05 fatguy joined #perl6
13:06 darutoko joined #perl6
13:08 fatguy i tried simple program to convert seconds to h:m:s https://pastebin.com/WuaaX3mH , got error "expected a writable container, but got IntStr value" , can someone guide me what's wrong
13:09 AlexDaniel fatguy: maybe you want polymod instead https://docs.perl6.org/routine/polymod
13:09 AlexDaniel fatguy: but let's see what's wrong with your code… one second :)
13:09 pierre_ joined #perl6
13:09 AlexDaniel fatguy: ah, you probably need 「Int $seconds is copy」
13:10 AlexDaniel fatguy: so “is copy” instead of “is rw”
13:10 fatguy i'm doing 'think perl 6' book exercise, i haven't learn what is polymod
13:10 fatguy oh i thought i can do rw, so i can pass reference
13:10 poohman joined #perl6
13:11 AlexDaniel fatguy: you can! But your $seconds come from MAIN
13:11 AlexDaniel soo… perhaps you'll need “sub MAIN (Int $seconds is copy)” ?
13:13 AlexDaniel yea, that works
13:13 fatguy AlexDaniel: ouch, ya, ok, make sense. thx Alex/Daniel
13:16 bjz_ joined #perl6
13:19 poohman_ joined #perl6
13:20 AlexDaniel masak: so it died after about 760 tested commits, and the limit seems to be 1024
13:20 MasterDuke_ AlexDaniel: lsof lists open files (and you can get it to show which processes opened it)
13:20 yoleaux 12:51Z <masak> MasterDuke_: seems the syntax has shifted and https://rt.perl.org/Public/Bug/Display.html?id=122990 should be `say \(1) ~~ :(Str(int))` etc. bug still manifests
13:21 committable6 joined #perl6
13:21 AlexDaniel MasterDuke_: riiiight
13:21 poohman joined #perl6
13:22 Geth ¦ doc: 4432ef3d44 | (Zoffix Znet)++ | doc/Type/IO/Path.pod6
13:22 Geth ¦ doc: [io grant] Finish up IO::Path.dir docs
13:22 Geth ¦ doc:
13:22 Geth ¦ doc: - Fix up formatting
13:22 Geth ¦ doc: - Mention `test` tests against Str names, not IO::Paths
13:22 Geth ¦ doc: - Use proper $*HOME instead of env var and don't stringify IO::Paths
13:22 Geth ¦ doc: review: https://github.com/perl6/doc/commit/4432ef3d44
13:25 poohman_ joined #perl6
13:27 poohman joined #perl6
13:28 AlexDaniel MasterDuke_: moar    20954 bisectable  767u  unix 0xffff88011b432800      0t0 166145977 socket
13:29 AlexDaniel MasterDuke_: 600 of these
13:29 AlexDaniel oh, exactly one per tested revision!
13:29 AlexDaniel that's exactly what I am looking for
13:30 AlexDaniel so if I just did “committable6: all say 42” again, and it is 640! :)
13:30 dolmen joined #perl6
13:32 poohman joined #perl6
13:33 kaare_ joined #perl6
13:35 eater joined #perl6
13:35 poohman joined #perl6
13:35 travis-ci joined #perl6
13:35 travis-ci Doc build failed. Zoffix Znet '[io grant] Finish up IO::Path.dir docs
13:35 travis-ci https://travis-ci.org/perl6/doc/builds/231867367 https://github.com/perl6/doc/compare/88f4beb09d6b...4432ef3d4487
13:36 travis-ci left #perl6
13:40 poohman joined #perl6
13:41 rindolf joined #perl6
13:41 dogbert17_ joined #perl6
13:46 masak AlexDaniel: I just reflexively .close my filehandles in Perl 6
13:46 poohman_ joined #perl6
13:46 masak (and in Perl 5, too, although a lexical going out of scope is usually enough there)
13:48 jsoo joined #perl6
13:48 test joined #perl6
13:49 pink_mist joined #perl6
13:49 poohman joined #perl6
13:50 Cabanossi joined #perl6
13:50 pink_mist is hmbrand here? I got notified from 2 different sources that he released Text-CSV for perl5 ... but it seems he just messed up a perl6 dist?
13:50 timotimo "messed up"?
13:50 MasterDuke_ AlexDaniel: heh, now which line causes it...
13:50 pink_mist well, messed up as in, the tools thought it was perl5
13:51 masak oh, that's interesting
13:51 pink_mist timotimo: https://metacpan.org/release/HMBRAND/Text-CSV-0.007
13:51 masak how do we make the tools not think that next time?
13:51 timotimo is that perl6?
13:51 timotimo oh
13:51 timotimo well, our cpan stuff isn't all there yet
13:52 tadzik pink_mist: he's here, yes
13:52 timotimo only a few people actually put real perl6 stuff up on cpan
13:52 timotimo i believe nine puts Inline::Perl5 there? or is that just Inline::Perl6?
13:52 tadzik he prolly put it on CPAN but not in the Perl 6 directory
13:52 tadzik timotimo: both I think
13:52 tadzik masak: I think andk is already doing that
13:53 MasterDuke_ pink_mist: i don't think he's here in #perl6, but he's [Tux] in #perl6-dev
13:54 pink_mist MasterDuke_: ah, right, I'll prod him in there then =)
13:55 rindolf joined #perl6
13:56 Geth ¦ doc: 003331cb6c | (Jan-Olof Hendig)++ | doc/Language/setbagmix.pod6
13:56 Geth ¦ doc: Added more examples
13:56 Geth ¦ doc: review: https://github.com/perl6/doc/commit/003331cb6c
13:57 poohman joined #perl6
13:57 poohman joined #perl6
14:00 pierre_ joined #perl6
14:01 rindolf joined #perl6
14:03 poohman joined #perl6
14:06 pink_mist nine++ # he explained what happened - intentional messup to make sure PAUSE handled things right - which it didn't, so it's being fixed :P
14:06 pink_mist (unless nine is a woman, in which case s/he/she/)
14:08 darutoko- joined #perl6
14:13 poohman joined #perl6
14:13 nine pink_mist: I always hope the beard makes me more manly, but I'm not sure how well that works out :)
14:14 timotimo nine: thing is, the beard isn't part of your name
14:14 pink_mist hehe, it'd need to be a rather big beard in order for me to see it through irc :P
14:15 timotimo climb the eiffel tower and say "i can see nine's beard from here!"
14:18 nine Also since this fellow Austrian, things are not that simple anymore anyway: https://en.wikipedia.org/wiki/Conchita_Wurst
14:18 timotimo i'm not sure conchita is the first one to be like that
14:18 pink_mist oh yeah, that reminds me, eurovision 2017 is tonight! :P
14:18 timotimo though perhaps the most famous one in recent memory i guess?
14:19 nine most famous for sure
14:20 Cabanossi joined #perl6
14:20 dolmen joined #perl6
14:20 poohman joined #perl6
14:20 araraloren joined #perl6
14:22 poohman joined #perl6
14:23 kaare_ joined #perl6
14:25 pink_mist tadzik: fwiw Geo-Coder-OpenCage-1.0 was also announced as a perl5 dist, but the metacpan link for it is 404, so I can't even tell if *is* a perl5 dist or not :P
14:26 tadzik pink_mist: oh wtf :D
14:26 tadzik it's in my Perl6 dir, I'm innocent
14:26 tadzik pink_mist: where did it get announced?
14:26 pink_mist #perl - 16:17  * GumbyPAN CPAN Upload: Geo-Coder-OpenCage-1.0 by TADZIK https://metacpan.org/release/TADZIK/Geo-Coder-OpenCage-1.0
14:27 tadzik well at least this time it's not on https://metacpan.org/recent
14:27 tadzik I wonder where GumbyPAN gets its info from
14:27 pink_mist BinGOs would know
14:27 pink_mist BinGOs: ping
14:29 poohman joined #perl6
14:30 sena_kun joined #perl6
14:32 BinGOs PAUSE upload emails from the NNTP source.
14:32 poohman joined #perl6
14:34 sena_kun I want somewhat strange thing and only out of my curiosity, so don't mind this seriously. Is there a way to create a variable, what would be immutable, but the initial value is defined at runtime?
14:35 nine sena_kun: so a write-once variable?
14:35 timotimo yeah, use a my \var
14:35 sena_kun m: my \var;
14:35 camelia rakudo-moar aa72bd: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Term definition requires an initializer␤at <tmp>:1␤------> 3my \var7⏏5;␤»
14:35 sena_kun nine, yep, something like that.
14:35 nine sena_kun: I think, you'll need a Proxy for that
14:35 araraloren m: my \var = 10; var = 20;
14:35 camelia rakudo-moar aa72bd: OUTPUT: «Cannot modify an immutable Int␤  in block <unit> at <tmp> line 1␤␤»
14:36 sena_kun nine, digging into the docs now...
14:37 sena_kun thanks, nine!
14:37 japhdc joined #perl6
14:38 poohman joined #perl6
14:39 jsoo joined #perl6
14:39 Ven joined #perl6
14:40 Geth ¦ doc: 64355c8d8d | (Zoffix Znet)++ | 2 files
14:40 Geth ¦ doc: [io grant] Document IO::Spec::*.dir-sep
14:40 Geth ¦ doc: review: https://github.com/perl6/doc/commit/64355c8d8d
14:41 b2gills fatguy: sub hms ( UInt $s ){ sprintf '%d hours, %d minutes, %d seconds', reverse $s.polymod(60,60) }
14:42 poohman joined #perl6
14:44 pink_mist thanks for the info about what was going on with PAUSE, sayonara =)
14:45 pink_mist left #perl6
14:45 b2gills m: sub dhms ( UInt $seconds ){ sprintf '%d days %d hours, %d minutes, %d seconds', reverse $seconds.polymod(60,60,24) }; say dhms [+] (1,2,3,4).reverse Z* [\*] 1,60,60,24
14:45 camelia rakudo-moar aa72bd: OUTPUT: «1 days 2 hours, 3 minutes, 4 seconds␤»
14:45 khw joined #perl6
14:47 kaare_ joined #perl6
14:59 Ven_ joined #perl6
14:59 fatguy b2gills: cool, thanks!
15:02 poohman joined #perl6
15:10 setty1 joined #perl6
15:10 Ven_ joined #perl6
15:10 poohman joined #perl6
15:10 poohman joined #perl6
15:12 Geth ¦ ecosystem: 4be5bb91f8 | (Shoichi Kaji)++ | META.list
15:12 Geth ¦ ecosystem: Add CPAN::Uploader::Tiny to ecosystem
15:12 Geth ¦ ecosystem:
15:12 Geth ¦ ecosystem: See https://raw.githubusercontent.com/skaji/perl6-CPAN-Uploader-Tiny/master/META6.json
15:12 Geth ¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/4be5bb91f8
15:14 poohman joined #perl6
15:15 andrzejku joined #perl6
15:16 * garu_ waves
15:17 ugexe Report for Zef::Reporter will be available at http://testers.p6c.org/reports/{"errors":[{"message":"No definition for discriminator ARRAY(0x35cd4c0).","path":"\/report\/environment\/language"},{"message":"Expected string - got null.","path":"\/report\/result\/output\/build"},{"message":"Expected string - got null.","path":"\/report\/result\/output\/configure"},{"message":"Expected string - got
15:17 ugexe null.","path":"\/report\/result\/output\/install"},{"message":"Expected string - got boolean.","path":"\/report\/result\/grade"}],"status":400}.htmly
15:17 timotimo :D :D
15:17 bjz joined #perl6
15:17 ugexe /msg doesn't like multi line pastes i guess :P
15:17 Geth ¦ doc: 914c100823 | (Zoffix Znet)++ | doc/Type/IO/Path.pod6
15:17 Geth ¦ doc: [io grant] Finish up IO::Path.dirname
15:17 Geth ¦ doc:
15:17 Geth ¦ doc: - Add links to volume/basename
15:17 Geth ¦ doc: - Include an example with IO::Path that has a volume
15:17 vendethiel .oO( this filename is missing a NUL byte )
15:17 Geth ¦ doc: review: https://github.com/perl6/doc/commit/914c100823
15:17 poohman joined #perl6
15:20 Cabanossi joined #perl6
15:27 ilbelkyr joined #perl6
15:27 poohman joined #perl6
15:31 andrzejku hi
15:32 andrzejku moritz here?
15:34 Geth ¦ doc: 8d5e31c73e | (Zoffix Znet)++ | doc/Type/IO/Handle.pod6
15:34 Geth ¦ doc: [io grant] Document IO::Handle.encoding
15:34 Geth ¦ doc: review: https://github.com/perl6/doc/commit/8d5e31c73e
15:35 anton_p joined #perl6
15:35 poohman joined #perl6
15:35 ugexe btw my last comment is about cpan testers matrix, not p6c (despite the url shown)
15:36 Khisanth joined #perl6
15:36 Zoffix joined #perl6
15:37 Zoffix fatguy: FWIW, there's a module for that
15:37 Zoffix $ perl6 -MNumber::Denominate -e 'say denominate 93784'
15:37 Zoffix 1 day, 2 hours, 3 minutes, and 4 seconds
15:37 Zoffix buggable: eco Number::Denominate
15:37 buggable Zoffix, Number::Denominate 'Break up numbers into preset or arbitrary denominations': https://github.com/zoffixznet/perl6-Number-Denominate
15:38 espadrine joined #perl6
15:42 poohman joined #perl6
15:42 kaare__ joined #perl6
15:44 Zoffix sena_kun: note that `\var` isn't immutable but merely doesn't create a container. If you assign containered stuff to it, you'd still be able to assign to it:
15:44 Zoffix m: my $x = 42; my \var = $x; var = 72; say var
15:44 camelia rakudo-moar 83b7ac: OUTPUT: «72␤»
15:45 Zoffix And even constants can be "mutable" if you're changing guts of the object stored inside.
15:45 Zoffix m: constant foo = SetHash.new: <a b c>; foo<z d c>»++; say foo
15:45 camelia rakudo-moar 83b7ac: OUTPUT: «SetHash.new(d, b, z, a, c)␤»
15:45 dogbert17 ===SORRY!=== Error while compiling /home/travis/build/perl6/doc/./doc/Type/IO/Path.pod6
15:45 dogbert17 Preceding context expects a term, but found infix = instead
15:45 dogbert17 at /home/travis/build/perl6/doc/./doc/Type/IO/Path.pod6:921
15:46 Zoffix (there's a bit of magic with them in that they decontarenize Hash/Array items, but that's it)
15:46 sena_kun Zoffix, thanks for your note. Well, I just compared perl 6 to Language X, so precise analysis of constants is a bit out of my purposes list. :)
15:48 poohman joined #perl6
15:49 Geth ¦ doc: 9b5b3a0206 | (Zoffix Znet)++ | doc/Type/IO/Path.pod6
15:49 Geth ¦ doc: Fix compile error
15:49 Geth ¦ doc: review: https://github.com/perl6/doc/commit/9b5b3a0206
15:49 Zoffix dogbert17: ^ that fixes it
15:50 dogbert17 Zoffix++
15:50 Zoffix left #perl6
15:51 poohman joined #perl6
15:52 poohman joined #perl6
15:54 darutoko joined #perl6
15:56 poohman joined #perl6
15:58 Geth ¦ doc: d5c36aa0c9 | (Zoffix Znet)++ | doc/Type/IO/Handle.pod6
15:58 Geth ¦ doc: [io grant] Finish off IO::Handle.eof
15:58 Geth ¦ doc:
15:58 Geth ¦ doc: - Add `Defined as` bit
15:58 Geth ¦ doc: - IO::Handles can handle more than just files
15:58 Geth ¦ doc: review: https://github.com/perl6/doc/commit/d5c36aa0c9
16:06 Geth ¦ doc: e9de97e3fd | (Zoffix Znet)++ | doc/Type/IO/Spec/Unix.pod6
16:06 Geth ¦ doc: [io grant] Document IO::Spec::*.extension
16:06 Geth ¦ doc:
16:06 Geth ¦ doc: Since this will show up in /routine/extension, include a notice
16:06 Geth ¦ doc: that the user is likely looking for IO::Path.extension.
16:06 Geth ¦ doc: review: https://github.com/perl6/doc/commit/e9de97e3fd
16:09 Geth ¦ doc: e230a7fb3b | (Zoffix Znet)++ | doc/Type/IO/Spec/Unix.pod6
16:09 Geth ¦ doc: Clearify behaviour of IO::Spec::*.extension
16:09 Geth ¦ doc:
16:09 Geth ¦ doc: That it expects a basename, not the full path.
16:09 Geth ¦ doc: review: https://github.com/perl6/doc/commit/e230a7fb3b
16:10 zakharyas joined #perl6
16:27 domidumont joined #perl6
16:35 kurahaupo_ joined #perl6
16:37 darutoko- joined #perl6
16:50 BenGoldberg joined #perl6
17:01 Geth ¦ whateverable: 96ccddccd8 | (Aleks-Daniel Jakimenko-Aleksejev)++ | Whateverable.pm6
17:01 Geth ¦ whateverable: Close the pipe between pzstd and tar
17:01 Geth ¦ whateverable:
17:01 Geth ¦ whateverable: Resolves #136
17:01 Geth ¦ whateverable:
17:01 Geth ¦ whateverable: I would have never expected that this would be needed, but otherwise
17:01 Geth ¦ whateverable: it leaves some sort of sockets open.
17:01 Geth ¦ whateverable: review: https://github.com/perl6/whateverable/commit/96ccddccd8
17:08 committable6 joined #perl6
17:12 skids joined #perl6
17:20 zapwai joined #perl6
17:20 Cabanossi joined #perl6
17:22 Cabanossi joined #perl6
17:23 Ven joined #perl6
17:55 dogbert11 joined #perl6
17:58 darutoko joined #perl6
18:05 Ven_ joined #perl6
18:12 Geth ¦ doc: bf7ec00ac3 | (Zoffix Znet)++ | doc/Type/IO/Handle.pod6
18:12 Geth ¦ doc: [io grant] Document IO::Handle.flush
18:12 Geth ¦ doc:
18:12 Geth ¦ doc: - Rakudo impl: https://github.com/rakudo/rakudo/commit/b43ed18f50
18:12 Geth ¦ doc: - Tests: https://github.com/perl6/roast/commit/4495615281
18:12 Geth ¦ doc: - Not all IO::Handles deal with files
18:12 Geth ¦ doc: - Add examples; N.B.: example isn't 100% accurate for Rakudo since
18:12 Geth ¦ doc:     currently that case won't buffer the data and I'm unsure which
18:12 Geth ¦ doc:     one actually would, if any.
18:12 Geth ¦ doc: review: https://github.com/perl6/doc/commit/bf7ec00ac3
18:14 zakharyas joined #perl6
18:35 Cabanossi joined #perl6
18:47 TeamBlast joined #perl6
18:58 smyth joined #perl6
19:00 andrzejku joined #perl6
19:10 pierre_ joined #perl6
19:11 lichtkind joined #perl6
19:20 Cabanossi joined #perl6
19:23 kaare__ joined #perl6
19:53 ChoHag joined #perl6
19:55 Ven joined #perl6
20:08 Geth ¦ ecosystem: f955d9a626 | cbk++ (committed using GitHub Web editor) | META.list
20:08 Geth ¦ ecosystem: Adding API::USNavalObservatory to the ecosystem
20:08 Geth ¦ ecosystem:
20:08 Geth ¦ ecosystem: This is a Work in progress.  Not sure how to add the WIP tag
20:08 Geth ¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/f955d9a626
20:08 Possum joined #perl6
20:10 ugexe ...that module spells github "gethub" in its link, still doesn't work if you s/get/git/, and list a module in its provides while not having a lib folder
20:10 Geth ¦ ecosystem: a298dbbdfa | cbk++ (committed using GitHub Web editor) | META.list
20:10 Geth ¦ ecosystem: Update META.list
20:10 Geth ¦ ecosystem:
20:10 Geth ¦ ecosystem: Fix URL
20:10 Geth ¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/a298dbbdfa
20:12 ugexe ...and no that ^ does not fix the typo i mentioned
20:13 tadzik woot
20:14 tadzik there's also a typo in the username
20:14 tadzik ah, that one's now fixed
20:16 kyan joined #perl6
20:19 kaare__ joined #perl6
20:20 araujo joined #perl6
20:21 Geth ¦ whateverable: b2bd371205 | (Aleks-Daniel Jakimenko-Aleksejev)++ | Whateverable.pm6
20:21 Geth ¦ whateverable: Add uptime command
20:21 Geth ¦ whateverable:
20:21 Geth ¦ whateverable: One step towards resolving issue #135
20:21 Geth ¦ whateverable: review: https://github.com/perl6/whateverable/commit/b2bd371205
20:23 * AlexDaniel hides in a bunker
20:24 timotimo if you switch git and get it will work
20:25 AlexDaniel hm… nothing happened?
20:25 TEttinger joined #perl6
20:25 AlexDaniel alright :)
20:26 bisectable6 joined #perl6
20:26 committable6 joined #perl6
20:26 evalable6 joined #perl6
20:26 bloatable6 joined #perl6
20:26 quotable6 joined #perl6
20:26 unicodable6 joined #perl6
20:26 benchable6 joined #perl6
20:26 statisfiable6 joined #perl6
20:28 AlexDaniel bisectable6: uptime
20:28 bisectable6 AlexDaniel, 2 minutes and 17 seconds
20:37 Geth ¦ ecosystem: 1413ab2c05 | (Zoffix Znet)++ (committed using GitHub Web editor) | META.list
20:37 Geth ¦ ecosystem: Fix URL
20:37 Geth ¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/1413ab2c05
20:41 margeas joined #perl6
20:52 SCHAPiE joined #perl6
21:00 pmurias joined #perl6
21:02 Geth ¦ ecosystem: 8da7235a4b | (Stefan Seifert)++ | META.list
21:02 Geth ¦ ecosystem: Add Distribution::Builder::MakeFromJSON to the ecosystem
21:02 Geth ¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/8da7235a4b
21:09 pmurias m: /&1/
21:09 camelia rakudo-moar b43ed1: ( no output )
21:09 pmurias m: say("a" ~~ /&a/ )
21:09 camelia rakudo-moar b43ed1: OUTPUT: «「a」␤»
21:09 pmurias m: say("a" ~~ /&a&b/ )
21:09 camelia rakudo-moar b43ed1: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Undeclared routine:␤    b used at line 1␤␤»
21:10 pmurias m: say("a" ~~ /a & b/ )
21:10 camelia rakudo-moar b43ed1: OUTPUT: «Nil␤»
21:10 pmurias m: say("a" ~~ /& a & a/ )
21:10 camelia rakudo-moar b43ed1: OUTPUT: «Nil␤»
21:12 salios joined #perl6
21:14 Geth ¦ ecosystem: araraloren++ created pull request #340: Add Terminal::Table version 0.0.1 to the ecosystem
21:14 Geth ¦ ecosystem: review: https://github.com/perl6/ecosystem/pull/340
21:23 bjz joined #perl6
21:24 araraloren joined #perl6
21:58 samcv ugh i keep getting these errors that make no sense. there must be somewhere messing the code up
22:10 samcv i think sometimes the error messages can be a little different if you have one variable $package and one $package-mask (when you have some other errros i the file)
22:11 samcv got it though
22:20 Cabanossi joined #perl6
23:04 iH2O joined #perl6
23:04 iH2O left #perl6
23:10 lizmat joined #perl6
23:20 Cabanossi joined #perl6
23:44 pierre_ joined #perl6

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

Perl 6 | Reference Documentation | Rakudo