Friday, 3 October 2025

Install wsl ubuntu on windows 11 -> Wsl/InstallDistro/Service/RegisterDistro/CreateVm/HCS/HCS_E_HYPERV_NOT_INSTALLED

Windows 11 25H2 
Motherboard: MAG B550 TOMAHAWK (MS-7C91)

Wsl/InstallDistro/Service/RegisterDistro/CreateVm/HCS/HCS_E_HYPERV_NOT_INSTALLED

This was the error message when I tried to install ubuntu. I enabled Hyper-V, nothing changed.
Finally systeminfo in PowerShell gave me the right hint:

> Firmware does not support Hyper-V

So I had to change something in the Bios (MSI Click 5 Bios), but it was not easy to find. Finally a Reddit post brought me the solution:

1. Make sure you are in Advanced Mode (toggle with F7)

2. Overclocking settings > OC Explore Mode to Expert

3. CPU Features > Enable SVM Mode



Monday, 29 September 2025

Dnd5e - Descent into Avernus - Session 1

A new Dungeon and Dragons 5e adventure starts, and this blog is my choice of diary, and a writing exercise in English. ;)

The GM wants to play without feats and only with 2 rulebooks: PHD and SCAG. Additional some house rules I will come up with later.

For tabletop we use Owlbear Rodeo, for communication Discord.

The adventure takes place in the world of Forgotten Realms and starts in Baldurs Gate, we all play half-elfs at level one, which are connected through family. But through the fact that we wanted to play different half-elf variants, some are only cousins, others siblings.

The story starts at the end of Uktar in the year 1492 DR, when the moon festival takes place. The house Rillyn gathers annually at this time, so also this year, but a horrible event, the murder of Koruhn Rillyn, our grandfather, happened at the harbor in downtown. And he was not the only victim, some others were slaughtered too.

At the same time a lot of refugees from Elturel come to the city, why is not revealed yet.

So after the funeral the wife of Koruhn, Adelhayd Rillyn, our grandmother, calls for a meeting of the family members. My role is Fiona, a high-elf-half-elf, a swashbuckler with background of an Urban Bounty Hunter, mingled with the lower parts of the society, like gamblers and thieves. My brother Remus choose the path of a priest, while cousin Kaelen became a monk. Last in the group is Lukario, a fighter, trained in the family's own combat school.

Our grandma asked us to find out who killed her husband and arranged a meeting with a guard member named captain Zodge of the Flamming Fist in a tavern called Stone Knight in the downtown district Seatower. Soon after the meeting started three strange street thugs entered the location and started a fight with unarmed guests of the tavern. We intervened, but couldn't stop them from killing one of the guests. In this timeframe an assassin also started killing guests in other parts of the tavern, so that in the end three innocent people lay dead on the ground. From the attacker only one survived and we questioned him afterwards. He seemed not very bright and only the assassin, who's dead, could have given us more information. But we found out, the assassin was a member of the group Night Blade, and because of his red handkerchief we could identify him as a follower of the god Bhaal.

The scene was cleared with the help of the guard and we sat down again to talk with the officer whom we originally wanted to meet. He gave us information about the place, where the murder of our grandfather took place (downtown Eastway, directly by the pier) and gave us the task of finding one of his informants in the criminal group The Guild, who disappeared. She should have some insights about the murders and how these evil god cults are involved. Starting point of the investigation should be a tavern called Elfsong, also in the Eastway district. He also talked about the city Eturel and that Paladins from there are claiming, the city has disappeared and this is Baldurs Gate fault. So the guards are taking this Paladins in custody, because they are causing unrest in the city.

Then two more attackers arrived. We could overpower one of them, but the other fled into the darkness of the city. They do not seem to follow the god Bhaal but the evil gods Bane and Myrkul

Fiona


Party Members:

- Fiona (Swashbuckler)
- Remus (Cleric, brother to Fiona)
- Kaelen (Monk, cousin to Fiona)
- Lukario (Fighter, cousin to Fiona)

Defeated Opponents:

- 3 Street Thugs
- 1 Night Blade (Bhaal)
- 1 Bane Follower



Monday, 8 September 2025

WhatsApp for Windows shows wrongly unread messages in taskbar

 WhatsApp for Windows 2.2534.2.0

Windows 11 (10.0.26100)


Just mark a chat unread (right click a chat and choose "Mark as unread") and then left click the chat.

Solution on Reddit




Friday, 1 August 2025

Move git submodul to it's own git repo

 Git 2.49.0.windows.1


After failing with filter-repo I got it done with the good old subtree, which I also used to do the opposite: Move a Git & Maven project as module to a parent project

I followed this Steps: Detach (move) subdirectory into separate Git repository


