»ö« 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:03 cdg_ left, cdg left 00:07 HoboWithAShotgun left
Geth marketing: 3c66ca7a91 | (Zoffix Znet)++ | 12 files
Redo "Rakudo Concise" poster as "6lang Concise"
00:10
00:11 Cabanossi left 00:12 Cabanossi joined 00:13 margeas left, headcase_ joined 00:15 ryn1x joined, headcase left 00:17 headcase joined 00:19 troys_ is now known as troys 00:20 headcase_ left 00:21 headcase_ joined 00:22 headcase left 00:34 TEttinger left 00:39 Morfent left, Morfent joined, ChoHag left 00:40 ChoHag joined 00:47 headcase joined 00:50 headcase_ left 01:18 AlexDaniel left 01:36 troys is now known as troys_ 01:44 headcase left 01:45 headcase joined, ilbot3 left 01:49 headcase left 01:54 headcase joined 01:55 ilbot3 joined, ChanServ sets mode: +v ilbot3 01:56 skids left 01:57 headcase left, headcase joined 02:00 eliasr left 02:03 Ven`` joined 02:05 cdg joined 02:14 nativecallable6 left 02:15 nativecallable6 joined, ChanServ sets mode: +v nativecallable6, statisfiable6 left, releasable6 left, Ven`` left, statisfiable6 joined, releasable6 joined, ChanServ sets mode: +v statisfiable6, ChanServ sets mode: +v releasable6, squashable6 left, bloatable6 left, headcase left, albongo left 02:16 evalable6 left, unicodable6 left, committable6 left 02:19 albongo joined 02:24 darkmorph left 02:37 thou left 02:42 rgrau left, zakharyas joined 02:43 thou joined 02:50 noganex joined 02:53 noganex_ left 02:55 Cabanossi left 02:57 Cabanossi joined 02:59 thou left 03:00 thou joined 03:02 BenGoldberg left 03:08 headcase joined 03:12 thou left 03:13 thou joined, headcase left 03:15 bartolin left 03:16 musca left 03:19 headcase joined 03:23 bartolin joined, Cabanossi left 03:25 darkmorph joined 03:26 Cabanossi joined, headcase left 03:27 musca joined 03:28 mst left 03:30 zakharyas left 03:32 nine left, Geth left, esh left 03:33 avar left, Bucciarati left, literal left 03:34 mst joined 03:38 wamba joined 03:39 nine joined, camelia joined, Bucciarati joined 03:40 ChanServ sets mode: +v camelia, avar joined, literal joined 03:43 esh joined 03:44 TEttinger joined
aeruder just installed rakudo/nqp/moarvm from git, getting this from zef 03:49
% perl6 -Ilib bin/zef install . 03:50
===SORRY!=== Error while compiling /Users/aeruder/proj/rakudobuild/zef/lib/Zef/Distribution.pm6 (Zef::Distribution)
Cannot have a multi candidate for 'BUILDALL' when an only method is also in the package 'Zef::Distribution'
at /Users/aeruder/proj/rakudobuild/zef/lib/Zef/Distribution.pm6 (Zef::Distribution):48
geekosaur you chose a bad time to build from git, I think
aeruder heh
geekosaur BUILDALL's being reworked. this sounds like Zef needs to be updated to match
aeruder ah, ok, i see some commits in rakudo 03:51
i'll have to read a bit about BUILDALL 03:52
03:52 jast left
geekosaur specifically github.com/rakudo/rakudo/commit/63cf246fd4 is what broke it. zef will need to be updated to match the new semantics 03:52
03:57 troys_ is now known as troys 04:01 jast joined 04:03 aborazmeh joined, aborazmeh left, aborazmeh joined, obfusk left 04:08 AlexDaniel joined 04:09 obfusk joined, Cabanossi left 04:11 Cabanossi joined 04:25 piojo left 04:33 pilne left 04:35 thou left 04:40 thou joined 04:41 astj_ left 04:45 khw left 04:49 geekosaur left 04:51 knobo joined 04:52 astj joined 04:53 geekosaur joined 04:54 Cabanossi left 04:56 Cabanossi joined 04:59 knobo left 05:10 headcase joined 05:13 ponbiki left 05:14 domidumont joined, ponbiki joined 05:15 nadim joined, HoboWithAShotgun joined 05:16 silug left 05:20 domidumont left 05:21 domidumont joined 05:22 troys left 05:28 kerframil left 05:29 ponbiki left 05:30 darkmorph left 05:31 ponbiki joined 05:32 Xal left 05:39 xtreak joined 05:41 cpage_ left 05:42 bisectable6 left, benchable6 left, coverable6 left, releasable6 left, statisfiable6 left, greppable6 left, nativecallable6 left, coverable6 joined, unicodable6 joined, bisectable6 joined, ChanServ sets mode: +v coverable6, ChanServ sets mode: +v unicodable6, ChanServ sets mode: +v bisectable6, committable6 joined, bloatable6 joined, quotable6 joined, evalable6 joined, benchable6 joined, ChanServ sets mode: +v evalable6, ChanServ sets mode: +v benchable6, greppable6 joined, releasable6 joined, nativecallable6 joined, ChanServ sets mode: +v releasable6, ChanServ sets mode: +v nativecallable6, squashable6 joined, statisfiable6 joined, ChanServ sets mode: +v statisfiable6 05:43 headcase left 05:45 astj left 05:46 astj joined, cpage_ joined 05:48 lowbro joined, lowbro left, lowbro joined 05:56 notostraca joined 05:58 TEttinger left, sprocket left, notostraca is now known as TEttinger 05:59 cpage_ left, sprocket joined 06:01 sprocket left 06:09 Cabanossi left 06:11 Cabanossi joined 06:14 thou left 06:15 thou joined 06:18 eliv joined 06:19 eliv left, eliv joined, rindolf joined 06:21 domidumont left 06:22 knobo joined, headcase joined 06:26 headcase left, HoboWithAShotgun left 06:32 thou left 06:33 thou joined 06:34 headcase joined 06:36 cdg left, cdg joined 06:38 thou left, headcase left 06:39 abraxxa joined 06:41 cdg left, darutoko joined 06:46 domidumont joined, setty1 joined 06:49 ryn1x left, patrickz joined 07:01 headcase joined 07:05 headcase left 07:14 aindilis left 07:19 AlexDaniel left
tyil softly pokes geekosaur 07:21
07:24 Cabanossi left 07:26 Cabanossi joined 07:27 headcase joined 07:31 ken joined, ken left, ken joined, headcase left, ken is now known as thunktone 07:33 dakkar joined, headcase joined 07:36 leont joined 07:38 headcase left 07:43 headcase joined 07:48 headcase left 07:54 aborazmeh left 07:55 xtreak left 07:58 xtreak joined, aborazmeh joined, aborazmeh left, aborazmeh joined 08:01 jonas1 joined 08:03 aborazmeh left 08:04 domidumont left 08:05 domidumont joined 08:13 leont left 08:14 headcase joined 08:21 eliasr joined 08:22 headcase left 08:25 headcase joined 08:29 headcase left 08:32 xtreak left 08:34 headcase joined 08:38 headcase left, SHODAN left 08:40 robertle joined 08:45 ryn1x joined 08:48 Aaronepower left, domidumont left 08:53 xtreak joined 08:55 Cabanossi left 08:56 domidumont joined, Cabanossi joined 08:57 ChoHag left 09:03 headcase joined 09:05 margeas joined 09:07 headcase left 09:09 TEttinger left 09:11 eroux joined 09:13 headcase joined, Zoffix joined 09:14 headcase left 09:18 ryn1x left 09:19 headcase joined 09:23 headcase left
Grauwolf i'm really liking 6lang. nice idea 09:24
Zoffix \o/ 09:25
09:33 headcase joined
stmuk m: say "\c[ARABIC-INDIC DIGIT SIX]"~"lang" 09:37
camelia ٦lang
09:37 headcase left 09:38 nadim left 09:45 ChoHag joined 09:53 headcase joined
Ulti out of curioisity what will be the default semantics in Rakudo when 6.d is released? 09:58
will it always default to the latest language version unless you explicitly state what you want?
09:59 lizmat left 10:00 Geth joined
Zoffix Ulti: yes: always latest unless you explicitly ask for version 10:01
10:01 headcase left
Ulti \o/ imagine god rays coming down 10:01
10:02 nowan left 10:04 nowan joined 10:09 Cabanossi left, wamba left 10:10 Aaronepower joined 10:11 Cabanossi joined, nadim joined 10:14 wamba joined 10:16 lizmat joined 10:17 wamba left
Zoffix New blog post: "6lang: The Naming Discussion Update": 6lang.party/post/6lang-The-Naming-...ion-Update 10:20
10:24 headcase joined 10:27 araujo left 10:28 headcase left
tyil geekosaur, jnthn: I wrote a small article on how I solved the forking issue, and I have added quotes to you both, do you guys mind if I publish this on my site? 10:29
its reviewable here if you want to take a look first: github.com/Tyil/website/blob/maste...rvice.adoc 10:30
lizmat tyil: why not a "proper" blog post ? :-) 10:33
tyil lizmat: if they are ok with me quoting them, it'll become a real post on my site
lizmat ok, cool :-)
tyil that is just the source that'll be turned into a post, but I don't want to publish it until I know they're ok with it :> 10:34
I'll post it on twitter with a10 #perl6 once it goes up 10:35
(and mastodon)
lizmat :-)
Xliff 6lang.... I kinda like it.
Although you will have to rip "Perl6" from my cold, dead hands. 10:36
tyil Xliff: while I like the perl 6 name, I've come to understand those wanting to tweak the name more with everyone I try to explain that perl 6 is not the same as perl 5
as if the false preconceptions against the name "perl" in general weren't bad enough ;~; 10:37
10:37 chakli joined 10:38 ChoHag left, headcase joined
Xliff tyil: Oh, I understand that aspect of it. 10:39
However, I've never thought of Perl as a "four letter word". 10:40
10:40 astj left
Xliff I've always loved it. 10:40
10:40 astj joined
Xliff I can do more in Perl5 and 6lang than I can do in any other language with less code. 10:41
tyil me mostly with 6lang
10:41 araujo joined, araujo left, araujo joined
tyil I'm not that well versed with either perl version as some of the veterans in here 10:41
but 6lang feels powerful, and I find it easy to convert my ideas to code in 6lang
Xliff Well, it's been a while since I've done Perl 5 coding.
tyil much easier than with langs like python, ruby or php 10:42
Xliff And as of now, I prefer 6lang to P5.
tyil same
Xliff Still.
tyil the only thing I'm missing is 6lang being installed by default on most distros :p
Xliff 6lang has some quirks I wanna strangle it for.
10:43 headcase left
Xliff BUILD/TWEAK were my most recent nemesis. But now I grok them. 10:43
10:43 xtreak left
Xliff Supply, Channel, await and others of that ilk still loom before me. 10:44
lizmat Xliff: ooc, what aspect of BUILD/TWEAK gave you problems?
Xliff I have nibbled around those edges and get the heebs.
10:45 astj left
Xliff lizmat: Well, namely that I was trying to do things in BUILD/new that I needed TWEAK for, and I didn't know it even existed! 10:45
Rather, I read a passing mention of them in the docs and quickly forgot about it.
lizmat TWEAK was a rather recent addition
Xliff Ah.
tyil Xliff: my most recent quirk was that I cannot fork a 6lang program into the background as you'd do for services
Xliff Because I was trying to do things in BUILD that it was not meant for... namely callwith/nextwith 10:46
10:46 chakli left
Xliff tyil: Yes. I have been following that. I take it you've had luck. Oh. I need to read your post. 10:46
10:46 xtreak joined
tyil its a draft thus until I push it to my webserver 10:46
Ulti tyil: there's also software.clapper.org/daemonize/ 10:48
everyone always forgets the change working directory which always comes back to haunt them a decade later 10:49
Zoffix Xliff: no one's ripping "Perl 6" out of any hands :) 6lang is (potentially) the second name. Similar to how Canada has both English and French as official languages :) 10:50
Xliff Zoffix: Well good! That's the way it SHOULD be! ^_^ 10:51
tyil Ulti: interesting
Zoffix
.oO( TMTOWTNI )
Xliff tyil: Nifty post. Most of the tricks there I already knew, but that was a nice writeup!
In this situation, couldn't you get the forked script to write out its own PID file?
tyil Ulti: I mostly went for the posix sh so that it can be used in every real OS without extra deps
Xliff: yes 10:52
you can, but you dont need to :p
Xliff *shrug*
tyil timtowtdi extends to the shell too if you really want
Xliff Well, you said "SOL! LOL" (basically) so I was offering that as an alternative. :P
tyil hehe
stmuk is the next SQUASHathon themed (as the last was for doc)? 10:54
10:55 ChoHag joined
Xliff I keep meaning to get SQUASHed. Always forget the date and have something I'm doing. 10:56
stmuk: They are Saturdays, yes?
stmuk yes 10:58
Xliff Yeah. Weekends tend to be busy for me.
I will try to make one, soon.
Zoffix stmuk: the next one will be rakudo's repo 11:01
squashable6: status
squashable6 Zoffix, Next SQUASHathon in 7 days and ≈22 hours (2017-10-07 UTC-12⌁UTC+14)
11:18 ryn1x joined 11:24 cpage left 11:49 ryn1x left, mr-foobar left, Aaronepower left 11:50 noobie_ joined
Geth doc: 8f9443c3ac | (Jonathan Worthington)++ (committed using GitHub Web editor) | doc/Language/5to6-perlfunc.pod6
Be clear that NativeCall'ing fork() won't go well
11:53
11:55 piojo joined
noobie_ Hi. What is the best way to download large binary files in Perl6? I'm looking for something similar to PHP's stream_copy_to_stream. 11:55
12:01 HoboWithAShotgun joined
timotimo we don't have a "sendfile" op yet; that's the linux sys call that asks the kernel to suck data out of one file descriptor and spit it out into another 12:02
12:02 Zoffix left
timotimo it's not standardised, though, i.e. not portable 12:02
oh, it looks like stream_copy_to_stream in php doesn't do that 12:03
it also seems to be rather wasteful on memory 12:04
Geth ecosystem: 531d9ca485 | (Tom Browder)++ (committed using GitHub Web editor) | META.list
change to a release branch
12:05
timotimo hm, maybe splice is better than sendfile
noobie_ Currently I'm using a combination of LWP::Simple.get and spurt, which works well for small files only.
timotimo (which is also not portable)
jnthn The Cro HTTP client lets you get the body as a Supply 12:06
Which spits out the data as it arrives
And so you can write each chunk into a file
timotimo aye, LWP::Simple doesn't know anything other than returning all data as a single string or buffer 12:07
12:08 nadim left
noobie_ Cro::HTTP::Client sounds good to me. I'll give it a try. So this is the best option I have, I assume? 12:10
12:10 nadim joined
timotimo it's a young module, but it's Very Good™ 12:11
noobie_ Great, thank you guys!
jnthn noobie_: cro.services/docs/reference/cro-http-message documents getting the body stream of a response, fwiw 12:13
12:17 xtreak left 12:18 spoimenta joined, spoimenta left
noobie_ Thnx jnthn 12:20
12:24 mr-foobar joined 12:30 lizmat left 12:31 lizmat joined
tyil jnthn: did you read my latest highlight to you? :> 12:31
12:35 astj joined 12:36 jdv79_ is now known as jdv79 12:37 piojo left 12:45 pmurias joined
jnthn tyil: ah, no, 'cus it only highlights /^jnthn :) 12:46
So it wasn't one for me
tyil: Looks fine, though 12:49
tyil: I also updated the docs today with a note on this
12:49 chakli joined
Geth marketing: bdefc4c47b | (Zoffix Znet)++ | 3 files
Use "done in 6 [hours/6lang]" wordplay; jdv79++
12:49
12:49 epony left 12:54 Cabanossi left
Geth marketing: 31190843b5 | (Zoffix Znet)++ | 2 files
Fix "6lang Concise" poster A4/Square PNG exports
12:55
12:56 Cabanossi joined 12:57 mcmillhj joined, cdg joined 12:58 chakli left
Xliff Is there some way that the precompile cache could get corrupted? 13:01
I have been working on my own code, but sometime in the last 18 hours a bug creeped in that seems to be affecting HTTP::UserAgent. At least the error appears in HTTP::UserAgent, and it doesn't make any sense. 13:02
13:02 cdg left
Xliff Cannot find method 'sink': no method cache and no .^find_method 13:02
in method request at /home/cbwood/.rakudobrew/moar-nom/install/share/perl6/site/sources/550EDE9A5964CAD65D8DE06101C62DC9A1145D0A (HTTP::UserAgent) line 150
Now I've run the test suite for HTTP::UserAgent, and everything runs fine. 13:03
I've also just rakudobrewed.
13:03 cdg joined 13:05 nadim left 13:06 headcase joined
Xliff Reason I am asking is because the code where the error occured, was not directly related to any of the code changes I made. 13:06
timotimo jnthn: on the cro http client docs page there's a wikipedia link to "Byteordermark" :) 13:07
hm, the formatting didn't come through, did it?
anyway, the _ in the link are interpreted as italic markers for the middle word 13:08
lizmat Xliff: you could try reverting the commits marked Stage X of auto-generated BUILDALL 13:09
tyil jnthn: I saw your commit, nice
jnthn timotimo: Probably a Text::Markdown bug 13:10
tyil now just gotta get an okay from geekosaur to include his quote and I can publish the article
timotimo probably just have to mark the whole thing as a link
Xliff lizmat: I am hoping I don't need to go that far into the trees. 13:11
I am just wondering why working code just suddenly... stopped working.
Now the script I was working on, which was running, but errored due to badly parsed date, is now erroring out in a place that it was originally working in. 13:12
What's the best way to force all modules to recompile without blowing away all of .rakudobrew and starting over?
13:13 headcase left
noobie_ jnthn: I've tried installing Cro but I'm getting an "Aborting due to test failure" error. Testing [FAIL]: Cro::HTTP:ver('0.7') Failed test 'Response contains expected body (HTTPS)' 13:15
13:21 thunktone left 13:23 thunktone joined 13:25 Cabanossi left 13:26 piojo joined, Cabanossi joined 13:27 bdmatatu joined 13:28 wander4096 joined 13:30 thunktone left
noobie_ Anyway, I've managed to install Cro with the tests disabled 13:30
13:32 thunktone joined 13:45 skids joined 13:46 nadim joined 13:47 ryn1x joined 13:49 jeek left 13:54 llfourn left, Cabanossi left 13:56 Cabanossi joined 13:57 lowbro left
unclechu hey guys, what's better to use inside promises? `sleep n` or `await Promise.in: n`? 13:58
is there any difference?
13:58 headcase joined
jnthn await Promise.in: n 14:00
sleep is really sleep; it blocks the thread for reals
unclechu jnthn: okay, any explanation? maybe `sleep` blocks whole process while `Promise.in` just based on event-loop?
jnthn In Perl 6.d (use v6.d.PREVIEW), await is non-blocking, and so using await Promise.in: n won't block up a real thread.
unclechu jnthn: okay, thanks 14:01
jnthn So it'll let you get away with less real threads, and so save memory
14:01 epony joined
lizmat jnthn: should sleep be expressed in Promise.in in 6.d ? 14:02
*as
jnthn No, I've already ruled on that.
lizmat ok
jnthn We need a way to be able to do the real sleep also, and I don't think there's a better name for it than sleep :) 14:04
14:04 setty1 left 14:05 donaldh joined 14:07 headcase left, geekosaur left
lizmat perhaps we need a snooze() 14:08
Promise.in(5) etc seems pretty long and not something that is easily findable for newbies 14:09
14:10 HoboWithAShotgun left
jnthn How would snooze be more findable? 14:11
14:13 geekosaur joined 14:14 nadim left, piojo left
sjn o/ #perl6 14:15
lizmat semantically it's easier to go from "sleep" to "snooze" than it it to go to "Promise.in"
14:15 HoboWithAShotgun joined, El_Che left
unclechu hey guys, when i mix 'forking' and 'promising' in the same app i have some forks stuck on some 'awaits', is there any explanation of that? 14:16
14:16 rgrau joined
unclechu p.s. i have 'fork' by nativecall bind 14:16
lizmat unclechu: yeah, in short DIHWIDT 14:17
14:17 El_Che joined
unclechu lizmat: sry, have no idean what 'DIHWIDT' means 14:18
could you expand this please? )
lizmat Doctor, It Hurts When I Do This
see also: github.com/perl6/doc/commit/8f9443c3ac
14:19 ryn1x left
Xliff What does this error message really mean "Cannot find method 'sink': no method cache and no .^find_method 14:20
unclechu lizmat: got it, thanks
El_Che if there is a thing I love about Zoffix it is his perseverance
unclechu but what would be the best way to do some stuff of my app in background?
donaldh also www.linuxprogrammingblog.com/thread...using-them 14:21
lizmat Xliff: that usually means something from NQP slipped into HLL land in void context 14:22
14:23 eliv left
donaldh was just caught out by multi candidate with named params always winning over those without, even when not provided in call. 14:24
It would be helpful to get a warning that a multi candidate is shadowed and will never be called. 14:25
Xliff lizmat: Something like this? 14:27
X::HTTP::Response.new(:rc('Max redirects exceeded'), :response($response)).throw; 14:28
That is the line rakudo is referencing.
lizmat m: X::HTTP::Response.new(:rc('Max redirects exceeded'), :response($response)).throw;
camelia 5===SORRY!5=== Error while compiling <tmp>
Variable '$response' is not declared
at <tmp>:1
------> 3rc('Max redirects exceeded'), :response(7⏏5$response)).throw;
lizmat m: X::HTTP::Response.new(:rc('Max redirects exceeded'), :response(404)).throw;
camelia Could not find symbol '&Response'
in block <unit> at <tmp> line 1
Xliff That's defined by HTTP::UserAgent 14:29
Somewhere.
lizmat that would imply the .throw didn't throw ?
Xliff And this code was working, yesterday.
And I am wondering if it could be something in $response that is causing the problem, because that is something that I could fix.
Would throw not throw if there was an exception in the catch for X::HTTP::Respnose.new? 14:30
lizmat not sure
Xliff Odd. 14:32
It doesn't look like X::HTTP::Request has a $!response.
Might that do it?
Lemmesee
Nope. Same error. 14:33
donaldh it has code
Xliff Oh, nevermind. It does. I missed it in the superclass. :/ 14:34
14:34 Pilu joined, Pilu_ joined
donaldh m: use HTTP::UserAgent; X::HTTP::Response.new(:rc('Max redirects exceeded'), :code(404)).throw; 14:34
camelia ===SORRY!===
Could not find HTTP::UserAgent at line 1 in:
/home/camelia/.perl6
/home/camelia/rakudo-m-inst-2/share/perl6/site
/home/camelia/rakudo-m-inst-2/share/perl6/vendor
/home/camelia/rakudo-m-inst-2/share/perl6
CompU…
14:35 Pilu_ left 14:37 nadim joined 14:39 khw joined
HoboWithAShotgun to cook or to order, that is the question 14:40
14:41 donaldh left
Xliff HoboWithAShotgun: Yes, indeedy! 14:42
14:43 darkmorph joined 14:48 wamba joined, mcmillhj left 14:49 cpage joined
HoboWithAShotgun then answer it Xliff, tell me, tell me, I implore 14:50
14:52 domidumont left 14:53 mcmillhj joined 14:54 Exodist joined
Xliff HoboWithAShotgun: It depends on your circumstances, my good man. 14:59
1) Do you have a car?
If Yes... CARRYOUT! :D
15:04 headcase joined 15:05 xinming_ joined 15:07 ChoHag left 15:08 xinming left, headcase left 15:09 jonas1 left, Cabanossi left 15:11 Cabanossi joined 15:13 knobo left 15:16 ryn1x joined
skids 2) Do you have a shotgun? If yes, carryout... very quickly 15:28
yoleaux 27 Sep 2017 07:51Z <AlexDaniel> skids: “Any obvious repo in which to plop this?” – maybe github.com/rakudo/rakudo/wiki
15:36 SHODAN joined 15:38 rgrau left 15:43 eroux left
skids hrm how do you tell github wiki to put a new page under a subdir? 15:47
15:47 HoboWithAShotgun left 15:49 ryn1x left, ChoHag joined
Geth marketing: 2abcff48b8 | (Zoffix Znet)++ | 22 files
Date SQUASHathon posters
15:54
15:56 headcase joined, headcase left 15:59 headcase joined, basket joined 16:02 lostinfog joined 16:03 cpage_ joined
Geth marketing: abffe7754d | (Zoffix Znet)++ | 13 files
Add 2017.10 SQUASHathon Poster
16:04
16:06 thou joined 16:07 thunktone left, ChoHag left 16:08 ChoHag joined, patrickz left 16:09 Cabanossi left 16:11 Cabanossi joined 16:20 robertle left 16:22 ChoHag left 16:24 ChoHag joined 16:25 xinming_ left, domidumont joined 16:26 xinming joined 16:27 mcmillhj left 16:28 headcase left 16:29 AlexDaniel joined 16:30 headcase joined 16:31 wander4096 left 16:33 mcmillhj joined 16:35 headcase left, troys joined 16:36 headcase joined 16:37 headcase left, ChoHag left, headcase joined 16:38 mcmillhj left 16:39 ChoHag joined, dakkar left 16:45 setty1 joined, thunktone joined
Pilu is there any module to support databases? 16:45
16:46 epony left
AlexDaniel skids: I don't think there are subdirs. Maybe if you clone the wiki repo and do it there… 16:48
Pilu: what about modules.perl6.org/dist/DBIish ? 16:49
16:49 mcmillhj joined
Pilu it seems good, thx 16:52
16:54 ChoHag left, mcmillhj left, ChoHag joined 16:58 leont joined, abraxxa left 17:03 mcmillhj joined 17:06 ChoHag left, ryn1x joined 17:08 mcmillhj left 17:09 headcase left 17:10 headcase joined, ryn1x left 17:13 ChoHag joined 17:15 headcase left 17:18 headcase joined, mcmillhj joined 17:19 maettu left 17:22 knobo joined, headcase left
jdv79 m: ' foo bar baz' ~~ /[\s+(\S+)]+/; my ($foo, @bar) = $/.list; say $foo, '###', @bar; 17:23
camelia [「foo」 「bar」 「baz」]###[]
17:23 mcmillhj left
jdv79 i would have though $foo would get the first item and @bar the rest 17:23
*thought
17:24 headcase joined 17:25 Cabanossi left 17:26 Cabanossi joined
jdv79 anyone get what's wrong there? 17:28
17:28 headcase left
AlexDaniel m: ‘foo bar baz’ ~~ /[\s+(\S+)]+/; my ($foo, @bar) = @$0; say $foo, ‘###’, @bar; 17:29
camelia 「bar」###[「baz」]
17:30 mcmillhj joined
AlexDaniel m: ‘foo bar baz’ ~~ /[\s*(\S+)]+/; my ($foo, @bar) = @$0; say $foo, ‘###’, @bar; 17:30
camelia 「foo」###[「bar」 「baz」]
17:30 headcase joined
lizmat news.ycombinator.com/item?id=15346747 # a Perl 6 reference 17:31
17:31 Ven`` joined 17:32 knobo left
geekosaur tyil, that 404s? 17:33
17:34 robertle joined
Ven`` .u 🤔 17:34
yoleaux No characters found
17:34 headcase left
jdv79 guess i still don't get the itemization rules 17:35
17:35 mcmillhj left
timotimo that post claims "moose greatly influenced the core support for oop in perl 6", but wasn't it the other way around? 17:35
lizmat yeah, thought so too :-) 17:36
17:37 headcase joined
geekosaur didn't it go both ways? the p6 OOP proto spawned Moose btu after that they kept in touch 17:37
timotimo after a point there was back-and-forth iirc 17:38
AlexDaniel u: 🤔 17:39
unicodable6 AlexDaniel, U+1F914 THINKING FACE [So] (🤔)
17:40 kyan joined
jdv79 AlexDaniel: thanks. in context the regex is larger and it works out 17:41
17:41 headcase left 17:43 headcase joined 17:47 headcase left
tyil geekosaur: sorry, I renamed it: github.com/Tyil/website/blob/maste...rvice.adoc 17:48
17:49 mcmillhj joined, headcase joined, nadim left
geekosaur tyil, that's fine, yes 17:49
tyil geekosaur: cool, thanks 17:50
17:54 headcase left 17:55 headcase joined 17:57 ryn1x joined 18:00 headcase left, headcase joined 18:02 Rawriful joined 18:05 ryn1x left, ryn1x joined 18:06 wamba left 18:10 ryn1x left 18:16 ryn1x joined 18:20 cdg left 18:21 ryn1x left 18:23 Pilu left 18:27 darutoko left 18:29 |oLa|1 joined 18:30 headcase left, |oLa| left 18:31 troys is now known as troys_ 18:34 headcase joined 18:43 domidumont left 18:44 epony joined
tyil lizmat: article is online and tweeted :> 18:48
18:48 ChoHag left
Ven`` .u 🤔 18:54
yoleaux No characters found
18:55 Aaronepower joined 18:56 cdg joined 18:57 troys_ is now known as troys 19:00 cdg left 19:02 itaipu joined
AlexDaniel u: 🤔 19:05
unicodable6 AlexDaniel, U+1F914 THINKING FACE [So] (🤔)
19:05 noobie_ left 19:07 headcase left 19:10 BenGoldberg joined 19:11 headcase joined 19:14 espadrine joined 19:25 ryn1x joined
jdv79 gist.github.com/anonymous/868e1d6f...87bf20f005 19:37
I tried to use a slip on $foo inside of the slipped capture args but it didn't work 19:39
how do i strip that extra level of container? 19:40
19:45 ChoHag joined 19:47 headcase left 19:53 bdmatatu left, headcase joined
AlexDaniel m: my $foo = <bar baz>; class Meh { has @.arr; }; dd Meh.new(arr => @$foo).arr 19:55
camelia Array @!arr = ["bar", "baz"]
19:55 headcase left
AlexDaniel jdv79: wait, what extra level? 19:55
19:55 headcase joined 19:56 ryn1x left
jdv79 line 12 of the gist 19:57
19:57 kyan left
jdv79 i'm gonna guess that's impossible given how p6 works 19:57
i have a positional attr. i want to fill it on a constructor call via slipped args. 19:59
or whatever .new(|%args) is called 20:00
20:07 troys is now known as troys_
lizmat jdv79: have you tried => $foo.Slip ? 20:08
20:08 knobo joined
AlexDaniel m: my $foo = <bar baz>; class Meh { has @.arr; }; my $z = Meh.new(|%( arr => $foo.Slip )); dd $z.arr 20:09
camelia Array @!arr = [slip("bar", "baz"),]
lizmat interesting
that feels like a bug to me 20:10
20:12 okl joined
jdv79 yeah 20:12
slip, Slip, flat, and some other linenoise
ok
20:13 knobo left 20:15 okl_ joined 20:16 okl left
Xliff Aaannd.... the code behavior changes again. 20:20
Honestly, I think the administrators are screwing with me. I can't get consistent results from their wacky OAuth implementation.
20:25 cdg joined
Xliff OK. I think I found out where that sink error is coming from. Looks to be coming from a ".resume" in a CATCH clause. 20:30
Wow.
m: { X::AdHoc.new(:payload<foo>).throw;
camelia 5===SORRY!5=== Error while compiling <tmp>
Missing block
at <tmp>:1
------> 3{ X::AdHoc.new(:payload<foo>).throw;7⏏5<EOL>
20:30 ryn1x joined
Xliff m: { X::AdHoc.new(:payload<foo>).throw; say "OHAI"; CATCH { when X::AdHoc { .resume }; }; }; say "OBAI"; 20:31
camelia OHAI
OBAI
20:35 ryn1x left 20:42 nadim joined
El_Che hacktoberfest.digitalocean.com/ <--- lizmat, can you hype this on the weekly? 20:42
lizmat noted :-) 20:43
El_Che exec summary: send 4 PR's, get a t-shirt
20:49 TEttinger joined 20:56 headcase left 20:58 headcase joined 20:59 aindilis joined
tyil lizmat: do you also own10 @perl6org on twitter? 20:59
lizmat nope, moritz does
and maybe timotimo ?
timotimo i don't 21:00
tyil ah
moritz: can you retweet twitter.com/Tyilanmenyn/status/913...1565538304 on10 @perl6org? :>
21:02 skids left 21:03 headcase left
AlexDaniel clickbaits code-golf.io/ 21:04
tyil AlexDaniel: nice 21:05
21:05 mcmillhj left 21:11 okl_ left 21:13 rindolf left
tyil AlexDaniel: can I see the solutions too somewhere? 21:14
21:14 epony left
AlexDaniel tyil: unfortunately, no. I created this issue though: github.com/JRaspass/code-golf/issues/6 21:14
personally I'm not sure if it's better this way or not 21:15
tyil it would be cool to be able to see the results of others after you submitted your result
and that you arent eligible for a better result once you've seen the results of others 21:16
21:17 itaipu left 21:20 troys_ is now known as troys, epony joined 21:29 headcase joined 21:31 pecastro left, pecastro joined 21:34 headcase left 21:38 headcase joined 21:42 headcase left 21:44 headcase joined, thunktone left 21:45 headcase_ joined 21:48 timrs2998 left, headcase left 21:49 headcase_ left 21:51 ruoso___ joined 21:52 setty1 left 22:03 Ven`` left 22:06 nightfrog left 22:13 pmurias left 22:14 nadim left 22:15 pilne joined 22:22 headcase joined 22:24 Cabanossi left 22:26 Cabanossi joined 22:27 headcase left 22:31 nightfrog joined, headcase joined
Juerd Why is int !~~ Numeric? 22:32
22:33 |oLa|1 left 22:35 unicodable6 left 22:36 Herby__ joined, headcase left
Herby__ o/ 22:36
timotimo Juerd: interesting. i would have expected it to automatically box an Int, which does ~~ Numeric
Juerd A value that's int, does 22:37
int itself doesn't
Thanks for the insight though. I hadn't looked into that yet.
22:37 headcase joined 22:42 headcase left, lostinfog left 22:44 skids joined 22:45 nightfrog left 22:47 headcase joined 22:48 nightfrog joined 22:52 epony left 22:55 Cabanossi left 22:56 Cabanossi joined 22:57 epony joined, epony left 22:58 epony joined 22:59 headcase_ joined 23:00 headcase left
MasterDuke is anyone going to the london perl workshop? 23:01
23:02 troys is now known as troys_ 23:07 geekosaur left 23:10 geekosaur joined
leont is 23:12
23:13 kerframil joined
MasterDuke cool. there's a chance i'll be passing through the day after, so there's an even slimmer chance i could move my trip a day earlier 23:16
23:16 ryn1x joined 23:20 headcase_ left 23:21 headcase joined 23:23 margeas left 23:34 cdg left 23:45 Rawriful left 23:50 ryn1x left 23:51 leont left 23:54 |oLa| joined