IRC log for #brlcad on 20081219

00:04.48 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
00:09.59 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
00:11.25 ``Erik heh, I didn't know there was a crash after you do E O.o someone alert the ravers!
00:11.33 ``Erik happyhour? damnit
00:14.50 *** join/#brlcad jonored (n=jonored@LAZARUS2.WIFI.WPI.EDU)
00:20.22 *** join/#brlcad Axman6 (n=Axman6@210-9-136-248.netspeed.com.au)
00:25.37 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
00:33.47 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
00:38.58 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
00:44.14 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
00:54.34 *** join/#brlcad Axman6_ (n=Axman6@pdpc/supporter/student/Axman6)
00:54.34 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
00:58.09 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
01:00.52 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
01:06.21 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
01:29.42 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
01:34.55 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
01:40.38 ``Erik wow, he's as bad as me :D
01:42.22 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
01:47.48 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
01:55.14 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
02:00.43 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
02:06.21 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
02:17.23 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
02:22.40 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
02:23.20 mafm night
02:25.31 Ralith Axman6: fix your net :P
02:33.02 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
02:38.13 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
02:49.11 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
02:55.27 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
03:05.52 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
03:11.07 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
03:16.39 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
03:24.18 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
03:24.50 *** join/#brlcad n8r0x (i=n8@ip72-204-14-218.fv.ks.cox.net)
03:25.03 n8r0x is there a .deb for the latest brlcad?
03:25.13 n8r0x i looked.
03:26.13 Ralith n8r0x: what distro are you using?
03:26.29 n8r0x debian
03:27.52 Ralith weird, looks like you're right
03:28.39 Ralith you can always build from source
03:28.53 Ralith surprised we don't have a .deb release anywhere obvious
03:28.54 n8r0x i tried.
03:28.58 n8r0x but i don't get mged.
03:29.08 Ralith what did you do to build from source?
03:29.22 n8r0x ./configure ; make; make install ;
03:29.45 Ralith n8r0x: is your environment set up correctly?
03:29.46 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
03:30.02 n8r0x what do i need it set to?
03:30.08 n8r0x i know where brlcad's directory is ...
03:30.08 Ralith set what to?
03:30.12 n8r0x /usr/brlcad ...
03:30.22 n8r0x but there's no mged in that directory...
03:30.28 Ralith of course not
03:30.37 n8r0x or is there a new way of running brlcad?
03:30.41 Ralith no
03:30.54 Ralith here's what I have in my .profile
03:32.00 Ralith export BRLCAD_ROOT=/usr/local/brlcad
03:32.00 Ralith export PATH="$BRLCAD_ROOT/bin:$PATH"
03:32.00 Ralith export MANPATH="$BRLCAD_ROOT/man:/usr/local/man:/usr/share/man"
03:32.00 Ralith export ITCL_PATH=$BRLCAD_ROOT/lib/itcl3.4
03:32.00 Ralith export ITK_PATH=$BRLCAD_ROOT/lib/itk3.4
03:32.05 Ralith you will need to change BRLCAD_ROOT, of course
03:32.58 n8r0x are you not using debian?
03:33.51 Ralith I don't believe that is relevant.
03:34.14 Ralith mged should be in /usr/brlcad/bin/ for you
03:34.43 n8r0x i know it's not. i'm curious.
03:34.48 Ralith kk
03:34.51 Ralith I'm on FreeBSD
03:35.09 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
03:35.23 n8r0x that's great. is there a port or a pkg for it?
03:35.33 Ralith yeah
03:36.15 n8r0x n8@paranix:/usr/brlcad/bin$ ls *mg*
03:36.16 n8r0x asc-nmg comgeom-g g-nmg nmg-bot nmg-rib nmg-sgp
03:36.18 n8r0x that's what i've got.
03:36.26 Ralith weird
03:36.27 n8r0x mged is simply not there.
03:36.35 Ralith are you sure there weren't any errors when you compiled?
03:36.54 n8r0x ... checking ...
03:37.00 Ralith there's a lot more than that that has 'mg' in it, mged aside
03:37.03 Ralith you're missing quite a bit
03:38.33 n8r0x all i need are the sources right?
03:38.49 Ralith assuming you have all of the sources, yes
03:39.05 n8r0x there's just one .bz2 file...
03:39.07 n8r0x that's what i got.
03:39.19 Ralith where'd you get it from?
03:39.27 n8r0x sourceforge
03:39.40 Ralith link?
03:40.12 Ralith http://sourceforge.net/project/showfiles.php?group_id=105292&package_id=113368 is what you want
03:40.27 n8r0x http://brlcad.org/d/download
03:40.36 n8r0x and then i clicked on linux.
03:40.45 Ralith that's not sources
03:40.55 Ralith you want to click on 'source'
03:41.15 n8r0x well i was getting to that.
03:41.28 n8r0x and then i noticed there were no 32bit bits...
03:41.34 n8r0x so i switched to sources.
03:41.36 n8r0x and here i am.
03:41.39 Ralith 'k
03:41.43 n8r0x no x11 support, config says.
03:42.10 Ralith you probably don't have all the -dev packages you need installed
03:45.01 Ralith n8r0x: that solve your problem?
03:46.32 n8r0x no. i have to do something else, i imagine.
03:48.14 Ralith like what?
03:48.27 Ralith just install xlib-dev or w/e debian calls it and see how far that gets you.
03:48.34 n8r0x ah.
03:48.59 Ralith (why binary-based distros never seem to install headers by default I'll never understand)
03:52.02 n8r0x ... installing.
03:53.14 n8r0x configure: WARNING: X11 support is enabled but the Xi library was not found.
03:53.19 n8r0x that's the problem :(
03:56.27 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6)
03:57.13 n8r0x i normally use freebsd btw.
03:57.34 n8r0x so 7-14.0 is in ports or pkgs?
04:02.02 Ralith it's a little bit behind
04:02.04 Ralith I compiled from source
04:02.09 Ralith by hand, that is
04:02.18 Ralith then again, could be it's been updated since my latest ports sync
04:02.24 Ralith n8r0x: you can install Xi pretty easily I'm sure
04:02.25 Ralith bbs.
04:04.26 n8r0x this is bizzre.
04:04.33 n8r0x *. now it's failing.
04:06.09 *** join/#brlcad DanielFalck (n=dan@pool-71-111-64-52.ptldor.dsl-w.verizon.net)
04:22.49 n8r0x what precisely is Xi, Ralith?
04:22.58 Ralith no idea
04:23.19 n8r0x bombardier.c:36:16: error: tk.h: No such file or directory
04:23.22 n8r0x bah. it's bombing.
04:23.55 Ralith like I said
04:23.59 Ralith you need all the -dev packages
04:24.05 n8r0x oh.
04:24.09 Ralith :P
04:24.13 n8r0x how do i know what i'm missing?
04:24.20 n8r0x i already installed xlib-dev.
04:24.25 Ralith look up the dependencies
04:24.55 Ralith then install all the corresponding dev packages
04:24.55 n8r0x bah. i'm surprised there isn't a 32bit .deb for it at all.
04:27.13 n8r0x i think i know what may be wrong.
04:27.16 n8r0x this is etch...
04:27.37 n8r0x and the current version of brlcad is interested in lenny.
04:27.41 Ralith unlikely
04:27.52 Ralith brl-cad is very good at compiling on just about any system
04:27.56 Ralith assuming you have all the deps
04:28.10 n8r0x is there a list somewhere?
04:28.17 n8r0x i've been relying on the error messages.
04:31.25 Ralith look at configure's output for starters
07:30.23 starseeker gets 1/10th through the final pdf build of the Mark VIII handbook, and decides sleep is now in order...
07:57.00 *** join/#brlcad Axman6_ (n=Axman6@pdpc/supporter/student/Axman6)
08:34.33 *** join/#brlcad JediatNight (n=Jediatni@unaffiliated/jediatnight)
08:34.57 *** part/#brlcad JediatNight (n=Jediatni@unaffiliated/jediatnight)
08:54.37 *** join/#brlcad Axman6_ (n=Axman6@pdpc/supporter/student/Axman6)
09:42.37 *** join/#brlcad clock_ (n=clock@84-72-91-240.dclient.hispeed.ch)
09:43.13 *** join/#brlcad clock_ (n=clock@84-72-91-240.dclient.hispeed.ch)
09:47.33 *** join/#brlcad madant (n=madant@117.196.129.18)
11:14.47 *** join/#brlcad cad17 (n=3ec98b38@bz.bzflag.bz)
11:22.44 *** join/#brlcad madant (n=madant@117.196.128.147)
12:33.19 *** join/#brlcad mafm (n=mafm@172.Red-83-45-253.dynamicIP.rima-tde.net)
12:33.59 mafm hi
12:35.58 Ralith hey
12:36.17 Ralith mafm: I was wondering -- is there a reason you didn't hook the new GUI's command line up to a TCL interpreter?
12:42.38 mafm because I don't know much about TCL, for once
12:43.07 mafm it just didn't occur to me
12:43.11 mafm :)
12:43.55 Ralith kk
13:29.44 *** join/#brlcad d_rossberg (n=rossberg@bz.bzflag.bz)
13:44.57 *** join/#brlcad Ralith (n=ralith@216.162.199.202)
14:07.50 brlcad moin d_rossberg
14:08.36 brlcad Ralith: the goal for the new modeler is to be able to have pluggable interpreters
14:10.11 brlcad sitting on top of the generalized command interface, bind through either via a swig-style interface or manually hook in the four or so that would be nice to have from the start (tcl, posix shell, python, lisp)
14:12.14 ``Erik ruby? lua? perl?
14:12.55 *** join/#brlcad Elrohir (n=kvirc@p5B14E7C7.dip.t-dialin.net)
14:17.13 *** join/#brlcad elite01 (n=omg@unaffiliated/elite01)
14:21.38 d_rossberg brlcad: good morning
14:23.12 brlcad ml? tcsh? scheme? java? php?
14:24.11 brlcad there are good reasons for lots of languages, but in-order, the highest return on investment is to work on those four in that order first ..
14:25.00 brlcad if they're done, it conceivably should be all set up to hook in most languages then because it will cover interactive and non-interactive, procedural functional and object-based
14:26.40 ``Erik *shrug* perhaps :)
14:27.04 ``Erik last time I threw out a survey, perl was very high on the list of what people wanted, but that was many years ago
14:27.57 ``Erik notes that lithp ith teh aweshome becauthe it doeth all three of thothe paradigmth O:-)
14:28.28 ``Erik I'm still a bit freaked out about dynamically redefining classes on live data with CLOS
14:31.45 ``Erik helpdesk sucks, this is day #2 that they're just not answering their phone
14:33.06 archivist helpdesk and xmas is an oxymoron
14:41.05 *** part/#brlcad n8r0x (i=n8@ip72-204-14-218.fv.ks.cox.net)
14:54.26 *** join/#brlcad Elrohir (n=kvirc@p5B14CF77.dip.t-dialin.net)
14:58.47 brlcad doing those first doesn't mean !perl
15:00.40 brlcad or any other language for that matter -- if someone wanted to work on their favorite language X, so be it -- just not what our priority should be on to implement first
15:01.32 brlcad tcl and shell because that's our existing interface/userbase/knowledgebase, and it unifies our two command-lines
15:03.07 brlcad python to get a fairly modern OO lang and (more importantly) it leverages the blender scripting userbase
15:03.54 brlcad lisp is mostly a leverage on the autocad userbase since that's their scripting layer
15:04.43 brlcad from there, it's mostly language zealotry or more obscure justifications for anything else -- those four have the biggest impact potential
15:17.10 *** join/#brlcad kanzure (i=bbishop@66.112.232.117)
17:07.08 *** join/#brlcad WhiteCalf (i=WhiteCal@whitecalf.net)
17:29.03 *** join/#brlcad mafm_ (n=mafm@172.Red-83-45-253.dynamicIP.rima-tde.net)
18:26.55 *** join/#brlcad Axman6 (n=Axman6@pdpc/supporter/student/Axman6) [NETSPLIT VICTIM]
18:26.55 *** join/#brlcad MinuteElectron (n=MinuteEl@unaffiliated/minuteelectron) [NETSPLIT VICTIM]
19:13.18 ``Erik hum
19:13.52 ``Erik richard was in asking questions that pose an interesting scenario that may need to be addressed
19:15.26 ``Erik ptr = malloc(zomfghuge); if(ptr) dograndthings(ptr) else /* ohs noes, little memory available */ dolotsoflittlethings(ptr);
19:15.55 ``Erik s/malloc/bu_malloc/ uh oh, no way dolotsoflittlethings() is ever reached, no graceful recovery, pandas are sad all over
19:16.20 ``Erik I recommended using regular malloc carefully and commenting on the decision to him, but it may be a valid things to look at in libbu?
19:20.11 ``Erik (plus, mentioned mmap to him, we'll see what happens *mwahahaha*)
19:30.11 CIA-6 BRL-CAD: 03bob1961 * r33403 10/brlcad/trunk/src/mged/mged.c: If fail to open an existing database, reset dbip and material head before returning.
20:22.48 CIA-6 BRL-CAD: 03r_weiss * r33404 10/brlcad/trunk/src/mged/tedit.c: ws
21:24.12 *** join/#brlcad louipc (n=louipc@archlinux/trusteduser/louipc)
21:42.00 brlcad ``Erik: bu_malloc has a graceful recovery path, you BU_SETJMP
21:42.22 ``Erik hrm, from inside of bomb?
21:42.39 brlcad no, in your code before any code that might bomb (like bu_malloc)
21:42.59 ``Erik ah, in bu_exit
21:43.13 ``Erik was looking for longjump
21:43.22 ``Erik I'll walk around the corner and let him know
21:44.02 brlcad if (BU_SETJUMP) { BU_UNSETJUMP; dolotsoflittlethings(); } bu_malloc_or_else_stuff();
21:45.18 brlcad the code will jump to the BU_SETJUMP position so usually have an if/else, and do recovery in the if-section and work in the else-section
21:45.38 brlcad most of the converters do this already, see for examples
21:45.53 brlcad since the nmg routines throw bombs left and right as part of their normal operations
21:47.32 brlcad mmap() is probably still a better way, or working in a stream fashion so you never have more than a little bit in memory at a time
21:49.31 brlcad bu_bomb() calls longjmp() if BU_SETJUMP is set
21:50.58 ``Erik he claims he needs to make many passes of the data
21:52.07 ``Erik bu_exit() calls longjmp, actually, but *shrug*
21:54.58 brlcad er, no it doesn't..
21:55.11 brlcad at least not directly
21:56.51 brlcad src/libbu/bomb.c .. bu_exit() is the tiny func at the bottom, line 199, no longjmp()
22:00.30 CIA-6 BRL-CAD: 03brlcad * r33405 10/brlcad/trunk/src/libbu/bomb.c: why do we bother to init the vls in bu_exit() if we might not use it
22:06.45 ``Erik oh, my bad, heh, saw the macro fu, thought that was it, but it's over on 118
22:07.55 ``Erik wonders if we need bu_mmap() to wrap the winderz CreateFileMapping/MapViewOfFile charlie foxtrot
22:12.29 brlcad this guy seems to have some wrappers, http://www.genesys-e.de/jwalter/mix4win.htm
22:13.32 brlcad but yeah, doesn't use either of those two -- Map
22:13.42 brlcad MapViewOfFile is probably the way to go
22:41.58 *** join/#brlcad Twingy (n=justin@74.92.144.217)
22:56.04 Ralith brlcad, so, using SWiG to bind all the editing functions?

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