»ö« 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:06
aindilis left
00:11
mson joined
00:12
travis-ci joined
|
|||
travis-ci | Doc build failed. Zoffix Znet 'Unbust doc build' | 00:12 | |
travis-ci.org/perl6/doc/builds/297381235 github.com/perl6/doc/compare/b558e...cf12a96d4b | |||
00:12
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 00:12 | |
geekosaur | "oops" | 00:13 | |
00:20
cdg joined
00:25
cdg left
|
|||
comborico1611 | m: my @numbers = <1 2 3>; sub add-numbers ( @numbers ) { my $total = 0; for @numbers -> $x { $total += $x; }; say $total; } | 00:26 | |
camelia | ( no output ) | ||
comborico1611 | m: my @numbers = <1 2 3>; sub add-numbers ( @numbers ) { my $total = 0; for @numbers -> $x { $total += $x; say $total}; } | 00:27 | |
camelia | ( no output ) | ||
jnthn | m: my @numbers = <1 2 3>; say @numbers.sum | 00:28 | |
camelia | 6 | ||
jnthn | :-) | ||
geekosaur | I was wondering when they'd notice they never actually called the sub... | ||
comborico1611 | Heh, yeah. I'm actually checking to see if there is a typo in this book. | 00:29 | |
Heh | |||
Okay. I'm going to type it exactly as i see it. | 00:31 | ||
m: my @numbers = <1 2 3>; sub add-numbers ( @numbers ) { my $total = 0; for @numbers -> $x { $total += $x;} return $total; } | 00:36 | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Strange text after block (missing semicolon or comma?) at <tmp>:1 ------> 3= 0; for @numbers -> $x { $total += $x;}7⏏5 return $total; } |
||
comborico1611 | m: my @numbers = <1 2 3>; sub add-numbers ( @numbers ) { my $total = 0; for @numbers -> $x { $total += $x;}; return $total } | 00:42 | |
camelia | ( no output ) | ||
00:45
evalable6 left,
evalable6 joined
00:53
wamba left
00:55
espadrine left
01:00
census left
|
|||
comborico1611 | Why does Perl use the term subroutine rather then function? | 01:02 | |
Than* | |||
01:14
margeas left
01:20
cdg joined
01:25
mr-foobar left
01:26
cdg left,
aborazmeh joined,
aborazmeh left,
aborazmeh joined,
mr-foobar joined
01:30
yqt left
01:32
raiph left
01:43
pentashift joined
|
|||
ZzZombo_ | Type check failed in assignment to $section; expected Grammar::VDF::Section:D but got Grammar::VDF::Section:D | 01:51 | |
sorry, but what??? | 01:52 | ||
timotimo | i believe there's a bug in definite type constraints when stuff comes out of another module | 01:53 | |
01:54
TimToady left
01:55
darkmorph left,
Cabanossi left
01:56
TimToady joined,
Cabanossi joined
01:58
kalkin-- joined
02:02
konsolebox left,
kalkin- left
|
|||
comborico1611 | Since a few new people came in, I'll ask again. Why does Perl use the term routine instead of function? | 02:14 | |
timotimo | maybe to avoid using the mathematical term for something imperative? | 02:15 | |
comborico1611 | Routine is a better name, in my opinion. It's more descriptive. | ||
"Imperative" as in giving a command. | 02:16 | ||
Yes, that's good. | |||
I don't like the term method. I prefer member-function. | 02:17 | ||
I suppose member-routine is fine. | |||
timotimo | well, imperative programming vs functional programming vs object-oriented vs ... | 02:18 | |
comborico1611 | Reactive is the new one i just learned about. | 02:20 | |
ugexe | sub is better than fun and shorter than func | 02:21 | |
02:22
evalable6 left,
evalable6 joined,
ChanServ sets mode: +v evalable6
|
|||
comborico1611 | Heh. | 02:23 | |
Well, I'm off to bed. Goodnight. | |||
02:23
comborico1611 left
02:26
bitrauser joined
02:29
bitrauser_ left
02:30
R0b0t1_ left
02:33
R0b0t1_ joined
|
|||
wander | squashable6: status | 02:37 | |
squashable6 | wander, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈9 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
wander, Log and stats: gist.github.com/4360d8444487ad01d3...c3b03dac36 | |||
geekosaur | stack has an open bug to provide a more compatible bindist... someday | 02:43 | |
whoops how did I end up in here | |||
02:46
ilbot3 left
|
|||
TEttinger | ugexe: fn | 02:48 | |
02:54
Cabanossi left
02:55
ilbot3 joined,
ChanServ sets mode: +v ilbot3
02:56
Cabanossi joined
03:01
pilne left
03:18
BenGoldberg joined
03:24
noganex_ joined
03:27
noganex left
03:28
cdg joined
03:33
cdg left
03:34
ryn1x joined
|
|||
Geth | doc: 758efca10a | (Alex Chen)++ (committed using GitHub Web editor) | htmlify.p6 Avoid generate unreachable pages for example: docs.perl6.org/routine/(cont).%E2%88%8B.html these pages are quite dirty, buggy, never reached unless hardcode url, and their message can be found at, for the example docs.perl6.org/routine/%E2%88%8B |
03:35 | |
03:37
aborazmeh left
03:40
Cabanossi left
03:41
Cabanossi joined
03:42
hoelzro left,
hoelzro joined
03:43
HoboWithAShotgun left
03:44
mr-foobar left
03:57
travis-ci joined
|
|||
travis-ci | Doc build failed. Alex Chen 'Avoid generate unreachable pages | 03:57 | |
travis-ci.org/perl6/doc/builds/297427649 github.com/perl6/doc/compare/1dcf1...8efca10ac2 | |||
03:57
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 03:57 | |
04:02
khw left,
darkmorph joined
|
|||
Geth | doc: 63c8909a8e | (Alex Chen)++ (committed using GitHub Web editor) | doc/Type/VM.pod6 Make xtest happy |
04:04 | |
synopsebot | Link: doc.perl6.org/type/VM | ||
Geth | doc: 01242c326d | (Alex Chen)++ (committed using GitHub Web editor) | doc/Type/Telemetry.pod6 Make xtest happy |
04:14 | |
synopsebot | Link: doc.perl6.org/type/Telemetry | ||
04:14
mr-foobar joined
04:25
travis-ci joined
|
|||
travis-ci | Doc build failed. Alex Chen 'Make xtest happy' | 04:25 | |
travis-ci.org/perl6/doc/builds/297433183 github.com/perl6/doc/compare/758ef...c8909a8ed0 | |||
04:25
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 04:25 | |
04:28
darkmorph left
|
|||
ryn1x | . | 04:34 | |
04:35
travis-ci joined
|
|||
travis-ci | Doc build failed. Alex Chen 'Make xtest happy' | 04:35 | |
travis-ci.org/perl6/doc/builds/297434828 github.com/perl6/doc/compare/63c89...242c326d75 | |||
04:35
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 04:35 | |
04:39
Cabanossi left
04:40
Cabanossi joined
04:43
ryn1x left
|
|||
Geth | doc: b3c67fcdf8 | (Alex Chen)++ (committed using GitHub Web editor) | doc/Type/Kernel.pod6 Update Kernel.pod6 |
04:57 | |
synopsebot | Link: doc.perl6.org/type/Kernel | ||
Geth | doc: 31ccff2566 | (Alex Chen)++ (committed using GitHub Web editor) | doc/Type/Distro.pod6 Update Distro.pod6 |
||
synopsebot | Link: doc.perl6.org/type/Distro | ||
wander | 'The command "make html-nohighlight" exited with 2.' since travis-ci.org/perl6/doc/jobs/297381236 | 04:58 | |
commit: github.com/perl6/doc/commit/1dcf12...a0e4a3b4f5 | 04:59 | ||
committable6 | wander, I cannot recognize this command. See wiki for some examples: github.com/perl6/whateverable/wiki/Committable | ||
wander | The commit is github.com/perl6/doc/commit/1dcf12...a0e4a3b4f5 | ||
05:01
pentashift left
|
|||
squashable6 | 🍕 W4anD0eR96++ wrote a comment on commit 31ccff25662c: github.com/perl6/doc/commit/31ccff...t-25406914 | 05:02 | |
🍕 W4anD0eR96++ wrote a comment on commit b3c67fcdf8cd: github.com/perl6/doc/commit/b3c67f...t-25406917 | 05:03 | ||
05:04
napo1eon joined
05:05
HoboWithAShotgun joined
05:10
ryn1x joined
05:14
ryn1x left
05:17
travis-ci joined
|
|||
travis-ci | Doc build failed. Alex Chen 'Update Kernel.pod6' | 05:17 | |
travis-ci.org/perl6/doc/builds/297441685 github.com/perl6/doc/compare/01242...c67fcdf8cd | |||
05:17
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 05:17 | |
05:20
travis-ci joined
|
|||
travis-ci | Doc build failed. Alex Chen 'Update Distro.pod6' | 05:20 | |
travis-ci.org/perl6/doc/builds/297441772 github.com/perl6/doc/compare/b3c67...ccff25662c | |||
05:20
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 05:20 | |
05:22
BenGoldberg left
05:29
APic left
05:33
ryn1x joined
|
|||
SmokeMachine | m: sub bla {my $ret = die; CATCH {default {$ret = 42}}; $ret}; say bla # why it doesn’t print 42? | 05:36 | |
camelia | Nil | ||
05:37
ryn1x left
05:44
APic joined
|
|||
SmokeMachine | m: my $a = 13; sub bla {my $ret = $a; die; CATCH {default {say $ret; $a = $ret = 42}}; $ret}; say bla; say $a # it removes the $ret’s value | 05:47 | |
camelia | 13 Nil 42 |
||
SmokeMachine | m: my $a = 13; sub bla {our $ret = $a; die; CATCH {default {say $ret; $a = $ret = 42}}; $ret}; say bla; say $a | ||
camelia | 13 Nil 42 |
||
SmokeMachine | m: my $a = 13; sub bla {my $ret := $a; die; CATCH {default {say $ret; $ret = 42}}; $ret}; say bla; say $a | 05:48 | |
camelia | 13 Nil 42 |
||
05:50
ryn1x joined
05:52
Cabanossi left
|
|||
SmokeMachine | m: my $a = 13; sub bla {my $ret; {$ret = $a; die; CATCH {default {say $ret; $a = $ret = 42}}}; $ret}; say bla; say $a | 05:54 | |
camelia | 13 42 42 |
||
05:55
ryn1x left,
Cabanossi joined
06:00
wamba joined
06:04
mson left
06:23
HoboWithAShotgun left
06:30
ryn1x joined
06:34
travis-ci joined
|
|||
travis-ci | Doc build failed. Alex Chen 'Update Distro.pod6' | 06:34 | |
travis-ci.org/perl6/doc/builds/297454202 github.com/perl6/doc/compare/W4anD...w-pod-file | |||
06:34
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 06:34 | |
06:35
ryn1x left
|
|||
Geth | doc: a0ae19fc2c | W4anD0eR96++ | 6 files Dirty fix build fail, put Period.pod6 and Telemetry.pod6 to PR and merge them if build OK |
06:38 | |
06:41
ryn1x joined
|
|||
Geth | doc/doc-Telemetry: 96c217a3e7 | (Alex Chen)++ (committed using GitHub Web editor) | doc/Type/Telemetry.pod6 Doc Type/Telemetry it cause build failure. |
06:41 | |
doc: W4anD0eR96++ created pull request #1658: Doc Type/Telemetry |
|||
squashable6 | 🍕 W4anD0eR96++ opened pull request “Doc Type/Telemetry”: github.com/perl6/doc/pull/1658 | ||
Geth | doc/doc-TelemetryPeriod: dc61e11dcf | (Alex Chen)++ (committed using GitHub Web editor) | doc/Type/Telemetry/Period.pod6 Doc Type/Telemetry::Period it causes build failure. |
06:43 | |
doc: W4anD0eR96++ created pull request #1659: Doc Type/Telemetry::Period |
|||
squashable6 | 🍕 W4anD0eR96++ opened pull request “Doc Type/Telemetry::Period”: github.com/perl6/doc/pull/1659 | ||
06:45
ryn1x left
06:46
mempko joined
|
|||
Geth | doc: 7a7be21e1f | W4anD0eR96++ | 5 files Modify .gitignore to avoid add .DS_store |
06:55 | |
06:55
konsolebox joined
07:01
travis-ci joined
|
|||
travis-ci | Doc build failed. W4anD0eR96 'Dirty fix build fail, put Period.pod6 and Telemetry.pod6 to PR and merge them if build OK' | 07:01 | |
travis-ci.org/perl6/doc/builds/297457969 github.com/perl6/doc/compare/31ccf...ae19fc2cac | |||
07:01
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 07:01 | |
07:01
travis-ci joined
|
|||
travis-ci | Doc build failed. Alex Chen 'Doc Type/Telemetry | 07:01 | |
travis-ci.org/perl6/doc/builds/297458372 github.com/perl6/doc/commit/96c217a3e752 | |||
07:01
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 07:01 | |
07:07
travis-ci joined
|
|||
travis-ci | Doc build failed. Alex Chen 'Doc Type/Telemetry::Period | 07:07 | |
travis-ci.org/perl6/doc/builds/297458736 github.com/perl6/doc/commit/dc61e11dcf65 | |||
07:07
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 07:07 | |
07:09
nadim_ joined
|
|||
squashable6 | 🍕 W4anD0eR96++ wrote a comment on commit a0ae19fc2cac: github.com/perl6/doc/commit/a0ae19...t-25408169 | 07:17 | |
07:21
travis-ci joined
|
|||
travis-ci | Doc build passed. W4anD0eR96 'Modify .gitignore to avoid add .DS_store' | 07:21 | |
travis-ci.org/perl6/doc/builds/297460683 github.com/perl6/doc/compare/a0ae1...7be21e1fa0 | |||
07:21
travis-ci left
|
|||
squashable6 | 🍕 W4anD0eR96++ wrote a comment on commit a0ae19fc2cac: github.com/perl6/doc/commit/a0ae19...t-25408235 | 07:23 | |
🍕 W4anD0eR96++ closed pull request “Doc Type/Telemetry::Period”: github.com/perl6/doc/pull/1659 | 07:25 | ||
🍕 W4anD0eR96++ closed pull request “Doc Type/Telemetry”: github.com/perl6/doc/pull/1658 | |||
Geth | doc/patch-01: d1d106182f | W4anD0eR96++ | 2 files Document Telemetry and Telemetry::Period, lizmat++ |
07:27 | |
07:28
ivans left
07:29
cdg joined
|
|||
Geth | doc: W4anD0eR96++ created pull request #1660: Document Telemetry and Telemetry::Period, lizmat++ |
07:29 | |
squashable6 | 🍕 W4anD0eR96++ opened pull request “Document Telemetry and Telemetry::Period, lizmat++”: github.com/perl6/doc/pull/1660 | ||
07:33
aindilis joined
07:34
cdg left
07:39
ryn1x joined
07:40
azawawi joined
|
|||
azawawi | hi | 07:41 | |
is passing CStruct by value supported or even tested? | 07:43 | ||
07:43
ryn1x left
|
|||
azawawi | i passed a CStruct by value, and dumped its hex output in C and the results were garbled | 07:44 | |
07:45
cdg joined
|
|||
azawawi | i then passed the same CStruct as rw (Pointer) and it worked as expected | 07:45 | |
geekosaur | CStruct is always passed as a pointer | 07:46 | |
07:48
darutoko joined
|
|||
geekosaur | structs as values is highly C compiler specific, and best handled by the C compiler itself. that said, I think timotimo was looking at switching NativeCall to use libffi, which claims to be able to do it on all supported platforms (but iirc it doesn't support all the platforms dyncall does) | 07:49 | |
07:49
travis-ci joined
|
|||
travis-ci | Doc build failed. W4anD0eR96 'Document Telemetry and Telemetry::Period, lizmat++' | 07:49 | |
travis-ci.org/perl6/doc/builds/297466541 github.com/perl6/doc/commit/d1d106182f46 | |||
07:49
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 07:49 | |
07:49
cdg left
|
|||
geekosaur | likewise returning CStructs as values | 07:50 | |
azawawi | so what happens if you need to call a C function that expects a CStruct and not a pointer to a CStruct (i.e. without wrapping it) | 07:52 | |
geekosaur | you have to wrap it | ||
07:52
R0b0t1_ left
|
|||
geekosaur | it is *always* passed by NativeCall as a pointer; 'is rw' just tells NativeCall to copy the values back into Perl after the call, in case the C function changed things in the pointed-to struct | 07:53 | |
azawawi | Missed the following: "CStruct objects are passed to native functions by reference and native functions must also return CStruct objects by reference." from documentation :) | ||
geekosaur++ | |||
i think this needs to highlighted though | |||
07:53
Cabanossi left
|
|||
azawawi | the nativecall documentation is great but needs examples | 07:54 | |
geekosaur | probably. It's not that unusual though; it's only recently that libffi supported passing structs by value, and several other languages' FFIs don't try to support struct passing/returning as values (e.g. Haskell) | ||
07:54
R0b0t1_ joined
|
|||
geekosaur | the ones that do support it make you write C code | 07:54 | |
(lua, python, perl 5 since XS compiles to C) | 07:55 | ||
07:55
Cabanossi joined
|
|||
geekosaur | s/since/because | 07:55 | |
azawawi | so basically "Write in C" (c) ... hears the song in the distance :) | ||
thx for the help | 07:57 | ||
geekosaur++ | |||
07:57
Piotr joined
|
|||
azawawi | lesson learned so far... msgpack-c is a mess :) | 07:59 | |
github.com/msgpack/msgpack-c/issues/356 | 08:00 | ||
and given no CStruct forward declarations in Perl 6, there is a lot of wrapping needed | 08:01 | ||
given that msgpack_object is basically a struct with union of structs with pointers (CArrays) in them... | 08:02 | ||
github.com/azawawi/perl6-msgpack/b...e.pm6#L191 | 08:03 | ||
08:04
Piotr left
08:05
espadrine joined
08:11
Piotr joined
|
|||
azawawi | even gptrixie failed on msgpackc given it is written in c99 | 08:11 | |
i should have seen the warning signs :) | 08:12 | ||
08:14
cdg joined
08:18
mempko left
08:19
cdg left
08:23
azawawi left
08:29
parv joined
08:30
ryn1x joined
08:31
wamba left
08:32
wamba joined
08:33
robertle joined
08:35
ryn1x left
|
|||
wander | squashable6: status | 08:37 | |
squashable6 | wander, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈3 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
wander, Log and stats: gist.github.com/dd8062ab3e340ac189...73140bdeb0 | |||
08:39
robertle left
08:41
Piotr left
08:50
yqt joined
08:54
ryn1x joined
08:56
setty1 joined
08:59
ryn1x left
|
|||
AlexDaniel | wooo, 3 hours! Gotta do something | 09:01 | |
lizmat: “no squashable feedback anymore ?” commits are already announced by Geth, I thought that there's no need to duplicate | 09:02 | ||
squashable6 | 🍕 AlexDaniel++ edited issue “Kernel, Distro, VM and P…”: github.com/perl6/doc/issues/503 | ||
🍕 AlexDaniel++ edited issue “Kernel, Distro, VM and P…”: github.com/perl6/doc/issues/503 | 09:03 | ||
09:08
pecastro left
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Document Telemetry and Telemetry::Period, lizmat++”: github.com/perl6/doc/pull/1660#iss...-341958969 | 09:08 | |
🍕 AlexDaniel++ submitted a review on pull request “Document Telemetry and Telemetry::Period, lizmat++”: github.com/perl6/doc/pull/1660#pul...w-74276004 | 09:17 | ||
🍕 AlexDaniel++ wrote a comment on a review for “Document Telemetry and Telemetry::Period, lizmat++”: github.com/perl6/doc/pull/1660#dis...r148951951 | |||
09:18
fkpenta joined
09:20
HoboWithAShotgun joined
|
|||
squashable6 | 🍕 AlexDaniel++ closed issue “doc /type/Kernel”: github.com/perl6/doc/issues/1569 | 09:29 | |
🍕 AlexDaniel++ wrote a comment on “doc /type/Kernel”: github.com/perl6/doc/issues/1569#i...-341960057 | |||
🍕 AlexDaniel++ wrote a comment on “Perl type not documented”: github.com/perl6/doc/issues/501#is...-341960089 | |||
🍕 AlexDaniel++ closed issue “Perl type not documented”: github.com/perl6/doc/issues/501 | |||
🍕 AlexDaniel++ labeled issue “Kernel, Distro, VM and P…”: github.com/perl6/doc/issues/503 | 09:30 | ||
🍕 AlexDaniel++ wrote a comment on “Kernel, Distro, VM and P…”: github.com/perl6/doc/issues/503#is...-341960116 | |||
🍕 AlexDaniel++ edited issue “Kernel, Distro, VM, Perl…”: github.com/perl6/doc/issues/503 | 09:31 | ||
🍕 AlexDaniel++ wrote a comment on “How to pipe two Proc::Asyncs”: github.com/perl6/doc/issues/1580#i...-341960253 | 09:33 | ||
🍕 AlexDaniel++ closed issue “How to pipe two Proc::Asyncs”: github.com/perl6/doc/issues/1580 | |||
09:36
ryn1x joined
09:37
pecastro joined
09:38
sena_kun joined
09:41
ryn1x left,
espadrine left,
fkpenta left
09:47
setty1 left
|
|||
Geth | doc: 80d1de76bd | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Language/traps.pod6 Document $aproc.print without awaiting trap Resolves #1567 |
09:51 | |
synopsebot | Link: doc.perl6.org/language/traps | ||
squashable6 | 🍕 AlexDaniel++ closed issue “$proc.print: ‘foo’; $proc.close-stdin (trap)”: github.com/perl6/doc/issues/1567 | ||
🍕 W4anD0eR96++ wrote a comment on “Document Telemetry and Telemetry::Period, lizmat++”: github.com/perl6/doc/pull/1660#iss...-341961247 | 09:55 | ||
moritz | good morning | 10:02 | |
tyil: it seems your App-MPD-Notify upload to CPAN contains a .git directory, which typically shouldn't be the case | |||
ZzZombo_ | why is my Grammar::Tracer output is garbled? Like this: | 10:04 | |
| directive | |||
| | ws | |||
| | | comment | |||
| | | * [37;42mMATCH "// Dota Units File\n" | |||
| | | comment | |||
| | | * [37;41mFAIL | |||
| | * [37;42mMATCH "// Dota Units File\n" | |||
| * [37;41mFAIL | |||
Geth | doc: 7a74e1ee30 | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Language/traps.pod6 Doc lonely LEAVE block execution trap Resolves #1539. |
||
synopsebot | Link: doc.perl6.org/language/traps | ||
squashable6 | 🍕 AlexDaniel++ closed issue “LEAVE trap (my $x = …; LEAVE $x.foo)”: github.com/perl6/doc/issues/1539 | ||
tyil | moritz: thanks for the headsup, I'll take a peek later today | ||
ZzZombo_: please use a paste site next time | |||
also, that doesnt look garbled, that looks like it has color codes | 10:05 | ||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Document Telemetry and Telemetry::Period, lizmat++”: github.com/perl6/doc/pull/1660#iss...-341961788 | 10:06 | |
10:07
evalable6 left,
evalable6 joined
|
|||
wander | ZzZombo_: it works well on Terminal with xterm-256color | 10:10 | |
ZzZombo_ | I'm on Windows 10. | ||
wander | maybe we should provide a non-colored version, but now, you can clone grammar-debug and modify `sub color` | 10:16 | |
so sad it sounds :( maybe there is a better way | |||
tyil | not using windows :> | ||
moritz | tyil: fwiw this is how I build my CPAN uploads: tar --transform 's,^,Grammar-Error-Reporting-0.2/,' -czf Grammar-ErrorReporting-0.2.tar.gz $(git ls-files) | 10:17 | |
10:27
evalable6 left
10:28
evalable6 joined,
ChanServ sets mode: +v evalable6,
rindolf joined
10:31
parv left
|
|||
Geth | doc: d87f7f13bd | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Language/traps.pod6 Document «» traps Resolves #1369 |
10:33 | |
synopsebot | Link: doc.perl6.org/language/traps | ||
squashable6 | 🍕 AlexDaniel++ closed issue “%h«$x» is a trap”: github.com/perl6/doc/issues/1369 | ||
AlexDaniel | squashable6: status | ||
squashable6 | AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈1 hour. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel, Log and stats: gist.github.com/79c7df7fa42b039135...c329e31a93 | |||
🍕 AlexDaniel++ wrote a comment on “/language/traps should w…”: github.com/perl6/doc/issues/1400#i...-341963208 | 10:35 | ||
10:37
llfourn left
10:40
domidumont joined
10:44
domidumont left
10:45
domidumont joined
10:49
ChoHag left
10:54
travis-ci joined
|
|||
travis-ci | Doc build failed. Aleks-Daniel Jakimenko-Aleksejev 'Document «» traps | 10:54 | |
travis-ci.org/perl6/doc/builds/297502519 github.com/perl6/doc/compare/7a74e...7f7f13bd9d | |||
10:54
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 10:54 | |
10:55
SCHAPiE left
10:56
yqt left
|
|||
squashable6 | 🍕 lizmat++ wrote a comment on “Document Telemetry and Telemetry::Period, lizmat++”: github.com/perl6/doc/pull/1660#iss...-341964505 | 10:59 | |
11:00
domidumont left
|
|||
ZzZombo_ | So according to github.com/Microsoft/WSL/issues/11...254250445, color codes processing was changed deliberately; either Perl 6 itself should enable it, or somehow program it launches, but how then? | 11:03 | |
Anybody to comment? | |||
11:04
SCHAPiE joined
|
|||
squashable6 | 🍕 lizmat++ wrote a comment on “Document Telemetry and Telemetry::Period, lizmat++”: github.com/perl6/doc/pull/1660#iss...-341964836 | 11:05 | |
Geth | doc: e63a96ba2d | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Language/traps.pod6 Document $proc.stdout without .lines trap Resolves #1591. As mentioned in the issue, there's a neat way to detrap this problem. But right now we're just documenting issues and this commit should be enough to close the ticket. |
11:09 | |
synopsebot | Link: doc.perl6.org/language/traps | ||
squashable6 | 🍕 AlexDaniel++ closed issue “$proc.stdout is shorter …”: github.com/perl6/doc/issues/1591 | ||
🍕 W4anD0eR96++ wrote a comment on “Document Telemetry and Telemetry::Period, lizmat++”: github.com/perl6/doc/pull/1660#iss...-341965144 | 11:11 | ||
AlexDaniel | come on people! We can go below 280! | 11:12 | |
squashable6 | 🍕 lizmat++ wrote a comment on “Document Telemetry and Telemetry::Period, lizmat++”: github.com/perl6/doc/pull/1660#iss...-341965225 | ||
AlexDaniel | squashable6: status | 11:13 | |
squashable6 | AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event is in 46 minutes. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel, Log and stats: gist.github.com/bf4136f1d0a3083af5...d74bd0ec5a | |||
🍕 W4anD0eR96++ wrote a comment on “Document Telemetry and Telemetry::Period, lizmat++”: github.com/perl6/doc/pull/1660#iss...-341965426 | 11:16 | ||
🍕 lizmat++ wrote a comment on “Document Telemetry and Telemetry::Period, lizmat++”: github.com/perl6/doc/pull/1660#iss...-341965458 | 11:17 | ||
11:21
mr-fooba_ joined
11:24
mr-foobar left
|
|||
Geth | doc: 29c5ebe198 | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Language/traps.pod6 Document 「if %h<a b>:exists」 trap Resolves #1242 |
11:30 | |
synopsebot | Link: doc.perl6.org/language/traps | ||
squashable6 | 🍕 AlexDaniel++ closed issue “Another possible trap: %h<a b>:exists”: github.com/perl6/doc/issues/1242 | ||
Geth | doc: 06bab54149 | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Language/traps.pod6 Fix pod problem |
11:32 | |
11:32
yqt joined,
ryn1x joined
11:34
travis-ci joined
|
|||
travis-ci | Doc build failed. Aleks-Daniel Jakimenko-Aleksejev 'Document $proc.stdout without .lines trap | 11:34 | |
travis-ci.org/perl6/doc/builds/297510981 github.com/perl6/doc/compare/d87f7...3a96ba2db8 | |||
11:34
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 11:34 | |
11:37
ryn1x left
11:39
stmuk joined
11:40
stmuk_ left
|
|||
HoboWithAShotgun | good localtime() you lot | 11:45 | |
what's the name of that catch-all method again? | |||
Geth | doc: 6519ef5399 | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Language/traps.pod6 [Z] and the transpose of a list-of-lists trap Resolves #1400 |
11:46 | |
synopsebot | Link: doc.perl6.org/language/traps | ||
squashable6 | 🍕 AlexDaniel++ closed issue “/language/traps should w…”: github.com/perl6/doc/issues/1400 | ||
Geth | doc: 7224e9024e | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Language/traps.pod6 Make the spell checker happy |
11:47 | |
squashable6 | 🍕 AlexDaniel++ wrote a comment on “/language/traps should w…”: github.com/perl6/doc/issues/1400#i...-341967168 | ||
AlexDaniel | squashable6: status | 11:48 | |
squashable6 | AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event is in 11 minutes. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel, Log and stats: gist.github.com/bd11003f408ad9a727...5b248efe71 | |||
AlexDaniel | geez! OK one more! | 11:49 | |
11:49
margeas joined
11:50
ZzZombo_ left,
eugene_barsky joined
11:52
travis-ci joined
|
|||
travis-ci | Doc build failed. Aleks-Daniel Jakimenko-Aleksejev 'Document 「if %h<a b>:exists」 trap | 11:52 | |
travis-ci.org/perl6/doc/builds/297516078 github.com/perl6/doc/compare/e63a9...c5ebe19844 | |||
11:52
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 11:52 | |
perlawhirl | bisectable6: say (1..3).max(-> $i { $i }) | ||
bisectable6 | perlawhirl, On both starting points (old=2015.12 new=d5fc6cb) the exit code is 1 and the output is identical as well | ||
perlawhirl, Output on both points: «Too many positionals passed; expected 1 argument but got 2 in block <unit> at /tmp/bdqkS9eeMo line 1» | |||
11:55
kalkin-- left,
travis-ci joined
|
|||
travis-ci | Doc build passed. Aleks-Daniel Jakimenko-Aleksejev 'Fix pod problem' | 11:55 | |
travis-ci.org/perl6/doc/builds/297516504 github.com/perl6/doc/compare/29c5e...bab54149e2 | |||
11:55
travis-ci left
11:56
kalkin- joined
|
|||
Geth | doc: 1d0c7299ff | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Language/traps.pod6 Document .lc/.uc/.fc trap Resolves #994 |
11:57 | |
synopsebot | Link: doc.perl6.org/language/traps | ||
squashable6 | 🍕 AlexDaniel++ closed issue “Case-insensitive string …”: github.com/perl6/doc/issues/994 | ||
11:57
ZzZombo joined
|
|||
AlexDaniel | squashable6: status | 11:58 | |
squashable6 | AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event is in 1 minute. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel, Log and stats: gist.github.com/0f81aba92c52584f4a...d4183076e0 | |||
AlexDaniel | whew! | ||
whew! | 12:00 | ||
squashable6: status | |||
squashable6 | AlexDaniel, Next SQUASHathon in 25 days and ≈21 hours (2017-12-02 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel | squashable6: log 2017-11-04 | ||
squashable6 | AlexDaniel, Log and stats: gist.github.com/88c95ec07093bf7a59...4d4494b541 | ||
lizmat | whee! | ||
12:05
pecastro left
|
|||
HoboWithAShotgun | how do I do this: hastebin.com/ikeneyecac.php without having to make b readwrite? | 12:06 | |
12:06
ChoHag joined
|
|||
HoboWithAShotgun | I can't use $!b | 12:07 | |
12:08
travis-ci joined
|
|||
travis-ci | Doc build passed. Aleks-Daniel Jakimenko-Aleksejev '[Z] and the transpose of a list-of-lists trap | 12:08 | |
travis-ci.org/perl6/doc/builds/297519922 github.com/perl6/doc/compare/06bab...19ef5399c3 | |||
12:08
travis-ci left
|
|||
geekosaur | if you can't use $!b then you have to make it rw | 12:08 | |
wander | m: use Test;class Foo { has $.a = "a"; has $.b = "b" ; }; class Bar is Foo { has $.b = "B"; }; $_ = Bar.new( :a("A") ); ok .a ~~ "A" && .b ~~ "B"; | 12:09 | |
camelia | ok 1 - | ||
12:09
travis-ci joined
|
|||
travis-ci | Doc build passed. Aleks-Daniel Jakimenko-Aleksejev 'Make the spell checker happy' | 12:09 | |
travis-ci.org/perl6/doc/builds/297520007 github.com/perl6/doc/compare/6519e...24e9024e28 | |||
12:09
travis-ci left
|
|||
HoboWithAShotgun | that's exactly what i wanted to avoid wander :) | 12:09 | |
lizmat | m: class A { has $.a is rw = "a" }; class B is A { method TWEAK(:$.a = "b") { } }; dd B.new # HoboWithAShotgun | 12:10 | |
wander | well | ||
camelia | B.new(a => "b") | ||
lizmat | you *can* use :$.a | ||
which is just another way to write self.a | |||
but fits better in signatures :-) | |||
HoboWithAShotgun | yes, bt that still requires rw | 12:12 | |
lizmat | HoboWithAShotgun: yes, that's true | 12:14 | |
HoboWithAShotgun: the alternative is to make A a role: | 12:15 | ||
role A { has $.a = "a" }; class B does A { method TWEAK(:$!a = "b") { } }; dd B.new(a => 42) | |||
m: role A { has $.a = "a" }; class B does A { method TWEAK(:$!a = "b") { } }; dd B.new(a => 42) | |||
camelia | B.new(a => 42) | ||
lizmat | m: role A { has $.a = "a" }; class B does A { method TWEAK(:$!a = "b") { } }; dd B.new | 12:16 | |
camelia | B.new(a => "b") | ||
lizmat | m: role A { has $.a = "a" }; class B does A { method TWEAK(:$!a = "b") { } }; dd A.new | ||
camelia | A.new(a => "a") | ||
lizmat | you will still get to use A as a class, as it will autopun the role into a class as soon as it's used as a class | ||
basically doing a "class :: does A { }" for you | |||
brb& | 12:17 | ||
12:23
ChoHag left
12:25
cdg joined
|
|||
wander | lizmat: do we have something like `super` to invoke parent class in a child class? | 12:28 | |
self invoke the object itself | |||
super invoke its parent | |||
thus we can pass message from child to parent | |||
lizmat | wander: there's only one object | 12:29 | |
which happens to have attributes from the parent and attributes from the child | |||
wander | yes | ||
12:29
cdg left
|
|||
lizmat | wander: perhaps "trusts" is what you need? docs.perl6.org/routine/trusts | 12:30 | |
geekosaur | I was thinking something like callsame / nextsame | 12:32 | |
wander | geekosaur: that's it | ||
12:49
evalable6 left
12:50
evalable6 joined
|
|||
wander | m: use Test;class A { has $.a = "a"; has $.b = "b"; }; class B is A { method new(*%args) { my %hash = %args; %hash<b> //= 'B'; nextwith(|(%hash.Capture)); } }; $_ = B.new( :a("A")); ok .a ~~ "A" && .b ~~ "B"; | 12:52 | |
camelia | ok 1 - | ||
wander | HoboWithAShotgun: ^^ | 12:53 | |
12:53
Morfent joined,
Cabanossi left
12:54
pecastro joined,
pecastro left
12:55
ryn1x joined,
Cabanossi joined
12:58
pecastro joined
12:59
ryn1x left
13:00
pecastro left
13:04
colomon left
13:05
BenGoldberg joined
13:10
nadim_ left,
pecastro joined
13:21
dakkar joined
13:23
Cabanossi left
13:25
Cabanossi joined
|
|||
dakkar | jnthn: Cro queston: how would I implement a ::Router-based transformer that "wraps" another one? for authentication purposes, for example | 13:26 | |
get -> *@, :$user!, :$pass! { if authentication-ok($user,$pass) { go-ahead-to-the-inner-transformer(...) } else { forbidden ... } } | 13:27 | ||
how do I do the "go-ahead-" part? | |||
alternatively, what's the smarter way of doing this? | |||
HoboWithAShotgun | allright, in here: hastebin.com/qumiqosabo.pl, is there a way to not having to tell the type Foo as a string? | 13:28 | |
basically can a role know who is "doing" it? | |||
lizmat | HoboWithAShotgun: is it intentional that there is only one instance ? | 13:29 | |
13:29
cdg joined
|
|||
HoboWithAShotgun | That is indeed the point. yes :) | 13:29 | |
dakkar | HoboWithAShotgun: the invocant to a method will be the type object, won't it? | 13:30 | |
also, you have one $instance per process, regardless of how many clasess consume the role | |||
HoboWithAShotgun | oh. | 13:31 | |
13:32
cdg_ joined
|
|||
lizmat | m: class A { my $self; method new(|c) { $self //= $self.bless(|c) }}; dd A.new =:= A.new # HoboWithAShotgun | 13:33 | |
camelia | Bool::True | ||
lizmat | m: class A { my $self; method new(|c) { $self //= self.bless(|c) }}; dd A.new =:= A.new # oops, second should be without $ | ||
camelia | Bool::True | ||
13:34
cdg left,
buggable left
|
|||
lizmat | if you don't have any parameters to the .new: | 13:35 | |
13:35
buggable joined,
ChanServ sets mode: +v buggable,
buggable left
|
|||
lizmat | m: class A { my $self = A.bless; method new() { $self }}; dd A.new =:= A.new | 13:35 | |
camelia | Bool::True | ||
13:36
census joined,
buggable joined,
ChanServ sets mode: +v buggable
|
|||
dakkar | HoboWithAShotgun: hastebin.com/gifudokotu.hs | 13:36 | |
(keep in mind that I'm not very good with perl6) | |||
HoboWithAShotgun | dakkar: yeah, that's basically what i came up with too | 13:40 | |
dakkar | lizmat: how terrible is my code? ☺ | ||
HoboWithAShotgun | or better said, i would have. | ||
dakkar | important bug remaninig: you can't pass positionals to the constructor | 13:41 | |
census | can someone please look at my code? pastebin.com/VP6wJy4A | ||
HoboWithAShotgun | but this works: hastebin.com/esanakegoq.swift | ||
census | In line 13, I'm getting an error that says 'malformed UTF-8 in block <unit>' | 13:42 | |
13:42
holyghost joined
13:43
perllover joined
|
|||
dakkar | census: does your input file contain well-formed UTF-8 byte sequences? | 13:43 | |
census | dakkar oh i understand sorry i freaked out | 13:45 | |
dakkar | extra pairs of eyes are always useful 😜 | ||
although, if the implicit decoder told you where it's reading from and what it found, figuring out the problem would be easier | 13:46 | ||
(but I suspect that it's quite a bit harder to do than to say, given the many layers involved) | |||
lizmat | dakkar: have to go now, will look at it when I'm back& | 13:52 | |
dakkar | lizmat: nah, it was just a "request for nit-picking" ☺ have fun! | 13:53 | |
13:53
mr-fooba_ left
13:55
mr-foobar joined
|
|||
SmokeMachine | m: sub bla {my $ret = die; CATCH {default {$ret = 42}}; $ret}; say bla # why it doesn’t print 42? | 14:06 | |
camelia | Nil | ||
SmokeMachine | But this works: | ||
m: sub bla {my $ret {$ret = die; CATCH {default {$ret = 42}}}; $ret}; say bla # why it doesn’t print 42? | 14:07 | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Unexpected block in infix position (missing statement control word before the expression?) at <tmp>:1 ------> 3sub bla {my $ret7⏏5 {$ret = die; CATCH {default {$ret = 42} expecting any o… |
||
SmokeMachine | m: sub bla {my $ret; {$ret = die; CATCH {default {$ret = 42}}}; $ret}; say bla # why it doesn’t print 42? | ||
camelia | 42 | ||
14:09
Cabanossi left
14:10
Cabanossi joined
14:11
R0b0t1_ left
14:14
R0b0t1_ joined,
khw joined
14:18
mr-foobar left
14:21
raymondbaker joined
14:22
raymondbaker left
14:25
nadim_ joined
14:26
sftp left
14:33
Ben_Goldberg joined,
BenGoldberg left,
ChoHag joined,
Ben_Goldberg is now known as BenGoldberg
14:34
mr-foobar joined
14:35
ryn1x joined
|
|||
HoboWithAShotgun | allright, somebody want to try and break this? github.com/holli-holzer/perl6-Singleton | 14:38 | |
14:39
ryn1x left
14:41
SCHAPiE left,
BenGoldberg left
|
|||
AlexDaniel | .tell lizmat weekly report gist.github.com/AlexDaniel/5abca8a...dad53d17bf | 14:42 | |
yoleaux | AlexDaniel: I'll pass your message to lizmat. | ||
14:44
darkmorph joined
14:57
BenGoldberg joined
14:58
nadim_ left,
nadim joined
15:00
SCHAPiE joined,
darkmorph left
15:03
nadim left
15:04
bitrauser left
|
|||
census | dakkar you still around? | 15:04 | |
dakkar | I am! | ||
census | i'm trying to write another code. would you please be willing to take a look at it? | 15:05 | |
jnthn | dakkar: Cro works less in terms of "wrapping" and more in terms of a linear pipeline. For auth, I'd approach it in the same way that we handle HTTP2 ping/window update/settings ack: have something in the pipeline ahead of request processing that applies the auth checks, and if it wants to bypass the rest, then emits the response into a Supplier in ConnectionState, and the another step in the processing pipeline later subscribes to that and spits i | 15:06 | |
census | pastebin.com/23Ed68Bw | ||
Geth | doc/patch-01: 8e7a9c4c35 | (Alex Chen)++ (committed using GitHub Web editor) | doc/Type/Telemetry.pod6 Update Telemetry.pod6 |
||
dakkar | jnthn: ooh. that sounds completely differet to anything I was thinking ☺ I'll study the HTTP2 code and ask again when I get confused. thanks! | 15:07 | |
jnthn | dakkar: The plan is to wrap that bit of plumbing up into something a bit more high-level, to save people having to wire it up every time. | ||
15:07
pilne joined
|
|||
jnthn | ConnectionState is the thing to grep for | 15:07 | |
dakkar | thanks! | ||
15:08
Cabanossi left
|
|||
dakkar | census: keep in mind that I actually know quite little about perl6, I'm still learning the basics! (mostly by finding bugs in libraries and sending patches, apparently) | 15:08 | |
census | dakkar i completely understand. if you have any feedback about why my code might not be working, i'd be extremely grateful | 15:09 | |
Geth | doc/patch-01: f506f57184 | (Alex Chen)++ (committed using GitHub Web editor) | doc/Type/Telemetry/Period.pod6 Update Period.pod6 |
||
15:09
vike left
|
|||
jnthn | On auth stuff in general, my thinking is to add something to the request object that carries an "identity", and also provide access to it in the route signature | 15:09 | |
dakkar | I'm not ever sure what you expect it to do… | ||
15:10
Cabanossi joined,
HoboWithAShotgun left
|
|||
dakkar | jnthn: oh, so I could do «get -> 'something', :$user is identity { ... }» | 15:11 | |
jnthn | So if it was a JWT with a bunch of permissions, one could write Admin :$user is identity, having declared subset Admin where *.perms.any eq 'admin' | ||
dakkar | clever! | ||
15:13
blakebooyah joined
|
|||
dakkar | oh, another detail I'm not sure about: if I have multiple routes that could match a request, which one is picked? narrower, first, last? | 15:13 | |
random? ☺ | |||
jnthn | No, the rules are actually quite Perl 6-y :) | ||
See near the end of the cro.services/docs/reference/cro-htt...t_matching docs | 15:14 | ||
Geth | doc: b3bf11df35 | (Alex Chen)++ (committed using GitHub Web editor) | doc/Type/Any.pod6 Avoid warning "Are you sure that routine is ..." |
||
synopsebot | Link: doc.perl6.org/type/Any | ||
15:15
blakebooyah left
|
|||
jnthn | The rules are inspired by Perl 6's LTM semantics (the longest literal part) and multi-dispatch semantics (the other parts) | 15:16 | |
The first bit being handy because it means we can compile the route table into regex and then let Perl 6 build an NFA to do the route matching for us | 15:17 | ||
dakkar | I should actually read the docs, you know. I was going to reverse-engineer the matcher compiler to figure out the logic ☺ | ||
(or maybe I could have looked at the tests) | 15:18 | ||
jnthn | That may be more fun ;) | ||
15:20
committable6 left,
committable6 joined,
ChanServ sets mode: +v committable6
|
|||
jnthn away for a bit | 15:21 | ||
15:27
travis-ci joined
|
|||
travis-ci | Doc build failed. Alex Chen 'Update Telemetry.pod6' | 15:27 | |
travis-ci.org/perl6/doc/builds/297575856 github.com/perl6/doc/compare/d1d10...7a9c4c35c8 | |||
15:27
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 15:27 | |
15:32
steeznson joined,
vike joined
15:33
travis-ci joined
|
|||
travis-ci | Doc build failed. Alex Chen 'Update Period.pod6' | 15:33 | |
travis-ci.org/perl6/doc/builds/297576831 github.com/perl6/doc/compare/8e7a9...06f571847d | |||
15:33
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 15:33 | |
15:38
ryn1x joined
15:39
llfourn joined
15:41
Sgeo joined
15:42
ryn1x left
15:44
steeznson left
|
|||
Geth | doc/patch-01: 04323ade88 | (Alex Chen)++ (committed using GitHub Web editor) | doc/Type/Telemetry.pod6 Update Telemetry.pod6 |
15:53 | |
doc/patch-01: f1613a01cd | (Alex Chen)++ (committed using GitHub Web editor) | doc/Type/Telemetry/Period.pod6 Update Period.pod6 |
|||
15:54
araraloren_ left
15:57
vike left
15:59
colomon joined
16:00
cdg_ left
16:02
vike joined
16:03
ryn1x joined
16:05
colomon left
16:08
darkmorph joined
16:12
Mrofnet joined
16:14
travis-ci joined
|
|||
travis-ci | Doc build passed. Alex Chen 'Update Telemetry.pod6' | 16:14 | |
travis-ci.org/perl6/doc/builds/297590740 github.com/perl6/doc/compare/f506f...323ade8832 | |||
16:14
travis-ci left
|
|||
Geth | doc: 525e984015 | (Jeremy Studer)++ | doc/Language/modules.pod6 Modified module examples to work as indicated In the MyModule example, the stubbed class and sub caused an error when called. Modified the MakeQuestionable example to match the output text (used join on list to provide the spaces). |
16:15 | |
synopsebot | Link: doc.perl6.org/language/modules | ||
16:15
Morfent left
|
|||
16:16
telex left
16:17
telex joined,
holyghost left
16:26
cdg joined
|
|||
f0x | how can I restrict an object to be either 1, 2, 3 or 4? | 16:26 | |
sena_kun | m: subset B where * == 1|2|3|4; my B $b = 3; say $b++; say $b++; | 16:28 | |
camelia | 3 Type check failed in assignment to $b; expected B but got Int (5) in block <unit> at <tmp> line 1 |
||
moritz | m: subset one-to-four of Int where 1..4; say 1 ~~ one-to-four; say 5 ~~ one-to-four | ||
camelia | True False |
||
16:30
mson joined
16:36
avalenn joined
|
|||
AlexDaniel | m: subset C where 1 ≤ * ≤ 4; my B $b = 3.5; say $b | 16:39 | |
camelia | 5===SORRY!5=== Type 'B' is not declared at <tmp>:1 ------> 3subset C where 1 ≤ * ≤ 4; my B7⏏5 $b = 3.5; say $b Malformed my at <tmp>:1 ------> 3subset C where 1 ≤ * ≤ 4; my7⏏5 B $b = 3.5; say $b |
||
AlexDaniel | m: subset C where 1 ≤ * ≤ 4; my C $b = 3.5; say $b | ||
camelia | 3.5 | ||
16:40
cdg left,
comborico1611 joined
16:41
cdg joined
16:45
cdg left,
troys joined
16:58
Merfont joined
|
|||
Geth | doc/patch-01: 2d03ca4c6a | (Alex Chen)++ (committed using GitHub Web editor) | doc/Type/Telemetry/Period.pod6 Update Period.pod6 |
17:00 | |
17:01
Mrofnet left
|
|||
comborico1611 | Is the rule that semicolon is added to the end of a code block brace, is that a recent development? | 17:03 | |
17:07
Piotr joined
17:08
colomon joined,
Cabanossi left
17:10
Cabanossi joined
|
|||
Geth | doc/patch-01: b425c3b72f | (Alex Chen)++ (committed using GitHub Web editor) | doc/Type/Telemetry/Period.pod6 Update Period.pod6 |
17:10 | |
17:11
ryn1x left
|
|||
moritz | comborico1611: you need to separate statements with a semicolon, a statement ends with }\n | 17:12 | |
comborico1611 | Are you saying a statement can end with either a semicolon, brace, or new line? | 17:13 | |
moritz | no | 17:14 | |
comborico1611 | The author has yet to use }; | ||
moritz | I'm saying that you need to separate statements with a semicolon, which means the semicolon after the last statement in a block or a file is optional | ||
and you don't need one if the previous statement ended with a } *and* there is a newline after it | 17:15 | ||
comborico1611 | Yeah when I enter his code into this terminal thing, it errors unless I put }; | ||
moritz | m: sub f() { 1 } sub g() { } | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Strange text after block (missing semicolon or comma?) at <tmp>:1 ------> 3sub f() { 1 }7⏏5 sub g() { } expecting any of: infix infix stopper statement end… |
||
moritz | here there is no newline after the } | ||
so you need a semicolon | 17:16 | ||
m: sub f() { 1 }; sub g() { } | |||
camelia | ( no output ) | ||
moritz | or a newline: | ||
m: sub f() { 1 } sub g() { } | |||
camelia | ( no output ) | ||
17:16
nadim joined
|
|||
moritz | (camelia translates  into actual newlines on input, and vice versa on output) | 17:16 | |
comborico1611 | OHH! | 17:17 | |
The issue is because I'm entering this code on my phone, and I'm not indenting anything. | |||
You get me? | 17:22 | ||
So the indent feature is very similar to pythons indent feature, where you don't need a semicolon. | 17:25 | ||
17:26
ryn1x joined
|
|||
dakkar | uh… there's no "indent feature" | 17:26 | |
just "close-brace + newline, terminates the statement" | |||
that's all there is | |||
comborico1611 | If you enter code all in one line, you must use close brace semicolon. But if you and dents you don't need to put the semicolon after every code block (except the last one). | 17:27 | |
moritz | it's the newline that's important, not the indention | ||
comborico1611 | I see. | 17:28 | |
17:32
stmuk_ joined,
darkmorph left
17:33
ryn1x left,
stmuk left
|
|||
Geth | doc: a95469a30d | (Alex Chen)++ (committed using GitHub Web editor) | htmlify.p6 Update htmlify.p6 Enable generate "Routines supplied by class $class" My last commit's fault |
17:38 | |
17:39
cdg joined
|
|||
gfldex | lolibloggedalittle: gfldex.wordpress.com/2017/11/05/racing-rakudo/ | 17:40 | |
timotimo | gfldex: is "stay tuning" a pun or typo? | 17:41 | |
gfldex | all my typos are puntastic! | 17:42 | |
lizmat | gfldex++ # I'm tempted to just import your httpd code into Telemetry | ||
gfldex | was meant as a pun tho | ||
lizmat: it needs a little more error handling first | 17:43 | ||
timotimo | OK | ||
lizmat | gfldex: ok, well I have another idea to play with | ||
basically Telemetry atm is two sets of Telemetry data: from nqp::rusage, and from ThreadPoolScheduler | 17:44 | ||
I was thinking of abstracting these into an Telemetry::Instrument::Rusage and a Telemetry::Instrument::ThreadPool | |||
and creating a Telemetry::Instrument role with which you could create your own "instruments" | 17:45 | ||
jdv79 | what's the simplest way to handle daylight savings in p6 | 17:46 | |
lizmat | jdv79: standard p6 is timezone agnostic afaik, so there is no handling ? | 17:47 | |
jdv79 | i realize that. hence my question. | ||
lizmat | modules.perl6.org/dist/DateTime::Ti...y%20Totten ?? | 17:49 | |
jdv79 | i guess | 17:50 | |
17:51
zakame left
|
|||
dakkar | dst is part of timezone info, which is a mess because humans | 17:51 | |
oh, that library looks a bit misguided… | 17:53 | ||
(a tz is a pair of functions between a human-readable representation of a point in time, and the actual point in time) | 17:55 | ||
jdv79 | m: DateTime.now.earlier(days => 1).truncated-to('day'); | 17:59 | |
camelia | ( no output ) | ||
jdv79 | m: DateTime.now.earlier(days => 1).truncated-to('day').day; | ||
camelia | ( no output ) | ||
jdv79 | m: DateTime.now.earlier(days => 1).truncated-to('day').say; | ||
camelia | 2017-11-04T00:00:00+01:00 | ||
jdv79 | well for me that's confusing because the TZ offset of y'day is -5 accoring to perl6 but it was actually 4 | ||
-4 | |||
i'm in ET | 18:00 | ||
in other words, DateTime allows for non-instanct manipulation but fouls the TZ | 18:01 | ||
18:01
Khisanth left
18:02
setty1 joined
|
|||
dakkar | jdv79: DateTime seems to have no idea what a timezone is | 18:03 | |
it seems to only know offsets | |||
(which are almost always the wrong thing to care about) | |||
«Int :$timezone» aaargh | |||
I suspect that the DateTime class is a bit sub-optimal at date/time math | 18:04 | ||
timotimo | dakkar: in minutes | ||
dakkar | no | ||
timotimo | oh | ||
dakkar | a timezone is not an offset | ||
a timezone is a pair of functions, DateTime --> Int | |||
jdv79 | its still troublesome that the class offers higher level manip but doesn't carry the offset through them | ||
dakkar | argh, sorry, not that signature | ||
jdv79 | i find it confusing | ||
dakkar | a timezone is a pair of functions to convert between point-in-time, and human-readable representations of points-in-time | 18:05 | |
so maybe DateTime --> Instant, and Instant --> DateTime | |||
e.g. timezone "Europe/Rome" converts posix-epoch+1509905188seconds into "Sun Nov 5 19:06:28 CET 2017" | 18:06 | ||
or something like that | 18:07 | ||
an offset is part of that conversion | |||
or maybe it's just the result of diffing two human representations of the same instant, using different tz | 18:08 | ||
(why am I trying to channel Zefram??) | |||
18:08
Cabanossi left
18:10
Cabanossi joined
18:12
Zoffix joined
|
|||
Zoffix | Wassup dudes, duddettes, and roboduds? | 18:12 | |
huggable: advent | |||
huggable | Zoffix, Sign up to write an Advent blog post: github.com/perl6/mu/blob/master/mi...7/schedule | ||
Zoffix | Signup to write an Advent Post! \o/ Lots of spaces left so don't be shy | 18:13 | |
18:14
Khisanth joined
18:15
holyghost joined
|
|||
comborico1611 | Hello. | 18:15 | |
AlexDaniel | o/ | 18:16 | |
Zoffix | \o | ||
census | hi Zoffix ! | 18:17 | |
Zoffix | hello | ||
18:18
HoboWithAShotgun joined
18:21
troys is now known as troys_
|
|||
AlexDaniel | .oO( Seqs, Drugs and pick'n'roll ) |
18:21 | |
18:24
holyghost left
18:25
holyghost joined
|
|||
Zoffix regrets not comming up with that... | 18:25 | ||
comborico1611 | My @evens = map { $ * 2 }, 1..5; say @evens; | ||
m: my @evens = map { $ * 2 }, 1..5; say @evens; | 18:26 | ||
camelia | Use of uninitialized value of type Any in numeric context [0 0 0 0 0] in block at <tmp> line 1 Use of uninitialized value of type Any in numeric context in block at <tmp> line 1 Use of uninitialized value of type Any in numeric context… |
||
Zoffix | comborico1611: it's $_ not $ | ||
comborico1611 | m: my @evens = map { $_ * 2 }, 1..5; say @evens; | 18:27 | |
camelia | [2 4 6 8 10] | ||
comborico1611 | Ty | ||
m: my @evens = map { * 2 }, 1..5; say @evens; | |||
camelia | 5===SORRY!5=== Error while compiling <tmp> Two terms in a row at <tmp>:1 ------> 3my @evens = map { *7⏏5 2 }, 1..5; say @evens; expecting any of: infix infix stopper statement end statement… |
||
Zoffix | m: my @evens = map * × 2, 1..5; say @evens | ||
camelia | [2 4 6 8 10] | ||
comborico1611 | Ty | ||
Why does it matter not including braces? | 18:28 | ||
Zoffix | comborico1611: first, your last version is missing a term for the LHS of the `*` operator. Second, if you added that you'd have a block WITH a WhateverCode inside (and it either errors out or warns). Without braces it's just a WhateverCode, which is used instead of a Block as a Callable object given to `map` to map with | 18:29 | |
comborico1611 | I mean, what changed? | ||
LHS? | |||
Zoffix | Left Hand Side | 18:30 | |
LHS (some operator) RHS | |||
comborico1611 | Oh! | ||
Zoffix | You *can* see × in my version right? It's the Unicode version of the multiplcation operator. The code would be looking very confusing on your side if it's not renderring for you | ||
comborico1611 | Yes, i 3 | 18:31 | |
See it | |||
Zoffix | m: my @evens = map * * 2, 1..5; say @evens # can write this too. The first `*` is a term because there the language expects a term, so here it means "make WhateverCode" and second one is an operator because the language expects a term to be followed by an op, so there it's just a multiplication | ||
camelia | [2 4 6 8 10] | ||
Zoffix | m: (* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *)(|(1..20)).say | 18:32 | |
camelia | 2432902008176640000 | ||
Zoffix | ^_^ | ||
comborico1611 | Crazy. | ||
HoboWithAShotgun | oh boy, i just ate half a ananas. | ||
Zoffix | Doesn't sound like a lot :) | 18:33 | |
comborico1611 | Thank you. | ||
HoboWithAShotgun | i never heard noises like this | ||
18:34
ryn1x joined
18:36
MadHatter42 joined
|
|||
MadHatter42 | hi anyone | 18:36 | |
Zoffix | \o | ||
AlexDaniel | o/ | ||
HoboWithAShotgun | anyone? | 18:37 | |
MadHatter42 | can anyone help me with ping in perl 6 | ||
couldnt find much resources | |||
HoboWithAShotgun: that was a terrible movie xD | |||
HoboWithAShotgun is confused. what movie? | 18:38 | ||
AlexDaniel looks for Vasili | |||
Zoffix | Sneak-peek at one of the spreads in the upcoming redesign of our marketing brochure: twitter.com/zoffix/status/927189904257437696 | ||
Zoffix vanishes into the shadows | |||
18:38
Zoffix left
|
|||
MadHatter42 | HoboWithAShotgun: there is a movie called Hobo With A Shotgun | 18:39 | |
AlexDaniel | (another relevant movie: www.youtube.com/watch?v=jr0JaXfKj68 ) | ||
MadHatter42 | can anyone help me with that ping thing ? | ||
HoboWithAShotgun | heh, didn't know that | 18:40 | |
comborico1611 | Nice photo! I wonder which one is you. | ||
MadHatter42 | anyone? :/ | 18:41 | |
AlexDaniel | MadHatter42: sure, but I don't fully understand… what are you trying to do? | 18:42 | |
MadHatter42 | i want to use the equivalent of Net::Ping in perl 6 | ||
if there is one | 18:46 | ||
18:46
dakkar left,
dakkar_ joined,
dakkar_ is now known as dakkar
|
|||
AlexDaniel | MadHatter42: I don't see an equivalent perl 6 module, but what about this: | 18:46 | |
Geth | doc/patch-01: c87b2a7856 | (Alex Chen)++ (committed using GitHub Web editor) | doc/Type/Telemetry/Period.pod6 Update Period.pod6 |
18:47 | |
AlexDaniel | MadHatter42: use Net::Ping:from<Perl5>; my $p = Net::Ping.new(); my $host = ‘google.com’; print "$host is alive.\n" if $p.ping($host);' | ||
MadHatter42 | AlexDaniel: thank you for the reference but I have a fully working perl 5 code, just thought to gradually shift to the new stuff | ||
AlexDaniel | MadHatter42: I mean, that code sample is basically using a perl 5 module | 18:48 | |
MadHatter42: which you can do if you have Inline::Perl5 installed | |||
MadHatter42 | yeah i know | ||
now i'm curious why didnt they ported that module to perl 6 | 18:49 | ||
maybe perl 6 its not being used for sysadmin stuff anymore :/ | |||
AlexDaniel | huggable: most wanted | ||
huggable | AlexDaniel, github.com/perl6/perl6-most-wanted...modules.md | ||
AlexDaniel | MadHatter42: I think it's listed as “Ping” in github.com/perl6/perl6-most-wanted...networking | ||
18:52
darutoko left
|
|||
Geth | doc: jstuder-gh++ created pull request #1661: Add vim modeline at end of every file without one |
18:58 | |
19:06
ryn1x left
19:07
colomon_ joined
19:08
colomon left,
colomon_ is now known as colomon
19:10
mr-foobar left
|
|||
ugexe | if you didnt use perl5 it would not be a gradual shift | 19:11 | |
19:12
eugene_barsky left,
mr-foobar joined
|
|||
AlexDaniel | MadHatter42: 「run ‘ping’, …」 is not an option, right? :) | 19:14 | |
MadHatter42: but yeah, it would be great if somebody created a Ping module… | 19:15 | ||
MadHatter42 | AlexDaniel: thanks man | ||
but again, i already have something working on perl 5 and its properly written | |||
just wanted something to learn perl 6 with | |||
and usually i go with small monitoring / microservice tasks | |||
lizmat | MadHatter42: have you looked at cro ? | 19:18 | |
mi.cro.services ? | 19:19 | ||
MadHatter42 | lizmat: checking | ||
lizmat: looks nice | 19:20 | ||
i mostly use message hub as an architecture, trying to stay away from rest but this looks nice | |||
lizmat: but again, if basic tools like ping are missing i'm sticking wiht perl 5 a bit more :/ | 19:21 | ||
timotimo | surely it'd be simple to implement with NativeCall ... | 19:24 | |
though i'm not sure why you'd not just call ping instead | 19:26 | ||
alternatively use Net::Ping:from<Perl5> | 19:27 | ||
comborico1611 | m: my @letters = 'a'..'c'; for @letters.kv { say "$^a -> $^b" ; } | 19:31 | |
camelia | 0 -> a 1 -> b 2 -> c |
||
Geth | doc: dbce28f261 | (Alex Chen)++ (committed using GitHub Web editor) | doc/Language/phasers.pod6 Misuse X<> Avoid "found duplicate index entry Phasers at #i442 #i443 #i444 #i445 #i446 #i447 #i448 #i449 #i450 #i451 #i452 #i453 #i454 #i455 #i456 #i457 #i458 #i459 #i460" |
||
synopsebot | Link: doc.perl6.org/language/phasers | ||
19:32
evalable6 left
|
|||
comborico1611 | m: my @letters = 'a'..'c'; for @letters.k { say "$^a" ; } | 19:32 | |
camelia | No such method 'k' for invocant of type 'Array'. Did you mean 'kv'? in block <unit> at <tmp> line 1 |
||
19:32
evalable6 joined,
ChanServ sets mode: +v evalable6,
ryn1x joined
|
|||
comborico1611 | m: my @letters = 'a'..'c'; for keys @letters { say "$^a" ; } | 19:33 | |
camelia | 0 1 2 |
||
19:33
BenGoldberg left
|
|||
comborico1611 | m: my @letters = 'a'..'c'; for keys @letters { say $_ ; } | 19:34 | |
camelia | 0 1 2 |
||
19:35
MadHatter42 left
|
|||
comborico1611 | What is an anonymous block? | 19:35 | |
Same as anonymous routine? | 19:36 | ||
19:37
ryn1x left
|
|||
lizmat | but even less than that | 19:37 | |
you cannot return from a block | 19:38 | ||
you *can* from a routine | |||
a "return" in a block will try to find the first outer sub and return from that | |||
comborico1611 | Why are they used? | ||
19:39
cdg left,
mr-foobar left,
cdg joined
19:41
mr-foobar joined
|
|||
comborico1611 | *Agent Smith voice -- Mr. Foobar | 19:44 | |
19:44
cdg left
|
|||
lizmat | comborico1611: every time you use an "if" or a "for" you are using an anonymous block | 19:44 | |
if $foo { this is an anonymous block } | 19:45 | ||
comborico1611 | Ahh! Thank you. | ||
lizmat | m: if 42 { say $^a } | ||
camelia | 42 | ||
lizmat | mind you, that case doesn't set $_ by default, but it could it you want to | 19:46 | |
m: if 42 -> $_ { say $_ } | |||
camelia | 42 | ||
19:49
BenGoldberg joined
|
|||
comborico1611 | I see! Thank you! | 19:49 | |
Geth | doc/patch-01: f39b63efd4 | (Alex Chen)++ (committed using GitHub Web editor) | doc/Type/Telemetry.pod6 Update Telemetry.pod6 |
19:50 | |
19:50
dakkar left
|
|||
perllover | can anybody please look at some perl6 code i'm struggling with? | 21:49 | |
21:49
llfourn_ joined,
leedo__ joined,
El_Che_ joined,
hobbified joined,
gabiruh_ joined,
plicease_ joined,
hoelzro_ joined,
[Coke]_ joined,
reu_ joined,
evalable6_ joined,
nativecallable6_ joined,
bloatable6_ joined,
committable6_ joined,
ChanServ sets mode: +v committable6_,
mr-foobar left,
hoelzro_ left,
holyghost left,
HoboWithAShotgun left,
mack[m] left,
M-Illandan left,
shmibs left,
cono left,
xxpor left,
troys_ left,
pilne left,
khw left,
buggable left,
greppable6 left,
DickClarke left,
jdv79 left,
Praise left,
breinbaas left,
telex left,
aindilis left,
tomaw left,
dpk left,
ilmari left,
AlexDaniel left,
f0x left,
b2gills left,
Juerd left,
jeek left,
Bucciarati left,
SourceBaby left,
Geth left,
synopsebot left,
dalek left,
eythian left,
roguelazer left,
aeruder_ left,
schelcj left,
gdonald left,
perllover left,
census left,
wander left,
MasterDuke left,
El_Che_ left,
leedo__ left,
llfourn_ left,
napo1eon left,
Exodist left,
avar left,
literal left,
hythm left,
obra left,
Celelibi left,
bhm left,
tinita left,
cxreg left,
hcit left,
mson left,
ZzZombo left,
margeas left,
wamba left,
xinming left,
riatre left,
salva left,
perigrin left
21:50
Cabanossi left,
kst left,
ambs left,
smash left,
tbrowder left,
bloatable6_ left,
nativecallable6_ left,
evalable6_ left,
hobbified left,
stmuk_ left,
Sgeo left,
SCHAPiE left,
rindolf left,
sena_kun left,
konsolebox left,
andrewalker left,
releasable6 left,
unicodable6 left,
japhb left,
Util left,
coverable6 left,
jameslenz left,
kybr left,
statisfiable6 left,
rjbs left,
marcusramberg left,
Merfont left,
ilbot3 left,
leont left,
araujo left,
mtj_ left,
sergot left,
raydiak__ left,
bartolin left,
gabiruh_ left,
comborico1611 left,
avalenn left,
kalkin- left,
Aceeri_ left,
xi- left,
timeless left,
parisba left,
integral left,
BuildTheRobots left,
TeamBlast left,
erdic left,
freeze left,
diegok left,
zostay left,
BinGOs left,
vike left,
ChoHag left,
APic left,
TEttinger left,
epony left,
cognominal left,
eater left,
cgfbee left,
perlawhirl left,
titsuki left,
shadoxx left,
dogbert17 left,
stux|RC left,
john51 left,
committable6_ left,
reu_ left,
plicease_ left,
Piotr left,
leah2 left,
squashable6 left,
domm left,
esh_ left,
camelia left,
ingy left,
Mithaldu left,
dylanwh_ left,
japanoise left,
m0ltar left,
[Coke]_ left,
Khisanth left,
nadim left,
pecastro left,
noganex_ left,
TimToady left,
cosimo left,
awwaiid left,
lizmat left,
mingdao left,
perlpilot left,
notbenh left,
gugod left,
atta left,
BenGoldberg left,
colomon left,
setty1 left,
R0b0t1_ left,
yqt left,
dj_goku left,
grumble left,
kaare_ left,
ggoebel left,
cpage_ left,
nightfrog left,
jercos left,
renormalist left,
simcop2387 left,
Guest20101 left,
shadowpaste left,
protium left,
DrForr left,
sunnavy left,
bwisti left,
SmokeMachine left,
geekosaur left
21:51
ilogger2 joined,
ChanServ sets mode: +v ilogger2,
pnu__ joined,
iviv joined,
olinkl joined
21:53
benchable6 joined,
statisfiable6 joined,
unicodable6 joined,
bisectable6 joined,
releasable6 joined
21:54
Morfent joined
|
|||
HelpWithPerl | Wow that timeout wave | 21:58 | |
21:58
tabv joined
22:09
Cabanossi joined
22:11
evalable6 joined,
nativecallable6 joined,
bloatable6 joined,
ChanServ sets mode: +v bloatable6
|
|||
HoboWithAShotgun | can i create and export operators at runtime? I don't like the repetition in this class | 22:15 | |
hastebin.com/padeqopusi.pl | |||
22:24
mienaikage joined
22:35
cdg joined
22:37
mattp_ joined
22:41
cdg left,
cdg joined
22:43
mr-foobar joined
22:44
mattp_ left,
mattp_ joined
22:46
cdg left
22:49
stux|RC joined
22:58
mattp_ left
23:02
mattp_ joined,
unclechu joined,
AlexDaniel` joined,
tadzik joined,
CIAvash[m] joined,
M-Illandan joined,
mack[m] joined,
tyil[m] joined,
wamba[m] joined,
Matthew[m] joined,
ilmari[m] joined,
wictory[m] joined,
Garland_g[m] joined,
xui_nya[m] joined
23:22
evalable6 left
23:23
evalable6 joined,
Cabanossi left
23:25
Cabanossi joined
|
|||
perllover | AlexDaniel you still around? | 23:27 | |
AlexDaniel | yeah | ||
perllover | sorry i took a much needed nap | ||
23:27
Cabanossi left
|
|||
AlexDaniel | :) | 23:27 | |
23:27
Cabanossi joined
23:30
Cabanossi left,
Cabanossi joined,
mattp_ left
23:31
mattp_ joined
|
|||
HoboWithAShotgun got this working ( hastebin.com/epaxaveraj.pl ) and finds a nap sounds like an excellent idea | 23:42 | ||
23:42
mr-foobar left
23:43
mr-foobar joined
|
|||
ugexe | using double quotes inside an already similarly typed double quoted string? | 23:48 | |
didnt know that worked inside { } | |||
AlexDaniel | that's pretty common in bash too :) | 23:49 | |
HoboWithAShotgun | one lightyear equals 3.7e17 inches. | 23:52 | |
that's a lot | 23:53 | ||
:) | |||
jnthn | m: say (-42)."{"ad".subst(/"d"/, { "{$/.Str.pred.pred}s" })}"() # ouch :) | 23:54 | |
camelia | 42 | ||
HoboWithAShotgun | jnthn is wielding black magic again. | 23:56 | |
m: say (-42)."abs"() | 23:57 | ||
camelia | 42 | 23:58 | |
HoboWithAShotgun | haha | ||
23:59
aindilis joined,
aindilis left,
aindilis joined
|
|||
perllover | AlexDaniel like this? pastebin.com/NgdQY7j9 | 23:59 |