JavaPythonTech blog contains various tools and skills for a developer. Java/Python Best Practices, Tools, Examples, Programming interview questions.

Raw-mode is unavailable courtesy of Hyper-V. (VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT)

This error usually occurs when hyperV is set to Auto which has to be disabled for you to use VM on Oracle VM VirtualBox. Please follow the steps mentioned here to resolve the error...
Share:

Python Programming Questions

Print fibonacci  number using recursion. def fib(x):     if x == 0 or x == 1:         return x     else:         return (fib(x-1) + fib(x-2)) for i in range(10):     print(fib(i)) Print the char and number of occurrences...
Share:

How to calculate the sum of numbers in list asynchronously?

We will be using ExecutorService from Executor framework and Future interface to make asynchronous calls. We will be using Streams from Java 8 to calculate the sum of integers in the list. import java.util.List; import java.util.concurrent.Callable; import java.util.stream.Collectors; public class SumCalculator implements Callable {    ...
Share:

How to combine result of two threads in java?

Let us consider a scenario where you want to make multiple service calls and combine the results at the end. There are multiple ways how this can be achieved, we are going to see how we can do the same using Future and ExecutorService in java. Let us first understand how and where Future class has to be used. As per Javadoc a Future is...
Share:

How to switch between Oralce VM VirtualBox and Docker on Windows 10

If you are wondering how to switch between Oracle VM VirtualBox and Docker on Windows 10, you can follow the below steps to find out how you achieve the same. To start using Oracle VM VirtualBox: Open the Command Prompt as Administrator.         ...
Share:

Coming Soon!

Python programming examples...
Share:

How to resolve Git merge conflict from eclipse?

If you are a developer working on Git there are high chances that you have come across the merge conflict error while merging your changes to git repo. Let's see how we can resolve git conflicts. Consider the below example where there are 2 developers (developer1 and...
Share:

Announcements

Will be posting twice a week on latest java libraries/frameworks which a developer needs to know in 2019.
Also will add the common errors and resolutions for the same.

Please feel free to comment if you need anything specific.

Popular Posts

Search This Blog

Blog Archive

Powered by Blogger.

Contributors

Pages