Perl 6 - the future is here, just unevenly distributed

IRC log for #openframeworks, 2014-03-15

| Channels | #openframeworks index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:02 ilbot3 joined #openframeworks
00:02 Topic for #openframeworks is now Welcome to http://openframeworks.cc/ | logs at http://irclog.perlgeek.de/openframeworks/ | we're testing 0.8.1 release candidates, see: http://is.gd/46xn1a
00:07 jvcleave joined #openframeworks
00:35 jvcleave joined #openframeworks
00:44 danomatika joined #openframeworks
01:50 ofarturo joined #openframeworks
02:01 ofarturo joined #openframeworks
02:21 mikelikespie joined #openframeworks
02:49 kritzikratzi joined #openframeworks
02:55 pizthewiz joined #openframeworks
02:59 danomatika joined #openframeworks
03:13 danomatika left #openframeworks
03:32 mikelikespie joined #openframeworks
04:18 lukaszw joined #openframeworks
05:15 Aciid joined #openframeworks
05:59 booltox joined #openframeworks
06:17 boltR joined #openframeworks
07:01 blueberries joined #openframeworks
07:56 admsyn joined #openframeworks
08:30 Razorien joined #openframeworks
09:40 ncls joined #openframeworks
09:48 boltR joined #openframeworks
10:03 LCID_Fire_ joined #openframeworks
10:18 booltox_ joined #openframeworks
10:35 ofarturo joined #openframeworks
11:08 kritzikratzi joined #openframeworks
12:04 robot joined #openframeworks
12:15 kflux joined #openframeworks
12:17 ofarturo Razorien perhaps you have ofSetColor(0); ? that'll tint the whole image in black
12:21 bakercp joined #openframeworks
12:28 robo joined #openframeworks
12:53 Joel_re joined #openframeworks
12:54 bakercp joined #openframeworks
13:31 Razorien Is there a way to un-set the ofSetColor color?
13:33 Razorien I do have other things calling ofSetColor but this only seems to be a problem when ofImage.draw id called from another class and not the one inheriting from ofBaseApp
13:34 Razorien I have another instance of ofImage rendering correctly in the base class.
13:42 ofarturo Razorien, just set it to white before drawing images
13:48 danomatika joined #openframeworks
13:49 danomatika anyone know a good alt to piratepad?
13:53 Razorien Alright, I'll give that a try, thanks!
13:54 Razorien That worked great, cheers!
13:54 Razorien Now it's perfect.
14:02 admsyn joined #openframeworks
14:07 Topic for #openframeworks is now Welcome to http://openframeworks.cc/ | logs at http://irclog.perlgeek.de/openframeworks/
14:09 admsyn hi all
14:09 admsyn danomatika: we used hackpad.com for the last IRC meeting and it worked well
14:09 workergnome joined #openframeworks
14:10 danomatika ok, too bad you have to sign up for it
14:10 admsyn yeah
14:10 workergnome Mornin', INernet
14:10 admsyn hi workergnome
14:10 admsyn there's titanpad
14:10 danomatika ah ok
14:10 admsyn titanpad's etherpad based IIRC
14:11 danomatika yeah that works
14:12 admsyn so the plan is to PR at your fork, danomatika?
14:13 danomatika no, Im making a new one
14:15 danomatika we're using https://github.com/CreativeInquiry/openFrameworks
14:15 danomatika I'm putting together a titan pad now
14:17 danomatika http://titanpad.com/of-doc-sprint
14:18 Topic for #openframeworks is now Welcome to http://openframeworks.cc/ | logs at http://irclog.perlgeek.de/openframeworks/ | documentation sprint happening now: http://titanpad.com/of-doc-sprint
14:19 kritzikratzi joined #openframeworks
14:22 admsyn just so we're on the same page, the goal is to be adding doxygen-style header comments a la ofColor? Or the site docs?
14:22 admsyn I feel like I missed an email :3
14:22 danomatika yes, we're just clarifying it here
14:22 admsyn cool
14:23 admsyn I'm on skype if the STUDIO is, fwiw
14:44 Miles__ joined #openframeworks
14:44 dantheman joined #openframeworks
14:46 dantheman oh I wish I could hang out and work with you guys!
14:46 danomatika you can
14:46 danomatika we have the internets
14:46 dantheman I'm headed to an undisclosed location to work on installing some art
14:46 dantheman :(
14:46 golan_ joined #openframeworks
14:46 workergnome Howdy golan
14:46 golan_ Hi Evvybody
14:47 Miles__ Hi
14:47 workergnome Welcome to the internet
14:47 golan_ ha ha
14:47 dantheman lol
14:47 dantheman its like two ships passing in the ocean
14:48 danomatika we're making a list of files that we're working on in the titnapad
14:48 danomatika at the bottom
14:48 danomatika to make sure we don't overlap
14:48 danomatika as we're doing a simple workflow
14:50 admsyn argh lack of spellcheck in IDEs
14:50 dantheman lol
14:50 dantheman just use a browser
14:51 admsyn well yeah, but I have to be like "that doesn't look right…" first
14:51 dantheman http://dillinger.io/
14:51 dantheman yeah
14:52 dantheman danomatika: I would say run the site locally on your machine
14:52 danomatika we're not working on the site
14:52 danomatika we're adding basic oxygen commenting to the headers
14:52 dantheman but you're working on documentation right?
14:52 dantheman oh
14:52 danomatika doxygen, as discussed on the of-dev list
14:53 danomatika you can add to the site, it's sol part of the mix for the more elaborate exmaples/explanations
14:53 workergnome I'm working on improving the Markdown side of it, and making sure all of the doxygen stuff makes it onto the site.
14:53 danomatika this is for the basic functional reference with params and return
14:53 danomatika in the headers
14:53 dantheman workergnome: then make sure and run it locally and check your space car
14:53 dantheman space char*
14:54 workergnome Yah—I have it locally
14:54 dantheman zach did something funky the last time we tried this and took he site down for half a day
14:54 danomatika so this also involves backporting some of the existing info in the ofSite markdown to doxygen comments
14:54 workergnome Right.
14:54 danomatika again, this is basic functional documentation
14:54 dantheman danomatika: gotcha
14:54 danomatika we're aiming to fill out as much as we can in one go
14:56 golan_ Yo Dan (moore)
14:58 dantheman heyo golan_
15:00 zanilo joined #openframeworks
15:01 zanilo hello all
15:02 danomatika hi
15:02 danomatika joining the documentation spring?
15:03 danomatika we have a titanpad for it: http://titanpad.com/of-doc-sprint
15:04 zanilo I'm still learning OF, so not sure how helpful I could be :)
15:06 kritzikratzi joined #openframeworks
15:07 dantheman zanilo: I've heard the best feedback on where we need to improve the docs from noobs
15:08 zanilo hey Dan!
15:08 dantheman yo
15:08 zanilo I've done some progress on that stencil thing
15:08 dantheman oh nice
15:08 zanilo thanks to your help
15:08 zanilo 1 sec
15:08 dantheman thank golan_ intern from way back
15:09 kritzikratzi joined #openframeworks
15:10 golan_ oh hey Dan(M) -- I saw your pull request -- thank you so much for doing that… I (uh…) don't know how to approve a pull request, because I'm a git-idiot
15:11 golan_ oh hey dantheman_ -- I saw your pull request -- thank you so much for doing that… I (uh…) don't know how to approve a pull request, because I'm a git-idiot
15:19 admsyn golan_:  should be a green merge button if you're talking github
15:20 admsyn if there isn't one you might not have merge rights on the repo?
15:21 admsyn I'm gonna assume that for this level of documentation /// \brief Sets foo isn't necessary for functions like setFoo() ?
15:22 admsyn just doing  "\param foo is in the range 0 - 1" for now
15:26 danomatika we are adding it for everything
15:26 danomatika for consistency
15:27 danomatika and \returns for anything that doesn't return a void
15:27 danomatika for instance:
15:27 danomatika // \brief Check whether OF is using ARB rectangular textures or the more traditonal GL_TEXTURE_2D.
15:27 danomatika // \returns true if ARB textures, false if 2D textures.
15:27 danomatika bool ofGetUsingArbTex();
15:29 admsyn cool, thanks
15:30 danomatika my reasoning is that it's easier to remove it later if needed, than to add it
15:31 danomatika that and everything will be much more consistent in the generated html
15:31 danomatika if there are returns for everything, it just takes a little creative writing to avoid repeating outselves
15:32 admsyn yeah :) I'm going with like \brief Sets playback volume | void setVolume()
15:33 danomatika yeah
15:34 danomatika but
15:34 danomatika do you indicate the range of the aprameter?
15:34 admsyn yeah
15:34 admsyn /// \param vol range is 0 to 1
15:34 danomatika ok cool
15:34 danomatika thats one of the main reasons why we need this
15:35 admsyn also taking the liberty of changing unecessary short-form variable names in the header
15:35 admsyn i.e. void setSpeed(float spd) -> void setSpeed(float speed)
15:36 danomatika mmm
15:36 danomatika well, I'm uncertain about making source changes within this
15:36 admsyn isn't it effectively documentation though?
15:36 danomatika I hate to say it but it will make it easier to push this in with touching as little as posisble
15:36 danomatika yeah
15:36 admsyn but yeah I agree it's not 100% clear
15:37 danomatika but fuck it, that's reasonable
15:37 admsyn alright I'll hold off then
15:37 admsyn haha
15:37 danomatika my anal side says to change it in the cpp as well
15:37 danomatika so ...
15:37 danomatika thats where it would be more obvious if we do this
15:37 danomatika so I say perhaps hold off
15:38 danomatika because these kind of changes were recommended after the code review in Maine, which we haven't implemented complete as far as I know
15:38 danomatika :P
15:38 admsyn well in sound player there's some stuff that's like really super short form for no particular reason, like void setPaused(bool bP)
15:38 danomatika yeah
15:38 danomatika fix it
15:38 danomatika that's fine
15:38 admsyn it's obvious what it stands for if you take a half second, but it's friction
15:38 admsyn cool
15:38 danomatika just avoid making any real source changes
15:38 bakercp joined #openframeworks
15:39 danomatika chris
15:39 danomatika titanpad: http://titanpad.com/of-doc-sprint
15:39 bakercp Hey, I'm back.
15:39 bakercp Sorry for the delay.  Had a baby ballet recital.
15:39 danomatika hah, that's a great reason
15:39 danomatika fuck software. life!
15:40 dantheman lol golan_
15:40 bakercp did you see the stuff I put on the wiki?
15:40 dantheman sorry I'm between some stuff today
15:41 danomatika yeah
15:41 danomatika the link is on the pad
15:41 bilderbuchi joined #openframeworks
15:41 bakercp cool.
15:41 bilderbuchi heyho
15:41 danomatika we're not doing any sort of branch model
15:42 bilderbuchi just a quick peek online, anything you need from me?
15:42 danomatika documentation header typinh
15:42 danomatika typing
15:42 admsyn bilderbuchi: if you have any opinions about http://titanpad.com/of-doc-sprint
15:43 bilderbuchi adam: thx, will take a look
15:43 bakercp I'm going to update ofRectangle
15:43 danomatika add that info the bottom of the titanpad
15:43 bilderbuchi titanpad, nice, would have been my first candidate for a piratepad alternati ve
15:43 bakercp did
15:43 danomatika so we stay in sync as to what files are being worked on
15:44 bakercp More long term, we have this too:
15:44 bakercp https://github.com/openframeworks/openFrame​works/wiki/openFrameworks-doxygen-progress
15:45 bakercp As soon as people have docs ready to go, I collect them for a core merge in here https://github.com/openframeworks/open​Frameworks/tree/feature-documentation
15:45 bakercp Also, I added an easier-to-test-with doxygen file here:https://github.com/openframeworks/openFramew​orks/blob/feature-documentation/libs/openFra​meworksCompiled/project/doxygen/Doxyfile_dev
15:46 danomatika ok, ill let david know, he's out for coffee
15:46 bakercp It basically just removes the of header / footer which requires everything.
15:46 bakercp from ofSite
15:46 bakercp Who all is working there?
15:46 danomatika we're keeping it simple to start
15:46 danomatika 4 of us
15:46 bakercp sounds great.
15:46 danomatika adam online
15:46 admsyn hi
15:46 bakercp I have a few people around here ... got to get connected.
15:46 bakercp hey @admsyn
15:46 danomatika let me add you to the CreativeInquiry OF repo
15:46 bakercp thx.
15:46 danomatika point them to the tianpa
15:47 zanilo I'm still learning OF but I'd like to help. As I'm working with FBO would copying the documentation from here: http://openframeworks.cc/d​ocumentation/gl/ofFbo.html to here https://github.com/CreativeInquiry/openFramewo​rks/blob/master/libs/openFrameworks/gl/ofFbo.h
15:47 zanilo help?
15:47 danomatika yes definifely
15:47 danomatika you can do exactly that
15:47 zanilo I'm on it!
15:47 admsyn keep it minimal-ish though, not just copy / paste
15:48 danomatika great, please add the file and your name to the list in the bottom of the titnatpad
15:48 bilderbuchi won't that duplicate info from ofSite, though?
15:48 bakercp The best template available is here: https://github.com/openframeworks/ope​nFrameworks/blob/feature-documentatio​n/libs/openFrameworks/types/ofColor.h
15:48 danomatika it will for now but it can be fixed later
15:48 danomatika again, adding is much harder than removing
15:48 danomatika if we can add as much now as we can, that's moving forward
15:48 bakercp I'm going to write up a little more ... but don't worry, we will run an edit pass before we pull the docs into the core.
15:49 bilderbuchi finding inconsistencies a couple days later is hardest, though ;-) , so better keep track of things like that
15:49 danomatika it's all to a fork
15:49 danomatika you;ll get a clean PR in the end
15:49 danomatika in 1 go
15:49 bilderbuchi yes I know. will ofSite get a PR, too (with all the removals)?
15:50 bilderbuchi fyi, the evernote link in the doxygen style guide is broken/forbidden - can't see it.
15:50 admsyn actually zanilo which OS are you on?
15:50 bilderbuchi I guess that's @ bakercp?
15:50 zanilo OSX XCode 5
15:51 zanilo OSX 10.9
15:51 admsyn cool, the Xcode IDE setup guide could really use an update, especially if you just ran through first time setup recently
15:51 bakercp yeah, i'll fix it.
15:51 bakercp (the link)
15:51 zanilo I was actually thinking about it
15:51 bakercp and clean up those instructions
15:51 danomatika OFSite will probably not get a PR
15:51 zanilo there are a few things which I've discovered along the way: ie. changing base SDK to run older examples
15:51 danomatika it'a not that much info that will be replciated
15:51 admsyn zanilo: I was thinking about doing it too as part of this, I'd be happy to work with you if you like
15:51 danomatika its not a wholesale copy and paste
15:52 zanilo admsyn: OK for me
15:52 zanilo admsyn: again, I'm a suber noob though :)
15:52 admsyn np, that's probably best in this case actually :)
15:53 workergnome If you want to fix ofSite, I can approve pulls to that, actually
15:53 admsyn zanilo: even if you just write up a text file explaining the steps you had to do, I can translate it to mako and fill it out for the site and all that stuff
15:54 zanilo ok
15:54 workergnome bakercp:  what's different with this doxyfile?
15:54 admsyn but if you wan to do the Real Thing, you can clone the ofSite repo, the setup instructions are on the README and are pretty easy on OSX
15:54 zanilo I've forked to repo
15:54 bakercp the custom html links are removed.
15:54 bakercp which makes it easier to check your work locally.
15:55 zanilo maybe I can do a PR later
15:55 zanilo ?
15:55 bakercp the linked html is templated for ofSite and doesn't render locally
15:55 admsyn zanilo: yeah if you want to do the whole thing, screenshots etc then just go for it an PR it
15:56 bakercp joined #openframeworks
15:56 admsyn don't worry about bringing over all the notes about how Xcode 3 is super awesome :) that's way outdated now
15:56 bilderbuchi danomatika: I can add you to ofSite pushers if you want
15:57 danomatika no thanks
15:57 danomatika Im not working on the site
15:57 danomatika zanilo: which file are you working on? ofFbo?
15:57 bilderbuchi but the documentation lives in that repo, too?
15:58 zanilo admsyn: I'm planning to add the changing of base sdk and how to change header search paths
15:58 zanilo would that be out of scope?
15:58 admsyn zanilo: base SDK would, that's fixed
15:58 bilderbuchi admsyn: titanpad doc looks good
15:58 admsyn header paths would be good
15:58 danomatika I think it's important that we get the function documentation into the headers now
15:59 zanilo danomatika: I haven't worked on ofFBO
15:59 danomatika that's a lot harder to change and update as compared ofSite
16:00 danomatika I just saying there may be some things that might need to be checked with ofSite later on, I'm not sure how much we'll be bale to cover
16:00 zanilo admsyn: will http://openframeworks.cc/setup/xcode/ still exist then?
16:01 admsyn no you'd be replacing that
16:01 danomatika zanilo: you said earlier you wanted to bring some of the info in the ofSite markdown for ofFbo into the header?
16:02 danomatika I'm trying to make sure we know who is working on what filea
16:02 danomatika files
16:02 zanilo danomatika: I could, but I was asked by admsyn to do the doc for xcode
16:02 zanilo admsyn: ok
16:03 danomatika ok sure
16:03 danomatika just double checking
16:04 admsyn zanilo: so just looking over the current setup guide now, a /lot/ of the first part is completely outdated
16:04 admsyn so don't worry about taking stuff out if it just isn't relevant
16:04 admsyn but try to cover roughly the same points about how to run apps, what errors look like etc
16:04 zanilo admsyn: yes, should I focus only on Xcode 5 then?
16:05 admsyn yeah I think so, especially since it's all funelled through the app store it's pretty much exactly the same for Xcode 4 anyway
16:05 admsyn is it even possible to get Xcode 4 anymore?
16:05 admsyn Xcode 3 -> 4 was a far bigger shift than 4 -> 5
16:05 zanilo ok
16:06 admsyn you could maybe throw in a note about how the screens might look different on Xcode 4 but it's not a big deal, I can't imagine it being relevant in like ~2 months
16:11 danomatika yeah, I'd target Xcode 5, I agree its largely similar in Xcode 4
16:11 danomatika the more major diffs would be in Obj-C/IB stuff, which OF obviously doesn't use
16:12 bilderbuchi ok, I gotta head out again soon. great drive, it's very appreciated, good luck and all that!
16:12 bakercp ++ added some class examples here:
16:12 bakercp https://github.com/openframeworks/op​enFrameworks/wiki/openFrameworks-dox​ygen-documentation-style-guidelines
16:12 bakercp Working on adding more templates for methods now.
16:13 bilderbuchi indented code blocks will be syntax highlighted without specifying language? nice!
16:14 bakercp yes
16:15 admsyn zanilo: one thing address for sure is the Developer Tools download, since it's easy to overlook and gives you really weird errors about "TargetConditionals.h not found"
16:21 danomatika that's easy
16:21 danomatika xcode-select -install
16:21 danomatika you don't even need Xcode installed
16:22 danomatika as of OSX 10.9, that's available and installs the command lien tools
16:22 danomatika naturally, its also in the Xcode preferences downloads pane
16:24 admsyn yeah I just mean it's not part of the default Xcode download, and if you just grab Xcode off the app store and the OF download, you get "TargetConditionals.h not found"
16:24 admsyn unless things changed when I wasn't looking :)
16:29 dimitris joined #openframeworks
16:30 bakercp Just added more documentation examples:
16:30 bakercp https://github.com/openframeworks/op​enFrameworks/wiki/openFrameworks-dox​ygen-documentation-style-guidelines
16:31 bakercp for methods, enumerations, etc.
16:31 bakercp Are we missing anythign that needs an example?
16:31 workergnome bakercp:  you on Skype?
16:31 bakercp I'm not but could be.
16:31 workergnome Got a question that might be hard to type
16:31 bakercp Just a minute -- let me figure out the headphone situation.  I'm in a coffeeshopt ...
16:32 bakercp username = bakercp
16:34 workergnome ok
16:36 admsyn any conventions for internal function linking?
16:37 workergnome Currently—doesn't work
16:37 admsyn i.e. getFoo() /// \return foo (see setFoo())
16:37 admsyn :(
16:37 workergnome my plan is ofFoo::setFoo()
16:37 bakercp It automatically links
16:38 workergnome In doxygen.
16:38 bakercp if you do ofFoo::setFoo()
16:38 admsyn ah cool
16:38 bakercp Classes link by name in doxygen
16:38 admsyn I did setFoo() and ofFoo::setFoo but not both of them together :)
16:38 bakercp so ofRectangle in your copy will liknk
16:38 bakercp setFoo works if you are in the current class.
16:38 admsyn no () ?
16:38 bakercp if you are cross referencing, you need the full XXX::XXX()
16:39 workergnome bakercp:  are you talking doxygen, or ofSite?
16:40 bakercp id doxygen if you do this:
16:40 bakercp // \brief A class template to represent a color with variable precision.
16:40 bakercp //
16:40 bakercp // ofRectangle::setFromCenter()
16:40 bakercp //
16:40 bakercp // ofColor_ is a class template for representing a color using the
16:40 bakercp it will create a hyperlink to ofRectangle::setFromCenter()'s doxygen docs.
16:41 bakercp i don't know if it works that way for ofSite.
16:41 workergnome doesn't.   That's on my Need To Do list.
16:41 workergnome but, use the format, and once I build it, it will work on ofSIte, as well.
16:42 workergnome the only difference is that you should probably always explicitly call out the current class
16:42 bakercp super.
16:42 workergnome unless that breaks doxygen
16:42 bakercp that will work w/ doxygen.
16:42 bakercp (fully qualitifed class::method() syntax)
16:48 bakercp Added a list of style tips:
16:48 bakercp https://github.com/openframeworks/op​enFrameworks/wiki/openFrameworks-dox​ygen-documentation-style-guidelines
16:48 Miles__ Does anyone know what setColor does without index or x/y params?
16:49 mikewesthad joined #openframeworks
16:51 admsyn ofarturo: ping
16:51 bakercp @Miles__ what setColor method are you referring to?
16:53 danomatika we got it
16:53 danomatika its the one tat takes actor and fills the image with it
16:53 danomatika takes a color
17:00 kflux joined #openframeworks
17:05 admsyn what's an intuitive way to specify win / osx / linux and not ios / android / rPI ?
17:05 admsyn I was going to go with "desktop" but that seems dated :3
17:06 admsyn non-mobile doesn't really specify rPI
17:08 danomatika embedded/mobile
17:08 danomatika desktp versus demobedded/mobile
17:08 danomatika desktop & embedded/mobile
17:14 zanilo joined #openframeworks
17:14 zanilo adn I'm back
17:15 zanilo sorry I had to go
17:15 zanilo admsyn: what was the error due to command line tools missing?
17:17 admsyn "TargetConditionals.h" not found
17:17 zanilo ok
17:17 admsyn also danomatika mentioned the easy way to install it is "xcode-select -install" in a terminal
17:18 danomatika that's only for Mac OSX 10.9
17:18 danomatika +
17:18 admsyn oh also it's --install
17:18 admsyn two dashes
17:18 danomatika yeah
17:18 danomatika sorry
17:18 danomatika acne it's not listed in the xcode-select --help
17:18 danomatika *and
17:18 admsyn oh interesting, I just tried to run it and got a server error
17:18 danomatika not pimples :(
17:19 admsyn also it tried to install it even though I already have it :/
17:19 danomatika yeah, weird it fetches it from apple somehow
17:19 admsyn yeah
17:19 danomatika well, that's whats called internally when you try to run git on the command lien on a fresh OSX install
17:19 danomatika without xcode
17:19 admsyn yeah it's def easier than the menu bar clicky route
17:19 admsyn also doesn't need an apple account
17:21 zanilo I'm jotting down an outline here: https://github.com/tezzutezzu/open​Frameworks/blob/master/docs/osx.md
17:23 zanilo I have added a "Undefined symbols for architecture i386"
17:23 zanilo in the common issues
17:23 zanilo I ran into this error myself and I don't know how to solve it
17:24 zanilo if I am not wrong it should be about missing declarations
17:24 danomatika no
17:25 danomatika it means the libraries it's tryugb to link aren't built for 32 bit
17:25 danomatika "Undefined symbols for architecture x86_64" would be the same for 64 bit
17:26 zanilo ok so how this should be solved?
17:27 admsyn when's a case that you've run into that zanilo?
17:28 admsyn it's been awhile since I've actually set up a raw OF on a new computer, don't know where that pitfall is
17:28 admsyn I mean, you can run into when you're writing code and don't write an implementation for a function
17:28 zanilo I ran into this problem using ofxTween for example
17:28 admsyn ah ok so it's an addon setup thing, yeah
17:29 zanilo here's the issue: http://pastie.org/8927420
17:29 admsyn yeah that'd be if you add the headers but don't actually add the src files to your project
17:30 admsyn or rather if you set up the header search paths right, but don't put the .cpp files in your project
17:30 admsyn would be the straightforward-ish way of explaining it in the setup guide, I think
17:31 admsyn also a note about /not/ drag-dropping a whole addon into Xcode would be good. Because then you get all the examples in your projects too and the linker gets sad
17:32 zanilo so what would be the sfaest way of using an addon besides duplicating its example's folder
17:32 zanilo ?
17:34 admsyn step by step you could do something like 1. right click the "addons" group in your project 2. select New Group 3. Name the group whatever the addon is 4. right click the new group 5. select "Add files to <name of the project>" 6. add the src/libs folders for the addon
17:35 admsyn there might be a way of shrinking that a bit but it's more-or-less foolproof except for stuff like ofxOpenCv where you've got to do header path stuff
17:35 admsyn 4 / 5 could be reduced to "drag and drop the addon's src and lib folders"
17:35 zanilo but if it cannot find the right files, shouldn't I get an issue before compiling?
17:36 admsyn sort of
17:36 admsyn you'd get a "whatever isn't found" if you haven't added the header search path
17:36 admsyn but if you do that right, but don't add the actual source files you get the scary nonsensical linker errors
17:37 admsyn and that'd show up towards the end of compiling, you wouldn't see it until you actually hit "build"
17:38 admsyn I can flesh this bit out in the setup guide if you want
17:40 zanilo ok
17:41 zanilo in my case I think I've done things correctly (here's a screenshot btw http://i.imgur.com/HP7iobO.png?1)
17:42 admsyn danomatika: are we PR-ing at the master branch?
17:42 danomatika yeah
17:42 danomatika keeping it simple
17:42 admsyn cool here it comes
17:42 danomatika (and I forgot to make the branch before people started forking)
17:43 admsyn zanilo: yepp
17:44 zanilo admsyn: ok i've redone it
17:44 admsyn you could probably get away with not doing the header search paths at all in that case, actually
17:44 zanilo following your instructions
17:44 zanilo and it worked
17:44 admsyn \o/
17:44 zanilo \m/
17:44 zanilo cool
17:44 admsyn Xcode's smart enough to figure it out if you add headers to the project the way I described
17:44 admsyn which is nice because then if you end up taking them out you don't have a cluttered header search paths
17:44 admsyn also typing in that box fucking sucks
17:45 zanilo indeed
17:46 admsyn in general you can probably get away with not doing the header search paths, unless the addon's readme actually tells you to
17:46 admsyn would be good to have a "how" in the setup guide anyway
17:47 danomatika adamsyn: ofSOundStopAll & ofSoundShutdown?
17:47 danomatika or are those not in the final output anyway?
17:49 danomatika adamsyn: also, maybe add new lines to space the extended comments on othe rfucntions
17:50 mikewesthad joined #openframeworks
17:50 admsyn danomatika: done did it
17:51 admsyn RE ofSoundStop / ofSoundShutdown.. I wasn't really sure, they're FMOD cruft and unnecessary for the user I think
17:51 admsyn actually ofSoundStopAll isn't, derp
17:53 admsyn yeah I don't know, it's only implemented for FMOD and isn't actually used in the examples
17:54 admsyn but yeah I guess adding is harder than removing as you say
17:55 danomatika yeah, then they aren't in the ofSite doc for a reason
17:55 danomatika as in they are going to be removed eventually
17:55 admsyn yeah
17:56 admsyn i put in simple one-liners anyway, won't hurt
17:56 danomatika sure
17:56 danomatika yeah
17:56 admsyn I guess I really should know this but FMOD sound players are just osx and windows right?
17:57 admsyn the #ifdef to select it is kinda hairy
17:57 danomatika yeah
17:57 danomatika also, chris has periods at the ends of his lines
17:57 admsyn sure why not
17:57 danomatika bakercp
17:57 danomatika bakercp: should we really have periods at the ends of lines that aren;t sentances?
17:58 admsyn it helps for the edge case where you've got a brief and an extended
17:58 admsyn because e.g. Xcode treats it like two sentences, and you get a weird run-on if the brief doesn't have a period
17:58 danomatika ah ok
17:58 danomatika then let's follow chris's example
17:59 danomatika I have been so far, I just wanted to make sure before asking you to update your PR :D
17:59 admsyn yepps
18:02 admsyn alright done did it again
18:02 mikewesthad hey all, checking from chicago.  is the titanpad up to date with who is working on what?
18:03 admsyn think so yeah
18:03 mikewesthad alright, cool
18:03 danomatika its up to date we are working on it now
18:03 danomatika scroll down to see who i working on what file
18:04 admsyn man I want a burrito
18:05 admsyn yeah I'm gonna jump ship to a place with food
18:05 admsyn catch y'all in a bit
18:06 zanilo see ya admsyn
18:06 zanilo I'm updating the Xcode instructions..
18:14 golan_ I like bakercp's periods at the end of lines.
18:36 boltR joined #openframeworks
18:45 admsyn joined #openframeworks
18:51 pizthewiz joined #openframeworks
18:53 admsyn looks like doxygen doesn't have a neat and tidy way of handling overloaded functions?
18:54 admsyn as opposed to e.g. copy pasting \briefs
19:00 admsyn oh hey
19:00 admsyn should we be doing shout outs to examples?
19:00 admsyn as in with doxygen's "see also" functionality?
19:00 admsyn I think there's a more relevant keyword
19:03 mikewesthad I've got to tap out - sorry all.  I'm taking my name off of ofPolyline on the titanpad.  I'll jump back into this later if I can find the time
19:04 admsyn cool see ya mikewesthad
19:12 danomatika shout outs?
19:12 danomatika I think that kind of stuff is next for the ofSite Markdown
19:15 admsyn yeah as in "\brief whatever \see audioOutputExample
19:18 ncls joined #openframeworks
19:27 dantheman joined #openframeworks
19:36 zanilo in case one would delete the openframeworks folder
19:36 zanilo from the project
19:36 zanilo what would be the best way to add it back?
19:37 admsyn more or less the same as an addon I'd think
19:37 admsyn make an openframeworks group, add the openframeworks project as an "existing file"
19:38 admsyn it's in libs/openFrameworksCompiled/project/osx
19:38 admsyn (or ios, obv)
19:38 zanilo ok
19:38 admsyn I haven't actually tried that, fwiw
19:38 zanilo I think I may add that to the instructions
19:38 admsyn yeah make sure you test it first :)
19:39 zanilo (if it works) :)
19:39 zanilo ah yes!
19:39 admsyn 👍
19:41 danomatika the going is slow
19:42 ofarturo hey
19:42 zanilo actually it doesn't work (!)
19:42 zanilo admsyn: adding of to the project as an addon doesn't seem to work...
19:42 ofarturo workergnome
19:43 ofarturo just read the mail from golan
19:43 dantheman joined #openframeworks
19:43 admsyn zanilo: what happens?
19:45 ofzach joined #openframeworks
19:46 workergnome Hiya
19:47 ofarturo are you having problems updating the docs?
19:47 workergnome I've got the various parsers working—I can generate the doxygen, I can import it into the advanced docs, and I can get some of the inline comments working
19:47 workergnome Things like ofMath, however, aren't importing.
19:47 workergnome I think because they're globals, not class methods
19:47 workergnome Know anything about this?
19:47 ofarturo you mean it doesn't import anything at all or the doxygen comments?
19:48 workergnome The doxygen
19:48 ofarturo that's weird but yeah might be because it's not a class or something and the name of the doxygen xml might be different to others
19:49 ofarturo are you using the doxygen config in libs/openFrameworksCompiled/projects/doxygen
19:49 ofarturo ?
19:49 workergnome yes.
19:49 workergnome It generates correctly, but it names the file of_math_8h.html.mako
19:50 ofarturo ah you mean the advanced docs
19:50 workergnome The advanced docs are working properly.
19:51 workergnome I'm trying to get the inline comments to work
19:51 workergnome which are referring, I think, to the XML
19:52 workergnome ie: of_math_8h.xml
19:52 ofarturo oh ok that doesn't depend on the .html.mako but on the xml
19:52 ofarturo yeah that's it
19:52 ofarturo let me take a look
19:52 workergnome cool
19:52 ofarturo where are the updated comments?
19:53 ofarturo i mean the OF branch where people is adding the documentation
19:54 workergnome https://github.com/CreativeInquiry/openFrameworks
19:54 workergnome Let me push the ofMath stuff, there, too
19:54 admsyn i think someone PR'd it at the OF master actually if you want to see a diff
19:54 workergnome one sec
19:54 ofarturo ok
20:03 admsyn ofarturo: in ofSoundStream, tickCount represents buffers?
20:03 admsyn as opposed to samples?
20:04 ofarturo yes i think so
20:04 admsyn ah alright
20:06 admsyn would it be more appropriate you think to just say it represents something abstract like "playback time" or something like that?
20:06 admsyn I would just think it'd be called something like bufferCount if it was counting buffers
20:06 admsyn "tick" == "sample" in my mind
20:07 admsyn or something like milliseconds or something else clock-related
20:09 ofzach left #openframeworks
20:10 workergnome ofarturo:  ofMath is merged into the CreativeInquiry of branch, if you want to take a look.
20:11 workergnome I have some changes that I've made to the documentation_update.py as well to get it to compile, beyond changing your paths to mine
20:11 ofarturo admsyn i would explain slightly how to calculate passed time from tickCount bufferSize and samplerate i guess
20:11 workergnome def serialize_doxygen_paragraph(p):
20:11 workergnome ret = ""
20:11 workergnome for c in p.content_:
20:11 workergnome next_element = parse_doxigen_para_element(c)
20:11 workergnome if type(next_element)!=doxygen_compound.docEmptyType:
20:12 workergnome if type(next_element)==str:
20:12 ofarturo workergnome yes i was trying right now and it was failing on some tags, parsing the doxygen xmls is really painful, can you push the changes to the main repo
20:12 workergnome ret = ret + next_element;
20:12 workergnome else:
20:12 workergnome print "Next Element: (not str) "+ type(next_element).__name__;
20:12 workergnome
20:12 workergnome if ret != "":
20:12 workergnome ret = ret + "\n\n"
20:12 workergnome return ret
20:12 workergnome (mostly, handling things that aren't strings
20:12 workergnome let me try and extract them
20:13 ofarturo yes that's i think because of the |brief, param... tags
20:14 ofarturo it's one more level in the xml
20:14 ofarturo you might want to go into them and parse the string
20:14 ofarturo hopefully it'll be one more level only
20:14 workergnome it wasn't
20:15 ofarturo :)
20:15 workergnome I put it on the "Handle this tomorrow" docket and silently ignored them.
20:15 workergnome I pushed that change up to the main repi
20:15 workergnome repo
20:17 ofarturo thanks!
20:18 workergnome (also on the "Later" docket, is updating that file and the shell script to pull from ENV variables, so that I don't have to keep changing 'arturo' to 'david'
20:20 ofarturo yeah we should add a parameter so you can call it like:
20:20 ofarturo _tools/documentaton_update.py /home/me/openFrameworks
20:25 workergnome or even just _tools/documentaton_update.py $OF_ROOT
20:29 ofzach joined #openframeworks
20:30 gabriels_ joined #openframeworks
20:32 kflux joined #openframeworks
20:41 ofzach left #openframeworks
20:51 pizthewiz joined #openframeworks
20:59 boltR joined #openframeworks
21:15 admsyn joined #openframeworks
21:20 pizthewiz joined #openframeworks
21:23 ofarturo workergnome
21:23 workergnome That's me
21:23 ofarturo it's working now i've just pushed the changes to the main repo
21:23 ofarturo :)
21:23 workergnome Fantastic!
21:24 ofarturo i just never did it for functions only classes
21:24 workergnome which branch?
21:24 ofarturo master
21:25 ofzach joined #openframeworks
21:25 ofarturo have you checked if for classes it's bringing things like brief param...
21:25 workergnome It's not.
21:25 ofarturo ok
21:28 zanilo joined #openframeworks
21:32 ofarturo workergnome actually it's working till the markdown files but it's not showing in the web yet
21:32 workergnome hmm
21:32 ofarturo that should be easy to solve just fix the templates i think
21:32 workergnome I haven't seen your pull to ofSite yet.
21:32 workergnome Yeagh
21:32 ofarturo if you want to take a look, if not i can fix it tomorrot
21:33 ofarturo eh sorry, didn't pushed it :)
21:33 workergnome That would do it.
21:33 workergnome I'll see if I can get those showing
21:33 workergnome Thanks a lot
21:33 ofarturo np
21:36 danomatika hows it's going so far, bakercp?
21:39 bakercp joined #openframeworks
21:48 danomatika bakercp: I've aded you to the STUDIO team so you have access to the work we're doing so far
21:56 bakercp thanks!
21:57 bakercp it's looking great.
22:07 pizthewiz joined #openframeworks
22:12 danomatika ofTexture is not-riprising slow to document
22:22 zanilo I'm keeping on working on the Xcode instructions
22:22 zanilo https://github.com/tezzutezzu/open​Frameworks/blob/master/docs/osx.md
22:29 bilderbuchi joined #openframeworks
22:46 boltR joined #openframeworks
22:50 ofzach joined #openframeworks
23:01 danomatika bakercp: is there a good way to document similar functions
23:02 danomatika as in multiple draw()s with just additional parameters
23:18 boltR_ joined #openframeworks
23:36 mikewesthad joined #openframeworks
23:41 pizthewiz joined #openframeworks

| Channels | #openframeworks index | Today | | Search | Google Search | Plain-Text | summary