These are chat archives for akkadotnet/akka.net

18th
Apr 2018
nbparrell
@nbparrell
Apr 18 2018 01:27
Are there any unit testing for the InboxActor class yet? If not can anyone explain the implementation of it or point me to the documentation.
Greatsamps
@Greatsamps
Apr 18 2018 09:21
Hey guys. Is it possible to put Hocon config in App.config for .NET Core projects. i seem to remember there being an issue with this, and it appears not to be working for me either
Onur Gumus
@OnurGumus
Apr 18 2018 10:14
@Greatsamps you can use a custom config file App.config no longer relevant for .net core
Does anyone know where PDB Symbols for Akka can be loaded ?
Aaron Stannard
@Aaronontheweb
Apr 18 2018 14:52
@Greatsamps App.config isn't loaded automatically under .NET Core
since they removed the System.Configuration classes that used to do all of that
Greatsamps
@Greatsamps
Apr 18 2018 14:53
Hey Aaron, many thanks will take a look :)
Aaron Stannard
@Aaronontheweb
Apr 18 2018 14:53
just copy a stand-alone .conf or .hocon file as text output
and then you can use the ConfigurationFactory in Akka.dll to parse it into a Config object
:+1:
@OnurGumus we upload .PDB files to NuGet when we do a push
let me double check the Url
might be using symbolsource.org still
Greatsamps
@Greatsamps
Apr 18 2018 14:54
Ok that looks good, thanks!
Aaron Stannard
@Aaronontheweb
Apr 18 2018 14:55
yeah we push them here: https://nuget.smbsrc.net/
which is nuget.org's symbol source server
for reasons that mystify me, I don't think that's listed as a default symbol source target in Visual Studio
despite it being Microsoft's own infrastructure
https://docs.microsoft.com/en-us/nuget/create-packages/symbol-packages - so I guess you just need to add that url to your list of symbol sources in Visual Studio
and that should pull them in automatically
Aaron Stannard
@Aaronontheweb
Apr 18 2018 15:02
so it looks like our work-around for that DotNetty issue on .NET Core on Linux didn't quite work
issue is that due to differences in how sockets work at the OS level, it's possible for a buffer to be released before it's completely written out under some circumstnaces
weird part is, I've had some samples created by users which easily reproduce the issue but I haven't been able to reproduce it doing things like running WebCrawler for 12 hours in a big docker-compose arrangement
so not totally sure what all is going on there. Either way, DotNetty v0.5.0... which will be released soon, should fix the issue
I'm also going to look at brushing the dust off of Helios and getting that up and running on .NET Core just so I can either confirm or eliminate DotNetty as the source of the problem
but anyway, wanted to let you all know that that's still a bit of an issue even after 1.3.6
Mario Meyrelles
@mariomeyrelles
Apr 18 2018 15:11
Just as little question: I remember that in the past the website had F# code examples and API documentation. Is there a reason for not having this today?
Aaron Stannard
@Aaronontheweb
Apr 18 2018 16:01
@mariomeyrelles no, no reason
we redid the website as part of our 1.3 release last year
and some stuff may have been lost in the shuffle
we do have an FSharp Akka.NET bootamp that @Youenn-Bouglouan put together: https://github.com/petabridge/akka-bootcamp/tree/FSharp
which is pretty detailed
looks like #3400 is going to finally get our test suite running on .NET Core on Linux
that wasn't so bad
Mario Meyrelles
@mariomeyrelles
Apr 18 2018 16:14
@Aaronontheweb Great to know this :) I'll definitively give this bootcamp a try. Thanks for answering.
Bibek Dawadi
@bibekdw
Apr 18 2018 17:01
Hi, is the TestKit for MSTest is deprecated?
Marc Piechura
@marcpiechura
Apr 18 2018 17:22
@bibekdw why are you thinking it’s deprecated? afaik we still support mstest
Bibek Dawadi
@bibekdw
Apr 18 2018 17:24
@marcpiechura I am wondering as On Nuget Akka.TestKit.VsTest listed as deprecated
image.png
Marc Piechura
@marcpiechura
Apr 18 2018 17:32
@bibekdw indeed it’s deprecated, but in favor of Akka.Teskit.MsTest2
See AkkaNetContrib/Akka.TestKit.VsTest#12
But MsTest2 doesn’t exist on nuget or as project 🤔
Marc Piechura
@marcpiechura
Apr 18 2018 17:38
Maybe @alexvaluyskiy or @Aaronontheweb know more
Onur Gumus
@OnurGumus
Apr 18 2018 17:43
@Aaronontheweb I am seeing this warning on build : Akka.Serialization.Hyperion 1.3.5-beta60 depends on Akka (>= 1.3.5-beta60) but Akka 1.3.5-beta60 was not found. An approximate best match of Akka 1.3.5 was
Bibek Dawadi
@bibekdw
Apr 18 2018 17:56
Thanks. @marcpiechura
Bibek Dawadi
@bibekdw
Apr 18 2018 18:51
Hi @alexvaluyskiy and @Aaronontheweb, any words onTestKit for MSTest?
Arjen Smits
@Danthar
Apr 18 2018 18:54
sorry @bibekdw a MSTest testkit implementation is not something the core team will be building
me-slove
@me-slove
Apr 18 2018 19:31
I have an "uninformed" (e.g. stupid) question. In a cluster do you want to create the same group router on each node? The reason I ask is related to ActorSelection being local.
Aaron Stannard
@Aaronontheweb
Apr 18 2018 19:32
yes you do
let me link you
explains the approach well, in my humble opinion :p
me-slove
@me-slove
Apr 18 2018 19:33
Thanks Aaron. That made the most sense but I got a little cross-threaded looking at Cluster Singleton (which I did not want to do)
Aaron Stannard
@Aaronontheweb
Apr 18 2018 19:33
np
that's what the chat room is for
:+1:
@nbparrell saw your comment earlier - what were you looking for with regard to the InboxActor? Some unit tests?
nbparrell
@nbparrell
Apr 18 2018 20:10
Yeah
Aaron Stannard
@Aaronontheweb
Apr 18 2018 20:10
I think we have some
let me double check rq
nbparrell
@nbparrell
Apr 18 2018 20:10
Okay
great, want to make sure i have something to test the rewrite of the receive class against
Aaron Stannard
@Aaronontheweb
Apr 18 2018 20:11
:+1:
that's the one you want I think
Bibek Dawadi
@bibekdw
Apr 18 2018 20:11
@Danthar Thanks. Nice to know that
nbparrell
@nbparrell
Apr 18 2018 20:12
Thanks :). @Aaronontheweb
So to clarify the Inbox.Actor is used to create the inbox for an actor. It will receive and que a message and then from that que send the messages to the actor.
Aaron Stannard
@Aaronontheweb
Apr 18 2018 20:15
yeah the Inbox actor is a special actor that can be driven from the outside
not sure how much love it gets in practice
kind of meant to serve as an integration point between non-Akka stuff and Akka.NET itself
but Ask is probably used more commonly
nbparrell
@nbparrell
Apr 18 2018 20:16
ok thanks :)