»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 July 2018.
00:04 oodani_ left 00:05 oodani joined 00:22 aborazmeh joined, aborazmeh left, aborazmeh joined 00:37 llfourn joined 00:42 llfourn left 00:44 aborazmeh left, w_richard_w joined 00:53 kurahaupo_ joined, zachk left 00:55 kurahaupo left 01:01 jackfly26 joined
jackfly26 yay more nqp stuff 01:01
i keep getting unable to parse blockoid
on a sipmlified version of my code 01:02
hastebin.com/exideyutih.rb
line 31 near new QAST:
01:05 mniip left 01:06 john_parr joined 01:08 AlexDaniel left
jackfly26 ok i guess nobody is online 01:17
MasterDuke i just looked at it, but nothing jumps out at me 01:18
yoleaux 3 Apr 2019 03:19Z <AlexDaniel> MasterDuke: yeah, it actually does run *every* message. Crazy. :)
3 Apr 2019 03:19Z <AlexDaniel> MasterDuke: well, almost every. Most of them for sure
jackfly26 huh ok 01:20
weird then
01:21 kurahaupo_ left
Xliff NQPHLL is only recognized by nqp, correct? 01:22
jackfly26 wdym
i think
Xliff Commenting out all of "method statement:sym<putln>" reveals a new error. 01:23
Cannot find method 'language' on object of type NQPMu
jackfly26 huh 01:24
MasterDuke jackfly26: it parse/compiles if you comment out all the putln action
Xliff Ah! There is no Fly::Language
jackfly26 is that needed
Xliff Er.
jackfly26 the tutorial mentioned in the repo doesnt show that
Xliff Fly::Compiler.
jackfly26 oh 01:25
its the $comp.language()
so compiler is pretty much null
Xliff Yes. Fly::Compiler is missing.
jackfly26 i must have accidentally deleted that 01:26
Xliff :)
jackfly26 oh
MasterDuke ah, think i figured it out. use different quotes around say
jackfly26 the blockoid literally got fixed by double quotes 01:27
thats stupid
Xliff ??
Post fix?
MasterDuke u: ’ 01:28
unicodable6 MasterDuke, U+2019 RIGHT SINGLE QUOTATION MARK [Pf] (’)
Xliff Oh... wooow
:op("say") -- works
:op('say') -- works 01:29
:op(’say’) -- doesn't work
Yeah. Wrong quotes.
u: '
unicodable6 Xliff, U+0027 APOSTROPHE [Po] (')
MasterDuke it probably would if it started with a left single quotation mark and ended with a right 01:30
jackfly26 wow
ok
MasterDuke oh, maybe not. guess nqp doesn't support those 01:31
jackfly26 it doesnt give any errors but
Xliff Yep.
jackfly26 it still doesnt print out
Xliff :op('say') -- works
jackfly26 i got that working
Xliff MasterDuke: You are correct. It parses with left quotation mark.
jackfly26 it just won't print to screen
Xliff Yeah. Well can't help you further coz missing Fly::Compiler. 01:32
jackfly26 oh
lemme post updated code
Xliff :) 01:33
jackfly26 hastebin.com/gafiyezefa.xml
MasterDuke jackfly26: don't you need to eval the input? 01:38
jackfly26 no 01:39
i think the HLL::Compiler does that
Xliff After this operation "$output := $output();".... $output is an empty string 01:40
01:40 AlexDaniel joined
jackfly26 i just realized i can take everything out of the compiler class 01:41
eval doesnt do anything
so
01:58 atweiden-air joined
jackfly26 ok got it working 02:02
thx
02:02 jackfly26 left
MasterDuke what was the problem? 02:03
02:14 jackfly26 joined
jackfly26 im testion out a new client dont mind me 02:14
testing*
more tests 02:16
02:16 jackfly26 left, jackfly26 joined
jackfly26 more tests 02:17
ok
02:17 jackfly26 left
Xliff .tell jackfly26 What was the solution to the eval issue? 02:30
yoleaux Xliff: I'll pass your message to jackfly26.
02:38 llfourn joined 02:42 buffet left, buffet_ joined, llfourn left
Geth ecosystem: alabamenhu++ created pull request #445:
Add Intl-CLDR
02:43
guifa Finally got the stupid thing done 02:44
Odd, the travis build failed. 02:51
.tell jmarelo Any ideas what I did wrong?
yoleaux guifa: I'll pass your message to jmarelo.
guifa .tell jmarelo Actually, nm. Somehow there was a bug in one of the dependent modules 03:01
yoleaux guifa: I'll pass your message to jmarelo.
03:04 kurahaupo joined 03:10 PavelB left 03:13 PavelB joined 03:15 PavelB left 03:22 PavelB joined 03:32 Cabanossi left 03:35 kent\n left, kurahaupo left 03:39 Cabanossi joined 03:40 MidCheck left 03:43 mowcat left
Xliff Is there a way to remove a role from an object? 03:50
m: role A { }; class B { }; my $b = B.new but A; $b.^name.say 03:51
evalable6 B+{A}
03:52 cpan-p6 left 03:53 cpan-p6 joined, cpan-p6 left, cpan-p6 joined
japh .tell jmerelo so I asked $wife if she could print the pdf on her laser printer at work, few hours later she called me up, freaking out, "dude, did you ask me to print the whole internet?" 03:54
yoleaux japh: I'll pass your message to jmerelo.
Xliff m: role A { }; class B { }; my $b = B.new but A; $b.^name.say; my B $c = $b; $c.^name.say; 04:01
evalable6 B+{A}
B+{A}
perlbot Howardnok pasted a new file at perlbot.pl/p/6rocsm - 04:03
Xliff m: role A { }; class B { }; my $b = B.new does A; $b.^name.say; my B $c = $b; $c.^name.say; 04:04
evalable6 B+{A}
B+{A}
04:16 loops left 04:17 epony left 04:19 epony joined 04:30 MidCheck joined 04:32 dylanwh left, dylanwh joined 04:34 dylanwh left, dylanwh joined, loops joined 04:39 llfourn joined 04:43 llfourn left 04:46 aborazmeh joined, aborazmeh left, aborazmeh joined 04:48 curan joined 04:50 molaf joined 05:20 sauvin joined 05:24 jmerelo joined 05:53 mniip joined 06:03 aborazmeh left 06:04 domidumont joined, llfourn joined 06:09 llfourn left
Geth doc: 15af92f4e8 | (JJ Merelo)++ | doc/Language/hashmap.pod6
Closes a link
06:13
synopsebot_ Link: doc.perl6.org/language/hashmap
Geth doc: 2281d5ed81 | (JJ Merelo)++ | doc/Language/hashmap.pod6
Junctions as keys to hashes
06:21
synopsebot_ Link: doc.perl6.org/language/hashmap
06:33 netrino joined 06:34 pistacchio left, pistacchio joined 06:40 jmerelo left 06:41 nebuchadnezzar joined 07:03 ravenousmoose joined 07:07 aborazmeh joined, aborazmeh left, aborazmeh joined 07:11 vrurg left 07:12 aborazmeh left 07:14 revdiablo left 07:15 revdiablo joined 07:23 robertle joined 07:24 pmurias joined 07:31 netrino left 07:33 dakkar joined 07:49 kensanata joined 07:56 zakharyas joined 08:01 ravenousmoose_ joined 08:02 ravenousmoose left 08:05 llfourn joined 08:09 aborazmeh joined, aborazmeh left, aborazmeh joined 08:11 llfourn left
SmokeMachine Does anyone here knows about Keybase? I've found about it yesterday... it seems interesting... 08:15
08:20 aborazmeh left 08:27 eseyman left
kawaii SmokeMachine: I use keybase! keybase.io/kawaii 08:28
08:28 aborazmeh joined, aborazmeh left, aborazmeh joined 08:29 cpan-p6 left 08:30 cpan-p6 joined, cpan-p6 left, cpan-p6 joined 08:36 eseyman joined 08:43 pmurias left
AlexDaniel SmokeMachine: I have it too, not sure if I like it… 08:44
SmokeMachine AlexDaniel: what don't you like on it?
08:45 aborazmeh left 08:47 abraxxa left
kawaii Keybase keep a copy of your private key, of course they claim it is all encrypted and secure but as with anything - you will never know. 08:48
Personally, I've used and trusted the service since it was in closed beta. But I can understand why others might now.
not**
08:49 abraxxa joined
AlexDaniel SmokeMachine: the idea of having a profile with links to multiple sources where your key can be verified is cool, but anything beyond that makes me worried. Like I don't see any good reason for a yet another chat application… and it looks like someone has sent a file to me, but I can't get it unless I install their thing, apparently? I don't want to install things 08:50
kawaii: wait what? Why would they have your private key? They definitely don't have mine
kawaii AlexDaniel: ah well if you used their key generation service (i.e. you didn't previously have a key at all), they store both parts.
AlexDaniel o_O 08:51
kawaii usercontent.irccloud-cdn.com/file/...-51-15.png
>Export my private key
SmokeMachine AlexDaniel: I think you can download from browser, can't you? 08:52
AlexDaniel SmokeMachine: no 08:54
not for files, apparently
kawaii You need to use the desktop or mobile clients to use Keybase chat/filestorage/git etc... 08:55
SmokeMachine maybe you can't if its crypt with your pub key because they don't have you prove key (neither mine)
AlexDaniel why can't they just give the encrypted file to me? 08:56
ok so to install their app they recommend to curl a deb package and install it 08:57
I don't feel like doing that
SmokeMachine what about clone theirs repo? 08:58
kawaii Speaking of repos, Debian stable has Rakudo from 2016 - and as far as I can see, we don't have our own upstream Debian repos for Rakudo, do we AlexDaniel?
xq I've looked at keybase and even have an account, but I've never found a problem that I can solve with it 08:59
a hammer looking for a nail
AlexDaniel kawaii: no repo but there's github.com/nxadm/rakudo-pkg/releases
09:00 pecastro joined
AlexDaniel kawaii: also, new debian release is coming this year, hopefully 09:01
kawaii I know a little bit about Debian packaging, maybe we could get something like deb.(rakudo|perl6).org and provide an upstream?
09:02 sftp joined
AlexDaniel kawaii: we can have our own repo, yes, but I'm not convinced that it's a super useful thing to have 09:02
kawaii Could be, I hardly ever use Debian's own repos for most things (i.e. I use nginx upstream, postgresql upstream...) 09:03
Most people want bleeding-edge unless it's for a server.
AlexDaniel people who want bleeding edge stuff use ubuntu, no? 09:04
and ubuntu comes with updated rakudo like every 6 months
kawaii 2018.03 according to apt search
09:05 maettu left, pmurias joined
AlexDaniel 2018.03 in 18.04, 2018.06 in 18.10, 2018.12 in 19.04 09:06
see also: repology.org/project/rakudo/versions 09:09
ah, also, there's already debian unstable 09:10
so you can install rakudo from that, if you want…
09:10 llfourn joined 09:13 maettu joined
AlexDaniel timotimo: “I was trying to install doxygen” 09:13
timotimo: now I'm even more confused 09:14
09:15 llfourn left 09:16 pecastro left 09:17 ravenousmoose_ left, ravenousmoose_ joined 09:21 rindolf joined 09:22 w_richard_w left
timotimo i'm also confused 09:25
atweiden-air on a related note, we have `xbps-install rakudo` in void linux, plus a `perl6` build-style in the official repos 09:27
timotimo what is a "build-style"? like a template for creating packages? for modules and such? 09:28
atweiden-air also, i wrote an excellent installer in perl 6 at github.com/atweiden/voidvault
timotimo: yes, it's an alternative to zef
09:39 patrickb joined
xq debian sid has 2018.12 rakudo 09:44
so does testing
so thats what next stable will release with 09:45
timotimo oh
09:45 llfourn joined
timotimo no 6.d then :( 09:45
xq yes, too late for that (testing frozen)
timotimo were we too slow? was there a problem on one of the non-x86 architectures?
xq I don't see particular problems 09:47
tracker.debian.org/pkg/rakudo
Geth mu: 5bc5c450d2 | (JJ Merelo)++ | 2 files
Fixes example w/o slurpy
timotimo OK, that's good then
kawaii hence why official upstreams would be good, user friendly for those who don't want to compile, can be updated as soon as we cut a release, a trustworthy source to get rakudo instead of 3rd party repos.
09:48 random_yanek left 09:59 mowcat joined, mowcat left, random_yanek joined 10:00 mowcat joined
Geth mu: f9bc1c0656 | (JJ Merelo)++ | examples/functional/monads.p6
Using return values -debug code
10:24
AlexDaniel timotimo: what do you mean no 6.d 10:33
c: 2018.12 say $*PERL
committable6 AlexDaniel, ¦2018.12: «Perl 6 (6.d)␤»
timotimo oh, that's a non-star
never mind then! 10:34
AlexDaniel kawaii: I don't agree because unstable is usually up to date and even more trustworthy than our repo could ever be 10:35
10:43 atweiden-air left 10:45 pistacchio left 10:46 pistacchio joined 10:47 reach_satori left 10:59 MidCheck left 11:05 zakharyas left 11:14 reach_satori joined 11:22 Black_Ribbon left 11:29 pistacchio left 11:30 pistacchio joined 11:46 [particle] joined 11:48 [particle]1 left 11:53 pmurias left 11:54 cydf joined 11:55 pmurias joined 12:10 Sgeo_ joined
patrickb is it possible in comma to attach the debugger to an already running process? 12:12
12:13 Sgeo__ left
timotimo patrickb: not at the moment; moarvm has to be started with the debugger turned on for it to even listen for commands 12:15
though in theory, i guess it'd be possible to attach to the actual moar process with gdb and run a script that sets everything up
that sounds rather advanced and potentially very fragile :)
patrickb ok 12:16
thanks!
Where do I report comma bugs? 12:20
timotimo there's a feature in the program that lets you report errors you encounter 12:26
other than that
when you're logged in to commaide.com there'? a "submit feedback" link in the top menu bar
patrickb I don't have a login :-( 12:28
12:33 reach_satori left 12:37 cydf left 12:40 mowcat left
timotimo oh, because you're using comma community 12:41
that makes a lot of sense
patrickb True
timotimo there's [email@hidden.address]
patrickb OK. Will do. Thanks! 12:42
12:49 vike left 12:58 reach_satori joined
timotimo twitter.com/2DArray/status/1092541253089218560 - beautiful 13:09
13:10 ufobat__ joined 13:13 pecastro joined 13:14 ufobat_ left 13:22 reach_satori left, reach_satori joined, pmurias left 13:24 pmurias joined, vrurg joined 13:26 vike joined 13:33 skids joined 13:36 MasterDuke left 14:24 lucasb joined 14:25 zakharyas joined
kawaii awoo 14:27
14:28 mowcat joined 14:33 pecastro left, vike left 14:42 pecastro joined 14:46 MidCheck joined 14:49 vike joined 14:50 Sgeo__ joined 14:52 Sgeo_ left 15:03 wahnwitz joined, curan left
wahnwitz hi, how can I add a class from another file into my code? :/ 15:04
i have multiple files with classes
timotimo hi 15:05
usually when you're working on a module, you'll have them in a lib/ folder and outside of that a META6.json with a "provides" section in it that lists them with their names
zostay I can't get to perl6.org subdomains. I'd search IRC history to see if this was a known problem, but I can't get to irc.perl6.org either to do that. What's up with DNS?
timotimo then you can "use" them
zostay: for me, docs.perl6.org works at least 15:06
wahnwitz: if you're okay with being more closely bound to paths and directory structure and such, you can "use lib 'blah/';" from your code to put "blah/" into the module search path 15:07
15:08 reach_satori left
zostay Hmm... I wonder if my ISP is doing something stupid. It does not work from either of my laptops, but if I connect to the VPN it switches resolver setups and then it works. 15:09
wahnwitz thx timotimo ..thats what I want
timotimo usually when i'm developing on one of my modules or have a dependency i'm making changes in i'll use -I flags to point at the module folders 15:10
either point them at the folder that has the META6.json in it and it'll pick that up, or the lib/ folder
wahnwitz its just training for now..i have something like this: use lib './classes/Importer.class'; my $imp = Importer.new("blabla"); 15:11
still get an "undeclared name" "Importer 15:12
timotimo yeah, "use lib" is only to add paths to the list 15:13
and normally perl6 won't pick up files ending in .class
wahnwitz so i need a use "Importer" than 15:14
timotimo without quotation marks
wahnwitz ok..now i have an Could not find Importer at line 4 in: file#/usr/home/Abuse/classes .. its going better :D 15:15
ahh, ok .. with .pm its going well 15:16
zostay Weird. Google's DNS servers won't resolve perl6.org subdomains, but my ISP DNS doesn't have a problem, so I've switched back to that. 15:20
wahnwitz thx timotimo 15:21
moritz zostay: it has a catchall for the subdomains 15:22
15:22 wahnwitz left
moritz can confirm, dig docs.perl6.org @8.8.8.8 +short comes up short 15:23
15:23 patrickb left
moritz the 1.1.1.1 DNS (cloudflare, IIRC) can resolve it just fine 15:24
15:25 domidumont left
Chaz6 no AAAA record :( 15:25
Xliff m: say Str !=:= Str 15:29
evalable6 False
Xliff m: say Str =:= Str
evalable6 True
15:36 robertle left 15:40 pmurias left 15:52 zakharyas left 15:54 zakharyas joined
lucasb Wouldn't be cool if "=!=" was shorthand for "!=:=" ? :) 16:06
moritz it's not an operator that is used often enough to warrant such a shortcut 16:10
16:12 kensanata left 16:19 zachk joined
Geth ecosystem: alabamenhu++ created pull request #446:
Add Intl-CLDR
16:19
ecosystem: 9c58f3a2c4 | L'Alabameñu++ (committed using GitHub Web editor) | META.list
Add Intl-CLDR

Add the CLDR module
16:23
ecosystem: 9a6557f088 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Merge pull request #446 from alabamenhu/patch-4

Add Intl-CLDR
16:23 cpan-p6 left
guifa jmarelo++ 16:24
16:25 cpan-p6 joined, cpan-p6 left, cpan-p6 joined, zachk left, zachk joined 16:27 cpan-p6 left 16:28 cpan-p6 joined, cpan-p6 left, cpan-p6 joined 16:30 robertle joined 16:31 jmerelo joined 16:34 dakkar left 16:39 pistacchio left 16:40 pistacchio joined 16:41 zakharyas left 16:45 pistacchio left 16:54 MidCheck left 17:06 agentzh left 17:08 agentzh joined, agentzh left, agentzh joined 17:14 pistacchio joined 17:27 mowcat left 17:41 kurahaupo joined
jmerelo Anyone around has any idea of Haskell? 18:06
yoleaux 03:54Z <japh> jmerelo: so I asked $wife if she could print the pdf on her laser printer at work, few hours later she called me up, freaking out, "dude, did you ask me to print the whole internet?"
jmerelo .tell japh that's rich :-)
yoleaux jmerelo: I'll pass your message to japh.
jmerelo .tell but that pretty much describes Perl6, yes. "Everything _and_ the kitchen sink" 18:07
yoleaux jmerelo: I'll pass your message to but.
jmerelo I'll just drop it here: typeclasses are basically like roles in Perl 6?
18:08 chansen_ left 18:09 chansen_ joined
jmerelo Well, maybe actually like roles with abstract methods. And no instance variables. 18:15
ugexe conceptually sure 18:26
18:26 b2gills left
ugexe its just you can do things with roles that would not be considered something a typeclass should do 18:27
jmerelo ugexe: like putting state into instance variables. State is bad. Functional languages don't like that.
ugexe: or punning... 18:28
ugexe: OK, thanks!
ugexe you can put default implementations inside of a role, although thats not something an interface should o
do
18:31 b2gills joined 18:32 sauvin left 18:33 netrino joined 18:36 clarkema joined 18:41 sena_kun joined 18:47 domidumont joined 18:49 cpan-p6 left 18:50 cpan-p6 joined, cpan-p6 left, cpan-p6 joined 18:52 pistacchio left, pistacchio joined 18:53 domidumont left 19:05 jmerelo left 19:13 Kaiepi joined 19:16 MidCheck joined
Kaiepi back from detox! can finally use git and irc again 19:18
19:26 Kaiepi left 19:28 zakharyas joined 19:30 Kaiepi joined 19:31 pmurias joined
tyil Kaiepi: \o/ 19:33
vrurg I'd like to ask for testing of a new Configure for rakudo/NQP. Instructions are here: gist.github.com/vrurg/0fff72701bd8...le-test-md 19:35
Sorry for being very brief, have very little time now. :( 19:36
19:38 reach_satori joined
Xliff vrurg: Testing.... What kind of info do you want back? 19:51
AlexDaniel vrurg: what is the problem that you are trying to solve? 19:52
19:55 reach_satori left, reach_satori joined
Xliff vrung: Makefile:728: *** missing separator (did you mean TAB instead of 8 spaces?). Stop. 19:57
20:04 lucasb left 20:12 reach_satori left, reach_satori joined 20:15 Kaiepi left 20:16 Kaiepi joined 20:23 Kaiepi left 20:26 zakharyas left, Kaiepi joined 20:28 Kaiepi left 20:30 Kaiepi joined
vrurg AlexDaniel: don't have time to answer now. Just wanna see if it builds. Especially on Win. 20:40
vrurg is away now
AlexDaniel: briefly: started with adding a new lang specs letter. The decided that overall the configure looks not so good.
20:42 lucasb joined
guifa If you do something like 20:45
my %data = BEGIN { … }
versus
my %data = INIT { … }
Is there any reason that callables that get stored in %data should be any different?
AHA! There *is* a difference 20:51
lucasb please show 20:52
guifa Although I think it’s definitely in bug territory. If you use MONKEY-SEE-NO-EVAL in a BEGIN block, the callables created with it are basically deemed callables non grata. If you do it on INIT, they’re dconsidered acceptable
21:02 Kaiepi left, molaf left, ctilmes joined
guifa I can reduce this down to just two files, where should I submit it to? 21:03
cpan-p6 New module released to CPAN! NativeHelpers::Callback (0.1) by 03CTILMES
21:05 Kaiepi joined 21:09 gabc joined
gabc Hi, is it normal that the link to smoke testing on the community page gets me a 500 error? 21:11
That page smoke.perl6.org/report
timotimo i wonder when the last time that was mentioned was
to the irclog! 21:12
gabc ahah
I don't know what is a smoke test, I was curious :P
ugexe testers.perl6.org/ still lives though 21:13
timotimo the last report was 2017 though : 21:14
:)>
hm, does the updater for that site still eat up cpu on hack? maybe we should retire it 21:15
anyway, the smoking stuff has been superceded by Blin
but we don't really have a site for blin results; they always just land on github as issues
gabc Oh what is Blin?
timotimo github.com/perl6/Blin 21:16
ugexe github.com/ugexe/zef/blob/master/l...porter.pm6 uses tests.perl6.org
21:16 epony left
gabc timotimo: thanks :) 21:16
timotimo ugexe: i seem to recall we've talked about this before
21:17 skids left
ugexe testers.perl6.org/dist/Z/Zef/ugexe.html <-- passing test results for zef on jvm win/osx/linux 21:17
we've regressed
21:18 sivoais left 21:19 sivoais joined 21:21 aindilis left 21:22 kent\n joined 21:25 MidCheck left
Geth rakudo.org: 7ef2c86dda | (Mike Clarke)++ | templates/files.html.ep
Update download link for macOS
21:28
21:30 Xliff left 21:31 ctilmes left 21:33 pistacchio left, pistacchio joined 21:36 rtw_ joined
guifa Alright just submited the bug report. 21:40
21:45 pmurias left 21:52 rtw_ left 22:05 clarkema left 22:09 rtw_ joined 22:10 Black_Ribbon joined 22:13 MidCheck joined 22:39 netrino left, netrino joined 22:45 netrino_ joined, Guest64932 left 22:46 netrino left 22:56 rindolf left 23:00 rtw_ left 23:18 Sgeo_ joined 23:21 Sgeo__ left 23:22 sena_kun left 23:30 [particle]1 joined, [particle] left 23:37 netrino_ left 23:43 Kaiepi left, [particle]1 left 23:44 Kaiepi joined, [particle] joined 23:59 AlexDaniel left, AlexDaniel joined