🦋 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 committable6 left, greppable6 left, bloatable6 left, sourceable6 left, quotable6 left, unicodable6 left, squashable6 left, nativecallable6 left, benchable6 left, tellable6 left, bisectable6 left, linkable6 left, evalable6 left, shareable6 left, notable6 left, reportable6 left, releasable6 left, coverable6 left, statisfiable6 left, squashable6 joined, bisectable6 joined, tellable6 joined 00:01 bloatable6 joined, evalable6 joined, linkable6 joined, shareable6 joined, benchable6 joined 00:02 nativecallable6 joined 00:03 unicodable6 joined, reportable6 joined 01:01 razetime joined, releasable6 joined 01:03 greppable6 joined 01:05 razetime left 01:06 razetime joined 02:02 statisfiable6 joined, quotable6 joined 02:03 notable6 joined 02:19 bigdata joined 02:43 Xliff joined
Xliff weekly, gist.github.com/Xliff/b950e7e0080f...9497814808 02:43
tellable6 2022-10-16T14:00:48Z #raku <guifa_> Xliff: as I'm reworking this module, I just realized I had forgotten the whole reason I made the timezone reaction loop
Xliff weekly: gist.github.com/Xliff/b950e7e0080f...9497814808
notable6 Xliff, Noted! (weekly)
03:01 coverable6 joined 03:03 sourceable6 joined
guifa_ Xliff: did you see the module I dumped? 03:07
raku.land/zef:guifa/DateTime::React 03:10
I avoided the week rollover issue for now, but I've got some ideas there
Xliff guifa_, week rollover issue? 03:12
guifa_, why a sub for each shift? Why not one codepath for <minute hour day week month year>? 03:15
03:23 Abhoerschutz left, Abhoerschutz joined 03:25 derpydoo left
guifa_ Xliff: yours goes ahead and begins the loop for all of the events. I wanted to make it so loops would only be initiated upon request 03:36
yours was elegant though 03:37
Xliff PR submitted. 03:45
03:47 discord-raku-bot left 03:51 discord-raku-bot joined 04:03 Abhoerschutz left 04:04 Abhoerschutz joined 04:05 razetime left 04:17 Abhoerschutz left 04:18 Abhoerschutz joined 04:26 Abhoerschutz left 04:30 Abhoerschutz joined 04:48 razetime joined 05:02 committable6 joined 05:13 kueppo left 05:17 bigdata left 06:04 abraxxa joined 06:07 reportable6 left 06:08 Xliff left 06:09 abraxxa left, abraxxa joined 06:10 reportable6 joined 06:12 abraxxa left 06:14 abraxxa joined 06:18 abraxxa left 06:19 abraxxa joined 06:24 abraxxa left, abraxxa joined 06:25 abraxxa left 06:27 abraxxa joined 06:32 Sgeo left 06:33 abraxxa left 06:34 abraxxa joined 07:34 greppable6 left, sourceable6 left, releasable6 left, reportable6 left, statisfiable6 left, benchable6 left, evalable6 left, quotable6 left, notable6 left, coverable6 left, squashable6 left, nativecallable6 left, bisectable6 left, unicodable6 left, committable6 left, linkable6 left, tellable6 left, bloatable6 left, shareable6 left, sourceable6 joined 07:35 shareable6 joined, linkable6 joined, evalable6 joined, statisfiable6 joined 07:36 nativecallable6 joined, greppable6 joined 07:37 benchable6 joined, unicodable6 joined, releasable6 joined, committable6 joined, bloatable6 joined 07:45 holyghost joined 08:10 dakkar joined 08:29 razetime left 08:32 sena_kun joined 08:35 quotable6 joined, lichtkind_ joined, squashable6 joined 08:36 bisectable6 joined, coverable6 joined 08:50 frost63 joined, frost63 left 08:53 razetime joined 08:54 frost66 joined 09:07 kueppo joined
Nemokosch Hello hello 09:09
is .first not meant to inspect the signature of the passed argument the way .map does?
09:10 haxxelotto joined 09:11 kueppo left
nevermind, it makes no logical sense 09:11
09:11 Nemokosch joined 09:24 holyghost left 09:27 epony left 09:32 epony joined 09:34 reportable6 joined
lizmat are you confusing .map with .sort ? 09:35
09:36 tellable6 joined
Nemokosch nope 09:36
I wanted to use * < * + * as the callable, not sure if I could do that in a meaningful way 09:40
perhaps if .first could return multiple values
09:42 labster joined 09:44 Nemokosch left 09:48 haxxelotto left
lizmat clickbaits rakudoweekly.blog/2022/10/17/2022-...p-no-fear/ 09:50
09:50 haxxelotto joined 09:56 frost66 left 10:24 frost74 joined 10:35 frost74 left 10:37 notable6 joined
El_Che lizmat: I need to test your tool, it sounds amazing 10:38
lizmat I hope it to be awesome, yes
El_Che (there should be a way to bundle it more easily)
10:38 frost17 joined
lizmat well, I guess you could add it to your packages... 10:38
El_Che yes, that's another can of worms 10:39
I was thinking more of a single file/tupperware container with rakudo and the app
lizmat but still, please test it yourself please... with 138 command line options, there are bound to be some combinations not doing the right thing
El_Che most of my peers moved to rg, while I have been keeping using ack 10:40
lizmat as was i
10:45 labster left 10:58 frost17 left
nine Camelia makes an appearance at 8:20 :) youtu.be/pEfrdAtAmqk?t=500 11:06
lizmat yeah, but no mention of Raku :-( 11:10
or did I miss something?
weekly: youtu.be/pEfrdAtAmqk?t=500
notable6 lizmat, Noted! (weekly)
nine Nah, Raku is not mentioned. Still it's nice to see us in a list of modern languages :)
lizmat indeed :-) 11:13
cameo :-)
Nemokosch yes, no Raku mentioned 11:14
also watched it a couple of days ago
also no Perl mentioned, btw
11:15 epony left
tbrowder hi, is there any way to get num days in a year other than this: 11:47
m: say Date.new(2022, 12,31).day-of-year 11:48
camelia 365
lizmat I'd say, barring a special Date method, is pretty much descriptive 11:51
tbrowder ah, you rose to the bait! how about a new Date method?
11:52 frost32 joined
tbrowder should be fairly easy. i was going to file issue and take it on if no objections 11:54
but i don't want to get in a long convo with nay sayers 11:55
yr support would swing a lot of weight 11:56
12:08 reportable6 left 12:09 reportable6 joined 12:11 lichtkind_ left 12:19 lichtkind joined
lizmat github.com/rakudo/rakudo/pull/5084 # tbrowder 12:23
12:29 mtj left 12:31 xinming left 12:33 derpydoo joined 12:52 jgaz joined
tbrowder cool!! thnx 13:02
like Superman: "faster than a speeding bullet, more powerful than a locomotive!" 13:03
lizmat almost right :-) 13:08
13:15 linkable6 left 13:18 linkable6 joined
elcaro if you'd like to see Raku as an option on 'week.golf', consider signing up & voting for it: week.golf/newLanguage.php 13:31
13:31 Sgeo joined
elcaro voting form will not display properly, but they are doing some kind of elimination bracket 13:31
currently Raku up against BQN, 5 votes to 7 13:32
El_Che elcaro: I don't understand nothing of that page 13:35
NaN againt Nan
N
snipboard.io/yadqf2.jpg 13:36
Nemokosch for me, it's just ? against ? 13:49
anyway, I don't trust this site 13:52
13:55 perlbot left 13:56 simcop2387 left 13:57 frost32 left 13:59 simcop2387 joined 14:00 perlbot joined 14:16 Xliff joined
elcaro Hmm, seems I only finished half a thought above... where I said *"voting will not display properly"* I got to say *"unless you are logged in"* 14:17
Xliff In the case of sub ( :$optional is rw ) { ... } -- how can I tell if $optional contains a valid container? 14:18
Or is there a way to make the logic moot?
sub ( :$optional is rw = $) # for example? 14:19
Ah. There is no way to make an optional parameter rw.
Fahrvergnügen, 14:20
elcaro Several users on the array languages discord (APL Farm) use the site (as it features APL and J as languages). I've not seen any complaints about anything dodgy. I signed up to vote for Raku, so far so good, but I'd rather solve some of these challenges in Raku, which is not available, and getting Raku more exposure is generally a good thing 14:24
14:30 Kaiepi left, Kaiepi joined 14:34 Kaipei joined 14:38 Kaiepi left 15:38 squashable6 left, releasable6 left, quotable6 left, reportable6 left, evalable6 left, coverable6 left, bisectable6 left, committable6 left, sourceable6 left, greppable6 left, unicodable6 left, nativecallable6 left, statisfiable6 left, benchable6 left, bloatable6 left, shareable6 left, linkable6 left, tellable6 left, notable6 left 15:39 bloatable6 joined, tellable6 joined 15:40 committable6 joined, benchable6 joined 15:41 shareable6 joined, releasable6 joined, reportable6 joined
tonyo m: Date.new(2020,12,31).day-of-year.say 16:13
camelia 366
16:19 jgaz left 16:20 jgaz joined
El_Che m: Date.new(2020,2,11).day-of-year.say 16:34
camelia 42
El_Che \o/
16:37 dakkar left 16:40 bisectable6 joined, sourceable6 joined, linkable6 joined, unicodable6 joined, quotable6 joined, evalable6 joined 16:41 notable6 joined 16:45 jgaz left 16:50 abraxxa left 17:00 bigdata joined 17:16 mtj joined
tbrowder \o/ 17:36
17:40 greppable6 joined 17:53 razetime left 18:07 reportable6 left 18:09 jgaz joined 18:10 reportable6 joined 18:26 derpydoo left 18:35 bigdata left 18:38 squashable6 joined 18:40 nativecallable6 joined, coverable6 joined 19:10 epony joined 19:22 sena_kun left 19:25 sena_kun joined 20:25 linkable6 left, evalable6 left 20:27 evalable6 joined 20:29 derpydoo joined, Nemokosch joined, Nemokosch left 20:39 statisfiable6 joined 20:55 [Coke]__ joined 20:58 [Coke] left 21:13 jgaz left 21:15 sena_kun left 21:19 Kaipii joined 21:21 Kaipii left 21:23 Kaipei left 21:27 linkable6 joined 21:28 lichtkind left 22:01 Nemokosch joined 22:13 Nemokosch left
guifa_ tbrowder; that's an interesting question re days in the year 22:16
in my mind it doesn't work for Date, because it's really an attribute of the year, rather than of the date 22:17
although I guess we do have is-leap-year 22:18
but in retrospect I'd probably poo poo that lol 22:19
Date.new(:2022year).is-leap-year ?? 366 !! 365
tonyo the weirdness it gets into is when week-of-year can encompass the first few days of the year, so it might be that week 53 actually ends jan 3 (as it did in 2020) so should 2021-12-31 actually be the 365-3 day of the year or something else 22:24
tbrowder guifa_: i see what you mean, theoretically, but then raku life could get real complicated in a hurry going down that route. i absolutely love the rake time and date types--so much easier than using Perl's time stud
*stuff 22:25
22:25 Kaiepi joined
tbrowder week-of-year can be interesting. see my Easter and other church year modules. 22:27
guifa_ week of year is like day of week, unfortunately. We use an ISO definition (Which is sensible), but it is certainly slightly deceptive to people as different locales handle that differently 22:33
22:38 Nemokosch joined, Nemokosch left, Kaiepi left
guifa_ Nemokosch: you just got an official cro update ;-) 23:29
tellable6 guifa_, I'll pass your message to Nemokosch
23:38 evalable6 left, tellable6 left, linkable6 left 23:39 linkable6 joined