IQSS logo

IRC log for #dataverse, 2019-07-18

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
08:20 poikilotherm joined #dataverse
10:47 sivoais joined #dataverse
11:01 pdurbin poikilotherm: sorry, I had hopped in the car. In an old farm house in the woods now. My friends' place. Yes, I'm familiar with those.
11:01 poikilotherm No problem
11:01 poikilotherm So you're on vacation now?
11:01 poikilotherm We should not talk about Dataverse then...
11:02 pdurbin No, I'm working remotely today and tomorrow.
11:02 poikilotherm OK :-)
11:02 poikilotherm I dunno if I shall continue with #6000 as it has been closed by djbrooke yesterday after I got to sleep...
11:03 pdurbin My kids will wake up soon so I'll need to take a break to feed them breakfast and get them to a camp that's about a half hour away.
11:03 poikilotherm He closed it in favor of #6030, a new epic
11:03 pdurbin Huh. Closed? Let me go look.
11:03 poikilotherm But might re-open as a chunk
11:04 pdurbin Whoa. 38 unread emails from Dataverse GitHub issues. Maybe someone did some backlog grooming?
11:04 poikilotherm djbrooke :-D
11:09 pdurbin So in the new epic, this is what you were working on right? "I want depositors to be presented with the most appropriate experience (dropdown, checkbox, autocomplete) for selecting/populating metadata values"
11:15 poikilotherm Yeah :-/
11:15 poikilotherm See https://github.com/IQSS/dataverse/issues/6000#issuecomment-512731392
11:16 pdurbin If you have something even kind of working I'm happy to spin up a branch and show it to the design team. Would that help you feel less blocked?
11:18 poikilotherm Dunno. I have not done much, just a few hours. If this gets part of a major rework, this might be blocking others
11:19 poikilotherm On the other hand we need this sooner than later...
11:20 pdurbin If it makes you feel better, I can reopen 6000. :)
11:23 pdurbin Or you can make a pull request (even a draft pull request) so I have something to spin up. Or a branch. I'm sure the design team would be happy to see what's possible.
11:24 poikilotherm OK
11:24 poikilotherm Then I'll proceed
11:24 poikilotherm I re-raise my question :-D
11:25 poikilotherm Am I correct with the following assumptions:
11:25 poikilotherm DatasetFieldType.java is an entity, holding the data from the TSV metadatablocks
11:26 poikilotherm DatasetField is an entity with the real data filled in
11:26 pdurbin let me bring up schemaspy
11:27 pdurbin http://phoenix.dataverse.org/schemaspy/latest/tables/datasetfieldtype.html
11:27 pdurbin http://phoenix.dataverse.org/schemaspy/latest/tables/datasetfield.html
11:27 pdurbin I believe the real data goes in "value" at http://phoenix.dataverse.org/schemaspy/latest/tables/datasetfieldvalue.html
11:29 poikilotherm Ah, a good architecture documentation would be great...
11:29 poikilotherm Ever heard of C4?
11:30 pdurbin very explosive
11:30 poikilotherm https://c4model.com/
11:31 pdurbin hmm, I think this is new to me
11:32 poikilotherm I stumbled over this some time ago. Simon Brown seems to be a nice guy.
11:33 pdurbin I made https://github.com/IQSS/dataverse/blob/v4.15.1/doc/Architecture/auth-classes.png with https://github.com/IQSS/dataverse/blob/v4.15.1/doc/Architecture/auth-classes.sh ... my idea was to highlight the important classes.
11:35 pdurbin ... for a subsystem (auth, in this case). Do you like it? :)
11:35 poikilotherm Its a start :-)
11:36 poikilotherm I am puzzled from metadataFragment.html
11:37 poikilotherm Looking at https://github.com/IQSS/dataverse/blob/221e7fba42e3e2b113b9c608015afdf43c85781b/src/main/webapp/metadataFragment.xhtml#L205
11:37 poikilotherm And below
11:38 poikilotherm Lets take the selectOneMenu
11:38 poikilotherm It has a value attribute, feeded from subdsf.singleControlledVocabularyValue
11:39 poikilotherm This will link to an instance of a DatasetField and fill in data from the database and tie the input form to this var
11:40 poikilotherm (or method)
11:40 poikilotherm But this is coming from a  join not involving datasetfieldvalue table
11:41 poikilotherm @ManyToMany(cascade = {CascadeType.MERGE})
11:41 poikilotherm @JoinTable(indexes = {@Index(columnList="datasetfield_id"),@Index(​columnList="controlledvocabularyvalues_id")})
11:42 pdurbin Oh, sorry, when you were talking about "real data" I thought you meant values that users enter and that's saved to the database. If I type my name as an author, I mean. Maybe you meant "real data" in the sense of where the controlled vocabulary values are coming from.
11:42 poikilotherm Yeah, but also the "real" data meaning the users choice
11:43 poikilotherm I don't get it where this is coming in or getting persisted
11:43 pdurbin And I have to apologize again but I just wandered off to wake up my kids. They are grumpy and will be coming downstairs soon, hungry and tired. Once they're off to camp I'll be in a better spot to answer questions.
11:44 poikilotherm Hihihi
11:44 poikilotherm Go ahead
11:44 poikilotherm Most likely I'll be on my construction site by then...
11:44 pdurbin :)
11:44 poikilotherm Good luck with your kids ;-)
11:44 poikilotherm I call it "hangry"...
11:44 poikilotherm So hungry you get angry
11:45 pdurbin You might be interested in Raman's alternative javascript implementation. If I can find it.
11:45 pdurbin He was constructing the UI using JSON Schema.
11:45 pdurbin this: https://github.com/IQSS/json-schema-test
13:00 donsizemore joined #dataverse
14:08 pdurbin donsizemore: mornin. Any thoughts on https://groups.google.com/d/msg/dataverse-community/DLy56gukZ3E/eNwl9m4qDwAJ ?
14:38 donsizemore @pdurbin gustavo and i did some silly tests during the initial work on the 4.15.1 branch. i'm all for closing memory leaks!
14:42 donsizemore @pdurbin oracle-jdk? O_o
14:43 pdurbin donsizemore: in https://github.com/IQSS/dataverse/pull/6037 I'm switching to openjdk to see if it helps.
14:44 donsizemore :thumbsup:
14:44 pdurbin It's already getting way farther.
14:49 donsizemore the value in addressing that check-engine light!
14:56 pdurbin exactly
15:04 pdurbin Ah, Kevin just commented on the new memory leak issue Paul opened: https://github.com/IQSS/dataverse/issues/6035
15:05 pdurbin I'm not very good with all these tools like jstat. I'm thinking we should document them a bit. Recommend our favorites.
15:05 pdurbin I use Munin on my home server but I don't have Java installed. I wonder how hard it is to get Munin to call jstat or similar.
15:06 pdurbin I'm seeing three jstat plugins or whatever at https://github.com/munin-monitoring/contrib/tree/master/plugins/jvm
15:07 pdurbin I already wrote up Munin at http://guides.dataverse.org/en/4.15.1/admin/monitoring.html#munin
15:07 pdurbin donsizemore: it is crazy to have dataverse-ansible install Munin with some JVM plugins?
15:58 pdurbin Phew! Caught up on those 38 unread GitHub Issue emails.
16:14 jri joined #dataverse
17:07 pdurbin bjonnh: I hope I didn't misrepresent you at https://github.com/IQSS/dataverse/issues/3439#issuecomment-512885252 just now. :) Please feel free to elaborate in a new comment. :)
18:30 donsizemore joined #dataverse

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.