为 SQLAlchemy Model 添加 type hint 和 type check

<h2 id="tldr">TL;DR</h2> <p>Use <code>from typing import dataclass_transform</code></p> <h2 id="motivation">Motivation</h2> <p>其实动机很简单,众所周知对

2024/3/4
阅读更多

Boot an Arch Linux RISC-V using qemu-system

<h2 id="caution">CAUTION</h2> <p>We (distro packagers) decided to <a href="https://github.com/felixonmars/archriscv-packages/blob/ae724a145a

2023/3/7
阅读更多

关于基于机器学习的多目标对象追踪算法的文献综述

<p><strong>问题描述</strong></p> <p>多目标对象追踪(Multi-Object Tracking, MOT)一直是计算机视觉(Computer Vision,CV)领域中非常重要的研究对象,其核心是通过分析输入的图像序列,构建出不同帧的物体间的对应关系。

2022/10/8
阅读更多

RV64 板子更换 rootfs 指南

<blockquote> <p>XieJiSS, revision 3</p> <p>本文可能不会及时更新,请以<a href="https://github.com/felixonmars/archriscv-packages/wiki/RV64-%E6%9D%BF%E5%AD

2022/8/25
阅读更多

ACTF2022 safer-tg-bot-{1,2} WP

<h3 id="safer-telegram-bot-1">safer-telegram-bot-1</h3> <ol type="1"> <li>Search for <code>flag1</code> in the source code</li> </ol> <figur

2022/7/23
阅读更多

A RISC-V gcc pitfall revealed by a glibc update

<p><strong>UPDATE 2023-05-11:</strong> Finally we have builtin inline subword atomic support in GCC!</p> <ul> <li>[PATCH] riscv: Don't add -

2022/4/7
阅读更多

Setup an Arch Linux RISC-V Development Environment

<blockquote> <p>This is a frequently updating doc, and you can find its latest version <a href="https://github.com/felixonmars/archriscv-pac

2022/3/22
阅读更多

解构赋值踩坑:神秘失踪的数据

<p>话说在我们 PLCT ArchRV 组,基础设施都是我们自己搭出来的,分工、打标记、追踪状态全部靠 <code>gh: XieJiSS/plct-archrv-pkg-bot</code>、<code>gh: cubercsl/archrv-pkg-notification

2022/3/15
阅读更多

How's the GDPR (used to) related to my blog

<blockquote> <p>Felix: they say that EU readers are blocked from your blog</p> <p>me: wtf really? how?</p> <p>also me (3 yrs ago): Haha GDPR

2022/3/11
阅读更多

Rust is incompatible with LLVM, at least partially

<p>Lately we've been compiling rust 1.59.1 on <code>riscv64gc</code> (will be referred to as <code>rv64</code> in this article). We are pack

2022/3/11
阅读更多

推荐订阅

每日新闻.

The Art of Chawye Hsu

Recent content on Yuko's Blog