🦋 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
guifa huh 00:15
shouldn't CORE::Foo always refer to the actual CORE thing? 00:16
ah never it does 00:24
I had a different bug 00:25
Anton Antonov @guifa Maybe, working on date-formatting has caused some damage? 00:33
(...brain damage.) 00:34
guifa haha
the issue was me testing a timezone with a very odd offset
(specifically a one second offset)
For unknown zones, I just pass all the data to CORE::DateTime.new and then the fancier timezone aware ones initializes with a self.bless(year => core-result.year, month => core-result.month ……) 00:35
The problem was I was doing timezone => core-result.timezone, and I wrap that method on CORE so I was entering into an infinite loop
Anton Antonov 👍 ♾️ ➿ 00:45
01:01 derpydoo joined 01:03 xinming left 01:05 xinming joined 01:27 leah2 left 02:05 leah2 joined 02:17 tea3po joined 02:20 teatwo left 02:27 jumpnbrownweasel left 03:27 quotable6 left, committable6 left, unicodable6 left, greppable6 left, sourceable6 left, linkable6 left, evalable6 left, greppable6 joined, committable6 joined 03:28 sourceable6 joined, unicodable6 joined 03:29 evalable6 joined, quotable6 joined, linkable6 joined 04:26 epony left 05:26 bloatable6 left, sourceable6 left, linkable6 left, evalable6 left, notable6 left, tellable6 left, coverable6 left, nativecallable6 left, committable6 left, statisfiable6 left, bisectable6 left, shareable6 left, unicodable6 left, greppable6 left, reportable6 left, squashable6 left, releasable6 left, benchable6 left 05:27 greppable6 joined, benchable6 joined, reportable6 joined, notable6 joined, linkable6 joined, unicodable6 joined 05:28 nativecallable6 joined, squashable6 joined, bisectable6 joined, shareable6 joined, sourceable6 joined, tellable6 joined, committable6 joined, statisfiable6 joined 05:29 releasable6 joined, coverable6 joined, bloatable6 joined, evalable6 joined 06:00 reportable6 left 06:01 reportable6 joined 06:11 jpn joined 06:22 derpydoo left 06:24 jpn left 07:09 abraxxa joined
Nemokosch there is this theory of the Moebius... 07:10
07:39 Sgeo left, sena_kun joined 07:50 jpn joined 07:53 dakkar joined 07:56 jpn left 08:12 kylese joined 08:43 squashable6 left 08:46 squashable6 joined 09:11 abraxxa left 09:42 holyghost joined 10:06 holyghost left 10:07 abraxxa joined 10:31 abraxxa left 10:32 abraxxa joined, abraxxa1 joined 10:36 abraxxa left 10:37 abraxxa1 left 10:50 epony joined 10:58 kylese left 11:26 jpn joined
Anton Antonov I tried to try the "AI Code Translator" ( github.com/mckaywrigley/ai-code-translator ), but does not have the languages I am interested in... 11:32
11:33 jpn left
I.e. Raku and WL. 11:33
See here i.imgur.com/EpFAO9H.png 11:37
12:00 reportable6 left
lizmat clickbaits rakudoweekly.blog/2023/04/10/2023-...-patterns/ 12:01
12:02 reportable6 joined
Anton Antonov @lizmat I read that yesterday. 🙂 12:22
Nemokosch I just wanted to look it up 12:40
12:43 Altai-man joined, sena_kun left 12:54 jpn joined 12:58 jpn left 13:06 jgaz joined, xinming left 13:08 xinming joined 13:31 jgaz left 13:32 jgaz joined 14:06 rf joined 14:12 teatwo joined 14:15 tea3po left 14:17 jpn joined 14:22 jpn left 14:29 Sgeo joined
rf Morning folks 14:34
lizmat rf o/ 14:35
Anton Antonov @rf Did you post anything Raku-related last weekend? 14:37
rf No I have been having some house problems
Been very busy
Nemokosch somebody was playing around with Humming-Bird, I think just yesterday
rf :D
Nemokosch not sure what the resolutions was, there was something with the encoding of the emitted HTML
rf Yeah someone found a bug in the example I made, I patched that yesterday
Hmm, I hope they're still around, I'd like to see that 14:38
Anton Antonov by @snufkin : "I'm not sure the right place for this. But I am trying to make a web app with raku and Humming-Bird. And I'm trying to display Chinese characters. They are not displaying correctly, I believe it's potentially a unicode issue, but I've no idea how to fix it. Google searches have not resulted in particularly useful information." 14:39
rf Hmm, I will look into that 14:40
Ah yes, that is fairly broken 14:42
Nemokosch the charset didn't carry over or something 14:43
rf Aha it's a browser issue
He will need to add a <meta charset="UTF8"> tag
It's broken for me until I do that at least 14:44
snufkin: Please add a meta tag with charset="UTF-8" to your HTML and give it a try 14:45
lizmat rf: maybe Humming-bird should assume UTF-8 if no charset specified ? 14:48
rf It does internally, but the browser still just sees a bytestream iirc 14:50
So if they want to use UTF8 they will need to tell the browser how to encode it, typically with a meta tag
lizmat adding an output header ?
I mean, it *is* the default for Raku 14:51
rf That's definietley an option but I'm scared that will open a big can of worms, trying to parse the HTML before it goes over the wire and add the tag
lizmat I didn't mean that: if there is no input header with a charset spec 14:52
add an output header with a charset UTF8
rf Ah yeah, you're right
I will add that to the todo! 14:53
To be completely honest, I thought I already did that, doh. 14:54
15:25 xinming left 15:27 xinming joined 15:43 archenoth left 15:53 dontknow joined, jpn joined 16:15 Altai-man left 16:17 sena_kun joined 16:19 derpydoo joined 16:30 jpn left 16:34 jpn joined 16:35 raiph joined
tonyo you can add that meta tag if you're using ryml with `meta[ :charset<whatever> ]` 16:36
16:36 dakkar left
tonyo svg support is almost added to it, need to add tests and an interface for it 16:37
16:41 sena_kun left, sena_kun joined
rf tonyo++, I just pushed 2.1.3 of HB which addresses this on the header level :D 16:44
Also really digging the new Fez stuff 16:45
tonyo danke 16:54
16:55 razetime joined
tonyo still a few things i want to do for it, coke and vrurg both have some good enhancement requests 16:55
[Coke] ls 16:57
ww 16:58
teatwo . .. bin/ src/ usr/ var/ mnt/ opt/ dev/ proc/ 17:00
17:06 xinming left 17:08 xinming joined 17:18 sarna joined 17:26 razetime left 17:32 raiph left 17:34 jpn left 17:48 dontknow left
Anton Antonov @Coke How many sudoku puzzles do you solve per week? 17:49
18:00 reportable6 left 18:01 reportable6 joined 18:03 deoac joined 18:08 archenoth joined 18:09 deoac left 19:01 sena_kun left 19:04 sena_kun joined 20:04 evalable6 left, linkable6 left, linkable6 joined 20:05 evalable6 joined 20:40 jpn joined 20:51 squashable6 left 20:53 squashable6 joined 21:24 jpn left 21:28 deoac joined 21:41 sena_kun left 21:43 xkr47 left 21:49 xkr47 joined 22:20 jpn joined 22:22 jgaz left 22:25 jpn left 23:25 evalable6 left, linkable6 left 23:26 evalable6 joined 23:27 linkable6 joined