»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
Set by moritz on 22 December 2015.
00:01 pierre_ left 00:03 mcmillhj joined 00:08 mcmillhj left 00:18 pharv left, margeas left 00:20 dct left 00:21 mcmillhj joined 00:24 pharv joined, dominix joined
dominix hi there 00:24
I have a simple line that I can not display completely 00:25
(1..2500).hyper.grep( *.is-prime ).perl
is says :"HyperSeq.new(configuration => HyperConfiguration.new(batch => 64, degree => 4))"
00:25 mcmillhj left
dominix if I just "(1..2500).grep( *.is-prime ).hyper.say" 00:26
I just heve the x first primers, but I want the complete list
so I have a 2 problems: 1 where to place the .hyper ? 2: how do I display the complete list ? 00:27
00:28 aindilis left, pharv left
geekosaur dominix, say uses .gist, which truncates. try: (1..2500).grep( *.is-prime ).hyper.eager.perl.say 00:30
the .eager makes it run the hyper instead of just giving you the unevaluated one back
and explicit .perl avoids the truncation by .gist
00:31 mcmillhj joined
dominix nice 00:31
thanks geekosaur
00:34 aindilis joined, lizmat left 00:35 mcmillhj left 00:45 mcmillhj joined 00:49 dominix left 00:50 mcmillhj left, dominix joined
dominix is there a rule or a trick that makes me understand where to place .hyper method calll ?$* 00:51
my keyboard is on strike, sorry (he's french) 00:52
00:55 AlexDaniel joined 00:56 Zoffix joined
geekosaur wherever it's likely to help? generally it's for when you can do processing in parallel; you probably want it to be something worth parallelizing, but that's not something that is readily automated 00:57
AlexDaniel squashable6: next
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in ≈9 hours (2018-04-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
Zoffix dominix: .hyper creates a HyperSequence out of regular sequence, which will cause many other operations you tack onto it be processed on multiple threads. To collapse it back to non-paralell, just call .list or .Seq on it. I guess we still need to document the semantics of HyperSeq and RaceSeq, but you can see some of them in this spreadsheet that was used during development: 00:59
docs.google.com/spreadsheets/d/1kp...edit#gid=0 So that would give you a picture of what operations on a HyperSeq do what (some of them collapse it to non-parallel one)
Filed as D#1897 unsure if that stuff was already discussed somewhere 01:02
synopsebot D#1897 [open]: github.com/perl6/doc/issues/1897 [docs] Semantics of HyperSeq/RaceSeq appear to be undocumented
01:03 mcmillhj joined
Zoffix dominix: so `(1..2500).hyper.grep( *.is-prime ).perl` will cause that .grep to be executed in parallel, while `(1..2500).grep( *.is-prime ).hyper.say` won't because hyper is *after* the greppage. You can think of it as a pipeline (it doesn't have to be a single method call chain, you can break it up into variables; the pipeline is maintained via iterators). And the place where you stick the hyper will cause 01:04
all the other stuff later in the pipeline to be hypered (according to the semantics in that spreadsheet; some stuff will unhyper it)
01:08 mcmillhj left 01:23 mcmillhj joined
dominix thank Zoffix 01:25
01:27 mcmillhj left 01:40 kurahaupo_ joined 01:43 kurahaupo left 01:55 kurahaupo_ left, kurahaupo joined 01:57 ilbot3 joined, ChanServ sets mode: +v ilbot3 02:06 b2gills left, kurahaupo left, kurahaupo joined, mcmillhj joined, b2gills joined 02:11 mcmillhj left, eliasr left 02:19 kurahaupo left 02:20 kurahaupo joined, pierre_ joined 02:23 AlexDaniel left 02:26 mcmillhj joined 02:27 kurahaupo_ joined 02:29 kurahaupo left 02:30 mcmillhj left
Zoffix m: my int $i; say eager Seq.from-loop: { say $i++; last if $i > 10 } 02:39
camelia 0
()
02:39 mcmillhj joined
Zoffix Why doesn't that generate 10 things? 02:39
m: my int $i; say eager Seq.from-loop: { say $i++; last if $i > 10 }, {1} 02:40
camelia 0
1
2
3
4
5
6
7
8
9
10
()
Zoffix This version works.... 02:41
02:41 kurahaupo_ left 02:42 kurahaupo joined 02:44 mcmillhj left
Zoffix m: my int $i; say eager Seq.new: Rakudo::Iterator.Loop: {say $i++; last if 0 }; 02:47
camelia 0
()
Zoffix m: my int $i; my $iter := Rakudo::Iterator.Loop: {say $i++; last if 0 }; say $iter.pull-one xx 10
camelia 0
1
2
3
4
5
6
7
8
9
()
Zoffix dafuq?
I see. It stops if body returns an empty Slip 02:52
02:52 kurahaupo left, kurahaupo joined 02:58 pierre_ left 02:59 mcmillhj joined 03:02 pierre_ joined 03:04 kurahaupo left, mcmillhj left, kurahaupo joined 03:09 mcmillhj joined 03:14 mcmillhj left 03:15 athenot left 03:17 athenot joined
perlawhirl hi perlers 03:18
03:18 khw left, kurahaupo left 03:19 kurahaupo joined
Zoffix \o 03:20
03:26 AlexDaniel joined 03:27 kurahaupo_ joined 03:28 mcmillhj joined
kurahaupo_ perlawhirl: good afternoon! 03:29
03:30 kurahaupo_ is now known as kurahaupo__, kurahaupo left 03:31 kurahaupo__ is now known as kurahaupo 03:32 mcmillhj left 03:34 skids left 03:39 mcmillhj joined 03:45 mcmillhj left 03:55 mcmillhj joined 04:00 mcmillhj left 04:01 pierre_ left 04:07 pierre_ joined
AlexDaniel squashable6: status 04:09
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in ≈5 hours (2018-04-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
04:10 shareable6 left, releasable6 joined, undersightable6 joined, shareable6 joined 04:12 lizmat joined, pierre_ left 04:24 mcmillhj joined 04:29 Zoffix left, mcmillhj left 04:33 AlexDaniel left 04:36 kurahaupo_ joined 04:37 Kaiepi left 04:38 Kaiepi joined 04:39 kurahaupo left 04:43 mcmillhj joined 04:48 mcmillhj left 04:51 kurahaupo_ left, kurahaupo joined 04:54 mcmillhj joined 05:00 mcmillhj left 05:03 kurahaupo left, kurahaupo joined 05:05 pierre_ joined 05:07 sena_kun joined 05:09 pierre_ left 05:11 mcmillhj joined 05:13 kurahaupo left 05:14 kurahaupo joined 05:16 pierre_ joined, espadrine_ left, mcmillhj left 05:17 wamba joined 05:20 pharv joined 05:24 kurahaupo left, pharv left 05:25 kurahaupo joined, AlexDaniel joined 05:30 mcmillhj joined 05:35 mcmillhj left, kurahaupo left, kurahaupo joined 05:39 sena_kun left 05:43 sauvin joined 05:45 kurahaupo left 05:46 kurahaupo joined, mcmillhj joined 05:51 mcmillhj left 05:54 rindolf joined 05:58 kurahaupo left, kurahaupo joined 06:00 domidumont joined 06:02 mcmillhj joined 06:06 domidumont left 06:07 domidumont joined, mcmillhj left 06:10 kurahaupo left, kurahaupo joined 06:13 pierre_ left 06:20 kurahaupo left 06:21 kurahaupo joined, mcmillhj joined 06:22 domidumont left 06:25 noganex_ left 06:26 mcmillhj left 06:32 syntaxman left 06:33 wamba left 06:34 DrForr joined, syntaxman joined, robertle joined 06:35 mcmillhj joined, kurahaupo left, kurahaupo joined 06:39 mcmillhj left 06:46 kurahaupo left, kurahaupo joined 06:51 noganex joined, domidumont joined 06:52 mcmillhj joined
AlexDaniel squashable6: status 06:57
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in ≈3 hours (2018-04-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
06:58 mcmillhj left, pierre_ joined, athenot left 07:01 kurahaupo left, athenot joined
AlexDaniel oh 07:01
07:01 kurahaupo joined 07:02 pierre_ left
squashable6 Webhook for perl6/roast is now active! Approachable is better than simple. 07:03
Webhook for rakudo/rakudo is now active! Anything added dilutes everything else. 07:04
07:05 mcmillhj joined 07:07 Herby_ left 07:08 Herby_ joined 07:10 tokik joined, mcmillhj left 07:11 tokik left 07:12 lizmat left 07:13 lizmat joined, kurahaupo left, kurahaupo joined, lizmat left 07:16 pierre_ joined 07:21 pierre_ left, mcmillhj joined, pharv joined, pierre_ joined 07:24 kurahaupo left 07:25 kurahaupo joined, pierre_ left 07:26 pharv left, lizmat joined, mcmillhj left, wamba joined 07:35 mcmillhj joined
Geth ecosystem/marcoonroad-cuid: 6764d8654e | (Marco Aurélio)++ (committed using GitHub Web editor) | META.list
CUID generator package.

This added Perl 6 package is a port of the famous Eric Elliott's CUID JavaScript package (see usecuid.org :link:).
07:36
ecosystem: marcoonroad++ created pull request #389:
CUID generator package.
07:37
07:39 kurahaupo left 07:40 pierre_ joined, mcmillhj left, kurahaupo joined 07:44 pierre_ left 07:49 scimon joined, mcmillhj joined 07:50 kurahaupo left, kurahaupo joined 07:55 mcmillhj left 07:57 pierre_ joined 07:58 Wenjie1 joined 08:01 kurahaupo left 08:02 pierre_ left, kurahaupo joined, athenot_ joined 08:03 pierre_ joined 08:04 athenot left 08:09 mcmillhj joined 08:11 zakharyas joined 08:12 kurahaupo left 08:13 kurahaupo joined 08:14 mcmillhj left 08:19 Wenjie1 left 08:22 zakharyas left 08:23 zakharyas joined 08:26 mcmillhj joined 08:27 kurahaupo left 08:28 kurahaupo joined 08:29 pierre_ left 08:31 mcmillhj left 08:36 pierre_ joined 08:40 lizmat left 08:43 kurahaupo left, kurahaupo joined 08:44 TEttinger left 08:45 mcmillhj joined 08:50 mcmillhj left 08:55 Wenjie1 joined 08:56 pierre_ left, Wenjie1 left 08:57 mcmillhj joined, kurahaupo left 08:58 kurahaupo joined
Geth doc: 3916e2e011 | (JJ Merelo)++ | 3 files
Light rehash of CONTRIBUTING documentation

  (pun intended). Including a recommendation on the idiomatic declaration of hashes. Closes #1380.
09:01
09:02 mcmillhj left 09:03 pierre_ joined 09:06 Wenjie1 joined 09:07 kurahaupo left 09:08 kurahaupo joined 09:12 AlexDaniel left 09:15 mcmillhj joined 09:18 pierre_ left 09:20 mcmillhj left 09:21 kurahaupo left 09:22 kurahaupo joined 09:25 Wenjie1 left 09:27 Wenjie1 joined, pierre_ joined 09:29 domidumont left 09:31 mcmillhj joined 09:32 pierre_ left 09:35 darutoko joined 09:36 eliasr joined, mcmillhj left, kurahaupo left 09:37 kurahaupo joined 09:39 DrForr left 09:41 lizmat joined 09:46 pierre_ joined, DrForr joined 09:47 mcmillhj joined 09:48 kurahaupo left, kurahaupo joined 09:50 pierre_ left 09:52 mcmillhj left 09:55 lizmat left 10:02 kurahaupo left
Geth doc: c2912b0f54 | (JJ Merelo)++ | 5 files
Moves contribution style and examples docs to new location

Closes #1302
10:03
10:03 kurahaupo joined 10:04 ChoHag joined 10:05 lizmat joined 10:07 mcmillhj joined 10:08 zakharyas left 10:09 zakharyas joined 10:12 mcmillhj left
araraloren_ Thanks to Inline::Perl5@niner :) 10:12
10:17 kurahaupo left 10:21 AlexDaniel joined, kurahaupo joined 10:23 mcmillhj joined 10:28 mcmillhj left 10:32 margeas joined 10:36 kurahaupo left 10:37 pierre_ joined, mcmillhj joined 10:38 kurahaupo joined, lizmat left 10:41 pierre_ left, mcmillhj left 10:42 pierre_ joined
AlexDaniel squashable6: status 10:45
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in 2 days and ≈1 hour. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel o yey
10:50 lizmat joined, sena_kun joined 10:51 araraloren_ left 10:52 lizmat left 10:53 kurahaupo left, kurahaupo joined 10:54 mcmillhj joined 10:58 mcmillhj left 10:59 abraxxa left 11:01 zakharyas left 11:03 pierre_ left 11:06 sena_kun left 11:08 kurahaupo left, kurahaupo joined 11:10 mcmillhj joined 11:15 mcmillhj left 11:19 Wenjie1 left 11:22 cosimo joined, pharv joined 11:23 kurahaupo left 11:25 mcmillhj joined 11:27 kurahaupo joined, pharv left 11:30 mcmillhj left, wamba left 11:33 mcmillhj joined 11:37 mcmillhj left 11:38 kurahaupo left, kurahaupo joined 11:45 AlexDaniel left 11:48 kurahaupo left, kurahaupo joined
Geth ecosystem: 6764d8654e | (Marco Aurélio)++ (committed using GitHub Web editor) | META.list
CUID generator package.

This added Perl 6 package is a port of the famous Eric Elliott's CUID JavaScript package (see usecuid.org :link:).
11:48
ecosystem: 49d6547d14 | nxadm++ (committed using GitHub Web editor) | META.list
Merge pull request #389 from perl6/marcoonroad-cuid

CUID generator package.
11:51 athenot_ left 11:52 athenot joined 12:00 kurahaupo left, kurahaupo joined 12:02 lizmat joined 12:14 kurahaupo left, kurahaupo joined 12:16 wamba joined 12:24 kurahaupo left, kurahaupo joined 12:34 kurahaupo left 12:35 kurahaupo joined
squashable6 🍕🍕🍕 First contribution by Kaiepi++! ♥ 12:41
🍕 Kaiepi++ wrote a comment on “users should have access…”: github.com/rakudo/rakudo/issues/16...-379241746 12:43
12:48 zakharyas joined, lizmat left 12:51 wamba left, mcmillhj joined 12:56 wamba joined 12:57 lalitmee joined 12:59 zakharyas left, zakharyas joined 13:00 wamba left 13:04 domidumont joined 13:05 lalitmee left 13:06 lalitmee joined 13:09 vcv joined 13:18 pierre__ joined 13:30 vcv left 13:31 vcv joined 13:47 skids joined 13:51 giraffe joined 13:53 athenot_ joined 13:55 athenot left 13:59 ChoHag left 14:04 lalitmee left 14:05 lalitmee joined 14:12 wamba joined 14:14 lalitmee left
Herby_ \o 14:19
squashable6 🍕 ugexe++ wrote a comment on commit d9a4a65b1cc5: github.com/perl6/roast/commit/d9a4...t-28452774
🍕🍕🍕 First contribution by ugexe++! ♥
sjn Three pizza slices for ugexe++! 14:20
14:22 pierre__ left 14:32 pierre__ joined 14:34 lizmat joined 14:35 Bowlslaw joined 14:36 pierre__ left 14:57 domidumont left 15:02 pharv joined
squashable6 🍕 Kaiepi++ wrote a comment on commit d9a4a65b1cc5: github.com/perl6/roast/commit/d9a4...t-28453570 15:03
15:07 pierre__ joined 15:11 pierre__ left, araraloren joined
araraloren . 15:12
15:18 zakharyas left, dominix left 15:22 zakharyas joined 15:23 zakharyas left, zakharyas joined 15:27 pierre joined 15:29 vcv left 15:30 vcv joined 15:32 pierre left
Geth doc: ccworld1000++ created pull request #1900:
Translate README for chinese
15:33
15:34 khw joined 15:35 lizmat left 15:36 dct joined 15:39 wamba left 15:44 grumblr joined 15:45 grumblr is now known as grumble 15:50 robertle left 16:10 zakharyas left 16:11 dct left 16:12 zakharyas joined 16:14 zakharyas left, interestedinperl joined
interestedinperl hello? 16:15
anybody there?
16:16 zakharyas joined
skids o/ 16:17
16:17 robertle joined 16:19 telnet joined
interestedinperl hi... 16:20
skids good day 16:21
16:22 scimon left 16:25 dct joined 16:26 wamba joined
interestedinperl Is perl 6 "homoiconic"? 16:29
timotimo i don't think it is, no
interestedinperl But is is "reflective"? 16:30
16:30 ChoHag joined
skids Not homoiconic, but you can play with AST from within the language. 16:30
We call reflection introspection but yes. 16:31
interestedinperl Ok. I found the example with `eval` in this article pretty astonshingL: en.wikipedia.org/wiki/Reflection_(...ogramming)
The example is under Perl, but I'm guessing Perl 6 has the same. 16:32
16:33 mwhisenhunt left
skids No pretty different. 16:33
16:33 pharv left
skids I'm failing to see how that Perl5 example is "reflection" 16:34
16:34 mcmillhj left
interestedinperl How would `eval "new Foo->hello;"` in the example be coded under Perl 6? 16:35
timotimo depends on how you have access to Foo 16:36
skids We have EVAL, but as a general purpose tool its use is discouraged.
timotimo and which parts are dynamic and which are known when typing the code
i.e. you could go full dynamic with my $classname = "Foo"; my $constructormethod = "new"; my $to-invoke = "hello"; ::($classname)."$constructormethod"()."$to-invoke"() 16:37
16:38 pierre_ joined
interestedinperl Very neat. 16:38
timotimo ::($foo) is lookup in the lexical environment, you might also have the type object in $myclass 16:39
16:42 pierre_ left
interestedinperl I'm looking to translate a simple, but computationally intensive application written in the proprietary Wolfram Language™. The Wolfram proprietary scheme makes it difficult for me to package my source code as an app and share it with others, free of cost. My source code makes a lot of use of peculiar coding features that are difficult to implement with C/C++. So I've been looking into several different options. Julia and P 16:44
timotimo irc cut the message off after "Julia and P"
interestedinperl ...erl 6 being prominent among them.
timotimo cool :) 16:45
skids When you start using metaprogramming constructs, your code is likely to end up somewhat less efficient at runtime, so... is it computationally intensive in addition to or because of that? :-) 16:46
interestedinperl In addition to!
My program calculates the combinations and permutations of a multiset in real-time from user input.
Fro example, how many combinations and permutations can you obtain from drawing 5 colored candy from a bag containing 20 blue, 3 red, 7 brown, infinite yellow, etc. 16:47
skids m: print bag(1,1,2,3).combinations # We've got some basic combinatorics already. 16:49
camelia 1 2 3 1 2 1 1 2 3 1 1 2 2 1 3 1 2 1 1 2 3 1 2 1
skids Also, there is someone currently very interested in such things IIRC...
interestedinperl A user can drag a slider for his "random selection" and see the output evaluated in real-time. The output is numeric, but... there is an option to have it all visualized too. This one option I can dispense with in my code translation, lol. 16:50
timotimo we don'thave code for infinite of one kind in a bag
Bowlslaw does anyone know of a better way to copy a csv file into a SQLite database than insert statements for every line? I know about the .import command, but I'd rather do it automatically with my program 16:51
interestedinperl timotimo, that's ok. ill be delighted to define my functions for that.
Geth doc: bb2f3b34a2 | (Luca Ferrari)++ | doc/Language/grammars.pod6
Fix proto link broken.

