🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). 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 6 September 2022.
00:00 reportable6 left 00:01 reportable6 joined
japhb Tirifto: Which of these pairs can you see? ASCII: < > Latin1: « » WGL4: ◄ ► Uni1: ◀ ▶ Uni7: ⯇ ⯈ 00:10
00:16 Manifest0 left
japhb ponders whether he actually knows enough at this point about terminals to create a separate Terminal::Capabilities module that doesn't suck ... 00:17
It turns out 60-year-old technology has a lot of nuance .... 00:18
00:43 dextercd left 00:49 jpn joined
japhb Terminal::LineEditor now defaults to slightly more compatible scroll markers (Unicode 1.1 instead of Unicode 7.0). 00:52
00:54 jpn left 01:43 jpn joined 01:49 jpn left 02:00 lichtkind__ left 02:10 jpn joined 02:15 jpn left 02:23 tea3po left, tea3po joined 02:25 jpn joined 02:31 jpn left 02:37 PotatoGim left 02:38 PotatoGim joined
japhb Meh, "fortune favors the bold". Terminal::Capabilities:ver<0.0.1>:auth<zef:japhb> now created and uploaded. 02:45
02:57 jpn joined 03:02 jpn left 03:23 jcallen left 03:24 jcallen joined 03:32 jcallen left 03:33 jcallen joined 03:51 jpn joined 03:56 jpn left 04:59 nativecallable6 left, bloatable6 left, linkable6 left, greppable6 left, tellable6 left, committable6 left, reportable6 left, squashable6 left, statisfiable6 left, releasable6 left, quotable6 left, unicodable6 left, benchable6 left, sourceable6 left, notable6 left, shareable6 left, coverable6 left, evalable6 left, bisectable6 left, tellable6 joined, linkable6 joined, committable6 joined, bloatable6 joined 05:00 greppable6 joined, benchable6 joined, quotable6 joined, releasable6 joined, reportable6 joined, jpn joined, evalable6 joined 05:01 nativecallable6 joined, notable6 joined, shareable6 joined, squashable6 joined, statisfiable6 joined, sourceable6 joined, unicodable6 joined, coverable6 joined 05:02 bisectable6 joined, xelxebar left 05:03 xelxebar joined 05:05 jpn left 05:41 jpn joined 05:46 jpn left, Woodi left, Woodi joined 06:00 reportable6 left 06:01 reportable6 joined 06:05 xkr47 left, xkr47 joined 06:21 abraxxa joined 06:35 jpn joined 06:40 jpn left 07:17 jpn joined 07:24 jpn left 07:35 sena_kun joined 08:02 dakkar joined 08:06 sena_kun left 08:07 sena_kun joined 08:13 squashable6 left 08:14 squashable6 joined 08:25 Sgeo left 08:51 Xliff joined
Xliff \o 08:51
multi sub infix:<‿> ($a, $b) { infix:<,>($a, $b) }; say 1‿2; 08:56
evalable6 (1 2)
Xliff multi sub infix:<‿> ($a, $b) { infix:<,>($a, $b) }; say 1‿2‿3;
evalable6 ((1 2) 3)
Xliff multi sub infix:<‿> ($a, $b) { |infix:<,>($a, $b) }; say 1‿2‿3;
evalable6 (1 2 3)
08:58 lichtkind__ joined
Xliff multi sub infix:<‿> ($a, $b) { infix:<,>(|$a, $b) }; say 1‿2‿3; 09:00
evalable6 (1 2 3)
Xliff multi sub infix:<‿> ($a, $b) { infix:<,>(ia ~~ List ?? |$a !! $a, $b) }; say 1‿2‿3; 09:05
m: multi sub infix:<‿> ($a, $b) { infix:<,>(ia ~~ List ?? |$a !! $a, $b) }; say 1‿2‿3;
camelia ===SORRY!=== Error while compiling <tmp>
Expected a term, but found either infix ~~ or redundant prefix ~
(to suppress this message, please use a space like ~ ~)
at <tmp>:1
------> sub infix:<‿> ($a, $b) { infix:<,>(ia ~~⏏ Li…
Xliff m: multi sub infix:<‿> ($a, $b) { infix:<,>($a ~~ List ?? |$a !! $a, $b) }; say 1‿2‿3;
camelia (1 2 3)
Xliff m: multi sub infix:<‿> ($a, $b) { infix:<,>($a ~~ List ?? |$a !! $a, $b) }; say [1‿2]‿3;
camelia (1 2 3)
Xliff *snarl* 09:06
m: multi sub infix:<‿> ($a, $b) { infix:<,>($a ~~ List ?? |$a !! $a, $b) }; say [1‿2]‿3; [1‿2].^name.sayu
camelia (1 2 3)
No such method 'sayu' for string 'Array'. Did you mean any of these:
'say', 'raku'?
in block <unit> at <tmp> line 1
Xliff m: multi sub infix:<‿> ($a, $b) { infix:<,>($a ~~ List ?? |$a !! $a, $b) }; say [1‿2]‿3; [1‿2].^name.say
camelia (1 2 3)
Array
Xliff m: multi sub infix:<‿> ($a, $b) { infix:<,>( ($a ~~ List ?? |$a !! $a), $b) }; say [1‿2]‿3; 09:07
camelia (1 2 3)
Xliff m: say Array ~~ List
camelia True
Xliff m: multi sub infix:<‿> ($a, $b) { infix:<,>($a.WHAT === List ?? |$a !! $a, $b) }; say 1‿2‿3; 09:08
camelia (1 2 3)
Xliff m: multi sub infix:<‿> ($a, $b) { infix:<,>($a.WHAT === List ?? |$a !! $a, $b) }; say [1‿2]‿3 09:09
camelia ([1 2] 3)
Xliff \o/
weekly, gist.github.com/Xliff/9ed2279ca10e...2ce19fe81d 09:10
weekly" gist.github.com/Xliff/9ed2279ca10e...2ce19fe81d
weekly: gist.github.com/Xliff/9ed2279ca10e...2ce19fe81d
notable6 Xliff, Noted! (weekly)
lizmat Xliff: maybe make it a r/rakulang entry, possibly with a crosslink to a BQN community ? 09:16
Xliff I generally write my stuff as a gist. 09:17
If you'd like I can just add a link to reddit.
lizmat the problem with gists is that they have limited discoverability 09:18
Xliff And unfortunately, I don't know any BQN community. I may have to look into one. The only reason I got interested in BQN is because of a codesection video.
lizmat I see :-)
09:19 sena_kun left
Xliff lizmat: There should be two entries. I can create a reddit post mentioning them both if you'd like. 09:19
lizmat A Reddit post I'll link to in the weekly :-) 09:20
Xliff OK.
09:20 Scotteh left, Scotteh joined
Xliff weekly: www.reddit.com/r/rakulang/comments...s_in_raku/ 09:22
notable6 Xliff, Noted! (weekly)
09:35 perlbot left, simcop2387 left, jjatria left, jjatria joined 09:56 tejr left, oodani left, tejr joined, oodani joined 09:59 simcop2387 joined 10:01 perlbot joined
lizmat Xliff: meh, even Wikipedia doesn't know about BQN, although it redirects to en.wikipedia.org/wiki/Array_programming 10:10
but that page doesn't mention BQN
10:29 buffet joined
Geth Raku-Steering-Council/main: a38a0b790f | (Elizabeth Mattijsen)++ | minutes/20230610.md
Add minutes of meeting of 10 June 2023
10:31
10:39 jpn joined 10:47 tejr left, tejr joined 10:48 jpn left 10:57 jpn joined 11:05 derpydoo left 11:06 jpn left 11:22 nebuchadnezzar left, nebuchadnezzar joined 11:23 renormalist left, renormalist joined 11:38 jpn joined 11:46 jpn left 12:00 reportable6 left, reportable6 joined 12:14 euandreh left
tbrowder__ Xliff: very cool, i hope you have a module with it before too long. 12:20
12:28 euandreh joined 12:30 jpn joined 12:36 jpn left 12:43 jpn joined
SmokeMachine m: multi sub infix:<‿> (*@a) is assoc<list> { infix:<,>(|@a) }; say 1‿2‿3 # Cliff, why not something like this? Or have I misunderstood your intent? 13:19
camelia (1 2 3)
Xliff SmokeMachine: Hmm... 13:21
multi sub infix:<‿> (*@a) is assoc<list> { infix:<,>(|@a) }; say [1‿2]‿3 13:22
evalable6 (1 2 3)
Xliff ^ That is wrong.
13:23 samebchase left 13:24 samebchase joined, timo left
SmokeMachine :+1 13:24
13:24 timo joined 13:27 euandreh left, euandreh joined 14:05 amenonsen left, amenonsen joined 14:18 cm left 14:19 cm joined
lizmat and yet another Rakudo Weekly hits the Net: rakudoweekly.blog/2023/06/12/2023-23-4-at-48/ 14:20
14:22 teatwo joined 14:25 tea3po left 14:30 teatwo left, teatwo joined
tbrowder__ lizmat++ 14:36
i wonder if we can convince the author of Raku.land (@JRasspass) to move to github. it badly needs some love but gitlab is not a good place for PRs and such imho. 14:42
14:46 mtj left, mtj joined
coleman Come on, it's not so bad 14:50
tbrowder__ btw, the only functions in module "AlgorithmsIT" at the moment are for string pattern matching. maybe useful somewhere in core. algo is by Dr Knuth et al. 14:51
coleman: maybe for a young person :-)
coleman :) 14:52
lizmat tbrowder__: have you considered making ArrayOneBased a subclass of Array? 14:56
class A1B is Array { method AT-POS($pos) { $pos ?? nextsame !! die }; method iterator() { callsame.skip } } 14:57
which would just not use slot 0 in an array 14:58
15:05 sjn left
[Coke] I just submitted a PR for raku.land on github after not using gitlab for like 10 years. 15:17
... not true, I commented on some stuff 4 months ago 15:19
Tirifto japhb, I could see all of those! Running Hexchat on Debian 12 right now. :-)
[Coke] tries to get raku.land running locally, but the docker requirement is a showstopped on m2 macs, I think. 15:26
*er
avuserow Docker desktop should run on the apple silicon macs 15:30
tonyo [Coke]: i use podman on mac silicon 15:31
japhb Tirifto: Ah good! So I take it your normal working system is *not* Debian 12. :-) 15:34
Tirifto japhb, it is, actually! Personally, I experience few issues with Unicode. It’s just that the program I’m writing should, of its own volition, output ASCII only. x) 15:35
15:40 jpn left 15:52 bdju left 15:53 bdju joined 15:57 jpn joined 16:05 euandreh left, euandreh1 joined 16:07 euandreh1 is now known as euandreh 16:16 Sgeo joined 16:21 abraxxa left
japhb AH! 16:24
Now I understand.
Tirifto: Now that Terminal::LineEditor can adapt its symbol usage to a Terminal::Capabilities object (see latest version of both), you should be able to just tell it you have an ASCII terminal and should automatically downgrade. 16:26
Tirifto japhb, oh, that sounds very useful! Does that affect its ability to read Unicode whatsoever (if the terminal does support Unicode, but I just want it to prefer ASCII characters for whatever reason)? :o 16:29
japhb Tirifto: Nope, it's only affecting the symbols it uses for its own output; input (and in particular, correct Unicode handling) is unchanged. 16:30
Tirifto japhb, thank you, I’ll be sure to give it a try then! :D 16:32
16:34 euandreh left, euandreh joined, dakkar left
tonyo lizmat: are we submitting grant applications through TPF still? 16:43
lizmat I think so, yes
tonyo bless 16:44
[Coke] Do we have any raku folks left on the committee? 17:00
lizmat I think moritz was the last ?
[Coke] he was stepping down, I thought.
lizmat yeah :-( 17:02
[Coke] avuserow: ah, thanks I had old info. 17:12
17:31 jpn left 17:41 sena_kun joined
[Coke] when running raku.land locally, does the zef deps install thing save state over invocations (it's very slow the first time) 17:55
s/thing/step/
ugexe you can pass --serial to have each module install one-by-one after their tests pass instead of installing all modules only once all modules tests have passed 17:57
18:00 reportable6 left
ugexe you can also try setting --test-degree=5 or some such to test in parallel (although since parallel module loading can segfault --test-degree defaults to 1) 18:00
18:01 reportable6 joined
[Coke] ugexe - does --/test imply serial? 18:06
guessing no, and it probably shouldn't (other issues can occur besides test failures) 18:07
18:21 jpn joined 18:26 jpn left
ugexe serial only happens explicitly with --serial 18:28
Xliff Any vids from TPC Canada? 18:50
lizmat Xliff: 11 July, not 11 June 18:55
you're a month early, roughly :-)
Xliff Oh, LOL! 18:56
Thanks.
uzl[m] Interesting presentation titles for TPRC 2023. Will they be recorded? 👀 19:05
lizmat++
lizmat I would think so 19:07
uzl[m] re youtube channel: Will the channel be managed by the Raku foundation or is it simply a contributors managed channel? I can set it up easily but I'm not sure what it entirely entails 19:08
Awesome!!! 19:09
coleman isn't there already a TPRF channel? 19:10
lizmat I think we should have someone actively involved with that
and perhaps even make sure that the curated video (links) do not get lost, e.g. by putting them in a /raku repo
uzl[m] Right, there's www.youtube.com/@therakuconference6823 19:12
Tangentially, those videos in youtu.be/pvDZUlNHGCw could be benefit from timestamps
lizmat indeed 19:13
afk&
19:17 jpn joined
tbrowder__ lizmat: ref ArrayOneBase, i thought about it but my way was easier for me. i have no experience with and no real understanding of callsame and frienfs 19:18
g
*friends. 19:19
PRs welcome, though!
what about 19:20
ignore that, pls
19:21 jpn left
[Coke] ok, 'make dev' in raku.land is complaining "Failed to spawn process --start-service: no such file or directory (error code -2)" 19:30
I will volunteer to help with timestamps and captions, as that is something that bugs me when it's not done. :)
gitlab.com/raku-land/raku-land/-/issues/48 19:34
coleman Coke plus plus 19:35
19:39 jpn joined 19:50 Xliff left 19:59 jpn left 20:33 sena_kun left
librasteve yes Docker Desktop runs ok on Apple Silicon ... it now defaults to --platform=linux/arm64 ... 21:03
levelup.gitconnected.com/docker-on...679913a0d5
^^^ the instructions to enable --platform=linux/amd64 via rosetta on Apple Silicon 21:04
tonyo m: class A { method hi-from-a { 'hi-from-a'.say; }; }; class B is A { method hi-from-b { 'hi-from-b'.say; callsame; }; }; B.new.hi-from-b; 21:23
camelia hi-from-b
tonyo oops
[Coke] librasteve - there is no "use rosetta" option on my install 21:39
(I'm on 4.20.1, article says 4.16.1 is the version required) 21:41
ah, need to upgrade the OS, which maybe I'll do after I get home and am not sitting in the chinese takeout. 21:42
guifa uzl[m] and lizmat I believe the plan is indeed to record 22:04
If for some reason there is an issue, please everyone bug the crap out of me that weeend and I'll try to do an offline recording and upload somewhere
22:38 [Coke] left, [Coke] joined 23:14 m6502 joined 23:15 lichtkind_ joined 23:18 lichtkind__ left 23:52 moritz left 23:53 moritz joined 23:54 phogg left, phogg joined