Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 16:15
    Aaronontheweb commented #4126
  • 15:12
    IgorFedchenko opened #4153
  • 11:31
    IgorFedchenko commented #3893
  • 11:01
    IgorFedchenko commented #4126
  • 10:44
    IgorFedchenko synchronize #4126
  • 10:25
    IgorFedchenko synchronize #4126
  • 01:42
    dependabot-preview[bot] synchronize #3985
  • 01:42
    dependabot-preview[bot] synchronize #4149
  • 01:42

    dependabot-preview[bot] on nuget

    Bump Hyperion from 0.9.11 to 0.… (compare)

  • 01:42

    dependabot-preview[bot] on nuget

    Bump FsCheck.Xunit from 2.9.0 t… (compare)

  • 01:42
    dependabot-preview[bot] edited #4149
  • 01:42
    dependabot-preview[bot] edited #3985
  • 01:42
    dependabot-preview[bot] synchronize #3986
  • 01:42
    dependabot-preview[bot] synchronize #4066
  • 01:42

    dependabot-preview[bot] on nuget

    Bump NUnit from 3.6.1 to 3.12.0… (compare)

  • 01:42

    dependabot-preview[bot] on nuget

    Bump FSharp.Quotations.Evaluato… (compare)

  • 01:42
    dependabot-preview[bot] edited #3986
  • 01:42
    dependabot-preview[bot] edited #4066
  • 01:41
    Aaronontheweb synchronize #4150
  • 01:41
    Aaronontheweb synchronize #4152
Hussein Ait-Lahcen
@hussein-aitlahcen
void IHandle(PhysicsWorld.BodyCreationResult msg)  
{
     if(msg.Success) {/* do my stuff */}
     msg.InitialSender.Tell(new GameObjectCreationResult(msg.Success); 
}
Bartosz Sypytkowski
@Horusiath
this is an option, but without a context it's hard to advise something specific ;)
Hussein Ait-Lahcen
@hussein-aitlahcen
I have multiple MapInstance
MapInstance = actor
Each MapInstance have one PhysicsWorld actor (child)
When i want to add a GameObject to that map i tell a AddGameObject msg containing my gameobject
The map tell the PhysicsWorld to create a new phyical body, in case of success, it add the gameobject to the map and return the result
That said my MapInstance have only one PhysicsWorld so maybe i could double forward the message so that i dont have to wrapp the initial sender
in mapInstance : physicsWorld.Forward(new CreateBody...)
in physicsWorld : Parent.Forward(new BodyCreationResult...) (where Parent is obviously the MapInstance actor)
Then i will be able to do Sender.Tell in my mapinstance handler instead of msg.InitialSender.Tell ?
Hussein Ait-Lahcen
@hussein-aitlahcen
actor A, actor B, actor C where C is a child of B
A tell B, B forward to C, C forward to parent, B tell the Sender (A)
This message was deleted
B is a sort of router
Zetanova
@Zetanova
If there is a execution over ActorTaskScheduler.RunTask(), the next message will be processed after the execution finishes?
I am looking for a why to make a saga/process manager that can execute commands in sequenze but can except cancelation messages for them too.
Zetanova
@Zetanova
Should i just create a tempActor for each execution?
Aaron Stannard
@Aaronontheweb
C# 6 can compile down into .NET 4.5, right?
might upgrade the build agents this week to support it - I think I just have to update the versions of Mono and VS being used
Graeme Bradbury
@GraemeBradbury
@Aaronontheweb Roslyn can build 4.5
Aaron Stannard
@Aaronontheweb
@GraemeBradbury cool! I thought so
that answers my question then - I'd love to use the C# syntax features
in 6
I just didn't want to have to bump the runtime version of Akka.NET
wasn't willing to make that tradeoff
but if we can have our cake and eat it too, why not
I'm going to take a look at using some configuration management tools for our build agents and recreate them that way
my VM-image approach accumulates technical debt at an alarmingly fast rate due to how often I have to upgrade the .NET runtime as of late
so wish we had Docker for Windows already
but in lieu of that, might try some Hashicorp stuff
(if it works with Windows)
Kamil Wojciechowski
@aph5nt
how to PreStart with F# api ?
Zetanova
@Zetanova
yes Docker will be good
Roger Johansson
@rogeralsing
I did an Akka.NET presentation for MS today, nice to see that even their architects are interested
Graeme Bradbury
@GraemeBradbury
@rogeralsing :+1:
Roger Johansson
@rogeralsing
btw. regarding C#6 features, that means we need vs.net 2015 to code, right? as the tooling still needs to understand the new features (?)
even if we compile for 4.5
Zetanova
@Zetanova
they changed in the IDE and compiler a lot. Basicly the new features are "extensions" that somebody can now create by himself.
Bartosz Sypytkowski
@Horusiath
@aph5nt
let a = 
    spawn system "act"
    <| fun mailbox ->
        // this part works like pre-start
        let rec loop () = actor {
          // receive logic
        }
        loop ()
@Zetanova sagas/process managers are basically actors, and cancellations are messages
Aaron Stannard
@Aaronontheweb
@annymsMthd dude, that is awesome!
@Horusiath lol sunbathing in the UK
I'll take a look at the PR today - nice work man
Kamil Wojciechowski
@aph5nt
@Horusiath thx
Diego Frata
@diegofrata
I'm using a ReceivePersistentActor, but there is no method like Become(Action configure). How am I supposed to manage switchable behavior?
Bartosz Sypytkowski
@Horusiath
@diegofrata Become is method of Context not actor itself.
Diego Frata
@diegofrata
@Horusiath Still it doesn't have a signature that resembles the ReceiveActor. Which means I can't use the methods Command and Recover, right? Am I missing something?
Bartosz Sypytkowski
@Horusiath
behavior changes applies only to command receivers, never to recover
recovery method is applied only once actor is recovering after being recreated. It only purpose is to restore state from events and snapshots. No application logic should ever reside there, so becoming and state machines has no use in this case