Close issue #1899
Bowlslaw i can't seem to find the COPY FROM statement postgres has, either
synopsebot Link: doc.perl6.org/language/grammars
Geth doc: 6b44916f64 | (Luca Ferrari)++ | doc/Language/grammars.pod6
Fix a typo.
timotimo Bowlslaw: well, you can invoke the sqlite commandline program with Proc::Async and ask it to import for you 16:52
interestedinperl scontent.fbed1-1.fna.fbcdn.net/v/t...e=5B342BED 16:53
timotimo but otherwise i'd recommend Text::CSV, it's thorough and good
Ulti yeah the .import command in SQLite is the most efficient way to get data in too
skids interestedinperl: www.0racle.info/ is a blog from someone currently getting elbow deep in our combinatorics iterators.
Ulti equivalent to the copy from file in postgres 16:54
Bowlslaw timotimo: ahhh, cool, thanks
interestedinperl scontent.fbed1-1.fna.fbcdn.net/v/t...e=5B6B4DE5
16:54 mwhisenhunt joined
Bowlslaw timotimo: I'm looking through the docs of Text::CSV but it's hard to read 16:54
"stupid users" will be using this so...I don't wanna make them learn the sqlite3 cmd line ;p
interestedinperl I bookmarked the link, skids. thank you. 16:55
16:56 AlexDaniel joined
timotimo your users won't use the sqlite3 cmdline, your program will use it for them :) 16:57
if you decide to go that route
Geth doc: 02fe94fb4b | (Luca Ferrari)++ | CREDITS
Add fluca1978 (myself) to credits.

