🦋 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:03 jetchisel left 00:07 reportable6 left 00:10 reportable6 joined 00:44 linkable6 left 00:45 linkable6 joined 01:26 Furor is now known as Haematophage 01:42 vrurg left, vrurg_ joined 02:42 reportable6 left, bloatable6 left, evalable6 left, benchable6 left, releasable6 left, bisectable6 left, nativecallable6 left, shareable6 left, tellable6 left, quotable6 left, linkable6 left, notable6 left, sourceable6 left, greppable6 left, committable6 left, coverable6 left, unicodable6 left, statisfiable6 left, squashable6 left, statisfiable6 joined 02:43 sourceable6 joined, notable6 joined, benchable6 joined, bloatable6 joined, linkable6 joined, greppable6 joined, shareable6 joined, tellable6 joined 02:44 coverable6 joined, releasable6 joined, quotable6 joined, reportable6 joined, bisectable6 joined, nativecallable6 joined 02:45 committable6 joined, squashable6 joined, unicodable6 joined, evalable6 joined 02:50 razetime joined 03:12 vrurg joined, vrurg_ left 03:41 razetime left 04:36 vrurg left 04:37 vrurg joined 04:46 vrurg_ joined, vrurg left 04:56 razetime joined 05:10 deoac left 05:27 vrurg joined, vrurg_ left 06:07 reportable6 left 06:08 reportable6 joined 07:08 unicodable6 left, quotable6 left, bloatable6 left, committable6 left, reportable6 left, releasable6 left, linkable6 left, squashable6 left, tellable6 left, bisectable6 left, sourceable6 left, coverable6 left, shareable6 left, nativecallable6 left, benchable6 left, evalable6 left, greppable6 left, notable6 left, statisfiable6 left 07:09 linkable6 joined, sourceable6 joined, bisectable6 joined, squashable6 joined, tellable6 joined, quotable6 joined, releasable6 joined, nativecallable6 joined 07:10 coverable6 joined, shareable6 joined, statisfiable6 joined, reportable6 joined, committable6 joined 07:11 unicodable6 joined, evalable6 joined, benchable6 joined, notable6 joined, greppable6 joined, bloatable6 joined 07:56 vrurg_ joined, vrurg left 08:07 vrurg joined, vrurg_ left 08:09 razetime left
Nemokosch I've been thinking about a first language Raku tutorial. Perhaps it shouldn't be as variable-centric as I would do in most mainstream imperative languages 08:12
iirc gfldex advocated for a different terminology that seemed to work better 08:15
08:17 vrurg_ joined, vrurg left 08:23 euandreh left 08:26 vrurg joined, vrurg_ left 08:29 euandreh joined 08:31 razetime joined 08:37 vrurg_ joined, vrurg left 08:46 vrurg joined, vrurg_ left 08:57 vrurg_ joined, vrurg left 09:09 sena_kun joined 09:13 frost joined 10:04 kaskal left, kaskal joined 10:10 euandreh left 10:21 euandreh joined
El_Che Nemokosch: be careful with terminology because they will look up stuff while learning 10:49
tellable6 El_Che, I'll pass your message to Nemokosch
10:50 frost left 10:55 jetchisel joined
Nemokosch Some compromise has to be made if Raku is essentially different from other languages 10:58
And I learned the hard way that Raku symbols don't really fit my concept of variables the way I know variables in Java-like, hidden reference languages 11:00
11:21 linkable6 left 11:24 linkable6 joined 11:32 Wonner joined 11:35 Wonner left 11:45 linkable6 left 11:48 linkable6 joined 11:52 sena_kun left 11:54 sena_kun joined 12:07 reportable6 left 12:08 reportable6 joined
tbrowder .tell guifa_: i’m getting close to publishing my new tz-related modules and am thinking about a multi-lang-region version sim to Date::Names. is name Timezones::Universal taken by you? i don’t want to be a squatter 12:42
tellable6 tbrowder, I'll pass your message to guifa_
tbrowder bye for now..
guifa_ tbrowder nope. My multilanguage stuff is all under Intl:: (in this case, Intl::DateTime::Format) 12:43
lizmat ask and you shall receive ... I'll see if I can get it added today once I get moving 12:47
lizmat :-)
guifa_ I've got to update ZoneInfo anyways, there was an update for timezone data, but it's mainly long term future so I hadn't been in a rush 12:48
oh sweet 12:54
Comma now very nicely shows declarator pod for random variables (or at least constants)
13:08 linkable6 left, evalable6 left 13:10 evalable6 joined 13:11 linkable6 joined
andinus how would raku.land handle a module published by 2 different authors? 13:18
13:19 linkable6 left
andinus say "zef:abc" publishes v0.1.0 and "zef:xyz" publishes v0.2.0 13:19
lizmat if you don't specify an auth, it will take the highest version
if the versions tie, it will take the highest api version, afaik 13:20
andinus i see, iirc that is true for zef cli
does it show up as same module on raku.land ?
13:21 linkable6 joined
lizmat andinus: there's a #raku-land channel :-) 13:21
to answer your question, I don't know without checking
Nemokosch Two modules
13:21 sena_kun left
At least with different ecosystems 13:23
That much I know, as the second publisher of HTML::Tag 😛 13:25
andinus lizmat: i see, thanks 13:27
guifa_ lizmat: halp with naming. "timezones-set" sounds to me like it's gonna set a timezone lol, "timezones-map"....well, yeah bad for similar reasons. timezone-list = not accurate, since I'm returning a Set
andinus Nemokosch: ah i see
tellable6 andinus, I'll pass your message to Nemokosch
lizmat timezones-as-Set ? 13:28
guifa_ ^^
andinus in your case the author is same, i guess i'll try doing this sometime later
guifa_ oof so verbose though
lizmat well... how often will you call it in your code?
guifa_ holds up mirror
lizmat if not often, a long name doesn't matter as much and clarity gains 13:29
guifa_ I dunno, how often will you call it lizmat?
lizmat I intended to embed it in App::Rak with a single call :-) so once :-)
guifa_ weird 13:52
m: sub foo { <a b c>.Set }; my %bar is Set = foo;
camelia ( no output )
guifa_ on my end I get Cannot modify an immutable Set (Set())
in block <unit> at /Users/guifa/Applications/github/TimezonesZoneInfo/t/04-sets.t line 4
lizmat why would it? You're initializing a Set with a Set ? 13:53
what version of rakudo are you using ?
guifa_ might be a few months old, haven't devved on this machine in a bit 13:54
oh yeah ha
clearly it doesn't on here which TOT 13:55
guifa_ . o O ( I think using TOT makes me sound old lol )
lizmat bisectable6: sub foo { <a b c>.Set }; my %bar is Set = foo --old=2021-11
bisectable6 lizmat, Will bisect the whole range automagically because no endpoints were provided, hang tight
lizmat bisectable6: --old-2021-11 sub foo { <a b c>.Set }; my %bar is Set = foo 13:56
bisectable6 lizmat, ¦6c (65 commits): «4===SORRY!4=== Error while compiling /tmp/RoVsIZ6Bhs␤Undeclared routine:␤ old used at line 1. Did you mean 'ord'?␤␤ «exit code = 1»»
lizmat, Nothing to bisect!
lizmat, Will bisect the whole range automagically because no endpoints were provided, hang tight
lizmat argh
bisectable6: --old=2021-11 sub foo { <a b c>.Set }; my %bar is Set = foo
bisectable6 lizmat, Output on all releases: gist.github.com/64cd6c36b47767cdae...65a6fcef1c
lizmat, Nothing to bisect!
lizmat, Will bisect the whole range automagically because no endpoints were provided, hang tight
lizmat wot?
bisectable6: --old=2021.11 sub foo { <a b c>.Set }; my %bar is Set = foo
bisectable6 lizmat, Output on all releases: gist.github.com/a7e3c69fb40acf35c1...e9c8fb38b3 13:57
lizmat, Nothing to bisect!
lizmat, Will bisect the whole range automagically because no endpoints were provided, hang tight
lizmat bisectable6: old=2021.11 sub foo { <a b c>.Set }; my %bar is Set = foo
bisectable6 lizmat, Output on all releases: gist.github.com/575f16d61d3b8fcaa3...e0368f7669
lizmat, Nothing to bisect!
lizmat, Cannot find revision “2021.11” (did you mean “2021.12”?)
lizmat bisectable6: old=2021.10 sub foo { <a b c>.Set }; my %bar is Set = foo
bisectable6 lizmat, Bisecting by exit code (old=2021.10 new=30a9d3a). Old exit code: 1
lizmat, bisect log: gist.github.com/39c0cd1c9812baeeab...1fccd077d0 13:58
lizmat, (2022-05-27) github.com/rakudo/rakudo/commit/62...bd4d6000eb
lizmat guifa_: indeed, looks like it was fixed *after* the Rakudo version you'r using 13:59
guifa_ gotta do a little bit more testing since I think I found a parse error, but I can probs push this update out tonight / tomorrow 14:10
(like parse issue going back a loooong while)
14:16 dogbert17 joined 14:34 deoac joined, xinming left 14:36 xinming joined 14:38 jgaz joined
Nemokosch Apropos parsing... 15:12
Why does `@foo =:= @foo[]:v` parse as if I were adverbing =:=? 15:13
15:18 jgaz left 15:36 vrurg_ left 15:37 vrurg joined
lizmat because that's how adverbing was intended to work.. :-) 15:55
I wasn't around when that was discussed but it has had a *lot* of discussion 15:56
note that this is one of the reasons I made :!exists work on Associatives
afk& 15:57
El_Che Nemokosch: what's special about Raku's variables 16:13
tellable6 El_Che, I'll pass your message to Nemokosch
16:15 jgaz joined
Nemokosch El_Che: that there are 3 additional sigils that cannot be conceptually mapped to variables of other languages 16:17
and there are separate assignment mechanisms for them, while what I would consider _the assignment_ is called "item assignment" 16:19
16:22 jgaz left
El_Che you mean . and ! ? 16:27
Nemokosch Nope. I don't use much OO in Raku anyway, truth be told 16:28
@, % and one of \ and $, depending the mental framework (I'd say the third one is \ ) 16:29
@, % and one of \ and $, depending on the mental framework (I'd say the third one is \ )
16:33 jetchisel left
El_Che so, the same as Perl? 16:44
and &
16:47 vrurg_ joined, vrurg left
Nemokosch & is not really weird imo 16:54
or tbh I never tried because nobody in the right mind would keep mutating a function reference 😂
17:10 Colere joined 17:11 Haematophage left
El_Che In Perl they talk about containers 17:13
17:13 Furor joined
El_Che but besides that, it's not that weird 17:13
a kind of container typinh
Nemokosch I'm not sure how it is in Perl but in Raku, sigils don't really affect the type but the "variable interface" itself (that's what containers are for) 17:15
17:15 Colere left
El_Che you do of course what do you thing it's best, but I think it will confuse people 17:15
Nemokosch I think containers confuse people already 😅 17:16
El_Che not if they learnt bash first 17:17
Nemokosch 1. I don't think many people "learn Bash first" 17:19
2. Bash (and POSIX shell in general) is like the only language I have ever found absolutely horrible
I would go as far as to say, Perl's existence is justified by the horror POSIX shells are
tonyo if you think the "language" is horrible then you either dont understand the problem they solved or never grew up with cli only computer 17:21
Nemokosch I definitely never grew up with cli only computer 🙂 17:24
But anyway, if shell was just half decent, I wouldn't have started Raku at all 17:25
the Perl family proves that it can be done with actual types, control structures, scopes etc
17:38 hythm joined 17:45 razetime left
tonyo what do you think existed prior to the shell? 17:54
17:59 MoC joined
Nemokosch I'm not sure if this is worth thinking about in 2022. 18:00
And I don't know where we are going with this anyway. If I make a Raku tutorial, I won't aim target shell users of all possible audience, and I gave two reasons why. 18:02
18:06 reportable6 left 18:07 reportable6 joined 18:40 sena_kun joined 19:11 sena_kun left, sena_kun joined 19:14 Altai-man joined 19:16 sena_kun left 19:28 vrurg joined, vrurg_ left 19:40 Furor is now known as Colere 19:43 epony left 19:52 vrurg_ joined, vrurg left
tonyo it's always worth thinking about why something is the way it is and its merit for what it made simpler because those reasons always come around again, the shell simplified how we interact with computers in a very big way. it was designed to be that type of language, not one with "correctness" or strict-ness, or even types 20:00
Nemokosch I think it's even more worth thinking about what lead to the creation of Perl, Tcl, Python and several other languages, among the number of different shell implementations with ad-hoc additional features (Bash for example striving for a more C-ish look, with better conditionals and loops), and what we think about interacting with a complex system now 20:11
What does bash have to do with containers, by the way? Bash was brought up with regards to Raku containers. 20:12
guifa_ tony-o ugexe I'm getting a "Meta error: "auth" must be zef:" message when uploading with fez, but my auth definitely has "zef:guifa". Any ideas? 20:29
ugexe guifa_: you have fez: 20:30
github.com/alabamenhu/TimezonesZon...A6.json#L2 20:31
tonyo guifa_: it might be using the git bundling - which uses what's in the branch cache and not on disk 20:32
so, if you have it pushed upstream as one thing and locally as another, it'll cause what you're seeing - i'm working on fixing that
20:37 MoC left, epony joined
guifa_ ugexe: yeah I fixed that locally, but not up at github. maybe what tonyo has is the issue. just tried again making sure github had the same as locally, crossing fingers 21:05
so far no e-mail back, so think it worked this time 21:06
Geth ecosystem/main: 11a05bf594 | L'Alabameñu++ (committed using GitHub Web editor) | META.list
Guifa migration part 1 of ?
21:34 linkable6 left 21:36 linkable6 joined
tonyo guifa_: TZ:ZI 0.3.0? 21:56
guifa_ Yeah. Rakuland seems to be a bit confused -- it's still showing the p6c one, despite me having taking it off of that list 22:04
Ah, here it is raku.land/zef:guifa/Timezones::ZoneInfo
22:36 linkable6 left, evalable6 left 22:37 evalable6 left 22:38 evalable6 joined 22:39 linkable6 joined 22:48 Altai-man left 23:04 epony left
tbrowder and raku.land’s search window doesn’t work well on my apple devices (ipad, iphone) 23:50
i.e., touch screens 23:58