IRC log for #brlcad on 20080414

00:04.36 andrecastelo hi guys, back
00:13.03 andrecastelo i have the utmost respect for the man that managed to tame mged
00:13.06 andrecastelo really.
00:23.48 hippieindamakin8 andrecastelo, i guess all respect goes to Late Mike Muuss ...
00:24.52 hippieindamakin8 he is the brain behind this.. and he apparently came up with BRL-CAD as a result of a dare he had with his collegue
00:25.56 andrecastelo hippieindamakin8: i guess all respect goes to him hehehe
00:26.11 hippieindamakin8 hows it going?
00:26.22 andrecastelo i'm trying to create a database
00:26.24 andrecastelo to test my patch
00:26.33 andrecastelo but i'm still unsuccessful
00:28.33 hippieindamakin8 ohh why dont u make one using the mged interface ?
00:30.09 andrecastelo hippieindamakin8: hehehe i'm trying..
00:30.42 andrecastelo it doesn't let me create a .g file
00:31.08 andrecastelo i managed to create a few solids in cup.g that already existed
00:31.38 hippieindamakin8 ohh
00:31.51 hippieindamakin8 :) this thing is ur illumination based one rt
00:32.25 andrecastelo yes
00:33.16 andrecastelo brlcad: do you have any .g file i could use to test this ??
00:39.32 andrecastelo hippieindamakin8: are you trying for gsoc ???
00:39.40 hippieindamakin8 ya
00:40.06 hippieindamakin8 is flying with space oddity
00:41.47 andrecastelo hippieindamakin8: did you make a patch ?
00:42.11 hippieindamakin8 ya made the windows installer patch but no positive reply
00:42.32 hippieindamakin8 trying for another if possible
00:42.56 andrecastelo yeah, they hate windows :{
00:43.08 hippieindamakin8 caught in the middle of deep academic schedule.. have my end semester exams from day after tommorow :P
00:43.31 hippieindamakin8 tommorow for post GMT guys :)
00:45.02 andrecastelo me too, i have three exams this week, a formal languages work due to wednesday and a presentation due to friday
00:45.30 hippieindamakin8 u are also in the 3rd year rt
00:48.20 andrecastelo yep
00:48.40 andrecastelo ``Erik: hi erik, busy ?
01:11.59 andrecastelo good night everyone
01:12.01 andrecastelo cya later
01:27.32 poolio Heh, brlcad doesn't hate windows. It's just hard to maintain a windows port and there hasn't been enough interest (...I think)
01:30.12 yukonbob brlcad the person, or BRL-CAD the project?
02:00.36 poolio yukonbob: Aren't they one entity? ;)
02:02.57 yukonbob heh -- /me isn't sure how to respond
02:40.16 hippieindamakin8 yukonbob, i guess its about ppl in general here :P
02:51.58 yukonbob hippieindamakin8: in all seriousness, there's been much effort applied to Windows, and I think the principle people involved try to operate above the leavel of "Windows is teh sux0rs"
02:52.10 yukonbob *level
02:52.19 yukonbob hates latency
02:52.32 hippieindamakin8 :)
02:54.00 hippieindamakin8 yukonbob its not that i hate windows.. somehow i find that less interesting to those here :)
03:04.28 yukonbob definately a *nix culture and wealth of experience, true.
03:06.34 hippieindamakin8 :) rt here in this country Windows is the most used operating system
03:22.22 yukonbob which country?
03:26.19 *** join/#brlcad Axman6_ (i=root@61-69-0-182.netspeed.com.au)
03:30.48 hippieindamakin8 India
03:48.06 hippieindamakin8 yukonbob, u are one of the mentors rt
03:49.20 yukonbob "right", I am.
03:49.59 hippieindamakin8 and i just posted a reply to the comment :)
03:50.03 yukonbob "rt" is a bad abreviation here where "raytracing" is a popular subject :)
03:50.22 hippieindamakin8 hehe rt :P
03:51.08 hippieindamakin8 is so psyched about his endsems starting from tommorow
03:55.51 hippieindamakin8 cya yukonbob , pacman87 and brlcad
03:57.49 yukonbob ciao hippieindamakin8
04:01.33 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
04:01.56 *** join/#brlcad Axman6_ (n=Axman6@61-69-0-182.netspeed.com.au)
04:15.49 CIA-20 BRL-CAD: 03starseeker * r30667 10/brlcad/trunk/src/proc-db/tire.c: Can now call one function and specify one set of dimensions to get the outer tire shape.
04:16.36 starseeker needs to find a "default" tread width to tire width for cases where it isn't specified...
04:21.49 starseeker and patterning tread would probably be good too...
05:59.41 *** join/#brlcad clock_ (n=clock@77-56-81-207.dclient.hispeed.ch)
07:14.03 *** join/#brlcad clock_ (n=clock@zux221-122-143.adsl.green.ch)
07:34.14 *** join/#brlcad d_rossberg (n=rossberg@bz.bzflag.bz)
07:51.25 brlcad moin d_rossberg
07:56.57 d_rossberg moin moin brlcad
08:16.38 *** join/#brlcad PrezzKennedy (i=Matthew@74.86.45.130)
08:18.38 brlcad salutes the PrezzKennedy
09:12.51 brlcad ~seen mafm
09:12.53 ibot mafm <n=mafm@elnet-111.lip.pt> was last seen on IRC in channel #brlcad, 2d 14h 50m 1s ago, saying: 'bye'.
09:13.12 brlcad ~seen andrecastelo
09:13.13 ibot andrecastelo <n=chatzill@189.71.41.1> was last seen on IRC in channel #brlcad, 8h 1m 12s ago, saying: 'cya later'.
10:07.42 *** join/#brlcad mafm (n=mafm@elnet-111.lip.pt)
10:10.00 CIA-20 BRL-CAD: 03brlcad * r30668 10/brlcad/trunk/HACKING: wasn't explicit, but the intent is the same .. usually should use null-terminated instead of the strn family of funcs unless they are raw data buffers
10:10.37 brlcad hola manuel
10:16.20 mafm hallo
10:17.01 mafm brlcad: not sleeping tonight? :P
10:21.25 brlcad pfft :)
10:22.21 mafm did you read a chat in the channel of me with somebody else (Erik?) about the creation of temp files?
10:22.45 brlcad several days ago, yes
10:23.39 brlcad bu_temp_file() is a secure implementation for temporary files, not something old
10:24.05 mafm ok, so that's not a valid idea anymore :)
10:24.15 brlcad basically it's just a wrapper on mkstemp if the platform supports it, otherwise it actually implements mkstemp for those that don't (e.g. Windows)
10:24.40 brlcad it also has some nice automatic cleanup features, but the point is secure temporary files
10:24.58 mafm I was trying to create a new patch based on the todo list, SF tracker etc., but I haven't found anything very suitable
10:26.17 brlcad try the BUGS list, they tend to be more self-contained
10:28.54 CIA-20 BRL-CAD: 03brlcad * r30669 10/brlcad/trunk/TODO: add options to nirt for reporting the exit points (instead of just LOS thickness) as well as the gaps between geometry (simulated air).
11:06.18 mafm yes, but many of the bugs are very specific for some of the tools failing in some part, etc, and I can't even get it to compile
11:06.30 mafm it still has those errors when linking
11:14.13 clock_ brlcad: how exactly do I make 5 balls in a ring for a ball bearing?
11:14.26 clock_ brlcad: I am not sure if Volume II has enough details to determine that
11:14.50 clock_ brlcad: I mean without writing a C program that calculates the coordinates using sines and cosines
11:15.17 hippieindamakin8 hey guys
11:46.38 brlcad mafm: I worked around some of them just a little while ago (ubuntu build)
11:47.17 brlcad mafm: you shoudl see if you update and rerun autogen.sh that it gets much further (or fix that problem as your patch) ;)
11:47.54 brlcad it won't complete because I didn't want to just revert back to everything listing everything
11:49.06 brlcad otherwise, there are mods that don't involve code, at this point there's something and there's nothing
12:29.33 *** join/#brlcad andrecastelo (n=chatzill@189.71.19.77)
12:31.31 andrecastelo good morning folks
12:31.32 andrecastelo hey brlcad
12:31.38 andrecastelo hi ``Erik
12:55.37 d_rossberg mafm: try make install
12:58.08 *** join/#brlcad starseeker (n=starseek@bz.bzflag.bz)
12:59.01 starseeker Hmm.
12:59.55 starseeker darn it, screen isn't catching my terminal size when I reconnect
13:00.27 starseeker Ah, well. Gotta figure it out sometime, might as well start now
13:00.36 starseeker attempts to detach...
13:01.05 starseeker_home Hmm, so far so good...
13:03.46 poolio starseeker_home: It works fine for me when reconnecting, the issue is when I resize the terminal while connected.
13:08.33 hippieindamakin8 Mr d_rossberg does that answer ur question or..
13:14.47 d_rossberg hippieindamakin8: no, or in some sense yes: you used the arb class only in your arb-edit example, therefore the conclusion would be that a class arb4, ..., arb8 would be useless
13:15.26 hippieindamakin8 no.. they wont be
13:16.51 hippieindamakin8 or u can model arb4 to arb 8 as objects if not classes .. and have the info attached to them using the arb_specifc function.. or smthing like arb.nm_faces
13:18.21 hippieindamakin8 but i would prefer having some classes arb4 to arb8 for the objects of this class to be created,
13:20.10 hippieindamakin8 for arb-edit i wanna use an arb4 object or arb 5 object which still inherits the arb class to be sent as a reference.. so the calculations and the decisions for evaluating the arb type are minimised
13:20.50 d_rossberg these classes could not be interface classes because the internal structure could change from arb4 to arb5 and with this the class type had to change too
13:21.16 hippieindamakin8 ya .. while passing it in i send it as an arb rather than an arb4
13:22.01 d_rossberg therefore these classes could be at the most something that is outside the real interface
13:22.12 hippieindamakin8 and the main information that is sent is just the values of the 8 vertices,arbtype and cgtype along with the edit arrrays
13:23.19 hippieindamakin8 i dint get the last statement of urs.. but i see it as simplifying the constructors.. using the classes arb4 to arb8
13:25.16 d_rossberg did you tried to change an arb4 to an arb5 qith the mged dialog?
13:25.42 hippieindamakin8 no..
13:26.09 d_rossberg you should realy have a look at it
13:26.17 hippieindamakin8 ya doing that
13:26.52 d_rossberg it gives you an idea of how this element is handled in brl-cad
13:42.26 *** join/#brlcad clock_ (n=clock@217-162-109-85.dclient.hispeed.ch)
13:44.06 *** join/#brlcad Elperion (n=Bary@p548763E2.dip.t-dialin.net)
13:57.03 starseeker likes this part of screen...
13:58.38 brlcad starseeker: ctrl-a F
13:58.44 brlcad notifies it of a resize
13:58.52 starseeker Cool - thanks!
14:04.28 ``Erik unfortunately, not all programs handle sigwinch :(
14:04.41 mafm brlcad / d_rossberg: updating and recompiling now
14:42.47 *** join/#brlcad prasad_ (n=psilva@static-70-108-244-218.res.east.verizon.net)
15:10.23 CIA-20 BRL-CAD: 03starseeker * r30670 10/brlcad/trunk/src/proc-db/tire.c: First cut at 'tire size spec' to geometry inputs logic.
15:13.58 mafm brlcad / d_rossberg: same error /usr/bin/ld: warning: libtcl8.5.so, needed by ../../src/liboptical/.libs/liboptical.so, not found (try using -rpath or -rpath-link)
15:16.53 d_rossberg mafm: so you did "make" followed by "make install"?
15:18.38 mafm make install install things, without trying to finish things first
15:19.54 brlcad mafm: make install compiles and installs, the idea is that the libs it's looking for are already installed by the time the next dir's link phase that depends on it
15:20.17 d_rossberg i had a similar problem, it looks like the problem was the linker looked for the lobraries in the install directory
15:22.25 mafm d_rossberg: exactly
15:22.56 mafm or no, wait
15:23.13 mafm I hacked some files to include that -rpath thing by hand, with the *building* dir of the library as argument
15:23.34 mafm something like src/libXXX/.libs/
15:29.12 *** join/#brlcad mib_j5frfeio (i=426217d6@gateway/web/ajax/mibbit.com/x-aaf33b6b871c8cd6)
15:33.32 CIA-20 BRL-CAD: 03starseeker * r30671 10/brlcad/trunk/src/proc-db/tire.c: Switch to bu_unit for converting input, minor cleanup of unused variables.
15:51.29 andrecastelo brlcad: i've took down the patch i've made
15:51.46 andrecastelo because it crashes rtarea :{
15:53.16 mafm if (a || !a) abort();
15:53.18 mafm :)
15:58.52 yukonbob reads sb
16:06.07 mafm sb?
17:09.50 yukonbob scrollback
17:09.56 yukonbob is finished reading sb
17:09.59 yukonbob :)
17:10.48 yukonbob clock_: x^2+y^2=r^2 -- Tcl can be your friend here... or, rotate about an axis
17:13.03 clock_ yukonbob: how do I figure out from the integrated help how do I rotate a combination in another combination by 15 degrees counterclockwise when looking in direction from -z towards +z?
17:13.26 clock_ I tried to but was unable
17:13.37 yukonbob clock_: /me uses the mged cheat sheet
17:13.43 clock_ all the descriptions are in the style "rotates something in some direction noone know which one ans which way"
17:14.03 clock_ yukonbob: URL?
17:14.08 yukonbob 1sec
17:14.54 clock_ yukonbob: this is what you get if you attempt to look for the mged cheat sheet with google: http://www.google.com/search?hl=cs&ie=ISO-8859-2&q=mged+cheat+sheet&btnG=Vyhledat+Googlem&lr=
17:14.58 clock_ Clutter.
17:15.00 clock_ Useless.
17:15.42 yukonbob is at http://brlcad.org/wiki/Documentation atm -- is their quick ref, or trifold.
17:17.18 yukonbob quick ref is what I use (which is actually improved from my printed copy, with the co-ordinate system explained at bottom of pg2)
17:17.57 clock_ I made the cheat into easy viewable PNG
17:18.02 clock_ it was on the brlcad website
17:18.07 clock_ is not there anymore
17:18.14 clock_ How shortlived are contributions to brl-cad
17:18.22 clock_ It demotivates you when you see your work is lost
17:18.59 yukonbob on wiki?
17:19.01 clock_ The cheatsheet PDF takes like 5 seconds to zoom on my 2.2GHz machine
17:19.05 clock_ I think I stick to the C program.
17:19.43 yukonbob Tcl has full math abilities, too -- so you can "play" with Tcl in mged interactively if that suits your styel
17:19.43 clock_ This is the useless clutter you get when you type "mged cheat sheet wiki" into google: http://www.google.com/search?hl=cs&ie=ISO-8859-2&q=mged+cheat+sheet+wiki&btnG=Vyhledat+Googlem&lr=
17:20.23 clock_ What about people who have not 2.2GHz CPU but 200MHz?
17:20.32 clock_ They will need 50 seconds to zoom in the cheat sheet PDF
17:20.54 yukonbob prints it to paper and zooms with his eyeballs
17:21.08 clock_ yukonbob: my computer doesn't support printing
17:21.13 clock_ because I don't have a printer
17:21.29 clock_ that's why I made those PNGs but they are gone again
17:21.31 prasad_ 200mhz shouldn't be running a cad package no?
17:21.46 clock_ not a one with so badly done documentation
17:22.02 clock_ wasn't BRL-CAD a CAD package back in the 80's?
17:22.13 clock_ Did you have 2.2GHz back in the 80's?
17:22.27 clock_ OMG, OMG, OMG
17:22.32 yukonbob wonders How Low can BRL-CAD Go wrt hardware
17:22.33 alex_joni clock_: not exactly.. but similar in performance
17:22.39 alex_joni if you take a big cray
17:22.43 clock_ Reasons why the user hurdle run needs to stay user hurdle run
17:23.03 clock_ I think I soon have to make a Twibright Labs BRL-CAD website
17:23.08 clock_ With all the missing details filled in
17:23.25 clock_ a.k.a. "what the U. S. Army was unable to do, brought to you by a hippie skater."
17:24.07 clock_ I suggest the PDF be zipped as self-extracting windows executable
17:24.11 yukonbob clock_: Use the wiki, and make a personal space
17:25.37 clock_ If I were to run the GSoC, I would give these unfinished details and hurdled user experience priority
17:25.55 alex_joni clock_: wth would you want a self-extracting windows executable for a pdf?
17:26.05 *** join/#brlcad clock_ (n=clock@217-162-109-85.dclient.hispeed.ch)
17:26.07 alex_joni clock_: wth would you want a self-extracting windows executable for a pdf?
17:26.32 clock_ alex_joni: because Linux people would have to install Wine to be able to extract it
17:26.48 alex_joni so that's an improvement?
17:26.52 clock_ yes
17:27.05 clock_ if BRL-CAD user experience should be a hurdle run, that's an improved hurdle run
17:27.22 starseeker brlcad: How would I handle a multiple character option flag from the command line? Does bu have provisions for that?
17:29.22 alex_joni clock_: the pdf loads just fine on this box (not quite the oldest machine.. but still 5 years old)
17:31.16 clock_ These cards are great when youre a professional and have a workplace dedicated to BRL-CAD
17:31.18 yukonbob starseeker: see (for example) pix-fb.c
17:31.27 yukonbob (bu_getopt)
17:31.32 clock_ But if you need edit once a detail in the work, once at home and once in the train, they are not so great anymore.
17:31.44 clock_ Because you don't print them and carry them with you into the train.
17:32.01 clock_ alex_joni: how long does it take to change the zoom in the pdf?
17:32.57 alex_joni depends on the viewer
17:33.13 alex_joni but it rages from not noticeable to 1-2 seconds
17:33.34 alex_joni evince is worse than the adobe viewer on this old machine
17:34.11 starseeker yukonbob - as far as I can tell, that only allows for single letter flags - e.g. pix-fb -a and not pix-fb -abc where "abc" is one flag
17:34.22 yukonbob ~1-2 for high zoom on 1.6Ghz laptop, via xpdf
17:34.33 yukonbob starseeker: ah...
17:35.17 yukonbob have you built a dummy program to test that theory?
17:35.37 starseeker I'm trying it in tire right now
17:35.42 yukonbob isn't sure at all... but single-letters could be the case
17:36.05 starseeker 'course, I can't even get bu_getarg to spit back the string I supplied it, so clearly I'm doing something wrong...
17:36.39 yukonbob listens to Amon Tobin
17:38.04 yukonbob and Boards of Canada
17:39.17 starseeker eyes sscanf
17:39.30 clock_ clock@sandy:~$ gimp MGED_Quick_Reference_Card.pdf
17:39.30 clock_ (script-fu:3101): LibGimpBase-WARNING **: script-fu: wire_read(): error
17:39.31 clock_ Segmentation fault
17:39.39 clock_ End of attempts at making the MGED PNG again
17:40.13 yukonbob clock_: are you looking for a high-res png image?
17:40.41 clock_ yukonbob: yes
17:40.48 clock_ I made one sent to brlcad and he put it on the webpage
17:40.52 yukonbob I guess my real question is: what resolution
17:40.54 clock_ I don't think I have it anymore
17:40.58 clock_ but now it's gone again
17:41.16 yukonbob can try from my end, and pass it over to you for administration
17:41.20 clock_ yukonbob: well that's the problem it either doesn't fit on the screen or you cannot read the fine print
17:42.14 yukonbob clock_: right -- can't have it both ways... what bout something like X=2048 (and just keep aspect ratio)
17:42.17 yukonbob ?
17:43.05 clock_ May I ask how BRL-CAD overlaps with ECAD Electronic CAD Electronic Design Automation Electrical Circuits VLSI?
17:43.39 clock_ Does anyone have sources for the PDF card and can they be exported to HTML?
18:14.49 starseeker gets help on sscanf - good stuff
19:02.04 CIA-20 BRL-CAD: 03starseeker * r30672 10/brlcad/trunk/src/proc-db/tire.c: Added basic command line specification behavior - tire size can now be specified - ex: 'tire -d 265/70R15 mytire.g'
19:03.12 starseeker does happy dance
19:35.14 brlcad andre|university: I noticed you pulled it :(
19:38.00 brlcad clock_: jeez, talk about crocodile tears ... you did notice that there is a new site up and perhaps -- just maybe -- the image hadn't been copied over yet??
19:41.24 brlcad starseeker: convention-wise for consistency it "shouldn't" (re: -abc) .. have wanted to add long opt support eventually, but nobody has worked on it yet
19:42.14 *** join/#brlcad spike_ (i=[U2FsdGV@centaur.acm.jhu.edu)
19:45.05 brlcad in fact, the image was never removed, it's still there. it's just not linked on the wiki page
19:45.09 brlcad http://brlcad.org/MGED_Quick_Reference_Card.png
19:45.36 brlcad less drama next time would be nice
19:48.51 mafm bye
19:53.22 andre|university brlcad : the patch somehow crashes rtarea
19:53.27 andre|university i'm trying to figure out the problem
19:57.28 brlcad figured as much :)
20:10.15 CIA-20 BRL-CAD: 03bob1961 * r30673 10/brlcad/trunk/src/mged/rtif.c: rtcheck needs to call the dgo_rtcheck_cmd (i.e. the handlers associated with rtcheck expect binary vector data on stdout and text on stderr).
20:40.54 CIA-20 BRL-CAD: 03bob1961 * r30674 10/brlcad/trunk/src/tclscripts/mged/mgedrc.tcl: Double quote html_dir and web_browser values when dumping mged state to .mgedrc
20:57.02 CIA-20 BRL-CAD: 03starseeker * r30675 10/brlcad/trunk/src/proc-db/tire.c: Add comments, rename some things.
21:11.56 *** part/#brlcad pacman87 (i=127@resnet-45-192.dorm.utexas.edu)
21:12.18 *** join/#brlcad pacman88 (i=127@resnet-45-192.dorm.utexas.edu)
22:40.56 yukonbob waves to brlcad
22:41.07 brlcad waves back to yukonbob
22:52.39 andrecastelo waves to both yukonbob and brlcad
22:56.25 brlcad hey andre
22:56.30 brlcad any luck on what's wrong?
23:02.57 andrecastelo i'm getting a segmentation fault on rtarea:(
23:03.24 andrecastelo i thought the error was in do.c but the reverted version worked fine
23:03.44 andrecastelo let me paste you the patch and the error
23:04.59 andrecastelo here the point of the crash ->: http://rafb.net/p/0qn7z891.html here the error message -> http://img444.imageshack.us/img444/8397/imagemkk5.png
23:05.46 andrecastelo here the patch http://rafb.net/p/eh9YDM36.html
23:06.32 andrecastelo (i was studying for an exam, i'm starting to work on the bug right now)
23:16.46 brlcad more than likely related to the linked list management
23:20.40 brlcad looks like mafm has some decisions to make
23:24.19 yukonbob waves to andrecastelo
23:24.23 andrecastelo brlcad: ? why's that?
23:24.28 andrecastelo hey yukonbob !
23:24.42 andrecastelo also, managed to get rid of the segmentation fault.
23:26.34 andrecastelo brlcad: where can i find a .g file i could use to test rtarea ?
23:28.36 yukonbob andrecastelo: do you need a special .g ?
23:28.44 andrecastelo any .g will do :)
23:30.24 *** join/#brlcad CIA-10 (n=CIA@208.69.182.149)
23:30.50 yukonbob you've got some .g's shipped w/ the distro, or whip up your own
23:30.51 brlcad andrecastelo: there are a slew provided
23:31.35 brlcad in the db build dir or $prefix/share/brlcad/VERSION/db if you already installed (where prefix is /usr/brlcad by default)
23:32.18 andrecastelo brlcad: thanks, found them :D
23:52.13 *** join/#brlcad vedge (i=vedge@vedge.org)

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