Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2017-03-02

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 IOninja m: say "\x[E0]"; say "a\x[60]"
00:00 camelia rakudo-moar 9d497e: OUTPUT: «à␤a`␤»
00:00 IOninja Which char am I looking for to make the second 'a' same as first one?
00:04 IOninja m: say "\x[E0]"; for ^0x1000 { .say if "\x[E0]" eq '"a\x[' ~ $_ ~ ']"'.EVAL };
00:04 camelia rakudo-moar 9d497e: OUTPUT: «à␤5===SORRY!5=== Error while compiling /home/camelia/EVAL_0␤Unexpected closing bracket␤at /home/camelia/EVAL_0:1␤------> 3<BOL>7⏏5]"␤»
00:04 samcv m: "\x[E0]".NFD.say
00:04 camelia rakudo-moar 9d497e: OUTPUT: «NFD:0x<0061 0300>␤»
00:04 IOninja what's its problem?
00:04 samcv that IOninja
00:04 IOninja samcv++ thanks
00:04 samcv i was going to do something today but I forgot
00:04 IOninja m: say "\x[E0]" eq "\x[61]\x[300]"
00:04 camelia rakudo-moar 9d497e: OUTPUT: «True␤»
00:04 IOninja eye Perl 6
00:05 IOninja https://twitter.com/notwaldorf/status/837088726756929536 :)
00:05 IOninja We don't have that problem
00:06 mcmillhj joined #perl6
00:11 pyrimidine joined #perl6
00:16 llfourn joined #perl6
00:20 labster joined #perl6
00:21 samcv :)
00:23 samcv IOninja, https://github.com/rakudo/rakudo/pull/1030 will effect `is-deeply`?
00:23 samcv does that use eqv
00:23 IOninja Yes
00:23 samcv kk thx
00:23 IOninja it's really just a call to eqv with sugar to catch failures
00:24 IOninja hm
00:24 IOninja m: use Test; say Failure.new eqv ().Seq
00:24 camelia rakudo-moar 9d497e: OUTPUT: «False␤»
00:25 IOninja Or maybe to deal with junctions
00:26 elaADnlxie m: say ‘hello’.index(‘foo’)
00:26 camelia rakudo-moar 9d497e: OUTPUT: «Nil␤»
00:26 elaADnlxie we don't return -1 also
00:26 hean joined #perl6
00:27 IOninja m: use Test; say 'a'|'b' eqv 'b'|'a'
00:27 camelia rakudo-moar 9d497e: OUTPUT: «any(any(False, True), any(True, False))␤»
00:28 IOninja m: use Test; sub x(\a, \b) { say "hi"; a eqv b }; say x 'a'|'b', b'|'a'
00:28 camelia rakudo-moar 9d497e: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Two terms in a row␤at <tmp>:1␤------> 3 { say "hi"; a eqv b }; say x 'a'|'b', b7⏏5'|'a'␤    expecting any of:␤        infix␤        infix stopper␤        postfix␤        statement end…»
00:28 IOninja m: use Test; sub x(\a, \b) { say "hi"; a eqv b }; say x 'a'|'b', 'b'|'a'
00:28 camelia rakudo-moar 9d497e: OUTPUT: «hi␤hi␤hi␤hi␤any(any(False, True), any(True, False))␤»
00:28 IOninja m: use Test; sub x(Mu \a, Mu\b) { say "hi"; a eqv b }; say x 'a'|'b', 'b'|'a'
00:28 camelia rakudo-moar 9d497e: OUTPUT: «hi␤any(any(False, True), any(True, False))␤»
00:28 IOninja m: use Test; sub x(Mu \a, Mu\b) { say "hi"; ?(a eqv b) }; say x 'a'|'b', 'b'|Failure.new
00:28 camelia rakudo-moar 9d497e: OUTPUT: «hi␤True␤»
00:29 IOninja I've no idea why is-deeply calls _is-deeply that just does `eqv` instead of just using `eqv` right away :/
00:29 mcmillhj joined #perl6
00:35 pyrimidine joined #perl6
00:36 adu joined #perl6
00:49 cog__ joined #perl6
00:49 newbie1 joined #perl6
00:49 kalkin- joined #perl6
00:50 mcmillhj joined #perl6
00:50 kalkin- hi #perl6
00:50 adu hi
00:51 kalkin- so while hacking on ddt I just thought may be ddt should just generate a Makefile and let make take care of the rest like paralleling execution & co
00:52 adu what's ddt?
00:52 kalkin- i.e for such commands like release which would regenerate your docs readme bump version number and co
00:52 kalkin- Distribution Development Tool
00:52 kalkin- https://github.com/kalkin/Ddt
00:52 adu what's mi6?
00:52 kalkin- ddt could just generate a make target
00:53 adu https://github.com/masak/ufo
00:53 adu is it like ufo?
00:53 kalkin- adu: I forked mi6 added some features and have some more features in my nom branch, but waiting for some dependencies to release new version
00:53 adu yeah, but what is mi6?
00:54 adu do you have a link?
00:54 kalkin- https://github.com/skaji/mi6
00:56 adu I think every good language needs a good meta-tool
00:57 kalkin- adu what is a meta-tool?
00:57 adu like rust and cargo, go and go, python and pip, etc...
00:57 kalkin- well actually pip is a packet manager, thats what we have zef (and panda for)
00:57 kalkin- cargo /go same
00:57 kalkin- ddt & mi6 are more like your “rails generate” command
00:58 adu well, go is probably the best example, it includes the compiler, formatter, assembler, package manager, and the debugger
00:58 kalkin- plus ddt has now a continues test running feature which is what rake does in ruby
00:59 adu I don't know ruby
00:59 adu I know every language except ruby
01:00 perlpilot adu: that's quite a claim ...  ;-)
01:00 kalkin- generally ddt should do scaffolding, features like continues test running are nice, but I think they could be solved better by make(1) while ddt keeps beeing a scaffold generator, which also happens to generate Makefiles
01:00 cibs joined #perl6
01:00 adu not really, when you've been programming for 26 years
01:00 salva joined #perl6
01:01 kalkin- the scoffolding can add make targets i.e for formatting, running tests & ect…
01:01 Actualeyes joined #perl6
01:01 perlpilot adu: Even then.
01:03 perlpilot but ... if you know python or perl, you pretty much know ruby.  It looks kinda like python but feels kinda like perl  (except for all of the rampant monkey patching)
01:04 kalkin- adu: I bet you have never programmed Inform (more than just a Tutorial) ☺
01:04 adu perlpilot: yeah, but the word "rake" through me off
01:04 adu kalkin-: never used Inform
01:05 kalkin- It's an awesome language for writing text adventures, have a look at Inform 7, event if you are not in to text adventures, it's just different and awesome
01:05 kalkin- it's just another aproach
01:05 dogbert17_ joined #perl6
01:05 lichtkind is there a typo in http://examples.perl6.org/categories/euler/prob002-gerdr.html ?
01:06 mcmillhj joined #perl6
01:08 BenGoldberg joined #perl6
01:09 IOninja typo where?
01:09 * kalkin- just had a look at ufo
01:10 kalkin- It's nice, I think I could reuse it in ddt if I go the make way
01:13 kalkin- masak: would you accept a PR for spliting the code in to a bin/ and lib/ part so it could be reused?
01:16 IOninja lichtkind: typo where exactly?
01:16 nebuchadnezzar joined #perl6
01:17 ilbelkyr joined #perl6
01:17 perlpilot IOninja: I would guess because the text says "starting with 1 and 2" but the code starts with "(1,1, *+*"
01:18 perlpilot But ... I dunno.
01:19 lichtkind my error was a feature i didnt know
01:19 IOninja mkay
01:21 Geth ¦ perl6-examples: 57b15232a3 | (Zoffix Znet)++ | categories/euler/prob002-gerdr.pl
01:21 Geth ¦ perl6-examples: Fix Fibonacci sequence description
01:21 Geth ¦ perl6-examples: review: https://github.com/perl6/perl6-examples/commit/57b15232a3
01:23 kalkin- Hmm just noticed ufo is broken because $*CUSTOM_LIB is gone
01:23 IOninja good
01:31 wamba joined #perl6
01:47 IOninja Do '/tmp'  and '/' paths mean anything in Windows land? Eyeing last two options for IO::Spec::Win32 and they look od: https://github.com/rakudo/rakudo/blob/6661df6580a5db7939ec5a0c8e5ee5103c4660a7/src/core/IO/Spec/Win32.pm#L47-L48
01:49 SmokeMachine IOninja: those were my failing tests https://www.irccloud.com/pastebin/ligmxOfR/
01:52 IOninja SmokeMachine: you don't have latest changes in your roast repo
01:52 IOninja SmokeMachine: or in your rakudo repo
01:52 IOninja ... or both
01:53 SmokeMachine I just git pull --rebase https://github.com/rakudo/rakudo and running the tests again...
01:54 IOninja SmokeMachine: ensure you pull the tests
01:54 SmokeMachine t/spec/S03-metaops/hyper.rakudo.moar .............................. Dubious, test returned 2 (wstat 512, 0x200)
01:55 SmokeMachine sure! I didn't !!!
01:56 IOninja All but S17-supply/watch-path.t is because you don't have latest roast; I see S10-packages/precompilation.t flop on occasion, and I don't know about S17-supply/watch-path.t ; seems to be a mac only test
01:58 SmokeMachine t/spec/S10-packages/basic.rakudo.moar ............................. Dubious, test returned 1 (wstat 256, 0x100)
01:58 SmokeMachine No subtests run
01:58 SmokeMachine :(
01:59 SmokeMachine t/spec/S17-supply/watch-path.t .................................... Dubious, test returned 1 (wstat 256, 0x100)
01:59 SmokeMachine Failed 1/2 subtests
01:59 IOninja SmokeMachine: what's the output of t/fudgeandrun t/spec/S10-packages/basic.t t/spec/S17-supply/watch-path.t
02:00 SmokeMachine https://www.irccloud.com/pastebin/6RGURFFD/
02:00 SmokeMachine strange... https://www.irccloud.com/pastebin/eWV57WeS/
02:01 IOninja SmokeMachine: don't stick `perl6` before it
02:01 SmokeMachine Sorry...
02:01 SmokeMachine 1sec...
02:03 * IOninja goes to bed
02:04 SmokeMachine https://www.irccloud.com/pastebin/A9VNp4En
02:05 SmokeMachine IOninja: ^^
02:08 SmokeMachine IOninja: running the other one that throw error basic.rakudo.moar https://www.irccloud.com/pastebin/flFlGgNv
02:08 SmokeMachine I'm updating my PR, ok?
02:09 cyphase joined #perl6
02:11 bjz joined #perl6
02:16 SmokeMachine https://www.irccloud.com/pastebin/eO26G83y
02:20 SmokeMachine https://www.irccloud.com/pastebin/gmn47Rsi/
02:20 kalkin- joined #perl6
02:23 astj_ joined #perl6
02:47 ilbot3 joined #perl6
02:47 Topic for #perl6 is now »ö« Welcome to Perl 6! | https://perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:,  or /msg camelia p6: ... | irclog: http://irc.perl6.org or http://colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
02:53 _28_ria joined #perl6
03:04 cdg joined #perl6
03:14 elaADnlxie {}:my $*GOAL := $<sym> eq '??' ?? '!!' !! '‼';
03:14 elaADnlxie what's the idea behind these {}?
03:18 astj joined #perl6
03:19 noganex_ joined #perl6
03:19 SmokeMachine Make $/ get "synced"
03:21 samcv nice SmokeMachine
03:24 SmokeMachine elaADnlxie: https://irclog.perlgeek.de/perl6/2017-03-01#i_14187340
03:24 SmokeMachine samcv: thanks! :)
03:26 elaADnlxie cool
03:30 SmokeMachine :)
03:41 mcmillhj joined #perl6
04:10 ZzZombo joined #perl6
04:11 ZzZombo joined #perl6
04:16 mcmillhj joined #perl6
04:18 cyphase joined #perl6
04:23 wamba joined #perl6
04:24 cpage_ joined #perl6
04:38 xtreak joined #perl6
04:41 sjn__ joined #perl6
04:41 bjz joined #perl6
04:53 mr-foobar joined #perl6
04:59 Cabanoss- joined #perl6
05:01 sjn__ joined #perl6
05:03 sjn__ joined #perl6
05:17 _28_ria joined #perl6
05:23 somjan joined #perl6
05:33 mcmillhj joined #perl6
06:00 rurban joined #perl6
06:17 mcmillhj joined #perl6
06:21 jsoo joined #perl6
06:30 Todd_ joined #perl6
06:31 Todd_ Hi All.  I am trying to send a tar ball with Net::SMTP and MINIE::Base64.  I am very confused.  Can someone point me to the directions?
06:32 Todd_ MIME:: not Minie
06:35 Todd_ Is there an easier way to do this?
06:35 _28_ria joined #perl6
06:36 Todd_ Maybe an example?
06:36 mcmillhj joined #perl6
06:40 CIAvash joined #perl6
06:44 darutoko joined #perl6
06:47 pyrimidine joined #perl6
06:49 bartolin joined #perl6
06:50 RabidGravy joined #perl6
06:50 _28_ria joined #perl6
06:51 dha joined #perl6
06:53 dha joined #perl6
06:53 llfourn joined #perl6
06:54 geekosaur Todd_, MIME::Base64 is another component (encodes/decodes data into the variant of base64 encoding used by MIME; does not create MIME parts)
06:56 Todd_ What would be the simplist way to send an eMail with tar ball as an attachment?
06:57 Todd_ I am very confused
06:57 geekosaur I'm glanciing through metacpan for stuff that you could use with Net::SMTP... but you might ditch that and use Email::Stuffer to handle it all
06:58 geekosaur since it's pretty much exactly what you want: a simple interface that handles the whole stack
06:58 Todd_ all I am finding is email::simple.  https://modules.perl6.org/#q=email%3A%3As
06:58 Todd_ no stuffer
06:59 geekosaur we already determined there is not currently a perl 6 module for any layer other than smtp
06:59 geekosaur https://metacpan.org/pod/Email::Stuffer
07:00 geekosaur no rfc2822, no mime
07:00 geekosaur which means doing this all in perl 6 is not really a thing yet
07:00 Todd_ that is a perl5 module
07:00 xtreak joined #perl6
07:00 geekosaur yes
07:00 geekosaur I just said nothing exists for perl 6
07:01 geekosaur that does not mean I';m going to haul out the perl 6 module I just said didn't exist
07:01 Todd_ oops
07:01 geekosaur for the moment, you will need to rely on the perl 5 module support. presumably at some point native perl 6 support will show up... but it's actually a lot of work, so I would not hold my breath
07:02 geekosaur (full MIME is a fairly complex standard, and even RFC2822 basic email has its nasty edge cases)
07:02 Todd_ so, use the inline module till then?
07:02 mcmillhj joined #perl6
07:02 geekosaur yes
07:03 geekosaur unless you want to switch to just writing perl 5 or python or whatever
07:03 Todd_ Thank you.  I will.
07:03 geekosaur perl 6 is still new enough that a lot of things are missing
07:04 Todd_ I write in perl 5.  I like it a lot, but the subroutines drive me nuts.  It is like assembly code passing variables to subs.  I adore P 6's subs.  I write in Top Down and my code is filled with subs
07:04 wamba joined #perl6
07:04 Todd_ I noticed the missing stuff.  I really want out of P5 as soon as possible.  Inline is a good buffer
07:05 ufobat joined #perl6
07:07 Todd_ Thank you!  bye bye
07:09 Todd_ I am back already.
07:09 Todd_ I an not get inline to install
07:09 Todd_ $ rpm -qa perl perl-5.16.3-291.el7.x86_64
07:10 Todd_ perl-5.16.3-291.el7.x86_64
07:10 Todd_ zef install Inline::Perl5 ===> Searching for: Inline::Perl5 ===> Searching for missing dependencies: LibraryMake, File::Temp ===> Searching for missing dependencies: File::Directory::Tree ===> Building: Inline::Perl5:ver('0.23'):auth('github:niner') Perl v5.18.0 required--this is only v5.16.3, stopped at -e line 1. BEGIN failed--compilation aborted at -e line 1.  Perl 5 version requirement not met
07:10 Todd_ What now?
07:10 moritz Todd_: read Inline::Perl5's README
07:11 moritz you need a perl 5 compiled with certain flags
07:11 moritz you might need to compiler your own copy of perl 5 if the distro one doeesn't work
07:11 moritz *compile
07:12 Todd_ panda then?
07:15 Todd_ oh.  I will use the git clone thing
07:17 Todd_ $ perl6 configure.pl6 Perl v5.18.0 required--this is only v5.16.3
07:17 Todd_ mumble
07:20 RabidGravy well to be fair 5.16 is five years old
07:20 Todd_ That is stinking Red Hat for you!
07:21 RabidGravy Fedora has 5.24  so maybe in a few years it will catch up :)
07:21 geekosaur part of the problem here is that perl 5's guts are generally a mess, the older the version the worse the mess
07:21 geekosaur probably Inline::Perl5 with 5.16 either throws weird errors or possibly dumps core
07:22 mcmillhj joined #perl6
07:22 Todd_ I tried using vi to change the rev requrement, and it did not make
07:22 RabidGravy build your own with perlbrew or something
07:23 Todd_ no perlbrew on rhel that I can find
07:23 RabidGravy just download it locally
07:23 RabidGravy anyhow I'm off to the code mines
07:24 Todd_ Fedora Core 25 is on perl-5.24.0-380.fc25.x86_64, which is where I will be using inline, so I will try over there
07:25 rurban joined #perl6
07:25 Todd_ And I will open a bug on Red Hat's bugzilla to rebase perl 5
07:25 xtreak joined #perl6
07:30 Todd_ https://bugzilla.redhat.com/show_bug.cgi?id=1428274
07:31 Todd_ Maybe they will, maybe they won't payu attention
07:31 Todd_ bye again
07:32 Todd_ I am back.  Tried to zef inline on fedora
07:33 Todd_ ===> Building [FAIL]: Inline::Perl5:ver('0.23'):auth('github:niner')
07:33 Todd_ Aborting due to build failure: Inline::Perl5:ver('0.23'):auth('github:niner')(use --force to override)
07:33 Todd_ Shall I try the --force?
07:35 Todd_ well, it seems to be installig with force.  I wonder if it will work?
07:37 Todd_ Time will tell.  Bye bye
07:38 mcmillhj joined #perl6
07:43 domidumont joined #perl6
07:44 domidumont joined #perl6
07:54 llfourn joined #perl6
07:57 rindolf joined #perl6
07:58 Todd_ I am back
07:58 Todd_ cpan Email::Stuffer
07:58 Todd_ Email::Stuffer is up to date (0.014).
07:58 mcmillhj joined #perl6
07:58 Todd_ perl6 -c CimCheck.pl6
07:59 Todd_ Could not find Inline::Perl5
07:59 Todd_ What now?
08:02 llfourn joined #perl6
08:03 xtreak joined #perl6
08:09 _28_ria joined #perl6
08:11 moritz seems like the installation didn't work
08:12 Todd_ not finding a "remove" in cpan
08:16 Todd_ I am trying it with --force.  It is doing a lot of compiling
08:16 mcmillhj joined #perl6
08:19 pyrimidi_ joined #perl6
08:20 Todd_ the buzzard still isn't showing up
08:20 Todd_ # find / -iname \*inline\* | grep -i perl5
08:20 Todd_ isn't finding it either
08:20 cpage_ joined #perl6
08:21 moritz look at whether the installation succeeded or not
08:26 Todd_ ./Build install  -- OK
08:26 Todd_ I can not find it though
08:28 zakharyas joined #perl6
08:30 domidumont joined #perl6
08:34 domidumont joined #perl6
08:40 mcmillhj joined #perl6
08:53 Todd_ bye bye
08:56 ZzZombo !ping
08:57 ZzZombo_ joined #perl6
08:57 mcmillhj joined #perl6
08:57 ZzZombo_ joined #perl6
08:59 moritz !pong
09:00 grondilu_ joined #perl6
09:01 ZzZombo something weird just happened, I couldn't open any website, yet IRC, and a bunch of online games worked well, just the browser couldn't send any requests.
09:09 domidumont joined #perl6
09:10 telex joined #perl6
09:11 domidumont joined #perl6
09:13 xtreak joined #perl6
09:13 dakkar joined #perl6
09:14 mcmillhj joined #perl6
09:20 lizmat ZzZombo: feels like your DNS was out of whack for a while
09:30 espadrine joined #perl6
09:33 IOninja .tell Todd Inline::Perl5 is a Perl 6 module; you install it with `zef install Inline::Perl5` not cpan; it doesn't create "inline" files on your filesystem but installs precompiled units in CUR, so check it's installed with `perl6 -MInline::Perl5`, not grepping your system for files
09:33 yoleaux IOninja: I'll pass your message to Todd.
09:34 Sound joined #perl6
09:36 vendethiel joined #perl6
09:38 ZzZombo .tell yoleaux Beep Boop I'm a Robot
09:38 yoleaux ZzZombo: Thanks for the message.
09:38 ZzZombo NP mate
09:39 IOninja m: sub x is assoc('right') { "$^a:$^b" }; say [[&x]] 2, 3, 4, 5
09:39 camelia rakudo-moar 9d497e: OUTPUT: «2:3:4:5␤»
09:39 IOninja m: sub x is assoc('left') { "$^a:$^b" }; say [[&x]] 2, 3, 4, 5
09:39 camelia rakudo-moar 9d497e: OUTPUT: «2:3:4:5␤»
09:40 IOninja I thought assoc should affect the order or something?
09:41 IOninja Oh
09:42 cpage__ joined #perl6
09:42 IOninja hm, nope
09:42 IOninja m: sub x is assoc('right') { $^a+$^b }; say [\[&x]] 2, 3, 4, 5
09:42 camelia rakudo-moar 9d497e: OUTPUT: «(2 5 9 14)␤»
09:42 IOninja m: sub x is assoc('left') { $^a+$^b }; say [\[&x]] 2, 3, 4, 5
09:42 camelia rakudo-moar 9d497e: OUTPUT: «(2 5 9 14)␤»
09:46 IOninja m: sub x is assoc('right') { "($^x,$^y)" }; say [[&x]] 2, 3, 4, 5;
09:46 camelia rakudo-moar 9d497e: OUTPUT: «(((2,3),4),5)␤»
09:46 mcmillhj joined #perl6
09:47 IOninja "Note: In the functional programming world, this operation is generally called a fold. With a right-associative operator it is a right fold, otherwise (and usually) it is a left fold." ... and no examples
09:47 IOninja Somebody help!
09:47 bjz joined #perl6
09:48 moritz it only works for operators
09:49 IOninja lies, I've seen it work for routines
09:49 aborazmeh joined #perl6
09:49 aborazmeh joined #perl6
09:49 moritz m: sub infix:<foo> is assoc<right> ($a, $b) { "($a, $b)" }; say [&foo] 1, 2, 3, 4
09:49 camelia rakudo-moar 9d497e: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Missing block␤at <tmp>:1␤------> 3sub infix:<foo> is assoc<right>7⏏5 ($a, $b) { "($a, $b)" }; say [&foo] 1, ␤    expecting any of:␤        new name to be defined␤»
09:49 moritz m: sub infix:<foo>($a, $b) is assoc<right> { "($a, $b)" }; say [&foo] 1, 2, 3, 4
09:50 camelia rakudo-moar 9d497e: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Two terms in a row␤at <tmp>:1␤------> 3 assoc<right> { "($a, $b)" }; say [&foo]7⏏5 1, 2, 3, 4␤    expecting any of:␤        infix␤        infix stopper␤        postfix␤        statement…»
09:50 moritz m: sub infix:<foo>($a, $b) is assoc<right> { "($a, $b)" }; say [foo] 1, 2, 3, 4
09:50 camelia rakudo-moar 9d497e: OUTPUT: «(1, (2, (3, 4)))␤»
09:50 IOninja Oh
09:50 moritz m: sub infix:<foo>($a, $b) is assoc<left> { "($a, $b)" }; say [foo] 1, 2, 3, 4
09:50 camelia rakudo-moar 9d497e: OUTPUT: «(((1, 2), 3), 4)␤»
09:50 IOninja moritz++ thanks
09:50 masak remind me -- how do I get the current position in the middle of a grammar?
09:51 masak something to do with cursors...
09:51 moritz masak: lol it's in my book! :-)
09:51 moritz self.pos iirc
09:52 masak thank you! :D
09:52 masak moritz++ # lol book
09:52 IOninja m: grammar { token TOP { .**3 { say $¢.pos } } }.parse: '1234546'
09:52 camelia rakudo-moar 2dd2eb: OUTPUT: «3␤»
09:52 masak it worked! :D
09:53 IOninja didn't for me :/
09:53 moritz self.pos works in a method called from the grammar
09:53 IOninja ah
09:53 IOninja m: grammar { token TOP { <foo> }; token foo { .**3 { say self.pos } } }.parse: '1234546'
09:53 camelia rakudo-moar 2dd2eb: OUTPUT: «0␤»
09:53 moritz m: grammar { token TOP { .**3 <.foo> }; method foo(|c) { die "got to {$.pos}" } }.parse: '123456'
09:53 camelia rakudo-moar 2dd2eb: OUTPUT: «got to 3␤  in method foo at <tmp> line 1␤  in regex TOP at <tmp> line 1␤  in block <unit> at <tmp> line 1␤␤»
09:53 IOninja m: grammar { token TOP { <foo> }; token foo { .**3 { say $.pos } } }.parse: '1234546'
09:53 camelia rakudo-moar 2dd2eb: OUTPUT: «0␤»
09:54 masak oh, and self.orig was the answer to my next question... :)
09:56 moritz the section on generating good parse error is a bit of content I'm proud of, it's something that's not often discussed
09:56 moritz many blog posts show how cool grammars are, but don't have enough space left to dive into the details on how to make the parsers real-world usable
09:58 mcmillhj joined #perl6
09:58 masak :)
09:58 Geth ¦ doc: f1c280c431 | (Zoffix Znet)++ | doc/Type/List.pod6
09:58 Geth ¦ doc: Include example of affecting fold direction in reduce
09:58 Geth ¦ doc: review: https://github.com/perl6/doc/commit/f1c280c431
09:59 moritz IOninja++ # improving the docs
09:59 IOninja moritz++ # showing how
10:03 jonas1 joined #perl6
10:04 mcmillhj joined #perl6
10:14 IOninja m: say .rand > .5 ⁇ 'big' ‼ 'small'
10:14 camelia rakudo-moar ed971d: OUTPUT: «No such method 'rand' for invocant of type 'Any'␤  in block <unit> at <tmp> line 1␤␤»
10:14 IOninja m: say rand > .5 ⁇ 'big' ‼ 'small'
10:14 camelia rakudo-moar ed971d: OUTPUT: «big␤»
10:15 IOninja ehehe :) SmokeMachine++
10:18 llfourn joined #perl6
10:21 mcmillhj joined #perl6
10:21 indexme joined #perl6
10:23 * IOninja high-fives other developers over latest Unicode stuff
10:23 IOninja bah, Twitter renders ‼ much different than ⁇: https://twitter.com/zoffix/status/837246807084249089
10:23 IOninja You had one job!
10:30 mcmillhj joined #perl6
10:43 IOninja We have rakudobrew listed in Install section (on the right) of reddit: https://www.reddit.com/r/perl6/
10:44 IOninja IMO "bleeding edge" ne "whatever commit ended up on HEAD"
10:44 gfldex it doesnt render at all, it links to .png https://abs.twimg.com/emoji/v2/72x72/203c.png
10:50 lukaramu joined #perl6
10:52 IOninja hmmm, typing `rakudo.perl6.org` in browser leads to http://rakudo.perl6.org/  need to force HTTPS
10:53 IOninja guess I have the acces to do so...
10:54 IOninja done.
10:54 xtreak joined #perl6
10:55 IOninja huh, but apparently it's not under git control?
10:55 bjz_ joined #perl6
10:58 IOninja says apache2/sites-available/rakudo.perl6.org.conf is ignored by .gitignore but I don't see where :S
10:58 IOninja Oh weell
11:05 andrzejku joined #perl6
11:06 gfldex m: say True ⁇ '*nod*' ‼ '*shake*';
11:06 camelia rakudo-moar 9d138b: OUTPUT: «*nod*␤»
11:07 mcmillhj joined #perl6
11:08 xtreak joined #perl6
11:11 cpage joined #perl6
11:12 IOninja m: say 0 ⁇ Nil ⁇ False ⁇ Int ⁇ () ⁇ '*nod*' ‼ '*shake*' ‼ '*wake*' ‼ '*bake*' ‼ '*make*' ‼ '*fake*';
11:12 camelia rakudo-moar 9d138b: OUTPUT: «*fake*␤»
11:12 cdg joined #perl6
11:14 IOninja m: say 0 ⁇ Nil ?? 'meow' !! 'foo' ‼ 'bar'
11:14 camelia rakudo-moar 9d138b: OUTPUT: «bar␤»
11:14 IOninja m: say 0 ⁇ Nil ?? 'meow' ‼ 'foo' !! 'bar'
11:14 camelia rakudo-moar 9d138b: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Confused: Bogus code found before the !! of conditional operator␤at <tmp>:1␤------> 3say 0 ⁇ Nil ?? 'meow'7⏏5 ‼ 'foo' !! 'bar'␤    expecting any of:␤        infix␤        infix stopper␤»
11:19 llfourn m: say \c[BELL] # if "BELL" is in a variable, how do I print it?
11:19 camelia rakudo-moar 9d138b: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Undeclared name:␤    BELL used at line 1␤Undeclared routine:␤    c used at line 1␤␤»
11:19 llfourn m: say "\c[BELL]" # if "BELL" is in a variable, how do I print it?
11:19 camelia rakudo-moar 9d138b: OUTPUT: «🔔␤»
11:22 timotimo i once added a sub for this, and somewhere since then i forgot its name
11:23 llfourn timotimo: lol, well that's a start :P
11:23 timotimo perhaps i only added the nqp op?
11:24 timotimo m: use nqp; dd nqp::getstrfromname("BELL")
11:24 camelia rakudo-moar 9d138b: OUTPUT: «"🔔"␤»
11:24 llfourn ooo nice
11:24 timotimo m: use nqp; nqp::getstrfromname("BELL").NFC.perl.say
11:24 camelia rakudo-moar 9d138b: OUTPUT: «Uni.new(0x1f514).NFC␤»
11:24 timotimo i couldn't see the bell there so i had to double-check
11:26 llfourn it looks like there's no p6 sub that calls it, it's just in the QActions.
11:27 mcmillhj joined #perl6
11:29 IOninja right, currently, the only p6 way is via EVAL
11:30 llfourn I'm not sure which is worse to put in my code. Probably EVAL :P.
11:30 gfldex so we need Cool.ununiname
11:31 gfldex or .deuniname
11:31 IOninja or something not entirely silly
11:31 gfldex have you seen our logo?
11:31 gfldex :->
11:32 IOninja It's colourful and ugly. Not silly.
11:33 timotimo "DEU niname"?
11:33 timotimo gives you a german nickname
11:33 gfldex .unichr then
11:37 IOninja .parse-names
11:38 IOninja 'FF'.parse-base(16) => 255; 'bell, butterfly'.parse-names => "\c[BELL, BUTTERFLY]"
11:42 IOninja m: use nqp; 'BELL, BUTTERFLY'.split(/\s*\,\s*/, :skip-empty).&nqp::getstrfromname.say
11:42 camelia rakudo-moar 9d138b: OUTPUT: «Cannot find method 'Any' on object of type Seq␤  in block <unit> at <tmp> line 1␤␤»
11:42 IOninja really...
11:42 timotimo yeah, nqp ops aren't reified
11:42 IOninja m: .&meow::moew
11:42 camelia rakudo-moar 9d138b: OUTPUT: «Cannot find method 'Any' on object of type Any␤  in block <unit> at <tmp> line 1␤␤»
11:43 IOninja m: &m::m
11:43 camelia rakudo-moar 9d138b: ( no output )
11:46 mcmillhj joined #perl6
11:47 agentzh joined #perl6
11:50 IOninja m: &Δ::Δ
11:50 camelia rakudo-moar 9d138b: ( no output )
11:51 timotimo what are you expecting, though?
11:51 IOninja m: &Δ
11:51 camelia rakudo-moar 9d138b: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Undeclared routine:␤    Δ used at line 1␤␤»
11:51 IOninja something like that
11:52 timotimo package lookup is a bit less hard than that, isn't it?
11:53 IOninja m: $Δ::Δ
11:53 camelia rakudo-moar 9d138b: ( no output )
11:53 IOninja dunno
11:53 IOninja there's no Δ package tho
11:53 timotimo right, that doesn't seem to be a problem for anything
11:53 timotimo m: say $foo::foo
11:53 camelia rakudo-moar 9d138b: OUTPUT: «(Any)␤»
11:54 timotimo cool, we call .sink on the thing and call .sink on the result of .sink again
11:54 IOninja To me, this seems to be the same problem as not complaining about underclared variable names. A single typo and your code's broken.
11:55 timotimo well
11:55 timotimo we used to be able to use GLOBAL (which is what's being used here) to grab stuff from run-time included stuff
11:55 timotimo at least i think so?
11:56 timotimo m: say &Test::is; require Test;
11:56 camelia rakudo-moar 9d138b: OUTPUT: «(Any)␤»
11:56 timotimo m: require Test; say &Test::is;
11:56 camelia rakudo-moar 9d138b: OUTPUT: «(Any)␤»
11:56 timotimo well, not like that, obviously?
11:56 timotimo maybe only worked before lexical imports
11:56 timotimo committable6: releases m: require Test; say &Test::is;
11:56 timotimo oops
11:56 timotimo well, m: doesn't hurt
11:57 committable6 timotimo, ¦«releases (16 commits)»: (Any)
11:57 timotimo well, it does put Test into GLOBAL
11:57 timotimo committable6: releases require Test; say Test::.keys;
11:57 committable6 timotimo, ¦«releases (16 commits)»: ===SORRY!=== Error while compiling /tmp/fGkrB6LKyM␤Undeclared name:␤    Test used at line 1␤ «exit code = 1»
11:58 timotimo er, of course
11:58 IOninja It's not an `our` routine tho
11:58 timotimo committable6: releases require Test; say GLOBAL::('Test')::.keys;
11:58 committable6 timotimo, ¦«2015.12,2016.01.1,2016.02,2016.03,2016.04,2016.05,2016.06,2016.07.1,2016.08.1,2016.09,2016.10»: 0..0 ¦«2016.11,2016.12,2017.01,2017.02,HEAD»: (0)
11:58 timotimo that'd explain why it doesn't show up, then
11:58 IOninja m: require Test <&is>; say &is;
11:58 camelia rakudo-moar 9d138b: OUTPUT: «sub is (;; Mu | is raw) { #`(Sub|55317752) ... }␤»
12:00 IOninja m: require Test; say EXPORT::Test<&is>;
12:00 camelia rakudo-moar 9d138b: OUTPUT: «Could not find symbol '&Test'␤  in block <unit> at <tmp> line 1␤␤Actually thrown at:␤  in block <unit> at <tmp> line 1␤␤»
12:00 IOninja There's an incantation similar to that ^ that works too
12:07 timotimo m: require Test; say GLOBAL::Test::EXPORT::DEFAULT::.keys
12:07 camelia rakudo-moar 9d138b: OUTPUT: «(&does-ok &like &eval-lives-ok &pass &cmp-ok &subtest &flunk &dies-ok &unlike &todo &skip &use-ok &isnt &skip-rest &diag &eval-dies-ok &is-deeply &throws-like &ok &is &done-testing &bail-out &is-approx &lives-ok &MONKEY-SEE-NO-EVAL &plan &nok &is_approx …»
12:09 SmokeMachine IOninja: thanks!
12:10 Ven joined #perl6
12:10 itaipu joined #perl6
12:11 mcmillhj joined #perl6
12:11 timotimo the stuff zefram finds in our IO::Spec stuff is scary
12:11 timotimo i'm glad he's poking it with a very sharp stick
12:11 bjz joined #perl6
12:15 IOninja yeah
12:25 timotimo can't QString also contain null bytes?
12:26 Geth ¦ DBIish/master: 4 commits pushed by (Jonathan Stowe)++
12:26 Geth ¦ DBIish/master: f3a7d0d192 | Remove diagnostic
12:26 Geth ¦ DBIish/master: 4ac1a537b0 | Add pg-consume-input
12:26 Geth ¦ DBIish/master: 45f2a1b000 | Delegate pg-consume-input
12:26 Geth ¦ DBIish/master: 8f707efbb4 | Add pg-consume-input to the README
12:26 Geth ¦ DBIish/master: review: https://github.com/perl6/DBIish/compare/37d5c2079c...8f707efbb4
12:26 timotimo i wonder how exactly they deal with filesystem stuff
12:26 timotimo they do have all custom filesystem functions
12:26 mcmillhj joined #perl6
12:29 lep-delete joined #perl6
12:30 Geth ¦ DBIish: d33ee8eb9a | (Jonathan Stowe)++ | META6.json
12:30 Geth ¦ DBIish: Up the version
12:30 Geth ¦ DBIish: review: https://github.com/perl6/DBIish/commit/d33ee8eb9a
12:32 masayoshi joined #perl6
12:33 pmurias joined #perl6
12:36 mcmillhj joined #perl6
12:40 Ven joined #perl6
12:45 setty1 joined #perl6
12:46 wamba joined #perl6
12:46 mcmillhj joined #perl6
12:51 SmokeMachine u: double
12:51 unicodable6 SmokeMachine, U+00AB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK [Pi] («)
12:51 unicodable6 SmokeMachine, U+00BB RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK [Pf] (»)
12:51 unicodable6 SmokeMachine, 438 characters in total: https://gist.github.com/d86e11610b443794c22e711fc55ef47f
12:58 mcmillhj joined #perl6
13:00 elaADnlxie joined #perl6
13:02 llfourn joined #perl6
13:08 Grrrr joined #perl6
13:11 mcmillhj joined #perl6
13:30 indexme joined #perl6
13:31 TBSliver joined #perl6
13:33 lukaramu_ joined #perl6
13:52 cale2 joined #perl6
13:53 cale2 why does perl6 have such a strong focus on operators?
13:54 mcmillhj joined #perl6
13:55 DrForr Well, it's been about programmer efficiency, and if you have more operators to choose from to do a given task that's better for productivity.
13:55 n1ce_ joined #perl6
13:57 user9 joined #perl6
13:58 cale2 Practically, you'd save time if you memorized 30 operators, but the next person will waste time by having to look up what each operator does
13:58 IOninja heh
13:58 IOninja All conjecture. Love it.
13:59 DrForr Yeah, but once they've looked them up...
13:59 IOninja cale2: you could use 30 subroutines and by your logic the next person would waste time having to look up what each subroutine does.
14:00 llfourn In practice I don't find much perl6 that is full of crazy operators.
14:00 El_Che there are some
14:00 El_Che :)
14:00 cale2 I'm talking about the built in ones documented here: https://docs.perl6.org/language/operators
14:00 rurban1 joined #perl6
14:01 IOninja Hardly a challenge to learn all of them, even the more obscure ones. And no different than learning routine names and behaviours.
14:01 zakharyas joined #perl6
14:01 cale2 A lot different from learning routine names and behaviors. Those are words that (ideally) have meaning to the reader
14:02 IOninja `[...]` is as much a name as `reduce ...`
14:03 IOninja cale2: that's a faulty argument that assumes an ignorant programmer can correctly surmise the program's behaviour just by reading the subroutine's name.
14:03 IOninja They'd still have to look it up in the documentation to learn of acceted arguments, return values, and error handling.
14:04 IOninja Wasn't it you who were complaining `grep` isn't named `filter`?
14:06 llfourn m: my $x = 2; say $x..5,$x^..5,$x..^5; #preferable to range($x,5), range($x+1,5) etc.. IMO
14:06 camelia rakudo-moar 9d138b: OUTPUT: «2..52^..52..^5␤»
14:06 cale2 yes, that was me
14:08 IOninja Most people working with code didn't first pick up the language 30 seconds ago.
14:09 cale2 As an example, https://docs.perl6.org/language/operators#infix_ff even after reading the documentation, I don't understand `ff`
14:09 geekosaur please jettison all attempts to have anything whatsoever to do with older versions of perl, apparently
14:10 geekosaur reusing names already well defined in perl is apparently an evil idea
14:10 IOninja cale2: but that's an obscure operator.
14:10 * llfourn never knew about ff
14:10 geekosaur respelled version of p5's ..
14:10 cale2 I tried replacing `ff` with `$_ ~~ $a and $_ ~~ $b` like in the docs, but it doesn't work the same
14:10 DrForr cale2: "flip-flop"
14:10 geekosaur (in scalar context)
14:11 IOninja cale2: you could equally pick pgrep_regex_no_match_whatever() and still'd have to lookl it up
14:11 cale2 IOninja: it's in the standard lib.......
14:11 IOninja cale2: so?
14:11 IOninja cale2: `and` seems vastly more use than `andthen`
14:11 IOninja *sees
14:11 cale2 I can't pay someone to give me a practical example of `andthen`
14:11 IOninja I already did
14:12 cale2 I doubt anyone knows a use for it
14:12 cale2 then put it in the docs! haha
14:12 IOninja Yes, of course. If you can't think of a use, no one can.
14:12 llfourn I use andthen all the time...
14:12 geekosaur cale2: could you tone down the "I am the only one here with a brain"?
14:13 llfourn m: my $x = "foo"; my $y = $x andthen .uc; say $y
14:13 camelia rakudo-moar 9d138b: OUTPUT: «foo␤»
14:13 adu joined #perl6
14:13 llfourn m: my $x = "foo"; my $y = ($x andthen .uc); say $y #oops
14:13 camelia rakudo-moar 9d138b: OUTPUT: «FOO␤»
14:13 IOninja lol :)
14:13 timotimo cale2: did you see the "wig" module for perl6?
14:13 IOninja buggable: eco wigh
14:13 buggable IOninja, Nothing found
14:13 IOninja buggable: eco wig
14:13 buggable IOninja, wig 'where is grep: Make grep prettier, put a wig on it!': https://github.com/0racle/p6-wig
14:13 IOninja ah
14:13 cale2 geekosaur: It's more a tone of "I'm the only one here with an outsider's perspective" apparently. I've not programmed perl5 or been a linux sys admin
14:14 cale2 llfourn: how do you use it?
14:14 DrForr there's also ack, along the same lines, but probably a different purpose.
14:14 IOninja cale2: your outsider's perspective comes across to me as "Thing XYZ is better then Perl'6 thing because I'm much more familiar with it"
14:15 llfourn cale2: I usually use it to conditionally assign to things if they are defined
14:15 llfourn or rather an attribute of things
14:15 timotimo llfourn: that sounds like you want to invest more heavily into "with" ;)
14:15 llfourn timotimo: I don't like reading things backwards
14:15 IOninja heh
14:15 timotimo OK
14:16 timotimo we should totally make Rwith work :P
14:16 cale2 I assumed `andthen` was for chaining "maybe" operations. Like "if this is defined, do this, and if defined again, do this again"
14:16 cdg joined #perl6
14:16 llfourn cale2: exactly
14:17 cale2 llfourn: how do you insert the orelse with that then? It seems you should attach an "andthen" and "orelse" to the same op
14:17 masak timotimo: but `with` is not an infix operator, it's a statement modifier
14:17 geekosaur cale2: does that justify "do not attempt under any circumstances to preserve perl 5 compatibility when that might confuse someone who has never ever programmed before"? does that justify "I doubt anyone knows a use for [andthen]"?
14:17 masak timotimo: also there's already `with <expr> { ... }`
14:17 timotimo oh, of course there is
14:17 geekosaur so far, it only seems to justify "my viewpoint is the only valid one under any circumstances"
14:18 timotimo masak: i would have continued to argue we should make Rfor and Rwhile work, too ;) ;)
14:18 llfourn cale2: I think orelse still breaks with andthen :P but yes in theory
14:18 cale2 IONinja: It's not what I mean. Though it is obvious to me that you get that impression. Which is why you write off any critique I ever have. The only reason I grill on things is because I'm trying to truly understand and help out. Others will have the same thoughts as me. You can't live in a vacuum like Perl languages are the only options.
14:20 mst cale2: I'm confused by this, because from a perl5 person's POV, the perl6 operators are many, varied and a noticeable learning curve
14:20 pmurias cale2: some of your critique is very subjective, for me personally remembering operators isn't significantly harder than learning function names
14:21 mst cale2: I think you're assuming a position that IOninja doesn't hold and then inventing reasons why you're right about that
14:21 mst cale2: could you perhaps stick to criticisng the language itself rather than amateur psychoanalysis of people who disagree with you?
14:21 cale2 geekosaur: One of the stated goals of P6 was to distance itself from the bash/linux heritage. I guess it's a question of how far. I stand by my complaint about `andthen`. It feels like it was thrown in as an attempt to have "maybe" control flow. But it feels half-baked... Maybe it would make sense if someone gave a good example in the docs
14:22 DrForr It's entirely possible to write lots of useful code without any of the "fancy" operators.
14:22 IOninja cale2: but you don't have critique. You poo-poo things you don't understand. That's different. Just a few minutes ago you said "doubt anyone knows a use for [andthen]", despite my showing examples earlier. Yesterday, you charge into https://github.com/perl6/routine-map/issues/2 saying my code is slow, despite failing to provide any proof your sorting-plugin-of-choice handles a 5000-row table any better.
14:22 zengargoyle last call, if you're going to SCaLE this weekend... drop by the LA.pm booth and say 'hi'.
14:22 IOninja cale2: perhaps if you stop assuming you know everything, I'd stop dismissing your "critism" that easily.
14:24 perlpilot Hrm.
14:24 cale2 IOninja: It is slow. It's not a "poo poo" on your code. I was just trying to be helpful by offering that alternative. Sorry
14:24 mst cale2: andthen is not a bash concept
14:24 perlpilot this is not what I expected to see on #perl6 this morning
14:24 DrForr cale2: Think too about 'elsif'.
14:24 DrForr else if we do this and then do that.
14:25 mst cale2: short circuiting comparison operators are vastly common, and 'andthen' if anything is more reminiscent of node.js promises than bash, for me
14:25 cale2 mst: agreed
14:25 cale2 perlpilot: I have many thoughts and prefer hearty debate. Apologies if some get upset by confrontation
14:26 mst cale2: so I don't know why you keep inventing some perl5 bias and accusing IOninja of it
14:26 cdg joined #perl6
14:27 cale2 IOninja: not meaning to personally attack at all. just pressing things in an effort to get a reasoned defense and learn
14:27 skids joined #perl6
14:27 perlpilot cale2: no,no, I'm not upset.  I like "hearty debate" ... as long as it shows "movement"  (debate for debate sake is annoying an unproductive)
14:27 perlpilot cale2: It's just that #perl6 usually has a different style of debate.  (probably that's only when TimToady is involved)
14:28 mst I'm now completely confused as to what cale2's point was
14:29 cale2 mst: multiple points that escalated haha. `andthen` was a tangent
14:29 mst cale2: can we start from the top, and maybe you could start by making one point at a time, without the (accidental) personal attacks?
14:30 cale2 mst: replacing `ff` with `$_ ~~ $a and $_ ~~ $b` doesn't work. Can't make sense of `ff` even after consulting the docs.
14:30 perlpilot cale2: the thing about Perl 6's many operators is that they naturally "chunk" into nice categories so that your brain can get at them without having to think about *all* of the operators, but rather just the ones that go together.
14:30 mst cale2: ff is flip flop, so it's ... "from $a to $b" or so
14:31 pmurias hmm, how should I portably test nqp::filenofh (which return the file descriptor for a file handle)
14:31 mst cale2: if ($state == 0 and $_ ~~ $a) { $state = 1 } elsif ($state == 1 and $_ ~~ $b { $state = 0 }; if ($state) {
14:31 mst cale2: is roughly what flip flop is short for
14:31 jnthn pmurias: I think there's some tests in roast that test the Perl 6 native-descriptor method, which may provide some inspiration
14:32 perlpilot To be fair, the little state machine that ff and fff carry around is a source of confusion for some  (same with the P5 versions)
14:32 pmurias jnthn: thanks, I'll look
14:32 llfourn m: { .say if /A/ ff /B/; .say if $_ ~~ /A/ && $_ ~~ /B/ } for <AB C D B E F> # worls like that here
14:32 camelia rakudo-moar 9d138b: OUTPUT: «AB␤AB␤»
14:32 llfourn cale2: ^
14:33 llfourn that was my first time using ff \o/
14:34 cale2 llfourn: it's a bit different in the docs example. It starts taking at the left hand side and stops taking at the right hand side
14:34 cale2 they couple it with gather/take
14:34 pmurias jnthn: roast only checks the value returned by native-descriptor is >= :/
14:34 llfourn cale2: I literally just copied that from the doc example
14:34 jnthn pmurias: Well, it's portable ;-)
14:35 DrForr I don't think flipflop is that common in p5 either, I rarely use it msyelf.
14:35 llfourn cale2: ohh you're right
14:35 mst cale2: did you look at my example?
14:35 llfourn cale2: it's just that example doesn't show it
14:35 mst DrForr: certainly not in anything bar old school one liners
14:36 perlpilot DrForr: I used to use it all the time about 15 years ago.  :-)
14:36 perlpilot er, maybe more like 20 years ago now  (geez I'm old!)
14:37 DrForr So... a sample size of 2 :)
14:37 llfourn m: { say "+$_" if /C/ ff /E/; .say if "-$_" ~~ /C/ && $_ ~~ /E/ } for <A C D B E F>
14:37 camelia rakudo-moar 9d138b: OUTPUT: «+C␤+D␤+B␤+E␤»
14:38 llfourn so it's an expression that returns true if the LHS has been true until the RHS is true
14:38 cale2 `ff` was an example. I'm just thinking, does having operators like that really improve efficiency. Or does it make better programmers?
14:39 llfourn it probably doesn't hurt because I've been using p6 for years and never used it.
14:39 DrForr Aren't the two the same? :)
14:39 cale2 Because reading blogs from languages like python and golang, they'd just laugh and say that having those things wouldn't be any benefit at all. Such is the trouble in a polyglot world, I suppose
14:40 DrForr Lisp has hardly any operators, and it's survived for decades.
14:41 cale2 DrForr: Operators in some languages (like ruby or lisp) are just regular functions, no? I guess they are in P6 too, but there's the precedence added on
14:41 jnthn In Perl 6, operators really are just function calls, with more interesting parsing.
14:41 FROGGS joined #perl6
14:41 jnthn And users can define their own
14:42 jnthn Just as they can with functions
14:42 moritz fwiw I haven't found infix ff in use in the ecosystem
14:42 jnthn So I guess in Perl 6 we really just don't see operators as a big deal
14:42 mst cale2: so you've picked possibly the single most esoteric operator to complain about
14:42 Geth ¦ ecosystem: 20729145be | (Jonathan Stowe)++ | META.list
14:42 Geth ¦ ecosystem: Add EventSource::Server
14:42 Geth ¦ ecosystem:
14:42 Geth ¦ ecosystem: https://github.com/jonathanstowe/EventSource-Server
14:42 Geth ¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/20729145be
14:43 mst cale2: if you don't see the point of it ... you're not the target audience, it's ok, don't use it
14:43 perlpilot This is one of the reasons I favor Haskell over something like Scheme or Lisp.  Haskell has more expressivity and allows for making your own operators that aren't necessarily constrained by some artificial idea that everything is a list.  :-)
14:44 perlpilot cale2: and I think that's part of the point with Perl 6's operators.
14:45 cale2 perlpilot: I actually prefer to ignore precedence rules and just explicitly use parens. Not sure I trust the computer to know what I want
14:45 llfourn cale2: I think you have an impression that we are crazy and writing spamming operators in our code. But if I were going to list the top 10 most important aspects of Perl 6, its many operators probably wouldn't be on the list.
14:45 DrForr Not to distract, but do we have coverage tools yet?
14:45 cale2 llfourn: not at all. Though I have read some very confusing P6 :)
14:45 elaADnlxie joined #perl6
14:46 DrForr Hopefully not mine :)
14:46 perlpilot llfourn: What would your top ten be?  I can get to 5 or so right off, but I founder a little in what features are important after that.
14:46 perlpilot cale2: I've read some confusing Python before too  :)
14:46 llfourn perlpilot: I don't know it's a lazy list
14:47 perlpilot llfourn++ well played :)
14:47 llfourn :D
14:47 cale2 llfourn: This whole line of thought on operators was after reading the Design Docs on them yesterday. I was just thinking "is all this work really worth it? To add massive precedence tables, etc"
14:48 cale2 perlpilot: Yeah, it's possible in any language, but I think the combo of operators and anonymous vars doesn't help. But of course those things are optional. But programmers are lazy lol
14:48 Geth ¦ doc: 55319f716f | (Zoffix Znet)++ | doc/Language/operators.pod6
14:48 Geth ¦ doc: Expand infix:<andthen> info
14:48 Geth ¦ doc:
14:48 Geth ¦ doc: - Include examples
14:48 Geth ¦ doc: - Note similarity to `with` to aid understanding of function
14:48 Geth ¦ doc: review: https://github.com/perl6/doc/commit/55319f716f
14:48 perlpilot Hmm. "massive precedence tables"?   Perl 6's precedence tables might have more breadth, but they also have less depth than, say Perl 5  (at least that was the case last time I looked)
14:49 perlpilot Though ... that I haven't felt the need to look in a good long while is telling too.  :)
14:50 IOninja cale2: so now you rage-quit on the issue? What was the point of my spending time reading about the plugin you proposed and typing all the responses?
14:50 llfourn cale2: Well I all I can after using the language for a while, p6 does operator precedence right and it was worth it.
14:50 llfourn all I can say*
14:51 IOninja cale2: you did the same with the `when` modifications to Pod::To::Text. People say "this may make code slow; let's run benchmarks" and you rage quit.
14:51 IOninja Pod::To::Html
14:51 cale2 IOninja: Thats a good explanation, cheers. It works differently than I would have expected, so that's helpful.
14:52 itaipu joined #perl6
14:53 cale2 IOninja: Well regarding the html table, I couldn't get it to work even with the local map.json file. Chrome loading errors with the datatables file. Prob only works with a CDN. Then I looked at the sort library you were using and it seemed to be pretty fast, so I doubted the one I suggested would be faster.
14:54 DrForr That's what code profilers are for :)
14:54 cale2 Regarding the "when" modifications to Pod::to::text, It's like you all said. The existing code is faster, so refactoring for readability would be pointless
14:54 erdic joined #perl6
14:58 IOninja cale2: no, I first said "Overall, I suspect this has a measurable negative performance impact and our docs build is slow as it is. I'd suggest measuring what that impact is first." on the GitHub Issue, and then re-iterated the point on IRC with "cale2: note the impact may be different in the code you changed. I suggest testing (like running two doc builds with and without the change)".
14:59 IOninja And I see in that conversation you call me a bigot because I pointed out desire to keep dirtier code with multies for sake of it being faster
15:00 IOninja Or rather because I dismissed your pleas for some sort of "purity" of code despite potential performance impact on an already-too-slow codebase.
15:00 cale2 IOninja: I'm merely a hobbyist programmer. I wouldn't know how to set up a proper testing workflow like that. Just trying to help if I can.
15:02 cale2 IOninja: The "bigot" comment was when you dismissed me as an "intellectual" or something just because I used the words "list comprehension" and "accumulator". It was tongue in cheek anyway. Apologies
15:03 Technaton joined #perl6
15:04 IOninja cale2: well, keep in mind we have 270 people in the org. Both because at least a subset of them gets notifications and spend time reviewing the PRs and Issues you open and then close... and at least a subset of them know how to set up a proper testing workflow if you ask.
15:07 leah2_ joined #perl6
15:08 llfourn perlpilot: I wrote down my top 10 p6 features for you: https://gist.github.com/LLFourn/2a59e03c40ee6977ed2a7eea09f378be
15:08 cyphase joined #perl6
15:09 IOninja wow, containers is #1?
15:09 cdg_ joined #perl6
15:09 llfourn Yes. I know that will be weird for many people but It's my favorite.
15:13 abraxxa joined #perl6
15:13 IOninja I'd go with these for my list: https://gist.github.com/zoffixznet/9adc6c9cabd2ed2a424757bd05b61cc5
15:14 erdic joined #perl6
15:16 timotimo when i clicked that link i thought there'd be a little elaboration to go with each point
15:17 IOninja :)
15:18 IOninja Actually, imma move WhateverCode to #1 spot. I think that's my favourite Perl 6's feature
15:18 llfourn I'll work on that. But brain tired now :)
15:18 llfourn go sleep o/
15:19 IOninja m: (* * * * * * * * * * *)(|(^6+1)).say
15:19 camelia rakudo-moar 60a8f9: OUTPUT: «720␤»
15:19 IOninja beauty
15:20 IOninja m: ($ += **)(^20).say
15:20 camelia rakudo-moar 60a8f9: OUTPUT: «(0 1 3 6 10 15 21 28 36 45 55 66 78 91 105 120 136 153 171 190)␤»
15:20 IOninja \o/
15:22 abraxxa joined #perl6
15:27 Geth ¦ doc: a4fb28da9e | Cale++ | doc/Type/Signature.pod6
15:27 Geth ¦ doc: reorganize "constraining return types"
15:27 Geth ¦ doc: review: https://github.com/perl6/doc/commit/a4fb28da9e
15:27 Geth ¦ doc: f9479377ac | Cale++ | doc/Type/Signature.pod6
15:27 Geth ¦ doc: Merge pull request #1220 from perl6/WildYorkies-patch-3
15:27 Geth ¦ doc:
15:27 Geth ¦ doc: reorganize "constraining return types"
15:27 Geth ¦ doc: review: https://github.com/perl6/doc/commit/f9479377ac
15:33 Actualeyes joined #perl6
15:34 pyrimidine joined #perl6
15:38 mcmillhj joined #perl6
15:40 IOninja wonder why I'm getting each response to an RT ticket as three emails sent to me :/
15:40 lizmat IOninja: perhaps Zoffix or brokenchicken have something to do with it?
15:41 mst lizmat++
15:42 IOninja heh
15:46 IOninja Interesting rule side note on https://www.hackerrank.com/womens-codesprint-3  "Winners who reside in Russia will receive $15 USD via Bitcoin in lieu of a World Champion T-shirt"
15:46 IOninja Russia has a ban on T-shirts or something? :)
15:46 adu joined #perl6
15:47 IOninja Cool Booking.com is one of the sponsors
15:49 agentzh joined #perl6
15:59 abraxxa joined #perl6
16:02 wamba joined #perl6
16:04 nightfrog joined #perl6
16:15 pyrimidine joined #perl6
16:21 itaipu joined #perl6
16:22 Actualeyes joined #perl6
16:30 abraxxa joined #perl6
16:30 llfourn joined #perl6
16:32 * [Coke] just gave some overstock booking.com swag he had to a coworker with an upcoming business trip who needed a document holder. whee.
16:33 [Coke] m: +(1..11)==10
16:33 camelia rakudo-moar 164e39: OUTPUT: «WARNINGS for <tmp>:␤Useless use of "==" in expression "+(1..11)==10" in sink context (line 1)␤»
16:34 IOninja m: say 1..10 == 10
16:34 camelia rakudo-moar 164e39: OUTPUT: «True␤»
16:38 [Coke] IOninja: was going to be a commentary on your 1..11 list of top 10s. :)
16:38 IOninja Ah
16:40 perlpilot I find the specificity of "lexical $_" and "lazy iterators" interesting.   For me, it would be more like "pervasive lexicality" and "rampant laziness"   :-
16:40 perlpilot er :-)
16:41 timotimo i wouldn't say rampant laziness
16:41 timotimo that'd be if your lang does lazy like haskell does
16:41 perlpilot oh, maybe so
16:41 perlpilot but P6 is heavily bent towards as much laziness as you can get
16:41 abraxxa joined #perl6
16:41 IOninja m: say 42/0 + Inf
16:41 camelia rakudo-moar 164e39: OUTPUT: «Inf␤»
16:42 IOninja m: my @a = ^3; for @a <-> $v { $v = $++ }; say @a
16:42 camelia rakudo-moar 164e39: OUTPUT: «[0 1 2]␤»
16:42 IOninja m: my @a = ^3; for @a -> $v is rw { $v = $++ }; say @a
16:42 camelia rakudo-moar 164e39: OUTPUT: «[0 1 2]␤»
16:43 IOninja These are the same thing?
16:43 IOninja m: <-> {}
16:43 camelia rakudo-moar 164e39: ( no output )
16:43 IOninja m: say <-> { 42 }()
16:43 camelia rakudo-moar 164e39: OUTPUT: «42␤»
16:44 IOninja interesting...
16:44 IOninja m: my $y = 72; <-> $x { $x = 42 }($y); say $y
16:44 camelia rakudo-moar 164e39: OUTPUT: «42␤»
16:44 perlpilot If I were making a top 10 for Perl 6, NativeCall would have to be in there somewhere.
16:45 IOninja Yeah, it's pretty cool, but I don't know C.
16:45 Geth ¦ doc: 37b65252c0 | (Wenzel P. P. Peppmeyer)++ | doc/Language/operators.pod6
16:45 Geth ¦ doc: := is a compile time only
16:45 Geth ¦ doc: review: https://github.com/perl6/doc/commit/37b65252c0
16:49 khw joined #perl6
16:50 IOninja m: use Test; my @a[3;3]; for @a.pairs -> $p { $p.value = $++ }; is-deeply @a, Array.new(:shape(3, 3), [0, 1, 2], [3, 4, 5], [6, 7, 8]);
16:50 camelia rakudo-moar 164e39: OUTPUT: «Partially dimensioned views of arrays not yet implemented. Sorry. ␤  in sub _is_deeply at /home/camelia/rakudo-m-inst-2/share/perl6/sources/C712FE6969F786C9380D643DF17E85D06868219E (Test) line 579␤  in sub is-deeply at /home/camelia/rakudo-m-inst-2/s…»
16:50 IOninja seems is-deeply is busted with shaped arrays?
16:51 IOninja m: use Test; my @a[3;3]; is-deeply @a, @a
16:51 camelia rakudo-moar 164e39: OUTPUT: «Partially dimensioned views of arrays not yet implemented. Sorry. ␤  in sub _is_deeply at /home/camelia/rakudo-m-inst-1/share/perl6/sources/C712FE6969F786C9380D643DF17E85D06868219E (Test) line 579␤  in sub is-deeply at /home/camelia/rakudo-m-inst-1/s…»
16:51 IOninja m: my @a[3;3]; say @a eqv @a
16:51 camelia rakudo-moar 164e39: OUTPUT: «True␤»
16:51 IOninja A bug \o/
16:53 IOninja m: my @a[3;3]; sub _is_deeply (Mu $g, Mu $e ) { $g eqv $e }; say _is_deeply @a, @a
16:53 camelia rakudo-moar 164e39: OUTPUT: «Partially dimensioned views of arrays not yet implemented. Sorry. ␤  in sub _is_deeply at <tmp> line 1␤  in block <unit> at <tmp> line 1␤␤»
16:53 IOninja hehe, that's interesting...
16:54 bwisti joined #perl6
16:56 robertle joined #perl6
16:56 IOninja Some Zoffix guy messed it up yesterday: https://github.com/rakudo/rakudo/commit/f9eb811dd20074e902debddcb2de426d700335de
16:57 timotimo who might that be
16:58 IOninja Dunno. But he's clearly a n00b.
16:59 itaipu joined #perl6
17:01 IOninja m: my @a[3;3]; sub _is_deeply (Mu \g, Mu \e ) { g eqv e }; say _is_deeply @a, @a
17:01 camelia rakudo-moar 164e39: OUTPUT: «True␤»
17:02 IOninja Works if I don't use $ containers...
17:06 IOninja m: my @a[3;3]; my @b[3;3]; sub _is_deeply (Mu \g, Mu \e ) { g eqv e }; say _is_deeply @a, @b
17:06 camelia rakudo-moar 164e39: OUTPUT: «Partially dimensioned views of arrays not yet implemented. Sorry. ␤  in sub _is_deeply at <tmp> line 1␤  in block <unit> at <tmp> line 1␤␤»
17:06 IOninja Aha. I see
17:07 IOninja Well, I'll claim I didn't break anything, but changed when it short-curcuits to avoids reaching the NYI area
17:16 agentzh joined #perl6
17:22 pyrimidine joined #perl6
17:28 pyrimidine joined #perl6
17:31 llfourn joined #perl6
17:31 IOninja m: use nqp; my @a[3;3]; sub x(@a, @b) {dd [nqp::eqaddr(@a, @b), nqp::eqaddr(@a.WHAT, @b.WHAT)] }; sub _is_deeply (Mu $g, Mu $e ) { x $g, $e }; say _is_deeply @a, @a
17:31 camelia rakudo-moar 164e39: OUTPUT: «[1, 1]␤Nil␤»
17:31 sufrostico joined #perl6
17:31 sufrosti1o joined #perl6
17:31 sufrosti2o joined #perl6
17:31 IOninja I mean...
17:31 IOninja m: use nqp; my @a[3;3]; sub x(@a, @b) { nqp::eqaddr(@a, @b)  }; sub _is_deeply (Mu $g, Mu $e ) { x $g, $e }; say _is_deeply @a, @a
17:31 camelia rakudo-moar 164e39: OUTPUT: «1␤»
17:32 IOninja m: use nqp; my @a[3;3]; sub x(\a, \b) { nqp::eqaddr(a, b)  }; sub _is_deeply (Mu $g, Mu $e ) { x $g, $e }; say _is_deeply @a, @a
17:32 camelia rakudo-moar 164e39: OUTPUT: «0␤»
17:33 IOninja The latter is the new version of eqv and since the two things aren't nqp::eqaddrs, it goes in further in the code to try to iterate over the items, but using non-dimentional iterating way
17:33 timotimo doesn't a normal array also implement .values?
17:33 timotimo so you could "just" compare shapes and then iterate both .values until you find a mismatch?
17:34 IOninja Oh, I'm already done with tests: https://github.com/perl6/roast/commit/1f5dead548
17:34 timotimo OK
17:34 IOninja I was just musing on what exactly in my change it was that caused the discrepancy
17:34 IOninja Wooooo!
17:35 IOninja I got a dead sha! https://github.com/perl6/roast/commit/1f5dead548
17:35 IOninja that's one step down from deadbeef :)
17:36 perlpilot_ joined #perl6
17:37 IOninja m: "1f5dead548842b9f26516adb6df995d9108d7ef3".comb.grep({!/\d/}).squish.join.say
17:37 camelia rakudo-moar 164e39: OUTPUT: «fdeadbfadbdfdef␤»
17:37 IOninja Close enough :}
17:40 st_elmo joined #perl6
17:42 domidumont joined #perl6
17:46 eroux joined #perl6
17:48 itaipu joined #perl6
17:49 domidumont joined #perl6
18:05 raschipi joined #perl6
18:05 raschipi Oi!
18:06 timotimo greetings
18:08 IOninja \o
18:17 raschipi m: say rand > .5 ⁇ "yep" ‼ "nope"
18:17 camelia rakudo-moar 164e39: OUTPUT: «yep␤»
18:17 raschipi Noice
18:17 pyrimidine joined #perl6
18:25 pyrimidine joined #perl6
18:27 crustycollins joined #perl6
18:28 elaADnlxie joined #perl6
18:28 * elaADnlxie runs autoreplace on his projects ;)
18:30 llfourn joined #perl6
18:40 Ven joined #perl6
18:56 labster joined #perl6
18:58 SmokeMachine m: [{:1error, :10data}, {:2error, :20data}].flatmap(*.<error data>).classify({<error data>[$++ % 2]}).say # is there a better way to do it?
18:58 camelia rakudo-moar 164e39: OUTPUT: «{data => [10 20], error => [1 2]}␤»
18:59 raschipi You want an idiom suggestion? #E como foi o carnaval?
19:00 SmokeMachine m: [{:1error, :10data}, {:2error, :20data}].flatmap(*.pairs).map(-> $i {$i.value but role {method c {$i.key}}}).classify(*.c).say # i dont think its better... but works too
19:00 camelia rakudo-moar 164e39: OUTPUT: «{data => [10 20], error => [1 2]}␤»
19:01 IOninja m: say % .push: [{:1error, :10data}, {:2error, :20data}]».pairs.flat'
19:01 camelia rakudo-moar 164e39: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Two terms in a row␤at <tmp>:1␤------> 10data}, {:2error, :20data}]».pairs.flat7⏏5'␤    expecting any of:␤        infix␤        infix stopper␤        postfix␤        statement end␤ …»
19:01 IOninja m: say % .push: [{:1error, :10data}, {:2error, :20data}]».pairs.flat
19:01 camelia rakudo-moar 164e39: OUTPUT: «{data => [10 20], error => [1 2]}␤»
19:01 SmokeMachine raschipi: yes... a idiom suggestion! # não muito bem... fiquei doente o carnaval inteiro... mas ao menos subiu uma feature minha no rakudo! e vc?
19:01 SmokeMachine IOninja: that was a good one!
19:01 andrzejku joined #perl6
19:02 raschipi SmokeMachine: IOninja++ #Parentes da minha noiva sofreram um acidente de trânsito, fiquei correndo pra cá e pra lá acudindo
19:08 Sound joined #perl6
19:13 kurahaupo__ joined #perl6
19:14 SmokeMachine raschipi: # meus meus pêsames... melhoras p/ eles
19:16 SmokeMachine is there a way to classify() change the data classified?
19:17 IOninja nope
19:19 IOninja or...
19:19 IOninja m: say % .classify-list { *.is-prime }, :as{ .Int }, ('42, '31337', '2')
19:19 camelia rakudo-moar 164e39: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Unexpected block in infix position (missing statement control word before the expression?)␤at <tmp>:1␤------> 3say % .classify-list7⏏5 { *.is-prime }, :as{ .Int }, ('42, '313␤    expecting any …»
19:19 IOninja m: say % .classify-list: { *.is-prime }, :as{ .Int }, ('42, '31337', '2')
19:19 camelia rakudo-moar 164e39: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Malformed double closure; WhateverCode is already a closure without curlies, so either remove the curlies or use valid parameter syntax instead of *␤at <tmp>:1␤------> 3say % .classify-list: { *.is-pr…»
19:19 IOninja m: say % .classify-list: *.is-prime, :as{ .Int }, ('42, '31337', '2')
19:19 camelia rakudo-moar 164e39: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Two terms in a row␤at <tmp>:1␤------> 3y-list: *.is-prime, :as{ .Int }, ('42, '7⏏31337', '2')␤    expecting any of:␤        infix␤        infix stopper␤        statement end␤        s…»
19:20 IOninja screw you
19:21 IOninja m: say % .classify-list: :as{"Value is $_"}, { $_ %% 2 ?? 'even' !! 'odd' }, ^5;
19:21 camelia rakudo-moar 164e39: OUTPUT: «{even => [Value is 0 Value is 2 Value is 4], odd => [Value is 1 Value is 3]}␤»
19:21 IOninja SmokeMachine: ^ that seems to be it
19:21 IOninja m: say classify :as{"Value is $_"}, { $_ %% 2 ?? 'even' !! 'odd' }, ^5;
19:21 camelia rakudo-moar 164e39: OUTPUT: «{even => [Value is 0 Value is 2 Value is 4], odd => [Value is 1 Value is 3]}␤»
19:22 raschipi m: say % .classify-list: :as{$_++}, { $_ %% 2 ?? 'even' !! 'odd' }, ^5;
19:22 camelia rakudo-moar 164e39: OUTPUT: «Cannot resolve caller postfix:<++>(Int); the following candidates␤match the type but require mutable arguments:␤    (Mu:D $a is rw)␤    (Int:D $a is rw)␤␤The following do not match for other reasons:␤    (Bool:D $a is rw)␤    (Bool:U $a is …»
19:23 IOninja Ranges don't provide writable containers, and even if they did that ++ is useless
19:23 IOninja (in this case)
19:24 raschipi It isn't a loop in this case, is that it?
19:26 kurahaupo__ joined #perl6
19:27 Ven joined #perl6
19:27 IOninja It's a method call. Its internal implementation is irrelevant. Did you mean $++ (the anonymous state var?)
19:27 IOninja m: say % .classify-list: :as{$++}, { $_ %% 2 ?? 'even' !! 'odd' }, ^5;
19:27 camelia rakudo-moar 164e39: OUTPUT: «{even => [0 2 4], odd => [1 3]}␤»
19:30 SmokeMachine m: say % .classify-list: :as{.value}, {.key}, [{:1error, :10data}, {:2error, :20data}]>>.pairs.flat
19:30 camelia rakudo-moar 164e39: OUTPUT: «{data => [10 20], error => [1 2]}␤»
19:31 llfourn joined #perl6
19:31 RabidGravy boom
19:32 SmokeMachine m: [{:1error, :10data}, {:2error, :20data}]>>.pairs.flat.classify(:as{.value}, *.key).say
19:32 camelia rakudo-moar 164e39: OUTPUT: «{data => [10 20], error => [1 2]}␤»
19:32 eroux joined #perl6
19:32 IOninja [Coke]: llfourn I recall you were asking for a routine to parse character names. Comment on proposal to add it to Rakudo: https://github.com/rakudo/rakudo/pull/1031
19:36 * IOninja & # work
19:37 SmokeMachine IOninja: thanks!
19:43 cdg joined #perl6
19:44 espadrine joined #perl6
19:44 cibs joined #perl6
19:46 lukaramu joined #perl6
19:49 bjz joined #perl6
19:52 [Coke] IOninja++
19:59 pyrimidine joined #perl6
20:01 Actualeyes joined #perl6
20:01 * IOninja stresstests a tweak to parse-names's code squeeze out another 13% of speed out of it
20:01 Geth ¦ Inline-Perl5/create_sub_packages: b5f1f10cc8 | (Stefan Seifert)++ | lib/Inline/Perl5.pm6
20:01 Geth ¦ Inline-Perl5/create_sub_packages: Also create sub packages of loaded Perl 5 packages
20:01 Geth ¦ Inline-Perl5/create_sub_packages:
20:01 Geth ¦ Inline-Perl5/create_sub_packages: use Foo:from<Perl5>; will now not only create a "Foo" package in Perl 6, but
20:01 Geth ¦ Inline-Perl5/create_sub_packages: also Foo::Bar if that's what a "use Foo;" in Perl 5 would do (either because
20:01 Geth ¦ Inline-Perl5/create_sub_packages: Foo::Bar is in the same file, or because Foo does a "use Foo::Bar" or similar).
20:01 Geth ¦ Inline-Perl5/create_sub_packages: review: https://github.com/niner/Inline-Perl5/commit/b5f1f10cc8
20:01 Geth ¦ Inline-Perl5/create_sub_packages: f162ba6db4 | (Stefan Seifert)++ | lib/Inline/Perl5.pm6
20:01 Geth ¦ Inline-Perl5/create_sub_packages: First part of inlining $loaded
20:01 Geth ¦ Inline-Perl5/create_sub_packages: review: https://github.com/niner/Inline-Perl5/commit/f162ba6db4
20:04 elaADnlxie joined #perl6
20:09 itaipu joined #perl6
20:20 Geth ¦ doc: e4d341bbc5 | (Elizabeth Mattijsen)++ | doc/Language/unicode_texas.pod6
20:20 Geth ¦ doc: Add ⁇ ‼ to list of unicode / texas variants
20:20 Geth ¦ doc: review: https://github.com/perl6/doc/commit/e4d341bbc5
20:21 lizmat joined #perl6
20:27 Ven joined #perl6
20:29 pyrimidine joined #perl6
20:33 llfourn joined #perl6
20:38 zakharyas joined #perl6
20:40 pyrimidine joined #perl6
20:46 Geth ¦ doc: b6407d8b7e | (Zoffix Znet)++ | doc/Type/Str.pod6
20:46 Geth ¦ doc: Document Str.parse-names / &parse-names
20:46 Geth ¦ doc:
20:46 Geth ¦ doc: Implemented today in Rakudo: https://github.com/rakudo/rakudo/commit/84cf1d2fb3
20:46 Geth ¦ doc: Tests in: https://github.com/perl6/roast/commit/5679afffa1
20:46 Geth ¦ doc: review: https://github.com/perl6/doc/commit/b6407d8b7e
20:48 lichtkind_ joined #perl6
20:50 pyrimidine joined #perl6
20:55 itaipu joined #perl6
20:56 andrzejku joined #perl6
20:58 mcmillhj joined #perl6
21:03 sufrostico joined #perl6
21:06 TEttinger joined #perl6
21:07 bjz joined #perl6
21:09 sufrostico joined #perl6
21:15 mr-foobar joined #perl6
21:26 pyrimidine joined #perl6
21:26 itaipu joined #perl6
21:31 ajr_ joined #perl6
21:31 mcmillhj joined #perl6
21:34 ajr_ Just for information, attempting to install Rakudo* on the Raspberry Pi has run into a problem right at the start
21:34 llfourn joined #perl6
21:34 ajr_ Attempting to run Config.pl generates an "illegal instruction" message.
21:35 IOninja :(
21:35 ajr_ It appears to be a known problem with the ARM, though, judging by traffic on Pi sites.
21:35 ajr_ I'll post an update when I've worked out the fix, unless soemone beats me to it.
21:36 ajr_ s/soem/some/
21:37 cschwenz joined #perl6
21:40 cdg joined #perl6
21:50 pyrimidine joined #perl6
21:51 kurahaupo_ joined #perl6
21:52 mcmillhj joined #perl6
21:56 perigrin joined #perl6
22:01 pyrimidine joined #perl6
22:02 mcmillhj joined #perl6
22:03 kurahaupo__ joined #perl6
22:04 geekosaur joined #perl6
22:08 mcmillhj joined #perl6
22:12 geekosaur joined #perl6
22:12 girafe joined #perl6
22:19 geekosaur joined #perl6
22:30 f3ew joined #perl6
22:36 llfourn joined #perl6
22:37 pyrimidine joined #perl6
22:44 Voldenet joined #perl6
22:44 Voldenet joined #perl6
22:44 f3ew joined #perl6
22:47 labster joined #perl6
22:48 cxreg joined #perl6
23:08 dct joined #perl6
23:10 elaADnlxie joined #perl6
23:12 llfourn joined #perl6
23:27 pyrimidine joined #perl6
23:34 itaipu joined #perl6
23:36 BenGoldberg joined #perl6
23:37 KDr2 joined #perl6
23:39 cpage_ joined #perl6
23:39 mcmillhj joined #perl6
23:42 pyrimidine joined #perl6
23:53 KDr2_m joined #perl6
23:56 itaipu joined #perl6
23:59 KDr2_c joined #perl6

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

Perl 6 | Reference Documentation | Rakudo