Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 21:02
    Aaronontheweb synchronize #3975
  • 21:02
    Aaronontheweb opened #3975
  • 20:11
    IgorFedchenko commented #3973
  • 20:10
    IgorFedchenko synchronize #3973
  • 20:06
    IgorFedchenko synchronize #3973
  • 20:06
    IgorFedchenko synchronize #3973
  • 19:42
    IgorFedchenko edited #3973
  • 18:08
    Aaronontheweb commented #3937
  • 17:27
    Aaronontheweb commented #90
  • 17:26
    Aaronontheweb commented #90
  • 17:25
    Aaronontheweb assigned #90
  • 17:16

    Aaronontheweb on dev

    Provide static GetRoutees.Insta… (compare)

  • 17:16
    Aaronontheweb closed #3974
  • 17:16
    Aaronontheweb milestoned #3974
  • 16:05
    jackowild opened #90
  • 15:08
    Aaronontheweb commented #3974
  • 15:08
    Aaronontheweb commented #3974
  • Oct 13 14:40
    cptjazz synchronize #3974
  • Oct 13 14:07
    cptjazz opened #3974
  • Oct 13 08:30
    ismaelhamed commented #3937
Aaron Stannard
@Aaronontheweb
@Silv3rcircl3 looks like it's something being passed into Props
during actor system startup
Maciek Misztal
@mmisztal1980
does it contain role name information?
Aaron Stannard
@Aaronontheweb
Maciek Misztal
@mmisztal1980
awesome, cheers!
Aaron Stannard
@Aaronontheweb
@Silv3rcircl3 weird.... weird... weird
private LocalActorRef CreateSystemGuardian(LocalActorRef rootGuardian, string name, LocalActorRef userGuardian)     //Corresponds to Akka's: override lazy val guardian: systemGuardian
        {
            return CreateRootGuardianChild(rootGuardian, name, () =>
            {
                var props = Props.Create(() => new SystemGuardianActor(userGuardian), _systemGuardianStrategy);

                var systemGuardian = new LocalActorRef(_system, props, DefaultDispatcher, _defaultMailbox, rootGuardian, RootPath/name);
                return systemGuardian;
            });
        }
this is the culprit
according to the stack trace
Ronnie Overby
@ronnieoverby
I created and configured a custom priority mailbox and I see akka is instantiating it, but the PriorityGenerator method is never called
Aaron Stannard
@Aaronontheweb
but, this line of code is literally called in the setup of every AkkaSpec
Ronnie Overby
@ronnieoverby
Can someone help me with that?
Maciek Misztal
@mmisztal1980
btw, I'd like to do some mono builds with Akka, do you have any good material on how to get started with building stuff on mono? anything special I need to pay attention to ?
Aaron Stannard
@Aaronontheweb
@ronnieoverby sure thing, mind posting a copy of your mailbox
@mmisztal1980 biggest thing: always use the Path class to construct your paths
the / and \ stuff will drive you insane
Ronnie Overby
@ronnieoverby
    public class Mailbox : UnboundedPriorityMailbox
    {
        public Mailbox(Settings settings, Config config) : base(settings, config)
        {                
        }

        protected override int PriorityGenerator(object message)
        {
            if (message is Unsubscribe || message is Subscribe)
                return 0;

            return 1;
        }
    }
Aaron Stannard
@Aaronontheweb
and this isn't getting called?
running 1.1.1 right?
Ronnie Overby
@ronnieoverby
Correctimundo
<package id="Akka" version="1.1.1" targetFramework="net45" />
Aaron Stannard
@Aaronontheweb
(we changed all of the mailbox loading stuff in 1.1)
ok
Ronnie Overby
@ronnieoverby
I couldn't get it to use it with HOCON
Aaron Stannard
@Aaronontheweb
let me take a look at my spec real quick
Ronnie Overby
@ronnieoverby
but using .WithMailbox I see akka call the ctor of the mailbox
Aaron Stannard
@Aaronontheweb
hmmm
HOCON wouldn't load it?
using the FQN?
Ronnie Overby
@ronnieoverby
no, but that's a different story
I did register the type/key with hocon
and I refer to "pubsub-mailbox" when calling .WithMailbox
off of the props
Maciek Misztal
@mmisztal1980
but in order to build a project I basically need to run xbuild on a .sln file, with normal .NET 4.6 references?
or .NET 4.5.2 ?
Aaron Stannard
@Aaronontheweb
@mmisztal1980 .NET 4.6.1 will work
so anything up to that
Maciek Misztal
@mmisztal1980
right
Aaron Stannard
@Aaronontheweb
I'd definitely recommend using something like CAKE / FAKE if you intend to do xplat builds
Maciek Misztal
@mmisztal1980
oh I'm pretty proficient with CAKE
Aaron Stannard
@Aaronontheweb
that can switch automatically between msbuild and xbuild
Maciek Misztal
@mmisztal1980
does wonders for us
Aaron Stannard
@Aaronontheweb
under the covers
nice!
Maciek Misztal
@mmisztal1980
yeah, using the DotNetBuild task, this one is smart enough to pick MSBuild/XBuild
Aaron Stannard
@Aaronontheweb
@ronnieoverby checking my UnboundedPriorityMailbox spec
Maciek Misztal
@mmisztal1980
we've got CD to Azure AppServices in under 10mins, with deployment slots and what not
Aaron Stannard
@Aaronontheweb
going to see if the debugger hits it
Maciek Misztal
@mmisztal1980
CAKE is awesome
I mean, the whole process takes like 10mins in vsts, with a build and a triggered release, but it's still pretty good :)