Quick Fix: Reclaiming “Missing” Disk Space on Ubuntu 24.04 Default LVM Installation

Just provisioned a new Ubuntu 24.04 LTS instance and allocated a 500 GiB disk? You run df -h only to find that the rootfs / is capped at a meager ~90 GiB.

Don’t panic – your disk space didn’t vanish. The root cause is Ubuntu’s default inst … Continue reading Quick Fix: Reclaiming “Missing” Disk Space on Ubuntu 24.04 Default LVM Installation

How to Compile Nextcloud Desktop App on Windows (MSVC)

In this guide, we will walk through the complete process of setting up the environment, compiling dependencies, and building the Nextcloud Desktop Client from source using MSVC 2022 and Qt 6.

1. Install Qt Components

First, download the AQT INSTALL command-line tool: D … Continue reading How to Compile Nextcloud Desktop App on Windows (MSVC)

家里的猫

  家里有两只猫咪。狸花色的叫吼吼,纯白色的叫一撮毛。一撮毛这个名字听起来很有趣,这是因为当初收养(绑架)她的时候,她头上有一撮黑色的杂毛。 “她头上有一撮黑毛,不然就取名叫一撮毛吧。”

  2022年10月某天的一个夜晚,在小区楼下的一片草丛旁边,稚嫩的奶猫叫声引起了一群人的 … Continue reading 家里的猫

[中文] Reflection for C++26! 终于等到你

C++26 定稿,Reflection 提案投票通过

2025 年 6 月 21 日,著名微软工程师、C++ 标准委员会委员 Herb Sutter 在其个人博客发布了一篇博文《Trip report: June 2025 ISO C++ standards meeting (Sofia, Bulgaria) – Sutter’s Mill》。

A few minutes ago, the C++ committee voted the fir … Continue reading [中文] Reflection for C++26! 终于等到你

Introducing SvcHostify: Simplify Hosting Custom DLL Services

Have you ever struggled with hosting your own DLLs as Windows services using svchost.exe? Many developers face challenges due to the undocumented and restrictive nature of svchost.exe. That’s where SvcHostify comes in—a lightweight, open-source tool designed to make ho … Continue reading Introducing SvcHostify: Simplify Hosting Custom DLL Services

Controlling the C++ Runtime Linkage: A Portable Solution

A large number of open-source C++ projects choose Modern CMake as a powerful tool used for managing the building process across multiple platforms. Modern CMake refers to the practices, features, and methodologies introduced in CMake 3.x (and beyond) that simplify, improve, … Continue reading Controlling the C++ Runtime Linkage: A Portable Solution

Windows String Representations and Simple Conversions via __bstr_t

The Windows NT kernel (from WinNT to Windows 11) internally uses UTF-16 strings by default, including Windows Drivers, Native Applications and COM clients and servers, etc. All other common encodings like UTF-8, GBK, GB18030, BIG-5 should always be converted to UTF-16 befor … Continue reading Windows String Representations and Simple Conversions via __bstr_t

Inside std::source_location

Since C++20, the new revolutionary standard has introduced a meta class named std::source_location which provides information about the current line number, file name and function name of the executing context. This new class is included in a standalone header <source_loc … Continue reading Inside std::source_location