Never thought about...
16:58
Bowlslaw timotimo: Yes, which is why I'm thinking Proc::Async is the way to go 17:00
araraloren night 17:02
17:02 araraloren left 17:03 jmerelo joined 17:04 zakharyas left, pharv joined 17:05 zakharyas joined, dct left 17:06 zakharyas left 17:08 pharv left
b2gills interestedinperl: I have seen a lot of Julia code that looks similar to Perl 6 (golfing competitions), and have thought of creating Julia-to-Perl6 doc page(s) 17:08
jmerelo b2gills: please do that. By all means. 17:09
17:12 dct joined 17:13 pierre joined 17:18 pierre left
jmerelo The admins of the github/linguist repo ask the correct spelling of the documentation part of Perl 6. Is it Pod 6 or Pod6? My answer has been neither, it should be called Pod<non-breaking-whitespace>6. Is that correct? 17:19
interestedinperl Well, I have to go. If any of you are interested in my app. I can only make the source code available to you which you can test in the Wolfram Cloud with a free account. My e-mail: richardsantiago0101atgmaildotcom 17:23
17:27 interestedinperl left
squashable6 🍕 ronaldxs++ opened pull request “Update class-and-instanc…”: github.com/perl6/roast/pull/409 17:29
🍕🍕🍕 First contribution by ronaldxs++! ♥
17:29 |oLa| joined 17:31 |oLa| left 17:32 pharv joined, pharv left, |oLa| joined 17:33 pharv joined 17:35 domidumont joined 17:37 pharv left 17:39 wamba left 17:41 dct left 17:44 |oLa| left, Herby_ left, dct joined 17:47 skids left 17:49 mcmillhj joined 17:53 epony left 17:55 dct left 17:58 epony joined, anonisuser joined
anonisuser i forgot to ask: when you download perl6 do you get a standalone repl(shell) or text editor for perl6 or do you invoke perl from the command line? 17:59
18:00 espadrine_ joined, jmerelo left
robertle anonisuser: you get a perl binary that you can invoke, e.g. running a perl "script" from a file. the same binary can be invoked as a REPL. no editor/ide or so included. but whatever text editor you like is going to be ok... 18:04
yoleaux 16:05Z <timotimo> robertle: do you mean the endian swap bug? that pretty much manifests as a crash very early in the nqp build and 100% consistent
anonisuser ok! 18:07
bye...
18:07 anonisuser left
Bowlslaw loop (my $i = 0; $i < @data.elems; $i + 4) { ... } 18:09
Useless use of "+" in expression "$i + 4" in sink context
is that related to @data.elems ? 18:10
it works when i use $i++
moritz Bowlslaw: you likely want $i += 4
Bowlslaw LOL 18:11
ok i'm dumb
#_#
18:12 benjikun joined
Bowlslaw think i need a break if i make that mistake 18:13
18:20 sauvin left
moritz happens to all of us 18:22
18:22 vcv left
Bowlslaw DWIM has its limits ;p 18:24
moritz speaking of DWIM
if you only need every 4th element of an array, not the index, you can do something like
my @a = 'a'..'z'; say @a[0, 4 ... *] 18:25
evalable6 (a e i m q u y)
[Coke] I think the nbsp is for Perl itself, never seen it applied to the pod. 18:28
Bowlslaw omg 18:30
[Coke] not that neither "pod 6" nor "pod6" appear anywhere in design.perl6.org/S26.html; it's referred to there as "Perl 6 Pod". My personal recommendation would be POD6, but IANL
Bowlslaw moritz: so if I have an array of hashes, I can do - say @[0, 4 ... *]<Date> 18:31
moritz Bowlslaw: no, because @a[...] returns a list, not a hash 18:34
Bowlslaw :O 18:35
tobs but you can >>.<Date> on that list
moritz but you can do @a[...]».<Date> or @a[...].map({ $_.<Date> })
AlexDaniel squashable6: status 18:36
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈17 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/0ab61b99614eb9da72...7929e6fc51
Bowlslaw ou, cool
i'm really liking this >> operator...
squashable6 🍕 AlexDaniel++ merged pull request “Update class-and-instanc…”: github.com/perl6/roast/pull/409 18:38
🍕🍕🍕 First contribution by AlexDaniel++! ♥
🍕 AlexDaniel++ wrote a comment on “Update class-and-instanc…”: github.com/perl6/roast/pull/409#is...-379340651
🍕 AlexDaniel++ wrote a comment on “Tests needed for using m…”: github.com/perl6/roast/issues/217#...-379340715
🍕 AlexDaniel++ closed issue “Tests needed for using m…”: github.com/perl6/roast/issues/217
18:40 dominix joined 18:46 mcmillhj left 18:51 mcmillhj joined
Geth doc: c9b69742a7 | (Will "Coke" Coleda)++ | writing-docs/STYLEGUIDE.md
remove trailing whitespace
18:57
18:57 natrys joined 19:04 domidumont left 19:05 pharv joined 19:10 rindolf left 19:11 darutoko left
Bowlslaw the Proc::Async documentation is somewhat confusing... 19:12
thought it could be because I don't have the requisite knowledge
AlexDaniel Bowlslaw: if you say that it is confusing, then it probably is 19:15
Bowlslaw: consider filing a doc issue here github.com/perl6/doc/issues/ 19:16
Bowlslaw: with your ideas on how to make it less confusing :)
moritz Bowlslaw: it assumes basic familiarity with promises and supplies/react/whenever
19:18 rindolf joined
AlexDaniel It does say “Alternatively, you can use Proc::Async without using a react block:” but that doesn't help much IMO 19:18
19:20 dct joined 19:24 rindolf left
[Coke] m: unit package A; our sub need() {}; for <s> { A::need } 19:25
camelia Cannot find method 'Nil' on object of type List
in block at <tmp> line 1
in block <unit> at <tmp> line 1
[Coke] golfed an issue I'm having in a perl6-doc branch down to that. 19:26
AlexDaniel I wrote that Proc::Async example hoping that it will answer all questions about Proc::Async for anybody who reaches to this doc page, but now I see that it's overcomplicated if you're just trying to understand what Proc::Async is
so yeah, I guess it should show some minimal helloworld-like example first
19:27 rindolf joined
AlexDaniel that said, it has to use react IMO, and it probably wouldn't be that much different from the example thats already there… 19:27
'
squashable6 🍕 coke++ opened issue “Cannot find method 'Nil'”: github.com/rakudo/rakudo/issues/1693 19:33
🍕🍕🍕 First contribution by coke++! ♥
AlexDaniel bisectable6: unit package A; our sub need() {}; for <s> { A::need } 19:34
bisectable6 AlexDaniel, Bisecting by exit code (old=2015.12 new=fbdffc1). Old exit code: 0
AlexDaniel, bisect log: gist.github.com/6a723e370de877d7bb...673d24844b
AlexDaniel, (2018-02-26) github.com/rakudo/rakudo/commit/4c...be2deedf66
19:34 brrt joined
AlexDaniel c: 4c5b81fedb743^,4c5b81fedb743 unit package A; our sub need() {}; for <s> { A::need } 19:35
committable6 AlexDaniel, ¦4c5b81fedb743^: «» ¦4c5b81f: «Cannot find method 'Nil' on object of type List␤ in block at /tmp/Xc6FVE9oZk line 1␤ in block <unit> at /tmp/Xc6FVE9oZk line 1␤␤ «exit code = 1»»
[Coke] AlexDaniel++ thanks
squashable6 🍕 AlexDaniel++ wrote a comment on “Cannot find method 'Nil'”: github.com/rakudo/rakudo/issues/16...-379355503
19:35 zakharyas joined
squashable6 🍕 AlexDaniel++ labeled issue “Cannot find method 'Nil'”: github.com/rakudo/rakudo/issues/1693 19:35
🍕 AlexDaniel++ labeled issue “Cannot find method 'Nil'”: github.com/rakudo/rakudo/issues/1693 19:36
19:37 zakharyas left
AlexDaniel whoops, fixed wrong link in that comment 19:37
19:38 zakharyas joined
AlexDaniel I wish github waited for at least 5 minutes before sending out emails… 19:38
19:39 yqt joined 19:40 pharv left, yqt left
squashable6 🍕 smls++ opened issue “WhateverCode no longer curries `.&{ }`”: github.com/rakudo/rakudo/issues/1694 19:40
🍕🍕🍕 First contribution by smls++! ♥
19:41 pharv joined
squashable6 🍕 AlexDaniel++ labeled issue “WhateverCode no longer curries `.&{ }`”: github.com/rakudo/rakudo/issues/1694 19:42
🍕 AlexDaniel++ edited issue “WhateverCode no longer curries `.&{ }`”: github.com/rakudo/rakudo/issues/1694
19:42 rindolf left
squashable6 🍕 AlexDaniel++ edited issue “WhateverCode no longer curries `.&{ }`”: github.com/rakudo/rakudo/issues/1694 19:43
AlexDaniel releasable6: status
releasable6 AlexDaniel, Next release in ≈14 days and ≈23 hours. 8 blockers. 0 out of 166 commits logged (⚠ 9 warnings)
AlexDaniel, Details: gist.github.com/6e1062f6b1d3d85352...05fccc4643
19:47 rindolf joined 19:57 skids joined 19:58 mcmillhj left 19:59 mcmillhj joined 20:04 mcmillhj left 20:06 pharv left 20:08 pharv joined, mcmillhj joined 20:24 comborico1611 joined 20:38 brrt left 20:39 smls joined 20:40 Kaiepi left 20:41 dominix left, Kaiepi joined
squashable6 🍕 zoffixznet++ self-assigned issue “WhateverCode no longer curries `.&{ }`”: github.com/rakudo/rakudo/issues/1694 20:45
🍕🍕🍕 First contribution by zoffixznet++! ♥
20:46 mr_ron joined, pharv left
Geth Pod-To-HTML: adebcd17ea | (Zoffix Znet)++ | 4 files
Add License

