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
5
Given in last 30 days
2
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Michael Krimgen

Hi Marcello!

In your reply to what are advanced data structures (in comparison to basic ones), you say that they build in top of the basic ones. For example, a d-ary heap would be an improvement (depending on the use case) of a binary heap.

Another definition for an advanced data structure or algorithm could be one where multiple basic data structures are combined (e.g. Tim Sort, where  the algorithm decides which sorting algorithm to use based in the nature of the input). Or a HashMap in Java, where a bucket is represented as a linked list or a red-black tree depending of the number of entries.

Does the book also cover examples of combined algorithms or data structures and how to analyse them?

Cheers,
Michael
1 week ago
Hi Marcello!

Does the book describe the data structures and algorithms in pseudo code or in any pogramming language? Also, is there a real implementations of all topics in the book available for download?

Cheers,
Michael
1 week ago
Hi Tiago!

Could the techniques described in your book also be useful for other applications than data analysis? Like building APIs or games in Python?
8 months ago
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?
2 years 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).
2 years 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?
2 years ago
Done! Good luck with your research!
2 years 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
2 years ago
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.

2 years 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?
2 years 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.

3 years 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
3 years 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)
3 years ago