Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Maria Frangos
    @mfrangos
    Monday works.
    Chris Troutner
    @christroutner
    How aboutMonday at 8AM PST/11AM EST? I'll be at anchor, so I can Skype with audio. I don't know if I'll have video though.
    Maria Frangos
    @mfrangos
    sounds good to me
    @bhaugen @fosterlynn is this a good time for you?
    Bob Haugen
    @bhaugen
    ok with me
    Maria Frangos
    @mfrangos
    great. I’ll send out an invite.
    Maria Frangos
    @mfrangos
    i tried sending out an invite but I think i hit “don’t send invites” by accident. it’s in my calendar though
    should we do hangouts or Skype?
    Bob Haugen
    @bhaugen
    If you want to screenshare with me, must be hangout or jitsi.
    Otherwise, I can do skype, too
    Lynn Foster
    @fosterlynn
    Uh oh, sorry, made an appointment this morning for Monday 10am CST, so that is 8am PST. Should I try to change it, or can we move this?
    Maria Frangos
    @mfrangos
    i’m flexible.
    Lynn Foster
    @fosterlynn
    @christroutner how flexible are you? You can call it.
    @mfrangos hmmm, I got a meeting on my calendar for Sunday....
    Maria Frangos
    @mfrangos
    Really? I’d rather do it during the week.
    Lynn Foster
    @fosterlynn
    Me too, not sure why it showed up on Sunday, is it OK on your calendar?
    (not that it matters if we can change it)
    Maria Frangos
    @mfrangos
    I still can’t believe Google calendar starts on Sunday instead of Monday. My bad, I thought I was scheduling the Monday.
    Lynn Foster
    @fosterlynn
    ha
    Bob Haugen
    @bhaugen
    I am very flexible. The rest of you can schedule, I'll go along with the crowd
    Lynn Foster
    @fosterlynn
    OK, I decided to switch my Monday appointment, seemed the easiest. So Monday it is! See you all then!
    I moved it on my google calendar, looks like it might have moved it for you all too.... ?
    Chris Troutner
    @christroutner
    Just checked all these messages. I'm pretty flexible, but it looks like we're all set.
    Lynn Foster
    @fosterlynn
    Yup, we're good
    Bob Haugen
    @bhaugen
    @christroutner - ooops, I tested some POSTs. They don't work yet. Missing fields. I'll need to go thru the APIs and make them work, which will take some time.
    Which one would you like me to start with for POSTing?
    Bob Haugen
    @bhaugen
    P.S. User is complicated...
    Chris Troutner
    @christroutner
    I was thinking I might start with People. I noticed that Projects are a child of People. Do they exist in a separate area too or are they just children?
    Bob Haugen
    @bhaugen
    I'll start wih People today, although we got a lot of errands and guests today, so I might not get finished.
    Projects are not children of People. People may be affiliated with Projects, and/or contribute to Projects.
    I put them on the People API because I thought I understood that as a request.
    I'll write up something about all of the relationships that different objects have to one another, so you can get some idea of what is available.
    Projects are a type of Context Agent, which you can read about here: https://speakerdeck.com/mikorizal/2-nrp-organization-setup-tutorial?slide=5
    Bob Haugen
    @bhaugen
    Contexts have their own API, which you can find on the API root.
    Bob Haugen
    @bhaugen
    I tried an experiment which allows POSTs using the form at the bottom of the People API page.
    The missing field was agent_type.
    I had been using a DRF serializer field that showed the value of agent_type in the GET, but did not appear in the POST.
    I changed it so the GET now shows the api_url of the person's agent_type, which is uglier, but now it appears as a Selector in the POST form, and works. (But feels really hacky...)
    I'm not sure where to go with this next. I am just learning DRF as we go, and have no idea whether this will work for POSTs from Backbone.
    Bob Haugen
    @bhaugen
    You can see the previous treatment of agent_type on the context or allagents APIs. But you can't POST successfully from them yet, because the agent_type doesn't appear in the POST form.
    I am aware you will not be using that POST form, so will wait and see what happens from Backbone.
    I expect we will need to iterate through this a few times before it gets both workable and nicer.
    Oh, and you'll need to resync from the upstream again... :frowning:
    Lynn Foster
    @fosterlynn
    @christroutner here is a simple UML diagram of the core model: https://github.com/Sensorica/valuenetwork/wiki/Core and scroll down towards the end. Look on the right side of the "NRP Core Model" for agent and agent relationship in the orange box.
    To add to that: The Agent Types are user defined, but there is a property there called party_type that will definitively tell you if the agent is a person or an organization or a network. There used to be a property there called is_context so that all agents of a type were considered context agents or not. We recently moved that to EconomicAgent so that it can be defined at the agent level.
    Lynn Foster
    @fosterlynn

    definitively tell you if the agent is a person or an organization or a network.

    more clearly, tell you if any agent of that type is a person etc.

    I'd be happy to do a walkthrough of the model some time if that would be helpful. Or maybe just the piece of the model you are working with if you prefer.
    Lynn Foster
    @fosterlynn
    .... or maybe that would just confuse things? I understand @bhaugen is giving you people and context agents in separate api's, although all of them are EconomicAgents in the model.
    Bob Haugen
    @bhaugen
    @christroutner - might be useful for you to tell us how you like to learn about data models, object relationships, etc.
    This is a complex app with a lot of relationships between the objects. Each object class also corresponds to a database table.