These are chat archives for highfidelity/hifi

26th
Jun 2014
AlericInglewood
@AlericInglewood
Jun 26 2014 09:22
@cozza13 I'm a bit confused... this link to the hifi/tree/19814 looks like a branch on my own github; but when I clone my own repository, it's not there. I only see master :/. Normally I'd expect to see all existing branches, so I'm a bit lost.
AlericInglewood
@AlericInglewood
Jun 26 2014 09:44
Ok, nevermind - I bothered the git Gods :blush: cause everyone here is sleeping n stuff. The answer is that a clone fetches indeed all branches, but fetches refs/heads of the remote repository into refs/remotes/origin in order not to clobber possible local branches with fetched changes. You can see those with 'git branch -a'. With a modern git version you can check them out with just a 'git checkout 19814' since -b is implied nowadays if you check out a branch that only exists as remote tracking (it used to be git checkout -b 19814 origin/19814). @cozza13
AlericInglewood
@AlericInglewood
Jun 26 2014 16:15
Anyone - do we have a central place to report and keep track of bugs? Like a jira or mantis. I can't run interface anymore because of a new assert, so I was wondering if others have seen that and if it was already reported etc.
Jason Hawks
@nbq
Jun 26 2014 16:15
Forum or worklist basically (as far as I know)
AlericInglewood
@AlericInglewood
Jun 26 2014 16:16
Hmm - the forum seems a bit too unstructured to keep track of a lot of bugs.
Jason Hawks
@nbq
Jun 26 2014 16:16
forum to discuss, worklist to post the stuff that needs to be worked on
I wish there was a jira or something like that to be honest, but they developed their own tools and thus a lot gets funneled into worklist
AlericInglewood
@AlericInglewood
Jun 26 2014 16:18
Well, I did a bisect and mailed the author of the commit that caused it - but it would make more sense to have some url where one can point to to collect and discuss a specific bug. Perhaps that is the worklist - not sure how that is supposed to work.
I guess I'm very impatient - heheh. I'm used to open source teams on freenode who are just always around. No weekends - average delays around 10 minutes unless people are sleeping :p. This chat room is remarkable silent for a room with 100 developers :P
Jason Hawks
@nbq
Jun 26 2014 16:25
Yeah, I notice that too, HiFi here, and even in world is sort of a “you seek out people” sort of thing. If you need help, you ask it and people answer but not a lot of just “discussion.” I am like you and would like to see an IRC chan or something that is not like that (what is to me a pain in the butt) chat window of HiFi so we can be goofy if we want and get more technical if we want without disturbing here
the window in HiFi is just… non persistant if the window is not active which is a pain to me
AlericInglewood
@AlericInglewood
Jun 26 2014 16:25
Oh, you mean it is frowned up when we chat, like we do now?
Jason Hawks
@nbq
Jun 26 2014 16:26
no no, not saying that
just more direct it seems here, I personally would like something sort of a bit more laid back for just hanging out if you get what I mean, just a personal feeling, not official
AlericInglewood
@AlericInglewood
Jun 26 2014 16:27
Might be a good idea - to start a freenode channel. But to be honest, also there I mostly only read it when someone mentions my name :P. So, not that much gain there - it just struck me how little conversation there is here.
Jason Hawks
@nbq
Jun 26 2014 16:28
yeah, I noticed that too, but yet if you NEED help, people ARE here
just more of a “im working, if you need help, I answer - otherwise I stay to myself” atmosphere that I feel
AlericInglewood
@AlericInglewood
Jun 26 2014 16:29
That's not necessarily bad. Too much chatter isn't helping productivity :P
Jason Hawks
@nbq
Jun 26 2014 16:30
so true, which is why I said something seperate sometimes, but even then, maybe not “worth it”, but I dunno lol
AlericInglewood
@AlericInglewood
Jun 26 2014 16:31
Maybe it would be a good idea to add more "levels" of alert-ness to this chat. Right now you can not use '@' or you can address one or two people. Maybe it would help people if there were more general labels like @admins, @designers, @linuxdevs, @needhelp, @bug .. that people can "subscribe" to to be highlighted / alerted. Then more informal chatter can be ignored more easily when you are busy.
Jason Hawks
@nbq
Jun 26 2014 16:35
Well I think its how Gitter is setup, github has that sort of down pat unless you know how to do something with it I do know, I just know how to do like @AlericInglewood
AlericInglewood
@AlericInglewood
Jun 26 2014 16:35
Anyway, my current @bug is hifi/interface/src/avatar/SkeletonModel.cpp:646: void SkeletonModel::computeBoundingShape(const FBXGeometry&): Assertion `parentIndex != -1' failed.
AlericInglewood
@AlericInglewood
Jun 26 2014 16:42
Hmm I don't like the look of this: bindExtents = {minimum = {{x = 3.40282347e+38, r = 3.40282347e+38, s = 3.40282347e+38}, {
y = 3.40282347e+38, g = 3.40282347e+38, t = 3.40282347e+38}, {z = 3.40282347e+38, b = 3.40282347e+38, p = 3.40282347e+38}}, maximum = {{x = -3.40282347e+38, r = -3.40282347e+38,
s = -3.40282347e+38}, {y = -3.40282347e+38, g = -3.40282347e+38, t = -3.40282347e+38}, {z = -3.40282347e+38, b = -3.40282347e+38, p = -3.40282347e+38}}},
Or are those min and max float values?
This hurts my eyes:
for (int i = 1; i < numJoints; i++)
What did joint number 0 do that it isn't allowed to play?
alynna
@alynna
Jun 26 2014 17:14
I found it
AlericInglewood
@AlericInglewood
Jun 26 2014 17:15
@alynna What did you find?
alynna
@alynna
Jun 26 2014 17:16
this place
AlericInglewood
@AlericInglewood
Jun 26 2014 17:16
Oh! lol ok :) Welcome!
alynna
@alynna
Jun 26 2014 17:17
now as soon as i'm done deploying this VM I am going to ask about setting up a domain server in Linux.
alynna
@alynna
Jun 26 2014 17:18
Yep that probably will.
AlericInglewood
@AlericInglewood
Jun 26 2014 17:19
Just a random link I happened to get across :p - there might be one even more specific.
(well, that @SeanDevin got across and passed on to me)
alynna
@alynna
Jun 26 2014 17:20
well i'm going to be compiling on ubuntu 14.04 minimal LTS. Ports 40100-40103 are the only ones required right?
Philip Rosedale
@PhilipRosedale
Jun 26 2014 17:27
@AlericInglewood Regarding bugs... yes see if you can login to worklist.net - that's where we are capturing/processing both bugs and jobs. Welcome!!
AlericInglewood
@AlericInglewood
Jun 26 2014 17:32
@PhilipRosedale I am already logged in there - I'm just unfamiliar with it. I made a start with "jobs" (created one and got it up till approved); ie, I propose to do something, get approved and do it. It's also clear how it works when a designer proposes a job and I'd place a bid and then do the work. But I'm not yet seeing how to use it to report a problem/bug, add backtraces and have discussions with multiple people (not to mention search if bugs were already reported before), without that I'm the one who can DO the job. PS Nice to meet you :)
Jason Hawks
@nbq
Jun 26 2014 17:43
@AlericInglewood I am glad my writeup on CentOS helped you (was just reading up)
AlericInglewood
@AlericInglewood
Jun 26 2014 17:46
@BitsOfCoal Heheh - I didn't say it did :P But maybe it will help @alynna ;). The context in which my bf mentioned it was "one of those for debian would be nice" - I guess he was looking for a specific howto on how to build hifi under debian and liked the general setup of your page ;)
Jason Hawks
@nbq
Jun 26 2014 17:47
Well the basics of the compile page is set for Ubuntu already, but I can write one more specific for Ubuntu and maybe Debian soon enough
AlericInglewood
@AlericInglewood
Jun 26 2014 17:50
That's ok - being a secondlife viewer developer I already had everything that was needed installed, short of the very specific libs that are already mentioned on the build wiki for linux (Qt5, glm, qxmpp). The only problem that I ran into was that I assumed my cmake version should work with hifi - lost a day with that :/ One really needs that 2.8.12 with how it is written now. I spent some time to "fix" the cmake files to work with 2.8.9 :) oops.
Ok - got to run - chess club evening today.
Jason Hawks
@nbq
Jun 26 2014 17:53
Have fun!
But yes, I have done some SL viewer developing myself
alynna
@alynna
Jun 26 2014 18:14
I'm working on it and modding the directions on a seperate page..
I've also, well, compiled firestorm myself
i've also compiled and ran OpenSim
Leonardo Murillo
@murillodigital
Jun 26 2014 18:16
hey @alynna on 14.04 lts you can also use the Qt5 on ppa:ubuntu-sdk-team/ppa
save you a long make time
alynna @alynna will install that PPA
alynna
@alynna
Jun 26 2014 18:18
and add it to the wiki page
Leonardo Murillo
@murillodigital
Jun 26 2014 18:18
;)
Stephen Birarda
@birarda
Jun 26 2014 18:25
is @huffman around?
Ryan Huffman
@huffman
Jun 26 2014 18:26
@birards Hello
Stephen Birarda
@birarda
Jun 26 2014 18:26
I need to change some of the API for places
Ryan Huffman
@huffman
Jun 26 2014 18:26
@birarda*
Stephen Birarda
@birarda
Jun 26 2014 18:26
have you started to make those changes?
basically in the list you’ll get a UUID id
Ryan Huffman
@huffman
Jun 26 2014 18:27
Yeah, it's mostly done. I just saw your comment on the job, it sounds like the change is small enough to not be a big deal
Stephen Birarda
@birarda
Jun 26 2014 18:27
okay - otherwise I can hold off and fix up interface if you like
if you’re okay making the change I’ll get that merged now and you can fee in to change
Ryan Huffman
@huffman
Jun 26 2014 18:28
Yeah np I can do it now
So there is a new id property with a UUID, and that should also be used when updating?
Stephen Birarda
@birarda
Jun 26 2014 18:29
yeah, you’ll get the id property in the list
and that’s what you send when you PUT or DELETE
in place of the name
Ryan Huffman
@huffman
Jun 26 2014 18:29
ok
Please let me know when it's live and I can try it out
alynna
@alynna
Jun 26 2014 18:31
I have a question once my domain server is up and running does it become visible to the rest of the nodes on the network?
FearghusMcMahon
@FearghusMcMahon
Jun 26 2014 18:42
we got a page on the wiki listing domain-servers...can add it there.....but as far as i know there is not something like a "phonebook" for active domains
would be an interesting addon though......
Stephen Birarda
@birarda
Jun 26 2014 18:48
okay @huffman should be live now
you’ll see the IDs
Ryan Huffman
@huffman
Jun 26 2014 18:49
@birarda Great, thanks!
Ryan Huffman
@huffman
Jun 26 2014 19:11
@birarda Ran into some issues with homebrew updating qxmpp that I had to fix, but just tried the new API and it seems to work fine. Thanks!
Going to go eat lunch
alynna
@alynna
Jun 26 2014 19:24
theoritically I have it compiled..
alynna
@alynna
Jun 26 2014 19:29
can someone test my server by trying the domain vulpix.kitsunet.net ?
Clément Brisset
@Atlante45
Jun 26 2014 19:30
@alynna on my way
alynna
@alynna
Jun 26 2014 19:31
well I see attempts to connect...
immediately killed..
what ports do I need mapped specifically?
Clément Brisset
@Atlante45
Jun 26 2014 19:31
Yeha, are you running latest code?
alynna
@alynna
Jun 26 2014 19:32
whatever came out of git like 1 hour ago..
Clément Brisset
@Atlante45
Jun 26 2014 19:33
no big changes today so it should work.
alynna
@alynna
Jun 26 2014 19:33
I am logged into it but it doesn't mean I have all the right ports mapped
Clément Brisset
@Atlante45
Jun 26 2014 19:34
Are you logged in from a local network?
alynna
@alynna
Jun 26 2014 19:36
yes. But I have also mapped ports 40100 to 40109 to the VM the domain server is on.
Clément Brisset
@Atlante45
Jun 26 2014 19:36
const unsigned short DEFAULT_DOMAIN_SERVER_PORT = 40102;
const unsigned short DEFAULT_DOMAIN_SERVER_DTLS_PORT = 40103;
const quint16 DOMAIN_SERVER_HTTP_PORT = 40100;
const quint16 DOMAIN_SERVER_HTTPS_PORT = 40101;
Ok, so that should be good.
alynna
@alynna
Jun 26 2014 19:39
what does the -n argument do for assignment server?
FearghusMcMahon
@FearghusMcMahon
Jun 26 2014 19:39
it says how many to start
Clément Brisset
@Atlante45
Jun 26 2014 19:39
Oh wait you opened the port of the VM but did you open the port of your local network? If you are behind a router or something, you might have to do something there too.
FearghusMcMahon
@FearghusMcMahon
Jun 26 2014 19:40
-n 6 would startup 6 assignment clients
alynna
@alynna
Jun 26 2014 19:40
I assigned it on my router. The VM network is bridged.
alright lets try it now
its acting alot different now that I did -n 16
Clément Brisset
@Atlante45
Jun 26 2014 19:42
yes, it’ll basically will start one of each type of servers with -n 6.
You shouldn’t go higher than -n 6.
I’m good now
Can see all 6 type of servers
alynna
@alynna
Jun 26 2014 19:43
you were able to get on?
Clément Brisset
@Atlante45
Jun 26 2014 19:43
Yep, there right now
alynna
@alynna
Jun 26 2014 19:44
Awesome cause I don't thnk I am
I'll debug it a bit more soon
I need to afk BBS
Clément Brisset
@Atlante45
Jun 26 2014 19:44
if you press ‘/‘ it show up a bunch of stats.
If you got Servers: 6 on top left you’re connected.
alynna
@alynna
Jun 26 2014 19:45
ok cool.. but I can't seem to draw any voxels
bb soon getting food
alynna
@alynna
Jun 26 2014 20:37
alright i'm back.. and lets see here, how do I get some initial voxels down in my domain?
Clément Brisset
@Atlante45
Jun 26 2014 20:38
You need to be running editVoxels.js
and pressing your ‘0’ key will spawn an initial voxel in front of you.
alynna
@alynna
Jun 26 2014 20:39
there it is. These are being stored on my own box right?
Clément Brisset
@Atlante45
Jun 26 2014 20:42
They should be but I made one earlier and it didn’t persist.
So not sure what happenned.
alynna
@alynna
Jun 26 2014 20:43
wow totally cool I see someone in my domain
Thijs Wenker
@thoys
Jun 26 2014 20:44
@alynna whats your domain?
alynna
@alynna
Jun 26 2014 20:46
hifi://vulpix.kitsunet.net/
FearghusMcMahon
@FearghusMcMahon
Jun 26 2014 20:47
invasion of the thoys!
alynna
@alynna
Jun 26 2014 20:58
so do all these random ports assigned by the assignment client, have to be portmapped too?
i'm gonna look at the source...
Leonardo Murillo
@murillodigital
Jun 26 2014 21:08
@alynna they dont need to be portmapped (considering most NAT setups)
basically what happens is they get hole punched in your router, and the DS tells other agents what the socket is
so the agent will try to communicate using that opened sockte
socket
alynna
@alynna
Jun 26 2014 21:16
using NAT-uPnP?
alynna
@alynna
Jun 26 2014 21:22
heres another concern I have. Is it possible to start these servers on another port (Doesn't look like it, though it'd be trivial to add) and if so, would interface respect a domain like hifi.mydomain.net:47000 to mean ports 47000-47003?
I could easily see wanting to start 2 domains on a single server...
another question: is it ipv6 capable?
alynna
@alynna
Jun 26 2014 21:31
yep looks v6 ready from the source.. at the very least it is handling ipv6 specific situations
Leonardo Murillo
@murillodigital
Jun 26 2014 21:31
ok so you could change the DS default port, but that is hardcoded in interface
so u'd either have to build from a modified source with the new port
(or even better modify interface to allow for custom port specification via preferences)
and there's some ipv6 backbone in there but we really don't support it yet, oficially
regarding custom port, u'd also have to modify the assignment-client code to specify not just DS hostname but port as well
alynna
@alynna
Jun 26 2014 21:33
actually the important thing is coded in it seems, in that HifiSockAddr does try to parse the port in the domain address given
Leonardo Murillo
@murillodigital
Jun 26 2014 21:33
ahh cool
alynna
@alynna
Jun 26 2014 21:33
however there are some things that are constants that shouldn't be
Leonardo Murillo
@murillodigital
Jun 26 2014 21:33
so domain.server.hostname:someport
may actually work u're saying?
alynna
@alynna
Jun 26 2014 21:33
other fixes are required
alynna
@alynna
Jun 26 2014 21:44
too many constants... I'd replace these constants with defines that have an offset..
for example #define DOMAIN_SERVER_HTTP_PORT (DEFAULT_DOMAIN_SERVER_PORT - 2)
a variable needs to be in here of course..
alynna
@alynna
Jun 26 2014 21:50
I could work on allowing domain-server to listen on different ports.
when I get back. BTW I'm not that great with 3D math code, but i'm pretty darn good at networking stuff.
I'll BB an hour or so.
Sean Devin
@SeanDevin
Jun 26 2014 22:39
@alynna I found that Ubuntu 14.04 LTS was much easier than your great instruction page. A simple "apt-get update;apt-get upgrade;sudo apt-get install build-essential cmake git libcurl4-openssl-dev libqt5scripttools5 libqt5svg5-dev libqt5webkit5-dev libqt5location5 qtlocation5-dev qtdeclarative5-dev qtscript5-dev qtsensors5-dev qtmultimedia5-dev qtquick1-5-dev libasound2 libxmu-dev libxi-dev freeglut3-dev libasound2-dev libjack-dev libglm-dev libqt5scripttools5 qttools5-dev-tools qttools5-dev" then the git and build as the BUILD.md says was enough. I normally run as "nohup domain-server &;nohup assignment-client &" YMMV but that has worked for me on two PCs so far. Still verifying it for 100% enough status. CMake 2.8.12.2 and most other things are in unbuntu repos, so that saves compiling from source.
alynna
@alynna
Jun 26 2014 23:41
definitely update the guide then..
I'm placing a high priority on making this take a -p argument to start on a different port.