»ö« 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. |
|||
Zoffix | hm, for some reason it stopped working. I run `resume` and it doesn't break at the breakpoint | 00:00 | |
00:00
mcmillhj joined
|
|||
Zoffix | 1) start the script; 2) start moar-remote; 3) type `assume thread 1`; 4) type `breakpoint "src/Perl6/World.nqp" 4240 1 1`; 5) type resume | 00:01 | |
Ah, it was a blank line in the code; I guess it gets eliminated | 00:02 | ||
timotimo | yeah, there's a missing feature | ||
since we lazily deserialize frames and such, we don't immediately know what lines are even there to begin with | 00:03 | ||
so currently we just accept anything the user throws at us | |||
Zoffix | still says lexicals 0; gonna try with --optimize=off... That's for rakudo, not MoarVM, right? | ||
timotimo | what we'll want to have is a way to figure out if setting a breakpoint on a given line that's a "hole" would want the previous or the next line, because it could be right on a routine boundary for example | ||
that's for rakudo, yes | |||
that should disable lexical-to-local lowering | 00:04 | ||
in the future we'll be able to inspect locals, too, but that's a bit tricky | |||
since at the time we're past the compiler, the names will have gone, and we'll have one register potentially storing the values for different local variables at different points in the bytecode | |||
that'll be a bit of design work | |||
anyway, yeah :) | 00:05 | ||
00:05
mcmillhj left
00:07
vcv joined
|
|||
timotimo | oh, be warned: stepping is currently ... underimplemented | 00:10 | |
only "step into" actually does anything, and backtraces have super weird line numbers more than half the time | |||
thankfully, "step into" is also what it does when you just "step" | 00:11 | ||
00:13
skids joined
|
|||
Zoffix | Well, it still says no lexicals. And all lexicals says "Frame 0" is can_has_coercers, which is the method I got my variable's at: gist.github.com/zoffixznet/ed56853...-p6-p6-L23 | 00:13 | |
But I don't see it anywhere in all lexicals: gist.github.com/zoffixznet/2bf444e...73c2498960 | |||
00:14
mcmillhj joined
|
|||
timotimo | hm, perhaps the $/ in number 213 is good enough? | 00:14 | |
since it'd mostly have parts of itself passed down to other action methods? | 00:15 | ||
i do agree this sucks, though | |||
i was close to implementing getting the arguments to any frame, but man our argument passing code is weird and i am too flu'd up to do well at this | |||
Zoffix | Ah right | ||
I'm sick now too. I think I caught it from you!! | 00:16 | ||
:) | |||
timotimo | nnnoooooooooo | ||
was it because you forked my code? :< | |||
isn't this how bacteria spreads? by forking themselves? | |||
skids | .oO(why I so rarely go to cons) |
00:17 | |
timotimo | not actually sure whether i have a flu or a cold or whatever | ||
i.e. bacterial or viral. none of this matters right now! | |||
Zoffix | timotimo: "once you have an object you're interested in". How do I get it? What's between `all lexicals` and `metadata` commands? | 00:18 | |
00:19
mcmillhj left
|
|||
Zoffix | Ah, the handle | 00:19 | |
00:19
comborico1611 left,
markong left
|
|||
Zoffix | hahaha "p6opaque_ass_delegate" | 00:19 | |
and "p6opaque_body_replaced" | 00:20 | ||
Do I want the ass or the body? ^_^ | |||
skids | I hereby delegate my ass to... | ||
Zoffix | Well, metadata gave me stuff, but I don't know what's next: gist.github.com/zoffixznet/99bf8de...f54dd0ed37 | 00:21 | |
timotimo | you'll want "attributes 425" | 00:22 | |
the words that show up in the features field are also commands you can use on handles | |||
Zoffix | timotimo: what's next? gist.github.com/zoffixznet/9a028cb...9efef80d2a | 00:23 | |
timotimo | looks like you want 430 and 431, the first one will let you "positionals", the second one will let you "associatives" | 00:24 | |
Zoffix | Or is that it? It's an empty array which is why it was giving me null before? But then I don't get how that .dump turned up :/ | ||
Oh, wait we're dumping $/, not $target-el | 00:25 | ||
timotimo | here's where i'd love to tell you you can "reverse-cont", but time-travelling debugging is really not easy | ||
Zoffix | wait, it's working!! :D | 00:26 | |
timotimo | YES! /o\ | ||
00:28
mcmillhj joined
|
|||
timotimo | if you do stuff with the debugger in the future, please be aware that having a handle on something will cause that object to be kept alive until the handle is released | 00:28 | |
releasing lots of handles is of course currently totally awkward :P | |||
unless you "release all keep 1 2 3 4" (which only refers to the last command that gave you handles) | 00:29 | ||
Zoffix | Ohhhhhh. Now I freaking get it | 00:31 | |
It's a <colonpair> with an empty key, | |||
timotimo | this is potentially the first bug that really got nailed with the debug remote | ||
Zoffix | :D | 00:32 | |
timotimo | i might already be asleep when celebration commences | ||
00:33
mcmillhj left
|
|||
Zoffix recompiles to see if the debugger was right :) | 00:33 | ||
00:33
dugdig joined
|
|||
timotimo | the big strength of the debug remote will be that it'll reduce re-compile cycles to hopefully about 10% or something :D | 00:36 | |
Zoffix | uhh, nope. I think I added a `[0]` that shouldn't be there | 00:38 | |
Zoffix re-tries | |||
Herby_ | timotimo: that's awesome :) | 00:40 | |
Zoffix | oh, I may have misread the debugger... Re-reading the session and I don't see where I got the empty key from :P | ||
timotimo | oh no :< | 00:41 | |
00:42
mcmillhj joined
00:47
mcmillhj left,
athenot left
|
|||
timotimo | sloop time | 00:49 | |
00:57
vcv left
00:58
zachk left,
mcmillhj joined,
pharv left
00:59
pharv joined
01:03
pharv left,
mcmillhj left
|
|||
Zoffix | .tell timotimo I followed the debugger's trace and got the code to work :) Success! | 01:05 | |
yoleaux | Zoffix: I'll pass your message to timotimo. | ||
01:11
albongo left
01:14
mcmillhj joined
01:19
mcmillhj left
01:38
undersightable6 joined
01:41
mcmillhj joined
01:45
mcmillhj left
01:47
ilbot3 left
01:49
pharv joined
01:54
pharv left
01:56
ilbot3 joined,
ChanServ sets mode: +v ilbot3
01:57
mcmillhj joined
02:00
aa_ joined
|
|||
aa_ | hello anybody here | 02:01 | |
SmokeMachine | m: use Test; is now.Int - 37, time # why now is 37 seconds greater then time? | ||
camelia | ok 1 - | ||
02:02
aa_ left,
mcmillhj left
02:07
mcmillhj joined
|
|||
geekosaur | o.O | 02:08 | |
02:12
notostraca is now known as TEttinger,
mcmillhj left
|
|||
[Coke] | leap seconds? | 02:20 | |
skids | ehhhh.... now that's.... strange? | 02:26 | |
[Coke] | en.wikipedia.org/wiki/Leap_second - look at Current TAI − UTC | ||
skids | Oh. | 02:27 | |
[Coke] | still weird and I'm guessing needs more docs. :) | ||
02:27
mcmillhj joined
|
|||
SmokeMachine | shouldn't it be 1 second? | 02:27 | |
hum!!! 37 leap seconds! | 02:28 | ||
02:33
mcmillhj left
|
|||
Geth | doc: 272759f786 | (Zoffix Znet)++ | doc/Language/terms.pod6 Point out leap sec diff between `now` and `time` |
02:35 | |
synopsebot | Link: doc.perl6.org/language/terms | ||
02:37
quotable6 joined
02:38
kurahaupo left
02:40
mcmillhj joined
02:45
mcmillhj left
|
|||
skids wonders if there is a name for the time interval between leap seconds akin to "age"/"era" | 02:45 | ||
could be a fun "geek code a" extension... "what leap second were you born under"? | 02:51 | ||
[Coke] | I was born before leap seconds. :| | 02:53 | |
02:56
mcmillhj joined
02:57
ufobat___ joined
|
|||
skids | Well, TAI started with 10 retroactive seconds embedded... before even those? | 02:59 | |
03:00
mr_ron left
03:01
mcmillhj left,
ufobat_ left
03:12
mcmillhj joined,
eliasr left
|
|||
SmokeMachine | do you guys thinks this (github.com/FCO/test-time) make any sense? | 03:14 | |
s/thinks/think/ | |||
03:17
mcmillhj left
03:18
mr_ron joined
03:22
mcmillhj joined
03:27
mcmillhj left
|
|||
skids | Could be useful. Do we currently have any tests that have the VM lie about time? | 03:29 | |
SmokeMachine | Not that I know... but I have a module test flopping because sleep some times waits to much... so I thought to use something like this... | 03:31 | |
03:33
mcmillhj joined
03:37
mcmillhj left
03:44
kybr left
03:47
mcmillhj joined
03:52
mcmillhj left
03:56
skids left
04:03
mcmillhj joined
04:07
mr_ron left
04:08
wamba joined,
mcmillhj left
04:11
tt left
04:16
mcmillhj joined
04:17
khw left
04:19
Actualeyes joined
04:20
mcmillhj left
|
|||
Herby_ | beginner question... | 04:31 | |
04:31
dct joined
|
|||
Herby_ | github.com/nxadm/rakudo-pkg/blob/m.../README.md | 04:32 | |
half way down the page it talks about adding perl6/rakudo to a .travis.yml file | |||
at a highlevel, what is the purpose of that .travis.yml file? | |||
04:32
mcmillhj joined
04:37
mcmillhj left
04:42
herby__ joined,
herby__ left
04:48
mcmillhj joined
04:53
mcmillhj left
05:03
mcmillhj joined
05:04
jmerelo joined
|
|||
Herby_ | disregard the question above :) | 05:07 | |
jmerelo | Herby_: I'm going to do a pull request anyway to make clear it's for continuous integration using Travis (and other CI systems that use it too) | 05:08 | |
05:09
mcmillhj left,
dct left
|
|||
Herby_ | jmerelo: thanks! | 05:10 | |
05:10
sauvin joined
05:11
aindilis left
05:15
mcmillhj joined
|
|||
jmerelo | Herby_: What documentation did you check for the profiler? (from irclog.perlgeek.de/perl6/2018-04-11#i_16032533) | 05:19 | |
05:20
mcmillhj left
|
|||
Herby_ | jmerelo: the "profile locally" section on this page docs.perl6.org/language/performance | 05:20 | |
I was thinking that a "the most basic example of how to profile" might be useful for beginners that stumble upon it | 05:21 | ||
i initially saw all that sql stuff and my eyes glazed over | |||
but its likely not a problem for non-novices | |||
jmerelo | Herby_: can you please write an issue for that? We'll try to fix it. | ||
Herby_: well, nowadays with NoSQL and everything not everyone knows sql... | 05:22 | ||
Herby_: This line "To learn how to interpret the profile info, use the prof-m: your code goes here evalbot (explained above) and ask questions on the channel." is kinda "Leave interpretation to the adults, don't even try..." | 05:23 | ||
Herby_: so please create an issue in perl6/doc | |||
github.com/perl6/doc/issues | |||
Herby_ | jmerelo: will do. I'm still a bit new to contributing to open source but tomorrow I will see if I can create a simple example of how to profile locally, and I will submit an issue for that blurb you mentioned | 05:24 | |
I'm off to bed | |||
jmerelo | Herby_: Thanks! | 05:25 | |
Herby_ | i'll idle in the channel, so if there are any other low-hanging fruit you'd like to be try and resolve, just let me know :) | ||
o/ | |||
jmerelo | Herby_: thanks again :-) | ||
See you tomorrow | 05:26 | ||
05:26
mcmillhj joined
05:31
mcmillhj left
05:34
robertle left,
wamba left
05:45
mcmillhj joined
05:50
mcmillhj left
06:02
wamba joined
06:04
mcmillhj joined,
brrt joined
06:09
mcmillhj left
06:12
HaraldJoerg joined
06:13
espadrine_ left
06:15
mcmillhj joined
06:19
mcmillhj left
06:21
robertle joined
06:22
aindilis joined
06:28
tyil joined
06:29
mcmillhj joined
|
|||
jmerelo | tyil: your PR to linguist is on github.com/github/linguist/pull/4083 | 06:30 | |
tyil | jmerelo: thanks for the headsup | ||
I just woke up though (about 5 minutes ago) | |||
jmerelo | tyil: I don't know what's left there. Everything seems to be OK. You're probably aware of this github.com/github/linguist/pull/33...-380467950 | 06:31 | |
tyil | I was aware of the PR, not of the latest comments | 06:32 | |
06:34
mcmillhj left
|
|||
jmerelo asks everyone to StackOverflow it! blogs.perl.org/users/jj_merelo/2018...-that.html | 06:34 | ||
tyil | jmerelo++ | 06:35 | |
06:37
brrt left
06:38
brrt joined,
AlexDaniel left
06:40
domidumont joined
06:41
darutoko joined
06:42
mcmillhj joined
06:45
rindolf joined
06:47
domidumont left,
mcmillhj left,
mr_ron joined
06:48
domidumont joined
|
|||
AlexDaniel` | weekly: > * jmerelo (IRC) asks everyone to StackOverflow it! blogs.perl.org/users/jj_merelo/2018...-that.html | 06:54 | |
notable6 | AlexDaniel`, Noted! | ||
06:57
mcmillhj joined
07:02
mcmillhj left
07:04
|oLa| joined
07:09
mcmillhj joined
07:14
mcmillhj left
|
|||
Geth | doc: 44eebac07c | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/modules.pod6 Remove incorrect information about deprecation of p6c Missed during review of the original PR github.com/perl6/doc/pull/1647 |
07:18 | |
synopsebot | Link: doc.perl6.org/language/modules | ||
07:19
domidumont left
07:20
domidumont joined
07:21
domidumont1 joined
07:22
mcmillhj joined
07:23
imcsk8_ is now known as imcsk8
07:24
domidumont1 left,
domidumont left,
imcsk8 left,
imcsk8 joined
07:25
domidumont joined
07:27
mcmillhj left,
pharv joined
07:32
pharv left
|
|||
Geth | doc: c28d37b262 | (JJ Merelo)++ | doc/Language/modules.pod6 Adds .pod6 to the list of extensions, closes #1919 |
07:33 | |
synopsebot | Link: doc.perl6.org/language/modules | ||
07:37
mcmillhj joined
07:40
dakkar joined
07:42
mcmillhj left
07:50
AlexDaniel joined
07:51
ufobat___ is now known as ufobat
07:52
mcmillhj joined
|
|||
ufobat | is this supposed to work: glot.io/snippets/f01j72rq12 (It's an Inline::Perl5 question) | 07:52 | |
07:54
scimon joined
|
|||
moritz | ufobat: maybe related to github.com/niner/Inline-Perl5/issues/102 ? | 07:55 | |
07:56
zakharyas joined,
araujo left,
mcmillhj left
|
|||
ufobat | *Shrug* | 07:57 | |
moritz shrugs back | 07:59 | ||
08:05
xinming_ joined
08:08
mcmillhj joined,
xinming left
08:13
mcmillhj left
08:23
kurahaupo joined
08:27
mcmillhj joined
08:29
Zoffix left
08:32
mcmillhj left
08:34
wamba left
08:38
wamba joined
08:44
mcmillhj joined
|
|||
buggable | New CPAN upload: P5lc-0.0.3.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.3.tar.gz | 08:44 | |
08:49
mcmillhj left
08:53
vike left
08:54
mcmillhj joined
|
|||
buggable | New CPAN upload: P5lcfirst-0.0.4.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.4.tar.gz | 08:54 | |
08:57
zakharyas left,
zakharyas joined
08:59
mcmillhj left
09:04
vike joined
|
|||
buggable | New CPAN upload: P5index-0.0.3.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.3.tar.gz | 09:04 | |
09:06
TEttinger left
09:09
mcmillhj joined
09:11
markong joined
09:14
mcmillhj left
09:15
Actualeyes left
09:24
mcmillhj joined
09:29
pharv joined,
sena_kun joined,
mcmillhj left
09:30
llfourn left
09:33
pharv left
|
|||
Ulti | are commits welcome on the docs.perl6.org output format? Im getting really annoyed with the table of contents being this huge thing I have to scroll through to get to the meat of the article when it could just be rendered in the endless white space I have either side of the 800px fixed width content | 09:35 | |
09:37
mcmillhj joined
|
|||
Ulti | "Routines supplied by class Any/Mu" are especially annoying | 09:39 | |
ufobat | personally i'd like your idea :) | 09:40 | |
09:42
mcmillhj left
09:43
rindolf left
|
|||
El_Che | Ulti++ | 09:49 | |
Ulti: thx a lot. It didn't bother me bofore, but it does now :) | |||
timotimo | i'm amazed, github will let me commit directly to someone's branch that's the base for a pull-request i have? | 09:50 | |
yoleaux | 01:05Z <Zoffix> timotimo: I followed the debugger's trace and got the code to work :) Success! | ||
09:50
wamba left
|
|||
Ulti | El_Che: now I've mentioned it and ruined the illusion, or its gotten worse for you recently | 09:52 | |
Im not sure if something has changed because its only started annoying me more recently | |||
Geth | doc: 72c2b9019c | (Zoffix Znet)++ | assets/sass/style.scss Collapse to TOC-on-a-side layout on narrower widths |
09:54 | |
09:55
zakharyas left
09:56
zakharyas joined
|
|||
Ulti | dun dun dun | 09:57 | |
Zoffix++ as Im assuming that will tweak it for me | 09:59 | ||
09:59
rindolf joined
|
|||
Ulti | I was just getting interested in pod to bigpage and how all the docs are built :3 | 09:59 | |
El_Che | Zoffix is omnipresent | ||
Ulti | ask and ye shall receive | 10:00 | |
El_Che | "Do my laundry" | ||
Ulti | hah | ||
El_Che | nope | ||
Ulti | "I would really like perl6 --deep-auto-code=doitforme | ||
jast | I'm pretty sure the result would look like code without actually doing anything sensible :) | 10:02 | |
Ulti | I dunno you could make it like google translate where one deep net just looks at Perl 5 on CPAN and creates a percept that the perl6 network can then generate code from | 10:03 | |
even if it got close thats nicer than an empty file | |||
jast | I kind of like the minimalism of an empty file ;) | 10:06 | |
10:06
zakharyas left
10:07
zakharyas joined,
wamba joined
10:08
wamba left
|
|||
Ulti | it never fails to compile either | 10:08 | |
10:11
broquaint joined
|
|||
jmerelo | Ulti: You're not the only one github.com/perl6/doc/issues/1916 | 10:11 | |
10:11
zakharyas left
|
|||
jmerelo | Ulti: and yes, pull requests are _very_ welcome. | 10:12 | |
Ulti | well I just got a clone of the repo to play with | ||
jmerelo | Ulti++ | 10:13 | |
Ulti | I think Zoffix just "fixed" the major problem of vertical space | ||
jmerelo | Ulti: please bear in mind that there's a mapping from repo-to-site that is not totally straightforward. And it's called htmlify.p6 | ||
Ulti | yeah I saw in the makefile | ||
and that the html is a little bit interlaced with the structure of the docs | 10:14 | ||
10:14
zakharyas joined,
rindolf left
|
|||
jmerelo | Ulti: That's correct. You can voice your support in the issue, too. That way if we eventually decide to change that we'll have enough arguments to do it. | 10:14 | |
Ulti | will do | 10:15 | |
jmerelo | Ulti: thanks! :-) | ||
10:16
wamba joined
10:17
zakharyas left
|
|||
Ulti | oh man Zoffix++ that change already hit the server | 10:18 | |
so much nicer | |||
jmerelo | Zoffix: maybe you can do github.com/perl6/doc/issues/650 as long as you're dealing with that? | 10:20 | |
Geth | ¦ doc: JJ self-unassigned Squished table cells on mobile github.com/perl6/doc/issues/650 | ||
jmerelo | (I can self-assign it again if not) | ||
mr_ron | .tell moritz could you please look at irclog.perlgeek.de/perl6/2018-04-11#i_16036613 | 10:25 | |
yoleaux | mr_ron: I'll pass your message to moritz. | ||
10:28
zakharyas joined
10:30
mcmillhj joined
10:32
zakharyas left,
brrt left
10:33
zakharyas joined
10:35
mcmillhj left
10:37
sena_kun left
10:38
sena_kun joined
10:39
sena_kun left
10:48
mcmillhj joined
10:53
mcmillhj left
|
|||
lizmat | mr_ron: if you think it is a problem, please make it a rakudo issue | 11:03 | |
timotimo | i think this is not backtracking but just failing one branch and going to the next | 11:04 | |
otherwise you could never use || in tokens at all | |||
11:04
zakharyas left
|
|||
timotimo | mr_ron: does that make sense to you? | 11:04 | |
buggable | New CPAN upload: P5chr-0.0.4.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.4.tar.gz | ||
11:05
zakharyas joined,
mcmillhj joined
11:06
zakharyas left
11:10
mcmillhj left
|
|||
buggable | New CPAN upload: P5hex-0.0.4.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.4.tar.gz | 11:14 | |
mr_ron | m: my token param-y1 { ^ [ [ <[mn]>+ {say 'matched first word'} '=' \w+ ] || <[ab]>+ ] $ }; say so 'a' ~~ /<param-y1>/; # no backtracking | 11:18 | |
camelia | True | ||
mr_ron | m: my token param-y { ^ [ [ \w+ {say 'matched first word'} '=' \w+ ] || <[ab]>+ ] $ }; say so 'a' ~~ /<param-y>/; # backtracks - think it should not | 11:19 | |
camelia | matched first word True |
||
moritz | mr_ron: trying different alternsatives does not count as backtracking | ||
yoleaux | 10:25Z <mr_ron> moritz: could you please look at irclog.perlgeek.de/perl6/2018-04-11#i_16036613 | ||
11:20
albongo joined,
albongo left,
albongo joined
|
|||
moritz | backtracking is if a single regex element once matched some chars, and now needs to match a different amount | 11:20 | |
but in this case, it's a single <elem1> || <elem2>, and neither backtracks | 11:21 | ||
just elem1 fails, and so elem2 is tried | |||
mr_ron | looking ... | 11:23 | |
buggable | New CPAN upload: P5chomp-0.0.3.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.3.tar.gz | 11:24 | |
11:29
eliasr joined,
pharv joined
|
|||
mr_ron | In Perl 5 this fails with (*PRUNE) but works if you take the prune out: perl -E 'say "a" =~ qr/ ^ (?: (?: \w+ (*PRUNE) = \w+ ) | [ab]+ ) $ /x;' | 11:30 | |
Is this difference documented anyplace? | 11:33 | ||
woolfy | Hmpf... me sad... insights.dice.com/2018/04/05/perl-...obe-index/ | 11:34 | |
El_Che | hey woolfy | ||
11:34
pharv left
|
|||
El_Che | (it's perl6's fault according to the article :) ) | 11:35 | |
little too simplistic, though | |||
jmerelo | woolfy: also this blogs.perl.org/users/mithaldu/2013/...ut-it.html (seen in Wendy's presentation) | ||
gfldex | woolfy: please note that TIOBE mostly measures ignorance | ||
El_Che | although Perl is loosing mind share | ||
AlexDaniel | I don't get that article | 11:36 | |
the whole tiobe index makes no sense to me | 11:37 | ||
El_Che | it doesn't | ||
AlexDaniel | Delphi is 11th, Go is 19th | ||
woolfy | The comments are very interesting... Choroba: "The site adds a “Related Jobs” frame that lists over 2400 open Perl jobs. There’s another possibility for developers and pros who still rely on Perl: stop reading Tiobe. Or maybe just come back for fun in 2028 to see what they predicted in 2018." | ||
tadzik | it's a measurement, but not exactly of language popularity | ||
AlexDaniel | “Perl” went from 10th to 16th, so still ahead of Go | ||
woolfy | Christian Walde: "TIOBE’s results are entirely bogus, because their method for ranking data is completely bunk. Anyone trying to draw any conclusions from their “work” might as well be reading tea leaves. Please stop reporting on TIOBE, or heck, maybe even write an article that investigates why it’s broken. Journalism and all that. I’d be happy to help." | ||
tadzik | rather "which language people google for the most when they struggle with it" | 11:38 | |
AlexDaniel | do people struggle often with Delphi nowadays? | ||
rly? | |||
tadzik | if your language has excellent documentation that everyone knows where to look for... ;) | ||
AlexDaniel | maybe I don't know something… | ||
El_Che | Go dropped also slightly, why it's seems more popular than before (looking at big name projects) | ||
woolfy | Struggle? With Perl 6? Nobody. It's the easiest! | ||
El_Che | woolfy: I woudn't call Perl 6 easy | 11:39 | |
woolfy | (I mean, #perl6 and other Perl 6 irc channels (and other resources) are extremely helpful) | ||
tadzik | AlexDaniel: I can easily imagine that :) | ||
woolfy | Claudio Ramirez: I was searching for the tongue-in-cheek-emoji... didn't find it. | ||
mr_ron | m: my token param-x { ^ [ <[ab]>+ { say <match 1> } || [ \w+ { say <match 2> } '=' \w+ ] ] $ }; say so "a=b" ~~ /<param-x>/ # shouldn't this backtrack same way? | ||
camelia | (match 1) False |
||
mr_ron | m: my token param-x { ^ [ <[mn]>+ { say <match 1> } || [ \w+ { say <match 2> } '=' \w+ ] ] $ }; say so "a=b" ~~ /<param-x>/ # shouldn't this backtrack same way? | 11:40 | |
camelia | (match 2) True |
||
mr_ron | m: my token param-y { ^ [ [ \w+ {say 'matched first word'} '=' \w+ ] || <[ab]>+ ] $ }; say so 'a' ~~ /<param-y>/; # backtracks - think it should not | 11:41 | |
camelia | matched first word True |
||
AlexDaniel | “Wikipedia: 13%” | 11:42 | |
mr_ron | Can moritz or someone explain why param-x and param-y seem to backtrack differently? | ||
El_Che | woolfy: 😛 | ||
😜 | 11:43 | ||
11:43
wamba left
|
|||
El_Che | you may need to make your font bigger to see the difference :) | 11:43 | |
timotimo | m: say so "=" ~~ /\w/ | ||
camelia | False | ||
lizmat | .tell Zoffix I've merged 6 P5dists into another: chop -> chomp, oct -> hex, ord -> chr, rindex -> index, uc -> lc, ucfirst -> lcfirst | 11:44 | |
yoleaux | lizmat: I'll pass your message to Zoffix. | ||
timotimo | mr_ron: how does it backtrack ni the second one? | ||
mithaldu_ | jmerelo: which presentation was this? | 11:46 | |
mr_ron | In the second param-x it does not backtrack, in param-y it backtracks after \w+ | ||
11:46
brrt joined
|
|||
jkramer | Is CPAN broken? :( search.cpan.org/search?query=gitlik...ode=module | 11:46 | |
timotimo | what you're seeing there isn't backtracking | ||
ilmari | jkramer: search.cpan.org != cpan | 11:47 | |
jkramer: use metacpan.org | 11:48 | ||
mr_ron | I understand that moritz said param-y does not count as backtracking. Fine. Why can't it do the same for param-x though? | ||
param-x first case ... | |||
timotimo | i may not be looking correctly | ||
jkramer | ilmari: Ah didn't know that, thanks | ||
timotimo | how does it "not do the same" there? | 11:49 | |
mr_ron | In the case of the first param-x the first alternative partially matches but it can't back up to match the second alternative. | 11:50 | |
timotimo | oh, i was only looking at the last two lines | ||
i thought you had corrected the first line to get the second one | 11:51 | ||
OK, not really sure what's up there | 11:52 | ||
mr_ron | No - its not a correction the first param-x has to back up to match the later alternative, the second param-x does not need to back up. | ||
timotimo: thanks for looking. If nobody has a good explanation maybe I put in an RT / rakudo issue. | 11:53 | ||
timotimo | gotta go afk now, too | 11:54 | |
buggable | New CPAN upload: P5built-ins-0.0.7.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.7.tar.gz | ||
jmerelo | mithaldu_: www.wendy.org/PerlConf/GPW2018/Chan...rl2018.pdf | 12:06 | |
12:06
Tison joined
|
|||
woolfy | mithaldu_ I've been promoting your blog about Tiobe a bit. | 12:07 | |
jmerelo | So woolfy == Wendy. Nobody tells me anything! | ||
Hi woolfy ! | |||
12:08
profan_ is now known as profan
|
|||
woolfy | jmerelo: Really? OK, I am Wendy. And woolfy. For many years. :-) | 12:11 | |
jmerelo | woolfy: :-) Very nice presentation. I really liked it :-) | ||
12:15
wamba joined
|
|||
jmerelo | Still, look at the rank in pull requests in GitHub github.com/JJ/perl6em/blob/master/data/rank.csv | 12:18 | |
This is taken using BigQuery from GitHub events that are identified by language; PRs are actually the only ones. I do have the raw data somewhere else, but baseline is it's gone down from #15 to #25 | 12:21 | ||
12:28
Tison left
12:31
scimon left,
Aaronepower joined
12:32
wamba left
12:33
wamba joined
12:35
scimon joined
12:38
wamba left,
wamba joined
12:40
zakharyas joined
12:44
wamba left
12:49
andrzejku left
12:50
AlexDaniel left,
vcv joined
12:53
vcv left
12:54
mcmillhj joined
12:56
vcv joined
|
|||
jkramer | I'm playing with grammars and trying to parse an ini-style file but somehow Grammar.parse seems to loop forever and use 100% CPU. Any ideas what's wrong here? paste.pound-python.org/show/H5FiE0...NpTjmE7AQ/ | 13:02 | |
13:03
wamba joined
|
|||
jkramer | It's my first try on grammars so it's probably something stupid and obvious :) | 13:04 | |
timotimo | yup | ||
your token TOP can match an empty string an infinite number of times | |||
so it does that gladly | |||
13:04
zakharyas left
|
|||
jkramer | Oh :D | 13:05 | |
Thanks! | |||
jmerelo | jkramer: can you please StackOverflow that? blogs.perl.org/users/jj_merelo/2018...-that.html :-) | 13:11 | |
moritz | jkramer: might I humbly advertise for smile.amazon.com/Parsing-Perl-Rege...0785L6WR6/ ? :-) | 13:13 | |
it deals with gotchas such as this one as well | |||
13:15
rindolf joined
|
|||
Geth | perl6.org: dengyouhua++ created pull request #103: Chinese translation |
13:16 | |
jkramer | jmerelo: I'm afraid I lost my SO account a long time ago :) | 13:26 | |
moritz: Thanks, I might check it out if I go deeper into the topic, currently I'm just fooling around a bit | 13:27 | ||
13:31
scimon left
|
|||
timotimo | moritz: i wasn't smart enough to figure out what was with mr_ron's example :S | 13:31 | |
13:32
scimon joined
13:34
skids joined
|
|||
Geth | perl6.org: ccworld1000++ created pull request #104: tips change |
13:36 | |
perl6.org: acab0fed71 | CC++ (committed using GitHub Web editor) | app.psgi tips change perl6.org/ |
13:39 | ||
perl6.org: d9ef9bf531 | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed using GitHub Web editor) | app.psgi Merge pull request #104 from ccworld1000/patch-3 tips change |
|||
jmerelo | jkramer: I can do it for you and link to your question here, if you don't mind. | 13:41 | |
moritz | timotimo: nothin' to do with being smart, just experience with regexes | ||
13:42
jmerelo left
|
|||
jkramer | jmerelo: Sure :) | 13:42 | |
13:44
kurahaupo left
13:45
rindolf left
13:47
kurahaupo joined
|
|||
mr_ron | moritz: still here if you would like to give further insight. There was a (new I think) variant of the question later irclog.perlgeek.de/perl6/2018-04-12#i_16038507. Also noticed seems different from Perl 5. | 13:47 | |
moritz | m: my token param-x { ^ [ [<[ab]>+ { say <match 1> }] || [ \w+ { say <match 2> } '=' \w+ ] ] $ } | 13:51 | |
camelia | ( no output ) | ||
moritz | m: my token param-x { ^ [ [<[ab]>+ { say <match 1> }] || [ \w+ { say <match 2> } '=' \w+ ] ] $ }; say so "a=b" ~~ /<param-x>/ | ||
camelia | (match 1) False |
||
13:52
Aaronepower left
|
|||
moritz | m: my token param-x { ^ [ [ \w+ { say <match 2> } '=' \w+ ] ] $ }; say so "a=b" ~~ /<param-x>/ | 13:52 | |
camelia | (match 2) True |
||
moritz | mr_ron: here the first alternative matches, so the second isn't tried | 13:53 | |
mr_ron: but when the $ tries to match, the || would need to backtrack to try the second alternative | |||
mr_ron: but the token explicitly disables this backtracking | |||
that's why the regex as a whole doesn't match | 13:54 | ||
mr_ron | m: my token param-y { ^ [ [ \w+ {say 'matched first word'} '=' \w+ ] || <[ab]>+ ] $ }; say so 'a' ~~ /<param-y>/; # why different backtracking ? | ||
camelia | matched first word True |
||
moritz | mr_ron: I don't see any backtracking in this example | 13:55 | |
the first branch tries to match, it matches. Done. | |||
decommute& | |||
mr_ron | I don't see the first branch matching in param-y. the test example 'a' has no '=' | 13:56 | |
13:58
llfourn joined
|
|||
mr_ron | m: my token param-y { ^ [ [ \w+ {say 'matched first word'} '=' \w+ {say 'branch 1'} ] || <[ab]>+ {say 'branch 2'} ] $ }; say so 'a' ~~ /<param-y>/; # why different backtracking ? | 13:58 | |
camelia | matched first word branch 2 True |
||
14:00
zakharyas joined
14:04
Aaronepower joined
14:06
FROGGS joined
14:17
markong left
14:25
markong joined
14:33
kybr joined
14:34
margeas joined
14:35
markong left,
Aaronepower left,
Aaronepower joined
14:39
Aaronepower left
14:41
rindolf joined,
skids left,
Aaronepower joined
14:42
aindilis left
14:43
aindilis joined
14:44
jeek joined
14:46
AlexDaniel joined
14:49
brrt left
|
|||
mr_ron | m: my token param-x { ^ [ [<[ab]>+ { say <match 1> }] || [ \w+ { say <match 2> } '=' \w+ ] ] $ }; say so "a=b" ~~ /<param-x>/; # can't backtrack outside of alternative | 14:51 | |
camelia | (match 1) False |
||
mr_ron | my token param-x2 { [ [ ^ <[ab]>+ { say <match 1> } $ ] || [ ^ \w+ { say <match 2> } '=' \w+ $ ] ] }; say so "a=b" ~~ /<param-x2>/; # does backtracks in alternatives | 14:52 | |
evalable6 | (match 1) (match 2) True |
||
mr_ron | Got it now - possible doc issue. | ||
14:56
domidumont1 joined
15:00
domidumont left
15:04
zakharyas left
15:06
zakharyas joined
15:08
Actualeyes joined
|
|||
moritz | there is no backtracking in this example | 15:12 | |
trying both branches of an alternative is *not* backtracking | |||
it always happens if the first branch does not match | |||
15:12
khw joined
15:14
skids joined
15:17
releasable6 left,
releasable6 joined,
ChanServ sets mode: +v releasable6,
athenot joined
15:19
margeas left,
brrt joined
15:23
domidumont1 left
|
|||
AlexDaniel | u: 🤬 | 15:26 | |
unicodable6 | AlexDaniel, U+1F92C SERIOUS FACE WITH SYMBOLS COVERING MOUTH [So] (🤬) | ||
15:26
vcv left
|
|||
AlexDaniel | that's a nice one | 15:27 | |
15:27
pharv joined
15:28
markong joined
|
|||
Geth | doc: 8af748d3c2 | (Will "Coke" Coleda)++ | doc/Language/modules.pod6 remove trailing ws |
15:31 | |
synopsebot | Link: doc.perl6.org/language/modules | ||
doc: feeb94202c | (Will "Coke" Coleda)++ | htmlify.p6 No point in caching this, it's called once per page |
15:34 | ||
15:34
vcv joined
15:36
jmerelo joined
15:37
khisanth_ left
15:38
wamba left
15:41
pharv left,
caasih left,
zostay left
15:42
pharv joined
15:43
simpleseeker joined
|
|||
jmerelo | timotimo, jkramer: reposted question to StackOverflow stackoverflow.com/questions/498007...se-100-cpu | 15:44 | |
skids | usually a rule that can match zero characters is involved. Maybe try an anchor in TOP? | 15:47 | |
15:47
brrt left
|
|||
skids | Oh, or maybe it's the "value" rule. | 15:49 | |
15:49
vcv left,
adu joined
15:50
pharv left,
vcv joined,
pharv joined,
khisanth_ joined
15:51
Aaronepower left
15:59
robertle_ joined
|
|||
moritz | TOP has nested * quantifiers | 16:02 | |
16:04
pharv left,
zakharyas left,
pharv joined,
vcv left
16:05
mcmillhj left
|
|||
Geth | doc: 2ef1365f7d | (JJ Merelo)++ | CONTRIBUTING.md Linked labels with the repository Linked also the label description, and while I was at it, changed Perl 6 to use non-breaking space. Closes #1909 |
16:06 | |
16:08
zakharyas joined
|
|||
jmerelo | .tell jkramer to take a look at this and help however possible stackoverflow.com/questions/498007...3_49800790 | 16:08 | |
yoleaux | jmerelo: I'll pass your message to jkramer. | ||
16:13
pharv left
16:14
pharv joined
16:18
vcv joined
16:24
simpleseeker left
16:26
scimon left
16:33
troys joined
16:34
adu left,
amalia___ joined
16:35
adu joined,
wamba joined
16:38
robertle_ left
16:39
dakkar left
16:41
mcmillhj joined
|
|||
Geth | doc: 1cdd22f432 | (Will "Coke" Coleda)++ | 5 files Test .md files for Perl 5|6 nbsp Fix all instances in the md docs |
16:44 | |
jmerelo | So what's the deal with the perl6/doc pod tags? gist.github.com/JJ/72d332e4cee266a...07b660652a | ||
Are they ever used? There's tutorial, index, perl6, convert, and, for some reason, self. | |||
[Coke] | ? | 16:46 | |
Can you point me at one in the file itself? | 16:47 | ||
jmerelo | [Coke]: =begin pod :tag<index> | ||
[Coke] | ah, :tag<perl6> ? | ||
jmerelo | in fag.pod6 | ||
[Coke]: yep | |||
[Coke] | in *what* now? | 16:48 | |
tag isn't referenced in lib, t, xt, htmlify | |||
jmerelo | Here, for instance github.com/perl6/doc/blob/master/d...hell.pod6. 5to6 seem to favor tag<convert> | ||
github.com/perl6/doc/blob/master/d...ll.pod6#L1 | 16:49 | ||
[Coke] | I also don't see tag in our Pod::To::HTML | 16:50 | |
16:50
testNode joined
|
|||
jmerelo | This is the commit where they were added github.com/perl6/doc/commit/1509c4...ce5f695fcb | 16:50 | |
[Coke] | maybe do a git blame and see which commits added them all. I picked one at random, and the commit is just "adding tags" | ||
haskell e.g. has a "convert" tag; doesn't appear anywhere in the generated HTML | 16:51 | ||
16:51
Aaronepower joined
|
|||
[Coke] | I don't see what they're doing. | 16:52 | |
jmerelo | [Coke]: see above. Most of them were added in a single commit in February last year. It does not reference any issue... | ||
.seen gfldex | 16:53 | ||
yoleaux | I saw gfldex 11:35Z in #perl6: <gfldex> woolfy: please note that TIOBE mostly measures ignorance | ||
16:54
testNode left
|
|||
jmerelo | .tell gfldex can you please tell me something about tags and why they were added? github.com/perl6/doc/commit/1509c4...ce5f695fcb ? | 16:54 | |
yoleaux | jmerelo: I'll pass your message to gfldex. | ||
16:55
Aaronepower left
16:56
robertle_ joined
16:57
domidumont joined
|
|||
tony-o | github.com/tony-o/perl6-koos | 16:59 | |
17:02
travis-ci joined
|
|||
travis-ci | Doc build failed. Will "Coke" Coleda 'Test .md files for Perl 5|6 nbsp | 17:02 | |
travis-ci.org/perl6/doc/builds/365704966 github.com/perl6/doc/compare/2ef13...dd22f432dc | |||
17:02
travis-ci left
|
|||
buggable | [travis build above] ☠ Did not recognize some failures. Check results manually. | 17:02 | |
17:04
FROGGS left,
escherlat joined
|
|||
Geth | doc: fddc9f6139 | (JJ Merelo)++ | doc/Language/faq.pod6 Includes @timtoady comment as part of the FAQ We could make it longer, but there's already a link from the answer, so I guess that's enough. Since all faq seems to go to a single page, refs #114; it does not even go to a new section. On the other hand, it closes #1753. |
17:05 | |
synopsebot | Link: doc.perl6.org/language/faq | ||
17:06
zakharyas left
|
|||
jmerelo | tony-o: a ORM. Neat :-) | 17:12 | |
s/a/an/ | |||
17:17
isBEKaml joined,
isBEKaml left
17:18
isBEKaml joined
|
|||
Geth | doc: 574982ac92 | (JJ Merelo)++ | doc/Language/quoting.pod6 Rewrites description of unquoting constructs Following suggestions by @cfa and @coke. Closes #1280 again. Please feel free to reopen and/or rewrite if needed. |
17:19 | |
synopsebot | Link: doc.perl6.org/language/quoting | ||
17:21
lalitmee joined
|
|||
jmerelo | c: my %words = KeyBag.new | 17:25 | |
committable6 | jmerelo, ¦my: «Cannot find this revision (did you mean “all”?)» | ||
jmerelo | p: my %words = KeyBag.new | ||
p: my %words = KeyBag.new; say %words.perl | 17:26 | ||
p6: my %words = KeyBag.new; say %words.perl | 17:27 | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> |