🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel! Set by lizmat on 8 June 2022. |
|||
00:00
reportable6 left
00:01
reportable6 joined
00:03
kolofon joined
00:14
Maylay left
00:16
jgaz left
00:22
kolofon left
00:30
Maylay joined
01:30
reportable6 left,
evalable6 left,
greppable6 left,
committable6 left,
quotable6 left,
sourceable6 left,
nativecallable6 left,
bloatable6 left,
statisfiable6 left,
coverable6 left,
releasable6 left,
bisectable6 left,
shareable6 left,
tellable6 left,
unicodable6 left,
linkable6 left,
notable6 left,
benchable6 left,
sourceable6 joined,
evalable6 joined,
linkable6 joined
01:31
notable6 joined,
unicodable6 joined,
Kaiepi left,
bisectable6 joined,
greppable6 joined
01:32
shareable6 joined,
quotable6 joined,
coverable6 joined,
statisfiable6 joined,
benchable6 joined,
nativecallable6 joined
01:33
reportable6 joined,
bloatable6 joined,
releasable6 joined,
committable6 joined
01:45
japhb left
01:58
japhb joined
01:59
ProperNoun left
02:01
ProperNoun joined
02:14
Maylay left
02:19
Maylay joined
02:23
Maylay left
02:50
Maylay joined
03:21
Maylay left
03:22
Maylay joined
03:33
Maylay left
04:10
Maylay joined
05:00
Maylay left
06:00
reportable6 left
06:01
reportable6 joined
06:14
Maylay joined
06:32
Maylay left
06:44
discord-raku-bot left
06:57
Maylay joined
07:22
Maylay left
07:35
bingos is now known as BinGOs
07:50
Maylay joined
07:53
Sgeo left
08:03
Maylay left
08:16
Maylay joined
08:38
Maylay left
08:42
Maylay joined
08:55
Maylay left
09:17
gfldex joined
09:18
dakkar joined
09:19
discord-raku-bot joined
09:22
Maylay joined
09:23
discord-raku-bot left
09:30
Maylay left
09:31
synthmeat left,
synthmeat joined
09:35
Maylay joined
09:36
sena_kun joined
09:47
Maylay left
10:01
Kaiepi joined
10:06
Maylay joined
10:07
lichtkind joined
11:07
notable6 left,
coverable6 left,
quotable6 left,
greppable6 left,
benchable6 left,
committable6 left,
nativecallable6 left,
linkable6 left,
statisfiable6 left,
bisectable6 left,
unicodable6 left,
shareable6 left,
evalable6 left,
sourceable6 left,
bloatable6 left,
releasable6 left,
reportable6 left
11:08
linkable6 joined,
greppable6 joined,
statisfiable6 joined,
bisectable6 joined,
releasable6 joined,
shareable6 joined
11:09
benchable6 joined,
coverable6 joined,
unicodable6 joined,
nativecallable6 joined
11:10
notable6 joined,
bloatable6 joined,
reportable6 joined,
sourceable6 joined,
committable6 joined,
quotable6 joined,
evalable6 joined
11:36
andinus` left
11:37
andinus joined
12:00
reportable6 left
12:02
reportable6 joined
13:02
nativecallable6 left,
greppable6 left,
shareable6 left,
unicodable6 left,
evalable6 left,
sourceable6 left,
coverable6 left,
bloatable6 left,
reportable6 left,
statisfiable6 left,
committable6 left,
bisectable6 left,
benchable6 left,
linkable6 left,
quotable6 left,
releasable6 left,
notable6 left
13:03
bisectable6 joined,
benchable6 joined,
sourceable6 joined,
unicodable6 joined
13:04
statisfiable6 joined,
evalable6 joined,
bloatable6 joined,
committable6 joined,
releasable6 joined
13:05
linkable6 joined,
nativecallable6 joined,
notable6 joined,
coverable6 joined,
shareable6 joined
13:06
greppable6 joined,
quotable6 joined,
reportable6 joined
14:06
reportable6 left,
releasable6 left,
notable6 left,
shareable6 left,
committable6 left,
sourceable6 left,
statisfiable6 left,
benchable6 left,
evalable6 left,
nativecallable6 left,
bloatable6 left,
coverable6 left,
unicodable6 left,
quotable6 left,
linkable6 left,
greppable6 left,
bisectable6 left,
bloatable6 joined,
unicodable6 joined,
releasable6 joined,
bisectable6 joined,
notable6 joined,
greppable6 joined
14:07
linkable6 joined,
committable6 joined,
quotable6 joined,
evalable6 joined,
statisfiable6 joined,
sourceable6 joined
14:08
nativecallable6 joined,
coverable6 joined
14:09
shareable6 joined,
benchable6 joined,
reportable6 joined
|
|||
tbrowder | ref path parts, that's not quite correct. iour IO guide doesn't | 14:19 | |
show how deeper dir structures work. in fact, i would like to see more class methods to truly take a path apart. (perhaps one called .subpaths or such since .parts is taken; or .all-parts; OR enhance the current .parts) | 14:22 | ||
Voldenet | consider calling them path segments | 14:37 | |
it's URI naming, but I find it neat | |||
14:49
dogbert17 joined
|
|||
tbrowder | i like that. but fiddling deeper with docs i see most examples are using syntax of "/full/path".IO.method but i don't see a more practical example where a prog has a path or file name in $filename and then operate on that. i'm still working on a possible doc chg and finding lots i've not visited before in the IO and IO::Path classes... | 14:51 | |
14:51
dogbert11 left
15:51
shareable6 left,
quotable6 left,
bloatable6 left,
nativecallable6 left,
sourceable6 left,
notable6 left,
reportable6 left,
releasable6 left,
linkable6 left,
evalable6 left,
coverable6 left,
unicodable6 left,
bisectable6 left,
statisfiable6 left,
benchable6 left,
committable6 left,
greppable6 left
15:52
nativecallable6 joined,
bisectable6 joined,
coverable6 joined
15:53
benchable6 joined,
committable6 joined,
reportable6 joined,
notable6 joined,
bloatable6 joined,
unicodable6 joined,
quotable6 joined
15:54
linkable6 joined,
shareable6 joined,
greppable6 joined,
sourceable6 joined,
evalable6 joined,
releasable6 joined,
statisfiable6 joined
|
|||
tbrowder | yep, path handling imho could be better. | 15:56 | |
[Coke] | I am using proc::async to run a bunch of git commands, and for some reason my list of branches isn't matching up when I run the commands by hand. the async pattern makes it a little challening to true up the output from the various commands to the output I'd get by hand. (esp. since I'm running commands with 100s of branch names) | 15:57 | |
I'm sure I'm doing something stupid somewhere, just can't do the matchup to see what it is. :) | 15:59 | ||
tbrowder | file.parents for all paths, e.g.: "/a/b/c".IO.parents.say: "/a", "/a/b" | 16:00 | |
file | 16:01 | ||
"/a/b/c".segments.say: "a", "b", "c" | 16:02 | ||
hm, a quick glance at rakudo source and it looks like .segments would be a cake walk for lizmat ;-) | 16:15 | ||
ugexe | split on $SPEC.dir-sep | 16:18 | |
$*SPEC.dir-sep | |||
which also probably reads better than something like 'segment' which could reasonably be interpreted to mean many other things | 16:19 | ||
tbrowder | .path-segments | ||
ugexe | i dont see how a developer can imply what .path-segments means either | 16:20 | |
(i.e. windows will have a volume, is that part of a segment?) | |||
tbrowder | m: my $p = "/a/b/c"; $p.split: $*SPEC.dir-sep | 16:21 | |
camelia | ( no output ) | ||
ugexe | m: say "/a/b/c".split($*SPEC.dir-sep) | 16:22 | |
camelia | ( a b c) | ||
tbrowder | yes, i would expect to get the volume | ||
ugexe | right, but would everyone? | ||
tbrowder | good question | ||
run it up the flag pole and see if anyone salutes it :-D | 16:23 | ||
i think we already show the volume on .parts (or one of the other methods) | 16:25 | ||
anyhow, i see the work-around for my current use case | 16:26 | ||
thnx for the $*SPEC.dir-sep reminder | 16:27 | ||
[Coke] | is there a case where "git show -q --format='...' remotebranch1 remotebranch2 remotebranch3" would not return 3 lines of output? | 16:40 | |
DOH. Yes - when two of the branches are the same commit. | 16:48 | ||
I had started chunking the git calls (had been doing 2 calls per branch, figured out how to do 1 per a hundred)... but now over the thousands of branches I'm looking at, some are dupes, and so fall off the output list. Oy. | 16:50 | ||
16:54
linkable6 left
16:55
linkable6 joined
|
|||
[Coke] | raku, sorry I doubted you. :) | 16:57 | |
17:02
dakkar left
17:22
ProperNoun left
17:29
tejr left,
tejr joined
17:54
Scotteh_ is now known as Scotteh
18:00
reportable6 left,
reportable6 joined
|
|||
lizmat clickbaits rakudoweekly.blog/2022/08/01/2022-...merelease/ | 18:13 | ||
18:33
mexen left
19:33
linkable6 left
19:36
linkable6 joined
19:55
kolofon joined
20:22
japhb left
20:33
japhb joined
|
|||
[Coke] | m: class A { has Int $.foo } ; my $a = A.new; $a.foo = 3; | 20:41 | |
camelia | Cannot modify an immutable 'Int' type object in block <unit> at <tmp> line 1 |
||
[Coke] | What dumb thing am I doing here? | ||
ugexe | m: class A { has Int $.foo is rw } ; my $a = A.new; $a.foo = 3; | 20:42 | |
camelia | ( no output ) | ||
[Coke] | ah, that dumb thing. Thanks | ||
21:26
Maylay left
21:29
Maylay joined
21:31
BinGOs left
21:37
sena_kun left
21:39
kolofon left
22:26
bingos joined
22:45
Sgeo joined
23:08
lichtkind left
23:31
gugod joined
23:54
[Coke]_ joined
23:56
[Coke] left
23:58
gfldex left
|