Alvin Alexander

Results 29 comments of Alvin Alexander

Hi Fabio, That’s a great question. I think it depends on your goals. The first edition of the Scala Cookbook was written in 2013, and covers Scala 2. Eight years...

Thank you so much for that, I appreciate it. I’m always glad to hear when a book is helpful! All the best to you!

The start of some code: ``` fun main(args: Array) { val d = Dog() val c = Cat() val x = d as Dog //ClassCastException: Cat cannot be cast to...

I just looked at this bug and that page, and if I understand it right, I think this has been completed as part of #2481, and can be closed?

FWIW, I can confirm that this works as a way to reproduce this bug on macOS as well: > But don't simply copy paste and execute it. I can trigger...

> I could replicate a few times by doing these steps as suggested above: If it helps, this fails for me with Scala 3.3.1 and Java 11 on macOS 14.3...

Thank you, and yes, that is correct. If I remember right, the problem I had is that Mr. Armstrong’s original image was [at this link](https://joearms.github.io/2013/04/05/concurrent-and-parallel-programming.html), so I couldn’t verify it....

If it helps to know it, I was intermittently seeing the same error message when using: - ZIO 2.0.22 - ZIO HTTP 3.0.0-RC4 - Scala 3.3.3 - macOS 14.4.1 system...

I’m sorry, I still haven’t had the time to respond to your comments yet, but in regard to this one, one thing I can say is that this is the...