Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2017-09-28

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

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

Perl 6 | Reference Documentation | Rakudo