Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2017-01-27

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:00 agentzh joined #perl6
00:01 jraglin joined #perl6
00:03 dj_goku joined #perl6
00:03 inokenty joined #perl6
00:06 BenGoldberg joined #perl6
00:14 Cabanossi joined #perl6
00:31 astj joined #perl6
00:35 agentzh joined #perl6
00:38 rba_ joined #perl6
00:40 wamba joined #perl6
00:46 vytas joined #perl6
00:52 cpage_ joined #perl6
00:53 aborazmeh joined #perl6
00:53 aborazmeh joined #perl6
00:56 hartenfels joined #perl6
00:58 samcv oh gawd
00:59 samcv i did 'skip "needs rework", Inf' and it just
00:59 samcv keeps going
00:59 samcv forever
01:15 TEttinger infinitely, perhaps?
01:21 samcv yep
01:21 samcv what do people think of this? https://github.com/rakudo/rakud​o/compare/nom...samcv:skip-Inf
01:21 samcv so we can either make it throw or make it act as skip-rest does
01:22 samcv link is where it just asks as skip-rest and dies in case you have no plan
01:28 Cabanossi joined #perl6
01:29 cpage_ joined #perl6
01:35 brokenchicken samcv: "make it throw" sounds good. An Int type contraint on the skipped number should do the trick.
01:36 samcv so you think just make an Int constraint?
01:36 perlawhi1l joined #perl6
01:36 brokenchicken m: use Test; &skip.candidates».signature.say
01:37 camelia rakudo-moar d06d7c: OUTPUT«(() ($reason, $count = 1))␤»
01:37 samcv hmm i split some of my code into a module, and now i'm getting an error Missing or wrong version of dependency (depends on another module in the same folder as it)
01:37 samcv not sure why I am seeing this error, tried clearing precomp
01:37 brokenchicken I saw that error when I ran perl6 instead of ./perl6
01:37 samcv .===SORRY!===
01:37 samcv Missing or wrong version of dependency '/home/samantha/git/MoarVM/​grant/lib/EncodeBase40.pm6 (EncodeBase40)' (from '/home/samantha/git/MoarVM/g​rant/lib/GenUniNameList.pm6 (GenUniNameList)')
01:38 * brokenchicken shrugs
01:38 samcv brokenchicken, i may have to wait til March for grant btw. i may be able to make it work
01:38 samcv idk. that's a while away though.
01:38 samcv hopefully they can figure something out
01:38 brokenchicken How come?
01:39 samcv We are determining the best course of action. As the next step, we
01:39 samcv will publish the status of each fund so we can decide the best option
01:39 samcv for you.
01:39 samcv so they're gonna keep me posted. hopefully won't have to wait until March
01:39 brokenchicken Hopefully.
01:39 samcv ^
01:42 perlawhi1l hi all
01:48 agentzh joined #perl6
01:50 pyrimidine joined #perl6
01:51 dj_goku joined #perl6
01:51 dj_goku joined #perl6
01:59 Cabanossi joined #perl6
02:08 cdg joined #perl6
02:10 labster joined #perl6
02:22 pyrimidine joined #perl6
02:33 kyan joined #perl6
02:41 cdg joined #perl6
02:48 cale2 joined #perl6
02:59 Cabanossi joined #perl6
03:00 agentzh joined #perl6
03:03 cdg joined #perl6
03:08 cale2 moritz
03:13 cdg_ joined #perl6
03:19 dj_goku joined #perl6
03:19 dj_goku joined #perl6
03:33 pyrimidine joined #perl6
03:35 jdv79 m: say "\c[woman gesturing OK]"
03:35 cdg joined #perl6
03:35 camelia rakudo-moar ae9d51: OUTPUT«🙆‍♀️␤»
03:35 jdv79 shouldn't that just be the first char?
03:36 jdv79 well, glyph.  eh, nm.
03:40 hartenfels jdv79: I think that's a shortcoming of your thingy that displays it not being able to put it together. For me that shows as FACE WITH OK GESTURE, ZERO-WIDTH JOINER, FEMALE SYMBOL.
03:40 hartenfels Rather than a combined emoji.
03:44 noganex_ joined #perl6
03:45 jdv79 huh
03:46 jdv79 in a related issue, why is JSON::Tiny and ::Pretty encoding that "char" as \u1f646?
03:46 jdv79 i think that''s a bug.  json only specs 4 hex chars after that
03:47 jdv79 and there is no reason to auto encode it that way either
03:47 jdv79 afaik
03:52 jdv79 its breaking my 5/6 interop cause json::xs is parsing that into "\x{1f64}6" :(
03:56 jdv79 oh, ::Tiny and friends are actually just chopping or something. lovely
04:02 jdv79 gah.  encodings are fun.
04:08 jdv79 ah.  ::Tiny is ok.  ::Pretty is failing harder.
04:09 Actualeyes joined #perl6
04:14 Cabanossi joined #perl6
04:27 Cabanossi joined #perl6
04:36 labster joined #perl6
04:41 curt__ joined #perl6
05:01 parv joined #perl6
05:12 Cabanossi joined #perl6
05:15 parv joined #perl6
05:55 skids joined #perl6
05:57 bwisti joined #perl6
05:57 Cabanossi joined #perl6
06:24 m0ltar joined #perl6
06:27 Cabanossi joined #perl6
06:34 hartenfels1 joined #perl6
06:41 AlexDaniel joined #perl6
06:49 Hotkeys joined #perl6
06:52 RabidGravy joined #perl6
06:56 bjz joined #perl6
07:04 pyrimidine joined #perl6
07:11 domidumont joined #perl6
07:14 jjido joined #perl6
07:18 domidumont joined #perl6
07:21 bjz joined #perl6
07:22 xpika joined #perl6
07:23 xpika is there a way to pre-emptivly invoke the perl6 type checker ?
07:43 samcv jdv79, yeah json only specs 4 digits after it
07:44 samcv m: "\c[woman gesturing ok]".uninames.perl.say
07:44 camelia rakudo-moar ae9d51: OUTPUT«("FACE WITH OK GESTURE", "ZERO WIDTH JOINER", "FEMALE SIGN", "VARIATION SELECTOR-16").Seq␤»
07:44 samcv it's a sequence
07:45 samcv I added some documentation about the Unicode sequence functionality I added recently to Perl 6 here: https://docs.perl6.org/language/unicode
07:46 samcv has links to all of them if you want to see
07:46 parv in "rakudo-moar ae9d51" is "ae9d51" the git commit or something else?
07:46 samcv yeah it's git commit
07:46 parv thanks.
07:47 samcv the Name Alias and the Emoji sequences/ZWJ sequences were in the latest Jan release of rakudo
07:47 samcv i need to make it more clear, BELL isn't a name alias that's the actual name of the symbol
07:51 pyrimidine joined #perl6
07:53 parv samcv, is an emoji symbol (in Perl 6) some kind of (font independent) graphic/icon?
07:54 samcv well. it follows Unicode grapheme rules
07:54 samcv m: "\c[woman gesturing ok]".chars.say
07:54 camelia rakudo-moar ae9d51: OUTPUT«1␤»
07:54 wamba joined #perl6
07:54 samcv so it's one grapheme/character
07:54 samcv because unicode says it should not be split up
07:54 samcv m: "\r\n".chars.say
07:54 camelia rakudo-moar ae9d51: OUTPUT«1␤»
07:54 samcv this is a common one as well. but there's lots of things that are like that
07:55 samcv like letters with diacritics are actually multiple codepoints, but in perl6 it seperates them as graphemes so they stay together
07:56 samcv m: say "\c[woman, ZWJ, boy]".chars
07:56 camelia rakudo-moar ae9d51: OUTPUT«1␤»
07:56 samcv like i don't think ^ is actually a real emoji, but it follows the unicode grapheme rules and counts as 1
07:57 samcv obviously in case ones get added. ZWJ = Zero width joiner
07:58 ufobat joined #perl6
07:59 mr-foobar joined #perl6
07:59 samcv m: say "\c[PRESENTATION FORM FOR VERTICAL RIGHT WHITE LENTICULAR BRACKET]".uniname
07:59 camelia rakudo-moar ae9d51: OUTPUT«PRESENTATION FORM FOR VERTICAL RIGHT WHITE LENTICULAR BRAKCET␤»
07:59 samcv parv, fun fact, this name was misspelled so it is one of the NameAlias corrections, but since names never change
07:59 samcv its official name is still BRAKCET
08:01 parv ha, ha
08:03 jast that's going to trip someone up sooner or later. I'm sure it will be an amusing experience, from a safe distance ;)
08:03 abraxxa joined #perl6
08:03 samcv which the misspelled name :P
08:03 samcv heh
08:10 parv \c[person playing water polo] seems like a "factory in blue with red lamp"; \c[person playing handball: medium-light skin tone] looks like a "child free falling" (as they appear in Firefox 50, Windows 10)
08:11 parv ... in http://www.unicode.org/Public/​emoji/4.0/emoji-sequences.txt
08:12 samcv ha
08:12 samcv m: say "\c[United States]"
08:12 camelia rakudo-moar ae9d51: OUTPUT«🇺🇸␤»
08:12 samcv easy access to flags
08:12 samcv "factory in blue with red lamp" sounds like the name of some piece of art somebody might make
08:13 Cabanossi joined #perl6
08:22 domidumont joined #perl6
08:23 domidumont joined #perl6
08:24 Geth doc: bd5ef73553 | (Samantha McVey)++ | doc/Language/unicode.pod6
08:24 Geth doc: Add more examples of Named Aliases and some extra info
08:24 Geth doc: review: https://github.com/perl6/doc/commit/bd5ef73553
08:33 * parv is seriously missing appropriate fonts to see perl 6 unicode output in its glory in Firefox+FreeBSD. also, need to update rakudo
08:35 samcv can you install noto-fonts-emoji?
08:35 samcv actually install every noto font. since it covers almost all of unicode
08:35 samcv also symbolla has a huge number of symbols, freebsd likely has that easily installable?
08:38 parv let me see ...
08:39 jirkan joined #perl6
08:39 jraglin joined #perl6
08:41 jirkan left #perl6
08:41 darutoko joined #perl6
08:44 zakharyas joined #perl6
08:48 rba_ joined #perl6
08:52 parv ... installed (both); still need some tweaking; will try that later. thanks samcv.
08:52 samcv nice :)
08:55 pyrimidine joined #perl6
09:08 cyphase joined #perl6
09:10 trnh joined #perl6
09:13 Cabanossi joined #perl6
09:14 g4 joined #perl6
09:14 travis-ci joined #perl6
09:14 travis-ci Doc build errored. Samantha McVey 'Add more examples of Named Aliases and some extra info'
09:14 travis-ci https://travis-ci.org/perl6/doc/builds/195794703 https://github.com/perl6/doc/com​pare/223e38759c5a...bd5ef73553df
09:14 travis-ci left #perl6
09:28 pyrimidine joined #perl6
09:33 xinming joined #perl6
09:40 wamba joined #perl6
09:41 El_Che It's silly, but I am happy that I'll have my camelia laptop sticker soon (@fosdem) :)
09:41 holyghost joined #perl6
09:41 El_Che reserved some place for it
09:42 Ven joined #perl6
09:51 samcv nice
09:51 samcv i want a sticker :(
09:51 samcv where can I get one
09:52 samcv wow travis is cutting us off now
09:52 samcv The job exceeded the maximum time limit for jobs, and has been terminated.
09:52 samcv not our fault they're being super slow
09:52 jast it's everyone else's fault!
09:54 arnsholt samcv: lizmat and Wendy generally have a stack they're handing out at conferences
09:55 samcv pls mail me one!
09:55 DrForr I'm going to need to move mine to a new laptop... I have the patch, though :)
10:11 bjz_ joined #perl6
10:28 pyrimidine joined #perl6
10:43 DrForr (that'll be more of a pain to move to the new laptop, when I buy it. I might replace it at FOSDEM, I've got a spare day.)
10:45 rindolf joined #perl6
10:53 pyrimidine joined #perl6
10:54 El_Che samcv: yeah, I'll get one from Wendy @ Fosdem
10:55 samcv thanks :)
10:56 rindolf joined #perl6
10:59 agentzh joined #perl6
11:10 sjn joined #perl6
11:10 iH2O joined #perl6
11:19 wictory[m] joined #perl6
11:20 iH2O left #perl6
11:27 andrzejku joined #perl6
11:28 tadzik joined #perl6
11:28 M-Illandan joined #perl6
11:28 dp[m] joined #perl6
11:28 Matthew[m] joined #perl6
11:28 ilmari[m] joined #perl6
11:29 Matias[m] joined #perl6
11:29 xui_nya[m] joined #perl6
11:29 mulk[m] joined #perl6
11:29 CIAvash[m] joined #perl6
11:30 z8 joined #perl6
11:33 gregf_ joined #perl6
11:34 gregf_ left #perl6
11:35 gregf_ joined #perl6
11:37 zz joined #perl6
11:43 pyrimidine joined #perl6
11:58 mniip_ joined #perl6
12:00 z8 joined #perl6
12:05 xinming joined #perl6
12:09 AlexDaniel joined #perl6
12:10 AlexDaniel u: skin tone
12:10 unicodable6 AlexDaniel, Found nothing!
12:10 AlexDaniel u: emoji fitz
12:10 unicodable6 AlexDaniel, U+1F3FB EMOJI MODIFIER FITZPATRICK TYPE-1-2 [Sk] (🏻)
12:10 unicodable6 AlexDaniel, U+1F3FC EMOJI MODIFIER FITZPATRICK TYPE-3 [Sk] (🏼)
12:10 unicodable6 AlexDaniel, https://gist.github.com/443a​bb3c46c3a5fc0857fdc6ce577474
12:11 AlexDaniel MasterDuke: should I use nqp ops to speed this thing up by ≈20% or so? ↑
12:15 sena_kun joined #perl6
12:16 pyrimidine joined #perl6
12:27 Cabanossi joined #perl6
12:35 Ven joined #perl6
12:47 tragr joined #perl6
12:48 cpage_ joined #perl6
12:49 tragr BAD NEWS, rumors say that Trump plans to set unicode illegal for all governamental agency. This affect all software which "allows typesetting, printing or visualizing character outside the ASCII standard range", including the ones which fit in an 8bits encoding. All those softwares are deemed anti-american
12:50 jast since when are rumours news?
12:53 brokenchicken I wish Trump would issue an executivie order that forbida mentioning anything about Trump to anyone eho isn't in Murica
12:56 DrForr Anyway, this weekend I'm going to see about adding .find() and proper walking to Perl6::Parser so it'll filter out docs or whatnot.
12:58 sena_kun DrForr, it's really cool. I'm looking at Perl6::Parser for some time(but kinda too lazy to read docs really serious), am I right that with this module it will be possible to parse a tree, walk over it with some modifications along the way and dump the tree as a string similar to parsed?
12:59 sena_kun *seriously
13:01 DrForr You can aleady parse and dump. I need to add .next(), .previous(), .parent(), .children() axes and then I'm either going to add a proper .splice() or override the array slicing operations somehow.
13:03 sena_kun Oh, amazing. DrForr++
13:07 DrForr That way when the parser returns $root, you can call $root.children() to get the doc children &c, and $node.splice(...) will insert while maintaining links. It might even skip infrastructure nodes or build them as needed.
13:09 abraxxa joined #perl6
13:20 wamba joined #perl6
13:26 tragr brokenchicken: in full French presidential campain? You're gonna kidding
13:27 brokenchicken tragr: what you said just now made zero sense.
13:31 tragr brokenchicken: because you think that there is still a game to be played in US, me don't
13:33 brokenchicken tragr: but you think game French is play kidding presidential?
13:34 DrForr Come to think of it, .next-token and .previous-token would let iterators work pretty simply.
13:35 DrForr while $node.not-end { $node = $node.next-token; }
13:35 tragr brokenchicken: wow I feel strong the power of dyslexia in me now
13:36 brokenchicken tragr: do the folks at Institut Pasteur know you're abusing their network to troll people on the Internet?
13:37 cale2 joined #perl6
13:37 brokenchicken tragr: maybe I should text Christian and see what he thinks of this...
13:39 tragr brokenchicken: Wow you know the director in person? Does he have time to listen to people which don't contribute anything to the institute?
13:39 DrForr Or just let .next-token return an EOF object...
13:39 brokenchicken tragr: he's a human like any other with friends outside the insitute. Now, get back to work.
13:41 tragr I think that trolling is part of my work, need to keep in touch with different realities from my main topic
13:41 pyrimidine joined #perl6
13:41 tragr Bye
13:42 * DrForr reads up on the Iterator type instead.
13:44 pyrimidi_ joined #perl6
14:01 ChoHag joined #perl6
14:17 perlpilot joined #perl6
14:30 pyrimidine joined #perl6
14:33 Ven joined #perl6
14:34 brokenchicken nqp: https://gist.github.com/zoffixznet​/055d00d0e2d76ec7445a16f33403d6fb
14:34 camelia nqp-moarvm: OUTPUT«Perl 7 syntax error at line 2, near "fuc greet\n"␤   at gen/moar/stage2/NQPHLL.nqp:765  (/home/camelia/rakudo-m-inst-1/sh​are/nqp/lib/NQPHLL.moarvm:panic)␤ from <unknown>:1  (<ephemeral file>:TOP)␤ from gen/moar/stage2/QRegex.nqp:2102  (/home/camelia/rakudo-m…»
14:34 brokenchicken Any idea why that's failing to parse?
14:35 brokenchicken These are the relevant rules: https://gist.github.com/zoffixznet/055d00d0​e2d76ec7445a16f33403d6fb#file-p6-p6-L18-L26 and the text to parse is "fuc greet\n 💬 'hi'\nton"
14:40 brokenchicken And here's the .^trace-on() for that grammar: https://gist.github.com/zoffixznet​/7862c94abb6c2008df928608806447d4
14:40 tokomer joined #perl6
14:42 brokenchicken Seems the part that's missing from the match is the closing 'ton' in rule fucbody
14:44 perlpilot brokenchicken: my guess after a brief look is: fucbody is a rule which means :sigspace is on and eating your whitespace so that \n won't match.
14:45 rba_ joined #perl6
14:45 brokenchicken perlpilot: I redefined <ws> to token ws { <!ww> \h* || \h+ }
14:45 perlpilot doh!  didn't even see that.
14:46 rba_ joined #perl6
14:47 pyrimidine joined #perl6
14:50 brokenchicken And I'm following the https://github.com/edumentab/rakudo-and-nqp-inte​rnals-course/blob/master/examples/rubyish-3.nqp example but don't see any real difference between that version (that does compile) and mine
14:51 brokenchicken other than renaming 'def' and 'end' to 'fuc' and 'ton'
14:53 Actualeyes joined #perl6
14:57 Cabanossi joined #perl6
15:01 pyrimidine joined #perl6
15:03 agentzh joined #perl6
15:03 brokenchicken *phew* made it parse. The cause was (a) lack of newline after "ton"; and (b) lack of <!keyword> in token term:sym<ident> before <ident>
15:03 brokenchicken Programming is hard.
15:03 * brokenchicken goes shopping
15:04 Possum joined #perl6
15:07 cdg joined #perl6
15:11 mspo "programming is hard, let's go scripting!"
15:11 kurahaupo__ joined #perl6
15:13 cog_ joined #perl6
15:15 kalkin- joined #perl6
15:16 skids joined #perl6
15:16 Ven joined #perl6
15:22 AlexDaniel mspo: that's ok. Much better than the common “programming is hard, let's draw diagrams”
15:24 mspo perl.com is down
15:24 mspo but it's a blog by TimToady
15:24 mspo http://www.perl.com/pub/2007/12/06/soto-11.html
15:24 DrForr perldoc.perl.com needed some TLC.
15:25 DrForr Not sure why www.perl.com was affected as well, but I'm not infrastructure.
15:25 mspo not like that time cpan was down for like a week a year or so ago?
15:26 Cabanossi joined #perl6
15:36 cibs joined #perl6
15:39 cdg_ joined #perl6
15:41 pyrimidine joined #perl6
15:45 wamba joined #perl6
15:45 pyrimidine joined #perl6
15:49 diegok joined #perl6
15:51 kurahaupo__ joined #perl6
15:51 trnh joined #perl6
15:56 brokenchicken *phew* this took longer than I expected but I finally made functions work in Perl 7 :)
15:56 brokenchicken This prints "Hi": fuc meow␤    💬 'Hi'␤ton␤meow
15:57 brokenchicken The syntax should really sell it to Ruby programmers ;)
15:58 domidumont joined #perl6
16:02 brokenchicken Hm, I think I'll go with `sub`/`bus` delimiters instead.
16:14 gregf_ Perl 7?
16:15 perlpilot sub/bus would appeal to the shell programmers
16:15 brokenchicken I went with fun/ion
16:15 brokenchicken To encourage more fun in programming ;)
16:15 brokenchicken gregf_: yeah man. It's the latest and greatest Perl of them all. With largest version number and bestest logo: https://github.com/perl7/perl7
16:16 perlpilot Programming languages need the ability to have more whimsy like Perl  ;-)
16:16 gregf_ Heh
16:17 perlpilot brokenchicken: so ... what happened to the "ct" anyway?
16:17 brokenchicken perlpilot: what ct?
16:17 perlpilot fun ct ion
16:18 perlpilot it just got elided because func/tion was too many letter?
16:18 perlpilot er, letters
16:18 brokenchicken perlpilot: Ah, well, Perl 7 wants to preserve its heritage of using just three letters to start a function, but at the same time we want to attract Javascript programmers and we don't want to confuse them with 'subs' hence the change to calling them functions
16:19 brokenchicken Exactly. Too many letters. In the no-time-for-nonsense futuristic programming of Perl 7 we don't need to type 4 letters where 3 will suffice
16:20 perlpilot Surely then, there should be single unicode letter synonyms for fuc/ion
16:20 perlpilot (why type 3 letters when 1 will do?)
16:20 perigrin brokenchicken: obviously what you need to do is core https://metacpan.org/pod/lambda
16:22 brokenchicken Our marketing research shows programmers don't want any silly symbols in their programs and so Perl 7 will stick to using just the symbols written on the keyboard. The only exception is the print function that in Perl 7 is 💬 because we still want to show people how cool and trendy we are.
16:23 perlpilot heh
16:25 [Coke] I would recommend include your musings here in a design doc in the repo.
16:26 perlawhirl joined #perl6
16:26 perlawhi1l joined #perl6
16:26 bwisti joined #perl6
16:27 brokenchicken heh
16:27 [Coke] *ding
16:30 pecastro joined #perl6
16:43 travis-ci joined #perl6
16:43 travis-ci Doc build errored. Antonio Quinonez 'Merge branch 'operators''
16:43 travis-ci https://travis-ci.org/antqu​inonez/doc/builds/195911920 https://github.com/antquinonez/doc/​compare/d708481b43ab...17cc0670735c
16:43 travis-ci left #perl6
16:49 brokenchicken Check it out. We've reached a new milestone:
16:49 brokenchicken m: '/tmp/foo/d.pm6'.IO.spurt: 'use v6.d.PREVIEW; say &await.file'
16:49 camelia rakudo-moar dd1cb5: ( no output )
16:49 brokenchicken m: '/tmp/foo/c.pm6'.IO.spurt: 'use v6.c; say &await.file'
16:49 camelia rakudo-moar dd1cb5: ( no output )
16:49 brokenchicken m: use lib </tmp/foo>; use c; use d;
16:49 camelia rakudo-moar dd1cb5: OUTPUT«SETTING::src/core/asyncops.​pm␤SETTING::src/core.d/await.pm␤»
16:50 brokenchicken Two Perl 6 versions in the same program :D
16:55 captain-adequate joined #perl6
16:57 aindilis joined #perl6
17:00 haxmeister joined #perl6
17:00 haxmeister hello.. any perl6 gurus using atom editor on linux?
17:00 brokenchicken yup
17:00 brokenchicken I do. And I'm a proper Perl 6 Guru.
17:01 brokenchicken (I got a certificate)
17:01 haxmeister did you have any difficulty with permissions?
17:01 brokenchicken Nope
17:01 haxmeister well poo
17:01 haxmeister atom channel is unresponsive for days now
17:01 brokenchicken What sort of permissions?
17:02 haxmeister it won't let me save a file.. even a new one.. saying I don't have permission
17:02 brokenchicken As I recall, I just downloaded a .deb from https://atom.io/ and sudo dpkg -i it
17:02 brokenchicken Where are you trying to save it to?
17:03 brokenchicken You could try running it from the terminal to see if it spews out any debug info into it.
17:03 haxmeister actually it just worked
17:03 haxmeister odd
17:03 brokenchicken \o/
17:03 haxmeister lol
17:04 haxmeister \o/ indeed
17:04 haxmeister I like atom.. I like perl6.. I like the perl6 highlighting in atom :-D
17:04 brokenchicken Cool. You're using language-perl6 package, right?
17:05 haxmeister I have that.. and also the perl6fe package
17:05 brokenchicken perl6fe is outdated version of language-perl6
17:06 haxmeister ah ok.. I'll remove it then
17:06 haxmeister lot of docs that aren't clearly dated.. just trying to get a working environment to start heavy perl6 study
17:06 brokenchicken :)
17:07 pecastro joined #perl6
17:08 haxmeister oh I see.. won't let me save in certain places
17:09 haxmeister I can save in ~
17:09 haxmeister but not in the subfolder ~/Dropbox/perl6
17:14 khw joined #perl6
17:15 [Coke] brokenchicken: is there a way to tell atom to not show .git foldersd?
17:15 brokenchicken [Coke]: no idea.
17:32 [Coke] brokenchicken: I assume https://atom.io/packages/language-perl6fe is the wrong package to be using?
17:35 TimToady re yesterday's discussion, note that you can do occasional interpolation into q:to// using \qq[$x]
17:36 setty1 joined #perl6
17:37 TimToady but we should also think about an option that turns q's conservative backslash policy into qq's more liberal backslash policy (that is, remove backslashes on everything, not just backslash and closing delim)
17:38 TimToady though perhaps conservative/liberal are fighting words these days...
17:40 brokenchicken [Coke]: that's the outdated MadcapJake's one. language-perl6 superseeds it
17:41 brokenchicken m: my $x = 42; q:to/\qq[$x]<foo>/.say
17:41 camelia rakudo-moar dd1cb5: OUTPUT«Premature heredoc consumption␤  in block <unit> at <tmp> line 1␤␤»
17:42 brokenchicken m: my $x = 42; q/\qq[$x]<foo>/.say
17:42 camelia rakudo-moar dd1cb5: OUTPUT«42<foo>␤»
17:42 brokenchicken neat \o/
17:43 Cabanossi joined #perl6
17:45 TimToady or maybe Q:s should somehow know to slurp a subsequent backslash to turn off subscripting, but that seems wrongish somehow I can't put my finger on without more coffee
17:49 brokenchicken m: my $x = 42; qq/\q[$x]<foo>/.say
17:49 camelia rakudo-moar dd1cb5: OUTPUT«$x<foo>␤»
17:49 brokenchicken cool
17:49 travis-ci joined #perl6
17:49 travis-ci Doc build errored. Antonio Quinonez 'Merge branch 'operators''
17:49 travis-ci https://travis-ci.org/antqu​inonez/doc/builds/195911920 https://github.com/antquinonez/doc/​compare/d708481b43ab...17cc0670735c
17:49 travis-ci left #perl6
17:58 TimToady m: my $x = 42; qq/\q:s[$x]<foo>/.say
17:58 camelia rakudo-moar 012c54: OUTPUT«42<foo>␤»
17:58 TimToady m: my $x = 42; qq/\qs[$x]<foo>/.say
17:58 camelia rakudo-moar 012c54: OUTPUT«42<foo>␤»
17:59 TimToady I guess \qs is the same length as \qq, huh
18:00 pyrimidine joined #perl6
18:07 pecastro joined #perl6
18:09 wamba joined #perl6
18:15 agentzh joined #perl6
18:16 mspo brokenchicken: there is a sumbol for function
18:17 pecastro joined #perl6
18:17 mspo the f
18:17 mspo ƒ
18:18 brokenchicken u: ƒ
18:18 unicodable6 brokenchicken, U+0192 LATIN SMALL LETTER F WITH HOOK [Ll] (ƒ)
18:20 * TimToady thinks p7 should be pronounced "interperl"
18:21 robertle joined #perl6
18:21 moritz plan 7 from outer space
18:22 TimToady that's what the name of it is called, not how it's pronounced :)
18:23 * TimToady remembers one of the reasons his younger son is named "Lewis"
18:24 kigai joined #perl6
18:43 pecastro joined #perl6
18:50 ggoebel joined #perl6
18:53 agentzh joined #perl6
18:54 brokenchicken Is it possible to *extend* instead of redefine a token? I want to add a hyphen to <ident> token that comes from HLL::Grammar
18:55 brokenchicken hm, maybe that makes no sense /me sees how that's done in P6
18:57 pecastro joined #perl6
19:01 Geth doc: 6f7f862196 | (Samantha McVey)++ | htmlify.p6
19:01 Geth doc: Make sure Proc::Async is the default so Travis CI doesn't time out
19:01 Geth doc:
19:01 Geth doc: Was accidentally set to the wrong default after some changes were made.
19:01 Geth doc: review: https://github.com/perl6/doc/commit/6f7f862196
19:04 RabidGravy joined #perl6
19:06 brokenchicken Hm. The internals course says "A QAST::Block should only ever appear once inside a QAST tree." but in the same slides there's one QAST::Block for main program's scope and another one within it for a function's block.
19:07 brokenchicken I guess it means a particular block should be repeated and use QAST::BVal if you wanna refer to an already existing block...
19:07 brokenchicken *should not
19:08 mst that sounds like it means "Any given instance of QAST::Block should ..."
19:09 brokenchicken Makes sense.
19:10 rba_ joined #perl6
19:11 haxmeister perl6 reduction operators... so beautifully lispy
19:13 * [Coke] does the "update, run tests, fix things, push....fails - oh, update, start over...' dance.
19:16 Geth doc: 91e734664d | (Will "Coke" Coleda)++ | doc/Language/unicode.pod6
19:16 Geth doc: fix typos, remove trailing whitespace, use nbsp
19:16 Geth doc: review: https://github.com/perl6/doc/commit/91e734664d
19:16 Geth doc: 94a5e89a5a | (Will "Coke" Coleda)++ | xt/code.pws
19:16 Geth doc: learn new words
19:16 Geth doc: review: https://github.com/perl6/doc/commit/94a5e89a5a
19:18 zakharyas joined #perl6
19:20 mspo perl6 should probably be called lastperl
19:21 jjido joined #perl6
19:23 brokenchicken lastlang
19:23 dogbert17 joined #perl6
19:23 brokenchicken Since it's the last language everyone will ever learn
19:24 brokenchicken mspo: I've used ƒ in Perl 7 instead of & to refer to functions as things :)
19:24 mspo when they finally throw up their hands? :)
19:24 mspo brokenchicken: good job
19:24 mspo there's a symbol for everything!
19:25 mspo brokenchicken: I thought the goal was to write an APL and then a J (and maybe even a K)
19:25 mspo displaying utf8 characters is the one thing the toughbar could be good for
19:25 El_Che brokenchicken: What triggered the <sarcasm> mode?
19:26 mspo although a supplemental ipad keypad seems like a nicer solution
19:26 brokenchicken El_Che: hm?
19:26 El_Che brokenchicken: the perl7 thing
19:26 brokenchicken El_Che: a keen eye may notice the perl7 thing correlates highly with stuff done in Rakudo internals course :P
19:26 ggoebel joined #perl6
19:27 cibs joined #perl6
19:27 agentzh_ joined #perl6
19:32 brokenchicken El_Che: but I'll also leave avaiable as curve-ball to any future "logo sucks" type of arguments vis-a-vis Perl 6 :)
19:35 El_Che brokenchicken: reactive troll :)
19:36 brokenchicken :)
19:45 mspo rakudo internals?
19:45 brokenchicken https://github.com/edumentab/r​akudo-and-nqp-internals-course
19:50 lukaramu joined #perl6
19:50 mspo that's a super specific set of stuff :)
19:51 pecastro joined #perl6
19:55 jjido joined #perl6
19:58 Cabanossi joined #perl6
20:05 raschipi joined #perl6
20:14 agentzh_ does Perl 6's Proc/run has timeout protection settings?
20:15 agentzh_ *have
20:17 mspo Proc::Async uses promises to do that, I think?
20:18 Tonik joined #perl6
20:19 gfldex agentzh_: not build in
20:20 agentzh_ need threads for that?
20:20 ttkp6 joined #perl6
20:21 gfldex yes
20:21 perlpilot http://ks0608.hatenablog.c​om/entry/2016/05/17/001826
20:22 mspo nice
20:22 perlpilot (personally, I'd probably just do the Promise.in($timeout) stuff myself since it's so simple; no need for a nice wrapper really.
20:22 perlpilot )
20:23 agentzh_ thanks for the pointer.
20:24 agentzh_ is Promise implemented as an OS thread?
20:25 perlawhirl joined #perl6
20:26 labster joined #perl6
20:29 pyrimidine joined #perl6
20:30 b2gills agentzh_: It mostly just tells the scheduler to handle `.in` https://github.com/rakudo/rakudo/blo​b/nom/src/core/Promise.pm#L223-L228
20:30 espadrine_ joined #perl6
20:33 girafe joined #perl6
20:36 Geth doc: 5145151b6d | (Wenzel P. P. Peppmeyer)++ | doc/Type/Promise.pod6
20:36 Geth doc: better example for Promise.in
20:36 Geth doc: review: https://github.com/perl6/doc/commit/5145151b6d
20:36 gfldex agentzh_++
20:38 agentzh_ b2gills: thanks
20:38 agentzh_ gfldex: oh wow.
20:38 travis-ci joined #perl6
20:38 travis-ci Doc build passed. Samantha McVey 'Make sure Proc::Async is the default so Travis CI doesn't time out
20:38 travis-ci https://travis-ci.org/perl6/doc/builds/195971318 https://github.com/perl6/doc/com​pare/bd5ef73553df...6f7f8621963e
20:38 travis-ci left #perl6
20:55 cdg joined #perl6
20:57 travis-ci joined #perl6
20:57 travis-ci Doc build passed. Will "Coke" Coleda 'learn new words'
20:57 travis-ci https://travis-ci.org/perl6/doc/builds/195975836 https://github.com/perl6/doc/com​pare/6f7f8621963e...94a5e89a5ae7
20:57 travis-ci left #perl6
20:58 haxmeister left #perl6
21:09 pmurias joined #perl6
21:19 pyrimidine joined #perl6
21:22 TEttinger joined #perl6
21:23 kurahaupo__ joined #perl6
21:41 avuserow joined #perl6
21:49 domidumont joined #perl6
22:08 pyrimidi_ joined #perl6
22:13 Cabanossi joined #perl6
22:14 MasterDuke u: emoji fitz
22:14 unicodable6 MasterDuke, U+1F3FC EMOJI MODIFIER FITZPATRICK TYPE-3 [Sk] (🏼)
22:14 unicodable6 MasterDuke, U+1F3FB EMOJI MODIFIER FITZPATRICK TYPE-1-2 [Sk] (🏻)
22:14 unicodable6 MasterDuke, https://gist.github.com/403b​4b6d64bec02c5e797e210b13d9fe
22:15 MasterDuke .tell AlexDaniel it's not completely terrible as is. how much nqp:: is required to get that 20%?
22:15 yoleaux MasterDuke: I'll pass your message to AlexDaniel.
22:18 kybr C« fixed-width POD text » # what's this sort of thing mean? C?
22:18 Ven joined #perl6
22:20 brokenchicken kybr: in HTML it'd be <code></code>
22:20 brokenchicken <code>fixed-width POD text</code>
22:21 brokenchicken kybr: where did you get that from?
22:26 ggoebel joined #perl6
22:33 Ven joined #perl6
22:35 RabidGravy boom!
22:37 cpage_ joined #perl6
22:43 Cabanossi joined #perl6
22:46 AlexDaniel joined #perl6
22:46 bjz joined #perl6
22:47 AlexDaniel .
22:47 yoleaux 22:15Z <MasterDuke> AlexDaniel: it's not completely terrible as is. how much nqp:: is required to get that 20%?
22:49 AlexDaniel MasterDuke: for example, this line https://github.com/perl6/whatevera​ble/blob/master/Unicodable.p6#L103 turns into this: for @words -> str $word { $sieve .= grep({nqp::isge_i(nqp::index(nqp::getuniname($_), $word, 0), 0)}) };
22:52 cale2 joined #perl6
22:59 MasterDuke that's not bad
23:03 kybr brokenchicken: https://docs.perl6.org/language/unicode_entry C« fixed-width POD text » i still don't get it.. is C something i can look up and read about?
23:03 cale2 Do you think Dependent types and Contracts/Guards are similar?
23:04 cale2 I guess the difference is that dependent types are built in as a required system. Whereas contracts are optional
23:04 cale2 But functionally they provide the same thing
23:07 cale2 The example I see with Idris is `reverseInvolution : (xs : List a) -> reverse (reverse xs) = r`
23:08 geekosaur kybr, http://design.perl6.org/S2​6.html#Example_specifiers
23:08 geekosaur this is not part of perl 6 code, but perl 6 documentation (POD6)
23:08 cale2 But the same in P6 is `subset ReverseInvolution of Str where { $_.reverse == $_ }`
23:13 kybr geekosaur: ooooh. i get it now. much thanks!
23:14 Geth doc: 98c115eaad | (Zoffix Znet)++ | doc/Language/unicode_entry.pod6
23:14 Geth doc: Use better example
23:14 Geth doc:
23:14 Geth doc: To avoid confusion[^1] for those unfamiliar with POD
23:14 Geth doc:
23:14 Geth doc: [1] https://irclog.perlgeek.de/​perl6/2017-01-27#i_14001058
23:14 Geth doc: review: https://github.com/perl6/doc/commit/98c115eaad
23:14 geekosaur heh
23:16 brokenchicken heh? :)
23:16 geekosaur just the way you jumped on it as soon as I clarified :)
23:17 brokenchicken Nah, I jumped on it before, I was just struggling to get the code example to compile correctly :)
23:23 agentzh joined #perl6
23:29 lep-delete joined #perl6
23:31 itcharlie1 joined #perl6
23:46 cpage_ joined #perl6
23:52 brokenchicken In `sub foo:sym<meow> {}` what is the `:sym<>` bit called? "The :sym<> _____ is reserved" what fits in the blank?
23:53 jraglin joined #perl6
23:55 BenGoldberg joined #perl6
23:55 pecastro joined #perl6
23:56 raiph joined #perl6
23:57 rindolf joined #perl6
23:58 Cabanossi joined #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo