IRC log for #brlcad on 20140617

00:50.09 *** join/#brlcad Zhao_Anqing (clouddrift@222.205.97.202)
01:03.09 *** join/#brlcad Zhao_Anqing (clouddrift@210.32.191.168)
01:23.10 *** join/#brlcad teepee (~teepee@gateway/tor-sasl/teepee)
01:29.21 Notify 03BRL-CAD:zhaoanqing * 61335 brlcad/branches/nmgreorg/src/librt/tests/test_nmg_mk.c: change unit test for nmg_mk to fit new nmg. Eliminate unless model and nmgregion as well as test for mmr and mrsv.
01:36.10 Notify 03BRL-CAD Wiki:Clouddrift * 7292 /wiki/User:Clouddrift/GSoC2014/Logs: /* Week 4 */
01:53.13 *** join/#brlcad teepee (~teepee@gateway/tor-sasl/teepee)
02:05.38 *** join/#brlcad hcurtis (b82d336f@gateway/web/freenode/ip.184.45.51.111)
02:16.03 hcurtis I am converting some of the elements of BRL-CAD's fast4-g.c from stack allocated to dynamic. The version of that file serving as the base for my corrections is the one shown in commit 56495. The number 11 appears in lines 213, 907, 1667, and 2943. Possibly, the 11s are to be replaced by a number that the program determines.
02:17.00 hcurtis I have written some code that I think is at least partially correct. However, I am stuck because I do not understand where the replacement for the 11s should come from.
02:18.00 Notify 03BRL-CAD Wiki:Krajkreddy * 7293 /wiki/User:Krajkreddy/GSOC14/summary: /* Week3 */
02:19.49 hcurtis Is my approach to this task an appropriate one?
02:20.34 hcurtis I might be going in the wrong direction.
02:53.56 *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch)
02:58.49 brlcad no way to answer whether some approach you're taking is an appropriate one without seeing the current status of your code
03:00.40 brlcad glad to hear you figured out the linking issue, which also could have been solved by adding a -rpath directive to your linker options (this is the preferred method vs editing ld.so.conf)
03:09.55 hcurtis Hi, Sean. Welcome back.
03:12.17 hcurtis This must be my lucky day. I saw that you'd been idle for 5 days, so I figured you were doing other things and there was no chance that we'd speak tonight.
03:14.48 hcurtis brlcad: I do have code to show you.
03:20.26 brlcad I've been around reading and lurking, just not engaging in conversation here -- happens from time to time
03:22.13 brlcad I've been following your dev log more closely but you hadn't posted any questions or links to actual code to comment on
03:24.19 hcurtis I had no idea that you wanted me to put questions (much less code) in my dev log. I wasn't sure whether you even had time to read those.
03:24.40 hcurtis Well, now I know.
03:25.09 brlcad you don't have to, but that is where you're communicating your progress and anything noteworthy
03:25.21 hcurtis Ok
03:27.12 brlcad you definitely shouldn't be directing questions specifically to just me here or on your log, questions should be going to the entire community
03:28.16 brlcad but your log is a good place to state questions you do not have answers for, potential solutions being considered, and ultimately the answers or workarounds that are discovered (like you did with ld.so.conf)
03:30.57 brlcad as mentioned before, there are many years of other gsoc participant dev logs for you to peruse to get an idea of what to include or not include
03:31.11 hcurtis [23:27] <brlcad> you definitely shouldn't be directing questions specifically to just me here or on your log, questions should be going to the entire community I know. I thought I'd been good about that lately. You might have noticed that these days when I post updates, they're usually not addressed only to you.
03:31.13 brlcad ultimately, the log should tell a story
03:31.33 hcurtis Yes.
03:32.46 brlcad wasn't implying you've been good or bad about that lately, just clarfiying the intent
03:33.19 hcurtis Cool
03:33.46 hcurtis I always appreciate your feedback
03:34.45 hcurtis I have seen past GSoCers' logs, but that was a while ago. I need to look at them again now that I know more about GSoC and such.
03:36.42 hcurtis I looked up -rpath. I would try it now, but my prompt is tied up building BRL-CAD.
03:37.10 brlcad for what it's worth, I haven't observed a whole lot of questions (at least not the sort that compel a response, closed-form questions) from most of the participants this year
03:37.26 brlcad yourself included, but certainly not limited to you
03:37.29 hcurtis Interesting
03:37.49 hcurtis I have tried hard to answer my own questions
03:38.01 brlcad I realize that
03:38.22 hcurtis But sometimes I just need to throw in the towel sooner so that I can work faster
03:38.42 brlcad that's not in your better interest, open source is about community and collaboration as much as it is independence and self-discovery
03:42.05 hcurtis Just to make sure I understand... you're saying that trying so hard (too hard) to answer my own questions is not in my better interest, right?
03:43.50 *** join/#brlcad Stryker (~david@c-50-173-73-48.hsd1.ca.comcast.net)
03:44.04 *** join/#brlcad Stryker (~david@unaffiliated/stryker)
03:44.09 brlcad indeed
03:44.16 hcurtis Ok
03:45.47 hcurtis May I show you my work?
03:46.00 brlcad you need to do enough research to understand the foundation for forming a question, attempt to answer it, and ask for help clarifying or explaining any point that will help your understand and/or answer the question
03:46.30 hcurtis Ok
03:47.18 Stryker Hello, would this be a good channel to ask a general question about BRL-CAD?
03:47.56 brlcad I know you're just being polite, but asking me if you can show your work is not at all efficient
03:48.03 brlcad it's definitely not the IRC-way
03:48.37 hcurtis Hi, Stryker. Sure. Ask away.
03:48.38 brlcad post your code and ask for feedback or (better) ask a question or just showcase it and say "look at what I did" and see if anyone responds
03:49.01 hcurtis brlcad: Ok
03:49.21 brlcad Stryker: howdy, this is indeed a good place to ask -- and if you don't get it answered here, you can try the brlcad-devel mailing list
03:49.55 brlcad Stryker: I'm sure you get it all the time, but any relation?
03:50.27 Stryker Any relation to what?
03:51.10 brlcad name
03:51.47 brlcad rather, your surname
03:53.15 hcurtis brlcad: Oh, wow. You're right
03:53.32 hcurtis brlcad: about his surname
03:54.15 brlcad no comment, carry on, nothing to see behind that curtain
03:55.44 hcurtis brlcad: Oh, no. We may have creeped him out.
03:55.56 hcurtis Stryker: Sorry about that, Stryker. We can explain if that would help.
03:56.58 Stryker Please do
03:57.55 brlcad waves adeu
03:57.57 Stryker This sounds juicy
03:58.16 hcurtis brlcad: I will post my code
03:58.29 brlcad hcurtis: looking forward to it
03:58.49 hcurtis Stryker: http://en.wikipedia.org/wiki/Linus_Torvalds
03:59.00 Stryker oh, that
04:00.30 Stryker Back on to my question, though: I was wondering if BRL-CAD has any use in 2D drafting and 3D printing.
04:04.47 hcurtis Yes, but others who frequent this channel can tell you much more than I can. I'm just an apprentice coder.
04:05.12 *** join/#brlcad piyushparkash (~piyushpar@117.205.75.145)
04:06.31 hcurtis Stryker: Do you use IRC a lot?
04:07.30 hcurtis brlcad: By the way, thanks for the feedback and information tonight.
04:07.34 Stryker hcurtis, not often, but I used to
04:09.57 hcurtis I asked, Stryker, just to find out if you were aware of how getting a response to your question might take a while. Since you're familiar with IRC, you already know.
04:13.12 Stryker hcurtis, yeah. I enjoy it more than forums, though, because things don't become so backwards.
04:13.29 hcurtis Cool
04:21.54 *** join/#brlcad Stryker (~david@c-50-173-73-48.hsd1.ca.comcast.net)
04:28.03 *** join/#brlcad Stryker (~david@unaffiliated/stryker)
05:28.20 *** join/#brlcad ishwerdas (~ishwerdas@117.220.149.152)
06:18.23 hcurtis I have written code to convert some of the elements of BRL-CAD's fast4-g.c from stack allocated to dynamic. Any feedback is welcome. http://paste.lisp.org/+329O
06:36.18 *** join/#brlcad mpictor (~mark@c-68-58-38-45.hsd1.in.comcast.net)
06:56.33 *** join/#brlcad mpictor (~mark@c-68-58-38-45.hsd1.in.comcast.net)
07:12.40 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
08:05.26 *** join/#brlcad kanzure (~kanzure@131.252.130.248)
08:26.21 *** join/#brlcad kanzure (~kanzure@131.252.130.248)
08:26.21 *** join/#brlcad mpictor (~mark@c-68-58-38-45.hsd1.in.comcast.net)
08:26.21 *** join/#brlcad ishwerdas (~ishwerdas@117.220.149.152)
08:26.21 *** join/#brlcad hcurtis (b82d336f@gateway/web/freenode/ip.184.45.51.111)
08:26.21 *** join/#brlcad teepee (~teepee@gateway/tor-sasl/teepee)
08:26.21 *** join/#brlcad Zhao_Anqing (clouddrift@210.32.191.168)
08:26.22 *** join/#brlcad FreezingCold (~FreezingC@135.0.41.14)
08:26.22 *** join/#brlcad Notify (~notify@66-118-151-70.static.sagonet.net)
08:26.22 *** join/#brlcad starseeker (~starseeke@66-118-151-70.static.sagonet.net)
08:26.22 *** join/#brlcad KimK (~Kim__@ip68-102-30-143.ks.ok.cox.net)
08:26.22 *** join/#brlcad archivist (~archivist@host81-149-189-98.in-addr.btopenworld.com)
08:26.22 *** join/#brlcad zxq9 (~ceverett@FL9-125-199-207-150.okn.mesh.ad.jp)
08:26.22 *** join/#brlcad yiyus (1242712427@je.je.je)
08:26.22 *** join/#brlcad brlcad (~sean@66-118-151-70.static.sagonet.net)
08:26.22 *** join/#brlcad ankesh11 (uid8015@gateway/web/irccloud.com/x-npcokdntikhhjpbb)
08:26.22 *** join/#brlcad n_reed (~molto_cre@66-118-151-70.static.sagonet.net)
08:26.22 *** join/#brlcad Guest3313 (~Ch3ck@66-118-151-70.static.sagonet.net)
08:26.22 *** join/#brlcad fenn (~fenn@131.252.130.248)
08:26.22 *** join/#brlcad ``Erik (~erik@pool-74-103-94-19.bltmmd.fios.verizon.net)
08:26.22 *** join/#brlcad maths22 (~maths22@66-118-151-70.static.sagonet.net)
08:26.22 *** join/#brlcad ChanServ (ChanServ@services.)
08:26.22 *** mode/#brlcad [+o ChanServ] by card.freenode.net
08:27.20 *** join/#brlcad raj12lnm (uid35020@gateway/web/irccloud.com/x-gtyofukgykgusznl)
08:27.31 *** part/#brlcad ishwerdas (~ishwerdas@117.220.149.152)
08:27.31 *** join/#brlcad caen23_ (~caen23@92.83.166.162)
08:41.34 *** join/#brlcad piyushparkash (~piyushpar@117.205.69.108)
08:41.34 *** join/#brlcad caen23_ (~caen23@92.83.166.162)
08:41.34 *** join/#brlcad ChanServ (ChanServ@services.)
08:41.34 *** join/#brlcad maths22 (~maths22@66-118-151-70.static.sagonet.net)
08:41.34 *** join/#brlcad ``Erik (~erik@pool-74-103-94-19.bltmmd.fios.verizon.net)
08:41.34 *** join/#brlcad fenn (~fenn@131.252.130.248)
08:41.35 *** join/#brlcad Guest3313 (~Ch3ck@66-118-151-70.static.sagonet.net)
08:41.35 *** join/#brlcad n_reed (~molto_cre@66-118-151-70.static.sagonet.net)
08:41.35 *** join/#brlcad ankesh11 (uid8015@gateway/web/irccloud.com/x-npcokdntikhhjpbb)
08:41.35 *** join/#brlcad brlcad (~sean@66-118-151-70.static.sagonet.net)
08:41.35 *** join/#brlcad yiyus (1242712427@je.je.je)
08:41.35 *** join/#brlcad zxq9 (~ceverett@FL9-125-199-207-150.okn.mesh.ad.jp)
08:41.35 *** join/#brlcad archivist (~archivist@host81-149-189-98.in-addr.btopenworld.com)
08:41.35 *** join/#brlcad KimK (~Kim__@ip68-102-30-143.ks.ok.cox.net)
08:41.35 *** join/#brlcad starseeker (~starseeke@66-118-151-70.static.sagonet.net)
08:41.35 *** join/#brlcad Notify (~notify@66-118-151-70.static.sagonet.net)
08:41.35 *** join/#brlcad FreezingCold (~FreezingC@135.0.41.14)
08:41.35 *** join/#brlcad Zhao_Anqing (clouddrift@210.32.191.168)
08:41.35 *** join/#brlcad teepee (~teepee@gateway/tor-sasl/teepee)
08:41.35 *** join/#brlcad hcurtis (b82d336f@gateway/web/freenode/ip.184.45.51.111)
08:41.35 *** join/#brlcad mpictor (~mark@c-68-58-38-45.hsd1.in.comcast.net)
08:41.35 *** join/#brlcad kanzure (~kanzure@131.252.130.248)
08:41.35 *** join/#brlcad raj12lnm (uid35020@gateway/web/irccloud.com/x-gtyofukgykgusznl)
08:41.35 *** mode/#brlcad [+o ChanServ] by card.freenode.net
08:48.31 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
09:29.29 Notify 03BRL-CAD:zhaoanqing * 61336 (brlcad/branches/nmgreorg/include/wdb.h brlcad/branches/nmgreorg/src/libwdb/nmg.c brlcad/branches/nmgreorg/src/proc-db/tea_nmg.c): change tea_nmg test case to fit new nmg structure.
10:46.07 Notify 03BRL-CAD:indianlarry * 61337 brlcad/trunk/src/librt/primitives/bot/g_bot_include.c: The rt_botface_w_normals_[double|float]() function is used as part of rt_bot_prep and is used to check for degenerate BOT faces and to fill in BOT normals. This function checks to make sure the magnitude squared of the of triangle leg deltas (m1 = MAGSQ(trip->tri_BA) && m2 = MAGSQ(trip->tri_CA)) are >= tol->dist_sq. It also
10:46.09 Notify calculates a cross product using these same leg deltas ( VCROSS(trip->tri_wn, trip->tri_BA, trip->tri_CA) ) to get the triangle normal direction. Also as part of its degenerate face check it calculates the magnitude squared of this normal (m4 = MAGSQ(trip->tri_wn)) and compares it to tol->dist_sq. This causes a problem because when your triangle leg deltas are near tol->dist the magnitude squared of the normal is
10:46.11 Notify well below tol->dist_sq. I ran into this problem from an STL conversion where the converter successfully created a BOT with leg deltas near tol->dist but later when raytracing(or calculating bounding box) called this function as part of the Bot prep and tossed out the majority of faces. We still need to check to make sure the triangle isn't degenerate by making sure the triangle legs aren't parallel or coincident.
10:46.14 Notify To...
11:00.06 *** join/#brlcad oana_ (~oana@188.209.97.130)
11:02.06 *** join/#brlcad Zhao_Anqing (~clouddrif@183.157.160.10)
11:02.07 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
11:21.40 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
11:36.21 *** join/#brlcad ishwerdas (~ishwerdas@117.220.149.152)
11:52.38 Notify 03BRL-CAD Wiki:Albertcoder * 7294 /wiki/User:Albertcoder/GSoC2014/logs: /* Week 4 */
12:07.58 *** join/#brlcad d_rossberg (~rossberg@66-118-151-70.static.sagonet.net)
12:10.18 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
12:27.49 ishwerdas a question regarding copyright notices, what year should be included in it ? like brlcad has copyright notice from 2004-2013, previous OGV has the same, should mine be till 2013 or 2014 ?
12:31.11 ishwerdas got confused because even the latest release of brlcad has same copyright notice in the COPYING file.
12:35.01 Notify 03BRL-CAD Wiki:Krajkreddy * 7295 /wiki/User:Krajkreddy/GSOC14/summary: /* GSOC 14 Summary */
12:51.27 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
12:57.34 *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch)
13:11.13 Notify 03BRL-CAD Wiki:14.96.137.190 * 7296 /wiki/User:Shainasabarwal/GSoC14/logs: /* Week 3 */
13:12.15 Notify 03BRL-CAD Wiki:14.96.137.190 * 7297 /wiki/User:Shainasabarwal/GSoC14/logs: /* Week 3 */
13:20.24 *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch)
13:21.19 *** join/#brlcad vladbogo (~vlad@195.216.218.10)
13:57.18 *** join/#brlcad ries (~ries@190.9.171.121)
14:29.29 *** join/#brlcad ishwerdas (~ishwerdas@117.220.149.152)
14:43.29 Notify 03BRL-CAD:zhaoanqing * 61338 (brlcad/branches/nmgreorg/src/libged/facetize.c brlcad/branches/nmgreorg/src/librt/primitives/bspline/bspline.cpp and 8 others): change some tesselation routines, remove nmgregion structure. And revert export part to be available to single shell.
14:45.53 *** join/#brlcad piyushparkash (~piyushpar@117.205.69.108)
14:49.59 *** join/#brlcad cwstirk (~charlie@c-24-9-78-79.hsd1.co.comcast.net)
14:56.25 Notify 03BRL-CAD:starseeker * 61339 (brlcad/branches/openscenegraph/include/dm/CMakeLists.txt brlcad/branches/openscenegraph/include/dm/dm_xvars.h and 11 others): Strip down to osg and qt for graphical dm/fb - it's looking like a major API rework is in order, and we don't want more than the minimum options for that sort of iterative API development. Probably will consolidate the debug/txt/etc. options as well.
15:30.22 Notify 03BRL-CAD:starseeker * 61340 (brlcad/trunk/include/rt/CMakeLists.txt brlcad/trunk/src/libged/edarb.c and 3 others): Move the arb editing arrays out of globals.c into an rt subheader. Both MGED and libged have versions of edarb.c, and we need to consolidate that code down into librt so they have a common place to look. arb_edit.h will be 'BRL-CAD internal' the way we're planning for the libbu subdir headers to be
15:30.24 Notify internal. I'm not really sure what this should look like as actual librt API - probably some sort of functab that returns a list of callable operations or some such - but in the meantime the rt/subheader.h approach at least gets things out of global space and allows us to move forward.
15:34.59 clock has anyone used BRL-CAD for designing 3D printed plastic parts?
15:37.28 Notify 03BRL-CAD:starseeker * 61341 brlcad/trunk/include/rt/arb_edit.h: Tidy up arb_edit.h a bit
16:16.40 *** join/#brlcad ishwerdas (~ishwerdas@117.220.149.152)
16:21.20 teepee yes, e.g. https://www.thingiverse.com/tag:brl-cad
16:22.34 teepee clock: ^
16:27.49 Notify 03BRL-CAD:starseeker * 61342 (brlcad/trunk/include/raytrace.h brlcad/trunk/include/rt/arb_edit.h brlcad/trunk/src/librt/primitives/arb8/arb8.c): Add and propagate const to eh edge/vertex mappings. If, as it looks, they are static mappings that are not edited but simply referenced then getting rid of them as globals becomes a lot simpler...
16:34.45 Notify 03BRL-CAD:starseeker * 61343 (brlcad/trunk/include/raytrace.h brlcad/trunk/include/rt/arb_edit.h and 3 others): const works for all of these arrays, so it looks like they are mapping definitions and don't hold dynamic values as part of the editing process.
16:40.55 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
16:44.24 *** join/#brlcad albertcoder (~albertcod@101.214.157.145)
16:46.10 *** join/#brlcad alisha (~alisha@115.245.221.252)
17:00.03 hcurtis Hi, everyone. Some of the elements of BRL-CAD's fast4-g.c use stack allocation. I have written code to enable them to use dynamic allocation instead. Any feedback is welcome. The code is at http://paste.lisp.org/+329O
17:25.28 Notify 03BRL-CAD:starseeker * 61344 (brlcad/trunk/include/raytrace.h brlcad/trunk/include/rt/arb_edit.h and 7 others): Remove the globals completely, replace them with defines of the static arrays, use librt ext4to6 in mged.
17:41.39 *** join/#brlcad alisha (~alisha@115.244.67.112)
17:51.30 *** join/#brlcad piyushparkash (~piyushpar@117.205.69.108)
18:12.14 *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch)
18:21.18 *** join/#brlcad alisha (~alisha@101.62.164.22)
18:59.13 Notify 03BRL-CAD Wiki:Inderpreet * 7298 /wiki/User:Inderpreet/GSoC14/logs: /* Week 5 */
18:59.31 hcurtis Here is an improved version of the code I mentioned at 12:59: http://paste.lisp.org/+329W
19:01.16 *** join/#brlcad pandrei (~pandrei@188.27.67.156)
19:02.17 hcurtis brlcad: What do you think about my code? Also, I'd like to discuss my next steps with you.
19:12.05 *** join/#brlcad alisha (~alisha@101.57.81.126)
19:16.06 *** join/#brlcad teepee (~teepee@gateway/tor-sasl/teepee)
19:17.50 Notify 03BRL-CAD:starseeker * 61345 (brlcad/trunk/include/rt/arb_edit.h brlcad/trunk/src/libged/edarb.c and 3 others): Refactor mv_edge out of mged and libged into librt
20:01.07 *** join/#brlcad piyushparkash (~piyushpar@117.205.77.209)
20:01.44 Notify 03BRL-CAD Wiki:Popescu.andrei1991 * 7299 /wiki/User:Popescu.andrei1991/devlogs2014: /* Week 5 */
20:21.17 *** join/#brlcad Guest4446 (~Ch3ck@66-118-151-70.static.sagonet.net)
20:21.17 *** join/#brlcad ejno (~ejno@unaffiliated/kazaik)
20:21.48 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
20:22.50 Notify 03BRL-CAD Wiki:Ankeshanand * 7300 /wiki/User:Ankeshanand/GSoC14/logs: /* Week 5 */
20:33.23 *** join/#brlcad infobot (~infobot@rikers.org)
20:33.23 *** topic/#brlcad is BRL-CAD || http://brlcad.org || logs: http://ibot.rikers.org/%23brlcad/ || GCI winners: Jacob Burroughs and Peter Amidon! || GSoC 2014 selections are announced! Thank you to all we got to work with. Remember that SOCIS is coming up right around the corner and you don't need a summer of code to get involved with open source.
20:34.19 Notify 03BRL-CAD Wiki:Vladbogolin * 7301 /wiki/User:Vladbogolin/GSoC2014/Logs: /* Week 5 */
21:02.48 Notify 03BRL-CAD Wiki:Albertcoder * 7302 /wiki/User:Albertcoder/GSoC2014/logs: /* Development Period */
21:36.46 Notify 03BRL-CAD:starseeker * 61346 (brlcad/trunk/include/rt/arb_edit.h brlcad/trunk/src/libged/edarb.c and 2 others): Refactor face extrude logic into librt
23:22.12 *** join/#brlcad hcurtis (b82d2cf1@gateway/web/freenode/ip.184.45.44.241)
23:29.25 *** join/#brlcad teepee (~teepee@gateway/tor-sasl/teepee)
23:41.34 starseeker http://arialdomartini.wordpress.com/2013/05/31/how-to-spot-the-legacy-code-writer-in-your-company-hint-its-you/

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.