[01:45:27] FYI Medik released a patch a few days ago to handle deprecated methods & classes which can be deployed to Mirabeta [01:47:34] done [01:49:46] Should probably upgrade in prod 1.47 also. [01:51:31] :done: [01:51:34] oh [01:51:36] it's 1.46 [01:51:40] nothing changed lol [01:52:47] :done: [01:53:23] Thanks! [01:53:44] Hi, requesting enrollment in NextTide (just for 1.47) for https://vocaloidlyrics.miraheze.org/, thanks in advance. [01:53:56] @suzuneu want to verify and do ^? [01:54:01] lemme try [01:55:59] [1/2] :done: [01:56:00] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1575329241749266432/image.png?ex=6b08e32f&is=6b0791af&hm=3bb0bf3be7cec7752cabd817cad3c1498aa88cf281ed05e6c28112e1d7894203& [01:56:26] Thank you! [01:56:28] Thanks again! [01:56:53] Now I owe you that review @suzuneu. Will get it done tonight. [01:58:47] [1/2] I do not own Nitro [01:58:47] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1575329943930540063/Screenshot_2026_1126_085827.png?ex=6b08e3d6&is=6b079256&hm=61a440bf6cff94fac13a6aee67c59d96e2d444cd84479aab48043c9b61b3c27b& [02:16:51] [1/19] https://github.com/miraheze/mw-config/pull/6668/changes/6f3391ab6cd7649556dd7c2354c95d9c26732082 [02:16:51] [2/19] I think CI missed the indentation issues. Maybe we should add that as well. [02:16:51] [3/19] ```diff [02:16:52] [4/19] diff --git a/ContentSecurityPolicy.php b/ContentSecurityPolicy.php [02:16:52] [5/19] index 49a9533a..526095eb 100644 [02:16:52] [6/19] --- a/ContentSecurityPolicy.php [02:16:53] [7/19] +++ b/ContentSecurityPolicy.php [02:16:53] [8/19] @@ -534,8 +534,8 @@ $wgMirahezeMagicCSPServices = [ [02:16:53] [9/19] 'img-src' => [ [02:16:54] [10/19] '*.spotifycdn.com', [02:16:54] [11/19] ], [02:16:55] [12/19] - 'connect-src' => [ [02:16:55] [13/19] - 'open.spotify.com', [02:16:56] [14/19] + 'connect-src' => [ [02:16:56] [15/19] + 'open.spotify.com', [02:16:57] [16/19] ], [02:16:57] [17/19] ], [02:16:58] [18/19] ], [02:16:58] [19/19] ``` [02:37:45] I also will say we should not use /tmp I found it crashes servers if we do when working on RequestImport that's because starting on Debian Trixie, /tmp is a tmpfs, which means it actually stores to memory not the disk causing many issues and OOMs as well. That's why I changed RequestImport to use a directory in cache. @petramagna [02:38:06] @posix_memalign ^ that didn't ping it seems .. [02:38:43] It's not an issue for MediaWiki but is for large archives. [02:40:46] It took me a super long time to figure out why it was causing issues with RequestImport... [02:41:05] Ah I see. I think a temporary database from DuckDB got my terminal killed by the kernel's OOM killer on my PC for this reason lol. [02:43:27] [1/2] Though since mwtask181 only has 14GB of `/tmp` space and the swift file dump script refuses to dump any files without 5GB of available space, it'll only consume 9GB of space max, which is probably why we haven't had any issues so far. [02:43:27] [2/2] If we do want to back up the largest wikis we do need another solution. The host disk has 100G of available space, but we need to be really careful about cleanup so that we don't fill it up by accident. [02:45:24] Which can still OOM if PHP and other stuff use enough that there isn't 9GB of memory left. [02:46:05] Because /tmp doesn't use any disk space it's all memory, so a 5GB disk check is pointless because it doesn't save to disk. [02:46:55] Hmm mwtask181 only has 27G RAM and 2G of swap. That's kinda small... [02:49:01] It's not a regression over the current script so I think we are safe for now. [12:03:34] [1/2] Thanks for adding Apple Music to the CSP! Quick question, and this isn't a huge deal if not doable or too much of a hassle, but would it be possible to just have that service automatically allowed in the per-wiki CSP of the wiki that requested addition? Noticed that we have to turn Apple Music on manually since it's default turned off, which is fine, but wondering if it might cause [12:03:34] [2/2] confusion for other folks requesting CSP additions down the line, if they don't realize there's an additional step they have to take to actually enable it on their wiki even after approval. [12:16:53] [1/2] Since we allowed per-wiki CSP changes through ManageWiki, the default CSP for new wikis has shrunk by a lot. To compensate, we added the CSP error popup so that users will know what to do if they encounter a CSP error. [12:16:53] [2/2] A lot of the aspects in that implementation should be improved, but hopefully wikis will be able to figure this out themselves? We can certainly ping users who asked for Apple Music, though I think VLW is the only wiki that asked for it in T16342. Maybe there are some informal discussions elsewhere? [12:18:56] Oh, I forgot about the popup. I was mainly referring to wikis requesting new CSP additions (so not Apple Music specifically) who might not realize after approval that they still need to turn it on in ManageWiki, but I guess the popup would probably inform them of that anyway. [12:23:16] It probably won't if they're already used to it... Anyone on Phorge will get an email, and since most of these additions went into the per-wiki CSP at least this batch isn't too confusing. [12:47:46] [1/2] https://issue-tracker.miraheze.org/T14700 [12:47:47] [2/2] Seeing this reminded me, is that server called something like [[Tech:Llm191]] with 34GB of RAM still being used? [12:47:47] [16:06:50] No [17:49:51] Wait, we have access to the prompt? I'll need to follow up on that when it's not a holiday [17:55:39] I did not know that either [17:56:13] Get lost and enjoy your holiday though [18:21:51] [1/10] Some things for consideration on the CW AI front that I've observed from me messing around with it at WO: [18:21:52] [2/10] * Giving it access to web search/URL fetch tools improves the general quality of responses: [18:21:52] [3/10] *In particular for it to find duplicate wikis is really good with web search, on a recent request (https://meta.wikioasis.org/wiki/Special:RequestWikiQueue/1693), it went ahead and searched to find the main wiki (reasoning traces attached), and then referenced that in the answer which I found pretty neat from it. [18:21:52] [4/10] * It also is pretty decent at doing some research into the topic more broadly with the web search tool which has been useful, for example it has been able to put requests on hold to do with brainrot topics based on it having more context on that front, but results vary depending on how much web coverage, but in general it helps it to have more context. [18:21:53] [5/10] * Claude is fairly good at thinking it through, and I generally find that claude models are more intelligent (although I'd be curious to see how non major lab models e.g qwen/muse/deepseek to name some I can think of compare) than OAI models, and understand the system prompt better and are willing to go further in their investigating to come to a decent conclusion. Claude also writes [18:21:53] [6/10] really nice responses to users that I think sound genuinely useful and if I was the user on the recieving end I would find them useful (although it does try to use unsupported markdown but that is what it is) [18:21:53] [7/10] * More generally system prompt wise: [18:21:53] [8/10] * Giving it some instructions on how to reply to accepted requests (i.e wish them luck and potentially give specific advice) sounds more welcoming than the "this is a clear request for a wiki with a distinct scope" explanation shit. [18:21:54] [9/10] * Giving it examples (~2 for each outcome seems to be decent enough) for how to respond to them results in nicer messaging to users in general. [18:21:54] [10/10] https://cdn.discordapp.com/attachments/1006789349498699827/1575577343626317884/image.png?ex=6b09ca3f&is=6b0878bf&hm=a7843b851831458fece83103abc0fb65df6703d74ac08c06d10d6d3a4e26868f& [18:23:50] Also more generally, I find giving it more reasoning effort makes it more willing to push further when trying to evaluate it and use tools, on xhigh it will use web search almost every time which while having a cost tradeoff does improve quality [18:26:55] [1/4] There are also some other ideas of mine I am yet to properly look into: [18:26:56] [2/4] * The advisor tool where it will consult a stronger model mid task if it thinks it needs it [18:26:56] [3/4] * Giving it persistent memory between requests from the same user (probably unlikely to be super helpful) [18:26:56] [4/4] * Giving more general access to onwiki search tools like the ability to search the list of wikis and search on wikis [19:36:53] if it was able to search something curated to the platform's own data and not exposed to the open web, I'd have somewhat higher faith in it. Web would be good for topic perception but what I worry about this approach is prompt manipulation that might only worsen over time. [19:37:28] reasoning wise cost remains a factor, though it would be worth looking at anyway just to see what the damage could be. At the same time miraheze does want to keep the door open to be able to swap to something more 'libre' architecturally [19:37:44] claude is a strong drug that might be hard to give up [19:40:01] (And has been raising rates post-IPO as I understand it) [19:40:22] they aren't afaict [19:40:59] they have such high margins on the API pricing given how highly subsidised the subscription plans are [19:41:08] I don't expect them to raise them [19:42:33] Ahhhhh, I dredged up what I was half-remembering - it was speculation that investor pressure post-IPO to improve burn rate would lead to token/plan price increases, nothing factually concerned [19:42:45] the api pricing margins are so high lmao [19:43:21] and it allows them to use their plans to draw people in because actual cost to run inference is not that high so the subscription plans have much more usage than the same cost would get you at api rates and then you get sucked down the api pricing rabbit hole [19:43:32] checks out considering the good enough I've seen scraped from off peak deepseek [19:44:45] openrouter is quite good for getting some cheap stuff [20:51:53] Would probably be a lot easier to simply run Deepseek in headless Pi running in a sandbox. Give it a custom tool which it can use to (1) search the list of existing wikis on the farm and (2) visit the main page of any public wiki on the farm. There isn't a need for shell access or access to the public internet this way. [20:55:33] yeah but deepseek isn't as competent [20:55:46] also it's much easier to just use the prebuilt tools the anthropic api exposes [20:57:26] But we don’t want to [20:57:35] Claude pill max is not great [20:57:56] https://klipy.com/gifs/pill-19