Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 16 22:15
    Aaronontheweb synchronize #3889
  • Oct 16 21:00
    dependabot-preview[bot] synchronize #3986
  • Oct 16 21:00

    dependabot-preview[bot] on nuget

    Bump NUnit from 3.6.1 to 3.12.0… (compare)

  • Oct 16 21:00
    dependabot-preview[bot] synchronize #3985
  • Oct 16 21:00

    dependabot-preview[bot] on nuget

    Bump FsCheck.Xunit from 2.9.0 t… (compare)

  • Oct 16 21:00
    dependabot-preview[bot] synchronize #3983
  • Oct 16 21:00

    dependabot-preview[bot] on nuget

    Bump ApprovalUtilities from 3.0… (compare)

  • Oct 16 21:00
    dependabot-preview[bot] edited #3985
  • Oct 16 21:00
    dependabot-preview[bot] edited #3986
  • Oct 16 21:00
    dependabot-preview[bot] synchronize #3982
  • Oct 16 21:00
    dependabot-preview[bot] synchronize #3987
  • Oct 16 21:00

    dependabot-preview[bot] on nuget

    Bump FsPickler from 5.2.0 to 5.… (compare)

  • Oct 16 21:00

    dependabot-preview[bot] on nuget

    Bump LightningDB from 0.9.8 to … (compare)

  • Oct 16 21:00
    dependabot-preview[bot] edited #3982
  • Oct 16 21:00
    dependabot-preview[bot] edited #3983
  • Oct 16 21:00
    dependabot-preview[bot] edited #3987
  • Oct 16 20:59
    dependabot-preview[bot] edited #3982
  • Oct 16 20:59
    dependabot-preview[bot] edited #3985
  • Oct 16 20:59
    dependabot-preview[bot] edited #3987
  • Oct 16 20:59
    dependabot-preview[bot] edited #3986
Aaron Stannard
@Aaronontheweb
could you add that and see if this resolves your issue?
and if so, send that in as a PR to fix the FAKE script :shipit:
Suhas Chatekar
@schatekar
sure
are dependencies going from right to left?
never used FAKE before
Aaron Stannard
@Aaronontheweb
"MultiNodeTests" depends on the things to its left
yeah, it was trippy for me too at first :p
Suhas Chatekar
@schatekar
:)
is there a target to only build C# projects
Aaron Stannard
@Aaronontheweb
unfortunately no :(
Suhas Chatekar
@schatekar
f# projects are not building for me
I would let this run pass, but I am sure it would fail owing to f# issues on my box
I would look into that tomorrow
Aaron Stannard
@Aaronontheweb
for debug purposes, why don't you go ahead and remove them from your default build target for now?
get your code to work and then you can worry about the setup :p
I'm still dealing with issues related to my Windows 10 and VS 2015 upgrade
Suhas Chatekar
@schatekar
ok
the build step builds Akka.sln how do I tell it to skip fsproj projects?
Aaron Stannard
@Aaronontheweb
inside Visual Studio you can modify which projects build on a particular build target
I think this is a change you'd be making at the solution level
blob
Solution --> Properties --> Configuration
and you can turn off the individual FSharp projects
should be about 6 of them
Suhas Chatekar
@schatekar
got it
Aaron Stannard
@Aaronontheweb
you'd need to let those projects build again when you submit a PR :p
but for the time being, you can temporarily leave it that way while you work on your stuff - rather than have to fight with VS and the F# installer :p
Suhas Chatekar
@schatekar
ok, that worked, and your fix works too
but the test I ported is failing so i would not submit the PR just yet
or if you like, I can submit the PR only for the change to fake file
Aaron Stannard
@Aaronontheweb
yep, sounds like a good idea
send in one PR for the FAKE change
and IMHO, may as well put in another PR for the test - even though it's failing
that way I can look at it
Suhas Chatekar
@schatekar
ok
Aaron Stannard
@Aaronontheweb
Graeme's PR is failing because of a bunch of bugs inside the MultiNodeTestKit, which I'm working on now - yours might also have the same issue
Suhas Chatekar
@schatekar
ok if I give you both PRs tomorrow
Aaron Stannard
@Aaronontheweb
:thumbsup:
Suhas Chatekar
@schatekar
bit tired at the moment, must go to sleep
Aaron Stannard
@Aaronontheweb
looks like all of those updated Akka.Remote and Cluster docs are starting to pay off: http://stackoverflow.com/questions/32094660/how-to-detect-remote-actor-disconnection-dissociation#comment52104082_32094660
able to use the new docs to answer their own question
Mike Johnson
@softwaremike

@bruinbrown (or anyone else who can answer): Related to a question about spray and the ability to hook up a REST interface to an actor system (e.g. so we could provide a way to query some property stored within some actor), you said the following:

Akka-Http is an existing Akka project by the developers of Spray and Tyrpesafe designed to make a HTTP API interface which works directly with actors themselves http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0-M2/scala/http/. If you're not wanting to wait for the release of Aka.Http then it's possible to use any of the existing HTTP API libraries (ASP.Net WebAPI, Nancy, WCF etc) and there's a couple of options on getting your API endpoints connected to your actor system

Can someone elaborate on the currently available "options of getting your API endpoints connected to your actor system"? I'm loving the possibilities with akka.net, just not sure how to "get data out of" it. For example, let's say I'm building an actor system that does something like keep a multiplayer game's player attributes up to date. Then I'm building a web site where I can show current stats on a set of users. I'm thinking the website needs to somehow "look into" the actor system to grab some set of stats from one or more actors. (So it's basically making queries against the actor system from outside the actor system itself.) Are there any examples/patterns to do something like this?
Wolfgang Loder
@kujua
@softwaremike I use an actor in the API implementation to communicate with the actor system.
In your case there is either the option to push messages with the player attributes to the actor in the API or the API actor asks the actor system for the data.
The latter would use async communication (Tell), or have an Ask with async/await in a thread.
Communication to the client can be done via web sockets (SignalR or similar) to push data to the web client and update when data is available. The Web Crawler example is using this approach: Samples.
tstojecki
@tstojecki
@Horusiath et all, are there any java/c# samples out there for you work with persistent actors? i have read through the http://getakka.net/docs/Persistence docs, but i am still pretty consufed about how to work with this api... for example, do i need to handle Receive, ReceiveCommand, ReceiveRecovery, etc...
i would like to start with something simple that can persist a few events and rebuild its state on failure
Bartosz Sypytkowski
@Horusiath
@tstojecki there is no Receive in persistent actors, you have ReceiveCommand instead. ReceiveRecovery is used only, when persistent actors has been resurrected and is trying to recover from the set of events it persisted before
you can look at my example, I'll finish it some day probably :P
I want to change some of the patterns presented, but some basic concepts are already there
tstojecki
@tstojecki
so this.Receive appears to be available on PersistentActor, but you're saying i should leave it alone