Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2018-04-16

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:22 w_richard_w joined #perl6
00:52 Zoffix joined #perl6
00:59 kurahaupo joined #perl6
01:01 lizmat_ joined #perl6
01:06 lizmat joined #perl6
01:18 kurahaupo joined #perl6
01:21 kurahaupo_ joined #perl6
01:27 zacts joined #perl6
01:34 kurahaupo joined #perl6
01:34 kurahaupo_ joined #perl6
01:36 kurahaupo_ joined #perl6
01:38 kurahaupo_ joined #perl6
01:57 ilbot3 joined #perl6
01:57 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!
02:03 MasterDuke m: my %h = :2nd, :1st; dd %h; %h = Empty; dd %h
02:03 camelia rakudo-moar db8b218f6: OUTPUT: «Hash %h = {:nd(2), :st(1)}␤Hash %h = {}␤»
02:03 MasterDuke m: my %h = :2nd, :1st; dd %h; %h = (); dd %h
02:03 camelia rakudo-moar db8b218f6: OUTPUT: «Hash %h = {:nd(2), :st(1)}␤Hash %h = {}␤»
02:05 Herby_ thanks :)
02:31 Kaiepi joined #perl6
02:37 Kaiepi joined #perl6
02:53 ufobat___ joined #perl6
03:00 raynold joined #perl6
03:09 wamba joined #perl6
03:29 pharv joined #perl6
03:43 pharv joined #perl6
03:52 Herby_ dumb question time
03:53 Herby_ nm.
04:06 Voldenet hm, I wouldn't mind if perl6 had built-in http client
04:07 Voldenet or json
04:53 |Sno| joined #perl6
04:54 curan joined #perl6
04:58 wamba joined #perl6
05:07 jmerelo joined #perl6
05:09 moritz \o
05:09 jmerelo Hi
05:19 jmerelo p6: say "with an #" ~~ /<(\w+)> '#' /
05:19 camelia rakudo-moar 66218b59c: OUTPUT: «Nil␤»
05:20 jmerelo p6: say "with an #" ~~ / '#' /
05:20 camelia rakudo-moar 66218b59c: OUTPUT: «「#」␤»
05:20 jmerelo p6: say "with an #" ~~ /<(\w+)> \s+ '#' /
05:20 camelia rakudo-moar 66218b59c: OUTPUT: «「an」␤»
05:23 Geth ¦ doc: 0a92a89fd7 | 陈梓立++ | doc/Type/Hash.pod6
05:23 Geth ¦ doc: Fix duplicated index entries on :{}
05:23 Geth ¦ doc: review: https://github.com/perl6/doc/commit/0a92a89fd7
05:23 synopsebot Link: https://doc.perl6.org/type/Hash
05:35 Geth ¦ doc: JJ self-assigned .tarvis.yml down https://github.com/perl6/doc/issues/1930
05:36 Geth ¦ doc: 69bd4a293b | (JJ Merelo)++ | .travis.yml
05:36 Geth ¦ doc: Eliminates repeated matrix closes #1930
05:36 Geth ¦ doc: review: https://github.com/perl6/doc/commit/69bd4a293b
05:45 tt joined #perl6
05:51 domidumont joined #perl6
05:57 domidumont joined #perl6
06:00 Geth ¦ doc: 9b1a88acf5 | 陈梓立++ | doc/Language/grammars.pod6
06:00 Geth ¦ doc: Eliminates sym index duplicate, #1912
06:00 Geth ¦ doc: review: https://github.com/perl6/doc/commit/9b1a88acf5
06:00 Geth ¦ doc: 69d741ec4c | 陈梓立++ | .travis.yml
06:00 Geth ¦ doc: Merge branch 'master' of github.com:perl6/doc
06:00 synopsebot Link: https://doc.perl6.org/language/grammars
06:00 Geth ¦ doc: review: https://github.com/perl6/doc/commit/69d741ec4c
06:00 Geth ¦ doc: 32065f7604 | 陈梓立++ | doc/Language/operators.pod6
06:00 synopsebot Link: https://doc.perl6.org/language/operators
06:00 Geth ¦ doc: Eliminates «=» index duplicate, #1912
06:00 Geth ¦ doc: review: https://github.com/perl6/doc/commit/32065f7604
06:05 jmerelo Travis builds per day, from the beginning https://github.com/JJ/TPF-Grant/blob/master/illos/travis-builds-date-basic.png
06:06 jmerelo Still have to hone it somewhat, and plot per month too, but tives you an idea of overall activity
06:09 jmerelo One advantage of having two different and independent tests is that it helps filter spurious errors, such as here https://travis-ci.org/perl6/doc/builds/366998702?utm_source=email&amp;utm_medium=notification
06:10 jmerelo We get the "zed value $repo-id of type Any in string context." for no reason sometimes
06:26 domidumont joined #perl6
06:29 domidumont joined #perl6
06:33 wamba joined #perl6
06:39 HaraldJoerg joined #perl6
07:01 wamba joined #perl6
07:04 sena_kun joined #perl6
07:07 amalia___ joined #perl6
07:07 noganex joined #perl6
07:14 Geth ¦ doc: 528a69a3b6 | (Luca Ferrari)++ | doc/Type/IO/Socket/INET.pod6
07:14 Geth ¦ doc: Improve IO::Socket::INET.accept() documentation.
07:14 Geth ¦ doc:
07:14 Geth ¦ doc: Specify that a new socket instance is returned by such method.
07:14 Geth ¦ doc: Close issue #1929.
07:14 synopsebot Link: https://doc.perl6.org/type/IO::Socket::INET
07:14 Geth ¦ doc:
07:14 Geth ¦ doc: Description as of rakudo source 2018.01.
07:14 Geth ¦ doc: review: https://github.com/perl6/doc/commit/528a69a3b6
07:32 Geth ¦ doc: f860dab4fb | (JJ Merelo)++ | shippable.yml
07:32 Geth ¦ doc: Adds shippable config refs #1931
07:32 Geth ¦ doc: review: https://github.com/perl6/doc/commit/f860dab4fb
07:33 Geth ¦ doc: a2d6144efa | (JJ Merelo)++ | shippable.yml
07:33 Geth ¦ doc: Adds correct image name refs #1931
07:33 Geth ¦ doc: review: https://github.com/perl6/doc/commit/a2d6144efa
07:33 zakharyas joined #perl6
07:35 darutoko joined #perl6
07:37 Geth ¦ doc: efd46ebde1 | (JJ Merelo)++ | shippable.yml
07:37 Geth ¦ doc: Adds correct env variable refs #1931
07:37 Geth ¦ doc: review: https://github.com/perl6/doc/commit/efd46ebde1
07:42 Geth ¦ doc: b2e44ac304 | (JJ Merelo)++ | shippable.yml
07:42 Geth ¦ doc: Testing build dir #1931
07:42 Geth ¦ doc: review: https://github.com/perl6/doc/commit/b2e44ac304
07:44 brrt joined #perl6
07:45 Geth ¦ doc: 579ef8a287 | (JJ Merelo)++ | shippable.yml
07:45 Geth ¦ doc: Fixes test refs #1931
07:45 Geth ¦ doc: review: https://github.com/perl6/doc/commit/579ef8a287
07:48 dct joined #perl6
07:50 cosimo joined #perl6
07:53 aindilis joined #perl6
07:57 Geth ¦ doc/master: 4 commits pushed by (Luca Ferrari)++
07:57 Geth ¦ doc/master: 9cd346ab66 | Improve the IO::Socket::INET.new method description.
07:57 Geth ¦ doc/master: c31172eeee | Add : in front of all pair descriptions in IO::Socket::INET.new.
07:57 Geth ¦ doc/master: 86fb20c4e1 | Adjust article for IO::Socket::INET.accept method description.
07:57 Geth ¦ doc/master: d378e69308 | Merge branch 'master' of github.com:perl6/doc
07:57 Geth ¦ doc/master: review: https://github.com/perl6/doc/compare/579ef8a287f0...d378e69308c9
08:03 rindolf joined #perl6
08:06 xinming joined #perl6
08:12 Geth ¦ doc: 0728d80e1e | (Luca Ferrari)++ | doc/Type/IO/Socket/INET.pod6
08:12 Geth ¦ doc: Return value of IO::Socket::INET.get is Nil on EOF.
08:12 Geth ¦ doc:
08:12 Geth ¦ doc: According to the implementation of IO::Socket and IO::Socket::INET
08:12 Geth ¦ doc: the get method returns Nil on end of input, not a type object:
08:12 synopsebot Link: https://doc.perl6.org/type/IO::Socket::INET
08:12 Geth ¦ doc:
08:12 Geth ¦ doc:    $line.DEFINITE ?? $line !! Nil
08:12 Geth ¦ doc: review: https://github.com/perl6/doc/commit/0728d80e1e
08:17 abraxxa joined #perl6
08:20 dakkar joined #perl6
08:20 lizmat https://github.com/Tyil/lonestar   # whee!
08:21 tyil lizmat: :>
08:22 AlexDaniel joined #perl6
08:27 aindilis joined #perl6
08:29 AlexDaniel joined #perl6
08:46 scimon joined #perl6
08:48 aindilis joined #perl6
08:49 Geth ¦ doc: b2954e9fff | (JJ Merelo)++ | shippable.yml
08:49 Geth ¦ doc: Trying to find out container dir
08:49 Geth ¦ doc: review: https://github.com/perl6/doc/commit/b2954e9fff
08:53 Geth ¦ doc: 6dffa09dfa | (JJ Merelo)++ | shippable.yml
08:53 Geth ¦ doc: Test with declared volumes
08:53 Geth ¦ doc: review: https://github.com/perl6/doc/commit/6dffa09dfa
08:54 Geth ¦ doc: 0adca6f07a | (JJ Merelo)++ | shippable.yml
08:54 Geth ¦ doc: Trying @zixia's approach
08:54 Geth ¦ doc: review: https://github.com/perl6/doc/commit/0adca6f07a
08:56 Geth ¦ doc: 9b398a70cc | (JJ Merelo)++ | shippable.yml
08:56 Geth ¦ doc: Eliminates volume inspect
08:56 Geth ¦ doc: review: https://github.com/perl6/doc/commit/9b398a70cc
09:00 abraxxa joined #perl6
09:01 Geth ¦ doc: 10ffb28256 | (JJ Merelo)++ | shippable.yml
09:01 Geth ¦ doc: Different maps refs #1931
09:01 Geth ¦ doc: review: https://github.com/perl6/doc/commit/10ffb28256
09:03 Geth ¦ doc: e11580f619 | (JJ Merelo)++ | shippable.yml
09:03 Geth ¦ doc: Creates dir for mapping refs #1931
09:03 Geth ¦ doc: review: https://github.com/perl6/doc/commit/e11580f619
09:04 noganex joined #perl6
09:08 Geth ¦ doc: b403c41b4c | (JJ Merelo)++ | shippable.yml
09:08 Geth ¦ doc: Setting dirs alright refs #1931
09:08 Geth ¦ doc: review: https://github.com/perl6/doc/commit/b403c41b4c
09:08 markong joined #perl6
09:13 noganex joined #perl6
09:14 noganex joined #perl6
09:16 cosimo_ joined #perl6
09:17 cosimo joined #perl6
09:18 kurahaupo joined #perl6
09:19 kurahaupo joined #perl6
09:21 kurahaupo_ joined #perl6
09:24 kurahaupo_ joined #perl6
09:37 Geth ¦ doc: a64e2bdf10 | (JJ Merelo)++ | shippable.yml
09:37 Geth ¦ doc: Exploring directories refs #1931
09:37 Geth ¦ doc: review: https://github.com/perl6/doc/commit/a64e2bdf10
09:41 Geth ¦ doc: 378c94750b | (JJ Merelo)++ | shippable.yml
09:41 Geth ¦ doc: Still trying. Looking for mapped dirs #1931
09:41 Geth ¦ doc: review: https://github.com/perl6/doc/commit/378c94750b
09:45 lizmat joined #perl6
09:45 Geth ¦ doc: 0539c4d9bd | (JJ Merelo)++ | shippable.yml
09:45 Geth ¦ doc: Still trying. Looking for mapped dirs #1931
09:45 Geth ¦ doc: review: https://github.com/perl6/doc/commit/0539c4d9bd
09:47 Geth ¦ doc: 0753a5e15e | (JJ Merelo)++ | shippable.yml
09:47 Geth ¦ doc: Eliminates errored mkdir #1931
09:47 Geth ¦ doc: review: https://github.com/perl6/doc/commit/0753a5e15e
09:47 kurahaupo joined #perl6
09:52 zakharyas joined #perl6
09:52 Geth ¦ doc: e60e12d5f9 | (JJ Merelo)++ | shippable.yml
09:52 Geth ¦ doc: Trouble-free mkdir inserted #1931
09:52 Geth ¦ doc: review: https://github.com/perl6/doc/commit/e60e12d5f9
09:57 Geth ¦ doc: 716762c9b0 | (JJ Merelo)++ | shippable.yml
09:57 Geth ¦ doc: Simplifies configuration #1931
09:57 Geth ¦ doc: review: https://github.com/perl6/doc/commit/716762c9b0
10:03 brrt joined #perl6
10:18 jmerelo joined #perl6
10:21 HaraldJoerg1 joined #perl6
10:27 HaraldJoerg1 left #perl6
10:28 HaraldJoerg joined #perl6
10:32 eliasr joined #perl6
10:38 brrt joined #perl6
10:51 Geth ¦ museum-items: d7398f4c46 | (Zoffix Znet)++ | README.md
10:51 Geth ¦ museum-items: Add link to blog post
10:51 Geth ¦ museum-items: review: https://github.com/perl6/museum-items/commit/d7398f4c46
10:51 Zoffix New blog post: "WANTED: Perl 6 Historical Items": https://rakudo.party/post/WANTED-Perl-6-Historical-Items
10:53 ilmari did anyone keep the shards of the infamous mug?
10:55 pmurias joined #perl6
10:56 lizmat weekly: https://rakudo.party/post/WANTED-Perl-6-Historical-Items
10:56 notable6 lizmat, Noted!
11:10 kybr joined #perl6
11:11 pmurias https://github.com/rakudo/rakudo/pull/1542 - why is this PR stalled?
11:12 * Zoffix passed it over because Zoffix cannot competently review that code.
11:24 tyil Zoffix: the "a" shouldnt be in ( ) in your latest post
11:24 tyil in "I'm working on (a second) facelift to perl6.org website."
11:27 pmurias does jstuder-gh visit irc?
11:28 tyil /whowas doesnt say anything about a jstuder-gh
11:28 domidumont joined #perl6
11:33 Zoffix pmurias: I've seen them once, but usually no
11:34 xinming joined #perl6
11:35 aindilis joined #perl6
11:36 timotimo i'd assume the -gh is only for use on github, though
11:36 mcmillhj joined #perl6
11:36 jkramer I just heard about that mug thing for the first time, cool story :D https://www.nntp.perl.org/group/perl.packrats/2002/07/msg3.html
11:37 jkramer "*>Did anyone keep some broken cups for later display in musuem?  ---  No :)"
11:48 jmerelo joined #perl6
11:50 Geth ¦ museum-items: 81af7506e0 | (Zoffix Znet)++ (committed using GitHub Web editor) | 2002/The-Jon-Orwant-mug-throwing-incident-at-P5P-meeting.md
11:50 Geth ¦ museum-items: Add mug throwing incident email thread
11:50 Geth ¦ museum-items: review: https://github.com/perl6/museum-items/commit/81af7506e0
11:50 mcmillhj joined #perl6
11:53 robertle joined #perl6
11:55 Zoffix tyil: thanks, but can't be bothered to update that.
11:57 Geth ¦ doc/fluca1978-pod-introspection: bc1661e3cf | (Luca Ferrari)++ | doc/Language/pod.pod6
11:57 Geth ¦ doc/fluca1978-pod-introspection: Short introduction to Pod introspection.
11:57 Geth ¦ doc/fluca1978-pod-introspection:
11:57 Geth ¦ doc/fluca1978-pod-introspection: See issue #1907
11:57 Geth ¦ doc/fluca1978-pod-introspection: review: https://github.com/perl6/doc/commit/bc1661e3cf
11:57 Geth ¦ doc/fluca1978-pod-introspection: 5da4415091 | (Luca Ferrari)++ | doc/Language/pod.pod6
11:57 Geth ¦ doc/fluca1978-pod-introspection: Remove extra blank spaces.
11:57 Geth ¦ doc/fluca1978-pod-introspection: review: https://github.com/perl6/doc/commit/5da4415091
11:57 Geth ¦ doc/fluca1978-pod-introspection: d215f47243 | (Luca Ferrari)++ | doc/Language/pod.pod6
11:57 Geth ¦ doc/fluca1978-pod-introspection: Add Perl6 subject in statement.
11:57 Geth ¦ doc/fluca1978-pod-introspection: review: https://github.com/perl6/doc/commit/d215f47243
11:59 vcv joined #perl6
11:59 Geth ¦ doc: fluca1978++ created pull request #1933: Fluca1978 pod introspection
11:59 Geth ¦ doc: review: https://github.com/perl6/doc/pull/1933
11:59 * Zoffix does it anyway...
12:00 Xliff__ joined #perl6
12:01 Geth ¦ doc: JJ assigned to fluca1978 Issue The pod section of the docs should mention how to access pod via $= https://github.com/perl6/doc/issues/1907
12:01 releasable6 joined #perl6
12:01 committable6 joined #perl6
12:05 mcmillhj joined #perl6
12:09 domidumont joined #perl6
12:13 jmerelo He https://web.archive.org/web/20160327034915/http://www.spidereyeballs.com/os5/set1/small_os5_r06_9705.html
12:15 Geth ¦ doc: a0e725555f | (JJ Merelo)++ | 2 files
12:15 Geth ¦ doc: Catches exception when there are htmlify errors
12:15 Geth ¦ doc:
12:15 Geth ¦ doc: This would actually refs #1932, but I'm piggybacking on this to test
12:15 Geth ¦ doc: shippable too.
12:16 Geth ¦ doc: review: https://github.com/perl6/doc/commit/a0e725555f
12:20 mcmillhj joined #perl6
12:22 Geth ¦ museum-items: d0a968c81f | (Zoffix Znet)++ (committed using GitHub Web editor) | 2002/The-Jon-Orwant-mug-throwing-incident-at-P5P-meeting.md
12:22 Geth ¦ museum-items: Update The-Jon-Orwant-mug-throwing-incident-at-P5P-meeting.md
12:22 Geth ¦ museum-items: review: https://github.com/perl6/museum-items/commit/d0a968c81f
12:23 sena_kun joined #perl6
12:28 Geth ¦ doc: bc4388b506 | (JJ Merelo)++ | shippable.yml
12:28 Geth ¦ doc: Still testing shippable #1931
12:28 Geth ¦ doc: review: https://github.com/perl6/doc/commit/bc4388b506
12:34 mcmillhj joined #perl6
12:36 Geth ¦ doc: f88821dc10 | (JJ Merelo)++ | shippable.yml
12:36 Geth ¦ doc: Using directly the image #1931
12:36 Geth ¦ doc: review: https://github.com/perl6/doc/commit/f88821dc10
12:37 Geth ¦ doc: a52e05a92b | (JJ Merelo)++ | shippable.yml
12:37 Geth ¦ doc: Using correct name image #1931
12:37 Geth ¦ doc: review: https://github.com/perl6/doc/commit/a52e05a92b
12:45 Geth ¦ doc: cb82c1a168 | (JJ Merelo)++ | shippable.yml
12:45 Geth ¦ doc: Testing with @nxadm's packages
12:45 Geth ¦ doc:
12:45 Geth ¦ doc: Out of desperation, I found no way to make it work with docker. Refs #1931
12:45 Geth ¦ doc: review: https://github.com/perl6/doc/commit/cb82c1a168
12:49 Zoffix left #perl6
12:50 [Coke] jmerelo: do you still have questions about the "" != "" line in the doc test?
12:52 [Coke] [#perl6]
12:52 [Coke] https://github.com/perl6/doc/blob/master/Makefile#L40-L46
12:54 Geth ¦ doc: 745e2512c0 | (JJ Merelo)++ | shippable.yml
12:54 Geth ¦ doc: Avoids redirections
12:54 Geth ¦ doc: review: https://github.com/perl6/doc/commit/745e2512c0
12:55 jmerelo [Coke]: that was not really the issue, only that was close to where the error was happening. It was eventually due to not setting up PATH properly from inside a shell script
12:56 jmerelo [Coke]: I got that working yesterday; problem now is I can't get shippable to work.
12:57 jmerelo Although it seems to be liking the last one https://app.shippable.com/github/perl6/doc/runs/474/1/console
12:58 khisanth__ joined #perl6
13:00 Geth ¦ doc: 00975433d9 | (JJ Merelo)++ | shippable.yml
13:00 Geth ¦ doc: Adds libssl-dev refs #1931
13:00 Geth ¦ doc: review: https://github.com/perl6/doc/commit/00975433d9
13:02 [Coke] you can make curl/wget follow redirects, if that helps
13:02 [Coke] re: 745e2512c0
13:03 Geth ¦ doc: 861a06f866 | (JJ Merelo)++ | shippable.yml
13:03 Geth ¦ doc: apt-get update added refs #1931
13:03 Geth ¦ doc: review: https://github.com/perl6/doc/commit/861a06f866
13:04 Geth ¦ doc: 4e9c348b31 | (JJ Merelo)++ | shippable.yml
13:04 Geth ¦ doc: apt-get typo fixed refs #1931
13:04 Geth ¦ doc: review: https://github.com/perl6/doc/commit/4e9c348b31
13:06 Zoffix joined #perl6
13:10 tadzik soo, Perl 6 history museum? Neat idea :)
13:11 Geth ¦ doc: 3959cd0e25 | (JJ Merelo)++ | shippable.yml
13:11 Geth ¦ doc: Sets up path refs #1931
13:11 Geth ¦ doc: review: https://github.com/perl6/doc/commit/3959cd0e25
13:14 Geth ¦ doc/master: 5 commits pushed by (Luca Ferrari)++
13:14 Geth ¦ doc/master: 7208d5a760 | Short introduction to Pod introspection.
13:14 Geth ¦ doc/master: d420b14f1c | Remove extra blank spaces.
13:14 Geth ¦ doc/master: f892f0949b | Add Perl6 subject in statement.
13:14 Geth ¦ doc/master: 79f2844415 | Fix pod nesting error in showing how to introspect pod via $=.
13:14 Geth ¦ doc/master: 36e003a082 | Merge branch 'master' of github.com:perl6/doc
13:14 Geth ¦ doc/master: review: https://github.com/perl6/doc/compare/3959cd0e2585...36e003a08260
13:16 pmurias Zoffix: re using history for marketing I feel a lot of the Perl 6 attempts feel apart by failing to bring a community of developers to push them rather than insurmountable obstacles
13:18 Zoffix pmurias: submit your factual evidence of that to the museum-items repo.
13:19 Zoffix Or detailed personal account of the events that led you to that conclusion. You know, something that could be placed in a museum
13:19 Geth ¦ doc/master: 5 commits pushed by (Will "Coke" Coleda)++
13:19 Geth ¦ doc/master: 3224c203e0 | remove trailing whitespace
13:19 Geth ¦ doc/master: 61bd9641c0 | Add Larry words
13:19 Geth ¦ doc/master: 1b7e4bd74a | Allow the plural as well
13:19 Geth ¦ doc/master: 7794df48c4 | fix typos
13:19 Geth ¦ doc/master: 6b834c7aa7 | Make code compile
13:19 Geth ¦ doc/master: review: https://github.com/perl6/doc/compare/36e003a08260...6b834c7aa74c
13:20 * [Coke] feels like we're not reviewing prs in doc before merging them.
13:20 * [Coke] will attempt to review PRs more actively to help from that end.
13:22 Zoffix [Coke]: I do review them. What in particular caught your eye to give the impression they aren't?
13:22 AlexDaniel [Coke]: example? To me it feels like we're not reviewing direct commits enough, but PRs typically get some eyes.
13:23 AlexDaniel or you mean typos and stuff?
13:31 Geth ¦ marketing: zoffixznet self-assigned Material to include in "Perl 6 Starter Kit" https://github.com/perl6/marketing/issues/14
13:31 Zoffix .tell DrForr you done a bunch of Perl 6 workshops. Do you got any advice to offer for what should be included in our Perl 6 Starter Kit? https://github.com/perl6/marketing/issues/14
13:31 yoleaux Zoffix: I'll pass your message to DrForr.
13:40 lizmat_ joined #perl6
13:41 mcmillhj joined #perl6
13:43 Geth ¦ museum-items: 87496b7474 | (Zoffix Znet)++ (committed using GitHub Web editor) | MODEL-RELEASE-FORM.md
13:43 Geth ¦ museum-items: Future-proof potential creation of PDF/prints of the Museum
13:43 Geth ¦ museum-items: review: https://github.com/perl6/museum-items/commit/87496b7474
13:58 Zoffix left #perl6
14:03 zakharyas joined #perl6
14:07 [Coke] Yes, I was referring to typos, code that doesn't compile, etc. Best way for me to be happy there is to more proactively review the PRs, so will do so. no worries.
14:08 buggable New CPAN upload: List-MoreUtils-0.0.1.tar.gz by ELIZABETH https://cpan.metacpan.org/authors/id/E/EL/ELIZABETH/Perl6/List-MoreUtils-0.0.1.tar.gz
14:29 ufobat___ i've got 2 lists, and i want to compare those 2 and count the number of elements that are the same on their position
14:30 ufobat___ like (1,2,4) and (1,99,4) => True, False, True => so i am looking for _2_
14:30 ufobat___ i could @a Z[==] @b and then? .grep()?
14:31 jkramer m: say ((1,2,4) Z== (1,99,4)).grep(*.so).elems
14:31 camelia rakudo-moar 66218b59c: OUTPUT: «2␤»
14:31 jkramer There's probably a shorter/nicer way
14:32 ufobat *.so is what i wasn't able to work out!
14:32 yoleaux 14 Apr 2018 00:30Z <Zoffix> ufobat: how come Bailador has a badge saying it ain't maintained (as of 2017)? https://i.imgur.com/bUlIUfa.png
14:32 yoleaux 14 Apr 2018 00:41Z <Zoffix> ufobat: nm, mistery solved: https://github.com/Bailador/Bailador/pull/302
14:33 ufobat i didnt know that that so is a method
14:37 AlexDaniel m: say ((1,2,4) Z== (1,99,4)).grep(*).elems
14:37 camelia rakudo-moar 66218b59c: OUTPUT: «3␤»
14:37 AlexDaniel m: say ((1,2,4) Z== (1,99,4)).grep(?*).elems
14:37 camelia rakudo-moar 66218b59c: OUTPUT: «2␤»
14:37 AlexDaniel m: say ((1,2,4) Z== (1,99,4)).grep(True).elems
14:37 camelia rakudo-moar 66218b59c: OUTPUT: «Cannot use Bool as Matcher with '.grep'.  Did you mean to use $_ inside a block?␤  in block <unit> at <tmp> line 1␤␤»
14:38 AlexDaniel no I actually meant to use Bool as Matcher
14:39 AlexDaniel because why not
14:39 AlexDaniel well, there's probably some WAT that is hidden by this, I guess
14:40 AlexDaniel m: say ((1,2,4) Z== (1,99,4)).grep(1).elems
14:40 camelia rakudo-moar 66218b59c: OUTPUT: «2␤»
14:41 ufobat but thats obfuscated
14:41 ufobat thats because Bool is an enumeration and True is the 1st?
14:42 jkramer m: say +((1,2,4) Z== (1,99,4)).grep(?*)
14:42 camelia rakudo-moar 66218b59c: OUTPUT: «2␤»
14:42 AlexDaniel m: say True ~~ 1
14:42 camelia rakudo-moar 66218b59c: OUTPUT: «True␤»
14:43 AlexDaniel yea
14:43 jkramer Saves .elems
14:44 jeckyhl joined #perl6
14:46 jeckyhl hi! I would like to kow how to write a file with non-ascci characters in file name
14:46 jeckyhl I've tried spurt "héllo.txt", "data and stuff\n"; but this writes "héllo.txt"
14:49 jmerelo joined #perl6
14:49 Juerd It seems it assumes things need to be encoded as UTF-8, while your environment is probably latin1
14:50 Juerd 1;0 juerd@cxien:~$ perl6 -e'"héllo".encode.decode("latin1").say'
14:50 Juerd Can not decode a utf-8 buffer as if it were latin1
14:50 Juerd Err...
14:50 jeckyhl @Juerd is there a way that a could change some settings so perl6 handle filenames as latin1 ?
14:50 Juerd jeckyhl: I have no idea, sorry.
14:51 jeckyhl @jeckyhl no pb thks
14:51 zakharyas joined #perl6
14:51 jmerelo jeckyhl: I'll take a look, but please submit that question also to StackOverflow. We need perl6 questions there
14:52 jeckyhl @jmerelo OK
14:54 El_Che hi jmerelo
14:54 jmerelo Hi El_Che
14:54 El_Che hi everyone
14:54 khw joined #perl6
14:55 Zoffix joined #perl6
14:56 Zoffix jeckyhl: what operating system are you on, Windows?
14:56 El_Che jmerelo: how do you want to create a matrix of available versions? programmatically? (working on bintray repos now, seeing if I can upload all the debs of a build and make distinctions between os/release)
14:56 Zoffix AlexDaniel: the wat is that smartmatch with True is always True.
14:56 AlexDaniel ahhhh
14:56 AlexDaniel right
14:56 El_Che Zoffix++ for the site migration.
14:56 jeckyhl @Zoffix yes Windows 7 pro french
14:57 jmerelo El_Che: not sure you can do that, unless you work on the travis build system itself
14:57 stmuk_ Zoffix: maybe a known issue but there is a report on perl6-users that star msi download is broken
14:57 Zoffix jeckyhl: and you're using cmd.exe to run your script? It's not using utf8 by default. Run this command: chcp 65001    then try the perl 6 script again
14:58 stmuk_ https://www.nntp.perl.org/group/perl.perl6.users/2018/04/msg4724.html
14:58 jeckyhl Zoffix It's not cmd i ran a .p6 file directly with perl.exe (the source file is UTF-8 encoded)
14:59 Zoffix jeckyhl: I just tried with `chcp 65001` thing and it didn't help either :(
14:59 Zoffix 1 sec. Let me experiment with it
14:59 moritz stmuk_: https://rakudo.org/latest/star/win64 seems to be the new stable link
14:59 jeckyhl Zoffix: :(
15:00 stmuk_ moritz: ok I'll reply on list and keep an eye open for any old links
15:00 Zoffix moritz: stmuk_ no wait
15:00 Zoffix The old links still meant to work
15:00 stmuk_ ok
15:01 El_Che I just checked and for rakudo-pkg I didn't have to replace links
15:01 El_Che bbl
15:02 Zoffix m: say "/downloads/star/rakudo-star-latest-x86_64 (JIT).msi" eq "/downloads/star/rakudo-star-latest-x86_64 (JIT).msi"
15:02 camelia rakudo-moar 66218b59c: OUTPUT: «True␤»
15:02 Zoffix :/
15:04 moritz maybe some URL escaping fanciness with space and () ?
15:04 Geth ¦ doc: 71ee3f6bcb | (JJ Merelo)++ | Makefile
15:04 Geth ¦ doc: Debugs shippable refs #1931
15:04 Geth ¦ doc: review: https://github.com/perl6/doc/commit/71ee3f6bcb
15:04 moritz jmerelo: I must say that these commit messages give me no idea what's actually going on
15:05 moritz if you add a "build: " or so to the commit message, it makes more sense
15:05 jmerelo moritz: OK
15:06 jmerelo moritz: today is the day I've got to fight with shippable. Again bumpled into the same problem I had yesterday, make apparently not using the $PATH or something
15:06 Zoffix nah, it's interraction betweeen Redirect and RewriteRules
15:07 zakharyas joined #perl6
15:08 Zoffix jeckyhl: what do you mean by "directly with perl.exe"? You're typing your commands in this black window, right? And you write "perl6.exe your-script.p6" right?
15:10 Geth ¦ doc: d96c244f90 | (JJ Merelo)++ | shippable.yml
15:10 Geth ¦ doc: [Build] Test shippable executable paths refs #1931
15:10 Geth ¦ doc: review: https://github.com/perl6/doc/commit/d96c244f90
15:10 jeckyhl Zoffix yes I mean I write my code with my favorite editor, I save to "script.pl6" and the perl6 script.pl6
15:11 jeckyhl ..an then perl6 ...
15:18 * Zoffix is failing on both fronts....
15:19 Zoffix Has this really been broken all the time? Can't create "héllo.txt" as a filename on Windows?
15:20 Zoffix jeckyhl: what perl6 version are you using?
15:20 jeckyhl Zoffix: Rakudo version 2018.03-209-g28c9ae4fa built on MoarVM version 2018.03-99-g4234ab56b implementing Perl 6.c
15:21 Geth ¦ doc: 6e68e22a4f | (JJ Merelo)++ | shippable.yml
15:21 Geth ¦ doc: [Build] Finding out installation dir
15:21 Geth ¦ doc: review: https://github.com/perl6/doc/commit/6e68e22a4f
15:22 Zoffix samcv: timotimo do you know the trick to it? Creating filename named `héllo.txt` on windows. Currently it creates gibberish
15:25 stmuk_ I think utf-8 output on windows was one of A. Sinan Unur
15:25 stmuk_ 's complaints
15:25 Zoffix The only thing I remember is command line args and that was fixed
15:26 Zoffix stmuk_: can you reply to that user on the mailing list, saying the old link is now fixed (though browsers cache redirects and it may need some cache purging for it to work again right). Or they can use the new link directly: https://rakudo.org/latest/star/win64
15:27 stmuk_ Zoffix: someone else replied with the new link already but I'll reply with the link fix
15:28 Geth ¦ rakudo.org: 4527c9c0b5 | (Zoffix Znet)++ (committed using GitHub Web editor) | apache.conf
15:28 Geth ¦ rakudo.org: Fix ups to redirect old `latest` URLs right
15:28 Geth ¦ rakudo.org: review: https://github.com/perl6/rakudo.org/commit/4527c9c0b5
15:29 pharv joined #perl6
15:31 Zoffix jeckyhl: this works: "héllo.txt".encode("latin1").decode("utf8-c8").IO.spurt: "data and stuff\n";
15:33 jeckyhl Zoffix: I works
15:34 Zoffix jeckyhl: I'm hoping it can be made to work without needing that workaround. I filed an Issue for that: https://github.com/rakudo/rakudo/issues/1737
15:34 wamba joined #perl6
15:35 troys joined #perl6
15:36 jeckyhl Zoffix: If it can be useful [assume héllo.txt is created] for dir(test => /.txt/) -> $file { say $file.IO.slurp; } # --> Failed to open file...
15:37 Zoffix :(
15:37 jeckyhl :S
15:39 Zoffix looks like the same problem as original
15:41 Geth ¦ doc/master: 5 commits pushed by (JJ Merelo)++
15:41 Geth ¦ doc/master: d62d04964c | Tests ubication of stuff
15:41 Geth ¦ doc/master: 0340dd0d51 | Follow instructions
15:41 Geth ¦ doc/master: 4f25b192c1 | Eliminate errored instruction
15:41 Geth ¦ doc/master: e1b3b0f29a | Sets up path
15:41 Geth ¦ doc/master: e49abf242f | Shippable works, takes some time, closes #1971
15:41 Geth ¦ doc/master: review: https://github.com/perl6/doc/compare/6e68e22a4f8b...e49abf242ffd
15:41 Zoffix jeckyhl: for dir :test{.ends-with: '.txt'} -> $file { say $file.absolute.encode("latin1").decode("utf8-c8").IO.slurp }
15:42 jeckyhl Zoffix: :)
15:43 jmerelo Shippable takes 7 minutes, but it's not running htmlify https://app.shippable.com/github/JJ/doc/runs/5
15:44 jmerelo At least it can be a fast check of the t/*, which are the most usual problems
15:44 jmerelo It should save 4 minutes more, I think, as soon as it's cached, so we might have early results of tests in less than 4 minutes.
15:45 Zoffix jeckyhl: here, stick it somewhere at the top of your program: for Str, IO::Path { with .^lookup: 'IO' { .wrap: -> \p { IO::Path.new: (p ~~ Str ?? p !! p.absolute).encode("latin1").decode: "utf8-c8" } } }
15:45 jmerelo I have prepared a specific container for shippable, anyway, just in case cache does not kick in in shippable
15:46 Zoffix jeckyhl: then your regular code should work. And I'm gonna add a note on that Issue that .dir stuff is also broken
15:46 jmerelo Zoffix, jeckyhl: please replicate these question and answer in StackOverflow. Thanks!
15:47 * Zoffix isn't a fan of StackOverflow, so someone else will need to do it
15:48 jmerelo Zoffix: I can post an answer and point to your answer here, don't worry about that. But please, by all means, try and populate StackOverflow and other places with perl6 Q&A. It's the place to go for every dev
15:51 tt joined #perl6
15:51 jeckyhl Zoffix: with IO::Path fix, regular code works for me too
15:53 mcmillhj joined #perl6
15:54 Zoffix cool
15:57 jeckyhl Bye everyone, thx Juerd & Zoffix
15:58 Zoffix \o
15:59 kurahaupo joined #perl6
16:06 mcmillhj joined #perl6
16:07 lizmat joined #perl6
16:08 Geth ¦ museum-items: 2fccea7d05 | (Zoffix Znet)++ | 0000-Multi-Year/Perl-6-Imaginary-Timeline.md
16:08 Geth ¦ museum-items: Add Perl-6-Imaginary-Timeline
16:08 Geth ¦ museum-items:
16:08 Geth ¦ museum-items: From FB comment
16:08 Geth ¦ museum-items: review: https://github.com/perl6/museum-items/commit/2fccea7d05
16:14 Zoffix left #perl6
16:26 mcmillhj joined #perl6
16:42 mcmillhj joined #perl6
16:52 yjain joined #perl6
16:57 mcmillhj joined #perl6
17:00 athenot joined #perl6
17:07 mcmillhj joined #perl6
17:26 jmerelo perl6/doc builds per month in Travis https://github.com/JJ/TPF-Grant/blob/master/illos/travis-builds-date-by-month.png Curious it comes and goes. And the peak was in July 2016
17:27 jmerelo Jump directly to the image https://raw.githubusercontent.com/JJ/TPF-Grant/master/illos/travis-builds-date-by-month.png
17:31 comborico1611 joined #perl6
17:38 buggable New CPAN upload: Bailador-Plugin-NamedQueries-0.001000.tar.gz by MZIESCHA https://cpan.metacpan.org/authors/id/M/MZ/MZIESCHA/Perl6/Bailador-Plugin-NamedQueries-0.001000.tar.gz
17:44 lizmat joined #perl6
17:58 Geth ¦ doc: 7a3168f3a6 | 陈梓立++ | htmlify.p6
17:58 Geth ¦ doc: Eliminates dead code
17:58 Geth ¦ doc: review: https://github.com/perl6/doc/commit/7a3168f3a6
18:05 darutoko- joined #perl6
18:06 simpleseeker joined #perl6
18:22 Geth ¦ doc: 3f78f1f172 | 陈梓立++ | 2 files
18:22 Geth ¦ doc: Revert 7a3168f3a6455 and add back WARNING in template/search_template.js
18:22 Geth ¦ doc: review: https://github.com/perl6/doc/commit/3f78f1f172
18:24 Geth ¦ doc: 8a76f593ab | 陈梓立++ (committed using GitHub Web editor) | htmlify.p6
18:24 Geth ¦ doc: Update htmlify.p6
18:24 Geth ¦ doc: review: https://github.com/perl6/doc/commit/8a76f593ab
18:25 [Coke] \o/
18:25 jmerelo [Coke]: hi!
18:26 [Coke] hi
18:32 cfa joined #perl6
18:33 domidumont joined #perl6
18:35 cfa morning all
18:42 espadrine joined #perl6
18:42 jmerelo cfa: sun setting over sunny Southern Spain, so good evening :-)
18:45 stmuk_ https://docs.perl6.org/language/glossary#UGT
18:49 pharv joined #perl6
18:52 cfa jmerelo: evening!
18:56 jmerelo Off to dinner. See you tomorrow!
19:02 markong joined #perl6
19:06 lizmat joined #perl6
19:09 Kaiepi joined #perl6
19:18 pharv joined #perl6
19:23 lizmat joined #perl6
19:24 cfa left #perl6
19:41 mcmillhj joined #perl6
19:51 Geth ¦ museum-items: 2cf0c40e00 | raiph++ (committed using GitHub Web editor) | 2005/-Ofun.md
19:51 Geth ¦ museum-items: Create -Ofun.md
19:51 Geth ¦ museum-items: review: https://github.com/perl6/museum-items/commit/2cf0c40e00
19:52 markong joined #perl6
19:57 mcmillhj joined #perl6
20:13 simpleseeker joined #perl6
20:13 cosimo joined #perl6
20:14 pharv joined #perl6
20:15 pharv joined #perl6
20:26 pharv joined #perl6
20:28 HaraldJoerg1 joined #perl6
20:29 |Sno| joined #perl6
20:37 HaraldJoerg1 left #perl6
20:37 pharv joined #perl6
20:46 zachk joined #perl6
20:46 zachk joined #perl6
20:57 Geth ¦ museum-items: b767244b84 | raiph++ (committed using GitHub Web editor) | 2005/pugs.md
20:57 Geth ¦ museum-items: Create pugs.md
20:57 Geth ¦ museum-items: review: https://github.com/perl6/museum-items/commit/b767244b84
20:58 cozachk joined #perl6
21:08 TEttinger joined #perl6
21:13 lizmat and another Perl 6 Weekly hits the Net: https://p6weekly.wordpress.com/2018/04/16/2018-16-so-that/
21:13 tyil lizmat++
21:15 cocozachk joined #perl6
21:17 Geth ¦ marketing: e6219b319e | (Zoffix Znet)++ | LOGOs/Camelia/Alt-Variants/Camelia - Recoloured - Perfect Rainbow---FAVICON.ico
21:17 Geth ¦ marketing: Add favicon of Perfect Rainbow Camelia
21:17 Geth ¦ marketing: review: https://github.com/perl6/marketing/commit/e6219b319e
21:24 El_Che "Samantha McVey made sure that MoarVM / nqp / Rakudo build on Solaris" <--- more info?
21:24 El_Che lizmat: "Samantha McVey made sure that MoarVM / nqp / Rakudo build on Solaris" <--- more info?
21:24 samcv hello
21:25 lizmat that's what it said in the MoarVM commit log ?
21:25 El_Che lizmat: the link of jjmerelo's tweet is weird: "Understanding Repo Dynamics by ."
21:25 El_Che twice
21:25 lizmat yeah, fixed now
21:25 lizmat right?
21:25 lizmat copy pasto
21:26 El_Che refresh does not shows a corrected version
21:26 samcv MoarVM: i fixed libtommath building on solaris (got changed upstreamed too), fixed a problem building moarvm on 32-bit solaris; fixed a problem with Configure.pl on solaris (nqp/rakudo)
21:27 El_Che I worked on Solaris packages some time ago, and gave up
21:27 samcv hah
21:27 Zoffix joined #perl6
21:27 Zoffix lizmat++ # good weekly
21:28 Zoffix lizmat: would you mind changing "please contact Zoffix Znet" to "please see blog post for details: https://rakudo.party/post/WANTED-Perl-6-Historical-Items " ?
21:28 samcv El_Che: the reason i fixed solaris was while i was testing my MoarVM pr on all platforms https://github.com/MoarVM/MoarVM/pull/841 since it depends on platform specific random functions on os's that support them
21:28 Zoffix I kinda lurk in the shadows and I imagine most people don't know how to contact me and it's better if they commit history items directly to repo.
21:28 samcv which was a pain in the BUTT
21:28 samcv and finding all the C define's for determining OS version, and finding what os version these commands were added to, researching whether they blocked or not, testing on every platform etc
21:29 El_Che samcv: did you build it with gcc or SunStudio?
21:29 samcv gcc
21:29 El_Che ok
21:29 samcv well i followed solaris's instructions
21:29 El_Che it used to be the wrong answer
21:29 El_Che but nowadays it's the better choice
21:30 samcv and on solaris had to fix a problem compiling on 32bit with cflags
21:30 robertle joined #perl6
21:30 El_Che so, If I try to build 2018.04, the changes will be included?
21:30 samcv which was annoying. we pass -U_FILE_OFFSET_BITS=64 so we get access to large files on 32 bit
21:31 samcv but one of our libraries includes libelf from solaris which basically puts in a die condition if that is defined to something not our arch
21:31 samcv which i guess makes sense, since that section of the codebase can't access large files since it's 32bit arch. but annoying that solaris dies there
21:32 El_Che (I used to do a lot of Solaris infra, then Oracle happened, moved to a job without Solaris and the opensource solaris project I helped with their Perl (5) packages is kind of in coma)
21:32 Zoffix lizmat++ # thanks :)
21:32 lizmat Zoffix: yw
21:33 samcv so disabled -D_FILE_OFFSET_BITS by setting -U_FILE_OFFSET_BITS to negate the flag. which is okay since on solaris 64 bit that flag being passed is not needed at all after researching for a while
21:33 Zoffix left #perl6
21:33 El_Che samcv: good catch
21:35 mcmillhj joined #perl6
21:43 * lizmat calls it a night&
21:44 timotimo .tell lizmat i think "the fix makes moarvm significantly faster" is wrong, the performance difference is not noticable
21:44 yoleaux timotimo: I'll pass your message to lizmat.
21:45 El_Che timotimo: try telling stuff like that to the marketing department :)
21:47 mcmillhj joined #perl6
21:48 buggable New CPAN upload: List-MoreUtils-0.0.2.tar.gz by ELIZABETH http://modules.perl6.org/dist/List::MoreUtils:cpan:ELIZABETH
21:54 cozachk joined #perl6
22:01 Geth ¦ museum-items: 9be270cb04 | raiph++ (committed using GitHub Web editor) | 2007/Audrey and PUGS finish their sprint.md
22:01 Geth ¦ museum-items: Create Audrey and PUGS finish their sprint.md
22:01 Geth ¦ museum-items: review: https://github.com/perl6/museum-items/commit/9be270cb04
22:01 pharv joined #perl6
22:04 mcmillhj joined #perl6
22:05 xq what is the recommended reading for learning perl6 for perl5 users ?
22:06 El_Che xq: https://perl6book.com/
22:07 Kaiepi joined #perl6
22:08 El_Che xq: I just picked a small project, open these slides http://www.jnthn.net/papers/2015-spw-perl6-course.pdf and doc.perl6.org
22:08 El_Che after that a read Perl 6 Fundamentals and Think Perl 6, but more out of curiosity
22:16 xq thanks El_Che
22:17 Geth ¦ marketing: 521b799fe7 | (Zoffix Znet)++ | 36 files
22:17 Geth ¦ marketing: Sketch marketing materials web app
22:17 Geth ¦ marketing: review: https://github.com/perl6/marketing/commit/521b799fe7
22:18 markong joined #perl6
22:18 mcmillhj joined #perl6
22:19 El_Che xq: and of course, this channel
22:24 comborico1611 What is the company/project with the gecko in lightgreen and blue?
22:28 zachk joined #perl6
22:28 cocozachk joined #perl6
22:37 mcmillhj joined #perl6
22:38 El_Che comborico1611: this one? https://www.activestate.com/sites/default/files/styles/feature_critter_image/public/solution/image/activeperl-icon-512x512_1.png?itok=7OTKH3dZ
22:40 comborico1611 El_Che: Nope.  Found it.  https://www.quora.com/Why-does-the-Lisp-programming-topic-logo-on-Quora-have-a-salamander-creature-or-something-similar-and-what-does-this-mean-or-why-did-it-originate
22:40 comborico1611 Thanks, though!
22:40 xq this page https://rakudo.org/files/star/source under linux instructions shows a curl command that is supposed to download a tarball
22:41 xq but actually executing this command results in a 321 byte file containing HTML with apache redirect.
22:44 El_Che http://rakudo.org/latest/star/source <-- that one? works here
22:48 Geth ¦ museum-items: 961450564a | raiph++ (committed using GitHub Web editor) | 2005/public logging of Perl 6 irc channels begins.md
22:48 Geth ¦ museum-items: Create public logging of Perl 6 irc channels begins.md
22:48 Geth ¦ museum-items: review: https://github.com/perl6/museum-items/commit/961450564a
22:56 mcmillhj joined #perl6
22:57 xq El_Che http://paste.debian.net/hidden/8ab90296/
22:57 xq following instructions from page ^
23:00 markong joined #perl6
23:01 samcv can someone help me with some probability? I'm unsure how to calculate this: we have 8 buckets, we roll an 8 sided die to decide when to add an item to the bucket. on average how many times until the bucket is full. if it takes 10 items to fill the bucket
23:01 Zoffix joined #perl6
23:04 Zoffix xq: thanks. Fixed. We just launched this updated website last night, so it still got a couple of bugs to shake out :)
23:04 xq glad to help
23:05 Geth ¦ rakudo.org: f3c200078d | (Zoffix Znet)++ (committed using GitHub Web editor) | apache.conf
23:05 Geth ¦ rakudo.org: Set HTTPS proto for proxy
23:05 Geth ¦ rakudo.org:
23:05 Geth ¦ rakudo.org: Otherwise Mojo makes HTTP urls when converting to_abs
23:05 Geth ¦ rakudo.org: review: https://github.com/perl6/rakudo.org/commit/f3c200078d
23:05 Herby_ joined #perl6
23:05 Herby_ o/
23:05 Zoffix \o
23:05 samcv experimentally it's 47 times on average.
23:07 mcmillhj joined #perl6
23:08 samcv ah i think i figured it out
23:08 Zoffix ⅛*x = 10
23:08 Zoffix m: say 10/⅛
23:08 camelia rakudo-moar 66218b59c: OUTPUT: «80␤»
23:08 samcv i had a suspicion i needed to use factorials to solve it
23:12 Zoffix m: say ([+] gather { for ^1000 { my $picks = 0; my $b = 0; loop {  $picks++; if ^8 .pick == 1 { $b++; last if $b == 10 } }; take $picks } })/1000
23:12 camelia rakudo-moar 7251fa26c: OUTPUT: «81.679␤»
23:12 Zoffix m: say ([+] gather { for ^1000 { my $picks = 0; my $b = 0; loop {  $picks++; if ^8 .pick == 1 { $b++; last if $b == 10 } }; take $picks } })/1000
23:12 camelia rakudo-moar 7251fa26c: OUTPUT: «82.087␤»
23:12 Zoffix m: say ([+] gather { for ^10000 { my $picks = 0; my $b = 0; loop {  $picks++; if ^8 .pick == 1 { $b++; last if $b == 10 } }; take $picks } })/10000
23:12 camelia rakudo-moar 7251fa26c: OUTPUT: «80.1381␤»
23:14 titsuki joined #perl6
23:15 samcv m: my @out; for ^10000 { my %hash; loop (my $count = 1; 1; $count++) { my $int = 8.rand.Int; %hash{$int}++; if %hash{$int} == 10 { push @out, $count; last } }; };; say ([+] @out)/@out.elems
23:15 camelia rakudo-moar 7251fa26c: OUTPUT: «48.0571␤»
23:17 lichtkind joined #perl6
23:20 mcmillhj joined #perl6
23:24 El_Che xq: you must instruct curl to follow redirects with -L
23:24 El_Che xq: wget does that by default, curl not. E.g. this is also the case for rakudo release download (those are also redirects) cc:Zoffix
23:25 El_Che Zoffix: maybe add a -L to the instructions
23:25 Zoffix El_Che: you have the commit bit: https://github.com/perl6/rakudo.org/
23:25 Zoffix (add [REAPP] in the title of the commit)
23:26 Zoffix samcv: did you figure out the formula?
23:27 pharv joined #perl6
23:29 xq I already compiled it, thanks El_Che
23:31 Zoffix samcv: I see the difference between our code is: mine = "we roll an 8-sided die and fill a bucket each time it shows 1; how many rolls until it fills" whereas yours is "we randomly fill 8 buckets on each roll; how many rolls to fill at least one of the buckets"
23:32 samcv yeah
23:33 mcmillhj joined #perl6
23:33 * Zoffix makes a trip to #math
23:34 samcv http://mathworld.wolfram.com/BinomialDistribution.html
23:34 samcv basically this
23:36 Zoffix the name rings a bell
23:40 Herby_ how do I make a simple grammar case insensitive?
23:41 Herby_ so 720p and 720P both match?
23:41 Zoffix :i
23:41 Herby_ where do i strategically place that :i?
23:41 Zoffix m: say grammar { token TOP { :i 720p } }.parse: '720P'
23:41 camelia rakudo-moar ceeb3a00d: OUTPUT: «「720P」␤»
23:41 Herby_ my google-fu is failing me
23:41 Herby_ ah ok
23:41 Zoffix m: say grammar { token TOP { 720 [:i p] } }.parse: '720P'
23:41 camelia rakudo-moar ceeb3a00d: OUTPUT: «「720P」␤»
23:42 Herby_ hmm
23:42 Herby_ if I have a bunch of tokens that compose my TOP token, do I have to place the :i in each "sub" token?
23:42 Zoffix Yeah
23:43 Herby_ that did it. thanks!
23:43 w_richard_w joined #perl6
23:46 mcmillhj joined #perl6
23:47 zachk joined #perl6
23:52 samcv Zoffix: ok i got it https://www.wolframalpha.com/input/?i=k%3D46.1+N%3D8.0+x%3D10.0+k!%2F(x!(k-x)!)+*(+(N-1)%5E(k-x)%2F(N%5Ek))+*+N+*+2
23:53 samcv for k trials and N buckets and x is the maximum number of things allowed in the bucket
23:54 Zoffix samcv: how did you come up with 46.1?
23:54 samcv and we multiple the two complex fractions by N becuase there's N buckets, otherwise we'd be getting probability for only one bucket. and we multiply everything by 2, because we want to know if it's 10 items or greater,
23:54 samcv i just plugged in numbers. i could get wolfram alpha to solve for it though
23:54 Zoffix samcv: and the 0.50 result it shows, what does that represent?
23:54 samcv i think multiplying by 2 makes sense. it makes things match reality. because without the 2 it should jus ttell us how many buckets have exactly 10. but we want 10 or more
23:54 samcv 50 % chance
23:55 Zoffix 50% chance that at least one bucket fills after 46.1 trials?
23:55 samcv good question
23:55 samcv yeah i think so
23:55 mcmillhj joined #perl6
23:56 Zoffix #math told me it's a tricky problem. "jle` │ Zoffix: the expected amount of water after N rolls is the binomial distribution" "jle` │ Zoffix: "expected number of times before a certain event happens" is the Geoemtric Distribution" "jle` │ Zoffix: but that only applies of the event happens with equal probability every time"  "jle` │ Zoffix: if you calculate those expected values you should get 80 times
23:56 Zoffix for any given bucket" "jle` │ Zoffix: but the complication happens when you consider the 'which was first'"
23:58 * Zoffix decides to go hack on a website instead :)
23:58 samcv i'm trying to model about how many keys we have to add to a hash until we double the number of buckets for our moarvm hash impl
23:58 samcv but i think this should be right
23:58 cozachk joined #perl6
23:59 espadrine joined #perl6

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

Perl 6 | Reference Documentation | Rakudo