Blog

  • Accelerate Bitcoin Core build time

    Use a faster linker (biggest impact), Use Clang instead of GCC (often faster compilation), Use ccache (huge speedup on rebuilds), Use Ninja instead of Make

    sudo pacman -S mold clang ccache ninja

    cd bitcoin

    git tag | sort -V

    git checkout <paste here the branch name you want to compile>

    Combine everything:
    cmake -B build \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_C_COMPILER=clang \
    -DCMAKE_CXX_COMPILER=clang++ \
    -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
    -DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=mold" \
    -G Ninja

    ninja -C build -j$(nproc)

    sudo ninja -C build install

  • Notable Book list

    I am noting some of the books i am reading in 2025 that I found interesting

    • Into the Darkness – Lothrop Stoddard
    • The Chief Cultprint – Viktor Suvorov
    • Stalin’s War: A New History of World War II

  • PiHole useful commands

    Clean the history and start from 0.

    sudo service pihole-FTL stop && sudo rm /etc/pihole/pihole-FTL.db && sudo service pihole-FTL start
    __________________________________________

    When you try to access a url that is blocked by pihole and you whitelist it, and it still doesnt work:

    Then apply the blacklist change :

    sudo pihole -g

    Then if you try again it will work

    __________________________________________


  • Omarchy Linux

    I started using Omarchy after listening to this interview. I am really impressed since i became more productive after the initial Hotkeys learning curve.

    I think I might even be able to contribute to this project. I will keep this page here as a reference with the modifications i will be doing to the default installation

    Create a USB for both win and linux

    lsblk

    sudo fdisk /dev/sdX

    o -> n -> p -> default -> default -> w ( write)

    sudo pacman -S dosfstools

    sudo mkfs.fat -F 32 /dev/sdX1

    sudo mount /dev/sdX1 /mnt/usbdata

    Fix unbootable machine:

    Boot from Arch live USB:

    1. Check partitions:lsblk
    1. Mount your system:mount /dev/nvme0n1pX /mnt # Your root partition mount /dev/nvme0n1p1 /mnt/boot # EFI partition
    1. Chroot:arch-chroot /mnt
    1. Reinstall kernel and Limine:pacman -Syy pacman -S linux linux-headers limine limine-deploy /dev/nvme0n1 # Deploy to disk (not partition)
    1. Verify/fix Limine config at /boot/limine.cfg: nano /boot/limine.cfgMake sure the kernel path is correct, should look like: PROTOCOL=linux KERNEL_PATH=boot():/vmlinuz-linux
    1. Exit and reboot:exit umount -R /mnt reboot

  • Hello world!

    I will just list some links i am coming back to:

    Bitcoin v29 and later compile instructions

    Get the bitcoin white paper while running a non pruned node:

    hex_btc=$(bitcoin-cli getrawtransaction 54e48e5f5c656b26c3bca14a8c95aa583d07ebe84dde3b7dd4a78f4e4186e713 0 00000000000000ecbbff6bafb7efa2f7df05b227d5c73dca8f2635af32a2e949 | sed 's/0100000000000000/\n/g' | tail -n +2 | cut -c7-136,139-268,271-400 | tr -d '\n' | cut -c17-368600) && printf "%b" "$(echo "$hex_btc" | sed 's/../\\x&/g')" > bitcoin.pdf

    Convert sat/VB to BTC/KB: 2 sat/vB = 0.00002 BTC/kB