»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 July 2018.
00:08 Manifest0 left 00:14 Manifest0 joined 00:27 sortiz joined
sortiz \o #perl6 00:31
00:38 sortiz left 00:40 khisanth_ left 00:52 khisanth_ joined 00:55 reach_satori joined
Xliff o7 #perl6 00:56
Xliff drools as he sets up Electric Sheep on his new 2k 32" curved monitor.
spacedbat pardon me if this has been discussed to death, but even the error message for rakudo star downloads is out of date: rakudo.org/latest/star/macos 01:06
01:10 Manifest0 left 01:13 molaf left 01:15 Manifest0 joined 01:17 zacts joined 01:19 jhill left 01:22 iviv left 01:23 SmokeMachine left
MasterDuke spacedbat: could you create an issue here github.com/perl6/rakudo.org, thanks 01:24
01:25 molaf joined 01:26 SmokeMachine joined 01:27 skaji left
spacedbat sure thing 01:33
01:33 rindolf left
spacedbat no need github.com/perl6/rakudo.org/issues/26 01:34
01:37 SmokeMachine left 01:38 lucasb left 01:47 iviv joined 01:48 skaji joined 01:52 jhill joined, SmokeMachine joined 02:01 Manifest0 left 02:09 Manifest0 joined 03:09 quotable6 left, squashable6 left, unicodable6 left, undersightable6 left, notable6 left, benchable6 left, reportable6 left, statisfiable6 left, greppable6 left, evalable6 left, committable6 left, bisectable6 left, shareable6 left, releasable6 left, nativecallable6 left, bloatable6 left, coverable6 left, nativecallable6 joined, ChanServ sets mode: +v nativecallable6 03:10 releasable6 joined, ChanServ sets mode: +v releasable6, notable6 joined, ChanServ sets mode: +v notable6, bisectable6 joined 03:11 committable6 joined, ChanServ sets mode: +v committable6, undersightable6 joined, ChanServ sets mode: +v undersightable6, squashable6 joined, quotable6 joined 03:12 statisfiable6 joined, benchable6 joined, ChanServ sets mode: +v benchable6, coverable6 joined 03:13 shareable6 joined, bloatable6 joined, ChanServ sets mode: +v bloatable6, unicodable6 joined, ChanServ sets mode: +v unicodable6, greppable6 joined 03:14 evalable6 joined, reportable6 joined 03:18 Manifest0 left 03:24 jhill left, skaji_ joined, Manifest0 joined 03:25 jhill joined, skaji left, skaji_ is now known as skaji 03:35 Manifest0 left 03:39 johnjohn101 joined 03:40 Manifest0 joined
johnjohn101 hi perl6 03:41
03:53 Manifest0 left 03:54 afresh1 left 03:58 afresh1 joined 03:59 Manifest0 joined 04:15 Manifest0 left 04:20 Manifest0 joined 04:30 molaf left 04:31 Manifest0 left 04:37 dominix joined
dominix hi everyone 04:37
I am stuck in a studid tric
how do I print a serial sequence from "01" to let say "15" but with zero pad 04:38
like 01 02 03 04 and so on until 15 04:39
04:39 Manifest0 joined
dominix m: <01 .. 63>.say 04:39
evalable6 (01 .. 63)
dominix m: <01 .. 15>.say
evalable6 (01 .. 15)
dominix m: <01 .. 05>.say
evalable6 (01 .. 05)
dominix m: [01 .. 15].say 04:40
evalable6 Potential difficulties:
Leading 0 has no meaning. If you meant to create an octal numb…
dominix, Full output: gist.github.com/c5e07a58ef3d363d1c...83fb7961f1
dominix m: 01 .. 15.say
evalable6 Potential difficulties:
Leading 0 has no meaning. If you meant to create an octal numb…
dominix, Full output: gist.github.com/0a7c53a28213ce6b01...b94809ec0a
dominix m: 1 .. 15.say
evalable6 WARNINGS for /tmp/jnmPowxv_I:
15
Useless use of ".." in expression "1 .. 15.say" in sink context (line 1)
dominix m: <1 .. 05>.say 04:41
evalable6 (1 .. 05)
dominix m: <1 ... 05>.say
evalable6 (1 ... 05)
dominix m: [01 ... 15].say
evalable6 Potential difficulties:
Leading 0 has no meaning. If you meant to create an octal numb…
dominix, Full output: gist.github.com/a33916b65be3ae1361...95bf371372
dominix m: (1 .. 05).say
evalable6 Potential difficulties:
Leading 0 has no meaning. If you meant to create an octal numb…
dominix, Full output: gist.github.com/d993eed788e197acf3...324240dd01
dominix m: (1..5).say.perl
evalable6 1..5
dominix m: (1..5).perl 04:42
evalable6
tadzik m: (1..15).map(sprintf("%02d", *).say 04:44
evalable6 (exit code 1) 04===SORRY!04=== Error while compiling /tmp/yMTstGAI5P
Unable …
tadzik, Full output: gist.github.com/452e925bf8dc8e44f1...3741f4543a
tadzik oopsie
m: (1..15).map(sprintf("%02d", *)).say
evalable6 (exit code 1) Directive d not applicable for value of type Whatever (*)
in block <unit> at /tmp/ovpL2othiv line 1
tadzik oh pffft
m: (1..15).map(sprintf("%02d", Int(*))).say 04:45
evalable6 (exit code 1) Cannot find method 'Int' on object of type Whatever
in block <unit> at /tmp/KscRUumx5r line 1
tadzik o_O
dominix m: (1 .. 05).WHAT
evalable6 Potential difficulties:
Leading 0 has no meaning. If you meant to create an octal numb…
dominix, Full output: gist.github.com/b4b8d979fd62e91983...85d6fb7bc3
tadzik m: (1..15).map({ sprintf("%02d", $_) }).say
evalable6 (01 02 03 04 05 06 07 08 09 10 11 12 13 14 15)
tadzik shrugs
at least it works :) 04:46
dominix m: (1..15).map({ sprintf("%02d", $_) }).say
evalable6 (01 02 03 04 05 06 07 08 09 10 11 12 13 14 15)
dominix m: (1..15).map({ sprintf("%02d", $_) }).say.what
evalable6 (exit code 1) (01 02 03 04 05 06 07 08 09 10 11 12 13 14 15)
No such method 'what' for invocant of type 'Bool'. Did you mean any of these?
Rat
flat

