»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
Set by moritz on 22 December 2015.
00:04 zoll left
raschipi Whay can't the original filename be stored with the bytecode? 00:07
Seems to be a common request.
ugexe they want to edit a file by the same name as the original filename 00:09
zef locate 5671A6C52C604B78F4C138573DCFB019723F7B7F --sha1, zef locate lib/Zef/CLI.pm6, zef locate Zef::CLI 00:11
geekosaur nobody guarantees it would be recompiled 00:15
the way compilation happens is you install the file
pompomcrab geekosaur: hmm i don't like that feature then. is there a dongle to make p6 do it like p5 so i can live-edit installed modules? 00:17
geekosaur no, and there won;t be one unless it also includes a "forbid installing different versions of modules or modules from different sources because that would interfere with that importnt live editing feature" 00:18
raschipi What will it do If I nuke that?
pompomcrab geekosaur: saying "no" only motivates me to dive into the rakudo source to make a patch to do it ;) 00:19
geekosaur ok, yes, :ver and :auth are evil that you must eradicate
hop to it
pompomcrab geekosaur: i'll just do it like node.js does using ./node_modules to override global installed modules lol 00:20
Zoffix pompomcrab: you can have a local version you load 00:21
geekosaur you could possibly create a new CUR that does not honor multiple sources so it can get away with not renaming things uniquely, and force its use for your modules
but you would have to remember to use it because it will not be default
raschipi You say so, but I don't get it. Is it explained somewhere why would the capability pf having multiple versions installed interfere with the hability of getting rid of a cached version and recompiling?
pompomcrab now we're talking, i'll do that
Zoffix pompomcrab: and edit that. Unlike Perl, the installed modules are already pre-compiled. They're not evaluated from source each time. Just grab the source of the module you want to edit, get it to the state that pleases you, and if you want install that version 00:22
geekosaur raschipi, so you want perl 6 even slower by having to constantly recheck and recompile things?
the whole point of CUR was to make the slow compile step happen only once
pompomcrab tbh package-manager-itis fatigue has got me liking little langs like Lua where there are no modules, you're on your own free to implement it however you want
Zoffix :) 00:23
raschipi No, I want it to tell me the source the cache came from and recompile if the cache is cleared.
Zoffix raschipi: I think the filename (and even code itself) is stored somewhere. It's just not usedxd
pompomcrab Zoffix: this is great stuff for me to learn, i've been wondering how the Compile Unit stuff really worked but it's complicated so i gave up
Zoffix \o/ 00:24
raschipi One option to do it the slow way, recompiling everything and another to spill out where the bytecode came from would solve the issue. No need to be slow by default. 00:25
Zoffix raschipi: yeah, `zef locate WWW` gives me the filename for the module and if I pop it open it got plain sauce in it
raschipi can zef locate source installed by means other than itself? 00:26
Zoffix I'd imagine so
geekosaur this is part of the CUR, I believe
00:26 Cabanossi left
Zoffix 'cause IIUC, it's just uses CUR interface for everything 00:26
pompomcrab i'm happy to dig into the p6-guts and Just Make It Work since i do have a personal goal to get Some Code Any Code submitted into p6, since i arrived too late in 2002 to contribute to a p5 mostly-finished-it-already-exists-on-CPAN 00:27
Zoffix But also, IIRC there doesn't have to be a downloaded source file the stuff came from. You could make a CUR that reads from /dev/random if you wantede
pompomcrab: oh, great. You may wanna mark a date in your callendar. 00:28
squashable6: status
squashable6 Zoffix, Next SQUASHathon in 29 days and ≈9 hours (2017-10-07 UTC-12⌁UTC+14)
Zoffix pompomcrab: ^ I understand next squashathon will be on the compiler. Basically, we all get together in this channel for 1 day and try to fix bugs on the selecter repo :)
00:28 Cabanossi joined
Zoffix And by that time we'll have some tickets marked for Low Hanging Fruit, so that people new to it can contribute something. 00:29
00:29 ash_gti left 00:31 ash_gti joined
raschipi People don't have to sign something to be allowed to participate? 00:34
00:36 armin left
Zoffix raschipi: no, it's only if you want a commit bit to rakudo/* repos 00:36
pompomcrab Zoffix: ok i'm in 00:37
raschipi To send pull requests that's not needed? Good to know.
pompomcrab at the very least i can steal some knowledge and level up 00:38
Zoffix \o/
raschipi: right. We'd never get much contributions if it were needed for pull requests too :PO
(P.S.: for stealing knowledge; there are a couple articles with "Core Hacking" in their titles on rakudo.party/ ) 00:39
ugexe you can do auth/ver and use the original names, you just put them in a sha1 directory. see: github.com/ugexe/Perl6-CompUnit--R...itory--Lib 00:42
you'll notice the failing tests are also all precomp
00:46 armin joined
ugexe but i have not yet implemented the items required to do look ups without parsing json 00:46
00:57 Cabanossi left 00:58 lizmat left, Cabanossi joined 01:03 snarkyboojum joined
BenGoldberg m: my class C { }; my role R { }; say map { C but R }, ^5; 01:05
camelia ((C+{R}) (C+{R}) (C+{R}) (C+{R}) (C+{R}))
01:05 grumble left, rumble joined
BenGoldberg m: my class C { }; my role R { }; say $_.WHERE for map { C but R }, ^5; 01:05
camelia 140341004940976
140341004940976
140341004940976
140341004940976
140341004940976
01:13 lizmat joined 01:16 armin left 01:19 margeas left 01:22 xiaoyafeng joined
xiaoyafeng hello, 01:22
I notice (^100).grep({$_ >3}) has another way of writing: (^100).grep(* > 3) could anyone explain what * does mean in argument for me? Thanks! 01:26
01:27 Cabanossi left 01:28 Cabanossi joined
Xliff BenGoldberg: Isn't that a good thing? Class and role definition aren't being duplicated? 01:29
ash_gti xiaoyafeng * in that context is a whatever
see docs.perl6.org/type/Whatever for some more details, but its a type of placeholder
01:29 armin joined
BenGoldberg Not everything I type into camelia is a "WTF, is this wrong?", sometimes the results are things I'm quite happy about :) 01:30
BenGoldberg smiles.
Xliff m: my class C { }; my role R { }; map { my C but R $cr = .new; $cd.WHERE.say }, ^5;
camelia 5===SORRY!5=== Error while compiling <tmp>
Malformed my
at <tmp>:1
------> 3y class C { }; my role R { }; map { my C7⏏5 but R $cr = .new; $cd.WHERE.say }, ^5;
Xliff m: my class C { }; my role R { }; map { my C but R $cr = .new; $cd.WHERE.say } ^5;
camelia 5===SORRY!5=== Error while compiling <tmp>
Malformed my
at <tmp>:1
------> 3y class C { }; my role R { }; map { my C7⏏5 but R $cr = .new; $cd.WHERE.say } ^5;
BenGoldberg m: my class C { }; my role R { }; constant CR = C but R; map { my CR $cr = .new; $cd.WHERE.say } ^5; 01:31
camelia 5===SORRY!5=== Error while compiling <tmp>
Variable '$cd' is not declared. Did you mean '$cr'?
at <tmp>:1
------> 3t CR = C but R; map { my CR $cr = .new; 7⏏5$cd.WHERE.say } ^5;
BenGoldberg m: my class C { }; my role R { }; constant CR = C but R; map { my CR $cr = .new; $cr.WHERE.say } ^5;
camelia 5===SORRY!5=== Error while compiling <tmp>
Missing comma after block argument to map
at <tmp>:1
------> 3p { my CR $cr = .new; $cr.WHERE.say } ^57⏏5;
BenGoldberg m: my class C { }; my role R { }; constant CR = C but R; map { my CR $cr = .new; $cr.WHERE.say }, ^5; 01:32
camelia Type check failed in assignment to $cr; expected C+{R} but got Int (0)
in block <unit> at <tmp> line 1
BenGoldberg Err
Xliff m: my class C { }; my role R { }; constant CR = C but R; map { my CR $cr = .new; $cr.WHERE.say } ^5;
camelia 5===SORRY!5=== Error while compiling <tmp>
Missing comma after block argument to map
at <tmp>:1
------> 3p { my CR $cr = .new; $cr.WHERE.say } ^57⏏5;
Xliff o_0
BenGoldberg You're thinking in perl5 ;)
In perl5, you write: map BLOCK LIST. In perl6, you write: map BLOCK, LIST 01:33
Xliff m: my class C { }; my role R { }; constant CR = C but R; (^5).map { $cr = .new; $cr.WHERE.say };
camelia 5===SORRY!5=== Error while compiling <tmp>
Unexpected block in infix position (missing statement control word before the expression?)
at <tmp>:1
------> 3e R { }; constant CR = C but R; (^5).map7⏏5 { $cr = .new; $cr.WHERE.say };
exp…
Xliff m: my class C { }; my role R { }; constant CR = C but R; (^5).map: { $cr = .new; $cr.WHERE.say };
camelia 5===SORRY!5=== Error while compiling <tmp>
Variable '$cr' is not declared
at <tmp>:1
------> 3{ }; constant CR = C but R; (^5).map: { 7⏏5$cr = .new; $cr.WHERE.say };
Xliff m: my class C { }; my role R { }; constant CR = C but R; (^5).map: { my $cr = .new; $cr.WHERE.say };
camelia 139809934886832
139809934898280
139809934899368
139809934900456
139809934901544
Xliff \o/ 01:34
BenGoldberg wants to know why my code produced "but got Int (0)"
Xliff, You're producing a bunch of Any.new()s. 01:35
xiaoyafeng if * is just a placeholder, what difference is between $_ and * ?
BenGoldberg * produces a special object, called a Whatever.
$_ is the default variable for various operations. 01:36
There're used in similar manners, but do different things.
MasterDuke xiaoyafeng: it's slightly more than just a placeholder, it kind of curries also
xiaoyafeng emmm, 01:37
BenGoldberg If you write: *.foo, this generates an anonymous subroutine which takes an object, and calls the method foo on it.
If you write $_.foo, this takes the object inside of the $_ variable and calls the method foo on it, immediately.
ash_gti m: for [1, *, 3] { dd $_ } 01:38
camelia Int <element> = 1
Whatever <element> = *
Int <element> = 3
ash_gti m: my $a = * + 3; $a(4).say;
camelia 7
BenGoldberg m: my class C { }; my role R { }; constant CR = C but R; (^5).map: { my $cr = CR.new; dd $cr }; 01:39
camelia C+{R} $cr = C+{R}.new
C+{R} $cr = C+{R}.new
C+{R} $cr = C+{R}.new
C+{R} $cr = C+{R}.new
C+{R} $cr = C+{R}.new
BenGoldberg m: my class C { }; my role R { }; constant CR = C but R; (^5).map: { my CR $cr = CR.new; dd $cr };
camelia C+{R} $cr = C+{R}.new
C+{R} $cr = C+{R}.new
C+{R} $cr = C+{R}.new
C+{R} $cr = C+{R}.new
C+{R} $cr = C+{R}.new
BenGoldberg m: my class C { }; my role R { }; constant CR = C but R; (^5).map: { my CR $cr .= new; dd $cr }; 01:40
camelia C+{R} $cr = C+{R}.new
C+{R} $cr = C+{R}.new
C+{R} $cr = C+{R}.new
C+{R} $cr = C+{R}.new
C+{R} $cr = C+{R}.new
BenGoldberg ¯\_(ツ)_/¯
01:46 ilbot3 left
Xliff m: my class C { }; my role R { }; constant CR = C but R; (^5).map: { my CR $cr .= new; $cr.WHERE. }; 01:46
camelia 5===SORRY!5=== Error while compiling <tmp>
Unsupported use of . to concatenate strings; in Perl 6 please use ~
at <tmp>:1
------> 3^5).map: { my CR $cr .= new; $cr.WHERE. 7⏏5};
Xliff m: my class C { }; my role R { }; constant CR = C but R; (^5).map: { my CR $cr .= new; $cr.WHERE.say };
camelia 139751884208200
139751884221304
139751884224048
139751884226792
139751884229536
Xliff m: my class C { }; my role R { }; constant CR = C but R; (^5).map: { my CR $cr .= new; $cr.WHERE.say; $cr.^name.say }; 01:47
camelia 140524025540936
C+{R}
140524025556512
C+{R}
140524025559840
C+{R}
140524025563168
C+{R}
140524025566496
C+{R}
Xliff Those don't look like anys. ;)
Of course, the results of the map won't make any sense. LOL
01:48 Xliff left
xiaoyafeng Thanks, very clear description on * thanks very much 01:50
;)
01:51 moski joined, ash_gti left 01:52 moski left 01:54 ilbot3 joined, ChanServ sets mode: +v ilbot3 01:55 ash_gti joined 02:04 pompomcrab left 02:11 Cabanossi left 02:13 Cabanossi joined 02:14 Guest36961 left 02:18 noganex joined 02:21 noganex_ left 02:22 aborazmeh joined, aborazmeh left, aborazmeh joined 02:23 ash_gti left 02:24 llfourn left 02:26 ash_gti joined 02:27 AlexDaniel left 02:44 xtreak joined 02:46 ash_gti left 02:48 xtreak left 02:55 ash_gti joined 02:57 Cabanossi left 02:58 Cabanossi joined 03:15 wamba left 03:29 ash_gti left 03:30 ash_gti joined 03:46 dogbert2 left 03:49 aborazmeh left 03:52 giraffe joined 03:53 giraffe is now known as Guest34710 03:54 llfourn joined 03:57 Cabanossi left, Cabanoss- joined, Cabanoss- is now known as Cabanossi 04:18 dj_goku joined, dj_goku left, dj_goku joined, cog_ joined 04:19 lizmat_ joined, ttkp6 left, mattp__ left 04:20 mattp__ joined, dj_goku_ left 04:21 samcv left, DrForr left, DrForr joined, samcv joined, lizmat left, cognominal left, marcusramberg left 04:22 marcusramberg joined 04:24 bisectable6 left, releasable6 left, greppable6 left, nativecallable6 left, nativecallable6 joined, greppable6 joined, releasable6 joined, bisectable6 joined 04:25 notbenh left, coverable6 left, bloatable6 left 04:26 notbenh joined 04:27 roguelazer left, jercos left, ilmari[m] left, wamba[m] left, llfourn left, gugod left 04:28 llfourn joined, kshannon left 04:29 kshannon joined, roguelazer joined 04:33 xtreak joined 04:36 jercos joined 04:41 wamba[m] joined, ilmari[m] joined 04:43 gugod joined
ash_gti Zoffix I think I have a fix for the rt.perl.org/Public/Bug/Display.html?id=132043 issue, I submitted a pull request for github.com/perl6/roast/pull/308 and github.com/rakudo/rakudo/pull/1152 04:50
04:53 roguelazer left 04:55 Cabanossi left 04:57 Cabanossi joined 04:58 raschipi left 05:04 roguelazer joined 05:06 ash_gti left, BenGoldberg left 05:12 xtreak_ joined 05:13 xtreak left 05:16 zakame joined 05:17 Xal left 05:23 ash_gti joined 05:29 mcmillhj left, khw left 05:37 mcmillhj joined
Geth doc: zakame++ created pull request #1541:
Split and rephrase lines in the footer
05:38
05:39 mcmillhj left 05:43 dj_goku left 05:44 skids left 05:55 Cabanossi left 05:57 Cabanossi joined 06:13 Exodist left 06:14 xtreak_ left, Exodist joined 06:26 ash_gti left, daxim joined 06:27 ufobat joined 06:32 xinming left, ash_gti joined 06:35 dj_goku joined, dj_goku left, dj_goku joined 06:41 ash_gti left, dj_goku left 06:47 leont joined 06:49 ChoHag joined 07:02 jonas1 joined 07:10 Cabanossi left 07:12 Cabanossi joined 07:15 jonas1 left, jonas1 joined 07:16 robertle left 07:22 xtreak joined 07:27 xtreak left, snarkyboojum left 07:30 leont left 07:31 eliasr joined 07:36 abraxxa joined 07:41 dakkar joined 07:43 geekosaur left 07:52 darutoko joined, xinming joined 07:55 ufobat left, Cabanossi left, ufobat joined, geekosaur joined
ufobat good morning ;) 07:55
07:57 Cabanossi joined 08:02 wamba joined 08:03 xtreak joined 08:11 zakharyas joined 08:16 lizmat_ is now known as lizmat 08:18 xtreak left 08:24 dj_goku joined, dj_goku left, dj_goku joined, zakharyas left, robertle joined 08:28 dj_goku left 08:45 Niels_ joined
Niels_ Hello! 08:46
08:47 Niels_ left 08:51 cognominal joined 08:52 cog_ left 08:55 Cabanossi left 08:57 Cabanossi joined 08:58 Sgeo left 09:02 llfourn left 09:08 zakharyas joined 09:09 margeas joined 09:24 Sgeo joined 09:28 snarkyboojum joined 09:42 stux|RC-only left 09:44 stux|RC-only joined 09:55 Cabanossi left 09:57 Cabanossi joined 09:58 nattefrost joined 10:09 fireartist joined 10:11 llfourn joined
fireartist Hi, should rakudo be buildable with 1GB RAM? - rakudobrew is dying on me 10:11
gfldex fireartist: you should be fine with adding 1GB of swap 10:12
10:12 dj_goku joined, dj_goku left, dj_goku joined
fireartist gfldex: ah, I've no swap - I'll check whether there's any unallocated disk I can use - thanks! 10:14
gfldex fireartist: if you don't got any swap right now, disabeling tmpfs might help too 10:15
10:17 dj_goku left
teatime fireartist: I do that all the time (enable swap so that I can build rakudo on small-spec (512MB and up) VMs)... as long as you have the disk space, you can make a swap file nowadays, you do not need a dedicated swap partition. 10:22
10:22 TEttinger left 10:24 rindolf joined 10:26 ShalokShalom_ joined
fireartist I don't have any free disk, but realized I could temporarily double my VM's RAM & CPU for 1.5cents/hr - doing that now :-) 10:26
teatime fireartist: e.g.: dd if=/dev/zero of=/swapfile bs=1M count=2048 && mkswap /swapfile && swapon /swapfile (and add to /etc/fstab for future boots.) afaik this is equally fast as swap part, and it's usually nice to have everything on one partition/filesystems for VMs. 10:28
haha. that works too :)
10:29 ShalokShalom left
teatime sorry for my late response I had to read a man-page... apparently fallocate is /not/ the preferred way to pre-allocate a swapfile... at least according to mkswap(8) 10:29
10:31 teatime is now known as teatwo 10:32 teatwo is now known as teatime, vgh joined 10:33 ggoebel left 10:37 vgh left
fireartist "Rakudo has been built and installed" - thank you! 10:38
Aaronepower Hello, how do I say to stop a rule once the next word is a certain word? Like `rule list { [. not ',' | not 'or']+ }` 10:40
jnthn Perhaps <!before foo> 10:45
10:45 ggoebel joined
teatime Aaronepower: docs for ^^ are at docs.perl6.org/language/regexes#Lo...assertions 10:48
Aaronepower teatime: Yes, but they wouldn't capture the last value correct? 10:50
teatime I beleive look-arounds are zero-width assertions, so they can't capture anything. 10:52
timotimo m: "hello" ~~ / h <?before (ello)> /; say $/ 10:53
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse expression in metachar:sym<( )>; couldn't find final ')'
at <tmp>:1
------> 3"hello" ~~ / h <?before (ello)>7⏏5 /; say $/
expecting any of:
infix stopper
timotimo m: "hello" ~~ / h <?(ello)> /; say $/
camelia 5===SORRY!5===
Unrecognized regex metacharacter < (must be quoted to match literally)
at <tmp>:1
------> 3"hello" ~~ / h <?7⏏5(ello)> /; say $/
Unable to parse regex; couldn't find final '/'
at <tmp>:1
------> 3"hello" ~~ / h <?7…
timotimo mhm mhm
10:54 snarkyboojum left, Cabanossi left 10:55 zakharyas left 10:57 Cabanossi joined, lowbro joined, lowbro left, lowbro joined 10:59 piojo2 joined
Aaronepower teatime: Sorry, I'm using this in a grammar 11:09
teatime oh yeah, I meant to say... Are there any places you're not allowed to do look-aheads? I seem to remember that you couldn't use them in a grammar, or something, but it's been too long now (or, am I just imagining that?) 11:17
Aaronepower teatime: I have used lookaheads in grammars before. 11:18
11:19 piojo2 left 11:21 piojo2 joined 11:28 Skarsnik joined
timotimo maybe you remember something about the interplay of calling rules of your grammar with <?foo> or <!foo> and action methods? 11:31
Skarsnik hello 11:33
11:34 census joined
Aaronepower timotimo: I tried `rule items { .+ | . [<?before or> | <?before ','>] }` 11:39
timotimo don't think that works like you expect 11:41
that'll either match a whole bunch of anything, or one anything that has a "or" or "," immediately after it
it might work if you just remove the "| ." part 11:43
teatime timotimo: yeah, that was it; thank you. 11:47
Aaronepower timotimo: Well that is kind of what I want. Except now I don't know how to make it optional. 11:48
timotimo what's the other condition you allow it to stop at? end of file?
Aaronepower timotimo: Yes
11:55 Cabanossi left 11:56 zakharyas joined 11:57 Cabanossi joined
Aaronepower timotimo: Or just end of string 11:58
12:00 dj_goku joined
census I'm having trouble with the sub in the code: pastebin.com/r4updX2c 12:02
It's saying: "Too few positionals passed; expected 1 argument but got 0" I thought it was actually 1---I'm not sure how 0 12:03
12:05 dj_goku left
Aaronepower census: If you remove the `:` on $year on line 25 does it work? 12:06
Skarsnik &make-term you want
census thanks Aaronepower ! i have no idea how i missed that 12:07
Skarsnik make-trem will call the sub
Aaronepower timotimo: My solution was `rule items { .+ [<?before or> | <?before ','>] || .+ }` I don't know if that's bad practice or not though. 12:19
timotimo Aaronepower: you can just <?before or> | <?before '.'> | $ 12:22
Aaronepower timotimo: Ah, I tried doing `<?before $>` 12:23
timotimo i'm not sure it'd make much of a difference 12:24
though $ is a zero-width thing, too
12:26 cognominal left, Cabanossi left 12:27 Cabanossi joined 12:29 llfourn left
census Aaronepower and Skarsnik : when i create the sub on line 13 in pastebin.com/r4updX2c you see how i put cancer. i realize it should be "cancer". how would i do with an ' like "Alzheimer's"? 12:31
12:31 cognominal joined 12:32 geekosaur left 12:34 geekosaur joined
Aaronepower What would be a reason for a proto token to cause `Cannot invoke this object (REPR: Null; VMNull)`? 12:36
lizmat a bug, because you should never see that 12:37
Aaronepower lizmat: paste.rs/R8O Any time proto token unit is matched I get that. 12:38
lizmat hmmm.. could you try renaming "unit" to something else? maybe it's some interference with some internals? 12:39
Aaronepower lizmat: Nope same error. 12:40
jnthn There ain't a unit method anywhere, I don't think... 12:41
lizmat :-( then I hope someone else will be able to help you, as I'm not that familiar with grammar internals
jnthn doesn't spot what's going on
census mst can i ask you a question? 12:42
jnthn Aaronepower: I guess Grammar::Tracer and Grammar::ErrorReporting aren't to blame (you can still get it without those two)? 12:43
Aaronepower jnthn: Huh, Grammar::Tracer being removed makes it work. 12:44
[Coke] in core, many of the proto tokens use { <...> } instead of {*}
that's all I got. ;)
perlpilot good morning #perl6 12:47
timotimo hi perlpilot
12:47 gregf_ left 12:55 Cabanossi left 12:56 bdmatatu joined 12:57 snarkyboojum joined, Cabanossi joined
perlpilot Aaronepower: what version of Perl 6 are you using? I just tried your grammar and it worked fine afaict -- gist.github.com/perlpilot/85791ca1...9b7112f744 12:57
Aaronepower perlpilot: 2017.07
perlpilot ah ... I'm running a more recent version (as shown at the bottom of the output in that gist) 12:58
timotimo Grammar::Tracer may cause the grammar to behave differently :( 12:59
jnthn I thought all those were fixed :/ 13:00
timotimo not sure, i should probably write some test cases :) 13:01
trying it against the yamlish grammar gives me "Cannot invoke this object (REPR: Null; VMNull)" again 13:03
13:05 cdg joined, snarkyboojum left
census query labster 13:06
hey
oops sorry about that
13:06 rumble is now known as grumble
census does anybody know a #perl administrator? 13:07
perlpilot census: are you trying to get unbanned or something?
census perlpilot i was just wondering if am banned
i tried to join the room 13:08
i got error: " Cannot join channel (+r) - you need to be identified with services"
timotimo that's not a ban
you just have to register with NickServ
census oh okay thanks. i never had to do that before, so i didn't know. thanks for clarifying
perlpilot or if your nick is already registered, identify
census: freenode.net/kb/answer/registration 13:09
census thanks perlpilot !
i had a question about some perl6 code i'm writing, but i remember it was also an issue that came up when i was doing perl5 13:10
in my code pastebin.com/XKAUDY5G on line 13 you see "Alzheimer Disease" that works fine, but i want to add an apostrophe to make "Alzheimer's Disease" and i know i need to set up some ASCII type thing, i think ?
perlpilot census: you mean you think the apostrophe needs to be encoded? Like &#39; ? 13:16
perlpilot isn't sure what "post" does and hasn't read the docs 13:17
(I mean, I can guess what post does, but what it does with :term(), I dunno) :) 13:18
census perlpilot yes i'm worried i need something lke that because of the way I'm using ' in the syntax already that it wouldn't recognzie ' as part of what i need to locate
perlpilot census: oh, you could just change your outer quotes. 13:19
census perlpilot so the line is: '( "Alzheimer Disease"[Title/Abstract] AND united states[pl] AND (("' ~ $year ~ '/01/01"[PDat] : "' ~ $year ~ '/12/31"[PDat])))' 13:20
perlpilot census: or you could do '( "Alzheimer' ~ "'s" ~ 'Disease" ...'
census perlpilot that didn't work. it compiled, but it returned no hits, so it didn't work with the website. unless i misinterpreted you: '( "Alzheimer' ~ "'s" ~ 'Disease"[Title/Abstract] ........... 13:22
13:22 Actualeyes left 13:23 aborazmeh joined, aborazmeh left, aborazmeh joined 13:24 xinming_ joined
perlpilot oh, I left out a space giving you "Alzheimer'sDisease" instead of "Alzheimer's Disease". Put that space back in and see if it helps 13:25
13:27 xinming left
census perlpilot thanks! that worked great :) 13:29
13:36 holli joined 13:38 Actualeyes joined 13:39 holli left, HoboWithAShotgun joined 13:46 skids joined 13:48 hjup joined, dj_goku joined, dj_goku left, dj_goku joined 13:53 hjup left, aborazmeh left 13:54 dj_goku left
HoboWithAShotgun which of the perl 6 releases on github is good for Linux Mint? 13:56
github.com/nxadm/rakudo-pkg/releases
timotimo is mint still split between an ubuntu-based and a debian-based version?
HoboWithAShotgun no idea 13:57
timotimo it seems so 13:58
hm, or maybe the part i just read about that is out of date
HoboWithAShotgun oh joy, now how do i find out which version of mint this is
timotimo oh, only Linux Mint Debian Edition is based on debian; you'd find that under the name LMDE 13:59
13:59 zakame left
timotimo so you'll have a version based on ubuntu, so i'd expect the ubuntu packages would fit best 14:00
HoboWithAShotgun mmh there is only one for 17.04, i think this 18
i'll go ahead and give it a try
timotimo no, linux mint 18 is based on ubuntu 16.04 lts
HoboWithAShotgun meh, i'm just going to use rakudobrew again 14:05
14:11 Exodist left
Skarsnik you dl a rakudo release and follow the installation/build instruction 14:11
+could
14:11 Exodist joined 14:12 sumdoc joined
sumdoc Looks like change in rakudo is causing tests failure in Log::Async. It was working alright till yesterday 14:14
github.com/bduggan/p6-log-async/issues/19
timotimo sumdoc: does it rely on a file immediately showing writes to it when you re-open it for reading? 14:15
if so, the module should really open the log file :!buffer or .flush it regularly 14:16
Skarsnik maybe ping Zoffix for a toaster run? x) 14:18
HoboWithAShotgun Succes :) / This is Rakudo version 2017.08-91-g9785356 built on MoarVM version 2017.08.1-128-gde6dced 14:24
14:24 st_elmo joined
timotimo it's not recommended to just run whatever commit is latest; if you want stability, you'd be better off using the 2017.08 (and 2017.08.1) tags 14:25
sumdoc timotimo I love latest and greatest :))
HoboWithAShotgun i'm just toying around, and if i find a bug 14:26
14:26 Cabanossi left 14:27 Cabanossi joined 14:30 fireartist left
bdmatatu I've been looking into the p6-log-async issue, but haven't yet figured it out; I was thinking maybe something to do with recent rakudo work on flushing/buffering but I'm not sure 14:39
14:40 piojo2 left, piojo2 joined
timotimo it seems very likely 14:41
14:42 Kyo91 joined
sumdoc timotimo Could this p6-log-aync issue due to flushing issues? 14:42
timotimo that's what i expect 14:43
that's the thought behind my question from half an hour ago
sumdoc timotimo :)
HoboWithAShotgun is there a bootstrapping tool for new modules?
bdmatatu It does rely on that behavior 14:44
I tried adding calls to close and flush before re-opening, but it didn't help 14:45
timotimo there's at least mi6 and Miroku, HoboWithAShotgun
HoboWithAShotgun googles 14:47
moritz HoboWithAShotgun: there's also ddt
timotimo all those should have the authoring tag, imo 14:48
moritz github.com/kalkin/Ddt
timotimo but only ddt does (and app::gptrixie does, too)
HoboWithAShotgun which one would you remcommend? 14:52
moritz I've used ddt for Gramar::ErrorReporting, and haven't regretted it
HoboWithAShotgun allright
so be it
14:53 Hor|zon joined
HoboWithAShotgun have the powers that be considered any (quality assurance?) measures so the module archive won't clutter as much? 14:54
like 12 modules for the same job 14:55
14:55 sumdoc left
moritz qa has not much to do with the number of competing modules 14:55
14:55 st_elmo left
moritz and no, as far as I can tell, we haven't 14:55
we let people contribute whatever they want, and usage will decide which ones "win" 14:56
mspo isn't that why metacpan tracks stars and downloads and stuff? 14:59
there are also a lot of meta-modules that gather up "good" stuff (IO::All, like posted in here yesterday)
ilmari metacpan can't track downloads, since CPAN is mirrored around the world
mspo okay right, just stars I guess 15:00
although I know people whine about that a lot
maybe every lib should ping back to google analytics :)
(joke) 15:01
the big dependency graph is another good metric (N programs depend on Y library)
15:04 araujo left 15:06 ChoHag left 15:07 skids left 15:08 ChoHag joined
HoboWithAShotgun what is the perl6 equiv of "use lib"? 15:11
lizmat use lib 15:12
timotimo "use lib"
moritz I'm currently searching for a good subtitle for my new book 15:14
the title will most likely be "Parsing with Perl 6 Regexes and Grammars"
maybe something like "A Deep Dive into Parsing" or "An In-Depth Exploration of Parsing" 15:15
Skarsnik I deep dive in parsing hell 15:27
timotimo "how to not drown" 15:28
census Skarsnik are you good with HTTP::UserAgent ? 15:30
bdmatatu "a recursive descent into parsing"? 15:31
timotimo "how i .made it out"
moritz bdmatatu: I like it :-) 15:33
bdmatatu :-) 15:34
15:35 kd8dyg joined
moritz but I fear my publisher won't :/ 15:36
15:36 dj_goku joined, dj_goku left, dj_goku joined
moritz oh well, it's worth trying 15:39
jnthn
.oO( From text to action :P )
15:40
15:41 dj_goku left
timotimo A call to action() 15:42
15:43 HoboWithAShotgun left 15:44 kd8dyg left
jnthn "Putting text into action" is better and would do the same pun :) 15:47
15:52 grondilu left 15:56 Cabanossi left 15:57 Cabanossi joined
moritz the disadvantage with in-jokes in the title is that a potential reader is mostl likely not yet in on the joke 16:04
timotimo right 16:05
16:06 mtj_ left 16:09 skids joined, khw joined 16:12 robertle left
masak .oO( the advantage with intensional definitions in mathematics is that all jokes are in-jokes ) 16:13
moritz eeks. My publisher uses a new layout, which only allows 63 characters per line in code examples 16:15
used to be 68
timotimo damn 16:16
16:29 ash_gti joined, abraxxa left
Ulti if I ever once suggested I wanted strings to be iterable and array indexable I was wrong, so wrong... this feature of Python is nightmarish for bugs without strict typing 16:31
some of the more subtler design choices in Perl 5 can only be appreciated somewhere else 16:32
I spent an hour with an error KeyError 'w' where its only because its my own code I knew it would be some weird bug related to 'weight'[0] 16:33
skids Yeah but "not as crappy" is a bummer of a marketing theme.
Ulti if it was more complex code working in a team thats horrible
the error ends up miles from the actual bug
16:34 dogbert2 joined 16:36 khw left 16:37 robertle joined 16:38 HoboWithAShotgun joined, dakkar left 16:39 kyan joined 16:44 Aaronepower left, smls joined 16:45 piojo2 left
smls bisectable6: say ("\c[REGIONAL INDICATOR SYMBOL LETTER G]" x 2).chars; 16:45
bisectable6 smls, Bisecting by output (old=2015.12 new=9785356) because on both starting points the exit code is 0
smls, bisect log: gist.github.com/01a82d07e8009c7bef...93432dddf2
smls, (2017-08-23) github.com/rakudo/rakudo/commit/59...19c9b1fbe3
16:46 leont joined, HoboWithAShotgun left 16:48 samb1 left 16:52 khw joined 17:00 samb1 joined 17:03 purcell joined, setty1 joined 17:04 ash_gti left, zakharyas left 17:09 ash_gti joined
rindolf smls: cool bot! 17:19
nadim I had two new methods, nopaste.linux-dev.org/?1161381, and I had to change the order so it worked when I called it with three arguments. Am I missing something? 17:22
17:25 dj_goku joined, dj_goku left, dj_goku joined
smls rindolf: Yep. Created by AlexDaniel, I think. 17:26
rindolf: See here for the documentation: github.com/perl6/whateverable/wiki 17:28
17:30 dj_goku left
smls nadim: Named parameters only affect multi-dispatch when they are marked *required*, i.e. `:$lines!` or `:$lines is required` 17:30
nadim smls++ 17:33
rindolf smls++ # helping nadim 17:36
nadim: you remember about the p6-dump-tree change, right?
nadim rindolf: Yes I do, as you know I have been, and still am, quite sick. But I hope it will happen soon. 17:38
17:39 purcell left 17:40 zakharyas joined
rindolf nadim: i didn't quite recall that. I suffer from info overload 17:40
nadim: hope you feel better soon 17:41
17:41 HoboWithAShotgun joined
nadim rindolf: thanks 17:43
17:46 jkoo joined 17:47 zakharyas left 17:48 ash_gti left 17:50 ash_gti joined 17:55 andrzejku joined, skids left 17:59 Kyo91 left 18:00 Rawriful joined, Aaronepower joined 18:01 Kyo91 joined 18:10 Cabanossi left 18:12 Cabanossi joined 18:15 Aaronepower left 18:18 cdg left 18:19 ash_gti left 18:21 jonas1 left 18:33 census left 18:41 Cabanossi left 18:42 Cabanossi joined 18:54 HoboWithAShotgun left 18:59 Franciman joined 19:02 pecastro left 19:06 pecastro joined 19:08 zakharyas joined 19:11 bartolin joined, darutoko left 19:13 dj_goku joined 19:18 dj_goku left 19:19 notbenh left 19:21 pecastro left, andrewalker left 19:24 zakharyas left 19:26 andrewalker joined 19:27 pecastro joined, _28_ria left 19:28 kyan left 19:31 pecastro left 19:32 _28_ria joined, bdmatatu left 19:33 AlexDaniel joined 19:35 zacts left, coverable6 joined 19:37 bloatable6 joined 19:38 pecastro joined 19:39 |oLa| left, zacts joined 19:42 |oLa| joined 19:43 ShalokShalom_ is now known as ShalokShalom 19:45 TEttinger joined 19:47 ChoHag left 19:48 pecastro left 19:52 pecastro joined 20:02 smls left 20:03 cdg joined 20:08 jkoo left 20:14 itaipu joined 20:19 ufobat left 20:21 notbenh joined
BooK nine++ # -OFun 20:27
20:29 cdg_ joined
BooK we spent three hours on enums, and all I produced was a typo fix :-) 20:29
Skarsnik huhu
20:32 cdg left 20:33 raschipi joined 20:43 skids joined 20:45 robertle left
lizmat BooK++ 20:48
20:49 mr-foobar joined 20:54 ash_gti joined 20:56 andrzejku left 21:01 dj_goku joined, dj_goku left, dj_goku joined 21:06 dj_goku left 21:09 nattefrost left 21:18 skids left 21:20 Rawriful left 21:21 itaipu left 21:32 Kyo91_ joined
BooK lizmat: my first ever commit to rakudo :-) 21:34
21:34 Kyo91 left 21:36 Kyo91_ left
MasterDuke BooK++ 21:36
raschipi m: say Bool ~~ Enumeration; 21:37
camelia False
raschipi 💩 21:38
Sorry for the pile of poo, I was testing if the unicode was fixed in the logs. 21:39
BooK raschipi: yeah, that's what nine and I tried to work on, and failed (for now) 21:43
raschipi I'm eagerly waiting for your results. 21:44
21:51 Aaronepower joined 21:55 Cabanossi left 21:57 Cabanossi joined 21:59 lancew joined, setty1 left 22:18 geekosaur left 22:19 geekosaur joined, leont left 22:29 ash_gti left 22:34 mtj_ joined 22:35 someuser left 22:49 dj_goku joined, dj_goku left, dj_goku joined, cdg joined 22:53 cdg_ left, pilne joined 22:54 cdg left, dj_goku left 22:55 Cabanossi left, cdg joined 22:56 cdg_ joined 22:57 Cabanossi joined 22:58 skids joined 23:00 cdg left, rid joined 23:01 rid left 23:04 ttkp6 joined 23:07 lancew left 23:08 cdg_ left, cdg joined 23:10 cdg left
Geth doc: a7453d5154 | (Will "Coke" Coleda)++ | xt/words.pws
learn new word
23:33
doc: 871cc1a173 | (Will "Coke" Coleda)++ | doc/Type/utf8.pod6
fix typo
doc: d4170d14f4 | (Will "Coke" Coleda)++ | doc/Type/utf8.pod6
Use actual class def so the example compiles
23:33 itaipu joined 23:34 rindolf left 23:37 cpage_ left 23:41 RID1984 joined, Cabanossi left, RID1984 left 23:42 Cabanossi joined
Geth doc: ba916848ce | (Will "Coke" Coleda)++ | doc/Type/Any.pod6
Remove extra return part of sig.
23:46
doc: 04ee7902e3 | (Will "Coke" Coleda)++ | doc/Type/Thread.pod6
remove use of "HLL".