Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 20:47
    IgorFedchenko commented #4085
  • 20:46
    IgorFedchenko commented #4085
  • 15:09
    IgorFedchenko commented #4085
  • 11:24
    Kenji-Tanaka commented #3887
  • 10:45
    nagytech edited #4086
  • 10:45
    nagytech synchronize #4086
  • 10:43
    nagytech opened #4086
  • 09:00
    Horusiath commented #4077
  • 06:31
    Aaronontheweb commented #4085
  • 06:28
    Aaronontheweb commented #4085
  • 06:24
    Aaronontheweb commented #4085
  • Dec 07 11:49
    IgorFedchenko commented #4085
  • Dec 07 10:31
    IgorFedchenko commented #4085
  • Dec 07 08:36
    IgorFedchenko commented #4085
  • Dec 06 20:57
    IgorFedchenko commented #4085
  • Dec 06 20:32
    IgorFedchenko commented #4085
  • Dec 06 20:01
    IgorFedchenko commented #4085
  • Dec 06 19:55
    IgorFedchenko commented #4085
  • Dec 06 16:22
    Aaronontheweb labeled #3997
  • Dec 06 16:22
    Aaronontheweb closed #3997
Bartosz Sypytkowski
@Horusiath
yes, nice indeed
Aaron Stannard
@Aaronontheweb
@rogeralsing I had an idea I wanted to run by you
what if instead of having Sender, Self, and Parent always dynamically resolve their state using the current IActorContext
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