Cosimo Damiano Prete

Greenhorn
+ Follow
since May 31, 2017
Cosimo Damiano likes ...
IntelliJ IDE Java Windows
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
2
In last 30 days
0
Total given
0
Likes
Total received
3
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Cosimo Damiano Prete

Campbell Ritchie wrote:

Cosimo Damiano Prete wrote:. . . Lol I can easily imagine it

My old Deitel book for Java5 has 1576 + 22 + 14 + lxvi (= 1678) pages.


Actually all the books from D&D I've seen so far are bricks.
I had to use one in university for web development (simple HTML, CSS and plain JS) and it was more than 960 pages without counting the extra contents.
2 years ago

Adam L Davis wrote:It is a very large book (over 900 pages) so please take a look. Thanks.


I'll check what the preview from Amazon offers.
Thank you for the reply.
2 years ago

Campbell Ritchie wrote:I have books which make 900 pages look small.


Lol I can easily imagine it
2 years ago

Campbell Ritchie wrote:Is predicting the line number where a compile‑time error something a learner ever learns?



Haha I didn't mean everything, but there are parts of the OCA (or nowadays OCP only) that also a beginner should know
Of course there are edge cases
2 years ago

Campbell Ritchie wrote:

Cosimo Damiano Prete wrote:. . . Would you suggest your book for the incoming OCP certification from Oracle . . .

The sort of questions asked in an OCP exam are usually quite different from what beginners need to learn.


Hi Ritchie.
Not necessarily I would say...
2 years ago
Hi Kishori Sharan & Adam L Davis.
Congrats for releasing the book. It's always good to have fresh material.

Would you suggest your book for the incoming OCP certification from Oracle?
Moreover, would you suggest your book to already experienced Java developers to update their knowledge (i.e. from Java 11 to 17) or is the book too entry level?

Kind regards and thanks in advance for your replies.
- Cosimo
2 years ago
Hi David.
Thanks for the reply.

That's a pity although I can understand your reasons.

Cheers,
- Cosimo
2 years ago
Hi.
Thanks for the reply.
Do you also cover the "legacy" way of doing certain things or not?

Cheers,
- Cosimo
2 years ago
Hi David and Dawn.
In the index of your new book you use "new" (to me that I don't do Android development since years and I'm planning to restart) technologies, but do you follow a specific architecture in the demo apps?
What architecture to follow has always been a nightmare in Android and I was wondering if you provide some directions or guidelines in the book on how an app should be structured and why.

Kind regards and thanks,
- Cosimo
2 years ago
Hi Dawn and David.
Thank you for releasing such a book. It looks very interesting from the index.

I'm wondering though, what the differences are when compared with the previous version.
It would be great if you can provide a  high level diff of the changes.

Kind regards and thanks,
- Cosimo
2 years ago

Marcello La Rocca wrote:

Thanks Cosimo!
Yes indeed, we do cover some of the basics:
- Appendix C (and partly appendix D) is an introduction to basic DSs, from arrays versus lists, to hashing. It's not as in-depth as the rest of the book, but it's enough to get started.
- Appendix E is an intro to recursion
- Appendix F gives a brief summary of randomized algorithms and metrics (in particular for classification)

Cheers!
Marcello



Do you present and explain for every algorithm its complexity (in terms of big O) and the same for the operations provided by a particular data structure?
2 years ago

Marcello La Rocca wrote:

Cosimo Damiano Prete wrote:
Also, I had a look at the index of the book and many "use cases" are more related to AI than to data structures to my knowledge.
How does the book tackle them? Is the focus kept on the A&DS or does it shift a lot on those topics (e.g.: genetic algorithms) as well?

Thanks and hear you soon,
- Cosimo



Hi Cosimo, thanks for your question!
Well, many data structures are used in AI, but I'd argue that doesn't make them fall exclusively in that field.
If anything I'd argue that is AI (here meant like ML) that is used a lot to solve some of the same problems for which these DSs are used.
You mention, for example, genetic algorithms: those are used a lot in optimization problems, but not necessarily in AI or ML. They have been used a lot to find approximate solutions to NP-complete and NP-hard problems, or for instance they were the first really successful technique to tackle protein folding. Which is now best solved using deep-learning (AlphaFold)

To answer your last question, I'd say the focus of the book is mostly on the A&DSs, but even more on the problems that they can help solving.
There are, however, a couple of chapters that are heavily focused on AI/ML: chapters 12 and 13, mostly about unsupervised learning and clustering.



Hi Marcello.
All that sounds really interesting.

Do you cover basic A&DS as well (e.g., in an introduction or so)?

Cheers,
- Cosimo
2 years ago

Sharma Ashutosh wrote:What's extra in this book compared to other Data structures and Algorithms books?
Does it talk about stable algorithm?
Does it talk about modern day algorithm being used at Big tech? Like the algorithm that was discussed during Facebook whistleblower testimony in Washington D.C.?
Thanks in advance.



Also, I had a look at the index of the book and many "use cases" are more related to AI than to data structures to my knowledge.
How does the book tackle them? Is the focus kept on the A&DS or does it shift a lot on those topics (e.g.: genetic algorithms) as well?

Thanks and hear you soon,
- Cosimo
2 years ago

Mikalai Zaikin wrote:Congratulations Cosimo !

It's sometimes hard to spot all topics/classes in the scope of exam because objectives not very detailed.

For this reason Scott wrote a supplemental article on the security topics which are not in the book - https://www.selikoff.net/2020/11/05/819-security/



Oh, that's good to know it although it's a bit too late

That said, since I got some of those questions in the mocks from Enthuware, I ended up reading the official documentation, which is quite clear on the topic. In particular:
  • https://docs.oracle.com/javase/8/docs/technotes/guides/security/doprivileged.html
  • https://www.oracle.com/java/technologies/javase/seccodeguide.html


  • Do you know if it's possible to communicate to Oracle that one question was wrong? (I mean, all the answers)
    Hi all.
    I've today taken and passed the 1Z0-819-J exam with a score of 85%.
    I was actually preparing for the 817 exam since I already have the OCPJP8, but at my workplace we decided to give it a try since it costed only 25$, so I had to prepare all the rest in kind of 2 days.
    I used the book from Boyarsky & Selikoff and I didn't find it so precise like when I took the Java 8 exam.
    For example, in the security chapter is completely missing a part on own to use the AccessController and in the NIO chapter the channels are missing (yes, I got one question about channels).
    Therefore, it has not been easy like in the past, but it went through anyway