»ö« 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:04 w_richard_w joined 00:05 p6bannerbot sets mode: +v w_richard_w 00:11 dotdotdot left 00:12 dotdotdot joined 00:13 p6bannerbot sets mode: +v dotdotdot 00:17 ryn1x joined 00:18 p6bannerbot sets mode: +v ryn1x 00:19 dotdotdot left 00:22 ryn1x left 00:23 dotdotdot joined 00:24 p6bannerbot sets mode: +v dotdotdot 00:25 ryn1x joined 00:26 p6bannerbot sets mode: +v ryn1x
Geth Blin: efff604814 | (Aleks-Daniel Jakimenko-Aleksejev)++ | 3 files
Use sub MAIN for configurability and --help
00:30
00:33 Actualeyes left 00:36 Actualeyes joined 00:37 p6bannerbot sets mode: +v Actualeyes 00:50 ryn1x left 00:55 dotdotdot left 01:00 ryn1x joined 01:01 p6bannerbot sets mode: +v ryn1x 01:09 dotdotdot joined 01:10 p6bannerbot sets mode: +v dotdotdot 01:14 dotdotdot left 01:17 dotdotdot joined, p6bannerbot sets mode: +v dotdotdot 01:32 graphene left 01:33 graphene joined 01:34 p6bannerbot sets mode: +v graphene 01:42 dotdotdot left 01:43 graphene left 01:44 graphene joined 01:45 p6bannerbot sets mode: +v graphene 01:46 dotdotdot joined 01:47 p6bannerbot sets mode: +v dotdotdot 01:51 dotdotdot left 01:56 dotdotdot joined 01:57 p6bannerbot sets mode: +v dotdotdot
Geth Pod-To-HTML: 443d9fbaee | (David Warring)++ | .travis.yml
[.travis.yml] test on Rakudo 2017.10
01:57
Pod-To-HTML: cb4d52f699 | (David Warring)++ | .travis.yml
[.travis.yml] test on Rakudo 2017.12
01:59
Pod-To-HTML: e49c4d0908 | (David Warring)++ | 0 files
Merge branch 'master' of github.com/perl6/Pod-To-HTML
01:59 Sgeo__ left 02:02 Sgeo joined, p6bannerbot sets mode: +v Sgeo 02:04 finanalyst joined 02:05 p6bannerbot sets mode: +v finanalyst 02:06 webstrand left, webstrand joined 02:07 p6bannerbot sets mode: +v webstrand 02:10 itaipu left, dotdotdot left 02:11 webstrand left 02:12 dotdotdot joined, webstrand joined 02:13 p6bannerbot sets mode: +v dotdotdot, p6bannerbot sets mode: +v webstrand 02:15 ryn1x left 02:23 moony joined, p6bannerbot sets mode: +v moony 02:25 Actualeyes left 02:26 Actualeyes joined
moony Decided that even if i didn't want to learn python, i need to know some general purpose language. Is perl6 or perl5 a good choice? 02:26
(General purpose as in a scripting language for quickly whipping something up) 02:27
02:27 p6bannerbot sets mode: +v Actualeyes
SmokeMachine imo both are good choices... (but im having more fun with perl6 these days...) 02:28
moony: ^^ 02:29
moony mk. Python bugs me because whitespace. At least both perls use brackets :P
moony watches moarvm compile in the backround
....what? minilua? Why does moarvm need a mini lua. :P 02:30
02:30 dotdotdot left
SmokeMachine sorry, what means mk.? www.perlmonks.org/?node=mk. ??? 02:30
moony well, ok, that's dynasm from luajit, but ok.
SmokeMachine, Basically just "ok" but with an accent. :P 02:31
SmokeMachine sorry...
moony it's fine ¯\_(ツ)_/¯
AlexDaniel moony: perl6 is my favorite language for quickly whipping things up :)
moony AlexDaniel, i opened the perl6 in y minutes tutorial. Looks nice to me
also looks like prime codegolfing material 02:32
AlexDaniel moony: yes, see this for unicode-aware golfing: code-golf.io/
moony maybe i'll finally have something besides golfing x86-64 to do for lels. (Don't ask me why i find golfing x86-64 fun, i just do somehow)
AlexDaniel moony: if you want to get quickly into it, there's this: github.com/AlexDaniel/6lang-golf-cheatsheet 02:33
moony i'll save the extra confusion golf brings for a bit later, but i'll bookmark that. Thanks 02:34
> use the corresponding unicode character for numbers.
Oh my god. The devs think of everything, programming language edition
02:34 dotdotdot joined
moony it's nethack all over again haha 02:34
looks like some of these might be useful in my own general code tho, compose key ftw 02:35
02:35 p6bannerbot sets mode: +v dotdotdot
moony the «» enclosing pair looks useful 02:35
AlexDaniel moony: yeah, the intention was to make things like ⅔ usable
m: say ⅔ 02:36
camelia 0.666667
moony wow. *clapclapclap* now i have a reason to have the compose key on all the time when i don't even know another language
AlexDaniel so 兆 works just because unicode defines a numeric value for it too
m: say 兆
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
兆 used at line 1
moony rip
AlexDaniel hmmmm that's a wrong character, hold on :)
moony what would be nice is if the default x11 compose key made typing the union and element of operators easy 02:37
AlexDaniel m: say 𖭡
camelia 1000000000000
moony but it doesn't
AlexDaniel this one
moony AlexDaniel, that one isn't even in my font. RIP
And i'm using noto, which has nearly everything :P
AlexDaniel moony: oh, I just remembered that I wrote that post: perl6advent.wordpress.com/2017/12/...erl6-golf/ 02:39
which may be a nicer introduction to perl 6 golf
moony build ded send ambulance hastebin.com/exuwewikar.sql
02:39 dotdotdot left
moony tries building without using AUR for good measure 02:39
AlexDaniel hmmm that error… is it trying to use newer moarvm with older rakudo? Or vice versa? 02:41
moony maybe. I'll do it the way the site recommends instead of using AUR. Probably just a buggy AUR script or a out of date dep 02:43
also if perl 6 isn't embeddable that's an entire powerful usage of it lost :P 02:44
AlexDaniel moony: as per docs.perl6.org/language/unicode_en...se_(Linux) I use github.com/kragen/xcompose/blob/ma...otXCompose 02:45
moony: it has set operators, but I struggle to remember how to type them sometimes. :)
moony :P
i have good keyboard memory, so it wont be too hard i dont think 02:46
02:46 dotdotdot joined
AlexDaniel moony: embeddable as in making standalone executable with rakudo built into them? No, we don't have that yet 02:46
moony yea. Using rakudo from C-land for a DSL of sorts. Oh well. 02:47
02:47 p6bannerbot sets mode: +v dotdotdot
moony now just gotta remember how to reload xcompose 02:47
AlexDaniel you can't
afaik 02:48
moony i3 might be able to. If not, rebooting i3 isn't hard
AlexDaniel well yes, you'll have to restart your whole X session
just hitting mod+r in i3 isn't going to do it
moony RIP. Alright
moony logs 02:49
ZNC ftw, never miss a message 02:50
02:52 dotdotdot left
moony anyways, is there some list of what unicode shorthands perl6 has? :P 02:52
AlexDaniel moony: alternatively use Matrix. Never miss a message unless the bug with messages not being received is still unfixed. matrix.org/ 02:53
moony: yes, see this: docs.perl6.org/language/unicode_ascii
moony no matrix pls. I'm happy with hexchat :P
also i have my own server, so ZNC is easy anyways
AlexDaniel` That's OK too. 02:54
yoleaux 8 Oct 2018 06:11Z <japhb> AlexDaniel`: I've got a decent draft of my ratchet-rakudo script running. I'm going to leave it looping overnight, and see how far it gets.
AlexDaniel` waves from Matrix
02:55 dotdotdot joined
moony Judging on that list, perl6 uses some sort of vectorization? 02:55
02:55 p6bannerbot sets mode: +v dotdotdot
AlexDaniel moony: what do you mean? 02:56
moony as in, say, the + operator can do 1 + 2 = 3, or [1, 2] + [3, 4] = [4, 6]
while still being the same op
AlexDaniel you can use Z and X metaops
aah
ok I see what you mean now 02:57
moony that is, of course, unless (<) and (>) are singular tokens, not some special modified < and >
AlexDaniel moony: maybe you're looking for junctions? docs.perl6.org/type/Junction
m: say 5 < (2 | 8)
camelia any(False, True)
AlexDaniel m: say so 5 < (2 | 8) 02:58
camelia True
moony Yep, that's the vectorization i'm refering to.
kinda suprised 03:01
shoot
hexchat pls stop eating my compose key 03:02
i can only type some symbols and not others because you're a derp
anyways, kinda suprised ≡ (Why did i have to copy that from a terminal just now) isn't used. 03:03
AlexDaniel u: ≡
unicodable6 AlexDaniel, U+2261 IDENTICAL TO [Sm] (≡)
AlexDaniel moony: did you do the GTK_IM_MODULE hack? 03:05
moony: described here docs.perl6.org/language/unicode_en...l_programs
without it applications will treat compose key very inconsistently
moony mm
lookatme_q :) 03:11
03:12 dotdotdot left
MasterDuke moony: i've never tried the rakudo-star aur package, but the plain rakudo one works fine 03:15
moony AlexDaniel, looked at the node.js to perl 6 thing in docs. Perl 6 has ===. Now i'm even more curious why ≡ isn't ued :P
AlexDaniel m: say 5 ≤ 10
camelia True
AlexDaniel m: say 5 ≠ 10 03:16
camelia True
AlexDaniel moony: should ≡ mean ==, or ===, or something else? :)
moony: we have this page to gather ideas: github.com/rakudo/rakudo/wiki/save...from-ASCII
moony: feel free to edit it
moony ≡ would be most suited for meaning ===, in my opinion. Identical To. :P
AlexDaniel 🤷 03:17
=== is not used that often
03:18 dotdotdot joined 03:19 p6bannerbot sets mode: +v dotdotdot
moony m: say ¬ true 03:19
camelia 5===SORRY!5===
Argument to "say" seems to be malformed
at <tmp>:1
------> 3say7⏏5 ¬ true
Bogus postfix
at <tmp>:1
------> 3say 7⏏5¬ true
expecting any of:
infix
infix stopper
postfix
moony is ¬ not implemented either? ):
03:20 AlexDaniel left 03:23 dotdotdot left 03:24 AlexDaniel joined, p6bannerbot sets mode: +v AlexDaniel
AlexDaniel moony: heh what about ⩶ :D 03:25
moony heh, that's a thing?
AlexDaniel moony: anyway, you can leave your comments on that page 03:26
I think… it's editable for you, right?
this I mean github.com/rakudo/rakudo/wiki/save...from-ASCII
moony it is 03:27
Apparently `sub bar($name? = "moo")` is valid syntax, which makes no sense. An optional argument with a default value 🤔 03:28
AlexDaniel moony: it's just the default 03:29
moony: i.e. it's optional for the user, and if you don't pass it then it's initialized to the default value
moony: what doesn't make sense is a required parameter with a default value 03:30
moony: and that gives a nice compile-time error
! – required, ? – optional
03:31 dotdotdot joined
moony alright, so just verbose 03:31
03:32 p6bannerbot sets mode: +v dotdotdot 03:34 lelf` joined 03:35 p6bannerbot sets mode: +v lelf`, w_richard_w left
moony Silly question: does perl 6 support negative indexes? 03:37
03:38 dotdotdot left
SmokeMachine m: my @a = ^10; say @a[*-1] # moony 03:42
camelia 9
moony coolio 03:43
SmokeMachine m: my @a = ^10; say @a[*/2] 03:45
camelia 5
03:45 lelf` left, w_richard_w joined 03:46 p6bannerbot sets mode: +v w_richard_w, dotdotdot joined 03:47 p6bannerbot sets mode: +v dotdotdot 03:52 dotdotdot left 03:53 dotdotdot joined, p6bannerbot sets mode: +v dotdotdot 04:02 dotdotdot left
moony Single question, and i'll have a working BF interp. How do i convert a int to a ascii character? :P 04:22
04:26 vrurg left
moony AlexDaniel, thanks for the help. Perl 6 is great™ 04:30
04:32 vrurg joined 04:33 dotdotdot joined
holyghost an int is an ascii character, char is one byte so 8 bits 04:33
04:33 p6bannerbot sets mode: +v vrurg 04:34 p6bannerbot sets mode: +v dotdotdot
moony ik. Basically asking how to make it print as one instead of a number. Already solved it anyways. .chr() subroutine 04:34
04:34 mattp_ left
holyghost see ord,bin,chr (which was PASCAL) 04:35
04:37 mattp_ joined 04:38 p6bannerbot sets mode: +v mattp_ 04:52 vrurg left 04:54 joy_ left 04:55 joy_ joined, p6bannerbot sets mode: +v joy_ 04:56 vrurg joined 04:57 p6bannerbot sets mode: +v vrurg, lizmat left, dotdotdot left 04:59 dotdotdot joined 05:00 p6bannerbot sets mode: +v dotdotdot 05:01 lizmat joined, p6bannerbot sets mode: +v lizmat 05:02 curan joined, p6bannerbot sets mode: +v curan 05:04 dotdotdot left 05:05 lizmat left 05:10 dotdotdot joined 05:11 p6bannerbot sets mode: +v dotdotdot 05:18 dotdotdot left 05:19 aindilis left 05:20 dotdotdot joined 05:21 p6bannerbot sets mode: +v dotdotdot, aindilis joined 05:22 p6bannerbot sets mode: +v aindilis 05:50 dotdotdot left 05:55 dotdotdot joined 05:56 p6bannerbot sets mode: +v dotdotdot 06:00 domidumont joined, dotdotdot left 06:01 p6bannerbot sets mode: +v domidumont 06:05 bga57 joined 06:06 p6bannerbot sets mode: +v bga57
bga57 Is rakudo buildable on FreeBSD? 06:07
El_Che bga57: should be, sole people here run it on the bsds 06:09
bga57 There used to be a port, but it looks like it got dropped due to lack of maintainer 06:10
06:11 fake_space_whale left
bga57 BTW, Packt Publishing is giving away Perl 6 Deep Dive by Andrew Shitov today. www.packtpub.com/packt/offers/free-learning 06:14
06:15 dotdotdot joined 06:16 p6bannerbot sets mode: +v dotdotdot
bga57 You have to register, but they give away a different ebook daily, changing at 00:00 GMT 06:16
06:17 w_richard_w left
El_Che weekly: in case still in tile,fornthe weekly www.packtpub.com/packt/offers/free-learning 06:20
notable6 El_Che, Noted!
El_Che bga57: thx, just saw it on twitter as well
in case there is a weekly out today, maybe more people can get the book
06:29 domidumont left 06:45 domidumont joined 06:46 p6bannerbot sets mode: +v domidumont 06:48 lelf joined 06:49 dotdotdot left, p6bannerbot sets mode: +v lelf 06:57 dotdotdot joined 06:58 p6bannerbot sets mode: +v dotdotdot 07:05 rindolf joined 07:06 dotdotdot left, p6bannerbot sets mode: +v rindolf 07:07 lookatme_q left 07:11 lookatme_q joined, robertle joined, st_iron joined 07:12 p6bannerbot sets mode: +v lookatme_q, p6bannerbot sets mode: +v robertle, p6bannerbot sets mode: +v st_iron 07:16 dotdotdot joined 07:17 p6bannerbot sets mode: +v dotdotdot 07:18 vike left 07:19 vike joined 07:20 p6bannerbot sets mode: +v vike 07:21 dotdotdot left 07:22 dotdotdot joined, p6bannerbot sets mode: +v dotdotdot 07:26 dotdotdot left 07:27 dotdotdot joined 07:28 p6bannerbot sets mode: +v dotdotdot 07:31 dotdotdot left 07:41 dotdotdot joined 07:42 p6bannerbot sets mode: +v dotdotdot 07:44 ufobat joined, p6bannerbot sets mode: +v ufobat
ufobat hey everyone :) 07:44
07:45 dakkar joined
ufobat does %?RESOURCES allow acces to directories as well? 07:45
07:45 p6bannerbot sets mode: +v dakkar, atweiden-web joined, p6bannerbot sets mode: +v atweiden-web 07:46 atweiden-web left 07:47 atweiden-air joined, zakharyas joined 07:48 p6bannerbot sets mode: +v atweiden-air, p6bannerbot sets mode: +v zakharyas 07:51 dotdotdot left
atweiden-air for fun, i was trying to do this mac address -> ipv6 converter on stackoverflow stackoverflow.com/a/27693666 07:51
ix.io/1pKj
however, i found a *really* LTA p6 quirk insodoing
07:51 pmurias joined, p6bannerbot sets mode: +v pmurias
atweiden-air m: my Str:D $b = sprintf('0x%s', '08').&infix:<+>.base(2) ==> sprintf('0b%s') ==> sprintf('%08b'); $b.perl.say 07:51
camelia "1000"
atweiden-air p6 always converts "00001000" into "1000"
even if you split the string, map it and inside the map type check the strings, it still does not preserve the strnums 07:52
07:52 lelf` joined 07:53 p6bannerbot sets mode: +v lelf`
atweiden-air m: my Str:D @b = sprintf('0x%s', '08').&infix:<+>.base(2) ==> sprintf('0b%08s') ==> split('') ==> map({ my Str:D $x = .perl }); @b.perl.say 07:54
camelia Array[Str:D].new("1000")
07:54 lelf left 07:57 vike left 07:58 vike joined 07:59 p6bannerbot sets mode: +v vike
atweiden-air m: my Str:D @a = '0', '0', '0', '0', '1', '0', '0', '0'; @a.perl.say; 08:02
camelia Array[Str:D].new("0", "0", "0", "0", "1", "0", "0", "0")
08:04 zakharyas left, zakharyas joined 08:05 dotdotdot joined, p6bannerbot sets mode: +v zakharyas 08:06 p6bannerbot sets mode: +v dotdotdot 08:09 dotdotdot left 08:10 dotdotdot joined 08:11 p6bannerbot sets mode: +v dotdotdot 08:34 kensanata joined, p6bannerbot sets mode: +v kensanata 08:39 lizmat joined, p6bannerbot sets mode: +v lizmat 08:46 dotdotdot left 08:47 dalek left 08:48 dalek joined, ChanServ sets mode: +v dalek, dotdotdot joined, p6bannerbot sets mode: +v dalek 08:49 p6bannerbot sets mode: +v dotdotdot 08:55 DarthGandalf left, dotdotdot left, DarthGandalf joined, p6bannerbot sets mode: +v DarthGandalf 08:56 st_iron left 08:59 sena_kun joined 09:00 p6bannerbot sets mode: +v sena_kun
lizmat notable6: weekly 09:09
09:09 pmurias left
notable6 lizmat, 16 notes: gist.github.com/38efd6a34592a1bd5f...2bdf4e270c 09:09
lizmat hmmm... that link gives me a 404 :-(
notable6: weekly
notable6 lizmat, 16 notes: gist.github.com/0a4cea17c3d20f5ce3...c678509c8d
lizmat and that as well :-( 09:10
maybe that's because anonymous gists are no longer allowed ?
09:12 finanalyst left 09:13 jbotz_ joined 09:14 p6bannerbot sets mode: +v jbotz_ 09:16 jbotz_ is now known as jbotz
moritz lizmat: github has an outage 09:21
09:21 dotdotdot joined 09:22 p6bannerbot sets mode: +v dotdotdot
moritz status.github.com/messages " Our restore operations are still on track to serve consistent data within the hour." 09:24
lizmat well, I'm about to go afk for probably the rest of the day, so I guess the stuff in there will have to wait till next week 09:25
timotimo have a good one, lizmat :)
lizmat and another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2018/10/22/...g-contest/ 09:26
timotimo: thank you 09:27
alas, the reason for afk is not so nice: a funeral service :-(
timotimo i see 09:29
timotimo offers hugs
lizmat thank you :-)
09:30 dotdotdot left
moritz hugs as well, more hugs are always better 09:30
lizmat :-)
fwiw, we're going there more to give hugs than to receive them 09:31
09:31 dotdotdot joined 09:32 p6bannerbot sets mode: +v dotdotdot
moritz then it's a transitive hug that you can forward to a well-deserving recipient :) 09:34
lizmat will do :-) 09:35
09:39 dotdotdot left 09:40 dotdotdot joined 09:41 p6bannerbot sets mode: +v dotdotdot 09:43 MasterDuke left 09:47 dotdotdot left 09:53 dotdotdot joined 09:54 p6bannerbot sets mode: +v dotdotdot 09:56 domidumont left, domidumont joined 09:57 p6bannerbot sets mode: +v domidumont 10:03 zakharyas left 10:04 zakharyas joined 10:05 p6bannerbot sets mode: +v zakharyas 10:07 dotdotdot left 10:12 dotdotdot joined, p6bannerbot sets mode: +v dotdotdot 10:13 jameslenz left 10:15 kurahaupo left 10:16 kurahaupo joined 10:17 p6bannerbot sets mode: +v kurahaupo 10:18 dotdotdot left 10:19 pmurias joined, p6bannerbot sets mode: +v pmurias
tbrowder___ lizmat: blessings 10:19
lizmat: Hash::Restricted looks very useful, thanks! 10:20
10:25 cjkinni left, cjkinni joined 10:26 p6bannerbot sets mode: +v cjkinni
lizmat afk& 10:29
10:29 dotdotdot joined 10:30 p6bannerbot sets mode: +v dotdotdot 10:36 pmurias left
Geth doc: e1016a830d | (JJ Merelo)++ | doc/Language/functions.pod6
Reworded description of sub MAIN

