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
I'll know for certain later today
petabridge/petabridge.cmd-issues#21 - parent issue
Suresh M
@Tamila0701_twitter
I'm currently working on akka.net project. I'm getting an error stating that "One or more errors occurred. A task was canceled." and there is no stack trace for this error. Do anyone have any suggestions?
Aaron Stannard
@Aaronontheweb
need to add a lot more detail than that
when does that happen, what are you trying to do, what's the error message look like, etc...
sounds like something internally that depends on the TPL timed out
Suresh M
@Tamila0701_twitter

void Wait(IActorRef target, IConfiguration config)
{
try
{
var currentState = target.Ask<States>(new CurrentState(), TimeSpan.FromMinutes(1));
currentState.Wait();

            if (currentState.Result == States.Idle)
            {
                return;
            }

...........
...........

Getting error when currentState.Wait() is executed.

Bart de Boer
@boekabart
You get an AggregateException , most likely, you can inspect its InnerExceptions . Does it take about a minute for this to happen? If so, it's just the timeout cancelling the task.
Maxim Cherednik
@maxcherednik
hi. I was wondering what is the API of Ask?
Aaron Stannard
@Aaronontheweb
the API?
Maxim Cherednik
@maxcherednik
I didn't manage to find from the C# doc
Aaron Stannard
@Aaronontheweb
ah yeah
Maxim Cherednik
@maxcherednik
hey Aaron
Aaron Stannard
@Aaronontheweb
it's an extension method
Maxim Cherednik
@maxcherednik
but do we follow the .net thing
let me explain
Aaron Stannard
@Aaronontheweb
Maxim Cherednik
@maxcherednik

I read it this way: public static Task<object> Ask(this ICanTell self, object message, TimeSpan? timeout, CancellationToken cancellationToken)

Aha. returns task and takes CancellationToken - meaning it can throw OperationCancelledException
Takes timeout - highly likely should throw AskTimeoutException

is this correct?
or I get the result which is true/false
in this case I fully control the flow and can reason about any outcome.
Suresh M
@Tamila0701_twitter
Thanks Bart, there are multiples threads with same Actor and not able find why this is happening. Even though it is in the try block, error is not handled and System actor is stopped. Any suggestions to handle it.
Aaron Stannard
@Aaronontheweb
@maxcherednik I think we have an open issue and PR for that open at the moment
not sure on what the current status is :p
Maxim Cherednik
@maxcherednik
yeah, I do remember I've seen it somewhere
and according to the code we don't do what I described
it seems it's cancelling the task after timeout, which is not completely correct
ok. one more question then: why I can't build the solution on mac? there is still this .nuget folder in the solution which is empty, but in the solution file it expects some files to be there
dferrell
@dferrell
I have two applications that i am converting to akka.net and will be using clustering on both. Would it be best practice to give each cluster it's own system name and run separate lighthouse instances for each cluster system name or use the same system name and seed node config for both apps while using roles to isolate the two applications from each other?
Aaron Stannard
@Aaronontheweb
ok. one more question then: why I can't build the solution on mac? there is still this .nuget folder in the solution which is empty, but in the solution file it expects some files to be there
you should be able to
we're able to build it from the commandline at least on both Windows and Linux
are you trying to open it in an emulated VS instance?
Maxim Cherednik
@maxcherednik
nope, just vs 2017 for mac
Bart de Boer
@boekabart
vs2017 for mac, afaik, is specifically targeted at x-platform app development
Maxim Cherednik
@maxcherednik
I can do other projects there...
Maxim Cherednik
@maxcherednik
image.png
These ones are not in the repo and they are not used. Strangely, vs2017 for windows does not show these files are gone. Only if I try to open them, it says can't find it.
Jonas
@jonasro_twitter
Are there anything built in to akka.IO and tcp with regards to keepalive messages or checking whether the server is alive? How do people usually implement handling for half-open connections?
Diego Liñan
@diegolinan
Hello! I'm having an issue I can't find a solution for anywhere. I'm trying to create several App.config files for my solution that can potentially contain different HOCON configurations depending on which environment I'm deploying to. I would like to do transforms as with any other field on the appSettings area but it seems to be impossible. Has anyone done this before? Samples? Thanks!!
Diego Liñan
@diegolinan
According to the docs (which sometimes lack on examples): "Parsing HOCON from a string is handy for small configuration sections, but what if you want to be able to take advantage of Configuration Transforms for App.config and Web.config and all of the other nice tools we have in the System.Configuration namespace?"
So, how do we do transforms on the HOCON or how we can user different config files with different HOCON Configurations...
Maxim Cherednik
@maxcherednik

@Aaronontheweb

image.png

I think we don't this anymore, I will create a pull request for this

Aaron Stannard
@Aaronontheweb
ah I see
yeah I don't think we need those
@diegolinan people have used App.config transformations to replace the entire HOCON section
seen it done
don't have an example on-hand though
Maxim Cherednik
@maxcherednik
plus a couple of projects have "version=" with a small 'v' it's actually case sensitive
Diego Liñan
@diegolinan
@Aaronontheweb Damn... I was thinking the same but just can't get it done... Will continue researching
Maxim Cherednik
@maxcherednik
btw why do we target several platforms rather than just a standard ?