in block <unit> at /tmp/4iZpptgIzL line 1
dominix m: (1..15).map({ sprintf("%02d", $_) }).what
evalable6 (exit code 1) No such method 'what' for invocant of type 'Seq'. Did you mean any of these?
Rat
flat

in block <unit> at /tmp/_Czi4AKDh6 line 1
dominix m: (1..15).map({ sprintf("%02d", $_) }).WHAT
evalable6
dominix m: (1..15).map({ sprintf("%02d", $_) }).perl
evalable6
tadzik what are you trying to do now?
dominix m: (1..15).map({ sprintf("%02d", $_) }).perl.say
evalable6 ("01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15").Seq
dominix ok it is a list 04:47
tadzik effectively, yes
dominix how to make it a string
?
like 01 02 03 ..
tadzik join it
m: (1..15).map({ sprintf("%02d", $_) }).join(" ").say
evalable6 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
dominix m: (1..15).map({ sprintf("%02d", $_) }).join.say
evalable6 010203040506070809101112131415
dominix m: (1..15).map({ sprintf("%02d", $_) }).join(" ").say 04:48
evalable6 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
dominix ok, nice
but tricky
tadzik well, you have to be specific with these things :)
dominix it would be lots easier in perl5 .... :-(
tadzik would it?
dominix perl -E 'print " $_ "for "01" .. "63"' 04:49
tadzik hm 04:50
.say for "01".."15"
evalable6 01
02
03
04
05
11
12
13
14
15
tadzik this is curious :)
04:50 zacts left
dominix it is 04:51
tadzik but tbh I find it confusing that it works in perl 5 this way 04:52
dominix m: say(sprintf("%02d", $_)) for 01 .. 63 04:55
evalable6 Potential difficulties:
Leading 0 has no meaning. If you meant to create an octal numb…
dominix, Full output: gist.github.com/d82de081a2f0181e60...cded0b66fb
dominix m: say(sprintf("%02d", $_)) for 1 .. 15
evalable6 01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
dominix m: print(sprintf("%02d", $_)) for 01 .. 63 04:56
evalable6 Potential difficulties:
Leading 0 has no meaning. If you meant to create an octal numb…
dominix, Full output: gist.github.com/05e8ca76d6795e6e8a...b21059fe52 04:57
dominix m: print(sprintf("%02d", $_)) for 01 .. 15
evalable6 Potential difficulties:
Leading 0 has no meaning. If you meant to create an octal numb…
dominix, Full output: gist.github.com/e7e70197f1772d3efa...72c4728ee8
dominix m: print(sprintf("%02d", $_)) for 1 .. 15
evalable6 010203040506070809101112131415
dominix m: print(sprintf("%02d ", $_)) for 1 .. 15
evalable6 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
dominix m: (1..15).map({ sprintf("%02d", $_) }).join(" ").say 04:58
evalable6 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
05:03 robertle left 05:17 sauvin joined 05:21 maettu joined 05:24 araraloren joined, araraloren left 05:28 araraloren joined, jmerelo joined, cpan-p6 left 05:29 cpan-p6 joined, cpan-p6 left, cpan-p6 joined
jmerelo releasable6: status 05:29
releasable6 jmerelo, Next release in ≈3 days and ≈13 hours. 2 blockers. 132 out of 272 commits logged (⚠ 2 warnings)
jmerelo, Details: gist.github.com/ffbf7ce228ede1202a...36c95d2894
Geth doc: 424918aa3a | (JJ Merelo)++ | doc/Type/Map.pod6
Some reflow and minor corrections
05:46
doc: ab850be568 | (JJ Merelo)++ | doc/Type/Cool.pod6
De-dups fmt and reflows, closes #2740
elcaro dominix: ['01' .. '15'] is the best way, but instead of sprintf you can also use the .fmt method 05:52
m: say (1..15)».fmt('%02d')
evalable6 (01 02 03 04 05 06 07 08 09 10 11 12 13 14 15)
elcaro or if you want the whole thing as a string, .fmt will act on single elems in a list 05:53
m: say (1..15).fmt('%02d').perl
evalable6 "01 02 03 04 05 06 07 08 09 10 11 12 13 14 15"
elcaro FYI, sprintf and friends is rather slow right now, but lizmat is working on a faster solution that will be faster 05:55
erm... i meant, working on a new implementation that will be faster
jmerelo fmt is sprintf in method form, basically. 05:56
elcaro kinda, but has slightly different semantics as i showed above, ie. @list.fmt('%s') will format each elem in @list as %s, then join the whole thing together (with spaces) as a single string 05:57
m: say (^15).fmt('%X')
evalable6 0 1 2 3 4 5 6 7 8 9 A B C D E
elcaro but yes, on a String, $s.fmt('%s') is eqv to '%s'.sprintf($s) 05:58
jmerelo elcaro: Cool and Stringy; it's special-cased in many other classes but it's basically "stringify every element and apply fmt" instead of "stringify the whole thing and apply fmt" 06:00
araraloren I thought it's like `"foo".sprintf("%s")` when I know there is a method version sprintf .. 06:02
jmerelo araraloren: the implementation is not exactly the same: github.com/rakudo/rakudo/blob/0105...e/Cool.pm6 06:03
araraloren: fmt passes a list to nqp::sprintf, while sprintf works slighly differently. Can't tell you exactly what because it's NQP, but my impression is that it's slightly different 06:05
So I take back that fmt is sprintf in method form. It's not. Including the fact that sprintf can also be in method form. 06:06
araraloren yeah, I see
06:08 nebuchadnezzar left, dominix_ joined, nebuchadnezzar joined 06:11 araraloren left, araraloren joined, dominix left 06:15 domidumont joined
dominix_ m: say (1..15)».fmt('%02d').join.say 06:20
evalable6 010203040506070809101112131415
True
dominix_ m: say (1..15)».fmt('%02d').join(" ").say 06:21
evalable6 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
True
06:21 dominix_ is now known as dominix
elcaro dominix: you used 'say' twice, hence the 'True' at the end 06:22
m: say 1.say
evalable6 1
True
elcaro say('foo') returns True
(provided say succeeds... it might fail if, eg $*OUT cannot be written to) 06:23
dominix yes, your right, useless use of say :-) 06:25
m: say (1..15)».fmt('%02d').join(" ")
evalable6 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
dominix m: say (1..15).fmt('%02d') 06:26
evalable6 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
dominix neat
that looks better
elcaro yep, i use .fmt on List often when formatting data in columns, eg. for @list.batch(4) { .fmt('%-16s').say }) 06:29
06:35 abraxxa joined
elcaro example... 06:36
tio.run/##K0gtyjH7/z@3UsEhMacgIzEp...G6Jlft//8A
06:37 netrino joined 06:38 abraxxa left, abraxxa joined 06:41 yuriii joined 06:59 jhill left, Manifest0 left 07:00 jhill joined 07:04 dominix left, Manifest0 joined, dominix joined, Grrrr left 07:08 dominix left, nekomune left 07:09 nekomune joined 07:11 patrickb joined 07:14 Grrrr joined 07:23 reach_satori left 07:25 kensanata joined 07:41 ayerhart left 07:42 ayerhart joined 07:46 netrino left 08:00 Manifest0 left 08:01 cgfbee left 08:05 Manifest0 joined 08:17 scimon joined 08:19 netrino joined 08:31 Manifest0 left 08:34 robertle joined, xinming left 08:36 xinming joined, Manifest0 joined, molaf joined 08:40 kurahaupo left, kurahaupo joined, kurahaupo left 08:41 kurahaupo joined 09:02 rindolf joined 09:15 zakharyas joined 09:17 reach_satori joined 09:23 a3f left, a3f joined, a3f left, a3f joined 09:27 dogbert11 joined 09:29 dogbert17 left 09:40 molaf left, ZZZzz joined 09:45 gfldex left
ZZZzz Browsing docs.perl6.org I failed to find a method to retrieve a file's user and group which I expected in IO::Path. Did I miss something? 09:46
elcaro I believe the reasoning is that file group is no a platform independent concept 09:49
but P5getgrnam exists on the ecosystem that mimics Perl 5's getgrnam() functuin 09:50
timotimo modules.perl6.org/dist/UNIX::Privi...pan:JSTOWE - does this do everything you need?
hm, doesn't seem to be able to read the owner/group of something, only set it? 09:51
ZZZzz I'll check out both. brb.
elcaro JSTOWE also has IO::Path::Mode for permission-y stuff
but he wrote that on my request before IO.mode existed, so it overwrites that method 09:52
i believe he was going to resolve that conflict, but I don't think that's been done
Woodi docs.perl6.org/language/5to6-perlfunc#stat says available via NativeCall :) probably no one needet it yet. and maybe libuv have this 09:57
*needed
ZZZzz Gotta fix my build system first. UNIX::Privileges won't build because it does not find some include. 09:58
10:05 reach_satori left 10:09 epony left, netrino left
ZZZzz Unfortunately they do not work for me. Both modules provide means to get info about a user/group but not the uid/gid of a given file. 10:15
No big deal. I'll just resort to ls(1) then. 10:16
I'll look into natively calling stat(2) later. First I need a working script. Thank you all for your time! 10:18
10:18 Mikey_ joined 10:19 MikeyG left 10:22 gabiruh left 10:25 gabiruh joined 10:30 atroxaper joined
atroxaper Hello, #perl6 ! 10:30
Does anybody know, is react block threadsafe? I mean should I call $*THREAD.full-barrier in each whenever block to sync memory changes? Or whenever block does it for me automatically? 10:32
timotimo a react block will only ever have one thread be in it at a time 10:33
though of course you can run the same react block on multiple threads, in which case they are not counted as "the same react block" 10:34
10:34 Manifest0 left 10:36 JappleAck left
jnthn atroxaper: A react block is a bit like an actor: a given instance of it will only process one message at a time. 10:37
So unless you're doing anything really odd, you should be safe :)
10:40 Manifest0 joined 10:43 araraloren left, araraloren joined 10:50 Black_Ribbon left
atroxaper jnthn: 'one message at a time', but not 'each message in the same thread'. If I store some value variable while handle a message, do it syncronized to another thread and another message handle. In the same react of cource. 10:50
jnthn atroxaper: Yes, because enforcement of the concurrency control implies a write barrier inside of the locking mechanism. 10:57
atroxaper jnthn: Oh... I was obviously... Sorry. I had to figure it out on my own. If we have an "actor" then we have a barrier. Thank you :) 10:59
11:04 Manifest0 left 11:07 epony joined 11:09 Manifest0 joined 11:17 molaf joined, zakharyas left, Manifest0 left 11:26 Manifest0 joined 11:30 domidumont left 11:31 domidumont joined
Xliff m: role A { say self.b }; 11:42
evalable6 (exit code 1) 04===SORRY!04=== Error while compiling /tmp/puWx7yrbGB
'self' …
Xliff, Full output: gist.github.com/2515b93d6ccfa3631c...b13bc016ba
Xliff m: role A { method a { self.b.say}; };
evalable6
Xliff m: role A { method b { ... }; method a { self.b.say}; }; 11:44
evalable6
Xliff m: role A { method b { ... }; method a { self.b.say}; }; class B does A { }
evalable6 (exit code 1) 04===SORRY!04=== Error while compiling /tmp/PDt3EGrgbp
Method 'b' must be implemented by B because it is required by roles: A.
at /tmp/PDt3EGrgbp:1
Xliff \o/
cpan-p6 New module released to CPAN! Game::QFG (0.1.4) by 03HOLYGHOST 11:52
12:05 kktt joined, llfourn left 12:07 jmerelo left
cpan-p6 New module released to CPAN! GTK::V3 (0.10.2) by 03MARTIMM 12:22
elcaro ZZZzz: if you have Inline::Perl5 set up, you could just do: use POSIX:from<Perl5> <stat>; say stat($filename); 12:24
ZZZzz elcaro: That looks useful. Thank you very much for pointing it out! 12:28
elcaro actually... i remember nqp has a stat implementation 12:30
use nqp; say nqp::stat($?FILE, nqp::const::STAT_UID);
evalable6 1005
elcaro use nqp; say nqp::stat($?FILE, nqp::const::STAT_GID);
evalable6 1005
elcaro refer to this doc for other consts github.com/perl6/nqp/blob/master/d...kdown#stat
could easily be wrapped in a File::Stat module... but would only work on POSIX systems 12:31
12:36 llfourn joined 12:44 llfourn left
Geth doc/Xliff-patch-1: ebe9132756 | Xliff++ (committed using GitHub Web editor) | doc/Language/functions.pod6
Adds output to nextsame example.

