»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend! Set by moritz on 22 December 2015. |
|||
00:01
w_richard_w joined
|
|||
timotimo | m: class A { has $.x is rw }; my @b = A.new xx 5; @b>>.x >>=<< 1, 2, 3, 4, 5; say @b.perl | 00:08 | |
camelia | WARNINGS for <tmp>: Useless use of constant integer 2 in sink context (lines 1, 1) Useless use of constant integer 4 in sink context (lines 1, 1) Useless use of constant integer 3 in sink context (lines 1, 1) Useless use of constant integer 5 … |
||
timotimo | m: class A { has $.x is rw }; my @b = A.new xx 5; @b>>.x >>=<< (1, 2, 3, 4, 5); say @b.perl | ||
camelia | [A.new(x => 1), A.new(x => 2), A.new(x => 3), A.new(x => 4), A.new(x => 5)] | ||
timotimo | m: class A { has $.x is rw }; my @b = A.new xx 5; @b>>.x Z= (1, 2, 3, 4, 5); say @b.perl | ||
camelia | [A.new(x => 1), A.new(x => 2), A.new(x => 3), A.new(x => 4), A.new(x => 5)] | ||
Geth | doc: b4bfba13c3 | cfa++ | doc/Language/grammars.pod6 Remove some trailing whitespace. |
||
synopsebot | Link: doc.perl6.org/language/grammars | ||
doc: 124b498f2e | cfa++ | 2 files Document quoted list LTMs. Also document a trap to cover <foo> vs. < foo> within regexes. Refs #1857. |
|||
timotimo | oh, ghdke already left | ||
00:12
mcmillhj joined
00:15
vcv joined
00:17
mcmillhj left
00:20
MasterDuke joined
|
|||
buggable | New CPAN upload: Terminal-Getpass-0.0.6.tar.gz by TITSUKI cpan.metacpan.org/authors/id/T/TI/...0.6.tar.gz | 00:21 | |
00:24
comborico1611 joined,
MasterDuke left
00:26
pierre joined
00:28
mcmillhj joined
00:31
skids joined
00:33
mcmillhj left
00:40
w_richard_w left,
comborico1611 left
00:42
mcmillhj joined,
lookatme joined
00:44
ChoHag left
00:45
thowe joined
00:46
cdg joined
00:47
mcmillhj left
00:49
cdg_ left
00:51
cdg left
|
|||
vcv | +++ to whoever wrote the docs for X::AdHoc (docs.perl6.org/type/X::AdHoc) | 00:51 | |
00:52
markong left
00:56
cdg joined
|
|||
cfa | vcv: looks like moritz | 00:58 | |
evening all | |||
vcv | I forgot to have my exceptions inherit from Exception and the docs quickly explained why. | 00:59 | |
01:01
mcmillhj joined,
cdg left
01:02
w_richard_w joined
01:05
mcmillhj left
01:06
kurahaupo left,
kurahaupo joined
01:08
kurahaupo_ joined
01:10
kurahaupo left
01:11
AlexDaniel left
01:12
pierre left,
troys left
01:14
mudman left
01:16
mcmillhj joined
01:20
pierre joined
01:21
mcmillhj left
01:24
pierre left
01:29
cdg joined
01:30
mcmillhj joined
01:31
mudman joined
01:33
cdg left
01:35
mcmillhj left
01:37
kurahaupo_ left
01:38
kurahaupo joined,
pierre joined
01:40
vcv left,
itaipu joined
01:42
pierre left,
mcmillhj joined,
pierre joined
01:43
kurahaupo_ joined
01:45
kurahaupo left
01:47
mcmillhj left
01:50
pharv left
01:55
kurahaupo_ left,
kurahaupo joined
01:56
kurahaupo_ joined
01:57
pierre left,
kurahaupo_ left,
kurahaupo_ joined
02:00
kurahaupo left,
mcmillhj joined
02:01
Kaiepi left
02:02
pierre joined
02:03
pharv joined,
mr_ron left
02:06
mcmillhj left,
mudman left
02:07
pierre left,
pharv left
|
|||
Geth | doc: d47bb0bd24 | cfa++ | 4 files Make 5to6 links more descriptive now that the guides are titled. Add a bit of C<> markup. |
02:09 | |
02:11
mudman joined,
mcmillhj joined
02:12
pierre joined
02:16
mcmillhj left
02:28
mcmillhj joined
02:30
mr_ron joined
02:33
kurahaupo joined,
mcmillhj left
02:36
kurahaupo_ left
02:37
kurahaupo_ joined,
kurahaupo_ left,
kurahaupo left
02:38
kurahaupo joined
02:41
pierre left
02:43
mcmillhj joined
02:46
pierre joined
02:47
ilbot3 left
02:48
mcmillhj left
02:50
kurahaupo_ joined,
kurahaupo_ left
02:51
kurahaupo_ joined,
pierre left
02:53
pierre joined
02:54
kurahaupo left
02:55
kurahaupo joined,
kurahaupo left,
mcmillhj joined,
kurahaupo joined
02:56
ilbot3 joined,
ChanServ sets mode: +v ilbot3
02:57
kurahaupo_ left
03:00
mcmillhj left
03:07
pharv joined
03:11
pharv left
03:12
mcmillhj joined
03:15
itaipu left
03:16
mcmillhj left
03:29
kurahaupo_ joined
03:32
kurahaupo left
03:33
kurahaupo joined,
kurahaupo_ left
03:34
mcmillhj joined
03:39
mcmillhj left,
mr_ron left
03:42
ufobat___ joined
03:45
ufobat_ left
03:47
cdg joined
03:49
mcmillhj joined
03:50
ponbiki_ joined,
ponbiki_ left
03:51
cdg left,
kurahaupo left
03:53
mcmillhj left
|
|||
titsuki_ | m: "🇩🇪".subst(/<[\x00..\x1ffff]>/,"",:g).say | 03:56 | |
camelia | 🇩🇪 | ||
titsuki_ | bisectable: "🇩🇪".subst(/<[\x00..\x1ffff]>/,"",:g).say | ||
bisectable6 | titsuki_, Bisecting by output (old=2015.12 new=9532e9c) because on both starting points the exit code is 0 | ||
titsuki_, bisect log: gist.github.com/4f2295206c78d904b2...89b19fb57f | |||
titsuki_, (2016-08-13) github.com/rakudo/rakudo/commit/fe...6ea1491268 | |||
04:00
kurahaupo joined,
mcmillhj joined
04:01
Kaiepi joined
|
|||
titsuki_ | RT #128550 | 04:04 | |
synopsebot | RT#128550 [resolved]: rt.perl.org/Ticket/Display.html?id=128550 [@LARRY] <[a..z]> ranges break grapheme awareness | ||
04:05
mcmillhj left
|
|||
titsuki_ | Is this a bug? Some of the emoji characters don't work on github.com/perl6-community-modules/URI-Encode | 04:11 | |
this range representation doesn't match 🇩🇪: github.com/perl6-community-modules...de.pm6#L24 | 04:13 | ||
04:15
mcmillhj joined
|
|||
titsuki_ | m: "🇩🇪".ords.map(*.fmt("%x")).say | 04:16 | |
camelia | (1f1e9 1f1ea) | ||
04:19
mcmillhj left
04:25
mr_ron joined
04:27
mcmillhj joined
04:28
skids left
04:32
pugazh joined,
mcmillhj left
04:34
pugazh left
04:35
mr_ron left
04:36
pierre left
04:39
khw left
04:43
pierre joined
04:47
pierre left
04:52
khw joined
04:57
khw left
04:58
mcmillhj joined
05:01
pierre joined
05:02
mudman left
05:03
mcmillhj left
05:06
pierre left
05:11
eliasr left
05:15
mcmillhj joined
05:19
mcmillhj left
05:23
mudman joined
|
|||
mudman | O/ | 05:23 | |
Excuse my big head... | |||
05:26
mcmillhj joined
|
|||
mudman | At the top of the NQP::Grammar, method TOP calls ‘define_slang’ on itself (as does Rakudo’s Grammar) | 05:27 | |
05:31
mcmillhj left
|
|||
mudman | … both are HLL::Grammars but define_slang is defined in the NQPMatchRole (done by NQPMatch class). | 05:31 | |
How do the grammars get access to define_slang (and the other cursor related methods) that early on? | |||
05:52
mudman left
05:56
mcmillhj joined,
pierre joined
06:00
mcmillhj left,
pierre left
06:05
Aceeri_ joined
06:07
aindilis` joined
06:10
aindilis left
06:12
pierre joined
06:21
sauvin_ joined
06:25
espadrine joined
06:26
mcmillhj joined
06:30
mcmillhj left
06:32
kurahaupo_ joined,
kurahaupo left
06:33
wamba joined,
sauvin_ is now known as bocaneri
06:34
kurahaupo_ left,
kurahaupo joined
06:41
mcmillhj joined
06:43
lowbro joined,
darutoko joined
06:44
lowbro left,
lowbro joined
06:45
mcmillhj left
06:50
domidumont joined
06:51
mr_ron joined
06:57
aindilis` left
06:58
domidumont left,
darutoko left,
domidumont joined,
AlexDaniel joined
06:59
sena_kun joined
07:01
mr_ron left,
mcmillhj joined,
darutoko joined
07:05
mcmillhj left
07:06
pierre left
07:12
pierre joined
07:16
mcmillhj joined,
pierre left
07:17
pierre joined
07:21
mcmillhj left
07:22
espadrine left
07:24
aindilis joined
07:29
rindolf joined
07:32
mcmillhj joined
07:34
AlexDaniel left
07:37
mcmillhj left
07:40
robertle joined
|
|||
titsuki_ | m: say "n\x[308]\x[30]\x[30]" ~~ /n\x[308]/ | 07:43 | |
camelia | 「n̈」 | ||
titsuki_ | m: say "n\x[308]\x[308]\x[30]" ~~ /n\x[308]/ | ||
camelia | Nil | ||
07:43
sena_kun left
07:44
sena_kun joined,
mcmillhj joined,
abraxxa joined
|
|||
u-ou | m: (1 ... *).map({ 2 ** -$_ })[^10].say | 07:46 | |
camelia | (0.5 0.25 0.125 0.0625 0.03125 0.015625 0.007813 0.003906 0.001953 0.000977) | ||
07:47
cdg joined
|
|||
u-ou | does perl6 have a zipWith? | 07:48 | |
m: zip qw(a b c), (1 ... *) | |||
camelia | 5===SORRY!5=== Error while compiling <tmp> Undeclared routines: a used at line 1 b used at line 1 c used at line 1 qw used at line 1 |
||
u-ou | m: zip qw/a b c/, (1 ... *) | 07:49 | |
camelia | WARNINGS for <tmp>: Useless use of "zip qw/a b c/, (1 ... *)" in expression "zip qw/a b c/, (1 ... *)" in sink context (line 1) |
||
07:49
mcmillhj left
|
|||
u-ou | m: say zip qw/a b c/, (1 ... *) | 07:49 | |
camelia | ((a 1) (b 2) (c 3)) | ||
titsuki_ | m; say <a, b, c> Z (1..*) | ||
u-ou | aha! | ||
titsuki_ | m: say <a, b, c> Z (1..*) | 07:50 | |
camelia | ((a, 1) (b, 2) (c 3)) | ||
titsuki_ | u-ou: you can use Z | ||
u-ou | forgot about Z. thanks =) | ||
I'm sure there was a zipWith operator | |||
just can't remember it | |||
hmm, does .. produce lazy lists? | 07:51 | ||
07:52
cdg left,
dct left
|
|||
u-ou | m: .say for <a b c> | 07:52 | |
camelia | a b c |
||
titsuki_ | m: my \s = (1..*) Z (1..*); say s[^10] | 07:55 | |
camelia | ((1 1) (2 2) (3 3) (4 4) (5 5) (6 6) (7 7) (8 8) (9 9) (10 10)) | ||
u-ou | ok cool | ||
titsuki_ | I'm not sure but it seems it does | ||
u-ou | I see you can use Z as a meta operator like Z+ to add values but is there some way to do that with a function call? | ||
1 Z&{ say $^x, $^y } 2 | 07:57 | ||
m: 1 Z&{ say $^x, $^y } 2 | |||
camelia | 5===SORRY!5=== Error while compiling <tmp> Strange text after block (missing semicolon or comma?) at <tmp>:1 ------> 031 Z&{ say $^x, $^y }7⏏5 2 expecting any of: infix infix stopper statement end … |
||
07:59
donpdonp joined
|
|||
donpdonp | 'Default constructor for 'Str' only takes named arguments' okay but docs.perl6.org/type/Str doesnt seem to show any constructors | 07:59 | |
08:00
mr_ron joined,
mcmillhj joined
|
|||
titsuki_ | m: my sub infix:<あ>($a, $b) { $a + $b }; my \s = (1..*) Z[あ] (1..*); say s[^10] | 08:00 | |
camelia | (2 4 6 8 10 12 14 16 18 20) | ||
titsuki_ | u-ou: I think you can define an user-defined infix subroutine. | 08:02 | |
u-ou | ah | ||
thanks | |||
08:03
domidumont left
|
|||
u-ou | I still think Z&{ ... } would be a good language feature ;) | 08:03 | |
or Z&foo, etc. | |||
08:04
mcmillhj left
08:07
cdg joined
08:08
cdg_ joined
|
|||
titsuki_ | m: my \s = (1..*) Z[&(sub infix($a,$b) { $a + $b })] (1..*); say s[^10] | 08:09 | |
camelia | (2 4 6 8 10 12 14 16 18 20) | ||
08:12
cdg left,
cdg joined
08:13
cdg_ left
|
|||
AlexDaniel` | You can also use zip with :with | 08:14 | |
u-ou | ooh | 08:15 | |
m: say zip((1), (1), :with) | |||
camelia | Unexpected named argument 'with' passed in block <unit> at <tmp> line 1 |
||
AlexDaniel` | Hmmm... | ||
08:17
cdg left
|
|||
u-ou | :O | 08:17 | |
titsuki_ | m: say zip(<1 2 3>,<1 2 3>,:with(* + *)); | 08:18 | |
camelia | (2 4 6) | ||
08:18
rindolf left
|
|||
u-ou | ahh! | 08:18 | |
AlexDaniel` | m: say zip((1,), (1,), with => &min) | ||
camelia | (1) | ||
08:19
domidumont joined,
mcmillhj joined
|
|||
u-ou | ok, i have what i want now lol :0 | 08:19 | |
s/0/) | 08:20 | ||
AlexDaniel` | / | ||
08:24
mcmillhj left
08:25
aborazmeh joined,
aborazmeh left,
aborazmeh joined
08:26
pierre left
08:31
pierre joined
08:36
pierre left,
kurahaupo_ joined
08:37
mcmillhj joined
08:39
kurahaupo left,
mr_ron left
08:40
kurahaupo joined
08:41
kurahaupo_ left
08:42
kurahaupo_ joined,
mcmillhj left
08:44
kurahaupo left
08:49
pierre joined,
mcmillhj joined
08:54
mcmillhj left
09:00
pierre left
09:01
AlexDaniel joined,
pierre joined
09:06
pierre left
09:07
mcmillhj joined
09:10
pmurias joined
09:12
mcmillhj left
|
|||
robertle | what does Hash actually use to hash the key string? I would like to build some similar hash-like sharding construct and need some way to turn a string into a number. I can of course use some actual hash or crc, but there must be something built into the string, right? just can't find it... | 09:14 | |
AlexDaniel | robertle: .WHICH | 09:16 | |
09:17
kurahaupo_ left,
kurahaupo joined
09:18
w_richard_w left,
pierre joined
|
|||
robertle | AlexDaniel: not sure I understand... | 09:18 | |
09:18
mcmillhj joined
|
|||
AlexDaniel | robertle: well, I'm a bit busy atm, I hope someone else can give a full answer. But here are some docs: docs.perl6.org/routine/WHICH | 09:19 | |
09:19
dakkar joined
|
|||
lizmat | robertle: object hashes | 09:19 | |
docs.perl6.org/type/Hash#index-ent...bject_hash | |||
AlexDaniel | lizmat: thinking about it, I guess we're both not answering the question | 09:20 | |
“some way to turn a string into a number” | |||
do we even have that? | |||
robertle | I basically understand ValueObjAt (I think), and that I can use objects as hash keys, but I need some way to turn a string key into something numeric so I can do a modulo operation of some sort on it. I want to shard entries to different objects.... | ||
09:21
bwisti left
|
|||
lizmat | perhaps you're looking for .classify ? | 09:21 | |
robertle | but perhaps there simply isn't such a thing, which isn't a problem. can easily be built over the rods of the string... | ||
lizmat | docs.perl6.org/routine/classify | ||
robertle | ords that is | 09:22 | |
lizmat | you need to write how you take things apart, though | ||
09:23
mcmillhj left
09:24
pierre left,
bwisti joined
|
|||
robertle | String::CRC32 might be just my thing! | 09:25 | |
09:29
pierre joined
09:44
scimon joined,
rindolf joined
09:50
donpdonp left
09:51
wamba left
09:52
pierre left
09:53
aborazmeh left
09:59
donpdonp joined
10:01
pierre joined
10:05
pierre left
|
|||
Geth | doc: Tyil++ created pull request #1859: Update META6.json documentation to include "api" field |
10:05 | |
tyil | thanks geth | 10:06 | |
10:06
ChoHag joined
10:10
sena_kun left
10:19
pierre joined
10:24
pierre left
10:25
Aceeri_ left
10:28
cdg joined
10:33
cdg left
10:37
pierre__ joined
|
|||
pmurias | samcv: nqp::encode and nqp::encoderep are permissive by default? | 10:40 | |
samcv | pmurias: well basically only windows-1252 and windows-1251. i'm certain latin1 | 10:41 | |
10:42
pierre__ left
|
|||
samcv | but nqp::encodeconf and nqp::encoderepconf are default strict. with 6.d the one byte encodings will become strict by default. also notable is that nqp::decoderep needs strict for it to be able to replace anything | 10:44 | |
decoderep is new in the last week or so | |||
plus the *conf ones. but decoderep didnt exist at all. the other are just variations on the previous ones | 10:45 | ||
pmurias: i'm heading to bed, if you have more questions i'll reply when I wakeup | 10:46 | ||
night all o/ | |||
pmurias: also see description here. github.com/MoarVM/MoarVM/commit/314c523fe | 10:47 | ||
nn | |||
10:48
gregf_ joined
11:00
jeek joined
11:01
pierre__ joined,
pecastro left
|
|||
buggable | New CPAN upload: Test-SourceFiles-0.0.1.tar.gz by SAMGWISE cpan.metacpan.org/authors/id/S/SA/...0.1.tar.gz | 11:01 | |
11:04
pierre__ left
11:06
aldaco joined
|
|||
aldaco | hello i'm a beginner perl language and i'v just installed perl 5. Now that i know abaut perl 6 i wander if 6 version eliminates that 5 version. thanks | 11:08 | |
tyil | Perl 5 is older and seems to have more widespread use, Perl 6 is still busy taking off in that regard. | 11:09 | |
pmurias | samcv: thanks | ||
tyil | I don't think you'll have to worry about Perl 5 fading out of existence any time soon | ||
aldaco | thank you every body | 11:10 | |
11:11
aldaco left
11:13
domidumont left
11:15
stmuk_ joined
11:16
bisectable6 left
11:17
bisectable6 joined,
stmuk left
11:26
jeek left
11:36
jeek joined
11:43
MasterDuke joined
11:51
markong joined
12:00
wamba joined
|
|||
masak | I can see why a question like aldaco's feels like a "oh no, it's more like this" in the Perl 6 world/bubble, but feels more like a latent threat for p5ers. | 12:11 | |
El_Che | masak: and for perl 6 as in "why are there more modules/jobs/... for the older version than for the new one"? | 12:12 | |
masak | (but the question of renaming/rebranding doesn't interest me in the slightest) | ||
El_Che | you're more of the philosopher type :) | ||
masak | I think in retrospect we can all agree that, yeah, it was unfortunate to just call it "the next major version" and to use the same language name. I'm curious if it *could* have been handled in a better way (while still calling it Perl 6). | 12:13 | |
I mean, even Python 3, a much more modest language change, has had its definite challenges along the way. | 12:14 | ||
El_Che | but that *was* the next version | ||
even if some people didn't liek it | |||
like | |||
masak | well, so was Perl 6. | ||
El_Che | not by the time it was out | 12:15 | |
masak | we are in agreement. | ||
El_Che | when it stated, it was certainly the right choice to call it 6 | ||
as time kept slipping away, the Perl wasn't the part but the version locking of wat whas the stable version | 12:16 | ||
when runtime and language diverted and something was out, Perl was out of vogue | |||
[Coke] | AlexDaniel: are you saying he didn't know? pretty sure I saw the email go out to him. | 12:19 | |
AlexDaniel | [Coke]: yes, yesterday he clearly said that he doesn't know | ||
[Coke] | Email was sent to his address 4 days ago. | 12:21 | |
El_Che | jj? he didn't know who his manager was | ||
[Coke] | Yes. he was notified 4 days ago. | 12:22 | |
Have him check his spam filter, I guess. | |||
El_Che | something go lost, I'll ping him when I see him | ||
[Coke] | I responded to the email, maybe that'll help bring it back to his inbox. Thank you, El_Che | 12:24 | |
12:28
itaipu joined
12:33
athenot joined
12:34
Util joined
|
|||
Geth | doc: Tyil++ created pull request #1860: Add reference to vim-perl6 in the unicode_entry page |
12:40 | |
12:47
wamba left
12:52
vike joined
13:00
pierre__ joined
|
|||
tbrowder_ | hi all | 13:12 | |
zef doesn’t show a “—/cache” option that i can see, but i see a module that usses it apparently without error. am i just not seeing it | 13:14 | ||
? | |||
13:15
vcv joined
|
|||
tbrowder_ | hm, maybe that’s a “plugin”... | 13:16 | |
[Coke] | tbrowder_: what's the full command using cache? | 13:18 | |
I think each subcommand has its own valid opts. I don't see it in my zef help output either, btw. | |||
13:24
cdg joined
13:25
athenot left
13:26
vike left,
athenot joined
|
|||
cfa wakes | 13:27 | ||
morning all | |||
13:28
vcv left
13:30
vike joined,
vcv joined
13:32
mcmillhj joined
13:33
skids joined
|
|||
[Coke] | El_Che: he got it | 13:38 | |
El_Che | good! | 13:39 | |
13:39
amalia___ joined
|
|||
El_Che | dat random blocking begint wat te belachelijk te worden | 13:40 | |
(als het dit is) | 13:41 | ||
split dns is ook iets louche | |||
13:42
Herby_ joined
|
|||
El_Che | oops | 13:42 | |
ignore the dutch :) | |||
13:42
donpdonp left,
Zoffix joined
13:44
khw joined
|
|||
Herby_ | tyil: I just saw your tutorial write-up. It looks outstanding. I'll be walking through it today. | 13:45 | |
Zoffix | .tell tyil your article is potentially confusing ( www.tyil.nl/tutorials/perl6-introd...ogramming/ ). It says "After this, the bins exposed by Perl 6 need to be updated: `rakudobrew rehash`". That's just a quirk of rakudobrew. It's the only time rakudobrew is mentioned in the article, and it is a piece of software that's actively being discouraged due to its deficiencies and isn't | 13:46 | |
yoleaux | Zoffix: I'll pass your message to tyil. | ||
Zoffix | used by most users. You also end the article by saying $PATH needs to be rehashed in most shells.. Isn't that the glitch of rakudobrew too? I don't need to rehash anything in bash and I don't use rakudobrew. | ||
.tell tyil used by most users. You also end the article by saying $PATH needs to be rehashed in most shells.. Isn't that the glitch of rakudobrew too? I don't need to rehash anything in bash and I don't use rakudobrew. | 13:47 | ||
yoleaux | Zoffix: I'll pass your message to tyil. | ||
13:48
itaipu left
13:49
wamba joined
|
|||
eater | m: if False { enum Ha ( no => "ye" ); }; say no.value; | 13:52 | |
camelia | ye | ||
eater | hahah | ||
Zoffix | `enum` is `our` by default. | 13:53 | |
13:53
mr_ron joined
|
|||
eater | yeah | 13:54 | |
I understand why this happens | |||
Zoffix | And it's installed at compile time (and so doesn't care that the condition is False) | ||
eater | but it's still pretty funny | ||
13:55
SourceBaby left,
SourceBaby joined,
ChanServ sets mode: +v SourceBaby
|
|||
Zoffix | s: 0e0, 'rand', \() | 13:55 | |
SourceBaby | Zoffix, Something's wrong: ERR: Unhandled exception: Missing or wrong version of dependency 'src/Perl6/Grammar.nqp' (from 'gen/moar/main.nqp') at <unknown>:1 (/home/zoffix/services/sourceable/building-perl6/perl6.moarvm:<dependencies+deserialize>) | ||
eater | heh | ||
Zoffix | Weird. Despite it's working fine when I invoke the command manually. Something got busted it seems | ||
eater | environment variables? | 13:56 | |
13:57
cdg left,
cdg joined
|
|||
jkramer | Zoffix: I'm using IRC::Client for a bot and it seems to randomly stop PONGing to PINGs leading to ping timeouts. The bot is still running and there's nothing in the debug output indicating a problem, it's just not in the channel anymore | 13:58 | |
Did you experience a similar problem and is there anything I can do about it? | |||
Zoffix | jkramer: yeah, I experienced it but never had time to debug it. Looks like github.com/zoffixznet/perl6-IRC-Cl.../issues/40 and is mentioned in github.com/zoffixznet/perl6-IRC-Cl.../issues/50 | 14:01 | |
14:01
cdg left
|
|||
jkramer | Hmm too bad :( | 14:03 | |
tyil | Zoffix: that rakudobrew part is because its used in the tutorial before it that installs Perl 6 (using rakudobrew) | ||
yoleaux | 13:46Z <Zoffix> tyil: your article is potentially confusing ( www.tyil.nl/tutorials/perl6-introd...ogramming/ ). It says "After this, the bins exposed by Perl 6 need to be updated: `rakudobrew rehash`". That's just a quirk of rakudobrew. It's the only time rakudobrew is mentioned in the article, and it is a piece of software that's actively being discouraged due to its deficiencies and isn't | ||
13:47Z <Zoffix> tyil: used by most users. You also end the article by saying $PATH needs to be rehashed in most shells.. Isn't that the glitch of rakudobrew too? I don't need to rehash anything in bash and I don't use rakudobrew. | |||
tyil | also, rehashing is simply a thing shells sometimes need when you add something to $PATH, some shells these days dont require it anymore, but better be safe than sorry I guess | ||
Zoffix | jkramer: possible first step in debugging would be sticking `CATCH { default { warn $_; warn .backtrace } }` in some of the async places. Maybe there's an exception being thrown that's being silently ignored. | 14:04 | |
tyil | Zoffix: I could add a note saying you'll need the rakudobrew rehash part only if you installed using rakudobrew as used in <previous article> | 14:05 | |
El_Che | tyil: I am been using unix shells for +20y and I have never rehashed my shell except for apps like rakudobrew and the similar tool for perl 5 | ||
except if by rehash you mean sourcing | 14:06 | ||
tyil | no, by rehash I mean `rehash` or `hash -r` depending on the shell | ||
might be that I'm wrong, I just prefer to add that part so I can be sure everything is ok | 14:07 | ||
El_Che | tyil: times that I have done that on Solaris, AIX and Linux: 0 | ||
must be running a linux desktop from around 1999 | |||
Zoffix | tyil: why tell people to install rakudobrew in the first place? It's buggy, by default it installs minimally tested dev commits instead of releases, it causes awful paths in default USAGE messages in all Perl 6 scripts, and you have to reinstall modules each time you upgrade. | 14:08 | |
And you have to `rakudobrew rehash` each time you install binaries :) | 14:09 | ||
14:09
lichtkind joined,
wictory[m] joined
14:10
tadzik joined
|
|||
Zoffix | (FWIW, there are third-party instructions to create a bash alias for updating to latest release (and no rehashing/module reinstallation needed): github.com/zoffixznet/r#table-of-contents ); (rakudo.org will also gonna be updated in 0-3 weeks to include more comprehensive and easier-to-navigate installation instructions: perl6.org:4242/files ) | 14:11 | |
tyil | Zoffix: because it used to be reasonably popular from my experience, and for most people it's (seems) easier than cloning source and compiling that | ||
eater | time to make our own rakudobrew with blackjack and hookers | 14:12 | |
rakudown | |||
tyil | eater: late to the party | ||
rakudup or something already exists | |||
tbrowder_ | [Coke]: the command is from Zoffix’s Toaster: zef —/cached —debug install $module —install-to=$dir | 14:13 | |
eater | lol | 14:14 | |
tbrowder_ | note “—/cached”, not “—/cache” | ||
evalable6 | —/cachedFalse | ||
tyil | eater: when r we gonna do a cool p6 project together :333 | ||
I did have plans for a querybuilder if you feel bored | |||
Zoffix | But you have to set it up first, just as you have to setup the alias. So if we assume that part is equivalent, then the alternatives are far easier. You either *just* have to type `update-perl6` once in a while to fetch latest version. Or you (1) have to find out what's the current latest release if you don't want to risk severe bugs; (2) have to know to type correct installation command including correct | ||
backend and release number; (3) re-install the modules you want to use; (4) run `rakudobrew rehash` to update binary shims; (5) repeat this entire process any time you want to upgrade. | |||
tbrowder_ | eater: o/ | ||
Zoffix | I'm not buying the "it's easier to use rakudobrew" argument at all. | 14:15 | |
moritz | it's easy to get started with, and then you get entangled in all of its warts | ||
tyil | Zoffix: to the "average" user, the idea to "get this tool and tell it to install" is easier to sell than "now lets compile from source manually" | ||
Zoffix | tyil: but you're not compiling anything. | ||
eater | tbrowder_: \o | ||
Zoffix | tyil: you run `update-perl6`. That's all there is to it. | 14:16 | |
eater | anyway, anyone know how I get const's from header files inside Perl 6 | ||
I'm afraid this has to be done in the VM | 14:17 | ||
tyil | I am aware, I'm using such a script myself, but if I look at the alias in your repo, it sure as hell looks more daunting than a simple git clone, init, build | ||
if there were up-to-date builds in distro repos the issues would be resolved altogether, tbh | |||
14:18
ChoHag left,
ChoHag joined
|
|||
eater | mfw VoidLinux has that | 14:18 | |
tyil | tfw gentoo seems to have dropped their outdated perl6 builds and now has none :( | 14:19 | |
I should get back to maintaining those ebuilds myself | |||
Zoffix | tyil: the alias is a copy-pasteable set of commands. Yours have `$` in them and have to be copied individually. Yours also follow by a set of additional commands and advice to follow notices, while the alias is all done. You're also ignoring entirely that your instruction build a minimally tested random development commit rather than a stable release. That has the potential for the user to get extremely broken | 14:24 | |
perl6 that in a rare circumstance could have a system-damaging bug. Yet, you don't even mention that fact in your tutorial and if you had, you'd have a lot more instructions for finding the latest stable release and specifying its version. Lastly, the user is forced to reinstall all modules on each upgrade and has to run a rakudobrew command after installing any binaries—the caveat you were even forced to | |||
mention in another article. None of that is needed with the alias or the copy-pasteable instructions that build latest star. Seems to me saying that rakudobrew's usage is less daunting is intellectually dishonest. | |||
And IMO it's irresponsible to tell unaware users to install development versions of software using a discouraged tool. | |||
14:24
Zoffix left
14:25
perlawhirl left
|
|||
tyil | I'm being called dishonest for trying my best to make Perl 6 articles to promote it :/ | 14:26 | |
the real issue to me is still that there's no straightforward, user-friendly way to get a recent Perl 6 installed on their machines | |||
eater | then... solve that problem? | 14:27 | |
14:27
perlawhirl joined
|
|||
tyil | calling me dishonest for not going with your personal favorite solution sounds pretty silly | 14:28 | |
eater: I'm willing to solve it for the distro I'm using, Funtoo (and by extend, Gentoo) | |||
eater | ¯\_(ツ)_/¯ | 14:29 | |
I just want to know how I get constants from headers inside perl 6 | |||
the answer is most likely, via the VM :( | |||
tyil | but calling people dishonest simply for not going with <your favourite solution> to a problem sounds pretty toxic to me | ||
14:29
cdg joined
|
|||
sjn | tyil: Zoffix said your claim is intellectually dishonest, not you. :) | 14:30 | |
tyil | I could update the older article to refer to zoffix's solution and lay out pros/cons and update the current article as well | ||
but tbh, I feel very little reason to update it with his solution atm | |||
14:31
cdg left
|
|||
eater | tbf | 14:31 | |
tyil | sjn: constructive feedback generally works better than calling people and claims dishonest because you disagree | ||
eater | this whole discussion is useless | ||
sjn | tyil: wether or not you're dishonest is too early to decide; you might still accept the feedback & critique and improve your text based on this :) | ||
buggable | New CPAN upload: ANTLR4-Grammar-0.0.3.tar.gz by JGOFF cpan.metacpan.org/authors/id/J/JG/...0.3.tar.gz | ||
Herby_ | tyil: I can't speak to all the correctness of your tutorial since I don't really understand the language, but I do really appreciate the time you took to write it | 14:32 | |
tyil | I honestly have very little interest in adding his idea to the problem now | ||
Herby_ | I think p6 is sorely lacking in user-friendly tutorials | ||
tyil | sjn: I'll consider updating it later, but I can't guarantee it'll be using his solution | ||
Herby_: thanks :) | 14:33 | ||
if I find other interesting things to do in Perl 6 which are viable as a tutorial for beginners I'll try to write more | |||
El_Che | tyil: add gentoo support to my pkgs in the meantime? | ||
tyil | El_Che: Gentoo uses ebuilds to compile from source | ||
El_Che | tyil: I know, that's why I haven't added them | 14:34 | |
cfa | tyil: did you want to add 'optionally' in that vim-perl6 pr? | ||
if not, i'll merge once the build's finished | |||
tyil | El_Che: I'm not sure I follow you in "gentoo support for my packages" then, sorry | ||
El_Che | tyil: my other pkgs are built with fpm. Solution is adding gentoo support to fpm or provide an alternative gentoo build script | 14:35 | |
sjn | tyil: no worries, man. you've got the up-to-date info here, we'd all appreciate it if you used it, even if you're unsure about it (also, it's kinda sad to produce a tutorial that is outdated the moment it is published :-\ ) | ||
El_Che | tyil: github.com/nxadm/rakudo-pkg/ | ||
tyil | sjn: the tutorial is actually over two months old, I just wanted to be sure App::Assixt was stable enough to be used in it | ||
cfa: what de you mean? | 14:36 | ||
El_Che: yes, I'm using those in my .travis.yml files already, though I don't think I have experience with fpm | |||
14:37
cdg joined
|
|||
tyil | I'll look in to it | 14:37 | |
tyil puts it on the todo-list | |||
cfa | tyil: there's one comment that i think you might have overlooked | ||
it got tucked away as outdated, which is likely user error on my part | |||
El_Che | tyil: I am very short in time, to add it my self. The first version of alpine packages were created without fpm (it had a bugg), though | ||
tyil | cfa: ah, I see it now, I missed that one | 14:38 | |
cfa | yeah it was folded away for some reason | ||
tyil | probably because the block the comment was on got updated, so its considered outdated and gets folded away | ||
El_Che: everyone is short on time :( | |||
El_Che | tyil: I have setup and account on jfrogg to set repos, but haven't been able to | 14:39 | |
tyil | cfa: I'll add the "optionally" in the perl6/doc PR | ||
cfa | ta | ||
El_Che | tyil: yeah, I know. The combination of full time IT job, non-IT phd and kids is bad for sleep :) | ||
cfa | (fwiw, i don't use the abbrevs) | ||
tyil | El_Che: I'm glad I don't have kids then, I'm already out of time :p | 14:40 | |
cfa: thanks for the review :> | |||
El_Che | tyil: the biggest time percentage, probably :) | ||
tyil | the only kids I like are those of others, since you can just put them back at their parent's place when they started producing too much noise | 14:41 | |
14:41
vcv left
|
|||
robertle | for my own understanding: the problem some distros have with the packaging is that the pre-compiled perl6 modules installed on a system somewhat depend on the version of rakudo? so if you upgrade rakudo you have to do something to re-compile these already installed modules? | 14:41 | |
14:41
ChoHag left
|
|||
cfa | tyil: oops, one more | 14:42 | |
just sent | |||
tyil | oh | ||
that's quite a big one actually :p | 14:43 | ||
also, I've seen parts where people use spaces around the |, and parts where they dont | |||
is there a consensus on what *should* be used throughout the docs? | |||
14:44
vcv joined
|
|||
cfa | i'll defer that to moritz and [Coke] | 14:44 | |
14:44
khw left
|
|||
Ulti | /win 5 | 14:46 | |
buggable | Ulti, Thank you for entering Accidental /win Lottery! The next draw will happen in 1 week, 3 days, 9 hours, 13 minutes, and 58 seconds | ||
Ulti | wah | ||
tyil | hehe | ||
Ulti | its only me in that lotto | ||
tyil | I use the much shorter /b | ||
I'll never win :( | |||
Ulti | I mean I could just use alt+5 and avoid this problem | 14:47 | |
Geth | doc/master: 6 commits pushed by (Patrick Spek)++, cfa++
|
||
tyil | thanks cfa :> | ||
cfa | sure, thanks for contributing this | 14:48 | |
14:49
khw joined,
AlexDaniel left
14:52
itaipu joined
14:56
Zoffix joined
14:58
Shoop joined
|
|||
Zoffix | tyil: my point wasn't in using my alias, but in not using rakudobrew. Instead of linking to the alias, I'd recommend you link to perl6.org/downloads/ that way the users will get the best "officially supported" options. | 14:59 | |
(that page will see some improvements in a month or two) | |||
tyil | I'll see what I'll do, I don't really feel like updating it after your recent comments | 15:00 | |
eater | m: constant A = %( :B(10.rand.ceiling) ); enum C ( A ); say B ~ '=' ~ B.value; | ||
camelia | B=3 | ||
eater | :D | ||
Zoffix | m: my \A = %( :B(10.rand.ceiling) ); enum C (A); | 15:02 | |
camelia | ===SORRY!=== Cannot find method 'List' on object of type Mu |
||
Zoffix | filed as R#1637 | 15:03 | |
synopsebot | R#1637 [open]: github.com/rakudo/rakudo/issues/1637 [LTA] LTA error with enums made out of non-compile-time set var | ||
15:03
Zoffix left
|
|||
cfa | tyil: re: your change, i was thinking it might be nice to also list standard digraph bindings for common operators | 15:04 | |
tyil | that could be useful | ||
cfa | i mean, they're discoverable but vim spews a _lot_ of digraphs out | ||
tyil | yeah, we only need the ones that can be used in Perl 6 | 15:05 | |
cfa | and stuff like ^K1s and ^K1S aren't abbreved, i think | ||
(sub and super) | |||
tyil | seems not, no | 15:06 | |
we can probably add a table like we have in the docs to show all unicode ops and texas ops, and just add a column to show vim digraphs | |||
cfa | that'd be nice, yeah | 15:07 | |
15:07
Shoop left
|
|||
tyil | should we extend the existing table, or add one in the input page and have a column for equivalent combinations in other editors | 15:08 | |
cfa | it should probably live in this 'entering unicode' section; people using other editors don't need to see vim digraph info | 15:10 | |
15:10
wamba left
15:13
Shoop joined
15:14
domidumont joined
|
|||
vcv | Has anyone had success using the Linenoise module with a version of the linenoise lib that supports unicode and/or colors? Or know of a good alternative? | 15:16 | |
15:22
Shoop left
|
|||
pmurias | .tell Zoffix installing rakudobrew feels less daunting, not sure why but the command you copy and paste being too long might be an issue | 15:24 | |
yoleaux | pmurias: I'll pass your message to Zoffix. | ||
pmurias | .tell and I suppose I have an expecation for long config stuff I paste into a bash profile to cause problems while I expect *brew stuff to work | 15:26 | |
yoleaux | pmurias: I'll pass your message to and. | ||
15:28
mcmillhj left,
pierre__ left
15:29
Zoffix joined
15:30
lowbro left
|
|||
Zoffix | pmurias: the original discussion was about installation of **perl6** using the alias vs. rakudobrew being daunting. | 15:30 | |
yoleaux | 15:24Z <pmurias> Zoffix: installing rakudobrew feels less daunting, not sure why but the command you copy and paste being too long might be an issue | ||
15:31
sena_kun joined
|
|||
Zoffix | What difference does it make if installing rakudobrew itself is a shorter command if you have to type have a dozen other commands to get proper installation of perl6? | 15:31 | |
s/have a/half a/; | 15:33 | ||
15:33
mcmillhj joined
|
|||
Zoffix | And considering you have to type a rakudobrew command after each installation of binaries, the rakudobrew setup gets more daunting the longer you have it installed. | 15:33 | |
And considering you have to re-install all modules on upgrade, rakudobrew setup gets even more more daunting the longer you use perl6 | 15:35 | ||
[Coke] wonders if it would be possible to update rakudobrew to address the issues. | 15:37 | ||
mst | rakudobrew is (a) a giant hack (b) specifically designed for people *developing* perl6 | 15:38 | |
for that purpose it's potentially rather useful | |||
if you're *using* perl6 it's completely the wrong design | |||
cfa | the name's rather confusing for people using perlbrew | ||
because it'll be thought of as an analogue | |||
Zoffix | People just ignore that you're installing a random dev commit and ignore that you have to rehash binaries and then go "oh look, it's so easy!". Oh yeah, but then let's find bugs caused by rakudobrew and blame rakudo for them ( R#926 ), and have users be confused when they didn't rehash and couldn't find binaries ( irclog.perlgeek.de/perl6/2018-01-19#i_15711027 ) and then keep talking about how daunting | ||
synopsebot | R#926 [closed]: github.com/rakudo/rakudo/pull/926 Usage replace $*PROG-NAME with literal “command” | ||
Zoffix | all the alternatives even when offered much simpler alternatives | ||
ZofBot: RAGE! | |||
ZofBot | Zoffix, had to go to the dentist and have two of my molars out | ||
mst | well, perlbrew is mostly for people writing cpan modules who need to test against multiple perls | 15:39 | |
Zoffix | mst: it isn't even useful for devs, now that we have committable6 bots letting us eval on different commits | ||
mst | normal perl5 users shouldn't be using perlbrew most of the time either | ||
[Coke] | mst: ? For me, perlbrew is for machines where I want to install a perl and not worry about system perl. | ||
cfa | +1 | ||
and test on multiple versions | |||
mst | [Coke]: that's plenv or Perl::Build | 15:40 | |
using perlbrew for deployment is 100% insane | |||
[Coke] | mst: never heard of either of those before just now. | ||
mst | I regularly fix production systems by ripping perlbrew out | ||
cfa | yeah, i'm not talking about deployment really | 15:41 | |
pmurias | Zoffix: re instructions doesn't github.com/zoffixznet/r#linux install the latest commmit too? | ||
mst | [Coke]: well you're not even in #perl anymore - if you cut yourself off from the community and don't ask questions, you may end up with 'copy and paste from stack overflow' quality solutions :) | 15:42 | |
cfa | i guess my point is perlbrew is a go to tool for installing a local modern perl without fuss; rakudobrew's name suggests it'll do the same | ||
[Coke] | Neither am I, really. personal use on hosts where I need a perl tool. | ||
cfa | it seems a bit unfair to blame users of the tool for associated warts | ||
especially as the advice to stop using rakudobrew is fairly recent | |||
[Coke] | mst: I've never been a regular there. | ||
mst | if nobody's really using rakudbrew for its original purpose | 15:43 | |
I would suggest it wouldn't be a terrible idea to say "stuff this" and write a "rakudobrew 2" that shares only the name | |||
and does what people who're trying to use it are expecting to get | |||
[Coke] | Anyway, now that I know about plenv, I can check that out. but the plenv vs. perlbrew info in the plenv project doesn't really give a compelling use case for when you'd pick one over the other. | ||
cfa | mst: agree | ||
mst: rakduobrew should probably be for switching between release versions | |||
Zoffix | pmurias: that was just outdated description text. The command itself installs latest release | 15:44 | |
.seen pmichaud | 15:46 | ||
yoleaux | I saw pmichaud 7 Mar 2018 19:20Z in #perl6: <pmichaud> tadzik! \o/ | ||
pmurias | Zoffix: how installing Perl 6 feels is super important to getting people to try it | 15:49 | |
for Rust they have something like this: www.rustup.rs/ | |||
Zoffix | pmurias: and is entirely pointless if the installed version is broken or worse, damages user's system., | ||
pmurias: we have `curl rakudup.github.io/rakudup -s | bash` | 15:50 | ||
pmurias | Zoffix: yes, I'm not arguing that we should keep using rakudobrew when it's causing trouble | 15:51 | |
15:52
itaipu left,
abraxxa left
|
|||
pmurias | the rakudup.github.io/ page doesn't look like the best thing to point people towards | 15:54 | |
Zoffix | pmurias: agreed. | 15:55 | |
pmurias | why is rakudup not called rakudoup | 15:58 | |
? | |||
15:59
mahafyi joined
|
|||
Zoffix | Sounds better? :) | 15:59 | |
rakup is even better | |||
ZofBot: more betterer | 16:00 | ||
ZofBot | Zoffix, t line 8 in block <unit> at t/08-sorted-keys | ||
16:00
Zoffix left,
wamba joined
|
|||
pmurias feels like a triggered snowflake every time he notices the missing o from rakudup | 16:04 | ||
16:04
noganex left,
noganex joined,
noganex left,
noganex joined
|
|||
moritz has no idea how a triggered snowflake feels | 16:08 | ||
16:09
wamba left,
itaipu joined
16:17
mahafyi_ joined,
pecastro joined,
mahafyi left
16:19
mahafyi_ is now known as mahafyi
16:22
wamba joined
16:28
robertle left
16:31
darutoko- joined
16:32
mcmillhj left
|
|||
MasterDuke | pmurias: in github.com/perl6/roast/commit/3e03...4912813de, shouldn't that be `todo rakudo.js`? | 16:33 | |
oops, `rakudo.js todo` | |||
16:33
darutoko left
|
|||
MasterDuke | it's now a passed todo for regular rakudo | 16:35 | |
jkramer | Which bot does relay messages to people that are not here again? | 16:36 | |
16:36
mcmillhj joined
|
|||
ilmari | .tell jkramer about yoleaux | 16:37 | |
yoleaux | ilmari: I'll pass your message to jkramer. | ||
jkramer | Thanks! | ||
yoleaux | 16:37Z <ilmari> jkramer: about yoleaux | ||
jkramer | :) | ||
16:37
darutoko joined
16:39
darutoko- left
|
|||
pmurias | MasterDuke: it fails on all 32bit backends but I guess skipping it on rakudo.js is better | 16:39 | |
jkramer | .tell Zoffix I looked into the PING thing a bit and I suspect something gets buffered/stuck somewhere in a socket or Supply, either the PONG in the socket doesn't get flushed or maybe the PING gets buffered in the incoming Supply somehow, but I don't have time to look further | ||
yoleaux | jkramer: I'll pass your message to Zoffix. | ||
16:43
AlexDaniel joined,
darutoko left
|
|||
AlexDaniel | El_Che: re “The combination of full time IT job, non-IT phd and kids is bad for sleep”: maybe you'll like this thingie! github.com/AlexDaniel/orgsleep | 16:45 | |
El_Che | AlexDaniel: an now I have to move to emacs. I'll add it to the list :) | 16:47 | |
AlexDaniel | El_Che: well, actually it doesn't really matter as long as you save timestamps somewhere | 16:48 | |
El_Che: you can then reformat it to look like this and feed it into the script: raw.githubusercontent.com/AlexDani.../sleep.org | |||
16:48
Zoffix joined
|
|||
AlexDaniel | (this is actually what I did for entries that have “=> 0:00” duration, they were recorded elsewhere) | 16:49 | |
El_Che | AlexDaniel: my tactic is long shortages and then a few long sleep :) | 16:50 | |
AlexDaniel | El_Che: IIRC according to this data this tactic tends to increase the average time sleeping per day | ||
Zoffix | jkramer: you don't need to `.tell` messages to me. Just address them to me `Zoffix, ...`. ZofBot delivers them to me. | 16:51 | |
16:51
eliasr joined
|
|||
pmurias | after the merge rakudo.js passes 75.97% of roast | 16:51 | |
AlexDaniel | \o/ | ||
jkramer | Alright :) | ||
AlexDaniel | pmurias++ | 16:52 | |
wait but what was the number before merge? :) | |||
pmurias | AlexDaniel: not sure, spectests on roast takes a long time so I mostly rerun tests I work on | 16:53 | |
(and I was using an old roast before the merge) | |||
Zoffix | jkramer: I wonder if the extra pings get lost in the $leftovers github.com/zoffixznet/perl6-IRC-Cl...t.pm6#L210 They probably shouldn't since the grammar parses all complete events, but implementations are very lax with following the RFCs, so I wonder if the sent PINGs got extra stuff in 'em that prevent full parsing or something | 16:56 | |
|7d hack on IRC::Client tickets | |||
ZofBot | Zoffix, Will remind you on 2018-03-28T12:56:43.507388-04:00 about hack on IRC::Client tickets | ||
Zoffix | About time to knock down the bugs in that module. Gonna try to fix the ping stuff too :) | ||
pmurias | AlexDaniel: and I know have a bunch of regressions to fix after the merge | 16:57 | |
AlexDaniel | o yey that's gonna be so nice | ||
Zoffix++ | |||
pmurias++ too, of course :) | |||
El_Che | pmurias: how does the js version compares in speed the the moarvm rakudo? | 16:58 | |
Herby_ | pmurias: that's awesome | 17:00 | |
jkramer | Zoffix: Good point, I'll add some more debug-prints for that case. But just now I had an interesting new development. :) The bot was watching itself timing out. It dumped the PING to stdout but didn't react, then it dumped the messages from the IRC server about itself being disconnected due to a ping timeout :) | 17:02 | |
Zoffix | heh | ||
jkramer | But that might be a different issue, it happened for the first time now. The times before it didn't dump a PING in the log or, if it did, it also sent a PONG. | 17:03 | |
Oh wait that probably happened because of some debug code I added. :) | 17:05 | ||
[Coke] | pmurias: perl Configure.pl --gen-moar --backends=js # fails on the JS branch, looking for an nqp tag that doesn't exist. | ||
... /me typed gen-moar of out habit. | |||
but without it it dies earlier. | 17:06 | ||
--gen-nqp --backends=js is what I meant to say, and it dies the same way | 17:07 | ||
17:08
Zoffix left
|
|||
[Coke] | missing a push in nqp maybe? | 17:08 | |
pmurias | [Coke]: I'll check what happens | 17:13 | |
17:13
AlexDaniel left
17:14
cfa left
|
|||
[Coke] | pmurias: that's better. thanks. | 17:17 | |
pmurias | El_Che: the speed for the js backend currently sucks hard | 17:19 | |
17:20
scimon left
|
|||
pmurias | El_Che: I didn't optimize the code that's generated for Perl 6 code at all yet | 17:20 | |
El_Che: and for NQP I think changing the semantics a tiny bit could make huge speed ups | |||
El_Che | how is the speed enhanced in node? JIT? | 17:21 | |
pmurias | El_Che: I don't understand the question | 17:26 | |
El_Che | pmurias: node itself is fast. How wonder how they got it so fast | 17:27 | |
[Coke] | make: *** No rule to make target `js-runner-default-install', needed by `install'. Stop. | ||
pmurias | make install is not supported yet :/ | 17:28 | |
El_Che: they use a JIT, with tons of effort by people who have been doing JITs for decades | |||
[Coke] | pmurias: I never typed make install; that's coming off the build. | ||
nqp's make install? | |||
off /the build/rakudo's Configure.pl step/ | 17:29 | ||
El_Che | pmurias: and can rakudo code eventually use that JIT or it's something restricted to javascript? | ||
pmurias | El_Che: it uses it, but there is a huge layer of inefficency because the code we generate is not optimal | 17:30 | |
El_Che | I see, thanks for the info! | 17:31 | |
pmurias | [Coke]: what's you Configure.pl invocation? | 17:33 | |
17:36
stux|RC joined,
d4l3k_ joined,
ChanServ sets mode: +v d4l3k_
17:37
synopsebot left,
synopsebot joined,
ChanServ sets mode: +v synopsebot,
joy joined
17:38
dalek left,
d4l3k_ is now known as dalek
17:40
lumimies joined,
albongo joined
|
|||
pmurias | [Coke]: thank you for spotting the issue, I managed to reproduce it and it dependend on the the order of backends passed to --backends= | 17:41 | |
[Coke]: I have to leave now, but I'll fix it when I'm back home | 17:42 | ||
17:44
dakkar left
|
|||
[Coke] | pmurias: I had js,moar; tried it the othere way, getting further, thanks! | 17:46 | |
I am happy to be your idiot for the purposes of testing. :) | |||
17:50
domidumont left,
domidumont joined
|
|||
Geth | doc: eeae4da112 | (Patrick Spek)++ | doc/Language/modules.pod6 Add section on the 'api' field |
17:56 | |
synopsebot | Link: doc.perl6.org/language/modules | ||
doc: 11f2221778 | (Patrick Spek)++ | 23 files Merge branch 'master' into update-meta6-with-api |
|||
doc: 02345db853 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/modules.pod6 Merge pull request #1859 from Tyil/update-meta6-with-api Update META6.json documentation to include "api" field Thanks! :-) |
|||
tyil | :D | ||
17:58
lucasb joined
18:00
natrys joined
|
|||
lucasb | I installed p6doc with zef. While testing it, it emits some errors because the thing is not a git repo | 18:01 | |
like: fatal: Not a git repository (or any parent up to mount point /) | |||
I guess it's because of this file which is included in test files: github.com/perl6/doc/blob/master/l...-Files.pm6 | |||
Shouldn't it have a more cleaner testing process? Any way to get rid of the git execution while installing in user (not dev) environment? | 18:02 | ||
18:06
rindolf left
18:15
cdg left
18:17
lucasb left
|
|||
[Coke] | Well, at least all the git ls files are now in one place. :| | 18:18 | |
if it's not a git repo, and/or it's not installed, I guess we just do the equivalent of 'file find', but it would require testing to know if that's going to test the right stuff. | 18:19 | ||
in the meantime, it's safe for you to skip the doc tests; most of them are about the docs, not the p6doc tool | 18:20 | ||
If you could, please open a ticket in the perl6/doc github issue queue noting that we are not zef friendly on testing. | |||
buggable | New CPAN upload: WebService-AWS-S3-0.0.1.tar.gz by BDUGGAN cpan.metacpan.org/authors/id/B/BD/...0.1.tar.gz | 18:21 | |
stmuk_ | now with improved branding | 18:22 | |
rakudup.github.io/ | |||
Geth | doc: 03a749dde2 | (Zoffix Znet)++ | 7 files Skip most tests for non-author installations Since we offer p6doc, this distro is also installed by users who want that tool. There's no reason to abort those installs just because someone used tabs in the text. Skips all the author-related tests, including tests for helper utilities like Pod::Convenience. |
18:24 | |
18:25
bocaneri left
18:29
wamba left
18:32
Zoffix joined
|
|||
Zoffix | stmuk_++ great improvement | 18:32 | |
Is that DrForr in the background? :) | |||
El_Che | stmuk_: I don't get the comic sans joke | 18:33 | |
18:33
comborico1611 joined
18:36
pharv joined
|
|||
[Coke] | Zoffix++ test cleanup | 18:38 | |
Zoffix | El_Che: it's a psychological trick. Once you look at something that ugly, even the worse Perl will look great :P | 18:40 | |
18:41
pharv left
|
|||
stmuk_ | Zoffix: hahaha he was probably there but that's virtualsue | 18:41 | |
Zoffix cleanses eyeballs with on-point typography on www.comicsanscriminal.com/ | |||
Oops :} | |||
stmuk_ | El_Che: its a joke stolen from OpenBSD | ||
timotimo | did they typo and? comics and criminal? :P | ||
El_Che | stmuk_: for me, an specimen of the population that didn't get the reference, it screams "this guy is clueless" or, worse, "he's half assing it on purpose". | 18:42 | |
18:46
Zoffix left,
pharv joined
18:50
cdg joined
|
|||
lichtkind | how do i demand a list or array of ints in a sig? | 18:52 | |
thanks | |||
stmuk_ | ha the first link I try on www.comicsanscriminal.com/ is 404. Says it all really! | 18:54 | |
18:55
cdg left
18:57
Zoffix joined
|
|||
Zoffix | lichtkind: that's an abiguous question. Do you mean parametarized or just containing those objects? Also, int and Int are different things which do you mean? | 18:58 | |
lichtkind | I thin Int is the normal data type not the low level int | ||
and just containing | |||
Zoffix | stmuk_: there's this site that has a bunch of fonts (including free ones) www.dafont.com/ and you can you can use this site to create the CSS and things to embed a custom font on the site: www.fontsquirrel.com/tools/webfont-generator | 18:59 | |
lichtkind: (List where .all ~~ Int) | |||
lichtkind: (List $ where .all ~~ Int) | |||
lichtkind: (@foo where .all ~~ Int) | |||
19:00
kaare_ left
|
|||
lichtkind | Zoffix thank you very much , i thought there are shortcuts for this | 19:00 | |
Zoffix | lichtkind: second one would take any List (and Array/Slip are subclasses of List). The third one would take any Positional | ||
lichtkind | like [Int] | ||
Zoffix | lichtkind: that's for parametarized types. You can parametarize an Array, but not a List | ||
lichtkind | what does parameterize mean? | 19:01 | |
Zoffix | lichtkind: so those would contain just Ints, but in addition you'd also have to create a parametarized type when passing to the array | ||
lichtkind | Zoffix, you mean only when i put a variable into the call not data? | 19:03 | |
Zoffix | m: -> @ where .all ~~ Int {}([1, 2, 3]) | ||
camelia | ( no output ) | ||
Zoffix | m: -> Array[Int] where .all ~~ Int {}([1, 2, 3]) | 19:04 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Cannot do non-typename cases of type_constraint yet at <tmp>:1 ------> 3-> Array[Int] where .all ~~ Int7⏏5 {}([1, 2, 3]) expecting any of: infix stopper |
||
Zoffix | m: -> Array[Int] $ where .all ~~ Int {}([1, 2, 3]) | ||
camelia | Type check failed in binding to parameter '<anon>'; expected Array[Int] but got Array ($[1, 2, 3]) in block <unit> at <tmp> line 1 |
||
Zoffix | ^ it fails even tho you gave it an Array with just Ints in it | ||
m: -> Array[Int] $ where .all ~~ Int {}(Array[Int].new: 1, 2, 3) | |||
camelia | ( no output ) | ||
19:04
mcmillhj_ joined
|
|||
Zoffix | ^ you actually have to make a parametarized array to make it work. What "parametarized" means. Dunno there are some docs on it ( docs.perl6.org/language/objects#in...ized_Roles ). Basically, Array[Int] says it'll only contain Int stuff ahead of time, or something | 19:05 | |
19:05
mcmillhj left
|
|||
lichtkind | Zoffix, thanks a lot becasue i start to write some serious code | 19:05 | |
i think i understood now | 19:06 | ||
Zoffix | m: class Foo {}; my Foo @a; @a[0] := 42 | ||
camelia | Cannot resolve caller BIND-POS(Array[Foo]: Int, Int); none of these signatures match: (Array:D $: int $pos, Foo \bindval, *%_) (Array:D $: Int:D $pos, Foo \bindval, *%_) in block <unit> at <tmp> line 1 |
||
Zoffix | ^ if you try to use a different type there isn't even a method to bind it. The signatures for binding method are automatically typed even. | 19:07 | |
19:07
itaipu left,
mr_ron left
|
|||
Zoffix | s/different type/not the type the array is parametarized with/; | 19:07 | |
19:09
itaipu joined
|
|||
buggable | New CPAN upload: Image-QRCode-0.0.1.tar.gz by FRITH cpan.metacpan.org/authors/id/F/FR/...0.1.tar.gz | 19:11 | |
19:12
athenot left
19:13
athenot joined
19:15
espadrine joined
19:17
Zoffix left
19:21
rindolf joined
19:24
mr_ron joined
|
|||
[Coke] | *parameterized | 19:30 | |
19:31
vcv left,
kaare_ joined,
vcv joined
|
|||
buggable | New CPAN upload: WebService-AWS-S3-0.0.2.tar.gz by BDUGGAN cpan.metacpan.org/authors/id/B/BD/...0.2.tar.gz | 19:31 | |
19:34
wamba joined
19:35
mcmillhj_ left
|
|||
buggable | New CPAN upload: Digest-SHA256-Native-0.03.tar.gz by BDUGGAN cpan.metacpan.org/authors/id/B/BD/....03.tar.gz | 19:41 | |
19:44
mcmillhj joined
|
|||
buggable | New CPAN upload: Crypt-RSA-0.1.0.tar.gz by BDUGGAN cpan.metacpan.org/authors/id/B/BD/...1.0.tar.gz | 19:51 | |
Geth | ecosystem: a616c2778f | (Brian Duggan)++ | META.list Move to cpan: Crypt-RSA, AWS-S3, and SHA256-Native Moved these modules from the ecosystem to cpan: Crypt::RSA, Webservice::AWS::S3, Digest::SHA256::Native |
19:58 | |
20:02
domidumont left
20:03
athenot_ joined,
domidumont joined,
domidumont left,
athenot left,
aindilis left
20:04
mcmillhj left
|
|||
Herby_ | tyil: on the tutorial you posted, that top link for "tutorial to setup Perl 6 on pi..." links to nothing for me | 20:09 | |
20:11
aindilis joined
|
|||
buggable | New CPAN upload: ANTLR4-Grammar-0.1.0.tar.gz by JGOFF cpan.metacpan.org/authors/id/J/JG/...1.0.tar.gz | 20:11 | |
20:21
mcmillhj joined
20:22
pharv left
|
|||
tyil | Herby_: I'm omw home right now, let me take a peek | 20:25 | |
20:25
pharv joined
|
|||
tyil | oh, I see it | 20:25 | |
I'll update it | |||
thanks :> | |||
link should be fixed now | 20:28 | ||
20:34
mahafyi left
20:38
pharv left,
pharv joined
20:46
natrys left
20:49
athenot_ left
20:50
pharv left,
athenot joined
20:51
pharv joined
20:56
eliasr left
20:57
natrys joined,
pharv left,
vcv left,
pharv joined
20:59
cdg joined
21:01
athenot left
21:04
cdg_ joined
|
|||
Herby_ | tyil: that works now, thanks :) | 21:05 | |
21:06
skids left
21:07
cdg left
|
|||
Herby_ | m: say 12.rand.ceiling | 21:09 | |
camelia | 4 | ||
Herby_ | m: say 12.rand.ceiling | ||
camelia | 7 | ||
21:10
mcmillhj left
|
|||
Geth | DBIish: danielgustafsson++ created pull request #118: Fix PostgreSQL typos and outdated docs |
21:17 | |
21:18
itaipu left
21:19
athenot joined
21:21
sena_kun left
21:25
itaipu joined
21:27
athenot left
21:28
athenot joined
21:29
natrys left
|
|||
Geth | DBIish: 0786c8918d | (Daniel Gustafsson)++ (committed by Moritz Lenz) | README.pod Fix incorrect spelling of PostgreSQL |
21:30 | |
DBIish: f7ce95d221 | (Daniel Gustafsson)++ (committed by Moritz Lenz) | lib/DBDish/Pg.pm6 Update link to current PostgreSQL documentation PostgreSQL 8.4 has been end-of-life since July 2014, point the link to the current version of the documentation instead. |
|||
21:30
khw left
|
|||
rindolf | anyone else got link removal requests for pugscode dot org? | ||
El_Che | rindolf: it looks like taken over by a cheap scammer | 21:33 | |
www.myfavouritevouchercodes.co(dot)uk | |||
21:34
mcmillhj joined
|
|||
rindolf | El_Che: i know | 21:34 | |
21:35
khw joined
21:37
pharv left
|
|||
El_Che | it's weird the subdomains have original content | 21:38 | |
Herby_ | timotimo: just used your GTK::Simple library for the first time. surprisingly easy :) | ||
21:39
pharv joined
|
|||
Herby_ | tyil: just finished your tutorial. it was very helpful for walking through a complete "project". thanks again for taking the time to write it | 21:39 | |
tyil | Herby_: my pleasure ^_^ | ||
21:39
mcmillhj left
|
|||
Herby_ | two minor bits of feedback: I wasn't able to get App::Assixt to install | 21:40 | |
tyil | I might make another one in a project to proxy tweets from the perl6 news twitter to mastodon (since this is something I'd like to have anyway) | ||
Herby_ | and the code in "Creating the elements" section is a tad bit different than the final product | ||
as far as the label names | |||
tyil | the latter one should be easy to fix | ||
could you open an issue with the error you get when trying to install App::Assixt? | |||
I'd be interested in solving that if possible | 21:41 | ||
Herby_ | sure. I'm a github rookie but I'll give it a shot | ||
21:41
mcmillhj joined
|
|||
tyil | add a perl6 --version if you make an issue :> | 21:41 | |
Herby_ | will do | 21:42 | |
tyil | github.com/scriptkitties/perl6-App...ixt/issues that's the repo | ||
I'm probably going to bed soon-ish, but I can probably look at it tomorrow | 21:43 | ||
Herby_ | sounds good, i'll work on getting it submitted | ||
tyil | thanks! | ||
timotimo | Herby_: to be honest, jnthn did the first bunch of work on it and i just continued the same way he started, and a lot of extra work was done by azawawi iirc, so i feel a little uneasy calling it mine :) | 21:45 | |
21:46
mcmillhj left,
pharv left
|
|||
Herby_ | timotimo: well, you're contributing to a great module :) | 21:47 | |
timotimo | i haven't touched it in a while either ;( | ||
21:47
pharv joined
|
|||
tyil | note: I'm getting "Invalid SSL certificate" on learningperl6.org | 21:48 | |
notable6 | tyil, I cannot recognize this command. See wiki for some examples: github.com/perl6/whateverable/wiki/Notable | ||
tyil | woah | ||
there's a bot for everything | |||
21:51
itaipu left
|
|||
Herby_ | tyil: if you ever consider tutorial requests, i'd like to read one on basic web scraping | 21:51 | |
probably some good fundamentals involved with that | 21:52 | ||
tyil | I'll put them on the list of ideas (which seems to only get longer by the week), but I can't guarantee anything to appear before the end of time | ||
Herby_ | understandable :) | 21:54 | |
21:56
pharv left
21:57
pharv joined,
mcmillhj joined,
itaipu joined
|
|||
tyil | Herby_: I can reproduce it in the docker container of rakudo star (which is a good thing in this case) | 21:59 | |
21:59
TreyHarris left,
dct joined
22:02
mcmillhj left
|
|||
Herby_ | great! | 22:02 | |
22:02
pharv left,
pharv joined
22:04
mcmillhj joined
|
|||
tyil | Herby_: could I ask you to run `zef --force install zef` to ensure you're on the latest zef version? | 22:04 | |
Herby_ | sure one sec | ||
22:09
mcmillhj left
|
|||
Herby_ | k. ran that command, and tried install App::Assixt again, errored out | 22:09 | |
tyil | its test 6 that's failing, but it only fails on the Rakudo Star release, not my local installation (2018.02) | 22:10 | |
so I'll have to figure out why it's being a pain | |||
Herby_ | is there a way to confirm what version of Zef i'm using? | ||
tyil | zef info zef maybe? | 22:11 | |
not sure | |||
lets downgrade my local perl6 to see if I can make it fail there too | |||
Herby_ | zef:ver<0.2.3> | ||
El_Che | it's weird zef doesn't hava a --version parameter | 22:12 | |
tyil | the odd thing is the "error" it gives: t/06-deduce-parser.t .. All 4 subtests passed | ||
it also plans 4, and all subtests have plans according to their amount of runs | 22:13 | ||
prove -e "perl6 -Ilib" -v t also says everything is ok | |||
22:16
rindolf left
22:28
itaipu left
|
|||
tyil | ok, if I comment subtest 4 it passes properly, it complains subtest 4 has no plan, but I'm looking at it's plan rn | 22:32 | |
22:34
comborico1611 left,
wamba left
|
|||
tyil | Herby_: got it :D | 22:35 | |
Herby_ | figured out the mystery of the planned but not planned test? | ||
22:35
wamba joined
22:36
Possum joined
|
|||
tyil | there was a silly say statement that somehow broke tests it seems | 22:37 | |
Herby_ | awesome. so should I try installing again? or wait | 22:39 | |
tyil | this version works on my docker container with rakudo star, it's going through TravisCI on github, if it passes all that I'll release the new version on CPAN | 22:40 | |
so you should wait for a little | 22:41 | ||
Herby_ | sounds good | 22:42 | |
22:46
AlexDaniel joined
|
|||
tyil | Uploaded Config:ver<1.3.4> to CPAN | 22:49 | |
so now all that's left is to wait | |||
22:49
eliasr joined
|
|||
buggable | New CPAN upload: Config-1.3.4.tar.gz by TYIL cpan.metacpan.org/authors/id/T/TY/...3.4.tar.gz | 22:51 | |
Herby_ | probably telling you something you already know but I just tried installing it again and I got the same error. I can see Zef is trying to use Config-1.3.3 still | 22:56 | |
not sure how to incorporate the new Config-1.3.4 | |||
tyil | yeah, it'll take a bit before zef gets the updated repo lists | ||
Herby_ | gotcha | 22:57 | |
tyil | I'll head to bed now | 22:58 | |
hope the update works for you | |||
good night :) | |||
Herby_ | awesome. thanks and good night! | ||
buggable | New CPAN upload: Net-LibIDN2-0.0.2.tar.gz by KAIEPI cpan.metacpan.org/authors/id/K/KA/...0.2.tar.gz | 23:01 | |
Kaiepi | \o/ | 23:03 | |
one more coming up | |||
23:05
lichtkind left
|
|||
buggable | New CPAN upload: Net-LibIDN-0.0.1.tar.gz by KAIEPI cpan.metacpan.org/authors/id/K/KA/...0.1.tar.gz | 23:11 | |
23:13
comborico1611 joined
23:14
kurahaupo_ joined
|
|||
Kaiepi | that should be all the dependencies i need to get ported over before i can start porting Net::DNS | 23:15 | |
23:16
kurahaupo left
23:18
lichtkind joined,
wamba left
23:21
TreyHarris joined
23:24
pmurias left
23:32
dct left
23:34
stmuk joined
23:35
wamba joined
23:36
stmuk_ left
23:50
ChoHag joined
23:57
espadrine left
23:59
|oLa| joined
|