»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 July 2018.
timotimo there's also ZEF_PLUGIN_DEBUG you can set in the environment, no clue if that'll be very helpful 00:00
muse verbose had this line ==> Found: GTK::Simple:ver<0.1.11> [via Zef::Repository::Ecosystems<p6c>] 00:02
irced muse: i suspect zef is trying to install to an unwritable location 00:03
muse oh hmm
irced muse: perhaps your perl distro is installed on a part of your drive to which users cannot write
timotimo zef has a --into flag, doesn't it?
it's --install-to 00:04
irced err, rakudo distro that is
timotimo you can try if giving a definitely-working path makes that work
irced my modules are installed to .../rakudo/share/perl6... 00:05
though i can't speak to all the directories under rakudo/ that zef writes to atm
muse perl6 -v is giving me a headache. i think my files are in c:\rakudo\... 00:06
which has attribute of read only ! 00:07
irced well some of those subdirectories will need to be writable. maybe share?
maybe even rakudo itself
muse i just made everything writable and it's working 00:08
irced or you can follow timotimo suggestion to specify a different directory though that might warrant creating an environment variable to load to modules correctly
thought so
muse nevermind its stiill giving the same error T_T 00:09
irced make sure the subdirectories are writable
or maybe zef's install-to keeps track of meta data i dunno 00:10
alternatively, see if rakudo can be installed as a user instead of admin. not sure myself been awhile since i installed it on windows. directions may be at the website.
timotimo i haven't used rakudo on windows yet 00:12
irced after trying to make rakudo recursively writable
timotimo if you're on windows 10, you can get it to work on WSL
Elronnd I would use the native windows version
(from wsl)
irced muse: timotimo suggested debug flags to zef that may reveal more about paths to which it is trying to fetch 00:13
muse: which i still believe is the most likely scenario for a "failed to fetch" error, ruling out connectivity
timotimo does that even work? 00:15
muse ===> Found: GTK::Simple:ver<0.1.11> [via Zef::Repository::Ecosystems<p6c>] 00:16
cpan-p6 New module released to CPAN! OEIS (1.0.1) by 03TOBS
netrino I just tried to install GTK::Simple on a windows machine, the rakudo is located at the same place "C:\rakudo" and i didn't change anything with regards to writability. It installed successfully, maybe the problem is somewhere else? 00:17
irced netrino: maybe you are logged in as admin?
timotimo maybe it's time to release GTK::Simple on cpan
then it doesn't have to use git to get it
muse netrino did it fail?
netrino irced: i didn't start the shell as admin, no
muse oh nm im dumb 00:18
im using powershell does that matter?
irced muse: very possibly
netrino muse: i'm using that too
irced powershell policies could be interfering
maybe even powershell environment variables 00:19
muse ok back to cmd.exe
netrino i think policies usually restrict script execution, not file access
at laest i'm not aware of those, tbh i don't really know powershell internals 00:20
irced netrino: point taken but maybe the powershell profile is nonstandard
netrino: in which case even if it's not a policy issue it could be an environment issue
timotimo this windows thing sounds really difficult 00:21
i wonder if they ever get to become an end-user desktop operating system
muse cmd.exe didn't help
irced well i am just trying to rule out a "profile" issue 00:22
muse: and you have confirmed git is in the executable search path?
muse yes if i type git it gives me a bunch of instructions
irced what version of zef?
timotimo we even tried "perl6 -e 'run <git help>'" and got output
0.7.1 00:23
irced muse: you might try to run cmd/powershell as administrator to see if it has an effect 00:24
muse: that way privilege issues may possibly be ruled out
that's an older version of zef incidentally
netrino Wow, i just tried to run in repl some commands from examples and it does work, so simple! Wasn't aware of GTK::Simple and that gtk would be so effortless to use on Windows.
timotimo probably came with the rakudo star version in question? 00:25
irced netrino: cool
muse my git is super old its 1.9.5.msysgit.0
timotimo netrino: \o/
muse u making me jealous T_T
irced muse: that is another issue. also, try to use the flag --dry to zef
netrino muse: :D sorry
irced muse: zef --dry install GTK::Simple 00:26
muse: but very likely git is not parsing because it's outdated. major version is -1
muse: now that you mention it
netrino muse: try to go to your $HOME/.zef\store\gtk-simple.git
timotimo are you sure git made non-backwards-compatible changes? 00:27
irced muse: of course, as timotimo suggested, you can look at debug output from zef
considering it's one major version behind, it can't be ruled out
netrino muse: there should be some directory with obsure name, enter it and try to do git fetch or something
muse pastebin.com/ckdkdzVC 00:28
irced zef may be passing some command line arguments to git maybe even shortcuts or some arguments have been deprecated possibly and replaced with more natural options
which zef could conceivably be passing to it
see, zef is failing with Zef::Service::Shell::git+ 00:29
which implies the shell is exiting with an error code because git did not parse
timotimo i kind of wish it would pass on the output with some flag
netrino muse: btw, did you try to run it with --force-fetch?
muse yup
timotimo it'll just fail the next step when all the files are missing 00:30
netrino :(
irced muse: zef --dry install GTK::Simple ? 00:30
muse: anyway, at least get git up to the last major version 2
netrino github.com/perl6/doc/issues/2486 there is also this issue, doesn't seem to be resolved though 00:31
timotimo you could try getting Github For Windows which should come with an up-to-date git for windows
muse k
irced or as timotimo suggested pass some debug flags to zef to see if you can get more information
timotimo already tried 00:32
it didn't give much more info
irced k
muse lol so many options on git 00:33
am happy its integrated with vim tho
irced anyway, i'm thinking rakudo and zef probably utilize the home directory so that the write privilege issue is now moot. so, if netrino can confirm a git major version 2, we can compare oranges to oranges 00:34
timotimo oh yeah, fugitive is pretty cool
netrino I do have git v2
timotimo using git clone to get the repo manually, then cd-ing in to "zef install ." will be a workaround for the time being
irced muse: you may as well do that, and it will also help isolate the issue a bit 00:35
muse do i use git bash or cmd.exe
irced shouldn't matter, you're just cloning 00:36
muse building atm 00:37
irced crosses fingers. 00:38
muse testing
irced 's fingers redden.
muse installing 00:39
irced 's fingers become cyanotic. 00:40
muse success XD
irced falls over.
netrino \ o /
irced good thinking timotimo 00:42
muse hello world in gtk works!
thx everyone for helping me
irced pats timotimo on the back.
anyway, assuming it's not a git parsing thing, maybe muse was in git bash which had the git executable in the path whereas maybe in cmd and or powershell git was not in the search path ? 00:56
in which case run or shell from perl6 might not have seen it
muse no i was in windows powershell and cmd.exe and both let me run git 00:57
irced ok
thanks for letting me know 😃
muse :)
pilne ok, i might just about be ready... 01:10
rakudo, check. git, check, vscode, check.
harmil So my "non-Perl 6 language Perl 6 Regex" spec (tentatively calling it Gen6 Regex) now has a reference parser that parses itself: github.com/ajs/tools/blob/master/l...egex/regex -- I'll have to move it to its own repo at some point 02:27
It was a real pain. Some things I'm still befuddled by (escaping backslashes in character classes might be bugged but I couldn't find a small repro) but I'm going to call it done for now. Back to $work tomorrow. 02:30
irced good luck 02:35
El_Che morning/some other part of the day in your timezone! 06:35
irced snores loudly. 06:42
discord6 <Aearnus> heh. it's definitely nearing morning here. 07:26
moritz it's always morning in UGT :D 07:49
El_Che_ moritz: lol 07:56
jast false - it's not morning when you leave 07:58
masak m: my proto $x; my multi $x = 1; my multi $x = 2; say $x 08:17
camelia Potential difficulties:
Redeclaration of symbol '$x'
at <tmp>:1
------> 3my proto $x; my multi $x7⏏5 = 1; my multi $x = 2; say $x
Redeclaration of symbol '$x'
at <tmp>:1
------> 3y proto $x; my multi $x = 1; …
masak (hi, #perl6)
masak S12 mentions -- to my big surprise -- that the above should work, and print '2' 08:17
I'm not sure whether it should be `my proto` or `proto my`, but this is the variant that parsed 08:18
moritz urk. 08:24
masak :)
yeah, maybe we just declare it a fossil and move on with life
AlexDaniel masak: as for moving on, I think we're already doing that :) Features like this tend to have some tests in roast, but maybe for 6.e we should clean roast by removing most of the skipped and todo-ed tests 09:38
vrurg: ↑ something to consider
tyil chloekek: tomorrow is amsterdam.pm, if you're interested :> 09:51
daxim do you have a public issue tracker for ams 2020? 10:11
chloekek tyil: tomorrow is work :P 10:20
tyil it's in the evening :<
daxim: don't think we have, right now I'm mostly using the perlcon wiki (and trying to nudge samcv to update it with all the information she has) 10:21
daxim (with my conf organiser hat on) I trust you the following info will not fall under the table: badge.reviews/10-rules-for-a-bette...ame-badge/ 10:22
this design was successfully tried out at gpw2019 10:23
tyil I'll click the link, and read it when I get home (of if work has a slow time later today)
if you want, I can also grant you an account on the wiki if you want to contribute there :)
tbrowder any deb/emacs users upgraded to buster yet! 11:11
i have, and my editor highlighting of selected text doesn't work--bummer! 11:12
*yet?
AlexDaniel tbrowder: I don't know, I'm on unstable and seeing no issues 11:34
tbrowder thnx 11:35
i'll check deb users list
Geth doc: e60e7073f7 | ab5tract++ | doc/Language/nativecall.pod6
Add note about working around NC lib name expansion
11:52
synopsebot Link: doc.perl6.org/language/nativecall
doc: 415c901ecf | ab5tract++ | doc/Language/nativecall.pod6
Make the text blend a bit more clearly with its surroundings
11:54
synopsebot Link: doc.perl6.org/language/nativecall
Geth whateverable: fc4d2577f5 | (Aleks-Daniel Jakimenko-Aleksejev)++ | xt/tellable.t
Add a test for receiving all messages
13:44
Geth doc: eed771d3dc | Coke++ | doc/Language/performance.pod6
no dash in moarpref
13:52
synopsebot Link: doc.perl6.org/language/performance
doc: 1b907cc7f8 | Coke++ | xt/words.pws
new words
scimon Is there any thoughts on changing the default Rat -> Float fall back to Rat -> FatRat? 14:24
AlexDaniel scimon: yeah, we have this discussion from time to time 14:32
scimon: you can create a ticket in the problem-solving repo 14:33
scimon Sounds like a plan (weekly challenge made me think about it). 14:43
tbrowder .seen jjmerelo 16:08
.tell Xliff check doc issue #2944 16:09
tbrowder can anyone see my irc dot commands? 16:10
can anyone see this plain text? 16:11
tobs tbrowder: yes
tbrowder thnx, i don't know why my dot commands aren't working :( 16:12
tobs yoleaux, who kept an eye on .seen and .tell, is still in the process of being replaced, I think.
tbrowder ah, that would explain it!
tbrowder jmerelo: please check doc issus #2944 16:13
Xliff: ditto
*issue 16:14
tobs AlexDaniel would be knowing more about it
tbrowder thnx
AlexDaniel yeah, I'm working on it 16:15
Geth problem-solving: vrurg++ created pull request #87:
Add vrurg to the list
17:16
harmil Between the unicode spec and what I'm reading of NQPRegex, it seems like <:Property<Y>> should be a synonym for <:Property>, but that's not the case. Is there a well-documented interface between the Unicode spec and the implementation in Rakudo/NQP? 18:08
lembark Q: Anyone hae a good, complete example of using a promise? Say I have to open a file for output, fork gzip, bind-stdin. A chained promise to open the file and start gzip seems like an appropriate way to do this, but the doc examples don't realy show to do anything that takes more than one step. 21:00
Thanks
timotimo personally, i'd put all that code in just a single "start" block 21:06
Geth doc/regexes: b1df019ede | threadless-screw++ | doc/Language/regexes.pod6
Some additional amendments to updated Literals section
21:25
Geth doc: fbff02f8f6 | Alexander++ (committed using GitHub Web editor) | doc/Language/regexes.pod6
Upgrade of Literals section (#2946)

  * Upgrade of Literals section
  * Some additional amendments to updated Literals section
21:29
synopsebot Link: doc.perl6.org/language/regexes
gdonald When I'm using a grammar to parse a string with newlines, is there already a way to know which line I'm on? 21:32
timotimo probably enough to do $/.prematch.lines.elems 21:52
phogg Is there some easy way to get all of the perl6 docs a single downloadable file (PDF, HTML, whatever)? 21:55
timotimo doc.perl6.org/perl6.xhtml - i think you can download this file 21:56
it currently has the wrong content type though?
actually, no 21:57
that's not it at all
there used to be something, but we've just recently moved servers
phogg I was going to feel real dumb if it turned out to be that obvious.
SmokeMachine jnthn: just curious: why ofun isn’t a real contender? 21:58
tobs phogg: this is it: docs.perl6.org/perl6.html 21:59
timotimo damn it 22:00
i was so close
tobs second sentence on docs.perl6.org :)
timotimo there is a link to that there?
phogg tobs: d'oh, staring me right in the face 22:01
I knew this couldn't be that weird of a want.
tobs yeah, but I only *didn't* skip it because I knew that what I was looking for was actually somewhere obvious for once
phogg tobs, timotimo: thanks to you both.
timotimo i was about to ask if someone maybe wants to put a link to that somewhere obvious 22:02
phogg You don't really appreciate the work that has gone in to the docs until you're staring at a 4 meg HTML file. It just goes on forever. 22:05
discord6 <Aearnus> perhaps someone should try to hoist the docs into an offline viewer like zealdocs.org/
tobs Aernus: the p6doc module does that, I believe 22:10
discord6 <Aearnus> sweet 😄 22:13
tobs (and to clarify "[information] was actually somewhere obvious for once" I meant relative to the internet at large. I love perl6/doc) 22:16
tbrowder folks, i said i would ask damian conway his opinion of empty values for pod configuration keys. he kindly gave me a detailed answer which i will place in the docs somewhere, most likely in the rakudo repo. i put his response for now in this public gist: gist.github.com/tbrowder/dd9bf5cdf...ef6c4a51b0 22:47
tobs tbrowder++ 22:48
tbrowder damian is a real gentleman, and one of the kindest, and smartest, of living people i know of (which includes donald knuth); they are two of my favorite scientists 22:51
i add larry wall as the third in that group, with the same attributes 22:52
as a friend of mine would describe them, they all have "servant hearts" 22:53
or "hearts for service" 22:54