<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Project on BoilTask's Blog</title><link>https://boiltask.com/en/tags/project/</link><description>Recent content in Project on BoilTask's Blog</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><lastBuildDate>Fri, 14 Aug 2026 13:17:53 +0800</lastBuildDate><atom:link href="https://boiltask.com/en/tags/project/index.xml" rel="self" type="application/rss+xml"/><item><title>Made an UnrealEngineMCP Plugin for Unreal Engine</title><link>https://boiltask.com/en/record/unrealengine-mcp/</link><pubDate>Fri, 14 Aug 2026 13:17:53 +0800</pubDate><guid>https://boiltask.com/en/record/unrealengine-mcp/</guid><description>&lt;blockquote&gt;
&lt;p&gt;UE5.8 already ships official MCP support; this plugin is my own implementation that follows its design ideas, mainly for cases where the engine can&amp;rsquo;t be upgraded yet.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re on UE5.8 or above, just use the official plugin — treat what follows as a record of the implementation approach.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Recently I gave the AI coding assistant in our project a new capability: letting it operate a UE project directly inside the editor. The motivation is simple. Large models are already good at editing code, but a lot of game development work isn&amp;rsquo;t in code — Blueprints, assets, UMG widgets, Level Actors, all these visual assets are out of reach for an AI that can only edit &lt;code&gt;.cpp&lt;/code&gt; / &lt;code&gt;.h&lt;/code&gt;. So I built an &lt;code&gt;UnrealEngineMCP&lt;/code&gt; plugin that exposes these editor capabilities to AI assistants (opencode, Claude Code, and the like) via MCP (Model Context Protocol).&lt;/p&gt;
&lt;h2 id="architecture"&gt;&lt;a href="#architecture" class="header-anchor"&gt;&lt;/a&gt;Architecture
&lt;/h2&gt;&lt;p&gt;Three layers in total:&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;
&lt;div class="highlight-body"&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt; 1
&lt;/span&gt;&lt;span class="lnt"&gt; 2
&lt;/span&gt;&lt;span class="lnt"&gt; 3
&lt;/span&gt;&lt;span class="lnt"&gt; 4
&lt;/span&gt;&lt;span class="lnt"&gt; 5
&lt;/span&gt;&lt;span class="lnt"&gt; 6
&lt;/span&gt;&lt;span class="lnt"&gt; 7
&lt;/span&gt;&lt;span class="lnt"&gt; 8
&lt;/span&gt;&lt;span class="lnt"&gt; 9
&lt;/span&gt;&lt;span class="lnt"&gt;10
&lt;/span&gt;&lt;span class="lnt"&gt;11
&lt;/span&gt;&lt;span class="lnt"&gt;12
&lt;/span&gt;&lt;span class="lnt"&gt;13
&lt;/span&gt;&lt;span class="lnt"&gt;14
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-gdscript3" data-lang="gdscript3"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;AI&lt;/span&gt; &lt;span class="err"&gt;助手&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;opencode&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;Claude&lt;/span&gt; &lt;span class="n"&gt;Code&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="err"&gt;│&lt;/span&gt; &lt;span class="n"&gt;MCP&lt;/span&gt; &lt;span class="n"&gt;stdio&lt;/span&gt;&lt;span class="err"&gt;（始终在线）&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="err"&gt;▼&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;unreal&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mcp&lt;/span&gt; &lt;span class="n"&gt;wrapper&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="ne"&gt;Node&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;js&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Tools&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mcp&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;wrapper&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="err"&gt;│&lt;/span&gt; &lt;span class="err"&gt;•&lt;/span&gt; &lt;span class="err"&gt;编辑器未启动时自动拉起&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="err"&gt;│&lt;/span&gt; &lt;span class="err"&gt;•&lt;/span&gt; &lt;span class="err"&gt;发现多个编辑器实例，可指定操作目标&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="err"&gt;│&lt;/span&gt; &lt;span class="err"&gt;•&lt;/span&gt; &lt;span class="err"&gt;把&lt;/span&gt; &lt;span class="n"&gt;MCP&lt;/span&gt; &lt;span class="err"&gt;调用翻译成极简&lt;/span&gt; &lt;span class="n"&gt;HTTP&lt;/span&gt; &lt;span class="n"&gt;JSON&lt;/span&gt; &lt;span class="err"&gt;后端&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="err"&gt;▼&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;UnrealEngineMCP&lt;/span&gt; &lt;span class="err"&gt;插件&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;C&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="err"&gt;，运行在编辑器内&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="err"&gt;│&lt;/span&gt; &lt;span class="n"&gt;GET&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;api&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;health&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="err"&gt;│&lt;/span&gt; &lt;span class="n"&gt;GET&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;api&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;tools&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="err"&gt;│&lt;/span&gt; &lt;span class="n"&gt;POST&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;api&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;tools&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;call&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="err"&gt;▼&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="err"&gt;引擎&lt;/span&gt; &lt;span class="n"&gt;Python&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="err"&gt;蓝图&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="err"&gt;资产&lt;/span&gt; &lt;span class="n"&gt;API&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;While building it I split &amp;ldquo;protocol&amp;rdquo; from &amp;ldquo;tools&amp;rdquo;: the plugin acts only as a tool backend, and the MCP protocol layer is left to the Node wrapper. The reason is simple too: UE 5.7&amp;rsquo;s &lt;code&gt;HTTPServer&lt;/code&gt; module doesn&amp;rsquo;t support SSE streaming, and MCP depends on streaming. Rather than wrestling with the protocol inside the plugin, put protocol parsing in the wrapper (Node + &lt;code&gt;@modelcontextprotocol/sdk&lt;/code&gt;) and leave the plugin with a few pure-JSON HTTP endpoints that take &amp;ldquo;tool name + arguments&amp;rdquo; and return a result. Local HTTP overhead is on the order of microseconds, the tools themselves take far longer than the network, you can debug directly with &lt;code&gt;curl&lt;/code&gt;, and the Node side has zero dependencies.&lt;/p&gt;
&lt;h2 id="run_python-the-universal-entry-point"&gt;&lt;a href="#run_python-the-universal-entry-point" class="header-anchor"&gt;&lt;/a&gt;run_python: the Universal Entry Point
&lt;/h2&gt;&lt;p&gt;The most important piece in the plugin is actually &lt;code&gt;run_python&lt;/code&gt;: it runs engine Python inside the editor, and after &lt;code&gt;import unreal&lt;/code&gt; you can touch basically anything. Use it as the universal entry point to cover most editor operations, then add a few convenience read tools and that&amp;rsquo;s enough. The usage handed to the AI looks roughly like this:&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;
&lt;div class="highlight-header"&gt;
&lt;span class="highlight-language"&gt;python&lt;/span&gt;
&lt;/div&gt;
&lt;div class="highlight-body"&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt; 1
&lt;/span&gt;&lt;span class="lnt"&gt; 2
&lt;/span&gt;&lt;span class="lnt"&gt; 3
&lt;/span&gt;&lt;span class="lnt"&gt; 4
&lt;/span&gt;&lt;span class="lnt"&gt; 5
&lt;/span&gt;&lt;span class="lnt"&gt; 6
&lt;/span&gt;&lt;span class="lnt"&gt; 7
&lt;/span&gt;&lt;span class="lnt"&gt; 8
&lt;/span&gt;&lt;span class="lnt"&gt; 9
&lt;/span&gt;&lt;span class="lnt"&gt;10
&lt;/span&gt;&lt;span class="lnt"&gt;11
&lt;/span&gt;&lt;span class="lnt"&gt;12
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;unreal&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# 加载并查看蓝图&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;bp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;unreal&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;load_asset&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;/Game/UI/WBP_TipsTileView&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bp&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# 列出某目录下的资产&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;unreal&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;EditorAssetLibrary&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;list_assets&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;/Game/UI&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# 查询关卡 Actor&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;actors&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;unreal&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;EditorLevelLibrary&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get_all_level_actors&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get_actor_label&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;actors&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h2 id="smart-startup-and-multiple-instances"&gt;&lt;a href="#smart-startup-and-multiple-instances" class="header-anchor"&gt;&lt;/a&gt;Smart Startup and Multiple Instances
&lt;/h2&gt;&lt;p&gt;Once the first version was done and actually in use, three problems showed up:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Forgot to start the editor&lt;/strong&gt; — the AI calls a tool, the editor isn&amp;rsquo;t running, and it simply can&amp;rsquo;t connect;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Instances stepping on each other&lt;/strong&gt; — sometimes two editors are open (usually two instances of the same project), the plugin hardcodes port 8000, the second one can&amp;rsquo;t bind, and the two instances may read and write different in-memory states, so changes clobber each other;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Node fallback&lt;/strong&gt; — the wrapper depends on Node.js; if it isn&amp;rsquo;t installed, we need a clear message rather than a silent failure.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So I refactored it (the design doc is in &lt;code&gt;docs/&lt;/code&gt;), handing the first two problems to the wrapper:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;When the client connects to &lt;code&gt;unreal-mcp&lt;/code&gt; and no editor is running, the wrapper resolves the engine path from the project&amp;rsquo;s &lt;code&gt;EngineAssociation&lt;/code&gt; registry key, launches the editor itself, and polls until it&amp;rsquo;s ready before handling calls (the first launch may take 1–3 minutes);&lt;/li&gt;
&lt;li&gt;With multiple editors, the wrapper reads &lt;code&gt;Saved/MCP/instances.json&lt;/code&gt; to discover instances, picks the first healthy one by default, and you can switch targets with &lt;code&gt;list_instances&lt;/code&gt; / &lt;code&gt;select_instance&lt;/code&gt;; all write operations go to the same instance;&lt;/li&gt;
&lt;li&gt;The plugin side auto-increments on port conflicts (scanning upward from 8000 for a free one) and writes the actual port back to the registry file.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="tools-at-a-glance"&gt;&lt;a href="#tools-at-a-glance" class="header-anchor"&gt;&lt;/a&gt;Tools at a Glance
&lt;/h2&gt;&lt;p&gt;Besides &lt;code&gt;run_python&lt;/code&gt;, a few convenience tools are built in:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;list_blueprints&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;List Blueprint assets in the project (filterable by substring)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;get_blueprint&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Read Blueprint structure: parent class, variables, functions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;list_widget_tree&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Read the widget tree of a UMG WidgetBlueprint&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;get_widget_properties&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Read property values of a UMG widget instance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;create_widget_blueprint&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Create a UMG WidgetBlueprint&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;add_widget_to_tree&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Add a widget to the widget tree&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;set_widget_properties&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Write widget properties by type via Reflection&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;remove_widget_from_tree&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Remove a widget from the widget tree&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;exec_command&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Execute shell commands on the editor machine&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;list_assets&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;List assets under a path&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;list_actors&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;List Actors in the current Level&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;There are also two instance-management tools provided by the wrapper: &lt;code&gt;list_instances&lt;/code&gt; / &lt;code&gt;select_instance&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="usage"&gt;&lt;a href="#usage" class="header-anchor"&gt;&lt;/a&gt;Usage
&lt;/h2&gt;&lt;p&gt;Setup isn&amp;rsquo;t much trouble: copy the plugin directory into the project&amp;rsquo;s &lt;code&gt;Plugins/&lt;/code&gt; and enable it in the &lt;code&gt;.uproject&lt;/code&gt;, run &lt;code&gt;npm install&lt;/code&gt; for the wrapper dependencies, build the editor target, and finally point your MCP client at the wrapper&amp;rsquo;s &lt;code&gt;index.js&lt;/code&gt; in &lt;code&gt;.mcp.json&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Day to day it&amp;rsquo;s basically transparent: just call the tools, and if the editor isn&amp;rsquo;t open it starts it automatically; with multiple instances, run &lt;code&gt;list_instances&lt;/code&gt; first and then lock onto one with &lt;code&gt;select_instance&lt;/code&gt;. For manual control, type &lt;code&gt;UnrealEngineMCP.StartServer 8000&lt;/code&gt; / &lt;code&gt;UnrealEngineMCP.StopServer&lt;/code&gt; in the editor console.&lt;/p&gt;
&lt;h2 id="open-source"&gt;&lt;a href="#open-source" class="header-anchor"&gt;&lt;/a&gt;Open Source
&lt;/h2&gt;&lt;p&gt;The plugin is open source on GitHub: &lt;a class="link" href="https://github.com/BoilTask/UnrealEngineMCP" target="_blank" rel="noopener"&gt;UnrealEngineMCP&lt;/a&gt; — take a look if you&amp;rsquo;re interested.&lt;/p&gt;
&lt;h2 id="additional-notes"&gt;&lt;a href="#additional-notes" class="header-anchor"&gt;&lt;/a&gt;Additional Notes
&lt;/h2&gt;&lt;p&gt;A few small implementation points:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Adding a tool doesn&amp;rsquo;t require touching the wrapper: it discovers tools via &lt;code&gt;GET /api/tools&lt;/code&gt; and converts JSON Schema → zod fully automatically, so a new tool only needs an &lt;code&gt;IMCPTool&lt;/code&gt; class implemented and registered in C++, with not a single line changed in the wrapper;&lt;/li&gt;
&lt;li&gt;The plugin is an &lt;code&gt;Editor&lt;/code&gt; module, editor-only, so it doesn&amp;rsquo;t affect the packaged game builds;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;run_python&lt;/code&gt; can run arbitrary code, so it only listens on localhost by default (&lt;code&gt;bListenOnLocalhostOnly&lt;/code&gt;), and it should only ever run code you trust — the data sent to the LLM is the project content itself.&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Updating the About Resume Page</title><link>https://boiltask.com/en/record/update-about-page-202607/</link><pubDate>Wed, 08 Jul 2026 20:00:11 +0800</pubDate><guid>https://boiltask.com/en/record/update-about-page-202607/</guid><description>&lt;p&gt;I felt the résumé page still had room for improvement, so I found time to update it again. The previous version&amp;rsquo;s design is documented in &lt;a class="link" href="https://boiltask.com/en/record/add-about-page/"&gt;Added an About Résumé Page&lt;/a&gt;, where the résumé was split out into a separate HTML page and embedded into about via an &lt;code&gt;iframe&lt;/code&gt;; this version merges it into a single page and rebuilds it from scratch.&lt;/p&gt;
&lt;p&gt;The biggest change is locking the résumé to a fixed A4 canvas. Previously it scaled proportionally with the container, so on a narrow screen the font shrank along with it and became a strain to read; now the body is fixed at 210mm wide — centered when the container is wide enough, horizontally scrollable when it isn&amp;rsquo;t — so the layout no longer reflows or rewraps with the screen. The upside: what you see on screen is what you get on export, true WYSIWYG.&lt;/p&gt;
&lt;p&gt;Printing got reworked as well. &lt;code&gt;@page margin:0&lt;/code&gt; strips the browser&amp;rsquo;s built-in headers and footers, and &lt;code&gt;box-decoration-break:clone&lt;/code&gt; clones the padding onto every page fragment, so each page keeps consistent margins across multiple pages and content isn&amp;rsquo;t clipped by the hardware edge; the final content is 178mm wide, and on-screen viewing matches the exported PDF word for word. PDF export still goes through &lt;code&gt;window.print&lt;/code&gt; and is handled by the browser, which preserves links and text — more elegant than the &amp;ldquo;image wrapped in a PDF&amp;rdquo; approach of html2pdf.&lt;/p&gt;
&lt;p&gt;I also cleaned up some historical leftovers along the way: the div nesting for side projects and honors/awards is straightened out; item headers moved from float to flex (the date range is right-aligned via &lt;code&gt;margin-left:auto&lt;/code&gt;, so long text no longer misaligns); contact info now uses a grid layout.&lt;/p&gt;
&lt;p&gt;The header was rearranged too. &amp;ldquo;Personal strengths&amp;rdquo; moved out of its own section to the right side of the header, sitting alongside the photo, name, contact info, and skill tags on the left, which saves the vertical space of an entire section and gives the text column more width. The avatar changed from a rectangle to a 22mm square, kept 1:1 without cropping. The strengths themselves were condensed from five scattered bullets into four, each prefixed with a bold, colored category label — &amp;ldquo;Technical Ability&amp;rdquo;, &amp;ldquo;Algorithm Fundamentals&amp;rdquo;, &amp;ldquo;AI Practice&amp;rdquo;, &amp;ldquo;Overall Competence&amp;rdquo; — which makes scanning much clearer.&lt;/p&gt;
&lt;p&gt;Descriptions across all sections were polished as a whole. The wording for education, work, and project experience was reorganized — for a long-running project like &amp;ldquo;Create! Our Planet&amp;rdquo;, the full lifecycle from DEMO to launch, maintenance, and through to server shutdown, along with steps like architecture design, security auditing, and release review, are now written out; supporting tools, onboarding new hires, and engineering standardization are also listed separately, considerably clearer than the previous one-liner.&lt;/p&gt;
&lt;p&gt;Today I added an architecture write-up for &amp;ldquo;Redemption Land&amp;rdquo;: overall it&amp;rsquo;s a UE4 client + native C++ server architecture; the tutorial level doesn&amp;rsquo;t take the route of deploying a separate battle server — instead the client runs the battle server code directly, and the message dispatch logic was adjusted for this so it supports both local direct connection and normal network communication, saving the deployment cost of spinning up a dedicated battle server for the tutorial.&lt;/p&gt;
&lt;p&gt;I also added a standalone preview mode: the about page with the &lt;code&gt;?standalone=1&lt;/code&gt; parameter hides the blog chrome and shows only the résumé, which makes it easy to share or screenshot on its own. The export button in the top-right corner was consolidated too: CALL prompts for a password to decrypt the contact info (AES-encrypted — leaving it in plain text didn&amp;rsquo;t feel right), HTML opens the standalone preview, PDF goes through browser printing, and PNG is rendered with html2canvas.&lt;/p&gt;
&lt;p&gt;A résumé is the kind of thing you want to tweak every so often — I&amp;rsquo;ll probably keep changing it.&lt;/p&gt;</description></item><item><title>Have a Baby, Let's Create Our Beichen</title><link>https://boiltask.com/en/record/child-bei-chen/</link><pubDate>Mon, 20 Apr 2026 19:41:17 +0800</pubDate><guid>https://boiltask.com/en/record/child-bei-chen/</guid><description>&lt;p&gt;Finally finished another big project; today we successfully checked out of the hospital with the baby~&lt;/p&gt;
&lt;p&gt;I was going to write something for the baby, but while bustling around, inspiration didn’t come for a while. I won’t force it—there’ll always be a time when I want to say something.&lt;/p&gt;
&lt;p&gt;The hospital only lets one family member stay as a caregiver; no visits, not even swapping people, so it was quite a hassle. Still, it really was a rare experience, and the transition from being completely at a loss to handling things smoothly went pretty well.&lt;/p&gt;
&lt;p&gt;April 17&lt;br&gt;
8:00 ate&lt;br&gt;
11:00 finished the eight-treasure porridge&lt;br&gt;
13:00 skin prep and catheter insertion&lt;br&gt;
14:20 entered the operating room&lt;br&gt;
14:50 baby expected to come out&lt;br&gt;
15:07 born, 3840g, 7 jin 6 liang, 51cm&lt;br&gt;
15:40 met the baby&lt;br&gt;
21:30 first bowel movement, changed diaper&lt;br&gt;
21:50 second proper feeding, ten minutes&lt;br&gt;
22:10 bed raised, sat up until 23:20&lt;/p&gt;
&lt;p&gt;April 18&lt;br&gt;
12:12 tried to feed; wouldn’t eat and fell asleep&lt;br&gt;
12:20 peed and pooped&lt;br&gt;
12:25 changed diaper&lt;br&gt;
12:30 fed, 25 minutes on the other breast&lt;br&gt;
1:40 fussy; fed 10 minutes on the left, still crying; switched to the right and much better; fed about 10 minutes&lt;br&gt;
3:07 all scheduled blood glucose checks every 3 hours since birth were normal&lt;br&gt;
4:10 fed, on and off for half an hour&lt;br&gt;
5:30 crying and seemed hungry; fed once, stopped crying but didn’t eat much… until about 6:00&lt;br&gt;
7:00 weight 3610g&lt;br&gt;
9:35 ate a couple of mouthfuls while sleeping until 10:00&lt;br&gt;
11:10 fed on the left, 20 minutes on one side, 40 minutes total&lt;br&gt;
Around 11:20, bowel movement; felt like there was no urine&lt;br&gt;
12:20 jaundice 5.2&lt;br&gt;
12:30 fussy; fed for 10~15 minutes&lt;br&gt;
14:05 fed on the right, helped latch more areola, 20 minutes&lt;br&gt;
14:40 fed on the left, 20 minutes&lt;br&gt;
15:00 bowel movement&lt;br&gt;
15:15 fed on the right, 20 minutes&lt;br&gt;
15:35 fed on the left, eating and sleeping at the same time&lt;br&gt;
17:30 fed on the left&lt;br&gt;
17:45 fed on the right, 45 minutes&lt;br&gt;
18:50 fed on the left, 40 minutes&lt;br&gt;
20:20 one scoop in 30ml, drank 10ml&lt;br&gt;
21:40 fed on the left, 10 minutes&lt;br&gt;
21:40 pooped a little, didn’t change&lt;br&gt;
22:20 mixed 30ml with one scoop, didn’t drink&lt;br&gt;
22:40 fed 10 minutes on the left, 20 minutes on the right&lt;/p&gt;
&lt;p&gt;April 19&lt;br&gt;
12:20 one bowel movement&lt;br&gt;
12:30 fed 10 minutes on the left and 10 on the right; still crying, supplemented 20ml formula&lt;br&gt;
01:15 fed 20ml formula&lt;br&gt;
05:10 fed 5 minutes on the left, 5 minutes on the right, 30ml formula&lt;br&gt;
06:00 left side 10 minutes, 10ml formula&lt;br&gt;
07:20 left side 5 minutes, 40ml with one scoop&lt;br&gt;
8:00 saw very little urine, 3600g&lt;br&gt;
9:10 one bowel movement, one urination&lt;br&gt;
9:20 fed 10 minutes, 30ml formula&lt;br&gt;
10:55 fed on the right for ten minutes&lt;br&gt;
Around 11:30, sucked for ten minutes total; wouldn’t take the 20ml of milk&lt;br&gt;
12:00 one bowel movement&lt;br&gt;
12:15 fed 20ml, supplemented 15ml of the 30ml&lt;br&gt;
13:55 fed on the left, didn’t eat and fell asleep&lt;br&gt;
14:35 50ml formula&lt;br&gt;
15:00 bowel movement, some urine&lt;br&gt;
15:20 urinated once while changing diaper&lt;br&gt;
15:40 tried feeding on the left, 15 minutes; fed on the right, 5 minutes&lt;br&gt;
16:50 fed on the right, ten minutes; after ten minutes sucked another ten minutes; half an hour later topped up with 30ml formula&lt;br&gt;
18:10 bowel movement, not sticky and a little loose, some urine&lt;br&gt;
18:20 sucked two mouthfuls, fell asleep&lt;br&gt;
21:15 sucked for twenty minutes&lt;br&gt;
21:40 urinated once, no bowel movement; of 60ml formula, drank more than 50ml&lt;/p&gt;
&lt;p&gt;April 20&lt;br&gt;
12:10 sucked for a while, 60ml formula&lt;br&gt;
12:30 one bowel movement and one urination; stool normal&lt;br&gt;
01:20 fed 10 minutes on the right, 20 minutes on the left&lt;br&gt;
02:00 one bowel movement, no urine, 35ml formula&lt;br&gt;
02:45 small bowel movement, not changed yet&lt;br&gt;
02:55 sucked on the left for 15 minutes, didn’t drink any of the 60ml&lt;br&gt;
05:30 one bowel movement and one urination&lt;br&gt;
05:40 sucked on the left for 10 minutes, 50ml formula&lt;br&gt;
06:00 sucked on the left for 15 minutes&lt;br&gt;
07:20 20ml formula&lt;br&gt;
07:50 right side ten minutes&lt;br&gt;
08:10 bowel movement and urination&lt;br&gt;
08:30 weight 3730g&lt;br&gt;
09:50 fed on the right, 30 minutes&lt;br&gt;
12:20 jaundice 10.3&lt;br&gt;
12:30 bowel movement, yellow&lt;br&gt;
12:40 fed on the left for twenty minutes&lt;br&gt;
13:30 30ml formula&lt;br&gt;
14:40 getting ready to feed, warmed the feet&lt;br&gt;
15:10 heel-prick blood sample, discharged&lt;/p&gt;
&lt;p&gt;&lt;img src="https://r2.boiltask.com/2026/04/bb64a8f4813f6d84007f23f882394ea1.png"
loading="lazy"
alt="image-20260422173023844"
&gt;&lt;/p&gt;
&lt;p&gt;Clearly, the story is to be continued. Having joined the baby-photo-sharing crowd, I have a feeling I’ll do another feature to slowly share my thoughts and experiences. Looking back on it years from now will surely feel special.&lt;/p&gt;</description></item><item><title>Optimizing DidaOJ Deployment in Recent Days</title><link>https://boiltask.com/en/record/optimize-didaoj-deployment/</link><pubDate>Wed, 29 Oct 2025 12:57:16 +0800</pubDate><guid>https://boiltask.com/en/record/optimize-didaoj-deployment/</guid><description>&lt;p&gt;Recently, DidaOJ&amp;rsquo;s user base has started to grow, so I wanted to find a deployment approach that is as formal as possible while keeping costs acceptable.&lt;/p&gt;
&lt;h2 id="analysis"&gt;&lt;a href="#analysis" class="header-anchor"&gt;&lt;/a&gt;Analysis
&lt;/h2&gt;&lt;p&gt;The following parts may need to be handled:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Site static files&lt;/li&gt;
&lt;li&gt;User images&lt;/li&gt;
&lt;li&gt;Site web API
&lt;ul&gt;
&lt;li&gt;Runtime programs&lt;/li&gt;
&lt;li&gt;Database&lt;/li&gt;
&lt;li&gt;Redis&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Judge service
&lt;ul&gt;
&lt;li&gt;Runtime programs&lt;/li&gt;
&lt;li&gt;Judge data&lt;/li&gt;
&lt;li&gt;go-judge&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="conclusion"&gt;&lt;a href="#conclusion" class="header-anchor"&gt;&lt;/a&gt;Conclusion
&lt;/h2&gt;&lt;p&gt;The following services were ultimately chosen:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Cloudflare R2
&lt;ul&gt;
&lt;li&gt;User images&lt;/li&gt;
&lt;li&gt;Judge data&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Alibaba Cloud
&lt;ul&gt;
&lt;li&gt;ECS
&lt;ul&gt;
&lt;li&gt;Redis&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Tencent Cloud
&lt;ul&gt;
&lt;li&gt;EdgeOne
&lt;ul&gt;
&lt;li&gt;Site static files&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lighthouse
&lt;ul&gt;
&lt;li&gt;Judge service runtime programs&lt;/li&gt;
&lt;li&gt;go-judge&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Cloudflare R2 storage does not charge by traffic; instead, it charges by storage space and number of operations, making the cost extremely low at the current Page Views.&lt;/p&gt;
&lt;p&gt;EdgeOne is being promoted by Tencent Cloud and offers a free site quota. In testing, its access speed in mainland China is considerably better than Cloudflare Pages.&lt;/p&gt;
&lt;p&gt;Alibaba Cloud and Tencent Cloud each offer a discounted price for one instance, so they can be used to run long-running programs.&lt;/p&gt;
&lt;p&gt;The web backend API uses Alibaba Cloud Function Compute, which is billed on a pay-as-you-go basis and is more stable than deploying directly on ECS.&lt;/p&gt;
&lt;p&gt;For the database, Alibaba Cloud PostgreSQL was chosen, and the cost is currently fairly manageable.&lt;/p&gt;
&lt;h2 id="notes"&gt;&lt;a href="#notes" class="header-anchor"&gt;&lt;/a&gt;Notes
&lt;/h2&gt;&lt;h3 id="dns-proxy"&gt;&lt;a href="#dns-proxy" class="header-anchor"&gt;&lt;/a&gt;DNS Proxy
&lt;/h3&gt;&lt;p&gt;Currently, the DNS records for the didapipa.com domain are hosted on Cloudflare. It provides a DNS proxy service that can convert HTTP sites to HTTPS and offers analytics and acceleration features.&lt;/p&gt;
&lt;p&gt;However, in testing under the mainland China environment, this turned into a speed-reduction optimization, so the proxy is currently disabled and traffic goes directly to mainland Chinese cloud services.&lt;/p&gt;
&lt;p&gt;In that case, however, SSL certificates need to be handled separately. A temporary one valid for 3 months has been applied for, and an automatic renewal mechanism still needs to be built.&lt;/p&gt;
&lt;h3 id="database"&gt;&lt;a href="#database" class="header-anchor"&gt;&lt;/a&gt;Database
&lt;/h3&gt;&lt;p&gt;During this adjustment, the database was migrated from MySQL to PostgreSQL.&lt;/p&gt;
&lt;p&gt;The motivation was that during earlier research, I found that Dify uses PostgreSQL. I had heard of it to some extent before but had never put it into practice. Taking this opportunity, I looked into it more deeply and found it quite usable. It is also an open-source and free product, so it can basically be used as a superior replacement for MySQL.&lt;/p&gt;
&lt;p&gt;So after refactoring a batch of APIs, I migrated the entire database to Alibaba Cloud&amp;rsquo;s managed PostgreSQL, and it currently seems quite stable.&lt;/p&gt;
&lt;p&gt;Speaking of which, since this system was completed, the database has been migrated quite a few times. Initially, MongoDB was chosen, and importing data from various systems was a real hassle.&lt;/p&gt;
&lt;p&gt;Later, to reduce deployment costs, I chose to migrate to MySQL. During that process, I also did some field cleanup along the way, which led to scattered bugs that went unnoticed.&lt;/p&gt;
&lt;p&gt;After this migration, it should not need to be touched again for the foreseeable short term.&lt;/p&gt;</description></item><item><title>Added an About Resume Page</title><link>https://boiltask.com/en/record/add-about-page/</link><pubDate>Sat, 30 Aug 2025 23:35:11 +0800</pubDate><guid>https://boiltask.com/en/record/add-about-page/</guid><description>&lt;p&gt;The blog never had an &lt;code&gt;About&lt;/code&gt; page. On one hand, I had already explained the blog&amp;rsquo;s original intent in the pinned post &lt;a class="link" href="https://boiltask.com/en/record/first-blog/"&gt;“The First Official Post: Let’s Just Chat”&lt;/a&gt;; on the other hand, I didn’t have any good ideas. Today I was idling at home with nothing to do, suddenly felt like tidying up my resume, and found that many of the handy tools I used before had started charging. I had actually already pulled out Alipay when it hit me: this seems like something I could build myself. After all, if usability and commercialization are off the table, writing a static page myself shouldn&amp;rsquo;t be that complicated.&lt;/p&gt;
&lt;p&gt;So in the end I turned this &lt;a class="link" href="https://boiltask.com/about"&gt;About&lt;/a&gt; page into a showcase page for my resume, with HTML, PDF, and PNG export. Considering that a resume page contains some private information—though there&amp;rsquo;s no real need to hide it deliberately right now—it&amp;rsquo;s still not really suitable for promoting to everyone, so the entry link is on the avatar in the top-left corner of the site, a kind of &amp;ldquo;hiding in plain sight.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;The basic idea was to first write a static HTML page, then add a new page in the Hugo Theme and embed it.&lt;/p&gt;
&lt;p&gt;I didn&amp;rsquo;t brute-force the HTML page either; with help from &lt;a class="link" href="https://yuanbao.tencent.com/" target="_blank" rel="noopener"&gt;Tencent Yuanbao&lt;/a&gt;, I had the basic skeleton up quickly based on the view, and the rest was just adjusting some CSS implementations to my liking. Come to think of it, recent versions of Tencent Yuanbao seem very fond of generating HTML—even when asked an ordinary programming question, it wants to generate a page to explain it (the actual reply is inside the page, quite flashy and impractical&amp;hellip;).&lt;/p&gt;
&lt;p&gt;Exporting an image is not complicated right now; using html2canvas is enough to perfectly generate an image based on the final HTML styling.&lt;/p&gt;
&lt;p&gt;For PDF export I first used the html2pdf library, whose principle is to first generate an image with html2canvas and then convert it to PDF. This approach loses links, text, and other information from the HTML, and the result is a PDF containing an image, which isn&amp;rsquo;t very elegant. So in the end I used the browser&amp;rsquo;s print function: by calling &lt;code&gt;window.print&lt;/code&gt;, if the browser supports it, the print dialog opens and the user can choose to save as PDF.&lt;/p&gt;
&lt;p&gt;However, since printing by default prints the entire page, to make maintenance easier I eventually pulled the resume page out into a separate &lt;a class="link" href="https://boiltask.com/me"&gt;Personal Resume&lt;/a&gt; HTML and embedded it into the main page via &lt;code&gt;iframe&lt;/code&gt;, so when printing is invoked it can focus only on the resume itself. And I could add another button to open a new window, letting users go directly to the resume page itself.&lt;/p&gt;
&lt;p&gt;In addition, I can use the &lt;code&gt;@media print&lt;/code&gt; media query in CSS so that certain styles are triggered only when printing, which lets me adjust the final PDF&amp;rsquo;s appearance.&lt;/p&gt;
&lt;p&gt;Actually, for a while I wanted to make a game project, build a web package, and put it on the site—after all, my career is still mainly in the game industry—but I haven&amp;rsquo;t brewed up the inspiration yet, so I&amp;rsquo;ve put it aside for now. There&amp;rsquo;s plenty of time ahead; maybe one day inspiration will strike and there&amp;rsquo;ll be another big overhaul.&lt;/p&gt;
&lt;hr&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Revision (2026-07-08)&lt;/strong&gt;: This article is the original design record. Later the About resume page was refactored again, merging the standalone resume page and About into a single page; see &lt;a class="link" href="https://boiltask.com/en/record/update-about-page-202607/"&gt;this follow-up update&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>On a Whim, I Wrote Logic That Farms My Own R2 Storage Billing</title><link>https://boiltask.com/en/record/status-too-many-r2-operation/</link><pubDate>Tue, 10 Jun 2025 13:07:50 +0800</pubDate><guid>https://boiltask.com/en/record/status-too-many-r2-operation/</guid><description>&lt;p&gt;I suddenly received a $9 Cloudflare bill. It wasn&amp;rsquo;t very high, but for a moment I couldn&amp;rsquo;t figure out which billing item it was.&lt;/p&gt;
&lt;p&gt;I checked the bill details and found it came from R2 storage.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;th&gt;Qty&lt;/th&gt;
&lt;th&gt;Unit&lt;/th&gt;
&lt;th&gt;price&lt;/th&gt;
&lt;th&gt;Amount&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;R2 Storage Class A Operations (First 1M included) &lt;br&gt;May 9 – Jun 8, 2025&lt;/td&gt;
&lt;td&gt;1,121,440&lt;/td&gt;
&lt;td&gt;$4.50&lt;br&gt;per&lt;br&gt;1,000,000&lt;/td&gt;
&lt;td&gt;1,121,440&lt;/td&gt;
&lt;td&gt;$9.00&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;In other words, the billable Class A Operations for R2 storage reached 1,121,440—over a million calls in a month, and that&amp;rsquo;s not even counting the free one million.&lt;/p&gt;
&lt;p&gt;My first reaction was that it was caused by the batch of problem data I uploaded earlier, but I figured that more than a thousand problems producing over ten thousand files shouldn&amp;rsquo;t generate a million write operations. So I looked through the implementation logic and didn&amp;rsquo;t feel there were any clues.&lt;/p&gt;
&lt;p&gt;After searching around, I found that the DidaOJ website&amp;rsquo;s CDN repository was being called too many times; the judge data repository, on the other hand, wasn&amp;rsquo;t called much. Then I remembered a status update logic I had implemented before.&lt;/p&gt;
&lt;p&gt;To save server resources earlier, I wrote the server status report data to R2 storage. Each node reported its own status once every 3 seconds, so in a month I filled the quota directly&amp;hellip;&lt;/p&gt;
&lt;p&gt;When I was choosing an object storage service earlier, I kept focusing on traffic fees, so I chose R2 storage because egress traffic is free. But looking at it today, R2 storage charges $4.50 per million Class A Operations (1 million free per month), while Alibaba Cloud charges CNY 1 per million (5 million free per month)&amp;hellip; I can only say there&amp;rsquo;s real design behind pricing strategies.&lt;/p&gt;
&lt;p&gt;This was a lesson learned: when evaluating a solution, I still need to consider it carefully and comprehensively, and look closely at every aspect.&lt;/p&gt;
&lt;p&gt;As for site status, I&amp;rsquo;ll just honestly store and retrieve it using the database. Since hardware resources are currently limited, Redis and MongoDB are on the same machine, mainly to cache some compute-intensive data. If Redis resources can be freed up later, storing this kind of status in Redis would be more reasonable.&lt;/p&gt;</description></item><item><title>Recording My TODO List</title><link>https://boiltask.com/en/record/boiltask-todo/</link><pubDate>Thu, 05 Jun 2025 12:23:23 +0800</pubDate><guid>https://boiltask.com/en/record/boiltask-todo/</guid><description>&lt;blockquote&gt;
&lt;p&gt;This post records some TODOs, updated irregularly; expired items may be deleted at any time&lt;/p&gt;
&lt;p&gt;[2026-01-06] I feel using a blog for TODOs is still too heavy-handed; better to manage them in Notion and tidy them up periodically&lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Portals in Lyra&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Ticket system - Pangu&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Table system
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Merge multiple files into one for reading&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Dynamically add, delete, and replace rows&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Support ref&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Maybe I should build my own editor?&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>DidaOJ Core Features Completed</title><link>https://boiltask.com/en/record/oj-core-complete/</link><pubDate>Sat, 31 May 2025 09:01:51 +0800</pubDate><guid>https://boiltask.com/en/record/oj-core-complete/</guid><description>&lt;p&gt;After a month of tinkering, DidaOJ&amp;rsquo;s core features are basically finished.&lt;/p&gt;
&lt;p&gt;It turns out that compared with my graduation project days, I really have come a long way.&lt;/p&gt;
&lt;p&gt;Thanks to the many template projects and base libraries I&amp;rsquo;d left behind, writing it did save a huge amount of time.&lt;/p&gt;
&lt;p&gt;It may not count as elegant, but the ideas have basically all been implemented gradually in order of priority.&lt;/p&gt;
&lt;p&gt;It also makes up for a lot of the regrets from back then that were never finished.&lt;/p&gt;
&lt;p&gt;On the data side, the OJ judging data from before 2016 still hasn&amp;rsquo;t been recovered, but luckily I kept a backup of the problems from back then, so I recovered a batch of problems from the old OJ and fixed them up by hand. As for the data from 2018 onward, I&amp;rsquo;ll see later whether it can be imported.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The data from HPUOJ2.0, HPU-Vjudge, and CodeOJ has been fully merged in&lt;/li&gt;
&lt;li&gt;Added judging for Lua, Ts, and other languages, which also makes language practice convenient&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thinking about where tidying up the OJ started: it was while organizing my blog that I found the problems I&amp;rsquo;d written on HPUOJ back then no longer had a traceable source. So really, I wrapped a whole batch of dumplings just to use up the vinegar.&lt;/p&gt;</description></item><item><title>Recent Plan to Reorganize the OJ System</title><link>https://boiltask.com/en/record/revival-online-judge/</link><pubDate>Sun, 27 Apr 2025 08:10:23 +0800</pubDate><guid>https://boiltask.com/en/record/revival-online-judge/</guid><description>&lt;p&gt;Recently I looked through the OJ system I built for my graduation project again. I feel there is still a lot worth improving, and given the data from 2016 to the present, leaving it idle would be a waste. So I thought I&amp;rsquo;d see whether I can reorganize it again:&lt;/p&gt;
&lt;p&gt;Logically, after all these years, my skills should have improved somewhat.&lt;/p&gt;
&lt;p&gt;Domain enabled: &lt;a class="link" href="https://oj.didapipa.com/" target="_blank" rel="noopener"&gt;Home - DidaOJ&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;20250615: Subsequent update plans and other information will be maintained preferentially on the &lt;a class="link" href="https://oj.didapipa.com/discuss/99" target="_blank" rel="noopener"&gt;site&lt;/a&gt;; this article is for backup only.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="plan-overview"&gt;&lt;a href="#plan-overview" class="header-anchor"&gt;&lt;/a&gt;Plan Overview
&lt;/h2&gt;&lt;h3 id="todo-record"&gt;&lt;a href="#todo-record" class="header-anchor"&gt;&lt;/a&gt;TODO Record
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Problems
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Problem list&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Problem details
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Basic functionality&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Custom problem statements&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Problem sets, similar to tags&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Problem recommendations&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Problem-setting workflow
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Edit problems, upload judge data to R2 storage&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; More judge types, including Virtual Judge
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Multiple-choice, regular fill-in-the-blank, and code fill-in-the-blank questions, etc.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Judging
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Judging list&lt;/li&gt;
&lt;li&gt;Online testing? It would consume noticeable server resources; see whether it can be supported.&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Change the code button on the judging list page to a modal popup.&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Ignore one trailing newline&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Generate rule.yaml when uploading judge data&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Special judge
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Determine the result based on the program&amp;rsquo;s ret
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; 0 - AC&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; 1 - WA&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; 2 - PE&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; other - RE&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Some problem data needs to be organized
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; 276 is missing the out file&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Hide the contest judging ID when entering it directly&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Hide the problem ID when displaying contest judging&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Ranking
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Overall ranking&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Daily ranking&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Rank ranking&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Discussion
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Merge functions from the original blog&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Support bookmarking blog posts&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Support custom Markdown syntax, such as displaying problem tags&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Users
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Login&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Registration&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Permission management
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Permission items&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Roles&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Assign roles to specific users on the admin page&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; User activity
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Recent submissions&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Recent posts and replies&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; No protection considered for submissions; privacy protection for posts?&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Space status updates
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Consider necessity; is it redundant with the posting feature?&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Custom space styles
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Consider necessity; user participation may not be high&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Check-in
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Automatic check-in on daily login?&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Points system
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Redeem points for some rewards? Problem data?&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Contests
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Contest list&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Upcoming contests
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; The public source is no longer available; scrape well-known OJs to generate data&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Contest management
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Everyone can create contests&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Problems can be uploaded in the background, distributed, and cached
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; After successful distribution, the CDN version can be viewed on the page&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Enter a password to view&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Contest editing
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Manage problems&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Write custom problem statements for problems&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Set access rules
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Public&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Private
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Show in list / hide from list&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Set password&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Whether registration is allowed
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Set deadline&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Anti-cheating
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Plagiarism check&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Additional client
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Restrict access to client only&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Mobile app lock&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Camera photo capture&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Screen monitoring&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; IP identification
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Need to verify the egress IP&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Consider deploying an anti-cheating verification server in the school computer room?&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Detect whether pasted content contains keywords when pasting into the input box&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; System
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Status
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Read update information from the R2 or Cloudflare database interface&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; About
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Read post information or redirect directly?&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Tools
&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Code pool&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Miscellaneous
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Display effects
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; &lt;del&gt;Component margin optimization&lt;/del&gt;&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; &lt;del&gt;Option to not load background images&lt;/del&gt;&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; &lt;del&gt;live2D component&lt;/del&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Add distributed locks for edits that involve R2 storage operations&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="architecture"&gt;&lt;a href="#architecture" class="header-anchor"&gt;&lt;/a&gt;Architecture
&lt;/h3&gt;&lt;p&gt;Make the most of Cloudflare resources and analyze performance bottlenecks. Daily load is not a major issue; spikes occur during large contests.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;View problems
&lt;ul&gt;
&lt;li&gt;Auto-generate offline? Proxy?&lt;/li&gt;
&lt;li&gt;Use with Hugo? Password verification?&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Submit code&lt;/li&gt;
&lt;li&gt;Judging
&lt;ul&gt;
&lt;li&gt;Introduce a task center for judge task distribution&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="frontend"&gt;&lt;a href="#frontend" class="header-anchor"&gt;&lt;/a&gt;Frontend
&lt;/h3&gt;&lt;p&gt;Developed with the Vue 3 framework, using TDesign as the base UI component library.&lt;/p&gt;
&lt;h3 id="backend"&gt;&lt;a href="#backend" class="header-anchor"&gt;&lt;/a&gt;Backend
&lt;/h3&gt;&lt;p&gt;Developed with Golang, using MongoDB as the database.&lt;/p&gt;
&lt;h3 id="judge-machine-security"&gt;&lt;a href="#judge-machine-security" class="header-anchor"&gt;&lt;/a&gt;Judge Machine Security
&lt;/h3&gt;&lt;p&gt;The judge machine sandbox directly uses go-judge; only a scheduler needs to be built.&lt;br&gt;
&lt;a class="link" href="https://docs.goj.ac/" target="_blank" rel="noopener"&gt;Go Judge Documentation&lt;/a&gt;&lt;br&gt;
&lt;a class="link" href="https://www.zhihu.com/question/23067497/answer/3055542440" target="_blank" rel="noopener"&gt;How does an Online Judge solve security issues on the judging side? - Zhihu&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="judge-data-distribution"&gt;&lt;a href="#judge-data-distribution" class="header-anchor"&gt;&lt;/a&gt;Judge Data Distribution
&lt;/h3&gt;&lt;p&gt;Judge data is stored using Cloudflare R2 storage, and the judge machine pulls data from R2 during judging.&lt;br&gt;
Each problem&amp;rsquo;s judge data has an MD5 hash stored in the problem attributes; when the judge machine finds that it does not match the local data, it pulls the judge data again.&lt;br&gt;
If it still does not match after downloading, it sleeps and retries.
When uploading files in the background, they are first stored in a web-side folder; after the user clicks save, the MD5 is calculated and the files are uploaded to R2.&lt;br&gt;
Consider supporting automatic extraction of uploaded archives.&lt;/p&gt;
&lt;h3 id="judge-machine-environment"&gt;&lt;a href="#judge-machine-environment" class="header-anchor"&gt;&lt;/a&gt;Judge Machine Environment
&lt;/h3&gt;
&lt;div class="highlight-wrapper"&gt;
&lt;div class="highlight-header"&gt;
&lt;span class="highlight-language"&gt;bash&lt;/span&gt;
&lt;/div&gt;
&lt;div class="highlight-body"&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1
&lt;/span&gt;&lt;span class="lnt"&gt;2
&lt;/span&gt;&lt;span class="lnt"&gt;3
&lt;/span&gt;&lt;span class="lnt"&gt;4
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt install -y build-essential &lt;span class="c1"&gt;# C 和 C++&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt install -y python3 python3-pip
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt install -y default-jdk
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt install -y golang-go&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;g++ &amp;ndash;version
Python 3.11
Java 1.17
golang 1.19&lt;/p&gt;
&lt;h3 id="old-data-migration"&gt;&lt;a href="#old-data-migration" class="header-anchor"&gt;&lt;/a&gt;Old Data Migration
&lt;/h3&gt;&lt;p&gt;Write a migration program that reads data from the old database, organizes it, and writes it into the new MongoDB database.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;HPUOJ · 1.0 - [ ~ 2016.10 ]
&lt;ul&gt;
&lt;li&gt;The data is still unaccounted for and cannot be recovered for now; see if anyone has any clues.&lt;/li&gt;
&lt;li&gt;It seems at least some problems can be manually recovered from the blog&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;HPUOJ · 2.0 - [ 2015.09 ~ 2018.12 ]
&lt;ul&gt;
&lt;li&gt;All OJ data was imported into CodeOJ 1.0; user passwords cannot be recovered due to the rules, so we can try to provide a migration page.&lt;/li&gt;
&lt;li&gt;Try to import Vjudge data into DidaOJ&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;CodeOJ · 1.0 - [ 2019.01 ~ present ]
&lt;ul&gt;
&lt;li&gt;Data is relatively controllable and supports perfect migration&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;hpuoj.com
&lt;ul&gt;
&lt;li&gt;Data is relatively controllable and supports perfect migration&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;Migrate problem data
&lt;ol&gt;
&lt;li&gt;Use CodeOJ data as the standard&lt;/li&gt;
&lt;li&gt;Re-import judge data through the system&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Migrate users
&lt;ol&gt;
&lt;li&gt;Use jol data as the standard&lt;/li&gt;
&lt;li&gt;Supplement with data unique to codeoj&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Migrate contest records
&lt;ol&gt;
&lt;li&gt;Merge jol and vhoj data&lt;/li&gt;
&lt;li&gt;Sort by time&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Migrate judging records
&lt;ol&gt;
&lt;li&gt;Merge jol, codeoj, and vhoj data&lt;/li&gt;
&lt;li&gt;Sort by time&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Migrate discussion area
&lt;ol&gt;
&lt;li&gt;Merge jol and codeoj data&lt;/li&gt;
&lt;li&gt;Sort by time&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Migrate other data
&lt;ol&gt;
&lt;li&gt;Mainly manual editing&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="update-plan"&gt;&lt;a href="#update-plan" class="header-anchor"&gt;&lt;/a&gt;Update Plan
&lt;/h2&gt;&lt;p&gt;The following is mainly kept as an archive of the old plan.&lt;/p&gt;
&lt;h3 id="feature-related"&gt;&lt;a href="#feature-related" class="header-anchor"&gt;&lt;/a&gt;Feature-related
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Registration system&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Teaching and editorial system&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; User signature display&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; OJ system information display&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Form system&lt;sup id="fnref:4"&gt;&lt;a href="#fn:4" class="footnote-ref" role="doc-noteref"&gt;4&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Voting system&lt;sup id="fnref:5"&gt;&lt;a href="#fn:5" class="footnote-ref" role="doc-noteref"&gt;5&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;li&gt;&lt;input disabled="" type="checkbox"&gt; Tools (drafts, drawing board, &amp;hellip;)&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id="the-following-was-completed-before-public-beta-and-is-archived-for-reference"&gt;&lt;a href="#the-following-was-completed-before-public-beta-and-is-archived-for-reference" class="header-anchor"&gt;&lt;/a&gt;The following was completed before public beta and is archived for reference
&lt;/h4&gt;&lt;blockquote&gt;
&lt;p&gt;Note
This task has been recorded since May 23,&lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Tests for various judging results&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Task-based judging&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Remove HTTP-based database connections&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; SPJ refactor&lt;/li&gt;
&lt;li&gt;&lt;input checked="" disabled="" type="checkbox"&gt; Preview image layer order&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="changelog"&gt;&lt;a href="#changelog" class="header-anchor"&gt;&lt;/a&gt;Changelog
&lt;/h2&gt;&lt;p&gt;This log has been recorded since April 19, 2019.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://cdn.codeoj.cn/Ftt70vzJywgkIeLOXu5offBQSfaq"
loading="lazy"
alt="Image upload feature"
&gt;&lt;/p&gt;
&lt;h3 id="20250527"&gt;&lt;a href="#20250527" class="header-anchor"&gt;&lt;/a&gt;20250527
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Core OJ features are basically complete; continue improving details&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20250516"&gt;&lt;a href="#20250516" class="header-anchor"&gt;&lt;/a&gt;20250516
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;User system completed&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20250505"&gt;&lt;a href="#20250505" class="header-anchor"&gt;&lt;/a&gt;20250505
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Improve C/C++/Java/Python judging logic&lt;/li&gt;
&lt;li&gt;Improve user login and logout operations&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20250501"&gt;&lt;a href="#20250501" class="header-anchor"&gt;&lt;/a&gt;20250501
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Improve problem details page&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20250530"&gt;&lt;a href="#20250530" class="header-anchor"&gt;&lt;/a&gt;20250530
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Improve system-related documentation&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20250429"&gt;&lt;a href="#20250429" class="header-anchor"&gt;&lt;/a&gt;20250429
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Improve user system&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20250428"&gt;&lt;a href="#20250428" class="header-anchor"&gt;&lt;/a&gt;20250428
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Improve database migration logic&lt;/li&gt;
&lt;li&gt;Improve basic judge machine logic&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20250427"&gt;&lt;a href="#20250427" class="header-anchor"&gt;&lt;/a&gt;20250427
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Improve the website editor and problem details page&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20250426"&gt;&lt;a href="#20250426" class="header-anchor"&gt;&lt;/a&gt;20250426
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;OJ restart project initiated&lt;/li&gt;
&lt;li&gt;Initialize the website&amp;rsquo;s basic framework and problem list page&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190817"&gt;&lt;a href="#20190817" class="header-anchor"&gt;&lt;/a&gt;20190817
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Add background image display&lt;/li&gt;
&lt;li&gt;Fix news permission display bug on the news editing page&lt;/li&gt;
&lt;li&gt;Open-source frontend code&lt;/li&gt;
&lt;li&gt;Fix MIIT filing link&lt;/li&gt;
&lt;li&gt;Fix static proxy link&lt;/li&gt;
&lt;li&gt;Optimize display of friend links on the homepage&lt;/li&gt;
&lt;li&gt;Fix bug where replies could not be edited&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190621"&gt;&lt;a href="#20190621" class="header-anchor"&gt;&lt;/a&gt;20190621
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Fix friend link style bug on Apple devices&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190620"&gt;&lt;a href="#20190620" class="header-anchor"&gt;&lt;/a&gt;20190620
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Add friend links to the homepage&lt;/li&gt;
&lt;li&gt;Optimize homepage ring style&lt;/li&gt;
&lt;li&gt;Fix bug where user space data did not reload when switching users&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190619"&gt;&lt;a href="#20190619" class="header-anchor"&gt;&lt;/a&gt;20190619
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Display problem source for problems&lt;/li&gt;
&lt;li&gt;Fix date bug on Apple systems&lt;/li&gt;
&lt;li&gt;Display submission statistics on the space page&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190618"&gt;&lt;a href="#20190618" class="header-anchor"&gt;&lt;/a&gt;20190618
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Support view count statistics for blog posts&lt;/li&gt;
&lt;li&gt;Add &lt;a class="link" href="https://codeoj.cn/code" target="_blank" rel="noopener"&gt;Code Pool&lt;/a&gt; feature&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190617"&gt;&lt;a href="#20190617" class="header-anchor"&gt;&lt;/a&gt;20190617
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Fix error where overly long blog posts caused editing to fail&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190616"&gt;&lt;a href="#20190616" class="header-anchor"&gt;&lt;/a&gt;20190616
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;CodeOJ enters public beta&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190526"&gt;&lt;a href="#20190526" class="header-anchor"&gt;&lt;/a&gt;20190526
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Judging completed&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190514"&gt;&lt;a href="#20190514" class="header-anchor"&gt;&lt;/a&gt;20190514
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Test judging&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190513"&gt;&lt;a href="#20190513" class="header-anchor"&gt;&lt;/a&gt;20190513
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Optimize status page&lt;/li&gt;
&lt;li&gt;Add user signature information&lt;/li&gt;
&lt;li&gt;Multiple judging methods&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190512"&gt;&lt;a href="#20190512" class="header-anchor"&gt;&lt;/a&gt;20190512
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Status page&lt;/li&gt;
&lt;li&gt;Submit code&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="2019051020190511"&gt;&lt;a href="#2019051020190511" class="header-anchor"&gt;&lt;/a&gt;20190510~20190511
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Judging code&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190509"&gt;&lt;a href="#20190509" class="header-anchor"&gt;&lt;/a&gt;20190509
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Fix bug where the title of a new blog post could be set to empty&lt;/li&gt;
&lt;li&gt;New problem feature&lt;/li&gt;
&lt;li&gt;Fix errors when hint and other fields are empty&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190508"&gt;&lt;a href="#20190508" class="header-anchor"&gt;&lt;/a&gt;20190508
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Improve problem management&lt;/li&gt;
&lt;li&gt;Submission status page&lt;/li&gt;
&lt;li&gt;Fix search bug&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190508-1"&gt;&lt;a href="#20190508-1" class="header-anchor"&gt;&lt;/a&gt;20190508
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Problem management&lt;/li&gt;
&lt;li&gt;Problem editing&lt;/li&gt;
&lt;li&gt;Add problem&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190507"&gt;&lt;a href="#20190507" class="header-anchor"&gt;&lt;/a&gt;20190507
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Initial design of judging system&lt;/li&gt;
&lt;li&gt;Problem list page design&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="2019050220190506"&gt;&lt;a href="#2019050220190506" class="header-anchor"&gt;&lt;/a&gt;20190502~20190506
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Design judging system&lt;/li&gt;
&lt;li&gt;Write related reports&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190501"&gt;&lt;a href="#20190501" class="header-anchor"&gt;&lt;/a&gt;20190501
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Run programs in Docker&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190430"&gt;&lt;a href="#20190430" class="header-anchor"&gt;&lt;/a&gt;20190430
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Image upload feature&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;img src="http://cdn.codeoj.cn/FmKZoAumxANwTpbiKa4idEsKuIET"
loading="lazy"
alt="Avatar"
&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;Message push&lt;/li&gt;
&lt;li&gt;Docker technology&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190429"&gt;&lt;a href="#20190429" class="header-anchor"&gt;&lt;/a&gt;20190429
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Optimize news permissions&lt;/li&gt;
&lt;li&gt;Fix time bug&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190428"&gt;&lt;a href="#20190428" class="header-anchor"&gt;&lt;/a&gt;20190428
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Improve adding blog posts&lt;/li&gt;
&lt;li&gt;Improve blog filtering&lt;/li&gt;
&lt;li&gt;News management&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190427"&gt;&lt;a href="#20190427" class="header-anchor"&gt;&lt;/a&gt;20190427
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Organize reports&lt;/li&gt;
&lt;li&gt;Add article options&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190426"&gt;&lt;a href="#20190426" class="header-anchor"&gt;&lt;/a&gt;20190426
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Organize system information&lt;/li&gt;
&lt;li&gt;Detail adjustments&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190425"&gt;&lt;a href="#20190425" class="header-anchor"&gt;&lt;/a&gt;20190425
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Improve email system&lt;/li&gt;
&lt;li&gt;Improve homepage carousel settings&lt;/li&gt;
&lt;li&gt;List filtering feature&lt;/li&gt;
&lt;li&gt;Fix system bug&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190424"&gt;&lt;a href="#20190424" class="header-anchor"&gt;&lt;/a&gt;20190424
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Improve forgot password feature&lt;/li&gt;
&lt;li&gt;Switch email service to Tencent Exmail&lt;/li&gt;
&lt;li&gt;Email sending system pending observation&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190423"&gt;&lt;a href="#20190423" class="header-anchor"&gt;&lt;/a&gt;20190423
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Registration feature&lt;/li&gt;
&lt;li&gt;Forgot password page&lt;/li&gt;
&lt;li&gt;Fix bug&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190422"&gt;&lt;a href="#20190422" class="header-anchor"&gt;&lt;/a&gt;20190422
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Admin page
&amp;ndash; Homepage carousel settings page
&amp;ndash; Support switching ports on the admin page&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190421"&gt;&lt;a href="#20190421" class="header-anchor"&gt;&lt;/a&gt;20190421
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Admin page
&amp;ndash; User information editing
&amp;ndash; User email verification
&amp;ndash; Blog management page&lt;/li&gt;
&lt;li&gt;Dynamic port switching&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190420"&gt;&lt;a href="#20190420" class="header-anchor"&gt;&lt;/a&gt;20190420
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Add private article option; add token check when fetching articles&lt;/li&gt;
&lt;li&gt;User information page&lt;/li&gt;
&lt;li&gt;Admin backend menu&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="20190419"&gt;&lt;a href="#20190419" class="header-anchor"&gt;&lt;/a&gt;20190419
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Improve permission system&lt;/li&gt;
&lt;li&gt;Organize and fix systemic issues&lt;/li&gt;
&lt;li&gt;Add error page&lt;/li&gt;
&lt;li&gt;Improve blog system; add article editing page&lt;/li&gt;
&lt;li&gt;Deploy project to server&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="before"&gt;&lt;a href="#before" class="header-anchor"&gt;&lt;/a&gt;Before
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Design architecture
&lt;ul&gt;
&lt;li&gt;Frontend pages with Vue&lt;/li&gt;
&lt;li&gt;Backend framework PhalApi&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Write homepage, problem list page, problem page, and blog page&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="before-that"&gt;&lt;a href="#before-that" class="header-anchor"&gt;&lt;/a&gt;Before That
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Research advanced experience from other OJs&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Similar to &lt;a class="link" href="https://vjudge.net/article/752" target="_blank" rel="noopener"&gt;vjudge&lt;/a&gt;&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;Can temporarily use the blog as a substitute&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;Old OJ data is currently available, but the display effect has not been designed yet; suggestions are welcome&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:4"&gt;
&lt;p&gt;Can be temporarily integrated with registration-based contests&amp;#160;&lt;a href="#fnref:4" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:5"&gt;
&lt;p&gt;For example, voting on this page&amp;#160;&lt;a href="#fnref:5" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Built a Site That Collects OnlineJudge Problems</title><link>https://boiltask.com/en/record/oj-problem/</link><pubDate>Thu, 10 Apr 2025 21:40:08 +0800</pubDate><guid>https://boiltask.com/en/record/oj-problem/</guid><description>&lt;p&gt;While organizing my previous articles, I found that some of the original sites hosting certain problems no longer exist, and tracking those problems down is quite a hassle—so I started thinking about whether there&amp;rsquo;s a way to make a backup.&lt;/p&gt;
&lt;p&gt;It would also give me a more elegant way to embed problem statements in my own articles.&lt;/p&gt;
&lt;p&gt;Site: &lt;a class="link" href="https://oj.boiltask.com/" target="_blank" rel="noopener"&gt;Online Judge Problem&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Ouyang Tian and Jia Yifan Are Getting Married~</title><link>https://boiltask.com/en/record/wedding-oyt-jyf/</link><pubDate>Fri, 28 Mar 2025 13:59:23 +0800</pubDate><guid>https://boiltask.com/en/record/wedding-oyt-jyf/</guid><description>&lt;p&gt;The full wedding video, edited by Ouyang Tian — also the most expensive project of my life:&lt;/p&gt;
&lt;div class="video-wrapper"&gt;
&lt;iframe src="https://player.bilibili.com/player.html?as_wide=1&amp;amp;high_quality=1&amp;amp;page=1&amp;bvid=BV1MvoDY3Ex9"
scrolling="no"
frameborder="no"
framespacing="0"
allowfullscreen="true"
&gt;
&lt;/iframe&gt;
&lt;/div&gt;</description></item><item><title>Another Long-Time Host Has Expired</title><link>https://boiltask.com/en/record/201910151/</link><pubDate>Tue, 15 Oct 2019 10:12:26 +0000</pubDate><guid>https://boiltask.com/en/record/201910151/</guid><description>&lt;p&gt;Alibaba Cloud sent a renewal notice&amp;hellip;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://r2.boiltask.com/2026/03/cd52658b0ba750aee2b2c9a07f440388.png"
loading="lazy"
alt="Host information"
&gt;&lt;/p&gt;
&lt;p&gt;This one is probably the ECS host that stayed with me the longest. It mainly ran services related to the CoolQ bot.&lt;/p&gt;
&lt;p&gt;I used it as the server for running Java in my Network Programming course project and my Java course project. After all this time—my first project that could really be called a piece of work—the QQ bot has stuck around for just as long. It has gone without maintenance for a long time now, yet it kept running half-dead, and later I also wrote little tools like the HPU assistant on it.&lt;/p&gt;
&lt;p&gt;So&amp;hellip; let&amp;rsquo;s say goodbye. If fate allows, we&amp;rsquo;ll meet again somewhere in the wide world~&lt;/p&gt;</description></item></channel></rss>