»ö« 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:13
athenot left
00:14
athenot joined
00:27
pierre joined
00:31
vike left
00:39
mcmillhj joined
00:44
mcmillhj left
00:53
w_richard_w joined
00:55
mcmillhj joined
00:59
mcmillhj left
01:07
mcmillhj joined
01:12
mcmillhj left
01:21
aindilis` left
01:22
aindilis` joined
01:27
mcmillhj joined,
bwisti left
01:30
espadrine left
|
|||
lookatme | :) | 01:31 | |
01:32
mcmillhj left
01:33
pierre left
01:36
aindilis` left
01:37
aindilis joined
01:39
DarthGandalf left
01:41
bwisti joined
01:44
pierre joined,
mcmillhj joined
01:50
mcmillhj left
01:58
DarthGandalf joined
02:00
pharv joined,
mcmillhj joined
02:04
pharv left
02:05
mcmillhj left
02:11
espadrine joined
02:17
mcmillhj joined
02:22
mcmillhj left
02:24
espadrine left,
espadrine joined
02:29
mcmillhj joined
02:33
mcmillhj left
02:40
Kaiepi left,
skids joined
02:41
greppable6 left
02:42
greppable6 joined,
greppable6 left,
espadrine left
02:45
ilbot3 left
02:48
lookatme left
02:49
lookatme joined,
mcmillhj joined
02:53
Kaiepi joined
02:55
Kaypie joined,
Kaiepi left,
Kaypie is now known as Kaiepi
02:57
ilbot3 joined,
ChanServ sets mode: +v ilbot3,
mcmillhj left
03:01
cdg joined,
pierre left
03:04
mcmillhj joined
03:05
cdg left
03:08
mcmillhj left
03:09
cdg joined
03:11
pierre joined
03:15
pierre left
03:22
ctilmes joined,
mcmillhj joined,
ctilmes left
03:27
mcmillhj left,
pierre joined
|
|||
lucs | Do the modules found at modules.perl6.org have some kind of special status? | 03:29 | |
03:34
mcmillhj joined
03:38
pierre left
03:39
mcmillhj left
|
|||
lucs | I'm wondering why for example neither IO::String nor Text::CSV appear there (but they are both on github). | 03:40 | |
Oh, wait. | 03:41 | ||
Hmm... A search on the site finds both (but Text::CSV doesn't show up when clicking the "TEXT" tag, and IO::String, the "IO" tag). | 03:44 | ||
Now, for my real question. | |||
How can I get those two modules to work together, given that Text::CSV implements its own version of IO::String? | 03:45 | ||
03:46
u0_a142 joined,
u0_a142 left
03:47
pierre joined,
ufobat_ joined
03:49
cdg left
03:50
mcmillhj joined,
ufobat left
03:51
pierre left
03:56
mcmillhj left
04:04
skids left
04:05
pierre joined,
dct_ joined
04:10
pierre left,
tbrowder left,
caasih left,
scott left,
olinkl left,
PotatoGim left,
lumimies left
04:11
mrsolo left,
timeless left,
iviv left,
parisba left,
zostay left,
jnap_ left,
pnu__ left,
clkao left,
notbenh_ left,
chansen_ left,
kipd left,
peteretep left
04:12
BuildTheRobots left,
jhill_ left,
ggherdov left,
skaji left,
mithaldu_ left,
tbrowder joined,
zostay joined,
SmokeMachine left,
lumimies joined,
rodarmor left,
eliasr left,
mithaldu_ joined,
pnu__ joined,
notbenh left,
jnap_ joined
04:13
shareable6 left,
benchable6 left,
bisectable6 left,
yoleaux left,
reportable6 left
04:14
scott joined,
notbenh_ joined,
eliasr joined,
unicodable6 left,
parisba joined,
pierre joined
04:15
clkao joined,
notbenh joined,
ggherdov joined,
rodarmor joined
04:16
PotatoGim joined,
ggherdov left,
SmokeMachine joined,
olinkl joined
04:17
caasih joined
04:18
iviv joined,
mrsolo joined
04:19
pierre left
04:21
mcmillhj joined
04:23
wamba joined
04:25
cdg joined
04:26
mcmillhj left
04:29
dct_ left,
chansen_ joined,
kipd joined,
jhill_ joined
04:30
cdg left
04:33
pierre joined,
aindilis left
04:36
mcmillhj joined
04:38
pierre left
04:39
skaji joined
04:40
timeless joined
04:41
mcmillhj left
04:46
xtreak joined
04:50
BuildTheRobots joined
04:51
pierre joined
04:55
pierre left
04:56
mcmillhj joined
05:00
peteretep joined
05:01
mcmillhj left
05:09
mcmillhj joined,
pierre joined
05:14
mcmillhj left,
pierre left
05:18
troys left
05:22
xtreak left,
entonian joined
05:23
mcmillhj joined
05:24
eliasr left
05:25
cdg joined
05:27
pierre joined,
xtreak joined
05:28
mcmillhj left
05:31
cdg left
05:35
khw left
05:37
entonian left
05:40
mcmillhj joined,
w_richard_w1 joined
05:43
w_richard_w left
05:45
mcmillhj left
05:48
curan joined
05:57
mcmillhj joined
|
|||
lookatme | lucs, The tags is read from module configuration file(META6.json) | 05:59 | |
06:01
pharv joined
06:02
mcmillhj left
06:06
pharv left
06:08
mcmillhj joined
06:12
yoleaux joined,
ChanServ sets mode: +v yoleaux
06:13
mcmillhj left
06:14
AlexDaniel joined
|
|||
AlexDaniel | squashable6: next | 06:16 | |
squashable6 | AlexDaniel, ⚠🍕 Next SQUASHathon in ≈3 hours (2018-03-03 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
Webhook for perl6/doc is now active! Responsive is better than fast. | 06:19 | ||
06:26
cdg joined
06:28
AlexDaniel left,
pierre left
06:31
cdg left
06:32
wamba left
06:35
athenot left,
mcmillhj joined
06:36
pierre_ joined
06:40
mcmillhj left
06:41
pierre_ left
06:44
domidumont joined
06:50
mcmillhj joined
06:52
domidumont left,
domidumont joined
06:54
pierre_ joined
06:55
mcmillhj left
06:59
pierre_ left,
wamba joined
07:04
noganex left
07:09
mcmillhj joined
07:13
pierre_ joined,
rindolf joined,
mcmillhj left
07:14
domidumont left
07:15
MasterDuke left,
domidumont joined
07:16
pierre_ left
07:17
pierre_ joined
07:20
darutoko joined,
domidumont left
07:26
mcmillhj joined
07:27
cdg joined
07:31
mcmillhj left
07:32
cdg left
07:36
noganex joined,
robertle_ joined
07:40
mcmillhj joined
07:45
mcmillhj left
07:47
pierre_ left
07:48
AlexDaniel joined
07:53
pierre_ joined
07:56
natrys joined,
benchable6 joined
07:57
pierre_ left
08:02
pierre_ joined
08:04
lowbro joined,
lowbro left,
lowbro joined
08:06
pierre_ left
08:12
dj_goku left,
mcmillhj joined
08:13
vike joined
08:15
domidumont joined
08:17
mcmillhj left
08:20
pierre_ joined
08:24
pierre_ left
08:27
tt left
08:28
cdg joined
08:30
pierre_ joined
08:32
mcmillhj joined
08:33
cdg left
08:34
pierre_ left
08:37
mcmillhj left
08:44
mcmillhj joined
08:49
mcmillhj left
08:55
pierre_ joined
08:56
xtreak left,
natrys left
08:59
xtreak joined
09:01
mcmillhj joined
09:04
xtreak left
09:05
cdg joined
09:06
mcmillhj left
09:09
cdg left
09:15
pierre_ left
09:17
zakharyas joined
09:19
zakharyas left,
zakharyas joined
09:23
pierre_ joined
09:26
w_richard_w1 left
09:28
pierre_ left
09:31
zakharyas left
09:32
zakharyas joined
09:41
pierre_ joined
09:43
CoderPuppy left
09:46
pierre_ left
09:47
xtreak joined
09:48
xtreak left,
xtreak joined
09:49
cpup joined
09:51
xtreak left
09:52
xtreak joined,
cdg joined
09:53
cdg_ joined
09:55
cdg__ joined
09:56
cdg left
09:57
sena_kun joined,
cdg_ left,
Geth left,
Geth joined,
ChanServ sets mode: +v Geth
09:59
cdg__ left,
kaare_ left,
pierre_ joined
10:02
eroux joined,
pharv joined
10:04
pierre_ left,
kaare_ joined
10:05
kurahaupo left
10:06
kurahaupo joined,
pharv left
10:08
cdg joined
10:10
reportable6 joined
10:11
bisectable6 joined
10:12
cdg left
10:18
domidumont left,
domidumont joined
10:21
kaare__ joined
10:22
kaare_ left
10:26
kaare__ left
10:27
pierre_ joined
10:33
domidumont left
10:34
wamba left,
wamba joined,
domidumont joined
10:35
pierre_ left,
wamba left,
pierre_ joined
10:38
kaare__ joined
10:40
pierre_ left
10:46
kaare__ left
10:47
cdg joined
10:52
cdg left
10:53
xtreak left
10:58
zakharyas left
10:59
kaare__ joined
11:01
zakharyas joined
11:03
AlexDaniel left
11:09
Ven`` joined
11:10
Ven` joined,
Ven`` left
11:12
defaultxr left
11:17
MasterDuke joined
|
|||
squashable6 | 🍕 fluca1978++ wrote a comment on “File Extension Conventions”: github.com/perl6/doc/issues/1807#i...-369896054 | 11:22 | |
🍕🍕🍕 First contribution by fluca1978++! ♥ | |||
🍕 zoffixznet++ wrote a comment on “File Extension Conventions”: github.com/perl6/doc/issues/1807#i...-369897097 | 11:28 | ||
🍕🍕🍕 First contribution by zoffixznet++! ♥ | |||
Geth | doc: 6cc25d4076 | MasterDuke17++ (committed using GitHub Web editor) | doc/Language/performance.pod6 Expand the profiling section a bit |
11:31 | |
synopsebot | Link: doc.perl6.org/language/performance | ||
squashable6 | 🍕🍕🍕 First contribution by MasterDuke17++! ♥ | ||
🍕 fluca1978++ wrote a comment on “docs.perl6.org/t…”: github.com/perl6/doc/issues/1805#i...-369897885 | 11:32 | ||
11:33
natrys joined
11:46
aindilis joined
11:54
xtreak joined
|
|||
Geth | doc: 79b22ebd6a | (Zoffix Znet)++ | doc/Language/modules.pod6 Use more common file extensions in examples Per github.com/perl6/doc/issues/778#is...-348761524 Fixes github.com/perl6/doc/issues/1807 (the issue mentions codifying the standard extensions, which is already done in the "Basic Structure" section). |
11:56 | |
synopsebot | Link: doc.perl6.org/language/modules | ||
squashable6 | 🍕 zoffixznet++ closed issue “File Extension Conventions”: github.com/perl6/doc/issues/1807 | ||
11:58
curan left,
AlexDaniel joined
12:02
xtreak left
12:05
unicodable6 joined
12:15
natrys left
12:19
pierre_ joined
12:23
zakharyas left
12:24
natrys joined
|
|||
squashable6 | 🍕 nige123++ wrote a comment on “File Extension Conventions”: github.com/perl6/doc/issues/1807#i...-369907667 | 12:24 | |
🍕🍕🍕 First contribution by nige123++! ♥ | |||
gfldex | "5. | 12:26 | |
AI Cheats at Old Atari Games by Finding Unknown Bugs in the Code" | |||
we need to get us one of those :-> | 12:27 | ||
12:30
khw joined
12:43
raschipi joined,
abraxxa left
12:44
abraxxa joined
12:46
tt joined
13:10
abraxxa left,
shareable6 joined
|
|||
Geth | doc: 51585b9dde | (Will "Coke" Coleda)++ | lib/Test-Files.pm allow whitespace around file names |
13:13 | |
squashable6 | 🍕🍕🍕 First contribution by coke++! ♥ | ||
🍕 jnthn++ wrote a comment on “.serial is not documented”: github.com/perl6/doc/issues/1803#i...-369920181 | 13:26 | ||
🍕🍕🍕 First contribution by jnthn++! ♥ | |||
13:27
greppable6 joined
|
|||
squashable6 | 🍕 jnthn++ wrote a comment on “.serial is not documented”: github.com/perl6/doc/issues/1803#i...-369920465 | 13:27 | |
13:28
vcv joined
|
|||
ufobat_ | m: my $b = Buf:U; $b.?decode() | 13:38 | |
camelia | Cannot resolve caller decode(Buf: ); none of these signatures match: (Blob:D $: *%_) (Blob:D $: $encoding, *%_) in block <unit> at <tmp> line 1 |
||
ufobat_ | i know, decode() exists, but the signature does not match. is there something simililar and as short as .? for this case? | 13:39 | |
13:40
ctilmes joined
13:43
mingdao left,
mingdao joined
13:49
wamba joined
13:52
SyrupThinker joined
13:56
comborico1611 joined
13:57
lizmat left,
cdg joined
14:02
cdg left
14:03
zakharyas joined,
pierre_ left
14:06
athenot joined
14:07
zakharyas left
14:08
zakharyas joined
14:13
pierre_ joined
14:19
Ven` left
14:22
Ven`` joined
|
|||
squashable6 | 🍕 zoffixznet++ wrote a comment on “File Extension Conventions”: github.com/perl6/doc/issues/1807#i...-369934078 | 14:24 | |
14:24
pierre_ left
14:27
mtj_ left
14:29
cdg joined,
mtj_ joined
14:30
cdg_ joined
|
|||
raschipi | nige123 brought a knife to a gunfight, Zoffix works in marketing and advertisement. Zoffix, just lock the bug report for going offtopic. | 14:31 | |
14:33
zakharyas left
14:34
zakharyas joined,
cdg left
14:36
Ven`` left
14:38
cdg joined
14:39
Ven`` joined
14:40
wamba left
14:41
cdg_ left
14:47
scimon joined
14:49
wamba joined
|
|||
AlexDaniel | raschipi: it's already closed | 14:50 | |
14:50
pierre_ joined
|
|||
AlexDaniel | raschipi: but locking anything related to that issue is not going to help really | 14:51 | |
in some sense we actually had a lot of progress recently in understanding what we actually want from a new name | |||
or an alias, or whatever you want to call it | 14:52 | ||
problem is that this understanding is not evenly distributed across the community :) | |||
14:52
pierre_ left
|
|||
AlexDaniel | so speaking out your mind regarding this issue is actually helpful in this case, IMO, even if it looks like there's a lot of tension in the discussion | 14:53 | |
and IMO this comment by Zoffix is very helpful to get us all thinking into the same direction | 14:54 | ||
14:58
Zoffix joined
|
|||
Zoffix | ufobat_: not really, .? is more about checking whether method exists, not whether the given args can be accepted. The shortest I can think is `my $b = "meow".encode; $b.can("decode").grep(*.cando: \($b)).head andthen .($b).say` | 14:59 | |
yoleaux | 1 Mar 2018 21:57Z <DrForr> Zoffix: pushed. | ||
1 Mar 2018 21:58Z <DrForr> Zoffix: (for perl6-ANTLR, that is) | |||
1 Mar 2018 22:09Z <DrForr> Zoffix: passed on Travis, thanks again. | |||
Zoffix | I can see how that could be useful in core. Would be great to try it out as a slang module first. | ||
raschipi | I agree that the discussion should go on, just on the appropriate forums, not in an urelated bug report. | 15:00 | |
Zoffix | m: my $b = "meow".encode; $b.can("decode").grep(*.cando: \($b)).head andthen .($b).say | ||
camelia | meow | ||
Zoffix | m: my $b = Buf; $b.can("decode").grep(*.cando: \($b)).head andthen .($b).say | ||
camelia | ( no output ) | ||
raschipi | Even because that will be archived shortly and remove good arguments to somewhere they can't be found easily. | 15:01 | |
15:05
Ven`` left
15:06
skids joined
15:09
Ven`` joined
15:15
Ven`` left
|
|||
Zoffix | m: BEGIN $?LANG.refine_slang: 'MAIN', role { token dotty:sym<.*> { $<sym>=['.' [ <[+*?♥=]> | '^' '!'? ]] <dottyop> <O(prec => 'y=', assoc => 'unary', dba => 'methodcall', fiddly => 1)> }}; use MONKEY; augment class Mu { method dispatch:<.♥> ($meth, |args) { self.can($meth).grep(*.cando: \(self, |args)).head andthen .(self, |args) orelse Nil } }; utf8.^compose; Int.^compose; say Buf.♥decode; say | 15:16 | |
"meows".encode.♥decode; say 42.♥base: 16; | |||
camelia | 5===SORRY!5=== Argument to "say" seems to be malformed at <tmp>:1 ------> 3pose; Int.^compose; say Buf.♥decode; say7⏏5<EOL> Other potential difficulties: Unsupported use of bare "say"; in Perl 6 please use .say if you meant t… |
||
Zoffix | gah too long | ||
m: BEGIN $?LANG.refine_slang: 'MAIN', role { token dotty:sym<.*> { $<sym>=['.' [ <[+*?♥=]> | '^' '!'? ]] <dottyop> <O(prec => 'y=', assoc => 'unary', dba => 'methodcall', fiddly => 1)> }}; use MONKEY; augment class Mu { method dispatch:<.♥> ($m, |c) { self.can($m).grep(*.cando: \(self, |c)).head andthen .(self, |c) orelse Nil } }; utf8.^compose; say Buf.♥decode; say "meows".encode.♥decode; | |||
camelia | Nil meows |
15:17 | |
Zoffix | Would be nice to also make it so `Buf.♥decode.say` never reaches the `.say` if `.♥decode` never found the candidate to call | ||
15:22
aindilis left
15:29
skaji left
15:31
skaji joined
15:34
sjn left,
sjn joined
15:35
eliasr joined,
Zoffix left
|
|||
squashable6 | 🍕 timo++ wrote a comment on “.serial is not documented”: github.com/perl6/doc/issues/1803#i...-369956061 | 15:39 | |
🍕🍕🍕 First contribution by timo++! ♥ | |||
15:40
cdg left,
cdg joined
15:45
cdg left
|
|||
timotimo | oh, unicode characters, huh ... | 15:46 | |
15:47
sena_kun left
|
|||
timotimo | you see, i was once longing for a syntax to signify "this part should give the return value of the whole expression" | 15:49 | |
can't find a nice emoji or symbol for it | |||
15:50
troys joined
|
|||
moritz | .uni return | 15:53 | |
unicodable6: return | |||
unicodable6 | moritz, U+23CE RETURN SYMBOL [So] (⏎) | ||
moritz, U+240D SYMBOL FOR CARRIAGE RETURN [So] (␍) | |||
moritz, 5 characters in total (⏎␍⮐⮑䷗): gist.github.com/c0fcc4d32d8e37462d...50b6a24716 | |||
timotimo | i wonder if it needs a second symbol, though | 15:54 | |
to explicitly specify the scope where the return goes | |||
(would also make parsing easier, especially since we don't have "parent" links in qast | 15:56 | ||
15:56
comborico1611 left
16:04
mcmillhj joined
16:12
atta left
|
|||
vcv | For a return constraint in a signature, can you specify the return value must be a list of 2 items where the first item is a Str and second is an Int? | 16:32 | |
jnthn | Don't think you can put a where clause directly there, but there's always something like: | 16:34 | |
m: my subset ListStrInt of List where (Str, Int); sub foo(--> ListStrInt) { return ("foo", 42) }; say foo | 16:35 | ||
camelia | (foo 42) | ||
jnthn | m: my subset ListStrInt of List where (Str, Int); sub foo(--> ListStrInt) { return ("foo", 4.2) }; say foo | ||
camelia | Type check failed for return value; expected ListStrInt but got List ($("foo", 4.2)) in sub foo at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
vcv | thats perfect. thank you! | ||
16:37
cdg joined
|
|||
raschipi | Would it be difficult to allow a where clause there? | 16:38 | |
16:42
lowbro left,
cdg left
|
|||
jnthn | raschipi: I don't immediately see a syntactic reason why it'd be a problem | 16:43 | |
There's no semantic reason that I can see | |||
(No semantic reason that we can't, I mean.) | |||
So probably not particularly hard | |||
16:43
Kaiepi left,
Kaypie joined
|
|||
raschipi | Or allowing it to understand lists directly, since having a coma separated list of statements that build a List to return is a common idiom and it would allow declaring the constraint directly easily. | 16:45 | |
16:46
giraffe left,
Kaypie left
16:47
domidumont left
16:49
Kaiepi joined
16:51
yqt joined
|
|||
ctilmes | moritz: re: stackoverflow.com/questions/490363...dont-call, I don't think I'm expressing my need properly | 16:51 | |
moritz: I call one third party library (I don't control), that then calls a second third party library (I don't control). In C, I just "-l<lib1> -l<lib2>" and it works fine | 16:52 | ||
moritz: but in perl, I can only specify "is native('lib1')" | |||
moritz: I need a way to say "look for symbols in lib2 also" | 16:53 | ||
moritz | ctilmes: so isn't it a bug in lib1 that -l<lib1> itself doesn't work? | ||
or is this usual in C land? | |||
ctilmes | In C land, it is normal to list all the libraries that are needed to the linker | 16:54 | |
16:54
pharv joined
|
|||
moritz | I know that, but that doesn't answer my question :-) | 16:54 | |
16:54
robertle_ left
|
|||
ctilmes | Is it a bug in lib1 that you must link in lib2 when you build your executable? I don't think so. | 16:55 | |
moritz | depending on how common that case is, I see two possible solutions | ||
ctilmes | Some libraries have 'plugin' type dynamic library loading, and will pull in the right one, but many don't. I don't think that is a bug. | 16:56 | |
16:56
pharv left,
pharv joined
|
|||
moritz | one is to build a very thing thing in C that you link with both libraries, so that you don't expose that complication to NativeCall | 16:56 | |
and the other is to teach NativeCall to load more than one lib for a symbol | 16:57 | ||
ctilmes | yes! #2 is what I think we need. | ||
I don't really understand MoarVM or NativeCall internals, but I suspect the is native() trait says something like "load library x, then call symbol y". I just need a way to say "load library x", but don't call anything yet. | 17:00 | ||
17:03
mcmillhj left
17:05
dct_ joined
17:06
defaultxr joined
|
|||
squashable6 | 🍕 nige123++ wrote a comment on “File Extension Conventions”: github.com/perl6/doc/issues/1807#i...-369987151 | 17:13 | |
thowe | Nothing like slogging through a book on Go to make me think I should be learning Perl6 instead. | ||
squashable6 | 🍕 zoffixznet++ wrote a comment on “clone-with-op is not documented”: github.com/perl6/doc/issues/1798#i...-369987539 | 17:14 | |
thowe | is that a slice of pizza? | 17:15 | |
ilmari | yes | ||
jnthn | ctilmes: I guess a hack might (or might not) be to just write a native call sub that doesn't exist into the other library, call it with `try`. The innevitable exception will be swallowed, but the library might be sufficiently loaded as a side-effect. Maybe. :) | ||
stmuk_ | thowe: []pizza ;) | ||
ctilmes | jnthn: hey, good idea.. | ||
thowe | stmuk_, I'm not sure what to make of "[]pizza". | 17:16 | |
El_Che | thowe: you'll learn go in a few days, time enough to learn perl 6 after that :) | 17:17 | |
17:17
dct_ left
|
|||
ctilmes | jnthn: works! | 17:17 | |
stmuk_ | thowe: you will understand that joke when you get to the go chapter about slices | ||
El_Che++ | |||
jnthn | ctilmes: Such hack! /o\ :) | 17:18 | |
thowe | No. The authors of this Go book think I am a computer scientist, and if I'm not I should just go screw myself. | ||
jnthn | But cool :) | ||
raschipi | squashable6: pizza thowe | 17:19 | |
squashable6 | raschipi, I cannot recognize this command. See wiki for some examples: github.com/perl6/whateverable/wiki/Squashable | ||
17:19
domidumont joined
|
|||
squashable6 | 🍕 JJ++ wrote a comment on “File Extension Conventions”: github.com/perl6/doc/issues/1807#i...-369989431 | 17:21 | |
🍕🍕🍕 First contribution by JJ++! ♥ | |||
ctilmes | jnthn: is there a `nqp::loadlibrary('xxx')' or some such? | ||
thowe | As a pedagogical example for showing some basic concept about ints and floats, they generate a SVG surface plot. So I get caught up in the details of relearning highschool geometry and SVG XML markup. | 17:24 | |
They try to say the details aren't that important, but then the exercises kind of require you to get in to those details to do anything. I don't know if I'm stupid or the authors just love the smell of their own farts too much. | 17:26 | ||
El_Che | thowe: which one is it? | ||
thowe | "The Go Programming Language" | 17:27 | |
I feel I'm getting exposed to a lot of things and learning nothing interesting about the language. | |||
El_Che | I recall vaguely that "Go in Action" was better | 17:28 | |
but I did the go reading on safari | |||
so no memory of physical artefacts | |||
thowe | like, basic first chapters. I showed the guys at work to see if they could read some of these examples any better than I could and they are at least as dumb as I am. | 17:29 | |
17:29
yqt left
|
|||
El_Che | I remeber browsing "Network programming in go" as well | 17:29 | |
thowe | I mean, I can get through it, but its a chore. | ||
El_Che | however, I am the type of reader that never does exercises | 17:30 | |
17:30
scimon left
|
|||
squashable6 | 🍕 jnthn++ wrote a comment on “clone-with-op is not documented”: github.com/perl6/doc/issues/1798#i...-369992374 | 17:31 | |
thowe | I'm an occasional programmer/hobbiest... I need to at least do a couple of them. I just play with this stuff for fun. | ||
El_Che | thowe: I always invent a small project | ||
thowe | It has been proven nobody will pay me to just write code. | ||
El_Che | for learning go I wrote a small check script that read the netscaler load blaancer api and waned when a percentage of backends were down | 17:32 | |
thowe | I usually have one in mind before buying the book. There's always small scripting needs at work. | ||
El_Che | and a deployment tool (git, encryption, docker deployment) used until our Linux admins deployed an orchestration tool (they did, so obsoleting the tool) | 17:33 | |
thowe | I was going to write a script that generated some config data for snmp requests. I ended up just writing it in Perl. | 17:34 | |
El_Che | for perl6 I wrote a small program for our CA migration (we have about 3000 domains). It connected to the host, verified if the cert was renewed with the new CA, if not send warnings to the owners in -30, -15, -7, -1 and +1 days | ||
it's still in production until somewhere in april this year | |||
thowe | IThe Influxdb version in Go isn't very flexible | ||
El_Che | then all the cert should be EOL'ed :) | 17:35 | |
yeah, been there. For a project with advanced LDAP funcionalaties I tried in order Perl 6, Go and Perl 5 | 17:36 | ||
jnthn | ctilmes: Pretty sure not | ||
thowe | I want to rewrite our invoice calculator and LD rating engine for work in Perl6 | ||
El_Che | on perl5 had a mature lib | ||
jnthn | ctilmes: Think it passes down the library and symbol together | ||
ctilmes: Feel free to file a feature request for a better way to do this than your current hack | 17:37 | ||
ctilmes | jnthn: Maybe make it possible to pass in a Nil symbol? | ||
jnthn | There is no Nil at that level :) | ||
But I guess can null string it or something | 17:38 | ||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “File Extension Conventions”: github.com/perl6/doc/issues/1807#i...-369994450 | ||
🍕🍕🍕 First contribution by AlexDaniel++! ♥ | |||
thowe | It is pretty low tech today... Practically just some really basic Ruby wrapping SQL. A decent DateTime lib and persistent DB connections will revolutionize it. Also, Perl6's Integer math will make it more readable since I won't need to use a bigfloat lib. | ||
ctilmes | or some sort of undefined or empty string or whatever | ||
El_Che | thowe: in general it's more fun to write code in Perl6, Perl 5 has the libs (on the devops ecosystem Go has more libs) and Go is way easier to deploy | ||
jnthn | Could be one way to do it, though whatever we do, we'll want some decent Perl 6 level interface | ||
17:39
aindilis joined
17:40
mcmillhj joined
|
|||
raschipi | Go is easier to deploy but much harder to give security support. | 17:41 | |
El_Che | raschipi: it's ok if part of a CI system | ||
(aka go programs are part of my docker image) | 17:42 | ||
(same goes for perl programs) | |||
raschipi | It's not in my experience, keeping track of where everything is on programming. | 17:43 | |
El_Che | raschipi: what go is lacking, and this affect security, is decent lib versioning | ||
raschipi | Oh, but introducing it means it will not be as easy to deploy... | 17:44 | |
El_Che | not really | ||
it's a compile time thing, not runtime | |||
raschipi | They will introduce it because they want to support reproducible builds. | ||
El_Che | the work is for the programmer | ||
raschipi: exactly | |||
raschipi: and because the system is very poor atm | |||
squashable6 | 🍕 JJ++ wrote a comment on “File Extension Conventions”: github.com/perl6/doc/issues/1807#i...-369996450 | 17:45 | |
raschipi | To give it proper security support it's necessary to rebuild everything with security patches, so not a job for the ISV. | ||
Not easy, besides deployment environment, supporting go requires a build environment. | 17:46 | ||
17:47
defaultxr left
17:51
phogg left,
zakharyas left
17:52
zakharyas joined
|
|||
raschipi | I would agree go usual procedures would be acceptable (without gcc-go) if it was a pure go shop. But I have to support C, C++, Perl, Pascal, Javascript (both node and in the clients), etc. Go requires a very different procedure, requiring full rebuilds when depedencies release patches instead of just deploying patched binaries like the others. | 17:52 | |
So I try to use go with gcc-go and shared libraries, which makes it similar to the others, but not always possible. | 17:53 | ||
And proper support for versions won't mean much if the community doesn't pick up supporting stable versions, which they won't. They will keep requiring and supporting only HEAD, breaking ABI every other version, requiring rewriting applications constantly. | 17:56 | ||
18:03
espadrine joined
18:05
zakharyas left
18:06
ctilmes left
18:08
bisectable6 left
18:09
SyrupThinker left
18:12
ctilmes joined
18:14
epony joined
18:20
kjk joined
|
|||
Geth | doc: d468b66bd0 | (Aleks-Daniel Jakimenko-Aleksejev)++ | 15 files .pm → .pm6 Let's see if anything breaks when we do this. Similarly to github.com/rakudo/rakudo/commit/98...a34791c418 See #778 for more info. |
18:20 | |
18:21
aindilis left,
domidumont left
|
|||
kjk | is it possible to default the scope of a variable to 'my' if it's used but not declared explicitly? | 18:22 | |
18:22
aindilis joined,
nativecallable6 left,
nativecallable6 joined,
bisectable6 joined
|
|||
squashable6 | 🍕 zoffixznet++ closed issue “clone-with-op is not documented”: github.com/perl6/doc/issues/1798 | 18:23 | |
18:24
wamba left
|
|||
TimToady | there's 'no strict', but it uses 'our', not 'my' | 18:25 | |
we made 'my' short for a reason :) | |||
Geth | doc: 990adfde1e | (Zoffix Znet)++ | doc/Type/Range.pod6 Revert "Document Range.clone-with-op." Closes github.com/perl6/doc/issues/1798 D#1798 It was never part of the Perl 6 language and its Rakudo implementation has been now removed[^1] [1] github.com/rakudo/rakudo/commit/44...b31484aaa5 |
18:26 | |
synopsebot | Link: doc.perl6.org/type/Range | ||
synopsebot | D#1798 [closed]: github.com/perl6/doc/issues/1798 [NOTSPECCED][docs] clone-with-op is not documented | ||
18:26
aindilis left
|
|||
kjk | yeah, kind of tired of writing 'my' all the time.... would be great if it's the default :) | 18:26 | |
It should be possible in theory, right? Like the compiler should be able to see that a variable used is not declared, and then assume it to be 'my'. | 18:28 | ||
TimToady | sure, other languages do that, with rather mixed results, which is why we don't | ||
18:29
travis-ci joined
|
|||
travis-ci | Doc build errored. Aleks-Daniel Jakimenko-Aleksejev '.pm → .pm6 | 18:29 | |
travis-ci.org/perl6/doc/builds/348353896 github.com/perl6/doc/compare/51585...68b66bd01e | |||
kjk | yeah, like a typo turned into a 'my' variable. | ||
18:29
travis-ci left
18:30
unicodable6 left
18:31
unicodable6 joined
|
|||
TimToady | subtle mis-scoping is the more insidious issue | 18:31 | |
squashable6 | 🍕 AlexDaniel++ opened issue “Mention somewhere that T…”: github.com/perl6/doc/issues/1808 | 18:32 | |
🍕 AlexDaniel++ labeled issue “Mention somewhere that T…”: github.com/perl6/doc/issues/1808 | |||
kjk | I see. thanks, will keep writing 'my' to avoid shooting myself in the foot. | ||
TimToady | or worse, not-so-subtle warpage of the design of lexical scoping to be function-only | ||
then all your "lexical" variable escape your inner scopes... | 18:34 | ||
kjk | would be enlighting to see all the design decisions, mainly the whys, that go into perl6. | ||
18:34
pmurias joined,
cdg joined
18:35
cdg left
|
|||
TimToady | that's easy, just reread all the mailing lists, apocaplypses, exegeses, synopses, and irc logs since 2000 :-) | 18:35 | |
18:35
cdg joined
|
|||
AlexDaniel | kjk: there's a plan to have faq-why page in the docs: github.com/perl6/doc/issues/114 | 18:35 | |
squashable6 | 🍕 JJ++ wrote a comment on “Mention somewhere that T…”: github.com/perl6/doc/issues/1808#i...-370012468 | 18:36 | |
18:36
zakharyas joined
|
|||
raschipi | m: no strict; $j = 3; say $j; | 18:37 | |
camelia | 3 | ||
18:37
travis-ci joined
|
|||
travis-ci | Doc build errored. Zoffix Znet 'Revert "Document Range.clone-with-op." | 18:37 | |
travis-ci.org/perl6/doc/builds/348356336 github.com/perl6/doc/compare/d468b...0adfde1ec4 | |||
18:37
travis-ci left
|
|||
AlexDaniel | timotimo: ping? | 18:39 | |
18:39
kjk left
|
|||
AlexDaniel | timotimo: travis-ci.org/perl6/doc/builds/348356336#L1498 | 18:39 | |
squashable6 | 🍕 briandfoy++ opened issue “... is not indexed”: github.com/perl6/doc/issues/1809 | 18:40 | |
18:40
cdg_ joined
|
|||
squashable6 | 🍕🍕🍕 First contribution by briandfoy++! ♥ | 18:40 | |
🍕 zoffixznet++ wrote a comment on “... is not indexed”: github.com/perl6/doc/issues/1809#i...-370014175 | 18:41 | ||
🍕 coke++ labeled issue “... is not indexed”: github.com/perl6/doc/issues/1809 | 18:42 | ||
18:44
cdg left
18:47
pharv left,
pharv joined
18:49
aindilis joined
18:53
mcmillhj left
18:56
Rawriful joined
|
|||
rindolf | Hi all! timotimo : hi, any news? | 18:57 | |
18:58
pharv_ joined,
imcsk8 left,
imcsk8 joined,
pharv left,
mcmillhj joined
|
|||
MasterDuke | rindolf: a little something here irclog.perlgeek.de/perl6-dev/2018-...i_15865440 | 19:00 | |
19:01
darutoko left,
eythian left
|
|||
rindolf | MasterDuke: thanks | 19:01 | |
19:02
eythian joined,
eythian left,
eythian joined
19:06
TeamBlast left
19:07
TeamBlast joined
|
|||
squashable6 | 🍕 zoffixznet++ wrote a comment on “style question about non-ascii variables/examples”: github.com/perl6/doc/issues/1794#i...-370021307 | 19:07 | |
19:08
tt left,
tt joined
19:09
comborico1611 joined
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “style question about non-ascii variables/examples”: github.com/perl6/doc/issues/1794#i...-370022092 | 19:10 | |
🍕 AlexDaniel++ labeled issue “style question about non-ascii variables/examples”: github.com/perl6/doc/issues/1794 | |||
19:10
tt left,
tt joined
19:12
ctilmes left
19:18
kaare_ joined,
todd joined
|
|||
Geth | doc: a0451bd3ce | (Zoffix Znet)++ | doc/Language/modules.pod6 Use prettier ASCII art for file trees Closes github.com/perl6/doc/issues/1793 Steal the characters from the stuff `tree` command prints. Also use `:lang<text>` instead of `:skip-test`. |
19:19 | |
synopsebot | Link: doc.perl6.org/language/modules | ||
squashable6 | 🍕 zoffixznet++ closed issue “ascii-art formatting gli…”: github.com/perl6/doc/issues/1793 | ||
19:19
kaare__ left
|
|||
todd | Hi All, Is there a way to directly call a "C" function? I want specifically (not a work around) make a call to "getaddrinfo" and I don't know how to write in C | 19:19 | |
moritz | todd: it's possible. See docs.perl6.org/language/nativecall for the documentation | 19:20 | |
Geth | ecosystem: kalkin++ created pull request #387: Update Ddt to v0.4.3 |
||
todd | Perfect! Thank you! | 19:21 | |
19:24
mniip left
|
|||
squashable6 | 🍕 JJ++ wrote a comment on “style question about non-ascii variables/examples”: github.com/perl6/doc/issues/1794#i...-370026079 | 19:24 | |
19:27
mniip joined,
travis-ci joined
|
|||
travis-ci | Doc build errored. Zoffix Znet 'Use prettier ASCII art for file trees | 19:27 | |
travis-ci.org/perl6/doc/builds/348376519 github.com/perl6/doc/compare/990ad...451bd3cedd | |||
19:27
travis-ci left
19:34
cdg joined
19:36
phogg joined
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “style question about non-ascii variables/examples”: github.com/perl6/doc/issues/1794#i...-370029588 | 19:36 | |
19:37
cdg_ left
19:38
ionest joined,
cdg left
|
|||
ionest | Hi guys. Is there a way to get a string (not a match object) when you match against a regex? | 19:38 | |
e.g., my $title = $html ~~ /'<title>' (.*?) '</title>'/ | 19:39 | ||
rakudo: my $title = "<title>Title</title>" ~~ /'<title>' (.*?) '</title>'/ | |||
camelia | ( no output ) | ||
ionest | rakudo: my $title = "<title>Title</title>" ~~ /'<title>' (.*?) '</title>'/; say $title.^name; | ||
camelia | Match | ||
ionest | Using a prefix ~ in a separate line is too wordy | 19:40 | |
AlexDaniel | m: my $title = ~"<title>Title</title>".match: /'<title>' (.*?) '</title>'/; say $title.^name | 19:41 | |
camelia | Str | ||
19:42
Kaiepi left,
Kaiepi joined
|
|||
squashable6 | 🍕 zoffixznet++ wrote a comment on “style question about non-ascii variables/examples”: github.com/perl6/doc/issues/1794#i...-370031260 | 19:42 | |
🍕 zoffixznet++ wrote a comment on “style question about non-ascii variables/examples”: github.com/perl6/doc/issues/1794#i...-370032254 | 19:46 | ||
🍕 JJ++ wrote a comment on “style question about non-ascii variables/examples”: github.com/perl6/doc/issues/1794#i...-370032988 | 19:48 | ||
🍕 AlexDaniel++ wrote a comment on “style question about non-ascii variables/examples”: github.com/perl6/doc/issues/1794#i...-370034076 | 19:52 | ||
🍕 AlexDaniel++ assigned issue “style question about non-ascii variables/examples” to JJ: github.com/perl6/doc/issues/1794 | 19:53 | ||
19:54
pharv_ left,
pharv joined,
Kaiepi left
19:55
Kaypie joined,
todd left,
zakharyas left,
greppable6 left,
greppable6 joined
|
|||
Geth | doc: 718294c54f | (JJ Merelo)++ | doc/Type/Signature.pod6 Goes back to ASCII Closes #1794 |
19:58 | |
synopsebot | Link: doc.perl6.org/type/Signature | ||
squashable6 | 🍕 JJ++ closed issue “style question about non-ascii variables/examples”: github.com/perl6/doc/issues/1794 | ||
19:59
mcmillhj left
20:00
SyrupThinker joined
|
|||
squashable6 | 🍕 zoffixznet++ wrote a comment on “style question about non-ascii variables/examples”: github.com/perl6/doc/issues/1794#i...-370036939 | 20:02 | |
20:05
mcmillhj joined
|
|||
El_Che | dmesg | 20:05 | |
20:07
travis-ci joined
|
|||
travis-ci | Doc build errored. JJ Merelo 'Goes back to ASCII | 20:07 | |
travis-ci.org/perl6/doc/builds/348391802 github.com/perl6/doc/compare/a0451...8294c54fa1 | |||
20:07
travis-ci left
|
|||
Geth | doc: 2edc062001 | (Aleks-Daniel Jakimenko-Aleksejev)++ | STYLEGUIDE.md Mention fancy unicode variables in STYLEGUIDE Hopefully welds issue #1794 shut. |
20:09 | |
20:10
raschipi left,
ZofBot left,
ZofBot joined,
ChanServ sets mode: +v ZofBot
20:19
travis-ci joined
|
|||
travis-ci | Doc build errored. Aleks-Daniel Jakimenko-Aleksejev 'Mention fancy unicode variables in STYLEGUIDE | 20:19 | |
travis-ci.org/perl6/doc/builds/348396073 github.com/perl6/doc/compare/71829...dc06200129 | |||
20:19
travis-ci left
|
|||
AlexDaniel | squashable6: status | 20:27 | |
squashable6 | AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈15 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel, Log and stats: gist.github.com/8e58e90532ceacefea...235b1d86af | |||
20:29
vcv left
20:31
zakharyas joined
20:32
japhb left
20:35
japhb joined,
zakharyas left,
zakharyas joined
20:36
mcmillhj left
20:39
rindolf left
20:46
comborico1611 left
20:51
mcmillhj joined
20:55
cdg joined
21:01
cdg left,
cdg joined
21:09
cdg_ joined
21:12
cdg left
21:18
AlexDaniel left
21:19
pecastro joined
21:20
jeek left
21:21
jeek_ joined
21:24
comborico1611 joined
21:25
cdg_ left
21:26
cdg joined
21:36
|oLa| left,
mcmillhj left
21:46
Kaypie left
21:48
mmcclimon joined
21:49
Kaiepi joined,
|oLa| joined,
mmcclimon left
21:50
mmcclimon joined
21:51
Kaypie joined
21:52
kurahaupo_ joined
21:54
athenot left
21:55
Kaiepi left
21:56
kurahaupo left
21:57
Kaypie left
22:00
kurahaupo_ is now known as kurahaupo
22:10
SyrupThinker left
22:11
skids left
22:13
zakharyas left
22:21
ionest left
22:22
natrys left
22:25
comborico1611 left
22:42
agwind left
22:57
thowe left
23:03
pharv left
23:05
lichtkind left,
cdg_ joined,
cdg_ left
23:06
cdg_ joined
23:08
pharv joined,
cdg left
23:09
pharv left
23:10
pharv joined,
cdg_ left
23:13
mmcclimon left
23:14
tt left
23:15
tt joined
23:18
lichtkind joined
23:24
robertle left
23:28
kaare_ left
23:29
kaare_ joined
23:41
eroux left
23:49
pharv left
23:55
pharv joined
23:57
pmurias left,
|oLa| left
23:59
pharv left
|