2014-07-01.log

--- Log opened Tue Jul 01 00:00:36 2014
--- Day changed Tue Jul 01 2014
-!- ielo_ [~ielo@host-89-243-42-169.as13285.net] has quit [Ping timeout: 272 seconds]00:00
-!- gully_foyle_ja [~theghosto@pool-71-116-68-251.snfcca.dsl-w.verizon.net] has joined ##hplusroadmap00:14
-!- SolGr [~SolGr@c-50-166-90-49.hsd1.nj.comcast.net] has joined ##hplusroadmap00:30
-!- _sol_ [SolGr@c-50-166-90-49.hsd1.nj.comcast.net] has quit [Ping timeout: 245 seconds]00:31
-!- joepie91_ [5064fe45@gateway/web/freenode/ip.80.100.254.69] has joined ##hplusroadmap00:36
-!- ielo_ [~ielo@host-89-243-42-169.as13285.net] has joined ##hplusroadmap00:49
-!- petraya [~asakharov@24.60.79.55] has left ##hplusroadmap []00:56
-!- bkero [~bkero@osuosl/staff/bkero] has quit [Remote host closed the connection]01:05
-!- bkero [~bkero@osuosl/staff/bkero] has joined ##hplusroadmap01:06
-!- chris_99 [~chris_99@unaffiliated/chris-99/x-3062929] has quit [Quit: Leaving]01:10
-!- ielo_ [~ielo@host-89-243-42-169.as13285.net] has quit [Ping timeout: 244 seconds]01:17
-!- sapiosexual [~sapiosexu@d75-156-90-46.bchsia.telus.net] has quit [Ping timeout: 244 seconds]01:19
-!- gully_foyle_ja [~theghosto@pool-71-116-68-251.snfcca.dsl-w.verizon.net] has quit [Quit: Leaving]01:36
-!- [nsh] [~unf@wikipedia/nsh] has quit [Ping timeout: 240 seconds]01:55
-!- TeMPOraL [~user@89-68-70-120.dynamic.chello.pl] has joined ##hplusroadmap02:01
-!- kyknos_ [~kyknos@89.233.130.143] has quit [Ping timeout: 240 seconds]02:24
-!- chris_99 [~chris_99@unaffiliated/chris-99/x-3062929] has joined ##hplusroadmap02:34
-!- kyknos_ [~kyknos@89.233.130.143] has joined ##hplusroadmap02:36
-!- [nsh] [~unf@wikipedia/nsh] has joined ##hplusroadmap02:42
-!- [nsh] [~unf@wikipedia/nsh] has quit [Max SendQ exceeded]02:43
-!- [nsh] [~unf@wikipedia/nsh] has joined ##hplusroadmap02:44
-!- TeMPOraL [~user@89-68-70-120.dynamic.chello.pl] has quit [Ping timeout: 260 seconds]02:48
-!- ThomasEgi [~thomas@panda3d/ThomasEgi] has quit [Remote host closed the connection]02:56
-!- lichen [~lichen@c-50-139-11-6.hsd1.or.comcast.net] has joined ##hplusroadmap03:15
-!- SolGr is now known as _sol_04:07
-!- yorick [~yorick@oftn/member/yorick] has joined ##hplusroadmap04:42
-!- AshleyWaffle_ [~waffle@gateway/tor-sasl/anastasiawyatt] has quit [Ping timeout: 264 seconds]04:50
-!- seba- [~hel1@unaffiliated/seba-] has quit [Read error: Connection reset by peer]05:00
-!- seba- [~hel1@cpe-90-157-233-7.static.amis.net] has joined ##hplusroadmap05:02
-!- TeMPOraL` [~user@89-68-70-120.dynamic.chello.pl] has joined ##hplusroadmap05:13
-!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds]05:22
-!- Viper168 [~Viper@unaffiliated/viper168] has joined ##hplusroadmap05:30
-!- catern [~catern@catern.com] has quit [Ping timeout: 244 seconds]05:41
-!- catern [~catern@catern.com] has joined ##hplusroadmap05:42
-!- eudoxia [~eudoxia@179.26.179.111] has joined ##hplusroadmap06:00
kanzureeudoxia: ping06:07
eudoxiahello06:10
yoleaux01:15Z <kanzure> eudoxia: < paperbot> RuntimeError: maximum recursion depth exceeded (file "/usr/lib/python2.7/_weakrefset.py", line 72, in __contains__)06:10
eudoxiais that the garbage collector recurring infinitely06:10
eudoxiaomg06:10
gradstudentbotI am sponsored by Thermo Fisher.06:11
-!- souljack [~souljack@host86-161-220-176.range86-161.btcentralplus.com] has quit [Quit: Lost terminal]06:13
kanzureit's the response to your paperbutt request06:18
eudoxiathat was nmz78706:19
kanzuredoh06:19
kanzuresorry then06:19
kanzure"Nevertheless, just releasing OSS is NOT an exempt purpose. If you read the IRS regulations, they are very specific as to what a core exempt purpose is. You'll need to pick one that fits best. Generally speaking, it's 1) Church stuff 2) Scientific advancement and research 3) Furthering of the arts 4) Education 5) "Charity," meaning helping people who are disadvantaged in some way 6) Some others that I'm not remembering."06:19
kanzure"If you're working with an OSS community, it's important to note that giving stuff away != a charity. You need to emphasize that you are working specifically for the underprivileged. Even if you have an underprivileged community that you are serving, if you serve all comers it could easily seem as if it was self-serving to donors"06:20
kanzure"If what you want to do is just be tax-exempt -- but not have tax deductible donations -- that's a much easier thing to do. A 501(c)6 may serve any community, so long as it gets most of its funding from donations or membership dues. That's how the Linux Foundation handles it. It's less desirable, but it will prevent you having to pay tons of back taxes."06:21
kanzure"The Apache Software Foundation has a scientific exemption, and IPython is fiscally-sponsored by NumFocus (http://numfocus.org) which has a scientific exemption as well."06:22
kanzure"'You have a substantial nonexempt purpose because you develop software published under open source compatible licenses that authorize use by any person for any purpose, including nonexempt purposes such as commercial, recreational, or personal purposes, including campaign intervention and lobbying.'. By this logic, all non-profit educational entities should be disqualified because things people learn through their programs might later be ...06:23
kanzure... used by those people to make a profit."06:23
-!- drewbot [~cinch@ec2-54-224-132-209.compute-1.amazonaws.com] has quit [Remote host closed the connection]06:24
-!- drewbot [~cinch@ec2-54-221-188-209.compute-1.amazonaws.com] has joined ##hplusroadmap06:24
kanzurefrom https://news.ycombinator.com/item?id=796911206:25
-!- sheena [~home@S0106c8fb265c5056.gv.shawcable.net] has quit [Ping timeout: 264 seconds]06:32
kanzure.wik SGP406:56
yoleaux"Simplified perturbations models are a set of five mathematical models (SGP, SGP4, SDP4, SGP8 and SDP8) used to calculate orbital state vectors of satellites and space debris relative to the Earth-centered inertial coordinate system." — http://en.wikipedia.org/wiki/SGP406:56
-!- [nsh] [~unf@wikipedia/nsh] has quit [Ping timeout: 248 seconds]07:29
-!- GabrielRuiz [~Gabriel@c-107-4-148-59.hsd1.va.comcast.net] has quit [Quit: Leaving]07:31
-!- catern [~catern@catern.com] has quit [Ping timeout: 252 seconds]07:37
-!- catern [~catern@catern.com] has joined ##hplusroadmap07:42
-!- catern [~catern@catern.com] has quit [Ping timeout: 240 seconds]08:01
-!- catern [~catern@catern.com] has joined ##hplusroadmap08:02
-!- ebowden_ [~ebowden@CPE-60-231-182-1.lns4.dav.bigpond.net.au] has joined ##hplusroadmap08:14
-!- ebowden [~ebowden@CPE-60-231-182-1.lns4.dav.bigpond.net.au] has quit [Ping timeout: 248 seconds]08:17
-!- chris_99 [~chris_99@unaffiliated/chris-99/x-3062929] has quit [Quit: Leaving]08:39
-!- kumavis [~kumavis@107-219-148-42.lightspeed.sntcca.sbcglobal.net] has joined ##hplusroadmap08:41
-!- petraya [~asakharov@24.60.79.55] has joined ##hplusroadmap08:51
kanzurehttp://www.makerbeam.eu/epages/63128753.sf/en_GB/?ObjectPath=/Shops/63128753/Products/01mbtbkitreg08:53
kanzure"consists of 50 beams, 60 brackets, a bag of bolts and nuts and a hex nut driver"08:54
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has quit [Ping timeout: 248 seconds]08:55
-!- justanotheruser [~andrew@128.211.171.1] has joined ##hplusroadmap09:07
-!- justanotheruser [~andrew@128.211.171.1] has quit [Changing host]09:09
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has joined ##hplusroadmap09:09
-!- joepie91__ [5064fe45@gateway/web/freenode/ip.80.100.254.69] has joined ##hplusroadmap09:12
-!- joepie91_ [5064fe45@gateway/web/freenode/ip.80.100.254.69] has quit [Ping timeout: 246 seconds]09:12
-!- joepie91_ [5064fe45@gateway/web/freenode/ip.80.100.254.69] has joined ##hplusroadmap09:18
-!- joepie91__ [5064fe45@gateway/web/freenode/ip.80.100.254.69] has quit [Ping timeout: 246 seconds]09:19
-!- chris_99 [~chris_99@unaffiliated/chris-99/x-3062929] has joined ##hplusroadmap09:23
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has quit [Ping timeout: 248 seconds]09:27
kanzureParahSailin: i think swig or cython plus opennurbs is a good place to start09:30
ParahSailinwe like opennurbs the best?09:30
kanzurewell...09:30
kanzurethere are too many options that aren't fitting in my head09:31
kanzureopennurbs is C++, which makes it annoying to bind or wrap09:31
-!- justanotheruser [~andrew@128.211.171.1] has joined ##hplusroadmap09:31
kanzureand the rhino people stripped out the juicy parts related to intersections and boolean operations09:31
-!- justanotheruser [~andrew@128.211.171.1] has quit [Changing host]09:31
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has joined ##hplusroadmap09:31
kanzurehowever, brlcad's implementation of intersections and boolean operations is based on opennurbs' data structures09:31
kanzure(opennurbs is vendorized in brlcad)09:31
kanzurehttp://gnusha.org/logs/2010-08-11.log09:32
kanzure10:34 < kanzure> okay, so, i was trying to swig opennurbs and i found someone who attempted it a while back09:32
ParahSailinswig is at least doable09:32
kanzure10:34 < kanzure> (and the resulting file)09:32
kanzure10:35 < kanzure> i've finally got it down to only a handful of errors when compiling the _opennurbs.so object09:32
kanzure10:35 < kanzure> for instance: opennurbs_wrap.cxx:(.text+0xa6bb2): undefined reference to `ON_UuidIndexList::Write(ON_BinaryArchive&) const'09:32
kanzure10:36 < kanzure> there's about 8 of those left, but there were originally 20 of those and i made them vanish by adding %ignore lines to the swig interface file (but apparently %ignore didn't work for these few remaining issues?)09:32
kanzure11:59 < kanzure> ooh it worked: g++ -c ../opennurbs/*.cpp opennurbs_wrap.cxx -I/usr/include/python2.5/ -I/usr/lib/python2.5/ -L. -lpython2.5 -lopenNURBS -lGLU -lGL -lglut -lXmu -lXi -lXext -lX11 2>&109:32
kanzure11:59 < kanzure> but i had to manually edit opennurbs_wrap.cxx because the %ignore statements didn't take effect >:o09:33
kanzure12:51 < kanzure> >> import opennurbs09:33
kanzure12:51 < kanzure> success.. but i didn't bother to check if ON_GL was in the swig interface definition >_< so there's no opengl stuff included09:33
kanzurehuh i don't remember that working09:33
gradstudentbotThat would be highly informative, wouldn't it?09:34
ParahSailinwhy did it need all those X11 things to link to09:35
ParahSailinopennurbs isnt just pure computation, and includes display as well?09:36
kanzureyeah there's a opennurbs_gl.cpp and opennurbs_gl.h09:39
-!- kumavis [~kumavis@107-219-148-42.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 255 seconds]09:39
kanzurehttps://github.com/kanzure/brlcad/tree/master/src/other/openNURBS09:40
kanzureit includes GL/gl.h and GL/glu.h09:40
kanzurehttps://github.com/kanzure/brlcad/blob/master/src/other/openNURBS/opennurbs_gl.cpp09:41
kanzurethe one that accepts ON_BrepFace seems to be the important one09:42
kanzureit performs mesh = face.Mesh(ON::render_mesh) or it performs "(slow and buggy) glu trimmed NURBS rendering" based on gluNurbsSurface in the ON_GL that uses ON_NurbsSurface09:43
kanzurethe other reason was because i didn't know which libraries would make it work, so i was trying basically anything :(09:45
ParahSailinis it possible to compile a so that doesnt have those?09:45
-!- ielo_ [~ielo@host-92-24-42-131.ppp.as43234.net] has joined ##hplusroadmap09:45
kanzureoh, probably. worst case scenario is just remove the ON_GL code i think. i doubt it's referenced a bunch. could also be a preprocessor ifdef thing.09:45
ParahSailinlike, using normal CPP things09:46
kanzurein fact, ON_GL only shows up in opennurbs_gl.cpp and opennurbs_gl.h09:47
kanzureand the makefile09:47
ParahSailinah, so just to autoconf disable09:47
kanzurei wonder why i tried to use their opengl stuff09:49
kanzurethat whole file can very easily be written in python and use python opengl things09:49
-!- joepie91_ [5064fe45@gateway/web/freenode/ip.80.100.254.69] has quit [Ping timeout: 246 seconds]10:04
-!- justanot1eruser [~andrew@128.211.171.1] has joined ##hplusroadmap10:24
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has quit [Ping timeout: 240 seconds]10:26
-!- justanotheruser [~andrew@128.211.171.1] has joined ##hplusroadmap10:26
-!- ThomasEgi [~thomas@185.5.8.81] has joined ##hplusroadmap10:26
-!- justanotheruser [~andrew@128.211.171.1] has quit [Changing host]10:26
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has joined ##hplusroadmap10:26
-!- ThomasEgi [~thomas@185.5.8.81] has quit [Changing host]10:26
-!- ThomasEgi [~thomas@panda3d/ThomasEgi] has joined ##hplusroadmap10:26
-!- justanot2eruser [~andrew@128.211.171.1] has joined ##hplusroadmap10:27
-!- justanot1eruser [~andrew@128.211.171.1] has quit [Ping timeout: 244 seconds]10:29
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has quit [Ping timeout: 252 seconds]10:31
-!- justanot2eruser [~andrew@128.211.171.1] has quit [Ping timeout: 240 seconds]10:31
-!- ebowden_ [~ebowden@CPE-60-231-182-1.lns4.dav.bigpond.net.au] has quit [Remote host closed the connection]10:32
-!- justanotheruser [~andrew@128.211.171.1] has joined ##hplusroadmap10:32
-!- justanotheruser [~andrew@128.211.171.1] has quit [Changing host]10:35
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has joined ##hplusroadmap10:35
-!- nmz787_i [nmccorkx@nat/intel/x-qziktkinywadsbpk] has joined ##hplusroadmap10:58
-!- catern [~catern@catern.com] has quit [Ping timeout: 255 seconds]11:04
-!- catern [~catern@catern.com] has joined ##hplusroadmap11:07
-!- catern [~catern@catern.com] has quit [Ping timeout: 260 seconds]11:12
-!- catern [~catern@catern.com] has joined ##hplusroadmap11:13
-!- catern [~catern@catern.com] has quit [Ping timeout: 260 seconds]11:17
-!- catern [~catern@catern.com] has joined ##hplusroadmap11:18
-!- Guest23805 [~quassel@50-0-36-179.dsl.dynamic.sonic.net] has quit [Quit: No Ping reply in 180 seconds.]11:20
-!- kuldeepdhaka [~kuldeepdh@unaffiliated/kuldeepdhaka] has joined ##hplusroadmap11:21
kanzurestrange pile of python (not quite opennurbs) https://github.com/mcneel/rhinopython/tree/master/scripts/rhinoscript11:23
-!- catern [~catern@catern.com] has quit [Ping timeout: 252 seconds]11:23
-!- catern [~catern@catern.com] has joined ##hplusroadmap11:24
dingomy favorite new python proj is https://github.com/GreenSteam/pep257/11:26
-!- eudoxia [~eudoxia@179.26.179.111] has quit [Quit: Lost terminal]11:28
kanzureno way, every docstring should have 10000 extra spaces11:29
kanzure"Docstring {under,over}-indented."11:30
kanzure"Put multi-line docstring closing quotes on separate line."11:30
kanzurehuh u""" is py2 only? what about 3 :(11:30
kanzureoh right, unicode.11:30
kanzureok11:30
dingopy 3.3+ allows u"""11:31
dingopy >3 < 3.3 does not11:31
kanzuredoes anyone still use doctests?11:32
dpkpaperbot: http://dx.doi.org/10.1177/036168431039769811:32
paperbothttp://diyhpl.us/~bryan/papers2/paperbot/b21dc2045769622310ac49da6973852b.txt11:33
dpkpaperbot: http://pwq.sagepub.com/content/early/2011/04/12/036168431039769811:33
paperbothttp://diyhpl.us/~bryan/papers2/paperbot/Leaks%2C%20Lumps%2C%20and%20Lines%3A%20Stigma%20and%20Women%27s%20Bodies.pdf11:34
-!- ybit2 [458a3354@gateway/web/freenode/ip.69.138.51.84] has joined ##hplusroadmap11:55
ybit2nasa ames is about to hear this pitch11:55
ybit2https://docs.google.com/document/d/1Ll_ONc357_T0ousSxknu3tUfk33TK-0VyoBKT9W9D9w/edit11:55
ybit2"""11:58
ybit2NASA Ames's interest in the project is that they are seeking technologies to develop a <$2 billion/year operating cost lunar base. So they want people with tech. This is about offering access to the maker/hacker community as tech developers. Similar to SpaceGAMBIT and DARPA collaborating to fund hackerspaces working on aerospace technologies."""11:58
ybit2"""11:58
ybit2Now it would be NASA Ames, the lunar hackerbase and partners. NASA funds the endeavor. They get tech developed via the open-source community of hackers/makers.11:58
ybit2"""11:58
ybit2"""11:59
ybit2Now it would be NASA Ames, the lunar hackerbase and partners. NASA funds the endeavor. They get tech developed via the open-source community of hackers/makers.11:59
ybit2"""11:59
kanzurearen't there simpler ways for nasa to get open source technology development other than a lunar colony?11:59
ybit2wrong paste11:59
ybit2"""I am thinking of starting with the relationship infrastructure, then pitching the project as a lunar base's version of the Open-Source Ecology website"""12:00
ybit2maybe12:00
kanzurei think these people should focus their efforts on a general proposal to get nasa more vested in producing open source technology (it could include specifics like "funding hackerspaces" or whatever, i don't care)12:01
-!- kuldeepdhaka [~kuldeepdh@unaffiliated/kuldeepdhaka] has quit [Ping timeout: 272 seconds]12:14
-!- nmz787_i [nmccorkx@nat/intel/x-qziktkinywadsbpk] has quit [Quit: Leaving.]12:16
-!- kuldeepdhaka [~kuldeepdh@unaffiliated/kuldeepdhaka] has joined ##hplusroadmap12:26
-!- catern [~catern@catern.com] has quit [Ping timeout: 244 seconds]12:31
-!- catern [~catern@catern.com] has joined ##hplusroadmap12:32
-!- nmz787_i [nmccorkx@nat/intel/x-hnyzokcrdnrzidcm] has joined ##hplusroadmap12:34
-!- catern [~catern@catern.com] has quit [Ping timeout: 264 seconds]12:37
-!- catern [~catern@catern.com] has joined ##hplusroadmap12:47
-!- nmz787_i1 [~nmccorkx@134.134.139.72] has joined ##hplusroadmap12:59
-!- nmz787_i [nmccorkx@nat/intel/x-hnyzokcrdnrzidcm] has quit [Ping timeout: 244 seconds]13:02
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has quit [Ping timeout: 264 seconds]13:03
-!- justanotheruser [~andrew@c-50-129-87-238.hsd1.in.comcast.net] has joined ##hplusroadmap13:14
-!- catern [~catern@catern.com] has quit [Ping timeout: 264 seconds]13:17
-!- mokstar [~Mookaborb@c-24-21-241-171.hsd1.or.comcast.net] has joined ##hplusroadmap13:23
-!- mokstar [~Mookaborb@c-24-21-241-171.hsd1.or.comcast.net] has quit [Changing host]13:23
-!- mokstar [~Mookaborb@unaffiliated/mokstar] has joined ##hplusroadmap13:23
-!- catern [~catern@catern.com] has joined ##hplusroadmap13:24
-!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 264 seconds]13:33
-!- Viper168 [~Viper@unaffiliated/viper168] has joined ##hplusroadmap13:39
-!- hehelleshin [~talinck@66-161-138-110.ubr1.dyn.lebanon-oh.fuse.net] has joined ##hplusroadmap13:51
-!- helleshin [~talinck@66-161-138-110.ubr1.dyn.lebanon-oh.fuse.net] has quit [Ping timeout: 252 seconds]13:52
-!- helleshin [~talinck@66-161-138-110.ubr1.dyn.lebanon-oh.fuse.net] has joined ##hplusroadmap13:56
-!- chris_99 [~chris_99@unaffiliated/chris-99/x-3062929] has quit [Quit: Leaving]13:58
-!- hehelleshin [~talinck@66-161-138-110.ubr1.dyn.lebanon-oh.fuse.net] has quit [Ping timeout: 260 seconds]13:58
-!- helleshin [~talinck@66-161-138-110.ubr1.dyn.lebanon-oh.fuse.net] has quit [Ping timeout: 260 seconds]14:03
-!- helleshin [~talinck@66-161-138-110.ubr1.dyn.lebanon-oh.fuse.net] has joined ##hplusroadmap14:03
-!- justanotheruser [~andrew@c-50-129-87-238.hsd1.in.comcast.net] has quit [Changing host]14:29
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has joined ##hplusroadmap14:29
-!- ielo_ [~ielo@host-92-24-42-131.ppp.as43234.net] has quit [Ping timeout: 240 seconds]14:33
-!- ybit2 [458a3354@gateway/web/freenode/ip.69.138.51.84] has quit [Quit: Page closed]14:36
-!- kuldeepdhaka [~kuldeepdh@unaffiliated/kuldeepdhaka] has quit [Ping timeout: 264 seconds]14:37
-!- nmz787_i [~nmccorkx@192.55.55.37] has joined ##hplusroadmap14:39
-!- nmz787_i1 [~nmccorkx@134.134.139.72] has quit [Ping timeout: 272 seconds]14:40
-!- seba- [~hel1@cpe-90-157-233-7.static.amis.net] has quit [Changing host]14:46
-!- seba- [~hel1@unaffiliated/seba-] has joined ##hplusroadmap14:46
-!- drazak_ is now known as drazak14:51
-!- kuldeepdhaka [~kuldeepdh@unaffiliated/kuldeepdhaka] has joined ##hplusroadmap14:53
-!- kuldeepdhaka [~kuldeepdh@unaffiliated/kuldeepdhaka] has quit [Read error: Connection reset by peer]14:53
-!- augur_ [~augur@216-164-48-148.c3-0.slvr-ubr1.lnh-slvr.md.cable.rcn.com] has quit [Remote host closed the connection]15:20
-!- EnLilaSko [EnLilaSko@unaffiliated/enlilasko] has quit [Remote host closed the connection]15:46
-!- kumavis [~kumavis@107-219-148-42.lightspeed.sntcca.sbcglobal.net] has joined ##hplusroadmap15:59
-!- nshlike [~unf@wikipedia/nsh] has joined ##hplusroadmap16:00
kanzureargh swig16:19
-!- nshlike [~unf@wikipedia/nsh] has quit [Ping timeout: 255 seconds]16:23
-!- nshlike [~unf@wikipedia/nsh] has joined ##hplusroadmap16:25
-!- kumavis [~kumavis@107-219-148-42.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 264 seconds]16:28
-!- mokstar [~Mookaborb@unaffiliated/mokstar] has quit [Ping timeout: 272 seconds]16:31
kanzurewhy is this not exiting? g++ -fPIC -c opennurbs_wrap.cxx -c *.cpp -I/usr/include/python2.716:32
kanzureah it just takes a few minutes. wtf.16:34
ParahSailinthats normal16:36
ParahSailini bet it eats like 3 GB of ram too16:36
-!- yashgaroth [~ffffff@cpe-76-167-105-53.san.res.rr.com] has joined ##hplusroadmap16:39
kanzureImportError: ./_opennurbs.so: undefined symbol: _ZN12ON_NurbsCage8ClampEndEii16:45
-!- nmz787_i [~nmccorkx@192.55.55.37] has quit [Ping timeout: 264 seconds]16:48
kanzureImportError: ./_opennurbs.so: undefined symbol: _ZN8ON_Group19m_ON_Group_class_idE16:53
kanzurewhy am i getting different errors?16:53
dingo:D16:54
ParahSailinso you compiled the so with the same source you made swig with?16:54
kanzureyes16:55
kanzureswig -classic -cpperraswarn -c++ -python opennurbs.i16:55
kanzureg++ -fPIC -c opennurbs_wrap.cxx -c *.cpp -I/usr/include/python2.716:55
kanzureg++ -shared libopenNURBS.a opennurbs_wrap.o -o _opennurbs.so16:56
-!- kumavis [~kumavis@107-219-148-42.lightspeed.sntcca.sbcglobal.net] has joined ##hplusroadmap16:58
-!- seba- [~hel1@unaffiliated/seba-] has quit [Read error: No route to host]17:00
kanzureImportError: ./_opennurbs.so: undefined symbol: _ZN11ON_Viewport15DefaultNearDistE17:01
kanzureargh17:01
-!- seba- [~hel1@cpe-90-157-233-7.static.amis.net] has joined ##hplusroadmap17:01
kanzurei'm p. sure opennurbs_viewport.cpp is included in here somewhere17:01
-!- augur [~augur@c-69-250-22-85.hsd1.md.comcast.net] has joined ##hplusroadmap17:02
-!- yorick [~yorick@oftn/member/yorick] has quit [Remote host closed the connection]17:02
-!- augur [~augur@c-69-250-22-85.hsd1.md.comcast.net] has quit [Remote host closed the connection]17:04
-!- juri_ [~juri@vpn166.sdf.org] has quit [Ping timeout: 260 seconds]17:28
ParahSailinoh is that what the so is?17:36
ParahSailinwhat happens when you make the opennurbs.so using normal makefile that came with opennurbs17:36
ParahSailinlike, is there something in ./configure to --enable-shared to make libopenNURBS.so?17:37
-!- juri_ [~juri@vpn166.sdf.org] has joined ##hplusroadmap17:40
-!- ebowden [~ebowden@CPE-60-231-182-1.lns4.dav.bigpond.net.au] has joined ##hplusroadmap17:45
kanzureit's cmake17:50
kanzureIF(NOT DEFINED BUILD_SHARED_LIBS) set(BUILD_SHARED_LIBS ON) ENDIF(NOT DEFINED BUILD_SHARED_LIBS)17:50
-!- eudoxia [~eudoxia@r186-54-84-225.dialup.adsl.anteldata.net.uy] has joined ##hplusroadmap17:55
-!- mokstar [~Mookaborb@unaffiliated/mokstar] has joined ##hplusroadmap18:01
-!- kumavis [~kumavis@107-219-148-42.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 240 seconds]18:05
kanzureParahSailin: you're claim is i'm linking too many things?18:21
kanzuremultiple definitions?18:21
eudoxiasomebody should write a thing that takes a C++ .hpp and creates a raw C file that wraps it, so it can more easily be bound from another language18:21
eudoxiasomebody preferably not me18:21
ParahSailinthats swig18:22
eudoxiai meant something that comes before the actual "emit bindings for language X" part18:22
ParahSailinthats swig18:22
kanzure"Although the main branch of SWIG cannot generate C wrappers for C++ API (the SWIG documentation quoted in the question is a bit misleading), there is a SWIG branch created during Google Summer of Code 2008 and available at https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-maciekd/ which does just that."18:23
eudoxiaoh cool18:23
ParahSailinkanzure: i dunno what the cmake puts in the ar for static linking18:23
ParahSailintheres usually crazy differences between the .a and the .so for name mangling reasons18:25
kanzurebtw i'm just using brlcad's src/other/openNURBS/ separately (cmake && make)18:25
kanzureyeah there's a .a too18:25
kanzureg++ -shared libopenNURBS.a opennurbs_*.o -o _opennurbs.so -lGLU -lGL18:26
kanzureimport opennurbs -> ImportError: ./_opennurbs.so: undefined symbol: _ZN12ON_NurbsCage8ClampEndEii18:26
ParahSailintry linking to the so instead?18:27
ParahSailinmight just do the same thing, but in my yak shaving experience, thats always the second thing to try18:28
kanzureImportError: libopenNURBS.so.2012.10.245: cannot open shared object file: No such file or directory18:28
kanzurether'es a libopenNURBS.so.2012.10.245 in the local directory18:28
kanzureand if i set LD_LIBRARY_PATH=`pwd`, i get the same ImportError anyway: ImportError: ./_opennurbs.so: undefined symbol: _ZN12ON_NurbsCage8ClampEndEii18:29
ParahSailing++ -shared -L. -lopenNURBS opennurbs_*.o -o _opennurbs.so -lGLU -lGL18:29
ParahSailinah, was worth a try18:30
ParahSailinwait thats a different error than before18:30
kanzurehttp://diyhpl.us/~bryan/irc/brlcad-opennurbs.zip18:33
kanzurecmake . && make18:33
kanzurethen run these three:18:33
kanzureswig -classic -cpperraswarn -c++ -python opennurbs.i18:33
kanzureg++ -fPIC -c opennurbs_wrap.cxx -c *.cpp -I/usr/include/python2.718:33
kanzureg++ -shared libopenNURBS.a opennurbs_wrap.o -o _opennurbs.so (or whatever..)18:33
-!- TeMPOraL` [~user@89-68-70-120.dynamic.chello.pl] has quit [Ping timeout: 248 seconds]18:42
ParahSailinthat is weird, i have actual symbol "_ZN13ON_NurbsCage8ClampEndEii" in the file, but i am looking for "_ZN12ON_NurbsCage8ClampEndEii" instead18:53
-!- eudoxia [~eudoxia@r186-54-84-225.dialup.adsl.anteldata.net.uy] has quit [Quit: Lost terminal]18:55
kanzure.cdecl _ZN13ON_NurbsCage8ClampEndEii19:01
kanzure.decl _ZN13ON_NurbsCage8ClampEndEii19:01
* kanzure oofs19:01
kanzuremaybe there's an extra function signature somewhere19:07
ParahSailinwtf, in opennurbs_nurbssurface.o the symbol table entry for the ClampEnd shit actually shows up with the column saying "undefined"19:11
ParahSailinnevermind, different ClampEnd19:12
ParahSailiner i dont find anything that defines NurbsCage ClampEnd19:15
ParahSailinit seems like that would be in _nurbsvolume19:15
ParahSailinbecause thats where all his friends are19:15
kanzurewhere is it coming from if it has no function definition?19:16
-!- Vutral [~ss@mirbsd/special/Vutral] has joined ##hplusroadmap19:16
-!- mokstar [~Mookaborb@unaffiliated/mokstar] has quit [Read error: Connection reset by peer]19:17
-!- mokstar [~Mookaborb@unaffiliated/mokstar] has joined ##hplusroadmap19:18
ParahSailinso its actually a thingy in nurbssurface.h but not actually defined in the cxx file19:21
ParahSailinwacky fun19:22
ParahSailinserious19:22
ParahSailinso if you nm -C your object file and awk '($1=="U"){print}' you get a handy list of symbols that are defined in .h files but not actually defined19:25
ParahSailinmanually delete these from your swig shit http://lpaste.net/10676819:27
kanzurewhat about this one? U operator new[](unsigned long)@@GLIBCXX_3.419:28
kanzurei'm thinking something like this: http://hastebin.com/pizimunaso.i19:29
kanzurebut dunno how to deal with your new[] operator19:30
ParahSailindont delete that obviously19:30
ParahSailinit snuck into my paste19:31
kanzurewell now i get: ImportError: ./_opennurbs.so: undefined symbol: _ZNK7ON_Mesh20GetClashingFacePairsEiR14ON_SimpleArrayI10tagON_2dexE19:37
kanzurei had: %ignore ON_Mesh::GetClashingFacePairs(int, ON_SimpleArray<tagON_2dex>&);19:37
-!- kumavis [~kumavis@107-219-148-42.lightspeed.sntcca.sbcglobal.net] has joined ##hplusroadmap19:37
-!- nshlike [~unf@wikipedia/nsh] has quit [Ping timeout: 272 seconds]19:43
ParahSailinoh, python just doesnt like to import anything where there are undefined symbols19:44
ParahSailinyou gotta do dlopen with non-default params19:45
ParahSailinbecause normal import expects the so to be well-behaved19:46
kanzuremaybe there's a way to not include undefined symbols at compile time19:46
-!- kumavis [~kumavis@107-219-148-42.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 255 seconds]19:46
ParahSailinclearly you need to make a cxx file that defines all of those functions as return NULL19:47
kanzureugh19:48
kanzureImportError: ./_opennurbs.so: undefined symbol: _ZNK13ON_NurbsCurve10IsSingularEv19:49
kanzurewas your list incomplete?19:49
ParahSailinoh, so yeah it is19:50
kanzurea warning would have been nice19:50
ParahSailinthe ON shit is interspersed with libstdc++ and python undefined symbols19:50
kanzuremy hopes were up and everything19:50
ParahSailinhttp://lpaste.net/10677019:51
ParahSailinthat was with nm -C slut.so | mawk '($1=="U" && substr($2,1,2)=="ON"){print}'19:51
ParahSailinthat might be missing some still19:51
ParahSailinerm actuall i got it all the first time19:52
gradstudentbotThat result wasn't repeatable.19:55
kanzureoh brother19:56
kanzurefuck me19:56
kanzurehttp://swig.10945.n7.nabble.com/How-do-I-get-rid-of-these-undefined-symbols-in-the-generated-output-td3265.html19:56
ParahSailini wonder what happens when i delete those from the .h files19:57
-!- cpopell_ [4c1a9084@gateway/web/freenode/ip.76.26.144.132] has joined ##hplusroadmap20:01
cpopell_hey kanzure, have you used qiqqa?20:01
kanzureno, but bug joepie91 when he's around20:01
cpopell_k20:02
cpopell_trying to figure out how qiqqa and mendeley/zotero stack up for my needs20:02
kanzurepaperbot is powered by zotero20:02
cluckjzotero is alright20:05
kanzureParahSailin: i feel pretty stupid that there is an exact email about "problems related to wrapping opennurbs with swig for python, in particular the exact problem that we're talking about"20:05
-!- HEx2 [~HEx@hexwab.plus.com] has quit [Ping timeout: 264 seconds]20:05
ParahSailinyou mean you for 5 years ago?20:05
kanzurehm?20:05
ParahSailinthe thing you just linked?20:06
kanzureyeah20:06
kanzuresomeone had this exact problem20:06
kanzureImportError: ./_opennurbs.so: undefined symbol: _ZNK13ON_NurbsCurve10IsSingularEv20:16
kanzureeven though i had %ignore ON_NurbsCurve::IsSingular;20:16
ParahSailinso apparently i dont know how to use %ignore because that shit is still appearing in the cxx file20:17
kanzure"You probably aren't using %ignore correctly. Make sure the %ignore is20:18
kanzurebefore SWIG parses the definition of the symbol. "20:18
kanzurefuck20:18
ParahSailinnormally you add stuff to the bottom of the file for precedence20:19
ParahSailinin swig every day is opposite day20:19
kanzureImportError: ./_opennurbs.so: undefined symbol: _ZNK12ON_NurbsCage9SpanCountEi20:21
kanzure%ignore ON_NurbsCage::SpanCount(int);20:21
ParahSailinwhat the hell _ZNK7ON_Mesh20GetClashingFacePairsEiR14ON_SimpleArrayI10tagON_2dexE20:23
-!- catern [~catern@catern.com] has quit [Ping timeout: 244 seconds]20:28
-!- catern [~catern@catern.com] has joined ##hplusroadmap20:29
kanzuregot it.. http://diyhpl.us/~bryan/irc/opennurbs/brlcad-opennurbs2.zip20:30
ParahSailindicking around with %ignore stuff?20:31
kanzureyep20:31
ParahSailinturns out you cant put them all at the top either20:31
ParahSailinyou just cant win20:31
ParahSailindo you have to actually intersperse them throughout the file?20:31
kanzurei put them at the top20:32
ParahSailini put them at the top too20:32
kanzurei removed the exact signatures and just blasted away all signatures for functions with the same name20:32
-!- catern [~catern@catern.com] has quit [Ping timeout: 248 seconds]20:34
ParahSailinwhat a waste20:37
-!- catern [~catern@catern.com] has joined ##hplusroadmap20:43
-!- catern [~catern@catern.com] has quit [Ping timeout: 260 seconds]20:47
-!- catern [~catern@catern.com] has joined ##hplusroadmap20:53
kanzure?20:57
cpopell_http://tuvalu.santafe.edu/~bn/reading_group/Huberman.pdf20:59
-!- ebowden [~ebowden@CPE-60-231-182-1.lns4.dav.bigpond.net.au] has quit [Remote host closed the connection]21:03
-!- catern [~catern@catern.com] has quit [Ping timeout: 260 seconds]21:04
-!- ebowden [~ebowden@CPE-60-231-182-1.lns4.dav.bigpond.net.au] has joined ##hplusroadmap21:07
-!- catern [~catern@catern.com] has joined ##hplusroadmap21:11
-!- sheena [~home@d154-20-226-28.bchsia.telus.net] has joined ##hplusroadmap21:13
kanzureParahSailin: now what?21:33
kanzurethat might be the tiredness talking. prolly stupid question.21:34
ParahSailinheh21:34
ParahSailinwhat is a brep anyway21:34
-!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 248 seconds]21:42
-!- cpopell_ [4c1a9084@gateway/web/freenode/ip.76.26.144.132] has quit [Ping timeout: 246 seconds]21:43
-!- Viper168 [~Viper@unaffiliated/viper168] has joined ##hplusroadmap21:50
-!- augur [~augur@216-164-48-148.c3-0.slvr-ubr1.lnh-slvr.md.cable.rcn.com] has joined ##hplusroadmap21:50
kanzurewho knows22:02
kanzuresomething about a boundary22:02
-!- lichen [~lichen@c-50-139-11-6.hsd1.or.comcast.net] has quit [Quit: Lost terminal]22:03
kanzurethis should be rewritten in c or python22:03
kanzureoh right, i was going to try cadquery things22:06
-!- yashgaroth [~ffffff@cpe-76-167-105-53.san.res.rr.com] has quit [Quit: Leaving]22:21
-!- mokstar [~Mookaborb@unaffiliated/mokstar] has quit [Ping timeout: 248 seconds]22:23
-!- nmz787_i [nmccorkx@nat/intel/x-xtajdicnnscfafnd] has joined ##hplusroadmap22:51
-!- petraya [~asakharov@24.60.79.55] has quit [Quit: quit]23:12
-!- EnLilaSko [EnLilaSko@unaffiliated/enlilasko] has joined ##hplusroadmap23:31
-!- ielo_ [~ielo@host-78-147-239-200.as13285.net] has joined ##hplusroadmap23:32
-!- nmz787_i [nmccorkx@nat/intel/x-xtajdicnnscfafnd] has quit [Quit: Leaving.]23:48
nmz787welp got an opporunity for part-time FIB operator work23:54
nmz787:)23:54
--- Log closed Wed Jul 02 00:00:52 2014

Generated by irclog2html.py 2.15.0.dev0 by Marius Gedminas - find it at mg.pov.lt!