Shu-yi Wei

My Blog

Fortran 实用简介

By Shu-yi Wei, 26/12/2020 | 作者:魏树一

在这篇博客中,我简单介绍一下如何利用 fortran 语言实现科学计算。这篇博客的目的是让零基础的学生能够快速的入门,而不是介绍一些高级功能。


生活在巴黎

By Shu-yi Wei, 29/10/2019 | 作者:魏树一

作为浪漫之都,巴黎每年吸引无数游人驻足。幻想与现实之间的激烈对撞无情地蹂躏着无数旅客的玻璃心。恐怖的“巴黎综合征”给心理医生们创造了更多工作机会,让他们可以赚钱去其他地方度假。

作者曾在巴黎生活过两年,在此分享一些在巴黎生活的一些经验。希望能给即将要去巴黎生活或者旅游的人们提供一点助益。


玩在法国

By Shu-yi Wei, 01/11/2019 | 作者:魏树一

钱钟书先生曾经说过,巴黎就像一座围城,外面的人想进来,里面的人想出去。在巴黎安顿下来,走遍巴黎的大街小巷之后,很自然地,就该好好盘算一下 8 月份要去哪里度假了。

作者在本文中分享一下自己的游历。看完这篇文章,你大概就能知道我在法国这两年没怎么认真工作。


A MC Simulation of ABO Blood Group Evolution

By Shu-yi Wei, 02/04/2020 | 作者:魏树一

In the March, a group of researchers published a paper on preprint [1] on the investigation of the possible correlation between the ABO Blood Group and the COVID-19 Susceptibility. By comparing the blood group distribution of the 2173 patients in Wuhan in 2019-2020 with that of normal people in 2015, they found a significantly increased risk of blood group A for COVID-19 and a decreased risk of blood group O.

In my opinion, such study is quite problematic and the conclusion can not be regarded as solid. First, before the Wuhan lockdown, roughly half of the people have left for the Lunar-New-Year family reunion. Since they come from different proviences, the blood group distributions might be different. Second, not all the Wuhan residents are exposed to the virus. Normally such virus is spreading in several communities. A solid conclusion can only be obtained by comparing the blood group distributions of the infected people and of the exposed people. I have to admit, such study is extremely difficult, if not impossible, to achieve. Nonetheless, I am not going to propose a better research. I am just questioning their conclusion.

In this blog, I would like to build a toy Monte-Carlo Model to simulate the evolution of blood group distribution. This work is just to test my ability of coding a MC program.


一道 Futoshiki 谜题的解决步骤

By Shu-yi Wei, 05/06/2020 | 作者:魏树一

居家工作期间比较无聊,就作作 Guardian Weekly 上的 Futoshiki 和 Sudoku 解闷。这篇文章详细的记录了我解决 2020 年 4 月 17 日那期杂志的 Futoshiki 的解题过程。