--- 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 ##hplusroadmap | 00:14 | |
-!- SolGr [~SolGr@c-50-166-90-49.hsd1.nj.comcast.net] has joined ##hplusroadmap | 00: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 ##hplusroadmap | 00:36 | |
-!- ielo_ [~ielo@host-89-243-42-169.as13285.net] has joined ##hplusroadmap | 00: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 ##hplusroadmap | 01: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 ##hplusroadmap | 02: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 ##hplusroadmap | 02:34 | |
-!- kyknos_ [~kyknos@89.233.130.143] has joined ##hplusroadmap | 02:36 | |
-!- [nsh] [~unf@wikipedia/nsh] has joined ##hplusroadmap | 02:42 | |
-!- [nsh] [~unf@wikipedia/nsh] has quit [Max SendQ exceeded] | 02:43 | |
-!- [nsh] [~unf@wikipedia/nsh] has joined ##hplusroadmap | 02: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 ##hplusroadmap | 03:15 | |
-!- SolGr is now known as _sol_ | 04:07 | |
-!- yorick [~yorick@oftn/member/yorick] has joined ##hplusroadmap | 04: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 ##hplusroadmap | 05:02 | |
-!- TeMPOraL` [~user@89-68-70-120.dynamic.chello.pl] has joined ##hplusroadmap | 05:13 | |
-!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 252 seconds] | 05:22 | |
-!- Viper168 [~Viper@unaffiliated/viper168] has joined ##hplusroadmap | 05:30 | |
-!- catern [~catern@catern.com] has quit [Ping timeout: 244 seconds] | 05:41 | |
-!- catern [~catern@catern.com] has joined ##hplusroadmap | 05:42 | |
-!- eudoxia [~eudoxia@179.26.179.111] has joined ##hplusroadmap | 06:00 | |
kanzure | eudoxia: ping | 06:07 |
---|---|---|
eudoxia | hello | 06:10 |
yoleaux | 01:15Z <kanzure> eudoxia: < paperbot> RuntimeError: maximum recursion depth exceeded (file "/usr/lib/python2.7/_weakrefset.py", line 72, in __contains__) | 06:10 |
eudoxia | is that the garbage collector recurring infinitely | 06:10 |
eudoxia | omg | 06:10 |
gradstudentbot | I am sponsored by Thermo Fisher. | 06:11 |
-!- souljack [~souljack@host86-161-220-176.range86-161.btcentralplus.com] has quit [Quit: Lost terminal] | 06:13 | |
kanzure | it's the response to your paperbutt request | 06:18 |
eudoxia | that was nmz787 | 06:19 |
kanzure | doh | 06:19 |
kanzure | sorry then | 06: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 ##hplusroadmap | 06:24 | |
kanzure | from https://news.ycombinator.com/item?id=7969112 | 06:25 |
-!- sheena [~home@S0106c8fb265c5056.gv.shawcable.net] has quit [Ping timeout: 264 seconds] | 06:32 | |
kanzure | .wik SGP4 | 06: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/SGP4 | 06: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 ##hplusroadmap | 07:42 | |
-!- catern [~catern@catern.com] has quit [Ping timeout: 240 seconds] | 08:01 | |
-!- catern [~catern@catern.com] has joined ##hplusroadmap | 08:02 | |
-!- ebowden_ [~ebowden@CPE-60-231-182-1.lns4.dav.bigpond.net.au] has joined ##hplusroadmap | 08: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 ##hplusroadmap | 08:41 | |
-!- petraya [~asakharov@24.60.79.55] has joined ##hplusroadmap | 08:51 | |
kanzure | http://www.makerbeam.eu/epages/63128753.sf/en_GB/?ObjectPath=/Shops/63128753/Products/01mbtbkitreg | 08: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 ##hplusroadmap | 09:07 | |
-!- justanotheruser [~andrew@128.211.171.1] has quit [Changing host] | 09:09 | |
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has joined ##hplusroadmap | 09:09 | |
-!- joepie91__ [5064fe45@gateway/web/freenode/ip.80.100.254.69] has joined ##hplusroadmap | 09: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 ##hplusroadmap | 09: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 ##hplusroadmap | 09:23 | |
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has quit [Ping timeout: 248 seconds] | 09:27 | |
kanzure | ParahSailin: i think swig or cython plus opennurbs is a good place to start | 09:30 |
ParahSailin | we like opennurbs the best? | 09:30 |
kanzure | well... | 09:30 |
kanzure | there are too many options that aren't fitting in my head | 09:31 |
kanzure | opennurbs is C++, which makes it annoying to bind or wrap | 09:31 |
-!- justanotheruser [~andrew@128.211.171.1] has joined ##hplusroadmap | 09:31 | |
kanzure | and the rhino people stripped out the juicy parts related to intersections and boolean operations | 09:31 |
-!- justanotheruser [~andrew@128.211.171.1] has quit [Changing host] | 09:31 | |
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has joined ##hplusroadmap | 09:31 | |
kanzure | however, brlcad's implementation of intersections and boolean operations is based on opennurbs' data structures | 09:31 |
kanzure | (opennurbs is vendorized in brlcad) | 09:31 |
kanzure | http://gnusha.org/logs/2010-08-11.log | 09:32 |
kanzure | 10:34 < kanzure> okay, so, i was trying to swig opennurbs and i found someone who attempted it a while back | 09:32 |
ParahSailin | swig is at least doable | 09:32 |
kanzure | 10:34 < kanzure> (and the resulting file) | 09:32 |
kanzure | 10:35 < kanzure> i've finally got it down to only a handful of errors when compiling the _opennurbs.so object | 09:32 |
kanzure | 10:35 < kanzure> for instance: opennurbs_wrap.cxx:(.text+0xa6bb2): undefined reference to `ON_UuidIndexList::Write(ON_BinaryArchive&) const' | 09:32 |
kanzure | 10: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 |
kanzure | 11: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>&1 | 09:32 |
kanzure | 11:59 < kanzure> but i had to manually edit opennurbs_wrap.cxx because the %ignore statements didn't take effect >:o | 09:33 |
kanzure | 12:51 < kanzure> >> import opennurbs | 09:33 |
kanzure | 12: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 included | 09:33 |
kanzure | huh i don't remember that working | 09:33 |
gradstudentbot | That would be highly informative, wouldn't it? | 09:34 |
ParahSailin | why did it need all those X11 things to link to | 09:35 |
ParahSailin | opennurbs isnt just pure computation, and includes display as well? | 09:36 |
kanzure | yeah there's a opennurbs_gl.cpp and opennurbs_gl.h | 09:39 |
-!- kumavis [~kumavis@107-219-148-42.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 255 seconds] | 09:39 | |
kanzure | https://github.com/kanzure/brlcad/tree/master/src/other/openNURBS | 09:40 |
kanzure | it includes GL/gl.h and GL/glu.h | 09:40 |
kanzure | https://github.com/kanzure/brlcad/blob/master/src/other/openNURBS/opennurbs_gl.cpp | 09:41 |
kanzure | the one that accepts ON_BrepFace seems to be the important one | 09:42 |
kanzure | it 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_NurbsSurface | 09:43 |
kanzure | the other reason was because i didn't know which libraries would make it work, so i was trying basically anything :( | 09:45 |
ParahSailin | is it possible to compile a so that doesnt have those? | 09:45 |
-!- ielo_ [~ielo@host-92-24-42-131.ppp.as43234.net] has joined ##hplusroadmap | 09:45 | |
kanzure | oh, 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 |
ParahSailin | like, using normal CPP things | 09:46 |
kanzure | in fact, ON_GL only shows up in opennurbs_gl.cpp and opennurbs_gl.h | 09:47 |
kanzure | and the makefile | 09:47 |
ParahSailin | ah, so just to autoconf disable | 09:47 |
kanzure | i wonder why i tried to use their opengl stuff | 09:49 |
kanzure | that whole file can very easily be written in python and use python opengl things | 09: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 ##hplusroadmap | 10:24 | |
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has quit [Ping timeout: 240 seconds] | 10:26 | |
-!- justanotheruser [~andrew@128.211.171.1] has joined ##hplusroadmap | 10:26 | |
-!- ThomasEgi [~thomas@185.5.8.81] has joined ##hplusroadmap | 10:26 | |
-!- justanotheruser [~andrew@128.211.171.1] has quit [Changing host] | 10:26 | |
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has joined ##hplusroadmap | 10:26 | |
-!- ThomasEgi [~thomas@185.5.8.81] has quit [Changing host] | 10:26 | |
-!- ThomasEgi [~thomas@panda3d/ThomasEgi] has joined ##hplusroadmap | 10:26 | |
-!- justanot2eruser [~andrew@128.211.171.1] has joined ##hplusroadmap | 10: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 ##hplusroadmap | 10:32 | |
-!- justanotheruser [~andrew@128.211.171.1] has quit [Changing host] | 10:35 | |
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has joined ##hplusroadmap | 10:35 | |
-!- nmz787_i [nmccorkx@nat/intel/x-qziktkinywadsbpk] has joined ##hplusroadmap | 10:58 | |
-!- catern [~catern@catern.com] has quit [Ping timeout: 255 seconds] | 11:04 | |
-!- catern [~catern@catern.com] has joined ##hplusroadmap | 11:07 | |
-!- catern [~catern@catern.com] has quit [Ping timeout: 260 seconds] | 11:12 | |
-!- catern [~catern@catern.com] has joined ##hplusroadmap | 11:13 | |
-!- catern [~catern@catern.com] has quit [Ping timeout: 260 seconds] | 11:17 | |
-!- catern [~catern@catern.com] has joined ##hplusroadmap | 11: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 ##hplusroadmap | 11:21 | |
kanzure | strange pile of python (not quite opennurbs) https://github.com/mcneel/rhinopython/tree/master/scripts/rhinoscript | 11:23 |
-!- catern [~catern@catern.com] has quit [Ping timeout: 252 seconds] | 11:23 | |
-!- catern [~catern@catern.com] has joined ##hplusroadmap | 11:24 | |
dingo | my 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 | |
kanzure | no way, every docstring should have 10000 extra spaces | 11:29 |
kanzure | "Docstring {under,over}-indented." | 11:30 |
kanzure | "Put multi-line docstring closing quotes on separate line." | 11:30 |
kanzure | huh u""" is py2 only? what about 3 :( | 11:30 |
kanzure | oh right, unicode. | 11:30 |
kanzure | ok | 11:30 |
dingo | py 3.3+ allows u""" | 11:31 |
dingo | py >3 < 3.3 does not | 11:31 |
kanzure | does anyone still use doctests? | 11:32 |
dpk | paperbot: http://dx.doi.org/10.1177/0361684310397698 | 11:32 |
paperbot | http://diyhpl.us/~bryan/papers2/paperbot/b21dc2045769622310ac49da6973852b.txt | 11:33 |
dpk | paperbot: http://pwq.sagepub.com/content/early/2011/04/12/0361684310397698 | 11:33 |
paperbot | http://diyhpl.us/~bryan/papers2/paperbot/Leaks%2C%20Lumps%2C%20and%20Lines%3A%20Stigma%20and%20Women%27s%20Bodies.pdf | 11:34 |
-!- ybit2 [458a3354@gateway/web/freenode/ip.69.138.51.84] has joined ##hplusroadmap | 11:55 | |
ybit2 | nasa ames is about to hear this pitch | 11:55 |
ybit2 | https://docs.google.com/document/d/1Ll_ONc357_T0ousSxknu3tUfk33TK-0VyoBKT9W9D9w/edit | 11:55 |
ybit2 | """ | 11:58 |
ybit2 | NASA 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 |
ybit2 | Now 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 |
ybit2 | Now 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 |
kanzure | aren't there simpler ways for nasa to get open source technology development other than a lunar colony? | 11:59 |
ybit2 | wrong paste | 11: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 |
ybit2 | maybe | 12:00 |
kanzure | i 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 ##hplusroadmap | 12:26 | |
-!- catern [~catern@catern.com] has quit [Ping timeout: 244 seconds] | 12:31 | |
-!- catern [~catern@catern.com] has joined ##hplusroadmap | 12:32 | |
-!- nmz787_i [nmccorkx@nat/intel/x-hnyzokcrdnrzidcm] has joined ##hplusroadmap | 12:34 | |
-!- catern [~catern@catern.com] has quit [Ping timeout: 264 seconds] | 12:37 | |
-!- catern [~catern@catern.com] has joined ##hplusroadmap | 12:47 | |
-!- nmz787_i1 [~nmccorkx@134.134.139.72] has joined ##hplusroadmap | 12: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 ##hplusroadmap | 13: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 ##hplusroadmap | 13:23 | |
-!- mokstar [~Mookaborb@c-24-21-241-171.hsd1.or.comcast.net] has quit [Changing host] | 13:23 | |
-!- mokstar [~Mookaborb@unaffiliated/mokstar] has joined ##hplusroadmap | 13:23 | |
-!- catern [~catern@catern.com] has joined ##hplusroadmap | 13:24 | |
-!- Viper168 [~Viper@unaffiliated/viper168] has quit [Ping timeout: 264 seconds] | 13:33 | |
-!- Viper168 [~Viper@unaffiliated/viper168] has joined ##hplusroadmap | 13:39 | |
-!- hehelleshin [~talinck@66-161-138-110.ubr1.dyn.lebanon-oh.fuse.net] has joined ##hplusroadmap | 13: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 ##hplusroadmap | 13: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 ##hplusroadmap | 14:03 | |
-!- justanotheruser [~andrew@c-50-129-87-238.hsd1.in.comcast.net] has quit [Changing host] | 14:29 | |
-!- justanotheruser [~andrew@unaffiliated/justanotheruser] has joined ##hplusroadmap | 14: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 ##hplusroadmap | 14: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 ##hplusroadmap | 14:46 | |
-!- drazak_ is now known as drazak | 14:51 | |
-!- kuldeepdhaka [~kuldeepdh@unaffiliated/kuldeepdhaka] has joined ##hplusroadmap | 14: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 ##hplusroadmap | 15:59 | |
-!- nshlike [~unf@wikipedia/nsh] has joined ##hplusroadmap | 16:00 | |
kanzure | argh swig | 16:19 |
-!- nshlike [~unf@wikipedia/nsh] has quit [Ping timeout: 255 seconds] | 16:23 | |
-!- nshlike [~unf@wikipedia/nsh] has joined ##hplusroadmap | 16: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 | |
kanzure | why is this not exiting? g++ -fPIC -c opennurbs_wrap.cxx -c *.cpp -I/usr/include/python2.7 | 16:32 |
kanzure | ah it just takes a few minutes. wtf. | 16:34 |
ParahSailin | thats normal | 16:36 |
ParahSailin | i bet it eats like 3 GB of ram too | 16:36 |
-!- yashgaroth [~ffffff@cpe-76-167-105-53.san.res.rr.com] has joined ##hplusroadmap | 16:39 | |
kanzure | ImportError: ./_opennurbs.so: undefined symbol: _ZN12ON_NurbsCage8ClampEndEii | 16:45 |
-!- nmz787_i [~nmccorkx@192.55.55.37] has quit [Ping timeout: 264 seconds] | 16:48 | |
kanzure | ImportError: ./_opennurbs.so: undefined symbol: _ZN8ON_Group19m_ON_Group_class_idE | 16:53 |
kanzure | why am i getting different errors? | 16:53 |
dingo | :D | 16:54 |
ParahSailin | so you compiled the so with the same source you made swig with? | 16:54 |
kanzure | yes | 16:55 |
kanzure | swig -classic -cpperraswarn -c++ -python opennurbs.i | 16:55 |
kanzure | g++ -fPIC -c opennurbs_wrap.cxx -c *.cpp -I/usr/include/python2.7 | 16:55 |
kanzure | g++ -shared libopenNURBS.a opennurbs_wrap.o -o _opennurbs.so | 16:56 |
-!- kumavis [~kumavis@107-219-148-42.lightspeed.sntcca.sbcglobal.net] has joined ##hplusroadmap | 16:58 | |
-!- seba- [~hel1@unaffiliated/seba-] has quit [Read error: No route to host] | 17:00 | |
kanzure | ImportError: ./_opennurbs.so: undefined symbol: _ZN11ON_Viewport15DefaultNearDistE | 17:01 |
kanzure | argh | 17:01 |
-!- seba- [~hel1@cpe-90-157-233-7.static.amis.net] has joined ##hplusroadmap | 17:01 | |
kanzure | i'm p. sure opennurbs_viewport.cpp is included in here somewhere | 17:01 |
-!- augur [~augur@c-69-250-22-85.hsd1.md.comcast.net] has joined ##hplusroadmap | 17: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 | |
ParahSailin | oh is that what the so is? | 17:36 |
ParahSailin | what happens when you make the opennurbs.so using normal makefile that came with opennurbs | 17:36 |
ParahSailin | like, is there something in ./configure to --enable-shared to make libopenNURBS.so? | 17:37 |
-!- juri_ [~juri@vpn166.sdf.org] has joined ##hplusroadmap | 17:40 | |
-!- ebowden [~ebowden@CPE-60-231-182-1.lns4.dav.bigpond.net.au] has joined ##hplusroadmap | 17:45 | |
kanzure | it's cmake | 17:50 |
kanzure | IF(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 ##hplusroadmap | 17:55 | |
-!- mokstar [~Mookaborb@unaffiliated/mokstar] has joined ##hplusroadmap | 18:01 | |
-!- kumavis [~kumavis@107-219-148-42.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 240 seconds] | 18:05 | |
kanzure | ParahSailin: you're claim is i'm linking too many things? | 18:21 |
kanzure | multiple definitions? | 18:21 |
eudoxia | somebody 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 language | 18:21 |
eudoxia | somebody preferably not me | 18:21 |
ParahSailin | thats swig | 18:22 |
eudoxia | i meant something that comes before the actual "emit bindings for language X" part | 18:22 |
ParahSailin | thats swig | 18: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 |
eudoxia | oh cool | 18:23 |
ParahSailin | kanzure: i dunno what the cmake puts in the ar for static linking | 18:23 |
ParahSailin | theres usually crazy differences between the .a and the .so for name mangling reasons | 18:25 |
kanzure | btw i'm just using brlcad's src/other/openNURBS/ separately (cmake && make) | 18:25 |
kanzure | yeah there's a .a too | 18:25 |
kanzure | g++ -shared libopenNURBS.a opennurbs_*.o -o _opennurbs.so -lGLU -lGL | 18:26 |
kanzure | import opennurbs -> ImportError: ./_opennurbs.so: undefined symbol: _ZN12ON_NurbsCage8ClampEndEii | 18:26 |
ParahSailin | try linking to the so instead? | 18:27 |
ParahSailin | might just do the same thing, but in my yak shaving experience, thats always the second thing to try | 18:28 |
kanzure | ImportError: libopenNURBS.so.2012.10.245: cannot open shared object file: No such file or directory | 18:28 |
kanzure | ther'es a libopenNURBS.so.2012.10.245 in the local directory | 18:28 |
kanzure | and if i set LD_LIBRARY_PATH=`pwd`, i get the same ImportError anyway: ImportError: ./_opennurbs.so: undefined symbol: _ZN12ON_NurbsCage8ClampEndEii | 18:29 |
ParahSailin | g++ -shared -L. -lopenNURBS opennurbs_*.o -o _opennurbs.so -lGLU -lGL | 18:29 |
ParahSailin | ah, was worth a try | 18:30 |
ParahSailin | wait thats a different error than before | 18:30 |
kanzure | http://diyhpl.us/~bryan/irc/brlcad-opennurbs.zip | 18:33 |
kanzure | cmake . && make | 18:33 |
kanzure | then run these three: | 18:33 |
kanzure | swig -classic -cpperraswarn -c++ -python opennurbs.i | 18:33 |
kanzure | g++ -fPIC -c opennurbs_wrap.cxx -c *.cpp -I/usr/include/python2.7 | 18:33 |
kanzure | g++ -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 | |
ParahSailin | that is weird, i have actual symbol "_ZN13ON_NurbsCage8ClampEndEii" in the file, but i am looking for "_ZN12ON_NurbsCage8ClampEndEii" instead | 18:53 |
-!- eudoxia [~eudoxia@r186-54-84-225.dialup.adsl.anteldata.net.uy] has quit [Quit: Lost terminal] | 18:55 | |
kanzure | .cdecl _ZN13ON_NurbsCage8ClampEndEii | 19:01 |
kanzure | .decl _ZN13ON_NurbsCage8ClampEndEii | 19:01 |
* kanzure oofs | 19:01 | |
kanzure | maybe there's an extra function signature somewhere | 19:07 |
ParahSailin | wtf, in opennurbs_nurbssurface.o the symbol table entry for the ClampEnd shit actually shows up with the column saying "undefined" | 19:11 |
ParahSailin | nevermind, different ClampEnd | 19:12 |
ParahSailin | er i dont find anything that defines NurbsCage ClampEnd | 19:15 |
ParahSailin | it seems like that would be in _nurbsvolume | 19:15 |
ParahSailin | because thats where all his friends are | 19:15 |
kanzure | where is it coming from if it has no function definition? | 19:16 |
-!- Vutral [~ss@mirbsd/special/Vutral] has joined ##hplusroadmap | 19:16 | |
-!- mokstar [~Mookaborb@unaffiliated/mokstar] has quit [Read error: Connection reset by peer] | 19:17 | |
-!- mokstar [~Mookaborb@unaffiliated/mokstar] has joined ##hplusroadmap | 19:18 | |
ParahSailin | so its actually a thingy in nurbssurface.h but not actually defined in the cxx file | 19:21 |
ParahSailin | wacky fun | 19:22 |
ParahSailin | serious | 19:22 |
ParahSailin | so 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 defined | 19:25 |
ParahSailin | manually delete these from your swig shit http://lpaste.net/106768 | 19:27 |
kanzure | what about this one? U operator new[](unsigned long)@@GLIBCXX_3.4 | 19:28 |
kanzure | i'm thinking something like this: http://hastebin.com/pizimunaso.i | 19:29 |
kanzure | but dunno how to deal with your new[] operator | 19:30 |
ParahSailin | dont delete that obviously | 19:30 |
ParahSailin | it snuck into my paste | 19:31 |
kanzure | well now i get: ImportError: ./_opennurbs.so: undefined symbol: _ZNK7ON_Mesh20GetClashingFacePairsEiR14ON_SimpleArrayI10tagON_2dexE | 19:37 |
kanzure | i had: %ignore ON_Mesh::GetClashingFacePairs(int, ON_SimpleArray<tagON_2dex>&); | 19:37 |
-!- kumavis [~kumavis@107-219-148-42.lightspeed.sntcca.sbcglobal.net] has joined ##hplusroadmap | 19:37 | |
-!- nshlike [~unf@wikipedia/nsh] has quit [Ping timeout: 272 seconds] | 19:43 | |
ParahSailin | oh, python just doesnt like to import anything where there are undefined symbols | 19:44 |
ParahSailin | you gotta do dlopen with non-default params | 19:45 |
ParahSailin | because normal import expects the so to be well-behaved | 19:46 |
kanzure | maybe there's a way to not include undefined symbols at compile time | 19:46 |
-!- kumavis [~kumavis@107-219-148-42.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 255 seconds] | 19:46 | |
ParahSailin | clearly you need to make a cxx file that defines all of those functions as return NULL | 19:47 |
kanzure | ugh | 19:48 |
kanzure | ImportError: ./_opennurbs.so: undefined symbol: _ZNK13ON_NurbsCurve10IsSingularEv | 19:49 |
kanzure | was your list incomplete? | 19:49 |
ParahSailin | oh, so yeah it is | 19:50 |
kanzure | a warning would have been nice | 19:50 |
ParahSailin | the ON shit is interspersed with libstdc++ and python undefined symbols | 19:50 |
kanzure | my hopes were up and everything | 19:50 |
ParahSailin | http://lpaste.net/106770 | 19:51 |
ParahSailin | that was with nm -C slut.so | mawk '($1=="U" && substr($2,1,2)=="ON"){print}' | 19:51 |
ParahSailin | that might be missing some still | 19:51 |
ParahSailin | erm actuall i got it all the first time | 19:52 |
gradstudentbot | That result wasn't repeatable. | 19:55 |
kanzure | oh brother | 19:56 |
kanzure | fuck me | 19:56 |
kanzure | http://swig.10945.n7.nabble.com/How-do-I-get-rid-of-these-undefined-symbols-in-the-generated-output-td3265.html | 19:56 |
ParahSailin | i wonder what happens when i delete those from the .h files | 19:57 |
-!- cpopell_ [4c1a9084@gateway/web/freenode/ip.76.26.144.132] has joined ##hplusroadmap | 20:01 | |
cpopell_ | hey kanzure, have you used qiqqa? | 20:01 |
kanzure | no, but bug joepie91 when he's around | 20:01 |
cpopell_ | k | 20:02 |
cpopell_ | trying to figure out how qiqqa and mendeley/zotero stack up for my needs | 20:02 |
kanzure | paperbot is powered by zotero | 20:02 |
cluckj | zotero is alright | 20:05 |
kanzure | ParahSailin: 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 | |
ParahSailin | you mean you for 5 years ago? | 20:05 |
kanzure | hm? | 20:05 |
ParahSailin | the thing you just linked? | 20:06 |
kanzure | yeah | 20:06 |
kanzure | someone had this exact problem | 20:06 |
kanzure | ImportError: ./_opennurbs.so: undefined symbol: _ZNK13ON_NurbsCurve10IsSingularEv | 20:16 |
kanzure | even though i had %ignore ON_NurbsCurve::IsSingular; | 20:16 |
ParahSailin | so apparently i dont know how to use %ignore because that shit is still appearing in the cxx file | 20:17 |
kanzure | "You probably aren't using %ignore correctly. Make sure the %ignore is | 20:18 |
kanzure | before SWIG parses the definition of the symbol. " | 20:18 |
kanzure | fuck | 20:18 |
ParahSailin | normally you add stuff to the bottom of the file for precedence | 20:19 |
ParahSailin | in swig every day is opposite day | 20:19 |
kanzure | ImportError: ./_opennurbs.so: undefined symbol: _ZNK12ON_NurbsCage9SpanCountEi | 20:21 |
kanzure | %ignore ON_NurbsCage::SpanCount(int); | 20:21 |
ParahSailin | what the hell _ZNK7ON_Mesh20GetClashingFacePairsEiR14ON_SimpleArrayI10tagON_2dexE | 20:23 |
-!- catern [~catern@catern.com] has quit [Ping timeout: 244 seconds] | 20:28 | |
-!- catern [~catern@catern.com] has joined ##hplusroadmap | 20:29 | |
kanzure | got it.. http://diyhpl.us/~bryan/irc/opennurbs/brlcad-opennurbs2.zip | 20:30 |
ParahSailin | dicking around with %ignore stuff? | 20:31 |
kanzure | yep | 20:31 |
ParahSailin | turns out you cant put them all at the top either | 20:31 |
ParahSailin | you just cant win | 20:31 |
ParahSailin | do you have to actually intersperse them throughout the file? | 20:31 |
kanzure | i put them at the top | 20:32 |
ParahSailin | i put them at the top too | 20:32 |
kanzure | i removed the exact signatures and just blasted away all signatures for functions with the same name | 20:32 |
-!- catern [~catern@catern.com] has quit [Ping timeout: 248 seconds] | 20:34 | |
ParahSailin | what a waste | 20:37 |
-!- catern [~catern@catern.com] has joined ##hplusroadmap | 20:43 | |
-!- catern [~catern@catern.com] has quit [Ping timeout: 260 seconds] | 20:47 | |
-!- catern [~catern@catern.com] has joined ##hplusroadmap | 20:53 | |
kanzure | ? | 20:57 |
cpopell_ | http://tuvalu.santafe.edu/~bn/reading_group/Huberman.pdf | 20: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 ##hplusroadmap | 21:07 | |
-!- catern [~catern@catern.com] has joined ##hplusroadmap | 21:11 | |
-!- sheena [~home@d154-20-226-28.bchsia.telus.net] has joined ##hplusroadmap | 21:13 | |
kanzure | ParahSailin: now what? | 21:33 |
kanzure | that might be the tiredness talking. prolly stupid question. | 21:34 |
ParahSailin | heh | 21:34 |
ParahSailin | what is a brep anyway | 21: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 ##hplusroadmap | 21:50 | |
-!- augur [~augur@216-164-48-148.c3-0.slvr-ubr1.lnh-slvr.md.cable.rcn.com] has joined ##hplusroadmap | 21:50 | |
kanzure | who knows | 22:02 |
kanzure | something about a boundary | 22:02 |
-!- lichen [~lichen@c-50-139-11-6.hsd1.or.comcast.net] has quit [Quit: Lost terminal] | 22:03 | |
kanzure | this should be rewritten in c or python | 22:03 |
kanzure | oh right, i was going to try cadquery things | 22: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 ##hplusroadmap | 22:51 | |
-!- petraya [~asakharov@24.60.79.55] has quit [Quit: quit] | 23:12 | |
-!- EnLilaSko [EnLilaSko@unaffiliated/enlilasko] has joined ##hplusroadmap | 23:31 | |
-!- ielo_ [~ielo@host-78-147-239-200.as13285.net] has joined ##hplusroadmap | 23:32 | |
-!- nmz787_i [nmccorkx@nat/intel/x-xtajdicnnscfafnd] has quit [Quit: Leaving.] | 23:48 | |
nmz787 | welp got an opporunity for part-time FIB operator work | 23: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!