Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 19 23:39
    valdisz synchronize #3889
  • Oct 19 23:08
    edvinasz commented #2947
  • Oct 19 13:36
    Aaronontheweb commented #3973
  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3995
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump BenchmarkDotNet from 0.10.… (compare)

  • Oct 19 13:34
    dependabot-preview[bot] edited #3995
  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3993
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump Google.Protobuf from 3.9.1… (compare)

  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3991
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump Microsoft.Extensions.Depen… (compare)

  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3989
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump ApiApprover from 3.0.1 to … (compare)

  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3992
  • Oct 19 13:34
    dependabot-preview[bot] edited #3993
  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3985
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump System.Reflection.Emit fro… (compare)

  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3986
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump FsCheck.Xunit from 2.9.0 t… (compare)

  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3983
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump NUnit from 3.6.1 to 3.12.0… (compare)

Steffen Forkmann
@forki
so yesterday I changed that and we try 3 times. only the third trial will print the file contents
Yin Zhang
@melcloud
@Horusiath Ah, I see. I just about to fork and submit a pull request. Thanks, Do you know when it will be release?
Steffen Forkmann
@forki
if there is no way to detect if a file is text, then I willl have to change the error message to something static like "a firewall might have blocked the download. please look into the file and see if it contains text with further information"
Bartosz Sypytkowski
@Horusiath
@forki from what I've read, you can only reduce the risk:
  • binary files tends to have unusually lot consecutive number of \0.
  • text files (surprising ;) ) tend to have a lot of \r\n sequences
@melcloud it should have been released about month ago ;) hopefully we'll release it until end of this month
maruns
@maruns
Hello, I would like to ask if anybody knows is it possible to send messages between akka.net and typesafe akka?
Tom Rathbone
@chillitom
@Horusiath once I've given this mysql persistence adaptor a thorough testing shall I transfer it to the akkadotnet organization on github?
Steffen Forkmann
@forki
@Horusiath I guess a generic message is good enough. /cc @ilkerde it's better than let your soundcard go crazy
Bartosz Sypytkowski
@Horusiath
@chillitom you have my blessing ;) @Aaronontheweb could we create a repository for Akka.Persistence.MySql?
Tom Rathbone
@chillitom
i think I can just transfer ownership of my existing one
humph, doesn't appear to work as under the covers it still thinks it's the postgres repo and that already exists
let me know when the repo exists and I'll open a PR
Yin Zhang
@melcloud
@Horusiath great! thanks
Tom Rathbone
@chillitom
@Horusiath just trying to implement a persistent actor using the existing Akka.FSharp .. I see what you mean now!
Abdulrahman Hawa
@abed-hawa

Hi guys, I have a weird problem with my actor, it keeps saying started then stopped, but I have no clue whats happening under the hood:

2015-11-18 16:23:57.6168|DEBUG|Akka.Remote.Transport.ProtocolStateActor|Started (Akka.Remote.Transport.ProtocolStateActor)
2015-11-18 16:24:27.6578|DEBUG|Akka.Remote.Transport.ProtocolStateActor|Stopped
2015-11-18 16:24:42.6344|DEBUG|Akka.Remote.Transport.AkkaProtocolManager|now supervising akka://converter/system/transports/akkaprotocolmanager.tcp.0/akkaProtocol-tcp%3a%2f%2fconverter%40192.168.56.1%3a60161-107
2015-11-18 16:24:42.6344|DEBUG|Akka.Remote.Transport.ProtocolStateActor|Started (Akka.Remote.Transport.ProtocolStateActor)
2015-11-18 16:25:12.6871|DEBUG|Akka.Remote.Transport.ProtocolStateActor|Stopped
2015-11-18 16:25:27.6402|DEBUG|Akka.Remote.Transport.AkkaProtocolManager|now supervising akka://converter/system/transports/akkaprotocolmanager.tcp.0/akkaProtocol-tcp%3a%2f%2fconverter%40192.168.56.1%3a60162-108
2015-11-18 16:25:27.6402|DEBUG|Akka.Remote.Transport.ProtocolStateActor|Started (Akka.Remote.Transport.ProtocolStateActor)

It's doing the start/stop on every message sent, but actor doesn't execute, how can I probably check whats happening?
Roger Johansson
@rogeralsing
@abed-hawa maybe it throws an exception in its constructor?
Abdulrahman Hawa
@abed-hawa

@rogeralsing I'm initialising my actor like this:
ActorSystem = ActorSystem.Create("converter", config);
actor = ActorSystem.ActorOf<App_Code.ActorName>("ActorName");

its not raising any exceptions

How can I log an exception like that if its happening in realtime?
runtime*
Tom Rathbone
@chillitom
if I load a persistent actor and immediately send it some messages to process followed by a GracefulStop it appears that the actor stops without processing any messages from the inbox.. is this to be expected?
Tom Rathbone
@chillitom
is there any way to disable type naming in the JSON serialization? why is this needed?
Dmitriy Tadyshev
@ditadi
@rogeralsing It seems like Wire serializer fails for FSharpSet, I cloned wire repo and wrote quick test. Is it supposed to work with FSharp sets yet?
I tested a FSharp list and that works just fine, I may just refactor my code to use a list instead of set for now.
Aaron Stannard
@Aaronontheweb
@abed-hawa check the message
not the actor
Aaron Stannard
@Aaronontheweb
@Aaronontheweb
hmmm... I've seen the multi-node test runner hang twice on this:Step 1/1: Writing test state to: D:\BuildAgent\work\49b164d63843fb4\TestResults\Akka.Cluster.Tests.MultiNode-635834644789423697.json
including right now
literally just writing to a file
Aaron Stannard
@Aaronontheweb
logged #1433 for it
just saw it happen again
really weird
@chillitom in order for serialization to be fully transparent, it must be fully qualified
all statically typed, in other words
although I thought the Google Protocol Buffer envelope around the JSON blob had the type name burned into it
so it may not be necessary to do it again inside the JSON
that's a better question to ask @rogeralsing
Roger Johansson
@rogeralsing
@chillitom we need to support subtype serialization. e.g. if you have a property of type animal but the value is of type cat, then the deserializaed value needs to be materialized back as cat
Aaron Stannard
@Aaronontheweb
@rogeralsing thanks :+1:
Roger Johansson
@rogeralsing
also if you have arrays of objects, like we do for constructor arguments for remote deployment, then we need the type for all the args
Tom Rathbone
@chillitom
okay, makes sense
do you think it could be exposed as an option? we are simply using f# discriminated unions as 'Event types, would be nice if they could be kept short and sweet
in the postgres adaptor theres a comment about restricting the ticks column
Bartosz Sypytkowski
@Horusiath
@chillitom in general, when you use persisted events, never let other party decide how should they be serialized
use your own serializer instead
Aaron Stannard
@Aaronontheweb
cc @davidflerlage regarding Postgres plugin
Tom Rathbone
@chillitom
was wondering if someone could explain "restricting created_at_ticks to the range [0,10) to ensure that there are no precision differences in the opposite direction"
I haven't applied such a constraint in the MySQL adaptor as unsure of the reasons behind it
Tom Rathbone
@chillitom
@Horusiath thanks for the advice, I'll do that
Aaron Stannard
@Aaronontheweb
man, I can't get a single build to pass right now with all of these racy spec failures
even a PR for fixing one of them! :p