Monday, August 11, 2025

有誰情痴得 不怕天地變

我説很無助 你說會成功

借一場雷雨 換高原追夢

停一停 等一等 別匆匆

糊塗者 重新醒悟 值得去尊重


世界贈與我激動 也贈與我看清

贈我宿命的相遇 也贈予我相思

贈我一場空 又漸漸填滿真感情

贈我一首詩 又悄悄讀得很安靜


我説會走散 你裝作沒懂

借一絲懵懂 驚一片翻湧

追一追 探一探 情正濃

祝福詞 有意無心 反复地唱诵


世界贈與我擁有 也贈與我回敬

贈我心靈的共舞 也贈予我聆聽

贈我一個名 又漸漸長大的年齡

贈我一場病 又慢慢痊癒搖風鈴


我不想回望 你不想憧憬

借一米陽光 拍一張合影

轉一轉 斷一斷 莫伶仃

清醒者 看清内心 願自他安定

Friday, May 9, 2025

[SVN] Check the status


Depending on what you want to know between your working copy and the latest svn server repository, without updating your local working copy, here is what you can do:

if you want to know what has been changed in svn server repository, run command:
$ svn st -u

[Python] What is the best practice for managing Python environments inside WSL?

I am using VS Code with WSL and use Miniconda on Windows, what is the best practice for managing Python environments inside WSL?

(answers generated by ChatGPT)

Using a separate Miniconda installation inside WSL gives you the most consistent and manageable Python environment experience (isolated from system Python).

🔧 Steps:

  1. Install Miniconda in WSL:

    bash

    wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh bash Miniconda3-latest-Linux-x86_64.sh

    Follow the prompts to install, and allow it to add conda to your .bashrc or .zshrc.

Thursday, May 8, 2025

[Linux] SSH key pair initiation or copy

Working with SSH Key Pairs

This is to set up the key once, and then don't need to enter the passphrase every single time:

Use an ssh-agent in WSL with your ssh setup from windows 10 | by Philipp Scheit | Medium

Create new key pair

Use the ssh-keygen command to generate a public and private authentication key pair. Authentication keys enable you to connect to a remote system without needing to supply a password each time that you connect. 

To create a public and private SSH2 RSA key pair. To create an SSH key pair by using an algorithm other than the default RSA algorithm, use the -t option. Possible values that you can specify include the following: dsaecdsaed25519, and rsa. In this case, I use ed25519 algorithm.

Wednesday, May 7, 2025

[Windows] Set up Linux subsystem on Windows 11

After more than five years, I need to set up WSL again, on another Windows machine (yech...see [Windows] The first full crash ever!!!)

It was nice that I documented what I have done back in 2019 in this post: [Windows] Set up Linux subsystem on Windows 10. It was also unfortunate that most of these instructions no longer worked:(

Luckily it is easier. Here is the new instruction: Install WSL | Microsoft Learn

After installation, the most intriguing thing is setting up the theme. The theme is not just about accessibility - how clear you can see the code and comments. The more you set it up like you decorate your home, the more comfortable you will feel while coding, and more joy it will bring. 

Friday, April 4, 2025

静坐记录

2015年5月起,因学习太极和打坐,买打坐垫开始长期打坐。后来换成比较大的藏蓝色打坐垫(2024年出)。

2015年至2018年间,主要是guided meditation。这三四年越来越习惯散盘或单盘,吃饭也盘,旅游在街边也盘。

2019年到2022年,早晚禅修较多,以左脚在上的单盘为主。

[Obsidian] 入门阶段

 为了将杂乱无章的科研和教学的想法整合到一起,拥有纯文字的体验,我开始尝试Obsidian来记录各种想法。Obsidian的基本形式有点像私人维基。我现在从最简单的开始,熟悉Markdown 语法,建立各种笔记群。

目前还是用的最传统的方式:文件夹。以前在用Evernote的时候采用过序列号numbered notebook,这次也参考了Johnny.Decimal的方法。

然后每一个笔记的标题采用 Date-People-Title-Stage 的格式来排序。

接下来要探索的是tag,还有双链。双链目前因为笔记量还在累计中,用得不多。

当然,最牛的据说是各种插件,且待我慢慢探索。

注意的是,这个无法替代OneNote去和outlook链接,OneNote也比较适合各种截图和标记。其次,可视化方面也无法替代coggle等思维导图的工具(刚好看到一个Coggle 图讲Obsidian)。再次,也不是为了替代roterunner日记本和其他日程提醒、时间管理工具。

另外,最近发现google doc作为组内共享,还是永远的神。