»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend! Set by moritz on 22 December 2015. |
|||
00:08
AlexDaniel left
00:22
w_richard_w joined
00:27
rindolf left
00:52
Zoffix joined
00:59
kurahaupo joined
01:01
lizmat_ joined
01:02
lizmat left
01:06
lizmat joined
01:08
lizmat_ left
01:14
zacts left
01:17
kurahaupo left
01:18
kurahaupo joined
01:21
kurahaupo_ joined
01:24
kurahaupo left
01:27
zacts joined
01:34
kurahaupo_ left,
kurahaupo joined,
kurahaupo_ joined
01:35
kurahaupo_ left
01:36
kurahaupo_ joined
01:37
kurahaupo_ left
01:38
kurahaupo_ joined
01:39
kurahaupo left
01:47
ilbot3 left
|
|||
Herby_ | how do I "unintialize" a variable? specifically a hash? | 01:54 | |
basically I'm doing some looping and at the end I want to clear out the hash | |||
01:57
ilbot3 joined,
ChanServ sets mode: +v ilbot3
|
|||
MasterDuke | m: my %h = :2nd, :1st; dd %h; %h = Empty; dd %h | 02:03 | |
camelia | Hash %h = {:nd(2), :st(1)} Hash %h = {} |
||
MasterDuke | m: my %h = :2nd, :1st; dd %h; %h = (); dd %h | ||
camelia | Hash %h = {:nd(2), :st(1)} Hash %h = {} |
||
Herby_ | thanks :) | 02:05 | |
02:31
Kaiepi left,
Kaiepi joined
02:36
Kaiepi left
02:37
Kaiepi joined
02:53
ufobat___ joined
02:56
ufobat_ left
02:58
kst` is now known as kst
03:00
raynold joined
03:05
epony left
03:09
wamba joined
03:13
eliasr left
03:24
w_richard_w left
03:29
pharv joined
03:43
pharv left,
pharv joined
03:47
pharv left
|
|||
Herby_ | dumb question time | 03:52 | |
nm. | 03:53 | ||
Voldenet | hm, I wouldn't mind if perl6 had built-in http client | 04:06 | |
or json | 04:07 | ||
04:08
wamba left
04:11
|Sno| left
04:28
Herby_ left
04:46
khw left
04:53
|Sno| joined
04:54
curan joined
04:58
wamba joined
05:07
jmerelo joined
|
|||
moritz | \o | 05:09 | |
jmerelo | Hi | ||
p6: say "with an #" ~~ /<(\w+)> '#' / | 05:19 | ||
camelia | Nil | ||
jmerelo | p6: say "with an #" ~~ / '#' / | 05:20 | |
camelia | 「#」 | ||
jmerelo | p6: say "with an #" ~~ /<(\w+)> \s+ '#' / | ||
camelia | 「an」 | ||
Geth | doc: 0a92a89fd7 | 陈梓立++ | doc/Type/Hash.pod6 Fix duplicated index entries on :{} |
05:23 | |
synopsebot | Link: doc.perl6.org/type/Hash | ||
05:28
espadrine left
05:35
noganex left
|
|||
Geth | doc: JJ self-assigned .tarvis.yml down github.com/perl6/doc/issues/1930 69bd4a293b | (JJ Merelo)++ | .travis.yml |
05:35 | |
05:43
wamba left
05:44
tt left
05:45
tt joined
05:51
domidumont joined
05:57
domidumont left,
domidumont joined
|
|||
Geth | doc: 9b1a88acf5 | 陈梓立++ | doc/Language/grammars.pod6 Eliminates sym index duplicate, #1912 |
06:00 | |
doc: 69d741ec4c | 陈梓立++ | .travis.yml Merge branch 'master' of github.com:perl6/doc |
|||
synopsebot | Link: doc.perl6.org/language/grammars | ||
doc: 32065f7604 | 陈梓立++ | doc/Language/operators.pod6 Eliminates «=» index duplicate, #1912 |
|||
synopsebot | Link: doc.perl6.org/language/operators | ||
jmerelo | Travis builds per day, from the beginning github.com/JJ/TPF-Grant/blob/maste...-basic.png | 06:05 | |
Still have to hone it somewhat, and plot per month too, but tives you an idea of overall activity | 06:06 | ||
06:06
domidumont left
|
|||
jmerelo | One advantage of having two different and independent tests is that it helps filter spurious errors, such as here travis-ci.org/perl6/doc/builds/366...tification | 06:09 | |
We get the "zed value $repo-id of type Any in string context." for no reason sometimes | 06:10 | ||
06:26
domidumont joined,
domidumont left
06:29
domidumont joined
06:33
wamba joined
06:39
jmerelo left,
HaraldJoerg joined
06:54
wamba left
07:01
wamba joined
07:04
sena_kun joined
07:07
amalia___ joined,
noganex joined
|
|||
Geth | doc: 528a69a3b6 | (Luca Ferrari)++ | doc/Type/IO/Socket/INET.pod6 Improve IO::Socket::INET.accept() documentation. Specify that a new socket instance is returned by such method. Close issue #1929. Description as of rakudo source 2018.01. |
07:14 | |
synopsebot | Link: doc.perl6.org/type/IO::Socket::INET | ||
doc: f860dab4fb | (JJ Merelo)++ | shippable.yml Adds shippable config refs #1931 |
07:32 | ||
doc: a2d6144efa | (JJ Merelo)++ | shippable.yml Adds correct image name refs #1931 |
07:33 | ||
07:33
zakharyas joined
07:35
darutoko joined
|
|||
Geth | doc: efd46ebde1 | (JJ Merelo)++ | shippable.yml Adds correct env variable refs #1931 |
07:37 | |
07:38
sena_kun left
|
|||
Geth | doc: b2e44ac304 | (JJ Merelo)++ | shippable.yml Testing build dir #1931 |
07:42 | |
07:44
brrt joined
|
|||
Geth | doc: 579ef8a287 | (JJ Merelo)++ | shippable.yml Fixes test refs #1931 |
07:45 | |
07:48
dct joined
07:50
cosimo joined
07:52
aindilis left
07:53
aindilis joined
|
|||
Geth | doc/master: 4 commits pushed by (Luca Ferrari)++
|
07:57 | |
08:03
rindolf joined
08:06
xinming joined
08:09
xinming_ left
|
|||
Geth | doc: 0728d80e1e | (Luca Ferrari)++ | doc/Type/IO/Socket/INET.pod6 Return value of IO::Socket::INET.get is Nil on EOF. According to the implementation of IO::Socket and IO::Socket::INET the get method returns Nil on end of input, not a type object: $line.DEFINITE ?? $line !! Nil |
08:12 | |
synopsebot | Link: doc.perl6.org/type/IO::Socket::INET | ||
08:14
aindilis left
08:17
abraxxa joined
08:20
dakkar joined
|
|||
lizmat | github.com/Tyil/lonestar # whee! | 08:20 | |
08:21
noganex left
|
|||
tyil | lizmat: :> | 08:21 | |
08:22
AlexDaniel joined
08:27
aindilis joined
08:28
AlexDaniel left
08:29
AlexDaniel joined
08:41
aindilis left
08:46
scimon joined
08:48
aindilis joined
|
|||
Geth | doc: b2954e9fff | (JJ Merelo)++ | shippable.yml Trying to find out container dir |
08:49 | |
doc: 6dffa09dfa | (JJ Merelo)++ | shippable.yml Test with declared volumes |
08:53 | ||
doc: 0adca6f07a | (JJ Merelo)++ | shippable.yml Trying @zixia's approach |
08:54 | ||
doc: 9b398a70cc | (JJ Merelo)++ | shippable.yml Eliminates volume inspect |
08:56 | ||
08:58
andrzejku left
09:00
abraxxa left,
abraxxa joined,
releasable6 left
|
|||
Geth | doc: 10ffb28256 | (JJ Merelo)++ | shippable.yml Different maps refs #1931 |
09:01 | |
09:01
lizmat left
|
|||
Geth | doc: e11580f619 | (JJ Merelo)++ | shippable.yml Creates dir for mapping refs #1931 |
09:03 | |
09:04
noganex joined
|
|||
Geth | doc: b403c41b4c | (JJ Merelo)++ | shippable.yml Setting dirs alright refs #1931 |
09:08 | |
09:08
markong joined
09:09
noganex left,
dct left
09:13
noganex joined,
noganex left
09:14
noganex joined
09:16
cosimo_ joined,
cosimo left,
cosimo_ left
09:17
cosimo joined
09:18
kurahaupo joined,
kurahaupo left
09:19
kurahaupo joined
09:20
kurahaupo_ left
09:21
kurahaupo_ joined
09:23
TEttinger left,
kurahaupo_ left
09:24
kurahaupo_ joined,
kurahaupo left
09:31
tt left
09:32
domidumont left
09:34
brrt left
|
|||
Geth | doc: a64e2bdf10 | (JJ Merelo)++ | shippable.yml Exploring directories refs #1931 |
09:37 | |
doc: 378c94750b | (JJ Merelo)++ | shippable.yml Still trying. Looking for mapped dirs #1931 |
09:41 | ||
09:45
lizmat joined
|
|||
Geth | doc: 0539c4d9bd | (JJ Merelo)++ | shippable.yml Still trying. Looking for mapped dirs #1931 |
09:45 | |
doc: 0753a5e15e | (JJ Merelo)++ | shippable.yml Eliminates errored mkdir #1931 |
09:47 | ||
09:47
kurahaupo joined
09:49
kurahaupo left
09:50
kurahaupo_ left
09:51
zakharyas left
09:52
zakharyas joined
|
|||
Geth | doc: e60e12d5f9 | (JJ Merelo)++ | shippable.yml Trouble-free mkdir inserted #1931 |
09:52 | |
doc: 716762c9b0 | (JJ Merelo)++ | shippable.yml Simplifies configuration #1931 |
09:57 | ||
10:03
brrt joined
10:18
jmerelo joined
10:21
HaraldJoerg1 joined,
HaraldJoerg left
10:27
HaraldJoerg1 left
10:28
HaraldJoerg joined
10:32
eliasr joined
10:38
brrt left,
brrt joined
|
|||
Geth | museum-items: d7398f4c46 | (Zoffix Znet)++ | README.md Add link to blog post |
10:51 | |
Zoffix | New blog post: "WANTED: Perl 6 Historical Items": rakudo.party/post/WANTED-Perl-6-Hi...ical-Items | ||
ilmari | did anyone keep the shards of the infamous mug? | 10:53 | |
10:55
pmurias joined
|
|||
lizmat | weekly: rakudo.party/post/WANTED-Perl-6-Hi...ical-Items | 10:56 | |
notable6 | lizmat, Noted! | ||
11:08
jmerelo left
11:09
kybr left
11:10
kybr joined
|
|||
pmurias | github.com/rakudo/rakudo/pull/1542 - why is this PR stalled? | 11:11 | |
Zoffix passed it over because Zoffix cannot competently review that code. | 11:12 | ||
tyil | Zoffix: the "a" shouldnt be in ( ) in your latest post | 11:24 | |
in "I'm working on (a second) facelift to perl6.org website." | |||
pmurias | does jstuder-gh visit irc? | 11:27 | |
tyil | /whowas doesnt say anything about a jstuder-gh | 11:28 | |
11:28
domidumont joined
|
|||
Zoffix | pmurias: I've seen them once, but usually no | 11:33 | |
11:33
xinming left
11:34
xinming joined,
zakharyas left,
aindilis left
11:35
aindilis joined
|
|||
timotimo | i'd assume the -gh is only for use on github, though | 11:36 | |
11:36
mcmillhj joined
|
|||
jkramer | I just heard about that mug thing for the first time, cool story :D www.nntp.perl.org/group/perl.packr.../msg3.html | 11:36 | |
"*>Did anyone keep some broken cups for later display in musuem? --- No :)" | 11:37 | ||
11:48
jmerelo joined
11:49
mcmillhj left
|
|||
Geth | museum-items: 81af7506e0 | (Zoffix Znet)++ (committed using GitHub Web editor) | 2002/The-Jon-Orwant-mug-throwing-incident-at-P5P-meeting.md Add mug throwing incident email thread |
11:50 | |
11:50
mcmillhj joined
11:53
domidumont left,
robertle joined
11:55
mcmillhj left
|
|||
Zoffix | tyil: thanks, but can't be bothered to update that. | 11:55 | |
Geth | doc/fluca1978-pod-introspection: bc1661e3cf | (Luca Ferrari)++ | doc/Language/pod.pod6 Short introduction to Pod introspection. See issue #1907 |
11:57 | |
doc/fluca1978-pod-introspection: 5da4415091 | (Luca Ferrari)++ | doc/Language/pod.pod6 Remove extra blank spaces. |
|||
doc/fluca1978-pod-introspection: d215f47243 | (Luca Ferrari)++ | doc/Language/pod.pod6 Add Perl6 subject in statement. |
|||
11:59
vcv joined
|
|||
Geth | doc: fluca1978++ created pull request #1933: Fluca1978 pod introspection |
11:59 | |
Zoffix does it anyway... | |||
12:00
Xliff__ joined
12:01
committable6 left
|
|||
Geth | doc: JJ assigned to fluca1978 Issue The pod section of the docs should mention how to access pod via $= github.com/perl6/doc/issues/1907 a0e725555f | (JJ Merelo)++ | 2 files This would actually refs #1932, but I'm piggybacking on this to test shippable too. |
12:01 | |
12:01
releasable6 joined,
ChanServ sets mode: +v releasable6,
committable6 joined
12:04
Xliff_ left
12:05
mcmillhj joined
12:09
domidumont joined
12:11
mcmillhj left
|
|||
jmerelo | He web.archive.org/web/20160327034915..._9705.html | 12:13 | |
12:20
mcmillhj joined
|
|||
Geth | museum-items: d0a968c81f | (Zoffix Znet)++ (committed using GitHub Web editor) | 2002/The-Jon-Orwant-mug-throwing-incident-at-P5P-meeting.md Update The-Jon-Orwant-mug-throwing-incident-at-P5P-meeting.md |
12:22 | |
12:23
sena_kun joined
12:25
mcmillhj left
|
|||
Geth | doc: bc4388b506 | (JJ Merelo)++ | shippable.yml Still testing shippable #1931 |
12:28 | |
12:34
wamba left,
mcmillhj joined
|
|||
Geth | doc: f88821dc10 | (JJ Merelo)++ | shippable.yml Using directly the image #1931 |
12:36 | |
doc: a52e05a92b | (JJ Merelo)++ | shippable.yml Using correct name image #1931 |
12:37 | ||
doc: cb82c1a168 | (JJ Merelo)++ | shippable.yml Testing with @nxadm's packages Out of desperation, I found no way to make it work with docker. Refs #1931 |
12:45 | ||
12:49
Zoffix left
|
|||
[Coke] | jmerelo: do you still have questions about the "" != "" line in the doc test? | 12:50 | |
[#perl6] | 12:52 | ||
github.com/perl6/doc/blob/master/M...le#L40-L46 | |||
Geth | doc: 745e2512c0 | (JJ Merelo)++ | shippable.yml Avoids redirections |
12:54 | |
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:55 | |
[Coke]: I got that working yesterday; problem now is I can't get shippable to work. | 12:56 | ||
Although it seems to be liking the last one app.shippable.com/github/perl6/doc.../1/console | 12:57 | ||
12:58
khisanth__ joined
|
|||
Geth | doc: 00975433d9 | (JJ Merelo)++ | shippable.yml Adds libssl-dev refs #1931 |
13:00 | |
[Coke] | you can make curl/wget follow redirects, if that helps | 13:02 | |
13:02
khisanth_ left
|
|||
[Coke] | re: 745e2512c0 | 13:02 | |
Geth | doc: 861a06f866 | (JJ Merelo)++ | shippable.yml apt-get update added refs #1931 |
13:03 | |
doc: 4e9c348b31 | (JJ Merelo)++ | shippable.yml apt-get typo fixed refs #1931 |
13:04 | ||
13:06
Zoffix joined
|
|||
tadzik | soo, Perl 6 history museum? Neat idea :) | 13:10 | |
Geth | doc: 3959cd0e25 | (JJ Merelo)++ | shippable.yml Sets up path refs #1931 |
13:11 | |
13:13
jmerelo left
|
|||
Geth | doc/master: 5 commits pushed by (Luca Ferrari)++ | 13:14 | |
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:16 | |
Zoffix | pmurias: submit your factual evidence of that to the museum-items repo. | 13:18 | |
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)++ | ||
[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. | |||
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. | ||
or you mean typos and stuff? | 13:23 | ||
Geth | ¦ marketing: zoffixznet self-assigned Material to include in "Perl 6 Starter Kit" 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? github.com/perl6/marketing/issues/14 | ||
yoleaux | Zoffix: I'll pass your message to DrForr. | ||
13:40
lizmat_ joined
13:41
mcmillhj left,
lizmat left,
mcmillhj joined
|
|||
Geth | museum-items: 87496b7474 | (Zoffix Znet)++ (committed using GitHub Web editor) | MODEL-RELEASE-FORM.md Future-proof potential creation of PDF/prints of the Museum |
13:43 | |
13:58
Zoffix left
14:03
lizmat_ is now known as lizmat,
zakharyas joined
14:04
lizmat left
14:05
brrt left
|
|||
[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:07 | |
14:08
curan left
|
|||
buggable | New CPAN upload: List-MoreUtils-0.0.1.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.1.tar.gz | 14:08 | |
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:29 | |
like (1,2,4) and (1,99,4) => True, False, True => so i am looking for _2_ | 14:30 | ||
i could @a Z[==] @b and then? .grep()? | |||
14:30
ufobat___ is now known as ufobat
|
|||
jkramer | m: say ((1,2,4) Z== (1,99,4)).grep(*.so).elems | 14:31 | |
camelia | 2 | ||
jkramer | There's probably a shorter/nicer way | ||
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)? i.imgur.com/bUlIUfa.png | ||
14 Apr 2018 00:41Z <Zoffix> ufobat: nm, mistery solved: github.com/Bailador/Bailador/pull/302 | |||
ufobat | i didnt know that that so is a method | 14:33 | |
AlexDaniel | m: say ((1,2,4) Z== (1,99,4)).grep(*).elems | 14:37 | |
camelia | 3 | ||
AlexDaniel | m: say ((1,2,4) Z== (1,99,4)).grep(?*).elems | ||
camelia | 2 | ||
AlexDaniel | m: say ((1,2,4) Z== (1,99,4)).grep(True).elems | ||
camelia | Cannot use Bool as Matcher with '.grep'. Did you mean to use $_ inside a block? in block <unit> at <tmp> line 1 |
||
AlexDaniel | no I actually meant to use Bool as Matcher | 14:38 | |
because why not | 14:39 | ||
well, there's probably some WAT that is hidden by this, I guess | |||
m: say ((1,2,4) Z== (1,99,4)).grep(1).elems | 14:40 | ||
camelia | 2 | ||
ufobat | but thats obfuscated | 14:41 | |
thats because Bool is an enumeration and True is the 1st? | |||
jkramer | m: say +((1,2,4) Z== (1,99,4)).grep(?*) | 14:42 | |
camelia | 2 | ||
AlexDaniel | m: say True ~~ 1 | ||
camelia | True | ||
AlexDaniel | yea | 14:43 | |
jkramer | Saves .elems | ||
14:44
jeckyhl joined
14:45
sena_kun left
|
|||
jeckyhl | hi! I would like to kow how to write a file with non-ascci characters in file name | 14:46 | |
I've tried spurt "héllo.txt", "data and stuff\n"; but this writes "héllo.txt" | |||
14:49
jmerelo joined
|
|||
Juerd | It seems it assumes things need to be encoded as UTF-8, while your environment is probably latin1 | 14:49 | |
1;0 juerd@cxien:~$ perl6 -e'"héllo".encode.decode("latin1").say' | 14:50 | ||
Can not decode a utf-8 buffer as if it were latin1 | |||
Err... | |||
14:50
zakharyas left
|
|||
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. | ||
jeckyhl | @jeckyhl no pb thks | 14:51 | |
14:51
zakharyas joined
|
|||
jmerelo | jeckyhl: I'll take a look, but please submit that question also to StackOverflow. We need perl6 questions there | 14:51 | |
jeckyhl | @jmerelo OK | 14:52 | |
El_Che | hi jmerelo | 14:54 | |
jmerelo | Hi El_Che | ||
El_Che | hi everyone | ||
14:54
khw joined,
zakharyas left
14:55
Zoffix joined
|
|||
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) | ||
Zoffix | AlexDaniel: the wat is that smartmatch with True is always True. | ||
AlexDaniel | ahhhh | ||
right | |||
El_Che | Zoffix++ for the site migration. | ||
jeckyhl | @Zoffix yes Windows 7 pro french | ||
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 | ||
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 | ||
stmuk_ | www.nntp.perl.org/group/perl.perl6...g4724.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) | ||
Zoffix | jeckyhl: I just tried with `chcp 65001` thing and it didn't help either :( | 14:59 | |
1 sec. Let me experiment with it | |||
moritz | stmuk_: rakudo.org/latest/star/win64 seems to be the new stable link | ||
jeckyhl | Zoffix: :( | ||
stmuk_ | moritz: ok I'll reply on list and keep an eye open for any old links | 15:00 | |
Zoffix | moritz: stmuk_ no wait | ||
The old links still meant to work | |||
stmuk_ | ok | ||
El_Che | I just checked and for rakudo-pkg I didn't have to replace links | 15:01 | |
bbl | |||
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 | True | ||
Zoffix | :/ | ||
moritz | maybe some URL escaping fanciness with space and () ? | 15:04 | |
Geth | doc: 71ee3f6bcb | (JJ Merelo)++ | Makefile Debugs shippable refs #1931 |
||
moritz | jmerelo: I must say that these commit messages give me no idea what's actually going on | ||
if you add a "build: " or so to the commit message, it makes more sense | 15:05 | ||
jmerelo | moritz: OK | ||
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
|
|||
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:08 | |
Geth | doc: d96c244f90 | (JJ Merelo)++ | shippable.yml [Build] Test shippable executable paths refs #1931 |
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 | ||
..an then perl6 ... | 15:11 | ||
Zoffix is failing on both fronts.... | 15:18 | ||
Has this really been broken all the time? Can't create "héllo.txt" as a filename on Windows? | 15:19 | ||
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 | ||
Geth | doc: 6e68e22a4f | (JJ Merelo)++ | shippable.yml [Build] Finding out installation dir |
15:21 | |
Zoffix | samcv: timotimo do you know the trick to it? Creating filename named `héllo.txt` on windows. Currently it creates gibberish | 15:22 | |
stmuk_ | I think utf-8 output on windows was one of A. Sinan Unur | 15:25 | |
's complaints | |||
Zoffix | The only thing I remember is command line args and that was fixed | ||
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: rakudo.org/latest/star/win64 | 15:26 | ||
stmuk_ | Zoffix: someone else replied with the new link already but I'll reply with the link fix | 15:27 | |
Geth | rakudo.org: 4527c9c0b5 | (Zoffix Znet)++ (committed using GitHub Web editor) | apache.conf Fix ups to redirect old `latest` URLs right |
15:28 | |
15:29
pharv joined
|
|||
Zoffix | jeckyhl: this works: "héllo.txt".encode("latin1").decode("utf8-c8").IO.spurt: "data and stuff\n"; | 15:31 | |
jeckyhl | Zoffix: I works | 15:33 | |
Zoffix | jeckyhl: I'm hoping it can be made to work without needing that workaround. I filed an Issue for that: github.com/rakudo/rakudo/issues/1737 | 15:34 | |
15:34
wamba joined
15:35
troys joined
|
|||
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:36 | |
Zoffix | :( | 15:37 | |
15:37
zakharyas left
|
|||
jeckyhl | :S | 15:37 | |
Zoffix | looks like the same problem as original | 15:39 | |
Geth | doc/master: 5 commits pushed by (JJ Merelo)++ | 15:41 | |
Zoffix | jeckyhl: for dir :test{.ends-with: '.txt'} -> $file { say $file.absolute.encode("latin1").decode("utf8-c8").IO.slurp } | ||
15:41
domidumont left
|
|||
jeckyhl | Zoffix: :) | 15:42 | |
15:42
mcmillhj left
|
|||
jmerelo | Shippable takes 7 minutes, but it's not running htmlify app.shippable.com/github/JJ/doc/runs/5 | 15:43 | |
At least it can be a fast check of the t/*, which are the most usual problems | 15:44 | ||
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. | |||
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 | ||
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:46
ufobat left
|
|||
Zoffix isn't a fan of StackOverflow, so someone else will need to do it | 15:47 | ||
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:48 | |
15:51
tt joined
|
|||
jeckyhl | Zoffix: with IO::Path fix, regular code works for me too | 15:51 | |
15:53
mcmillhj joined
|
|||
Zoffix | cool | 15:54 | |
jeckyhl | Bye everyone, thx Juerd & Zoffix | 15:57 | |
15:58
mcmillhj left
|
|||
Zoffix | \o | 15:58 | |
15:58
jeckyhl left
15:59
kurahaupo joined
16:03
robertle left
16:06
mcmillhj joined
16:07
lizmat joined
|
|||
Geth | museum-items: 2fccea7d05 | (Zoffix Znet)++ | 0000-Multi-Year/Perl-6-Imaginary-Timeline.md Add Perl-6-Imaginary-Timeline From FB comment |
16:08 | |
16:11
mcmillhj left
16:14
Zoffix left
16:26
mcmillhj joined
16:29
lizmat left,
dakkar left
16:30
mcmillhj left
16:32
scimon left
16:42
mcmillhj joined
16:47
pmurias left,
mcmillhj left
16:52
yjain joined
16:57
mcmillhj joined
17:00
athenot joined
17:03
mcmillhj left
17:07
mcmillhj joined
17:12
Kaiepi left
17:15
|Sno| left
17:24
yjain left
|
|||
jmerelo | perl6/doc builds per month in Travis github.com/JJ/TPF-Grant/blob/maste...-month.png Curious it comes and goes. And the peak was in July 2016 | 17:26 | |
Jump directly to the image raw.githubusercontent.com/JJ/TPF-G...-month.png | 17:27 | ||
17:31
comborico1611 joined
|
|||
buggable | New CPAN upload: Bailador-Plugin-NamedQueries-0.001000.tar.gz by MZIESCHA cpan.metacpan.org/authors/id/M/MZ/...000.tar.gz | 17:38 | |
17:44
lizmat joined
|
|||
Geth | doc: 7a3168f3a6 | 陈梓立++ | htmlify.p6 Eliminates dead code |
17:58 | |
18:05
darutoko- joined,
darutoko- left
18:06
simpleseeker joined
18:07
darutoko left
18:22
sauvin left
|
|||
Geth | doc: 3f78f1f172 | 陈梓立++ | 2 files Revert 7a3168f3a6455 and add back WARNING in template/search_template.js |
18:22 | |
doc: 8a76f593ab | 陈梓立++ (committed using GitHub Web editor) | htmlify.p6 Update htmlify.p6 |
18:24 | ||
[Coke] | \o/ | 18:25 | |
jmerelo | [Coke]: hi! | ||
[Coke] | hi | 18:26 | |
18:32
cfa joined
18:33
domidumont joined
|
|||
cfa | morning all | 18:35 | |
18:42
espadrine joined
|
|||
jmerelo | cfa: sun setting over sunny Southern Spain, so good evening :-) | 18:42 | |
18:42
domidumont left
18:44
amalia___ left
|
|||
stmuk_ | docs.perl6.org/language/glossary#UGT | 18:45 | |
18:48
pharv left
18:49
pharv joined
|
|||
cfa | jmerelo: evening! | 18:52 | |
jmerelo | Off to dinner. See you tomorrow! | 18:56 | |
18:56
jmerelo left
19:01
markong left
19:02
markong joined,
lizmat left
19:06
lizmat joined
19:09
Kaiepi joined
19:11
lizmat left,
simpleseeker left
19:17
pharv left
19:18
pharv joined
19:23
pharv left,
lizmat joined
19:24
cfa left
19:36
mcmillhj left
19:41
mcmillhj joined
19:47
mcmillhj left
19:49
markong left
|
|||
Geth | museum-items: 2cf0c40e00 | raiph++ (committed using GitHub Web editor) | 2005/-Ofun.md Create -Ofun.md |
19:51 | |
19:52
markong joined
19:57
mcmillhj joined
20:01
cosimo left
20:05
athenot left
20:13
simpleseeker joined,
cosimo joined
20:14
pharv joined
20:15
pharv left,
pharv joined
20:22
pharv left
20:26
pharv joined
20:28
HaraldJoerg1 joined
20:29
|Sno| joined
20:30
HaraldJoerg left
20:37
HaraldJoerg1 left,
pharv left,
pharv joined
20:46
zachk joined,
zachk left,
zachk joined
|
|||
Geth | museum-items: b767244b84 | raiph++ (committed using GitHub Web editor) | 2005/pugs.md Create pugs.md |
20:57 | |
20:58
cozachk joined
21:02
zachk left
21:08
TEttinger joined
|
|||
lizmat | and another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2018/04/16/...6-so-that/ | 21:13 | |
tyil | lizmat++ | ||
21:15
cocozachk joined
|
|||
Geth | marketing: e6219b319e | (Zoffix Znet)++ | LOGOs/Camelia/Alt-Variants/Camelia - Recoloured - Perfect Rainbow---FAVICON.ico Add favicon of Perfect Rainbow Camelia |
21:17 | |
21:19
cozachk left
|
|||
El_Che | "Samantha McVey made sure that MoarVM / nqp / Rakudo build on Solaris" <--- more info? | 21:24 | |
lizmat: "Samantha McVey made sure that MoarVM / nqp / Rakudo build on Solaris" <--- more info? | |||
samcv | hello | ||
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 ." | ||
twice | |||
lizmat | yeah, fixed now | ||
right? | |||
copy pasto | |||
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) | ||
El_Che | I worked on Solaris packages some time ago, and gave up | 21:27 | |
21:27
mcmillhj left
|
|||
samcv | hah | 21:27 | |
21:27
Zoffix joined
|
|||
Zoffix | lizmat++ # good weekly | 21:27 | |
lizmat: would you mind changing "please contact Zoffix Znet" to "please see blog post for details: rakudo.party/post/WANTED-Perl-6-Hi...ical-Items " ? | 21:28 | ||
samcv | El_Che: the reason i fixed solaris was while i was testing my MoarVM pr on all platforms github.com/MoarVM/MoarVM/pull/841 since it depends on platform specific random functions on os's that support them | ||
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. | ||
samcv | which was a pain in the BUTT | ||
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 | |||
El_Che | samcv: did you build it with gcc or SunStudio? | 21:29 | |
samcv | gcc | ||
El_Che | ok | ||
samcv | well i followed solaris's instructions | ||
El_Che | it used to be the wrong answer | ||
but nowadays it's the better choice | |||
samcv | and on solaris had to fix a problem compiling on 32bit with cflags | 21:30 | |
21:30
robertle joined
|
|||
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 | ||
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 | ||
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 | |||
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 :) | ||
lizmat | Zoffix: yw | ||
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 | |
21:33
Zoffix left
|
|||
El_Che | samcv: good catch | 21:33 | |
21:35
mcmillhj joined
21:40
mcmillhj left
|
|||
lizmat calls it a night& | 21:43 | ||
21:43
lizmat left,
pharv left
|
|||
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. | ||
El_Che | timotimo: try telling stuff like that to the marketing department :) | 21:45 | |
21:47
mcmillhj joined
|
|||
buggable | New CPAN upload: List-MoreUtils-0.0.2.tar.gz by ELIZABETH modules.perl6.org/dist/List::MoreUt...:ELIZABETH | 21:48 | |
21:49
vcv left
21:51
mcmillhj left
21:54
cozachk joined
21:57
cocozachk left
21:58
robertle left
22:00
wamba left
|
|||
Geth | museum-items: 9be270cb04 | raiph++ (committed using GitHub Web editor) | 2007/Audrey and PUGS finish their sprint.md Create Audrey and PUGS finish their sprint.md |
22:01 | |
22:01
pharv joined
22:04
mcmillhj joined
|
|||
xq | what is the recommended reading for learning perl6 for perl5 users ? | 22:05 | |
22:05
Kaiepi left
|
|||
El_Che | xq: perl6book.com/ | 22:06 | |
22:06
markong left
22:07
Kaiepi joined
|
|||
El_Che | xq: I just picked a small project, open these slides www.jnthn.net/papers/2015-spw-perl6-course.pdf and doc.perl6.org | 22:08 | |
after that a read Perl 6 Fundamentals and Think Perl 6, but more out of curiosity | |||
22:08
mcmillhj left
|
|||
xq | thanks El_Che | 22:16 | |
Geth | marketing: 521b799fe7 | (Zoffix Znet)++ | 36 files Sketch marketing materials web app |
22:17 | |
22:18
markong joined,
mcmillhj joined
|
|||
El_Che | xq: and of course, this channel | 22:19 | |
22:23
mcmillhj left
|
|||
comborico1611 | What is the company/project with the gecko in lightgreen and blue? | 22:24 | |
22:27
cozachk left
22:28
zachk joined,
zachk left,
cocozachk joined
22:37
mcmillhj joined
22:38
jeek left
|
|||
El_Che | comborico1611: this one? www.activestate.com/sites/default/...k=7OTKH3dZ | 22:38 | |
comborico1611 | El_Che: Nope. Found it. www.quora.com/Why-does-the-Lisp-pr...-originate | 22:40 | |
Thanks, though! | |||
xq | this page rakudo.org/files/star/source under linux instructions shows a curl command that is supposed to download a tarball | ||
but actually executing this command results in a 321 byte file containing HTML with apache redirect. | 22:41 | ||
22:42
mcmillhj left
|
|||
El_Che | rakudo.org/latest/star/source <-- that one? works here | 22:44 | |
22:46
simpleseeker left
|
|||
Geth | museum-items: 961450564a | raiph++ (committed using GitHub Web editor) | 2005/public logging of Perl 6 irc channels begins.md Create public logging of Perl 6 irc channels begins.md |
22:48 | |
22:56
mcmillhj joined
|
|||
xq | El_Che paste.debian.net/hidden/8ab90296/ | 22:57 | |
following instructions from page ^ | |||
22:59
markong left
23:00
markong joined
23:01
mcmillhj left
|
|||
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 | |
23:01
Zoffix joined
|
|||
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 | |
23:04
lichtkind left
|
|||
xq | glad to help | 23:04 | |
Geth | rakudo.org: f3c200078d | (Zoffix Znet)++ (committed using GitHub Web editor) | apache.conf Set HTTPS proto for proxy Otherwise Mojo makes HTTP urls when converting to_abs |
23:05 | |
23:05
Herby_ joined
|
|||
Herby_ | o/ | 23:05 | |
Zoffix | \o | ||
samcv | experimentally it's 47 times on average. | ||
23:07
mcmillhj joined
|
|||
samcv | ah i think i figured it out | 23:08 | |
Zoffix | ⅛*x = 10 | ||
m: say 10/⅛ | |||
camelia | 80 | ||
samcv | i had a suspicion i needed to use factorials to solve it | ||
23:10
AlexDaniel left
|
|||
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 | 81.679 | ||
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 | ||
camelia | 82.087 | ||
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 | ||
camelia | 80.1381 | ||
23:12
mcmillhj left
23:14
titsuki joined
|
|||
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 | 48.0571 | ||
23:17
lichtkind joined
23:20
mcmillhj joined,
rindolf left
23:22
espadrine left
|
|||
El_Che | xq: you must instruct curl to follow redirects with -L | 23:24 | |
23:24
mcmillhj left
|
|||
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:24 | |
Zoffix: maybe add a -L to the instructions | 23:25 | ||
Zoffix | El_Che: you have the commit bit: github.com/perl6/rakudo.org/ | ||
(add [REAPP] in the title of the commit) | |||
samcv: did you figure out the formula? | 23:26 | ||
23:27
pharv left,
pharv joined
|
|||
xq | I already compiled it, thanks El_Che | 23:29 | |
23:30
markong left
|
|||
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:31 | |
23:32
pharv left
|
|||
samcv | yeah | 23:32 | |
23:33
mcmillhj joined
|
|||
Zoffix makes a trip to #math | 23:33 | ||
samcv | mathworld.wolfram.com/BinomialDistribution.html | 23:34 | |
basically this | |||
Zoffix | the name rings a bell | 23:36 | |
23:38
mcmillhj left
|
|||
Herby_ | how do I make a simple grammar case insensitive? | 23:40 | |
so 720p and 720P both match? | 23:41 | ||
Zoffix | :i | ||
Herby_ | where do i strategically place that :i? | ||
Zoffix | m: say grammar { token TOP { :i 720p } }.parse: '720P' | ||
camelia | 「720P」 | ||
Herby_ | my google-fu is failing me | ||
ah ok | |||
Zoffix | m: say grammar { token TOP { 720 [:i p] } }.parse: '720P' | ||
camelia | 「720P」 | ||
Herby_ | hmm | 23:42 | |
if I have a bunch of tokens that compose my TOP token, do I have to place the :i in each "sub" token? | |||
Zoffix | Yeah | ||
Herby_ | that did it. thanks! | 23:43 | |
23:43
w_richard_w joined
23:46
mcmillhj joined
23:47
cocozachk is now known as zachk,
zachk left,
zachk joined
23:51
mcmillhj left
|
|||
samcv | Zoffix: ok i got it www.wolframalpha.com/input/?i=k%3D...))+*+N+*+2 | 23:52 | |
for k trials and N buckets and x is the maximum number of things allowed in the bucket | 23:53 | ||
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, | ||
i just plugged in numbers. i could get wolfram alpha to solve for it though | |||
Zoffix | samcv: and the 0.50 result it shows, what does that represent? | ||
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 | ||
50 % chance | |||
Zoffix | 50% chance that at least one bucket fills after 46.1 trials? | 23:55 | |
samcv | good question | ||
yeah i think so | |||
23:55
mcmillhj joined
|
|||
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 | |
for any given bucket" "jle` │ Zoffix: but the complication happens when you consider the 'which was first'" | |||
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 | ||
but i think this should be right | |||
23:58
cozachk joined
23:59
espadrine joined
|