»ö« 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:07 leont left, Just_ left 00:20 rindolf left 00:21 Manifest0 left 00:25 Cabanossi left, Kilter joined 00:26 Cabanossi joined 00:27 Manifest0 joined 00:28 Kilter left 00:29 nekomune left 00:31 nekomune joined 00:35 eseyman left 00:38 aborazmeh left 00:39 raschipi left 00:40 random_yanek left 00:47 eseyman joined 00:51 xiaoyafeng left 00:54 eseyman left 00:56 buffet_ joined 00:57 buffet left 01:00 lizmat joined 01:02 lizmat left 01:03 comborico1611 left 01:14 random_yanek joined 01:26 lichtkind left, kurahaupo left, kurahaupo joined 01:29 lichtkind joined, ufobat left 01:39 raschipi joined 01:46 lichtkind left, Manifest0 left, khisanth_ left, netrino_ left 01:50 eseyman joined 01:51 Manifest0 joined 01:59 khisanth_ joined, lichtkind joined 02:00 Manifest0 left 02:05 Manifest0 joined 02:13 kst left 02:14 lichtkind left 02:15 lichtkind joined 02:25 ddddddd joined
ddddddd Does this channel have a preferred paste bin? 02:30
raschipi ddddddd: no, feel free
02:31 lichtkind left
ddddddd Okay, thanks 02:31
> my $a = 5; 5 > $a := 10; ===SORRY!=== Error while compiling: Cannot use bind operator with this left-hand side ------> $a := 10⏏;
Oops, that's not right I lost the newlines
pastebin.com/cyD6PLMe 02:32
I get that error in the repl, but if I put the exact same lines in a file and run that, it works fine 02:33
Is that normal?
raschipi Yes, REPL is just weird. 02:34
ddddddd Ah alright. Thanks
raschipi np
02:39 kst joined 02:45 lichtkind joined 02:55 Manifest0 left 03:00 Manifest0 joined 03:11 lichtkind left 03:13 lichtkind joined 03:23 Manifest0 left 03:28 Manifest0 joined 03:33 Manifest0 left 03:35 raschipi left, lichtkind_ joined 03:37 lichtkind left 03:38 Manifest0 joined 03:42 Manifest0 left 03:44 lichtkind_ left 03:46 Garland_g left 03:47 lichtkind_ joined 03:49 Manifest0 joined 03:51 molaf joined 03:53 Cabanossi left 03:56 random_yanek left, Cabanossi joined 03:59 random_yanek joined, random_yanek left 04:00 random_yanek joined, random_yanek left 04:02 random_yanek joined, cpan-p6 left 04:03 cpan-p6 joined, cpan-p6 left, cpan-p6 joined 04:18 Manifest0 left
kybr docs.perl6.org/syntax/augment says "don't do this" in a comment. why? and what, exactly? i like this idea of injecting methods into numeric types ; i'd even like to put a more compeling example on that page, but before i try.. i need to know more. is use MONKEY going to stay? 04:23
04:24 Manifest0 joined 04:28 Manifest0 left
kybr i guess i can go find who wrote that line in the docs on github.. 04:30
04:33 kst left 04:34 Manifest0 joined 04:36 ddddddd left 04:43 Manifest0 left 04:48 Manifest0 joined 05:09 xinming_ joined 05:12 xinming left 05:18 lichtkind__ joined 05:19 lichtkind_ left 05:20 rindolf joined 05:22 lichtkind__ left 05:23 lichtkind__ joined, |Sno| left 05:28 lichtkind__ left 05:29 kst joined
elcaro kybr: I don't think it's going anywhere, but i think the comment is making a point that monkey-patching core classes is generally frowned upon 05:30
because it affects the class globally 05:31
also, calling subs in a method form (ie. 4.&foo calls foo(4))
is pretty easy, further reducing the need to add methods to core classes
05:32 lichtkind__ joined 05:42 lichtkind_ joined 05:43 lichtkind__ left, ddddddd joined, reach_satori left 05:49 lichtkind__ joined 05:50 lichtkind_ left 05:55 ddddddd left 05:57 [Sno] joined, Manifest0 left 06:04 Manifest0 joined 06:15 Xliff joined 06:16 Manifest0 left 06:17 lichtkind__ left, lichtkind__ joined 06:22 Manifest0 joined
holyghost I managed to make the first room of Stone Devil, a gargoyle RPG based thing in pygame, it's for OpenBSD 06:23
06:29 Xliff left
holyghost It's just a grid (tile engine) now 06:30
06:33 lichtkind__ left, jmerelo joined 06:34 lichtkind__ joined
jmerelo releasable6: status 06:34
releasable6 jmerelo, Next release will happen when it's ready. 2 blockers. 61 out of 252 commits logged (⚠ 51 warnings)
jmerelo, Details: gist.github.com/0cd616512737729ba4...3610f16695
06:35 Manifest0 left
holyghost hi JJ 06:36
it's sunday so I thought I'd take a day off :-)
06:37 [particle] left
holyghost I am going to program something in perl6 SDL 06:37
tomorrow
jmerelo : I might also do a netbsd release of perl6, I'm on their mailing list of pkgsrc already 06:38
06:38 lichtkind__ left
holyghost Problem is, I have to keep up, so I'm thinking 06:39
s/thinking/pondering to mail a release
I have the system on a box already
perl6 compiled I mean
06:40 Manifest0 joined 06:43 domidumont joined 06:45 lichtkind__ joined 06:50 atroxaper joined
holyghost 2 blockers only, so there's gonna be a second 2019 06:50
I used a 2018.10 for the netbsd release, I might wait on the latest 2019 06:51
AFAIK there's only a 10 year old perl6 release on ubuntu 06:52
so I hope I can cope, netbsd is Ken's BSD
then there's fedora who also need a release 06:53
there's a link to help them out but everything can probably not be managed by a mere hacker 06:54
I mean, they probably release themselves
you cannot get into their package system IIRC 06:55
anyway HAND jmerelo 06:58
ooh, Castlevania sounds on my internet radio 07:03
jmerelo Hi 07:09
holyghost You're probably fixing the 2 blockers JJ 07:10
I'll wait for next release then (see above) 07:11
07:16 Xliff joined
jmerelo holyghost: not me. I don't do much with the core; I stick to what I kinda know, which is the documentation. 07:18
holyghost: need lots of help there, too.
07:21 shameen joined
xinming_ Anyone knows how I can compile perl6 code to js, So I can run it with node? 07:21
nodejs*?
holyghost jmerelo : I have enough problems already with keeping up with the docs of my modules 07:24
I know though, docs hackers are well respected
jmerelo xinming_: I don't know if you can do that. You can, however, run rakudo.js to use perl 6 on a js virtual machine, including node, probably. 07:25
07:26 Manifest0 left
holyghost jmerelo : listen to some good music as v-zor said, I installed Clementine and have good internet radio 07:26
then you'll get more done in shorter timespans 07:27
07:31 Manifest0 joined
holyghost I've always wanted to do my own NAT icecast server but my upload quota are limited 07:32
I'm looking into my ISP's all-in-one pack for no limits on upload
problem is bandwidth and so on
s/bandwidth/bandwidth then/ 07:33
07:37 Sgeo__ left 07:38 Sgeo__ joined 07:40 cpan-p6 left, cpan-p6 joined, cpan-p6 left, cpan-p6 joined
holyghost Xliff : upload in 51% of home-goon.tar.gz :-) 07:41
10 hours to go
Geth doc: 070032e827 | (JJ Merelo)++ | 2 files
Adds "constant" as syntax category

