irclog2html for #brlcad on 20050426

00:31.46 narnia brlcad, why are you turning to the dark side?
00:32.09 brlcad heh
00:32.52 brlcad I'm just dancing in the shadows right now
00:33.00 brlcad working in Studio would be the dark side
00:36.18 brlcad BRL-CAD should work "everywhere" though, both the good the bad and the ugly
00:38.17 narnia okay, good == anything unix like (linux, the bsds, macosx) ugly == anything microsoft so what is bad?
00:38.44 narnia bad == os/2 ????
00:38.53 narnia cp/m
00:39.01 narnia dr. dos
00:39.05 brlcad :)
00:39.37 brlcad i would have probably said anything ms is the bad
00:39.38 narnia brl-cad should run under cp/m and os/2
00:39.46 brlcad os/2 and etc are the ugly :)
00:40.10 narnia what???? cp/m rules.
00:40.16 brlcad vms
00:40.30 narnia bad == vms
00:40.34 narnia agreed
00:40.41 brlcad heh
00:41.42 narnia btw, wednesday is will be out. gary's funeral prye and memorial service is wednesday.
00:41.43 brlcad wouldn't be too hard to get a minimal subset on palmos
00:42.27 brlcad brl-cad started on machines with less resources than the current power/size of the palms
00:43.22 brlcad would have to make an input driver and framebuffer/dm interface
00:43.55 brlcad should be possible to run classic mged, raytrace into the window
00:44.52 narnia coming on your cellular telephone brl-cad. :-)
00:45.36 brlcad heh, it's possible!
00:45.47 brlcad solid modeling while on the road..
00:45.57 brlcad "hold on.. lemme sketch up the idea for you"
00:51.15 brlcad woo.. mged just linked successfully
00:51.33 brlcad i think I'll be done with this within the half hour if not less
00:59.44 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/librt/dg_obj.c: this FreeSolid list is private to librt
01:00.52 brlcad indeed
01:01.02 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/librt/g_arb.c: the earb tables are provided by librt now instead of from the mged front end
01:01.05 brlcad chanserv must have segfaulted
01:01.20 brlcad or CIA sensed me working in cygwin
01:37.59 CIA-5 BRL-CAD: 03brlcad * 10brlcad/configure.ac: check the term.h header with the other terminal library crew libraries to ensure compatibility when used together when multiple are available
01:39.53 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/mged/mged_solid.h: comment that the globals are brought to life in dozoom.c
01:47.58 *** join/#brlcad tancred (~tancred@d233-64-63-249.clv.wideopenwest.com)
01:48.57 *** part/#brlcad tancred (~tancred@d233-64-63-249.clv.wideopenwest.com)
02:03.34 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/mged/dozoom.c: ws
02:06.30 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/mged/ (anal.c edarb.c edsol.c): the earb# arrays and the arb_faces array are now provided by librt directly instead of in the mged front-end
02:15.47 [Prez|Kennedy] time for my first reboot in 15 days
02:16.07 [Prez|Kennedy] lets hope the thing comes back up... last time i went so long without rebooting... it didnt :-\
02:21.25 *** join/#brlcad PrezKennedy (~Matthew@130.85.253.237)
02:22.54 *** join/#brlcad Jegga (~guest@h219-110-187-067.catv02.itscom.jp)
02:23.42 PrezKennedy guess it worked
02:24.35 Jegga You there Sean?
02:24.44 brlcad hello
02:25.15 Jegga Hi its Jesse, your osx kid -lGL
02:25.22 brlcad ahh, howdy ;)
02:25.43 brlcad was that any better?
02:25.57 Jegga one thing you said about x11 being in my utils concerns me... in apps/utilities or in development/apps/utilities?
02:26.23 brlcad it should be in apps/utilities
02:26.32 brlcad at least in 10.3.*
02:26.47 brlcad white icon.. says X11
02:27.04 Jegga hmm, Im pretty sure I installed it, but I dont see x11 in there
02:27.16 brlcad should be near the end of the list
02:27.22 dan_falck brlcad:thanks for the OS X *.dmg
02:27.31 Jegga but neway didnt the config output show that x11 present (ala my last post)
02:27.37 brlcad dan_falck: np
02:27.37 Jegga ????? the dmg is up?
02:27.40 dan_falck got it running
02:27.56 brlcad dan_falck: it doesn't set up your environment for you, so you would have had to modify your path minimally
02:28.25 brlcad Jegga: I have a test .dmg binary build
02:28.25 dan_falck su mged
02:28.31 brlcad heh, you have a user named mged? :)
02:28.38 Jegga im trying you last sugg now Sean, perhaps all the blood sweat and tears for nothing?
02:28.55 brlcad Jegga: not necessarily ..
02:29.08 dan_falck yeah, I need to set up permissions right. Can't seem to start a new database yet
02:29.09 brlcad you have to find X11.app though :)
02:29.10 Jegga I still feel like a 13 year old buying drugs when using the command line
02:29.12 brlcad regardless
02:29.32 brlcad dan_falck: ahh, thanks
02:29.34 Jegga okeydokey searching...
02:29.45 brlcad I was scratching my head last night trying to remember what I needed to make sure I fixed..
02:29.48 brlcad it was the permissions
02:30.05 brlcad Jegga: try just searching on X11 and/or X11.app
02:30.19 Jegga doing so
02:31.19 brlcad dan_falck: I'd forgotten that the dmg installs itself with my user id.. not good for you :)
02:31.31 brlcad you should be able to fix it with:
02:32.35 brlcad sudo find /usr/brlcad -exec chown dan_faulk:admin {} \;
02:33.34 brlcad replace dan_falck with whatever your user id is or root
02:37.04 brlcad Jegga: what does this output from within Terminal? ls -la /Applications/Utilities/X11.app
02:37.42 dan_falck brlcad: thanks. I now own all the stuff within the brlcad directory
02:37.44 brlcad something saying Contents, or file/directory not found?
02:38.01 brlcad dan_falck: make sure / and /usr are owned correctly too
02:38.15 brlcad package installers write up the heirarchy
02:38.26 brlcad ls -lad /
02:38.30 brlcad ls -lad /usr
02:38.58 dan_falck I can create a new database. It must be working
02:39.33 brlcad well, if you're uncertain, you can always run Disk Utility and it will repair the permissions too
02:40.00 dan_falck ok. thanks.
02:40.26 dan_falck now I need to start reading the manual and create something.
02:40.27 brlcad (automatically via a click of the "Repair Permissions" button)
02:40.44 Jegga it outputs the sinking feeling that I dont have x11 installed, specially since I cant find it with sherlock
02:41.03 Jegga Im currently scouring the cd
02:41.04 brlcad Jegga: hrm.. you _had_ it installed at one point :)
02:41.16 brlcad configure says so ..
02:41.18 Jegga configure still tells me its there
02:41.35 brlcad configure is saying that it found the X11 libraries and headers
02:41.43 brlcad the X11 application is what's missing
02:42.01 Jegga I am goin to reboot in expert install to see if I can fix it up
02:42.08 brlcad Jegga: do you just want the binary?
02:42.09 Jegga ahh, the compile failed right on time
02:42.23 brlcad or are you really intent on building it?
02:42.28 Jegga let me try the stuporuser install
02:42.36 Jegga well Ive come this far...
02:42.45 Jegga but the binary would be nice
02:42.56 brlcad you will have to install the X11 application again apparently, regardless
02:42.59 Jegga good luck getting a file through my japanese isp
02:43.20 Jegga msn usually works, but ... be back in about 15
02:43.27 Jegga thanks for all the help so far
02:43.29 brlcad okie dokie
03:04.27 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/remrt/remrt.c: rt_verbosity is apparently being provided by liboptical, so don't repeat the symbol
03:12.06 *** join/#brlcad Jegga (~guest@h219-110-187-067.catv02.itscom.jp)
03:14.54 Jegga brlcad: strange, when I reboot with the osx dvd it will let me install x11 but not without reinstalling osx and reverting my system to 10.3.7 - launching the "bundled software only" pkg doest give an option to install just x11, only the fruity tools and office demos
03:15.21 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/remrt/rtsrv.c:
03:15.21 CIA-5 BRL-CAD: rt_verbosity is being provided by liboptical, so don't need to repeat it here in
03:15.21 CIA-5 BRL-CAD: the front end. also get rid of the silly SYSV checks and replace them with more
03:15.21 CIA-5 BRL-CAD: appropriate preprocessor macros vars HAVE_SYS_IOCTL_H and TIOCNOTTY.
03:15.29 brlcad hmm, okay
03:15.39 brlcad you can download it from the website
03:16.26 Jegga from apple?
03:16.50 brlcad yes
03:17.12 brlcad though they've moved the page with all the new pages for tiger
03:19.12 brlcad http://www.apple.com/support/downloads/x11formacosx.html
03:19.17 Jegga finalement tabernac c'est comme microsoft, un peu
03:19.37 Jegga oui j'ai vu ca juste maintenant
03:19.48 Jegga french works better than swearing
03:19.48 brlcad ~translate fr en finalement tabernac c'est comme microsoft, un peu
03:20.25 Jegga tabernacle is a french swearword eh? in canadian french eh?
03:22.06 brlcad after you install that download from apple, (re?)install the X11 SDK too
03:22.22 Jegga why?, for configuration?
03:22.47 brlcad it's normally on the developer cd only, so I've put it here for your convenience: http://ftp.brlcad.org/tmp/X11SDK.pkg.tar.gz
03:23.13 brlcad yes, for configuration -- just to make sure you have all the necessary pieces
03:23.26 Jegga yeah I have it in my xcode tools/packages directory on my dvd
03:24.07 brlcad is this system one that's been upgraded since 10.0 or 10.1 ?
03:24.57 Jegga brand new with 10.3.7
03:25.07 brlcad hrm, so odd
03:25.11 Jegga and not enough memory
03:25.18 brlcad maybe you accidentally deleted X11 at some point
03:25.53 brlcad or moved it to a place finder can't see it
03:26.00 Jegga at first I was doing most of this from a diff account called dev (not an admin) and that gave me a bit of hassle, specially since visudo made me shit my pants
03:26.00 brlcad "locate X11.app" would tell you
03:26.32 brlcad you shouldn't need to sudo until the actual sudo make install
03:26.36 Jegga so I switched in to my base acct, and perhaps I had installed x11 in the other one, should make a diff though right?
03:26.57 brlcad x11 should have come preinstalled on a 10.3 system
03:27.23 Jegga thats what I thought, but I upgraded to 10.3.9 first thing
03:27.43 brlcad shouldn't matter, we have lots of machines like that here
03:27.44 Jegga if this is apple giving me a crap video card in the mac mini Im going on a holy war
03:28.23 brlcad no no .. you've not even gotten that far yet
03:28.30 brlcad I've compiled and ran on a mini already too
03:28.51 Jegga you should be a mental health councillor
03:29.11 Jegga you make everything all right
03:29.23 brlcad that would be just crazy of me :)
03:31.21 Jegga hows performance on the mini? am I gonna kick myself for not getting something faster?
03:32.02 brlcad depends completely on your expectations .. ;)
03:32.18 brlcad I think they are impressive little machines.. beautiful
03:32.20 Jegga low, is it shaded and rea time? Im happy if so
03:32.29 brlcad decent processor
03:32.56 Jegga hell its snappy compared to my wintel laptop that was twice as much used
03:33.14 brlcad mged (brl-cad's gui-based solid modeler) does have an experimental shaded mode that you can enable, though it is off by default
03:33.51 Jegga ahh well, bells and whistles
03:33.53 brlcad the "second generation" mged that is yet to be released (archer) is shaded
03:34.20 brlcad (yet to be released by us, that is -- it's used in production already)
03:34.46 Jegga one last q: how do I install this so that its in my apps folder and available from any account? or is it already set for that?
03:35.20 brlcad the completely new solid modeler under development by yours truely will also have several display modes possible (shaded, wireframe, edge, points, etc)
03:36.43 Jegga ... <<Jesse Crosses Fingers, Knocks on Wood, and incises assembly code on his forehead in blood to appease the compile gods>> ...
03:37.07 brlcad Jegga: you'll need to edit a certain file with a text editor for it to be available for all users.. run:
03:37.21 brlcad open /etc/profile
03:37.25 brlcad from Terminal
03:37.35 brlcad it should pop open that file in text editor
03:37.47 brlcad do you see a line that starts with PATH=... ?
03:38.16 brlcad oh wow, brl-cad is now fully compiled in cygwin.. w00t
03:39.13 Jegga I guess that means you have other things to do now ;) with any luck Ill be running in .5 hours
03:39.22 Jegga yeah i got the paths line here
03:39.32 Jegga PATH="/bin:/sbin:/usr/bin:/usr/sbin"
03:39.32 Jegga export PATH
03:39.37 brlcad great
03:39.43 brlcad edit that PATH= line so that it says:
03:40.00 brlcad PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/brlcad/bin"
03:40.13 brlcad save the file, close it
03:40.15 Jegga dunkeshien
03:40.26 Jegga I can do this before compile is done?
03:40.31 brlcad yes
03:40.57 brlcad need to do the same thing with /etc/bashrc
03:41.02 brlcad open /etc/bashrc
03:41.14 brlcad add the same PATH= line, and the export PATH line
03:41.24 brlcad save the file, close it
03:41.29 Jegga whoa, unix newbie, how to save the file and xit?
03:41.58 brlcad when you ran "open /etc/profile", it will pop open the file in TextEdit (the apple gui text editor)
03:42.07 brlcad go to the menu.. :)
03:42.13 brlcad File -> Save :)
03:42.43 Jegga sorry looked like a terminal
03:42.52 Jegga neway it wont let me overwrite
03:43.04 Jegga :/
03:43.06 brlcad ahh, yes
03:43.19 brlcad you'd have to be a priv user
03:43.23 Jegga should i do all this logged in as root ?
03:43.31 brlcad you could
03:43.45 brlcad not "all" .. but the editing of /etc/profile and /etc/bashrc yes
03:44.19 Jegga hmm kay, brb then
03:44.23 brlcad there are ways to do it without logging in as root if you want me to take you through it
03:44.32 Jegga please do master
03:44.43 Jegga I shall call you sensei
03:45.28 brlcad k, gimmie a sec
03:47.48 brlcad okay, so you did the open /etc/profile, yes?
03:47.55 brlcad and you have it edited in TextEdit
03:47.59 Jegga yeah, all editing done
03:48.06 Jegga both files
03:48.06 brlcad save the file to your Desktop
03:48.13 brlcad save both files to your desktop
03:48.22 brlcad same name
03:48.40 brlcad or name them whatever.. doesn't really matter :)
03:48.53 Jegga gotcha
03:48.53 Jegga done
03:49.03 brlcad go to Terminal
03:49.07 brlcad ls -la ~/Desktop/profile
03:49.08 Jegga ya
03:49.15 brlcad outputs what?
03:50.06 Jegga ls: /Desktop/profile: No such file or directory
03:50.24 Jegga ???
03:50.28 brlcad ~
03:50.31 brlcad ~/Desktop/profile
03:50.36 Jegga sorry
03:50.40 brlcad ~ is the key next to the 1 key
03:51.41 Jegga on mine its over by the yen sign :) -rw-r--r-- 1 jesse jesse 142 26 Apr 12:48 /Users/jesse/Desktop/profile
03:51.51 brlcad ahh, true :)
03:52.07 brlcad good good
03:52.15 brlcad ls -la ~/Desktop/bashrc
03:52.35 Jegga -rw-r--r-- 1 jesse jesse 225 26 Apr 12:48 /Users/jesse/Desktop/bashrc
03:52.38 brlcad great
03:52.42 brlcad now run:
03:52.54 brlcad sudo cp ~/Desktop/profile /etc/profile
03:53.03 brlcad sudo cp ~/Desktop/bashrc /etc/bashrc
03:53.10 brlcad the first one should prompt you for your password
03:54.35 Jegga okey dokey, we just copied our permissioned copy over the system files right?
03:55.00 Jegga slick
04:00.12 brlcad right
04:00.17 brlcad use sudo with care :)
04:00.24 brlcad especially with regards to rm
04:00.44 Jegga no kidding, I have broken a few linuxes in the past
04:00.50 Jegga well, only one or two
04:01.00 brlcad so now your path is set up, so when you run X11, it should find brl-cad just fine for any user
04:01.13 Jegga what so sudo rm -rf * is a no no?
04:01.22 brlcad depends on where you are :)
04:01.58 Jegga well, I still dont know how to get to /dev/hda1 so I should be all right :)
04:02.16 Jegga if you ever need a guinea pig (cause I got no skills otherwise) let me know
04:02.21 brlcad thems dangerous words :)
04:02.33 Jegga well, at least for software
04:02.51 brlcad thems still dangerous words :)
04:03.23 brlcad you'll probably be too exhausted or mad once you get it all working ;)
04:03.37 brlcad Jegga: you have downloaded the users manuals?
04:03.38 Jegga lol, I need to got to work in 20 min
04:03.43 brlcad they're on the website
04:03.53 brlcad okay
04:04.01 Jegga but Ill get it up tonight - then my girlfreind will be mad
04:04.18 brlcad so, path is set up.. did you download/install X11 from apple?
04:04.46 Jegga yes, which is evidenced by this much longer compile Im experiencing
04:05.03 brlcad ahh, that sounds good then
04:05.05 Jegga An error now would really make me sad
04:05.32 brlcad if you get another error, we'll just install the binary
04:05.58 brlcad I should have posted it two months ago, but wasn't comfortable with the scripting yet
04:07.59 brlcad woo hoo .. BRL-CAD benchmark run completely and correctly through cygwin
04:08.00 Jegga yeah well life is learning, I gotta find the time (as if there would ever be enough) to learn my Unix
04:08.59 Jegga yeah, now just prey the spyware doesnt kill it :)
04:09.53 Jegga :)
04:10.00 Jegga this is like watching pro sports
04:10.12 brlcad people have been clamoring for this for _years_.. looks like it's done
04:11.10 Jegga hey man when I found out that I could compile this on a mac I went to akihabara and initiated a month of poverty
04:11.19 Jegga fed up with windows anyway
04:11.27 brlcad You witnesed it here, the first full port of BRL-CAD to Windows (we've been on Win for years, just this makes the first full port)
04:11.50 Jegga but will it run on my 800MHz laptop with no OpenGL?
04:11.53 brlcad hehe, yeah, I hear ya.. I don't use windows myself
04:12.04 brlcad os x is my primary platform (as it is for most of us around here)
04:12.32 brlcad brl-cad does not need opengl inherintly, it can work
04:12.33 ewilhelm_ lol! apple is a defense contractor?
04:12.37 Jegga <<Jesse Waxes poetic and minimizes all his windows in slo-mo>>
04:12.58 brlcad our new build system isn't that flexible to let you turn off opengl yet very easily (unless you know how to edit configure.ac text files)
04:13.21 Jegga ahh, more fun ahead on windows...
04:13.30 brlcad i'm sure apple probably is a defense contractor, though I dont' see the relation :)
04:13.39 brlcad most large companies are
04:14.05 Jegga well how did you become the brl-cad guy?
04:14.19 ewilhelm_ you haven't heard the $100 screwdriver saw?
04:14.39 ewilhelm_ (oops mixed a metaphor with an actual tool there)
04:14.42 brlcad i could care less about the port to windows myself .. could have done it years ago if I really wanted -- it's been very low on my priority list that it's finally now simple as a side effect to other work I completed
04:15.01 Jegga cygwin helps eh?
04:15.28 brlcad it helps a bit, get to use the same build system
04:15.37 brlcad instead of replicating it all in Studio
04:16.02 brlcad I did that years ago for kicks and knew that wouldn't work for long term maintenance
04:17.05 brlcad now I need to test out mingw and msys
04:17.34 brlcad but that can be for another day .. too much windows for one day already :)
04:17.39 Jegga hmm, thousands of lines of code for kicks, Im still trying to convert characters to ints and back to characters .. lol
04:18.33 brlcad heh
04:18.43 brlcad so you're learning to code?
04:19.33 narnia okay, how bad/ugly does code have to be before you just discard it and start over?
04:20.08 brlcad narnia: pretty darn bad, imo .. and it's a function of line/feature count
04:21.26 brlcad mged, for example, is a great case for an app that needs to be (and is being) rewritten
04:21.52 Jegga ya leaning for the 4th time
04:21.59 Jegga leaning = learning
04:22.14 brlcad that refactoring is major, though, and will ultimately be very expensive to ultimately reimplement no matter how good the libraries and tools are you have to work with
04:22.14 Jegga I guess now Ill start with objective c
04:22.41 Jegga something about the word WinClass makes me queasy
04:23.02 brlcad i'm rather fond of objective C myself
04:23.25 narnia i have an old nist source file. given the coding styles persent in the file there are at least 7 different authors.
04:23.35 brlcad the smalltalkish objectification of C was a cleaner way to go, albeit the syntax is fugly
04:23.59 brlcad narnia: run it through indent? :)
04:26.11 Jegga <<Jessy adorns battle armor and consigns himself to the dungeons of Smiley's English Conversation School>> ttyal
04:26.25 Jegga thanks a million - make completed successfully
04:27.12 brlcad excellent
04:27.21 brlcad now try "make benchmark"
04:30.10 *** join/#brlcad EricWilhelm (~ewilhelm@c-67-171-188-54.hsd1.or.comcast.net)
04:31.12 brlcad make benchmark will run several standard raytraces that test system performance and verify that the render library is working correctly
04:31.43 brlcad if it says CORRECT for all the tests, you can then run "sudo make install"
04:32.05 brlcad then you can run X11, and should be able to type "mged" to get the solid modeler
05:14.13 brlcad well, off to foodage i think
05:26.06 Twingy http://www.bigzaphod.org/cow/
05:58.41 narnia Twingy, do you have any pictures of your rocket?
06:09.24 narnia Twingy, would you have the need of a steel table 14ft by 7ft-7in by 1.25inches. that is just the top. the legs and frame are steel i-beams. the table top weighs just under 3 tons.
06:22.57 Twingy ah
06:22.58 Twingy possibly
06:23.11 Twingy but not for another year or so, when I move to a bigger house
06:23.28 Twingy pictures of rocket will probly go up in 2 weeks
06:24.16 Twingy check out my inventory
06:24.19 Twingy www.rt.cx/migikey
06:44.23 *** join/#brlcad cad626 (~c28bf583@bz.bzflag.bz)
06:44.33 narnia Twingy, i get "Authorization Required"
06:44.38 *** join/#brlcad cad618 (~c28bf505@bz.bzflag.bz)
06:46.48 *** join/#brlcad cad702 (~c28bf505@bz.bzflag.bz)
06:47.30 *** join/#brlcad cad673 (~c28bf505@bz.bzflag.bz)
06:49.28 Twingy yes
06:49.33 Twingy click ok
06:51.03 *** join/#brlcad cad787 (~c28bf505@bz.bzflag.bz)
06:51.58 *** join/#brlcad cad702 (~c28bf505@bz.bzflag.bz)
06:52.36 *** join/#brlcad cad673 (~c28bf505@bz.bzflag.bz)
06:52.53 Twingy night
06:56.08 *** join/#brlcad cad787 (~c28bf505@bz.bzflag.bz)
06:58.11 *** join/#brlcad cad444 (~c28bf505@bz.bzflag.bz)
07:04.44 *** join/#brlcad cad012 (~c28bf505@bz.bzflag.bz)
07:04.46 *** join/#brlcad cad012 (~c28bf505@bz.bzflag.bz)
07:05.01 *** join/#brlcad cad544 (~c28bf505@bz.bzflag.bz)
07:05.23 ewilhelm_ wow. Now *that's* a table top
07:05.44 *** join/#brlcad cad107 (~c28bf505@bz.bzflag.bz)
07:06.14 *** join/#brlcad cad138 (~c28bf505@bz.bzflag.bz)
07:13.40 cad107 dan_falck: /who
07:14.58 *** join/#brlcad cad235 (~c28bf505@bz.bzflag.bz)
07:19.11 *** join/#brlcad cad575 (~c28bf505@bz.bzflag.bz)
07:19.20 brlcad hello daniel
07:19.44 brlcad goodbye daniel
07:20.15 *** join/#brlcad d_rossberg (~c28bf505@bz.bzflag.bz)
07:20.24 brlcad progress?
07:21.06 brlcad d_rossberg: a message made it through earlier ..
07:21.22 brlcad can you write?
07:21.34 d_rossberg apparently, at last I had a problem with my nick name: there was already a rossberg in
07:22.00 brlcad yep, already a rossberg
07:22.01 brlcad 03:21 -!- rossberg [~rossberg@groove.ps.uni-sb.de]
07:22.01 brlcad 03:21 -!- ircname : Andreas Rossberg
07:22.01 brlcad 03:21 -!- channels : #sml #ocaml #haskell
07:22.02 brlcad 0
07:22.43 brlcad so you were able to get cgi:irc working apparently
07:22.55 brlcad what finally made it work?
07:24.16 d_rossberg a call with our IT people, they made some changes for me :-)
07:24.34 brlcad ahh, special exceptions :)
07:25.42 d_rossberg What time is it in the US? 3:30?
07:25.48 brlcad yes
07:27.09 d_rossberg how about taking a nap?
07:27.35 brlcad soon :)
07:28.08 brlcad made good code progress today, so it's been a late day
07:28.56 brlcad d_rossberg: can you ssh out?
07:41.42 CIA-5 BRL-CAD: 03brlcad * 10brlcad/include/machine.h: Turn on SMP support for Windows, get rid of the cruft
07:47.07 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/fbed/std.h: get rid of the old apparently unused IRIX3_3 define
07:54.41 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/fbserv/fbserv.c: if/when someone compiles on irix 5 again, we can refactor the build logic for a proper configure check instead of defining _BSD_COMPAT for undocumented reasons
07:56.33 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/fbserv/fbserv.c: use HAVE_SYSLOG_H define from configure
07:57.03 brlcad d_rossberg: you are utc/gmt+1 ?
08:06.18 d_rossberg I'm GMT+1, UTC+2 (daylight saving time)
08:06.51 brlcad ahh, so almost lunchtime :)
08:15.31 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/libfb/if_ogl.c: make sure the irix define is defined before parsing a value via #if
08:16.22 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/libfb/if_4d.c: remove stale/unused debug log message
08:24.17 CIA-5 BRL-CAD: 03brlcad * 10brlcad/configure.ac: make sure sys/types.h was found before using it
08:28.11 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/libtermio/termio.c: use the configure check header file macros for fcntl.h and sys/file.h
08:32.29 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/remrt/rtsrv.c: remove the old irix _BSD_COMPAT hack, needs to be a configure check if anyone ever tries compiling there again
08:40.13 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/rt/ (do.c viewedge.c): use if defined() preprocessor checks for the symbols so cygwin behaves
08:41.42 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/util/ttcp.c: is IRIX even defined? check it
08:49.27 CIA-5 BRL-CAD: 03brlcad * 10brlcad/src/vdeck/std.h: remove the old define cruft letting someone refactor again later via proper configure checks if they are even actually still needed.
13:04.58 Jegga Can anyone tell me how to turn on shaded mode in 7.2.2?
13:43.41 *** join/#brlcad ChanServ (ChanServ@services.)
13:43.41 *** mode/#brlcad [+o ChanServ] by irc.freenode.net
13:54.57 *** join/#brlcad Twingy_ (~justin@pcp0011643033pcs.aberdn01.md.comcast.net)
14:15.13 narnia argh, indent does not grok macros.
14:37.10 Jegga brlcad: you awake?
14:37.47 Jegga tell me the ways of turning on real time shading oh master
17:35.46 CIA-5 BRL-CAD: 03brlcad * 10brlcad/configure.ac: force itcl to on by default instead of auto until a suitable means to find the ITCL_LIBRARY can be found
17:38.59 CIA-5 BRL-CAD: 03brlcad * 10brlcad/configure.ac: print messages to stderr so they don't show up in the configure output (should still show up in config.log).
17:41.36 CIA-5 BRL-CAD: 03brlcad * 10brlcad/TODO: checks added for termcap/curses (added termlib), checks added for urt, checks added for system libs and optional build libs (including libtcl)
17:45.50 CIA-5 BRL-CAD: 03brlcad * 10brlcad/TODO: convert the documentation to docbook, add dynamic geometry support
18:00.32 *** join/#brlcad menotume (~meno@menotume.active.supporter.pdpc)
18:01.05 menotume learner, brlcad ... pingo
18:10.27 CIA-5 BRL-CAD: 03bob1961 * 10brlcad/src/librt/dg_obj.c: Modified the dgo_bot_check_leaf function to call rt_bot_plot_poly or rt_pg_plot_poly if possible (for the unevaluated shaded mode hack)
18:24.01 CIA-5 BRL-CAD: 03brlcad * 10brlcad/TODO:
18:24.01 CIA-5 BRL-CAD: instead of scaling over time, a backwards-compatible solution that provides the
18:24.01 CIA-5 BRL-CAD: same results was to simply hypersample without jitter. an interesting benchmark
18:24.01 CIA-5 BRL-CAD: improvement would be to continue the renders until the rtfm variance is below
18:24.01 CIA-5 BRL-CAD: some threshold.
18:24.13 *** part/#brlcad menotume (~meno@menotume.active.supporter.pdpc)
18:31.05 CIA-5 BRL-CAD: 03brlcad * 10brlcad/BUGS:
18:31.05 CIA-5 BRL-CAD: rtarea bug should be squished now. it still uses the global, but should not be
18:31.05 CIA-5 BRL-CAD: doing the forking any more unless it's required -- and if it does fork, it will
18:31.05 CIA-5 BRL-CAD: force rtarea to single-threaded so values are properly computed.
19:06.24 *** join/#brlcad d_rossberg (~chatzilla@mnch-d9b86acb.pool.mediaWays.net)
19:36.07 brlcad narnia: it doesn't? hrm..
19:37.26 narnia brlcad, what doesn't?
19:53.29 brlcad indent
20:17.06 narnia brlcad, indent does not grok macros.
20:17.16 narnia brlcad, that is correct.
20:20.19 brlcad <PROTECTED>
20:22.07 CIA-5 BRL-CAD: 03brlcad * 10brlcad/include/machine.h: disable PARALLEL on windows again until the appropriate win32 calls can be added to parallel.c/semaphore.c in libbu, not enough to rely on cygwin's pthreading wrapping
20:22.08 narnia GNU indent 2.2.9
20:23.27 narnia it combines macros and statement following the macro into a single line.
20:23.51 narnia so: LISTdo( a, b, c )
20:24.05 narnia <PROTECTED>
20:24.10 narnia becomes
20:24.26 narnia LISTdo(a, b, c) if (something)
20:24.37 brlcad shouldn't that be LISTdo( a, b, c );
20:25.02 brlcad it doesn't strictly matter but...
20:25.18 brlcad stylewise, that is something I've not seen someone do yet
20:25.23 narnia LISTdo is defined as:
20:25.26 narnia #define LISTdo(list, elt, type) \
20:25.26 narnia <PROTECTED>
20:25.26 narnia <PROTECTED>
20:25.26 narnia <PROTECTED>
20:25.26 narnia <PROTECTED>
20:25.27 narnia <PROTECTED>
20:25.29 narnia <PROTECTED>
20:25.40 brlcad sure, it's a code block
20:25.41 narnia LISTod is defined as:
20:25.55 narnia #define LISTod }}}
20:25.56 brlcad effectively inserts a { .. } in the code
20:26.05 narnia yes
20:26.14 brlcad so { .. }; is harmless, but lets it blend like functions and matches style
20:26.48 narnia ????
20:27.14 brlcad we have macro blocks like that all throughout brl-cad
20:27.28 brlcad the core math routines do that for performance
20:28.00 brlcad having LISTdo( ... ); in the code doesn't change the logic
20:28.10 narnia so you are saying do ::
20:28.18 narnia LISTdo (a, b, c )
20:28.20 narnia {
20:28.21 narnia }
20:28.24 narnia LISTod
20:28.32 brlcad no
20:28.40 brlcad the macros stay as they are
20:28.48 brlcad when you use the macro, though
20:28.55 brlcad you append the ;
20:29.06 brlcad effectively treating it like a function call
20:29.15 brlcad LISTdo( a, b, c );
20:29.17 brlcad if (something)
20:29.49 brlcad indent's getting just as confused as I would have been reading teh code
20:29.54 brlcad looks like a syntax error
20:30.04 brlcad without the ;
20:30.49 narnia i would like to have::
20:30.58 narnia LISTdo(a, b, c);
20:31.07 narnia <PROTECTED>
20:31.12 narnia LISTod;
20:31.45 narnia i would like whatever is between LISTdo and LISTod indented.
20:32.27 narnia there is literal hundreds of LISTdo/LISTod in libexpress.
20:32.55 brlcad ahh i misunderstood the do od pair
20:32.58 brlcad shame on them
20:34.16 narnia well i have to live with it or change it. right now i am living with it.
20:34.55 narnia the code would become real ugly real quick if i replaced the LISTdo/LISTod combinations with the actual code.
20:35.32 brlcad yeah understand. the problem is the macro itself
20:36.33 brlcad it's an "incomplete" macro
20:36.43 narnia basically LISTdo open a code block, user added code, LISTod closes the code block.
20:37.21 narnia i call them degenerate macros.
20:37.37 brlcad if you make LISTod take an empty parameter list, the semicolons would fix it
20:37.47 brlcad so it's sort of like opengl's begin/end
20:38.24 brlcad or even better, remove the {
20:38.43 brlcad so it becomes:
20:38.50 brlcad LISTdo (a, b, c) {
20:39.00 brlcad <PROTECTED>
20:39.04 brlcad } LISTod;
20:39.42 brlcad then indentation will be correct too
20:39.59 narnia so remove the inner most {} pair. (for loop {} pair)
20:42.15 brlcad the starting { in the LISTdo (before the struct Linked_list) and one of the } in LISTod
20:43.17 brlcad ack my bad, you're right
20:43.24 brlcad hrm.. that's a problem
20:43.51 brlcad that elt line is nfg
20:44.23 brlcad if you move it into the for itself, you can remove the last { in LISTdo
20:45.53 brlcad i.e. (elt) = (type)((__p)->data ; for ( __p = __l->mark; (__p = __p->next) != __l->mark; (elt) = (type)((__p)->data) )
20:49.57 narnia i do not think that will work. the third part of a for loop is only hit after the for loop executes at least once.
20:50.29 narnia the first time elt will be undefined.
20:52.34 narnia could possible do ; for ( __p = __l->mark, (elt) = (type)((__p)->data); (__p = __p->next) != __l->mark; )
20:53.41 narnia nevermind that will not work either.
20:54.26 narnia it would have to be in both the 1st and 3rd parameters to the for loop.
20:54.47 narnia which looks really ugly.
20:55.42 narnia <PROTECTED>
20:56.53 narnia would definitely break backward compatibility.
20:57.59 narnia any source code relying on those macros would have to be changed. that is an unknown amount of source code.
21:00.47 narnia it boils down to which is uglier and how desireable is backward compatibility.
21:29.03 brlcad not undefined, you missed the first part
21:29.23 brlcad aside from my var error
21:29.31 brlcad before the for loop you set (elt)
21:30.26 brlcad which is where I typod: (elt) = (type)((__l->mark)->data); for (...
21:30.41 brlcad that is the same logic
21:30.47 brlcad just different placement
23:06.58 CIA-5 BRL-CAD: 03brlcad * 10brlcad/configure.ac: might as well force tcl and iwidgets on too since they have the same problem.. need to determine/set TCL_LIBRARY inside of mged if it's not set.
23:48.23 *** mode/#brlcad [+o brlcad] by ChanServ

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.