»ö« 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. |
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “List method flatmap is inappropriately discouraged”: github.com/perl6/doc/issues/1428#i...-326706949 | 00:00 | |
AlexDaniel | m: say ^9999999 .pick | 00:07 | |
camelia | 9123610 | ||
Geth | doc/polymod-digits: 1fd4b0f3bf | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Type/Int.pod6 Document the use of polymod for base conversion Attempt to resolve issue #1436. |
00:11 | |
doc: AlexDaniel++ created pull request #1487: Document the use of polymod for base conversion |
00:12 | ||
squashable6 | 🍕 AlexDaniel++ opened pull request “Document the use of polymod for base conversion”: github.com/perl6/doc/pull/1487 | ||
🍕 AlexDaniel++ requested a review on pull request “Document the use of polymod for base conversion”: github.com/perl6/doc/pull/1487 | |||
🍕 AlexDaniel++ wrote a comment on “Document the use of `.po…”: github.com/perl6/doc/issues/1436#i...-326708241 | |||
samcv | AlexDaniel, more traps! | 00:19 | |
Geth | doc: a0e4e79627 | (Samantha McVey)++ | doc/Language/traps.pod6 Add to traps, information about Normalization and .chars |
||
samcv | added stuff about how to get codepoits, graphemes and bytes, and that strings are normalized and refer them to the correct sections | ||
00:19
konsolebox left
|
|||
AlexDaniel | samcv: nice! | 00:21 | |
samcv: what if we change the example to this? | 00:23 | ||
m: my $s = “\c[LATIN SMALL LETTER J WITH CARON]” ~ “\c[COMBINING DOT BELOW]” x 200; say $s.chars; say $s.codes; say $s.encode.bytes | |||
camelia | 1 201 402 |
||
samcv | why? | 00:24 | |
that's a silly example | |||
AlexDaniel | I think it makes it more obvious what this trap may cause | ||
samcv | i mean 2 1 and 4 are all different numbers | ||
00:25
konsolebox joined
|
|||
AlexDaniel | i.e. you're checking for length and it's only one character, so you think it's fine. In reality it's a kilobyte when you store it somewhere in encoded form :-/ | 00:25 | |
samcv: k fair enough, it's fine then :) | 00:26 | ||
samcv: personally I think it says enough, but I've created so many trap tickets that I already hear people saying “well that's exactly what I expected, can't see the trap at all” | 00:29 | ||
squashable6: status | 00:30 | ||
squashable6 | AlexDaniel, 🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈11 hours | ||
AlexDaniel, Log and stats: gist.github.com/0c3110762ba1de63aa...3ce35502cc | |||
00:34
Cabanossi left
00:35
Cabanossi joined
|
|||
Geth | doc: 95a783edee | (Samantha McVey)++ | doc/Language/unicode.pod6 Move Information on normalization higher up on Unicode page |
00:38 | |
doc: 25d41281b8 | (Samantha McVey)++ | doc/Language/unicode.pod6 Add link to MoarVM string documentation on Unicode page |
|||
doc: 30f6e1a967 | MasterDuke17++ (committed using GitHub Web editor) | doc/Language/traps.pod6 Fix typo |
00:39 | ||
squashable6 | 🍕🍕🍕 First contribution by MasterDuke17++! ♥ | ||
00:41
firefish5000 joined
|
|||
squashable6 | 🍕 AlexDaniel++ opened issue “Linking to pragmas”: github.com/perl6/doc/issues/1488 | 00:46 | |
🍕 AlexDaniel++ labeled issue “Linking to pragmas”: github.com/perl6/doc/issues/1488 | |||
🍕 AlexDaniel++ self-assigned issue “Tips for negation on grep, first, etc.”: github.com/perl6/doc/issues/1425 | 00:47 | ||
00:49
cdg joined
00:53
Actualeyes left
00:54
cdg left
|
|||
zoll thought OP had overly long signature in RT#130520 | 00:55 | ||
00:56
margeas left
00:57
cdg joined
|
|||
samcv | i think i'm going to bump MoarVM so everybody can get faster string ops! | 00:58 | |
AlexDaniel | \o/ | ||
01:02
cdg left
01:03
Cabanossi left
01:05
Cabanossi joined,
raschipi joined
01:06
Sgeo_ joined
01:08
Sgeo__ left
01:09
cdg joined
|
|||
zoll | re flatmap: keeping a function due to similarity to any other language or low usage (while it's young) are a weak point afas Perl 6 is concerned. | 01:11 | |
s/afas/AFA/ | 01:12 | ||
... also AFAIAC. | |||
01:14
cdg left
|
|||
AlexDaniel | yeah | 01:15 | |
but IMO for the doc ticket this is irrelevant. | |||
01:16
piojo joined
|
|||
samcv | power went out for like 20 mins | 01:22 | |
you get a faster string and you get a fsater string, everyone gets faster strings! | 01:25 | ||
Geth | doc/polymod-digits: 704b601ce8 | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Type/List.pod6 Suggest none-junction, explain why !/…/ works Hopefully resolves #1425. |
||
squashable6 | 🍕 AlexDaniel++ synchronize pull request “Document the use of polymod for base conversion”: github.com/perl6/doc/pull/1487 | ||
AlexDaniel | ah Fffffffffffffff… I pushed to a wrong branch | 01:26 | |
Geth | doc: 32faa8e862 | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Type/List.pod6 Suggest none-junction, explain why !/…/ works Hopefully resolves #1425. |
01:27 | |
squashable6 | 🍕 AlexDaniel++ closed issue “Tips for negation on grep, first, etc.”: github.com/perl6/doc/issues/1425 | ||
🍕 AlexDaniel++ synchronize pull request “Document the use of polymod for base conversion”: github.com/perl6/doc/pull/1487 | 01:28 | ||
01:28
geekosaur left
01:31
lizmat left
01:33
mr-foobar left
01:35
mr-foobar joined
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “grapheme is not searchable”: github.com/perl6/doc/issues/1403#i...-326713744 | 01:35 | |
01:39
labster left
|
|||
[Coke] wonders if tinita someone tpf just emailed. | 01:39 | ||
01:42
aborazmeh joined,
aborazmeh left,
aborazmeh joined,
geekosaur joined
01:45
ilbot3 left
|
|||
squashable6 | 🍕 zoffixznet++ wrote a comment on “Document the use of polymod for base conversion”: github.com/perl6/doc/pull/1487#iss...-326714434 | 01:48 | |
01:52
ilbot3 joined,
ChanServ sets mode: +v ilbot3
|
|||
squashable6 | 🍕 rafaelschipiura++ wrote a comment on “Document the use of polymod for base conversion”: github.com/perl6/doc/pull/1487#iss...-326714645 | 01:52 | |
01:53
cdg joined
|
|||
Geth | doc/master: 5 commits pushed by (Will "Coke" Coleda)++ | 01:55 | |
squashable6 | 🍕🍕🍕 First contribution by coke++! ♥ | ||
Zoffix | [Coke]: what did you have to install on hack to get doc highlights working? I'm trying to run make init highlights, but it tells me I ain't got node. The CONTRIBUTING.md says I need "nodejs" installed which apt-get tells me is already installed | 01:56 | |
I mean I'm trying to run it locally and I have system similar to hack. | 01:57 | ||
01:58
cdg left
|
|||
[Coke] | apt-get installed an insanely old version. | 01:58 | |
so I installed the latest off the node side (which included an npm, then I had to install node-gyp) | |||
*site | |||
(if you don't install node-gyp, it runs the old one that got installed with apt-get, which then uses the wrong node anyway) | 01:59 | ||
Zoffix | "node-gyp is already the newest version." | ||
[Coke] | I find it's rarely worth doing the highlights locally unless you're specifically testing that. | ||
Zoffix | I'm specifically testing styles | ||
[Coke] | ... apt-get is lying to you. :) | ||
Zoffix | What do I do? | 02:00 | |
[Coke] | don't use apt-get to install node. | ||
02:00
lizmat joined
|
|||
samcv | Zoffix, are you sure that's why it's failing? | 02:00 | |
[Coke] | what version is your node? | ||
AlexDaniel | [Coke]++ # fixing things after “uncareful” contributors :) | ||
Zoffix | [Coke]: I don't know. | ||
samcv | node --version | 02:01 | |
[Coke] | node --version | ||
Zoffix | $ node --version | ||
The program 'node' can be found in the following packages: | |||
* node | |||
[Coke] | I have 6.11 locally on my mac. | ||
Zoffix | * nodejs-legacy | ||
[Coke] | try nodejs --version # apt-get renamed node | ||
Zoffix | v0.10.25 | ||
samcv | WOW | 02:02 | |
[Coke] | O_o | ||
samcv | yeah that's too old | ||
Zoffix | How do I fix it? | ||
[Coke] | I think it was 4.x on the doc server when I upgraded it. | ||
nodejs.org/en/download/ | |||
samcv | i'd recommend at least 6 | ||
though 4 max work? | |||
[Coke] | 4 didn't work on docs. | 02:03 | |
(which is why I tried the upgrade) | |||
Zoffix | [Coke]: so after you downloaded what did you do next? I see no installer on anything | 02:04 | |
02:05
riatre is now known as MistyMonumentMai
02:06
mr-fooba_ joined
|
|||
Zoffix was hoping copy-pastable instructions would appear in CONTRIBUTING.md after hack needed an arduous process of figuring out the same thing :/ | 02:07 | ||
I think I got a deb installed now | |||
samcv: do those highlights work on the front-end or do they have to be pre-generated? | 02:08 | ||
02:08
mr-foobar left
|
|||
raschipi | In newer packages, node is taking over /usr/bin/node | 02:08 | |
02:08
raiph joined
|
|||
Zoffix | k, I think it worked this time | 02:08 | |
samcv | Zoffix, well you should just be able to run `make init-highlights` and it should get everything ready fr you. the only prerequisite is node | 02:09 | |
everything else it sets up for you | 02:10 | ||
and you need a c++ compiler | |||
[Coke] | Zoffix: I did update github.com/perl6/infrastructure-do...c.org.pod, but that was it, and with not much more than I said here, though, sorry. | 02:11 | |
samcv | Zoffix, what version of gcc/g++ do you have? | ||
hopefully it's not like ancient as hell | |||
Zoffix | samcv: I'm asking for the future where the doc site's pod is stuffed into SQLite database and whether we need to pre-render the markup to get highlights or there's a way to render them on the front end in the browser. | 02:12 | |
[Coke] | samcv: I also needed to explicitly install node-gyp | ||
because there was an old version in the path. | |||
samcv | Zoffix, oh. well we only have prerendering. but we could have on demand | ||
oh front end | 02:13 | ||
yeah that wouldn'1t work | |||
Geth | doc: de4da5658f | (Zoffix Znet)++ (committed using GitHub Web editor) | CONTRIBUTING.md List highlights prereq instructions for Debian |
||
samcv | having the browser do it. i mean could be a local server we start up that renders the pod and highlights it then serves it, but | ||
[Coke] | Zoffix++ | ||
samcv | it doesn't use node's regex engine to work, it uses onigumura | 02:14 | |
Geth | doc: e5893a7f12 | (Zoffix Znet)++ (committed using GitHub Web editor) | CONTRIBUTING.md Fix broken markdown list rendering |
||
Zoffix | Ok. Thanks. | ||
02:17
mr-foobar joined,
mr-fooba_ left
|
|||
raiph | bobsutton.typepad.com/my_weblog/200...study.html is about a multi decade scientific study that includes a real deal version of the waterspray story | 02:19 | |
.hug Zoffix | |||
huggable hugs Zoffix | |||
02:20
aborazmeh left
|
|||
AlexDaniel | buggable: pizza raiph | 02:21 | |
buggable | raiph, enjoy this slice of Deluxe pizza, my friend! Yummy 🍕 | ||
Zoffix | \o/ | 02:22 | |
02:25
noganex_ joined
|
|||
Geth | Pod-To-HTML: 3baf65bca9 | (Zoffix Znet)++ | 4 files Implement ability to disable CSS <link> inclusion |
02:27 | |
02:28
noganex left
02:29
dogbert2 left
|
|||
squashable6 | 🍕 zakame++ wrote a comment on “Document use of method i…”: github.com/perl6/doc/issues/1121#i...-326716712 | 02:33 | |
🍕🍕🍕 First contribution by zakame++! ♥ | |||
zakame | heya, good morning :) | ||
squashable6 | 🍕 zoffixznet++ wrote a comment on “Document use of method i…”: github.com/perl6/doc/issues/1121#i...-326716793 | 02:34 | |
Zoffix | buggable: pizza zakame | ||
buggable | zakame, enjoy this slice of Hawaiian pizza, my friend! Yummy 🍕 | ||
Zoffix | :) | ||
zakame | .hug Zoffix | 02:35 | |
huggable hugs Zoffix | |||
Zoffix | \o/ | 02:37 | |
raschipi | <o> | ||
Zoffix | | | 02:38 | |
/|\ | |||
War of The Worlds :) | |||
squashable6 | 🍕 zakame++ wrote a comment on “Document use of method i…”: github.com/perl6/doc/issues/1121#i...-326717110 | 02:42 | |
raschipi | took some time, but now I see. :) | ||
02:56
Kyo91 joined
03:03
Cabanossi left
03:05
Cabanossi joined
|
|||
AlexDaniel | m: react whenever signal(SIGINT).merge(signal(SIGHUP)) { say ‘hey!’; exit 0 } | 03:08 | |
camelia | (timeout) | 03:09 | |
AlexDaniel | m: react whenever signal(SIGINT).merge(signal(SIGTERM)) { say ‘hey!’; exit 0 } | ||
camelia | (timeout)Unhandled exception in code scheduled on thread 4 Cannot resolve caller postcircumfix:<[ ]>(Mu, Int); none of these signatures match: (\SELF, Any:U $type, |c is raw) (\SELF, int $pos) (\SELF, int $pos, Mu \assignee) (\S… |
||
AlexDaniel | why? | ||
m: react whenever signal(SIGTERM).merge(signal(SIGINT)) { say ‘hey!’; exit 0 } | |||
camelia | (timeout)hey! | 03:10 | |
03:10
snarkyboojum joined
|
|||
AlexDaniel | is it a bug in .merge or something? | 03:10 | |
samcv | hmm i kind of want to make a pod to asciidoc extension. since i write all my things in asciidoc now because of all the things it has markdown lacks. don't really need it. but could be fun to make | 03:12 | |
03:14
snarkyboojum left
|
|||
AlexDaniel | meh. RT #132016 | 03:15 | |
synopsebot6 | Link: rt.perl.org/rt3/Public/Bug/Display...?id=132016 | ||
03:17
snarkyboojum joined,
snarkyboojum left
03:18
snarkyboojum joined,
snarkyboojum left
03:19
snarkyboojum joined
03:20
snarkyboojum left
03:21
snarkyboojum joined,
snarkyboojum left
03:24
snarkyboojum joined
03:25
snarkyboojum left
03:26
snarkyboojum joined,
snarkyboojum left,
Kyo91 left
03:27
audiatorix joined
|
|||
audiatorix | Does anyone know of a good Perl 6 webserver, or a webserver than can interface easily with Perl 6? I found perl6-web by supernovus on GitHub, but it seems abandoned and has errors | 03:29 | |
03:29
snarkyboojum joined,
snarkyboojum left
03:32
snarkyboojum joined,
snarkyboojum left
|
|||
perigrin | audiatorix: github.com/ufobat/HTTP-Server-Ogre maybe? | 03:32 | |
03:33
snarkyboojum joined,
snarkyboojum left
|
|||
audiatorix | Hmm. Looking for something with a good backend API, because my project involves a good amount of interaction | 03:34 | |
03:35
snarkyboojum joined,
snarkyboojum left
|
|||
audiatorix | Something more like the project I mentioned above--or perhaps I could go about fixing it myself | 03:35 | |
03:36
snarkyboojum joined,
snarkyboojum left
|
|||
audiatorix | Ugh, I really wanted to avoid digging through code but I suppose it's my best option at this point | 03:36 | |
03:36
audiatorix left
|
|||
perigrin | Something more like Bailador | 03:36 | |
a framework not a server | |||
? | |||
hmm no this is more in between | 03:37 | ||
03:37
snarkyboojum joined,
snarkyboojum left
|
|||
perigrin | github.com/tokuhirom/p6-Crust | 03:37 | |
I think is more what you want | |||
03:39
snarkyboojum joined
|
|||
perigrin | github.com/supernovus/perl6-http-easy also relevant I think | 03:39 | |
03:40
snarkyboojum left
03:41
snarkyboojum joined,
snarkyboojum left
03:43
snarkyboojum joined,
snarkyboojum left
|
|||
zakame | m: class C { method f(::?CLASS:U: $c, $p) { say "Class $c, $p" }}; C.f("hello") | 03:44 | |
camelia | Too few positionals passed; expected 3 arguments but got 2 in method f at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
03:44
snarkyboojum joined,
snarkyboojum left
03:45
snarkyboojum joined
|
|||
zakame | m: class C { method f(::?CLASS:U:, $p) { say "$?CLASS, $p" }}; C.f("hello") | 03:46 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Malformed parameter at <tmp>:1 ------> 3class C { method f(::?CLASS:U:7⏏5, $p) { say "$?CLASS, $p" }}; C.f("hello |
||
03:47
Ven`` joined
03:48
snarkyboojum left
|
|||
AlexDaniel | .hug snarkyboojum | 03:49 | |
huggable hugs snarkyboojum | |||
03:49
snarkyboojum joined
03:50
snarkyboojum left,
xinming left,
skids left
|
|||
zoll | weekend+holiday in US; have fun (or, not). ta. | 03:51 | |
03:51
snarkyboojum joined
03:53
snarkyboojum left
|
|||
raiph | AlexDaniel: thx for pizza, plan to eat it cold over weekend doing some doc stuff :) | 03:54 | |
AlexDaniel | \o/ | ||
03:54
snarkyboojum joined,
snarkyboojum left
|
|||
raiph | audiatorix : have you seen mi.cro.services ? | 03:55 | |
(oh, looks like they left) | |||
Geth | doc/procreact: 83733ce120 | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Type/Proc/Async.pod6 Proc::Async example with 「react」 Tackle issue #1468. IMO in this case it is reasonable to expect that people will be copying the example and reducing it to their needs, so I tried to include everything that may be needed. ... (6 more lines) |
||
03:55
snarkyboojum joined
|
|||
doc: AlexDaniel++ created pull request #1489: Proc::Async example with 「react」 |
|||
squashable6 | 🍕 AlexDaniel++ opened pull request “Proc::Async example with 「react」”: github.com/perl6/doc/pull/1489 | ||
🍕 AlexDaniel++ edited pull request “Proc::Async example with 「react」”: github.com/perl6/doc/pull/1489 | |||
🍕 AlexDaniel++ edited pull request “Proc::Async example with 「react」”: github.com/perl6/doc/pull/1489 | 03:57 | ||
03:57
snarkyboojum left
03:58
pompomcrab joined
|
|||
pompomcrab | question: is there an equivalent to $|++ to flush STDOUT in p6? i have several scripts that do shell() thingies and i'd like to see the output in realitime | 03:59 | |
i greped through the perl6-all-modules git repo but didn't find anything that appears to do it | |||
04:01
snarkyboojum joined,
snarkyboojum left
04:02
snarkyboojum joined,
snarkyboojum left,
Cabanossi left
|
|||
AlexDaniel | pompomcrab: are you sure that there is any caching involved? | 04:03 | |
oops, buffering* | |||
04:04
snarkyboojum joined,
snarkyboojum left,
Cabanossi joined
|
|||
AlexDaniel | pompomcrab: I think there's some other issue with your code. Do you any example? | 04:04 | |
have* | |||
AlexDaniel is about to fall asleep :) | |||
pompomcrab | AlexDaniel: i'm just running wrapper scripts around "./configure && make && make install" and STDOUT only flushes at the end after all 3 commands are finished executing | ||
04:05
snarkyboojum joined
|
|||
AlexDaniel | pompomcrab: how do you read stdout? | 04:05 | |
pompomcrab | i.e. say shell("./configure && make && make install") is really all i'm doing | ||
raschipi | you need Proc::Async | 04:06 | |
04:06
snarkyboojum left
04:08
snarkyboojum joined
|
|||
AlexDaniel | pompomcrab: well, but shell(‘echo 42; sleep 3; echo 50’) produces the output continuously, right? | 04:08 | |
AlexDaniel is confused | |||
04:09
cdg joined
|
|||
AlexDaniel | I really can't see what could be buffering the output in this case :-/ | 04:09 | |
pompomcrab | AlexDaniel: yah i'm not sure what could be caching plain-old configure/make/make-install | ||
i just assumed it has to be $|++ because that's what it was in p5 | 04:10 | ||
04:10
snarkyboojum left
|
|||
Geth | doc/procreact: 96521e67ce | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Type/Proc/Async.pod6 Show example output |
04:11 | |
squashable6 | 🍕 AlexDaniel++ synchronize pull request “Proc::Async example with 「react」”: github.com/perl6/doc/pull/1489 | ||
04:12
snarkyboojum joined
|
|||
AlexDaniel | squashable6: status | 04:12 | |
squashable6 | AlexDaniel, 🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈7 hours | ||
AlexDaniel, Log and stats: gist.github.com/e9bc70397785b6d089...6eddb0b684 | |||
04:13
snarkyboojum left,
piojo left
04:14
cdg left,
snarkyboojum joined
04:15
piojo joined
04:16
snarkyboojum left
|
|||
Geth | doc/procreact: b8587c8774 | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Type/Proc/Async.pod6 Show how to get exit code from Proc::Async Possibly resolves issue #1465. |
04:17 | |
squashable6 | 🍕 AlexDaniel++ synchronize pull request “Proc::Async example with 「react」”: github.com/perl6/doc/pull/1489 | ||
04:18
snarkyboojum joined
04:19
snarkyboojum left
|
|||
squashable6 | 🍕 AlexDaniel++ self-assigned issue “Unreadable type graphs”: github.com/perl6/doc/issues/246 | 04:19 | |
04:20
cdg joined
04:21
snarkyboojum joined
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Add note to footer about missing docs”: github.com/perl6/doc/issues/541#is...-326720925 | 04:22 | |
04:23
snarkyboojum left
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “lazy, eager, hyper, race…”: github.com/perl6/doc/issues/534#is...-326721044 | 04:24 | |
🍕 AlexDaniel++ edited a comment on “lazy, eager, hyper, race…”: github.com/perl6/doc/issues/534#is...-326721044 | 04:25 | ||
04:25
cdg left,
travis-ci joined
|
|||
travis-ci | Doc build passed. Aleks-Daniel Jakimenko-Aleksejev 'Proc::Async example with 「react」 | 04:25 | |
travis-ci.org/perl6/doc/builds/271074415 github.com/perl6/doc/commit/83733ce1201c | |||
04:25
travis-ci left
|
|||
squashable6 | 🍕 AlexDaniel++ labeled issue “lazy, eager, hyper, race…”: github.com/perl6/doc/issues/534 | 04:25 | |
04:27
snarkyboojum joined,
snarkyboojum left
04:28
ChoHag joined
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Regex )> and <( are not documented”: github.com/perl6/doc/issues/462#is...-326721168 | 04:29 | |
🍕 AlexDaniel++ assigned issue “Regex )> and <( are not documented” to zoffixznet: github.com/perl6/doc/issues/462 | |||
04:29
snarkyboojum joined
04:30
snarkyboojum left
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “add more detail about implicit return”: github.com/perl6/doc/issues/388#is...-326721258 | 04:31 | |
🍕 AlexDaniel++ wrote a comment on “Native Types Not Documented”: github.com/perl6/doc/issues/372#is...-326721295 | 04:32 | ||
🍕 AlexDaniel++ labeled issue “Native Types Not Documented”: github.com/perl6/doc/issues/372 | |||
04:33
snarkyboojum joined
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Need a way to mark which…”: github.com/perl6/doc/issues/302#is...-326721329 | 04:34 | |
04:34
snarkyboojum left,
khw left
04:35
travis-ci joined
|
|||
travis-ci | Doc build passed. Aleks-Daniel Jakimenko-Aleksejev 'Show example output' | 04:35 | |
travis-ci.org/perl6/doc/builds/271076710 github.com/perl6/doc/compare/83733...521e67cef4 | |||
04:35
travis-ci left,
snarkyboojum joined
04:36
snarkyboojum left
04:37
snarkyboojum joined,
snarkyboojum left
04:38
pilne left,
astj left,
astj joined
04:39
pilne joined,
snarkyboojum joined
04:41
snarkyboojum left
04:42
astj left,
snarkyboojum joined,
astj joined
04:43
snarkyboojum left,
travis-ci joined
|
|||
travis-ci | Doc build passed. Aleks-Daniel Jakimenko-Aleksejev 'Show how to get exit code from Proc::Async | 04:43 | |
travis-ci.org/perl6/doc/builds/271077346 github.com/perl6/doc/compare/96521...587c8774b1 | |||
04:43
travis-ci left
04:44
snarkyboojum joined
04:45
snarkyboojum left
04:47
Cabanossi left,
snarkyboojum joined
04:49
snarkyboojum left,
unnecessarymulti joined,
Cabanossi joined
04:50
snarkyboojum joined,
snarkyboojum left
|
|||
AlexDaniel | aaaaaaaaaaaand where's pod2onepage ? | 04:52 | |
unnecessarymulti just spent a solid minute looking for the rakudo repo on the perl6 github and wondered why it disappeared | |||
oops | |||
AlexDaniel | I have Pod::To::BigPage installed but no pod2onepage, weird… | 04:53 | |
unnecessarymulti: yeah, it's github.com/rakudo/rakudo/ | |||
unnecessarymulti | yeah, +1 AlexDaniel :) | 04:54 | |
raschipi | unnecessarymulti: instead of using the sum operator like that, you can shorten it to the ++ operator which does the same. | 04:55 | |
unnecessarymulti | ++raschipi | 04:56 | |
:p | |||
04:57
Ven`` left
|
|||
raschipi | One day someone will write a bot for this channel that goes through the history and counts peoples karma. | 04:59 | |
AlexDaniel | raschipi: you can kinda do that with quotable, but it's broken do to RT #131961 | 05:03 | |
synopsebot6 | Link: rt.perl.org/rt3/Public/Bug/Display...?id=131961 | ||
AlexDaniel | quotable6: AlexDaniel++ | ||
quotable6 | AlexDaniel, 04===SORRY!04=== Error while compiling /tmp/xIdj9y8FfvQuantifier quantifies nothingat /tmp/xIdj9y8Ffv:2------> 03m⦑ AlexDaniel++08⏏04 ⦒; «exit code = 1» | ||
AlexDaniel | quotable6: ‘AlexDaniel++’ | ||
quotable6 | AlexDaniel, MasterDuke: I'm acting stupid on #perl6. Help me. | ||
AlexDaniel, Sorry kid, that's not my department. | |||
05:03
Actualeyes joined
|
|||
AlexDaniel | well… | 05:03 | |
05:05
Celelibi left
05:16
Celelibi joined
05:24
piojo left
05:25
pompomcrab left
05:32
yht joined
05:37
sena_kun joined
|
|||
squashable6 | 🍕 jonathanstowe++ wrote a comment on “Proc::Async example with 「react」”: github.com/perl6/doc/pull/1489#iss...-326723743 | 05:39 | |
🍕🍕🍕 First contribution by jonathanstowe++! ♥ | |||
05:42
zakame left
05:50
cdg joined
05:52
zakame joined
05:53
wamba joined,
HoboWithAShotgun joined
05:55
cdg left
05:56
raschipi left
|
|||
squashable6 | 🍕 AlexDaniel++ opened issue “List.squish supports “wi…”: github.com/perl6/doc/issues/1490 | 05:59 | |
🍕 AlexDaniel++ labeled issue “List.squish supports “wi…”: github.com/perl6/doc/issues/1490 | |||
Geth | doc/traps-indent-fix: 9fd6354e6e | Altai-man++ | doc/Language/traps.pod6 Fix examples indentation |
06:00 | |
squashable6 | 🍕🍕🍕 First contribution by Altai-man++! ♥ | ||
06:01
u-ou- joined
06:02
Cabanossi left
|
|||
Geth | doc: Altai-man++ created pull request #1491: Fix examples indentation |
06:03 | |
squashable6 | 🍕 Altai-man++ opened pull request “Fix examples indentation”: github.com/perl6/doc/pull/1491 | ||
06:04
Cabanossi joined
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Fix examples indentation”: github.com/perl6/doc/pull/1491#iss...-326724797 | 06:04 | |
06:06
u-ou- left,
u-ou- joined
|
|||
squashable6 | 🍕 Altai-man++ self-assigned issue “List.squish supports “wi…”: github.com/perl6/doc/issues/1490 | 06:08 | |
Geth | doc: 9fd6354e6e | Altai-man++ | doc/Language/traps.pod6 Fix examples indentation |
06:09 | |
doc: 1b66b662b6 | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed using GitHub Web editor) | doc/Language/traps.pod6 Merge pull request #1491 from perl6/traps-indent-fix Fix examples indentation |
|||
squashable6 | 🍕 AlexDaniel++ merged pull request “Fix examples indentation”: github.com/perl6/doc/pull/1491 | ||
06:10
u-ou- left,
u-ou- joined,
mr-fooba_ joined
|
|||
squashable6 | 🍕 AlexDaniel++ self-assigned issue “「.nl-in」 and 「.nl-out」 s…”: github.com/perl6/doc/issues/484 | 06:11 | |
🍕 gfldex++ opened pull request “add t/meta.t”: github.com/perl6/doc/pull/1492 | |||
Geth | doc: gfldex++ created pull request #1492: add t/meta.t |
||
squashable6 | 🍕🍕🍕 First contribution by gfldex++! ♥ | ||
06:14
mr-foobar left,
u-ou- left
|
|||
Geth | doc/1490-fix: f3b58a1434 | Altai-man++ | doc/Type/List.pod6 Document `with` of `squish` |
06:17 | |
06:18
travis-ci joined
|
|||
travis-ci | Doc build passed. Altai-man 'Fix examples indentation' | 06:18 | |
travis-ci.org/perl6/doc/builds/271089786 github.com/perl6/doc/commit/9fd6354e6eb6 | |||
06:18
travis-ci left
06:19
Kyo91 joined
|
|||
Geth | doc: Altai-man++ created pull request #1493: Document `with` of `squish` |
06:19 | |
squashable6 | 🍕 Altai-man++ opened pull request “Document `with` of `squish`”: github.com/perl6/doc/pull/1493 | ||
🍕 Altai-man++ requested a review on pull request “Document `with` of `squish`”: github.com/perl6/doc/pull/1493 | |||
Geth | doc: a837f18b94 | (Aleks-Daniel Jakimenko-Aleksejev)++ | htmlify.p6 Fix methods being mistakenly called routines Resolves #484. @subkinds is an array like: [Array[Str].new("method"), Array[Str].new("method")] ... (8 more lines) |
06:20 | |
squashable6 | 🍕 AlexDaniel++ closed issue “「.nl-in」 and 「.nl-out」 s…”: github.com/perl6/doc/issues/484 | ||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Document `with` of `squish`”: github.com/perl6/doc/pull/1493#iss...-326725532 | 06:22 | |
Geth | doc: f3b58a1434 | Altai-man++ | doc/Type/List.pod6 Document `with` of `squish` |
||
doc: c060da8a49 | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed using GitHub Web editor) | doc/Type/List.pod6 Merge pull request #1493 from perl6/1490-fix Document `with` of `squish` |
|||
squashable6 | 🍕 AlexDaniel++ closed issue “List.squish supports “wi…”: github.com/perl6/doc/issues/1490 | ||
squashable6 | 🍕 AlexDaniel++ merged pull request “Document `with` of `squish`”: github.com/perl6/doc/pull/1493 | ||
06:23
Kyo91 left
06:24
Kyo91 joined
|
|||
Geth | doc: 53b822af26 | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Type/List.pod6 Use curly/ascii quotes consistently Both examples are supposed to show the same thing, so there should be no difference in quote styles. For now, let's default to ascii quotes in such cases. |
06:24 | |
squashable6 | 🍕 AlexDaniel++ requested a review on pull request “add t/meta.t”: github.com/perl6/doc/pull/1492 | 06:25 | |
06:26
rindolf joined
|
|||
gfldex | AlexDaniel: travis is still working on that one | 06:26 | |
06:27
xinming joined
|
|||
AlexDaniel | gfldex: sure | 06:27 | |
sena_kun | docs.perl6.org/type/Any#method_kv - there is a whole lot of TODOs. I can try to document it, can someone who is familliar with Any semantics review it afterwards? | 06:28 | |
AlexDaniel | sena_kun: we will figure it out | ||
06:29
Kyo91 left
|
|||
sena_kun | roger~ | 06:29 | |
squashable6 | 🍕 AlexDaniel++ opened issue “A lot of TODOs in Any”: github.com/perl6/doc/issues/1494 | ||
🍕 AlexDaniel++ assigned issue “A lot of TODOs in Any” to Altai-man: github.com/perl6/doc/issues/1494 | |||
AlexDaniel | sena_kun: here's a ticket for convenience | ||
sena_kun | thanks. | 06:30 | |
gfldex | AlexDaniel: please merge /pull/1492, it's a requirement for a blogpost. Travis is happy with it. | 06:32 | |
06:33
P6steve joined
|
|||
P6steve | good morning | 06:33 | |
AlexDaniel | o/ | 06:34 | |
Geth | doc: 34956a9d40 | (Wenzel P. P. Peppmeyer)++ | 2 files add t/meta.t |
06:35 | |
doc: 4f3bfb3b1d | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed using GitHub Web editor) | 2 files Merge pull request #1492 from gfldex/master add t/meta.t |
|||
squashable6 | 🍕 AlexDaniel++ merged pull request “add t/meta.t”: github.com/perl6/doc/pull/1492 | ||
sena_kun | github.com/rakudo/rakudo/blob/nom/...ny.pm#L469 - it's here, but | ||
AlexDaniel | buggable: pizza gfldex | ||
buggable | gfldex, enjoy this slice of Meatzaa pizza, my friend! Yummy 🍕 | ||
sena_kun | m: my $a; $a.sum; | ||
camelia | Use of uninitialized value of type Any in numeric context in block <unit> at <tmp> line 1 |
||
sena_kun | m: Any.sum; # the result is obvious, though | 06:36 | |
camelia | Use of uninitialized value of type Any in numeric context in block <unit> at <tmp> line 1 |
||
P6steve | seeing everyone go ⚛, I am thinking of using a unicode in my project when overloading to avoid conflict and to make it pd obvious when common operators have been tinkered with | ||
I use pain old vi - but it seems to struggle with these double width unicode chars - the next char gets eclipsed by the right half of the unicode - should I dump vi? what works? (macOS) | 06:38 | ||
gfldex | lolibloggedalittle: gfldex.wordpress.com/2017/09/02/hu...nted-bugs/ | ||
unnecessarymulti | who's ready to SQUASH. SOME. BUGS | ||
Geth | doc: 2e76a290bd | (Aleks-Daniel Jakimenko-Aleksejev)++ | META6.json Trailing whitespace and EOF newline Because OCD |
||
AlexDaniel | .pizza unnecessarymulti | ||
buggable: pizza unnecessarymulti | |||
buggable | unnecessarymulti, enjoy this slice of Margherita pizza, my friend! Yummy 🍕 | ||
gfldex | P6steve: i'm using vim in screen in putty and it works fine. So might just be your terminal. | ||
unnecessarymulti | .eternalbliss AlexDaniel | 06:40 | |
buggable pls | |||
P6steve | ok - thanks gilded - I'll try to improve my vi/vim settings | ||
AlexDaniel | P6steve: yeah, it may very well be your terminal | 06:41 | |
unnecessarymulti | are there apocalypse/exegesis docs for those not listed in design.perl6.org? | 06:42 | |
AlexDaniel | unnecessarymulti: no. Also, all materials there are noticeably outdated | 06:43 | |
unnecessarymulti | i'm moreso reading them for context, not correctness | ||
06:44
travis-ci joined
|
|||
travis-ci | Doc build passed. Altai-man 'Document `with` of `squish`' | 06:44 | |
travis-ci.org/perl6/doc/builds/271092167 github.com/perl6/doc/commit/f3b58a14340a | |||
06:44
travis-ci left
|
|||
unnecessarymulti | but thanks AlexDaniel :) | 06:44 | |
06:48
leah2 left
06:52
unnecessarymulti left,
yht left
06:54
Actualeyes left
|
|||
Geth | doc: zakame++ created pull request #1495: Document invocant in method signature |
06:55 | |
squashable6 | 🍕 zakame++ opened pull request “Document invocant in method signature”: github.com/perl6/doc/pull/1495 | ||
Geth | doc: gfldex++ created pull request #1496: use react in Proc::Async, closes #1468 |
06:57 | |
squashable6 | 🍕 gfldex++ opened pull request “use react in Proc::Async, closes #1468”: github.com/perl6/doc/pull/1496 | ||
07:00
zakame left,
firefish5000 left
07:01
imcsk8 left,
imcsk8 joined
|
|||
squashable6 | 🍕 Altai-man++ wrote a comment on “A lot of TODOs in Any”: github.com/perl6/doc/issues/1494#i...-326727105 | 07:02 | |
07:03
zakame joined
|
|||
squashable6 | 🍕 zakame++ wrote a comment on “Document invocant in method signature”: github.com/perl6/doc/pull/1495#iss...-326727138 | 07:03 | |
🍕 AlexDaniel++ wrote a comment on “use react in Proc::Async, closes #1468”: github.com/perl6/doc/pull/1496#iss...-326727177 | 07:04 | ||
🍕 Altai-man++ edited a comment on “A lot of TODOs in Any”: github.com/perl6/doc/issues/1494#i...-326727105 | |||
🍕 gfldex++ synchronize pull request “use react in Proc::Async, closes #1468”: github.com/perl6/doc/pull/1496 | 07:05 | ||
🍕 AlexDaniel++ submitted a review on pull request “use react in Proc::Async, closes #1468”: github.com/perl6/doc/pull/1496#pul...w-60270412 | 07:08 | ||
🍕 AlexDaniel++ wrote a comment on a review for “use react in Proc::Async, closes #1468”: github.com/perl6/doc/pull/1496#dis...r136690920 | |||
gfldex | AlexDaniel: `once` and threads may not mix well. Not sure but I would be careful. One would have to ask jnthn I guess. | ||
AlexDaniel | gfldex: shouldn't be a problem in react block | 07:09 | |
07:10
andrzejku joined
|
|||
squashable6 | 🍕 Altai-man++ wrote a comment on “Unify differences between `multi` and `multi sub`”: github.com/perl6/doc/issues/1189#i...-326727695 | 07:16 | |
07:17
cdg joined
07:19
darutoko joined,
MasterDuke left
|
|||
squashable6 | 🍕 AlexDaniel++ submitted a review on pull request “use react in Proc::Async, closes #1468”: github.com/perl6/doc/pull/1496#pul...w-60270602 | 07:20 | |
🍕 AlexDaniel++ wrote a comment on a review for “use react in Proc::Async, closes #1468”: github.com/perl6/doc/pull/1496#dis...r136691110 | |||
P6steve | for those on macOS Terminal, iTerm-2 (nightly build) gitlab.com/gnachman/iterm2/wikis/u...nswitching fixes emoji overlap such as >print 💩👻🎅⭕❗🎁 | 07:21 | |
07:21
cdg left
|
|||
AlexDaniel | gfldex: I know that my PR may be a bit too complex, but it is kinda correct. The whole Proc::Async thing is a mothertrap unfortunately :-/ | 07:22 | |
Geth | doc: gfldex++ created pull request #1497: be more precise about return types of sub await |
||
squashable6 | 🍕 gfldex++ opened pull request “be more precise about return types of sub await”: github.com/perl6/doc/pull/1497 | ||
07:24
Skarsnik joined
|
|||
gfldex | AlexDaniel: did you test your example in RL code? | 07:24 | |
AlexDaniel | Alright I have to get some sleep. Have a nice squashathon everyone o/ | ||
sena_kun | o/ | ||
AlexDaniel | gfldex: RL code? | ||
gfldex: ah real-life code. | |||
Skarsnik | hello | 07:25 | |
AlexDaniel | gfldex: well, I tested the handling of signals, I don't think I use exactly that anywhere else | ||
gfldex: I did test your example too, it truly leaves the process behind :) | 07:26 | ||
gfldex | AlexDaniel: I think anything you provide should be shown in an example, just not in one go. | ||
squashable6 | 🍕 Altai-man++ edited a comment on “A lot of TODOs in Any”: github.com/perl6/doc/issues/1494#i...-326727105 | 07:27 | |
AlexDaniel | gfldex: I guess you are right. Because of RT #132016 handling of more than one signal at the same time should be omitted too | ||
synopsebot6 | Link: rt.perl.org/rt3/Public/Bug/Display...?id=132016 | ||
gfldex | AlexDaniel: it depends on the process. If you close STDIN most processes will terminate. One does have to explicit with terminating processes indeed. What should be handled in another example, maybe at method kill. | 07:28 | |
AlexDaniel | gfldex: and the delay for SIGKILL on repeated SIGTERM/SIGINT too | ||
gfldex: that's questionable. I hope we can do better than having an example in the lead of a page that works half of the times… | 07:29 | ||
IIRC rakudo does not terminate on closed stdin or stdout | 07:30 | ||
so you can close everything and it will be left doing its thing | 07:31 | ||
gfldex | AlexDaniel: any time one forces to stop a process it will work half of the time. Some processes don't do cleanup when you send them a SIGQUIT. | ||
AlexDaniel | as long as it does not attempt to read or write | ||
07:31
parv joined,
lancew joined
|
|||
gfldex | does $proc.kill really sends SIGHUP? I would have guessed SIGQUIT. | 07:31 | |
SIGTERM even | 07:32 | ||
AlexDaniel | yeah | ||
yeah, SIGTERM would be better | |||
gfldex | I will comment on your PR. | ||
AlexDaniel | gfldex: there's another problem with it, and this is why it sends sighup… | ||
gfldex: if you start a process with proc::async, the process itself may start other processes | 07:33 | ||
so if you want to bring the whole thing down, you have to be a bit smarter than what rakudo can currently do | |||
i.e. bring the whole tree down | |||
SIGHUP just happens to do that, occasionally | 07:34 | ||
in perl5 you can send -SIGTERM (negated) and it will do the right thing | |||
gfldex | if you send HUP to fetchmail it wont :) | ||
AlexDaniel | right, but you're screwed either way | 07:35 | |
from perl5 docs: “A negative signal name is the same as a negative signal number, killing process groups instead of processes. For example, kill '-KILL', $pgrp and kill -9, $pgrp will send SIGKILL to the entire process group specified. That means you usually want to use positive not negative signals.” | 07:36 | ||
I don't know what they're trying to say by “you usually want” | 07:37 | ||
but you definitely don't want to leave a bunch of processes behind if you had to terminate something | |||
IIRC if you Ctrl+C in the terminal, SIGINT is sent to a process group, not just the top process | 07:38 | ||
Skarsnik | probably mean like if you have 10 perl process running and one stuck you just want to kill the right one? | ||
squashable6 | 🍕 zakame++ wrote a comment on “Description of all IRC bots”: github.com/perl6/doc/issues/711#is...-326728541 | ||
🍕 AlexDaniel++ wrote a comment on “Description of all IRC bots”: github.com/perl6/doc/issues/711#is...-326728666 | 07:42 | ||
Skarsnik | AlexDaniel, did you try my fix? (just to know if I have to retest) | 07:44 | |
AlexDaniel | Skarsnik: no | ||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Description of all IRC bots”: github.com/perl6/doc/issues/711#is...-326728793 | ||
AlexDaniel | Skarsnik: well, not yet :) | 07:45 | |
Skarsnik: but please don't hold your breath, I have to sleep and then there's the remaining part of the squashathon… :) | 07:46 | ||
lancew | Good morning everyone! I'm hoping to participate in the bug squashathon. :-) Now... to find the easy ones. | 07:48 | |
07:49
cdg joined
|
|||
AlexDaniel | buggable: pizza lancew | 07:49 | |
buggable | lancew, enjoy this slice of Hawaiian pizza, my friend! Yummy 🍕 | ||
AlexDaniel | lancew: you can try going through github.com/perl6/doc/labels/LHF and github.com/perl6/doc/labels/Hacktoberfest | 07:51 | |
Skarsnik | ok. I will look at it after breafast | 07:52 | |
AlexDaniel | lancew: but looking at it now, it seems like there are some other issues (not marked as LHF) that may be relatively easy | ||
squashable6 | 🍕 lancew++ wrote a comment on “Add note to footer about missing docs”: github.com/perl6/doc/issues/541#is...-326729099 | 07:53 | |
🍕🍕🍕 First contribution by lancew++! ♥ | |||
🍕 toolforger++ wrote a comment on “Description of all IRC bots”: github.com/perl6/doc/issues/711#is...-326729113 | |||
🍕🍕🍕 First contribution by toolforger++! ♥ | |||
07:54
cdg left
|
|||
AlexDaniel | “search” tickets may be relatively easy if you learn how to add things to the index github.com/perl6/doc/issues?q=is%3...l%3Asearch | 07:54 | |
squashable6 | 🍕 AlexDaniel++ assigned issue “Add note to footer about missing docs” to coke: github.com/perl6/doc/issues/541 | ||
lancew | Thanks AlexDaniel Having a scan through. I am working today but have "some" time | ||
07:55
pilne left
|
|||
AlexDaniel | squashable6: status | 07:55 | |
squashable6 | AlexDaniel, 🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈4 hours | ||
AlexDaniel, Log and stats: gist.github.com/bd92413955ae4241bb...a5de77ffd1 | |||
AlexDaniel | lancew: in your timezone you'll probably have some time tomorrow also :) | ||
lancew | :-) | 07:56 | |
07:58
espadrine joined
|
|||
Skarsnik | AlexDaniel, go to sleep and squash ! | 07:58 | |
squashable6 | 🍕 zakame++ wrote a comment on “Description of all IRC bots”: github.com/perl6/doc/issues/711#is...-326729300 | 07:59 | |
AlexDaniel | Skarsnik: have to admit the squashathon is addictive :) | ||
Skarsnik | .squash | 08:00 | |
squashable6 | 🍕 zakame++ wrote a comment on “Int/Real.rand is ambiguous”: github.com/perl6/doc/issues/787#is...-326729429 | 08:01 | |
teatime | Skarsnik: No such method 'squash' for invocant of type 'Any'. Did you mean 'squish'? | ||
AlexDaniel | o/ | 08:05 | |
08:10
SHODAN joined
|
|||
Skarsnik | hulkable6, squash | 08:11 | |
08:14
cdg joined
08:20
cdg left
08:24
Kyo91 joined
08:27
Kyo91_ joined
08:28
setty1 joined
08:29
Kyo91 left
08:31
Kyo91_ left
08:36
parv left
|
|||
squashable6 | 🍕 zakame++ wrote a comment on “Int/Real.rand is ambiguous”: github.com/perl6/doc/issues/787#is...-326731148 | 08:37 | |
08:37
yht joined
08:39
nadim_ joined
08:40
ssm left
|
|||
stmuk_ | Word of the Day: purl, n.3 Hot beer mixed with gin, sometimes also with ginger & sugar, often drunk early in the day | 08:41 | |
08:42
nadim left,
ssm joined
08:48
Cabanossi left
08:49
Cabanossi joined
|
|||
rightfold | classic morning Ballmer peak | 08:49 | |
squashable6 | 🍕 zakame++ opened pull request “Clear ambiguity regarding Int/Real rand()”: github.com/perl6/doc/pull/1498 | 08:50 | |
Geth | doc: zakame++ created pull request #1498: Clear ambiguity regarding Int/Real rand() |
||
08:51
parv joined
08:52
astj left,
yht left
08:53
parv left
08:54
leont joined
|
|||
squashable6 | 🍕 zakame++ wrote a comment on “Type constraint smileys …”: github.com/perl6/doc/issues/1469#i...-326732109 | 08:58 | |
08:59
Sgeo_ left,
astj joined
09:04
yht joined,
HoboWithAShotgun left
09:06
yqt joined
09:08
P6steve left,
lancew left
09:15
nadim_ left
09:17
Cabanossi left
09:19
Cabanossi joined,
mr-fooba_ left
09:22
konsolebox left,
mr-foobar joined
09:25
Sgeo joined,
Ven joined,
Guest69863 joined,
Ven is now known as Guest66504
09:27
konsolebox joined
|
|||
squashable6 | 🍕 Altai-man++ wrote a comment on “Clear ambiguity regarding Int/Real rand()”: github.com/perl6/doc/pull/1498#iss...-326733765 | 09:36 | |
Geth | doc: 032f754dc2 | (Zak B. Elep)++ | doc/Type/Real.pod6 Clear ambiguity regarding Int/Real rand() Specify whether the endpoints are included or not when selecting the pseudo-random number. References: - github.com/perl6/roast/blob/master....t#L13-L30 - github.com/MoarVM/MoarVM/blob/mast...c#L97-L116 Fixes #787. |
09:37 | |
squashable6 | 🍕 Altai-man++ closed issue “Int/Real.rand is ambiguous”: github.com/perl6/doc/issues/787 | ||
🍕 Altai-man++ merged pull request “Clear ambiguity regarding Int/Real rand()”: github.com/perl6/doc/pull/1498 | |||
doc: be9a3c6dae | Altai-man++ (committed using GitHub Web editor) | doc/Type/Real.pod6 Merge pull request #1498 from zakame/clear-rand-ambiguity Clear ambiguity regarding Int/Real rand() |
|||
zakame | buggable: pizza sena_kun | ||
buggable | sena_kun, enjoy this slice of Mexican Green Wave pizza, my friend! Yummy 🍕 | ||
squashable6 | 🍕 zakame++ wrote a comment on “Clear ambiguity regarding Int/Real rand()”: github.com/perl6/doc/pull/1498#iss...-326733825 | 09:38 | |
Geth | doc: gfldex++ created pull request #1499: tell what use is looking for, hint to where. closes #1454 |
09:41 | |
squashable6 | 🍕 gfldex++ opened pull request “tell what use is looking…”: github.com/perl6/doc/pull/1499 | ||
🍕 Altai-man++ wrote a comment on “tell what use is looking…”: github.com/perl6/doc/pull/1499#iss...-326733996 | 09:43 | ||
Geth | doc: c094277e22 | (Wenzel P. P. Peppmeyer)++ | doc/Language/modules.pod6 tell what use is looking for, hint to where. closes #1454 |
||
doc: de4818124b | Altai-man++ (committed using GitHub Web editor) | doc/Language/modules.pod6 Merge pull request #1499 from gfldex/#1454 tell what use is looking for, hint to where. closes #1454 |
|||
squashable6 | 🍕 Altai-man++ merged pull request “tell what use is looking…”: github.com/perl6/doc/pull/1499 | ||
🍕 Altai-man++ closed issue “be explicit that `use` looks for *.pm and *.pm6”: github.com/perl6/doc/issues/1454 | |||
squashable6 | 🍕 zakame++ wrote a comment on “Type constraint smileys …”: github.com/perl6/doc/issues/1469#i...-326734035 | 09:44 | |
🍕 gfldex++ opened issue “we don't tell where modu…”: github.com/perl6/doc/issues/1500 | |||
09:46
llfourn left
|
|||
squashable6 | 🍕 zakame++ edited a comment on “Type constraint smileys …”: github.com/perl6/doc/issues/1469#i...-326734035 | 09:46 | |
09:46
dogbert2 joined,
nadim_ joined
09:48
Skarsnik_ joined
|
|||
Geth | doc: 851cbb9920 | Altai-man++ | doc/Language/modules.pod6 Fix up indentation |
09:49 | |
09:49
mr-foobar left
09:51
Skarsnik left
09:52
eater left
09:53
mr-foobar joined
09:54
eater joined
|
|||
Geth | doc: gfldex++ created pull request #1501: Show how to put modules into default locations. closes #1500 |
09:55 | |
squashable6 | 🍕 gfldex++ opened pull request “Show how to put modules …”: github.com/perl6/doc/pull/1501 | ||
09:56
nadim_ left
|
|||
squashable6 | 🍕 Altai-man++ wrote a comment on “Show how to put modules …”: github.com/perl6/doc/pull/1501#iss...-326734636 | 09:58 | |
🍕 Altai-man++ edited a comment on “Show how to put modules …”: github.com/perl6/doc/pull/1501#iss...-326734636 | |||
09:59
nadim joined,
parv joined
10:00
espadrine left,
astj left,
konsolebox left
10:01
piojo joined
10:03
Guest66504 left
10:05
Ven joined,
Ven is now known as Guest63547
10:09
konsolebox joined
|
|||
squashable6 | 🍕 Altai-man++ wrote a comment on “A lot of TODOs in Any”: github.com/perl6/doc/issues/1494#i...-326735156 | 10:11 | |
🍕 Altai-man++ edited a comment on “A lot of TODOs in Any”: github.com/perl6/doc/issues/1494#i...-326727105 | |||
10:11
eythian left
|
|||
squashable6 | 🍕 Altai-man++ edited a comment on “A lot of TODOs in Any”: github.com/perl6/doc/issues/1494#i...-326727105 | 10:11 | |
10:13
eythian joined
10:19
mr-foobar left,
mr-fooba_ joined
|
|||
Guest63547 | o/ | 10:21 | |
10:21
yht left
|
|||
Guest63547 | uh | 10:21 | |
10:21
Guest63547 is now known as Ven``
|
|||
sena_kun | o/ | 10:21 | |
10:22
astj joined
10:24
leah2 joined,
parv left
10:25
astj left
10:27
ShalokShalom_ joined
10:29
ShalokShalom left
10:36
imcsk8 left,
imcsk8 joined,
margeas joined
10:37
purcell joined
|
|||
samcv | night all o/ | 10:37 | |
10:38
Skarsnik joined
|
|||
sena_kun | o/ | 10:38 | |
10:40
Kyo91_ joined
10:41
Skarsnik_ left
10:45
Kyo91_ left
10:50
pmurias joined
|
|||
pmurias | re signals bug, I guess we need to figure out how we want that to work and fix it | 10:51 | |
10:51
Guest69863 left
|
|||
pmurias | rather then document that it's buggged | 10:51 | |
11:02
purcell left
|
|||
pmurias | I'm not sure if we want to expose signal numbers as an enum as it seems to be specific to a given os+architecture | 11:04 | |
leont | Also they're sometimes not unique | 11:05 | |
pmurias | leont: you mean two different signal share a number? | 11:17 | |
leont | A signal may have more than one name | 11:18 | |
E.G. SIGIO/SIGPOLL | |||
(on Linux) | |||
And real-time signals don't really have a name, they're commonly used as SIGRTMIN + 6 and such | 11:19 | ||
11:25
vendethiel- joined
|
|||
lizmat | I guess we need to get the info of $*KERNEL.signals into the enums somehow at install time | 11:29 | |
11:30
piojo left
|
|||
jnthn | fwiw, I never intended the enum values to mean anything other than a value that would be mapped by the underlying VM | 11:30 | |
11:30
piojo joined
|
|||
jnthn | Since otherwise trying to do things like building the bytecode files on one (powerful) platform and shipping them to some other tiny one, which just needed a MoarVM built, would go very badly. | 11:32 | |
(As the numbers may be different.) | |||
I figure that's why the introspection interface is on $*KERNEL rather than $?KERNEL | 11:33 | ||
sena_kun | m: say Any.produce(&[**]); | ||
camelia | Nil | ||
sena_kun | I can safely assume that `produce` returns `Nil` with any args? | 11:34 | |
11:34
vendethiel- left
|
|||
jnthn | So anyways, y'all are looking at a concious design call rather than a bug. :) You can of course disagree with the design call, so long as you understand the consequences. :) | 11:34 | |
11:38
vendethiel- joined
|
|||
squashable6 | 🍕 Altai-man++ edited a comment on “A lot of TODOs in Any”: github.com/perl6/doc/issues/1494#i...-326727105 | 11:40 | |
lizmat | jnthn: do you agree that they *could* be enums, but created at install time ? | 11:46 | |
11:47
vendethiel- left
|
|||
jnthn | It's an enum now, no? | 11:48 | |
m: say SIGINT.HOW.^name | |||
camelia | Perl6::Metamodel::EnumHOW | ||
11:48
Cabanossi left
11:49
Cabanossi joined
|
|||
lizmat | afk& | 11:49 | |
11:56
wamba left
11:58
ChoHag left
12:00
ChoHag joined,
koto joined,
koto left
12:01
koto joined
12:02
koto left,
wamba joined
12:03
sena_kun left
12:10
ChoHag left
12:11
ChoHag joined,
sena_kun joined
12:15
rindolf left
12:20
Voldenet left
12:21
Voldenet joined,
Voldenet left,
Voldenet joined
12:23
Voldenet left
|
|||
squashable6 | 🍕 moritz++ self-assigned issue “docs.perl6.org/l…”: github.com/perl6/doc/issues/1461 | 12:23 | |
Geth | doc: 442a922e06 | (Moritz Lenz)++ | html/.htaccess /language now redirects to language.html This is for issue #1461 |
||
12:24
Voldenet joined,
Voldenet left,
Voldenet joined
|
|||
Geth | doc: 96dc0505b1 | (Wenzel P. P. Peppmeyer)++ (committed by Moritz Lenz) | doc/Type/Promise.pod6 be more precise about return types of sub await |
12:25 | |
12:25
rindolf joined
|
|||
squashable6 | 🍕 moritz++ merged pull request “be more precise about return types of sub await”: github.com/perl6/doc/pull/1497 | 12:25 | |
🍕 zoffixznet++ closed issue “Regex )> and <( are not documented”: github.com/perl6/doc/issues/462 | 12:26 | ||
🍕 zoffixznet++ wrote a comment on “Regex )> and <( are not documented”: github.com/perl6/doc/issues/462#is...-326741237 | |||
🍕 moritz++ edited a review on pull request “Document invocant in method signature”: github.com/perl6/doc/pull/1495#pul...w-60274847 | 12:28 | ||
🍕 moritz++ submitted a review on pull request “Document invocant in method signature”: github.com/perl6/doc/pull/1495#pul...w-60274847 | |||
🍕 moritz++ wrote a comment on a review for “Document invocant in method signature”: github.com/perl6/doc/pull/1495#dis...r136694973 | |||
🍕 zakame++ wrote a comment on a review for “Document invocant in method signature”: github.com/perl6/doc/pull/1495#dis...r136695012 | 12:29 | ||
🍕 zakame++ submitted a review on pull request “Document invocant in method signature”: github.com/perl6/doc/pull/1495#pul...w-60274883 | |||
Geth | doc: 60860aecc9 | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed by Moritz Lenz) | doc/Type/Proc/Async.pod6 Proc::Async example with 「react」 Tackle issue #1468. IMO in this case it is reasonable to expect that people will be copying the example and reducing it to their needs, so I tried to include everything that may be needed. ... (6 more lines) |
12:30 | |
squashable6 | 🍕 moritz++ merged pull request “Proc::Async example with 「react」”: github.com/perl6/doc/pull/1489 | ||
doc: 839ce8b930 | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed by Moritz Lenz) | doc/Type/Proc/Async.pod6 Show example output |
|||
doc: fb916ea6d7 | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed by Moritz Lenz) | doc/Type/Proc/Async.pod6 Show how to get exit code from Proc::Async Possibly resolves issue #1465. |
|||
12:30
Aaronepower left
|
|||
squashable6 | 🍕 zakame++ synchronize pull request “Document invocant in method signature”: github.com/perl6/doc/pull/1495 | 12:33 | |
12:35
sena_kun left
|
|||
pmurias | jnthn: re design decision choosing misleading numbers as enum values seems really unfortunate | 12:35 | |
12:36
wamba left,
Caelum joined
|
|||
timotimo | oh wow, this failure mode for grammar::tracer is amazing | 12:37 | |
it only shows TOP, but for every test in the file it starts at a deeper nesting level | |||
squashable6 | 🍕 zoffixznet++ wrote a comment on “Type constraint smileys …”: github.com/perl6/doc/issues/1469#i...-326741736 | 12:38 | |
piojo | that's what you get when you write a super amazing debugging tool in 44 lines ;) | ||
at least, I read a blog that said it was 44 lines. Haven't checked. | |||
timotimo | you mean grammar tracer? | ||
piojo | timotimo: yeah | ||
timotimo | that one's a little bigger than that | ||
piojo | The article said the debugger is longer, but tracer is short | 12:39 | |
lizmat | jnthn: how about this idea: having the make file run a tools/build/MAKE_SIGNALS.nqp that would modify src/core/signals.pm before concatenating for the core setting build ? | ||
timotimo | it has a "use Grammar::Debugger::WrapCache" in there that could very well be added to the line count | ||
pmurias | lizmat: in the setting the enum values are mapped to constants from nqp | ||
piojo | `zef look`ing now... | ||
lizmat | pmurias: so you're saying the nqp values are wrong ? | 12:40 | |
pmurias | lizmat: for example there is a mapping between SIGKILL and nqp::const::SIG_KILL | ||
lizmat: I'm looking into it but it seems that MoarVM sends the wrong signal | |||
12:41
lancew joined
|
|||
squashable6 | 🍕 moritz++ submitted a review on pull request “Document invocant in method signature”: github.com/perl6/doc/pull/1495#pul...w-60275062 | 12:42 | |
🍕 zakame++ wrote a comment on “Type constraint smileys …”: github.com/perl6/doc/issues/1469#i...-326741942 | 12:43 | ||
pmurias | lizmat: the precise value of SIGKILL and nqp::const::SIG_KILL should matter at all (even if they where for example 777 and 888) but MoarVM should use the correct signal for the OS | 12:45 | |
12:46
Cabanossi left
12:47
rindolf left
|
|||
Zoffix | "should we solidify calling these particular constraints as "type smileys"?" If anyone wants to chime in: github.com/perl6/doc/issues/1469#i...-326741942 | 12:47 | |
I thought that's what we called it, but maybe that's just a colloquial | 12:48 | ||
12:49
Cabanossi joined,
niceperl joined
|
|||
zakame | haha yeah "definiteness/definedness type constraints" can get a mouthful rather quick :D | 12:51 | |
12:52
Ven`` left,
Skarsnik_ joined
|
|||
pmurias | do we have something like an enum but that blocks the user to get the actual value? | 12:54 | |
Geth | doc: 540f62d3a8 | (Zoffix Znet)++ | Makefile Make `make run` run morbo - Morbo auto-restarts the app after changes to watched files |
||
doc: 75a1b67111 | (Zoffix Znet)++ | 2 files Remove insertion of default Pod::To::HTML CSS - Fixes #1407 - The look after this commit appears to be the same as pre-commit so it doesn't look like the removed CSS was doing much of a job |
|||
squashable6 | 🍕 zoffixznet++ closed issue “using CSS from another perl6.org site”: github.com/perl6/doc/issues/1407 | ||
12:54
Skarsnik__ joined
12:55
rindolf joined
|
|||
jnthn | lizmat: Sure, if you agree that "you can build Rakudo on one system and ship the bytecode files to another" is something we no longer care to support. | 12:55 | |
squashable6 | 🍕 moritz++ closed pull request “Document invocant in method signature”: github.com/perl6/doc/pull/1495 | ||
🍕 moritz++ reopened pull request “Document invocant in method signature”: github.com/perl6/doc/pull/1495 | |||
Geth | doc: 7b7c09841b | (Zak B. Elep)++ (committed by Moritz Lenz) | doc/Language/objects.pod6 Document invocant in method signature Add documentation on setting invocant in method signatures, using type constraints to define class and object methods, and using multi declarator for defining same-name class and object methods. Fixes #1121. |
||
squashable6 | 🍕 moritz++ closed issue “Document use of method i…”: github.com/perl6/doc/issues/1121 | ||
lizmat | jnthn: ok, point taken :-) | 12:56 | |
squashable6 | 🍕 moritz++ merged pull request “Document invocant in method signature”: github.com/perl6/doc/pull/1495 | ||
12:56
Skarsnik left
|
|||
Geth | doc: 1e20a10a7a | (Zak B. Elep)++ (committed by Moritz Lenz) | doc/Language/objects.pod6 :lipstick: s/comma/colon/ on method signature invocant description Thanks @moritz! |
12:56 | |
jnthn | lizmat: I'm sure that we have *other* cases that don't work out so well in this case, though. | ||
lizmat: So it's not like this would be the first thing that gets in the way of doing that. But if we do it, it'll probably be the first one where we've intentionally done so. | 12:57 | ||
12:58
Skarsnik_ left
|
|||
squashable6 | 🍕 zakame++ wrote a comment on “Document invocant in method signature”: github.com/perl6/doc/pull/1495#iss...-326742647 | 12:59 | |
pmurias | jnthn: the low level design bug is that nqp::killprocasync takes as a first argument either a nqp::const or a raw signal number | ||
jnthn: and they overlap | |||
jnthn | pmurias: Hm, it was meant to be the nqp::const:: I thought. | ||
At least, that's how I'd initially intended it. | |||
I don't know that I intended that op to ever take an actual signal number. | 13:00 | ||
pmurias | the other bug is that MoarVM sends wrong signals for some nqp::const:: because it doesn't do a mapping | 13:01 | |
13:01
skids joined
|
|||
Geth | doc: 8fc1c69513 | (Moritz Lenz)++ | html/.htaccess Try to fix /language/ redirect the previous attempt redirect /language/ to /language.html/. This if for issue #1461 |
13:01 | |
squashable6 | 🍕 moritz++ wrote a comment on “Document invocant in method signature”: github.com/perl6/doc/pull/1495#iss...-326742810 | 13:02 | |
13:02
yht joined
|
|||
jnthn | huh, indeed, it's not doing the same mapping | 13:02 | |
github.com/MoarVM/MoarVM/blob/mast...nals.c#L61 is how it should be done | 13:03 | ||
squashable6 | 🍕 zakame++ wrote a comment on “Document invocant in method signature”: github.com/perl6/doc/pull/1495#iss...-326742855 | ||
13:03
astj joined
|
|||
squashable6 | 🍕 gfldex++ synchronize pull request “Show how to put modules …”: github.com/perl6/doc/pull/1501 | 13:03 | |
🍕 gfldex++ wrote a comment on “Show how to put modules …”: github.com/perl6/doc/pull/1501#iss...-326742921 | 13:04 | ||
leont | Fun fact: if you add a role called Scalar to your module, you get really confusing error messages… | ||
timotimo | haha | 13:05 | |
yeah, you can lexically override most things | |||
lizmat | perhaps some of these should warn (at least) ? | ||
jnthn | Or always be resolved in the setting | 13:06 | |
We updated a few things to do that | |||
timotimo | m: class Int { }; 1 + 2 | ||
camelia | ===SORRY!=== This type cannot box a native integer: P6opaque, Int |
||
timotimo | well, that's not interesting at all | ||
lizmat | m: class Int {} | 13:07 | |
camelia | ===SORRY!=== This type cannot box a native integer: P6opaque, Int |
||
lizmat | you don't even need the 1+2 :-) | ||
13:07
ntinos left
|
|||
lizmat | m: role Int { } # whee! | 13:07 | |
camelia | ===SORRY!=== You cannot create an instance of this type (Int) |
||
13:08
astj left
|
|||
timotimo | ah, it won't even try to pun the role | 13:08 | |
because it really does expect the class Int to be there | |||
m: class Int { has int $.blah is box_target }; | |||
camelia | ===SORRY!=== P6opaque: must compose Int before allocating |
||
leont | This should either always be resolved in the setting, or give a much better error message | ||
timotimo | heh. | ||
jnthn | Probably "always resolve in setting" is a better bet | 13:09 | |
timotimo | imo it's cool that things aren't resolved in the setting | ||
aaw | |||
jnthn | For things like Int, Num, Str, etc. | ||
I mean, Int.new(...) clearly should not | |||
But for literals | |||
timotimo | mhm | ||
jnthn | It's not like people who actually want to do this can't write their own setting :) | 13:10 | |
13:10
ntinos joined
|
|||
timotimo | or slang | 13:10 | |
jnthn | Yeah | ||
But for most people this is just something to trip over | |||
leont | The fact that Scalar is rather hidden made my case rather annoying | ||
It wasn't until I realized "oh right, the scalar container" that I had a clue of what was going on | |||
timotimo | we already have a slang like that | 13:11 | |
13:14
lancew left
|
|||
timotimo | overload::constant | 13:14 | |
though that is more about getting a call for every literal that passes the string | 13:15 | ||
so you can return whatever you want | |||
squashable6 | 🍕 zakame++ wrote a comment on “"it would be more useful…”: github.com/perl6/doc/issues/1212#i...-326743467 | 13:16 | |
13:17
Cabanossi left
13:19
Cabanossi joined
|
|||
pmurias | jnthn: in terms of the high level interface the value of some enum members "accidentally" being the same as the os signal number is confusing | 13:19 | |
m: say +SIGINT | 13:20 | ||
camelia | 2 | ||
13:21
espadrine joined,
niceperl left
|
|||
pmurias | jnthn: ^^ this looks like it's the number of SIGINT | 13:22 | |
m: say +SIGUSR1 # the value of the os level SIGUSR1 is different across platforms | |||
camelia | 30 | ||
13:27
espadrine left
|
|||
squashable6 | 🍕 zoffixznet++ closed issue “「Examples」 link is weird”: github.com/perl6/doc/issues/710 | 13:30 | |
Geth | doc: b8a2ded9e1 | (Zoffix Znet)++ | assets/sass/style.scss Mark "Examples" and "Chat" menu items as external links Fixes #710 |
||
13:32
ShalokShalom_ is now known as ShalokShalom
13:35
Workinggenius joined
13:36
Workinggenius left
|
|||
Geth | doc: d7ed308f3c | (Zoffix Znet)++ | assets/sass/style.scss Reduce width when vertical TOC shows up - Fixes #690 - Isn't much relevant due to plans to convert the site to BS |
13:38 | |
squashable6 | 🍕 zoffixznet++ closed issue “Use smaller width for tr…”: github.com/perl6/doc/issues/690 | ||
13:41
PerlMonger joined
|
|||
PerlMonger | Hi guys. | 13:41 | |
Zoffix | \o | ||
buggable: pizza PerlMonger | |||
buggable | PerlMonger, enjoy this slice of Cheese and Pepperoni pizza, my friend! Yummy 🍕 | ||
PerlMonger | nomnomnom | ||
Very tasty! | 13:42 | ||
Zoffix | \o/ | ||
PerlMonger | Needs some ketchup, though. | ||
Zoffix | :) | 13:43 | |
13:45
sena_kun joined
|
|||
Geth | doc: 45f50b1b1c | (Wenzel P. P. Peppmeyer)++ (committed by Moritz Lenz) | doc/Language/modules.pod6 Show how to put modules into default locations. closes #1500 (#1501) |
13:45 | |
squashable6 | 🍕 moritz++ merged pull request “Show how to put modules …”: github.com/perl6/doc/pull/1501 | ||
🍕 moritz++ closed issue “we don't tell where modu…”: github.com/perl6/doc/issues/1500 | |||
PerlMonger | Guys, this might sound very noobish but plz no kil | 13:47 | |
Zoffix | We won't :) | ||
timotimo | aaw, i don't want to boundscheck, but if i don't i segfault :D | 13:48 | |
Zoffix | PerlMonger: so, what's up? | 13:50 | |
PerlMonger | If I'm trying to create a window in Perl6, can I use openGL or do I have to call directly from the libDRM? | ||
Zoffix | Oh, no idea :) | 13:51 | |
(so much for noobish question :P) | |||
PerlMonger | lol | 13:52 | |
How do people usually make windows in Perl6? | 13:53 | ||
sena_kun | PerlMonger, I am a tea pot, but, you want a "low-level" window with the ability to draw primitives, right? If you want a window with buttons, labels and stuff, maybe you want some more high-level things like gtk? | ||
teatime | very carefully? :) | ||
timotimo | m: say now / 10 | 13:54 | |
camelia | 150436048.699602 | ||
timotimo | m: say now div 10 | ||
camelia | Cannot resolve caller infix:<div>(Instant, Int); none of these signatures match: (Int:D \a, Int:D \b) (int $a, int $b --> int) in block <unit> at <tmp> line 1 |
||
timotimo | ^- is there a good reason for this? is it because "but how are we supposed to round the LHS? truncate, round, ...?) | ||
" | |||
Zoffix | PerlMonger: personally, I never made any windows. Mostly do processing scripts or web. I think other folks use GTK or something | 13:55 | |
buggable: eco gtk | |||
buggable | Zoffix, Found 4 results: GTK::Simple, GTK::Simpler, GTK::Scintilla, Inform. See modules.perl6.org/s/gtk | ||
Zoffix | PerlMonger: ^ maybe check out one of those modules? | ||
teatime | oh, weird why did I read that as "how do people usually build Perl6 on Windows" | ||
13:55
Deep_Thought joined
|
|||
PerlMonger | Ahh, thanks guys! | 13:55 | |
sena_kun | Or he can try github.com/timo/SDL2_raw-p6 if he needs a low-level stuff. | 13:56 | |
PerlMonger | No, I was looking for something like gtk, I just didn't know whether there was anything Perl6 compatible | 13:57 | |
Zoffix | timotimo: it's one of the rough edges. In some places we just .Int non-Int numerals, in others (like above) we just die. It needs some standard way to polish it all everywhere, possibly. | ||
13:57
piojo left
|
|||
Zoffix | m: "abc".comb(1.5).say | 13:57 | |
camelia | Cannot resolve caller comb(Str: Rat); none of these signatures match: (Str:D $: *%_) (Str:D $: Int:D $size is copy, $limit = *, *%_) (Str:D $: Str $pat, *%_) (Str:D $: Str $pat, $limit, *%_) (Str:D $: Regex:D $pattern, :$mat… |
||
Zoffix | m: "abc".comb[1.5].say | ||
camelia | b | ||
Zoffix | m: "abc".comb.pick(1.5).say | 13:58 | |
camelia | (a) | ||
lizmat | unfortunately, I'm not really able to participate in the Squashathon | 13:59 | |
but I'm looking forward to reporting the results in the next P6W :-) | |||
afk again& | |||
Zoffix | lizmat: that's still participation, I'd say :) | 14:00 | |
14:02
Guest69863 joined
14:03
piojo joined,
Cabanossi left
|
|||
squashable6 | 🍕 Altai-man++ edited a comment on “A lot of TODOs in Any”: github.com/perl6/doc/issues/1494#i...-326735156 | 14:03 | |
🍕 Altai-man++ edited a comment on “A lot of TODOs in Any”: github.com/perl6/doc/issues/1494#i...-326727105 | |||
sena_kun | Ugh. | ||
Okay, let's not edit things for now... | 14:04 | ||
14:04
Cabanossi joined
|
|||
Zoffix | Opened a ticket for that: github.com/perl6/whateverable/issues/225 | 14:05 | |
squashable6 | 🍕 moritz++ wrote a comment on “docs.perl6.org/l…”: github.com/perl6/doc/issues/1461#i...-326745968 | ||
🍕 moritz++ closed issue “docs.perl6.org/l…”: github.com/perl6/doc/issues/1461 | |||
sena_kun | Zoffix++ | ||
14:05
audiatorix joined
|
|||
audiatorix | Any idea why the following would not work: my $app = Web::App::Dispatch.new($scgi); when the signature for the method is: method new ($engine) | 14:07 | |
Zoffix | audiatorix: what's the error? | ||
audiatorix | It says I'm passing 2 parameters when 1 is expected but clearly not | ||
Too many positionals passed; expected 1 argument but got 2 | 14:08 | ||
Zoffix | audiatorix: the 2 parameters == invocant + $scgi variable | ||
14:08
piojo2 joined
|
|||
Zoffix | audiatorix: looks like method new ($engine) isn't what you're actually calling | 14:08 | |
audiatorix | Ahh | ||
I'm doing exactly what the creator's example code does | 14:09 | ||
Zoffix | What modules is it from? | ||
audiatorix | Web | ||
Supernovus' perl6-web | 14:10 | ||
github.com/supernovus/perl6-web | |||
14:10
piojo left
|
|||
audiatorix | Web::App::Dispatch is a more specific Web::App it seems | 14:10 | |
squashable6 | 🍕 raiph++ wrote a comment on “"it would be more useful…”: github.com/perl6/doc/issues/1212#i...-326746308 | 14:11 | |
🍕🍕🍕 First contribution by raiph++! ♥ | |||
audiatorix | I think the problem is that new shouldn't be a method, right? | 14:12 | |
because new exists before any instance is created | |||
14:13
piojo2 left
|
|||
Zoffix | audiatorix: nah, I found the problem. 1 sec | 14:14 | |
raiph | audiatorix: did you checkout mi.cro.services per my earlier comment to you? curious to hear what you thought for your use case. | ||
(gotta run for now but will read log later, prolly this pm) | 14:15 | ||
14:15
piojo2 joined
|
|||
Zoffix | audiatorix: the module's is using .bless call that's no longer supported. I sent a PR to fix that ( github.com/supernovus/perl6-web/pull/18 ) and you can install that version with zef --force-install install github.com/zoffixznet/perl6-web/ar...atch-2.zip BUT, while the server from Example 2 now starts, it dies with "Invalid netstring stream data." when I try to load the page in the | 14:16 | |
browser; maybe that's just not supposed to be used from the brower or maybe it's another bug, I dunno :) | |||
audiatorix | Hm | 14:17 | |
okay, I may try Cro instead, since this seems to be a bit out of date | |||
Not sure if I like the API on Cro though | |||
Zoffix | Sounds like a plan. | ||
audiatorix | Much more well-documented though | 14:20 | |
thanks | |||
I didn't see that last night | |||
14:21
mr_ron joined
14:24
pilne joined
14:27
Skarsnik_ joined
|
|||
squashable6 | 🍕 ronaldxs++ wrote a comment on “Document invocant in method signature”: github.com/perl6/doc/pull/1495#iss...-326747280 | 14:28 | |
🍕🍕🍕 First contribution by ronaldxs++! ♥ | |||
🍕 zakame++ wrote a comment on “Document invocant in method signature”: github.com/perl6/doc/pull/1495#iss...-326747314 | 14:29 | ||
14:30
Skarsnik__ left
14:35
audiatorix left
14:40
|oLa| left,
|oLa|1 joined
|
|||
timotimo | damn, %= is a nice operator | 14:41 | |
wow. | |||
Zoffix | lulz | 14:44 | |
timotimo is making trippy animations with SDL2_raw | |||
14:44
|oLa|1 left
14:45
konsolebox left
14:48
chsanch joined
|
|||
sena_kun | m: Any.print-nl(); | 14:51 | |
camelia | Too many positionals passed; expected 1 argument but got 2 in block <unit> at <tmp> line 1 |
||
sena_kun | eeeeeeeh? | ||
o.O | |||
14:52
konsolebox joined
|
|||
Zoffix | s: Any, 'print-nl', \() | 14:52 | |
SourceBaby | Zoffix, Sauce is at github.com/rakudo/rakudo/blob/85a9...ny.pm#L465 | ||
sena_kun | I know where it is. | ||
But. | |||
Zoffix | Don't know why it was needed: github.com/rakudo/rakudo/commit/2c...68e34cdf01 | 14:53 | |
sena_kun | maybe there were reasons. | 14:54 | |
Zoffix | (is it in roast? If not, perhaps it should be removed) | ||
sena_kun | the thing that concerns me right now is why there are two args passed, not one. :/ | ||
m: Any.print-nl; | 14:55 | ||
camelia | Too many positionals passed; expected 1 argument but got 2 in block <unit> at <tmp> line 1 |
||
sena_kun | This definetely looks like only the instance is passed. For me, at least. | ||
Zoffix | sena_kun: see the link from the bot. It delegates it to self.print: "\n" | ||
That's where the error is from | |||
sena_kun | ah. | ||
14:56
Deep_Thought left
|
|||
sena_kun | hmmm. | 14:56 | |
I won't "document" it then. | |||
14:56
audiatorix joined
14:57
Deep_Thought joined
|
|||
Geth | doc: 83ca0dcbca | (Zoffix Znet)++ | template/header.html Improve alt="" of logo - Use text version of Camelia - Fixes overlapping text when images are off |
14:58 | |
doc: cc66622de1 | (Zoffix Znet)++ | 2 files Make site pass Chrome's Accessibility Audit Fixes #1084 |
|||
squashable6 | 🍕 zoffixznet++ closed issue “Need higher contrast for highlighted code”: github.com/perl6/doc/issues/1084 | ||
squashable6 | 🍕 Altai-man++ wrote a comment on “A lot of TODOs in Any”: github.com/perl6/doc/issues/1494#i...-326749193 | ||
14:58
pmurias left
|
|||
audiatorix | Does anyone know of a module for a simple console that stops output from writing in the middle of input | 14:58 | |
sena_kun | audiatorix, e.g. with ^C or something? | 14:59 | |
and define "console", please. Do you want a REPL? | |||
audiatorix | Well | ||
I want a way to get input and give output in the terminal, so that when a line is written out, it won't just write in the middle of what's being typed | 15:00 | ||
I have seen it in other languages but | 15:01 | ||
squashable6 | 🍕 zoffixznet++ wrote a comment on “using CSS from another perl6.org site”: github.com/perl6/doc/issues/1407#i...-326749444 | ||
audiatorix | I'd rather not implement all that myself if possible | 15:02 | |
15:04
Guest69863 left
15:05
Deep_Thought left,
konsolebox left
|
|||
squashable6 | 🍕 ronaldxs++ wrote a comment on “Document use of method i…”: github.com/perl6/doc/issues/1121#i...-326749741 | 15:07 | |
🍕 ronaldxs++ reopened issue “Document use of method i…”: github.com/perl6/doc/issues/1121 | |||
15:07
Skarsnik_ left
15:09
ChoHag left
15:10
audiatorix left
15:11
konsolebox joined
|
|||
Zoffix | "Rakudo Star is available from Homebrew, and Rakudo from MacPorts." is that stuff maintained by anyone? Anyone got a mac handy? What version it got in it? brew info rakudo-star | 15:11 | |
squashable6 | 🍕 zakame++ wrote a comment on “Document use of method i…”: github.com/perl6/doc/issues/1121#i...-326749997 | ||
chsanch | $ brew info rakudo-star | 15:12 | |
rakudo-star: stable 2017.07 (bottled) | |||
Zoffix | Looks up to date. Thanks :) | 15:13 | |
stmuk_ | www.youtube.com/watch?v=wGrEzlHqKQg | 15:15 | |
chsanch | Yah, they keep it updated, but I prefer to use rakudobrew. | ||
Zoffix | heh | 15:16 | |
I'm actually updating the download page to toss rakudobrew :) | |||
15:19
raiph left
|
|||
squashable6 | 🍕 Altai-man++ edited a comment on “A lot of TODOs in Any”: github.com/perl6/doc/issues/1494#i...-326749193 | 15:19 | |
sena_kun | samcv, ping? | 15:22 | |
samcv | pong? | ||
sena_kun | o/ | ||
samcv | pingpong? | ||
ping?pong? | |||
how are you | |||
lizmat | stmuk_: thanks for the link of this lightning talk by ven | 15:24 | |
mr_ron | zakame, ping - preferably in private chat or here is ok | ||
sena_kun | Feeling delightful, thanks. I am now trying to do something with a wall of TODOs for Any type. Since github.com/rakudo/rakudo/commit/56...e75ad3a986 is yours, can you, please, in a line or two provide an explanation for that method on Any? Because it doesn't seem like some other method call, so I am not sure what should I fill it there. | ||
lizmat | afk again& | ||
sena_kun | m: Any.collate; | 15:25 | |
camelia | ( no output ) | ||
sena_kun | m: say Any.collate; | ||
camelia | ((Any)) | ||
samcv | m: say Any.sort | ||
camelia | ((Any)) | ||
sena_kun | This method returns you an Any wrapped in a List. No charge! :D | ||
samcv | yep | 15:26 | |
sena_kun | So I can write something like, lets see... | ||
timotimo | in other places you pay a few cents extra to get you stuff put into a bag | ||
sena_kun | Calls a `sort` method, but, hmm, it is not an explanation, just some sources observation. Hmmmm. | 15:27 | |
samcv | m: dd "sena_kun".sort | ||
camelia | ("sena_kun",).Seq | ||
timotimo | "sorts using the unicode collation algorithm" | 15:28 | |
squashable6 | 🍕 zakame++ edited a comment on “Document use of method i…”: github.com/perl6/doc/issues/1121#i...-326749997 | ||
samcv | well you get it throwing when doing | 15:29 | |
m: use experimental :collation; dd (Any, "sena_kun").collate | |||
camelia | Cannot resolve caller infix:<coll>(Any, Str); none of these signatures match: (Str:D \a, Str:D \b --> Order:D) (Cool:D \a, Cool:D \b --> Order:D) (Pair:D \a, Pair:D \b) in block <unit> at <tmp> line 1 |
||
samcv | probably needs an RT | ||
sena_kun | m: say "天ノ弱".comb.collate; | ||
camelia | Use of the 'coll' operator is experimental; please 'use experimental :collation' in block <unit> at <tmp> line 1 |
||
sena_kun | m: use experimental :collation; say "天ノ弱".comb.collate; | 15:30 | |
camelia | (天 弱 ノ) | ||
sena_kun | wow. | ||
Geth | ecosystem: 5232489754 | (Jonathan Stowe)++ | META.list Add FastCGI::NativeCall::Async See github.com/jonathanstowe/FastCGI-N...Call-Async All good clean fun. |
||
samcv | that order isn't correct right now. but if you used my collation-arrays branch of moarvm it would be | ||
sena_kun | okay, thanks, I get the situation much or less. samcv++ | ||
samcv | but hopefully in the next week i will merge it and you can sort 'fi' with fi and æ with ae and such | ||
15:31
yht left
|
|||
samcv | right now it is better than .sort but uses a naive sort of method to sort not my Fancy Branch New™ collation algorithm code | 15:31 | |
15:31
Guest35819 joined
15:33
Guest35819 left
|
|||
samcv | and sort ㌀ with アパート | 15:33 | |
zakame | m: class C { has $.x; method f(::?CLASS:U:) { self.x } }; C.f | 15:34 | |
camelia | Cannot look up attributes in a C type object in method f at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
zakame | m: class C { has $.x; method f(::?CLASS:D:) { self.x } }; C.f | ||
camelia | Invocant of method 'f' must be an object instance of type 'C', not a type object of type 'C'. Did you forget a '.new'? in method f at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
samcv | anyway i'm gonna go back to sleep for a bit. see you all in a few hours | ||
zakame | m: class C { has $.x; method f(::?CLASS:D:) { self.x } }; C.new.f | ||
camelia | ( no output ) | ||
sena_kun | samcv, o/ | ||
squashable6 | 🍕 coke++ closed issue “Add note to footer about missing docs”: github.com/perl6/doc/issues/541 | 15:37 | |
🍕 coke++ wrote a comment on “Add note to footer about missing docs”: github.com/perl6/doc/issues/541#is...-326751465 | |||
🍕 coke++ wrote a comment on “Unify differences between `multi` and `multi sub`”: github.com/perl6/doc/issues/1189#i...-326751527 | 15:38 | ||
🍕 coke++ closed issue “Unify differences between `multi` and `multi sub`”: github.com/perl6/doc/issues/1189 | |||
🍕 coke++ reopened issue “Unify differences between `multi` and `multi sub`”: github.com/perl6/doc/issues/1189 | |||
🍕 coke++ wrote a comment on “Unify differences between `multi` and `multi sub`”: github.com/perl6/doc/issues/1189#i...-326751584 | 15:39 | ||
15:39
eroux joined
15:42
PerlMonger left
|
|||
squashable6 | 🍕 Altai-man++ edited a comment on “A lot of TODOs in Any”: github.com/perl6/doc/issues/1494#i...-326727105 | 15:43 | |
zakame | class C { method d() { say 42 }; method f(::?CLASS:U:) { self.d } }; C.f | 15:44 | |
m: class C { method d() { say 42 }; method f(::?CLASS:U:) { self.d } }; C.f | |||
camelia | 42 | ||
15:55
lichtkind joined
|
|||
lichtkind | moritz: ping | 15:56 | |
squashable6 | 🍕 Altai-man++ wrote a comment on “Unify differences between `multi` and `multi sub`”: github.com/perl6/doc/issues/1189#i...-326752702 | 15:57 | |
Geth | doc: zakame++ created pull request #1502: (Try to) clarify type smileys for .DEFINITE-ness |
15:59 | |
squashable6 | 🍕 zakame++ opened pull request “(Try to) clarify type smileys for .DEFINITE-ness”: github.com/perl6/doc/pull/1502 | ||
Geth | doc/any-clarification: 12ce8cf704 | Altai-man++ | doc/Type/Any.pod6 Attempt to document most of `Any` methods |
16:02 | |
16:03
skids left
|
|||
Geth | doc: f81802d7c1 | (Zak B. Elep)++ (committed by Zoffix Znet) | doc/Type/Signature.pod6 (Try to) clarify type smileys for .DEFINITE-ness (#1502) Based on conversation with @zoffixznet, try to add more context (and definiteness) to the current elaboration for the `:D`, `:U`, and `:_` type constraints. I realize this is also a good place here to show type objects and instances, to support the concept of definiteness. Fixes #1469. |
16:04 | |
squashable6 | 🍕 zoffixznet++ closed issue “Type constraint smileys …”: github.com/perl6/doc/issues/1469 | ||
squashable6 | 🍕 zoffixznet++ merged pull request “(Try to) clarify type smileys for .DEFINITE-ness”: github.com/perl6/doc/pull/1502 | ||
squashable6 | 🍕 zoffixznet++ wrote a comment on “(Try to) clarify type smileys for .DEFINITE-ness”: github.com/perl6/doc/pull/1502#iss...-326753173 | ||
🍕 zakame++ wrote a comment on “(Try to) clarify type smileys for .DEFINITE-ness”: github.com/perl6/doc/pull/1502#iss...-326753199 | 16:05 | ||
Geth | doc: Altai-man++ created pull request #1503: Attempt to document most of `Any` methods |
||
squashable6 | 🍕 Altai-man++ opened pull request “Attempt to document most of `Any` methods”: github.com/perl6/doc/pull/1503 | 16:06 | |
yoleaux | Zoffix: fix rakudo.org download page, bruh | 16:07 | |
Zoffix | yoleaux: I'm on it, bruh. | 16:08 | |
"Because of a not yet implemented POSIX interface in cygwin (specifically pthread_barrier needed by libuv, see cygwin.com/cygwin-api/std-notimpl.html), Rakudo can not yet be compiled on that environment." | 16:12 | ||
Is that still accurate? I thought someone did compile in cygwin | |||
Zoffix 'll just it still is | 16:14 | ||
16:15
ChoHag joined,
espadrine joined
|
|||
dogbert2 | Zoffix: I believe libuv 1.12+ has fixed this | 16:23 | |
Zoffix | neat | 16:26 | |
16:27
telex left
16:28
telex joined
16:32
travis-ci joined
|
|||
travis-ci | Doc build passed. Altai-man 'Attempt to document most of `Any` methods' | 16:32 | |
travis-ci.org/perl6/doc/builds/271190912 github.com/perl6/doc/commit/12ce8cf7044b | |||
16:32
travis-ci left
|
|||
AlexDaniel | squashable6: status | 16:37 | |
squashable6 | AlexDaniel, 🍕 SQUASHathon is in progress! The end of the event in ≈19 hours | ||
AlexDaniel, Log and stats: gist.github.com/38027235d60536fe68...2b33e9b068 | |||
🍕 zoffixznet++ self-assigned issue “Bad examples for .push methods in Iterator docs”: github.com/perl6/doc/issues/1395 | |||
AlexDaniel | awesome | 16:39 | |
16:39
khw joined
16:42
freeze joined
|
|||
AlexDaniel | hmm interesting | 16:45 | |
my PR was merged even though it said not to merge it? Hmm… | |||
16:47
Cabanossi left
16:48
Sgeo left
16:49
Cabanossi joined
16:50
Sgeo joined
|
|||
squashable6 | 🍕 AlexDaniel++ edited a comment on “"it would be more useful…”: github.com/perl6/doc/issues/1212#i...-326746308 | 16:52 | |
16:54
squashable6 left,
squashable6 joined
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “"it would be more useful…”: github.com/perl6/doc/issues/1212#i...-326756218 | 16:55 | |
🍕 AlexDaniel++ deleted a comment on “"it would be more useful…”: github.com/perl6/doc/issues/1212#i...-326756218 | |||
AlexDaniel | squashable6: log | ||
squashable6 | AlexDaniel, Log and stats: gist.github.com/2c930ae717d09e7e29...f637749640 | ||
AlexDaniel | Zoffix: thanks | ||
Zoffix: (↑ edits are no longer mentioned on the channel) | |||
16:56
piojo2 left
|
|||
Zoffix | sweet | 16:56 | |
AlexDaniel++ | |||
AlexDaniel | sena_kun: “Okay, let's not edit things for now...” feel free to now :) | ||
sena_kun | \o/ | 16:57 | |
Geth | whateverable: bfd8aae1cd | (Aleks-Daniel Jakimenko-Aleksejev)++ | bin/Squashable.p6 Use #perl6 channel for announcements |
17:00 | |
whateverable: abe1bedc23 | (Aleks-Daniel Jakimenko-Aleksejev)++ | bin/Squashable.p6 More newlines in the log |
|||
whateverable: ba04dcb79f | (Aleks-Daniel Jakimenko-Aleksejev)++ | bin/Squashable.p6 Don't mention edit events on IRC But still write them into the log. Addresses #225. |
|||
17:04
itaipu joined
17:08
astj joined
|
|||
AlexDaniel | Zoffix: it still counts as a first contribution though, which is exactly right :) | 17:11 | |
17:12
astj left
|
|||
squashable6 | 🍕 AlexDaniel++ labeled issue “Unreadable type graphs”: github.com/perl6/doc/issues/246 | 17:12 | |
🍕 AlexDaniel++ unlabeled issue “Unreadable type graphs”: github.com/perl6/doc/issues/246 | |||
17:13
Garland joined,
wamba joined
|
|||
Geth | doc: 70084290cf | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Type/Proc/Async.pod6 Don't recommend code that does not work Please revert once RT #132016 is resolved. |
17:19 | |
synopsebot6 | Link: rt.perl.org/rt3/Public/Bug/Display...?id=132016 | ||
17:19
nadim left
17:21
mr-fooba_ left
17:22
mr-foobar joined
17:23
pilne left
17:24
eroux left
17:26
pmurias joined
|
|||
pmurias | eventil.com/presentations/v1spZG # new presentation on graal/truffle - which is something Perl 6 should be running on too | 17:27 | |
17:30
AlexDaniel left,
AlexDaniel joined
17:31
pilne joined
17:39
nadim joined
17:40
lancew joined
|
|||
timotimo | twitter.com/loltimo/status/904038390131286025 | 17:48 | |
17:50
emeric joined
17:51
ChristopherBotto joined
17:52
mr-foobar left
17:53
mr-foobar joined
|
|||
lichtkind | liz: sorry from sms spamming in amsterdam to you | 17:55 | |
liz but after some research i want to make different proposal for perl6::Doc | |||
AlexDaniel | ? :) | 17:56 | |
17:59
ChristopherBotto left
18:01
Cabanossi left
18:03
nadim left,
Cabanossi joined
|
|||
AlexDaniel | hmmm Table of Contents is now on the side for me | 18:04 | |
lichtkind | are the synopses out of date? | 18:05 | |
i masn are any of the synopses out of date? | |||
mean | |||
AlexDaniel | lichtkind: mostly, yes | ||
lichtkind | why? | 18:06 | |
AlexDaniel | lichtkind: well, there's still some good info there. But nobody is putting their time into maintaining them | ||
lichtkind | and maybe becasue docs.perl6.org is more maintained now? | 18:07 | |
AlexDaniel | although, now that I looked at it, there are some good commits recently | ||
or maybe not. Judge yourself: github.com/perl6/specs | 18:08 | ||
lichtkind: that too, yes | |||
18:08
chsanch left
|
|||
lichtkind | i ask becasue i have to decide if i comletely mark th perl5 module Perl6::Doc defunc or just update the syn pod and thro the otehr parts away | 18:09 | |
because | |||
AlexDaniel | lichtkind: yes, perl6/doc is “Perl 6 documentation”, not Synopses | 18:13 | |
lichtkind: it should be Perl6::HistoricalDesignDocs or something :) | 18:14 | ||
lichtkind | are doc.perl6.org written in POD6 ? would make sens | 18:15 | |
so i jsut need converter | |||
no we have grok | |||
Zoffix | .oO( Pod::To::Pod :P ) |
18:16 | |
lichtkind | pod 6 to pod 5 | ||
but we dont need that since grok uses perl6::Pod | |||
AlexDaniel | Zoffix: hey. What's the intention for ToC and 1280px wide screens? | 18:20 | |
18:21
mr-foobar left
|
|||
Zoffix | render toc on the side if there's pace | 18:21 | |
render toc on the side if there's space | |||
squashable6 | 🍕 moritz++ closed issue “Modified quantifier trap…”: github.com/perl6/doc/issues/1163 | 18:23 | |
Geth | doc: a206c6080e | (Moritz Lenz)++ | doc/Language/regexes.pod6 Expand a bit on modified quantifiers. Closes #1163 |
||
18:23
mr-foobar joined
|
|||
AlexDaniel | I'm not entirely sure that I like that: files.progarm.org/2017-09-02-21232..._scrot.png | 18:24 | |
but we'll see how it goes | 18:25 | ||
(the reason being that it looks a bit too much to the side on a small screen) | 18:26 | ||
Geth | doc: e8482f808c | (Zak B. Elep)++ | 2 files :lipstick: fix typos in method invocant and type smiley examples Thanks @ronaldxs for spotting! |
18:27 | |
Zoffix | Yes, but you don't have to scroll through miles of TOC links to get to content and the commit didn't change the width of the content section. | 18:29 | |
squashable6 | 🍕 zoffixznet++ self-unassigned issue “Bad examples for .push methods in Iterator docs”: github.com/perl6/doc/issues/1395 | ||
AlexDaniel | Zoffix: OK I see. Well, I never do that (search function usually gets me to the middle of a page, so I never see the top). | 18:30 | |
18:30
Zoffix left
|
|||
AlexDaniel | … did I say something wrong? | 18:32 | |
18:33
Zoffix joined
|
|||
Zoffix | No, I'm just gonna take a break. | 18:33 | |
\o | |||
18:33
Zoffix left
|
|||
AlexDaniel | sure. Take care | 18:33 | |
Geth | doc: c052c47b8b | (Moritz Lenz)++ | 2 files Remove last references to zavolaj Closes #828 |
18:41 | |
squashable6 | 🍕 moritz++ closed issue “zavolaj seems outdated f…”: github.com/perl6/doc/issues/828 | ||
18:43
mr_ron left
|
|||
squashable6 | 🍕 moritz++ wrote a comment on “zavolaj seems outdated f…”: github.com/perl6/doc/issues/828#is...-326762623 | 18:43 | |
18:44
mr_ron joined
|
|||
Geth | doc: zakame++ created pull request #1504: Further improve docs for methods + self |
18:45 | |
squashable6 | 🍕 zakame++ opened pull request “Further improve docs for methods + self”: github.com/perl6/doc/pull/1504 | ||
🍕 zakame++ wrote a comment on “Further improve docs for methods + self”: github.com/perl6/doc/pull/1504#iss...-326762780 | 18:47 | ||
18:50
emeric1 joined
18:52
mr-foobar left
18:53
emeric left,
emeric1 is now known as emeric
|
|||
squashable6 | 🍕 AlexDaniel++ opened issue “Keep .dot files”: github.com/perl6/doc/issues/1505 | 18:53 | |
🍕 AlexDaniel++ labeled issue “Keep .dot files”: github.com/perl6/doc/issues/1505 | |||
18:53
mr-foobar joined
|
|||
AlexDaniel | squashable6: status | 18:54 | |
squashable6 | AlexDaniel, 🍕 SQUASHathon is in progress! The end of the event in ≈17 hours | ||
AlexDaniel, Log and stats: gist.github.com/361891499422d78cae...0e3f0524c3 | |||
18:55
nadim joined
|
|||
Geth | doc/master: 6 commits pushed by (Will "Coke" Coleda)++ | 18:56 | |
doc: 9bd3489db0 | (Will "Coke" Coleda)++ | xt/code.pws learn new word |
18:57 | ||
18:59
nadim left,
nadim joined
19:00
darutoko left
19:04
lancew left
|
|||
Geth | doc: c98a4e22c1 | (Zak B. Elep)++ (committed by Moritz Lenz) | doc/Language/objects.pod6 Further improve docs for methods + self - Make discussion on class/instance methods into its own Section - Add example code for `self` especially to illustrate its behavior with different invocants Thanks to @ronaldxs for further comments :+1: References #1121 (hopefully fixes too :joy_cat:) |
19:11 | |
squashable6 | 🍕 moritz++ merged pull request “Further improve docs for methods + self”: github.com/perl6/doc/pull/1504 | ||
19:13
okl joined
|
|||
squashable6 | 🍕 zakame++ wrote a comment on “Further improve docs for methods + self”: github.com/perl6/doc/pull/1504#iss...-326764239 | 19:17 | |
19:17
okl left
19:22
mr-foobar left
|
|||
[Coke] | ff | 19:23 | |
moritz | fast forward? | ||
yoleaux | 1 Sep 2017 19:51Z <jdv79> moritz: sup with the logs and unicode? | ||
moritz | .tell jdv79 not much :/ | 19:24 | |
yoleaux | moritz: I'll pass your message to jdv79. | ||
[Coke] | . | 19:27 | |
19:30
mr-foobar joined
19:35
emeric left
19:38
Herby__ joined
|
|||
Herby__ | o/ | 19:38 | |
19:39
DickBastard joined
|
|||
moritz | \o Herby__ | 19:39 | |
AlexDaniel | buggable: pizza Herby__ | 19:40 | |
buggable | Herby__, enjoy this slice of Golden Chicken Delight pizza, my friend! Yummy 🍕 | ||
Herby__ | \o/ | ||
As a novice, how can I help with this SQUASHathon? | |||
Geth | doc: d07e6c7bdd | (Will "Coke" Coleda)++ | doc/Language/nativecall.pod6 avoid overeager "this is a method" example test |
||
[Coke] | Herby__: welcome aboard. | 19:41 | |
moritz | Herby__: go to github.com/perl6/doc/issues and look for an issue that doesn't sound scary | 19:42 | |
Herby__: and then ask questions here if stuff is unclear | |||
Herby__ | kk | ||
moritz | and try to work on it | ||
AlexDaniel | Herby__: feel free to leave a comment on any issue you don't understand. Very often things look scary, but when you actually ask what is required it turns out that it is very simple | 19:43 | |
[Coke] | there are some tags that might help: <LHF>, <new> | ||
Herby__ | lhf? | ||
moritz | low-hanging fruit | ||
Herby__ | ah ok | ||
AlexDaniel | also [Hacktoberfest] and [search], maybe | ||
19:44
zakharyas joined
|
|||
AlexDaniel | (some [search] issues simply ask to add “X<foo>” somewhere ) | 19:44 | |
[Coke] | you could also try to check out the doc source locally and see if you could do a build or run 'make test' (which will help the next time you want to doc/test something) | 19:45 | |
19:45
Skarsnik joined
19:47
gdonald joined,
Cabanossi left
19:49
Cabanossi joined
|
|||
timotimo | twitter.com/loltimo/status/904038390131286025 - i made a perl6 thing with SDL2::Raw again | 19:49 | |
twitter.com/loltimo/status/904058942078246915 - and another | |||
DickBastard | Hello, sorry if I ask a naive questions, I'm just a C++ devel newbie in Perl6, can you assign a subroutine to a method? | ||
like assigning a std::function to a virtual method in C | 19:50 | ||
Skarsnik | not sure to understand your question | ||
timotimo, fun :) | |||
DickBastard | my &code = { say "ciao" } | ||
timotimo | <3 | ||
DickBastard | my $ciao = class ba { method go = &code } # or something similar | 19:51 | |
Skarsnik | since you can add method to class on the fly I don't see the point | 19:52 | |
DickBastard | my $ciao = class ba { method go { code } } # you mean? | ||
19:53
gdonald left
|
|||
DickBastard | code is executed when you call go, right? | 19:53 | |
19:54
Guest41359 joined
|
|||
DickBastard | it works! | 19:54 | |
Guest41359 | rindolf, hi i was searching for you :) | 19:55 | |
Skarsnik | you can probably assign to an attribute the method will call | ||
moritz | DickBastard: there's also a way to install code directly as a method | ||
19:55
Guest41359 is now known as rrh,
rrh is now known as rrrh
|
|||
AlexDaniel | ah goddamn graphviz | 19:56 | |
moritz | m: sub f($x) { say 42 }; class A { }; BEGIN { A.^add_method('g', &f); A.^compose }; A.new.g() | ||
camelia | 42 | ||
rindolf | rrrh: hi | ||
moritz | m: sub f($x) { say 42 }; class A { A.^add_method('g', &f }; A.new.g() | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Unable to parse expression in argument list; couldn't find final ')' at <tmp>:1 ------> 3y 42 }; class A { A.^add_method('g', &f 7⏏5}; A.new.g() |
||
moritz | m: sub f($x) { say 42 }; class A { A.^add_method('g', &f) }; A.new.g() | ||
camelia | 42 | ||
moritz | yes, helps to close those parenthesis :-) | ||
DickBastard | thanks moritz | ||
moritz | you're welcome, DickBastard | 19:57 | |
speaking of the MOP... do we have an accessible way to create aliases for methods? | 19:58 | ||
rindolf | rrrh: how may I help? | ||
rrrh | rindolf, i privated messaged you dont know if you appreciate that but i used to talk to you in the past a lot | 19:59 | |
moritz | freenode changed rules for private messages; by default you need to be registered with their services to initiate privmsg | 20:00 | |
20:00
gdonald joined
|
|||
BooK | so I have this weird question about enums: | 20:01 | |
AlexDaniel | “Warning: the aspect attribute has been disabled due to implementation flaws - attribute ignored.” oh graphviz… | ||
BooK | m: say Bool.enums; say Order.enums | ||
camelia | {False => 0, True => 1} Map.new((:Less(-1),:More(1),:Same(0))) |
||
BooK | which led me to look at the code for Bool, which defines its own enums method, which works differently from the enums method in the Enumeration role | 20:02 | |
and so my question is: why? | |||
or more specifically, why is Bool special? | 20:03 | ||
AlexDaniel | c: all say Bool.enums; say Order.enums | ||
20:03
mr_ron left
|
|||
committable6 | AlexDaniel, MasterDuke: I'm acting stupid on #perl6. Help me. | 20:03 | |
AlexDaniel, Sorry kid, that's not my department. | |||
AlexDaniel | /o\ | 20:04 | |
c: releases say Bool.enums; say Order.enums | |||
Skarsnik | lol | ||
committable6 | AlexDaniel, MasterDuke: I'm acting stupid on #perl6. Help me. | ||
AlexDaniel, Sorry kid, that's not my department. | |||
BooK | AlexDaniel: are talking to the right bot? | ||
Skarsnik | m: say bool.enum | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Undeclared routine: bool used at line 1 |
||
AlexDaniel | BooK: yes, but it's broken… investigating now… | ||
Skarsnik | m: use NativeCall;say bool.enum | 20:05 | |
camelia | No such method 'enum' for invocant of type 'NativeCall::Types::bool' in block <unit> at <tmp> line 1 |
||
20:05
nowan left
|
|||
AlexDaniel | BooK: ok, the answer is here: gist.github.com/Whateverable/5c60f...2300ca98b4 | 20:06 | |
BooK: so it's not that Bool is extremely special, it's just that the change to Map is a fairly new addition | 20:07 | ||
BooK | oh I see | ||
AlexDaniel | we can take a look at why it was changed | ||
bisect: say Order.enums | |||
bisectable6 | AlexDaniel, Bisecting by output (old=2015.12 new=85a97ab) because on both starting points the exit code is 0 | ||
AlexDaniel, bisect log: gist.github.com/e76c7d733b91958459...eb00648dbe | 20:08 | ||
AlexDaniel, (2016-04-05) github.com/rakudo/rakudo/commit/6a...822dac090b | |||
20:08
nowan joined
|
|||
moritz loves our bot overlords | 20:08 | ||
BooK | src/core/Bool.pm: Bool.^add_method('enums', my method enums() { self.^enum_values }); | ||
src/core/Enumeration.pm: method enums() { self.^enum_values.Map } | |||
AlexDaniel | this is the wrong commit | ||
BooK | I was wondering why Bool did not simply do the Enumeration role | ||
AlexDaniel | bisect: old=6a2ff75a61 say Order.enums | 20:09 | |
bisectable6 | AlexDaniel, Bisecting by output (old=6a2ff75 new=85a97ab) because on both starting points the exit code is 0 | ||
moritz | BooK: probably bootstrapping issues | ||
bisectable6 | AlexDaniel, bisect log: gist.github.com/612d31d67faf80a269...a9644673f1 | ||
AlexDaniel, (2016-05-13) github.com/rakudo/rakudo/commit/d3...8f10839d54 | |||
AlexDaniel | so this points to RT #128138 | ||
synopsebot6 | Link: rt.perl.org/rt3/Public/Bug/Display...?id=128138 | ||
BooK | moritz: so the fix is to update Bool's version of enum? | ||
enums | |||
Skarsnik | m: use NativeCall;say bool.enums | ||
camelia | No such method 'enums' for invocant of type 'NativeCall::Types::bool' in block <unit> at <tmp> line 1 |
||
moritz | frankly I was surprised that somebody managed to turn Bool into an enum at all :-) | ||
Geth | doc: jstuder-gh++ created pull request #1506: Modify Proxy Example To More Closely Match Text |
20:10 | |
squashable6 | 🍕 jstuder-gh++ opened pull request “Modify Proxy Example To More Closely Match Text”: github.com/perl6/doc/pull/1506 | ||
🍕🍕🍕 First contribution by jstuder-gh++! ♥ | |||
BooK | moritz: when I saw it was, it kinda made sense | ||
it | |||
AlexDaniel | BooK: IMO you should create a ticket with this information | ||
BooK | or a patch! | ||
AlexDaniel | or that, yes. | ||
moritz | BooK: yes. Or try to make Bool do the enumeration role; maybe it's easy after all | ||
DickBastard | Another dumb question: you can do this | ||
sub f($x) { say 42 }; module hello { class A { A.^add_method('g', &f) }; }; hello::A.new.g | |||
BooK | moritz: to do that I first need to properly set up my environment to be actually able to run roast and check that nothing breaks | 20:11 | |
DickBastard | but this fail in weird ways: | ||
sub f($x) { say 42 }; my $obj = module { class A { A.^add_method('g', &f) }; }; $obj::A.new.g | |||
m: sub f($x) { say 42 }; my $obj = module { class A { A.^add_method('g', &f) }; }; $obj::A.new.g | |||
camelia | No such method 'g' for invocant of type 'Any' in block <unit> at <tmp> line 1 |
||
20:12
committable6 left,
committable6 joined,
ChanServ sets mode: +v committable6
|
|||
AlexDaniel fixed committable6 | 20:12 | ||
DickBastard | how do you declare a module in the local scope? | ||
20:12
mr_ron joined
|
|||
BooK | moritz: I also had this issue with enums, when I was trying to write a man page for EnumHOW: | 20:13 | |
m: enum Foo < a b c >; Foo.^add_enum_value( d => 3); Foo.^enum_values.say | |||
camelia | Too few positionals passed; expected 3 arguments but got 2 in block <unit> at <tmp> line 1 |
||
moritz | DickBastard: my module A { ... } | ||
Geth | doc: c5776c1b11 | (Jeremy Studer)++ | doc/Type/Proxy.pod6 Modify Proxy Example To More Closely Match Text The accompanying text seems to indicate that the modification of the stored value would occur at retrieval. Text-'To create a container that returns twice of what was stored in it' The example showcases the capabilities of Proxy in the same way, but hopefully is a bit more clear. |
||
squashable6 | 🍕 AlexDaniel++ merged pull request “Modify Proxy Example To More Closely Match Text”: github.com/perl6/doc/pull/1506 | ||
doc: 5495e1479f | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed using GitHub Web editor) | doc/Type/Proxy.pod6 Merge pull request #1506 from jstuder-gh/master Modify Proxy Example To More Closely Match Text |
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Modify Proxy Example To More Closely Match Text”: github.com/perl6/doc/pull/1506#iss...-326767030 | ||
moritz | DickBastard: and your example doesn't work because $obj::A looks a variable A in namespace "obj" | ||
m: my $m = module { class A { } }; $m.WHO<A> | 20:14 | ||
camelia | ( no output ) | ||
DickBastard | moritz, great | ||
moritz | m: my $m = module { class A { } }; say $m.WHO<A> | ||
DickBastard | m: sub f($x) { say 42 }; my module hello { class A { A.^add_method('g', &f) }; }; hello::A.new.g | ||
camelia | (A) | ||
42 | |||
moritz | m: my $m = module { class A { } }; say $m::<A> | ||
camelia | (Any) | ||
squashable6 | 🍕 AlexDaniel++ edited pull request “Attempt to document most of `Any` methods”: github.com/perl6/doc/pull/1503 | ||
moritz | DickBastard: the example above with .WHO<A> shows how you can acccess an element of an anonymous namespace | 20:15 | |
DickBastard | m: sub f($x) { say 42 }; my $hello = module { class A { A.^add_method('g', &f) }; }; $hello.WHO<A>.new.g # yea it works | 20:17 | |
camelia | 42 | ||
20:17
andrzejku left
|
|||
squashable6 | 🍕 AlexDaniel++ opened issue “Definition for Any.collate and Any.cache”: github.com/perl6/doc/issues/1507 | 20:18 | |
🍕 AlexDaniel++ labeled issue “Definition for Any.collate and Any.cache”: github.com/perl6/doc/issues/1507 | |||
🍕 AlexDaniel++ wrote a comment on “Attempt to document most of `Any` methods”: github.com/perl6/doc/pull/1503#iss...-326767242 | |||
🍕 ronaldxs++ wrote a comment on “Document use of method i…”: github.com/perl6/doc/issues/1121#i...-326767244 | |||
🍕 AlexDaniel++ edited pull request “Attempt to document most of `Any` methods”: github.com/perl6/doc/pull/1503 | |||
20:18
grondilu_ left
|
|||
DickBastard | it would be supercool if there was a way to save the module '$hello' in a file, for loading it in another run. Is there a way? it would save me some evals in my hacking | 20:19 | |
20:21
mr-fooba_ joined
20:22
mr-foobar left
|
|||
BooK | DickBastard: I guess we just need someone who can write Perl6 from an AST :-) | 20:23 | |
sorry, who can write code that can... | |||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Unreadable type graphs”: github.com/perl6/doc/issues/246#is...-326767433 | ||
moritz | DickBastard: you can write the source code for the module to a file, and EVAL (or EVALFILE) it | ||
DickBastard: but dumping the whole module from a reference doesn't work the way you likely want it to work :-) | 20:24 | ||
DickBastard | moritz yes that works, I was wondering if there was some magic already implemented for precompilation | ||
moritz | DickBastard: require, maybe | ||
time for sleep here, see ya | 20:25 | ||
AlexDaniel | buggable: pizza moritz | 20:26 | |
buggable | moritz, enjoy this slice of Peppy Paneer pizza, my friend! Yummy 🍕 | ||
DickBastard | night! thanks | 20:27 | |
20:28
Aaronepower joined
20:36
den joined
20:43
Garland left
20:44
astj joined
20:47
Cabanossi left
|
|||
DickBastard | BooK while that would be a nice feature to have, my intuition is that it is not needed, and that inside the compiler there is already this functionality | 20:49 | |
20:49
astj left,
yqt left,
Cabanossi joined
|
|||
DickBastard | since it needs to save bytecode at some point | 20:49 | |
20:49
Klofkac joined
|
|||
DickBastard | only few programming languages, on the other end, offer this functionality | 20:50 | |
Klofkac | Hello, I have a question. When I try to make an operator in interactive mode, it doesn't seem to register when I later try to use the operator. Is this a bug? | ||
[Coke] | REPL cheats. if you try to use it later in the same line, it'll be there. | 20:51 | |
so a known issue, but the general workaround is not to use interactive mode. | 20:52 | ||
Klofkac | Oh, okay. Thanks for answer. | 20:53 | |
BooK feels that there's a better way to write this: | |||
m: say Bool.^methods.grep( { .name eq "pick"},:v)».candidates».signature | |||
camelia | (((Bool:U $: *%_) (Bool:U $: $n, *%_))) | ||
20:54
wamba left
|
|||
squashable6 | 🍕 coke++ deleted a comment on “Unify differences between `multi` and `multi sub`”: github.com/perl6/doc/issues/1189#i...-326751527 | 20:55 | |
🍕 coke++ deleted a comment on “Unify differences between `multi` and `multi sub`”: github.com/perl6/doc/issues/1189#i...-326751584 | |||
den | m: my $meth = Bool.^find_method: "pick"; say $meth.^name #BooK | 20:56 | |
camelia | Method | ||
Juerd | m: say Bool.^find_method('pick').candidates».signature | 20:57 | |
camelia | ((Bool:U $: *%_) (Bool:U $: $n, *%_)) | ||
BooK | den, Juerd: thanks | 20:59 | |
20:59
nadim left
|
|||
[Coke] | Klofkac: ideally we'll make that work some day. | 20:59 | |
BooK | and now compare with: | ||
m: say Order.^find_method('pick').candidates».signature | |||
camelia | (($: *%_) ($: $n, *%_) (Order:U $: *%_) (Order:U $: \n, *%_) (Order:D $: *@pos, *%_)) | ||
Juerd | Compare? | 21:00 | |
BooK | Bool and Order both behave like enums | ||
except Bool does not do the Enumeration role, and seems to miss some stuff | |||
21:01
nadim joined,
Skarsnik left
|
|||
BooK | at this stage, the best explanation to everything I say that doesn't make sense is that I don't know anything | 21:01 | |
den | m: my Enumeration $enum = Order; $enum.^mro.say; $enum = Bool; $enum.^mro.say | 21:02 | |
camelia | ((Order) (Int) (Cool) (Any) (Mu)) Type check failed in assignment to $enum; expected Enumeration but got Bool (Bool) in block <unit> at <tmp> line 1 |
||
Juerd | Bool is declared in bootstrap, Order is pure Perl 6 | 21:03 | |
See src/core/Bool.pm and src/core/Order.pm | |||
den | Right, but it's possible to add more things later, I think it's just NIY for Bool. | 21:04 | |
BooK | yes, I know that. I was wondering if Bool shouldn't be made more like a normal Perl 6 enum | ||
NIY? Not In Yet? | |||
Juerd | NYI :) | ||
den | Not Implemented Yet. | 21:05 | |
BooK | In-plemented :-) | ||
Juerd | BooK: Sounds like a good idea, but I have no idea. | ||
BooK | moritz said something like that not too long ago: irclog.perlgeek.de/perl6/2017-09-02#i_15107070 | 21:06 | |
I guess now is the time when I should just try it and see :-) | 21:07 | ||
nine | That could actually be a quite simple patch | ||
I just didn't know about that role when I turned Bool into an enum | 21:08 | ||
den | github.com/rakudo/rakudo/blob/nom/...re/Code.pm -> Code is also declared in Bootstrap, yet this file adds to it later, so you can use it as an example of how to do it | ||
21:09
grondilu joined
|
|||
grondilu marks rosettacode.org/wiki/Fast_Fourier_t...orm#Perl_6 as broken :( | 21:09 | ||
"P6opaque: invalid native access attribute '$!re' in type Complex for kind num64" | |||
m: say cis(tau) | 21:11 | ||
camelia | 1-2.44929359829471e-16i | ||
grondilu | ^this fails on my machine | ||
21:11
Garland_g[m] joined
|
|||
grondilu | $ perl6 --version | 21:11 | |
nine | No need to look at Code: github.com/rakudo/rakudo/blob/nom/...re/Bool.pm | ||
21:11
zakame left
|
|||
grondilu | This is Rakudo version 2017.08-62-g85a97ab3d built on MoarVM version 2017.08.1-52-gf59ac65d9 | 21:11 | |
implementing Perl 6.c. | 21:12 | ||
BooK | nine: I'm kind of looking for a knowledgeable person in Perl6 to pair with me on small stuff, so that I can learn faster, and in small, focused chunks (two hours max) | ||
recently, I've been doing a lot of pairing over vnc + some voice transmission system (phone, mumble, other) | 21:13 | ||
21:13
den is now known as raschipi
|
|||
nine | BooK: it's a little late today for a two hour session, but I plan on doing some more coding tomorrow and would be quite happy to help you get into our code base :) | 21:13 | |
BooK | I wasn't meaning tonight either :-) | 21:14 | |
nine | I guessed so :) | ||
grondilu | m: say Complex.new(tau.cos, tau.sin); | ||
camelia | 1-2.44929359829471e-16i | ||
grondilu | ^this also fails on my machine | ||
BooK | nine: I'll in an Amsterdam hotel room Thursday evening, maybe that's a better time? | 21:15 | |
21:15
labster joined
|
|||
nine | BooK: nothing on my schedule for Thursday evening so far :) | 21:15 | |
grondilu | m: say 1i # even this fails :/ | 21:16 | |
camelia | 0+1i | ||
grondilu | m: 1i**2 and this | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Undeclared routine: this used at line 1 |
||
BooK | nine: discussing the details in private | 21:17 | |
DickBastard | could anybody point me to the documentation of CTXSAVE please? | 21:18 | |
nine | DickBastard: that would need someone to write it :/ You could be the one :) | 21:19 | |
DickBastard: what do you need to know? | |||
DickBastard | hi nine | ||
I am trying to understand your code in CompUnit/Loader.pm | 21:20 | ||
21:20
lichtkind left
|
|||
DickBastard | the mechanism by which you compile a source file and store it in the appropriate place | 21:20 | |
is CTXSAVE connected somehow to compilation? | |||
nine | DickBastard: yes, it's supposed to be an object with a ctxsave() method (you'll find that in CompUnit::Handle). | 21:21 | |
DickBastard: it's called by the main line code of the compilation unit and stores the mainline's context | 21:22 | ||
grondilu | oh sorry guys, that was due to a local modif I made on Complex.pm | ||
nine | DickBastard: it's they way we can get at the symbols defined in the compilation unit, like it's GLOBAL | ||
21:23
Klofkac left
|
|||
nine | DickBastard: took me weeks to piece this together from the code. So if you could add that to some documenation, you may save someone a lot of time. It's really pure chance that I read your question. I rarely read #perl6 these days... | 21:23 | |
DickBastard | nine, I will try to understand it. If I will get something out of it I will document :) | 21:26 | |
AlexDaniel | grondilu: ok, so let's do something about it | 21:31 | |
you say 2017.08-62-g85a97ab3d | |||
c: 2017.08-62-g85a97ab3d say cis(tau) | |||
committable6 | AlexDaniel, ¦2017.08-62-g85a97ab3d: «1-2.44929359829471e-16i» | ||
AlexDaniel | c: 2017.08-62-g85a97ab3d say 1i | 21:32 | |
committable6 | AlexDaniel, ¦2017.08-62-g85a97ab3d: «0+1i» | ||
AlexDaniel | c: 2017.08-62-g85a97ab3d 1i**2 | ||
committable6 | AlexDaniel, ¦2017.08-62-g85a97ab3d: «WARNINGS for /tmp/oDR7dPlEXz:Useless use of "**" in expression "i**2" in sink context (line 1)» | ||
AlexDaniel | c: 2017.08-62-g85a97ab3d say 1i**2 | ||
committable6 | AlexDaniel, ¦2017.08-62-g85a97ab3d: «-1+1.22464679914735e-16i» | ||
AlexDaniel | grondilu: sooo… what's your setup? 32bit or 64bit? | ||
nine | DickBastard: in other words: the compiler adds a $*CTXSAVE.ctxsave; to a source file's code. CompUnit::Handle::ctxsave then uses nqp::caller to get into the calling code and nqp::ctx() to grab the lexical context and stores that in $!module_ctx so we can access EXPORT and GLOBALish. | 21:33 | |
21:34
travis-ci joined
|
|||
travis-ci | Doc build failed. Will "Coke" Coleda 'Merge branch 'master' into coke/multi' | 21:34 | |
travis-ci.org/perl6/doc/builds/271252344 github.com/perl6/doc/compare/028f2...7897a0cd63 | |||
21:34
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 21:34 | |
DickBastard | nine, things are getting more clear | ||
nine | DickBastard: :) | 21:35 | |
AlexDaniel | I guess files.progarm.org/graph.svg is better than docs.perl6.org/images/type-graph-M...tainer.svg ? | ||
I'm still not satisfied though | 21:36 | ||
grondilu | AlexDaniel: as I wrote, nevermind : my Complex.pm file was out-of-sync | 21:37 | |
AlexDaniel | grondilu: oh, didn't backlog as far, sorry | ||
buggable: pizza grondilu | |||
buggable | grondilu, enjoy this slice of Four Cheese pizza, my friend! Yummy 🍕 | ||
grondilu | (kinf of whished --version had warned me about that, though) | ||
grondilu undoes the "broken" mark on RC | 21:38 | ||
do you guys by any chance know an efficient algorithm to compress "sparse vectors"? | 21:39 | ||
21:41
ramortegui joined
|
|||
squashable6 | 🍕 jnthn++ wrote a comment on “zavolaj seems outdated f…”: github.com/perl6/doc/issues/828#is...-326770827 | 21:42 | |
🍕🍕🍕 First contribution by jnthn++! ♥ | |||
grondilu | like turning [0, 1, 2, 0, 0, 0, 0] into [1 => 1, 2 => 2] but Vector(7) | ||
AlexDaniel | .pizza jnthn | 21:45 | |
buggable: pizza jnthn | |||
buggable | jnthn, enjoy this slice of Margherita pizza, my friend! Yummy 🍕 | ||
jnthn | m: say [0, 1, 2, 0, 0, 0, 0].pairs.grep(*.value) | ||
camelia | (1 => 1 2 => 2) | ||
jnthn | That's O(n) I guess... :) | ||
Mmm...margherita :) | |||
21:46
Cabanossi left
21:49
Cabanossi joined,
rindolf left
|
|||
grondilu | yeah now that I wrote it, I realize it's not possible to do better | 21:51 | |
AlexDaniel | ooooooooh I know what I can try | 21:53 | |
AlexDaniel is having fun with graphviz | |||
21:56
sena_kun left
|
|||
BooK | AlexDaniel: maybe with twopi? your latest attempt looked circular-ish | 21:57 | |
21:57
rindolf joined
|
|||
AlexDaniel | BooK: yep, that's what twopi did | 21:58 | |
BooK | ah ok | ||
AlexDaniel | oh wait, sorry, that was neato | ||
twopi looked horrible with default settings, let's see if I can make it better… | |||
BooK: the problem countless number of people are having is that if there are too many nodes at the same rank, the graph looks unreadably wide | 22:00 | ||
BooK: instead of implementing some sort of solution to this they created a post-processor called “unflatten” | |||
BooK | the problem with making stuff look nice with graphviz is that you have to manually add exceptions | 22:01 | |
AlexDaniel | which is, like, a separate binary | ||
BooK | like, force stuff to be shown on the same rank, or stuff like that | ||
AlexDaniel | yeah | ||
BooK | and subgraphs, and stuff | 22:02 | |
22:04
DickBastard left
|
|||
BooK | I see you can pick the center with twopi | 22:09 | |
I'd go for Any :-) | |||
22:10
Herby__ left
|
|||
BooK | I see a circo command for layouts, I won't what that produces | 22:10 | |
22:12
ab5tract joined
|
|||
AlexDaniel | BooK: well, that's twopi: files.progarm.org/grapho.svg | 22:12 | |
BooK: and that's circo: files.progarm.org/graphH.svg | |||
BooK: wanna play with it? I can give you the dot file | 22:13 | ||
22:14
astj joined
22:16
setty1 left
|
|||
BooK | AlexDaniel: sure | 22:17 | |
22:17
rindolf left
|
|||
BooK | what's the meaning of blue vs black ? role vs class ? | 22:18 | |
BooK checks if graphviz is installed here | |||
22:18
astj left
22:21
rrrh left
|
|||
AlexDaniel recovers from a little disaster when his image viewer decided to crap out on some svg file | 22:21 | ||
BooK: files.progarm.org/images.tar.gz | 22:22 | ||
BooK: the .dot input is auto-generated during the doc build. I'm currently playing with dot files directly, but it's ok to change the generation itself too | 22:24 | ||
BooK | which one was the one you played with? | ||
AlexDaniel | BooK: type-graph-Metamodel::MethodContainer.svg.dot | ||
BooK: fwiw it's this doc issue: github.com/perl6/doc/issues/246 | 22:25 | ||
timotimo | did you know that the graphviz commands can also output .dot again but with positions of nodes and stuff for edges in the attributes? | 22:28 | |
22:28
zakharyas left
|
|||
AlexDaniel | timotimo: yeah, but how would that help exactly? I tried piping dot into neato in a hope that it will improve the graph a bit, but no success so far | 22:30 | |
timotimo | not sure if it could help at all, tbh | 22:33 | |
BooK | AlexDaniel: adding root="Any"; ranksep=4; to the .svg.dot file made something not too horrible | ||
timotimo | i think I'll head toward the hotel | ||
AlexDaniel | BooK: but it's still very wide, no? | 22:34 | |
BooK | actully, putting Mu at the center looks better | ||
AlexDaniel | maybe all we need is rankdir=LR; ranksep=4; | 22:35 | |
if it's too tall, so what. You can scroll a little bit, right? | 22:36 | ||
BooK | not that wide, there's like 3 layers | 22:39 | |
AlexDaniel | BooK: oh? Can you show it? | 22:40 | |
BooK | klonk.bruhat.net/graphviz.png | 22:42 | |
22:43
mr_ron left
|
|||
AlexDaniel | right, with twopi | 22:43 | |
BooK | yes | ||
forcing the center to Mu | |||
and ranksep=2.5 I think | |||
raschipi | I think Book's version is t | 22:44 | |
AlexDaniel | splines help also files.progarm.org/graphI.svg | ||
raschipi | nice | ||
AlexDaniel: Your is hard to follow, the lines get confused when they are near each other | 22:45 | ||
AlexDaniel | one second :) | ||
BooK | AlexDaniel's one has Any in the center | ||
raschipi | I don't perceive much difference between them in the center. | 22:46 | |
AlexDaniel | files.progarm.org/graphG.svg ? | 22:47 | |
22:47
Cabanossi left
|
|||
BooK | AlexDaniel: nice, but I think the same effect could be achieved with making them bold when hovering | 22:48 | |
22:49
Cabanossi joined
|
|||
raschipi | The colors are nice because they eliminate the need to follow the lines completely, bold wouldn't. | 22:49 | |
BooK | widgets.stratopan.com/wheel?q=XML-...1&fs=1 # like this does (not sure if it's pure svg) | ||
colors are not always user-friendly | 22:50 | ||
interactive bold helps focus on one thing at a time | |||
but that's if it's possible to have some interaction (I know png can't, not sure about svg) | 22:51 | ||
nevermind, the wheel I linked to is made in js | |||
AlexDaniel | you can do that with css and svgs I believe | 22:52 | |
raschipi | And can it be generated with dot | ||
22:55
Zoffix joined,
pmurias left
|
|||
BooK | or postprocessed into the resulting svg | 22:56 | |
AlexDaniel | you just add a css class to whatever you want, then you style it using onhover | 22:57 | |
raschipi | Can graphviz generate svg with css classes? Is this how it would work? | 23:02 | |
AlexDaniel | yeah | 23:03 | |
23:03
mr_ron joined
23:04
nadim left
|
|||
AlexDaniel | although now I'm no longer sure… I remember doing that somehow, but googling doesn't give anything helpful. Well, maybe this: bl.ocks.org/timelyportfolio/7a87f60839cb9c2a1b3d | 23:05 | |
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Unreadable type graphs”: github.com/perl6/doc/issues/246#is...-326774155 | 23:09 | |
🍕 gfldex++ opened issue “better example in Iterator useful”: github.com/perl6/doc/issues/1508 | 23:11 | ||
23:12
Zoffix left
|
|||
squashable6 | 🍕 gfldex++ edited issue “better example in Iterator useful”: github.com/perl6/doc/issues/1508 | 23:14 | |
Geth | doc: gfldex++ created pull request #1509: better example in Iterator, closes #1508 |
23:22 | |
squashable6 | 🍕 gfldex++ opened pull request “better example in Iterator, closes #1508”: github.com/perl6/doc/pull/1509 | ||
gfldex | #1508 is a reply to stackoverflow.com/questions/458448...gning-them | 23:24 | |
squashable6 | 🍕 jnthn++ wrote a comment on “better example in Iterator useful”: github.com/perl6/doc/issues/1508#i...-326774764 | 23:27 | |
🍕 gfldex++ edited issue “better example in Iterator useful”: github.com/perl6/doc/issues/1508 | 23:30 | ||
🍕 gfldex++ wrote a comment on “better example in Iterator useful”: github.com/perl6/doc/issues/1508#i...-326774893 | 23:31 | ||
🍕 gfldex++ synchronize pull request “better example in Iterator, closes #1508”: github.com/perl6/doc/pull/1509 | |||
🍕 gfldex++ wrote a comment on “better example in Iterator, closes #1508”: github.com/perl6/doc/pull/1509#iss...-326774953 | 23:32 | ||
🍕 gfldex++ edited issue “better example in Iterator useful”: github.com/perl6/doc/issues/1508 | 23:35 | ||
🍕 gfldex++ synchronize pull request “better example in Iterator, closes #1508”: github.com/perl6/doc/pull/1509 | |||
🍕 AlexDaniel++ wrote a comment on “Unreadable type graphs”: github.com/perl6/doc/issues/246#is...-326775077 | 23:36 | ||
🍕 AlexDaniel++ self-unassigned issue “Unreadable type graphs”: github.com/perl6/doc/issues/246 | 23:37 | ||
🍕 AlexDaniel++ wrote a comment on “Unreadable type graphs”: github.com/perl6/doc/issues/246#is...-326775100 | |||
23:38
gdonald left
23:40
Guest69863 joined
|
|||
AlexDaniel | squashable6: status | 23:41 | |
squashable6 | AlexDaniel, 🍕 SQUASHathon is in progress! The end of the event in ≈12 hours | ||
AlexDaniel, Log and stats: gist.github.com/bb5dbc74e8ff1a9fdd...912b1cd25f | |||
23:41
espadrine left
23:44
Guest69863 left
|
|||
grondilu discovers the :Tabularize on Vim. Is happy. | 23:44 | ||
*command | |||
raschipi | grondilu: do you have any extensions? My Vim doesn't have a tabularize ex command. | 23:48 | |
Geth | doc: b8723fb8b2 | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Type/Proc/Async.pod6 Add a note for $proc.kill SIGHUP is likely not what most people want. Or maybe it is… See this discussion: irclog.perlgeek.de/perl6/2017-09-02#i_15104886 |
||
squashable6 | 🍕 AlexDaniel++ closed issue “show how to get the exit code out of Proc::Async”: github.com/perl6/doc/issues/1465 | 23:49 | |
🍕 AlexDaniel++ wrote a comment on “show how to get the exit code out of Proc::Async”: github.com/perl6/doc/issues/1465#i...-326775450 | |||
🍕 AlexDaniel++ wrote a comment on “nativecast is not documented”: github.com/perl6/doc/issues/537#is...-326775556 | 23:53 | ||
grondilu | raschipi: yes it's an extension indeed. I just forgot I had installed it :P | ||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Native Types Not Documented”: github.com/perl6/doc/issues/372#is...-326775597 | 23:54 | |
🍕 AlexDaniel++ opened issue “Table in Pod::Block is broken”: github.com/perl6/doc/issues/1510 | 23:58 | ||
🍕 AlexDaniel++ labeled issue “Table in Pod::Block is broken”: github.com/perl6/doc/issues/1510 |