Code Browser in the AI Era — `sunerpy/codegraph-rust`

Code Browser in the AI Era — sunerpy/codegraph-rust

Yeah, the AI era is coming! Meanwhile, I still need to refresh my knowledge base—and my AI token budget is limited for all sorts of reasons.

AI-assisted coding (or, as some people call it, slop programming) is becoming very popular, at least in China. Perhaps one reason is that the cost is much lower there.

Continue reading →

在鸿蒙设备上体验 Air 系列软件:Krita 与 Audacity 的 Qt/KDE 观察

在鸿蒙设备上体验 Air 系列软件:Krita 与 Audacity 的 Qt/KDE 观察

最近看到 GitCode 上的 Air 系列软件项目,比较有兴趣。这个系列主要尝试将一些桌面开源软件移植到 HarmonyOS 上。

项目仓库:

我自己比较关注 Qt / KDE 应用在 HarmonyOS 上的移植情况,所以这次主要体验了 Krita 和 Audacity。

Continue reading →

花粉症(花粉过敏) – hay fever(allergy to pollen)

顾名思义花粉症是因对花粉过敏引起的症状,是“过敏体质”的患者反复接触致敏花粉后,由机体免疫系统产生反应从而导致的一系列临床症状。主要表现在鼻、眼、咽部及支气管。典型症状为打喷嚏、流鼻涕、鼻痒和鼻塞,出现眼睛痒、流泪、眼红和灼热感,咽部会感到瘙痒、咳嗽,部分患者合并支气管哮喘、过敏性皮炎等疾病。症状的出现与花粉的地域和播散季节相关。

花粉过敏主要发生在春季,也会延续到夏季。

Continue reading →

How to run ARM64(aarch64) Qt auto tests on x86_64

Assume you have a host(x86_64) build of qtbase, like following:

Some extra work to setup system:

Continue reading →

Build Qt dev/5.15/5.12/4.8 on Ubuntu 23.10

Install Ubuntu 23.10, for me, it’s an VM via VMware Fusion 13.5.0 on MacBook Pro 2019.

Install some needed packages,

Default gcc/g++ is 13.2.0.

Add following in env:

Continue reading →

Note for fixing network setup in vm

I normally run several linux vms in VMware Fusion on MacBook Pro 2019. Recently during a trip, the system stuck. I forced a shutdown and reboot. Then I lost network in a Ubuntu 23.04 vm, there is no ethernet interfaces in Network section in Settings(GNOME), and there is no related icon in top-right corner.

I googled a few times, I found one article helped me. Something is wrong in this file:

Anyway, I just followed the steps in the article, it works for me.