»ö« 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.
buggable 🎺🎺🎺 It's time for the monthly Accidental /win Lottery 😍😍😍 We have 2 ballots submitted by 2 users! DRUM ROLL PLEASE!... 00:00
And the winning number is 10! Congratulations to nine! You win a roll of duck tape!
00:01 comborico1611 left 00:16 mcmillhj joined 00:18 markong left 00:21 ambs joined 00:29 zachk left 00:48 comborico1611 joined
comborico1611 m: say "Word count: ", $/.elems if "I have a dream" ~~ / \w+ \ 00:49
camelia 5===SORRY!5===
Unrecognized regex metacharacter \ (must be quoted to match literally)
at <tmp>:1
------> 3 $/.elems if "I have a dream" ~~ / \w+ \7⏏5<EOL>
Unable to parse regex; couldn't find final '/'
at <tmp>:1
------> 3 $/.el…
comborico1611 say "Word count: ", $/.elems if "I have a dream" ~~ / \w+ / 00:50
evalable6 Word count: 0
comborico1611 Why no word count?
00:51 guifa joined
guifa Has anyone had much trouble with the syntax highlighter in Atom? It's having trouble with a regex and turning everything after it a single color 00:52
00:54 comborico1611 left
Herby_ guita, can you throw it up on gist? 00:54
00:58 vcv_ left
TEttinger Herby_: you may have meant guifa? 00:59
I've had similar issues before, but long ago
I think I used \C[APOSTROPHE] or something instead of ' 01:00
guifa gist.github.com/alabamenhu/81c6c2d...4ddb2b2f5e
TEttinger I think the \\ escapes the backslash, so the ' isn't escaped 01:01
not sure
may need some spaces if only to make Atom see it clearly 01:02
01:03 raynold joined
sacomo hi all 01:04
guifa Yeah that's what I was thinking. 01:08
Spaces didn't help. Only solution was to throw it in a variable
Which actually honestly a bit more readable, I just didn't know how common it was and if there was a good place to report minor issues like that 01:09
01:19 athenot joined 01:20 retupmoca left 01:22 athenot_ joined, retupmoca joined 01:25 athenot left
AlexDaniel m: say "Word count: ", +"I have a dream".comb(/ \w+ /) 01:27
camelia Word count: 4
AlexDaniel m: say "Word count: ", +"I have a dream".words
camelia Word count: 4
sacomo I am trying to confirm that an object that I pass around is the same version ever time it is used. Right now I am testing by doing something like this in the class: ENTER { say .WHERE }, this executes every time it is used, and is printing the same memory address every time. Is that a confirmation that this is the same version of the object?
moritz it is, but it's not reliable 01:28
use .WHICH for identity 01:29
sacomo ok, thanks
moritz a compacting GC can move objects around, which might lead to a changing .WHERE
sacomo ok
is there also any way to determine how many instances of a class exist in memory at a given time? 01:30
moritz only if the class counts 01:33
sacomo ok, I am testing with a state variable also, inside the ENTER {}. seems to work ok. 01:34
01:37 mcmillhj left 01:45 ilbot3 left 01:46 Zoffix joined
Zoffix guifa: Yeah, there are some bugs in the highligher. You can file the Issue here: github.com/perl6/atom-language-perl6 though I think our resident expert on that stuff is currently busy with More Important Things™, so it might take awhile before someone fixes it. 01:47
guifa: it's also the same highligher used by GitHub to highlight code samples, so if you got the know-how to fix it, that'd be awesome :) 01:48
guifa Zoffix: Sadly, probably out of my league. =\
Zoffix guifa: if you're well-versed with setting up your keyboard to type fancy Unicode, the '\\' construct is a lot more readable as 「\」 01:50
guifa That I am, actually. I'm doing a diplomatic edition of an old incunable so my keyboard is set to do some ... interesting things ha
Maybe I should make a perl6 keyboard layout ... that I could :-)
In the meantime I just used <!after $backslash> $open-brace ... which ended up looking better than any quoted / escaped options. 01:52
01:56 ilbot3 joined, ChanServ sets mode: +v ilbot3
Zoffix guifa: looks like the highligher doesn't know that adverbs on s/// can take args. You could workaround with method form of that operator: gist.github.com/zoffixznet/bc9f805...b188665ce2 01:56
guifa: and I filed an Issue: github.com/perl6/atom-language-perl6/issues/84 01:59
Zoffix flies away into the sunset, cape flapping in the wind
01:59 Zoffix left 02:20 araraloren joined, guifa left 02:24 kt_ left 02:52 khisanth__ left, skids left 03:03 eliasr left 03:04 khisanth__ joined 03:13 hobbified left 03:15 Chigger joined 03:20 Chigger left 03:26 hobbs joined, hobbs left, hobbs joined 03:36 Chigger joined 03:49 kurahaupo_ is now known as kurahaupo 03:53 Chigger left 04:02 khisanth__ left 04:05 AlexDaniel left 04:09 retupmoca left 04:11 Herby_ left 04:15 khisanth__ joined 04:24 irco left 04:59 khw left
Geth doc: e8d5cf7eb3 | 陈梓立++ | doc/Language/operators.pod6
Fix #1983

