+Robert Morel, thanks! Hopefully you found the full playlist. I don't go as deep as some other things, but my target audience doesn't need remotes, clustering, and the new streaming and HTTP functionality.
In the fairly near future I need to remake them for Scala 3. A major question for me is how much I should include of Akka Typed. Most of the concepts are the same, but there are some aspects that are different and perhaps a bit more complex because of the typing.
@@MarkLewis Spark is making a lot of people jump in. Current clear tutorials are missing for each thing. From 0!! starting with just the basics and following the guide line. If you need an idea to form the calendar plan, contact me ignacio.del.corro@mi.unc.edu.ar, it will be a pleasure to work with you
I'm glad that you found it helpful. I'm not certain what you mean on the plugin. I'm using the Scala IDE plugin do do Scala, but that is the only one that is significant for these videos.
It's painful to watch how Eclipse does not want to rename a class if file is not saved and it takes so much time to figure it out. IMO, there are better IDEs. I agree with comment below to use sbt or any other build tool to start with any project. No one should do dependency management with an IDE.
They should if they are a 2nd semester CS student. sbt is a great tool and is definitely the way to go for large projects with Scala, including anything professional, but it is easy to forget how many steps there are in getting this started. Once set up, it is great for adding dependencies and such, but it really is a much less intuitive tool for the novice.
Keep in mind that I'm under Linux.I have been using Vokoscreen. I used to use recordMyDesktop, but I had problems with the audio and video going out of sync so I switched over about two years ago. I rarely have any issues with Vokoscreen other than forgetting to change my sound input settings before I record.
Hi Mark, I am grateful for your reply. Vokoscreen recording got some background noise. Is there any other application that you are using to remove the noise? I tried Audacity but it only creates only audio file and than I will have to manually synch the audio and video.
For background noise I tried a number of different microphones. I would up buying a fairly nice USB microphone that has a little stand. It was about $60 and works much better than a built in microphone or some other inexpensive ones that I bought.
Hi Mark Lewis, when i run the same program in Scala IDE, it gives me an error "Error: Could not find or load main class multithreading.SimpleActorExample". I didn't understand what is that. Could you help me.
There are two common causes of this. One is that you have a class instead of an object for the main. A main for an application in Scala has to be in an object. The second is that the package statement in the file doesn't match the directory the file is in. This confuses Eclipse, though it is allowed Scala and you can get around it with command line tools. If neither of those seems to be the case, my normal approach is to go to the command line. Go into the directory where you have this. If you aren't using SBT, there will be both a src and bin directory. Look in the bin directory to see if there is a .class file that matches your main. For an object declaration, it would include a $ in the name. If it is there, that means that Eclipse isn't seeing it for some reason. If it isn't there, that means your code isn't compiling the way you expect. If I get really desperate at this point I go to compiling and running on command line just to see what happens, but that is a more involved process.
The standard way to use Akka now is to use sbt, or another Scala build tool, and include it in the dependencies. Here is a starter project I gave my students last fall that included Akka, github.com/MarkCLewis/MUDStarter/blob/master/build.sbt. I will note that I've also moved from Eclipse to VS Code using the Metals plug-in in my teaching and my own development.
I have used a number of different things over a few years. I think that this video was made with the Linux program recordmydesktop. However, I've stopped using that because I had a lot of issues with frame rates and audio encoding, especially when running other processes on that machine (my computer support 48 threads, and I have 24 of them working on a simulation most of the time). Right now I'm using Kazaam. It is really simple, but it gets the job done. I've considered moving to a more advanced program, but there are certain advantages to simplicity.
If I redid this today I'd use sbt. I've been doing that with my students for the last few semesters. It does simplify things, and they get at least a little experience with sbt.
Yeah. My students ran into this last fall. They are basically forcing people to use sbt or Maven and get Akka through the dependency management features. That isn't a bad thing in general, but it means people have to learn something about one of those build tools. Fortunately, You can download the Akka jar directly from Maven. Right now the newest version is at mvnrepository.com/artifact/com.typesafe.akka/akka-actor_2.12/2.5.9. You can download the JAR file from close to the top of that page. It also has a dependency on Typesafe Config. The link lower on the Akka Maven page takes you to mvnrepository.com/artifact/com.typesafe/config/1.3.2.
I'm not certain about Akka, but Martin had something that I saw back in 2008 when I was first learning the language saying that the "a"'s were pronounced like in Java. I don't remember if that was online or where I saw it.
I really wasn't certain originally until I heard Martin make the comparison to Java. I still don't know if my pronunciation of Akka is right, but I'm running with it. :)
Finally an Akka tutorial video that makes sense
+Robert Morel, thanks! Hopefully you found the full playlist. I don't go as deep as some other things, but my target audience doesn't need remotes, clustering, and the new streaming and HTTP functionality.
+Mark Lewis Sure, it will be of great help if you can provide tutorials of akka with netty.
This tutorial is Magic. NICE JOB!!!!!
And 5 YEARS LATER!!
you could continue this series of tutorials. Thx sm
In the fairly near future I need to remake them for Scala 3. A major question for me is how much I should include of Akka Typed. Most of the concepts are the same, but there are some aspects that are different and perhaps a bit more complex because of the typing.
@@MarkLewis Spark is making a lot of people jump in. Current clear tutorials are missing for each thing. From 0!! starting with just the basics and following the guide line. If you need an idea to form the calendar plan, contact me ignacio.del.corro@mi.unc.edu.ar, it will be a pleasure to work with you
Great succinct explanation
You're a lifesaver here man. I can't find any decent videos on akka and then this is just...so nice. Thank you.
What plugin are you using for Eclipse?
I'm glad that you found it helpful. I'm not certain what you mean on the plugin. I'm using the Scala IDE plugin do do Scala, but that is the only one that is significant for these videos.
It's painful to watch how Eclipse does not want to rename a class if file is not saved and it takes so much time to figure it out. IMO, there are better IDEs.
I agree with comment below to use sbt or any other build tool to start with any project. No one should do dependency management with an IDE.
They should if they are a 2nd semester CS student. sbt is a great tool and is definitely the way to go for large projects with Scala, including anything professional, but it is easy to forget how many steps there are in getting this started. Once set up, it is great for adding dependencies and such, but it really is a much less intuitive tool for the novice.
Nice akka tutorial video for beginners... thanks...
Hi Mark, thanks for the tutorial, may I know which application did you use to record your screen?
Keep in mind that I'm under Linux.I have been using Vokoscreen. I used to use recordMyDesktop, but I had problems with the audio and video going out of sync so I switched over about two years ago. I rarely have any issues with Vokoscreen other than forgetting to change my sound input settings before I record.
Hi Mark, I am grateful for your reply. Vokoscreen recording got some background noise. Is there any other application that you are using to remove the noise? I tried Audacity but it only creates only audio file and than I will have to manually synch the audio and video.
For background noise I tried a number of different microphones. I would up buying a fairly nice USB microphone that has a little stand. It was about $60 and works much better than a built in microphone or some other inexpensive ones that I bought.
nice and simple! Thanks for the video.
Glad that you found it useful.
Hi Mark Lewis, when i run the same program in Scala IDE, it gives me an error "Error: Could not find or load main class multithreading.SimpleActorExample". I didn't understand what is that. Could you help me.
There are two common causes of this. One is that you have a class instead of an object for the main. A main for an application in Scala has to be in an object. The second is that the package statement in the file doesn't match the directory the file is in. This confuses Eclipse, though it is allowed Scala and you can get around it with command line tools.
If neither of those seems to be the case, my normal approach is to go to the command line. Go into the directory where you have this. If you aren't using SBT, there will be both a src and bin directory. Look in the bin directory to see if there is a .class file that matches your main. For an object declaration, it would include a $ in the name. If it is there, that means that Eclipse isn't seeing it for some reason. If it isn't there, that means your code isn't compiling the way you expect. If I get really desperate at this point I go to compiling and running on command line just to see what happens, but that is a more involved process.
Thank you for your quick response. I solved now its working.
How to package it to jar, i am getting errors
After adding akka-actor and scala-libraray jar files still I am getting compilation errors.Why?
What are the errors?
holy moly this is actually really good really didnt expect that for such a "niche" topic :O
thanks a bunch
I'm glad that you have found the material useful.
Is there a playlist will all akka videos sorted?
They are part of my general multithreading playlist. ua-cam.com/play/PLLMXbkbDbVt98z_6KWt3fU3W5jTOja9zY.html
I can't find the akka library anymore. Is there another way to download it?
The standard way to use Akka now is to use sbt, or another Scala build tool, and include it in the dependencies. Here is a starter project I gave my students last fall that included Akka, github.com/MarkCLewis/MUDStarter/blob/master/build.sbt. I will note that I've also moved from Eclipse to VS Code using the Metals plug-in in my teaching and my own development.
i want to work on actor model developed by Gul Agha. Is this Akka helpful in implementing actor model.
Akka is the primary implementation of the actor model of parallelism on the JVM.
hello sir, which software u use for recording screen
I have used a number of different things over a few years. I think that this video was made with the Linux program recordmydesktop. However, I've stopped using that because I had a lot of issues with frame rates and audio encoding, especially when running other processes on that machine (my computer support 48 threads, and I have 24 of them working on a simulation most of the time). Right now I'm using Kazaam. It is really simple, but it gets the job done. I've considered moving to a more advanced program, but there are certain advantages to simplicity.
why no use pom.xml. but very well done! thank you!
If I redid this today I'd use sbt. I've been doing that with my students for the last few semesters. It does simplify things, and they get at least a little experience with sbt.
@@MarkLewis really like Ur videos. Taught me alot too! Really appreciate it!
@@remytangooo I'm glad that you have found them useful.
whats the URL to full AKKA play list pleas?
ua-cam.com/play/PLLMXbkbDbVt98z_6KWt3fU3W5jTOja9zY.html
This is my Scala multithreading playlist, including the Akka stuff.
thank you
Mark it would be really awesome if you can create a seperate playlist for akka related videos..
here you go
ua-cam.com/play/PLGAr1f-766_x4EkTBuCNFKb4IQZVFi1vy.html
Thanks for the nice explination!
I am not able to download akka relase form akka.io anymore. download links keep redirecting to docs link
Yeah. My students ran into this last fall. They are basically forcing people to use sbt or Maven and get Akka through the dependency management features. That isn't a bad thing in general, but it means people have to learn something about one of those build tools. Fortunately, You can download the Akka jar directly from Maven. Right now the newest version is at mvnrepository.com/artifact/com.typesafe.akka/akka-actor_2.12/2.5.9. You can download the JAR file from close to the top of that page. It also has a dependency on Typesafe Config. The link lower on the Akka Maven page takes you to mvnrepository.com/artifact/com.typesafe/config/1.3.2.
When you were pronouncing Scala and Akka wrong the whole time.
I'm not certain about Akka, but Martin had something that I saw back in 2008 when I was first learning the language saying that the "a"'s were pronounced like in Java. I don't remember if that was online or where I saw it.
oh I was talking about myself :(
I pronunced them with hard a's :(
I really wasn't certain originally until I heard Martin make the comparison to Java. I still don't know if my pronunciation of Akka is right, but I'm running with it. :)
Hahaha.