Hope it's better now. Refs #2404.
10:37
synopsebot Link: doc.perl6.org/language/functions
10:40 dotdotdot left 10:41 pmurias joined, p6bannerbot sets mode: +v pmurias 10:42 dotdotdot joined 10:43 p6bannerbot sets mode: +v dotdotdot 10:47 dotdotdot left 10:48 dotdotdot joined 10:49 p6bannerbot sets mode: +v dotdotdot 10:54 jameslenz joined 10:55 p6bannerbot sets mode: +v jameslenz 10:58 dotdotdot left 11:02 dotdotdot joined, p6bannerbot sets mode: +v dotdotdot 11:06 zakharyas left, pmurias left, dotdotdot left, dotdotdot joined 11:07 p6bannerbot sets mode: +v dotdotdot, lelf`` joined 11:08 p6bannerbot sets mode: +v lelf`` 11:09 jameslenz left 11:10 lelf` left, lizmat left, dotdotdot left 11:14 lelf`` left 11:16 dotdotdot joined 11:17 p6bannerbot sets mode: +v dotdotdot 11:34 dotdotdot left 11:35 dotdotdot joined 11:36 p6bannerbot sets mode: +v dotdotdot 11:42 pmurias joined, p6bannerbot sets mode: +v pmurias 11:45 dotdotdot left 11:48 dotdotdot joined, p6bannerbot sets mode: +v dotdotdot 11:51 jameslenz joined 11:52 p6bannerbot sets mode: +v jameslenz 11:54 dotdotdot left 11:56 Kaypie joined, dotdotdot joined 11:57 p6bannerbot sets mode: +v Kaypie, p6bannerbot sets mode: +v dotdotdot, Kaiepi left, itaipu joined 11:58 p6bannerbot sets mode: +v itaipu 12:01 jameslenz left 12:03 dotdotdot left 12:04 dotdotdot joined 12:05 p6bannerbot sets mode: +v dotdotdot 12:06 jameslenz joined 12:07 p6bannerbot sets mode: +v jameslenz 12:18 dotdotdot left 12:22 dotdotdot joined, p6bannerbot sets mode: +v dotdotdot 12:31 dotdotdot left 12:32 dotdotdot joined, p6bannerbot sets mode: +v dotdotdot 12:35 zakharyas joined 12:36 zakharyas left, zakharyas joined 12:37 jameslenz left, p6bannerbot sets mode: +v zakharyas 13:13 curan left 13:14 dotdotdot left 13:15 dotdotdot joined 13:16 p6bannerbot sets mode: +v dotdotdot 13:39 dotdotdot left 13:40 gregf_ joined, p6bannerbot sets mode: +v gregf_
Xliff Is bisect an IRC only tool, or is there a command line tool out there that I can use? 13:43
13:45 dotdotdot joined, p6bannerbot sets mode: +v dotdotdot
moritz I'm pretty sure you can use it without IRC, but then you need a big collection of rakudo builds to bisect on 13:48
github.com/perl6/whateverable has the code 13:50
SmokeMachine Xliff: I have read something about a tool called blib (I think) that bisects offline 14:00
14:00 dotdotdot left
Xliff SmokeMachine++ moritz++ # Thanks 14:00
AlexDaniel Xliff: whateverable not only has code, but also rakudo builds for every commit 14:01
Xliff: if your module regressed and you want to bisect that, then you can use blin github.com/perl6/Blin
SmokeMachine yes, blin! 14:02
AlexDaniel :)
14:02 ExtraCrispy left
AlexDaniel Xliff: note that all that fancy stuff will only work on linux, as that's where these builds were created 14:02
14:03 ExtraCrispy joined, p6bannerbot sets mode: +v ExtraCrispy
Xliff I have a VM 14:03
And also a dual boot partition.
OK, so Whateverable it is! :)
AlexDaniel Xliff: but may I ask what you're trying to bisect? I can assist perhaps
Xliff AlexDaniel: I was writing a gist about it. Let's see if it is ready for a draft.
gist.github.com/Xliff/010d1ea5a92e...f0a1b4b77a 14:04
AlexDaniel Xliff: because generally we should be able to feed a gist directly to bisectable and it will work
ahhh gtk… hmm
Xliff Don't assume it's GTK, yet. :)
AlexDaniel that won't work without a running X server, right? 14:05
Xliff Er... no.
Although the error message you get should be different.
So... it's RUNNABLE, but you may not get to the error because gtk_init() will complain of missing DISPLAY
So I will grab whateverable. 14:06
AlexDaniel right
14:06 zakharyas left
Xliff How big is it? 14:06
14:06 zakharyas joined
AlexDaniel Xliff: you mean the storage for whateverable? A few tens of gigabytes, but you only need to fetch the required builds so that doesn't matter 14:07
14:07 p6bannerbot sets mode: +v zakharyas
Xliff Where can I get those? 14:07
AlexDaniel shareable6: HEAD 14:08
shareable6 AlexDaniel, whateverable.6lang.org/HEAD
AlexDaniel you'd need to `apt install zstd lrzip`
Xliff zst?
:)
AlexDaniel Xliff: hold on… let's build a tool maybe?
Xliff Sure 14:09
AlexDaniel Xliff: it should be a few lines of code, let's see if I can come up with a short hello world
Xliff Meanwhile I am running a bisect similar process on my code. 14:12
AlexDaniel yeah, it can be done without whateverable, just needs patience to wait for required rakudo revisions to build. Also you need to be careful with broken revisions (these must be skipped with 125 exit code) 14:14
Xliff Build script can do that, yeah? 14:16
Skipping broken revisions?
AlexDaniel mmm I don't think so? You need some way of figuring that out, like based on the exit code of make maybe? 14:18
that's what makes whateverable awesome, it does that for you
SmokeMachine `🥞 Will use up to 0 threads for testing modules`?
0 threads but its running... 14:19
AlexDaniel SmokeMachine: :D 14:20
SmokeMachine: that's awesome, I guess you don't have `nproc` installed?
14:20 dotdotdot joined
AlexDaniel SmokeMachine: you can use --nproc=4 or something like that explicitly 14:21
14:21 p6bannerbot sets mode: +v dotdotdot
SmokeMachine AlexDaniel: www.irccloud.com/pastebin/XaEujOxe/ 14:22
AlexDaniel SmokeMachine: what's your `uname -a` ?
SmokeMachine im on mac
Darwin MacBook-Pro-de-Fernando.local 18.2.0 Darwin Kernel Version 18.2.0: Sun Oct 7 14:21:57 PDT 2018; root:xnu-4903.221.2~12/RELEASE_X86_64 x86_64 14:23
AlexDaniel SmokeMachine: yeah github.com/perl6/Blin#running
I'm assuming you can't just take and run a linux build on a mac, right?
Xliff Damn. 14:24
Getting this: MoarVM panic: Internal error: Unwound entire stack and missed handler
SmokeMachine :(
Xliff And it looks like recent changes have prevented perl6 from picking up exceptions in callbacks.
SmokeMachine but it was running... :(
Xliff It still is running, however I don't have proper error messages. 14:25
14:25 dotdotdot left
Xliff Which makes debugging code MUCH harder. 14:25
So now I must bisect my own code! :P
14:27 pmurias left
AlexDaniel SmokeMachine: we can try fixing that, but it's work. One way is to have someone build rakudo on a bunch of commits and then contribute them. Another is to make whateverable build on demand (i.e. if build X cannot be fetched, it should try building by itself) 14:27
that will be much much slower of course, and the point is kinda lost 14:28
SmokeMachine hum... you were talking about rakudo builds... now that make sense on my head!
AlexDaniel but it's better than having a tool that doesn't work at all
14:28 pmurias joined, p6bannerbot sets mode: +v pmurias
SmokeMachine I was thinking that Blin would build that if it couldn't find that built... 14:29
AlexDaniel SmokeMachine: yeah. So bisection typically takes like what, 12 steps I think? Plus some skipped revisions and stuff. So if it takes you say 3 minutes to build rakudo, then it's 3 × 12 minutes just to bisect one thing
which is fine, actually
but the idea behind whateverable was to do it in 5 seconds :)
which it does. Blin is a bit slower because of zef overhead, but it's still less than 3 minutes for a module I think 14:30
Xliff: so here's the start: gist.github.com/AlexDaniel/fb18003...926f706ba0 14:31
14:31 graphene left, buggable left
AlexDaniel Xliff: just run as is, it should clone required repos, fetch rakudo builds and run code 14:31
14:31 buggable joined, ChanServ sets mode: +v buggable
Xliff That link is throwing a 404 14:31
SmokeMachine maybe we should have a tool to build the (probably every) commits...
(or i should use whateverable)... 14:32
14:32 graphene joined
AlexDaniel SmokeMachine: :) github.com/perl6/whateverable/blob...n/build.p6 14:32
but it's designed to this stuff ahead of time instead of running on demand, maybe that can be changed? 14:33
do*
14:33 p6bannerbot sets mode: +v graphene
AlexDaniel SmokeMachine: sub process-commit($commit) { 14:33
14:33 dotdotdot joined
AlexDaniel pretty sure you can run that sub with any given sha and it'll do its job 14:33
14:34 uzl joined, p6bannerbot sets mode: +v dotdotdot, p6bannerbot sets mode: +v uzl
AlexDaniel SmokeMachine: here it is attempting to fetch the required build from the main server: github.com/perl6/whateverable/blob...#L125-L141 14:34
SmokeMachine: so a fallback there can be tu run process-commit() ? 14:35
to*
Xliff: try hitting F5… github is having a bad day
uzl Any luck with downloading Perl 6 Deep Dive? Trying to register for an account and struggling with the captcha thing. 14:36
SmokeMachine AlexDaniel: I think that would be a good solution...
14:39 uzl left 14:40 uzl joined, p6bannerbot sets mode: +v uzl 14:42 graphene left 14:43 graphene joined 14:44 p6bannerbot sets mode: +v graphene
AlexDaniel SmokeMachine: maybe you can try implementing it? :) 14:46
SmokeMachine I'll... :) 14:47
14:47 pmurias left
SmokeMachine but now I have to get some work done... :( 14:47
chsanch uzl: I've already downloaded it
14:47 pmurias joined, p6bannerbot sets mode: +v pmurias
SmokeMachine I wish I could work writing some perl6... 14:47
s/I'll/I'll try/ 14:48
Xliff SmokeMachine: You and me both! ;)
uzl chsanch: Trying to get the account and regardless of anything I do getting this error: You must complete the recaptcha to register for an account.
Xliff AlexDaniel: Got it. Thanks!
uzl chsanch: And I've JS enabled. 14:49
chsanch uzl: Hmm, well I got my account a few years ago, I've just logged in and added the book to my library 14:54
uzl Thanks. I'll try again later. 14:58
14:58 uzl left 15:00 Zoffix joined, p6bannerbot sets mode: +v Zoffix
Zoffix uzl: FWIW, I registered today and downloaded stuff. I don't recally any captchas. 15:01
15:01 dotdotdot left
Zoffix This is the form I used. I see no captchas there: www.packtpub.com/packt/offers/free-learning 15:02
SmokeMachine there are 2 job descriptions on linkedin saying: `Strong familiarity with one or more high level test languages: Python3.7, Perl6, Bash`
moritz sounds like somebody asked an intern to look up the most up-to-date version numbers of languages to sound cool :-) 15:03
Zoffix Are they job descriptions or just ads for something?
SmokeMachine is that some one getting the highest "version" of the language or is it some one using perl6 to test?
job descriptions
Zoffix I'd bet someone getting highest version
tyil SmokeMachine: go for it and do Perl 6 :'D
Zoffix "Yes, we use the industry standard latest version of the PERL language" 15:04
tyil if that's what it takes to convince your manager to use perl 6, I'd take it tbh
15:04 zakharyas left 15:05 Zoffix left
SmokeMachine I'm not believing in those job positions... 15:07
www.linkedin.com/jobs/search/?curr....worldwide
15:08 zakharyas joined 15:09 p6bannerbot sets mode: +v zakharyas 15:11 fake_space_whale joined 15:12 p6bannerbot sets mode: +v fake_space_whale
Xliff Does perl6 have a module for Inotify? 15:12
SmokeMachine there are too a company contracting a "Software Engineer: Perl␤6-month contract Role" that shows up on my search... 15:13
15:14 troys joined, p6bannerbot sets mode: +v troys 15:16 dotdotdot joined
Xliff SmokeMachine: That's an entry level position, and I'm not moving to AU. :) 15:16
15:16 p6bannerbot sets mode: +v dotdotdot
SmokeMachine I could move to AU... I want to move to anywhere but Brazil... :( 15:19
(but my preference would be canada or portugal) 15:20
ugexe if you want to use perl6 at work then become the manager 15:32
15:35 dotdotdot left 15:36 dotdotdot joined 15:37 p6bannerbot sets mode: +v dotdotdot
Xliff FOUND IT! 15:39
AlexDaniel \o/ 15:41
15:41 domidumont left
SmokeMachine Xliff: the job? 15:45
ugexe: or find the one who already become the manager... 15:46
15:46 xi| is now known as xi-
Xliff SmokeMachine: No, the bug! ;) 15:48
gist.github.com/Xliff/010d1ea5a92e...f0a1b4b77a # AlexDaniel
.tell jnthn Supplier.quit(), instead of note() is crashing MoarVM -- gist.github.com/Xliff/010d1ea5a92e...f0a1b4b77a
yoleaux Xliff: I'll pass your message to jnthn.
AlexDaniel Xliff: I'm still interested to know when this changed 15:49
15:50 gregf_ left 15:52 dotdotdot left 15:53 zakharyas left
SmokeMachine m: class C { has Int $.a handles <inexistent-method> } # wouldn't make sense if the test if the method exists on attribute's type be on compile time? 15:57
camelia ( no output )
16:00 dotdotdot joined 16:01 p6bannerbot sets mode: +v dotdotdot 16:02 gregf_ joined, p6bannerbot sets mode: +v gregf_
ugexe m: role MyThing { }; class C { has MyThing $.a handles <inexistent-method>; }; say C.new(a => (class :: { method inexistent-method { 42 }}.new but MyThing)).inexistent-method # how would this work then? 16:08
camelia 42
SmokeMachine ugexe: don't use `handles`on that case? ok... I think you are right... 16:09
Xliff roles can be composed at run-time. 16:12
AlexDaniel: I don't know if there was a change, per-se.
Except in my code.
Which I will now revert back.
16:15 graphene left 16:17 graphene joined, p6bannerbot sets mode: +v graphene 16:29 jameslenz joined 16:30 p6bannerbot sets mode: +v jameslenz 16:31 dakkar left 16:37 jameslenz left 16:46 lichtkind joined 16:47 p6bannerbot sets mode: +v lichtkind 16:56 robertle left, sena_kun left 16:57 sena_kun joined 16:58 p6bannerbot sets mode: +v sena_kun 17:03 dotdotdot left 17:08 kensanata left 17:10 vrurg left 17:23 dotdotdot joined, p6bannerbot sets mode: +v dotdotdot 17:27 pmurias left 17:39 noganex_ left 17:40 noganex joined, graphene left, p6bannerbot sets mode: +v noganex 17:41 graphene joined
Xliff gist.github.com/Xliff/f02820e36f19...b0511a4272 17:42
17:42 p6bannerbot sets mode: +v graphene 17:46 dotdotdot left 17:51 vrurg joined 17:52 p6bannerbot sets mode: +v vrurg 17:53 dotdotdot joined 17:54 p6bannerbot sets mode: +v dotdotdot 17:58 molaf joined 17:59 p6bannerbot sets mode: +v molaf 18:05 dotdotdot left 18:10 graphene left 18:11 graphene joined 18:12 p6bannerbot sets mode: +v graphene, graphene left, ryn1x joined 18:13 p6bannerbot sets mode: +v ryn1x, graphene joined 18:14 p6bannerbot sets mode: +v graphene 18:24 dotdotdot joined, p6bannerbot sets mode: +v dotdotdot 18:29 Bucciarati left 18:30 sftp left 18:31 dotdotdot left, avar left 18:32 dotdotdot joined 18:33 p6bannerbot sets mode: +v dotdotdot
Geth doc: 5ddb34165f | lichtkind++ | doc/Language/pod.pod6
document cross documet POD links
18:34
synopsebot Link: doc.perl6.org/language/pod
18:38 dotdotdot left 18:41 dotdotdot joined 18:42 p6bannerbot sets mode: +v dotdotdot
Geth doc: 2ddbd296c1 | lichtkind++ | doc/Language/pod.pod6
fix link adress
18:44
synopsebot Link: doc.perl6.org/language/pod
18:46 dotdotdot left 18:48 dotdotdot joined 18:49 p6bannerbot sets mode: +v dotdotdot
Geth doc: 178d2e3675 | lichtkind++ | doc/Language/pod.pod6
expand on local file names in POD links
18:49
synopsebot Link: doc.perl6.org/language/pod
18:51 noganex_ joined, MilkmanDan left, agentzh left, f3ew left, agentzh joined, agentzh left, agentzh joined, p6bannerbot sets mode: +v agentzh 18:52 p6bannerbot sets mode: +v noganex_, p6bannerbot sets mode: +v agentzh 18:53 _kristian left, zostay left 18:54 zostay joined, p6bannerbot sets mode: +v zostay, noganex left, ryn1x left, MilkmanDan joined, p6bannerbot sets mode: +v MilkmanDan 18:55 fake_space_whale left 18:56 koto joined, f3ew joined, p6bannerbot sets mode: +v koto 18:57 p6bannerbot sets mode: +v f3ew 18:58 sena_kun left 18:59 dotdotdot left
masak TimToady, jnthn, moritz: a short implementation note about macro hygiene github.com/masak/007/issues/410 19:01
(and anyone else who's interested, of course)
19:01 pecastro joined 19:02 p6bannerbot sets mode: +v pecastro 19:03 sftp joined, p6bannerbot sets mode: +v sftp 19:06 Bucciarati joined, avar joined, avar left, avar joined, p6bannerbot sets mode: +v avar
masak ('night, #perl6) 19:07
19:07 p6bannerbot sets mode: +v Bucciarati, p6bannerbot sets mode: +v avar
timotimo night masak :) 19:08
someone just posted your mug throwing 10 year anniversary blog post on twitter
El_Che link us? 19:09
timotimo strangelyconsistent.org/blog/happy-...ary-perl-6 19:10
at first i was confused why it said "10th", then i looked at the date and it made sense
19:19 dotdotdot joined 19:20 p6bannerbot sets mode: +v dotdotdot 19:21 atweiden-air left 19:29 vrurg left 19:48 TreyHarris joined, p6bannerbot sets mode: +v TreyHarris 19:50 graphene left 19:51 graphene joined 19:52 p6bannerbot sets mode: +v graphene 19:56 dotdotdot left 19:57 lizmat joined, p6bannerbot sets mode: +v lizmat 19:58 dotdotdot joined 19:59 ExtraCrispy left, p6bannerbot sets mode: +v dotdotdot 20:01 ryn1x joined, itaipu left 20:02 p6bannerbot sets mode: +v ryn1x 20:03 Ronja left 20:08 dotdotdot left, dct joined, p6bannerbot sets mode: +v dct, Kaypie left 20:10 dotdotdot joined, p6bannerbot sets mode: +v dotdotdot 20:14 vrurg joined 20:15 Kaiepi joined, p6bannerbot sets mode: +v vrurg 20:16 p6bannerbot sets mode: +v Kaiepi 20:31 dotdotdot left 20:35 vrurg left 20:39 dct left 20:45 dotdotdot joined, p6bannerbot sets mode: +v dotdotdot 20:46 pmurias joined, p6bannerbot sets mode: +v pmurias
El_Che releasable6: status 20:51
releasable6 El_Che, Next release will happen when it's ready. 2 blockers. 489 out of 489 commits logged
El_Che, Details: gist.github.com/79dd9412e08de11f9d...a99b90dafd
20:51 alpha6 left 20:52 dotdotdot left, haukex joined 20:53 p6bannerbot sets mode: +v haukex 20:55 ryn1x left 20:57 ryn1x joined 20:58 p6bannerbot sets mode: +v ryn1x, alpha6 joined 20:59 p6bannerbot sets mode: +v alpha6, haukex left, dotdotdot joined 21:00 p6bannerbot sets mode: +v dotdotdot 21:05 haukex joined, p6bannerbot sets mode: +v haukex 21:18 graphene left 21:19 graphene joined 21:20 p6bannerbot sets mode: +v graphene 21:25 koto left 21:29 graphene left, Celelibi left 21:30 graphene joined 21:31 p6bannerbot sets mode: +v graphene, rouking left 21:32 itaipu joined, p6bannerbot sets mode: +v itaipu
Geth doc: f273384e34 | MorayJ++ | doc/Language/grammars.pod6
Add examples of passing arguments to grammars

Demonstrate passing arguments to grammars
21:42
synopsebot Link: doc.perl6.org/language/grammars
Geth doc: aa36ae45b2 | MorayJ++ | doc/Language/grammars.pod6
Remove tabs from grammar doc
doc: 51f2357b2d | MorayJ++ (committed using GitHub Web editor) | doc/Language/grammars.pod6
Merge pull request #2405 from MorayJ/grammar-arguments

Add examples of passing arguments to grammars
21:51 graphene left 21:52 graphene joined 21:53 p6bannerbot sets mode: +v graphene 21:58 pmurias left, ryn1x left 22:00 lichtkind left 22:10 dotdotdot left
xinming I think I get a segfault, It'll take me a while to track that donw. 22:13
22:19 Bucciarati left, Bucciarati joined 22:20 p6bannerbot sets mode: +v Bucciarati, Kaiepi left, Kaiepi joined 22:21 p6bannerbot sets mode: +v Kaiepi 22:22 dotdotdot joined 22:23 p6bannerbot sets mode: +v dotdotdot 22:24 Celelibi joined 22:25 p6bannerbot sets mode: +v Celelibi 22:28 itaipu left 22:33 dotdotdot left 22:37 dotdotdot joined, p6bannerbot sets mode: +v dotdotdot, graphene left 22:38 Kaiepi left 22:39 graphene joined, p6bannerbot sets mode: +v graphene 22:42 Celelibi left 22:44 pecastro left 22:49 haukex left, dotdotdot left 22:50 dotdotdot joined 22:51 Kaiepi joined, p6bannerbot sets mode: +v dotdotdot, p6bannerbot sets mode: +v Kaiepi
[Coke] waves from NYC 22:57
23:00 cpage left 23:02 dotdotdot left 23:04 dotdotdot joined 23:05 p6bannerbot sets mode: +v dotdotdot 23:12 Kaiepi left 23:14 Kaiepi joined
Xliff Is there a way to monitor the Linux kernel for process creation, and deletion? 23:15
23:18 dotdotdot left
timotimo yes! 23:20
Xliff: search for "execsnoop", it's a tool by brendan gregg if i'm not mistaken, and it logs every exec, which should come quite close to what you need
perhaps it's easy to modify it to make an "exitsnoop", or maybe someone already did that
Xliff timotimo++ 23:21
I also found forkstat, which is available on Ubuntu and Debian. 23:22
I will look into execsnoop. Thanks!
timotimo that also sounds nice, but perhaps it's more like a statistics thing?
23:22 dotdotdot joined
Xliff Heh. Donno. I queried the oracle for "linux /proc monitoring" and found it after a few variations. 23:23
23:23 p6bannerbot sets mode: +v dotdotdot
Xliff "the oracle" == Google 23:23
Does execsnoop need to be run as root?
timotimo hm, probably 23:24
you could give the user who wants to do it more permissions and/or set the flags that govern what individual processes/users are allowed to trace less paranoid
Xliff True enough.
[particle]1 lmgtfy.com/?q=execsnoop 23:25
23:25 [particle]1 is now known as [particle] 23:27 alpha joined, aindilis left 23:28 p6bannerbot sets mode: +v alpha
Xliff Hmmm.... 23:30
execsnoop is not picking up some of the commands I am seeing from forkstat
timotimo not all forks lead to execs 23:31
Xliff True enough! Still, thanks for the tip!
timotimo and not all execs come immediately after forks
sure! :)
Xliff forkstat seems to catch what I want.
23:34 alpha left
Xliff What would be the best way to grab output from a command like 'tail -f'? 23:34
timotimo Proc::Async would be my first choice 23:35
23:36 dotdotdot left 23:37 rindolf left
geekosaur modulo buffering, which will require either wrapping in stdbuf or using a pty 23:37
timotimo oh, hmm
geekosaur stdbuf -o0 tail -f ... 23:38
or -oL
Xliff Really? 23:39
geekosaur tail will see it's outputting to a pipe and use block buffering. you cannot change this from the perl side
Xliff What about programs like forkstat? ;) 23:40
Although it does look like it is buffering.
geekosaur don't know. ltrace might tell you if it alters buffering 23:41
23:43 dotdotdot joined 23:44 p6bannerbot sets mode: +v dotdotdot 23:49 jbotz left
ingy seen TimToady 23:50
23:53 dotdotdot left 23:55 w_richard_w joined 23:56 p6bannerbot sets mode: +v w_richard_w 23:57 w_richard_w left 23:58 dotdotdot joined 23:59 p6bannerbot sets mode: +v dotdotdot