»ö« 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 Zoffix on 25 May 2018.
00:02 dustinm` joined 00:06 eater left, molaf left, MilkmanDan left, x[LGWs4x4i]uG2N0 left, dogbert2 left, avarab left, Woodi left, perigrin left, metracom left 00:07 spacedbat joined, eater joined 00:08 xxpor joined 00:09 diegok left 00:10 diegok joined 00:11 jeromelanteri joined 00:15 molaf joined, MilkmanDan joined, x[LGWs4x4i]uG2N0 joined, dogbert2 joined, avarab joined, Woodi joined, kybr joined, Voldenet joined, DrForr joined, TreyHarris joined, nuclearsandwich joined, samebchase joined, perigrin joined, metracom joined, perlawhirl joined, ponbiki joined 00:17 ribasushi joined 00:18 markoong left 00:27 warriors left 00:51 mirlur[m] joined 01:00 tyil[m]1 joined, EuAndreh[m] joined, ilmari[m] joined, lance_w[m] joined, Matthew[m] joined, tyil[m] joined, wictory[m] joined, AlexDaniel[m] joined, unclechu[m] joined, AlexDaniel-old[m joined 01:04 MitarashiDango[m joined, Garland_g[m] joined, CIAvash[m] joined 01:09 aborazmeh joined, aborazmeh left, aborazmeh joined, imcsk8_ left 01:10 imcsk8 joined, jameslenz joined 01:12 Khisanth left 01:14 jameslenz left, lizmat left 01:15 molaf left 01:21 lizmat joined 01:25 Khisanth joined 01:42 dct left 01:43 dct joined 01:46 Ven`` left 01:53 bwisti joined 02:00 aborazmeh left 02:16 rubio-terra joined
rubio-terra Hi, there. Does anyone know if CommaIDE is compatible with RakudoStar 2018.04? 02:18
I'm getting the following error: "getMoarBuildConfiguration is called without Perl 6 SDK set, cannot use debug features"
02:20 dct left 02:33 Zoffix joined
Zoffix rubio-terra: no idea, but it's possible 02:33
rubio-terra: you may try asking again in ~3-6 hours. The devs that would know for sure are in Europe and are sleeping right now :)
rubio-terra Hmm... It says this version is invalid 02:34
Zoffix :(
rubio-terra: Don't know if you want to venture that way, but there are newer compiler-only releases (not Rakudo Star) you could try out. Depending on your OS, there might even be a prebuilt package: rakudo.org/files/rakudo/third-party Otherwise you can try compiling from source: rakudo.org/files/rakudo/source 02:35
rubio-terra I suppose I could compile the latest version of rakudo, right? 02:36
Zoffix Yeah
(by "it's possible" above I meant to say it's possible it requires latest and greatest Rakudo) 02:37
rubio-terra I'll try and see if I can compile the latest version
02:38 vrurg left
rubio-terra Thanks, Zoffix 02:38
Zoffix rubio-terra: are you using latest comma? 2018.7.0 ? 02:39
In its changelog I see: "Fix exception when trying to set the Perl 6 SDK on a project imported from a Git repository"
Sounds like the error you're getting
rubio-terra Yes, just got it 02:40
Zoffix ok
rubio-terra The first error was because I didn't configure the project
I had to configure what he calls Perl6 SDK 02:41
But when I point it to Rakudo Star 2018.04, it says it's invalid.
I thought the support for the debugger in MoarVM were added much sooner than that 02:42
I guess I was wrong
Zoffix It was added in 2018.03, but I see a bunch of other changes to it in later versions in MoarVM's changelog 02:44
Seems to load almost-fine on 2018.06-140-g68ed6f2d8
(didn't want to continue from small screen when creating new project, but once I opened one, it worked fine) 02:45
rubio-terra Good, I'm compiling 2016.06 02:46
02:47 Ven` joined
rubio-terra I mean... 2018.06 02:47
02:48 warriors joined
Zoffix Oh tells me the SDK is not set, so I guess I didn't yet reach the point you're stuck at. 02:50
How to set SDK?
02:50 spycrab0 joined
Zoffix
.oO( why doesn't the "set SDK" in the error message is something that opens the SDK settings window so users don't get annoyed trying to find it -_- )
02:52
02:52 Ven` left
rubio-terra :( why, indeed... 02:53
Zoffix rubio-terra: how did you set yours?
rubio-terra You have to go to File -> Project Structure 02:54
Zoffix Ah ok
ok, yeah, it runs the script, so I guess 2018.06 will work
rubio-terra :D 02:55
Good
Does Debug work too?
Zoffix I don't know how to use it, but it does run the script without any errors popping up. 02:56
rubio-terra Run -> Debug? 02:57
Zoffix Yeah, that's what I did. Is it meant to stop at a breakpoint or anything? It just runs the script and then says "Disconnected" after script's exit 02:59
Ah, breakpoint needs to be on a line with some code 03:00
03:04 epony left
Zoffix no idea. I think it works, but I don't know how to use any of this stuff. 03:04
03:06 epony joined
rubio-terra No luck here... "Error running 'Unnamed': Unknown error" 03:08
Zoffix :(
rubio-terra Not very helpful...
Zoffix The joys of Beta software :P)
rubio-terra It keeps saying Perl 6 v2018.06 is invalid 03:09
Zoffix timotimo or jnthn would know how to fix up this stuff, they work on CommaIDE, I think
rubio-terra Yes, I'll try and get to one of them tomorrow
Thanks
Zoffix goes to bed 03:10
\o
03:10 Zoffix left, jameslenz joined 03:14 jameslenz left
warriors so NativeCall, only works with C libraries ? 03:33
03:36 rubio-terra left
geekosaur what did you want it to work with? 03:36
03:37 psychoslave joined 03:41 fake_space_whale left 03:54 kerframil left
warriors i am just curious about what Perl6 can offer 04:08
04:14 sauvin joined 04:48 xi| joined 04:50 xi| left 04:58 Ven` joined 04:59 xi| joined 05:02 skids joined 05:03 troys left, Ven` left 05:07 mniip joined 05:09 psychoslave left, Kaiepi left, Kaiepi joined 05:10 jameslenz joined 05:15 jameslenz left 05:16 skids left 05:38 xi| left
moritz warriors: nativecall works with everything that uses the C ABI 05:40
so for example Fortran and Rust (I think) work too
C++ with the right name mangling
05:50 spycrab0 left, xi| joined 06:03 xi- left 06:04 xi| is now known as xi-
El_Che warriors: there are bridges to othe languages, I've seen Perl 5, Ruby, Python and Go modules that do that 06:04
06:08 wamba joined 06:18 psychoslave joined
lookatme And we can have Inline::Perl5 and Inline::XX benefit from NativeCall 06:18
06:35 domidumont joined 06:38 warriors left 06:41 domidumont left 06:42 domidumont joined
tyil .tell sarna on the scheme parser in perl 6: gitlab.com/tyil/perl6-scheme-parser reviews are welcome :> 07:02
yoleaux tyil: I'll pass your message to sarna.
07:04 pecastro joined 07:06 wamba left 07:10 jameslenz joined 07:13 |oLa| joined 07:15 jameslenz left 07:27 domidumont left 07:28 domidumont joined 07:31 buggable left 07:32 bwisti left 07:35 sena_kun joined 07:37 rindolf joined, scimon joined 07:43 psychoslave left 07:47 bwisti joined 07:51 domidumont left 07:54 domidumont joined 08:00 konsolebox left 08:09 zakharyas joined, wamba joined 08:14 _sfiguser joined
_sfiguser hello all, i would like to start a new programming language and i was wondering abou the adption and popularity of perl, i mean both 5 and 6, can you give me some information? 08:15
lookatme :) 08:16
Perls is not popularity, for me 08:18
seems like most devs using python 08:19
xinming Cannot locate native library 'libssl.so': libssl.so: cannot open shared object file: No such file or directory 08:24
This error is I got, I try to fix the problem yesterday
lookatme xinming, you need install the openssl-devel
xinming oops 08:25
ignore me
I'm not asking in this channel
:-)
I'm asking in #nixos
though, It's about the perl
lookatme haha
xinming It's about the perl6. 08:26
08:26 yqt joined
xinming install the rakudo in nix, and it doesn't able to find the libssl.so it seems. 08:26
lookatme don't know why, xinming maybe you should ask later when the masters wake up 08:31
08:39 jerome__ joined
_sfiguser lookatme, anyway is there an alternative module similar to python pandas for perl ? 08:44
something to manipulate datasets ?
like switching columns, 08:45
create new columns based on operations on other columns
and and delete columns, add rows and so on
08:46 robertle joined, daxim left 08:48 yqt left, konsolebox joined
lookatme _sfiguser, I am not familiar with pandas 08:51
ownTheLibs pandas has stuff like matrices and easy data manipulation 08:53
www.datacamp.com/community/blog/py...heat-sheet
lookatme ownTheLibs, oh thanks 08:56
08:57 faraco joined, faraco left, faraco joined
lookatme It would be nice if someone want make a module like that 08:58
ownTheLibs I guess people are used to SQL so they just dump all data to a database and query it 09:05
lookatme yeah, and I notice the pandas can write the data to csc/xlsx/database 09:09
s/csc/csv/;
09:11 jameslenz joined, daxim joined 09:12 zakharyas left 09:15 jameslenz left
scimon Is there a function / operator like divmod in Perl6? 09:18
yoleaux 18 Jul 2018 10:27Z <lizmat> scimon: the code in your tweet is incorrect, as the ~~ does not become part of the subset
18 Jul 2018 10:27Z <lizmat> scimon: I came up with this version: subset WorkingDay of Date where { .day-of-week ~~ 1..5 }; .say for (Date.today, * + 1 ... *).grep(WorkingDay)[^10]
18 Jul 2018 10:36Z <lizmat> scimon: >>.say is not guaranteed to *execute* in the given order, only that its *result* is in the correct order
09:18 markoong joined
scimon (Note to self, stop tweeting code ;) ) 09:18
09:19 robertle left
scimon lizmat: Thanks as always :) 09:19
09:20 zakharyas joined
lookatme m: sub infix:<divmod>($a, $b) { ($a div $b, $a mod $b); }; say 6 divmod 4; 09:22
camelia (1 2)
lookatme scimon, not seen divmod in documents 09:23
_sfiguser lookatme, let's implement it 09:27
i have data science expertise
but not perl6
lookatme is the Numpy support big integer ?
or just for native integer
scimon lookatme : me neither. 09:29
lookatme m: my @a = []; @a.push($_) for ^5000000; say now - INIT now;
camelia 5.2696337
lookatme m: my int @a = []; @a.push($_) for ^5000000; say now - INIT now;
camelia 0.4027307
lookatme Perl 6 is quite fast enough when using native integer
09:31 HaraldJoerg joined
jnthn Useless use of [] :) 09:32
Well, = []
lookatme got it 09:33
Numpy is implement in C ? 09:34
seems like
09:36 spycrab0 joined 09:42 jeromelanteri left, MitarashiDango[m left, tyil[m] left, tyil[m]1 left, EuAndreh[m] left, wictory[m] left, mirlur[m] left, ilmari[m] left, lance_w[m] left, Matthew[m] left, AlexDaniel[m] left, Garland_g[m] left 09:43 AlexDaniel-old[m left, unclechu[m] left, CIAvash[m] left 09:45 benchable6 left, nativecallable6 left, statisfiable6 left, bisectable6 left 09:46 zakharyas left, undersightable6 left, greppable6 left 09:47 zakharyas joined, benjikun2 joined 09:48 mirlur[m] joined 09:49 robertle joined 09:50 benjikun left
tbrowder_ AlexDaniel: i vote to merge my PR so we can check it out (after conflict is fixed) 09:57
10:03 zakharyas left 10:08 faraco left
Geth doc/master: 9 commits pushed by (Tom Browder)++, (Aleks-Daniel Jakimenko-Aleksejev)++ 10:18
AlexDaniel interestingly, I saw no conflicts when merging manually… github-- ? 10:21
well, definitely github-- because its instructions for merging manually suck
you end up with two merge commits instead of 1, no idea why do that 10:22
10:22 zakharyas joined
tbrowder_ AlexDaniel: thanks! Given a reasonable pulic display on the website, I can work on the Language page with group titles and separate page lengths. 10:30
s/length/link/ 10:31
AlexDaniel tbrowder_: alright, so: travis-ci.org/perl6/doc/jobs/406181247#L1279 10:35
scimon TIL you can chain where clauses. (And have a subset and chained where clauses).
AlexDaniel tbrowder_: that's github.com/perl6/doc/blob/567e6233...fy.p6#L148
tbrowder_: so I guess $d does not exist so you can't dir() it
10:36 domidumont left
AlexDaniel tbrowder_: and I guess you know better why it happens and what to do with it? 10:36
tbrowder_ um, are you talking about an immediate problem with rendering? if not, i have a plan for creating the appropriate sub dirs via the control file. 10:38
AlexDaniel tbrowder_: travis fails, this should be fixed 10:39
tbrowder_: the doc build is actually fine: docs.perl6.org/build-log/build-201...+00:00.log 10:40
tbrowder_: most likely: running the build from a clean state (e.g. just cloned the repo) is what causes it 10:41
10:43 benchable6 joined, greppable6 joined, nativecallable6 joined, undersightable6 joined
ownTheLibs why are there two install candidates for sudo apt-get install perl6? 10:44
10:44 aborazmeh joined
ownTheLibs on linux mint 10:44
10:44 aborazmeh left, aborazmeh joined
tbrowder_ i haven’t found travis log yet 10:44
10:45 MasterDuke left
AlexDaniel tbrowder_: travis-ci.org/perl6/doc/jobs/406181247#L1279 10:45
lizmat
.oO( and then they say there are no documented jobs for Perl 6 :-)
AlexDaniel ownTheLibs: what's the output of `apt-cache policy perl6` ? 10:46
ownTheLibs AlexDaniel: can see that in some 2hrs after I have my laptop at hand 10:47
10:47 andrzejku joined
tbrowder_ um, checking test travis file 10:47
ownTheLibs all I could see was rakudo-2015 and rakudo-2015-somethingelse
10:51 Ven`` joined 10:52 psychoslave joined
AlexDaniel ownTheLibs: what's your linux mint version? 10:52
huggable: debs
huggable AlexDaniel, CentOS, Debian, Fedora and Ubuntu Rakudo packages: github.com/nxadm/rakudo-pkg/releases
AlexDaniel ownTheLibs: if your distro comes with 2015-ish rakudo, then I'd recommend you to use debs provided here ↑
ownTheLibs AlexDaniel: 18.2 10:53
hey thanks
AlexDaniel ownTheLibs: because rakudo 2015.* is way too old for most purposes
tbrowder_ AlexDaniel: maybe add to travis-build.sh “make gen-pod6-source” so build dir is created early...i’ll check it on my account n a while 10:54
10:54 AlexDaniel-old[m joined, AlexDaniel[m] joined, wictory[m] joined, CIAvash[m] joined, tyil[m] joined, unclechu[m] joined, Matthew[m] joined, ilmari[m] joined, EuAndreh[m] joined, lance_w[m] joined, tyil[m]1 joined, MitarashiDango[m joined, Garland_g[m] joined
AlexDaniel ownTheLibs: if I get it right, linux mint 18.2 is built on ubuntu xenial (16.04LTS). Ubuntu xenial comes with 2015.11 which is a pre v6.c release, so it's too old 10:55
ownTheLibs aye
AlexDaniel ownTheLibs: I can't answer why there are two candidates though, but either way you'd be much better off using the debs from github.com/nxadm/rakudo-pkg/releases :) 10:56
ownTheLibs thx
AlexDaniel well, another alternative is maybe to upgrade to mint 19? It's based on ubuntu bionic and should have rakudo 2018.03 10:57
tbrowder_: no 10:58
tbrowder_: it's not a travis issue
tbrowder_: it's an issue in htmlify.p6. I haven't tried, but I'm pretty sure you'll get the same error if you run it from a clean state
andrzejku Hey I have one problem with Perl6 10:59
tbrowder_ it looks like htmlify.p6 is being called explicitly and not from “make html”, thus the build dir hasn’t been created
11:04 zakharyas left, aborazmeh left
tbrowder_ all my tests have used “make html; make start”, so i haven’t touched travis procs :( 11:04
Geth doc: AlexDaniel assigned to JJ Issue P6-101 refers to Perl 5 – it shouldn't because it's not a 5to6 doc, or make it a 5to6 doc instead github.com/perl6/doc/issues/2191
AlexDaniel assigned to tbrowder Issue Broken links to 'Language' pages via search github.com/perl6/doc/issues/2190
tbrowder_ i’ll work on that... 11:05
AlexDaniel tbrowder_: another issue: github.com/perl6/doc/issues/2190
tbrowder_: so docs.perl6.org/language/concurrency became docs.perl6.org/language/016-concurrency
tbrowder_: can you undo that?
11:08 sarna joined
sarna hey, can you dynamically assign attributes to a class in p6? 11:08
AlexDaniel andrzejku: what is it? 11:09
tbrowder_ erg, looking at local run...
andrzejku AlexDaniel: I watched a movie perl6 call for arms
AlexDaniel m: class Foo { has $.x is rw }; my $f = Foo.new; $f.x = 42; say $f 11:10
camelia Foo.new(x => 42)
AlexDaniel sarna: you mean like this? ↑
andrzejku and lets say okay, I like Perl6 and even know it a little bit
but how do you imagine, that people could help you with Perl6 if there no job, and not everyone earn so much as US/EU programmers
to have a hobby
sarna AlexDaniel: no, like creating an empty class and then adding stuff to it
11:11 jameslenz joined
AlexDaniel m: class Foo { }; my $f = Foo.new; my $z = $f but role { has $.x = 42 }; say $z.x 11:13
camelia 42
AlexDaniel sarna: what about this? ↑
sarna AlexDaniel: that helps. thanks :)
AlexDaniel sarna: see docs.perl6.org/routine/but
sarna AlexDaniel: will do! 11:14
AlexDaniel sarna: also docs.perl6.org/language/058-object...try-Mixins
tbrowder_ AlexDaniel: my local search works... 11:15
AlexDaniel andrzejku: there was a survey not so long ago, see the results here: docs.google.com/forms/d/19qSBpGWWc...wanalytics
11:15 jameslenz left
AlexDaniel andrzejku: according to it, 32% of respondents use perl 6 *at work* 11:16
andrzejku: of course it doesn't mean that their job is to write perl 6 code, but apparently they did find perl 6 useful for other tasks
perhaps some scripts for internal use or something like that
andrzejku: so *I* think that perl 6 already “grows” into existing jobs, even if slowly 11:17
11:17 Ven`` left
tbrowder_ the search also works on the live website for me 11:18
andrzejku AlexDaniel: yeah, but still perl6 community disqualify people from the poor countries
AlexDaniel tbrowder_: “concurrency” page should remain “concurrency”, it should not be “016-concurrency”
andrzejku AlexDaniel: our market is a little bit different 11:19
AlexDaniel andrzejku: well, obviously we do want perl 6 to be useful for everyone. What can we do to make it more useful in your country? 11:20
tbrowder_ there then needs to be some more translation and i guess i can fix it, but not instantly
andrzejku andrzejku: for example I have a western clients who will never agree to write scripts in perl6
AlexDaniel tbrowder_: why can't it just remain “concurrency”?
andrzejku AlexDaniel: lets say I really like to have a job
where I could use Perl6 11:21
sena_kun andrzejku, I live in Ukraine, yet I work with Perl 6 too as my main job(well, including a bunch of other languages).
andrzejku sena_kun: you are an exception 11:22
tbrowder_ because htmlify or pod2onepage need to be smarter—we mung together data and presentation in one giant fur ball
sena_kun andrzejku, thanks. I may be, but, well. For people to change their minds promotion/advertisment is needed. For that, efforts are needed to be done. 11:23
tbrowder_ but i think i can fix it, but not immediately, but it *shouldn’t* take too long
AlexDaniel tbrowder_: how fast can we fix that?
andrzejku sena_kun: are you working on ukraine company? 11:24
AlexDaniel tbrowder_: also, what's the purpose of these numbers?
andrzejku sena_kun: thats a difference
tbrowder_ the nmbers are to get the pages sorted in the desired order
sena_kun andrzejku, nope.
andrzejku sena_kun: russia?
tbrowder_ i think they can be removed in the actual display... 11:26
AlexDaniel .tell jmerelo can we assign you to review PRs and work with tbrowder? There's a lot of good work coming from him, but lately I'm more busy, especially when release stuff takes a good chunk of my attention, so I'm missing important bits and can't review properly
.seen yoleaux 11:27
right…
dpk: the bot is down?
tbrowder_ give me a little time—i don’t see this as an immediate show-stopper crisis revert all issue
11:27 yoleaux joined, ChanServ sets mode: +v yoleaux
dpk fixed, thanks for the notice 11:27
sena_kun andrzejku, self-employed with some hours for Czech Republic company(well, almost, it doesn't matter much). The thing I want to say is that you cannot like, boom and make language popular. If you work with western clients(as I did too), using $whatever-things, well, it is your job. If you want to use something else, then efforts must be made to do this thing wanted/needed. 11:28
AlexDaniel dpk: ♥
.tell jmerelo can we assign you to review PRs and work with tbrowder? There's a lot of good work coming from him, but lately I'm more busy, especially when release stuff takes a good chunk of my attention, so I'm missing important bits and can't review properly
yoleaux AlexDaniel: I'll pass your message to jmerelo.
AlexDaniel tbrowder_: well, a lot of links on the internet are now 404 (just because pages were moved), it's not too critical but really unwanted
andrzejku sena_kun: which technology do you use? 11:30
as core
tbrowder_ ok, please add at least one 404 example to the search issue, and maybe you ought to revert for that—not finding snything is not the same as seeing the real file name!
sena_kun andrzejku, core of what particularly? 11:31
andrzejku sena_kun: language
Perl?
tbrowder_ AlexDaniel: can you give me one search term yielding a 404? 11:32
11:33 pmurias joined
AlexDaniel tbrowder_: it's not about search terms, it's about links. Example: docs.perl6.org/language/concurrency 11:33
tbrowder_: say I have a blog and I write “read more about perl 6 concurrency here: docs.perl6.org/language/concurrency”
tbrowder_: you just broke that URL, and the reason is unclear
sena_kun andrzejku, once again, core of what exactly? Over various projects, I've used Perl 6, as well as java, node, whatever was needed to get things done. 11:34
pmurias andrewalker: how is the situation different between countries? 11:36
11:36 Ven`` joined
pmurias andrewalker: sorry nick completed incorrectly 11:38
andrewalker pmurias: np :)
pmurias andrzejku: how is the situation different between countries?
tbrowder_ AlexDaniel: yes, that i think is “easy” to fix...crisis? 11:40
if so, revert asap
AlexDaniel tbrowder_: depends on how long it'll take to fix :)
tbrowder_ how antsy are you? 11:44
(slang from getting into a bunch of stinging ants) 11:45
11:46 lizmat left 11:48 lizmat joined 11:50 ExtraCrispy joined, Zoffix joined
Zoffix andrzejku: that sounds like an excuse to me. You have the time to be wistful about the language's popularity, yet no time to write a blog post, fix a bug, adopt a module? C'mon. 11:52
11:54 xinming left
Zoffix andrzejku: also, I'm not following how the Perl 6 community is disqualifying you from anything. We don't exactly control the Polish job market. 11:55
andrzejku Zoffix: I had said that I have no time, but I was talking about a situation in poor countries, when you think about make career then you have to learn most paid technologies to have for food and when you want do something because you like and you think thats cool you will have no profit and money at all 11:56
Zoffix: in rich countries you cans still do what you do and have money at least for food car and home
11:56 xinming joined
andrzejku in poor you will have for home and food but not much 11:56
Zoffix andrzejku: but why is that the Perl 6's community fault? 11:57
andrzejku Zoffix: because they call to code for Perl but they don't think about the people from poor countries
Zoffix andrzejku: also, I think you have overly idylic ideas about life in rich countries. Plenty of people living paycheck-to-paycheck here as well.
andrzejku that we have a hard material situation
Zoffix andrzejku: so what do you propose? That we don't invite people to contribute to Perl? 11:58
andrzejku Zoffix: ya but in poor countries it is like we do only staff for you and you decide what would be popular, we are not creating any trends here because we are slave 11:59
Zoffix andrzejku: I mean, contributing to Perl isn't my job. I do something else to have the food and the home, and then contribute on my own time for no profit. Exactly as you describe your own situation.
andrzejku: who are "we" in that description? Perl 6 community?
andrzejku Zoffix: US/EU employeers 12:00
12:00 domidumont joined
Zoffix andrzejku: earlier you said the Perl 6 community disqualifies you. How can the Perl 6 community avoid it? 12:01
andrzejku Zoffix: I propose to call also IT programmers from rich countries to make their own "Perl6" business and hire cheap workforce from poor countries (mainly the people who like to code Perl 6 but they cannt) 12:03
Zoffix: then we can support a little bit
Zoffix: now I back to home and prefer to learn C++ to advance for the better position because I want to buy a car for my family 12:04
I have no car at all and thats hard sometimes to live without it : /
and how can I help Perl 6 even if I want to 12:05
Zoffix andrzejku: I think your ideas about rich countries are inaccurate. The vast majority of people in this channel don't have the opportunity make their own business in the first place, let alone chose Perl 6 for it or to specialize in hiring immigrants from poor countries.
andrzejku: plenty of people here code other languages. The bulk of my dayjob isn't even programming. 12:06
andrzejku Zoffix: Ya, but you have enough money to do in your free time what you like. Because working in rich countries guarantee that if you are working, you will have enough to pay for home/kids/car/vacation and so on 12:07
Zoffix andrzejku: again, that's inaccurate. 12:08
andrzejku Zoffix: in poor countries only good positions allow you to have a dignity
huf yeah, i dont think mcdonalds workers in the US can afford vacations much... 12:09
andrzejku Zoffix: so we are trying to do what free market want to
Zoffix andrzejku: same here.
andrzejku : ( 12:10
12:10 domidumont left
andrzejku I read that you earn in avg 100k$ 12:10
thats a lot here
12:11 domidumont joined
Zoffix andrzejku: as I've said, your idea of life in rich countries are very skewed. We don't put in our 9-5 and then go ride our unicorns while farting rainbows. People pay for cars they can't afford because they can't get to their job without one, they spend 2 hours commutting, then 2 hours taking care of their kids, and then they drop to bed exhausted. 12:11
scimon That's a lot here.
The average covers lots of people earning not much, some people earning around that and very very few people earning LOADS more. 12:12
Zoffix andrzejku: that's a lot here too. And the median income may a lot in Poland but it's not a lot here, because everything costs more.
pmurias software developers in Poland earn a lot more then the average person in Poland
andrzejku pmurias: that's true but an avg person in Poland usually go for work to the west eu 12:13
pmurias: if you want to try to live here, even as a developer it is hard, you have to advance 12:14
scimon How can we help?
robertle I actually *do* fart rainbows 12:15
andrzejku scimon: we need Perl6 business
scimon We do. I'd love that.
12:15 domidumont left
Zoffix andrzejku: "<andrzejku> and how can I help Perl 6 even if I want to" 12:15
scimon I'm wroking REALLY hard to convince my boss that we should use it.
AlexDaniel robertle: I hope the .debs are fart-free 12:16
Zoffix andrzejku: so far, you've said 589 words. That's about the same as a small blog post about Perl 6
scimon Because I don't work for myself and I mostly write Python.
Zoffix andrzejku: that's how you can help
andrzejku Zoffix: ya ok
Zoffix: sorry for that
12:16 domidumont joined
Zoffix andrzejku: that'd be a lot more helpful to Perl 6 than unrealistic suggestions that the Perl 6 community should open up a bunch of business, because you watched an episode of Bay Watch and think we're swimming in money here. 12:17
andrzejku Zoffix: in Poland many people talk like that :D 12:18
lizmat .tell Andreus re colabti.org/irclogger/irclogger_log...07-18#l664 , there's now modules.perl6.org/dist/Hash::Restricted
yoleaux lizmat: I'll pass your message to Andreus.
scimon Heck I'm in the UK. Right now we're working REALLY REALLY hard to destroy our economy.
andrzejku Zoffix: noone who go to US never comes back 12:19
Zoffix That sounds ominous :P
andrzejku Zoffix: and they guy who come here for a while was talking that he was living in Detroit
and he save there 2tousand $ per month
12:19 dustinm` left
scimon So. If I was single and didn't mind living in a crappy flat I could probably do that. Not going to lie. 12:21
(But I'm 45, in debt and have a family. And I've been doing this work for 15 years now)
Zoffix andrzejku: yeah, but you're viewing those $2,000 as if you had them in Poland, not as if you had them in Detroit. Stuff costs differently 12:22
andrzejku scimon: but you know, I mean if you can save in US 2t $/month then in 2 years you have 48t $ and you can think invest them in Perl6 business hiring cheap workforce from here
scimon andrzejku: Come to Britain, code whatever people want you to code. Save the money ( in Euros) after a year move back to Poland and start a busniess.
andrzejku even looking in Perl6 community chat who can work for 1t $
scimon: yeah I have that plan, but my family is pretty patriotic and they want to save Poland 12:23
scimon NB my rent + travel = ~ $1500 a month.
Zoffix andrzejku: an average house costs $1,000,000 here. For $48,000, I doubt you'd have a decent business, especially using a brand new, unestablished language
scimon But that's how you save Poland. 12:24
12:24 domidumont left
scimon Get money from the richer countries (heck, France and Germany work too). Then take it back to Poland and start a business :) 12:24
12:24 dustinm` joined
andrzejku scimon: ja, okay thats a good plan 12:24
scimon :D
Personally I've run a business before. It's too much stress for me. 12:25
12:25 domidumont joined
andrzejku scimon: however the most closer is if people from UK who like Perl6 and open source start to think about it 12:25
scimon So right now the best thing we can do is talk about the language and point out how good it is. 12:27
But if you want a job as a developer being tied to one language is not a great plan.
andrzejku thats why I expect that why, I expect voices on conference, get your saved money from your bank accounts and start to do business 12:28
Zoffix haha
scimon I've got £500 in my savings. It's for my wedding.
Zoffix I don't got shit saved.
scimon (Otherwise it would have paid off my credit card)
(We are not swimming in money)
tbrowder_ AlexDaniel: the search problem involves both pod2onepage as well as htmlify.p6. That complicates the fix, so you might consider reverting. 12:29
andrzejku scimon: well ok, I believe you. Zoffix is right, thats better to spend that time for something more productive 12:30
Zoffix Indeed
Zoffix takes own advice
scimon :D
12:30 Zoffix left
andrzejku scimon: but please keep it in mind what I said 12:30
scimon Totally.
I'm going to keep writing my slides for TPC next month :) 12:31
tbrowder_ Complicated because of two separate repos. I filed doc issue to move pod2onepage to doc repo. Easier to do that first imo.
12:35 domidumont left, domidumont joined 12:40 domidumont left 12:41 domidumont joined
nemo hm 12:44
why is docs.perl6.org 404ing for common pages?
like the unicode one
stuff that's been around for years and that is top in google searches
timotimo nemo: working on it 12:45
not me, but the person who made the change in question
12:45 domidumont left 12:46 domidumont joined, raschipi joined
AlexDaniel tbrowder_: ↑ case in point :) 12:47
raschipi hey, it's no my fault 12:48
tbrowder_ nemo: what did you do exactly to get the 404? 12:49
nemo tbrowder_: searched for perl6 unicode 12:50
then when that failed
thought I had to get more explicit and did site:docs.perl6.org unicode
tbrowder_ ah, google! that soulless beast..
nemo tbrowder_: the old link had a much better name too
tbrowder_: I'd tried typing it in from memory initially
which matched google
docs.perl6.org/language/unicode
12:50 domidumont left
tbrowder_ ok, i get it, thanks. 12:50
nemo
tbrowder_ AlexDaniel: i can fix it but i guess we need to revert in the meantime 12:51
nemo maybe could use the pretty name as an alias to this more formal thing
tbrowder_ yes, but not so easily done 12:52
alas 12:53
nemo hm
pmurias andrzejku: is there even a supply of cheap Perl 6 developers in Poland? ;)
nemo odd. kinda reminds me of wikimedia
wikimedia definitely supports aliases for entries
12:53 domidumont joined
nemo tbrowder_: hm. at the very least could just make a stub page w/ a link I guess, if you're wanting to standardise 12:53
moritz pmurias: ask tadzik :-) 12:54
andrzejku pmurias: I think not a lot, here is one guy from Warsaw but he is actually rich
nemo tbrowder_: what does that number map to btw? you're not going to run into renumbering issues in future hopefully?
AlexDaniel nemo: we can do that now actually: github.com/perl6/doc/blob/master/h...access#L29
andrzejku but I am working in special technology branch
AlexDaniel nemo: the problem is that the whole idea of adding numbers to pages is most likely wrong :) 12:55
andrzejku not web
tbrowder_ no, but htmlify and pod2onepage need some love to handle more general doc handling
12:55 ruoso joined
tbrowder_ and soon to have chinese pages will make such mods more necessary 12:56
pmurias moritz: I live in Poland (plan to move somewhere better), but I would have super serious trouble to find decent developers to work in Perl 6 for 1k$ per month like andrzejku is proposing 12:59
moritz pmurias: that does sound low, considering that foreign companies are also competing for talent 13:00
13:00 jerome__ left
andrzejku pmurias: actually junior developers work for 1k$ here 13:00
13:01 statisfiable6 joined
andrzejku pmurias: I started from salary 300$ as a student that was a long time ago when mostly small polish business hired devs 13:01
pmurias: but still I have friends who work for 1k$ 13:02
tbrowder_ afk& 13:03
andrzejku pmurias: and a few of us have up to 3-4k$
it really depends of company and technology 13:04
13:04 diakopter joined
raschipi andrzejku: Perl 6 is interesting because many of it's developers come from other parts of the world, not just the usual ones. 13:09
13:10 zakharyas joined 13:11 jameslenz joined
timotimo .seen 0racle 13:12
yoleaux I haven't seen 0racle around.
13:16 jameslenz left
diakopter .seen yoleaux 13:20
yoleaux I'm right here.
diakopter .seen diakopter
yoleaux You're right there.
diakopter You're not wrong 13:21
raschipi .botsnack 13:22
yoleaux :D
Ulti when speaking about salary its always good to divide the value by a months average rent for a single bedroom flat in the same city ;) 13:23
sarna yeah, 1k$ in Poland isn't the same as 1k$ in San Francisco 13:24
yoleaux 07:02Z <tyil> sarna: on the scheme parser in perl 6: gitlab.com/tyil/perl6-scheme-parser reviews are welcome :>
diakopter 1k$ in San Francisco only gets you a parking space (I'm not exaggerating)
sarna tyil: whoa! I'll check it out later in the day :)
diakopter: that's what I'm saying. and you can live decently off of 1k$/mo in Poland 13:25
tyil :D
sarna and come on, we're developers, not some Cambodian shoemakers
diakopter eh
sarna I mean we should stop making excuses about how poor and miserable we are :) 13:27
13:27 psychoslave left
stmuk salaries are meaningless without considering prices. I had a friend earning lots of money in .ch who ended up fairly broke 13:29
andrzejku sarna: if polish families start to want have enough kids to save Poland it requires 2 per family then we will be poor like in Cambodian
sarna: but instead we are hiring Nepal and India here and Ukraine
sarna: you have to have family to understand situation in Poland 13:30
sarna andrzejku: you're clearly a troll, please stop doing this
andrzejku sarna: no you are trolling
stmuk listening to people complaining about not being paid enough isn't very interesting 13:31
jnthn The only person I see talking about Perl 6 in my last screenful is yoleaux. I for one welcome our on-topic robot overlords. :)
stmuk :)
sarna I'm trying to make p6 and rust talk to each other!
well, not I, me and a friend :)
I think it would be useful, since C isn't the best language to write your fast stuff in 13:32
stmuk zero-cost abstractions!
sarna fearless concurrency!
stmuk free lunches! :)
sarna no, unfortunately :(
I wish, though 13:33
we've been thinking about de/serializing stuff back and forth, we could get rid of that uint bug this way 13:35
it should be easier to implement, too
but 👀 it doesn't work yet, so enough talking
13:40 skids joined 13:44 aborazmeh joined, aborazmeh left, aborazmeh joined
pmurias sarna: re Rust bridge, do you have anything publically viewable yet? 13:51
13:52 araraloren joined
sarna pmurias: I can give you something that made my head implode 13:53
play.rust-lang.org/?gist=5ddfb2403d...ition=2015
13:53 aborazmeh left
araraloren oh rust :( 13:54
burn your brain
Geth ¦ perl6-pod-to-bigpage: tbrowder self-assigned move this project into doc repo github.com/perl6/perl6-pod-to-bigpage/issues/28 13:55
andrzejku araraloren: yeah I just thought the same
araraloren: hi there :)
Geth doc: tbrowder self-assigned mod Makefile for proper build dir handling github.com/perl6/doc/issues/2192
tbrowder self-assigned pod to bigpage needs to be part of this repo github.com/perl6/doc/issues/2193

1f20ea571f | 陈梓立++ | 2 files pm → pm6
13:56 benjikun joined
13:57 benjikun2 left 13:58 vrurg joined, Ven`` left
araraloren andrzejku hi 13:59
andrzejku araraloren: how is going?:-)
araraloren Just so so, it's a busy week 14:00
I try to learn the react programming in Perl 6 14:01
using Supply\
14:07 warriors joined 14:14 konsolebox left 14:22 psychoslave joined 14:29 silug joined 14:32 konsolebox joined 14:35 andrzejku left 14:44 Guest6205 joined
14:48 fake_space_whale joined 14:49 psychoslave left
tbrowder_ AlexDaniel: the .htaccess file might be the fastest fix for now. 14:54
AlexDaniel tbrowder_: can we just remove the numeric prefix? What would go wrong?
my point is that applying yet another workaround on top of a workaround shouldn't be an option anymore, we're too deep into this 14:56
tbrowder_ well, then the files won’t be in desired order—the whole point of this exercise. also, we have the large set of Chinese versions of pod6 to deal with.
stmuk I can't build on windows 14:57
AlexDaniel tbrowder_: cool, so let's temporarily no have them in the right order until we have a proper fix
not*
stmuk undefined reference to `MVM_context_from_frame'
jnthn stmuk: I fixed that last night in MoarVM HEAD, it maybe wasn't bumped yet
AlexDaniel stmuk: github.com/rakudo/rakudo/issues/2070 14:58
stmuk ok I'll try moar master
AlexDaniel stmuk: you can wait 5 seconds for a bump :)
stmuk: done
stmuk ok even easier :) 14:59
15:00 spycrab0 left
tbrowder_ ok, what do you want me to do? i think i should just point the bigpage and htmlify back to the doc dir and leave the new tooling in place. what say you? 15:00
stmuk I get a weird pop up about "try.exe" not working as well 15:01
AlexDaniel tbrowder_: can't we keep the build dir but just remove the numbers?
tbrowder_ that should get the files jumbled in raw page order.
AlexDaniel I understand, but that's better than loads of broken urls, and we'll have some time to come up with a better fix 15:02
tbrowder_ well, we could temporarily do that, but same effect.
15:02 wamba left
AlexDaniel well, the names shouldn't be mangled with numbers anyway, so that would be a step into the right directoin 15:03
direction*
even if sorting will go wrong at first
15:04 zakharyas left
timotimo stmuk: i assume that's our "try to compile a piece of code to see if some feature is available" feature from Configure.pl? 15:04
tbrowder_ let me make another pr to do that, shouldn’t take long (and no group separators for now)
AlexDaniel tbrowder_: another thing we can think about is separate production and development websites for the docs 15:05
if that was in place, this wouldn't be an issue
stmuk timotimo: yes it's part of the build/config infrastucture ... I find it harder to read code on windows!
AlexDaniel tbrowder_: or maybe stable/dev branches, something like that
tbrowder_ mebbe 15:06
raschipi Why does the URL even depend on the file name?
stmuk the pop up is wierd ... I've a feeling I fixed a similar problem before by turning off AV but its off now anyway
timotimo raschipi: we didn't write a web app that'd have custom routes; we could, however, have rewrites in the .htaccess
15:10 |oLa| left 15:11 zakharyas joined, |oLa| joined, jameslenz joined
tbrowder_ ok, testing rebuild now... 15:13
15:16 jameslenz left
tbrowder_ i like the test website idea. how hard would that be to set up? do we need a new server? 15:17
15:19 scimon left
stmuk tbrowder_: it's fairly easy to set up on any linux system 15:20
15:23 benjikun2 joined, pmurias left
tbrowder_ i can provide a digital ocean server (or real iron) but will i need to give root access or just user accounts? 15:23
15:23 troys joined 15:25 benjikun left
stmuk you don't need root .. its just a basic mojo app which runs on a high port 15:25
15:28 fake_space_whale left 15:29 robertle left
tbrowder_ my apache mojo is limited, i’ve never used a reverse proxy. i’m happy to share root with a small digital ocean host for as long as it takes to get one going and usable. 15:30
stmuk you don't need to run apache .. just access the high port in your browser 15:32
15:32 Guest6205 left
tbrowder_ AlexDaniel: with the change on my local host, searching for "concurrency" provides this link "127.0.0.1:3000/language/concurrency", good enough? 15:33
AlexDaniel tbrowder_: and the page is accessible? And from 127.0.0.1:3000/language.html you can get to the page too? 15:34
tbrowder_ ...yes 15:35
AlexDaniel great! How bad does language.html look like? :)
tbrowder_ i get there either through the search box or entering "127.0.0.1:3000/language/concurrency" directly in the firefox address box 15:36
15:37 |oLa| left, jmerelo joined
jmerelo Konnichiwa 15:38
yoleaux 12 Jul 2018 10:19Z <AlexDaniel> jmerelo: colabti.org/irclogger/irclogger_log...07-12#l324
12 Jul 2018 10:19Z <AlexDaniel> jmerelo: speaking of streaming, have you ever seen a Ph.D defense streamed on Twitch?
12 Jul 2018 10:23Z <AlexDaniel> jmerelo: okay, I googled it. It's a thing!
17 Jul 2018 14:14Z <AlexDaniel> jmerelo: colabti.org/irclogger/irclogger_log...07-17#l631
11:28Z <AlexDaniel> jmerelo: can we assign you to review PRs and work with tbrowder? There's a lot of good work coming from him, but lately I'm more busy, especially when release stuff takes a good chunk of my attention, so I'm missing important bits and can't review properly
tbrowder_ looks about how it used to look, without any categories,
AlexDaniel great then
sena_kun jmerelo, uissu. o/
jmerelo AlexDaniel: not really. Not any PhD in any kind of streaming... 15:39
AlexDaniel IIRC I was able to find a video or two
jmerelo AlexDaniel: as I say in the issue, just back from the 12-hour flight from Japan. So I guess you can assign whatever you need
15:39 domidumont left
jmerelo .tell uzl it would be better if you gather helpers and assign chapters to each of them (and meta-reviwers too). Have you used any kind of pro translator software, with thesaurus and so on? 15:41
yoleaux jmerelo: I'll pass your message to uzl.
jmerelo AlexDaniel: most PhD vivas are incredibly boring. I have only found one it was worth live tweeting, not to mention Twitch.
AlexDaniel jmerelo: I'm not saying it should be entertaining, but it is *interesting* 15:42
jmerelo: although maybe we should come up with ideas on how to make it entertaining :D 15:43
jmerelo AlexDaniel: not gonna happen, as much as I would like to. 15:46
AlexDaniel: in Portugal they make you dress in long robes. That does not make the thesis any more entertaining, but at least you look fabulous. 15:47
AlexDaniel: Anyway
Lots of stuff happening around the doc repo.
I don't know if build can be fixed, but that should be priority one. Maybe it's been fixed already...
Second, most important: I don't think translations should go into the official doc repo. 15:48
15:48 |oLa| joined
jmerelo Third: man alive, 176 issues already. I can't leave you alone! 15:49
tbrowder_ let me see if i can get a snip...got it
15:49 benji__ joined 15:50 zakharyas left
tbrowder_ how do i show png here? 15:53
jmerelo tbrowder_: upload it somewhere and paste the link...
15:53 benjikun2 left
tbrowder_ yepper, putting it on pastebin... 15:54
jmerelo tbrowder_: you're doing great work. I've been busy, let me see if I have the time to check it out (and/or help) in the next few days. 15:55
AlexDaniel jmerelo: re lots of stuff happening, that is indeed true and I'm finding it hard to keep up with it
jmerelo: fwiw the build is ok I think 15:56
jmerelo AlexDaniel: ah, OK. 15:57
AlexDaniel jmerelo: I mean, not entirely OK, but the website builds fine
jmerelo: but travis complains
e.g. docs.perl6.org/build-log/build-201...+00:00.log looks successful to me
stmuk try.c just returns EXIT_SUCCESS 0 why windows should complain I don't know 16:03
16:03 eliasr joined
El_Che jmerelo: back? 16:07
stmuk .tell ugexe I don't seem to be able to install zef on windows 16:10
yoleaux stmuk: I'll pass your message to ugexe.
tbrowder_ arg, i can't find a good place to post image...submitting PR anyway...
jmerelo El_Che: to the European Union...
El_Che you went to negociate the EU-Japan free trade agreement? :)
jnthn tbrowder_: I think when you submit a PR, if the image is on your clipboard, you can Ctrl+V in the PR editor and it'll upload it and show it in the PR 16:11
Geth doc: 3f9e05a39c | (JJ Merelo)++ | 2 files
Reflow
16:12
doc: tbrowder++ created pull request #2197:
revert file names to no mumber prefix
jmerelo tbrowder_: all URLs have changed? 16:13
tbrowder_: oh wow. That's not good.
tbrowder_ *number. urls are changed back--long story
jmerelo Ah, OK 16:14
SmokeMachine m: say (^10).iterator; class Bla does Iterator { has Iterator:D $!iter is required; method pull-one {$!iter.pull-one} }; say Seq.new: Bla.new: :iter((^10).iterator) # is it a bug?
camelia <anon|19>.new
The attribute '$!iter' is required, but you did not provide a value for it.
in block <unit> at <tmp> line 1
16:14 spycrab0 joined
tbrowder_ jnthn: thnx, too late! 16:14
jmerelo tbrowder_: it's this issue... github.com/perl6/doc/issues/2196 16:15
stmuk zef install github.com/stmuk/Task-Star.git 16:16
oops
SmokeMachine m: class Bla does Iterator { has Iterator:D $!ble is required; method pull-one {$!ble.pull-one} }; say Seq.new: Bla.new: :ble((^10).iterator) # its not the "Seq's $!iter" 16:17
camelia The attribute '$!ble' is required, but you did not provide a value for it.
in block <unit> at <tmp> line 1
AlexDaniel jmerelo: I have to leave to do stuff :) I hope you'll handle that PR
jmerelo: I mean, if it looks good, don't just approve it :) merge it
jmerelo AlexDaniel: Will do.
AlexDaniel: waiting for tests to go green. 16:18
16:18 raschipi left
SmokeMachine m: class Bla does Iterator { has Iterator:D $!ble is required; method pull-one {$!ble.pull-one} }; say Seq.new: Bla.new: :ble(class :: does Iterator { method pull-one {1} }) 16:18
camelia The attribute '$!ble' is required, but you did not provide a value for it.
in block <unit> at <tmp> line 1
jnthn SmokeMachine: Should be $.ble or it's not visible to set up from the outside of the class
SmokeMachine m: class Bla does Iterator { has Iterator:D $!ble is required; method pull-one {$!ble.pull-one} }; say Seq.new: Bla.new: :ble(class :: does Iterator { method pull-one {1} }.new)
camelia The attribute '$!ble' is required, but you did not provide a value for it.
in block <unit> at <tmp> line 1
El_Che releasable6: status
releasable6 El_Che, Next release in ≈1 day and ≈2 hours. 5 blockers. 0 out of 232 commits logged (⚠ 78 warnings)
El_Che, Details: gist.github.com/7e665c4ff7bf887c54...c1067233bb
SmokeMachine m: class Bla does Iterator { has Iterator:D $.ble is required; method pull-one {$!ble.pull-one} }; say Seq.new: Bla.new: :ble(class :: does Iterator { method pull-one {1} }.new)
camelia (1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...)
SmokeMachine thanks! 16:19
I think I am becoming dumb... :(
AlexDaniel El_Che: colabti.org/irclogger/irclogger_log...07-20#l158
16:19 _sfiguser left, Zoffix joined 16:20 gregf_ joined
Geth doc: JJ assigned to tbrowder Issue Perl 6 in a nutshell missing github.com/perl6/doc/issues/2196
JJ self-assigned travis set up appears to be wrong for current build tool github.com/perl6/doc/issues/2198

revert file names to no mumber prefix
16:21
SmokeMachine jnthn: thanks!
El_Che AlexDaniel: got it... good luck :)
Zoffix SmokeMachine: FWIW, you don't need to name that class. You can just write: `Seq.new: class :: does Iterator {…}.new`. Also, it can be preferable to keep that $!iter as private, so users of your iterator don't try to mess with it and you can write as `Seq.new: .new: class :: does Iterator { has $!iter; method new(\iter) { self!SET-SELF: iter }; method !SET-SELF($!iter) {self} }.new
SmokeMachine Zoffix: Yes, that's true but giving it a name makes it easier to debug... 16:22
Zoffix s/Seq.new: .new:/Seq.new:/ 16:23
16:25 Zoffix left
tbrowder_ jmerelo: test won’t go green. see latest issue. i’ll merge if you don’t want to, but the travis instructions i believe are broken—the build step must come before either pod2onepage or htmlify.p6 are run. they both depend on a current build directory.
16:49 domidumont joined
tbrowder_ jmerelo: welcome back, over big jet lag yet? 16:49
jmerelo tbrowder_: about to fall asleep rigth now, but waiting in Paris for my next plane to Spain... 16:55
tbrowder_: but shippable is not running htmlify.p6. That one is green, so I'll merge.
doc: adf3466d01 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | 2 files
Merge pull request #2197 from tbrowder/search-fix

revert file names to no number prefix Thanks! This solves #2196 #2190
jmerelo I'll check about the other. There are two versions. Will start with the one running a binary. 16:56
tbrowder_ #perl6 young (or not so young) developers, are you aware of the google summer of code that pays a good bit of cash for successful applicants for about 8 or 9 weeks of not-quite full-time work? 16:57
work is remote.
El_Che tbrowder_: the perl foundation wasn't selected (or didn't apply) 16:58
tbrowder_ under close supervision of a mentor.
Juerd Google doesn't like Perl 16:59
DrForr If you're willing to be a mentor or know someone who is (I'd love to but I also know I don't have the time) then talk with TPF, I"m sure they'd love someone taking the initiative.
Geth doc: 8c0e72c8ba | (JJ Merelo)++ | util/travis-test.sh
Fix the binary part of travis, refs #2198
17:00
Juerd cloud.google.com/docs/ - no Perl. github.com/google/diff-match-patch - no Perl. etc. 17:01
tbrowder_ but i used to support one of the more successful projects (brlcad.org) which has been accepted by google for quite a few years. they choose the language, not google, and an applicant could propose perl6 as part of a task to provide a glue language which is sorely needed. 17:02
Juerd Can't recall the other Google things that have multiple programming languages but no Perl, but there were several more.
DrForr GSoC has Haskell this year and they're not on the cloud.google.com docs. 17:03
tbrowder_ p6 is perfectly suited because they use a very stable api and c and c++ libraries, nativecall to the rescue!
Juerd DrForr: All I'm saying is that it wouldn't surprise me if they wouldn't accept Perl applications. 17:05
tbrowder_ just saying check it out, and get to know that community, very nice folks, los of international coders
well i used perl there...
geekosaur the real problem with gsoc is the strain it puts on the groups involved
diakopter Haskell has almost passed Perl in the Redmonk (github+stackoverflow) language rankings
DrForr Juerd: Wouldn't surprise me either, but if you don't try, you're not confirming anything other than "The Perl community doesn't care about GSoC" 17:07
17:08 jmerelo left
DrForr I'd love to mentor, the problem is I'm also moving back to the UK shortly and starting a new job, which kind of cuts down on the time I have for this sort of thing. 17:11
17:12 jameslenz joined, ZofBot left
diakopter redmonk.com/fryan/2018/03/15/redmo...over-time/ 17:13
17:13 jcallen left, huggable left 17:14 hobbs left, hobbs joined, hobbs left, hobbs joined 17:15 jcallen joined 17:16 jameslenz left 17:17 sauvin left 17:24 domidumont left 17:26 Some-body_ joined, ZofBot joined, ChanServ sets mode: +v ZofBot, DarthGandalf left, Some-body_ is now known as DarthGandalf 17:28 raynold joined, huggable joined, ChanServ sets mode: +v huggable 17:30 araraloren left 17:32 lizmat left 17:33 raynold left 17:51 kaiser_ joined
Kaiepi is there a way to check which version of moar's being used from a perl script? 17:56
sena_kun m: say $*VM;
camelia moar (2018.06.304.g.4.d.22.fb.9.e.7)
sena_kun Kaiepi, ^?
masak m: say "$_, $_... {.uc}!" given $*VM.name 17:59
camelia moar, moar... MOAR!
masak (in the voice of Cookie Monster)
Kaiepi oh
thanks
m: Verion.new: $*VM
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared name:
Verion used at line 1. Did you mean 'Version'?
Kaiepi m: Version.new: $*VM 18:00
camelia ( no output )
Kaiepi m: say Version.new: $*VM
camelia vmoar
masak loose typing. it's a wild ride.
Kaiepi m: say Version.new: $*VM.subst(/^[\d+]**3 % '.'/, "$0")
camelia Use of Nil in string context
in block <unit> at <tmp> line 1
No such method 'subst' for invocant of type 'VM'
in block <unit> at <tmp> line 1
masak m: say Version.new(1+i) 18:01
camelia v1.1.i
masak hey, why... I.. wh...
timotimo hahaha
that's amazing
Kaiepi m: say $*VM.Version
camelia No such method 'Version' for invocant of type 'VM'. Did you mean 'version'?
in block <unit> at <tmp> line 1
Kaiepi m: say $*VM.version
camelia v2018.06.304.g.4.d.22.fb.9.e.7
masak guy can't even have proper Complex versions...
timotimo masak: i assume it uses "1+1i" as the source for the version number
and just uses the + as a generic separator
Kaiepi m: say Version.new: ($*VM.version ~~ s/[\d+] ** 3 % '.'/\0/) 18:02
camelia Invocant of method 'match' must be a type object of type 'Any', not an object instance of type 'Version'. Did you forget a 'multi'?
in block <unit> at <tmp> line 1
Kaiepi m: say Version.new: ($*VM.version.Str ~~ s/[\d+] ** 3 % '.'/\0/)
camelia Cannot modify an immutable Str (2018.06.304.g.4.d.22...)
in block <unit> at <tmp> line 1
Kaiepi wait
masak that's wrong along so many axes
geekosaur you wanted S there
Kaiepi m: say $*VM.version.Str
camelia 2018.06.304.g.4.d.22.fb.9.e.7
Kaiepi lol
timotimo not only S, but also "given"
geekosaur yeh
Kaiepi m: say $*VM.version > Version.new: '2018.05.1.g.4.d.22.fb.9.e.7' 18:03
camelia True
Kaiepi perfect
kaiser_ raschipi: I've tried your suggestion to run the command 'echo 3 > /proc/sys/vm/drop_caches'. Whenever I did this, the script took just as much time to process as it usually does for the first time. Which to me means that the speed improvement I see with the subsequent calls is definitely due to caching. (And that's about all I can deduce.) 18:06
b2gills: Thanks for the tip to try the profile flag. I don't know how to interpret the result, but for the experts: the report is here raw.githubusercontent.com/kaisersp...ofile.html 18:07
18:07 domidumont joined 18:10 lizmat joined 18:12 domidumont left 18:16 AlexDaniel left 18:18 AlexDaniel joined 18:20 Zoffix joined
Zoffix kaiser_: that's the profile of the buggy ~100s run, right? 18:20
kaiser_ Yes it is :) 18:21
Zoffix kaiser_: do you still have the code you were running to produce that profile?
It shows 91% of time was spent doing file tests :o
kaiser_: how many files do the scanned dirs have? 18:22
kaiser_ This is the latest version of the code, the profiling report is for this: gist.github.com/kaisersparpick/289...29145c36a2 18:23
Zoffix ooooohhhh
I know what the cause is
kaiser_ Tests? That's really weird
18:23 SteffanW joined
Zoffix kaiser_: you're using `use lib` or `-Isome-dir` right? 18:24
kaiser_ The scanned dirs have around 30 files (this is just a wild guess, though)
Zoffix Or you have PERL6LIB env var set to something like `.` or something. 18:25
kaiser_ use lib? Not in this file. I do have that in some other scripts, though.
Now that is probable! I can't check it now but can do it on Monday. 18:26
Could that env var cause the tests to run? 18:27
18:27 dogbert17 joined
Zoffix kaiser_: do you also load some module somewhere? I don't see it in the script, but the problem only occurs when you load something 18:27
kaiser_: basically, when you include a dir with stuff like PERL6LIB, `-I` command line switch or `use lib`, that dir becomes a "FileSystem" compilation unit repository and the compiler takes a snapshot of (only Perl 6, IIRC) files so that it would know whether any changes to the code in the FileSystem repository happened, so it would know to recompile any modules. Now, if you stick a path with a gazillion of 18:29
kaiser_ Hmmm. If a perl script is in one of these directories and is opened with slurp - does that count?
Zoffix files, it'll take ages taking that snapshot
For example, in my home dir, `PERL6LIB=. time perl6 -e 'use Test'` takes 59 seconds, but plain `time perl6 -e 'use Test'` takes only 0.2 seconds 18:30
kaiser_ The total number of lines of all the files that I count is around 9 thousand. 18:31
Zoffix kaiser_: and I'm fairly sure that's what happens in your case, because the profiler shows code in .DIR-RECURSE internal routine as taking 91% of all the time, and the only place I see that used is in Distribution and CompUnit::Repository::FileSystem classes 18:32
kaiser_ So it's a relatively small amount of files - remember, the node_modules dir is excluded.
I will definitale check that env var
Zoffix kaiser_: so try running the script from some empty directory, and check if PERL6LIB is set to something funky, etc.
kaiser_ Where is this .DIR-RECURSE in the report? 18:34
Zoffix kaiser_: if you go to "Routines" in the menu, then click on "Exclusive time", you'll get FILETEST-E as the top entry, referencing SETTING::src/core/Rakudo/Internals.pm:1229, and that location is inside the loop of .DIR-RECURSE method: github.com/rakudo/rakudo/blob/mast....pm6#L1229 18:36
Geth doc: ef04511335 | 陈梓立++ (committed using GitHub Web editor) | type-graph.txt
Introduce class ValueObjAt

  ref 208213bdb16f83a451537bbc66d9047aee480e54
18:38
kaiser_ Awesome! Now I understand slightly better how to interpret this report :) !
Zoffix I filed a docs Issue to at least document this behaviour as a trap: D#2199 18:39
synopsebot D#2199 [open]: github.com/perl6/doc/issues/2199 [docs][easy to resolve] Document trap: `use lib` with a huge directory is super slow
kaiser_ Thanks Zoffix, this sounds really promising. If I can fix that env var, the problem should go away.
18:40 lolo78 joined, lolo78 left
kaiser_ What is the best setting for PERL6LIB, by the way? 18:40
Zoffix Dunno. I don't have it set at all. 18:41
masak kaiser_: how do you mean?
I usually have it set to "lib"
kaiser_ Is it always a relative path? 18:42
How about /opt/perl/perl6/lib ? 18:45
Zoffix I think that stuff is already one of the other CompUnit::Repositories, like installed, precompiled modules.
Zoffix & 18:46
18:46 Zoffix left
Geth doc: 9e6785259d | (Tom Browder)++ (committed using GitHub Web editor) | util/travis-test.sh
need a clean build dir to start
18:57
Kaiepi to set a timeout on a tcp connection i can just do something like Promise.allof(Promise.in($timeout), Promise.start({ my $s = IO::Socket::INET.new: :listening, :localhost<localhost>, :localport(23); # ... })) right? 19:07
with the second promise being the htread handling receiving messages 19:08
19:09 MilkmanDan left 19:10 MilkmanDan joined 19:11 pmurias joined 19:12 jameslenz joined
pmurias Juerd: TPF was in GSoC a few times 19:13
19:13 zakharyas joined 19:17 jameslenz left
Juerd pmurias: I remember a time when Google seemed to like Perl :) 19:17
I hope I am completely mistaken.
pmurias Juerd: the Perl community didn't take apply for a number of years in GSoC 19:19
timotimo it's a load of work to manage gsoc and nobody has stepped forward to volunteer in a while i think? 19:20
pmurias I remember a group of folks stepped up and some point but got discouraged from doing it again after getting rejected
timotimo i can imagine 19:21
19:28 sarna left
moritz google has been ditching small and medium-sized orgs that have participated a few times, and favored new orgs instead 19:33
Geth doc: 14ccf11954 | (Tom Browder)++ (committed using GitHub Web editor) | util/travis-build.sh
create a build dir
19:36
19:40 yqt joined 19:41 yqt left 19:47 zakharyas left 19:48 g- joined 19:52 psychoslave joined
tbrowder_ .tell AlexDaniel the whateverable passes now 19:58
yoleaux tbrowder_: I'll pass your message to AlexDaniel.
20:01 wamba joined
tbrowder_ .tell AlexDaniel the doc travis whateverable test passes now 20:01
yoleaux tbrowder_: I'll pass your message to AlexDaniel.
AlexDaniel .
yoleaux 19:58Z <tbrowder_> AlexDaniel: the whateverable passes now
20:01Z <tbrowder_> AlexDaniel: the doc travis whateverable test passes now
tbrowder_ is that enough to update the website automatically? 20:02
i mean the https server 20:03
20:05 kaiser_ left
AlexDaniel tbrowder_: check docs.perl6.org/build-log/ 20:07
perhaps it did not trigger just yet, so wait a bit more 20:08
tbrowder_ that’s not the same script as travis uses, is that the docker thing? 20:09
20:10 eliasr left
tbrowder_ jmerelo had to leave and didn’t have time to work with the docker setup 20:10
can anyone else look at it? 20:11
Kaiepi how cna i get a private property of a class to use? i'm not doing anything crazy, i just need to get $!VMIO from an IO::Socket::Async instance to test something 20:17
jnthn Kaiepi: use nqp and then nqp::getattr, if you're just wanting to play around :) 20:18
Kaiepi thanks 20:19
tbrowder_ i have to go on the road for a while—sorry i messed up the site—would appreciate a msg here if it recovers after a wakeup build 20:20
20:26 SteffanW left
Kaiepi hm 20:27
getting this to work is a bit more work than i thought
i have the native-descriptor method added to rakudo and the introspection stuff for moar implemented, but it returns 0 every time
i'm probably fucking something up with the pointer logic hastebin.com/opalalumov.cpp 20:29
20:29 kerframil joined 20:36 aindilis left 20:37 aindilis joined 20:41 |oLa| left
nemo pmurias: Hedgewars gave up on GSoC too - mostly 'cause both unc0rr and I have small kids 20:42
a small factor was also that we never figured out how to get google to dispurse the org money. tried to find a FOSS umbrella w/o success 20:43
20:49 webstrand left 20:50 webstrand joined 20:58 Kaiepi left 20:59 psychoslave left, Kaiepi joined
Kaiepi yyyyeah i'm definitely doing something wrong if the code deadlocks on me 20:59
maybe i need to make an async task to get the fd? 21:00
21:01 skids left 21:12 jameslenz joined 21:13 Kaiepi left 21:14 Kaiepi joined 21:16 |oLa| joined, AlexDaniel[m] left, tyil[m] left, unclechu[m] left, jameslenz left, mirlur[m] left, wictory[m] left, lance_w[m] left, ilmari[m] left 21:17 MitarashiDango[m left, AlexDaniel-old[m left, Garland_g[m] left, CIAvash[m] left, tyil[m]1 left, Matthew[m] left, EuAndreh[m] left 21:19 benchable6 left, nativecallable6 left, nativecallable6 joined, benchable6 joined, undersightable6 left 21:20 statisfiable6 left 21:33 spider-mario left 21:34 spider-mario joined 21:36 HaraldJoerg left 21:38 sour joined 21:39 rindolf left, LeboyX joined
LeboyX Not sure if this is going to be seen... 21:40
I was hoping to try and gain some understanding for how to pass cmd line args to a perl6 script 21:41
In particular, I'm trying to emulate functionality from the perl5 Getopt::Long module, where you could pass `--flag=first --flag=second`, and both args would be added to a single array
moritz LeboyX: I think you can say sub MAIN(@flag) { } and get comparable behavior 21:43
lizmat $ perl6 -e 'sub MAIN(:@flag) { dd @flag }' --flag=foo --flag=bar
["foo", "bar"]
moritz ah, lizmat++ is faster, I was just cooking up a similar example :-)
21:43 psychoslave joined
LeboyX @Moritz: Thanks. But now it'll complain unless I specify at least 2 instances of the flag 21:44
Do I need to add a "?" to it?
Or @lizmat 21:45
Still getting used to IRC's formatting
lizmat perl6 -e 'multi sub MAIN(:@flag) { dd @flag }; multi sub MAIN(:$flag) { say "one: $flag" }' --flag=foo --flag=bar 21:47
moritz huh, that might be a bug
lizmat perl6 -e 'multi sub MAIN(:@flag) { dd @flag }; multi sub MAIN(:$flag) { say "one: $flag" }' --flag=foo
moritz IMHO it should work with one
if you have several such args, you'd need an exponential number of multi candidates to do it that way
lizmat moritz: I guess it would if we would have slurpy named args 21:48
moritz oh
if you use a scalar in the signature, you can still supply multiple values on the command line
$ perl6 -e 'sub MAIN(:$flag) { say $flag.perl }' --flag=foo --flag=bar
$["foo", "bar"]
LeboyX I guess that's what I'm looking for: Slurpy, named args. 21:49
lizmat ah!, there you go!
LeboyX So I'll just have to dereference it as an array? 21:50
moritz lizmat: I don't think named slurpies are a thing, are they?
lizmat m: sub a(:$foo) { dd $foo }; a foo => 42, foo => 666 # subtly different behaviour with nameds in ordinary subs
camelia 666
21:50 psychoslave left
lizmat moritz: no, they are not, afaik 21:50
LeboyX I'm making my first foray from Perl5 to 6. I can't even get past the cmd line args
moritz LeboyX: $flag.list should result in something usable in either case
LeboyX Awesome
lizmat @$flag # shorter, maybe more Perl 5 like 21:51
21:51 kanbas left
lizmat goes to be 21:51
d&
LeboyX Is @$flag consider..."good" perl6? 21:52
Or is this a hack of some sort?
Well, I'm off and running. Thanks for all the help 21:54
timotimo no, it's totally fine 21:55
21:58 sour left 22:05 MitarashiDango[m joined 22:14 Midnght joined 22:16 gurmble joined 22:17 statisfiable6 joined 22:25 gurmble is now known as grumble 22:28 MasterDuke joined 22:30 Midnght left
sena_kun 6c: say utf8.new.decode('ascii'); 22:37
committable6 sena_kun, ¦6c (31 commits): «Can not decode a utf-8 buffer as if it were ascii␤ in block <unit> at /tmp/nnDyA0EZEC line 1␤␤ «exit code = 1»»
sena_kun bisect: say utf8.new.decode('ascii'); exit 42; 22:41
MasterDuke sena_kun: hm, it got disconnected for some reason and isn't reconnecting 22:45
sena_kun yes, as that.
22:45 bisectable6 joined
sena_kun *saw 22:45
MasterDuke ah, now it's back 22:46
sena_kun bisect: try { utf8.new.decode('ascii'); CATCH { default { exit 42; } }; exit 0; } 22:47
bisectable6 sena_kun, On both starting points (old=2015.12 new=bf514c1) the exit code is 42 and the output is identical as well
sena_kun, Output on both points: «»
sena_kun bisectable6++
22:49 dirtiestharp joined 22:55 fake_space_whale joined 23:09 dct joined 23:12 jameslenz joined, AlexDaniel-old[m joined, unclechu[m] joined, AlexDaniel[m] joined, mirlur[m] joined, wictory[m] joined, CIAvash[m] joined, tyil[m] joined, lance_w[m] joined, ilmari[m] joined, EuAndreh[m] joined, tyil[m]1 joined, Matthew[m] joined 23:13 Garland_g[m] joined 23:17 jameslenz left 23:31 dirtiestharp left 23:38 rindolf joined 23:42 gurmble joined 23:44 grumble left, gurmble is now known as grumble 23:55 pecastro left 23:57 rindolf left