»ö« 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:06 lizmat joined 00:10 geekosaur left, epony joined 00:11 epony left, sena_kun left 00:12 dct left, epony joined 00:17 geekosaur joined
comborico1611 Anyone in America? 00:24
00:38 comborico1611_ joined
tbrowder Yes, but mighy cold! 00:39
geekosaur I'll let you know after I defrost 00:40
tbrowder Happy New Year, #perl6!
comborico1611_ Austin, Texas is in some bad icy roads 00:42
Happy New Year, tbrowder.
Anyone want to start a project with me? 00:50
00:51 cdg joined 00:56 cdg left 01:03 Cabanossi left 01:05 Cabanossi joined 01:07 cog_ joined 01:09 cognominal left 01:10 BenGoldberg joined 01:13 markong left
tbrowder what project? 01:14
comborico1611_ Redo bash to make it more beginner friendly. 01:17
Example ls -l lists files in detail but does not use kilobtye or megabyte or gigbyte when listing the files. It's just a raw number. So we remove that from bbash (beginner bash). 01:19
Also, ls is not beginner-friendly. We use list, instead. And so forth. Just redo the whole thing. Go over every feature with a fine-tooth comb. 01:20
geekosaur ls is nbot part of bash
if you mean redo unix, that's what OS X is for
comborico1611_ ls works in bash.
geekosaur and ye,s obviously you mean every command is built into the shell as well as part of the redo 01:21
yes, perl6 works in bash too, so is fixing rakudo fixing bash?
tbrowder uh, excuse me while i barf! i do bash only when absolutely necessary, perl 6|5 otherwise. but i’m sure it will be useful—i’ld just rather use my time on other things (like p6).
geekosaur there comes a point where "redo because this is how I think" gets in everyone else's way 01:22
comborico1611_ There are decades of comments of how command line is garbage.
ls -l is garbage.
tbrowder have you ever attended the austin pm mtgs?
comborico1611_ Nope. 01:23
tbrowder they have a pretty active group...
comborico1611_ I'll check them out. Thanks!
01:23 wamba left
geekosaur again, that is what OS X is for 01:24
comborico1611_ tbrowder, not finding them. 01:25
tbrowder i wish we in the nw florida area had an active pm group...
geekosaur yes there's decades of comments. there's decades of comments in favor of them as well. do experts necessarily get penalized because newcomers are all that count?
comborico1611_ Pensacola?
tbrowder hm, let me check...
comborico1611_ geekosaur, I didn't say replace bash.
tbrowder see austin.pm 01:26
comborico1611_ Thanks!
tbrowder i’m in niceville, fl, across the bay from destin, and about i hr east of p’cola. 01:27
01:27 geekosaur left 01:28 cdg joined
tbrowder the perl folks would love a YAPC::NA (TPC::NA) in our area! 01:28
comborico1611_ That's good country over there.
Sorry, I do not understand. 01:29
tbrowder roger! the “emerald coast” has some of the most beautiful beaches in the world.
YAPC::NA yet another perl conference, north america; , 01:30
01:31 xcm left
tbrowder now called TPC::NA, the perl conference... 01:31
comborico1611_ Heh. Austin Perlmonger's email subscription is powered by python.
I see. Thank you!
01:31 silug left
tbrowder yeah, don’t blame me! 01:31
comborico1611_ Heh.
01:32 xcm joined
comborico1611_ This is an interesting read: kawagner.blogspot.com/2006/11/rich-...uages.html 01:33
tbrowder last yr the TPC::NA was in DC, in 2016 it was in orlando, fl. i heard the location for this year but it wasn’t official so i won’t reveal it.
comborico1611_ Heh. I'll guess it's um, Austin. 01:35
01:37 geekosaur joined
tbrowder i can neither confirm nor deny... 01:39
comborico1611_ Well, I'm off to slumber on this frigid night -- grateful to be in a warm home!
01:39 comborico1611_ left
tbrowder ref the blog ref: that leads nicely to one of the reasons i love p6: it’s a very rich language but a beginner can learn it easily by starting with basic usage. i have been trying to convince educators in our area to use p6 as a begginnng programming language. 01:42
(not much luck, though—don’t know the right people) 01:44
01:45 comborico1611 left 02:16 FROGGS_ joined 02:19 FROGGS left 02:35 Kaiepi left 02:36 Kaiepi joined 02:46 ilbot3 left 02:58 ilbot3 joined, ChanServ sets mode: +v ilbot3 03:00 Zoffix joined, Zoffix left 03:02 xcm left 03:04 xcm joined 03:14 Kaiepi left 03:16 Kaiepi joined, pilne left 03:21 Kaiepi left, Kaiepi joined 03:49 kerframil left 04:08 khisanth_ left 04:28 cdg left 04:32 cdg joined 04:37 cdg left 04:51 Cabanossi left 04:52 Cabanossi joined 04:55 cdg joined 04:58 cdg_ joined 04:59 cdg left 05:03 cdg_ left 05:09 cdg joined 05:13 cdg left 05:18 telex left 05:20 telex joined 05:30 APic left 05:38 xcm left 05:39 xcm joined, APic joined 05:41 khw left 05:51 darutoko joined 06:09 Actualeyes left 06:11 Actualeyes joined 06:15 FROGGS_ left 06:23 geospeck joined 06:27 geospeck left 06:48 Aceeri_ joined 06:53 BenGoldberg left 07:15 FROGGS joined 07:29 cdg joined 07:33 cdg left 07:39 FROGGS left 07:50 ttan joined 07:55 ttan left 08:03 lowbro joined, lowbro left, lowbro joined 08:07 wamba joined, andrzejku joined
andrzejku hey people 08:08
I have the question to the guys who develop MoarVM
geekosaur might ask in #moarvm then.... 08:14
gfldex andrzejku there is #moarvm
geekosaur (but they're mostly on evenings, European time) 08:15
andrzejku ahh 08:25
lookatme :) haha
andrzejku lookatme: hey come to Telegram 08:26
lookatme: and nice to meet you in the New Year
lookatme Hmm, Okay will available after work 08:27
andrzejku lookatme: I need to ask which things are necessary for AST tree structures from Perl6 and which we can just implement or took implementation in Perl6
lookatme: hard topic for beginners 08:28
lookatme MoarVM is just a VM, I think there is no things what we wanted 08:29
andrzejku lookatme: I am dumb ;s 08:31
doesn moarvm only run IR code? 08:32
geekosaur its own bytecode, yes 08:33
andrzejku github.com/perl6/nqp/blob/master/d...s.markdown 08:34
it is probably that one
lookatme yeah, that'
geekosaur builtin ops, yes. rakudo registers some of its own, for e,.g. spesh
andrzejku lookatme: so if we want to use LLVM IR than these all things are not useful 08:35
the question then is if there will be something which is missing in IR comparing to Perl6 OPS 08:36
lookatme a little helpful, we can implement that built-in ops in LLVM IR, hope I am right :)
andrzejku lookatme: so the question is which part of perl6 are explicitly converted to the ops and which are used as modules 08:37
lookatme github.com/perl6/nqp/tree/master/src/vm 08:38
08:38 AlexDaniel left
geekosaur andrzejku, the correct answer there is to look at nqp, probably both the moarvm and jvm backends 08:39
lookatme They call that stage0, right ?
I am not sure 08:40
geekosaur rakudo does some things at perl 6 level and more low level stuff at nqp level; the nqp backends work with {M,J}AST (low level ASTs per backend) and know how to generate code for low level operations 08:41
08:41 leont_ left
andrzejku geekosaur: I still cann't understand how is it workign that we can write a NQP in Perl6 compile it and generate OPS, someone here send that C works the same but thats a chicken egg problem which I don't understand very well 08:45
lookatme: I find this link perlgeek.de/blog-en/perl-6/2013-ra...-tree.html 08:46
08:49 kerframil joined
andrzejku andrzejku: the first C implementation was probably in Assembler, then they rewrite some parts into C and compile it or what?:D 08:52
lookatme andrzejku, that maybe out date
andrzejku so to compile the next release of compiler you need the previous compiler 08:53
thats how I undestand
lookatme such as they write the 1st version NQP in c
and then write NQP with NQP ?
08:54 rindolf joined
andrzejku yeah so they took a binary compiler to compile the next NQP? 08:54
lookatme andrzejku, yeah
andrzejku lol
lookatme: where is binary compiler in NQP sources?
lookatme you may search the keyword bootstrap
andrzejku okay
lookatme compiler bootstrap
08:55 kerframil left 08:56 xcm left 08:57 xcm joined 09:00 titsuki_ left 09:04 zakharyas joined 09:05 abraxxa joined 09:11 leont_ joined
andrzejku lookatme: oh yea it looks even more complicated :P 09:15
they write a grammar parser using PGE which written in PIR
and it used a Parrot
VM
09:17 scimon joined 09:22 rindolf left, araujo joined 09:24 domidumont joined 09:29 xcm left 09:30 xcm joined 09:31 domidumont left, domidumont joined
geekosaur and it's not unusual to find that to do a full bootstrap you have to go through older versions: the parrot one for rakudo, and for gcc if you want to build it with a different C compiler you need to go back to (iirc) gcc 1.45, then use that to build a newer gcc 09:32
09:32 natrys joined
geekosaur ghc (haskell compiler) was originally written in lazy ml, then retargeted against hbc, then became self-targeting later. (you can;t do that one from scratch because both lml and hbc have been lost to time) 09:33
09:35 committable6 left, committable6 joined
geekosaur the first "portable C compiler" (pcc, aka cc in 7th research edition unix) was written in B iirc, with later ones self-targeting. the bootstrap B compiler was written in BCPL. you can look up BCPL antecedents on wikipedia; I've forgotten past that :) 09:35
DrForr Also look up the Thompson hack if you're in that era. 09:36
09:53 domidumont left 09:55 araujo left, leont_ left 09:56 leont_ joined, sena_kun joined 09:57 eiro joined
eiro hello everyone 09:58
DrForr waves while writing up a FOSDEM talk proposal.
Altreus yay fosdem \o/ 09:59
does p6 deserve its own track yet
DrForr Right now we're short on Perl talks *period*, either 5 or 6, apparently. 10:00
10:01 cdg joined 10:03 cdg_ joined 10:04 smash joined 10:06 cdg left 10:07 cdg_ left 10:08 araujo joined, leont_ left 10:14 wander joined 10:18 wander left 10:32 araujo left 10:34 natrys left 10:41 wbiker left
DrForr submits 2, hoping only one is needed. 11:00
El_Che as far I can see, we should be ok (including one DrForr's talk) 11:04
we had many responses and we have probably more than slots available now
11:04 rindolf joined
El_Che will check in an hour or so, while inputting the talks 11:04
sjn El_Che: any talks suitable for newbies to the Perl community? 11:05
sjn has been missing those quite often :-\
El_Che sjn: need to check, but there may be a 20m block if you want to do a community talk (again: need to check to be sure and make sure I haven't missed any mail in the last days) 11:09
block time today to finalised stuff. Some people sent in backup talks just in case (which is very nice in case there is a gap)
bbl 11:10
DrForr El_Che: Before you go, email?
El_Che mail me the details of the talk along what we discussed, yes. I put you there as 40m "confirmed" 11:11
DrForr I can do 2 20m if needed as well, I'll pass that in email as well. 11:13
11:14 kaare_ left 11:15 ChoHag joined
Geth perl6-lwp-simple: wukgdu++ created pull request #21:
Close the temporary file
11:17
perl6-lwp-simple: 829dc7840e | wukgdu++ | t/getstore.t
Close the temporary file
11:18
perl6-lwp-simple: b3ade50f75 | (Zoffix Znet)++ (committed using GitHub Web editor) | t/getstore.t
Merge pull request #21 from wukgdu/closefile

Close the temporary file
perl6-lwp-simple: a927ed8e10 | (Zoffix Znet)++ (committed using GitHub Web editor) | META6.json
Bump version
11:18 wamba left 11:21 kaare_ joined 11:28 MasterDuke left
tyil so, I want to rename App::Cpan6 to App::Assixt, and wanted your input on this. My main reasons for renaming is that people are probably used to `cpan` in their shells, which install modules, whereas my `cpan6` does not deal with installing modules. Another issue I had was tab-completion, it will complete to cpan, which made me have to add an additional 6 each time manually. The intent of my module is not only 11:37
to create a new module skeleton, but to also assist the dev with continued development on this module. There's documentation on what it can do: github.com/scriptkitties/perl6-App-Cpan6
11:38 Aceeri_ left 11:40 vichib left 11:44 domidumont joined 12:01 reportable6 left 12:02 reportable6 joined 12:03 zakharyas left 12:06 cdg_ joined 12:08 MasterDuke joined 12:11 cdg_ left, cdg joined 12:14 jeromelanteri left, cdg_ joined 12:16 cdg left 12:18 cdg_ left 12:19 markong joined 12:22 wamba joined 12:26 wamba left 12:31 lasse_ joined 13:01 jeromelanteri joined 13:02 Gruber is now known as Grrrr 13:03 pmurias joined 13:08 zakharyas joined
pmurias tbrowder: a big argument against using Perl 6 is as the first language is that it currently makes the "medium" stage of learning programming harder 13:08
13:09 statisfiable6 left, statisfiable6 joined, ChanServ sets mode: +v statisfiable6
pmurias tbrowder: sure it should for the initial stage where you learn some basic concepts and syntax but it's harder to actually build something less basic with it (mostly because the ecosystem is not yet here) 13:09
13:11 nativecallable6 left, nativecallable6 joined, ChanServ sets mode: +v nativecallable6
DrForr You could argue that Inline::Perl5 could help there, but there's the argument that "if I need help from Perl 5 libraries, why am I wasting time with Perl 6?" 13:12
pmurias DrForr: it's an extra obstacle for a beginner 13:13
DrForr Nod.
It also pulls you out of the p6 mindset and means you need to read p5 docs and translate, which isn't what a pure p6 curriculum would want.
13:14 titsuki joined
tbrowder pmurias: thnx for yr thoughts. i hadn’t considered what comes after basics, but what kinds of ecosystem things do we need? there is the most wanted modules list, but i don’t remember it being prioritized in any way. 13:15
pmurias tbrowder: hard to say, I guess that depends on whatever the first learning project the beginner will want to build 13:21
13:25 pmurias left
scimon Starting a weekly lunchtime Perl6 Coding Workshop at work tomorrow. No idea what we're going to do. 13:30
13:30 jeromelanteri left
lizmat scimon: is there anything I can point to for the P6W ? 13:32
scimon Just internal company stuff for now. And I've had a lazy holiday. 13:33
I may take another look at the most wanted list and see if there's anything I think I can manage. 13:34
13:36 bdmatatu joined, pmurias joined 13:37 scimon left 13:38 scimon joined
scimon note to self... be wary of recursive multi subs... you may end up locking your machine up. 13:39
Note to everyone else... that.
DrForr BTDT.
But still thanks.
timotimo right, very tight recursion is a very good way to make moarvm allocate and use memory really, really fast 13:45
13:45 cdg joined 13:49 cdg left, cdg joined
rindolf DrForr: what is btdt? 13:55
Altreus gonna guess, been there done that 13:56
who's printing the t-shirts 13:57
DrForr Correct, Altreus. And not me.
14:09 xi- left, xi- joined 14:27 pmurias left 14:33 pmurias joined
tyil DrForr: a friend of mine has that argument against p6 rn, many modules he wants are only available in perl 5, so while he *could* use Inline::Perl5 and get what he wants, why would he if he can also just use perl 5 14:53
lizmat tyil: please find out which modules it's about 14:54
tyil lizmat: WWW::Mechanize he was referring specifically back when he was looking in to it 14:55
14:57 silug joined
scimon Hmmmm.... See on the one hand it's a bit of functionality I'm really not a fan of (I'd much prefer to be accessing an API than trying to scrape a site) on the other. It'd be an interesting challenge to write. 14:57
tyil not all sites come with an API 14:58
scimon I know.
tyil so its not always an option
scimon Indeed.
So, I had been wanting to learn Grammars. And a Grammar that takes a document an returns a list of links seems feasible. 15:04
15:05 dmaestro joined
scimon Unless I'm preparing an expedition to crazy town. 15:05
DrForr Or a regex that matches your link pattern aplied with m:g :)
scimon A) Don't parse HTML with regexs that way lies madness and the summoning of Elder gods and B) then I don't get to learn Grammars. 15:06
dmaestro I'm finding that Rakudo* 2017.10 is very buggy on MacOSX, regarding moarvm spesh and jit. Anyone else been seeing or reporting this?
scimon (Plus I also want to be able to get forms and getting all the form fields with regexes... see elder gods) 15:07
Ulti dmaestro I can check if you want, is this the release rather than some other version? 15:10
also what sort of thing?
dmaestro Ulti: The Rakudo Star .dmg 15:11
Ulti oh right I literally never use that 15:12
dmaestro I doubt there are too many people who do actually so any info you have is likely really valuable 15:13
scimon tyil: Thinking about it a Perl6 version oculd provide some functionality that the Perl5 one doesn't easily (multiple parallel link following for instance). 15:14
Hmmmm.
dmaestro I found the JIT problem with NativeCall / Inline::Perl5, and nine is aware of it. Tickets on Inline::Perl5 and MoarVM. A program I just tried blew up using nothing more than EVAL, regex, and ». (and I don't think EVAL had anything to do with it) - It just dropped a bunch of results. 15:15
Disabling SPESH made my program work.
15:15 comborico1611 joined
dmaestro Don't have time now to post a new ticket, but I will when I get a chance. 15:16
15:17 Zoffix joined
Ulti anything specific? 15:17
I just grabbed a copy
dmaestro Meanwhile, I think the Rakudo* .dmg should be withdrawn in favor of 2017.07 :-(
Zoffix m: my $c := Int(Cool); say 42 ~~ $c 15:19
camelia False
Ulti also promote things like the homebrew package
Zoffix Kinda expected that to give True. What are some uses of coercers outside of signatures? They're parsed during different machinery and I was hoping to write proper tests for them, but having a hard time... "using"... them
s/during/using/;
Ulti dmaestro: a straight EVAL worked ok for me 15:20
though not something complex 15:21
scimon (Pre ordered my copy of moritz's new book :) ) 15:22
dmaestro Ulti: Here is my program: gist.github.com/dmaestro/5366f1426...e76989d31b 15:26
15:27 domidumont left 15:30 wamba joined
dmaestro Ulti: have to leave for now, thanks for checking this. 15:30
15:30 dmaestro left 15:32 geospeck joined
Zoffix m: say :(42) ~~ :(Int(Any)) 15:34
camelia False
Zoffix a can of worms these coercers are...
m: say :(42) ~~ :(Int) 15:35
camelia False
Zoffix :/ 15:36
Ah, k, makes sense
15:37 geospeck left 15:40 domidumont joined
Geth doc: 8e000ca5eb | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Signature.pod6
Document Signature.ACCEPTS can't see into `where` clauses
15:40
synopsebot Link: doc.perl6.org/type/Signature
15:41 domidumont left
Geth doc: 15b95574c6 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Signature.pod6
s:g/RESULT/OUTPUT/

Since that's what we usually use
15:41
scimon No promises until tomorrow but I may bring up the "Perl6 WWW:Mechanize" at the workshop. And I'm discussing with my boss to ensure if we work on it in the office we can still release it OS :)
More info when I have it. 15:42
15:42 releasable6 left, releasable6 joined, ChanServ sets mode: +v releasable6
Geth doc: 235259e2d5 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Signature.pod6
Fix typos
15:43
15:44 Zoffix left, comborico1611 left 15:46 ZofBot left, ZofBot joined, ChanServ sets mode: +v ZofBot
abraxxa i'd like to write an icmp(v6) ping monitoring daemon in Perl 6, any pointer where to start as there is no icmp module at all as far as i've seen? 15:51
15:52 comborico1611 joined
abraxxa the Net::Frame modules for Perl 5 on CPAN look good, ideally I'd write such a Perl 6 module 15:52
15:52 stmuk_ joined 15:54 stmuk left 15:58 khw joined
tony-o modules.zef.pm/modules/Jorn%20van%...et::Packet 16:05
might give you a bit of a start abraxxa
abraxxa tony-o: thanks! 16:06
comborico1611 What does bootstrapping mean? 16:08
I search Wiki. They said booting a computer. . . 16:09
Altreus different things in different contexts 16:10
[Coke] in this context: stackoverflow.com/questions/125454...tstrapping
scimon Generally building something you can then use to build something more complex.
[Coke] er, s/this/a Perl 6/
abraxxa i only knew modules.perl6.org
[Coke] from the top answer:
"Bootstrapping" is also used as a term for building a system using itself -- or more correctly, a predecessor version. For example, ANTLR version 3 is written using a parser developed in ANTLR version 2.
16:10 konsolebox left
abraxxa is jpve around here? 16:11
DrForr pricks his ears up at the mention of ANTLR :)
[Coke] .seen jpve
yoleaux I saw jpve 20 Nov 2014 12:15Z in #perl6: <jpve> Ah ok, thanks for the pointer, thats much simpler indeed :)
[Coke] not for some time.
abraxxa ;( 16:12
comborico1611 lol Drforr.
abraxxa the question is if this three year old Perl 6 code is still state of the art
comborico1611 Thanks!
Altreus idk, mostly when I hear about bootstrapping I assume there's some packaged version of a script that installs itself
like cpanm or something
does NQP bootstrap perl6? 16:13
mspo NQP is the IR for perl6 16:14
comborico1611 So we have "bootstrap loading" context. Then, we have "self-building" context. 16:15
mspo C bootstraps NQP and MoarVM, mostly
Altreus sometimes I use it as "how to begin" :/
even though I really mean, here are some manual steps to run
comborico1611 Yes, I've heard that connotation before
Altreus nothing to do with bootstraps
16:15 silug left
abraxxa how do I get a raw socket? docs.perl6.org/language/5to6-perlfunc#sockets is a bit...nonexisting 16:16
mspo it's a loaded term to say the least ;)
16:16 konsolebox joined
mspo abraxxa: you have to use NativeCall to do any networking that libuv doesn't provide + moar has exposed 16:16
timotimo mspo: calling it an IR is not quite correct 16:17
i'd say perl6 has multiple IR; first comes QAST, then comes MAST for moarvm
mspo timotimo: okay. Not sure what else to call it :)
abraxxa mspo: UH! really?
than that's a no-go!
mspo abraxxa: yeah it's not great
abraxxa I had hoped to use its great async features!
mspo abraxxa: udp was just added after I moaned about it last year ;) 16:18
comborico1611 First comes QAST, then comes MAST, then comes Perl6 in the baby carriage!
16:18 natrys joined
mspo abraxxa: not sure if unix sockets are in there at all either 16:18
abraxxa: because I went down the same road as you, wanting to hit all of these cool network tools in a super expressive language 16:19
16:19 kerframil joined
abraxxa I have to add IPv6 ping support to our NMS and wanted this to become the first Perl 6 piece 16:19
16:21 xcm left 16:22 xcm joined
timotimo mspo: hold on, we have libuv-less sockets 16:23
abraxxa libuv doesn't seem to have raw sockets
we should get Perl 6, no MoarVM listed here github.com/libuv/libuv 16:24
16:24 silug joined
abraxxa timotimo: are there docs for those? 16:25
mspo timotimo: you do? 16:33
timotimo github.com/MoarVM/MoarVM/blob/mast...ncsocket.c
IO::Socket::INET, abraxxa
the ones that use libuv are IO::Socket::Async
abraxxa hm, why isn't that listed in the core modules section? 16:34
docs.perl6.org/language/modules-core.html
IO::Socket is a type, but IO::Socket::INET is a class
timotimo: IO::Socket::INET provides TCP sockets, both the server and the client side.
i need an ICMP socket (Linux only but ok for me) of RAW
timotimo yeah, for those you'll want to write nativecall code for now 16:36
abraxxa nativecall to which library?
timotimo is native(Str) probably, since moar is already linked with what you need
16:39 lowbro left
abraxxa timotimo: is there any example code I can cramp onto? 16:41
16:43 lasse_ left
mspo timotimo: sorry to mislead 16:43
16:46 imcsk8 left
timotimo no prob 16:46
fwiw, we also do synchronous file i/o without libuv these days 16:47
16:48 imcsk8 joined 16:50 _Kaiepi joined, Kaiepi left 16:51 geospeck joined 16:57 squashable6 left 16:58 squashable6 joined, ChanServ sets mode: +v squashable6 16:59 abraxxa left 17:12 eliasr joined 17:16 scimon left 17:18 setty1 joined
comborico1611 m: say hello 17:19
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
hello used at line 1. Did you mean 'shell'?
comborico1611 m: say "hello"; 17:20
camelia hello
17:22 bloatable6 left, coverable6 left, benchable6 left, bloatable6 joined, coverable6 joined, ChanServ sets mode: +v coverable6, benchable6 joined
comborico1611 m: sub do-twice( $code ) { $code( ); $code( ); }; sub greet { say "Hello" }; do-twice( &greet ); 17:23
camelia Hello
Hello
comborico1611 I suppose it is just an anomaly of Perl6 Parrot. If I put spaces between () for code, it will not run. 17:24
perlpilot "Perl6 Parrot"?!? 17:26
comborico1611 I dislike newer Ubuntu OS's.
I learned another reason why just yesterday. You cannot sudo Dolphin in Kubuntu 17. 17:27
mspo parrot is a bit old 17:30
comborico1611 And I couldn't get a 32 bit version of Rakudo easily. So I stuck with Parrot.
Wait.
Ulti ...
comborico1611 Yeah, this is Parrot. 17:31
Anways, I'm off to lunch.
17:31 comborico1611 left
Ulti fairly confident you could just pin the latest rakudo package and it'd probably work out 17:33
17:34 AlexDaniel joined 17:37 Zoffix joined
Zoffix .tell comborico1611 Parrot existed before there was even first stable perl 6 release. You're using slow and broken compiler. Just run these commands to build your own rakudo: gist.github.com/zoffixznet/3b9aa2a...6a431baeb6 and you can just run `update-perl6` whenever new compiler release comes out, to upgrade 17:38
yoleaux Zoffix: I'll pass your message to comborico1611.
17:39 bisectable6 left, bisectable6 joined, ChanServ sets mode: +v bisectable6
Zoffix Anyone know equivalent of `git checkout $(git describe --abbrev=0 --tags)` on Windows cmd.exe? 17:42
Got it: for /f usebackq %F in (`git describe "--abbrev=0" --tags`) do git checkout %F 17:46
17:46 wamba left
Zoffix huggable: sauce 17:49
huggable Zoffix, Install untested latest development version of Rakudo from source: github.com/zoffixznet/r#table-of-contents
Zoffix huggable: sauce :is: Install latest version of Rakudo from source: github.com/zoffixznet/r#table-of-contents 17:50
huggable Zoffix, Added sauce as Install latest version of Rakudo from source: github.com/zoffixznet/r#table-of-contents
Zoffix Made instructions default to latest release instead of HEAD
17:53 Zoffix left 17:55 domidumont joined 17:56 Khisanth joined
AlexDaniel .seen raiph 17:58
yoleaux 01:18Z <tbrowder> AlexDaniel: Happy New Year! check out my new commits on rakudo PR #1339 and roast PR #371.
I saw raiph 20 Nov 2017 20:13Z in #perl6: <raiph> m: { Failure.new for 1 }() # I haven't found doc or RT covering why this doesn't report the Failure; any thoughts/pointers?
AlexDaniel R#1339
synopsebot R#1339 [open]: github.com/rakudo/rakudo/pull/1339 Provides for fixes for several POD bugs:
[Coke] m: Failure.new 18:00
camelia Failed

Actually thrown at:
in block <unit> at <tmp> line 1
[Coke] m: { Failure.new }
camelia Failed
in block <unit> at <tmp> line 1
[Coke] m: { Failure.new }()'
camelia 5===SORRY!5=== Error while compiling <tmp>
Two terms in a row
at <tmp>:1
------> 3{ Failure.new }()7⏏5'
expecting any of:
infix
infix stopper
statement end
statement modifier
stat…
[Coke] m: { Failure.new }()
camelia Failed
in block <unit> at <tmp> line 1
[Coke] wow, that is pretty specific. :)
18:03 dmaestro joined
AlexDaniel squashable6: next 18:06
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in 1 day and ≈15 hours (2018-01-06 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
18:09 zakharyas left 18:11 wamba joined
dmaestro .tell Ulti That SPESH problem was not only MacOSX - also linux :-( -- going to check later versions 18:16
yoleaux dmaestro: I'll pass your message to Ulti.
18:23 leont_ joined 18:26 dwarring joined 18:31 troys joined
Ulti dmaestro: k 18:33
yoleaux 18:16Z <dmaestro> Ulti: That SPESH problem was not only MacOSX - also linux :-( -- going to check later versions
Ulti yoleaux needs some message distance logic :P
dmaestro Ulti: I just checked 2017.12, built on MacOSX - problem is easily duplicated. Were you able to duplicate this on any platform? 18:35
Ulti well I didnt have any input to run your code 18:37
what version of macOS? 18:38
Im 10.12.6
18:41 comborico1611 joined
dmaestro There is a commented line (with a lot of '_' ); I just tried putting 151 copies of that line in a test input file. My MacOS version is 10.11.6 18:45
I duplicated the problem with Rakudo 2017.10 on CentOS linux as well (6.6) - built by hand 18:50
18:50 wamba left 18:54 tabv left
Ulti dmaestro: isnt that code as written just going to be a tonne of failed code execution? 18:56
dmaestro The input lines are any double-quoted strings (don't include the '#' from the file). 18:57
Ulti works for me 18:58
Im on Rakudo form like an hour ago 18:59
dmaestro That may be good news - I'll try the same.
Ulti yeah even with 151 copies 19:00
also this code in general scares me.. if its serious code
19:00 FROGGS joined 19:01 tobs joined
Ulti as in doing an eval just to strip some quotes when you're parsing with a grammar already which can trivially strip them anyway 19:01
dmaestro Not that serious (EVAL right?) - I was just trying some quick and dirty and thought I'd do it that way ... I was trying to get some good results with some additional processing I added later. 19:02
19:03 dotness joined
dmaestro Did eventually succeed BTW :-) 19:04
Ulti what with the latest rakudo?
19:05 darutoko left
dmaestro still building - sec 19:05
Still fails for me - 'This is Rakudo version 2017.12-97-gf8d8481 built on MoarVM version 2017.12-19-g40a79ee' 19:06
19:07 unicodable6 left, unicodable6 joined 19:10 sunnavy left 19:11 sunnavy joined 19:13 cdg left 19:14 cdg joined 19:18 cdg left
dmaestro Could chalk it up to EVAL? This works: my @raw-names = $*IN.lines.grep({ / ^ '"' <[ \w - ]>+ '"' $ / })».subst( / \" /, '', :g ); 19:19
^No, it breaks if I give it more input (twice) 19:21
I got caught by saying MVM_SPESH_DISABLE=0 - that does not actually disable, like MVM_SPESH_DISABLE= 19:23
cat test_input test_input | MVM_SPESH_DISABLE= /Applications/Rakudo/bin/perl6 test_perl6-1.pm | wc -l 19:25
241
19:26 pecastro joined
timotimo right, has to have a non-empty string that isn't 0 19:26
dmaestro Oh, I meant =0 does NOT disable, in my experience. 19:35
So any non-zero-length value ;-) will disable ... 19:37
19:38 pilne joined, greppable6 left 19:39 greppable6 joined, ChanServ sets mode: +v greppable6 19:55 comborico1611 left 20:01 s0me0ne-unkn0wn left
Ulti dmaestro: your code as written works fine for me 20:01
dmaestro I have posted the issue for MoarVM/MoarVM on github. Note that it seems sensitive to the amount of data. The latest version of my test rarely failed with 150 lines, but failed consistently with over 200. 20:04
Ulti aha 20:05
if I set it to do 1k lines it prints a random number of them
so yeah reproduced
spesh disable is only slightly better though 20:06
like 50% more lines
dmaestro Whew! I'm not crazy (at least not very much)
Ulti oh wait no got it 20:07
yup same for me
its really random though like I get between 190 to 350 evals being ok 20:08
dmaestro ok. github.com/MoarVM/MoarVM/issues/775
Ulti what sort of spec is your Mac?
dmaestro MacBook Pro, 2014, 2.2 GHZ Intel Core i7 20:09
Ulti though your numbers arent vastly different to mine
dmaestro Ulti: Thanks for backing me up :-) must leave again.
20:09 dotnessx joined
Ulti np thanks for reporting it dmaestro 20:10
20:10 dmaestro left 20:14 s0me0ne-unkn0wn joined 20:15 bdmatatu left, dotnessx left, dotnessx joined 20:16 comborico1611 joined 20:17 dotness left 20:20 dotnessx left 20:25 wamba joined
comborico1611 You know how you can use TAB to cycle through a GUI? Is there a button to go in the reverse direction. For example, if you went too far with TAB? 20:26
yoleaux 17:38Z <Zoffix> comborico1611: Parrot existed before there was even first stable perl 6 release. You're using slow and broken compiler. Just run these commands to build your own rakudo: gist.github.com/zoffixznet/3b9aa2a...6a431baeb6 and you can just run `update-perl6` whenever new compiler release comes out, to upgrade
20:26 lichtkind joined
FROGGS comborico1611: isnt that shift+tab usually? 20:27
comborico1611 Thanks, yoleaux. Zoffix: Will do. Thanks!
Heh. If it is, I haven't known about it for 15 years.
Yup. You are correct, Sir. Just imagine. 15 years ago, you were going to be the guy who would tell another guy about shift+tab! 20:28
Froggs, you ever seen that poster of a frog choking a pelican? 20:30
Thank you, by the way.
FROGGS a pelican? really? O.o
ahh, seen it :D 20:31
comborico1611 Haha. Yeah. Is it an older poster?
The Never Give Up poster.
FROGGS yeah, that one 20:32
20:34 dct joined 20:39 domidumont left 20:45 pecastro left 20:58 evalable6 left 20:59 evalable6 joined, ChanServ sets mode: +v evalable6
comborico1611 Yes! I think I installed my first tarball! 21:21
21:29 xcm left 21:30 xcm joined 21:31 comborico1611 left 21:32 novalinium joined
novalinium Anyone here used IO::Socket::Async.bind-udp? I can't seem to call it, getting a "Could not find symbol '&Async'" 21:33
21:34 troys is now known as troys_
masak m: say IO::Socket::Async 21:35
camelia (Async)
[Coke] m: IO::Socket::Async.bind-udp
camelia Too few positionals passed; expected 3 arguments but got 1
in block <unit> at <tmp> line 1
[Coke] novalinium: what version of perl6 do you have?
novalinium 2017.10
masak looks like IO::Socket::Async is definitely older than that 21:36
jnthn bind-udp was added back in 2015, iirc
[Coke] novalinium: guessing there's something else going on in the code.
novalinium For source ix.io/DCa
El_Che hey jnthn, can we reserve a Cro talk for fosdem 2019? :)
[Coke] can you golf it and or gist it?
novalinium [Coke]: ix.io/DCa, ty 21:37
21:37 _Kaiepi left 21:38 _Kaiepi joined
masak does the weird behavior depend on :from<Perl5> ? 21:38
[Coke] The perl6 parts seem fine. (commented out the use and the say, no errors)
novalinium Gotcha, am I using an Inline::Perl5 import incorrectly? 21:39
21:47 comborico1611 joined
comborico1611 So I installed Rakudo, but Parrot is still here. 21:48
[Coke] if you didn't uninstall parrot, I'm not surprised.
comborico1611 lol 21:49
[Coke] also, how did you install rakudo?
comborico1611 unpacking the tarball
[Coke] which tarball? 21:50
let me ask a different question.
what does "perl6 -v" say now?
comborico1611 Parrot
[Coke] ok, then where did you get the tarball and how did you install it?
comborico1611 perl6-rakudo-moarvm-ubuntu16.04_20170900-02_amd64 from rakudo.org 21:51
[Coke] ?
comborico1611 TAR FILE (in /opt )
perlpilot comborico1611: you might also want to check your PATH to see if the bad path for the parrot-perl6 is earlier than the good path for moarvm-perl6
El_Che the naming is the one I used on my old packages
[Coke] where on rakudo.org do you see this tarball??
comborico1611 Let me check. 21:52
Rakudo / Downloads / Linuyx
LInux
El_Che comborico1611: github.com/nxadm/rakudo-pkg/releas...g/v2017.11
use the last release there
comborico1611 perlpilot, I don't know what PATH is. 21:53
[Coke] echo $PATH
El_Che (for the record, I've never packaged Parrot, nor provided tars; so I do not get how you get the old pkg naming)
comborico1611: info about PATH here: github.com/nxadm/rakudo-pkg
comborico1611 Thanks!
mspo parrot is still floating around in os packages 21:54
El_Che back to imputting fosdem talks
mspo it's still being developed sort of too, right?
comborico1611 Maybe if someone could direct me to the address where Parrot is, I can ./uninstall or osmething
perlpilot mspo: uh .. no?
21:54 xcm left
jnthn El_Che: Wow, that's quite an advance booking :-) 21:55
El_Che: Probably will be able to
novalinium comborico1611: you might be able to `locate Parrot' and find the path in the output
21:55 xcm joined
perlpilot ... and then kill it with fire 21:55
comborico1611 Yes, I see it some of it. But it is mingled with my XAMPP program. 21:56
That's can't be it (used 'locate Parrot' )
ilmari mspo: the last release was nearly two years ago, and it's only had any trivial commits since then 21:57
-any
novalinium comborico1611: you sure? Is your XAMPP directory in your $PATH variable? That's a system variable that lists the search directories for your shell and other programs, you can find it with `echo $PATH' like Coke said 21:58
comborico1611 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin 21:59
novalinium More info at www.linfo.org/path_env_var.html
comborico1611 That's a good one, novalinium.
Thanks!
[Coke] also, parrot isn't installed as Parrot. 22:00
comborico1611 Thanks! 22:01
Getting hits now.
[Coke] (so this could be one of the other parrots, maybe)
comborico1611 I just used Ubuntu Software Center, searched for parrot and clicked remove. 22:03
That Ubuntu Software Center has saved my bacon so many times. 22:05
In fact, I'm using Kubuntu and install it over KDE's thingy.
El_Che jnthn: I honestly believe that it has the potential to generete some interest for perl6 22:08
jnthn El_Che: That's indeed one of the goals ;) 22:09
comborico1611 PATH should have been named SHORTCUTS 22:10
novalinium Hot take
comborico1611 Hmm? 22:11
Hot Pocket.
I think I ate a hot pocket once in my life. Disgusting.
22:12 geospeck left
comborico1611 That article is very good. I'll need to remember this website, novalinium. 22:12
El_Che jnthn: I reckon that next year it would have taken the world and we could move you to the big aula :) 22:13
22:17 stmuk joined, setty1 left, xcm left 22:18 xcm joined 22:19 stmuk_ left 22:20 xcm left, xcm joined 22:22 espadrine joined
comborico1611 Okay. So echo $PATH is showing rakudo folder. 22:27
But still no recognition of perl6 command. 22:28
I used PATH="THE TWO FOLDERS THE INSTALLATION TOLD ME TO DO THIS TO:$PATH"
I read Rakudo's README. There is one section I don't quite understand. But I believe it is concerning these steps. "To set up the environment under a UNIX type system you will need to add the 22:30
absolute path of the local "install/bin" directory under your source build
directory or system-wide "${INSTDIR}/bin" directory (if you used the
--prefix option) to your PATH environment variable."
Is this same as PATH or another file? 22:31
timotimo what's the rakudo folder? there should be one ending in /bin/ i think 22:32
comborico1611 There are two: /opt/rakudo-star-2017.10/install/bin
/opt/rakudo-star-2017.10/install/share/perl6/site/bin
timotimo those are the right ones 22:33
you should be able to "ls /opt/rakudo-star-2017.10/install/bin" and find a "perl6" there
if that's not there, something earlier in the installation would have gone wrong somehow
comborico1611 But I want perl6 to be system-wide.
timotimo ah
comborico1611 I'll check and see if I can bring it up from inside the folder, though. 22:34
timotimo every user that wants to be able to use that ought to have those paths in their PATH as well. you can put symlinks to what's inside install/bin/ into one of the system-wide bin folders, though
however, perl6/site/bin is where new scripts get installed to when you "zef install" something that comes with commands
in that case you'd have to make more symlinks every time that happens
comborico1611 perl6 does not work inside of /bin 22:35
I think I'm just going to cave and install it the easy way "sudo apt-get install rakudo"
22:35 pecastro joined
timotimo can you define "does not work" a bit more? 22:36
MasterDuke comborico1611: just follow El_Che
comborico1611 timotimo: bash does not recognize "perl6 -v" command.
MasterDuke 's link and download a .deb and then `sudo dpkg -i <name>.deb`
comborico1611 Ah, yes. Thanks for the reminder. I forgot about the .deb 22:37
It would be satisfying to install my first .tar.giz? whatever it's called. 22:38
MasterDuke comborico1611: what version of kubuntu are you running?
comborico1611 14 64-bit 22:39
MasterDuke ah. the system repos for newer *buntus have rakudo 2017.06
comborico1611 They disabled using Dolphin as root in 17 :-( 22:40
Dude, my computer has 8 gigs of RAM! That's like amazing. 22:41
22:41 cdg joined
comborico1611 I'm still stuck back in the late '90s, where that would be unheard-of for a personal computer. 22:42
Probably even servers, too, I guess. 22:43
Alright. Well, I'm going to have supper. I will continue to try the tarball. But I've got the link saved for the .deb file. Thanks Perl6 Community! 22:44
22:44 comborico1611 left
El_Che tar ball is a bad idea 22:45
he's not here, but it needed to be said :)
22:46 cdg left
El_Che If coming to FOSDEM (Brussels, 3/4 Feb), we have a Perl devroom: fosdem.org/2018/schedule/track/per..._language/ 22:50
22:52 lichtkind left, cdg joined, FROGGS left
buggable New CPAN upload: Dist-Helper-0.19.0.tar.gz by TYIL cpan.metacpan.org/authors/id/T/TY/...9.0.tar.gz 23:08
23:09 shmibs left 23:11 sena_kun left, shmibs joined 23:13 cdg left 23:38 someuser1 left 23:39 leont_ left 23:40 leont_ joined 23:43 pmurias left 23:45 quotable6 left, quotable6 joined
Geth doc: c0cf73b6b9 | (Will "Coke" Coleda)++ | 5 files
Add a test to avoid using ".." after a word

  (typically you mean either . or ...)
Closes #1632
23:47
doc: 8b3a66ec6f | (Will "Coke" Coleda)++ | doc/Language/testing.pod6
Avoid phrasing that triggers spell check
synopsebot Link: doc.perl6.org/language/testing
doc: 428429a51f | (Will "Coke" Coleda)++ | xt/words.pws
new word
23:49 wamba left 23:59 itaylor57 left