[06:27:27] Just had one again [06:27:37] Exact same problem [06:30:20] See pm [08:40:39] <.labster> [1/7] > foreach ( $files as $file ) { [08:40:39] <.labster> [2/7] > $xml = simplexml_load_file( $file, "SimpleXMLElement", LIBXML_NOCDATA ); [08:40:40] <.labster> [3/7] > $json = json_encode( $xml ); [08:40:40] <.labster> [4/7] > $decoded = json_decode( $json, true ); [08:40:40] <.labster> [5/7] > [08:40:41] <.labster> [6/7] > if ( array_key_exists( 'term', $decoded[ 'glossary-entry' ] ) ) { [08:40:41] <.labster> [7/7] /me makes sign of the cross ✝️ [08:41:14] <.labster> unholy mixture of XML and JSON [08:41:29] <.labster> that's a test from Extension:Lingo btw [08:45:30] why is it reparsing the data [08:45:39] why the inconsistent quote usage [08:50:59] <.labster> I have no clue, very mysterious piece of code. [08:51:37] burn it with fire [08:52:37] BlankEclair: did you see Pix in #miraheze last night? [08:52:42] no ^^; [08:52:48] You should [08:53:02] timestamp? [08:53:15] BlankEclair: like 9pm my time [08:53:18] So 8am you [08:53:24] ah oki [08:53:41] Also why do I have 35 emails from 2 days off [08:53:44] And like 50 actions [08:53:53] * RhinosF1 wonders what people did do [08:57:32] wait what's the idea? [08:57:37] something related to footer icons i can gather [08:58:40] > i think we should follow KISS, and do prs for the footer and a bot for templates [08:58:41] what does he mean by this [08:58:57] KISS = Keep It Simple Stupid BlankEclair [08:59:08] i mean the latter clause [08:59:11] well rather [08:59:13] bot for templates [08:59:16] what templates? [08:59:25] BlankEclair: they were making an extension for syncing templates and adding a footer icon [08:59:32] Something to do with a wiki alliance [08:59:52] syncing templates... eh... [09:00:00] that doesn't sound very efficient [09:00:18] BlankEclair: it all sounded terribly over engineered tbh [09:00:24] it's easier to use a bot tbh [09:00:36] we generally do footer icons with LocalSettings.php too [09:01:29] > Probably make it in a compiled language to not have to deal with interpretation in a action run [09:01:30] wha [09:01:42] wdym not deal with interpretation? it doesn't sound any different at all? [09:02:23] > no i mean we upload the exec to be run [09:02:24] why [09:02:28] > compiled pythoj [09:02:36] no one tell pixl about .pyc or __pycache__ [09:02:50] also, pretty sure there are python-to-executable converters [09:04:35] i expected more cursedness tbh [09:04:39] instead it feels like overengineering [09:05:03] though i once wrote a whole custom file read api in c++ for a library that was being used by one person [11:10:07] It was definitely over engineered [11:50:26] if there is one thing I fear its my conscience 😞. Should I have left that ticket open? Maybe it doesn't need to go back through regular SSLRequest queue? https://issue-tracker.miraheze.org/T13220 [11:51:29] few days with extra abilities on Phorge and I'm already mad with power /s [11:51:32] Frisk: that domain is a problem child [11:51:47] RhinosF1: oh, so there is a history, cool [11:51:49] Twice they've ended up with bad config [11:51:55] I'm not sure how [11:52:43] I'm not exactly sure how domains just suddenly point at something else on their own [11:52:58] I assume they don't do that on their own though lmaooo [11:53:52] No [11:53:57] Humans must change them [11:57:32] technically I do have a script that updates the IP for my personal domain very often because I do like hosting my website on my residential IP address using a raspberry pi, so not exactly human, but this doesn't make sense for Miraheze pointed domains which just need static CNAME [12:49:32] what i do [13:12:11] Oh morning @pixldev [13:12:16] @pixldev your extension [13:30:29] https://issue-tracker.miraheze.org/T13197 [13:31:12] can yiu explain what We're waiting for? [13:31:59] I know the backlog is long, so no pressure, I just want to give the requester an update if possible [14:44:22] A [16:27:37] Was it delayed by a long time? I think a similar thing is happening on my wiki [20:36:04] [1/2] Does object caching with `getLocalServerObjectCache` properly work on Miraheze? I'm experiencing an issue with the extension I'm maintaining (RobloxAPI) which I cannot reproduce locally and it seems to me that the object cache doesn't actually save data properly. For the parser function, the parser time goes up when trying to parse the content again after a few seconds and the [20:36:04] [2/2] returned value differs. Usually (and on my localhost) the parsing time should only be 2-10ms after executing the affected parser function once and the cache should last 10 minutes. [20:38:21] [1/2] As visible here, the output keeps changing and requests sometimes fail which should never happen if the result is cached. [20:38:21] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1338610027237478451/2025-02-10_21-31-37.mp4?ex=67abb53c&is=67aa63bc&hm=ef77506b6a7521b5c9f5bcbb36e208273bc5178ea23be7ae585c1487a2a2e73a& [23:02:38] [1/2] Here’s an example of how one of our extensions does it: [23:02:38] [2/2]