Michael Krimgen

Ranch Hand
+ Follow
since Jul 08, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
4
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Michael Krimgen

Hi Eric,

For now, the only reason for me to learn about QC algorithms would be curiosity.

However, do you see any applications of the concepts of QC algorithms in other areas like concurrent programming?
9 months ago
Dear authors,

Does the book also discuss the theoretical background of the presented algorithms?
For example proofs that the algorithms actual works (providing they are executed on a working quantum computer).
10 months ago
Hi authors,
There are some experimental quantum computers out there. Do you know if any of the presented algorithms has already been tested on such a computer?
10 months ago
Done! Good luck with your research!
11 months ago
Hi Roberto,

I have two questions regarding the content of your book.

a) Does the book also cover the cryptographical details of the blockchain? Or is the reader expected to know these?
b) I see that there is a chapter on Unit testing the application. Is integration testing also covered?

Cheers,
Michael
Hi Mark,

You should consider making your code more readable, so it's easier to understand for people to review your code. Here are some points to consider:

- You have one long method with nested for/if. Consider using methods. You could, for example, create a method which takes a Strings and a number n as input and prints the string n times.
- Try to find an alternative for the first_time / second_time.

1 year ago
Hi Peter,

Does the book point out which are Java 11 specific features, so the reader can easily see which Java 11 improvements are applied in the projects presented in the book?
1 year ago
You could use a switch with an enum. This could be an option if you want to reuse the conditions and keep the switch short.
Here is a simplified example. Please note that I do not advocate this pattern, but it might be appropriate in some cases.

1 year ago
Hello,

I recently read about the possibility to create a java compiler plugin, a feature which was added in version 1.8.

The only resources I could find are:
https://de.slideshare.net/AlexandrRadchykov/code-generation-with-javac-plugin
https://www.baeldung.com/java-build-compiler-plugin

I am looking for some good use cases for a plugin and examples of plugins which actually do more than can be
done with annotations and reflection.

Has anyone here used a compiler plugin and for which purpose?

Thanks,
Michael
1 year ago
Note that you are assigning a character to your variable a, not an integer value. If you want the value of a to be 7, you should write:

int a = 7;

(without the singel quotes)
1 year ago
Thanks Shai, for your swift and elaborated answer!
1 year ago
Hi Iar ral,

Could you explain in more detail what exactly is the problem with your code instead of only posting the method.

Cheers,
Michael
Hi Shai,

Do you know if Uber is actually using Kotlin? And if so, for the Android app or in the backend?

Cheers,
Michael
1 year ago