RSSAmplifier

Blog

iBug

The little personal site for iBug

ibug.ioRSS feed ↗10 posts

Latest posts

Homebrew for Everyone: Easy FUSE trick for multi-user Homebrew on Linux setup

If you have tried looking for a multi-user Homebrew setup, chances are, this article from CodeJam is among your top Google results and you have read it many a time. It shared experiences of using a shared Homebrew setup and discussed three ways to make it work. Namely,

Venv at home: My solution to “error: externally-managed-environment”

Since Python 3.12 (which enforces PEP 668) shipped with Ubuntu 24.04, like many others, I found my usual habit of installing PyPI packages to my user site directory (~/.local) no longer working due to the externally-managed-environment restriction.

BanD Width! It’s MyBOND!!

My workstation in my univerity lab has consistently generated some 600 TiB of annual upload across two PT sites. After an upgrade to the room a few months back, it received the most wanted upgrade for years: A second 1 Gbps line to the campus network. I immediately made the two NICs into one bonded 2 Gbps interface, and it has shined for many times with multiple popular torrents.

Manually resize Guild Chest in Palworld 0.6

The Guild Chest, first introduced in Feybreak Update, easily became the best way to move items between bases. However, it only has 54 slots and is nowhere near enough for all the items you want to store. For those who want to increase the size of the Guild Chest, especially in single player worlds, there’s a tutorial on how to do it manually: Guild chest resizer after solo play started (Manual).

A trip to Japan

As a more meaningful way to celebrate our graduation as Master students and spend this last truly free time in a long while, I joined my friends on a trip to Japan.

Fixing OneDrive not expanding in Explorer sidebar on Windows 10 LTSC

I’ve recently re-installed Windows 10 LTSC for both of my computers, and after setting up OneDrive (from Office 365 suite), I noticed that the OneDrive folder in the Explorer sidebar was not expanding when clicked, showing a static gray arrow. This could be a known issue with Windows 10 LTSC, as it doesn’t include OneDrive integration by default, unlike consumer versions.

Beating $3k SSD with $2k HDD?

A.K.A. Practical ZFS application on USTC Mirrors. A writeup of the talk I gave at Nanjing University this August.

Make Python 3.12 install user packages without complaints

I have a habit of pip3 install --user and then expecting these packages under ~/.local/lib/ to be available for my Python scripts whenever I need them. However, with PEP 668 landing in Python 3.12, I now have to add --break-system-packages even for user packages. This is super annoying considered that I have multiple projects sharing the same set of common packages (e.g. mkdocs-material, a nice…

镜像站 ZFS 调优实践

2000 元的机械硬盘 > 3000 元的固态硬盘? A.K.A. 镜像站 ZFS 调优实践 iBug @ USTC 2024 年 8 月 17 日 南京大学 开源软件论坛 USTC Mirrors 日均服务量:(2024-05 ~ 2024-06) 出流量 ~36 TiB HTTP 请求数 17M,响应流量 19 TiB Rsync 请求数 147.8K(21.8K),输出流量 10.3 TiB 极限情况的仓库容量: HTTP 服务器(XFS):63.3 TiB / 66.0 TiB (96%, 2023-12-18) Rsync 服务器(ZFS):42.4 TiB / 43.2 TiB (98%, 2023-11-21) 背景 HTTP 服务器: 2020 年下半年搭建 10 TB × 12 2 TB × 1 XFS on LVM on HW RAID 考虑到…

Why my IPv4 gets stuck? - Debugging network issues with bpftrace

I run a Debian-based software router on my home network. It’s connected to multiple ISPs, so I have some policy routing rules to balance the traffic between them. Some time ago, I noticed that the IPv4 connectivity got stuck intermittently when it didn’t use to, while IPv6 was working fine. It’s also interesting that the issue only happened with one specific ISP, in the egress direction, and only…