Closes github.com/perl6/Pod-To-HTML/issues/36
20:48
mr_ron Looks to me like testneeded RT 128624 already has test at end of S32-container/buf.t from common fix for RT 128655
synopsebot RT#128624 [open]: rt.perl.org/Ticket/Display.html?id=128624 Buf initialization error
RT#128655 [resolved]: rt.perl.org/Ticket/Display.html?id=128655 [OPTIMIZER] Mixup in candidates through optimizer
20:49 pharv joined
squashable6 🍕 zoffixznet++ self-assigned issue “Cannot find method 'Nil'”: github.com/rakudo/rakudo/issues/1693 20:49
20:52 mcmillhj left
squashable6 🍕 smls++ opened issue “In `for` loop nested ins…”: github.com/rakudo/rakudo/issues/1695 20:57
20:58 Zoffix joined
Zoffix mr_ron: yeah, it's the same bug. Fixed in github.com/rakudo/rakudo/commit/29...df2777fb11 tested in github.com/perl6/roast/commit/32ac...6f07f0dc76 20:58
Gonna close that RT
20:58 rindolf left 21:00 natrys left
squashable6 🍕 zoffixznet++ self-assigned issue “∞ is reported as Inf in warnings”: github.com/rakudo/rakudo/issues/1696 21:00
🍕 zoffixznet++ opened issue “∞ is reported as Inf in warnings”: github.com/rakudo/rakudo/issues/1696
🍕 zoffixznet++ labeled issue “∞ is reported as Inf in warnings”: github.com/rakudo/rakudo/issues/1696
🍕 zoffixznet++ self-assigned issue “In `for` loop nested ins…”: github.com/rakudo/rakudo/issues/1695 21:01
🍕 zoffixznet++ labeled issue “In `for` loop nested ins…”: github.com/rakudo/rakudo/issues/1695 21:02
21:02 |oLa| joined, |oLa| left
Zoffix Damn, all these things I broke.... 21:04
ZofBot: I thought I was perfect!
ZofBot Zoffix, And Father said he would pay someone £50 to do it after school and he wasn’t going to take no for an answer
21:06 zakharyas left 21:09 skids left 21:12 dct left 21:17 pharv left, mcmillhj joined 21:19 pierre joined
AlexDaniel Zoffix: well, 1) we're moving very fast 2) we don't have enough tests. So-o… if only there was a hackathon for writing tests :) 21:22
21:22 pharv joined, mcmillhj left
AlexDaniel squashable6: status 21:22
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈14 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/92ee1de32e6472c4f8...8910046183
AlexDaniel it's not Saturday here yet and I'm kinda tired today though 21:23
oh… 00:23! Oops
21:24 pierre left 21:27 TEttinger joined
Geth rakudo: cfc6b1094c | (Zoffix Znet)++ | src/Perl6/Actions.nqp
In tweak_loop: Add node refs / clean up a bit

