Skip to content

Instantly share code, notes, and snippets.

@mickqian
mickqian / profile_mem.py
Last active August 19, 2025 03:16
profile mem and plot
import openai
import pynvml
import argparse
import requests
import atexit
import signal
import sys
import os
import base64
@mickqian
mickqian / Init sglang docker env
Last active September 21, 2025 10:09
Init docker env
#!/bin/bash
# 在脚本开头添加,任何命令失败则立即退出
set -e
# 检查是否传入 --skip-virtual-env-init
SKIP_VENV_INIT=false
for arg in "$@"; do
if [ "$arg" == "--skip-virtual-env-init" ]; then
SKIP_VENV_INIT=true
break

Some people think that too much money has been spent looking after and repairing old buildings, so we should knock down old buildings and build modern ones instead. To what extent do you agree or disagree?

The proposition of replacing old buildings with modern ones has been contentious. I'm inclined to disagree with this idea for several reasons.

Proponents may note that due to the long-time service of these old buildings in an unprotected fashion, the physical situation of the buildings are worsen, thus constanly requiring repairments. The cost of the maintainment can be immensive, increasing the financial burden. As a result, replacing them with modern ones not only avoids the potential repairments cost in the future, but also introduces a refreshing and morden look into the view.

However, this radical approach may breed its own issues.

For instance, after existing for a lone time, old buildings may well be integrated into the surrounding environment as a holistic entity. Hence, brutally knocking them