Month: August 2022
-
Dynamic Method Binding in Java
Why do we need dynamic method binding? Can we simply bind any method statically at compile time in Java? No! Let us see this example: The interesting part is that we don’t know the exact type of a variable in the program in run time. For example, check this program: But we can bind private/static/final…
-
Lord of the Rings Battle for Middle Earth 2 Cannot See Players in Multiplayer Network Lobby
When I tried to play on Hamachi adapter, my friends were able to see each other but I couldn’t see them neither they could see me. The problem was Battle for Middle Earth 2 was using my LAN IP to search other players. Checked it under Options tab. The solution was to change Options.ini file…
-
Nvidia Driver – Cuda Mismatch
When I tried nvidia-smi, I got this error: As message indicates this is a version mismatch. I think this happened because of some automatic upgrade. Let us check the versions: The solution was to reinstall the CUDA toolkit from here: https://developer.nvidia.com/cuda-downloads