Posts by Year

2025

Predictability Measure - IC, ICIR

1 minute read

For a factor model, we can measure the predictability of a factor by calculating the Information Coefficient (IC) and the Information Coefficient Information...

Back to Top ↑

2024

Create your own Python package

1 minute read

In the past, I used twine to upload my packages to PyPI, building them with a setup.py file. Recently, I switched to using pyproject.toml for project managem...

Integrating Mermaid with Pandoc

less than 1 minute read

When converting a markdown file to a pdf file, the mermaid diagram is not rendered. This is because the default pandoc markdown engine does not support merma...

How to use Miniconda

1 minute read

Conda is an open-source package management system and environment management system that runs on Windows, macOS, and Linux. Conda quickly installs, runs, and...

Pandoc Include Code Highlight

less than 1 minute read

Covertign a markdown file to a pdf file, the code block is not highlighted. This is because the default pandoc markdown engine does not support code highligh...

Using git

3 minute read

Git is a distributed version control system. It is a tool that helps you keep track of changes in your codebase. It is a tool that helps you collaborate with...

My MacBook Setup

1 minute read

Windows has been my preferred desktop operating system since primary school, offering a wide array of apps, particularly games.

Yazi: A Terminal File Explorer

1 minute read

Yazi is a terminal file explorer written in Rust. I give it a quick try and found it’s a good alternative to ls and tree command. It provides a more intuitiv...

Sync Two Folders in Terminal

less than 1 minute read

If you want to sync two folders in the terminal, you can use the rsync command. rsync is a fast and versatile file-copying tool that can be used to sync file...

Pandoc 中文字符无法显示

less than 1 minute read

将 markdown 文件转换为 pdf 文件时,中文字符无法显示,这是因为 pandoc 默认使用的字体不支持中文字符。解决方法是使用支持中文字符的字体。

GitHub CLI Tool

less than 1 minute read

Github provides a CLI tool for Copilot. This tool can be used to interact with Copilot from the command line. This tool is useful for automating Copilot work...

Back to Top ↑