🦋 Welcome to the former MAIN() IRC channel of the Raku Programming Language (raku.org). This channel has moved to Libera (irc.libera.chat #raku)
Set by lizmat on 23 May 2021.
00:02 reportable6 left 00:05 reportable6 joined
Geth doc: 163a4945e2 | Coke++ | doc/Language/operators.pod6
linkable6 Link: docs.raku.org/language/operators
00:49 monkey_ joined 00:56 Kaiepi left, Kaipi joined 01:35 neshpion joined 01:57 Eddward_ joined 02:01 neshpion left, neshpion joined 02:05 Manifest0 left, Manifest0 joined 02:45 frost joined 02:50 Kaipi left 02:51 Kaiepi joined 03:08 monkey_ left 03:09 Eddward_ left 04:09 reportable6 left, committable6 left, notable6 left, sourceable6 left, tellable6 left, bloatable6 left, linkable6 left, bisectable6 left, quotable6 left, releasable6 left, evalable6 left, unicodable6 left, nativecallable6 left, shareable6 left, benchable6 left, coverable6 left, statisfiable6 left, greppable6 left, squashable6 left 04:10 bisectable6 joined, greppable6 joined, benchable6 joined, coverable6 joined, statisfiable6 joined, squashable6 joined, releasable6 joined, reportable6 joined, tellable6 joined, notable6 joined 04:11 linkable6 joined, quotable6 joined, sourceable6 joined, unicodable6 joined, evalable6 joined, bloatable6 joined 04:12 committable6 joined, shareable6 joined, nativecallable6 joined 04:14 Eddward_ joined 04:18 gordonfish left 04:20 gordonfish joined 05:00 juanfra left, tinita left, elcaro left, camelia left, nebuchadnezzar left, doconthe1ocks left, lucs left, jjatria left, bartolin_ left, pierrot left, pounce left, lucs_ joined, bartolin joined, elcaro joined, tinita joined, doconthe1ocks joined, jjatria_ joined, pounce joined, pierrot_ joined 05:01 jjatria_ is now known as jjatria 05:04 camelia joined 05:07 ToddAndMargo joined
ToddAndMargo Hi All! Is there way to get the full path of my current working directory? `$*SPEC.curdir` just returns a single dot `.` 05:09
Figured it out. It is $*CWD 05:11
bye bye
moon-child see ya 05:12
05:12 ToddAndMargo left 06:02 reportable6 left 06:05 reportable6 joined 06:11 m_athias left, camelia left, m_athias1 joined, nine left 06:16 nine joined 06:20 camelia joined 06:36 neshpion left 06:48 guifa left 07:22 Eddward_ left 08:22 nativecallable6 left, releasable6 left, bloatable6 left, squashable6 left, reportable6 left, greppable6 left, statisfiable6 left, unicodable6 left, sourceable6 left, tellable6 left, linkable6 left, bisectable6 left, shareable6 left, quotable6 left, coverable6 left, committable6 left, benchable6 left, notable6 left, evalable6 left, unicodable6 joined, samebchase left, quotable6 joined, greppable6 joined, notable6 joined, evalable6 joined 08:23 squashable6 joined, coverable6 joined, sourceable6 joined, bisectable6 joined, benchable6 joined, linkable6 joined 08:24 bloatable6 joined, nativecallable6 joined, committable6 joined, shareable6 joined, reportable6 joined, releasable6 joined, tellable6 joined 08:25 statisfiable6 joined, demostanis[m] left, littlebenlittle[ left, cnx left, CIAvash left, AlexDaniel left, happy-dude left, aolko[m] left 08:28 juanfra joined 08:31 demostanis[m] joined, AlexDaniel joined, cnx joined, happy-dude joined 08:32 aolko[m] joined, littlebenlittle[ joined, CIAvash joined 09:01 sono left 09:24 frost left 09:27 frost joined
Geth ¦ doc: tbrowder self-assigned Need a tutorial for Linux users wanting to use Raku on Windows github.com/Raku/doc/issues/3913 09:30
09:45 frost left 10:01 tamarro joined
tamarro why in Raku the logic behind the "current working directory" is duplicated and abstracted from the real meaning? Isn't this a flaw? 10:06
gfldex tamarro: we don't call fork anymore. So we have to provide the ENV ourself.
tamarro gfldex: this looks very confusing to me pastebin.com/LANJJRa9 10:08
I wonder if Java does that 10:09
probably not
ok, checked, java does not support chdir 10:10
Ruby raises a warning if chdir is called with multiple threads 10:11
I think the logic behind Raku approach is sane, just another case of DIHWIDI 10:12
action at a distance is never cool 10:13
m: use NativeCall; sub execve(Str, int32, int32) is native { * }; sub fork(--> int32) is native { * }; execve("/bin/ls", 0, 0) if fork(); say "here" 10:19
camelia (signal ABRT)here
A NULL argv[0] was passed through an exec system call.
tamarro works on macos
lizmat In Raku each thread has its own "current directory" in $*CWD 10:20
tamarro thanks lizmat, I figured out, makes sense 10:21
basically the unix semantic doesn't play well with multithreaded programs. We knew that
so either you do like java and you disable chdir
or you do like Raku and you introduce the concept of dynamic variables 10:22
10:30 Sgeo left
tamarro multithreading is a concept loaded with many different meaning.. If I understand correctly in Raku this is mostly the Rx-model.. I wonder if multiprocessing really had inherent handicaps to handle this model 10:32
well.. perl is quite poor in the area so probably, yes 10:33
lizmat tamarro: what do you understand by "the Rx -model" ? 10:35
tamarro react ,Channels , Promises, Supplies 10:36
lizmat ah...I guess that's a yes then :-)
10:37 samebchase joined
tamarro I find it funny that all this somehow coincide to unix IPC primitives. But somehow there is not a single high level language that uses them to the full power 10:38
lizmat how would you rate Raku in that respect ? 10:39
tamarro I love it
10:40 hankache joined 10:43 tamarro left 10:45 hankache left 10:50 notna joined
tbrowder m: my $s="\"; say $s 10:53
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot use variable $s in declaration to initialize itself
at <tmp>:1
------> 3my $s="\"; say $7⏏5s
expecting any of:
double quotes
tbrowder m: my $s='\\'; say $s 10:55
camelia \
tbrowder m: my $s='\\'; say $s ~~ /'\\'/; 10:56
camelia 「\」
tbrowder my $s = '\\\n'; say so $s ~~ /'\\$/ 10:57
m: my $s = '\\\n'; say so $s ~~ /'\\'$/ 10:58
camelia False
tbrowder m: my $s='\\'; $s ~~ s/'\\'//; 11:00
camelia ( no output )
dpk i'm moderately surprised that it complains about the recursive definition first, rather than the unterminated string literal
tbrowder m: my $s='\\ foo'; $s~~ s/'\\'//; say "$s" 11:02
camelia foo
11:36 frost joined 11:44 frost left 12:02 reportable6 left 12:04 reportable6 joined 12:22 frost joined 12:55 frost left
Geth raku.org: 48e70a961c | (Sizhe Zhao)++ | source/index.html
Change .perl to .raku in examples
raku.org: 14d82fa148 | (Sizhe Zhao)++ (committed using GitHub Web editor) | source/index.html
Merge pull request #147 from Prince213/perl-to-raku

Change .perl to .raku in examples
13:55 evalable6 left, linkable6 left 13:56 linkable6 joined 13:58 evalable6 joined 14:01 notna left 14:17 monkey_ joined 14:18 lucs_ is now known as lucs 14:28 RandalSchwartz joined
gfldex lolibloggedalittle: gfldex.wordpress.com/2021/07/11/co...-addition/ 14:35
Geth problem-solving/clarify-readme: a91a274442 | (Daniel Sockwell)++ (committed using GitHub Web editor) | README.md
Resolve remaining comments

The remaining comments were mostly nits; this commit accepts them all.
15:01 jess joined
Geth problem-solving/clarify-readme: e84670523f | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | README.md
15:12 monkey_ left 15:39 monkey_ joined 15:51 cbk joined 16:22 cbk left 16:51 cbk joined 17:28 melezhik joined
melezhik . 17:28
18:03 reportable6 left 18:05 reportable6 joined
melezhik .tell tonyo fez works for me as a charm, thanks a lot for your work - gist.github.com/melezhik/7cda94dc4...4d64c3962a 18:07
tellable6 melezhik, I'll pass your message to tonyo
18:08 RandalSchwartz left 18:16 melezhik left 18:25 monkey_ left 18:29 sftp left 18:37 Sgeo joined 18:39 abraxxa-home joined 18:40 abraxxa-home left 18:43 abraxxa-home joined 18:45 Eddward_ joined 19:45 evalable6 left, linkable6 left 19:46 linkable6 joined 19:47 evalable6 joined 19:51 sono joined 20:24 Altai-man left, Altai-man joined 20:37 abraxxa-home left, abraxxa-home joined 20:56 abraxxa-home left 21:16 xinming_ is now known as xinming 21:53 RandalSchwartz joined 21:57 cbk left 22:57 benchable6 left, releasable6 left, evalable6 left, coverable6 left, sourceable6 left, unicodable6 left, committable6 left, quotable6 left, nativecallable6 left, notable6 left, statisfiable6 left, bloatable6 left, bisectable6 left, greppable6 left, tellable6 left, reportable6 left, linkable6 left, squashable6 left, shareable6 left, committable6 joined 22:58 unicodable6 joined, evalable6 joined, nativecallable6 joined, bloatable6 joined, quotable6 joined, releasable6 joined 22:59 greppable6 joined, notable6 joined, benchable6 joined, bisectable6 joined, coverable6 joined, linkable6 joined, shareable6 joined, statisfiable6 joined 23:00 sourceable6 joined, tellable6 joined, reportable6 joined, squashable6 joined