[00:06] *** reportable6 left [00:07] *** reportable6 joined [00:28] *** deoac joined [00:43] *** bigdata joined [00:55] *** frost joined [01:03] *** LoupGris is now known as Lycanthropy [01:04] *** Lycanthropy is now known as Haematophage [02:00] *** razetime joined [02:07] *** bigdata left [02:46] *** jetchisel left [02:49] *** jetchisel joined [03:04] *** kotrcka joined [03:19] *** epony left [03:30] *** razetime left [03:56] *** razetime joined [04:21] *** vrurg_ joined [04:21] *** vrurg left [04:32] *** kotrcka left [05:15] *** frost left [06:07] *** reportable6 left [06:08] *** reportable6 joined [06:58] *** xinming left [06:58] *** xinming joined [07:02] *** jetchisel left [07:42] *** vrurg joined [07:42] *** vrurg_ left [08:18] *** razetime left [08:35] *** razetime joined [08:43] *** MoC joined [08:50] *** sena_kun joined [09:30] *** epony joined [10:02] *** discord-raku-bot left [10:03] *** discord-raku-bot joined [10:07] *** discord-raku-bot left [10:07] *** discord-raku-bot joined [11:00] *** jetchisel joined [11:19] *** razetime left [11:26] *** razetime joined [12:07] *** reportable6 left [12:07] *** reportable6 joined [13:02] *** sena_kun left [13:07] *** sena_kun joined [13:36] *** MoC left [13:36] *** MoC joined [13:41] *** jgaz joined [13:52] *** jgaz left [13:54] *** jgaz joined [14:27] *** jgaz left [14:30] *** razetime left [15:01] *** jgaz joined [15:56] *** vrurg_ joined [15:56] *** vrurg left [16:21] *** sena_kun left [16:24] *** jgaz left [16:24] *** deoac left [16:28] *** jgaz joined [16:54] m: say $*TZ [16:54] rakudo-moar 454752e3e: OUTPUT: ยซ7200โคยป [16:55] way wrong, i'm minus double that [16:56] heh, morning, tonyo ! [16:57] how's it going? [16:57] can you imagine a situation where a "normal" system doesn't provide a timezone number? [16:59] going well, thank you. using yr cro/apache cookbook is on my TODO list [16:59] *** jgaz left [17:01] i'm working on a subclass of DateTime and trying to figure how much faith to put into $*TZ as a reasonable indicator of longitude (center of 15 degree slices, that is) [17:04] my gut tells me to rely on it but let the user know about it during or after installation [17:05] the longitude is in lieu of having a suitable db of world timezone info [17:06] i've looked at DateTime::Timezones but i'm not sure it's in a convenient format [17:09] the problem with using the number as representative of longitude is that many parts of the world run far off from their "natural" time [17:10] what i'm doing at the moment is taking local time from DateTime (default is UTC) and letting the user enter an abbeviation for his TZ and offer to incorporate that info into my own db [17:11] Olson IDs will get you much closer, since they're designed to be anchored to large population centers (which are more stable than, say, countries) [17:13] guifa_: yes, and i'm not sure how best to handle it, though. unless there is a system value of lat/long, user entry is probably the way i'll go. [17:13] +1 for guifa [17:13] WIth that, the Europe/Madrid will get you a much more accurate rendition of location for someone in GMT+1 than someone in Europe/Bratislava [17:14] plus DST might make someone appear to jump around [17:16] i have 99+ percent of US covered, for now i'm allowing user to enter tz abbrev and taking his system $*TZ for the "truth" [17:20] hm, i forgot about %ENV to get the full name, gotta go back to DateTime::TimeZones... [17:21] thanks for the inspiration, gang [17:21] You could also use [17:21] https://raku.land/github:alabamenhu/UserTimezone [17:22] I have an update I need to publish [17:22] uh, that's DateTime::TimeZone [17:22] No, that just gets you the name of their timezone [17:23] it doesn't have any dependencies [17:27] does alabamenhu's module have dst info? [17:27] I can't remember which module I put the code in (and I might not have released it) that converts timezone ids to the more common language ones (e.g. "Eastern standard time") but I haven't had too much time to take a look at those recently, sadly [17:28] DST can be calculated from the timezone ID + the time. That info is in Timezones::ZoneInfo [17:29] but I haven't made it very userfriendly yet [17:30] basically, feed in a UNIX-epoch time and the zone data, and it'll provide a tm struct that gives you the date/time with a flag for DST [17:31] e.g. [17:32] erg, i think i'll wait unless i can grok it [17:32] my %data = calendar-from-posix(now.to-posix, timezone-data user-timezone) [17:33] %data # 0 = standard, 1 = daylight savings [17:33] %data # offset in seconds [17:34] isn't alabamenhu the same person as guifa for all intents and purposes? ๐Ÿ˜„ [17:34] %data # common abbreviation (e.g. "CST" "EDT") [17:34] Nemokosch we are :-) [17:35] i think so, but he's been confusing me for years and i forget that. [17:36] ๐Ÿ˜‚ [17:38] someone namesquats me on github and the world goes to hell lol [17:40] ok, i will try the module, oops, test failure [17:41] hmmm [17:41] i'll try to take a look at it this weekend [17:42] sorry new job and moved so the past few months I've been very behind on Raku dev stuff =/ [17:45] which module? [17:45] UserTimezone installed ok for me [17:46] i just tried Timezones::ZoneInfo as suggested above [17:48] okay... also installed correctly for me [17:49] do you have latest zed? [17:49] what was the error? I'll try to track it down if I can [17:49] *zef [17:51] oops, too many servers, updating zef now... [17:54] hey, when's the next rakudo release? I see the last one was 2022.07 :-( [17:54] t/03-warn.t failed [17:55] sjn: hi, i think there are some stoppers [17:55] oh noes! [17:56] for two months? must have been serious o_O [17:57] guifa_: test 03-warn.t failed [17:57] gotta go for now, back later [17:57] with what values? [17:59] *** linkable6 left [17:59] *** evalable6 left [18:01] *** tib left [18:01] *** tib joined [18:02] *** linkable6 joined [18:02] *** evalable6 joined [18:07] *** reportable6 left [18:08] *** reportable6 joined [18:10] only error specific i see is no plan in outptu (zef --debug) [18:10] *output [18:15] hm, interesting [18:15] I remember there was a broken TAP version, the only thing I'd know with failing tests [18:15] ah, I guess I should throw in an actual test in there. But historically that's not caused any problems. [18:16] *** tib left [18:22] *** linkable6 left [18:24] *** linkable6 joined [19:24] *** notable6 left [19:24] *** benchable6 left [19:24] *** bisectable6 left [19:24] *** quotable6 left [19:24] *** unicodable6 left [19:24] *** releasable6 left [19:24] *** squashable6 left [19:24] *** coverable6 left [19:24] *** reportable6 left [19:24] *** statisfiable6 left [19:24] *** nativecallable6 left [19:24] *** shareable6 left [19:24] *** sourceable6 left [19:24] *** committable6 left [19:24] *** linkable6 left [19:24] *** tellable6 left [19:24] *** greppable6 left [19:24] *** evalable6 left [19:25] *** quotable6 joined [19:25] *** shareable6 joined [19:25] *** committable6 joined [19:25] *** releasable6 joined [19:25] *** nativecallable6 joined [19:25] *** linkable6 joined [19:26] *** evalable6 joined [19:26] *** sourceable6 joined [19:26] *** unicodable6 joined [19:26] *** reportable6 joined [19:26] *** benchable6 joined [19:26] *** statisfiable6 joined [19:27] *** tellable6 joined [19:27] *** greppable6 joined [19:27] *** bisectable6 joined [19:27] *** squashable6 joined [19:27] *** coverable6 joined [19:27] *** notable6 joined [19:52] *** sena_kun joined [20:05] *** MoC left [20:12] *** squashable6 left [20:14] *** squashable6 joined [20:56] *** vrurg joined [20:56] *** vrurg_ left [21:10] *** Haematophage left [21:10] *** Colere joined [21:13] *** Furor joined [21:16] *** Colere left [22:16] *** bloatable6 left [22:16] *** squashable6 left [22:16] *** reportable6 left [22:16] *** greppable6 left [22:16] *** releasable6 left [22:16] *** tellable6 left [22:16] *** committable6 left [22:16] *** evalable6 left [22:16] *** sourceable6 left [22:16] *** coverable6 left [22:16] *** benchable6 left [22:16] *** linkable6 left [22:16] *** bisectable6 left [22:16] *** nativecallable6 left [22:16] *** notable6 left [22:16] *** statisfiable6 left [22:16] *** quotable6 left [22:16] *** shareable6 left [22:16] *** unicodable6 left [22:16] *** shareable6 joined [22:16] *** squashable6 joined [22:16] *** reportable6 joined [22:16] *** evalable6 joined [22:16] *** unicodable6 joined [22:16] *** releasable6 joined [22:17] *** statisfiable6 joined [22:17] *** benchable6 joined [22:17] *** greppable6 joined [22:17] *** sourceable6 joined [22:17] *** nativecallable6 joined [22:17] *** quotable6 joined [22:18] *** linkable6 joined [22:18] *** tellable6 joined [22:18] *** bloatable6 joined [22:18] *** notable6 joined [22:18] *** bisectable6 joined [22:18] *** coverable6 joined [22:18] *** committable6 joined [22:29] *** deoac joined [22:42] *** Kaipei joined [22:46] *** Kaiepi left [23:24] *** sena_kun left