Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 21:12
    Aaronontheweb commented #4001
  • 21:11

    Aaronontheweb on dev

    Added missing Persistence Testiā€¦ (compare)

  • 21:11
    Aaronontheweb closed #4001
  • 20:59
    sean-gilliam commented #3889
  • 20:59
    sean-gilliam opened #4001
  • 16:07
    spankr commented #3921
  • 15:55
    Aaronontheweb labeled #3765
  • 15:54
    Aaronontheweb labeled #3765
  • 15:54
    Aaronontheweb milestoned #3765
  • 15:53
    Aaronontheweb closed #3902
  • 15:23
    Aaronontheweb commented #3921
  • 15:11
    spankr commented #3921
  • 15:05
    Aaronontheweb commented #3973
  • 15:05
    Aaronontheweb commented #3973
  • 15:02
    Aaronontheweb commented #4000
  • 15:02
    Aaronontheweb milestoned #4000
  • 15:02
    Aaronontheweb assigned #4000
  • 15:01
    Aaronontheweb commented #3889
  • 14:55
    sean-gilliam commented #3889
  • 14:35
    IgorFedchenko commented #3973
Aaron Stannard
@Aaronontheweb
what if we just made them auto-properties and assigned those values each time they were updated?
wouldn't that eliminate the need to have to have a closure when using TPL and PipeTo?
or would we still have that issue? I was wondering if the fact that we're actually invoking a function to return the latest Sender / Self / Parent each time is part of the issue
Scala Akka is able to avoid having to do closures for a lot of this stuff because they just use fields
Aaron Stannard
@Aaronontheweb
@GraemeBradbury I'm still working on debugging #1261 - good news is that you helped me find a bunch of bugs inside our MultiNodeTestKit
might have even fixed the deadlock issue on #1134
Roger Johansson
@rogeralsing
@Aaronontheweb no, 1) they would mutate during the time the tpl task runs, and sender would not be available as an implicit value for Tell. you would have to manually supply it
that last art was 2) :D
part
Aaron Stannard
@Aaronontheweb
hmm... yeah, that'd be true even if Sender was just a dumb field, wouldn't it?
Roger Johansson
@rogeralsing
yepp
Aaron Stannard
@Aaronontheweb
ah... ok
I think that's a JVM / CLR difference then
looks to me like the JVM uses the address of the object being referenced
whereas the CLR looks for the address of a pointer to an object
i.e. the field's pointer
Roger Johansson
@rogeralsing
I think that might have to do with "val" in scala. not sure
Aaron Stannard
@Aaronontheweb
got it
ok well that's good to know
I found a bug in the TestConductor in the multi-node testkit that your Roslyn analyzer also found
caused tests that use throttling to crash
Roger Johansson
@rogeralsing
oh
tlotter
@tlotter
Hi, what is the best way to communicate with a client application (Unity3D .Net 3.5) via a small protocol (ProtoBuf) with an ActorSystem? I read about Akka I/O and was wondering if this is the right way. If so, is there a client library for .Net 3.5 ?
Aaron Stannard
@Aaronontheweb
related to this
Roger Johansson
@rogeralsing
I should probably extend that to look for class member mutations too
Aaron Stannard
@Aaronontheweb
closure bug
@rogeralsing btw, are we actually using akka.actor.ask-timeoutin the C# code anywhere? I want to use that setting to kill off some potential sources of deadlock in the multi-node testkit
I can't find where we're consuming that value
Bartosz Sypytkowski
@Horusiath
@Aaronontheweb if you use Ask without explicit timeout then you're using this setting
Aaron Stannard
@Aaronontheweb
@Horusiath good, that's what I wanted to know - but where in C# do we actually load this setting? Was trying to find a place where we load the ask-timeout key from a Config object
@tlotter at the moment, no - we do not have a general client for Akka.IO just yet
it's D-I-Y
Bartosz Sypytkowski
@Horusiath
@Aaronontheweb private Futures.Ask static extension method
timeout = timeout ?? provider.Settings.AskTimeout;
Aaron Stannard
@Aaronontheweb
ah, got it!
thanks
Suhas Chatekar
@schatekar
What is C# equivalent of actor ! BroadCast(PoisonPill) ?
Bartosz Sypytkowski
@Horusiath
actor.Tell(new Broadcast(PoisonPill.Instance))
Suhas Chatekar
@schatekar
tks
Suhas Chatekar
@schatekar

I am trying to port this line

system.eventStream.publish(Mute(EventFilter.warning(pattern = ".*received dead letter from.*")))

How do I create a warning event filter in C#?

Aaron Stannard
@Aaronontheweb
yeah, we don't have good documentation on this currently
here's how you can do it though
EventFilter.Warning(pattern: new Regex(@".*received dead letter from.*")).Mute();
Bartosz Sypytkowski
@Horusiath
what is the state of Dependency Injection combined with remote deployment scenarios? Any examples?
cause right now I'm trying that one and I've got node dissassociation (with some null ref exception in the middle)
Aaron Stannard
@Aaronontheweb
what is the state of Dependency Injection combined with remote deployment scenarios? Any examples?
not supported
Bartosz Sypytkowski
@Horusiath
is that something, we should put on the issue tracker?
Aaron Stannard
@Aaronontheweb
it's something we've discussed with @rkuhn as something to consider for both Akkas in the future
definitely not a "hack this up over a weekend" sort of feature, as it has the potential to break location transparency