IRC log for #brlcad on 20121128

00:00.54 starseeker will bbl
00:04.17 *** join/#brlcad GrantMercer15 (GrantMerce@ip72-193-246-126.lv.lv.cox.net)
00:06.40 *** join/#brlcad caen23_ (~cezar@92.81.222.190)
00:08.50 GrantMercer15 starseeker: when im creating a new argv copy inside my function like so: av = (const char **)bu_malloc(sizeof(char *)*(argc + 3), "f_edcodes: av"); is the argc + 3 a constant expression? or will this change
00:10.56 caen23 starseeker: do i need libxml2? i tried running `make` inside .build/doc/docbook/system/man1 and i got a compilation error
00:11.17 starseeker caen23: what was the error?
00:11.43 caen23 starseeker: /Users/cezar/brlcad/src/other/xmltools/libxml/src/threads.c:666:33: error: use of undeclared identifier 'xmlOnceInit'
00:11.44 caen23 <PROTECTED>
00:11.54 starseeker blinks
00:12.23 starseeker Um. Do you have xsltproc and xmllint on your system?
00:12.34 minichrispy how would i know if there are any build failures? are you talking about in xcode?
00:12.34 starseeker if you can install those, you don't need to build them
00:12.59 caen23 starseeker: i have both
00:13.20 starseeker minichrispy: you said it didn't look like you had a successful BRL-CAD build... but you didn't see any clear indications of build failure?
00:13.52 starseeker caen23: OK - when you ran CMake, what options did you supply?
00:14.08 starseeker specifically, the BRLCAD_BUNDLED_LIBS option
00:14.27 minichrispy well, it might have actually been a successul build, but im not really sure where to go from here
00:14.48 caen23 starseeker: nevermind, i ran cmake again (cleanly), and it works
00:15.01 starseeker caen23: heh, cool
00:15.24 starseeker minichrispy: is there a "regress" target?
00:15.53 minichrispy how would i find out?
00:16.08 starseeker are you using the XCode GUI, or the command line?
00:16.35 starseeker if it's the latter, try xcodebuild -target regress (or something along those lines)
00:17.45 *** join/#brlcad bhlegm (~bhlegm@d108-180-27-19.bchsia.telus.net)
00:17.50 starseeker Unfortunately, I'm not familiar enough with the XCode gui to know how to search it for a specific build target - the Apple folks may have some docs
00:18.33 starseeker really heads out this time
00:20.18 Notify 03BRL-CAD:brlcad * 53843 brlcad/trunk/include/vector_x86.h: pull the comment closer to the statement that assumes 16-byte alignment
00:30.30 GrantMercer15 could anyone verify that this is a correct call to quicksort av[1](a copy of argv[1]): qsort(av + 1, argc - 1, sizeof(argc),Sort), Sort is a function i created. I think i have it right but just need some reassurance
00:34.05 minichrispy ive been using the xcode gui
00:34.53 brlcad GrantMercer15: that's not quite right
00:35.16 brlcad sizeof(argc) is going to be sizeof(int) and you really want the size of an av element
00:35.35 brlcad sizeof(av[0]) or sizeof(char*) or something similar
00:36.12 brlcad caen23: I'll try to get your other task cleared out in an hour or two
00:36.23 brlcad the XML task was just released
00:36.29 brlcad they apparently gave up :)
00:36.37 caen23 brlcad: thank you
00:37.21 minichrispy in the gui there's a "targets" section, but i'm not sure how to tell if its a regress target or what a regress target is
00:48.07 Notify 03BRL-CAD:erikgreenwald * 53844 (brlcad/trunk/include/raytrace.h brlcad/trunk/src/librt/attributes.c and 12 others): Apply the comment migration by SkriptKid for the GCI project. http://www.google-melange.com/gci/task/view/google/gci2012/7975238
00:48.43 GrantMercer15 can i write the contents of a const argv[1] to FILE *file even though it is constant?
00:53.46 brlcad sure
00:54.12 brlcad minichrispy: without a screenshot, I don't know what you're looking at
00:55.10 brlcad minichrispy: don't worry about finding a regress target -- just see if you can build it and get mged to run :)
00:56.00 *** join/#brlcad maths22 (~maths22@173-167-152-209-illinois.hfc.comcastbusiness.net)
00:57.12 GrantMercer15 Im trying to remove the calls to system in tables.c and progress is slow, but i think i have the general idea down. brlcad: if you have any freetime could you maybe read through my stackoverflow post and see if i'm on the right track? http://stackoverflow.com/questions/13595662/sorting-argv-by-field-opposed-to-value-by-value
00:57.19 GrantMercer15 thanks if you can
01:15.55 minichrispy This is what I see in xcode: http://www.flickr.com/photos/90521899@N05/8225906906/in/photostream
01:16.16 minichrispy i dont seem to find mged...
01:17.12 caen23 brlcad starseeker: i've finished validating system/man1/en
01:40.28 brlcad caen23: so time for 1st vs time for 2nd?
01:40.35 brlcad vs time for all?
01:40.58 caen23 brlcad: come again?
01:41.46 brlcad how long did it take you
01:42.04 brlcad i'd asked you to keep an eye on how long the first file took you, how long the second took
01:43.30 caen23 brlcad: most of the files required the exact same edit. first… let's say ~5 min. second less than 1 min. for the rest i used a script to weed out the same edit
01:44.11 brlcad seemed like more than 5 min for you to clean up the first one... :)
01:44.31 caen23 template.xml?
01:44.46 brlcad sure
01:45.57 brlcad 18:28 < caen23> brlcad: i'm still trying to fix the first file. my previous task is yet to be reviewed <- that was two hours ago
01:46.21 caen23 starseeker edited that for me, so i didn't count it. plus, that one is a particular case. the rest are more uniform and only require 1 edit
01:46.38 brlcad shrug, okay
01:46.48 brlcad still 11 files, 2 hours ?
01:46.52 brlcad or were you doing something else too
01:47.17 brlcad per your 5+1*10, that would have been 15 min :)
01:48.04 caen23 but yes, figuring out what exactly the task/workflow is will take you more than 5 min :) i didn't get started right away
01:48.54 brlcad the remaining 3 files easy?
01:49.22 caen23 which remaining 3?
01:49.23 brlcad the three about translations
01:49.39 brlcad find doc/docbook/articles -name \*.xml
01:50.20 caen23 i didn't do articles, i did system/man1
01:55.34 brlcad minichrispy: it says build succeeded -- how long did that take?
01:56.55 brlcad at a glance, that project file doesn't look right -- what'd you do to generate the xcode project?
02:03.56 *** join/#brlcad GrantMercer015 (GrantMerce@ip72-193-246-126.lv.lv.cox.net)
02:09.33 caen23 brlcad: so i've got articles and system/ ready. couldn't i submit them as part of a single task?
02:12.01 brlcad caen23: I dont' understand the question
02:13.32 caen23 right now, there's a task on gci that requires cleaning the articles/ dir. so there's probably going to be one for the system/ dir, too. i've finished both of them, so i was thinking of submitting them as a single task
02:19.52 minichrispy @brlcad the build took half a second. I found the xcodeproject file in the folder generated by cmake. i didnt make my own project (im not sure how i would integrate it with brlcad)
02:27.22 brlcad minichrispy: building brl-cad should take 5-10 minutes at least, so it sounds like it didn't make the project right
02:28.00 brlcad more like 5-50 min
02:28.25 minichrispy brlcad: well, i cant seem to find any guide to setup a project correctly, so im not really sure what to do
02:28.37 brlcad caen23: how long did the system dir take? that one is huge
02:29.03 brlcad minichrispy: first things first, have you compiled brl-cad the "normal" way on mac using the make build?
02:29.04 caen23 in all, somewhere around half an hour
02:29.15 brlcad caen23: astounding, okay
02:29.30 brlcad all 263 files??
02:29.57 minichrispy brlcad: no, i only downloaded the already compiled one for mac
02:30.33 brlcad minichrispy: okay, i'm really confused then -- what's your task?
02:30.43 caen23 it seems huge, but it's mostly going over the same stuff. maybe not half an hour, mann was more complex, but somewhere around that
02:30.46 minichrispy http://www.google-melange.com/gci/task/view/google/gci2012/8022212
02:31.09 brlcad okay, so the task is what I thought it was
02:31.26 brlcad how in the world did you get cmake to generate an xcode project? :)
02:31.41 brlcad what did you do?
02:32.05 brlcad caen23: I'll at least add another task for "all the rest" that you can claim
02:32.18 caen23 ok
02:32.38 brlcad books lessons and specifications are the only three remaining
02:33.01 brlcad oh, and presentations
02:33.25 brlcad maybe try doing all except lessons
02:33.32 brlcad then lessons can be a third
02:33.48 brlcad those docs are huge and much much more complex
02:34.14 caen23 yeah, i noticed that "lessons" mostly contains the manuals, which are huge
02:35.02 *** join/#brlcad maths22 (328d9f4a@gateway/web/freenode/ip.50.141.159.74)
02:35.41 minichrispy brlcad: i clicked on the configure button in cmake and there was an option for xcode
02:37.07 brlcad minichrispy: heh, interesting .. it must have some sort of built-in build file it was using
02:37.13 brlcad OKAY ... so that's the problem
02:37.17 brlcad you need a source checkout
02:37.22 brlcad ~cadsvn
02:37.22 ibot To obtain BRL-CAD from Subversion: svn checkout https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk brlcad
02:37.33 brlcad see http://brlcad.org/wiki/Compiling
02:41.06 brlcad compile it via those instructions first, then read this: http://stackoverflow.com/questions/4961123/cmake-xcode-generator-creates-a-project-that-cannot-build
02:41.38 brlcad minichrispy: make sense?
02:42.09 minichrispy brlcad: yea, ill see what i can do, thx for the help so far
02:44.28 brlcad no worries
02:44.52 brlcad remember that detail for when you write up instructions to help the next person ;)
02:47.45 minichrispy brlcad: Im using terminal for this, and it says it doesnt recognize the cmake command
02:47.52 minichrispy for this line: cmake ../brlcad-X.Y.Z -DBRLCAD_BUNDLED_LIBS=ON -DCMAKE_BUILD_TYPE=Release
02:50.13 bhlegm apt-get install cmake?
02:51.40 minichrispy ah, i think i may have gotten it
02:53.50 *** join/#brlcad maths22 (328d9f4a@gateway/web/freenode/ip.50.141.159.74)
02:56.01 minichrispy brlcad: also i was wondering whether i should make a new wiki page for this guide or if there is a page already for these sorts of things
02:56.39 brlcad minichrispy: you're going to add a page
02:58.51 brlcad perhaps: http://brlcad.org/wiki/Compiling/XCode
03:07.23 minichrispy brlcad: Any idea what im doing wrong here? http://www.flickr.com/photos/90521899@N05/8225076641/in/photostream
03:16.21 starseeker caen23: you probably want to grab that articles XML task, seeing as you've completed it :-P
03:16.43 Notify 03BRL-CAD:brlcad * 53845 brlcad/trunk/AUTHORS: credit silvrous for his code contributions (r53844) moving some librt comments from source to header files.
03:17.34 starseeker minichrispy: that almost looks like the Xcode command line tools aren't installed
03:17.34 caen23 starseeker: work for src/conv is still under review :D
03:17.43 starseeker caen23: ah, right
03:18.20 *** join/#brlcad GrantMercer015 (GrantMerce@ip72-193-246-126.lv.lv.cox.net)
03:18.43 brlcad minichrispy: if you can't run "gcc" then you're missing some of the dev tools or your path isn't set right
03:19.40 minichrispy yea, someone else had the same problem, and they said the same thing. installing the xcode command line tools now...
03:20.07 starseeker another note for the eventual article
03:20.15 brlcad yep
03:20.21 brlcad minichrispy: are you taking notes? :)
03:20.38 minichrispy yea, im keeping track of all these little things
03:24.47 starseeker caen23: where's the task for your src/conv work?
03:25.00 starseeker isn't a formal reviewer, but he can exercise the patch
03:25.18 caen23 starseeker: http://www.google-melange.com/gci/task/view/google/gci2012/8027203
03:28.31 starseeker caen23: you might want to make an additional patch that removes the .1 files from src/conv
03:29.25 GrantMercer015 <PROTECTED>
03:29.38 starseeker GrantMercer015: fire away
03:29.40 minichrispy brlcad: ok, the cmake command worked and i have a brlcad-build folder. where do i go from here? do i run the make command? i feel like i needed to be compiling using xcode so im not exactly sure how to use it at the moment
03:30.18 starseeker minichrispy: what was your CMake command? did you generate Makefiles or Xcode projects?
03:30.34 brlcad minichrispy: http://brlcad.org/wiki/Compiling
03:31.09 brlcad should compile it the usual way first
03:31.15 minichrispy i used this: cmake .. -DBRLCAD_ENABLE_STRICT=OFF -DBRLCAD_BUNDLED_LIBS=ON It didnt generate any xcode projects that i see
03:31.29 minichrispy i think thats what i did, right?
03:31.37 brlcad minichrispy: forget about xcode until you complete those Compiling instructions
03:32.03 brlcad that'll help you understand the xcode steps
03:32.07 GrantMercer015 i learned that i cannot just sort argv[1] because it is constant, and it would change the the contents(illegal!), i also learned i cannot sort the contents INSIDE argv[1] with just qsort, i need to get the information out of there somehow. My new idea is using a FILE object to read in the contents of the file into a buffer, then manipulate that buffer into a 2d numerical array then call quicksort
03:32.08 GrantMercer015 to sort the array based upon the 2nd field using quicksort on each column
03:32.15 GrantMercer015 am i overthinking this?
03:32.23 minichrispy ok, so ill continue with make
03:32.46 starseeker GrantMercer015: what was wrong with copying the argv contents into a new, non-const char ** array?
03:34.11 bhlegm hey, i get http://pastie.org/5445879 on the vm
03:34.29 GrantMercer015 so thats what the code you showed me did?
03:34.33 GrantMercer015 well i'll be
03:34.34 brlcad GrantMercer015: nope, that's good progress
03:34.58 brlcad bhlegm: what was your cmake line?
03:35.12 bhlegm -DBRLCAD_ENABLE_STRICT=OFF -DBRLCAD_BUNDLED_LIBS=oN
03:35.14 brlcad you're the second person to report that compiler bug
03:35.22 GrantMercer015 was that code in the utility.c file?
03:35.26 starseeker GrantMercer015: ok, brlcad is a better source of advise for that task - go with his advice
03:36.15 brlcad bhlegm: edit src/libfft/CMakeLists.txt and set FFT_NUMLIST to just "16;32"
03:36.51 brlcad GrantMercer015: so first off, you can change a const, you're just not supposed to
03:37.00 brlcad it's just a hint
03:37.21 GrantMercer015 how would i get past those rules? i never knew i could actually change a const
03:37.29 brlcad you can sort the contents inside argv[1] but not very usefully ;)
03:37.51 brlcad i'm not going to teach you that bad habit, just be aware that it's possible
03:38.07 GrantMercer015 isnt argv[1] the file that the system uses to sort anyways with the sort -n ... command?
03:38.59 brlcad I don't recall what that specific code does
03:39.10 brlcad all that is implied is that it's a string
03:40.17 GrantMercer015 so "it" is a string that i need to compare its numerical values with?
03:41.02 GrantMercer015 because i've spent this entire time attempting to access argv[1] thinking it was the file i needed to sort
03:41.27 brlcad you should figure that bit out ;)
03:41.34 minichrispy @brlcad: that doesnt look too good - http://www.flickr.com/photos/90521899@N05/8225158225/in/photostream
03:41.48 brlcad the fact that you're referencing a single field of an argv array, it's a single string
03:42.23 brlcad so it probably is a filename .. but then where'd that file come from
03:42.30 brlcad maybe you can get to the data before it's written to a file
03:42.44 brlcad you need it in memory to sort it anywyas
03:46.19 brlcad minichrispy: run "locate Xlib.h"
03:46.45 brlcad starseeker: his patch apply cleanly?
03:46.46 GrantMercer015 this gedp struct is looking mighty important to me right now... time to investigate further
03:47.03 brlcad GrantMercer015: time out
03:47.07 brlcad where are you looking
03:47.15 minichrispy WARNING: The locate database (/var/db/locate.database) does not exist. To create the database, run the following command: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist Please be aware that the database can take some time to generate; once the database has been created, this message will no longer appear.
03:47.38 starseeker brlcad: yes - built OK too, although I haven't looked at all the man pages yet
03:48.07 brlcad gonna commit it? :)
03:48.21 brlcad minichrispy: do that
03:48.25 starseeker I can, unless it should be a reviewer who does so
03:48.39 brlcad doesn't need to be
03:48.44 brlcad you say it's okay, I'll close it
03:49.06 starseeker give me another 10 minues or so to check a few of the files
03:49.12 GrantMercer015 im right above the three calls to system() that run the sort command which i need to replace. I see ged_result_string but it seems to just be a log right now, and i've taken notice to the tabptr file used to write to and opens argv[]
03:49.22 starseeker only other question is whether his patch(es) should remove the .1 files in conv too
03:49.41 starseeker I can do that (easier if I do it myself in some ways) but thought I'd check
03:51.07 brlcad GrantMercer015: more specific, what file?
03:51.16 minichrispy brlcad: ok, so once the database shows up i should run the make command again?
03:51.29 brlcad the locate command
03:51.40 GrantMercer015 src/libged/tables.c , the main file i'll be attempting to edit
03:51.59 brlcad the build failed because you don't have an X11 header installed -- another XCode thing you apparently don't have installed
03:52.02 brlcad i'm just making sure
03:52.11 minichrispy yea, im running the locate command until i no longer get the message, and then once the database shows up, i run the make command again, correct?
03:52.49 starseeker brlcad: doesn't he need XQuartz for that now? Or does XCode bundle X11 headers?
03:53.57 *** join/#brlcad harmanpreet (~chatzilla@210.56.124.217)
03:54.20 bhlegm i set FFT_NUMLIST to 16;32, still error
03:55.31 brlcad minichrispy: you're not understanding
03:55.38 brlcad minichrispy: the build failed because you don't have an X11 header installed
03:55.46 brlcad do you understand what that means?
03:56.03 minichrispy brlcad: no idea
03:56.18 brlcad it's looking for a file
03:56.21 brlcad you don't have that file
03:56.42 brlcad there's no command you're running that is going to make the file suddenly exist
03:56.52 minichrispy i thought i installed it with this? sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
03:56.57 brlcad i just had you run a command to make sure you really don't have that file
03:57.03 minichrispy oh
03:57.19 brlcad when you tried to do that, the locate system said that it hasn't been set up yet to look for things
03:57.28 brlcad so you ran the setup
03:57.40 brlcad so you can look for that file
03:57.48 brlcad that you probably don't have
03:58.34 minichrispy it just returned this: http://pastebin.mozilla.org/1964902
03:59.12 starseeker caen23: the comgeom-g man page has a few issues - "s###" isn't translating into the man page cleanly
03:59.18 starseeker looks like a few others like that
03:59.52 starseeker caen23: to check the man page output from a Docbook build, you can do the following from the toplevel build directory:
03:59.54 brlcad minichrispy: that's interesting .. so you DO have versions of that file, just not the usual ones that you should
04:00.00 starseeker ./bin/brlman comgeom-g
04:00.14 brlcad starseeker: how to specify an extra X11 search dir?
04:00.36 starseeker erm
04:00.39 brlcad minichrispy's are in /opt/X11
04:01.13 brlcad minichrispy: what version of mac are you running?
04:01.32 minichrispy 10.8.1
04:01.41 starseeker brlcad: at the moment, I don't think you can short of manually editing misc/CMake/FindX11.cmake
04:02.05 caen23 starseeker: /Users/cezar/brlcad/.build/bin/brlman.tcl: line 54: exec: btclsh: not found :-?
04:02.08 starseeker brlcad: It would be easy enough to add in a variable that could take a path, but I just hadn't done it
04:02.30 starseeker caen23: ah, whoops - you probably haven't built the main part of BRL-CAD
04:02.34 starseeker try make btclsh
04:02.48 brlcad minichrispy: ahhhh
04:02.51 brlcad that explains it
04:02.59 brlcad http://news.softpedia.com/news/X11-and-OS-X-10-8-Mountain-Lion-284454.shtml
04:03.33 starseeker brlcad: I'm going to go ahead and commit - there may need to be a few tweaks to handle some character displays, but that's going to be much easier to sort out with everything in place - basically, it looks good
04:04.25 minichrispy brlcad: any way to fix this?
04:04.48 brlcad minichrispy: yes, did you not read that?
04:05.04 brlcad open source requires LOTS of reading :)
04:05.40 minichrispy i have xquartz though, is there something else i need?
04:08.22 starseeker I take it xquartz is now installing into /opt ?
04:09.13 Notify 03BRL-CAD:starseeker * 53846 (brlcad/trunk/doc/docbook/system/man1/en/CMakeLists.txt brlcad/trunk/src/conv/CMakeLists.txt brlcad/trunk/src/conv/iges/CMakeLists.txt): -----------
04:09.35 starseeker caen23: OK, I've applied your src/conv docbook conversion with r53846
04:09.41 brlcad unfortunately, that's one of the locations we definitely should not be looking in by default
04:09.54 brlcad that's a pandora's box location
04:10.07 starseeker <snort> time to sort out Tk aqua then
04:10.46 brlcad starseeker: what about just setting global ldflag/cppflags
04:10.51 starseeker caen23: there's a little gotcha that happens when doing that sort of conversion - you may find the man pages in src/conv got overwritten by the DocBook output, and will need to be reverted
04:10.59 brlcad forgets the magic foo to do that
04:11.15 starseeker brlcad: maybe... I think I do try to pull in ENV settings somewhere
04:11.22 starseeker brlcad: poorly tested though
04:11.36 brlcad i meant a build in -DCMAKE...
04:11.49 brlcad it's like CMAKE_COMPILER_FLAGS or something
04:11.55 starseeker either way, it's trouble - pretty much "by definition" we can't work out of the box on OSX now
04:12.14 caen23 starseeker: hmm… i don't really know how that would happen. doclifter produces a .xml, the files inside src/conv are .1 :-?
04:12.16 starseeker brlcad: ah - I don't know, we pretty thoroughly overwrite that with the compiler flags macros
04:12.35 brlcad well, we can -- it should have disabled X11
04:12.45 brlcad it failed to do that correctly for whatever reason
04:13.11 brlcad smells a GCI task
04:13.22 starseeker caen23: it's not anything you would have done - the CMake build of BRL-CAD makes extensive use of symlinks to avoid stale copies of files in the build directory (i.e. you can edit a man page in your build dir and it will symlink through back to the source dir)
04:13.39 *** join/#brlcad acwilson (~Alex@adsl-184-47-48-4.asm.bellsouth.net)
04:13.57 starseeker caen23: that has the charming little side effect of having DocBook output from xml writing back into the source directory's .1 original, if you have both building at the same time
04:14.39 starseeker caen23: I've actually found that effect very useful in making sure that we don't leave old copies of man pages around when doing DocBook conversion, but it's a bit of a head scratcher if you're running into it for the first time
04:15.14 caen23 starseeker: oh, now i see. btw, it's awesome that you applied the conversion and i can't wait to give you the rest :D
04:15.16 brlcad minichrispy: what did you cmake summary look like?
04:15.41 starseeker caen23: can you update cleanly? I'd like you to take a look at the man page output if you can
04:16.08 caen23 starseeker: let me run a svn up
04:16.31 minichrispy brlcad: where would i find that?
04:16.50 starseeker brlcad: building without X11 on OSX by default is a very technical definition of "working"
04:17.09 starseeker I agree it should build, but OSX users without any GUIs are not going to be impressed users :-/
04:17.47 caen23 starseeker: `svn up` seems to conflict with the xmls i've modified
04:17.59 brlcad minichrispy: tail -64 path/to/builddir/CMakeFiles/CMakeOutput.log
04:18.10 *** join/#brlcad crdueck (~cdk@24.212.219.10)
04:18.23 starseeker caen23: did you modify your own conversion files to build strict?
04:18.48 brlcad starseeker: sure, but if they're building manually, we can add a couple steps to install Xquartz and set a path later
04:19.05 starseeker caen23: go ahead and keep your local mods, then do an svn diff to see what the difference is
04:19.09 brlcad the default should work just so we don't look bad :)
04:19.12 starseeker (i.e. pick mc)
04:20.04 starseeker brlcad: sure, it's worth fixing
04:20.12 minichrispy brlcad: tail: path/to/builddir/CMakeFiles/CMakeOutput.log: No such file or directory ???
04:20.26 starseeker brlcad: are you saying our *build* process (or configure process) would obtain and install Xquartz?
04:21.01 brlcad minichrispy: you have to put the right path
04:21.04 Notify 03BRL-CAD:brlcad * 53847 brlcad/trunk/TODO: two more cmake tasks, global flags and disabling IF_X
04:21.19 brlcad path/to/builddir is not something you'll have ....
04:21.30 brlcad i have no idea where your build dir is
04:21.36 brlcad it's wherever you ran cmake
04:21.44 minichrispy ah
04:22.00 caen23 starseeker: i ran a svn diff src/conv/bot_dump.1
04:22.11 brlcad starseeker: heck no, just our instructions
04:22.37 brlcad few mac users will compile from source if we keep up the fancy new installer updates
04:22.39 starseeker sighs - brlcad and starseeker appear to have very different basic approaches to configuration and compilation - starseeker almost never overrides C flags in the environment
04:22.47 starseeker brlcad: point
04:22.47 brlcad the ones that will are going to be contributors
04:23.24 starseeker caen23: that was what I was saying earlier - you may need to revert the .1 files in src/conv
04:23.41 brlcad starseeker: i'm not aware of a single IDE that doesn't let you set cflags/cppflags/ldflags
04:23.47 brlcad it's not an override, it's just setting flags
04:23.51 minichrispy brlcad: is this the summary? http://pastebin.mozilla.org/1964969
04:24.17 starseeker brlcad: I'm not saying it's an incorrect approach, it's just something I almost never do outside of the configure mechanisms (either autotools or cmake)
04:24.20 brlcad minichrispy: yes
04:24.36 starseeker brlcad: that's why I don't have it sorted properly yet in CMake :-/
04:24.55 caen23 starseeker: i'm now at revision 53847
04:25.08 starseeker caen23: try the following if you need to: svn revert -R src/conv
04:25.11 brlcad take a random piece of software from linux to just about any other operating system and you almost always HAVE to set a flag or remove a flag
04:25.31 brlcad because that's just not something 75% of hobby devs do
04:26.12 starseeker 's stance is if the flag is needed to build on that OS, it's something the build system needs to know
04:26.47 starseeker caen23: were you able to build btclsh?
04:26.49 brlcad except you complain and blame the OS every time i've pointed out a new environment that fails :P
04:26.55 caen23 starseeker: yes
04:27.29 brlcad still build systems change, eventually it'll be wrong or it'll be something we don't have access to
04:27.31 starseeker caen23: OK - go ahead and build the docs again with the lastest revision, and see if brlman works
04:27.37 brlcad but the person running the build system does, and they need that hook
04:28.07 starseeker brlcad: 'course I complain - after 40 years they should all be on the same page now :-P
04:29.02 brlcad even linux has changed dozens of times just over the past decade
04:29.31 GrantMercer015 SunOS looks pretty cool
04:29.47 brlcad when we find something is commonly needed/new/whatever, we fold it into the build
04:30.16 brlcad until we do or when we're ignorant of that flag or have no need/want for it, global flags can be set/appended
04:31.00 brlcad i'm certain cmake has the option, I've read about it and used it before .. but whether we override instead of appending is another issue
04:31.09 starseeker brlcad: I'm pretty sure it can be supported - it's just a question of the proper logic in the CompileFlags macros (depending on whether you want those flags to apply to src/other as well)
04:31.44 starseeker brlcad: but the smarter thing to do would be to have you prepare a few examples of things you would expect to work - I'm not going to be good at coming up with scenarios
04:32.02 brlcad i'd first see what cmake provides
04:32.17 brlcad i know what I want and I can't have that
04:32.30 starseeker build time overriding?
04:32.37 brlcad ;)
04:32.57 brlcad configure-time will work
04:33.02 GrantMercer015 will die attempting to find this string of data to sort before giving up
04:33.05 brlcad just means it can't be per target or subdir
04:33.36 brlcad GrantMercer015: so i peeked and the value is the filename, note the file open earlier in that function where argv[1] is opened for writing
04:33.41 brlcad then the contents are written out
04:34.22 starseeker brlcad: just edit CMakeFiles/librt.dir/flags.make (or whatever the target is) if you want to locally futz with the flags
04:34.28 brlcad then it sorts if it's not a SOL_TABLE or a REG_TABLE
04:34.42 brlcad starseeker: yeah, that's what I do
04:35.06 brlcad just terribly less efficient and isn't available in some places for some reason
04:35.16 brlcad some targets it's not broken out into a separate file like that
04:35.23 starseeker really
04:35.25 starseeker weird
04:35.26 brlcad and you can't override some things
04:35.30 brlcad like the compiler itself
04:35.36 brlcad needed that just a couple days ago
04:35.42 starseeker yeah, that's a deliberate design decision IIRC
04:36.07 brlcad cmake detected that I was compiling through ccache, needed to compile a subdir without ccache but the compiler was hard-coded into a ton of files
04:36.31 brlcad nah, I don't buy that -- just the simple thing to do
04:36.51 starseeker if you switch the compiler though, all the configure test results are now suspect
04:37.01 starseeker as in "those results may not apply to this compiler"
04:37.15 brlcad I'm not technically switching the compiler
04:37.33 brlcad i'm changing the name of the thing being invoked, sure
04:37.58 starseeker as soon as that name changes though, all bets are off
04:37.59 brlcad mighty high horse there to assume anything
04:38.09 starseeker eh?
04:38.30 brlcad if they did it intentionally, it would be rather presumptuous
04:38.40 brlcad you could make that claim for changing *anything*
04:38.46 caen23 starseeker: is it ok if i run 'make' inside system in the build dir?
04:38.51 starseeker sure
04:39.03 brlcad but they don't -- it's just something not provided
04:39.06 starseeker caen23: that's what you do if you just want to build a subset of the build
04:39.08 brlcad like I said, the simple thing to do
04:39.29 brlcad it would have required a fair bit of infrastructure to variablize everything
04:39.40 caen23 starseeker: i know, but would that subset suffice for running btlman?
04:39.44 starseeker brlcad: <shrug> I guess I saw it as the conservative thing to do, but I'm sure you're right that it was the simple choice
04:39.57 starseeker caen23: no - you'll need to build btclsh as well
04:40.24 starseeker caen23: the docs can be built without requiring brlman be present and working, so it's not a dependency
04:40.35 brlcad there job is to be as flexible as possible, and they already go to pretty extreme lengths to be flexible
04:40.51 caen23 starseeker: but from the docs, all i need is system, right?
04:40.55 brlcad just not quite as far as the main one they're replacing
04:40.57 starseeker right
04:41.09 brlcad they'll get there eventually I bet
04:41.43 starseeker brlcad: hopefully - I'd like to avoid major build system fun for at least another decade or so...
04:42.13 starseeker caen23: your new man pages are all in system, so for the moment that's the focus of interest
04:42.32 minichrispy so where do i go from here?
04:43.09 starseeker brlcad: could he just symlink /opt/X11 to /usr/X11 ?
04:43.15 caen23 starseeker: sorry, i'm a bit tired, so could you please paint me again the big picture? what am i trying to accomplish now?
04:43.29 brlcad starseeker: oh, good idea
04:43.36 starseeker caen23: you can get some sleep if you want ;-)
04:43.52 brlcad i was going to say turn off x11 since it's secondary to the exercise
04:44.03 caen23 starseekr: school starts in an hour :D
04:44.14 starseeker caen23: the "big picture" was to build your new docbook man pages, then take a look at the output with bin/brlman to see if there are any content problems
04:44.32 starseeker comgeom-g looks like it has a few things that didn't translate right into "man page" format
04:44.36 starseeker (for example)
04:45.13 starseeker probably just needs some special characters or quoting or some such - main goal is just to make sure the new man pages are readable and didn't lose content
04:45.27 starseeker caen23: uh oh
04:45.32 caen23 starseeker: alright, then. thanks.
04:46.03 starseeker caen23: no need to push yourself to collapse - we'll be here
04:46.55 caen23 starseeker: :d
04:46.58 starseeker minichrispy: try doing this "ln -s /opt/X11 /usr/X11" and try cmake again
04:48.18 starseeker minichrispy: we apparently need to test the "no X11" build scenario again, but that's outside your scope
04:49.58 minichrispy starseeker: k, its running through cmake now
04:50.28 brlcad caen23: marked your task as closed
04:50.38 caen23 brlcad: thanks
04:50.43 brlcad grab the xml one
04:51.29 caen23 done
04:53.37 minichrispy starseeker: its done
04:53.47 starseeker caen23: one you post your article/system patches, I can give those a go as well
04:53.57 starseeker minichrispy: did it succeed?
04:54.16 minichrispy the cmake worked before, it was the make command that had the error
04:54.17 *** join/#brlcad elf_ (~elf@p5.eregie.pub.ro)
04:54.26 starseeker what does make do now?
04:55.02 starseeker crosses fingers...
04:55.47 starseeker scowls at Bullet and makes a note to wrap those header includes to shush them...
04:55.59 GrantMercer015 ok, so i found that tabptr opens up argv[1] and writes to it, i also know that each line written using fprint specifies two numbers, one negative one positive. If the 2nd field was sorted in the system call, then the print statements would be executed upside down starting with -1 ending with -8. The system call specifies numerical values which line up with the two numbers specified before the
04:55.59 GrantMercer015 line is executed, dear god i think im near the solution
04:57.20 minichrispy starseeker: supposedly it compiles it, as per the instructions here: http://brlcad.org/wiki/Compiling
04:57.58 starseeker minichrispy: but does it succeed now?
04:58.31 minichrispy last time it failed around 29%, its at 21% now
04:59.03 caen23 starseeker: when i try to run `svn diff` on system, i get "svn: Directory 'brlcad/doc/docbook/system/man1/en/dxf' is missing"
04:59.30 starseeker urm
04:59.56 starseeker did you add a dxf directory at one point?
05:00.10 starseeker if so, try "svn revert doc/docbook/system/man1/en/dxf"
05:03.17 minichrispy nvm, last time it failed at 35% and it just failed again at the same spot. I noticed i was getting loads of warnings though throughout the whole process, and the first errors appear at 35%
05:03.41 starseeker what's the error?
05:05.20 minichrispy http://www.flickr.com/photos/90521899@N05/8225158225/in/photostream
05:06.23 starseeker minichrispy: still getting X11 errors then
05:06.37 GrantMercer015 How would i access the data written from tables.c in src/libged/tables.c? im trying to look at the finished product in the program so i can make sure my revision works
05:06.50 starseeker minichrispy: did you clear your build directory when you ran CMake after doing the /usr/X11 symlink?
05:07.01 starseeker minichrispy: if not, try doing that and running CMake from a clean directory
05:07.08 minichrispy yes, i deleted everything in it before running
05:07.12 starseeker nuts
05:07.27 caen23 i think i'll take a break now, but i've uploaded articles.patch and system.patch to gci, just in case
05:07.32 minichrispy am i not supposed to be compiling it using xcode?
05:07.36 starseeker caen23: awesome, thanks!
05:07.56 starseeker minichrispy: it won't matter - without X11 detection, xcode will fail the same way make is failing
05:08.10 minichrispy =/
05:08.16 starseeker minichrispy: you're apparently one of the first people to try BRL-CAD compilation on the latest OSX
05:09.19 starseeker minichrispy: there's one more thing to try
05:09.32 brlcad cache file
05:09.37 brlcad didn't blow it away?
05:09.37 starseeker when you run cmake, add the following build option: -DBRLCAD_ENABLE_X11=OFF
05:09.42 brlcad or that
05:09.58 starseeker brlcad: cleared the build directory first, apparently...
05:10.05 brlcad ah, hrm
05:10.23 brlcad something to investigate when we can get a login on a 10.8 system
05:10.46 GrantMercer015 brlcad, do you know how i would access the file im modifying so i can see how it originall works? src/libged/tables.c
05:10.54 starseeker scowls at Apple... bad as friggin Windows machines when it comes to new version breakage...
05:10.58 brlcad minichrispy: yeah, just disable X11 (don't need to include that in the instructions, we'll sort it out later)
05:10.59 GrantMercer015 i think i'm nearing the completion of the task
05:11.15 brlcad starseeker: 10.8 is a whole new world
05:11.26 brlcad they've ditched a whole lot more than that
05:11.39 brlcad should have named it 11
05:12.42 starseeker must call it a night - applause to the efforts from our GCI students thus far!
05:13.18 GrantMercer015 appreciates the work starseeker does for us
05:14.15 Notify 03BRL-CAD:brlcad * 53848 brlcad/trunk/AUTHORS: full name is Silviu Ungureanu
05:15.29 GrantMercer015 any way i can find out where to view the tables.c file tbptr writes to during the run? i want to check the format it is in
05:23.52 minichrispy i ran the cmake with x11 disabled and then the "make" command, which gave me an error at 33%
05:26.08 *** join/#brlcad jarray52 (~bigbear@unaffiliated/jarray52)
05:31.59 brlcad 1/3rd of our tasks are already being worked on or are completed
05:32.10 brlcad yikes
05:32.42 brlcad GrantMercer015: it tells you right there what that file is
05:32.49 brlcad it's in /tmp i believe
05:33.05 brlcad comment out the bu_file_delete call and it will still be there ... :)
05:38.46 brlcad GrantMercer015: responded with some help
05:38.59 brlcad cheers, ninight time
05:39.32 GrantMercer015 appreciates brlcad endlessly for his help
05:42.17 brlcad Thank you for choosing to fly BRL-CAD
06:13.25 kanzure can i have his flyer miles since he left?
07:00.06 jarray52 brlcad: You mentioned that some commercial CAD programs have support for the brlcad file format. Which programs support it?
07:06.59 *** part/#brlcad jarray52 (~bigbear@unaffiliated/jarray52)
07:33.01 *** join/#brlcad Al_Da_Best (Al_Da_Best@cpc2-shep12-2-0-cust21.8-3.cable.virginmedia.com)
10:29.07 *** join/#brlcad moinnadeem (409521fc@gateway/web/freenode/ip.64.149.33.252)
11:57.12 ``Erik doh, used the wrong name in the commit :( at least I closed the right task in the gci tracker
12:34.47 *** join/#brlcad caen23 (~cezar@92.81.174.19)
12:49.45 *** join/#brlcad Skriptkid (~Skriptkid@117.202.111.44)
12:50.22 *** part/#brlcad Skriptkid (~Skriptkid@117.202.111.44)
12:50.51 *** join/#brlcad M0J0E (~johannes@p4FDFA020.dip.t-dialin.net)
12:54.39 starseeker caen23: did you want to rework the article and system patches, or are they ready to go?
12:55.22 caen23 starseeker: i've uploaded them to gci, you can check them out to see if they're fine
12:57.02 starseeker righto
13:05.13 starseeker caen23: I see you've deleted the author info in the man pages - does DocBook 5 not allow for authorship information?
13:07.29 caen23 starseeker: i was just thinking about that. i think because of the manpage structure, the info is simply floating around at the end of a file, and it caused an error. i did most of the check by converting to pdf and seeing what it looked like, and the author info did not appear anywhere, so i simply removed them. but i now figure out that it probably breaks the manpage, if they're synced
13:10.03 caen23 starseeker: hmm… i now think a better solution would have been wrapping the <info> block inside a <refsect1> :-?
13:14.36 starseeker caen23: not sure yet - messages like this are probably a hint:
13:14.39 starseeker Warn: meta author : no refentry/info/author 3ptarb
13:15.15 starseeker so it's looking for author info somewhere, just not sure exactly where it needs to go yet
13:15.24 starseeker I gotta run - back on in an hour or two
13:15.43 starseeker caen23: maybe see if someone has an example docbook5 manpage with author info that can give us a hint?
13:17.25 caen23 starseeker: i tried putting it somewhere else, too, but if i move it in the meta section, doesn't it disappear from manpage?
13:22.18 caen23 starseeker: hmm… it appears that wrapping the <info> inside a <refsect1> is the way to go. that's how man1/bot_dump.xml does, for example
14:06.02 starseeker caen23: if that works, go for it
14:06.31 starseeker does that clear the "meta author" warnings?
14:07.46 caen23 starseeker: hmm… i didn't pay attention, but right now, the only working i get is "Warn: meta manual : using "BRL-CAD" for "manual" g-acad"
14:07.58 caen23 only warning*, not working :D
14:08.44 starseeker caen23: yeah, saw that one too...
14:09.08 starseeker caen23: what do you see if you build 3ptarb_man_mann in doc/docbook/system/man/mann/en ?
14:09.22 starseeker (I think that's the target name...)
14:11.43 caen23 i ran a make on the mann dir, and after fixing 3ptarb with the <refsection> block, i now only seem to get "Note: Writing 3ptarb.nged". no other warnings :-?
14:12.39 starseeker sweet
14:12.49 starseeker that's a good solution then
14:13.56 caen23 okay then :D should i submit system/man1 when it's done, so you can have a look at it?
14:15.37 starseeker sure
14:16.21 starseeker what's that URL again?
14:16.42 caen23 starseeker: http://www.google-melange.com/gci/task/view/google/gci2012/7950213
14:17.05 caen23 and… this seems to be how we fix the other warning i posted earlier: http://www.docbook.org/tdg5/en/html/refmiscinfo.html
14:17.25 starseeker caen23: cool
14:20.01 caen23 yep, that does cause the other warning to go away
14:22.42 Notify 03BRL-CAD:starseeker * 53849 (brlcad/trunk/doc/docbook/articles/en/TEMPLATE.xml brlcad/trunk/doc/docbook/articles/en/about.xml and 3 others): -----------
14:23.05 starseeker caen23: commited the articles fixes - give me a shout when you're ready for me to try another system (or system/man1, whatever) patch
14:23.36 caen23 starseeker: alright
14:25.41 starseeker ``Erik: how come we're getting the "-----------" string for commit messages? (e.g.53849)
14:32.48 brlcad starseeker: no love for whitespace separation?
14:33.13 starseeker brlcad: hmm? Did I mess up something?
14:34.06 brlcad hm? no, just wondering
14:34.08 brlcad you removed all of the lines that broke up the various sections in the template
14:34.39 brlcad maybe some tool did that?
14:35.06 starseeker oh - that was just caen23's local TEMPLATE.xml changes
14:35.24 brlcad so caen23 has no love for whitespace separation
14:35.36 starseeker didn't worry too much one way or the other - do you want me to be more picky about that?
14:35.45 brlcad no, no
14:35.55 starseeker would prefer an astyle type tool that we could run on the XML - any candidates?
14:35.56 brlcad it was just curious whether that was something intentional or automatic
14:36.18 brlcad there's probably a tidyxml or similar tool somewhere
14:36.46 brlcad tidyhtml back in the day was the go-to
14:37.48 starseeker tidy.sf.net?
14:38.02 starseeker sees if it will compile...
14:38.27 brlcad the template should just be as simple to read as possible, regardless of what style we want everywhere else
14:38.32 brlcad hopefully those needs aren't disjoint ;)
14:38.39 brlcad shouldn't be
14:39.16 brlcad I tried to make it minimal so that it included enough useful examples without too much distraction
14:39.33 brlcad an image, a list, an intro, multiple sections, authorship,..
14:39.57 brlcad this is a little freaky that more than a third of our tasks are claimed
14:40.29 starseeker fortunately DocBook is an endless supply of work...
14:40.50 brlcad I doubt that :)
14:41.04 brlcad realizes he forgot to add the spelling tasks
14:41.40 starseeker ok, it just *seems* endless :-P
14:48.28 starseeker brlcad: I don't suppose you have a tidy config file laying around that generates formatting output you like?
15:05.13 brlcad starseeker: nope
15:05.24 starseeker k
15:05.30 brlcad I don't really have strong preferences when it comes to xml
15:05.37 brlcad there are lots of exceptions to most rules
15:05.55 starseeker nods
15:06.14 starseeker apparently tiny isn't a big fan of blank lines between sections...
15:06.38 brlcad yeah, most automatic formatters will eliminate them
15:06.49 brlcad would have to be docbook-aware
15:07.06 starseeker grumble
15:07.34 brlcad be careful to check the output if it's applied to any xml that has "preformatted" sections like command transcripts or screen captures
15:07.43 brlcad to make sure it doesn't hose them
15:07.47 starseeker suppose tiny could be forked into tinydocbook or some such...
15:08.07 brlcad you know, you could just make a gci task for that, let someone else play with it
15:08.58 starseeker nods - not sure it's worth it though - tiny chopped up a literal layout section good
15:09.27 starseeker probably right that we would need something DocBook aware, and that's no 2 hour job...
15:09.41 *** join/#brlcad iwanmanew (~iwanmanew@94.236.208.130)
15:09.58 brlcad but running some tests to determine whether we need something docbook aware isn't
15:10.21 *** join/#brlcad maths22 (328d9f4a@gateway/web/freenode/ip.50.141.159.74)
15:12.01 ``Erik starseeker: log messages with a colon are confusing the parser, it thinks "Commit articles Docbook patch from GCI task http" is the field name of the next element
15:12.07 maths22 brlcad: when will the new gci tasks be online?
15:12.26 brlcad maths22: I've been adding a few tasks every day
15:12.46 brlcad which specifically are you referring to
15:12.57 brlcad I can make sure something in that area is up soon/next
15:13.02 brlcad mysql?
15:13.07 maths22 Sorry. I mean the ones relating to the website/mysql.
15:13.15 ``Erik (mail parsing bs makes even xml attractive)
15:16.28 iwanmanew i have the tash "COMPILING BRL-CAD WITH ECLIPSE ON LINUX" and in the comment @Sean said "run cmake with this option", can u tell me what is "this option" ? (link : https://google-melange.appspot.com/gci/task/view/google/gci2012/7997215?file=0 )
15:18.01 brlcad iwanmanew: read this http://www.vtk.org/Wiki/Eclipse_CDT4_Generator
15:18.21 brlcad note these two lines:
15:18.24 brlcad "Note that CMake 2.4.x users may follow instructions provided here CMake:Eclipse_UNIX_Tutorial in order to setup an Eclipse+CMake usage manually"
15:18.33 brlcad (that's what you did)
15:18.53 brlcad and "Create a build directory, go there and run CMake (see below for commandline)."
15:19.04 brlcad (that's what the task is expecting)
15:23.40 iwanmanew ok, lets see am i understand, i have to make a project in CMake, then to save the project and import it in Eclipse, then i have to build the project in Eclipse ?
15:23.52 *** part/#brlcad maths22 (328d9f4a@gateway/web/freenode/ip.50.141.159.74)
15:25.05 Notify 03BRL-CAD:starseeker * 53850 brlcad/trunk/doc/docbook/articles/en/TEMPLATE.xml: Try to improve xml readability a bit in TEMPLATE.xml
15:25.21 starseeker iwanmanew: no, the CMake files defining the BRL-CAD build are already present. You will use CMake to take those files as inputs and generate an Eclipse project
15:25.22 brlcad iwanmanew: sounds about right
15:25.34 brlcad oh right heh
15:25.39 brlcad except that first part
15:26.31 brlcad find that second sentence, it has the magic you need
15:28.00 starseeker sigh - yeah, tidy is what all the Docbook lists mention (with the -xml option) so it looks like no one has bothered to do a Docbook-smart prettyprinter
15:28.45 starseeker can't honestly say he's surprised - most commercial folk probably used GUI editors, and it's relatively rare in the open source world...
15:29.08 *** join/#brlcad bhlegm (~bhlegm@d108-180-27-19.bchsia.telus.net)
15:29.20 bhlegm hi, could i have the gallery files for the task? and the db one too, if possible?
15:30.09 starseeker caen23: any luck/difficulties?
15:30.29 caen23 starseeker: i've finished man1 and man3, have just started man5
15:31.07 starseeker caen23: cool. If you want to take a second and post a patch for those two, I'll review them while you're working on the next ones
15:31.24 caen23 okay
15:34.20 caen23 starseeker: done
15:34.25 iwanmanew ok, last question(i hope), from where i can get some example files(BRL-CAD) for testing ?
15:34.29 starseeker caen23: thanks - on it
15:35.00 brlcad bhlegm: which task?
15:36.22 bhlegm http://www.google-melange.com/gci/task/view/google/gci2012/7991207
15:37.31 brlcad bhlegm: do you already have an account?
15:37.45 brlcad (on the server)
15:38.01 bhlegm no
15:38.23 starseeker iwanmanew: uh... what do you mean example files?
15:38.25 brlcad how were you planning on working on setting up piwigo?
15:39.22 bhlegm manually? do you have php5 and mysql5?
15:39.28 *** join/#brlcad archivist (~archivist@host81-149-189-98.in-addr.btopenworld.com)
15:39.35 brlcad bhlegm: I mean where
15:39.47 brlcad we have a couple servers
15:40.06 brlcad one has php5+mysql4, the other has ... I'm not sure ;)
15:40.09 iwanmanew i mean some brlcad project
15:40.20 brlcad iwanmanew: have you compiled brl-cad manually?
15:40.40 bhlegm can i check what the other has? xD
15:40.54 brlcad iwanmanew: you should maybe do that first so you understand a little better what these steps are
15:43.48 brlcad iwanmanew: see http://brlcad.org/wiki/Compiling and/or http://brlcad.org/wiki/Deuces#Getting_Started
15:44.17 ``Erik https://github.com/erikg/cl-cia/commit/d8028799a3d5229472ff48f4640b0306a4c6c299 should fix the "------" log messages, even though it smells a bit (anyone have a better idea for how to handle that?)
15:44.18 brlcad if you can compile manually, all you're doing is adding an option during the cmake step, and then doing the rest within Eclipse
15:45.24 brlcad ``Erik: could look up what cia's source did
15:45.32 starseeker ``Erik: is it live? I'm about to commit the man1 patch, that'll test it
15:46.04 ``Erik starseeker: of course it's live, I code in production O:-)
15:46.16 brlcad bhlegm: i know it's got php5, just haven't checked on mysql just yet
15:46.25 brlcad logs into crit
15:46.35 ``Erik mysql is like 5.5 or something
15:46.46 ``Erik 5.5.28
15:46.57 *** join/#brlcad maths22 (328d9f4a@gateway/web/freenode/ip.50.141.159.74)
15:47.35 brlcad yeah
15:47.38 brlcad beat me to it
15:47.45 brlcad too many damn numbers in that version string
15:47.58 starseeker committed - watch for 53851's message
15:48.16 ``Erik pgsql 9.1.6, too :D
15:48.21 starseeker prods Notify
15:48.25 brlcad bhlegm: okay, so we're good on the new host
15:48.59 brlcad bhlegm: does piwigo have any sort of migration script or helper tools to make importing from gallery2 easy?
15:51.05 bhlegm theres 109 imgs, i'll just upload them myself, then update the table for views, ratings, info
15:51.41 brlcad bhlegm: lemme see if they're conveniently stored in raw format somewhere
15:52.08 starseeker ``Erik: hmm - is sf not getting the word to Notify?
15:52.11 *** join/#brlcad caen23_ (~cezar@92.81.174.19)
15:52.35 ``Erik it got it there, but my isarg func isn't returning the right stuff on the funny name match
15:52.37 starseeker caen23: man1 and man3 patches applied
15:52.43 ``Erik I need to build the right #'values set
15:52.53 ``Erik and there doesnt' seem to be a standard aif :/
15:53.36 caen23 starseeker: great, i'll upload man5 and then it's mann
15:54.15 caen23 man5 is up on gci :D
15:55.21 brlcad bhlegm: hm, I found the originals dir, lists 107
15:55.30 brlcad would be good to know what the 2 discrepancy is all about
15:55.40 brlcad i'll pack them all up and give you a download url
15:56.00 brlcad actually, don't even need to do that -- they should already be on crit
15:56.41 brlcad huh, but they're not, okay
15:57.55 starseeker caen23: man5 committed
15:58.18 starseeker caen23: do you think mann will take long enough to warrant a separate task?
15:59.30 brlcad caen23: would you remove the man pages that you converted from the corresponding Makefile.am files too?
15:59.42 starseeker brlcad: I already did that
15:59.46 starseeker oh, sorry
15:59.48 starseeker Makefile.am
15:59.52 starseeker blegh :-P
16:00.00 starseeker yeah, didn't do that
16:00.03 brlcad yeah, hit an atool fail
16:00.09 starseeker brlcad: that's me, not him
16:00.14 starseeker his patch just added the xml files
16:00.17 starseeker one sec...
16:00.27 brlcad i can delete them too, it was just a quick patch
16:00.37 caen23 starseeker: it's larger than all the other three combined, by far. perhaps it would warrant a different task, but i'd rather this one got accepted first, so i can claim the new one right away
16:00.38 brlcad just would have a better idea which went away
16:00.49 brlcad caen23: definitely separate tasks
16:01.04 starseeker well, articles, man1, man3 and man5 are complete
16:01.05 brlcad we need to get the others in so you can at least get credit for all this work
16:01.36 caen23 brlcad: you mean removing the .1 from src/conv/Makefile.am ?
16:01.39 Notify 03BRL-CAD:starseeker * 53851 (brlcad/trunk/doc/docbook/system/man1/en/asc-nmg.xml brlcad/trunk/doc/docbook/system/man1/en/asc2dsp.xml and 42 others): Commit man1 Docbook patch from GCI task http://www.google-melange.com/gci/task/view/google/gci2012/7950213 by Cezar.
16:01.42 brlcad bhlegm: compressing now
16:01.46 Notify 03BRL-CAD:starseeker * 53852 brlcad/trunk/doc/docbook/system/man3/en/libfb.xml: Commit man3 Docbook patch from GCI task http://www.google-melange.com/gci/task/view/google/gci2012/7950213 by Cezar.
16:01.49 Notify 03BRL-CAD:starseeker * 53853 (brlcad/trunk/doc/docbook/system/man5/en/dsp.xml brlcad/trunk/doc/docbook/system/man5/en/gattributes.xml): Commit man5 Docbook patch from GCI task http://www.google-melange.com/gci/task/view/google/gci2012/7950213 by Cezar.
16:01.53 starseeker caen23: I'll take care of that - don't worry about it
16:02.09 starseeker caen23: ah, there we are - your commits up in lights!
16:02.12 starseeker ``Erik: thanks
16:02.45 starseeker caen23: we'll get a new task up for you for mann - it's basically a copy of the old one with a new target to work on
16:02.50 caen23 starseeker: awesome. so… should i mark my current gci task as complete, so i can claim the mann one?
16:03.16 starseeker I would say so - brlcad, any objections?
16:04.09 ``Erik expected too much magic from the or macro, it doesn't play well with values/multiple-value-bind :)
16:04.27 brlcad absolutely
16:05.29 brlcad rather, caen23 absolutely, close it out -- that bird is done ;)
16:05.45 brlcad starseeker: heh, no objections
16:05.51 caen23 brlcad: done, thanks
16:05.59 brlcad caen23: do you plan on doing a lot more tasks?
16:06.11 brlcad (for brl-cad)
16:06.42 caen23 brlcad: yeahp. i want to get the docs done completely, and then perhaps focus on other types of tasks, if it's alright
16:07.41 brlcad heh, yeah .. it's alright
16:07.59 starseeker caen23: be careful when you say "docs done completely" :-P
16:08.21 caen23 starseeker: i meant the docbook dir :D
16:08.40 brlcad he knows :)
16:09.00 caen23 :D
16:09.07 brlcad caen23: do you have a sourceforge account?
16:09.22 caen23 no, should i create one?
16:09.25 brlcad please
16:11.10 caen23 brlcad: done, caen23
16:15.08 starseeker brlcad: it's not showing yet, but I yanked the conv .1 files out of the Makefile.ams
16:21.55 Notify 03BRL-CAD:starseeker * 53854 (brlcad/trunk/src/conv/Makefile.am brlcad/trunk/src/conv/iges/Makefile.am and 2 others): Remove references to .1 man pages that are converted to docbook
16:31.13 brlcad caen23: have you read our HACKING file?
16:31.34 *** join/#brlcad Guest21529 (~KC@101.78.11.206)
16:31.43 caen23 brlcad: i'm afraid not
16:32.19 caen23 i'll take a break from mann and read it now
16:32.25 Guest21529 I want to know about getting setup for brlcad
16:32.49 brlcad that is conveniently documented here: http://brlcad.org/wiki/Deuces
16:33.52 Guest21529 My task is update mediawiki what should i start from?
16:36.32 brlcad were you here yesterday?
16:36.45 brlcad different name perhaps
16:36.56 Guest21529 me?
16:38.14 starseeker yes
16:38.24 Guest21529 no
16:39.54 Notify 03BRL-CAD:starseeker * 53855 brlcad/trunk/src/libbn/plane.c: initialize AtoP - getting warnings about possible uninitialized use in release build configurations.
16:41.59 Guest21529 anyone can help?
16:45.32 *** join/#brlcad harmanpreet (~chatzilla@124.253.146.80)
16:45.47 Guest21529 hello?
16:48.06 Guest21529 brlcad: I want to know more information about UPGRADE MEDIAWIKI WEBSITE task?
16:50.03 brlcad Guest21529: you have to be more patient on irc ;)
16:50.20 brlcad what's the gci task link?
16:50.35 Guest21529 https://google-melange.appspot.com/gci/task/view/google/gci2012/7974236
16:51.37 brlcad thx
17:00.18 *** join/#brlcad minichrispy (~Alex@69.15.107.3)
17:05.34 *** join/#brlcad minichrispy_ (~Alex@69.15.107.3)
17:06.18 *** join/#brlcad minichrispy (~Alex@69.15.107.3)
17:08.12 *** join/#brlcad turner_ (450f6b03@gateway/web/freenode/ip.69.15.107.3)
17:08.52 harmanpreet brlcad: I was reviewing the work done for the task http://www.google-melange.com/gci/task/view/google/gci2012/7957224 but didn't get what I was expecting. I was expecting little text with images with labels for better reading.
17:08.54 harmanpreet <PROTECTED>
17:10.17 *** join/#brlcad aimt (~amit@1.186.9.7)
17:11.07 harmanpreet I think more work is needed. What you think?
17:16.37 minichrispy brlcad: I'm installing snow leopard on a separate partition. i think that will get past the errors I've been getting with x11
17:24.48 *** join/#brlcad Al_Da_Best (Al_Da_Best@cpc2-shep12-2-0-cust21.8-3.cable.virginmedia.com)
17:27.09 caen23 brlcad: i've read the HACKING file. back to mann now
17:34.01 Notify 03BRL-CAD Wiki:Minichrispy * 4675 /wiki/Compiling/XCode: New page: = CCOMPILING BRL-CAD WITH XCODE ON MAC OS X = Placeholder == Obtain Dev Tools ==
17:34.04 Notify 03BRL-CAD Wiki:Minichrispy * 4676 /wiki/Compiling/XCode: /* CCOMPILING BRL-CAD WITH XCODE ON MAC OS X */
17:43.07 Notify 03BRL-CAD Wiki:Minichrispy * 4677 /wiki/Compiling/XCode:
17:43.10 Notify 03BRL-CAD Wiki:Minichrispy * 4678 /wiki/Compiling/XCode:
17:43.13 Notify 03BRL-CAD Wiki:Minichrispy * 4679 /wiki/Compiling/XCode:
17:43.16 Notify 03BRL-CAD Wiki:128.63.32.74 * 4680 /wiki/Deuces: move the patches closer to the intro
18:10.58 *** join/#brlcad elf_ (~elf@213.233.85.3)
18:16.20 Notify 03BRL-CAD Wiki:Jacksixb * 4681 /wiki/User:Jacksixb/Independent_Study_2012-13_Log: Update past two days
18:21.24 Notify 03BRL-CAD:n_reed * 53856 brlcad/trunk/src/librt/primitives/pipe/pipe.c: tweak collinearity test - dist should never be nan but could be infinite
18:23.45 *** join/#brlcad maths22 (ada798d1@gateway/web/freenode/ip.173.167.152.209)
18:25.34 maths22 brlcad: I just want to check. Has the MySQL task been created and taken, or has it yet to be created? I just want to know if I should keep waiting for it or choose something else.
18:37.23 *** join/#brlcad Al_Da_Best (Al_Da_Best@cpc2-shep12-2-0-cust21.8-3.cable.virginmedia.com)
18:37.43 *** join/#brlcad caen23_ (~cezar@92.81.169.80)
18:44.21 brlcad harmanpreet: I had the same feeling about it
18:44.36 brlcad notably doesn't look anything at all like all of the various examples that were included too
18:45.26 harmanpreet brlcad: Same here. So I changed status to NeedWork.
18:45.29 brlcad caen23: congratulations, you now have commit access
18:45.33 brlcad don't break anything ;)
18:47.45 brlcad still want you to claim tasks and upload patches so you get credit for your work for gci, but it should streamline getting your work integrated
18:49.12 brlcad you can make a diff, commit it directly to the repo, then upload the diff and commit revision number to the gci site
18:49.43 brlcad note that you can pull revisions from svn so you can create the diff after the fact too if you need to
18:52.43 caen23 brlcad: that's nice, thanks. i think mann makes for a great first commit
18:54.54 starseeker caen23: if you get done with mann and we don't have a task up for that yet, give us a shout here
18:55.20 caen23 starseeker: sure
18:59.53 Notify 03BRL-CAD:jordisayol * 53857 (brlcad/trunk/misc/Makefile.am brlcad/trunk/misc/debian/brlcad.install brlcad/trunk/misc/debian/source/include-binaries): Improve Linux icons quality
19:00.00 brlcad caen23: mann task created
19:00.28 caen23 brlcad: thanks
19:03.45 brlcad caen23: grab this one first: http://www.google-melange.com/gci/task/view/google/gci2012/7993218
19:04.18 caen23 brlcad: do i reupload the previous work?
19:04.24 *** join/#brlcad cristina (~quassel@188.24.80.236)
19:04.27 brlcad yes
19:05.31 starseeker cristina: howdy
19:05.40 cristina starseeker: hello :)
19:05.41 brlcad caen23: then http://www.google-melange.com/gci/task/view/google/gci2012/7991208
19:05.48 *** join/#brlcad minichrispy (~Alex@69.15.107.3)
19:06.08 *** join/#brlcad harmanpreet (~chatzilla@124.253.147.149)
19:08.04 caen23 brlcad: i uploaded the first task
19:15.12 Notify 03BRL-CAD:brlcad * 53858 brlcad/trunk/AUTHORS: credit Cezar Elnazli for all his work on the documentation system, converting our old manual pages to docbook xml, and cleaning up existing xml docs (lint validation)
19:16.46 Notify 03BRL-CAD:carlmoore * 53859 (brlcad/trunk/include/bot.h brlcad/trunk/include/dm.h brlcad/trunk/include/raytrace.h): fix spellings
19:18.55 Notify 03BRL-CAD:carlmoore * 53860 (brlcad/trunk/src/fb/bw-fb.c brlcad/trunk/src/fb/fb-orle.c and 2 others): fix spellings
19:20.31 Notify 03BRL-CAD:carlmoore * 53861 (brlcad/trunk/src/tclscripts/hv3/hv3_form.tcl brlcad/trunk/src/tclscripts/mged/text.tcl brlcad/trunk/src/tclscripts/swidgets/scripts/tree.itk): fix spellings
19:20.36 brlcad caen23: http://www.google-melange.com/gci/task/view/google/gci2012/7991208
19:21.30 caen23 brlcad: done
19:22.35 brlcad almost cries with joy.. carl committing multiple files at the same time
19:23.00 Notify 03BRL-CAD:carlmoore * 53862 (brlcad/trunk/src/tclscripts/mged/comb.tcl brlcad/trunk/src/tclscripts/mged/openw.tcl): fix spellings
19:23.39 Notify 03BRL-CAD:carlmoore * 53863 brlcad/trunk/src/tclscripts/mged/skt_ed.tcl: change capital I to small i
19:25.48 Notify 03BRL-CAD:carlmoore * 53864 (brlcad/trunk/src/conv/dxf/g-dxf.c brlcad/trunk/src/conv/patch/patch-g.c brlcad/trunk/src/irprep/showtherm.c): fix spellings and fix apostrophe
19:28.13 Notify 03BRL-CAD:carlmoore * 53865 (brlcad/trunk/src/conv/iges/conv_drawings.c brlcad/trunk/src/conv/iges/revolve.c and 3 others): fix spellings
19:31.28 Notify 03BRL-CAD:brlcad * 53866 brlcad/trunk/NEWS: jordi beefed up the desktop icons for files and our apps on linux
19:34.37 Notify 03BRL-CAD:carlmoore * 53867 (brlcad/trunk/src/liboptical/sh_toyota.c brlcad/trunk/src/mged/chgtree.c and 4 others): fix spellings
19:41.09 *** join/#brlcad M0J0E (~johannes@p4FDFA020.dip.t-dialin.net)
19:41.20 Notify 03BRL-CAD:carlmoore * 53868 (brlcad/trunk/src/libbn/mat.c brlcad/trunk/src/libbn/tplot.c and 4 others): fix spellings including Glassner
19:45.59 Notify 03BRL-CAD:carlmoore * 53869 (brlcad/trunk/doc/docbook/specifications/en/BRL_CAD_g_format_V5.xml brlcad/trunk/doc/html/ReleaseNotes/Rel6.0/index.html and 3 others): fix spellings including Glassner
19:48.14 Notify 03BRL-CAD:carlmoore * 53870 (brlcad/trunk/doc/html/manuals/index.html brlcad/trunk/doc/html/manuals/mged/mged1.html brlcad/trunk/doc/html/manuals/mged/shaders.html): fix spellings
19:48.33 Notify 03BRL-CAD:carlmoore * 53871 brlcad/trunk/misc/CMake/FindADAPTAGRAMS.cmake: fix spelling of ADAPTAGRAMS
19:51.43 *** join/#brlcad bhlegm (~bhlegm@d108-180-27-19.bchsia.telus.net)
20:03.18 Notify 03BRL-CAD:brlcad * 53872 brlcad/trunk/AUTHORS: credit Akshay Kashyap (skriptkid) with his gci contribution that moved libbn comments from source to header files
20:04.27 Notify 03BRL-CAD:brlcad * 53873 (brlcad/trunk/include/bn.h brlcad/trunk/src/libbn/mat.c and 12 others): accept gci task http://www.google-melange.com/gci/task/view/google/gci2012/8008208 from Skriptkid (Akshay Kashyap) which migrates comments from libbn sources to the bn.h header. per his notes, he moved not only the function comments but also some of the file header comments. nice.
20:12.02 Notify 03BRL-CAD:carlmoore * 53874 (brlcad/trunk/src/librt/prep.c brlcad/trunk/src/librt/timer42.c brlcad/trunk/src/librt/timerunix.c): fix spelling of Compatibility
20:14.47 *** join/#brlcad GrantMercer015 (~GrantMerc@ip72-193-246-126.lv.lv.cox.net)
20:16.46 GrantMercer015 does the vm image on the brlcad website come with brlcad pre-installed?
20:29.51 Notify 03BRL-CAD:carlmoore * 53875 brlcad/trunk/include/bn.h: remove trailing blanks/tabs
20:30.44 brlcad GrantMercer015: I the sources are pre-downloaded
20:31.42 brlcad I don't believe binaries were included because they would have made the vm image huge, but it should build and install cleanly straight from download
20:33.44 *** join/#brlcad maths22 (ada798d1@gateway/web/freenode/ip.173.167.152.209)
20:39.39 *** join/#brlcad caen23_ (~cezar@92.81.174.86)
20:40.19 GrantMercer015 im having some trouble installing the VM to my windows 7 computer, i open the appliance and attempt to install it, but it says the compressed image file is corrupted
20:40.30 GrantMercer015 could it be that the VM i have wants .ovf instead of .ova format?
20:40.54 brlcad no, your download probably didn't complete successfully
20:41.08 brlcad check the checksum or just try downloading it again
20:41.24 brlcad that's happened to others, connection gets cut
20:42.09 GrantMercer015 alright, ill redownload the file
20:48.48 *** join/#brlcad maths22 (ada798d1@gateway/web/freenode/ip.173.167.152.209)
20:49.55 Notify 03BRL-CAD:starseeker * 53876 (brlcad/trunk/doc/docbook/system/man1/en/CMakeLists.txt brlcad/trunk/doc/docbook/system/man1/en/g2asc.xml brlcad/trunk/doc/docbook/system/man1/en/pix2asc.xml): Had a couple man pages which output to two names - fix build logic.
20:50.32 caen23 mann is done. here's how i plan to commit: 1) cd brlcad/doc/docbook/system/mann/en 2) svn commit. is this okay, or will it break anything? svn status only shows the files in this directory, marked as M(odified)
20:51.22 starseeker caen23: that should be fine - You'll need an -m option to svn providing a commit message
20:51.40 caen23 starseeker: okay, let me try
20:52.03 starseeker something like svn commit -m "Fix xmllint errors in mann Docbook files"
20:53.07 caen23 hmm… i went with "mann now passes XML validation". can i not change the message after the fact?
20:53.18 starseeker caen23: that's fine too
20:53.31 caen23 alright then
20:53.37 starseeker caen23: the point of the commit message is to describe what the commit is about
20:54.12 caen23 i understand that, but i thought it wasn't explicit enough :D
20:54.26 starseeker nah, that's good
20:55.49 Notify 03BRL-CAD:brlcad * 53877 brlcad/trunk/src/tclscripts/archer/images/Makefile.am: missing a few files
20:56.19 Notify 03BRL-CAD:brlcad * 53878 brlcad/trunk/src/tclscripts/lib/tclIndex: missing accordian files
20:57.16 caen23 brlcad: you said you wanted me to upload a patch to gci, as well as the commit revivision number. how do i do that? leave a comment, or post a link to the commit?
21:00.20 brlcad caen23: you cannot change the commit message after you commit, that's a permanent record
21:00.43 brlcad but you can change it on the command line or leave off the -m and it'll throw you into your default EDITOR
21:01.32 brlcad the commit message should say whatever the source diff doesn't say (which is usually a summary of 'what' and almost always 'why')
21:02.00 brlcad leaving a comment on the gci task is fine, it's just to let any of the other mentors know that you already committed it
21:02.34 brlcad you could even say that, "since I was granted commit access, this change was applied in r#####"
21:02.58 brlcad but a simple "committed in r#####" suffices too
21:03.29 brlcad caen23: it would be good to also reference the GCI task in your svn commit message
21:03.41 caen23 good point
21:03.43 brlcad (that's part of the 'why')
21:04.22 brlcad maths22: mysql task is up
21:04.27 Notify 03BRL-CAD:caen23 * 53879 (brlcad/trunk/doc/docbook/system/mann/en/3ptarb.xml brlcad/trunk/doc/docbook/system/mann/en/B.xml and 243 others): mann now passes XML validation
21:04.47 maths22 Thanks
21:04.49 caen23 wow, it's live. that's nice
21:06.11 *** join/#brlcad M0J0E (~johannes@p4FDFA020.dip.t-dialin.net)
21:21.47 *** join/#brlcad maths22 (~maths22@173-167-152-209-illinois.hfc.comcastbusiness.net)
21:25.09 *** join/#brlcad caen23_ (~cezar@92.81.174.86)
21:38.06 brlcad caen23: you didn't mark the mann task as done
21:38.43 caen23 brlcad: oops, sorry. done
21:41.06 brlcad http://www.google-melange.com/gci/task/view/google/gci2012/8029208
21:42.25 *** join/#brlcad 45PABEPV3 (~cezar@92.81.174.86)
21:54.13 *** join/#brlcad bhlegm (~bhlegm@d108-180-27-19.bchsia.telus.net)
22:07.36 starseeker woo hoo - most of the way to a clean xmllint enabled docbook build
22:10.46 *** join/#brlcad GrantMercer015 (GrantMerce@ip72-193-246-126.lv.lv.cox.net)
22:10.49 GrantMercer015 not going to lie, building the source on my unix VM is pretty cool seeing all the files being created infront of my eyes
22:14.33 GrantMercer015 I might need an extension of time for my current task, where do i ask for one? I have to hop on a plane and i have an estimated 20 hours of tavel so i my deadline might run out before i land
22:38.15 brlcad GrantMercer015: which task?
22:40.00 *** join/#brlcad GrantMercer015 (GrantMerce@ip72-193-246-126.lv.lv.cox.net)
23:00.20 *** join/#brlcad caen23 (~cezar@92.81.174.86)
23:05.51 *** join/#brlcad bhlegm (~bhlegm@d108-180-27-19.bchsia.telus.net)
23:06.01 brlcad bhlegm: what are you working on now?
23:08.20 bhlegm i made a folder public_html but i can't get to it through http://crit.brlcad.org/~gcibhlegm
23:10.44 caen23 brlcad: lessons/en is already valid :-?
23:11.26 starseeker hmm - looks like it
23:11.32 starseeker es has some troubles
23:12.10 starseeker caen23: go ahead and hit the es lessons
23:12.51 brlcad bhlegm: how long were you going to wait to tell someone that? :)
23:13.06 starseeker If that goes too quick for a task, you can toss in BRL-CAD_Tutorial_Series-VolumeIV.xml in books/en
23:13.41 brlcad yeah, just hit up the rest of the lessons
23:13.56 caen23 starseeker: hmm… i'm not so sure. es/mgde01 shows the following error: element listitem: Schemas validity error : Element '{http://docbook.org/ns/docbook}listitem': Character content other than whitespace is not allowed because the content type is 'element-only'.
23:14.00 brlcad I thought one of the directories had received some validation attention at one point
23:14.13 caen23 but en/mged01 has the same structure and it doesn't complain
23:14.34 GrantMercer015 i could use some help coming up with a method for a sorting method for my on-going task
23:15.15 GrantMercer015 i found that the the strings i need to sort are written using fprintf(const * char), so my guess is to make an array of strings and use qsort to sort the array
23:15.32 caen23 starseeker: perhaps they've been suppressed somehow in en?
23:15.47 brlcad GrantMercer015: http://www.anyexample.com/programming/c/qsort__sorting_array_of_strings__integers_and_structs.xml
23:15.47 GrantMercer015 im having trouble thinking of how i would parse the string so i could access the second variable in the string in order to sort
23:15.59 brlcad everything you need should be in there
23:16.21 starseeker hrm
23:16.40 brlcad you need a two dimensional array of strings
23:17.29 bhlegm brlcad i went to school
23:17.42 caen23 starseeker: i'm sorry, i wasn't paying attention. it's alright, i'll fix es
23:17.51 brlcad bhlegm: how dare you!
23:17.59 bhlegm my dad forced me :(
23:18.10 starseeker caen23: eh?
23:19.07 GrantMercer015 yea, i've figured that part out. I also found the file that i need to sort, so my plan is to copy each line of the file into a 2d array into and send it to qsort to sort. But my question would be what about the lines that dont contain numbers? will qsort have an error for those?
23:19.10 GrantMercer015 example:
23:19.11 starseeker caen23: that first one in the first lesson looks like a period outside the paragraph...
23:19.41 brlcad { { "col1row1", "col2row1", "col3row1" }, { "col1row2", "col2row2", "col3row2" } }
23:20.38 brlcad lines without numbers will end up being empty or null fields in your 2d array, now?
23:21.11 GrantMercer015 so if i have a line saying: "5 -4 user : %s\n""
23:21.34 GrantMercer015 i parse the 5 into col1row1, -4 into col2row1 and the rest into col3row1?
23:22.20 GrantMercer015 actually, that wouldnt quite make sense with my logic
23:22.53 starseeker brlcad: did you see this back in August? http://www.3dcadtips.com/open-source-cad-another-perspective/
23:23.03 starseeker caen23: good to go?
23:23.25 GrantMercer015 i was thinking have char * Arr[] = { {contents of line1}, {contents of line2} } and pick the individual line apart during the sort function
23:23.52 caen23 starseeker: figured it out, thanks :D btw, did my message not show up, because i've only just received the last 15 messages or so, in one shot
23:24.17 starseeker which message? in IRC?
23:24.20 caen23 yes
23:24.43 starseeker last one I saw was the "i'll fix es" one
23:25.04 *** join/#brlcad louipc (~louipc@archlinux/fellow/louipc)
23:25.08 caen23 it's okay, then :) back to work
23:25.26 starseeker heh - yeah, IRC will occasionally be a bit quirky
23:25.45 *** join/#brlcad dtidrow (~dtidrow@c-68-84-167-135.hsd1.mi.comcast.net)
23:26.24 starseeker caen23: commit messages are sometimes even quirkier in channel, since they rely on an email system generating a mail and then ``Erik's lisp minions doing some crunching
23:28.04 brlcad starseeker: I think I did, but it's a good refresher either way
23:28.31 brlcad GrantMercer015: what you first said, yes
23:28.42 brlcad because that's exactly what the command-line 'sort' tool does
23:29.18 brlcad you could do your other idea with a 1D array with each entry being the line from the file
23:29.35 brlcad but, like you note, writing that sorting function is going to be a little more tricky
23:29.42 brlcad a whole lot easier book-keeping though
23:29.55 brlcad bhlegm: fixing the user-dirs
23:30.55 bhlegm thanks
23:32.37 Notify 03BRL-CAD:carlmoore * 53880 brlcad/trunk/src/proc-db/pyramid.c: fix Glassner spelling
23:32.44 Notify 03BRL-CAD:brlcad * 53881 (brlcad/trunk/NEWS brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl): fix the deprecation error reported by hsrai on the brlcad-users mailing list where he noticed a deprecation error when he selected File->New and created a new database. it was using the old Db interface. make it use the new ged interface.
23:36.02 brlcad bhlegm: should be working now
23:36.21 bhlegm thanks :)
23:36.27 bhlegm oh
23:36.45 bhlegm could i have read access to wherever the current gallery is?
23:36.55 bhlegm if it's on here
23:39.34 Notify 03BRL-CAD:caen23 * 53882 (brlcad/trunk/doc/docbook/lessons/es/mged01_crear_figuras_primitivas.xml brlcad/trunk/doc/docbook/lessons/es/mged02_opciones_vistas.xml and 3 others): lessons/es is now XML valid (GCI Task)
23:42.53 starseeker nice! - looks like it's down to just the Vol4 tutorial book, based on what I'm seeing here
23:43.44 starseeker brlcad: what do you think? - Vol4 as its own task?
23:44.02 *** join/#brlcad minichrispy (b82f2fc7@gateway/web/freenode/ip.184.47.47.199)
23:46.37 starseeker estimate about 50 errors in VolIV
23:47.00 brlcad bhlegm: what kind of access?
23:47.39 brlcad yeah, that's a good one
23:47.40 *** join/#brlcad iwanmanew (~iwanmanew@94.236.208.130)
23:48.03 starseeker brlcad: so caen23 should mark this task as done?
23:48.26 brlcad yep
23:48.43 brlcad caen23: mention that actual task url in your commit message
23:48.57 starseeker (next time)
23:48.59 bhlegm enough so i can see the tables on the database that gallery uses
23:49.30 brlcad bhlegm: ah, you'll have to log into a different machine for that
23:50.14 GrantMercer015 brlcad: i got my example program working with qsort but im only able to sort using the firt field because strcmp reaches that first, how can i make strcmp ignore the first number and sort using the second number?
23:50.36 starseeker caen23: once VolumeIV is delt with, what sounds interesting? Did you want to do for src/fb, src/util, etc. what you did for src/conv? (now that you've got the hang of it) or did you want to do something else?
23:50.51 GrantMercer015 the lines contain like such "num numiNeedToSort DataforFile"
23:51.00 starseeker caen23: just askinso we get a sense of what tasks to have ready
23:51.38 starseeker GrantMercer015: remember the links I pasted yesterday giving an overview of string comparison functions?
23:53.27 starseeker http://en.wikipedia.org/wiki/C_string_handling#Functions
23:54.09 GrantMercer015 i do and i looked over them, but i need to sort the second char in the string instead of the first. I looked over the link and didnt find anything like that
23:54.47 *** join/#brlcad maths22 (~maths22@c-50-141-159-74.hsd1.il.comcast.net)
23:55.04 starseeker GrantMercer015: so if you want to compare three characters of two strings starting with the second character in each, you'll use a combinatoin of strncmp and adding offsets to the string char* address
23:55.32 caen23 starseeker: haven't put much thought into it, but at some point i was interested in the "set up svnplot" one
23:55.54 brlcad http://www.google-melange.com/gci/task/view/google/gci2012/7994222
23:56.37 starseeker GrantMercer015: this might be helpful: http://stackoverflow.com/questions/256218/the-simplest-way-of-printing-a-portion-of-a-char-in-c
23:56.53 brlcad yeah, give someone else a go at the other manual pages ;)
23:57.39 starseeker GrantMercer015: you'll be doing something other than using printf, but look at how they are addressing parts of a astring
23:58.27 brlcad GrantMercer015: you have to increment the pointer to the field of interest to make strcmp work
23:58.30 GrantMercer015 raises his hands in disbelief, he has solved the problem!
23:59.10 starseeker caen23: but if the weeks go by and nobody else grabs the other man page conversions tasks, feel free to pick 'em off while your skills are fresh :-P
23:59.18 GrantMercer015 whats the brlcad vm password?
23:59.24 minichrispy brlcad: ive installed mac os x snow leopard on another partition, and now im downloading a compatible version of xcode as well as all the cmake/brlcad tools. hopefully this will work better than mountain lion
23:59.28 brlcad and therein is a problem, because you dont' have access to know which field by the time it gets to there
23:59.32 brlcad GrantMercer015: beats me
23:59.36 brlcad it's in the instructions
23:59.36 GrantMercer015 dang it

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