- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Scala actor
Thu, 2011-05-12, 10:59
Hi
how to implement a scala actor class can any send for this example i
need to get google map need to show with comet
Thu, 2011-05-12, 11:37
#2
Re: Scala actor
Hi
Yes i can do that sorry for inconvience
Thanks
Jagadeesh
2011/5/12 √iktor Ҡlang <viktor.klang@gmail.com>
Yes i can do that sorry for inconvience
Thanks
Jagadeesh
2011/5/12 √iktor Ҡlang <viktor.klang@gmail.com>
Dude, seriously, spamming won't help your case at all.
If your problem was so easy that anyone here could just drop a line or two of code and that would implement google maps using comet and actors, wouldn't it be very weird that no one has answered yet?
I think you should start by actually reading some tutorials, blog posts so you get a firm grip on what you are supposed to do.
Cheers,
√
On Thu, May 12, 2011 at 11:59 AM, jaggu <mjagadeeshbabu@gmail.com> wrote:
Hi
how to implement a scala actor class can any send for this example i
need to get google map need to show with comet
Thu, 2011-05-12, 11:47
#3
Re: Scala actor
Hi,
don't worry about it, we are all beginners at some point.
Cheers,
√
On Thu, May 12, 2011 at 12:33 PM, jaggu <mjagadeeshbabu@gmail.com> wrote:
don't worry about it, we are all beginners at some point.
Cheers,
√
On Thu, May 12, 2011 at 12:33 PM, jaggu <mjagadeeshbabu@gmail.com> wrote:
Hi
Yes i can do that sorry for inconvience
Thanks
Jagadeesh
2011/5/12 √iktor Ҡlang <viktor.klang@gmail.com>
Dude, seriously, spamming won't help your case at all.
If your problem was so easy that anyone here could just drop a line or two of code and that would implement google maps using comet and actors, wouldn't it be very weird that no one has answered yet?
I think you should start by actually reading some tutorials, blog posts so you get a firm grip on what you are supposed to do.
Cheers,
√
On Thu, May 12, 2011 at 11:59 AM, jaggu <mjagadeeshbabu@gmail.com> wrote:
Hi
how to implement a scala actor class can any send for this example i
need to get google map need to show with comet
Thu, 2011-05-12, 11:57
#4
Re: Scala actor
On 12 May 2011 11:20, "√iktor Ҡlang" <viktor.klang@gmail.com> wrote:
>
> Dude, seriously, spamming won't help your case at all.
>
> If your problem was so easy that anyone here could just drop a line or two of code and that would implement google maps using comet and actors, wouldn't it be very weird that no one has answered yet?
>
> I think you should start by actually reading some tutorials, blog posts so you get a firm grip on what you are supposed to do.
>
> Cheers,
> √
>
And the #legendofklang strikes again :)
>
> On Thu, May 12, 2011 at 11:59 AM, jaggu <mjagadeeshbabu@gmail.com> wrote:
>>
>> Hi
>> how to implement a scala actor class can any send for this example i
>> need to get google map need to show with comet
>
>
Thu, 2011-05-12, 13:37
#5
Re: Scala actor
On 12/05/2011 12:20, √iktor Ҡlang wrote:
> Dude, seriously, spamming won't help your case at all.
Spamming is the word... I have rarely seen such a duplication of the same question in
mailing lists and forums I read. All this in less than 2 hours (like if the whole world is
awake and ready to answer every question...).
jaggu, for your information, "newbie questions & programming experiences and questions"
are supposed to be asked in the scala-user list. But don't start spamming there as well! ;-)
That said, no bad feelings, you just have to learn mail etiquette as well as the APIs... :-D
Sat, 2011-05-28, 08:47
#6
Actor
import scala.actors._
import scala.actors.Actor._
object demosample extends Actor
{
private var chats:List[String]=Nil
def act=loop{
react{
case s:String=>chats::=s
for(i<-1 to 10){
println("chat")}
}
}
this.start
}
hi can any one give reply for this scala actor just i have implemented
but ..
compile: scalac demosample.scala
scala demosample
scala>scala> demosample.act
java.lang.AssertionError: assertion failed: react on channel belonging
to other actor
at scala.Predef$.assert(Predef.scala:91)
at scala.actors.ReplyReactor$class.react(ReplyReactor.scala:
108)
at demosample$.scala$actors$Actor$$super
$react(demosample.scala:4)
at scala.actors.Actor$class.react(Actor.scala:606)
at demosample$.react(demosample.scala:4)
at demosample$$anonfun$act$1.apply(demosample.scala:8)
at demosample$$anonfun$act$1.apply(demosample.scala:8)
at scala.actors.Reactor$class.seq(Reactor.scala:280)
at demosample$.seq(demosample.scala:4)
at scala.actors.Reactor$$anon$3.andThen(Reactor.scala:258)
at scala.actors.Combinators$class.loop(Combinators.scala:26)
at demosample$.loop(demosample.scala:4)
at demosample$.act(demosample.scala:7)
at .(:6)
at .
Sat, 2011-05-28, 15:37
#7
Re: Actor
You dont need to call act directly, start in yhe conatructor will. Just fire it a message.
On May 28, 2011 3:42 AM, "fento" <smithfento@gmail.com> wrote:> import scala.actors._
> import scala.actors.Actor._
>
> object demosample extends Actor
> {
> private var chats:List[String]=Nil
> def act=loop{
> react{
> case s:String=>chats::=s
> for(i<-1 to 10){
> println("chat")}
> }
> }
> this.start
> }
>
> hi can any one give reply for this scala actor just i have implemented
> but ..
> compile: scalac demosample.scala
> scala demosample
> scala>scala> demosample.act
> java.lang.AssertionError: assertion failed: react on channel belonging
> to other actor
> at scala.Predef$.assert(Predef.scala:91)
> at scala.actors.ReplyReactor$class.react(ReplyReactor.scala:
> 108)
> at demosample$.scala$actors$Actor$$super
> $react(demosample.scala:4)
> at scala.actors.Actor$class.react(Actor.scala:606)
> at demosample$.react(demosample.scala:4)
> at demosample$$anonfun$act$1.apply(demosample.scala:8)
> at demosample$$anonfun$act$1.apply(demosample.scala:8)
> at scala.actors.Reactor$class.seq(Reactor.scala:280)
> at demosample$.seq(demosample.scala:4)
> at scala.actors.Reactor$$anon$3.andThen(Reactor.scala:258)
> at scala.actors.Combinators$class.loop(Combinators.scala:26)
> at demosample$.loop(demosample.scala:4)
> at demosample$.act(demosample.scala:7)
> at .<init>(<console>:6)
> at .<c...
> i got error like this cab you pease respond any one why this
> came .there isnop error in my scala code
If your problem was so easy that anyone here could just drop a line or two of code and that would implement google maps using comet and actors, wouldn't it be very weird that no one has answered yet?
I think you should start by actually reading some tutorials, blog posts so you get a firm grip on what you are supposed to do.
Cheers,
√
On Thu, May 12, 2011 at 11:59 AM, jaggu <mjagadeeshbabu@gmail.com> wrote: