These are chat archives for highfidelity/hifi

8th
Feb 2015
Bradley Austin Davis
@jherico
Feb 08 2015 02:40
what's the deal with the Qt 5.3.x rollback?
Brad Hefta-Gaub
@ZappoMan
Feb 08 2015 03:51
@jherico - we found that 5.4 seems to have some bugs with touch events. At least on Mac, we don't seem to get all touch events sent.
5.4 was added for the android port, but isn't actually needed for the desktop versions. If it's working for you it's probably fine. But we didn't want to require 5.4 until we figured out this touch event issue.
Bradley Austin Davis
@jherico
Feb 08 2015 03:56
@ZappoMan got it, thanks.
Lexx
@Triplelexx
Feb 08 2015 16:02
can collision with object be enabled currently?
are models being given collision shapes?
Lexx
@Triplelexx
Feb 08 2015 16:13
there should be a collide with environment option it seems but I haven't been able to get anything to work
oh, ok. That is world boundaries, I'll keep digging
Joe Large [Omega Heron]
@OmegaHeron
Feb 08 2015 18:46
@Triplelexx per info given at Friday meeting. Mesh objects have a simple collision shell now as do the built in entities (cube/sphere). The avatar does not yet have a collision shell. Mesh objects currently have, basically, a collision shape defined about the bounds of object, so will mostly be like a solid cube depending on its shape, but, again,very basic. So - entities will collide with entities, but the av is still, in SL/OS lingo, phantom.
Lexx
@Triplelexx
Feb 08 2015 18:48
@OmegaHeron Yes, I made some good progress figuring it out. I missed a lot of the meeting. I got mesh to mesh collision working well, I notice an issue in edit mode though
sometime the mesh will jitter and vanish, but only when editing
seems really promising
Joe Large [Omega Heron]
@OmegaHeron
Feb 08 2015 18:51
yeah - it's all coming along nicely. I'll watch for the issue you describe next time I can get in and look for it.
Lexx
@Triplelexx
Feb 08 2015 19:05
anyone help me build StackManager? I'm having problems with QuaZIP
not sure if I have the lib path set correctly
sorry, *include path, I made a lib path and put the release lib I built
and pointed the include dirs to the quazip source folder
Jason Hawks
@nbq
Feb 08 2015 19:11
so you are doing this on windows?
Lexx
@Triplelexx
Feb 08 2015 19:21
yup
ok, stuck it inside an include folder and it worked
I checked the make module
awesome, built it!
Jason Hawks
@nbq
Feb 08 2015 19:24
nice, I was just in the process of doing it myself to test methods for you, way to go!
Lexx
@Triplelexx
Feb 08 2015 19:26
thanks
Lexx
@Triplelexx
Feb 08 2015 19:35
so hard coding the version number into stack manager title is ok right? :) :shipit:
Jason Hawks
@nbq
Feb 08 2015 19:37
since its not being passed out via any official channels, you can change the version to anything you want with open source code, just dont send it out as the newest “official”, but mods, well… they make pull requests for that :p
Lexx
@Triplelexx
Feb 08 2015 19:37
no it's a worklist item
to show the version in the title, figured it might be suitable at my skill level, certainly if I hard code it, I've already done it. :)
Jason Hawks
@nbq
Feb 08 2015 19:38
oh yes I forgot, well, hard coding if you mean manual edits each time right?
Lexx
@Triplelexx
Feb 08 2015 19:39
yeah, joking, getting a build going was the first step
Jason Hawks
@nbq
Feb 08 2015 19:39
if you replace it via a variable and then fix it via the build system with a script such as a version.h.in file then make the script replace it in the .in and rename it
i havnt looked at its source, so just taking a wild stab at a general method
Lexx
@Triplelexx
Feb 08 2015 19:40
yes, I need the variable value
have to look still
worth a try
Jason Hawks
@nbq
Feb 08 2015 19:41
well, you see how to build it now, I would say either pass the variable either cmake and let cmake handle it
Lexx
@Triplelexx
Feb 08 2015 19:43
I will give it a try
Jason Hawks
@nbq
Feb 08 2015 19:47
what I would think is somthing like this: http://stackoverflow.com/questions/7900661/how-to-read-a-cmake-variable-in-c-source-code you can see the answer at the bottom (I just dont have time to do it myself)
Lexx
@Triplelexx
Feb 08 2015 19:48
ok, yes, still trying to understand the task.
thanks for the advice
Joe Large [Omega Heron]
@OmegaHeron
Feb 08 2015 19:49
Just thinking out loud... why don't you see how they're doing it in Interface since production builds for it increment and show in title bar...
Lexx
@Triplelexx
Feb 08 2015 19:49
sounds like fun :)
that's one thing I considered
it's good experience, all this cmake stuff is kind of new to me
Joe Large [Omega Heron]
@OmegaHeron
Feb 08 2015 19:50
they're going to want it to work similar, I'd imagine, where it picks up something in their build environ. Self compilers will either have to set it to something custom or, like interface, have it show "Dev" or whatever it is.
Lexx
@Triplelexx
Feb 08 2015 19:51
yes, it shows the build as well
I think that will be the best place to start
I will need some more tea first though ;)
Jason Hawks
@nbq
Feb 08 2015 19:52
I really have not looked how its done in interface, if I am off on what I said as being acceptable then that works, I figured it would be something close to that with an off of the top of my head guess
Lexx
@Triplelexx
Feb 08 2015 19:52
all further than I have thought, I just know where the window title is created atm. :)
Lexx
@Triplelexx
Feb 08 2015 20:08
right, seems to be done with some xml parsing
or that is just for checking interface updates, hmm yeah will be fun trying this
Joe Large [Omega Heron]
@OmegaHeron
Feb 08 2015 20:13
that would be ^^
You're looking at 3 things here....
Joe Large [Omega Heron]
@OmegaHeron
Feb 08 2015 20:13
1) Displaying the version info which you mostly have
2) Defining a var to hold it that's filled in by the build system
3) A phone home to check if version is outdated
Jason Hawks
@nbq
Feb 08 2015 20:14
yeah I was going to say that worklist explained some about that file and the discussion of it
Joe Large [Omega Heron]
@OmegaHeron
Feb 08 2015 20:15
basically you'll need to work with murillodigital to get this
Lexx
@Triplelexx
Feb 08 2015 20:15
ok, I'll give that a read as well
Jason Hawks
@nbq
Feb 08 2015 20:15
yes, Leo
Jason Hawks
@nbq
Feb 08 2015 20:26
Lexx
@Triplelexx
Feb 08 2015 20:34
yes but the bit that is getting me is DEFINED ENV{JOB_ID}
used in CMakeLists.txt
Leonardo Murillo
@murillodigital
Feb 08 2015 20:34
@Triplelexx JOB ID is an environment_variable defined in the build environment
when interface release is getting built
Lexx
@Triplelexx
Feb 08 2015 20:35
will the stack manager pick that up as well?
Leonardo Murillo
@murillodigital
Feb 08 2015 20:35
well not as it stands but thats part of what we need to get done for that particular worklist item
we need to
Lexx
@Triplelexx
Feb 08 2015 20:35
then I can use this "dev" string
Jason Hawks
@nbq
Feb 08 2015 20:35
yep, each os has a pre-run script, such as shell script or power shell
Lexx
@Triplelexx
Feb 08 2015 20:35
?
Leonardo Murillo
@murillodigital
Feb 08 2015 20:35
we are talking about the notify new version of stack manager worklist item correct?
Lexx
@Triplelexx
Feb 08 2015 20:36
well at least I'm kind of following the task then. :smile:
Jason Hawks
@nbq
Feb 08 2015 20:36
yes
Leonardo Murillo
@murillodigital
Feb 08 2015 20:36
ok so I think there needs to be additional clarification on that workitem
what gets constantly updated is not the stack manager
rather the stack
in other words, the stack manager is nothing but a “download and start/stop frontend)
Lexx
@Triplelexx
Feb 08 2015 20:36
I see the work you have done on the web interface and updater component of interface
Leonardo Murillo
@murillodigital
Feb 08 2015 20:36
that rarely gets updated
on the other hand, the stack itself
Jason Hawks
@nbq
Feb 08 2015 20:37
Thanks for hopping in @murillodigital - I was back tracing off of a base idea I had using cmake and I see you guys swap out google.com for the proper url
Leonardo Murillo
@murillodigital
Feb 08 2015 20:37
being the domain server and assignment client
constantly get updated
so what we’re looking for is really proper version and updating of the stack AND the stack manager
Lexx
@Triplelexx
Feb 08 2015 20:37
exe files, ok
Leonardo Murillo
@murillodigital
Feb 08 2015 20:37
am I making sense?
Lexx
@Triplelexx
Feb 08 2015 20:37
yes
Leonardo Murillo
@murillodigital
Feb 08 2015 20:38
ok so, as it stands, stack manager only compares md5s of locally downloaded domain-server and assignment-client binaries
against md5 of the latest
and downloads if mismatch
so we need to change that
for this task we need to:
1) make a single stack building job (right now its 2, one for AC and one for DS)
Jason Hawks
@nbq
Feb 08 2015 20:38
yeah, during the meeting that is what we talked about, its why chris set that, I know its not much more than a front end, for the ds/ac but sometimes new features get added to it and there is no method to tell you to install the new version of it, that was my take away from chris at the meeting, but of course the issue/fix goes deeper also
Leonardo Murillo
@murillodigital
Feb 08 2015 20:39
2) do an xml with both stack manager AND stack version
Lexx
@Triplelexx
Feb 08 2015 20:39
with same sort of UpdateDialog class I assumed
Leonardo Murillo
@murillodigital
Feb 08 2015 20:39
3) have stack manager become aware of its own version, adn the version of the installed stack (its own version by means identical to interface, of the downloaded stack by simply keeping note of what version was downloaded)
4) query that xml at some interval, and if there’s an update in either component, properly notify
Jason Hawks
@nbq
Feb 08 2015 20:40
yes, also, I dont know if it got put in the worklist but even a way, yes
to pull the new ac/ds
Leonardo Murillo
@murillodigital
Feb 08 2015 20:40
what properly notify means I think is not clearly defined in the scope
Lexx
@Triplelexx
Feb 08 2015 20:40
yes, so it would sit their polling for changes of the 2 binaries as well
Leonardo Murillo
@murillodigital
Feb 08 2015 20:40
of the worklist item, we should clarify that, as in, should we show a new dialog, simply display an updated text entry in the GUI, etc
correct
so basically what you;d have to write is
a process that http gets and xml
parses it for versions of stack and stack manager
and compares against locally stored versions
the means for locally storing the running versions are slightly different for stack and stack manager
makes sense?
Leonardo Murillo
@murillodigital
Feb 08 2015 20:42
well from some xml
i dont think we want ot use builds.xml
Lexx
@Triplelexx
Feb 08 2015 20:42
yes, a shorter one like interface I guess
Leonardo Murillo
@murillodigital
Feb 08 2015 20:42
matter of fact i want to deprecate that in exchange for latestVersions.xml
Lexx
@Triplelexx
Feb 08 2015 20:42
it seems a lot of versions to track
Leonardo Murillo
@murillodigital
Feb 08 2015 20:43
in any case, we’djust come up with a proper xml structure for this particular task
whether that will be bundled in existing xml payloads or not we’d have to see
but thats not quite relevant, since all you really care about is xml structure
ok that’s it for my participation today before getting complains from the family department :P
Jason Hawks
@nbq
Feb 08 2015 20:44
the md5 chanes per build, that is already stored and check elsewhere, but adding a version to the xml would be the best means to that end I agree
Lexx
@Triplelexx
Feb 08 2015 20:44
many thanks
Leonardo Murillo
@murillodigital
Feb 08 2015 20:44
you got it
Jason Hawks
@nbq
Feb 08 2015 20:44
see you later @murillodigital
Leonardo Murillo
@murillodigital
Feb 08 2015 20:44
for followup
if you want to shoot me questions or anythign today
Lexx
@Triplelexx
Feb 08 2015 20:44
it gives me something to think about, I think the GUI should probably show an update notification. I'll have more of a think about it then
Leonardo Murillo
@murillodigital
Feb 08 2015 20:45
you may want to post that question in the job
Lexx
@Triplelexx
Feb 08 2015 20:45
ok
Leonardo Murillo
@murillodigital
Feb 08 2015 20:45
I know Philip and Chris already have some ideas in that regard
Jason Hawks
@nbq
Feb 08 2015 20:46
remember when we first started talking @Triplelexx and I showed you where it polled for changes to some files
Lexx
@Triplelexx
Feb 08 2015 20:48
not sure
Jason Hawks
@nbq
Feb 08 2015 20:49
its ok, Leo is the best one to talk to about getting it all set up, he can do the back end stuff you need to get it working and structured
Lexx
@Triplelexx
Feb 08 2015 20:51
sure thing, I'm updating the worklist to get more feedback for now.
line 4