Also closes #2722. This is totally related to #1823 as expected, and maybe needs a bit of explanation. The problem was not that it was
  "special cased", but exactly the opposite: there was no special case
for constants. So a new "constant" category was added, and it was added to the "syntax"-generating case so that the URL keeps being the same. It's probably better to generate "syntax" URLs this way than rely on some undocumented heuristics, as it did so far.
07:42
jmerelo m: say $?TAINT 07:54
evalable6 (exit code 1) 04===SORRY!04=== Error while compiling /tmp/Y3mkA70DtG
Variable '$?TAINT' is not declared
at /tmp/Y3mkA70DtG:1
------> 03say 08⏏04$?TAINT
07:55
jmerelo m: say $?ENC
evalable6 (exit code 1) 04===SORRY!04=== Error while compiling /tmp/xqIlvAcHn3
Variable '$?ENC' is not declared
at /tmp/xqIlvAcHn3:1
------> 03say 08⏏04$?ENC
holyghost *lol* 07:58
08:07 Manifest0 left 08:13 Manifest0 joined 08:28 lizmat joined 08:33 leont joined 08:44 atroxaper left
Xliff \o 08:44
yoleaux 27 Apr 2019 11:22Z <holyghost> Xliff: I better use CPAN for NetBSD::X software as your box in the ecosystem won't pull it as you said, I really need to have packages for netbsd pkgsrc later on
27 Apr 2019 11:44Z <holyghost> Xliff: I'm going to upload my old server home directories to my holyghost account, they should be cherished as it's all my software during 10 years
27 Apr 2019 11:45Z <holyghost> Xliff: they're tarballs home-X.tar.gz, thanks for looking :-)
Xliff holyghost: I may have to take the machine down in the very near future. I will need to perform some maintenance on it as it ran out of space, today. 08:45
There's now a gig free, after some spring cleaning.
El_Che holyghost: all Linux distros have recents rakudos by now and certzinly ubuntu 08:46
Xliff El_Che: Heh. I had to delete my rakudobrew directory on my EC2 box for space. That's good to know.
El_Che if you need to use an old ubuntu, you can also use the rakudo repo for the monthly releases 08:50
08:55 lizmat left, lizmat_ joined
holyghost Xliff : I'd like some more disk space for my backups, nobondy wanted to give me any webspace for it 08:55
Xliff : I'm still uploading 08:56
El_Che : maybe but not 4 years ago
debian is probably on with their p5- releases 08:57
so p6- or something, just a guess
for the modules I mean
Xliff : I need to put my home tarballs somewhere, 10+ GB is unsupported on mediafire and it's clunky to get them back, you can always look at the software, it's my GNU software from where I began 10 years ago 08:58
Xliff : do you know anyone who can webspace them ? 08:59
some perl6 wakelift.de server or something ?
some virtual subserver 09:00
my home tarballs are about 23 Gb
09:00 woolfy joined
holyghost lisp,scheme,pico,perl,smalltalk,c,c++,java,at 09:00
hi woolfy 09:01
09:02 adu left
woolfy heya 09:02
El_Che holyghost: 4 years ago? 4 years ago perl 6 wasn't even released! 09:03
holyghost parrot was perl6 then
in ubuntu then you could install perl6 as a package whihc was parrot 09:04
El_Che yes, so irrelevant for packages
anyway, it's been a while since popular distro have recent packages on recent releases 09:05
holyghost it was perl6 from 2013 I believe
sure
El_Che yeah, a dead born experiment
holyghost people need to cope with our release schedule
I know
debian/ubuntu is ok then
El_Che on Linux there is no problem. Do you need recent, well integrated packages? Use the ones included in the distro? Do you want standalone monthly releases? Use the rakudo packages 09:06
macos is also fine
homebrew has the monthly rakudo as well 09:07
Fedora is ok, Suse is ok
holyghost coolness 09:08
09:15 leont left 09:19 _jrjsmrtn joined 09:21 ufobat joined, __jrjsmrtn__ left
holyghost El_Che : parrot was onece perl6, it took perl6 15 years to complete 09:26
s/oence/once
holyghost is a bit afk now
I have a bottle of white wine, so I'm going for tomorrow :-)
SDL perl6 game 09:27
on fedora
Cheers!
09:31 Black_Ribbon left
El_Che holyghost: I know about pony, parrot and the kitchensink. But you can't blame distro maintainers to give up on projects that never were declared to be production ready and never reached a usefull threshold. That's what the Rakudo Christmas relase wanted to address and it did 09:37
09:40 domidumont left
holyghost El_Che : right, rakudo is it now 09:41
the fact is we do not have CORBA though, what they wanted to acheive for perl 09:42
parrot was not just a single language, the meaning was we could translate to several languages in perl 09:43
though perl6 is cool as it is 09:44
because of research of other languages; with research of others
09:47 reach_satori joined 09:50 leont joined
El_Che it would have been cool,with enough resources 09:51
and delivered faster, the world moved on
it's not the holy grail anymore
Xliff holyghost: Um. You have less than a gig, and that hoses me. I will work on getting more space, soon. 09:57
PLEASE don't exhaust the free space on /
If you do not have enough space to do what you need, you may need to look elsewhere until I resolve the issue.
Xliff just wrote a grammar to parse git logs. 09:58
holyghost Xliff : I'm uploading to /home/holyghost 09:59
Xliff I know.
holyghost I'm over your 1Gb upload now 10:00
Xliff So if what you are currently uploading is more than 500 megs, please stop.
/dev/xvda1 7.7G 6.9G 877M 89% /
holyghost bummer 10:01
Xliff I can't do anything until all activity on the machine stops. Then I have to image it and purchase more space from Amazon.
If you could, please donate to the storage fund. :)
holyghost aagh :-)
Xliff Yeah. Bummer.
holyghost I'll wait untill it autokillifies itself
Xliff Um. No. 10:02
I don't want to run out of space again.
holyghost you want me to stop now then ?
ok
Xliff Yes.
holyghost I'll cancel the upload
Xliff Thanks.
holyghost cancelled
Xliff I will attempt to get some space. It won't be more than 10G tho, since I am out of pocket.
holyghost aaagh
Xliff I hope to be getting another gig soon, so that may change.
Woodi hi #perl6 :)
Xliff That's 10 additional gigs. 10:03
holyghost hey Woodi
Xliff Best I can do.
holyghost Xliff : I just need webspace for it
Xliff holyghost: Then upload piecemeal?
holyghost Do you know anyone who might help out ?
Xliff Not at the moment.
holyghost right
Xliff Can't you split things up?
Upload only what you need right nao 10:04
holyghost ok w8
Woodi actually Perl6 taking so long allowed to include quite a few features. and skip few like STM...
holyghost Xliff : I'm going to upload 2.5 Gb so you do not have to buy space from amazon 10:05
10:05 lizmat_ is now known as lizmat
holyghost that just seems stupid for just a backup 10:05
Xliff : could there be wakelift.de websapce somehow ?
wakelift hosts perl6 10:06
it's just 30 games/programs of GNU software
.seen Zoffix
yoleaux I saw Zoffix 6 Jan 2019 17:41Z in #perl6: <Zoffix> moritz: the project's direction and management style doesn't match my goals and I'll be happier elsewhere.
holyghost right 10:07
ugexe a 32gig usb drive is $5
holyghost anyway, do not buy more space, I'm ok right now with 2.3 Gb on your server
ugexe : a year ? 10:08
ugexe ... its a usb drive
holyghost lacie disk or something, not just a stick ?
ugexe yes its a stick
holyghost right
ugexe so use a usb stick? 10:09
holyghost indeed
gratis ? :-)
else I deposit 5$ 10:10
Woodi I think I'm still fuzzy about grammars... in v5 regexes was mainly for grepping over text. And v6 announces grammar as better regexes. So I try to use grammars as regexes in v5 but always ending in work to implement whole grammar for text format I want to work with... so I have ability to validate whole text. but I just wanted to extract some information...
holyghost ugexe, I'll get back to you 10:11
Woodi so still fuzzy... thanx to drForr++ for blog post that allowed to name a problem :)
holyghost I'm a bit afk/drunk
ugexe why? either buy a usb stick or dont... dont need to fill me in
holyghost ugexe : ?
ah ok 10:12
ugexe : you want me to buy you an USB stick ?
ugexe : I can do that 10:13
Woodi : Mastering regular expressions 2nd edition or later :-)
ugexe : anyway, I'll get back to you, keep me posted then 10:14
ugexe i do not need to be kept posted about you buying yourself a usb stick to store your software 10:15
holyghost ugexe : I thought you admined wakelift.de 10:16
Xliff m: say $*PERL.version
evalable6 v6.d
Xliff m: say $*PERL.compiler.version
evalable6 v2019.03.1.252.gcac.95.fbbc
Xliff Is there any way to get the same version IN perl6 that's reported by perl6 --version? 10:17
m: say $*PERL.compiler.version.Str
evalable6 2019.03.1.252.gcac.95.fbbc
holyghost ugexe : I have a backup 10:18
ugexe : but it's GNU software which needs webspace 10:19
10:20 mowcat joined
holyghost they camped savannah.gnu.org for it, earlier on, it used to live on yellowcouch.org 10:20
assassin of the underdark, my game was a bit too off 10:21
the admins didnt accept every pygame game I wrote 10:22
I'm onto perl6 for somewhile as it has python _and_ smalltalk features 10:25
such as self.x which is a public variable 10:26
$.x
10:28 Sgeo__ left 10:29 Sgeo__ joined
holyghost not just a blessed hash 10:29
Woodi holyghost: I have this book. also recomend it :) but my problem with grammars is more in use-case category... 10:33
holyghost my boss is a smalltalk overlord so I had to jump on
I'm hack code for her
that's everything I do for PF and Pm Brussels and the VUB 10:34
Woodi holyghost: smalltalk still use MVC as in Viewer modifies Model ?
holyghost Woodi : I'm not too good in grammars but you have to understand the features of s// and so on
Woodi : smalltalk has been Squeak and Pharo.org in recent years, there's also dolphin smalltalk for windows 10:35
USENET knows this :-)
there's patents from Adele in there, IBM IIRC 10:36
jmerelo Woodi: if regexes are not enough, or you have nested regexes, or simply want to have a more structured way of processing text, use grammars.
holyghost Woodi : as jmerelo says 10:37
jmerelo m: say $*PERL.compiler.version.gist 10:38
evalable6 v2019.03.1.252.gcac.95.fbbc
Woodi jmerelo: I think I would like tutorial how to replace nested regexes with grammar... or maybe just how to write grammar that is not full text format specification :)
jmerelo Woodi: I wrote a few in dev.to 10:39
Woodi jmerelo: link ?
jmerelo Woodi: here's the first: dev.to/jj/introduction-to-grammars...-perl6-75e
holyghost Woodi : as I understand, jmerelo is our docs wizard
jmerelo Woodi: I also wrote about them in the Perl6 calendar 10:40
holyghost: this wizard would be a happy wizard if more people helped with the documentation.
holyghost aaagh, then I cannot hack :-)
10:41 Xliff left
Woodi I wonder do I stated my problem clear... my main problem is not with using grammar or regexes :) but checking post 10:41
jmerelo Woodi: here's all the tagged articles: perl6advent.wordpress.com/tag/grammar/ some are easier than other...
10:41 domidumont joined
jmerelo Woodi: as I said above, if you're good with regexes, stick with that. But if you're using a regex to extract a pattern that you're analyzing later with another regex, that's grammar's turf 10:42
holyghost Woodi : what are you doing with your code ?
jmerelo can probably help you out with an example, or me more or less
Woodi holyghost: ATM I just parse some reports with numbers :) 10:43
holyghost right :-)
in Excell ? :-) 10:44
jmerelo Woodi: since they probably have a line structure, and they're separated by some, well, separator, it's likely that you don't even need regexes 10:45
Woodi holyghost: no, perl 5 :) plus I have project that codes that in Perl 6. but performance is 20 times worse and groving...
jmerelo Woodi: however, if you do extract first numbers from lines, and then parse what's in a cell, a simple grammar that would parse lines or whole tables would probably be a good way of dealing with it.
holyghost Woodi : perl 5 should do, I once parsed 5000 genetic algorithms with it 10:46
then put that to gnuplot.info
Woodi jmerelo: I have script that succesfully use grammar for that. my *fuzzy* problem is that I needed to write whole format specification as grammar... 10:47
jmerelo Woodi: that's a different thing altogether. If you mean some MARFA grammar or similar, I think there's a Perl 6 module for that. But grammars in perl 6 can't be inicialized with grammar notations such as BNF or similar. 10:48
Woodi: if you have the grammar in Perl 6 already, might not be too difficult to transcribe it to some reasonable format.
holyghost Woodi : write more code I guess 10:49
regexes should do for number parsing, IIRC 10:51
Woodi I'm not scientist... just use regexes... and Perl 6 says: grammars are better regexes ! and then I land with working on whole text format specification...
so probably my fault but I just do as advertised :) 10:52
jmerelo Woodi: grammars _are_ better regexes. But if you don't show a bit of text, what you've done with it, and what you intend to do with it, it's kinda difficult to help you 10:53
Woodi: because there are grammars and grammars. grammars in perl6 are programs, but if you want to specify some grammar using conventional grammar notation, that's a different thing.
holyghost as jmerelo says, I do not understand why you should not use a regex 10:54
Woodi jmerelo: example could be: find what is inside '<tr> ... </tr>' in html pages using grammar. it is easy with nested regexes. but with grammar I somehow got a habit of implementing whole HTML grammar. and every tutorial about grammars do just that: they implement grammar for EVERYTHING in text format :) I did not met any post/tutorial that says: skip headers, body and table just get what you interested in. 11:02
so efectively using grammar as regex ...
... :) so just other use-case
jmerelo Woodi: you can use a table to regex to extract the table and then a grammar... Don't need to overengineer. 11:03
jmerelo goes AFK to vote right now.
holyghost you just do embedded < and >
11:03 jmerelo left
Woodi jmerlo: GL ! 11:03
holyghost then parse your system
ok, so I'm on my own now :-) 11:04
Woodi : try to parse the < and > with a variable++ and variable--
then adjust with the keyword such as body or tr 11:05
Woodi holyghost: that is just example of use case :)
holyghost you can write a html2txt with that
anyway, I'm also afk for a while unless you need me, I am getting my wine on sunday done :o| 11:06
Woodi don't be too familiar with wine... 11:09
11:10 mowcat left
holyghost with 1 90ies internet radio that's ok :-) 11:11
I guess, it's just sunday, tomorrow I'll work on code 11:15
11:19 pecastro joined 11:20 buffet_ is now known as buffet 11:29 atroxaper joined 11:35 abraxxa joined 11:48 mojca joined, mojca left, mojca joined 11:59 Manifest0 left 12:05 Manifest0 joined
xinming_ Where do I find the doc for installing rakudo.js? 12:20
I can't seem to find it.
googled, Nothing useful found
MasterDuke xinming_: check the README for NQP, i think it has some info 12:21
kybr elcaro: thanks 12:27
12:32 woolfy left, Manifest0 left 12:33 Black_Ribbon joined
bartolin_ xinming_: I struggled to install nqp-js yesterday. It worked after I installed nodejs 10.x as described here: github.com/nodesource/distribution...debinstall (I tried with nodejs 11.x before and encountered an error -- something with compiling [email@hidden.address] Once nodejs is installed, I could simply run 'perl Configure.pl --backends=moar,js --gen-moar && make' (to install nqp-js). 12:34
xinming_: hope that helps 12:35
12:36 woolfy joined 12:37 Manifest0 joined 12:45 Manifest0 left 12:50 molaf left 12:52 Manifest0 joined 12:55 reach_satori left
xinming_ bartolin_: I'm using gentoo, Will try to see how it works. 12:57
I'm using gentoo and nvm.
use nvm to install the nodejs
bartolin_: What distro you use? 13:04
I'll try with your distro
13:11 Manifest0 left
rjbs Apress not on Safari Bookshelf, huh? :( 13:13
El_Che rjbs: some books are
rjbs Mm. But not moritz's. :( :) 13:15
Looks like a big sale at Apress.com right now, so life is good. :)
holyghost is too dumb drunk, better code tomorrow 13:16
El_Che rjbs: let me check
I saw the first one iirc
13:16 Manifest0 joined
rjbs Ah, Perl 6 Fundamentals is. Was looking for parsing. 13:17
Safari also recommends "Classical Humanism and the Challenge of Modernity
:)
El_Che rjbs: you know you need it 13:18
(logged in, indeed only Fundamentals)
rjbs Liz & Wendy have some paper copies at PTS, but I think I'll shell out for digital. :) 13:19
El_Che I have fundamentals on paper, haven't read the second yet 13:20
I hope it was already in safari
rjbs I figured I'll read Deep Dive, since it's on there. 13:21
El_Che I haven't read it. Just browsed "Learning Perl 6" and "Think Perl 6" 13:24
I read Fundmentals, though
You could read " 13:25
Cover image for Perl 6 and Parrot Essentials, Second Edition
-cover
it's also there :)
13:33 ufobat left
bartolin_ xinming_: I was on Debian 9 yesterday 13:38
13:49 random_yanek left 13:52 woolfy left, woolfy joined 13:54 random_yanek joined, random_yanek left 13:56 woolfy left, woolfy joined 14:00 abraxxa left 14:02 random_yanek joined, random_yanek left 14:11 random_yanek joined, random_yanek left 14:18 robinsmidsrod left 14:19 robinsmidsrod joined, random_yanek joined, random_yanek left 14:23 woolfy left 14:27 random_yanek joined, random_yanek left 14:31 buffet left 14:36 random_yanek joined, random_yanek left 14:44 random_yanek joined, random_yanek left 14:45 woolfy joined 14:47 leont left 14:52 pmurias joined, random_yanek joined, random_yanek left
pmurias bartolin_: what did you have trouble with? the irc log redacted that as an email address? 14:53
15:01 random_yanek joined, random_yanek left
pmurias xiaomiao: npm install rakudo should install rakudo.js 15:04
xiaomiao near miss ;) 15:05
bartolin_ pmurias: it was fibers at 2.0.2 15:08
15:09 random_yanek joined, random_yanek left
bartolin_ pmurias: the errors looked like this: github.com/laverdet/node-fibers/issues/378 But it worked with node 10.x 15:09
15:17 random_yanek joined, random_yanek left 15:26 random_yanek joined, random_yanek left 15:28 mojca left 15:33 zakharyas joined 15:34 random_yanek joined, random_yanek left 15:35 irco left
pmurias xiaomiao: ? 15:40
bartolin_: thanks, I'll look into (likely tomorrow) as I'm bit tired and as such not trustworthy today from a competition today 15:41
15:42 random_yanek joined, random_yanek left
xiaomiao pmurias: off-by-one, it wasn't me you wanted to tell about rakudo.js 15:43
bartolin_ pmurias++ 15:45
15:46 MilkmanDan left 15:47 sena_kun joined, zacts joined, MilkmanDan joined
sena_kun 15:47
15:47 patrickb joined 15:51 random_yanek joined, random_yanek left 15:59 random_yanek joined, random_yanek left 16:05 zacts left 16:07 comborico1611 joined, random_yanek joined, random_yanek left 16:08 atroxaper left 16:11 random_yanek joined 16:23 random_yanek left 16:27 random_yanek joined, random_yanek left 16:28 random_yanek joined, random_yanek left 16:29 random_yanek joined, random_yanek left 16:31 random_yanek joined, patrickb left, random_yanek left
cpan-p6 New module released to CPAN! FindBin (0.2.8) by 03LEMBARK 16:33
16:36 zacts joined 16:37 random_yanek joined, random_yanek left 16:38 random_yanek joined, random_yanek left 16:49 lizmat left 16:54 yining joined 16:55 ayerhart left 16:58 mowcat joined 17:00 ufobat joined 17:06 ayerhart joined 17:07 yining left 17:08 ayerhart left 17:09 ayerhart joined 17:12 woolfy left 17:18 comborico1611 left 17:25 zakharyas left
xinming_ m: termbin.com/8ivo 17:30
evalable6 xinming_, Successfully fetched the code from the provided URL
{:a("A"), :b("B"), :d("D")}
{:a("A"), :b("B"), :c("C"), :d("D")}
17:30 hakank joined, cpan-p6 left, hakank left
pmurias xiaomiao: sorry ;) 17:30
xinming_ Anyone here would check the code in url termbin.com/8ivo ?? It seems it's a bug.
17:30 hakank joined
timotimo yeah, it has to do with pair parsing without comma 17:31
it's not entirely correct
17:31 hakank left
xinming_ The only difference is the comma after :b<B> 17:31
timotimo m: my %foo = :1a, :2b :3c :4d; say %foo.perl
evalable6 {:a(1), :b(2)}
timotimo m: my %foo = :1a, :2b, :3c :4d; say %foo.perl
evalable6 {:a(1), :b(2), :c(3)}
timotimo m: my %foo = :1a, :2b, :3c, :4d; say %foo.perl
evalable6 {:a(1), :b(2), :c(3), :d(4)}
xinming_ But this worked
m: my %foo = :a<A>:b<B>:c<C>; 17:32
evalable6
xinming_ m: my %foo = :a<A>:b<B>:c<C>; %foo.perl
evalable6
xinming_ m: my %foo = :a<A>:b<B>:c<C>; %foo.perl.say;
evalable6 {:a("A")}
xinming_ Strange. :-)
My mistake.
17:32 cpan-p6 joined, cpan-p6 left, cpan-p6 joined 17:34 |oLa|1 left
Voldenet m: say {:a<A>, :b<B> :c<C>, :d<D>} 17:34
evalable6 (exit code 1) ===SORRY!===
Unknown QAST node type NQPMu
17:35
Voldenet a propos missing commas
it's… uh, less than informative imo
m: say {:a<A>, :b("B") :c("C"), :d<D>} 17:39
evalable6 (exit code 1) ===SORRY!===
Unknown QAST node type NQPMu
Voldenet m: say {:a<A>, :b("B") :c("C"), :1d}
evalable6 {a => A, b => B, c => C, d => 1}
Voldenet it's, uh
incredibly odd
m: say {:a :b<B>} 17:41
evalable6 (exit code 1) ===SORRY!===
Unknown QAST node type NQPMu
Voldenet in fact, there's something even more interesting 17:42
m: say {:b<B> :a}
evalable6 {a => 1, b => B}
Voldenet m: say {:b<B>, :a}
evalable6 {a => True, b => B}
Voldenet I'm not sure what it implies though
17:44 natrys joined
xinming_ This might be a parser bug. 17:45
17:49 jmerelo joined 17:50 sena_kun left
jmerelo O/ 17:50
squashable6: status 17:51
squashable6 jmerelo, ⚠🍕 Next SQUASHathon in 4 days and ≈18 hours (2019-05-04 UTC-14⌁UTC+12). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
17:53 Voldenet left 17:59 Voldenet joined, Voldenet left, Voldenet joined
lucs Um, who do I talk to to get a commit bit to team perl6 of the github Perl6 Org. (of which I'm already member 'lucs')? 18:01
timotimo is that what you need a CLA for?
moritz no 18:02
lucs: invitation sent
lucs Thanks
moritz timotimo: CLA is only necessary for rakudo (and possibly NQP, not sure)
MasterDuke just rakudo 18:03
lucs What does CLA stand for?
MasterDuke something like 'contributer license agreement'
lucs Aha.
moritz basically a copyright assignment 18:04
MasterDuke Voldenet: could you create a ticket? regardless of anything else, 'Unknown QAST node type' errors are LTA 18:05
18:09 zacts left 18:15 guifa left 18:20 mojca joined, mojca left, mojca joined 18:24 pmurias left
Geth doc: 49bbb120df | (Luc St-Louis)++ | 5 files
Spell as "precompilation"

And as "pre-compile".
18:29
lucs Well, that was ghastly. 18:30
Geth doc: bf106dc615 | (Luc St-Louis)++ | xt/word-variants.t
And as "precompile", that is
18:33
18:35 pmurias joined
jmerelo lucs++ 18:35
lucs: why?
18:36 abraxxa joined
xinming_ bartolin_: After installed nqp-js, How do I compile perl6 code to js? 18:44
with debian testing, I finally compiled nqp-js successfully. 18:45
lucs jmerelo: It should have been a single, more correct, commit.
jmerelo lucs: no big deal.
lucs Yeah, thanks :) 18:46
xinming_ Anyone here knows how do we compile perl6 to js? 18:47
jmerelo .seen pmurias
yoleaux I saw pmurias 17:30Z in #perl6: <pmurias> xiaomiao: sorry ;)
jmerelo xinming_: try with pmurias when he's around. Or Stackoverflow :-) 18:48
xinming_ Ok, Will trouble pmurias :-) 18:49
bartolin_ xinming_: did you also try to compile rakudo-js. (I didn't do that, yet). If building nqp-js work, I'd expect 'perl Configure.pl --backends=moar,js --gen-nqp --gen-moar' (or similiar) to just work for rakudo
xinming_ bartolin_: But when I try to run install, I can't install
bartolin_: pastebin.com/j7uhtnDC 18:50
This is the error I got when I try to run make install
bartolin_ Sorry, I don't have an idea how to proceed there. I also suggest to ask pmurias :) 18:52
18:52 abraxxa left 18:53 abraxxa joined 18:55 MilkmanDan left 18:57 MilkmanDan joined 19:00 lichtkind__ is now known as lixhtkind
pmurias xinming_: what's your node version? 19:01
xinming_: does make work in the nqp directory?
19:01 netrino joined
pmurias xinming_: npm install rakudo should get you a precompiled rakudo.js from npm 19:02
MasterDuke pmurias: btw, i haven't been able to build nqp-js. should `perl Configure.pl --prefix=/home/dan/Source/perl6/install/ --backends=moar,js && make -j6 install` be sufficient? 19:05
xinming_ pmurias: node version 10.15.3, And trying with nqp directory, seems working, and I tried to use npm install rakudo. But no rakudo.js compiled it seems 19:20
haha, it worked 19:21
it's in node_modules/rakudo/rakudo.js
and `node node_modules/rakudo/rakudo.js` worked. 19:22
19:23 jmerelo left
xinming_ How do I list all $? variables in perl6? 19:23
Geth doc: 834344e18f | (Luc St-Louis)++ | doc/Language/containers.pod6
Fix typo
19:25
xinming_ For now, Need ideas to use pg modules from node instead of DBIish 19:27
19:28 mojca left
cpan-p6 New module released to CPAN! App::Tasks (0.0.15) by 03JMASLAK 19:33
MasterDuke m: .say for (MY::.keys, OUR::.keys, CORE::.keys, GLOBAL::.keys, PROCESS::.keys, COMPILING::.keys).flat.grep(*.substr(1, 1) eq "?") 19:36
evalable6 $?PACKAGE
$?BITS
$?TABSTOP
$?NL
$?COMPILATION-ID
MasterDuke xinming_: ^^^ 19:37
xinming_ MasterDuke: Thanks. 19:38
MasterDuke np 19:39
Voldenet MasterDuke: not sure if I should report that in rakudo, nqp or moarvm repo - i'm guessing NQP is the right place 19:40
MasterDuke Voldenet: i'd start at rakudo, it can always be moved if needed. but that probably has more eyes on than the other two 19:41
Voldenet okay, will do that 19:42
xinming_ My web will be written in perl6. :-)
Never feel that is so close after I try rakudo.js today.
19:45 lixhtkind left 19:46 lichtkind joined 19:49 lichtkind left 19:50 lichtkind joined
Voldenet m: say {:a<A> :b<B>, :c<C>} 19:55
evalable6 (exit code 1) ===SORRY!===
Unknown QAST node type NQPMu
Voldenet m: say {:a<A> :b("B"), :c("C")}
evalable6 {a => A, b => B, c => C}
Voldenet huh
m: say {:a :b<B>} 19:56
evalable6 (exit code 1) ===SORRY!===
Unknown QAST node type NQPMu
Voldenet m: say {:a :b("B")}
evalable6 {a => True, b => B}
Voldenet m: say {:b("B") :a}
evalable6 {a => 1, b => B}
Voldenet I'm fairly sure that the last one isn't the same bug 19:57
19:58 pmurias left
xinming_ Voldenet: yes, 2 bugs. :-) 19:59
19:59 pmurias joined 20:07 ufobat_ joined 20:10 ufobat left 20:18 lichtkind_ joined 20:20 lichtkind_ left 20:42 mojca joined, mojca left, mojca joined 20:45 molaf joined 20:46 domidumont left
xinming_ pmurias: How do we compile a perl module so we can use it within nodejs? 21:02
21:07 mojca left 21:08 mojca joined, mojca left 21:12 adu joined 21:17 [Sno] left 21:19 [Sno] joined 21:24 Manifest0 left 21:25 reach_satori joined
Voldenet xinming_: I've got no idea, but github.com/pmurias/perl6-js-roast-...rything.p6 has some command that may be useful 21:26
pmurias Voldenet: that's for browser use 21:27
xinming_: I'll think about it tommorow, I haven't tried that yet, and I'm too tired today 21:28
sleep&
21:28 pmurias left 21:30 Manifest0 joined 21:42 molaf left 21:48 leont joined 21:57 natrys left 22:04 vrurg joined 22:10 |oLa| joined 22:16 |oLa| left 22:17 vrurg left 22:22 raschipi joined 22:36 zacts joined 22:46 ToddAndMargo joined 22:54 lucasb joined 22:59 ayerhart left 23:07 ayerhart joined 23:10 guifa joined
guifa Is there a list anywhere of the possible values of $*DISTRO ? 23:10
raschipi You could look at the source... 23:11
23:12 ayerhart left, Manifest0 left 23:15 ayerhart joined 23:17 Manifest0 joined
guifa Ah, I didn’t realize so much of that was being done on the fly. I figured it was hard coded with each build of Rakudo 23:18
23:19 rindolf left
raschipi Well, you can't do it at build time, because it's entirely pausible that one distro will be used to build for many others. 23:21
guifa Fair. I’m just trying to think o fother values to check for for the UserLanguage module. Right now I can confirm it checks okay for linux/windows/mac, but other *nix builds I don’t know what their values look like. And it looks like it’s pulling those from ENV variables so… I’m just gonna have to wait until someone uses P6 on one of those systems and sends me a message :-) 23:23
23:24 abraxxa left
ToddAndMargo Anyone on newbie duty? 23:27
What is the proper way to path a module in a non-standard directory? Apparently " use lib /xxxx'" gets me into speed trouble starting up, especially is it is used in a moduels that calls other modules. 23:28
23:29 xi- left 23:32 pecastro left 23:33 xi- joined 23:35 xi- left
raschipi ToddAndMargo Yeah, searching recursively for any modules can take a whiel, I guess. I sugest puting META6.json docs.perl6.org/language/modules#in...META6.json files and listing everything there so that you avoid the recursive search 23:36
23:36 xi- joined
ToddAndMargo Thank you! 23:36
raschipi np 23:41
ToddAndMargo: You can also tell zef to install your module from the directory: zef install ./your-module-folder so that they get precompiled and are found fast. 23:43
ToddAndMargo will do. META6.json is way over my head 23:46
This normal? $ zef install /home/linuxutil/p6lib No meta file? Path: /home/linuxutil/p6lib 23:47
raschipi Hum, perhaps zef needs the META6.json file. meta6 can create meta6.json files for you: github.com/gfldex/perl6-meta6-bin 23:54
23:55 vrurg joined
ToddAndMargo give me a bit to check. It may be an hour or so 23:56