Hi!

I'm new to Akka and was reading the first tutorial that Google pointed me 
to.

http://doc.akka.io/docs/akka/2.0/intro/getting-started-first-scala.html

I found some problems along the way and here are my solutions.

The repo links changed, so they don't point to the correct files anymore, 
those are the ones that need to be updated:


   - 
   https://github.com/akka/akka/tree/master/akka-tutorials/akka-tutorial-first 
   to 
   
https://github.com/akka/akka/tree/new-docs-2.0/akka-tutorials/akka-tutorial-first
   - 
   
https://github.com/akka/akka/blob/master/akka-tutorials/akka-tutorial-first/src/main/scala/akka/tutorial/first/scala/Pi.scala
    to 
   
https://github.com/akka/akka/blob/new-docs-2.0/akka-tutorials/akka-tutorial-first/src/main/scala/akka/tutorial/first/scala/Pi.scala

And I couldn't compile the code as it, so I needed to made this 
modification (line 69 of the above file):

from:

listener ! PiApproximation(pi, duration = (System.currentTimeMillis - start
).millis)

to:

listener ! PiApproximation(pi, duration = Duration(System.currentTimeMillis 
- start, "millis"))


I don't know if this is the correct place to post this kind of things, but 
I wanted to help somehow.

Best regards.

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to