privateblog.nobytesleft.net

Random samples of thought

PyCharm debugging with separate console

By filippo November 17, 2025 Uncategorized No Comments

In PyCharm, debugging a Python script puts its I/O in the PyCharm console. Unfortunately, it is not a complete console, so if your script uses advanced I/O features, such as…

Read more

Wireguard MTU

By filippo October 14, 2025 Uncategorized No Comments

Wireguard causes strange problems if its MTU setting is the “default”. Lower it to 1280, because otherwise you have things like SSH hanging while fetching from a Git repository! If…

Read more

Conversion of a Mercurial repository to Git

By filippo October 13, 2025 Uncategorized No Comments

These instructions apply to Windows. We use hg-git, which is installed by default with TortoiseHg version 7.0.1. Note that with a previous version we had problems, so it is necessary…

Read more

VirtualBox on Windows 11

By filippo March 13, 2025 Uncategorized No Comments

VirtualBox on Windows 11 will run VMs with the “Green Turtle” icon, at a very reduced speed, unless some steps are made (which may also reduce Windows 11 security). Having…

Read more

EOS R8 on external power

By filippo February 8, 2024 Uncategorized No Comments

Here are a few notes about supplying external power to the Canon EOS R8 mirrorles camera. Canon sells a “fake battery” adapter which uses a 220V power supply, but the…

Read more

Some benchmarks for VMWare and VirtualBox

By filippo February 2, 2024 Uncategorized No Comments

Finding the correct configuration for using a virtual machine for running the Yocto builds is not easy – and for other things also. I have a new laptop, a ThinkPad…

Read more

Convert a data disk from MBR to GPT (without losing data)

By filippo August 14, 2023 Uncategorized No Comments

The reason for this is very simple. MBR partitions do not work above 2 TB. I had (long story…) a 2 TB NTFS partition on a 4 TB USB hard…

Read more

LibreOffice dialog speed

By filippo September 27, 2022 Uncategorized No Comments

Short version: do not use a default network printer. LibreOffice is very slow opening UI dialogs, such as “Format”. I am using version 7.4.1.2 (x64) on Windows 7, but it…

Read more

Encoding URL query parameters in Javascript + Django

By filippo May 3, 2022 Uncategorized No Comments

When passing arbitrary strings as parameters for some function, you may be tempted to do it using a path component, which can be decoded easily with Django. Do not do…

Read more

Guide to identifying C2000 processors

By filippo February 8, 2020 Uncategorized No Comments

In case you have code running on a Texas Instruments C2000 processor, and you have to identify the specific processor in the code itself. 1. Read register 0x0882. This register…

Read more

  • « Previous

Recent Posts

  • PyCharm debugging with separate console
  • Wireguard MTU
  • Conversion of a Mercurial repository to Git
  • VirtualBox on Windows 11
  • EOS R8 on external power

Recent Comments

    Archives

    • November 2025
    • October 2025
    • March 2025
    • February 2024
    • August 2023
    • September 2022
    • May 2022
    • February 2020
    • June 2019
    • March 2019
    • January 2019
    • March 2018
    • March 2017
    • November 2014
    • January 2014

    Categories

    • Uncategorized

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Copyright © 2025 privateblog.nobytesleft.net | Theme by: Theme Horse | Powered by: WordPress