This way new users can understand the point of the call without having to open a REPL and figuring it out for themselves.
12:45
doc: Xliff++ created pull request #2744:
Adds output to nextsame example.
12:47
12:50 sena_kun joined 12:55 zakharyas joined
holyghost .tell jmerelo I have updated the in-code docs of latest modules somewhat, I need an online link for documenting my modules all through. If I have it by tomorrow I'll try to document 3 modules of mine 12:59
yoleaux holyghost: I'll pass your message to jmerelo.
13:00 Guest2775 left 13:01 raschipi joined
holyghost .tell jmerelo I want a link to document a module, what used to be perldoc, so not in-code but in some file 13:02
yoleaux holyghost: I'll pass your message to jmerelo.
13:12 JappleAck joined 13:15 raschipi left 13:18 Guest55475 joined 13:22 netrino joined, zacts joined, lucasb joined 13:26 chuff joined 13:32 johnjohn101 left 13:34 zacts left 13:36 skids joined, robertle left
Xliff m: role A { my @a; }; 13:37
evalable6
cpan-p6 New module released to CPAN! Game::QFG (0.1.5) by 03HOLYGHOST 13:38
13:38 robertle joined
elcaro ZZZzz: github.com/0racle/p6-File-Stat 13:43
should be on ecosystem shortly, or you can just git clone it and install 13:44
Xliff m: my @a = <a b>; multi sub ($a where * eq @a.any) { say 42 }; multi sub a(*@a) { say 'WTF?' }; a('a'); a('b'); a(24) 13:48
evalable6 (exit code 1) 04===SORRY!04=== Error while compiling /tmp/2JDiFL_AIN
An anon…
Xliff, Full output: gist.github.com/bb75ad4c8d5e798211...5e43c376bf
Xliff m: my @a = <a b>; multi sub a ($a where * eq @a.any) { say 42 }; multi sub a(*@a) { say 'WTF?' }; a('a'); a('b'); a(24) 13:49
evalable6 42
42
WTF?
masak just got bitten by "you can put a semicolon in an array, and it's not a syntax error" for the first time ever 13:50
ZZZzz elcaro: This is perfect. Thank you so much! 💐
masak if I'd been a betting person, I'd have guessed that'd'd happened much earlier ;)
Xliff m: my @a = <a b>; my @b = <c d>; multi sub a ($a where * eq (|@a, |@b).any) { say 42 }; multi sub a(*@a) { say 'WTF?' }; a('a'); a('c'); a(24)
evalable6 42
42
WTF?
Xliff m: my @a = <a b>; my @b = <c d>; multi sub a (Str() $a where * eq (|@a, |@b).any) { say 42 }; multi sub a(*@a) { say 'WTF?' }; a('a'); a('c'); a(24) 13:51
evalable6 42
42
WTF?
elcaro ZZZzz: np... Arguably I should also add lstat to the module 13:52
ZZZzz elcaro: That might be useful, too. At the moment I'm not working with symlinks, so your implementation is perfect for my use case. Looking at the code it seems like I could do that myself once needed. It certainly makes me want to have a look at the functionality provided by NQP. Again, thank you. Your time and effort is much appreciated. 13:58
holyghost elcaro : get a pause login at metacpan.cpan.org to ecoify your module 14:09
elcaro Yeah, I figure rather than creating a whole new class, File::Stat->new('filename', :lstat) will use lstat, then export a lstat func 14:10
i *do* have a pause login (ELCARO) but, i think there were issues getting it validated, but that was before auth was migrated to OAuth or whatever it's using,
so i'll give it another shot
holyghost sure 14:11
14:15 zacts joined 14:24 mowcat joined 14:31 chuff left 14:37 kktt left
cpan-p6 New module released to CPAN! File::Stat (0.0.1) by 03ELCARO 14:38
14:40 llfourn joined 14:46 llfourn left
JappleAck is this cpan bot for perl5 packages or perl6? 14:46
timotimo perl6 14:47
JappleAck can't find announced package modules.perl6.org/search/?q=File%3A%3AStat
timotimo that page takes a while to update 14:48
actually, i'm not sure if the cron job is turned back on yet
JappleAck back after what?
timotimo after our server asploded 14:49
JappleAck and when did it happened actually? 14:51
timotimo just before easter
JappleAck was it really exploded?) or it's just a figure of speech?
timotimo not quite exploded, but the hardware seems to be damaged beyond repair
moritz it's dead, jim 14:54
speaking of which, is anybody interested in the list of sites that it hosted, and the apache configs for each? 14:58
timotimo that would be helpful
moritz cat: apache2/sites-available/design.perl6.org.conf: Input/output error 15:00
FUUU
timotimo d'oh
elcaro JappleAck: It's there now
moritz I'll try to reboot, and then mount that image again 15:01
rba uhh
patrickb moritz: I think you should get in contact with rba and maettu. They are currently looking into the re-setup of the infrastructure...
JappleAck yeah, i can see it now
rba we are currently try to understand what all is gone and put a list together. 15:02
15:03 llfourn joined
rba moritz: timotimo meant you might eventually know how ecosystem-api.p6c.org/ was put together and where the source is... 15:06
timotimo yeah, i think it was only on hack's hard drive
i wonder if putting up a webserver at that address that just 404s will make zef fast again for everybody stuck on previous versions
patrickb rba: I think ugexe is the right person to ask about ecosystem-api 15:07
rba: github.com/ugexe/Perl6-ecosystems
rba patrickb: thank you. will look into it. 15:08
15:08 llfourn left
moritz rba: I can try to recover its config as well 15:09
timotimo: perlgeek.de/p6/apache2.tar.gz there you go 15:13
timotimo JappleAck: anyway, i started the modules.perl6.org update again, it'll be ready in ... perhaps half an hour?
moritz timotimo: anything else you might need from the old www.p6c.org? like cron jobs, maybe? 15:15
rba moritz: was there an irc bouncer software install/configured on irc.perl6.org?
moritz rba: no, just screen/tmux + irssi/other chat software 15:16
timotimo moritz: maybe rescue the collectd database for posthumous analysis 15:17
but that was probably not on www.p6c.org
15:18 jmerelo joined
moritz timotimo: my experience with that is not great. In the past it had always stopped recording when things went south :( 15:18
timotimo yeah
but there could still be an interesting nugget somewhere 15:19
15:20 domidumont left
moritz re ecosystem-api, I'm pretty sure you just need to clone github.com/perl6/ecosystem and run update.pl 15:22
or maybe the more modern server/updatelist.pl 15:23
and that generates a static file `projects.json`, which should be in the document root 15:24
and that is statically served, and that's all there's to it
timotimo huh 15:26
15:26 AlexDani` joined
timotimo i don't think updatelist.pl does that 15:26
Geth doc: ebe9132756 | Xliff++ (committed using GitHub Web editor) | doc/Language/functions.pod6
Adds output to nextsame example.

This way new users can understand the point of the call without having to open a REPL and figuring it out for themselves.
15:27
doc: 633d30462e | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/functions.pod6
Merge pull request #2744 from perl6/Xliff-patch-1

Adds output to nextsame example.
timotimo we need projects1.json, not projects.json
oh
server/updatelist
sorry
yeah, that seems righter
now i feel stupid
15:28 Xliff left 15:29 AlexDani` is now known as AlexDaniel, AlexDaniel left, AlexDaniel joined, Xliff joined
AlexDaniel github.com/perl6/problem-solving/p...-488716403 15:30
timotimo JappleAck: can you check if modules.perl6.org has everything you were expecting? 15:37
JappleAck timotimo: i didn't expecting more that an anounced module on that page modules.perl6.org/search/?q=File%3A%3AStat 15:38
timotimo well, it looks like it's there :)
JappleAck and that was already working, i reported above
timotimo oh, OK!
cpan-p6 New module released to CPAN! Game::AI::Messaging (0.1.5) by 03HOLYGHOST 15:39
JappleAck why does the bot called "cpan" anyway?
holyghost ^-- some people asked me to release the messaging system solo from Game::QFG
JappleAck is it because it's just a fork of perl5 cpan? 15:40
timotimo the data lives on the actual cpan
araraloren the module was update to CPAN
holyghost AFAIK it's META.json for perl6 15:41
I just dump everything in a Perl6 dir on CPAN, which won;t work solo 15:42
15:42 robertle left
holyghost I saw your upload, elcaro++, yw 15:47
moritz timotimo: do you need more input for ecosystem-api? 15:49
mounting a gzip'ed qcow2 image is harder than I thought, and I don't have enough free space to decompress it
timotimo holyghost: you're uploading distributions without tests again? 15:51
15:52 llfourn joined
holyghost hail. 15:52
xinming timotimo: I don't like writing tests too, Seems lone worker doesn't do that, The program just need to pass the test of his heart. :-)
araraloren You need test ensure your module design :) 15:53
timotimo i'm just saying, the code doesn't look like most of it works right
moritz heresy! hearsay! 15:54
timotimo holyghost: for example, using == against Nil is probably not doing what you think it's doing
method BUILD will not be passed any positional parameters, only named parameters 15:55
holyghost right
timotimo in the Message class, you define the attributes to be "is rw" but you also have accessors there that are not rw
if there's no "method elems" in the objects that split-message will receive - and from the methods you're calling on it it looks like it'd be an instance of Message at least), it'll return 1 15:56
15:56 llfourn left
timotimo so in particular, it'll never be > 4 15:56
15:56 abraxxa left
holyghost aagh, I'll update later on 15:57
timotimo m: my @test; my $i = 1; push (@test, $i);
evalable6 (exit code 1) Cannot call 'push' on an immutable 'List'
in block <unit> at /tmp/968lQxMSYn line 1
timotimo m: my @test; my $i = 1; push(@test, $i);
evalable6
araraloren yeah, and maybe there are some spelling mistake :D
timotimo ^- you need to remove the space here, this code is in AI.pm6
unless the objects in @entities actually have a .Numeric or .Bridge or some other kind of numification, comparing them using == is not going to do what you want 15:58
araraloren oh, intesting error
holyghost ok 15:59
araraloren s/intesting/interesting/
15:59 patrickb left
timotimo intestine error? :D 15:59
holyghost multi method split-message works ?
anyway, I'll debug it tomorrow :-) *blush*
araraloren m: my @test; my $i = 1; push (@test, $i); # I mean this
evalable6 (exit code 1) Cannot call 'push' on an immutable 'List'
in block <unit> at /tmp/XXDfxiO3KL line 1
timotimo i don't know if it works, how about you try running it against some actual data? 16:00
xinming timotimo: termbin.com/2o34
Could you please check wether it's a parser bug?
I think it's a parser bug.
But not sure
araraloren I was trying spacemacs yesterday, it's awesome :D 16:01
xinming Ignroe me
araraloren But seems like perl6.mode is not maintained right now :/
moritz xinming: it's a precedence problem
xinming timotimo: Ignore me, I just realized I need parens
yes.
moritz: ignore me. :-)
moritz or use && instead of "and" 16:02
/ignore xinming
holyghost araraloren : I don't know much about the immutablility of lists, I guess I need to use arrays
except for NSMutableArray etc :-) 16:03
araraloren holyghost Using .method style will avoid this problem :D
holyghost I understand :-)
timotimo yeah, the precedence of "and" is very loose
araraloren m: my @test; my $i = 1; @test.push($i) # you don't have to worry about whitespace
evalable6
holyghost timotimo : so you cannot equivalency check instances ? 16:04
with == I mean
timotimo no, == is numeric comparison
holyghost ok
araraloren maybe using ===
timotimo it will always try to numerify
araraloren Is === will try to numerify ?
timotimo no 16:05
16:05 llfourn joined
araraloren okay, thanks 16:06
holyghost I've debugged all you said
I'll upload tomorrow though it's 6pm here 16:07
I'll talk with JJ about documenting everything tomorrow
I'm get up at 6am 16:08