IRC log for #brlcad on 20120531

00:02.04 brlcad crdueck: ah, and I see why you set ctjctj -- fixed
00:03.56 *** join/#brlcad archivist (~archivist@host81-149-189-98.in-addr.btopenworld.com)
00:05.15 Stattrav path to files is ?
00:05.16 CIA-65 BRL-CAD: 03Cprecup 07http://brlcad.org * r3773 10/wiki/User:Cprecup/GSoC2012_progress: update: 30/05/2012: chose Adaptagrams; MVC pattern
00:06.00 Stattrav checking the svn tutorial anyway
00:06.09 brlcad path/to/file1 path/to/file2 path/to/whatever
00:07.52 Stattrav aah
00:09.37 Stattrav aah just the folder by folder diff with the index
00:11.40 CIA-65 BRL-CAD: 03Al Da Best 07http://brlcad.org * r3774 10/wiki/User:Al_Da_Best/devlog: Filled gaps and updated current status
00:20.42 Stattrav brlcad: the tables after the data is fed into them http://i.imgur.com/xa9CG.png
00:29.21 CIA-65 BRL-CAD: 03Stattrav 07http://brlcad.org * r0 10/wiki/Special:Log/upload: uploaded "[[Image:Benchmark perfomance db.png]]"
00:39.07 CIA-65 BRL-CAD: 03Stattrav 07http://brlcad.org * r3776 10/wiki/User:Stattrav/GSoC2012_log: Updation of the logs.
00:39.13 Stattrav brlcad: thanks and good night.
00:39.26 Stattrav gn all
00:39.29 brlcad Stattrav: thank you, good work
00:39.46 Stattrav thanks.
01:04.25 starseeker brlcad: we did, but I goofed slightly - regression passed with 50760, and I pulled in a few changes too many - fixing now
01:31.28 starseeker ah wait, may have just been some stray gunk in the install dir
01:31.43 brlcad cool
01:32.06 *** join/#brlcad KimK (~Kim__@2001:470:1f0f:1042:4261:86ff:fe43:bcad)
01:34.51 starseeker crap... what the bleep...
01:35.07 starseeker I've been building and running regressions all day, what the heck is going on?
02:11.57 CIA-65 BRL-CAD: 03starseeker * r50775 10/brlcad/branches/STABLE/ (16 files in 2 dirs): Back up the libbu vls work to 50646 - regressions appear to be breaking.
02:17.53 starseeker jeez this is weird
02:20.00 starseeker how did that not fail earlier??
02:38.43 *** join/#brlcad KimK (~Kim__@209.248.147.2.nw.nuvox.net)
02:41.18 starseeker brlcad: OK, now we have regression passing on multiple platforms with STABLE - I'll kick off more extensive tests overnight
03:02.17 CIA-65 BRL-CAD: 03starseeker * r50776 10/brlcad/branches/STABLE/doc/docbook/articles/it/images/ (8 files): Hmm - stray files left in STABLE after syncing somehow.
03:05.25 starseeker that's even weirder - those only showed up on OSX
04:25.34 CIA-65 BRL-CAD: 03brlcad * r50777 10/brlcad/trunk/src/librt/primitives/sph/sph.c: we have the actual distance tolerance so use it during validity testing
04:29.12 CIA-65 BRL-CAD: 03brlcad * r50778 10/brlcad/trunk/src/librt/memalloc.c:
04:29.12 CIA-65 BRL-CAD: prevent memory corruption if we end up with a null pointer. probably implies
04:29.12 CIA-65 BRL-CAD: someting is wrong elsewhere in the book-keeping, but since this is old v4 code
04:29.12 CIA-65 BRL-CAD: there's minmal value hunting it down. just avoids corruption which was leading
04:29.12 CIA-65 BRL-CAD: to a bogus rt_freemem() debug message getting printed extensively after the
04:29.12 CIA-65 BRL-CAD: endianness flip.
04:32.20 CIA-65 BRL-CAD: 03brlcad * r50779 10/brlcad/trunk/src/librt/db_scan.c: casting the ftell() returns through off_t propagates bad addr values. next and prev don't need to be off_t, so just let them match ftell's return type and simplify
04:35.39 CIA-65 BRL-CAD: 03brlcad * r50780 10/brlcad/trunk/NEWS:
04:35.41 CIA-65 BRL-CAD: fixed a bug reading v4 geometry files where it was spewing memory free error
04:35.41 CIA-65 BRL-CAD: debug messages. it was getting to the debug messages in the first place due to
04:35.41 CIA-65 BRL-CAD: a write to a null pointer dereference, probably related to the endianness
04:35.41 CIA-65 BRL-CAD: flipping (as it's the first rt_memfree() after flipping).
05:54.17 CIA-65 BRL-CAD: 03Crdueck 07http://brlcad.org * r3777 10/wiki/User:Crdueck/log:
06:28.25 CIA-65 BRL-CAD: 03phoenixyjll * r50781 10/brlcad/trunk/src/ (libged/brep.c librt/primitives/brep/brep_debug.cpp): Extend the functionality of the brep command in MGED to deal with comb. Unevaluated breps are generated.
06:32.40 CIA-65 BRL-CAD: 03phoenixyjll * r50782 10/brlcad/trunk/src/librt/primitives/brep/brep_debug.cpp: Fixed the bug in copying brep in r50871
07:14.03 *** join/#brlcad stas (~stas@82.208.133.12)
07:43.03 *** join/#brlcad Al_Da_Best (~Al_Da_Bes@elvyn-248-109.halls.student.lut.ac.uk)
08:04.19 *** join/#brlcad d_rossberg (~rossberg@BZ.BZFLAG.BZ)
08:14.17 *** join/#brlcad Al_Da_Best (~Al_Da_Bes@elvyn-248-109.halls.student.lut.ac.uk)
09:56.18 *** join/#brlcad louipc (~louipc@archlinux/fellow/louipc)
12:10.37 CIA-65 BRL-CAD: 03tbrowder2 * r50783 10/brlcad/trunk/src/conv/iges/iges.c: add missing format conversion specifier 'd' after length modifier 'z' so correct entry is '%zd'
12:17.02 CIA-65 BRL-CAD: 03tbrowder2 * r50784 10/brlcad/trunk/src/libbu/test_vls_vprintf.c: add another test based on iges.c problem
12:23.04 CIA-65 BRL-CAD: 03tbrowder2 * r50785 10/brlcad/trunk/src/libbu/vls_internals.h: VP_UNKNOWN needs a bit on for proper testing as used in bu_vls_vprintf
12:25.08 CIA-65 BRL-CAD: 03tbrowder2 * r50786 10/brlcad/trunk/src/libbu/vls_vprintf.c: expand error info, add back the old guess output for unknown or obsolete conversion specifier; note bombing macro indicates bad logic somewhere
13:31.35 *** join/#brlcad tbroowder2 (43eb86cc@gateway/web/freenode/ip.67.235.134.204)
13:36.48 *** join/#brlcad tbrowder2 (~tbrowde@fl-67-235-134-204.dhcp.embarqhsd.net)
13:39.04 tbrowder2 there is a TODO item to fix "fix the idents command first column bug", can anyone point to a TGM that exhibits the bug?
13:43.45 CIA-65 BRL-CAD: 03tbrowder2 * r50787 10/brlcad/trunk/TODO: looks like red has the requisite test which apparently works fine
13:57.34 *** join/#brlcad tbrowde_ (~tbrowde@fl-67-235-134-204.dhcp.embarqhsd.net)
13:59.14 *** join/#brlcad ksuzee (~ksu@46.149.82.166)
14:04.25 ksuzee Hello, Sean
14:04.47 ksuzee brlcad: I'm testing lowp
14:05.04 ksuzee before changing
14:05.13 ksuzee take 3 pix - files
14:05.37 ksuzee the result is normal - out.pix is generating
14:06.46 ksuzee but after converting to png - short read exception
14:07.03 ksuzee after refactoring - the same result
14:08.18 ksuzee Why is this exception thrown?
14:09.32 brlcad ksuzee: it sounds like you're using some tool wrong
14:09.47 ksuzee hmm
14:10.20 ``Erik ~seen andrei_
14:10.30 ibot andrei_ <~andrei@5-12-64-10.residential.rdsnet.ro> was last seen on IRC in channel #brlcad, 16d 18h 46m 3s ago, saying: 'brlcad, I will try to look into it aswell.'.
14:10.30 ksuzee I generated 3 pix files with pixbackgnd
14:10.30 ``Erik ~seen andrei
14:10.31 ibot andrei <andrei@5-12-88-164.residential.rdsnet.ro> was last seen on IRC in channel #brlcad, 4d 18h 29m 38s ago, saying: 'not very complicated'.
14:10.43 ksuzee and input them to lowp
14:15.52 CIA-65 BRL-CAD: 03Mesut 07http://brlcad.org * r3778 10/wiki/User:Mesut/Reports:
14:18.34 brlcad ksuzee: you've done more than that
14:18.44 brlcad otherwise nothing you just said involved png
14:18.58 brlcad so again, you're doing something wrong :)
14:19.30 brlcad try reading the manual pages for each of the commands you're using to make sure you're using them right
14:19.40 brlcad brlman command_name
14:21.15 ksuzee and where ecxeclty can I use brlman? Not in every directiry as I see)
14:21.24 brlcad brlman is a command
14:21.31 ksuzee yes, i see
14:21.38 ksuzee aaa
14:21.43 brlcad it doesn't matter where you run it from
14:21.56 brlcad it's like running ls
14:22.07 brlcad or 'man' (which is exactly what it's doing actually
14:22.14 brlcad man blah
14:22.24 ksuzee I know this
14:22.34 ksuzee but command not found Oo
14:22.46 brlcad okay, but consider your question
14:23.00 brlcad especially if man==brlman
14:23.24 brlcad "and where exactly can I use man? (Not in every directory apparently)"
14:23.34 brlcad paraphrased and corrected, but that's what you said
14:23.38 brlcad does that make sense? :)
14:23.46 brlcad where can you use the 'man' command?
14:23.49 brlcad you can use it anywhere
14:23.52 ksuzee every where))
14:24.01 ksuzee *everywhere
14:24.04 brlcad so what were you really trying to ask?
14:24.44 ksuzee emm) I can run brlman only from /bin
14:24.54 ksuzee that's why I asked)
14:25.34 brlcad you're lacking some precision in what you're writing, which is making it difficult to help you
14:25.44 brlcad you certainly are NOT running brlman from /bin
14:26.15 brlcad maybe from your cmake build_dir/bin directory
14:26.38 brlcad which means you haven't installed (which is fine, but then you have to give the path to commands not in your system PATH)
14:26.39 ksuzee yes
14:27.10 brlcad I can't read your mind very well, you need to be specific :)
14:27.17 brlcad at least not on thursdays ;)
14:27.24 ksuzee hah)) I'm sorry))
14:27.59 brlcad so it sounds like you're not familiar with how unix PATH works?
14:29.32 ksuzee PATH Environment you mean?
14:30.56 ksuzee Shall I do like this - export PATH=$PATH:/new/path (with brlman)?
14:31.18 brlcad so mini unix tutorial
14:31.35 brlcad when you run a command, say "man" or "ls" or even "pix-png" or "brlman"
14:31.49 brlcad it looks at each directory in the $PATH environment variable
14:32.11 brlcad that's when it's just a command name
14:32.26 brlcad if it finds the command, it obviously runs it and all is good
14:32.44 brlcad if it doesn't find the command, you get a command not found error
14:33.05 brlcad the OTHER way you can run a command is by specifying the path to it
14:33.44 brlcad running "/usr/bin/ls" for example doesn't read the PATH variable, it looks for ls in the /usr/bin directory and if it finds it, the application is run
14:33.59 brlcad same with relative paths like ../../../../usr/bin/ls
14:34.18 brlcad or path/to/your/build/bin/pix-png
14:34.49 brlcad so when you run "brlman" without a path, it's going to search $PATH
14:35.15 brlcad if you run "path/to/build/bin/brlman", it'll run it if it finds the application in that path
14:35.24 brlcad SO...
14:35.37 ksuzee Now I understand
14:35.45 ksuzee I've just done so
14:35.49 ksuzee and it works))
14:35.51 brlcad you either need to make sure you have a bin directory in $PATH or run commands by specifying the path/to/them/bin/herre
14:36.21 ksuzee thank you a lot! Now brlman is as man
14:36.31 ksuzee I knew about PATH
14:36.52 brlcad so now the question is did you add your build directory bin directory or did you install and add your install directory to PATH?
14:36.55 ksuzee but I didn't have to use it before
14:37.34 ksuzee I added build/bin to the path
14:38.17 brlcad okay, that's fine but recognize that it's not *usually* what you would do with PATH
14:39.10 brlcad if you do another checkout of brl-cad, for example, and simply put it in another directory, it's going to be running binaries from the other build dir and you might not expect that
14:39.15 Stattrav if not thursdays do you read people's minds ?
14:39.22 brlcad Stattrav: maybe
14:40.04 brlcad ksuzee: so it's fine -- just be careful if you move things around or get more checkouts
14:40.07 Stattrav brlcad: adding a logger class to the libs so that could be used by everything else
14:40.47 brlcad the usual way would be to just run with a relative path like "./bin/brlman" or perform a "make install" and add /usr/brlcad/bin to your PATH
14:41.01 brlcad (but then you have to run make install every time you rebuild
14:41.14 ksuzee yeah, I see this. Thanks a lot! So I'll read about pix-png)
14:41.28 *** join/#brlcad tbrowder2 (~tbrowder@fl-67-235-134-204.dhcp.embarqhsd.net)
14:41.49 brlcad ksuzee: if you find a command that doesn't have documentation, feel free to add it (can walk you through how to do that)
14:42.00 brlcad hi tbrowder2 :)
14:42.09 brlcad Stattrav: ..okay
14:42.19 CIA-65 BRL-CAD: 03Erik 07http://brlcad.org * r3779 10/wiki/User:Erik: add link to Andrei's page
14:44.30 ksuzee hah, lowp right doesn't have help=))
14:48.23 tbrowder2 Hi, Sean! I want to try to fix the idents prob. Does that refer to bug #2278192? Otherwise, I need a TGM that shows it or more details about the bug.
14:54.41 brlcad tbrowder2: the red regression tests for the region flag but is apparently missing some case -- the commit log noted: new failures such as r50521 necessitate a regression test
14:56.12 *** join/#brlcad Wolfram74 (~Wolfram74@71-221-240-66.cdrr.qwest.net)
14:56.29 Wolfram74 oh thank goodness this is still up
14:57.11 Wolfram74 I'm trying to install on a mac and it goes through the motions but i can't find the end application anywhere
15:01.12 CIA-65 BRL-CAD: 03anrgmrty * r50788 10/brlcad/trunk/src/conv/ (CMakeLists.txt Makefile.am g-voxel.c): g-voxel.c (only a grid of rays shot right now)
15:01.22 CIA-65 BRL-CAD: 03tbrowder2 * r50789 10/brlcad/trunk/TODO: oops, fix at r50521 not yet confirmed by regression test
15:02.04 brlcad tbrowder2: not sure about idents but I'll check my notes, vague recollection is that it was an e-mail or verbal report
15:03.54 ksuzee brlcad: I've found my mistake in man, thanks)
15:06.16 brlcad tbrowder2: okay, I found the reference (e-mail) .. the first column in the idents command was completely hosed on a real tgm (the entire column reported 1331915051)
15:06.47 brlcad looks like a 64-bit platform, but if it's working for you that's good enough
15:07.15 anrgmrty brlcad: hi! my first commit..
15:07.17 brlcad someone thought that might have been a bug we'd fixed several months prior
15:07.27 brlcad anrgmrty: I noticed :)
15:07.45 brlcad Wolfram74: brl-cad installs as a unix-style application, even on Mac
15:07.56 anrgmrty :)
15:08.04 Wolfram74 so i have to activate in the terminal, or what, exactly?
15:08.07 CIA-65 BRL-CAD: 03Plussai 07http://brlcad.org * r3780 10/wiki/User:Plussai/GSoC_2012_log: /* 27 May 2012 */
15:08.12 brlcad Wolfram74: it's in /usr/brlcad/rel-7.12.2 .. but if you used that old binary from the website, it probably won't work for you
15:08.31 brlcad try running this in Terminal: /usr/brlcad/rel-7.12.2/bin/mged
15:08.54 brlcad and any relation, or just a fan? :)
15:11.54 Wolfram74 i actually really like the element tungsten
15:12.07 brlcad heh
15:12.27 Wolfram74 but people tend to associate more with mathematica than chemicals
15:12.39 Wolfram74 <PROTECTED>
15:13.28 Wolfram74 [haugen@peters-MacBook-Pro /]$ /usr/brlcad/rel-7.12.2/bin/mged gives
15:13.30 Wolfram74 bus error: 10
15:17.43 brlcad yep, that's what I figured -- that build is no good on the newer Mac systems and an updated build has not been posted
15:18.15 brlcad Wolfram74: so to fully uninstall, you can run this *exactly*: sudo rm -rf /usr/brlcad
15:18.25 Wolfram74 sooo, i'm not going to be using brl-cad, ah well
15:18.30 brlcad it'll prompt for a password and delete the /usr/brlcad directory entirely
15:18.43 brlcad you can use it, you just have to compile from a source build
15:18.57 brlcad which is actually a rather simple process if you want to give it a try
15:19.25 Wolfram74 from downloads, get at the source section?
15:19.29 brlcad I can walk you through the steps here, will take about 10 minutes
15:19.32 brlcad maybe 15
15:19.48 brlcad ~cadsvn
15:19.48 ibot To obtain BRL-CAD from Subversion: svn checkout https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk brlcad
15:20.00 brlcad run that from Terminal
15:20.03 CIA-65 BRL-CAD: 03bob1961 * r50790 10/brlcad/trunk/src/libtclcad/tclcad_obj.c: Added a few bindings for rotating the view via the arrow keys.
15:20.05 brlcad that will obtain the very latest
15:21.35 Wolfram74 validating server certificate, temporary acceptance?
15:21.49 brlcad yes
15:21.52 Wolfram74 svn: Can't make directory 'brlcad': Permission denied
15:22.01 brlcad er
15:22.15 brlcad did you run "cd" or something?
15:22.15 Wolfram74 sudo that stuff?
15:22.20 brlcad no
15:22.33 brlcad run "pwd"
15:22.38 brlcad what does it report?
15:22.49 Wolfram74 <PROTECTED>
15:23.00 brlcad that's not right .. how'd you end up there? :)
15:23.08 brlcad run "cd" and "pwd" again
15:23.21 brlcad still "/" ?
15:24.47 Wolfram74 ok, now its /users/hageun
15:25.05 brlcad yes, but how'd you end up in / to begin with?
15:25.28 Wolfram74 cd / to get to root, i'd been mucking around in another folder trying to get lincity to run
15:25.37 brlcad ah, okay
15:25.43 brlcad so redo the svn command
15:26.04 Wolfram74 did, streaming a lot of lines all prefixed with "A "*
15:27.21 brlcad yep, thats' good
15:27.33 brlcad it'll take a couple minutes, then you "should" be able to run this:
15:27.43 brlcad cd brlcad
15:27.46 brlcad mkdir .build
15:27.49 brlcad cd .build
15:27.52 brlcad cd ..
15:27.57 brlcad ./autogen.sh
15:28.24 brlcad cd .build
15:29.24 Wolfram74 should the last line be " U brlcad"?
15:29.24 brlcad ../configure --enable-all && make
15:29.41 brlcad it'll give you a prompt again when it's done
15:29.49 brlcad probably
15:29.54 Wolfram74 k
15:30.27 brlcad the build will probably take 10-15 minutes depending on how fast your mac is
15:31.09 brlcad IF you don't see an error at the end after running that "./configure --enable-all && make" line, run: sudo make install
15:31.21 brlcad if you see an error, mention it here and we can try the cmake build system instead
15:31.41 brlcad in the meantime, I gotta run to lunch, but will be back in about an hour
15:32.10 Wolfram74 executing ./autogen.sh, thanks for the help
15:33.57 brlcad no problem
15:38.29 Wolfram74 so it seems automake failed
15:38.58 Wolfram74 perhaps because i didn't have liptoolize?
15:39.34 Wolfram74 i duuno, you're at lunch so i'll work on something else till about 1800 GMT and check back
16:52.45 CIA-65 BRL-CAD: 03Phoenix 07http://brlcad.org * r3781 10/wiki/User:Phoenix/GSoc2012/Reports: /* Week 2 */
17:33.54 *** join/#brlcad cristina (~quassel@188.24.69.242)
18:23.10 CIA-65 BRL-CAD: 03n_reed * r50791 10/brlcad/trunk/src/other/step/src/ (7 files in 4 dirs): Simplify filepath handling and use more std::string and bool. SCL git 19a1bae and b277759.
18:40.31 CIA-65 BRL-CAD: 03n_reed * r50792 10/brlcad/trunk/src/other/step/src/fedex_plus/classes.c: change return type to bool; SCL git 4dc0891
18:52.08 CIA-65 BRL-CAD: 03tbrowder2 * r50793 10/brlcad/trunk/regress/red.sh: added a specific test for bug fix at rev 50521 (however, the test may not be needed because a regression test using src/libged/red.c at rev 50520, produced with a manual patch, failed without the new test)
19:05.21 CIA-65 BRL-CAD: 03n_reed * r50794 10/brlcad/trunk/src/other/step/src/ (8 files in 3 dirs): Another int/bool substitution. This is SCL git b277759; r50791 was actually SCL git 1b69382.
19:41.52 CIA-65 BRL-CAD: 03n_reed * r50795 10/brlcad/trunk/src/other/step/src/ (4 files in 3 dirs): cleanup from SCL git c497168
20:05.01 Wolfram74 brlcad, are you back from lunch yet?
20:05.22 Wolfram74 ah, he left
20:27.31 *** join/#brlcad ksuzee (~ksuzee91@46.149.82.166)
20:38.56 CIA-65 BRL-CAD: 03tbrowder2 * r50796 10/brlcad/trunk/src/libbu/vls_vprintf.c: remove spurious print statement
20:42.40 *** part/#brlcad ksuzee (~ksuzee91@46.149.82.166)
20:45.27 Al_Da_Best Does brlcad have a factorial function?
20:49.27 ``Erik erm, no? why?
20:51.48 Al_Da_Best I want to work out the number of forces acting between x number of objects (gravity acting on each other), planned to use binomial coeff's for that
20:53.02 ``Erik soooooo, use something like static double fact(double x) { return x<=1.0?1.0:x*(fact(x-1.0)); }
20:53.25 CIA-65 BRL-CAD: 03tbrowder2 * r50797 10/brlcad/trunk/doc/README.Windows: correct typo
20:53.48 Al_Da_Best Yeah recursion will sort it, just wondered if there was anything built in already
20:54.12 ``Erik nah, nothing built in, too trivial to bother
20:54.23 Al_Da_Best Fair enough :D
21:57.48 tbrowder2 ref factorial: how many objects are you planning to handle?
22:28.23 Al_Da_Best That's an issue I'm having a look at alternatives for. There could be a lot, depending how many the user inputs. Problem of stupidly large numbers. I can just make an array more than big enough to begin with, but I'd rather not if avoidable.
22:37.29 CIA-65 BRL-CAD: 03n_reed * r50798 10/brlcad/trunk/src/other/step/src/clstepcore/ (STEPattribute.cc STEPcomplex.cc): better error printing; SCL git 99abb18 and 6b95067
22:58.15 tbrowder2 ADBest: we may want to have a bn_factorial function that would handle all N <= ~ 64 (say using lookup for first 20, then something like Sterling's approx., etc.)
23:00.09 Al_Da_Best Yeah that could be useful
23:12.23 ``Erik or store the edges in a list, tree, hash, or other data structure instead of an array
23:13.05 Al_Da_Best Yeah I'm using a linked list with structs now, much more flexible.
23:26.45 *** join/#brlcad n_reed (~molto_cre@BZ.BZFLAG.BZ)

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