Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2017-07-04

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:02 Cabanossi joined #perl6
00:14 mr-foobar joined #perl6
00:22 Sgeo joined #perl6
00:54 cyphase joined #perl6
01:04 lookatme morning
01:05 raschipi It's possible to tell the time by lookatme
01:09 lookatme ~~hmm?
01:13 mr-foobar joined #perl6
01:16 [Coke] Jan-Olof Hendig ?
01:17 Cabanossi joined #perl6
01:18 aborazmeh joined #perl6
01:18 aborazmeh joined #perl6
01:23 [Coke] doc commit 20fe051092320fafdf2416a9470add2a5fb5a30c added a failing code snippet.
01:24 Geth ¦ doc/master: 4 commits pushed by (Will "Coke" Coleda)++
01:24 Geth ¦ doc/master: f0e6535277 | use nbsp
01:24 Geth ¦ doc/master: de194a1616 | no trailing whitespace
01:24 Geth ¦ doc/master: 4aa5805ff1 | avoid dupe words in sample text
01:24 Geth ¦ doc/master: 123a56b024 | String is not a valid type
01:24 Geth ¦ doc/master: review: https://github.com/perl6/doc/compare/55e1043268...123a56b024
01:26 tbrowder if i want to go back and test an old rakudo release named 2017.04.3-275-g84502dc how do i get it.
01:26 geekosaur git checkout 84502dc
01:26 tbrowder i don't see any branches with that name. is it a tag?
01:26 geekosaur it's the start of a commit hash
01:27 geekosaur well. the full string is from git describe
01:27 geekosaur <most recent tag before the commits>-<number of commits since then>-g<commit hash>
01:27 geekosaur (the "g" is because you can import from a non-git repo; those will have hashes not prefixed with "g")
01:28 tbrowder on the nom branch?
01:28 geekosaur yes
01:28 geekosaur or whatever branch has that tag on it
01:30 tbrowder i don't see it there...
01:33 * geekosaur has to update...
01:34 geekosaur anyway I would expect that to be on nom
01:34 colomon joined #perl6
01:37 [Coke] are you testing a particular version from a bug report?
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:50 tejr joined #perl6
01:56 tbrowder no, i'm working on improving my read-write tests per critiques and will need to go back and add some tests...
01:57 tbrowder for comparison after jnthn's major io improvements
01:58 travis-ci joined #perl6
01:58 travis-ci Doc build passed. Will "Coke" Coleda 'String is not a valid type'
01:58 travis-ci https://travis-ci.org/perl6/doc/builds/249834552 https://github.com/perl6/doc/compare/55e104326896...123a56b0240b
01:58 travis-ci left #perl6
02:02 MasterDuke tbrowder: fyi, that commit was from may 16
02:12 mr-foobar joined #perl6
02:12 lookatme joined #perl6
02:18 noganex_ joined #perl6
02:19 kyan joined #perl6
02:33 colomon joined #perl6
02:43 mr-foobar joined #perl6
02:44 lookatme Why I have to add `use nqp;` to every statement in REPL mode ?
02:46 Cabanossi joined #perl6
02:48 tbrowder MasterDuke:  thnx
02:57 cxreg joined #perl6
02:59 kyan joined #perl6
03:12 mr-foobar joined #perl6
03:17 Cabanossi joined #perl6
03:28 mr-foobar joined #perl6
03:44 zengargoyle lookatme: REPL is a work in progress and is *hard*.  it's something like every line you enter is a new scope of some sort because it's got to be compiled into a unit just like a file would be (mostly, maybe, -ish)
03:45 zengargoyle some things stick around line to line, some things don't, some things need to be made 'my' to work.  etc.
03:47 zengargoyle for anything non-trivial, i setup inotify to watch a file and run p6 on it whenever it changes and then just edit the file in $EDITOR in another window.
03:49 lookatme zengargoyle, oh.
03:50 lookatme I wonder is something different between `nqp` and other module ?
03:50 lookatme use other module would be affect all lines
03:57 zengargoyle i could guess, but i don't really know. :)
04:00 Cabanossi joined #perl6
04:13 mr-foobar joined #perl6
04:46 Cabanossi joined #perl6
04:51 mniip joined #perl6
05:05 wamba joined #perl6
05:14 mr-foobar joined #perl6
05:18 cpage__ joined #perl6
05:23 xtreak_ joined #perl6
05:39 xtreak joined #perl6
05:46 mr-foobar joined #perl6
05:47 andrzejku joined #perl6
05:49 andrzejku someone already tried perl pdl?
05:52 ufobat joined #perl6
06:01 Cabanossi joined #perl6
06:10 xtreak joined #perl6
06:14 mr-foobar joined #perl6
06:19 xtreak joined #perl6
06:38 espadrine joined #perl6
06:39 rindolf joined #perl6
06:44 lowbro joined #perl6
06:44 lowbro joined #perl6
06:46 Cabanossi joined #perl6
06:57 sjn joined #perl6
06:59 domidumont joined #perl6
07:05 domidumont joined #perl6
07:28 dakkar joined #perl6
07:34 abraxxa joined #perl6
07:42 xtreak joined #perl6
07:45 xtreak_ joined #perl6
07:45 jsimonet joined #perl6
07:46 mr-foobar joined #perl6
07:46 zakharyas joined #perl6
07:48 * lizmat clickbaits https://p6weekly.wordpress.com/2017/07/03/2017-27-inching-on-speed/
07:50 xtreak joined #perl6
08:01 Cabanossi joined #perl6
08:10 masak lizmat++
08:11 masak can I construct a Routine at runtime, the way I can construct a class using the MOP?
08:12 masak specifically, can I programmatically populate the parameter list of a Routine I'm creating?
08:13 melezhik HI!
08:14 masak hi, melezhik
08:14 melezhik timotimo: " we have shaped native arrays, which is much like a numpy ndarray" are you sure that you are asking me? )))
08:14 melezhik hi, masak ))
08:15 lookatme lizmat++
08:16 leont joined #perl6
08:18 masak hm, Routine is Block is Code...
08:18 masak ...which has a Signature...
08:19 masak I suspect for what I want to do, I'm better off slurping in all the arguments, and then writing the checks in the routine body
08:19 lizmat m: sub a() {}; BEGIN dd MY::<&a>   # was hoping that would work  :-(
08:19 camelia rakudo-moar a7b230: OUTPUT: «Nil␤»
08:20 lizmat masak: ^^^
08:20 masak expecting that to work does not seem terribly unreasonable to me
08:20 masak m: sub a() {}; dd MY::<&a>
08:20 camelia rakudo-moar a7b230: OUTPUT: «Sub a = sub a () { #`(Sub|33849992) ... }␤»
08:20 lizmat well, I guess there isn't a MY:: yet until runtime
08:21 masak yeah, perhaps not
08:21 masak but lexical variables definitely exist at BEGIN time :)
08:21 masak m: sub a() {}; dd &a
08:21 robertle joined #perl6
08:21 camelia rakudo-moar a7b230: OUTPUT: «Sub a = sub a () { #`(Sub|55816856) ... }␤»
08:21 masak so it seems more of a mismatch between MY:: and the actual variables, than anything else
08:21 masak perhaps even a...
08:21 masak dun dun *DUN*
08:21 masak ...bug
08:22 lizmat m: sub a() {}; BEGIN dd &a   # why not simpler ?
08:22 camelia rakudo-moar a7b230: OUTPUT: «Sub a = sub a () { #`(Sub|63099800) ... }␤»
08:22 lizmat m: sub a() {}; BEGIN dd &a.signature
08:22 camelia rakudo-moar a7b230: OUTPUT: «:()␤»
08:34 jonas1 joined #perl6
08:37 bjz joined #perl6
08:38 u-ou joined #perl6
08:43 epony joined #perl6
08:50 pmurias joined #perl6
09:15 cosimo joined #perl6
09:20 mr-foobar joined #perl6
09:23 stmuk joined #perl6
09:39 bjz joined #perl6
10:04 xinming joined #perl6
10:16 zakharyas joined #perl6
10:20 astj_ joined #perl6
10:22 bjz_ joined #perl6
10:45 cschwenz joined #perl6
10:46 Cabanossi joined #perl6
10:52 astj joined #perl6
10:53 Fong joined #perl6
11:01 jamesaxl joined #perl6
11:01 jamesaxl Hello
11:10 masak jamesaxl: \o
11:13 bjz joined #perl6
11:22 araraloren joined #perl6
11:25 tejr left #perl6
11:32 mr-fooba_ joined #perl6
11:38 domidumont joined #perl6
11:47 rindolf joined #perl6
11:58 kubrat joined #perl6
12:05 rindolf joined #perl6
12:05 raschipi joined #perl6
12:11 domidumont joined #perl6
12:27 sacomo joined #perl6
12:29 pecastro joined #perl6
12:29 cosimo joined #perl6
12:31 Cabanossi joined #perl6
12:36 masak jnthn++ # https://6guts.wordpress.com/2017/07/02/optimizing-reading-lines-from-a-file/
12:37 eliasr joined #perl6
12:40 itaylor57 joined #perl6
12:40 cschwenz \o/ another jnthn blog post!  :-D
12:44 lizmat cschwenz: if you read https://p6weekly.wordpress.com/ every week, you would have known already  :-)
12:44 lizmat </plug>
12:44 cschwenz :-P
12:44 lizmat afk&
12:50 bjz joined #perl6
12:57 pilne joined #perl6
12:58 tadzik :P
12:58 tadzik I have to say, that post had an unexpected outcome for me
12:59 domidumont joined #perl6
13:01 timotimo how so?
13:01 Cabanossi joined #perl6
13:02 domidumont joined #perl6
13:03 cschwenz perl6 being 120ms slower despite doing more work is still impressive.
13:03 sacomo hi #perl6
13:04 sacomo do we have any way to specify a module dependency with version in META6?
13:05 llfourn sacomo: yup
13:05 llfourn "depends" : ["DispatchMap","JSON5::Tiny","Terminal::ANSIColor", "JSON::Fast"],
13:05 llfourn # from my META6.json
13:05 sacomo I mean, the version number
13:05 llfourn ugexe: ^^
13:05 cgfbee joined #perl6
13:06 llfourn (oh sorry I didn't see the version bit :S)
13:06 sacomo something like this: "depends" : ["JSON::Fast:ver<1.2.2.2>"],
13:06 sacomo np
13:07 llfourn I'm not sure as where would get get the version from. Right now mostly everything is done with git so you'd have to tag the version for it to have a chance of working.
13:08 El_Che fixing versions instead of minimal versions for a lib can be tricky (what happen when different libs depends on the same lib but impose different versions?)
13:08 llfourn though there was some cpan integration project that I haven't looked at
13:08 sacomo there is a description of the concept here http://design.perl6.org/S22.html#depends
13:08 sacomo hmm
13:08 lizmat joined #perl6
13:09 llfourn anyways ugexe is the person who'd know for sure
13:10 sacomo ok, thanks
13:10 sacomo seems like that syntax from that link works for zef
13:13 araraloren I don't know how to upload my module to CPAN, in details. Such as the document ..
13:25 araraloren ` perl6 -e 'prompt "123"' ` this produce an error message under `bash on win10`:
13:25 araraloren 123Cannot flush handle: Failed to flush filehandle: Input/output error
13:26 lizmat araraloren: which version?
13:26 lizmat I recall jnthn fixing that before the 2017.06 release ?
13:26 araraloren 2017.06
13:27 araraloren This is Rakudo version 2017.06 built on MoarVM version 2017.06
13:27 lizmat hmmm...  :-(
13:28 araraloren https://gist.github.com/araraloren/11969a50fe85be6adbba4ee3d32e2f65
13:28 araraloren this is report with --ll-exception
13:33 lizmat araraloren: please rakudobug it, it was thought to have been fixed with 2017.06
13:33 araraloren ok
13:33 jnthn It'll be a bash on win10 oddity I suspect. And not the first one we've had.
13:34 araraloren jnthn++, I watch your video about Perl6 concurrency, it was nice !
13:34 jnthn Glad you enjoyed it :)
13:41 bjz joined #perl6
13:42 araraloren lizmat, so what prepositive text should I use would be better, [IO] ?
13:43 lizmat [Win10] perhaps ?
13:45 araraloren It's bash on win10, I think IO would be better.
13:49 angstyb joined #perl6
13:49 jnthn Yeah, I very much doubt it happens on a native Win10 build
13:50 tadzik joined #perl6
13:52 araraloren Hm, anyway I reported that bug: perl #131700
13:52 synopsebot6 Link:  https://rt.perl.org/rt3/Public/Bug/Display.html?id=131700
14:05 tadzik joined #perl6
14:07 majensen joined #perl6
14:09 zakharyas joined #perl6
14:11 majensen left #perl6
14:16 AlexDaniel joined #perl6
14:31 darutoko joined #perl6
14:40 mack[m] joined #perl6
14:40 Matthew[m] joined #perl6
14:40 ilmari[m] joined #perl6
14:40 CIAvash[m] joined #perl6
14:40 dp[m] joined #perl6
14:40 unclechu joined #perl6
14:40 xui_nya[m] joined #perl6
14:40 mienaikage joined #perl6
14:49 S007 joined #perl6
14:49 amits2878 joined #perl6
14:49 amits2878 help
14:49 amits2878 hi all
14:50 zakharyas joined #perl6
14:50 amits2878 I am new here ... however i came here through perl6 site, telling someone here can help to get started with contributions
14:50 lizmat joined #perl6
14:51 [Coke] amits2878: hi
14:52 amits2878 hello
14:59 [Coke] if you're looking to help out, there's many different places; lots of different areas of code, docs, bug management, infrastructure...
15:00 cognominal joined #perl6
15:01 amits2878 i am well versed with perl 5, so to help/learn for perl 6 which direction wud u suggest
15:04 lizmat https://docs.perl6.org/language/5to6-perlsyn might be a good start ?
15:04 lizmat or maybe https://docs.perl6.org/language/5to6-nutshell
15:05 lizmat or any of the other first 5 entries on https://docs.perl6.org/language.html
15:07 [Coke] sure, there's a lot of TBD markers in that that need some review.
15:07 [Coke] feel free to ask here about corresponding six-isms.
15:09 dubi0us joined #perl6
15:10 [Coke] github.com/perl6/doc is the project site
15:11 amits2878 okies ... thanks for the pointers. i will look into it and see where do I fit in (if at all i fit in) else i will ping here for further guidance.
15:19 [Coke] dogbert17: assigned https://github.com/perl6/doc/issues/1406 to you; failing xt test from one of your commits
15:21 cosimo joined #perl6
15:22 rindolf amits2878: hi.
15:23 amits2878 hello
15:23 amits2878 @rindolf hi
15:23 rindolf amits2878: I knew an Amit S. in the past
15:23 amits2878 ok
15:24 rindolf amits2878: good luck with Perl 6!
15:25 amits2878 thanks ... just trying to be good and neat as all others here
15:26 rindolf amits2878: nice
15:26 rindolf Maybe I'll translate another euler solution to p6
15:27 cpage__ joined #perl6
15:27 dubi0us joined #perl6
15:28 amits2878 hey rindolf where did that amits belonged?
15:29 rindolf amits2878: he was a friend - I live in Tel Aviv
15:30 khw joined #perl6
15:30 rindolf amits2878: Amit is a common Israeli name
15:30 amits2878 ok ... i am in mumbai india
15:30 rindolf amits2878: ah
15:30 amits2878 amit is a common indian name too
15:30 rindolf amits2878: yes
15:30 rindolf amits2878: what does it mean?
15:31 jamesaxl hi rindolf
15:31 astj joined #perl6
15:31 amits2878 in isreali context i am not sure. amit is hindi word meaning without limits, something in extreme in general
15:32 rindolf amits2878: https://en.wikipedia.org/wiki/Amit
15:32 rindolf amits2878: ah
15:32 rindolf jamesaxl: hi
15:33 amits2878 :-)
15:33 amits2878 your name is rindolf or is it a combination of ur first and last name
15:34 jamesaxl amits2878, there is no Israeli context, because Israel is Jacoub,
15:34 amits2878 well you know it is sheer luck i got someone to talk and make things easy for myself ... as i suppose u been here more than me.
15:35 rindolf amits2878: it's a nickname
15:35 amits2878 okies
15:35 rindolf amits2878: see http://www.shlomifish.org/me/rindolf/
15:35 rindolf amits2878: this is about my real name - http://www.shlomifish.org/meta/FAQ/#your_name
15:36 amits2878 okies
15:37 amits2878 great to know that. now at least i have some one to help for sure ... :-)
15:37 rindolf amits2878: I'm not a perl 6 expert
15:39 Geth ¦ doc: dcb3cc5633 | (Jan-Olof Hendig)++ | doc/Type/Parameter.pod6
15:39 Geth ¦ doc: Fixed broken code example. [Coke]++
15:39 Geth ¦ doc:
15:39 Geth ¦ doc: Closes #1406
15:39 Geth ¦ doc: review: https://github.com/perl6/doc/commit/dcb3cc5633
15:39 amits2878 may be ...
15:40 ptolemarch joined #perl6
15:40 amits2878 i am not a geek too
15:40 * [Coke] gives up trying to get docs built on os x and works in a docker container instead. :P
15:41 itaylor57 joined #perl6
15:41 Geth ¦ doc: 4b60c95476 | (Jan-Olof Hendig)++ | doc/Type/Supply.pod6
15:41 Geth ¦ doc: Fixed typo
15:41 Geth ¦ doc: review: https://github.com/perl6/doc/commit/4b60c95476
15:41 rindolf amits2878: well, I'm a geek
15:42 [Coke] dogbert17: can you expand "approx." whil eyou're in there?
15:43 amits2878 i can see that from your page
15:44 BenGoldberg joined #perl6
15:47 dogbert17 [Coke]: will do
15:50 Geth ¦ doc: 03490932f2 | (Jan-Olof Hendig)++ | doc/Type/Supply.pod6
15:50 Geth ¦ doc: approx. -> approximately
15:50 Geth ¦ doc: review: https://github.com/perl6/doc/commit/03490932f2
15:51 labster_ joined #perl6
15:53 * zengargoyle aaarrrggghhhh, DateTime::Format::strptime -- Stub code executed
15:59 seatek joined #perl6
16:29 travis-ci joined #perl6
16:29 travis-ci Doc build errored. Jan-Olof Hendig 'Fixed broken code example. [Coke]++
16:29 travis-ci https://travis-ci.org/perl6/doc/builds/250036411 https://github.com/perl6/doc/compare/123a56b0240b...dcb3cc56332d
16:29 travis-ci left #perl6
16:30 xzhao left #perl6
16:31 Ben_Goldberg joined #perl6
16:31 travis-ci joined #perl6
16:31 travis-ci Doc build errored. Jan-Olof Hendig 'Fixed typo'
16:31 travis-ci https://travis-ci.org/perl6/doc/builds/250037032 https://github.com/perl6/doc/compare/dcb3cc56332d...4b60c95476ca
16:31 travis-ci left #perl6
16:40 travis-ci joined #perl6
16:40 travis-ci Doc build errored. Jan-Olof Hendig 'approx. -> approximately'
16:40 travis-ci https://travis-ci.org/perl6/doc/builds/250040603 https://github.com/perl6/doc/compare/4b60c95476ca...03490932f284
16:40 travis-ci left #perl6
17:09 jamesaxl joined #perl6
17:22 TEttinger joined #perl6
17:49 lizmat joined #perl6
17:56 zengargoyle do we have an 'after' along: <a b c d e f g>.after: 'd' --> <e f g>
17:57 timotimo no, but you can use grep and a flip-flop operator
17:57 timotimo m: say <a b c d e f g>.grep(* eq 'd' ff False)
17:57 camelia rakudo-moar d5d3bd: OUTPUT: «Use of uninitialized value $_ of type Any in string context.␤Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful.␤  in whatevercode  at <tmp> line 1␤()␤»
17:57 timotimo m: say <a b c d e f g>.grep({ $_ eq 'd' ff False })
17:57 camelia rakudo-moar d5d3bd: OUTPUT: «(d e f g)␤»
17:57 timotimo m: say <a b c d e f g>.grep({ $_ eq 'd' ^ff False })
17:57 camelia rakudo-moar d5d3bd: OUTPUT: «(e f g)␤»
17:58 timotimo there we go
17:58 zengargoyle sweet.
18:07 mr-foobar joined #perl6
18:11 |oLa| joined #perl6
18:13 dct joined #perl6
18:18 setty1 joined #perl6
18:30 dct joined #perl6
18:31 zengargoyle timotimo++  -- my `at` parser now has a strict mode that passes the original `at` disribution's test suite modulo their todo tests. *yay*
18:35 UptownGRL joined #perl6
18:38 * zengargoyle thinks their 2 TODO tests are wrong and i get them right. :P
18:50 zakharyas joined #perl6
18:51 raschipi joined #perl6
18:58 rindolf joined #perl6
19:02 domidumont joined #perl6
19:04 zengargoyle *woot* TimToady's TPC (YAPC::NA) talk is up on youtube: https://www.youtube.com/watch?v=EwQoSZdEl2s
19:07 andrzejku joined #perl6
19:07 lucasb joined #perl6
19:08 lucasb watching the talk right now. thanks for the link
19:11 andrzejku who is german here?
19:11 * moritz
19:12 moritz and a few others :-)
19:12 andrzejku moritz could you help me
19:12 moritz andrzejku: depends :-)
19:12 andrzejku moritz I am looking for the website where are jobs for IT in Germany
19:14 moritz andrzejku: there's more than one :-)
19:14 andrzejku what about that one?
19:14 andrzejku http://germanitjobs.com/jobs
19:14 moritz andrzejku: I tend to like https://stackoverflow.com/jobs which has jobs from all over the world
19:14 moritz including Germany
19:15 moritz andrzejku: never heard of it before
19:15 moritz https://www.monster.de/ is pretty big in Germany too, though not specific to IT
19:22 lizmat joined #perl6
19:25 imcsk8 joined #perl6
19:27 brrt joined #perl6
19:37 mr-foobar joined #perl6
19:46 Cabanossi joined #perl6
19:47 astj joined #perl6
19:54 moritz m: say '"a,b","' ~~ / ^ \" .*? \" : $ /;
19:54 camelia rakudo-moar d5d3bd: OUTPUT: «「"a,b","」␤»
19:54 moritz why does this regex match?
19:54 moritz m: say '"a,b","' ~~ / ^ \" .*? \"/;
19:54 camelia rakudo-moar d5d3bd: OUTPUT: «「"a,b"」␤»
19:54 moritz I'd expect the first attempt to only match '"a,b"'
19:55 moritz and then the : to forbid backtracking over that point
19:55 moritz ah no, that's not what : does
19:55 moritz what's what <commit> would do, which is NYI :(
19:55 moritz thanks for being my rubber duck, #perl6 :-)
20:08 stmuk interesting LW QnA from TPC
20:10 mr-foobar joined #perl6
20:10 SCHAPiE joined #perl6
20:14 lizmat joined #perl6
20:27 espadrine joined #perl6
20:36 mr-foobar joined #perl6
20:38 konsolebox joined #perl6
20:40 timotimo was there a presentation in front of the q&a?
20:52 BenGoldberg joined #perl6
20:54 cpage__ joined #perl6
20:55 robertle joined #perl6
20:55 bjz joined #perl6
21:12 mr-foobar joined #perl6
21:31 Cabanossi joined #perl6
21:32 gdonald Anyone see what might be wrong with this: https://rosettacode.org/wiki/Keyboard_input/Obtain_a_Y_or_N_response#Perl_6 When I try it's still buffered, I have to input several keystrokes to get True or False to appear.
21:33 rindolf joined #perl6
21:34 timotimo getc is about characters, and a single character can be many unicode codepoints
21:35 timotimo perl6 is trying its best to never give you a broken-off combiner character
21:35 timotimo so it dutifully waits for some kind of confirmation that there's not going to be a "combining acute" or something
21:35 timotimo you'll want to use .read(1) instead, or maybe have a timeout or something
21:36 mr-foobar joined #perl6
21:39 timotimo i tried the automatic subtitler
21:39 timotimo it's not even bad
21:39 timotimo a nice detail is that it put "[Applause]" at the end
21:46 timotimo gdonald: does that help?
21:51 gdonald Works great, thank you.
21:53 redhands joined #perl6
21:55 Geth ¦ doc: c7c1b8cbde | (Will "Coke" Coleda)++ | template/search_template.js
21:55 Geth ¦ doc: Improve fuzzy searching
21:55 Geth ¦ doc:
21:55 Geth ¦ doc: maxdistance  - the expression we had here was causing a comparison of 'val' vs. 'val' to return an offset of 3, instead of -0
21:55 Geth ¦ doc: maxoffset - prefer smaller number here.
21:55 Geth ¦ doc:
21:55 Geth ¦ doc: OK_distance - use a more restrictive match distance.
21:55 Geth ¦ doc:
21:55 Geth ¦ doc: Fixes #1404
21:55 Geth ¦ doc: review: https://github.com/perl6/doc/commit/c7c1b8cbde
21:55 redhands left #perl6
21:55 Geth ¦ perl6-examples: fa39ef8147 | (Steve Mynott)++ | README.md
21:55 Geth ¦ perl6-examples: Minor doc change to force a new examples build
21:55 Geth ¦ perl6-examples: review: https://github.com/perl6/perl6-examples/commit/fa39ef8147
21:59 samcv my friend found a possible regression. it only shows when launching the script with a command line argument. and for some reason tries to open the command line argument as a file, but only at the end of execution
22:00 samcv this is the file https://pastebin.com/raw/MaURicBg if you download it, and start it as perl6 deckofpain.p6 easy
22:00 samcv then press enter until the end (like 10 seconds if you just hit enter) then it tries to access the filename provided "easy" which is just the mode of the file. but if you have no command line argument, $mode defaults to easy anyway
22:00 samcv but it doesn't try and open the file
22:01 samcv they tell me it didn't do this last release
22:01 Cabanossi joined #perl6
22:03 Lambd0x_ joined #perl6
22:04 Geth ¦ perl6.org: 6a91ba5132 | (Steve Mynott)++ | source/resources/index.html
22:04 Geth ¦ perl6.org: Correct typo
22:04 Geth ¦ perl6.org: review: https://github.com/perl6/perl6.org/commit/6a91ba5132
22:04 Lambd0x_ Hi there! Can anyone help me with a windows issue regarding zef?
22:10 samcv what's the problem Lambd0x_
22:16 Lambd0x_ samcv I'm unable to install any module. timotimo had a look yesterday with me, but the problem seems a little tricky
22:16 samcv :( what's the error
22:16 timotimo it seems unable to get the ecosystem lists
22:17 timotimo it does claim that the pswebrequest module is available and working
22:17 Lambd0x_ https://pastebin.com/SwGUPWNd
22:18 Lambd0x_ samcv, the most meaningful paste is this pastebin :D
22:19 Lambd0x_ timotimo, also, I've tried to use directly PowerShell;
22:19 samcv here's your problem. "mirror" is misspelled /s
22:19 samcv "Failed to update cpan miror:" heh
22:19 Lambd0x_ ahah
22:20 geekosaur heh
22:20 samcv hmm i don't know what's going on here :(
22:21 geekosaur several typoes in the messages indeed. there's also a "Cheching" earlier :p
22:23 samcv XD
22:23 samcv that's great
22:23 Lambd0x_ geekosaur, samcv, timotimo. I've written this log due to the fact windows PowerShell or cmd won't allow me to copy its content. The message is ok, just a few typos because I was in a hurry yesterday.
22:24 samcv you can't copy?
22:24 timotimo should be possible by just marking and it'll immediately be in your copy buffer
22:24 geekosaur otherwise I would wonder if a proxy needs to be configured for something other than browsers
22:25 Lambd0x_ Well, it's Windows.
22:25 ugexe looks like it happened in 0.1.18 when I added file locking to some things. you could try `perl6 -Ilib bin/zef install https://github.com/ugexe/zef/archive/v0.1.17.zip`
22:25 geekosaur copy is normally in the window menu
22:26 Lambd0x_ geekosaur, Agreed. However a cmd or Powershell app, doesn't have this menu.
22:26 geekosaur edit > mark, or control-m
22:26 geekosaur er? it does here
22:26 geekosaur click the icon at the left side of the titlebar
22:27 Lambd0x_ Ah, here is windows 8.1
22:27 Lambd0x_ yours?
22:27 geekosaur 8.1 should still have that menu
22:27 geekosaur (I'm on 10)
22:27 geekosaur 8.0 I'm not sure about but 8.1 reversed some of 8.0's more questionable decisions
22:27 Lambd0x_ geekosaur, You're right man
22:28 Lambd0x_ the icon is a menu, never even dreamed about it.
22:28 geekosaur and in any case control-m should work
22:28 Lambd0x_ Well, it will improve the report. Will get a decent copy for you guys now.
22:28 geekosaur puts you into mark mode
22:29 Lambd0x_ ugexe, will try what you suggested soon.
22:30 Lambd0x_ geekosaur, :D
22:31 Lambd0x_ guys, here: https://pastebin.com/RRXhe2QX
22:31 bjz joined #perl6
22:31 skids joined #perl6
22:32 travis-ci joined #perl6
22:32 travis-ci Doc build passed. Will "Coke" Coleda 'Improve fuzzy searching
22:32 travis-ci https://travis-ci.org/perl6/doc/builds/250141775 https://github.com/perl6/doc/compare/03490932f284...c7c1b8cbde2c
22:32 travis-ci left #perl6
22:33 ugexe https://github.com/ugexe/zef/blob/master/lib/Zef/Repository/Ecosystems.pm6#L36 - How is he getting both a message from KEEP and UNDO?
22:36 raschipi joined #perl6
22:39 ugexe ah n/m i see it just works with the .git url
22:41 Lambd0x_ ugexe, about your early suggestion... the bin/zef is intended for C:\rakudo\ or C:\rakudobrew\ (I've tried first with the lastest Rakudo Star release and then with the latest possible build using rakudobrew)
22:41 Lambd0x_ ?
22:42 mr-foobar joined #perl6
22:44 ugexe oh, you would `git clone https://github.com/ugexe/zef`, `cd zef`, then run that
22:44 Lambd0x_ ok
22:44 ugexe you might have to do `perl6 -Ilib bin/zef uninstall zef` before installing that older version
22:46 Lambd0x_ ugexe, yes I had to.
22:50 lichtkind joined #perl6
22:50 Lambd0x_ ugexe, https://pastebin.com/Zc67i0cJ
22:51 Lambd0x_ It won't work yet.
22:53 astj joined #perl6
22:54 ugexe did a command other than `zef update` work for you with the latest zef?
22:54 Lambd0x_ ugexe, no. I tried fetch, update and install neither worked.
22:55 ugexe what is the output for `zef install --debug CSV::Parser`
22:55 Lambd0x_ ugexe, all of them gave similar error messages.
22:55 ugexe but fetching worked for the ecosystem, just not the first mirror
22:59 TimToady joined #perl6
22:59 Lambd0x_ ugexe, https://pastebin.com/xa7Y1FdM
23:00 Lambd0x_ ugexe, It still give errors, but it already had it installed I had to force it anyway.
23:01 Cabanossi joined #perl6
23:05 ugexe looks like it works for you.
23:05 ugexe if you get the latest (as of 5 minutes) ago zef it will show the proper 'Distribution count' when you do `zef update`
23:08 Lambd0x_ will rebuild zef and check it out then
23:09 Geth ¦ doc: gdonald++ created pull request #1408: Fix grammer around IO::Handle.getc.
23:09 Geth ¦ doc: review: https://github.com/perl6/doc/pull/1408
23:09 Lambd0x_ ugexe, what's the latest version now?
23:09 Lambd0x_ it's building the 1.20 with rakudobrew
23:11 Lambd0x_ ugexe, built the 1.20 with rakudobrew and it doesn't work. Same errors :/
23:11 bjz joined #perl6
23:14 Geth ¦ doc: 25d00a2026 | (Greg Donald)++ (committed by Aleks-Daniel Jakimenko-Aleksejev) | doc/Type/IO/Handle.pod6
23:14 Geth ¦ doc: Fix grammer around IO::Handle.getc.
23:14 Geth ¦ doc: review: https://github.com/perl6/doc/commit/25d00a2026
23:18 ugexe its not an error
23:19 ugexe its trying a url and zef can't figure out how to download it with what your system has available, so it tries the next mirror which uses `git` which you apparently do have available
23:21 Lambd0x_ ugexe, Ok, but then Simgle::GTK fail to get installed
23:21 Lambd0x_ *fails
23:22 Lambd0x_ *Simple::GTK
23:23 Lambd0x_ That's, if I issue a cmd like: zef install Simple::GTK
23:26 ugexe you did `zef install CSV::Parser` and it worked
23:26 Lambd0x_ ugexe, found what happened
23:27 Lambd0x_ ugexe, I still had a earlier zef installed. Which after removing it solved the problem
23:42 stmuk_ joined #perl6
23:48 Geth ¦ doc: 6582ed0003 | (Will "Coke" Coleda)++ | template/search_template.js
23:48 Geth ¦ doc: Sort exact matches first in category
23:48 Geth ¦ doc:
23:48 Geth ¦ doc: Sort prefix matches next
23:48 Geth ¦ doc:
23:48 Geth ¦ doc: Cheat with a global variable to keep track of the last search term
23:48 Geth ¦ doc:
23:48 Geth ¦ doc: For #247
23:48 Geth ¦ doc: review: https://github.com/perl6/doc/commit/6582ed0003
23:50 evalable6 joined #perl6
23:50 quotable6 joined #perl6
23:50 committable6 joined #perl6
23:50 greppable6 joined #perl6
23:50 bloatable6 joined #perl6
23:50 benchable6 joined #perl6
23:50 unicodable6 joined #perl6
23:50 bisectable6 joined #perl6
23:50 statisfiable6 joined #perl6
23:55 TimToady m: say slip ("57" .. "61")
23:55 camelia rakudo-moar d5d3bd: OUTPUT: «(57 56 55 54 53 52 51 67 66 65 64 63 62 61)␤»
23:55 TimToady m: say slip ("57" .. "61") + 0
23:55 camelia rakudo-moar d5d3bd: OUTPUT: «(57 58 59 60 61)␤»
23:55 TimToady there's another way to force the endpoints of a range into numerics

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

Perl 6 | Reference Documentation | Rakudo