1. Create a new repo in BitBucket

2. Clone the new repo to local

3. Go to the bigRepo and do this:

git subtree split -P foldernameOfSubmodule -b newBranchName

The -b stuff is the branch, where the submodul is put, and which also has the history for this submodul

4.  Go to the cloned new repo and type:

 git pull path/to/oldrepo branchname

5. Go to old repo and remove the submodule

6. Remove the submodule from the submodule list in the pom

7. Add .gitignore and fix the pom in the new repo





Wednesday, 18 June 2025

 Portecle 1.11


When you change the JDK you often copy the old cacerts to hold on to your company intern certificates. But sometimes you need also the certs, which are coming with the new JDK.

To export and import the company certs with the command line is sometimes a pain. With the tool Portecle this gets easy and smooth.

Just export the the certificate \jre\lib\security\cacerts to the new JDK.



Thursday, 5 June 2025

Intellij: Use local module instead of maven dependency on JBoss

 Intellij 2025.1.1.1


Sometimes you want to use a dependency from your project workspace when running a server, in my case an old JBoss.

Unfortunately the JBoss does not get this right out of the box , so I made this change:

- right click on the JBoss in the Services tab

- Edit Configuration

- Deployment tab

- Edit artifact (in my case the ear:exploded)

- In the Output Layout mark the .war entry

- press the + element

- Choose Module Output

- Choose the module you want to be used


This way I got my JBoss running with the local module


Addendum:

Sometimes this stops working, unload and load seems to work most of the time to fix it




Monday, 12 May 2025

Intellij: Disable "Flip comparison" tipp for null checks

IntelliJ IDEA 2025.1.1.1 (Ultimate Edition)

Since a short amount of time IntelliJ wants me to change something like "x != null" to "null != x", because it likes the constant on the left side and null seems to be a constant for IntelliJ.

I really don't think this is something I should pay attention to and I wanted this new behavior gone in my IDE.

To disable this: Settings > Editor > Inspections > Java > Code style issues > Constant on wrong side of comparison




Friday, 18 April 2025

Installing Debian 12 on ASUS EeeBook X205TA

ASUS EeeBook X205TA
debian-12.10.0-i386-netinst
Rufus 4.7

After various attempts to install Linux at this hardware, mainly with this instruction: https://github.com/filirnd/x205ta, where I failed over and over again, I decided (after several months) to give this another try.

But this time with an 32 Bit Debian.

You will need 

- Rufus to create a bootable USB stick.
- Network during the installation process

Here my steps

- Disable Secure Boot in the Bios of the Asus

- Download debian-12.10.0-i386-netinst from https://www.debian.org/distrib/

- Use Rufus to create an USB stick (only important property was: Partition scheme to GPT)

- Install (it complains about 3 missing firmware files, I ignored)

- Fix audio with Terminal: sudo apt install firmware-intel-sound (found here: https://github.com/heikomat/linux/tree/cx2072x/cx2072x_fixes_and_manual)



For me this worked, hope it does also on your ASUS






Tuesday, 15 April 2025

Move a Git & Maven project as module to a parent project

Maven 3.9.9
Git 2.49.0.window.1

First go to the parent folder in Git Bash and add a git subtree:

git subtree add -P dir-name git-repo revision

dir-name:    name of the module
git-repo:      The git-url from the project you want to move. In Bitbucket you find this in repository settings. example: https://git.mycompany.com/git/scm/clients/mycompany-webservice-client.git
revision:      for me this was always HEAD

This adds the project to the parent project.

Next steps:
- in the module pom set the parent and delete the own version and maybe SCM tag
- in the parent add the module as module (and maybe as dependency with the project.version version, if you want to use the parent as bom (bill of materials))

Sources:
How to Move a Git Repository into a Sub-Folder of Another Repository



Thursday, 3 April 2025

Download folder from a website recursively with Cygwin/wget in Windows

 My goal was to download from a (internal) website a folder with all subfolders from a trusted source on Window 11.

So first I installed Cygwin from here: https://www.cygwin.com/
I forgot to add the wget package, but you can add it after the install with just run the setup again.

Then I run this command:

 wget -r -np -nH --cut-dirs=4 --no-check-certificate --user=myUser--password=myPassword https://mySite/dir1/dir2/dir3/dir4/dir5/



--cut-dirs tells wget where to begin

--no-check-certificate is not safe, but spares a lot of trouble to add the right certificates

-np = no parents, so we do not walk up

-r = recursive

The result was:

FINISHED --2025-04-03 12:27:51--

Total wall clock time: 19m 54s

Downloaded: 18872 files, 1.8G in 4m 50s (6.40 MB/s)