Though I don't know if we can replace `infix_%26%26` to `infix &&`.
synopsebot Link: doc.perl6.org/language/operators
doc: W4anD0eR96 self-assigned Convert 1-file docs to epub with TOC github.com/perl6/doc/issues/1981
b5d86a18fa | (JJ Merelo)++ | t/02-pod-valid.t
05:06 andrzejk_ joined 05:20 sauvin joined, athenot_ left 05:37 athenot joined 05:56 andrzejk_ left 06:04 wamba joined 06:19 jmerelo joined, andrzejk_ joined
06:22 sena_kun joined 06:27 [Sno] joined 06:29 sno left 06:31 Guest43854 joined 06:35 stee joined 06:36 stee3 left, wamba left
jmerelo Service unavailable in whateverable.6lang.org ... travis-ci.org/perl6/doc/jobs/373354420 06:40
Good morning
06:50 darutoko joined 06:57 troys left 06:58 Guest43854 left 07:01 dwarring left
jmerelo p6: say 'ðu' ~~ rx/.u/; say 'ðu' ~~ m/.u/; 07:02
camelia 「ðu」
jmerelo p6: say 'ðu' ~~ rx/.u/; say 'ðu' ~~ m/.u/; say 'ðu' ~~ /.u/; 07:12
camelia 「ðu」
jmerelo p6: my $r-var = '.u'; say 'ðu' ~~ rx/$r-var/; say 'ðu' ~~ m/$r-var/; say 'ðu' ~~ /$r-var/; 07:13
camelia Nil
jmerelo p6: my $r-var = m'.u'; say 'ðu' ~~ rx/$r-var/; say 'ðu' ~~ m/$r-var/; say 'ðu' ~~ /$r-var/; 07:14
camelia Use of uninitialized value of type Any in string context.
Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful.
in block <unit> at <tmp> line 1
jmerelo p6: my $r-var = rx'.u'; say 'ðu' ~~ rx/$r-var/; say 'ðu' ~~ m/$r-var/; say 'ðu' ~~ /$r-var/; 07:15
camelia 「ðu」
jmerelo p6: my $r-var = /.u/; say 'ðu' ~~ rx/$r-var/; say 'ðu' ~~ m/$r-var/; say 'ðu' ~~ /$r-var/; 07:17
camelia 「ðu」
07:41 parv joined 07:43 rindolf joined 07:47 domidumont joined
Geth doc: b86c6ee320 | (JJ Merelo)++ | doc/Language/faq.pod6
Adds FAQ on entering special characters closes #1850
synopsebot Link: doc.perl6.org/language/faq
07:53 domidumont left 07:54 domidumont joined
stmuk wow that was a long p6weekly 07:55
lizmat clickbaits p6weekly.wordpress.com/2018/04/30/...es-galore/ 07:59
yeah, I noticed :-)
08:01 robertle joined 08:03 aindilis` joined 08:04 aindilis left 08:14 scimon joined 08:27 wamba joined 08:31 molaf joined 08:44 andrzejk_ left 08:45 andrzejk_ joined 08:50 andrzejk_ left 08:55 andrzejk_ joined
moritz lizmat++ 08:57
Geth ¦ doc: W4anD0eR96 self-unassigned Convert 1-file docs to epub with TOC github.com/perl6/doc/issues/1981 09:11
09:17 andrzejk_ left, andrzejk_ joined 09:21 parv left 09:41 Woodi joined
Woodi hallo :) 09:41
Geth doc/master: 13 commits pushed by (Luca Ferrari)++
review: github.com/perl6/doc/compare/b86c6...b7432a73db
09:51 zakharyas joined
araraloren hi 09:52
09:52 Ven`` joined, Ven`` left 09:53 Ven`` joined
Geth doc: 01233ad35a | (Luca Ferrari)++ | README.md
POD -> Pod coherently with the rest of the readme.
jmerelo Woodi: hi! 09:55
10:02 Ven`` left, andrzejk_ left 10:03 Ven`` joined 10:06 eliasr joined 10:16 irco joined
hahainternet if i wanted to zip a list of numbers with hash keys, i can use Z but this truncates to the shortest length, i can use roundrobin, but this consumes the available keys then zips with nothing, i know in some hyper operator use they 'extend' the values indefinitely 10:21
is there a way to zip a list of numbers with hash keys in a way that will repeat hash keys in the output if there are enough #s?
Ulti do you have more keys than numbers and want to pad with some kind of undef or default value? 10:22
might just be worth padding the list of keys
hahainternet oh sorry Ulti i wanted to ideally repeat them 10:28
but it's more of a theoretical question, wondering if there's operator forms or variations i don't know 10:29
i can obviously take the keys list and make a list that's long enough
but i wondered if there was some fancy form :)
Ulti out of curiosity what is it you're doing? 10:32
jnthn m: my %h = a => 'x', b => 'c'; my @numbers = 1..10; dd (|%h.keys xx *) Z @numbers 10:33
camelia (("b", 1), ("a", 2), ("b", 3), ("a", 4), ("b", 5), ("a", 6), ("b", 7), ("a", 8), ("b", 9), ("a", 10)).Seq
10:33 epony left
jnthn m: my %h = a => 'x', b => 'c'; my @numbers = 1..10; dd %h.keys <<,<< @numbers 10:33
camelia (("a", 1), ("b", 2), ("a", 3), ("b", 4), ("a", 5), ("b", 6), ("a", 7), ("b", 8), ("a", 9), ("b", 10))
jnthn The latter ain't lazy, the first is 10:34
m: my %h = a => 'x', b => 'c'; my @numbers = 1..10; dd (|%h.keys, *) Z @numbers
camelia (("b", 1), ("a", 2), ("a", 3), ("a", 4), ("a", 5), ("a", 6), ("a", 7), ("a", 8), ("a", 9), ("a", 10)).Seq
Ulti xx * ooooo
thats neat 10:35
jnthn That also works (Z pays attention to * at the end and takes it to mean repeat)
oh, but it repeats the *last* element
So it's not what you want here :)
Ulti ah
jnthn Whereas the hyper form does seem to do the right thing, and the xx one too
10:36 rindolf left, andrzejk_ joined 10:37 epony joined 10:41 rindolf joined
Woodi jnthn: links to MoarVM releases are busted, eg: moarvm.org/releases/2018.04.tar.gz ; no 'MoarVM-' 10:42
10:42 markong joined
jnthn Woodi: Links from where? 10:44
hahainternet Ulti: it has no practical purpose, a friend in another channel was doing it in python
10:45 notbenh left
hahainternet and every time someone does something neat in python, i like to wonder how i could do that in perl 10:45
jnthn: tyvm that is indeed a better solution to python as usual :)
jnthn Welcome :)
Woodi: oh, releases page on the site...I see
hahainternet jnthn: i didn't realise you could hyper to , but it was that hyper behaviour i was familiar with, and the ability to 'repeat the last' and 'repeat the block' is equally a very useful tool 10:46
if i could remember the code for unicode thumbs up i'd type that a lot
10:57 epony left
lizmat 👍 11:00
(ready to copy-paste)
titsuki bisectable: my $a = 0; say do for ^10 { $a++; $a } 11:01
bisectable6 titsuki, On both starting points (old=2015.12 new=8cd70d1) the exit code is 0 and the output is identical as well
titsuki, Output on both points: «(10 10 10 10 10 10 10 10 10 10)␤»
jmerelo The whateverable.6lang.org site keeps returning "service unavailable" for a while... One of the two tests keeps erroring 11:02
titsuki bisectable: my $a = 0; say do for ^10 { $a++; $a.Int }
bisectable6 titsuki, On both starting points (old=2015.12 new=8cd70d1) the exit code is 0 and the output is identical as well
titsuki, Output on both points: «(1 2 3 4 5 6 7 8 9 10)␤»
jmerelo Just announced a mini-hackathon in Granada next Friday granada.pm/blog/squashathon/ 11:03
lizmat jmerelo++
jmerelo If you happen to be around, there will be lots of fun, stickers and beer (or your favorite $*BEVERAGE) with tapas.
squashable6: status 11:04
squashable6 jmerelo, ⚠🍕 Next SQUASHathon in 2 days and ≈22 hours (2018-05-05 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
jmerelo It's intended to start at the same time as that
buggable New CPAN upload: P5getpwnam-0.0.1.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.1.tar.gz 11:06
hahainternet lizmat: i've been trying to remember the codes for everyting that's not on Compose 11:07
but all i can remember is 􏿽xE2􏿽x84􏿽xA6 lol
lizmat has a MBP with a little touch screen above the keyboard :-)
💻 11:09
titsuki bisectable: my $a = 0; say gather for ^10 { $a++; take $a } 11:10
bisectable6 titsuki, On both starting points (old=2015.12 new=8cd70d1) the exit code is 0 and the output is identical as well
titsuki, Output on both points: «(1 2 3 4 5 6 7 8 9 10)␤»
El_Che lizmat: you're the first mbp user I met that liked the touch bar :) 11:12
lizmat El_Che: I must admit I don't use it much other than what I would normally do with function keys
but for emoji searching, it's really nice 11:13
And if I don't want to use it I can
^^ this was typed with the suggestions on the touch bar 11:14
El_Che most people grumble "where is my esc key" :)
lizmat it's still at the same place, but you can't feel it, that's true 11:15
11:16 kurahaupo left, kurahaupo_ joined
Ulti hahainternet: hmm Im not sure how you would do that easily in Python actually 11:25
unless zip has that behaviour by default and I never noticed
lizmat m: dd <a b c> Z <d e f>
camelia (("a", "d"), ("b", "e"), ("c", "f")).Seq
lizmat m: dd <a b c> Z, <d e f> # , is default for Z 11:26
camelia (("a", "d"), ("b", "e"), ("c", "f")).Seq
Ulti ???
evalable6 Stub code executed
in block <unit> at /tmp/dhHcvufSS2 line 1
Ulti uh oh what have I done 11:27
11:29 epony joined
lizmat Ulti: you type something that evalable6 thought was Perl 6 code and then executed it and told you the result 11:36
buggable New CPAN upload: P5getgrnam-0.0.1.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.1.tar.gz
Geth doc: 8f45c1caa3 | (JJ Merelo)++ | doc/Language/grammar_tutorial.pod6
Adds a mini-tutorial on grammar inheritance

With roles thrown in for good measure. That would close #1816
doc: deef7b455b | (JJ Merelo)++ | util/trigger-rebuild.txt
Triggers rebuild
synopsebot Link: doc.perl6.org/language/grammar_tutorial
11:42 andrzejk_ left
Geth doc: 6f170fc507 | 陈梓立++ (committed using GitHub Web editor) | README.zh.md
11:43 molaf left
Geth doc: 2437626325 | 陈梓立++ (committed using GitHub Web editor) | README.md
Update README.md
doc: 29be0e362f | 陈梓立++ (committed using GitHub Web editor) | README.zh.md
11:44 molaf joined 11:48 epony left 11:54 epony joined
hahainternet Util: there was no nice way that properly expressed intentions like there is in 6 11:54
11:55 MasterDuke left 12:02 molaf left 12:03 molaf joined
buggable New CPAN upload: Chart-Gnuplot-0.0.4.tar.gz by TITSUKI modules.perl6.org/dist/Chart::Gnupl...an:TITSUKI 12:06
12:13 epony left, epony joined 12:17 Actualeyes left, Actualeyes joined, wamba left
Util hahainternet: s/Util/Ulti/ ;^) 12:31
yoleaux 13 Apr 2018 16:22Z <Zoffix> Util: FWIW, there's irc.p6c.org for IRC users if you don't to be dropped any time hack hangs
hahainternet Util: my apologies you similarly nicked person :)
Util hahainternet: No problem, has happened before. Half of why I spoke was to signal Ulti if he missed out being alerted to your message. 12:33
hahainternet it happens to me on a few sites a lot as i have two or three letter nicks 12:34
and so perl lists named that way function as an @at for me :(
Util Ouch!
12:36 lizmat left 12:41 mcmillhj joined
Ulti yeah I like reading what people try and mention Util for :D 12:42
I'd change if it wasnt for having had this nick since the dawn of time
jmerelo .tell Zoffix there's some problem with builds; I'm using trigger-rebuild to do it to no avail.
yoleaux jmerelo: I'll pass your message to Zoffix.
12:43 AlexDaniel joined
jmerelo AlexDaniel: hi o/ 12:44
[Coke] "some problem"?
AlexDaniel hello :)
[Coke] if you're trying to get new versions of packages installed, you have to do it on the server itself. Is that what the issue is?
12:44 Zoffix joined
jmerelo [Coke]: Can't tell from logs. They simply stopped yesterday. 12:44
Zoffix jmerelo: what sort of problem?>
jmerelo [Coke]: shouldn't adding spaces to trigger-rebuild be enough?
Zoffix Also triggers rebuild, and bumps up the bigpage version to the one 12:45
that includes this fix
jmerelo Zoffix: it's stopped building, and adding spaces to util/trigger-rebuild does not, well, trigger any rebuild...
Zoffix jmerelo: the "bumps up the bigpage version"... Did anyone actually upgrade the module on the server?
jmerelo Zoffix: yep, I did 12:46
Zoffix jmerelo: and you upgraded it in rakudobrew user?
jmerelo Zoffix: I had no idea I had to do that... Or how that's done. 12:47
12:47 windyhouse joined
Zoffix jmerelo: what user did you upgraded it as? (I'm assuming "yep, I did" refers to upgrading the module on hack, right?:) 12:47
Still 0.3.2 installed 12:48
Zoffix upgrades
jmerelo I bumped up the version in META6.json in github.com/perl6/perl6-pod-to-bigpage, bumped up in dependencies in perl6/doc, trigger rebuild...
12:48 andrzejk_ joined
jmerelo Zoffix: I don't have an user there. I tought that editing util/trigger-rebuild was enough. 12:48
12:49 kurahaupo joined
mcmillhj I have been trying to wrap my head around why this junction doesn't function the same as a loop: gist.github.com/mcmillhj/f66fa2bd4...ca0f55068d Any thoughts? 12:49
[Coke] jmerelo: none of those things upgrades the installed module on the server.
Zoffix jmerelo: right, that won't upgrade it on the server, as the build uses server-wide install of perl6 and one of the admins github.com/perl6/infrastructure-do...nistration has to upgrade it (using rakudobrew user). You could figure out how to make the doc build use its own installation and be upgradable through meta file changes or ask moritz if you could have access
to rakudobrew user on hack to do upgrades yourself.
mcmillhj I can also post to StackOverflow for posterity 12:50
[Coke] Zoffix: I'm on that box now. want me to trigger the module update?
12:50 kurahaupo left
jmerelo mcmillhj: please do. 12:50
[Coke]: yes, please.
12:50 kurahaupo joined
[Coke] jmerelo: making sure I'm not stepping on zoffix's toes. 12:50
Zoffix jmerelo: if you go the META file route, note that zef doesn't immediatelly know about new versions. There can be an ~15m delay until zef knows about new version, so you'd need to use `zef install URL-to-repo.git` 12:51
[Coke]: I updated the module
[Coke] Zoffix++
12:51 kurahaupo_ left
jmerelo Zoffix: that's not complicated to figure out, just create a humongous lib/ dir would do. But it's kind of big. If you think I need access to that server, just priv me up. 12:52
[Coke] probably wouldn't hurt to add a note about module upgrades here: github.com/perl6/infrastructure-do...rg-rebuild
Geth doc: fc2d84d550 | (Zoffix Znet)++ (committed using GitHub Web editor) | util/trigger-rebuild.txt
Update trigger-rebuild.txt
jmerelo Version changes do not happen so often...
Zoffix jmerelo: and if you go the module upgrade route, note that you also need to run `rakudobrew rehash` to update binaries shim (and there's a binary included in Pod::To::BigPage)
jmerelo Zoffix: but wait. So why is trigger-rebuild needed then? 12:53
Zoffix jmerelo: I don't think I have the authority to give sudo access to non-CLA-signed devs... Talk to moritz. It's his box.
12:53 andrzejk_ left
[Coke] if you're on the box, you can also use the force-update trick at the infra doc URL above. 12:53
Zoffix jmerelo: because updates of the site happen only on new commits (or if you `touch` some trigger file on server) and since there weren't any new commits since last (failed) update, I had to trigger the build again 12:54
[Coke] but either the trigger or force-update forces it to run asap, as opposed to whenever the next commit occurs
[Coke] stops talking and just lets zoffix handle it. :)
jmerelo [Coke]: let me see if I understand this correctly. 12:55
Zoffix stops talking and let [Coke] handle it
12:55 Zoffix left
jmerelo You can either edit trigger-update or dome some other magic to trigger updates, but only if you are user in the box, is that correct? 12:56
[Coke] Yes.
jmerelo That means that I can edit util/trigger-update as much as I want, it's going to do zip.
(I mean, *I* as in some random guy with no access to the box)
El_Che Zi Zeñor 12:57
[Coke] ... no, it means that if you touch it, a rebuild will happen.
jmerelo [Coke]: well it didn't
[Coke] but that rebuild has nothing to do with the modules installed on the box.
just like if you did a build locally, touching meta6.json doesn't install new versions of modules.
jmerelo [Coke]: what does it rebuild then? 12:58
modules for some random box user that gets triggered when a push is made to master?
[Coke]: which probably means that some modules might be available for actually doing the build, but not serving the pages. Is that correct? 12:59
12:59 lizmat joined
jmerelo so trigger-rebuild rebuilds for the build server, but not the serving-server. that's a global thing, and I need to call the superuser on watch. 13:00
13:00 Zoffix joined
Zoffix jmerelo: there's a cronjob that runs every 5 minutes. It runs this script: github.com/perl6/doc/blob/master/u...e-and-sync 13:01
jmerelo: the script runs htmlify.p6 and syncs generated HTML pages to the live site
jmerelo Zoffix: OK. But not pod2onepage, I guess.
Zoffix jmerelo: this portion makes that shell script run htmlify.p6 only if new commits happened (or force-update file exists): github.com/perl6/doc/blob/master/u...nc#L12-L18 13:02
jmerelo: and pod2onepage too
jmerelo: so the trigger-rebuilt commit is just a way to create a new commit to make this portion think there's something new in the site and the site needs to be re-generated: github.com/perl6/doc/blob/master/u...nc#L12-L18
That's it.
And just as you can sit and run htmlify.p6 on your box a thousand times, no modules will be installed. 13:03
jmerelo Zoffix: OK, thanks... Anyway, I need someone to upgrade Pod::To::OneBigPage on the server.
Zoffix Same on the build server. Triggering a rebuild, just triggers htmlify.p6 (and whatever else is needed to generate HTML website). It doesn't deal with support infrastructure, like updating modules.
jmerelo: I did that before triggering the rebuild.
It's now on 0.3.3 13:04
jmerelo Zoffix: There are many pushes since yesterday, and still, a single build log. For instance, this one 5 hours ago github.com/perl6/doc/commit/b86c6e...f292130040 13:05
But still last build log docs.perl6.org/build-log/ is stuck at 16:22 yesterday. (don't know the TZ, but still, it was like that this morning) 13:06
Zoffix zoffix@hack:~$ date
Tue May 1 13:06:16 UTC 2018
13:07 Ven`` left
jmerelo Zoffix: last build was 21 hours ago... right about when I did this commit github.com/perl6/doc/commit/82121e...b5bd2fe421 13:07
Zoffix: so maybe it failed because the 0.3.3 version was not available? 13:08
Zoffix Right, but it's supposed to sync failed build logs 13:09
jmerelo Zoffix: right... 13:10
I'm leaving for now. Will be back in 2 hours...
jmerelo heeds the call of his sofa who's crying "Siesta"
13:11 jmerelo left
Zoffix Must be nice to have culturally-approved daytime naps 13:12
Geth doc: a822a6de23 | (Will "Coke" Coleda)++ | README.it.md
doc: 58277733f8 | (Will "Coke" Coleda)++ | xt/aspell.t
ignore non english doc
doc: 9e8a5eb2ee | (Zoffix Znet)++ (committed using GitHub Web editor) | util/trigger-rebuild.txt
Update trigger-rebuild.txt
13:27 domidumont left, zod_ joined 13:28 domidumont joined 13:30 windyhouses joined 13:31 skids joined, windyhouse left
Geth doc: 6f3db2eecf | (Zoffix Znet)++ (committed using GitHub Web editor) | Makefile
Fix hang with pod2onepage
13:40 retupmoca joined
Geth doc: 7a12dc0fa0 | (Zoffix Znet)++ (committed using GitHub Web editor) | util/trigger-rebuild.txt
Write down a copy-pasteable way to trigger a build on box
Zoffix .tell jmerelo so what happened is the pod2bigpage script hangs with --threads option. It hung on the build box and the build just sat there waiting for it (real1078m12.091s). So that's why there were no updated build logs. I reverted the change that added the --threads option to fix the build. To debug the hang, you can just run it locally as `pod2onepage --threads=2 --html -v --source-path=./doc 13:41
yoleaux Zoffix: I'll pass your message to jmerelo.
Zoffix --exclude=404.pod6,/.git` Hangs with --threads option after outputting CSS/ doesn't hang without it. 13:42
.tell The command broke up between lines. It's pod2onepage --threads=2 --html -v --source-path=./doc --exclude=404.pod6,/.git Hangs with --threads option after outputting CSS/ doesn't hang without it.
yoleaux Zoffix: I'll pass your message to The.
Zoffix .tell jmerelo The command broke up between lines. It's pod2onepage --threads=2 --html -v --source-path=./doc --exclude=404.pod6,/.git Hangs with --threads option after outputting CSS/ doesn't hang without it. 13:43
yoleaux Zoffix: I'll pass your message to jmerelo.
13:43 Zoffix is now known as The, The is now known as Zoffix
buggable New CPAN upload: P5getgrnam-0.0.2.tar.gz by ELIZABETH modules.perl6.org/dist/P5getgrnam:cpan:ELIZABETH 13:46
[Coke] Zoffix++ 13:48
13:51 sena_kun left 13:52 sena_kun joined 13:53 Zoffix left 14:00 zakharyas left, zakharyas joined
zod_ should ruby programmers move to perl6? 14:01
14:03 apathor joined, comborico1611 joined
xq this page is really nice alerts.perl6.org/ 14:03
I wish it was updated more often 14:04
14:04 lizmat left
jnthn xq: Given it's purpose is to report potential breakages that could impact people's code, I think we'd all like it to be quite rarely updated. ;-) 14:05
14:05 zakharyas left
xq hmm 14:05
jnthn xq: If you're looking for general Perl 6 news, see the Perl 6 Weekly, if you don't already read it :)
Ulti zod_: depends why they want to move and what they are relying on ruby for 14:06
buggable New CPAN upload: P5built-ins-0.0.13.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/....13.tar.gz
14:07 davercc joined
xq jnthn p6weekly.wordpress.com ? 14:07
jnthn xq: That's the one
Ulti yeah
there is also the sub reddit thats relatively good at keeping up 14:08
xq I am trying to subscribe to its rss feed but everytime I scroll to the bottom of that page to click it, the page auto-loads more posts and the rss link escapes
10/10 usability
Voldenet zod_: everyone should move to perl6
14:08 retupmoca left 14:09 pilne left
jnthn zod_: I don't think blanket statements of "language X users should move to language Y" ever make sense, since everyone's situation will be different. It's probably fair to say that Ruby programmers might want to give Perl 6 a look, though. :) 14:10
14:11 andrzejk_ joined 14:14 Zoffix joined 14:15 retupmoca joined
Geth doc: c3d66be58a | (Will "Coke" Coleda)++ | xt/trailing-whitespace.t
OK to check makefile for trailing space
Zoffix xq: here's the URL: p6weekly.wordpress.com/feed/ Alternatively, you could sub to pl6anet.org/atom.xml which includes the Weekly and a bunch of other Perl 6 blogs. As for alerts.perl6.org, they're meant for "emergency alerts"; basically anything the users can examine to see whether they might encounter any issues when upgrading:
xq thanks Zoffix I will use the atom link
Zoffix Filed the problem as github.com/perl6/user-experience/issues/21 14:18
.tell lizmat If you have any Wordpress theming experience: looks like it's hard to reach RSS feeds for the Weekly: github.com/perl6/user-experience/issues/21
yoleaux Zoffix: I'll pass your message to lizmat.
Zoffix zod_: we have "Perl 6 from Ruby Nutshell" docs: docs.perl6.org/language/rb-nutshell As for "moving": I tried learning Ruby after learning Perl 6 and was annoyed by it, so from that I'd surmise Ruby devs might find Perl 6 enjoyable :) 14:22
14:34 troys joined, lizmat joined 14:35 lizmat_ joined, lizmat left 14:39 Zoffix left 14:41 andrzejk_ left 14:42 silug joined 14:45 lizmat_ left 14:47 davercc left
zod_ how are the employment opportunities for perl6? 14:55
14:55 Zoffix joined
Zoffix zod_: well, the language first got released only 2 years ago, so I imagine unless you get to choose your own tech to use, not many. 14:56
I choose my own tech, but even then, lots of sites/programs we got are older than 2 years, and we're not gonna spend the resources to rewrite them into Perl 6 even if it'd be nicer to have them in Perl 6. 14:57
Which is also why the "Language X devs should move to language Y" statements are a bit weird. It's often a mix of many languages. 14:59
(unless you want to be cool and popular and use only the trendiest lang and most fashionable JS framework of the week :P)
[Coke] Zoffix: which is rakudo-js, of course. 15:00
Zoffix :D
15:03 Ven`` joined 15:06 Ven`` left 15:16 jmerelo joined 15:18 molaf left
Voldenet it's not true that js devs JS are changing the framework every week 15:22
they change it every month though
15:22 molaf joined
Voldenet rewriting lines on the fly never works well 15:22
15:24 domidumont left
xq is perl6 reference documentation autogenerated? i.e. this page and others docs.perl6.org/type/Hash 15:25
timotimo github.com/perl6/doc/blob/master/d.../Hash.pod6 - check the source for that site
15:26 lizmat joined
xq I am curious about how the list of methods on the left is generated 15:26
"Routines supplied by class Map" 15:27
Voldenet xq: it is
xq and down
Zoffix xq: that part is autogenetated
xq is this a pod6 feature?
Zoffix xq: no
15:27 sena_kun left
xq p6doc genertes it? 15:29
Voldenet github.com/perl6/doc/blob/master/h...fy.p6#L382 15:30
I think this generates it
15:30 domidumont joined
xq umm 15:32
jmerelo xq: right, it's generated by htmlify.p6 as Voldenet says.
yoleaux 13:41Z <Zoffix> jmerelo: so what happened is the pod2bigpage script hangs with --threads option. It hung on the build box and the build just sat there waiting for it (real1078m12.091s). So that's why there were no updated build logs. I reverted the change that added the --threads option to fix the build. To debug the hang, you can just run it locally as `pod2onepage --threads=2 --html -v --source-path=./doc
13:43Z <Zoffix> jmerelo: The command broke up between lines. It's pod2onepage --threads=2 --html -v --source-path=./doc --exclude=404.pod6,/.git Hangs with --threads option after outputting CSS/ doesn't hang without it.
xq so is this thing reusable for a project?
jmerelo Zoffix: I saw your change. Thanks.
15:33 robertle left
xq i.e. if I write something in perl6, document it in pod6, will I be able to generate a documentation like this? 15:33
or is this just a private docs.perl6.org specific script?
15:33 robertle joined
jmerelo xq: it's kind of jury-rigged for perl6/doc. It would be nice if that were the case... It's not private, but there are many things that are specific, and there's no easy way to configure it. 15:33
xq I see 15:34
thanks, jmerelo
jmerelo xq: it's not even easy to configure it for perl6/doc itself...
xq: depending on what you want to do, you might use Pod::To::Html
15:34 zakharyas joined
jmerelo xq: and there's a Pod::Htmlify in there. 15:34
But the specific part of including all classes up to the one being documented, that's in htmlify.p6 15:35
xq that's a useful feature
very, very useful
jmerelo xq: please write an issue telling just that and we'll keep it there to see if we get the time or resources to do wo. 15:36
15:40 jdoege joined 15:41 jdoege left, jdoege joined 15:42 araraloren left, wamba joined
jdoege Good day, all! Question: Is there a way to have perl6(rakudo) execute some code and then drop you into the REPL? 15:44
15:44 natrys joined
jdoege Also, maybe for jnthn, is there knowledge of if the Comma Supporter Program is going to be available today? #TakeMyMoneyPlease 15:46
[Coke] jdoege: that's an excellent question, I think there must be, but I don't know the invocation off the top of my head. 15:47
moritz maybe ask on stackoverflow?
jmerelo moritz++
timotimo probably something in Perl6::Compiler, perhaps derived from HLL::Compiler
jdoege It's something I do with Python to provide tools that use the Python REPL as the interface. I'd like to do the same with Perl6. 15:48
moritz: I'll ask on Stack Overflow.
jmerelo jdoege: Perl 5 does have Devel::Trace too, which does more or less the same. 15:49
jdoege I understand the value, but this has been a friendlier venue. :-)
[Coke] I would have guessed Perl6::Compiler.new.interactive ; but that isn't right. 15:50
jmerelo jdoege: StackOverflow is unwelcoming sometimes... But you can always ask there and post the question here. You'll get the best of both worlds.
15:52 zod_ left
Zoffix jdoege: are you the same person who was asking about that a couple days ago? 15:52
ktown re StackOverflow, if you know the answer it's easier to ask the right question
15:52 andrzejk_ joined
Zoffix jdoege: (i.e. do you know about the nqp::getcomp option?) 15:53
jdoege Zoffix: No I am not. This is the first time I am asking.
Zoffix jdoege: ah, it was asked a few days ago there are a couple of options mentioned: irclog.perlgeek.de/perl6/2018-04-28#i_16105200 15:54
Notably, using `nqp::getcomp("perl6").interactive` which is an unsupported low-level op. Or spawning another `perl6` with `run $*EXECUTABLE`
jdoege Zoffix: I'll look into that. Thanks. I'll still ask on SO so others can find the answer and I'll answer my own question if I figure it out.
Zoffix unsupported = it can change at any time and devs don't guarantee it won't change without notice. 15:55
.oO( double negative... )
well, I mean unlike the actual language, it might change without notice :) 15:56
jdoege: what do you need this for? Maybe it can be offered as a proper feature 15:57
jdoege Zoffix: :-( It's a really useful feature. It would be great to make it part of the Rakudo spec. Is there a way to suggest that? A command line flag is the easiest way to access this functionality (apart from mandating a call to exit at the end of source which probably isn't desireable.)
Zoffix jdoege: oh, do you mean you want to just execute some code from STDIN?
15:58 andrzejk_ left
jdoege Zoffix: I need it for the following: I write a tool but don't want to make a user interface so I just dump the user into the REPL and let them use Rakudo and all the power of Perl6 as an interface. 15:58
[Coke] I don't think it needs to be part of the language, but it would make a great debugger module.
(and that module right now is that npq command)
Zoffix jdoege: ah, ok. I was gonna suggest `--repl-mode=non-interactive` option, but that's just for evaling code from STDIN 15:59
jdoege Zoffix: I do this with Python, now, and it is really useful.
[Coke] note that scoping is going to make any variable introspection... wonky.
e.g. perl6 -Mnqp -e '{ my $a = 234; nqp::getcomp("perl6").interactive}' # you can't get at $a easily here in the spawned REPL
jdoege Coke: yeah, that would be problematic. 16:00
timotimo in general the repl wants a little bit of a rethink, i believe 16:01
the way we currently handle adding more code is ... pretty bad
16:03 zakharyas left 16:04 mcmillhj left
jmerelo jdoege: how does Python do it? Maybe what you want is something like Linenoise, the library used there. 16:06