A bit of prep for fixing R#1623
  github.com/rakudo/rakudo/issues/1623
21:28
synopsebot R#1623 [open]: github.com/rakudo/rakudo/issues/1623 Phasers FIRST/LAST in sub-loop doesn't compile: Cannot reference undeclared local 'LOOP_BLOCK_1'
21:29 pharv left 21:30 pharv joined
Zoffix I still don't fully get when code objects need clonning. In `loop { FIRST Nil }` the block get shoved into the var and just called without a clone, but in `sub { loop { FIRST Nil } }` we make `Seq.from-loop` and give the block to it as an arg, and there we clone. So why is it needed in one place but not in the other? Is it cause in the arg case it'll be executed in some scope other than the current one? 21:32
21:35 mcmillhj joined 21:36 comborico1611 left 21:37 comborico1611 joined 21:40 mcmillhj left 21:41 comborico1611 left
Zoffix Actually, why is Seq.from-loop made in the first place in that case :/ 21:52
21:52 pharv left
Zoffix Oh, we don't in that case, but we do in sub { loop { FIRST Nil; LAST Nil } } :S 21:53
21:53 Bowlslaw left, mcmillhj joined
squashable6 🍕 AlexDaniel++ self-assigned issue “New memory leak in whateverable”: github.com/rakudo/rakudo/issues/1686 21:55
21:56 pharv joined 21:58 mcmillhj left 21:59 comborico1611 joined 22:03 mcmillhj joined, pharv left 22:06 mr_ron left, pharv joined 22:08 mcmillhj left 22:09 char_var[buffer] joined 22:10 wamba joined
squashable6 🍕 smls++ opened issue “Bogus "Useless use" warn…”: github.com/rakudo/rakudo/issues/1697 22:13
🍕 zoffixznet++ wrote a comment on “Bogus "Useless use" warn…”: github.com/rakudo/rakudo/issues/16...-379399348 22:16
22:17 khisanth_ joined 22:19 mcmillhj joined 22:24 pharv left 22:26 mcmillhj left 22:30 pierre joined 22:33 smls left 22:34 pierre left 22:36 pharv joined 22:37 mcmillhj joined 22:42 pharv left 22:44 mcmillhj left 22:45 comborico1611 left 22:50 mcmillhj joined 22:52 wamba left 22:54 mcmillhj left 22:56 mcmillhj joined 22:57 athenot_ left 22:58 athenot joined 22:59 margeas left 23:00 okl joined 23:01 mcmillhj left, mcmillhj joined 23:05 mcmillhj left 23:06 okl left, dct joined 23:07 ilbelkyr joined
Zoffix buggable: pizzame 23:19
buggable Zoffix, enjoy this slice of Double Cheese pizza, my friend! Yummy 🍕
Zoffix \o/
23:22 dct left 23:24 mcmillhj joined 23:29 mcmillhj left 23:30 comborico1611 joined 23:35 mcmillhj joined 23:38 lichtkind joined, lichtkind left 23:39 lichtkind joined 23:41 pierre joined, mcmillhj left 23:45 pierre left 23:47 mcmillhj joined 23:52 mcmillhj left