IRC log for #brlcad on 20130109

00:39.35 *** join/#brlcad merzo_ (~merzo@90-142-132-95.pool.ukrtel.net)
00:50.26 Notify 03BRL-CAD:brlcad * 54143 (brlcad/trunk/misc/nsis/brlcad.nsi brlcad/trunk/src/burst/grid.c and 10 others): apply patch from amit.daBeast (http://www.google-melange.com/gci/task/view/google/gci2012/8103205) fixing some spelling mistakes
00:50.28 Notify 03BRL-CAD:brlcad * 54144 brlcad/trunk/AUTHORS: credit amit.daBeast with special thanks for his gci spelling fix contribution
02:07.36 Notify 03GCI:amit.daBeast * 8103205 Find and Fix 10 spelling mistakes in at least 10 different files (#2): thanks - my name is Amit Saxena and thanks for helping me through this assignment
02:07.37 Notify 03GCI:Sean * 7954218 Research status of compiling BRL-CAD on MINGW: irc - Alexandur, that last pastebin you provided via IRC was perfect. If you run that minw make with "VERBOSE=1 -k" and upload...
02:07.38 Notify 03GCI:Sean * 7954218 Research status of compiling BRL-CAD on MINGW: Task Needs More Work - One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to...
02:07.38 Notify 03GCI:Cezar * 7982217 Determine why solids.sh fails on 64-bit: x, y, and z - I logged the x, y, and z of the arguments passed to VDOT in shade_inputs and extracted the differences in those three...
02:07.40 Notify 03GCI:Cezar * 7982217 Determine why solids.sh fails on 64-bit: Ready for review - The work on this task is ready to be reviewed.
02:07.41 Notify 03GCI:gcking * 8090205 Compile with -Wwrite-strings, fix warnings that ensue: 10-12 hours - Sorry for the late reply, I just finished some school work. I guess 10 hours should be ok.
02:07.41 Notify 03GCI:amit.daBeast * 8103205 Find and Fix 10 spelling mistakes in at least 10 different files (#2): Ready for review - The work on this task is ready to be reviewed.
02:07.42 Notify 03GCI:Melange * 8122202 Find and Fix 20 spelling mistakes in at least 5 different files (#2): Task Reopened - Melange has detected that the final deadline has passed and it has reopened the task.
02:07.43 Notify 03GCI:Sean * 8103205 Find and Fix 10 spelling mistakes in at least 10 different files (#2): Task Closed - Congratulations, this task has been completed successfully.
02:07.44 Notify 03GCI:Sean * 8103205 Find and Fix 10 spelling mistakes in at least 10 different files (#2): nicely done! - Now I take it you see why I said there are hundreds and they should be rather easy to find...
02:07.45 Notify 03GCI:V Rahul * 8093205 Find and Fix 5 spelling mistakes in at least 40 different files (#2): Time - Could you tell me when you'll be online? A few minutes of live chat on IRC can clear all my...
02:07.47 Notify 03GCI:Sean * 8103205 Find and Fix 10 spelling mistakes in at least 10 different files (#2): committed - Patch applied in r54143.
02:07.48 Notify 03GCI:Sean * 8086204 Create test for thread creation on Windows: Task Needs More Work - One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to...
02:07.48 Notify 03GCI:Skriptkid * 8086204 Create test for thread creation on Windows: Work - What's the needed work?
02:07.50 Notify 03GCI:amit.daBeast * 7955216 Compile BRL-CAD on Windows using the Borland Embarcadero Compiler: Task Claimed - I would like to work on this task.
02:07.51 Notify 03GCI:Sid Robinson * 8095206 Link all of our orphaned website wiki pages: Yay! - Thanks. I hope it was okay. Appreciate the help. Sid
02:12.39 *** join/#brlcad crosshammer (6ce24073@gateway/web/freenode/ip.108.226.64.115)
02:15.04 crosshammer hey i want to claim task Create a utility library (LIBBU) API unit test ... for parse.c
02:16.47 Notify 03GCI:Erik * 7955216 Compile BRL-CAD on Windows using the Borland Embarcadero Compiler: Task Assigned - This task has been assigned to amit.daBeast. You have 72 hours to complete this task, good...
02:22.17 brlcad crosshammer: sounds good
02:27.14 crosshammer where are the unit test examples
02:29.19 crosshammer in the description it says there are "plenty of examples" but i don't know where to find them
02:33.20 crosshammer 7948222
02:40.19 brlcad did you check out the source code?
02:41.01 brlcad you should also claim the task..
02:42.31 Notify 03GCI:Sean * 7982217 Determine why solids.sh fails on 64-bit: Task Closed - Congratulations, this task has been completed successfully.
02:49.21 Notify 03GCI:BrendenD15 * 8141203 Design a commercial CAD comparison diagram: New Designs - I've sent two different design concepts for the diagram, both in the .zip file. They both have their pros and...
03:01.07 Notify 03GCI:BrendenD15 * 8141203 Design a commercial CAD comparison diagram: Explanation of conceptDiagram1 - The basic idea of this diagram is that each circle represents a feature corresponding to a...
03:01.16 Notify 03GCI:BrendenD15 * 8141203 Design a commercial CAD comparison diagram: Ready for review - The work on this task is ready to be reviewed.
03:35.40 *** join/#brlcad javamonn (~twitch@108.223.143.237)
03:49.26 Notify 03GCI:Skriptkid * 8086204 Create test for thread creation on Windows: Fixed - First three were issues, which are now corrected, but 4 and 5 are there intentionally. argv[1] is the number of times...
03:50.26 Notify 03GCI:Skriptkid * 8086204 Create test for thread creation on Windows: Ready for review - The work on this task is ready to be reviewed.
04:33.51 Notify 03GCI:Sean * 8141203 Design a commercial CAD comparison diagram: like the concept - Brenden, I like the new diagram concept. I'm not sure I understand the second one, but the basic idea of filling...
04:34.11 Notify 03GCI:Sean * 8141203 Design a commercial CAD comparison diagram: Task Needs More Work - One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to...
05:20.33 *** join/#brlcad tofu_ (~sean@BZ.BZFLAG.BZ)
05:34.00 *** join/#brlcad javamonn (~twitch@108.232.134.148)
08:08.39 *** join/#brlcad d_rossberg (~rossberg@66-118-151-70.static.sagonet.net)
09:41.53 *** join/#brlcad merzo (~merzo@90-142-132-95.pool.ukrtel.net)
10:43.47 *** join/#brlcad Skriptkid (~Skriptkid@117.201.172.244)
10:52.20 *** join/#brlcad StrangeLoop (~solo@14.139.82.6)
11:12.47 Notify 03BRL-CAD:brlcad * 54150 brlcad/trunk/AUTHORS: daBeast is Amit Saxena
11:14.25 Notify 03GCI:Sean * 8079211 Review and post "Blender to BRL-CAD" tutorial on our wiki: more time - Toshita, do you need more time? All that's missing is one image, the paragraph, and the wiki upload. ...
11:14.26 Notify 03GCI:Sean * 8038205 Compile BRL-CAD with GCC 4.7+ on Raspberry Pi: looking to get it installed - Looking to get it installed, I'll update you soon.
11:14.27 Notify 03GCI:Sean * 8038205 Compile BRL-CAD with GCC 4.7+ on Raspberry Pi: Deadline extended - The deadline of the task has been extended with 1 days and 0 hours.
11:14.28 Notify 03GCI:javamonn * 8126202 Add a command-line option that sets an object color temporarily: I feel like I'm close... - I feel like I'm close, but I'm not quite there yet. Changing the application...
11:14.29 Notify 03GCI:Sean * 8086204 Create test for thread creation on Windows: not what I was saying - I wasn't saying that passing N and no-of-CPUs aren't needed. I was asking *why* are you running bu_parallel...
11:14.30 Notify 03GCI:Sean * 8086204 Create test for thread creation on Windows: Task Needs More Work - One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to...
11:14.31 Notify 03GCI:Sean * 7954218 Research status of compiling BRL-CAD on MINGW: Deadline extended - The deadline of the task has been extended with 0 days and 12 hours.
11:14.32 Notify 03GCI:Sean * 8095206 Link all of our orphaned website wiki pages: feel free - Feel free to remove all of the markers you left in the wiki pages you edited.
11:14.33 Notify 03GCI:Sean * 8126202 Add a command-line option that sets an object color temporarily: definitely on the right track - You're definitely on the right track. This is from memory so I could be wrong,...
11:14.34 Notify 03GCI:Skriptkid * 8086204 Create test for thread creation on Windows: Misunderstanding - There's probably a misunderstanding on my part. The task description says "that calls bu_parallel and calls...
11:14.35 Notify 03GCI:Skriptkid * 8086204 Create test for thread creation on Windows: Ready for review - The work on this task is ready to be reviewed.
11:14.36 Notify 03GCI:Skriptkid * 8086204 Create test for thread creation on Windows: New test - The latest patch has some more(25 more) tests. I haven't fixed the "N times" part yet, because I'm waiting for...
11:32.31 Notify 03GCI:Sharan * 8043208 Create an Halfspace Model and Diagram: Task Claimed - I would like to work on this task.
11:32.32 Notify 03GCI:Sharan * 8043208 Create an Halfspace Model and Diagram: I would like to complete this - I was on my way to hometown when you extended it took two days on trains to reach there till then the...
11:35.12 Notify 03GCI:Cezar * 8109204 Set up BRL-CAD nightly downloads within Buildbot: Task Claimed - I would like to work on this task.
11:50.47 Notify 03GCI:BrendenD15 * 8141203 Design a commercial CAD comparison diagram: Re: effort? - I understand what you're saying and I'm developing a new format that could work really well. I also understand...
11:50.48 Notify 03GCI:Sean * 8093205 Find and Fix 5 spelling mistakes in at least 40 different files (#2) http://www.google-melange.com/gci/task/view/google/gci2012/8093205: example? Capitalization does not...
11:55.46 *** join/#brlcad Skriptkid_ (~Skriptkid@117.202.108.134)
11:57.58 *** join/#brlcad javamonn (~twitch@108.223.142.236)
11:58.43 *** join/#brlcad Skriptkid (~Skriptkid@117.202.108.134)
12:02.41 Notify 03GCI:Daniel Rossberg * 8109204 Set up BRL-CAD nightly downloads within Buildbot: Task Assigned - This task has been assigned to Cezar. You have 72 hours to complete this task, good luck!
12:02.42 Notify 03GCI:Daniel Rossberg * 8043208 Create an Halfspace Model and Diagram: Task Assigned - This task has been assigned to Sharan. You have 48 hours to complete this task, good luck!
12:18.52 *** join/#brlcad Skriptkid (~Skriptkid@117.202.108.134)
12:29.26 Notify 03GCI:Sharan * 8043208 Create an Halfspace Model and Diagram: Ready for review - The work on this task is ready to be reviewed.
12:49.54 *** join/#brlcad Skriptkid (~Skriptkid@117.202.108.134)
13:41.29 Notify 03GCI:Intro CIT * 7945230 Improve geometry database loading behavior: Task Claimed - I would like to work on this task.
13:44.26 *** join/#brlcad EricPoehlsen (~Eric@ip-109-84-191-149.web.vodafone.de)
14:00.32 Notify 03GCI:Daniel Rossberg * 7945230 Improve geometry database loading behavior: Task Assigned - This task has been assigned to Intro CIT You have 72 hours to complete this task, good luck!
14:03.06 *** join/#brlcad Skriptkid (~Skriptkid@117.202.108.134)
14:26.30 *** join/#brlcad Skriptkid (~Skriptkid@117.202.108.134)
14:29.46 brlcad Skriptkid: so what are your plans after gci is over?
14:32.06 Skriptkid brlcad: Give more time to guitar and school, since 12 grade is around the corner, and learn more stuff in CS :)
14:32.18 brlcad excellent
14:32.23 brlcad what type of guitar?
14:32.53 Skriptkid Electric, acoustic. Different styles on both.
14:33.44 Skriptkid Why do you ask?
14:34.35 Skriptkid brlcad: And also start contributing to BRL-CAD and other open-source projects. I've really started liking this :)
14:43.11 Skriptkid brlcad: On my bu_parallel test creation, you asked why I'm running bu_parallel N times. Isn't that what the task desc says? "calls bu_parallel and calls a function N times"? Where am I going wrong here?
14:46.14 Notify 03GCI:Melange * 8093205 Find and Fix 5 spelling mistakes in at least 40 different files (#2): Task Reopened - Melange has detected that the final deadline has passed and it has reopened the task.
15:06.38 Notify 03BRL-CAD Wiki:FlorenciazjkrjepsmuMariacher * 4859 /wiki/To_Expect_At_A_Intensity_2_Ultrasound: New page: Their mission involves helping the doctors when diagnosing the medical issues. There are many different certified or degree programs for pharmacist techs, which may range provided by six m...
15:12.22 *** join/#brlcad Skriptkid_ (~Skriptkid@117.202.108.134)
15:15.40 *** join/#brlcad merzo (~merzo@70-85-133-95.pool.ukrtel.net)
15:26.23 brlcad Skriptkid: just curious what you're up to
15:26.32 brlcad play guitar myself (classical)
15:27.01 brlcad or better stated *played*
15:27.39 ``Erik back when classical was called contemporary? *duck* :D
15:27.54 brlcad pretty much
15:28.19 ``Erik <-- still has to fix one of his amps :/
15:29.08 *** join/#brlcad Alexandur (4d461d04@gateway/web/freenode/ip.77.70.29.4)
15:30.28 Skriptkid_ Brlcad: cool :D
15:30.55 Skriptkid_ Which one?
15:31.31 ``Erik which one what? amp?
15:31.43 Skriptkid_ Amp
15:31.57 *** join/#brlcad Al_Da_Best (Al_Da_Best@cpc2-shep12-2-0-cust21.8-3.cable.virginmedia.com)
15:31.58 *** join/#brlcad Skriptkid (~Skriptkid@117.202.108.134)
15:31.58 Alexandur Hello again! I checked my task and tried compiling with mingw but i got error at 8% -----> [ 8%] Built target exppp mingw32-make[1]: Target `all' not remade because of errors. mingw32-make[1]: Leaving directory `D:/compile' mingw32-make: *** [all] Error 2 mingw32-make: Target `default_target' not remade because of errors.
15:32.11 ``Erik my jcm2000 went out, so I'm stuck with just an old crate solid state and harmony portable
15:33.11 Skriptkid JCM2000 eh, that's pretty awesome
15:33.37 ``Erik used to be O.o :)
15:34.18 d_rossberg Alexandur: did you set BRLCAD_ENABLE_VERBOSE_PROGRESS via cmake?
15:34.23 Skriptkid 2006, so maybe. I've just read and heard it. :)
15:34.57 Skriptkid Alexandur: yep
15:35.03 Skriptkid Sorry
15:35.10 Skriptkid Didnt read that right
15:35.59 Skriptkid :-$
15:38.32 brlcad Alexandur: what was the command you ran/
15:52.03 caen23 brlcad: can i get an account for my buildbot nightlies task?
15:53.29 brlcad caen23: sure, gimme a sec
15:53.38 caen23 okay
16:19.57 Alexandur mingw32-make VERBOSE=1 -k
16:25.43 *** join/#brlcad DarkCalf (~DarkCalf@2002:ade7:2864::ade7:2864)
16:28.29 Skriptkid_ brlcad: Could you please answers doubt?
16:29.52 *** join/#brlcad Skriptkid (~Skriptkid@117.202.108.134)
16:33.52 *** join/#brlcad luca79 (~luca@188-22-206-147.adsl.highway.telekom.at)
16:48.30 Notify 03BRL-CAD Wiki:FlorenciazjkrjepsmuMariacher * 4860 /wiki/Specifically_What_Does_A_Sonogram_Technician_Go_About_Doing: New page: The doctor is suggested to show the woman a photo of the sonogram and noticable the heartbeat of the unborn child audible for the woman to learn. How the national average beginning salary ...
17:06.57 *** join/#brlcad EricPoehlsen (~Eric@dslb-084-056-089-136.pools.arcor-ip.net)
17:10.19 *** join/#brlcad maths22 (ada798d1@gateway/web/freenode/ip.173.167.152.209)
17:11.47 Notify 03GCI:Jacob B * 8023219 Set up QEMU deployment testing: Task Claimed - I would like to work on this task.
17:14.00 maths22 brlcad: what is up with irssi on crit?
17:14.32 Notify 03GCI:Sean * 8023219 Set up QEMU deployment testing: Task Assigned - This task has been assigned to Jacob B. You have 48 hours to complete this task, good luck!
17:15.01 maths22 Also, why is crit not the webserver anymore?
17:19.19 caen23 brlcad: hmm… that's weird. i ran regress on a 32-bit freebsd and solids didn't fail
17:24.53 *** join/#brlcad Skriptkid (~Skriptkid@117.202.108.134)
17:31.59 Alexandur mingw32-make VERBOSE=1 -k -> tried compile with this and got error at 8%
17:32.07 Alexandur anyone?
17:38.51 Skriptkid Alexandur: Are you asking why it stops even with "-k"?
17:39.27 Alexandur probably
17:39.38 Skriptkid What is your question?
17:43.23 Skriptkid Alexandur: If you mean to say "I used -k, but still compilation fails" then it's probably because at 8% there are so many errors and failures that nothing beyond can be processed.
17:46.08 Alexandur ok then my task is completed i think
17:46.19 Alexandur http://www.google-melange.com/gci/task/view/google/gci2012/7954218
17:47.47 Alexandur ?
17:49.47 Skriptkid Alexandur: Probably, since this is just an "attempt" task. But I can't say, since I'm not a mentor. But try some workarounds or fixes before submitting. That'll leave a lesser space for questions. And also give a good report about what you did.
17:59.34 *** join/#brlcad ``Erik_ (~erik@66-118-151-70.static.sagonet.net)
17:59.42 ``Erik_ irssi on crit seems to work for me
18:03.29 brlcad Alexandur: mingw32-make --version
18:04.44 brlcad Alexandur: if you think you're done, you should upload that entire build log
18:05.15 brlcad it's hard to say what stopping at 8% means without more information
18:05.54 Alexandur ok but when i do > log.txt more errors occur
18:06.00 Alexandur D:\compile>mingw32-make --version GNU Make 3.82 Built for i386-pc-mingw32 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
18:06.12 brlcad okay, that's good
18:06.19 brlcad so -k should be working ;)
18:06.43 brlcad mingw32-make -k VERBOSE=1 > log.txt 2>&1
18:06.51 brlcad upload that
18:21.40 *** join/#brlcad luca79 (~luca@188-22-206-147.adsl.highway.telekom.at)
18:21.46 *** join/#brlcad libero (~luca@188-22-206-147.adsl.highway.telekom.at)
18:25.20 *** join/#brlcad EricPoehlsen (~Eric@dslb-084-056-089-136.pools.arcor-ip.net)
18:25.27 *** join/#brlcad andrei_ (~andrei@188.25.160.239)
18:30.05 *** join/#brlcad Skriptkid (~Skriptkid@117.202.108.134)
18:30.26 Notify 03GCI:Melange * 8095204 Create test for mutex/semaphore locking: Initial Deadline passed - Melange has detected that the initial deadline has passed and it has set the task status to ActionNeeded....
18:43.02 Notify 03GCI:Alexandur Osenov * 7954218 Research status of compiling BRL-CAD on MINGW: Ready for review - The work on this task is ready to be reviewed.
18:44.28 *** join/#brlcad luca79 (~luca@188-22-206-147.adsl.highway.telekom.at)
19:51.13 *** join/#brlcad luca79 (~luca@188-22-206-147.adsl.highway.telekom.at)
20:27.07 Notify 03GCI:Sean * 7954218 Research status of compiling BRL-CAD on MINGW: Task Closed - Congratulations, this task has been completed successfully.
20:29.19 Notify 03GCI:Sean * 8086204 Create test for thread creation on Windows: Task Closed - Congratulations, this task has been completed successfully.
20:37.55 Notify 03GCI:Sean * 8086204 Create test for thread creation on Windows: unnecessary tests - I think there is some misunderstanding on your part of what bu_parallel() does. All of the additional tests you...
20:40.40 Notify 03GCI:Alexandur Osenov * 7945223 Write a BRL-CAD to RAW converter: Task Claimed - I would like to work on this task.
20:44.45 Notify 03GCI:Sean * 8043208 Create an Halfspace Model and Diagram: perspective? - Hi Sharan, welcome back! That looks a lot better but the diagram is still very confusing. Compared to the scale of the...
20:44.51 Notify 03GCI:Sean * 8043208 Create an Halfspace Model and Diagram: Task Needs More Work - One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy...
20:45.36 Notify 03GCI:Sean * 7945223 Write a BRL-CAD to RAW converter: Task Assigned - This task has been assigned to Alexandur Osenov. You have 48 hours to complete this task, good luck!
20:45.56 Alexandur sean can you provide more info?
20:46.55 brlcad Alexandur: what do you mean?
20:48.16 Alexandur https://google-melange.appspot.com/gci/task/view/google/gci2012/7945223
20:48.31 Alexandur about this task
20:48.36 brlcad what would you like to know?
20:49.40 brlcad did you look at the converter file mentioned in the description?
20:51.41 Notify 03GCI:Sean * 8095204 Create test for mutex/semaphore locking: more time - Do you need more time?
20:52.10 *** join/#brlcad Alexandur_ (4d461d04@gateway/web/freenode/ip.77.70.29.4)
20:52.57 Alexandur_ yes i am looking at it now so i need to edit what ? O
20:53.49 brlcad Alexandur_: are you familiar with either the stl format or raw format?
20:54.22 Alexandur_ well no.. but ofcourse this means i`ll look it up
20:54.37 brlcad what about opengl display lists?
20:56.56 Alexandur_ sortaaa, but why askin?
20:57.29 brlcad if you don't understand what the task is having you do, you're going to have a really hard time doing the task, no?
20:57.42 brlcad so the task is to create a geometry exporter
20:57.54 brlcad for the RAW format ... which yes you have to look up
20:58.04 brlcad you're writing out triangles
20:58.20 brlcad the STL format is another relatively simple format but has slightly different syntax being output
20:58.35 brlcad we provide our g-stl.c source as an example to help you
20:59.15 brlcad you're going to copy that, change it to g-raw.c, update the stl references to raw references and then make the output actually be properly formatted RAW output
21:00.17 brlcad you should run the g-stl program on one of our test geometry files so that you understand how it works
21:01.06 brlcad raw is considerably simpler, but you'll need to understand how g-stl works to know what to eliminate/simplify
21:02.24 Alexandur_ so where to find a test geometry file?
21:02.43 brlcad there's a couple dozen provided in our distribution
21:02.53 brlcad in the share/db directory
21:04.42 Notify 03GCI:Titi * 8038205 Compile BRL-CAD with GCC 4.7+ on Raspberry Pi: okay - okay thanks
21:05.54 Alexandur_ in the brld-cad which i checkouted from svn or on the svn somewhere
21:07.49 brlcad build direcotry
21:08.09 brlcad look for moss.g for example
21:12.00 Alexandur_ ok so with 2 words i need to edit the g-stl.c so instead of stl the output should be a raw image? And ofcourse not to mention that for 48 hours i cant even get to know even half of the functions used in th Stl which should mean that i need to focus only on 1 thing for example function or case ???
21:13.44 brlcad it's not an image
21:13.53 brlcad it's 'raw' format triangle data
21:13.57 brlcad vertices
21:14.16 brlcad 3 floating point values per vertex, three vertices per triangle
21:15.06 *** join/#brlcad Skriptkid (~Skriptkid@117.202.108.134)
21:15.13 brlcad you certainly will not have enough time to understand all of the functions used in stl-g but fortunately you'll be using them identically -- just printing output differently
21:15.53 brlcad Alexandur_: start by running g-stl successfully
21:16.23 brlcad look at the stl file it produces with a text editor
21:16.24 Alexandur_ tried :D but got library erros..
21:16.40 brlcad what OS are you on?
21:17.31 Alexandur_ .. :D windows
21:17.34 brlcad is there a language barrier or are you really this slow typing? :)
21:17.38 Alexandur_ no
21:17.51 Alexandur_ i got used to wait like 20min for answer
21:17.52 Alexandur_ :D
21:17.57 brlcad k
21:18.11 Skriptkid brlcad: so all the test program had to take was one parameter? Which is the ncpu?
21:18.27 Alexandur_ coz it iseems like you guys dont use irc as chat but more as forum
21:18.31 brlcad Skriptkid: pretty much
21:18.47 brlcad Skriptkid: there's certainly no harm in running the command multiple times
21:19.03 brlcad and for parallel code, that might actually catch some stateful bug down the road
21:19.14 brlcad but you don't actually test the function, so it's moot ;)
21:19.20 Alexandur_ ok i`ll be off.. its time for some sleep
21:19.29 brlcad Alexandur_: what library error?
21:19.33 Alexandur_ common.h
21:19.39 brlcad that's not a library
21:19.46 Alexandur_ its header
21:19.48 Alexandur_ sry
21:20.05 brlcad running g-stl will not give you a header error
21:20.19 caen23 have you compiled successfully with msvc?
21:20.26 Alexandur_ running :D
21:20.42 brlcad what does that mean?
21:20.45 Alexandur_ wait nobody said i had to compile it :D
21:20.56 Alexandur_ i mean
21:21.04 Alexandur_ the whole project
21:21.09 brlcad you are obviously going to need to compile your g-raw.c program, just like g-stl
21:21.22 Alexandur_ otherwise i am trying to compile
21:21.42 Alexandur_ .... :D i gcced it
21:21.55 Alexandur_ g-stl
21:22.00 brlcad you're not making much sense...
21:22.07 Alexandur_ ok
21:22.12 Alexandur_ will keep it simple
21:22.13 caen23 i think he tried compiling g-stl.c individually
21:22.22 Alexandur_ indeeed
21:22.23 brlcad ahh
21:23.00 Skriptkid I do understand what bu_parallel does. I had thought I needed to run bu_parallel N times with X CPUs. Is it possible to make a commit for this on svn?
21:23.13 brlcad Alexandur_: you should really just say that, not "running" not "running the whole project" not "i gcced it" .. what is "it"!?
21:23.57 brlcad Skriptkid: like I said, running it in a loop is fine
21:24.57 brlcad the real test is running it at *least* 1 time with X CPUs, but no harm runnning more times if it were testing and not printing
21:25.18 Alexandur_ gcced individually the stl-g.c.. sry guys i dont know how peps on my age can know soo many things like raw format and so on... the thing is that i had a task from school to do 2 google code in tasks and i need to do em...
21:25.41 Skriptkid brlcad: okay. And about the error detection, I couldn't come up with anything, since everything is void and is based on using stderr. Any ideas on this?
21:25.57 brlcad Alexandur_: that's okay, you're not supposed to know everything
21:26.09 brlcad the problem hasn't been what you know or don't know but how you're communicating it
21:26.28 brlcad I can't read your mind or know what commands you ran or what buttons you clicked on, etc
21:26.45 brlcad if you need help, ask for help :)
21:26.49 brlcad you're supposed to
21:27.02 brlcad Skriptkid: of course ;)
21:27.21 Skriptkid Tell me. I'll at least try implementing them.
21:27.28 brlcad Skriptkid: everything is void, but you pass a parameter to bu_parallel()
21:27.42 brlcad that parameter is passed to your function
21:27.50 brlcad you even print that value (the cpu id in your case)
21:28.01 Alexandur_ ok thats all for now coz i have to bed now guys... Good night
21:28.03 caen23 Alexandur_: in your checkout version, go inside the "doc" folder and open README.Windows with a text editor. it will teach you how to compile on windows, but you will need a full (not express) version of visual c++. you can get a 90-day trial version from microsoft
21:28.37 brlcad helpful as ever :)
21:28.39 Alexandur_ kk i know how to compile the brl-cad
21:28.42 Alexandur_ bb
21:29.15 Skriptkid brlcad: so whenever a CPU Id missing, something is wrong with that run.
21:29.31 Skriptkid *CPU id is missing
21:29.48 brlcad you're providing the CPU id, so it should never be missing
21:30.17 brlcad but sure, you could test that, but you still have to know whether it worked in the caller where bu_parallel() was invoked
21:31.06 brlcad how can you do that?
21:32.15 Skriptkid What if a modification is made to the thread_data structure I created in one task? A Boolean or int variable which holds if thread execution as successful or not?
21:33.03 brlcad you're getting your tasks mixed up
21:33.20 brlcad where do you have access to a thread_data structure?
21:34.01 Skriptkid Sorry. That's not there yet. Forgot.
21:34.10 brlcad lets say you want to test what you just said -- that you want to test whether the CPU id is non-negative inside your test function
21:34.30 brlcad say we only invoke bu_parallel once
21:34.38 brlcad it runs your test function
21:35.02 brlcad what are some of the ways that main() can know whether test function found a non-negative value?
21:36.33 Skriptkid A pointer as an argument to the test function?
21:36.58 brlcad if you pass a pointer, how do you pass the cpu id?
21:37.49 andrei_ brlcad: I know you are on a tight schedule so answer just if you have time: any specific plan to remove globals from remrt/remrt.c ? Thanks
21:37.53 Skriptkid Hmm...yeah. That won't work.
21:38.39 brlcad Skriptkid: you're on the right track but think even simpler -- there are a half dozen stupid ways you could do it really easily
21:39.14 Skriptkid brlcad: Files? Some global variable?
21:39.47 brlcad that'd be two ways, yep
21:39.54 brlcad andrei_: specific plan as in? I think the answer is no, but removing globals is always a good thing
21:40.07 brlcad you removing them is a fantastic idea ;)
21:40.17 brlcad I saw your e-mail, it's four down in my queue atm ;)
21:40.45 andrei_ I fixed the other one and nothing crashed so far :)
21:41.05 brlcad andrei_: I suggest starting with just ONE global (like save_overlaps) and just trying to eliminate that one properly
21:41.48 brlcad that way your approach will be really obvious, easy to review, and easier to discuss how it might apply to other globals .. most will be on a case-by-case as to how they should be eliminated
21:42.14 brlcad Skriptkid: so yeah, you could just have the test function write a global that said "uh oh" and main would read it, and report the error
21:42.42 brlcad Skriptkid: and yeah, you could write that same "uh oh" to a file, have main read it, etc
21:43.18 brlcad but then both of those are very terrible computing practices
21:43.29 brlcad horrible even (especially the file-based approach)
21:44.02 brlcad how else can the test function send information back to main()?
21:44.55 brlcad Skriptkid: reminder that you were on the right track...
21:47.53 Skriptkid brlcad: I'm out of ideas here. I can think of passing a structure with pointer and CPU id. But that might be stupid too.
21:48.29 brlcad why's that stupid?
21:48.56 Skriptkid But...if the pointer holds a certain value and test function hasn't changed it, it can be and indication to main that there was a failure
21:49.12 Skriptkid *an indication
21:49.39 brlcad I'm sensing you haven't worked a whole lot with pointers just yet and that's fine, but that sounds brilliantly perfect to me
21:50.35 brlcad it wouldn't need to be a pointer that "maybe" changes, it could be a simple int that is initialized to 0 and set to 1 by the test function if it fails
21:51.33 brlcad or it could literally set the CPU id and main() could test whether they match
21:52.29 brlcad the only issue is that you're passing a struct to bu_parallel() which then passes that single struct to multiple simultaneous copies of the test function
21:52.40 brlcad so parallelism in play that you have to deal with
21:53.05 Skriptkid Of course. But pass by reference will have to done right? Else the main wont be able to read it.
21:53.19 brlcad have done what?
21:53.55 Skriptkid You will need to pass a pointer to the structure. To the test function.
21:53.56 brlcad sure it will pass your struct reference to X copies of the test function and they'll all be trying to set the same field
21:54.11 brlcad try it
21:54.25 brlcad simple enough test to see in action
21:55.17 Skriptkid Will do. Next thing tomorrow(because its 4AM here now). How do I submit it?
21:55.57 brlcad solution is to pass a pointer to struct containing a per-cpu array
21:56.13 brlcad go ahead and work on it, I'll create another task for it later
21:57.05 Skriptkid Okay. Thank you.
22:00.42 caen23 brlcad: did you manage to set up the crit account? :D
22:21.10 Notify 03BRL-CAD Wiki:Toshibarve * 0 /wiki/Special:Log/upload: uploaded "[[Image:Blender Step 1.jpg]]"
22:28.04 *** join/#brlcad andrei_ (~andrei@188.25.160.239)
22:30.25 Notify 03GCI:Toshita Barve * 8079211 Review and post "Blender to BRL-CAD" tutorial on our wiki: Re: more time - Hi Sean, I am having tiny little issues that I am starting to fix when I am uploading in...
22:33.07 Notify 03BRL-CAD:carlmoore * 54151 brlcad/trunk/src/proc-db/brickwall.c: remove reference to help (would be replaced by a man page), and add an 'if' construct to avoid division by 0
22:44.37 Notify 03GCI:javamonn * 8126202 Add a command-line option that sets an object color temporarily: Ready for review - The work on this task is ready to be reviewed.
22:47.38 Notify 03BRL-CAD Wiki:Toshibarve * 0 /wiki/Special:Log/upload: uploaded "[[Image:Test1.jpg]]"
22:51.58 Notify 03GCI:javamonn * 8126202 Add a command-line option that sets an object color temporarily: Knew it... - I knew I was close. I was doing exactly that, overwriting the values in ma_color, but I guess...
23:00.23 Notify 03GCI:Toshita Barve * 8079211 Review and post "Blender to BRL-CAD" tutorial on our wiki: Image Size - I have a question. You said that the files can't be too big, so I resized my Blender files to...

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