关于身体
有些关于身体的评价只发生了几秒钟,却会在一个人的身体里停留很多年。写写肥胖、羞辱、福柯,以及我如何试着将一把尺子还给十年前的走廊。
CS PhD student at Northwestern.
https://www.whexy.com/ · link · github · x
技术 #Rust #system #Apple #CDN #ARM #NAS #Linux #Network
有些关于身体的评价只发生了几秒钟,却会在一个人的身体里停留很多年。写写肥胖、羞辱、福柯,以及我如何试着将一把尺子还给十年前的走廊。
Some remarks about the body take only a few seconds to make, yet stay inside a person's body for years. On obesity, humiliation, Foucault, a…
Two years, seven million dollars on the table, and in the end, we lost.
使用 Apple 的虚拟化框架在 ARM 架构上构建虚拟机监控器。全部使用 Rust 实现。
Building a Virtual Machine Monitor with Apple's Hypervisor Framework on ARM architecture. All in Rust.
使用树莓派 Pico 驱动微雪墨水屏显示器。
Using a Raspberry Pi Pico to drive a Waveshare E‐Paper display.
有用的 Docker 命令,用于在容器内启用 cgroup (v2) 的使用
Useful docker command to enable using cgroup (v2) inside the containers
我们到底应该怎么审一篇 Fuzzing 论文?
How should we actually review a fuzzing paper?
解决在群晖 NAS 上始终无法实现密钥登录,反而一直提示输入密码的问题。
Resolving the issue where SSH key login fails on Synology NAS, consistently prompting for password instead.
TL;DR: 写入速度的瓶颈通常是网络,而不是硬盘。
TL;DR: The bottleneck for write speeds is usually the network, not the hard drive.
介绍我的主机多操作系统解决方案:裸机虚拟化。
Introducing my multi-operating system solution: bare-metal virtualization.
苹果在 WWDC 上公布了 Game Porting Toolkit,可以将 DirectX API 转译到自家的 Metal API。通过使用套件中的模拟器,在 macOS 上运行 Windows 游戏成了现实。
At WWDC, Apple announced the Game Porting Toolkit, which can translate DirectX APIs to Apple's own Metal API. Using the emulator included in…
即使在十年前的老硬件上,也能创作出年度最佳游戏。真正令人激动的故事情节和极具创意的游戏机制远比图像质量的提升更为重要。
Even on ten-year-old hardware, it's possible to create the game of the year. Truly exciting storylines and highly creative gameplay mechanis…
接着聊聊围绕边缘网络进行的封禁与反封禁博弈。
Continuing the discussion on blocking and anti-blocking games around edge networks.
构建一个受益于 CDN 快速传输的中继服务,并具有其他优势。
Build a relay service that benefits from CDN's fast delivery and has other advantages.
尝试解决家庭网络抖动频繁的问题,完成家庭网络的升级改造工程。
Attempting to solve frequent home network instability issues and complete a home network upgrade project.
2014 年,我注册了这个域名用来自建博客发表文章,相继用过了 WordPress,Hexo,Hugo 等等博客系统。去年突发奇想,想要 DIY 一个。迭代更新了半年时间,收到了不少朋友的好评。本文主要介绍一下这个博客系统开发过程中总结的经验。
In 2014, I registered this domain to build a personal blog. I've used WordPress, Hexo, Hugo, and other blog systems. Last year, on a whim, I…
在南科大的四年,每学期都会遇到 IoT 设备连接校园网的难题。这篇博客主要介绍如何让智能设备绕过认证直接接入校园网,以及这些操作的原理。
During my four years at SUSTech, every semester I encountered the challenge of connecting IoT devices to the campus network. This blog post…
2015 年,著名程序员 Bob Nystrom 在博客上发表文章 What Color is Your Function,振聋发聩,发人深省,引发了行业内的激烈讨论。6 年过去了,它在各大编程语言的论坛上历久弥新。
In 2015, renowned programmer Bob Nystrom published an article 'What Color is Your Function' on his blog, which was thought-provoking and spa…
Forking 是在 Linux 中创建进程的方式。尽管多年来 fork 已经改进到使用 COW(写时复制)语义,它仍然必须从父进程向子进程复制一定数量的数据。实验室的一些学生在使用模糊测试机器时遇到了一些问题...
Forking is how a process in Linux is created. Even though the fork has been improved over the years to use the COW (copy-on-write) semantics…
PMU 中断在硬件和软件之间扮演着重要角色。它赋予软件深入了解其在硬件上执行情况的能力。在本文中,我将介绍 PMU 和 PMI 的强大功能以及如何使用它们来实现你的目标。
PMU interrupts act as an essential role between hardware and software. It gives the software the ability to gain insight into its execution…
异步程序也可以通过线程池应用于多线程系统。然而,在其中使用互斥锁可能会出现问题。
Asynchronous programs can also be applied on multi-thread system through thread pool. However, using mutex in it might be a problem.
作为一名喜欢系统编程的学生,我一直想在 M1 Macbook 上直接开发 Linux 内核,而不需要嵌套虚拟机。这篇博客是开发环境的搭建指南。目标是在搭载 Apple Silicon 的 macOS 上的 QEMU 中运行 Linux 内核。
As a student who is fond of system programming, I always want to develop Linux kernel directly on the M1 Macbook without nested VMs. This bl…
现在我要介绍我们最近的工作。我们叫它"Investigator"。Investigator 使用硬件特性来诊断 Arm 上的并发错误。
Now I am going to introduce our recent work. We call it Investigator. Investigator uses hardware features to diagnose concurrency bugs on Ar…
本文总结了一些在写论文期间遇到的较为复杂的 LaTeX 问题。其中包括 latexdiff 在多文件环境的使用技巧,以及如何解决 latexindent 的依赖冲突。
This article summarizes some of the more complex LaTeX problems encountered during paper writing. It includes usage tips for latexdiff in mu…
我正在观看 Jon Gjengset 的直播编程视频,主题是"子类型和型变"。这是我的笔记。
I'm watching Jon Gjengset's live coding stream. And the topic is "Subtyping and Variance". This is my note.
在 Rust 中,特征(trait)也可以是泛型。引入泛型特征,一是希望特征不受具体类别的限制,二是希望特征具有更广泛的约束性。
In Rust, traits can also be generic. Generic traits are introduced for two reasons: first, to make traits not limited by specific types, and…
大三时期做的游戏平台。主要语言是 Kotlin 和 TypeScript。回头看觉得做得还行,反正当时拿了满分 :)