Add a user name field to Minsky schema files
System dynamics program with additional features for economics
Brought to you by:
hpcoder,
profstevekeen
Simplest way of extracting this information from the environment is to use os.userInfo function from Node.
For python use, let's just prepopulate from the GECOS field of /etc/passwd. This will work for Linux, just not Windows or Mac.
In any case, there should be a static username object referring to the current user, and a username member of the Minsky object, which refers to the author of that model. On default construction, the member field is populated from the static field.