These are chat archives for bjz/gfx-rs

21st
Jun 2014
Dzmitry Malyshau
@kvark
Jun 21 2014 02:02
@bjz halp! Even if I introduce GlProvider trait, I can only implement it for Glfw, but we have a Window, not the context.... And the reason we are not capturing the whole context is because we want to leave event management to the user (which makes perfect sense). Piston doesn't have this problem since they are managing events internally, so they are just capturing the whole thing...
Dzmitry Malyshau
@kvark
Jun 21 2014 02:20
@bjz Ok, I kinda worked my way through it, but it break a bit of platform abstraction. Passing a reference to Glfw (under my trait) as the initialization option now.
Dzmitry Malyshau
@kvark
Jun 21 2014 04:01
Sadly no-one is here to share my joy,.. but the sacred triangle achievement is unlocked! See #8
Dzmitry Malyshau
@kvark
Jun 21 2014 04:19
@bjz @photex Please also have a look (and express your opinion on) #9
Off for today... G'night!
Brendan Zabarauskas
@brendanzab
Jun 21 2014 07:26
Sorry - just got back from a night out! This looks sooo cool. :) But I am not in the state to review right now. I will look tomorrow!
Dzmitry Malyshau
@kvark
Jun 21 2014 12:49
@bjz Get a good rest, there is a lot of work ahead.
Also let me know what you think about #10. I believe that if #9 and #10 were implemented before I got the triangle, my path to it would be sufficiently more clear ;). I marked both as milestone because they are directly related to the topic of the speech at Game Tech.
Brendan Zabarauskas
@brendanzab
Jun 21 2014 17:40
g'morning!
@photex are you around? :)
Brendan Zabarauskas
@brendanzab
Jun 21 2014 18:07
@kvark sorry - just correcting some misconceptions on HN :P
Brendan Zabarauskas
@brendanzab
Jun 21 2014 18:23
@kvark added lots of comments
@kvark I can push some changes if you like?
Brendan Zabarauskas
@brendanzab
Jun 21 2014 18:50
@kvark I might implement those fixes myself and make a new PR
OMG so cool - triangle
Brendan Zabarauskas
@brendanzab
Jun 21 2014 20:41
it builds locally
Brendan Zabarauskas
@brendanzab
Jun 21 2014 20:58
@mitchmindtree o/
mitchmindtree
@mitchmindtree
Jun 21 2014 20:58
yooo
Brendan Zabarauskas
@brendanzab
Jun 21 2014 20:58
travis woes
could you check them out and see if you have any ideas?
mitchmindtree
@mitchmindtree
Jun 21 2014 20:59
travis woes?
Brendan Zabarauskas
@brendanzab
Jun 21 2014 20:59
yeah
it builds locally, but not on travis
#12
mitchmindtree
@mitchmindtree
Jun 21 2014 20:59
oh I seee
Brendan Zabarauskas
@brendanzab
Jun 21 2014 21:00
I have done git submodule deinit and tried rebuilding with make deps; make and it works
mitchmindtree
@mitchmindtree
Jun 21 2014 21:00
so it actually works fine, but travis isn't down with it?
this happened to me the other day
Brendan Zabarauskas
@brendanzab
Jun 21 2014 21:01
yepp
mitchmindtree
@mitchmindtree
Jun 21 2014 21:01
I didn't end up working it out though
it happened on a pr
:-(
Brendan Zabarauskas
@brendanzab
Jun 21 2014 21:01
eh, I am just gonna merge it - maybe it has cached a bad version
dunno
Dzmitry Malyshau
@kvark
Jun 21 2014 21:20
@bjz heya
were you able to see the triangle on your end?

sorry - just correcting some misconceptions on HN

Where is the flame war? I only see that 2010 article

Brendan Zabarauskas
@brendanzab
Jun 21 2014 21:22
oh not too bad
yep!
saw the triangle
<3 <3 <3
:heart_eyes:
Dzmitry Malyshau
@kvark
Jun 21 2014 21:23
awesome! ^dances^
Brendan Zabarauskas
@brendanzab
Jun 21 2014 21:24
Now I'm seeing if I can make things slicker
Dzmitry Malyshau
@kvark
Jun 21 2014 21:26
@bjz what do you think we can cut off? how does #9 proposal sound for you?
Brendan Zabarauskas
@brendanzab
Jun 21 2014 21:27
Sounds like it could make things easier
Dzmitry Malyshau
@kvark
Jun 21 2014 21:42
@bjz do we have a minimal feature set for the "show"? I'm slightly worried that @photex is not responding, since he is supposed to present it.
Brendan Zabarauskas
@brendanzab
Jun 21 2014 21:43
yeah me too :(
he has been sick lately
I might have to talk to erickt and say he might have to skip it
Dzmitry Malyshau
@kvark
Jun 21 2014 21:44
ah, well, I wish you best health, @photex !
@bjz could you perhaps do the presentation instead of @photex if he will not be able to make it?
Dzmitry Malyshau
@kvark
Jun 21 2014 21:55
@bjz eh, you used some features that my rust version doesn't have, so now I have a 2h pause to wait for rust to compile...
Brendan Zabarauskas
@brendanzab
Jun 21 2014 21:55
justr download the nightly :)
kvark @kvark needs to schedule rust to build every night
brendanzab @bjz has a little script to do it
Brendan Zabarauskas
@brendanzab
Jun 21 2014 21:56
so much faster
Dzmitry Malyshau
@kvark
Jun 21 2014 21:57
so you are no longer building it yourself?'
Brendan Zabarauskas
@brendanzab
Jun 21 2014 21:57
nope
not ehn I am doing lib work
I only build when I am actually working on the repo itself
ie. compiler work or on the standard libs
brendanzab @bjz is playing with ways of doing handles, but is not happy with anything he does
brendanzab @bjz will probably have to sleep on it
Dzmitry Malyshau
@kvark
Jun 21 2014 21:59
handles of events?
Brendan Zabarauskas
@brendanzab
Jun 21 2014 22:00
oh for the gl stuff - instead of typedefs
Dzmitry Malyshau
@kvark
Jun 21 2014 22:00
oh sure. Is that what @photex code was about? EntityData and such?
Brendan Zabarauskas
@brendanzab
Jun 21 2014 22:01
oh, more like something like: struct Handle<T, I> { id: I } pub enum Buffer {} ...
but it gets a little annoying
:/
Dzmitry Malyshau
@kvark
Jun 21 2014 22:02
BTW, what is cgcore-rs supposed to be? I find it weird that an empty repo has 2 watches and stars :)
Brendan Zabarauskas
@brendanzab
Jun 21 2014 22:02
I have a cgcore?
:o
kvark @kvark laughs
Brendan Zabarauskas
@brendanzab
Jun 21 2014 22:03
ok, I have to head out for abit
bbl
I will let my subconcious brew on this all, then get back to banging my head against a brick wall later
I would love this API to be super slick, but it that takes a lot of effort
kvark @kvark wishes we didn't have as many layers... #9
Brendan Zabarauskas
@brendanzab
Jun 21 2014 22:05
yep, I agree
it is so confusing with all the different type names :(
Dzmitry Malyshau
@kvark
Jun 21 2014 22:06
haha, I got used to it. But I don't want the fresh blood (if any) to suffer again
Brendan Zabarauskas
@brendanzab
Jun 21 2014 22:06
we will figure it out, and it will look effortless, and folks will wonder how we did it
:)
ok, gotta run, thanks again for the awesome :triangular_ruler: work :D
<3 <3 <3
Dzmitry Malyshau
@kvark
Jun 21 2014 22:08
lol, bye!
Brendan Zabarauskas
@brendanzab
Jun 21 2014 23:16
I'm wondering if what we actually want for the 'calls' are futures... dunno whether the overhead of them is too high. apparently aturon wants to refactor them