»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋 Set by Zoffix on 25 July 2018. |
|||
00:03
epony left
|
|||
Juerd | Why do rats stringify with a decimal point notation, and is there a method like .nude that will return a string that roundtrips with val(), i.e. 23/3 instead of ~.nude, which returns "23 3"? | 00:08 | |
00:08
HaraldJoerg left
|
|||
Juerd | (I know there's .perl, but I'd rather use something a little less powerful ;)) | 00:08 | |
00:10
epony joined,
p6bannerbot sets mode: +v epony
00:15
lizmat left
|
|||
AlexDaniel | m: say (23/3).perl | 00:16 | |
camelia | <23/3> | ||
AlexDaniel | Juerd: ↑ | ||
[Coke] | m: say (16/5).perl | 00:17 | |
camelia | 3.2 | ||
[Coke] | AlexDaniel: ↑ | ||
AlexDaniel | oh | ||
[Coke] | though those both seem to roundtrip fine through val | 00:18 | |
AlexDaniel | I actually just read the second message saying “I know there's .perl” :) stupid me | 00:19 | |
00:21
epony left
|
|||
AlexDaniel | I'm confused by this: www.reddit.com/r/programmingcircle...6/e7dabbt/ | 00:30 | |
it's basically just a print call, and someone is talking about write-only code O_o | 00:31 | ||
timotimo | AlexDaniel: it's unacceptable that it's && and not "and" like in python which is a readable programming language because it looks like words | 00:33 | |
perlawhirl | \ | 00:35 | |
geekosaur | whatever do they think of C? | 00:36 | |
00:38
huf joined
|
|||
timotimo | at least C is a letter | 00:38 | |
perl 6 has the audacity to have a *number* in its name | |||
C++ is even worse, though, since it's more symbols than letters | |||
00:39
p6bannerbot sets mode: +v huf,
epony joined,
p6bannerbot sets mode: +v epony
00:47
regreg left
|
|||
Kaiepi | huh, didn't know && and || had different priorities between perl and perl 6 | 00:49 | |
lucs | Kaiepi: That's not what's happening. | ||
AlexDaniel | “Perl 6 started as Larry throwing a coffee mug during a conference two decades ago” | ||
Kaiepi | it's not? | ||
AlexDaniel | haha… | ||
Kaiepi: yeah, it's "0" that is truthy in one and is not in the other | 00:50 | ||
Kaiepi | ohh | ||
lucs | Kaiepi: In Perl 5, "0" evaluates to false, but in 6, to True (as for any string). | ||
Kaiepi | guessing perl's the one where "0" is falsey | ||
yeah | |||
timotimo | perl5 has the "0 but true" thing | 00:51 | |
Kaiepi | sounds like javascript | ||
timotimo | which in perl6 it'd be "0" but false instead | ||
lucs | It's a pretty nice example, showing where Perl 6 has cleaned up its act so to speak. | ||
timotimo | it doesn't get to show up the new ternary | ||
though i've seen people see it for the first time and say "wtf why would you do that" | 00:52 | ||
AlexDaniel | also doesn't demonstrate `say` | ||
timotimo | so ... *shrug* | ||
lucs | It doesn't show a lot of things :) | ||
timotimo | why doesn't it do multithreading, huh? | ||
AlexDaniel | ye, have to show off react block! | 00:53 | |
Kaiepi | odd question but how would i make it so &say calls &die instead? | 00:54 | |
i know i've done it before but idr how | |||
timotimo | m: my &say = ¨ say "hello" | ||
camelia | hello in block <unit> at <tmp> line 1 |
||
Kaiepi | oh | ||
Juerd | AlexDaniel: Thanks for the answer, although .perl wasn't what I was looking for :) | ||
MasterDuke | Juerd: ISTR a similar question recently (past month or so), was that also you? | 00:56 | |
AlexDaniel | m: my &say = &say ∘ ¨ say ‘foo’ | 00:57 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Cannot use variable &say in declaration to initialize itself at <tmp>:1 ------> 3my &say = &7⏏5say ∘ ¨ say ‘foo’ expecting any of: term |
||
Juerd | MasterDuke: I don't know what ISTR means, but I don't recall having asked a similar question before. | ||
AlexDaniel | this craptacular error message, *again* | ||
MasterDuke | "i seem to recall" | ||
AlexDaniel | though maybe it shouldn't work? | ||
actually, that's probably the case when the error message is right :) | 00:58 | ||
Kaiepi | m: (&say but role { method CALL-ME(Str $t) { die $t } })(1) | 00:59 | |
camelia | Type check failed in binding to parameter '$t'; expected Str but got Int (1) in method CALL-ME at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
Kaiepi | m: (&say but role { method CALL-ME(Str $t) { die $t } })('ayy lmao') | ||
camelia | ayy lmao in method CALL-ME at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
01:07
huf left
01:10
huf joined
01:11
p6bannerbot sets mode: +v huf
|
|||
k-man | why is so called so? | 01:12 | |
timotimo | think of how kids go | ||
01:13
molaf left
|
|||
timotimo | "is not!" - "is so!" - "is not!" - "is so!" | 01:13 | |
k-man | ah | ||
cute | |||
thanks timotimo | |||
timotimo | kids: you think they're cute *now* | ||
01:13
Ven` joined
01:14
p6bannerbot sets mode: +v Ven`
01:18
Ven` left
|
|||
AlexDaniel | heh yeah then you read all these reddit comments :) | 01:21 | |
01:29
ZzZombo left
|
|||
MasterDuke | Juerd: fwiw, this colabti.org/irclogger/irclogger_log...09-14#l150 is what i was thinking of | 01:36 | |
Juerd | MasterDuke: I'm currently also manually stringifying it with a / | ||
Although I'm using .nude.join | 01:37 | ||
01:42
random_yanek joined,
p6bannerbot sets mode: +v random_yanek
|
|||
Geth | doc: d3ff89ed33 | (Rafael Schipiura)++ (committed using GitHub Web editor) | doc/Type/Str.pod6 Update Str.pod6 |
01:48 | |
synopsebot | Link: doc.perl6.org/type/Str | ||
tbrowder__ | .tell finanalyst i’m going to sleep, but i leave my upvote for your doc changes, tell AlexDaniel so | 02:03 | |
yoleaux | tbrowder__: I'll pass your message to finanalyst. | ||
AlexDaniel | what's the ticket? | ||
ah I see, github.com/perl6/doc/pull/2369 | |||
tbrowder__ | i think it’s worth taking a look, nite all | 02:05 | |
AlexDaniel | tbrowder__: it's awesome | 02:06 | |
tbrowder__++ finanalyst++ | 02:07 | ||
02:07
regreg joined
02:08
p6bannerbot sets mode: +v regreg
02:17
mahafyi left
02:34
ZzZombo joined,
p6bannerbot sets mode: +v ZzZombo
02:35
Ven` joined
02:36
p6bannerbot sets mode: +v Ven`
02:41
Ven` left
02:45
ufobat___ joined
02:46
p6bannerbot sets mode: +v ufobat___
02:48
ufobat_ left
02:58
xinming_ joined
02:59
p6bannerbot sets mode: +v xinming_
03:02
xinming left
03:24
MasterDuke left
03:27
wamba joined
03:28
p6bannerbot sets mode: +v wamba
|
|||
k-man | how can i run a perl6 program I'm writing in emacs, and have the output displayed in a buffer? | 03:39 | |
lookatme_r | k-man, maybe in a shell ? | 03:40 | |
k-man | yeah | 03:41 | |
i'll give that a go | |||
03:41
lookatme_r is now known as lookatme_q
|
|||
buggable | New CPAN upload: App-Tasks-0.0.6.tar.gz by JMASLAK modules.perl6.org/dist/App::Tasks:cpan:JMASLAK | 03:50 | |
03:59
mahafyi joined
04:00
p6bannerbot sets mode: +v mahafyi
04:02
eythian left
04:08
fbynite joined
04:09
p6bannerbot sets mode: +v fbynite
04:15
eythian joined,
eythian left,
eythian joined,
p6bannerbot sets mode: +v eythian
04:16
fbynite left,
fbynite joined,
p6bannerbot sets mode: +v eythian
04:17
p6bannerbot sets mode: +v fbynite
|
|||
lucs | Why the difference here? Is X::… somehow reserved or treated specially? : | 04:35 | |
m: my class A { class B::C { } } ; A::B::C.^name.say; | |||
camelia | A::B::C | ||
lucs | m: my class A { class X::C { } } ; X::C.^name.say; | ||
camelia | A::X::C | ||
[Coke] | m: dd X | ||
camelia | X | ||
[Coke] | yes, a lot of exceptions live there. | 04:36 | |
m: say X.HOW | 04:37 | ||
camelia | Perl6::Metamodel::PackageHOW.new | ||
04:38
wamba left
|
|||
lucs | The inner "packaging" appears to be ignored with the X::C example. I was expecting the name to be A::X::C. | 04:41 | |
I was trying to have a class with its own exceptions (trying more stuff now). | 04:43 | ||
Uh oh :( | 04:48 | ||
m: my class A { class X::D { } } ; X::D.^name.say; my class B { class X::D { } } ; X::D.^name.say; | 04:49 | ||
camelia | A::X::D B::X::D |
||
04:51
Ven` joined
04:52
p6bannerbot sets mode: +v Ven`
04:54
curan joined,
p6bannerbot sets mode: +v curan
04:56
Ven` left
05:01
MilkmanDan left
05:02
MilkmanDan joined,
p6bannerbot sets mode: +v MilkmanDan
05:04
Ven` joined
05:05
p6bannerbot sets mode: +v Ven`
05:06
wamba joined
05:07
p6bannerbot sets mode: +v wamba
05:09
Ven` left
05:16
fake_space_whale left
|
|||
Geth | doc/master: 4 commits pushed by finanalyst++, (Juan Julián Merelo Guervós)++ | 05:25 | |
05:27
itaipu joined,
p6bannerbot sets mode: +v itaipu
|
|||
Xliff | Can someone tell me if Supply.emit is supposed to return a value? | 05:34 | |
05:36
domidumont joined
05:37
p6bannerbot sets mode: +v domidumont
|
|||
Xliff | .tell jnthn I may need your help on getting values out of a tapped supply. Please give me a PM. Thanks! | 05:37 | |
yoleaux | Xliff: I'll pass your message to jnthn. | ||
lookatme_q | Xliff, If you mean the method itself, I think it doesn't | 05:38 | |
Xliff | Well, I'm more concerned with what happens when I $s.emit and want the tapped code to return a value. | 05:41 | |
If the tapped code returns a value, where does it go? | |||
That's not clear from the docs. | |||
And I understand that there is an issue if a Supply has multiple taps. | |||
lookatme_q | The Tap is not have detail in document | 05:42 | |
Xliff | Yeah. I know. :( | ||
Thanks for the information, though. | 05:43 | ||
lookatme_q | And what the issue is ? | ||
Xliff | Take this code: sub setup_callback { my $s; my $callback = -> $arg1 --> uint32 { $s //= Supply.new; do_something_in_c(--> uint32 { $s.emit($arg1) }); $s }; setup_callback().tap(-> $arg1 --> uint32 { do_something($arg1) }); | 05:47 | |
I'd want the return value of the code in the tap to return to the C code via $s.emit | 05:48 | ||
05:48
jmerelo joined
|
|||
Xliff | I thought that was possible, but now I think that is not. Mainly for the reason of multiple taps on a single Supply. | 05:48 | |
05:49
fbynite left
|
|||
lookatme_q | As I know there is a issue about exception when I working with Supply. It force me gave up the Supply :( | 05:49 | |
05:49
p6bannerbot sets mode: +v jmerelo,
fbynite joined
05:50
p6bannerbot sets mode: +v fbynite
|
|||
Xliff | lookatme_q: I see. I am looking at the same choice. | 05:50 | |
I have a version of this with supply and one without and the one without works. | 05:51 | ||
lookatme_q | If you want the return value of tapped code, I think you should emit them such as `supply { emit do_something($arg1) }` | 05:52 | |
oh, may not work in tap :/ | 05:53 | ||
But it's like you gave something to a Supply, and the code return another Supply of return value | 05:54 | ||
or return the value from another Supply | |||
I am not find another way to do it | |||
s/am/can/ | 05:55 | ||
Xliff, Finally, I replace the Supply with some publish/subscribe code | 05:56 | ||
And it works fine currently | |||
05:57
kensanata joined,
p6bannerbot sets mode: +v kensanata
06:00
troys left
06:07
mephinet left
06:08
xq left,
Summertime left
06:09
Summertime joined,
p6bannerbot sets mode: +v Summertime
|
|||
Geth | doc/master: 4 commits pushed by (JJ Merelo)++ | 06:09 | |
06:15
mephinet joined,
p6bannerbot sets mode: +v mephinet,
HaraldJoerg joined
06:16
p6bannerbot sets mode: +v HaraldJoerg
|
|||
Geth | doc: c671ebd7af | (JJ Merelo)++ | doc/Language/grammar_tutorial.pod6 Reflow and revision |
06:20 | |
doc: bc5ec0701c | (JJ Merelo)++ | assets/sass/style.scss Formatting for headers level 4 |
|||
synopsebot | Link: doc.perl6.org/language/grammar_tutorial | ||
06:20
reu joined,
p6bannerbot sets mode: +v reu
06:33
abraxxa left
06:34
jmerelo left,
abraxxa joined
06:35
p6bannerbot sets mode: +v abraxxa,
abraxxa left
06:37
abraxxa joined
06:38
p6bannerbot sets mode: +v abraxxa
06:43
domidumont left
06:46
wamba left
06:48
itaipu left
06:53
vike left
06:54
wamba joined
06:55
p6bannerbot sets mode: +v wamba
07:01
domidumont joined
07:02
p6bannerbot sets mode: +v domidumont,
wamba left
07:03
wamba joined
07:04
p6bannerbot sets mode: +v wamba
07:25
fbynite left
07:26
HaraldJoerg left
07:29
HaraldJoerg joined,
p6bannerbot sets mode: +v HaraldJoerg
07:31
Rick_ joined,
p6bannerbot sets mode: +v Rick_
07:37
regreg_ joined,
p6bannerbot sets mode: +v regreg_
07:39
regreg left
07:49
Rick_ left
07:57
pmurias left
08:08
mahafyi left
08:26
Ven` joined
08:27
p6bannerbot sets mode: +v Ven`
|
|||
buggable | New CPAN upload: File-Zip-0.1.2.tar.gz by TYIL modules.perl6.org/dist/File::Zip:cpan:TYIL | 08:40 | |
jnthn | Xliff: class FooEvent { has $.result is rw }; my $s = Supplier.new; $s.Supply.tap: { .result = 42 }; given FooEvent.new -> $e { $s.emit($e); say $e.result } | 08:43 | |
yoleaux | 05:37Z <Xliff> jnthn: I may need your help on getting values out of a tapped supply. Please give me a PM. Thanks! | ||
jnthn | .tell Xliff class FooEvent { has $.result is rw }; my $s = Supplier.new; $s.Supply.tap: { .result = 42 }; given FooEvent.new -> $e { $s.emit($e); say $e.result } | ||
yoleaux | jnthn: I'll pass your message to Xliff. | ||
08:55
rindolf joined
08:56
p6bannerbot sets mode: +v rindolf
08:58
lizmat joined,
p6bannerbot sets mode: +v lizmat
|
|||
lizmat clickbaits p6weekly.wordpress.com/2018/10/08/...ed-the-js/ | 09:03 | ||
lookatme_q | jnthn, never seen this usage before, cool ! | 09:06 | |
moritz | .oO( "there must be a rule against this" ) |
||
09:07
pmurias joined,
p6bannerbot sets mode: +v pmurias,
pmurias left
|
|||
jnthn | moritz: Supplies don't introduce concurrency (of course, there's things like Supply.interval, but that is using the scheduler to introduce the concurrency, and the supply to control it). So actually the design is so that things like I suggested work out alright :) | 09:08 | |
*is such | |||
lookatme_q | And now I faced some trouble when I using .race/.hyper, there is no problem in early version Rakudo | ||
moritz | there's *still* gotta be a rule against this :-) | 09:09 | |
09:10
vike joined
|
|||
masak | I fail to see the problem ;) | 09:10 | |
lookatme_q | Sometimes the code will segment fault : github.com/araraloren/perl6-app-fi...in/fs#L153 | ||
09:10
p6bannerbot sets mode: +v vike
|
|||
lookatme_q | If I remove the .race will be fine | 09:11 | |
.hyper will also segment fault too | 09:12 | ||
but not always | |||
moritz | masak: the problem is me | 09:13 | |
09:13
pmurias joined,
p6bannerbot sets mode: +v pmurias
|
|||
masak hugs moritz | 09:13 | ||
lookatme_q | Will ask for help later, off work now :) Appreciate if someone can give me some advices | 09:14 | |
09:23
ToddAndMargo joined,
p6bannerbot sets mode: +v ToddAndMargo
09:24
robertle joined,
p6bannerbot sets mode: +v robertle
|
|||
ToddAndMargo | Hi All, with `say` or `print`, how do I send Ctrl-J or ^j to my terminal? | 09:25 | |
yoleaux | 8 Oct 2018 08:30Z <Xliff> ToddAndMargo: "hello".encode.decode('utf8').contains( chr(0) ) ... You want the ".decode" part on. | ||
ToddAndMargo | Hi Yoleaux, I changed my mind and am looking at the direct binary come with the @$var syntax. Thank you anyway! | 09:26 | |
El_Che | yoleaux is a msg bot | ||
Xliff is the one answering | 09:27 | ||
(and @$var looks like Perl 5 to me :) ) | |||
09:30
xq joined,
p6bannerbot sets mode: +v xq
|
|||
ToddAndMargo | @$var when looping though a `Buf` | 09:31 | |
09:33
jast left
|
|||
ToddAndMargo | $ p6 'my $fh=open "/home/linuxutil/To", :r; my Buf $f = $fh.read( 10 ); $fh.close; dd $f; for @$f -> $Byte { if $Byte == 0b00 {say "Binary"; last;}else{say $Byte}}' Buf[uint8] $f = Buf[uint8].new(87,111,114,100,80,114,111,0,0,0) | 09:33 | |
09:37
ChoHag joined
09:38
p6bannerbot sets mode: +v ChoHag
09:42
jast joined,
p6bannerbot sets mode: +v jast
10:00
cognominal-p6 left
10:03
darthdeus_ joined
10:04
p6bannerbot sets mode: +v darthdeus_
|
|||
lizmat | El_Che: @$var is perfectly valid Perl 6 and the same as $var.list | 10:05 | |
jnthn | $var.cache actually, but that calls $var.list by default :) | 10:07 | |
ToddAndMargo | I used `$var[0..*]` before I knew the difference | 10:08 | |
jnthn | $var[] is also fine | 10:10 | |
ToddAndMargo | ^j ??? | 10:12 | |
10:13
ZzZombo left
|
|||
ToddAndMargo | I wonder is $var[0..Inf] would have also worked? Trivia question. | 10:15 | |
timotimo | ToddAndMargo: if i understand correctly what you mean, you cannot do that by outputting from your program | 10:16 | |
10:16
piccolo joined
|
|||
timotimo | what is ^j supposed to do again? | 10:16 | |
10:17
p6bannerbot sets mode: +v piccolo
|
|||
ToddAndMargo | Linux: when you echo a binary file or part of one to your terminal, it screws up your terminal with weird control characters. The solution is to type `sane^j` and it will reset your terminal. Since I will be sending some weird stuff to my terminal, I wanted to end it with`sane^j` | 10:20 | |
timotimo | you can do something else instead | 10:22 | |
run "reset" | |||
evalable6 | reset: terminal attributes: No such device or address | ||
timotimo | it's a program | ||
ToddAndMargo | This one? $ which reset /usr/bin/reset | 10:23 | |
timotimo | yes | ||
ToddAndMargo | `stty sane^j` is the full command | ||
any idea how to send a ^j ? | 10:24 | ||
reset: Thank you! | |||
^j ? | |||
ilmari | ctrl-j | 10:25 | |
timotimo | ToddAndMargo: a brief google search reveals that ctrl-j just inputs a \n | ||
same as the return key, but i expect there's a mode for the terminal where the return key is configured to do something else | 10:26 | ||
so "stty sane^j" is equivalent to running the command "stty sane" | |||
ToddAndMargo | not when the return key has been remapped. Hmmm. maybe all I have to do is `stty sane\n`. I will try! Thank you! | 10:29 | |
10:31
cognominal-p6 joined
10:32
cognominal-p6 left
|
|||
timotimo | no | 10:32 | |
you need qx or run or shell | |||
if outputting "foo bar\n" would cause "foo" to be run with the argument "bar", then you couldn'n "say 'hello world'" without it trying to run /usr/bin/hello with the argument word | 10:33 | ||
10:33
cognominal-p6 joined
|
|||
timotimo | even though inputting something on the terminal usually results in your input being echoed back at you doesn't mean that whenever something is outputted at you it will also be input'd to the shell, if that helps explain | 10:33 | |
10:34
p6bannerbot sets mode: +v cognominal-p6
10:41
pecastro joined,
Actualeyes left
10:42
p6bannerbot sets mode: +v pecastro
10:46
pecastro left,
pecastro joined
10:47
p6bannerbot sets mode: +v pecastro
|
|||
ToddAndMargo | Thank you! | 10:47 | |
bye bye | 10:48 | ||
10:48
ToddAndMargo left
10:55
pmurias left
10:56
pmurias joined,
p6bannerbot sets mode: +v pmurias
11:05
pecastro left
11:07
[ptc]_ left,
pmurias left
11:08
[ptc] joined
11:09
p6bannerbot sets mode: +v [ptc],
pmurias joined,
p6bannerbot sets mode: +v pmurias
11:11
pmurias left
11:12
pecastro joined
11:13
p6bannerbot sets mode: +v pecastro
11:14
pmurias joined,
pmurias left,
lichtkind joined
11:15
p6bannerbot sets mode: +v lichtkind
|
|||
lichtkind | can someone direct me to rakudos pod parser or the podule? | 11:15 | |
module - thanks | |||
timotimo | it's in src/Perl6/, i'm not sure if the parsen has already been split out or not, otherwise it's in Grammar.nqp and Actions.nqp, and some classes and constructors in Pod.nqp | 11:17 | |
lichtkind | timotimo, i currently look into pod.pm but wha ti searching for s not there | 11:18 | |
11:18
cognominal-p6 left
|
|||
timotimo | yeah, there's barely anything in there | 11:18 | |
El_Che | lizmat: the horror | 11:19 | |
11:20
pmurias joined,
p6bannerbot sets mode: +v pmurias
11:21
pmurias left
11:24
ZzZombo joined,
p6bannerbot sets mode: +v ZzZombo
11:26
pmurias joined,
p6bannerbot sets mode: +v pmurias,
pecastro left
11:38
HaraldJoerg left
11:42
wamba left
|
|||
lichtkind | timotimo, i file a feature request | 11:43 | |
11:44
lizmat left
11:45
piccolo left
11:56
cognominal-p6 joined
11:57
p6bannerbot sets mode: +v cognominal-p6
12:03
cognominal-p6 left,
cognominal-p6 joined
12:04
p6bannerbot sets mode: +v cognominal-p6
12:08
emerson left
12:15
emerson joined,
p6bannerbot sets mode: +v emerson
12:20
cognominal-p6 left
12:21
kurahaupo left
12:27
knation joined,
p6bannerbot sets mode: +v knation
12:43
pmurias left,
pmurias joined,
p6bannerbot sets mode: +v pmurias
12:44
pmurias left
12:48
pmurias joined,
p6bannerbot sets mode: +v pmurias
|
|||
AlexDaniel | lookatme_q: please file a ticket. A snippet to reproduce the issue (even if it depends on your module) will help. A golf will help even more | 12:53 | |
12:56
mahafyi joined
12:57
p6bannerbot sets mode: +v mahafyi
13:00
araraloren joined
13:01
p6bannerbot sets mode: +v araraloren
13:05
jeromelanteri joined
13:06
cognominal-p6 joined,
p6bannerbot sets mode: +v jeromelanteri,
cognominal-p6 left,
cognominal-p6 joined,
p6bannerbot sets mode: +v cognominal-p6
13:07
p6bannerbot sets mode: +v cognominal-p6
13:10
Scimon joined
13:11
p6bannerbot sets mode: +v Scimon
13:12
renormalist joined
13:13
p6bannerbot sets mode: +v renormalist
|
|||
araraloren | AlexDaniel okay, I will fill a ticket | 13:14 | |
13:15
wamba joined,
wamba left
13:21
pecastro joined,
pmurias left
13:22
p6bannerbot sets mode: +v pecastro
13:26
pmurias joined,
p6bannerbot sets mode: +v pmurias
13:27
sena_kun joined
13:28
p6bannerbot sets mode: +v sena_kun
13:30
cognominal-p6 left
13:32
molaf joined,
p6bannerbot sets mode: +v molaf
13:34
jeromelanteri left
|
|||
jkramer | I wish the baggy ops were available in P5 <3 | 13:35 | |
Before I started with P6 I didn't know how much I needed them but now I can never go back | 13:36 | ||
13:36
erana left,
erana joined
13:37
p6bannerbot sets mode: +v erana
13:42
pecastro left
13:43
pmurias left
13:46
pmurias joined,
p6bannerbot sets mode: +v pmurias
13:49
pecastro joined,
p6bannerbot sets mode: +v pecastro
13:51
lizmat joined,
p6bannerbot sets mode: +v lizmat
|
|||
El_Che | jkramer: yeah :( | 13:54 | |
araraloren | I submit a issue: github.com/rakudo/rakudo/issues/2355 | 13:57 | |
14:02
pmurias left
14:04
pecastro left
|
|||
rindolf | araraloren: s/submit/submitted/ | 14:09 | |
14:09
piccolo joined
|
|||
rindolf | it irks me every time | 14:10 | |
14:10
p6bannerbot sets mode: +v piccolo,
ChoHag left
|
|||
shmup | i made a quick lookup thing that uses every /doc url on perl6.org (that i quickly scraped) showterm.io/e914d63ba29e69e0b5a77 | 14:10 | |
using fzy | 14:11 | ||
14:11
pmurias joined,
p6bannerbot sets mode: +v pmurias
|
|||
shmup | note that it just appears to be sluggish in that term recorder :P | 14:11 | |
14:11
pecastro joined
14:12
ChoHag joined,
p6bannerbot sets mode: +v pecastro,
p6bannerbot sets mode: +v ChoHag
14:16
pmurias left,
pmurias joined,
p6bannerbot sets mode: +v pmurias
|
|||
knation | Has anyone used Cro and done a wildcard match for the route path? as in `get -> * {...}` ? I haven't seen an example of a catch all and my guess and check hasn't turned anything up | 14:21 | |
14:21
finanalyst joined
14:22
piccolo left,
p6bannerbot sets mode: +v finanalyst
|
|||
jnthn | knation: To match one or all path segments? | 14:23 | |
14:23
araraloren left
|
|||
knation | Right now I would like it to match all possible paths | 14:23 | |
jnthn | *@ | ||
14:23
araraloren joined
14:24
pecastro left
|
|||
jnthn | *@segs if you actually want the segments | 14:24 | |
14:24
pmurias left
|
|||
knation | Perfect, thank you! | 14:24 | |
jnthn | But otherwise can just slurp them anonymously | ||
14:24
p6bannerbot sets mode: +v araraloren,
pmurias joined,
p6bannerbot sets mode: +v pmurias
|
|||
araraloren | rindolf thanks :) | 14:25 | |
rindolf | araraloren: you're welcome | 14:27 | |
finanalyst | hi, I'd like to discuss the language.html page of the documentation. I have two png screenshots, one with new, one with current version. Can I share them here? | ||
yoleaux | 02:03Z <tbrowder__> finanalyst: i’m going to sleep, but i leave my upvote for your doc changes, tell AlexDaniel so | ||
14:29
curan left
|
|||
finanalyst | The language.html page is the link from the language tab at doc.perl6.org | 14:29 | |
currently it is a psuedo-random collection of content pages because the order is the alphabetical name of the pod6 file, but the Name of the page is defined inside the pod6 file. So someone coming to the page wonders why it is such a clumsy list | 14:31 | ||
Tom Browder did a lot of work so that the order and subtitles would be taken from a CONTROL file. I have finished this work. | 14:32 | ||
pmurias | finanalyst: yes you can share the screenshots | ||
finanalyst | pmurias: how? | ||
pmurias | finanalyst: dunno, upload them somewhere and paste the links here? | 14:34 | |
finanalyst | ok. | 14:36 | |
AlexDaniel | finanalyst: firefox has a built-in feature to share screenshots, it is nice | 14:38 | |
14:38
pmurias left
|
|||
rindolf | finanalyst: imgur.com/ | 14:38 | |
14:39
pmurias joined,
p6bannerbot sets mode: +v pmurias
|
|||
tbrowder__ | hi, folks; thnx finanalyst! | 14:39 | |
Geth | doc: uzluisf++ created pull request #2371: Add whitespace and reflow |
14:40 | |
tbrowder__ | another grammar question: say i define $<athing> on a match object. can i then add content to it from another $<thing> ? | 14:42 | |
if so, how? | |||
finanalyst | www.dropbox.com/s/1tvlokys353z7ss/...w.png?dl=0 | 14:43 | |
www.dropbox.com/s/nrh92o2do9i9kd9/...d.png?dl=0 | 14:44 | ||
tbrowder__ | finanalyst: looks good! | ||
14:45
christof joined,
p6bannerbot sets mode: +v christof
|
|||
finanalyst | I have done nothing to the css. I think that the table dimensions could be made the same through css | 14:45 | |
Also in the PR is a intro to the Documentation, basically listing a few sections that should be read for a better understanding | 14:46 | ||
AlexDaniel | finanalyst: btw I left some commens on the PR (which is now already merged) | ||
finanalyst | Mileage will vary. | ||
14:46
pmurias left
|
|||
AlexDaniel | finanalyst: looking at the screenshot, I don't like screaming headings | 14:46 | |
“Tutorials” is probably better than TUTORIALS | |||
finanalyst | AlexDaniel: I've been out all day. Just returned. Will look at comments. | ||
14:47
christof left
|
|||
AlexDaniel | automatic table sizing doesn't look too horrible to me | 14:47 | |
finanalyst | AlexDaniel: Agree Title Case better. This is easily changeable in CONTROL file | 14:48 | |
AlexDaniel | so, what's the reason we don't have this enabled by default? | ||
14:48
piccolo joined
|
|||
finanalyst | I made minimum changes to docs repo | 14:48 | |
I can change 00_CONTROL_POD6 file immediately | 14:49 | ||
14:49
p6bannerbot sets mode: +v piccolo,
pmurias joined,
p6bannerbot sets mode: +v pmurias
|
|||
finanalyst | Also change in the order of the sections, and which pages go in which section is easily done in the 00CONTROL file | 14:50 | |
14:50
pmurias left
|
|||
lizmat | finanalyst++ | 14:51 | |
14:51
pecastro joined
|
|||
AlexDaniel | finanalyst++ indeed | 14:51 | |
finanalyst: I don't think we use Title Case in docs, at least not anymore | 14:52 | ||
14:52
p6bannerbot sets mode: +v pecastro
|
|||
finanalyst | AlexDaniel: Very pleased to see positive responses. Agreed with all your nitpicking. I can fix. | 14:53 | |
14:54
knation left
|
|||
finanalyst | I'll look again at the standard style and change the titles of the sections to conform | 14:54 | |
Would you please review the new intro pod6 as it is completely new, and I am sure there will be some feedback | 14:55 | ||
14:55
itaipu joined
|
|||
AlexDaniel | finanalyst: looking at styleguide, it does not recommend sentence case yet, though it doesn't say anything regarding the page titles at all github.com/perl6/doc/blob/master/w...LEGUIDE.md | 14:55 | |
14:56
pmurias joined,
p6bannerbot sets mode: +v pmurias,
p6bannerbot sets mode: +v itaipu
|
|||
AlexDaniel | however it recommends to fall back to whatever is used in Wikipedia, and using that it should be sentence case for titles | 14:56 | |
finanalyst: so “Please use sentence case” :) | 14:57 | ||
finanalyst | AlexDaniel: OK. My preference for Section headings is Title Case. Title Case is used for the main title | 14:59 | |
But that's a matter of taste, and I will not push my view here. | |||
15:00
epony left,
Xliff left
|
|||
AlexDaniel | finanalyst: github.com/perl6/doc/issues/2223 | 15:00 | |
unicodable6: f o | 15:04 | ||
unicodable6 | AlexDaniel, U+0066 LATIN SMALL LETTER F [Ll] (f) | ||
AlexDaniel, U+00A0 NO-BREAK SPACE [Zs] ( ) | |||
AlexDaniel, 4 characters in total (f o): gist.github.com/d2c9a67b6cc90b6a2a...f316c5819d | |||
15:05
epony joined,
p6bannerbot sets mode: +v epony
15:06
kurahaupo joined
15:07
p6bannerbot sets mode: +v kurahaupo
15:10
epony left
15:11
fake_space_whale joined,
jmerelo joined,
p6bannerbot sets mode: +v fake_space_whale
15:12
p6bannerbot sets mode: +v jmerelo
15:13
Ven` left
|
|||
Geth | doc: finanalyst++ created pull request #2372: Changes as requested by AlexDaniel |
15:15 | |
doc: 979ad5448e | (Richard Hainsworth)++ (committed using GitHub Web editor) | 33 files Merge pull request #1 from perl6/master update |
15:16 | ||
doc: 086f362bc6 | finanalyst++ | 3 files Mainly sentence case in control |
|||
doc: 66b40655e5 | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed using GitHub Web editor) | 3 files Merge pull request #2372 from finanalyst/master Changes as requested by AlexDaniel |
|||
finanalyst | AlexDaniel: So next step is to change Makefile , to set USE_CATEGORIES to True. | 15:20 | |
Thank you everybody. I'm really glad to have been some help. | 15:21 | ||
AlexDaniel | finanalyst++ | ||
15:22
Ven` joined
|
|||
jmerelo | finanalyst++ | 15:22 | |
yoleaux | 8 Oct 2018 07:19Z <Xliff> jmerelo: At a guess, you are missing what would be self, since as a method, that is always passed first. | ||
8 Oct 2018 07:20Z <Xliff> jmerelo: Regarding your SO question re: grammars. | |||
8 Oct 2018 13:40Z <SmokeMachine> jmerelo: :) | |||
15:22
epony joined,
p6bannerbot sets mode: +v epony
|
|||
jmerelo | .tell Xliff thanks | 15:22 | |
yoleaux | jmerelo: I'll pass your message to Xliff. | ||
15:23
p6bannerbot sets mode: +v Ven`
|
|||
Geth | doc: 693d49704b | (Aleks-Daniel Jakimenko-Aleksejev)++ | Makefile Enable language page categories |
15:23 | |
AlexDaniel | finanalyst: like this, right? ↑ | ||
now we wait for the rebuild and enjoy :) | 15:24 | ||
weekly: finanalyst++ worked on the language page index docs.perl6.org/language.html | 15:25 | ||
notable6 | AlexDaniel, Noted! | ||
finanalyst | AlexDaniel: yes | ||
AlexDaniel | ===SORRY!=== | 15:31 | |
Missing or wrong version of dependency 'perl#sources/C57EBB9F7A3922A4DA48EE8FCF34A4DC55942942 (CompUnit::Repository::Staging)' (from 'perl#sources/FE7156F9200E802D3DB8FA628CF91AD6B020539B (NativeCall::Compiler::GNU)') | |||
O_o | |||
15:32
tankf33der joined,
p6bannerbot sets mode: +v tankf33der
15:34
domidumont left
15:35
troys joined
15:36
p6bannerbot sets mode: +v troys
|
|||
AlexDaniel | weekly: 30_000 commits in rakudo master! | 15:38 | |
notable6 | AlexDaniel, Noted! | ||
AlexDaniel | OK I'm away to do some stuff :) | 15:39 | |
15:42
ufobat___ left
15:46
zakharyas joined,
p6bannerbot sets mode: +v zakharyas
15:50
kurahaupo left
15:51
vrurg left
15:54
fake_space_whale left
15:58
MilkmanDan left
|
|||
Geth | doc: 26ff8af436 | (Richard Hainsworth)++ (committed using GitHub Web editor) | doc/Language/intro.pod6 Update intro.pod6 Perl6 -> Perl 6 section name changed to Sentence case. |
15:58 | |
synopsebot | Link: doc.perl6.org/language/intro | ||
15:59
MilkmanDan joined,
p6bannerbot sets mode: +v MilkmanDan
16:07
kensanata left,
araraloren left
|
|||
El_Che | CIAvash: interesting mixup at alternativeto! | 16:17 | |
CIAvash | Yeah 😀 | 16:19 | |
16:21
HaraldJoerg1 joined,
p6bannerbot sets mode: +v HaraldJoerg1
16:24
AlexDaniel left,
AlexDaniel joined,
asimov.freenode.net sets mode: +v AlexDaniel,
p6bannerbot sets mode: +v AlexDaniel
16:26
cognominal-p6 joined,
lizmat left,
p6bannerbot sets mode: +v cognominal-p6
16:27
cognominal-p6 left,
Ven` left,
cognominal-p6 joined
16:28
p6bannerbot sets mode: +v cognominal-p6
|
|||
CIAvash | El_Che: If you want to see their note in the description(click on more): alternativeto.net/software/perl-6/ | 16:28 | |
I think it was based on my explanation | |||
16:30
lizmat joined,
p6bannerbot sets mode: +v lizmat
|
|||
El_Che | good job | 16:31 | |
16:34
AlexDaniel` joined,
moon.freenode.net sets mode: +v AlexDaniel`,
p6bannerbot sets mode: +v AlexDaniel`
|
|||
CIAvash | Maybe we should use that as an alias, but I don't think people want that many spaces in the name! :) | 16:35 | |
timotimo | should we perhaps put a BSD flag on perl6 there? | ||
CIAvash | timotimo: it woks on BSD? | 16:40 | |
*works | 16:41 | ||
16:43
zakharyas left
|
|||
El_Che | it builds on solaris nowadays, according to same | 16:45 | |
CIAvash | added BSD | ||
El_Che | samcv | ||
16:46
Sauvin left
|
|||
tyil | I believe she tested with a VM, not a native system, but that shouldn't matter (right?) | 16:46 | |
timotimo | we do have people working on rakudo-for-BSD, but i'm not sure what exactly the state is | 16:47 | |
i'll BBL for a bit | |||
16:49
regreg_ left
|
|||
tyil | I know I got Perl 6 running on FreeBSD a while back | 16:49 | |
havent tried it recently | |||
tony-o | i had it running on freebsd about 4 years ago, i'll try again with a fresh | 16:53 | |
CIAvash | Just so people know what El_Che was talking about: | 16:56 | |
.tw twitter.com/CIAvash/status/1049690771895607296 | |||
yoleaux | @jmaslak @nxadm It's not just a marketing issue, you have to explain to people that Perl 6 is not Perl version 6. Read the alternativeto.net incident here(colabti.org/irclogger/irclogger_log...06#l1507). After I explained things they asked me to readd the page. They also added a note so others don't get confused (@CIAvash, in reply to tw:1049648800510275584) | ||
El_Che | yeah, I am nxadm as well | 16:58 | |
like the aliasing concept ;) | |||
16:59
finanalyst left
|
|||
ilmari | interestingly, perl is listed as an alternative to perl 6, but not vice versa | 17:00 | |
17:00
Sauvin joined,
p6bannerbot sets mode: +v Sauvin
|
|||
ilmari | oh, no, it is, I just missed it scrolling down | 17:00 | |
17:01
sauvin_ joined,
p6bannerbot sets mode: +v sauvin_
17:04
Sauvin left
|
|||
tony-o | i agree with joelle | 17:10 | |
lucs | My favorite language used to be Perl. Nowadays, it's Perlsix." | 17:27 | |
(opening doublequote missing) | 17:28 | ||
17:32
jmerelo left
17:44
vrurg joined,
p6bannerbot sets mode: +v vrurg
17:48
pmurias left
17:53
x[LGWs4x4i]uG2N0 left
17:54
regreg_ joined,
p6bannerbot sets mode: +v regreg_
17:59
x[LGWs4x4i]uG2N0 joined
18:00
p6bannerbot sets mode: +v x[LGWs4x4i]uG2N0
18:02
xinming_ left,
xinming joined
18:03
p6bannerbot sets mode: +v xinming
18:09
itaipu left
18:16
patrickb joined,
zakharyas joined
18:17
p6bannerbot sets mode: +v patrickb,
p6bannerbot sets mode: +v zakharyas
18:22
jmerelo joined
18:23
p6bannerbot sets mode: +v jmerelo
18:24
sauvin_ left
|
|||
tony-o | "In perl you had to include your own async modules. In squeebles it's built in!" - inane comparisons go in both directions | 18:55 | |
18:55
zakharyas left
18:58
aindilis left
18:59
aindilis joined,
molaf left
19:00
p6bannerbot sets mode: +v aindilis
19:18
ufobat___ joined
|
|||
timotimo | excuse me, what is that a reference to, tony-o? | 19:18 | |
19:19
p6bannerbot sets mode: +v ufobat___
19:21
zakharyas joined
19:22
p6bannerbot sets mode: +v zakharyas
19:24
AlexDaniel left,
AlexDaniel joined
19:25
p6bannerbot sets mode: +v AlexDaniel
19:28
sena_kun left,
zakharyas left
|
|||
lichtkind | jmerelo, | 19:31 | |
19:33
dct joined,
p6bannerbot sets mode: +v dct
19:36
AlexDaniel left,
AlexDaniel joined
19:37
p6bannerbot sets mode: +v AlexDaniel
19:41
jmerelo left
19:47
robertle_ joined,
p6bannerbot sets mode: +v robertle_
19:56
metelik_ joined,
p6bannerbot sets mode: +v metelik_
19:58
metelik left
20:03
Coffee-N-Donuts joined,
p6bannerbot sets mode: +v Coffee-N-Donuts
20:05
Woodi joined,
p6bannerbot sets mode: +v Woodi
20:06
Coffee-N-Donuts left
20:07
patrickb left
20:23
molaf joined,
p6bannerbot sets mode: +v molaf
20:34
aindilis left
20:41
metelik__ joined
20:42
p6bannerbot sets mode: +v metelik__,
robertle_ left,
Scimon left
20:43
metelik_ left
21:03
metelik_ joined,
metelik__ left
21:04
p6bannerbot sets mode: +v metelik_
|
|||
tony-o | i'd presumed lucs was commenting on why it's weird to call perl6 "perl6" if we're not considering it the next iteration of perl | 21:06 | |
21:08
kensanata joined,
p6bannerbot sets mode: +v kensanata
|
|||
tony-o | even if he/she wasn't, the line of "it's tedious to explain that it's a different language" is more tedious to read than to explain and it only begs the question "why is <whatever alias that hopefully doesn't happen> constantly compared to perl if it is _not_ an iteration of perl?" | 21:11 | |
21:14
telex left
21:15
telex joined
21:16
p6bannerbot sets mode: +v telex
21:32
kerframil joined,
p6bannerbot sets mode: +v kerframil
21:37
kerframil left,
kerframil joined,
p6bannerbot sets mode: +v kerframil
|
|||
shmup | prob i didnt explore right but, regardining entries in here: docs.perl6.org/syntax/ such as heredocs :to where are they found listed on the actual docs.perl6.org ? | 21:49 | |
theyre not under one of the navbar listings (routines, types, etc) afaik | |||
timotimo | that kind of thing is usually under language/ | 21:50 | |
docs.perl6.org/language/quoting#Heredocs:_:to | |||
shmup | oh, quoting, ok heh | 21:51 | |
tyvm timotimo | |||
21:51
kensanata left
|
|||
timotimo | NP | 21:51 | |
shmup | vim's perl6 stuff is godawful slow, i don't really get it. best you can do is setting the foldmethod to indent/manual, afaik | 21:52 | |
timotimo | you have to make sure no lines like # -------------------------------- exist in your file | ||
shmup | syntax foldmethod is slow for all languages given buffer size, however | ||
cool cool timotimo | |||
timotimo | if there's too many dashes or = or whatever it looks for are in there, it'll stand still until you ctrl-c | ||
and then highlighting is gone | 21:53 | ||
21:58
Bucciarati left
21:59
avar left,
Bucciarati joined,
avar joined,
avar left,
avar joined,
p6bannerbot sets mode: +v avar
22:00
p6bannerbot sets mode: +v Bucciarati,
p6bannerbot sets mode: +v avar,
cognominal-p6 left
22:01
bazzaar joined,
p6bannerbot sets mode: +v bazzaar
|
|||
bazzaar | \perl6 | 22:01 | |
\o perl6 | |||
timotimo | o/ | 22:03 | |
22:03
cognominal-p6 joined
22:04
p6bannerbot sets mode: +v cognominal-p6
|
|||
bazzaar | I wonder whether anyone would be so kind to have a quick look at a reduced-down Inline::Python perl6 script(+ module), it works, but there's a wrinkle I can't explain, it's all in the following gist (see first comment for background) : <script src="gist.github.com/bazzaar/d143663661...script> | 22:06 | |
timotimo | are you messing with us? :) | 22:07 | |
22:07
HaraldJoerg1 left
|
|||
AlexDaniel | pasted the wrong thing perhaps | 22:08 | |
bazzaar | sorry, pasted the wrong thing, choose the embed link on the gist page, heck | 22:09 | |
gist.github.com/bazzaar/d143663661...df204f98ec | 22:10 | ||
that's better, apologies | 22:11 | ||
timotimo | i saw a crapton of javascript code with document.write and i was skeptical %) | ||
bazzaar | is it possible for me to delete the previous link? | 22:12 | |
timotimo | no, but no worries | ||
could it be you're expecting the class to be a closure? | 22:16 | ||
hm, no, it doesn't seem to be the case | 22:17 | ||
22:18
regreg_ left
|
|||
buggable | New CPAN upload: Sparrowdo-VSTS-YAML-Build-0.0.7.tar.gz by MELEZHIK modules.perl6.org/dist/Sparrowdo::V...n:MELEZHIK | 22:20 | |
New CPAN upload: Sparrowdo-VSTS-YAML-Cordova-0.0.14.tar.gz by MELEZHIK modules.perl6.org/dist/Sparrowdo::V...n:MELEZHIK | |||
bazzaar | I wondered if behind the scenes a list of attributes of the python object was stored in a sequence, which was then consumed... | ||
22:23
pecastro left
22:33
rindolf left
22:35
mattp_ joined,
p6bannerbot sets mode: +v mattp_
22:52
DetroitDan joined,
p6bannerbot sets mode: +v DetroitDan
|
|||
DetroitDan | HELP | 22:53 | |
timotimo | greetings DetroitDan | 22:54 | |
please state the nature of your lepidopterological emergency | |||
DetroitDan | (c; | 22:56 | |
just exploring | |||
timotimo | oh, OK | ||
DetroitDan | Thanks | ||
timotimo | it is possible that you wrote something before the p6bannerbot gave you the +v status, and nobody would have seen it | ||
it's a measure against a spam attack that has been going on for a while now | |||
DetroitDan | Ok, thanks for the update. | 22:57 | |
timotimo | i'll be AFK for another while, but you can put your question here and later check the irc logs to see if anybody answered in the mean time: colabti.org/irclogger/irclogger_logs/perl6 | ||
DetroitDan | Thanks again! | ||
23:00
dct left
23:03
cognominal-p6 left
23:04
lichtkind left
23:05
kerframil left,
kerframil joined,
p6bannerbot sets mode: +v kerframil
|
|||
b2gills | Note that this about the time when this channel tends to go dormant. | 23:13 | |
bazzaar | I did a bit more testing on the issue I'm having with my Inline::Python Matplotlib perl6 script, so I updated the gist with another comment : gist.github.com/bazzaar/d143663661...df204f98ec | 23:17 | |
23:27
DetroitDan left
23:43
bazzaar left
23:51
regreg_ joined
23:52
p6bannerbot sets mode: +v regreg_
23:53
avar left
|
|||
Geth | p6-sake: melezhik++ created pull request #26: Outthentic test for sake |
23:57 |