Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 11:15
    IgorFedchenko synchronize #3973
  • 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
Arjen Smits
@Danthar
when we release the new implementation, we should put a link to that post in the release notes. It would help in letting people know what changed, why, and how it might impact them
Bartosz Sypytkowski
@Horusiath
When I wrote it, I've seen that it's more something that should be placed in a docs than inside blog post ;)
Arjen Smits
@Danthar
true :)
wauw
like... feels like the nail in the coffin for java
to11mtm
@to11mtm
@Horusiath Hey I was poking at some code thinking about akkadotnet/Hyperion#8 and noticed something that may be useful depending on how elegant MVP versus final solution needs to be...
But it looks like you can set readonly values on a struct if it was created by GetUninitializedObject: Sample here http://share.linqpad.net/499axc.linq
Bartosz Sypytkowski
@Horusiath
@to11mtm thx, but for some reason this doesn't work :)
once I'll find out why it doesn't work, maybe I'll find out how to make it work :)
Bartosz Sypytkowski
@Horusiath
the funny part is that we actually fill readonly fields in a the same way, you're using in you're using. But it throws
to11mtm
@to11mtm
HAHAHA wtf
Bartosz Sypytkowski
@Horusiath
I've fixed that, I understand what I changed, but I don't understand how was that supposed to change anything
Bartosz Sypytkowski
@Horusiath
basically, the code-gen first we were creating instance using Activator. That was returning a null, so the next we generated cast to a deserialized type. However later, for readonly fields, we were setting them with FieldInfo.SetValue(object, object), but that requires an object as a first param. So we generated code responsible for casting it back to object (but only for readonly fields). So struct created using activator → casted to its type → casted back to object, was causing an error.
what I've changed, was passing a direct reference to an object returned from activator (so we omitted all casts in this case). That worked.
to11mtm
@to11mtm
Interesting...
Andrew Young
@ayoung
Aaron Stannard
@Aaronontheweb
LOL
that is amazing
who made that?
Andrew Young
@ayoung
i have no idea.
do you know how much time i spend trying to make it all align?
Andrew Young
@ayoung
looks like someone from India
to11mtm
@to11mtm
omg awesome
Andrew Young
@ayoung
Arjen Smits
@Danthar
that is very nice
Arsene T. Gandote
@Tochemey
Hello Geeks. Can someone explain to me the existence of this property existenceConfirmed and addressTerminated in the Terminated message?
Sergey Prytkov
@Rattenkrieg
Hi guys, can someone re-run this:
As far as I understand this test fails sometimes due to tight timing limits
Bartosz Sypytkowski
@Horusiath
@Rattenkrieg done
Sergey Prytkov
@Rattenkrieg
thanks!
Bartosz Sypytkowski
@Horusiath
@Tochemey existenceConfirmed is true when terminated message was send directly by the terminated actor. addressTerminated is true when you were watching a remote actor on a cluster node, that has been marked as unreachable. So Actor itself may or may not be dead, but we cannot tell it for sure and we cannot communicate with it
Vagif Abilov
@object
Tried to update Wire NuGet packages, and still get "Method not found: 'Void Wire.SerializerOptions..ctor". So we should stick with Wire 0.0.6 when using Akka.NET, right? That NuGet package is one year old though.
Bartosz Sypytkowski
@Horusiath
@object the latest one I've tried to use was 0.8.1 - it's also the latests with no license issues
Vagif Abilov
@object
And it worked with Akka.NET 1.*? I just tried the latest one (0.8.2) and got the error above. Didn't try 0.8.1 but according to SemVer they should not be different when it comes to method signatures.
Bartosz Sypytkowski
@Horusiath
if you belive in semver, then yes :)
Vagif Abilov
@object
OK, I'll try 0.8.1 then with a risk of ruining my belief in semver.
Hmm, this is what I am getting with 0.8.1:
System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
----> System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
----> System.MissingMethodException : Method not found: 'Void Wire.SerializerOptions..ctor(Boolean, System.Collections.Generic.IEnumerable1<Wire.Surrogate>, Boolean, System.Collections.Generic.IEnumerable1<Wire.Converters.ValueSerializerFactory>)'.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at <StartupCode$TickSpec>.$TickSpec.createAction@212-1.Invoke()
Bartosz Sypytkowski
@Horusiath
nothing abnormal - as long as you don't enforce semver as part of your build process, don't count on it
lol
Vagif Abilov
@object
So you are saying that Wire 0.8.1. works for you?
At least it's semver compliant for me :-)
Bartosz Sypytkowski
@Horusiath
well, I think I meant 0.7.1
;)
Vagif Abilov
@object
Now we're talking!
Bartosz Sypytkowski
@Horusiath
btw. soon we'll probably release Hyperion - it's a Wire fork, we'll be using from now on
Vagif Abilov
@object
I see, thanks.
Bartosz Sypytkowski
@Horusiath
At least I want to merge akkadotnet/Hyperion#9 before. Probably guys also have something with .NET core port, so we could publish both normal and .net core packages
Vagif Abilov
@object
Nope, same exception with 0.7.1!
Bartosz Sypytkowski
@Horusiath
if you're using Akka.Serialization.Wire maybe that package is outdated