Posts in 2025
  • MSYS2 Program Collection

    Tuesday, March 04, 2025 in Blog

    Intro MSYS2 was a great development environment. GDB is working in MSYS2, with libstdc++ visualizer and python support; qt libraries are easy to install, and qt-creator is readily available; it has precompiled ffmpeg, which was very complex to build …

    Read more

  • fixing lsp for Windows

    Sunday, February 16, 2025 in Cpp

    For a long time, clangd on Windows is not quite usable without Visual Studio. It’s time for a fix! cannot find <iostream> First we need to fix the compile_commands.json . from the experience of project soda_clang, I quickly added the GCC …

    Read more

  • Packaging MSYS2 as virtual environment

    Sunday, February 09, 2025 in Cpp

    bleachbit supports Windows, but the app looks somewhat ugly: no hidpi. Also, the Windows 10 style is even worse. I don’t even want to take a screenshot. I think gtk is also using custom rendering, similar to Qt. because I tried Mica for Windows …

    Read more

  • Building Clazy

    Monday, February 03, 2025 in Cpp

    Following https://github.com/KDE/clazy?tab=readme-ov-file#windows I checked out llvm-19.1.7. build llvm takes 4 hours… install llvm installed llvm via cmake --install . and add bin-path to Path via the shortcut rundll32 …

    Read more

  • Add Icon to Qt Exe

    Monday, February 03, 2025 in Cpp

    Find Icon https://fonts.google.com/icons edit it add colors convert to ico add to project cmake: set(app_icon_resource_windows "${CMAKE_CURRENT_SOURCE_DIR}/app.rc") qt_add_executable(appqtquick_untitled main.cpp ${app_icon_resource_windows} ) …

    Read more

  • Fix Hugo URL open problem

    Monday, February 03, 2025 in Go

    I use hugo for my staic website. however, while writing docs, a queer problem happened: the url print in console is always broken. Web Server is available at //localhost:1313/ (bind address 127.0.0.1) I download the source code and start debugging. I …

    Read more

  • Fixing Qt Deploy

    Monday, February 03, 2025 in Cpp

    the project: https://pypi.org/project/windeployqt/ install Qt Install Qt Creator on Windows is complex even using MSYS2. and it didn’t create useful shortcuts. I write a Python package for it: https://pypi.org/project/install-qt-creator/ deploy …

    Read more

  • Zig's Build System is fundamentally Broken

    Saturday, February 01, 2025 in Zig

    does not support proxy confusing hashes build script incompatible between zig versions It takes me several hours for fixing build script for ffmpeg, because it’s not an easy task. download dependencies and put them in right place …

    Read more