IRC log for #brlcad on 20100421

00:11.53 CIA-73 BRL-CAD: 03r_weiss * r38674 10/brlcad/trunk/src/conv/obj-g_new.c: refactoring and debugging
01:41.50 starseeker ../src/conv/asc2g operators.asc operators.asc2g
01:41.50 starseeker BU_ASSERT_SIZE_T(length>=8) failed, lhs=34359738368, rhs=2834931271060, file ยป;3, line -1073747672
01:45.46 brlcad is that fully up to date?
01:46.15 brlcad still rebuilding here, haven't gotten that far to test
01:46.40 starseeker yes, fully up
01:47.21 starseeker (currently chasing why Archer can't raytrace in-window any more...)
01:55.55 starseeker erm. I bet [$itk_option(-mged) pane_listen $dest] isn't supposed to return -1
02:00.03 ``Erik heh
02:01.20 starseeker shakes his head - I'll probably need Bob to help explain this
02:02.06 starseeker wonders if the libdm/libfb logic will ever reach the point where it seems intuitive and makes sense from a design standpoint...
02:02.57 starseeker the whole embedded framebuffer bit is still black magic to me
02:04.06 brlcad refactor, clean up, and document until it does make sense
02:04.37 starseeker I'm still on the fence as to whether it's really that hard or I'm just really dense
02:04.49 starseeker (although I suppose those aren't mutually exclusive...)
02:05.04 brlcad there's always room to make things more clear no matter if a bit of code is complex
02:05.13 ``Erik or meditate until you levitate, then space baby will explain the code to you O.o
02:05.32 starseeker we're calling Bob "space baby" now?
02:05.38 starseeker heh - Keith will probably like that
02:06.36 starseeker digs some more...
02:09.08 starseeker rather impressively, archer somehow manages it with no explicit references to fbserve anywhere, according to grep
02:09.42 CIA-73 BRL-CAD: 03brlcad * r38675 10/brlcad/trunk/include/common.h:
02:09.42 CIA-73 BRL-CAD: pretend stdint.h was part of ansi C. we're getting type conflicts using
02:09.42 CIA-73 BRL-CAD: pstdint.h so need to try even harder to make 3rd party codes (that have NO
02:09.42 CIA-73 BRL-CAD: brlcad_config.h) include stdint.h so our function sigs have recognized types.
02:09.52 brlcad what are you trying to understand?
02:10.21 starseeker what changed on the fb side of things that Archer needs to accomidate
02:10.41 starseeker fbserve and rt still talk to each other, so it's something archer specific
02:10.45 ``Erik <-- ponders an SDL libfb device O.o pretty similar to SDL_Surface
02:11.07 starseeker Bob rather cryptically said he had yanked some code out of the fb world for archer at some point - dunno what that ment exactly
02:11.21 brlcad like mged, archer has a C side and a Tcl side
02:11.34 brlcad the C side hooks into tcl via command/object registration
02:11.46 brlcad the principle object is a ged_obj object from libtclcad
02:11.47 ``Erik my impression was that he deosn't use libfb, he dup'd the bit he cared about...
02:12.13 starseeker can we smack him with a wet trout for doing that?
02:12.21 brlcad ged_obj sets up and access an fbserv in a variety of places, but key to look for is "fbs"
02:13.19 brlcad some/much of ged_obj bridges into libged too, for which there are separate funcs/objs you might have to trace
02:13.42 starseeker nods
02:15.47 brlcad he still uses libfb
02:15.52 brlcad he probably duplicated the fbserv object aspects from mged (which is tightly integrated with the mged event loop)
02:19.27 brlcad the subversion seminar I mentioned is tomorrow
02:19.44 brlcad 9am pdt
02:19.49 brlcad (noon)
02:20.21 brlcad talcite: nice summary
02:20.32 talcite thanks
02:43.55 brlcad found a couple more file_offset problemants
02:45.51 CIA-73 BRL-CAD: 03brlcad * r38676 10/brlcad/trunk/ (3 files in 2 dirs):
02:45.51 CIA-73 BRL-CAD: db5_diradd() and db_diradd() pass around addresses too. convert them from
02:45.51 CIA-73 BRL-CAD: size_t to off_t as well to avoid major headache with d_un.file_offset type
02:45.51 CIA-73 BRL-CAD: conversions. also make those same use d_addr like everyone else too so they're
02:45.51 CIA-73 BRL-CAD: not so hard to find next time.
02:47.05 brlcad there we go, that did the trick
02:47.14 brlcad should be back to working
02:47.37 brlcad maybe warnings on db_diradd() type casts that need to be off_t's
04:12.51 starseeker hmm - gentoo editors list puts forth two candidates I wasn't aware of - mg and qemacs (both emacs-like, former public-domain and latter lgpl)
04:14.24 starseeker holy cow O.o
04:29.08 starseeker qemacs has a sort of quasi wysiwyg mode for docbook: http://bzflag.bz/~starseeker/qemacs-docbook-mode.png
04:29.47 starseeker as well as text-mode: http://bzflag.bz/~starseeker/qemacs-text-mode.png
04:31.36 starseeker terminal key bindings look like the need a little love, but not bad for an lgpl candidate
04:36.35 starseeker mg might actually be more promising from a "minimalist, working" standpoint - looks like the OpenBSD folks maintain it
04:37.46 starseeker 510k in size
04:38.42 starseeker yeah, qemacs is over 5 megs
04:40.34 starseeker still, I don't recall seeing anything quite like that docbook mode in so small a package
04:42.32 starseeker phooy - no active development on qemacs in years
04:42.59 starseeker hmm... wonder if the docbook view mode can be grafted onto mg...
07:01.39 *** join/#brlcad SWPadnos_ (~Me@dsl107.esjtvtli.sover.net)
08:50.37 *** join/#brlcad mafm (~mafm@81.35.69.130)
10:13.28 d-lo Mernin all!
10:25.21 d-lo brlcad: I am seeing similar issues as Tom B is/was.
10:26.27 d-lo Since the coreinterface portion of rt3 requires a brlcad install in order to work, coreInterface is throwing compile errors
10:26.47 d-lo aka: /usr/include/sys/types.h:198: error: conflicting declaration ?typedef long int int64_t?
10:26.51 d-lo /home/dloman/include/brlcad/pstdint.h:456: error: ?int64_t? has a previous declaration as ?typedef long long int int64_t?
10:27.40 d-lo I have tried fully removing the brlcad installation, updating local brlcad repo to head, recompiling and reinstalling.
10:27.48 d-lo same issues as before.
10:28.45 d-lo Minor nuisance for me as I can just comment out the coreInterface build at this point. Just thought you might want another datapoint.
10:40.21 CIA-73 BRL-CAD: 03davidloman * r38677 10/rt^3/trunk/src/coreInterface/CMakeLists.txt: Feed a -DHAVE_STDINT_H flag to the coreInterface compile until the "types.h vs unistd.h vs stdint.h vs pstdint.h" issues gets resolved.
10:54.01 CIA-73 BRL-CAD: 03davidloman * r38678 10/rt^3/trunk/tests/ (CMakeLists.txt GS/CMakeLists.txt GS/libNetwork/ libNetwork/): Move tests for libNetwork out of /tests/GS to /tests. Conforms with /src structure
11:08.55 CIA-73 BRL-CAD: 03davidloman * r38679 10/rt^3/trunk/tests/ (4 files in 2 dirs): Stub in start of basic JobManager test.
11:16.57 CIA-73 BRL-CAD: 03davidloman * r38680 10/rt^3/trunk/tests/libJob/ (. CMakeLists.txt): Whoops. BasicJMTest should be an executable, not a library.
11:21.04 *** join/#brlcad parigaudi (~quassel@pd95b7f5e.dip0.t-ipconnect.de)
11:30.02 CIA-73 BRL-CAD: 03davidloman * r38681 10/rt^3/trunk/ (5 files in 3 dirs): Add in a QT based thread sleep function. Probably not the best way to do this (upgrading QThread's sleep function from proctected to public) but will do for now.
11:49.51 brlcad I just made a mod last night that should have made it get to the stdint.h include
11:50.15 brlcad what are your default compilation defines?
11:50.16 d-lo :/ it didn't work then
11:50.24 d-lo for brlcad?
11:50.35 brlcad for your compiler
11:51.01 brlcad compile an empty header file with -dM
11:51.50 d-lo no output
11:52.23 d-lo touch empty.h; gcc -dM empty.h
11:52.29 d-lo yeilds no output
11:54.38 brlcad s/gcc/cpp/
11:54.45 *** join/#brlcad SWPadnos (~Me@emc/developer/SWPadnos)
11:55.48 d-lo okay, that kicked out a lot of things. what are you looking for spcecifically
11:55.55 brlcad that list :)
11:56.07 brlcad something I can hopefully key on
11:56.11 d-lo okie, where is the bz pastebin again?
11:56.26 brlcad http://pastebin.org/ should work
11:57.14 brlcad fwiw, gcc -E -dM empty.h
11:57.15 d-lo http://pastebin.org/165168
11:57.22 brlcad that would have gotten you the list through gcc
11:58.06 d-lo *ugh* so much to learn :/
11:59.04 brlcad there's something
12:00.57 d-lo what's that?
12:01.48 CIA-73 BRL-CAD: 03brlcad * r38682 10/brlcad/trunk/include/common.h: also tie in to __STDC__ in case we're not actually in ansi mode but are still standard c
12:02.22 CIA-73 BRL-CAD: 03brlcad * r38683 10/brlcad/trunk/include/common.h: also, if there's a gcc internal __SIZE_TYPE__ being provided for stdint.h implementation, that's also a good sign of something to key on.
12:02.22 brlcad now it should be better
12:02.41 d-lo kk lemme give it a whirl
12:48.58 *** join/#brlcad Ralith (~ralith@69.90.48.97)
12:49.17 *** join/#brlcad roberthl (~robert@2001:ba8:1f1:f03d::2)
12:49.17 *** join/#brlcad roberthl (~robert@mediawiki/RobertL)
12:55.15 d-lo Metalligaga: lol
13:01.12 d-lo to be honest, that mix really does work... so long as you don't try to actually WATCH the video.
13:01.16 d-lo ...just listen.
13:11.18 brlcad o.O
13:11.24 brlcad thinks that was maybe ww :)
13:11.48 d-lo ww?
13:12.18 d-lo http://www.youtube.com/watch?v=sbQHvUObMbA
13:12.29 d-lo ``Erik informed me of it :)
13:16.49 d-lo brlcad: that last mod to common.h seems to have fixeded the issues for coreInterface. Thanks!
13:22.02 CIA-73 BRL-CAD: 03davidloman * r38684 10/rt^3/trunk/src/coreInterface/CMakeLists.txt: Latests mods to common.h (in BRL-CAD) by brlcad seems to have fixed the type declaration issues. Commenting out -DHave_STDINT_H flag from coreInterface compile for now.
13:28.32 CIA-73 BRL-CAD: 03davidloman * r38685 10/rt^3/trunk/ (7 files in 3 dirs): Implement initial JobManager functionality test. Fleshed out some getters in JobWorker. Added a unique id to JobWorker.
14:09.31 brlcad gets to more committing while waiting for subversion webinar to begin
14:09.58 d-lo is that webinar open to the public?
14:19.32 jack isn't svn so last-decade already ;)
14:19.43 jack git it while it's hot!
14:25.47 brlcad d-lo: should be but you do have to register
14:25.54 CIA-73 BRL-CAD: 03davidloman * r38686 10/rt^3/trunk/ (11 files in 7 dirs): Logging system upgrade. Now allows an 'origin' parameter.
14:25.55 brlcad I sent a link out to folks a couple weeks ago
14:26.05 d-lo via brlcad mailing list?
14:26.11 brlcad just to the team
14:27.00 brlcad is supposed to require video and audio (though you can phone in for audio) -- don't know if the video is supposed to be on both ends
14:27.17 brlcad which is why I'm at home, just in case
14:27.38 brlcad there's two seminars, one on subversion branching and merging
14:27.42 brlcad the other on subversion development
14:27.50 brlcad seemed apropos :)
14:27.56 d-lo :)
14:28.05 d-lo how long will they last? 1 hr?
14:28.09 brlcad yeah
14:28.37 brlcad more to the point, it covers the very latest svn -- which is what I'm hoping to hear about today regarding branches -- supposed to be some relatively big changes
14:28.46 d-lo looks like I'll have to miss these then. I didn't get that email, so its no wonder this is a surprize :)
14:29.46 brlcad http://www.streetinsider.com/Press+Releases/WANdisco+Offers+Free+Online+Training/5525801.html
14:30.23 brlcad might want to sign up for the second and work that one from home
14:50.01 CIA-73 BRL-CAD: 03davidloman * r38687 10/rt^3/trunk/src/utility/Logger.cxx: Clean up logger formatting using iomanip stuff.
14:51.26 CIA-73 BRL-CAD: 03davidloman * r38688 10/rt^3/trunk/src/libJob/ (JobManager.cxx JobWorker.cxx PrintToStdOutJob.cxx): Couple of simple mods to Job Management system. JM now works.
14:58.09 d-lo brlcad: do we want subversion as an external dep or do we want the subversion source in the rt3 module?
15:04.57 brlcad external dep until we figure out exactly what portions we intend to use
15:05.44 d-lo kk
15:34.49 CIA-73 BRL-CAD: 03davidloman * r38689 10/rt^3/trunk/src/other/ogre/ (50 files in 50 dirs): Added lots of Build byproducts to svn:ignore.
15:39.25 CIA-73 BRL-CAD: 03davidloman * r38690 10/rt^3/trunk/src/g3d/: Added more Build byproducts to svn:ignore, this time from g3d build.
15:48.58 CIA-73 BRL-CAD: 03starseeker * r38691 10/brlcad/trunk/src/librt/ (Makefile.am namegen.c): Tweak namegen.c so it can build and tuck it into the Makefile as a noinst program for easier experimentation.
15:58.38 CIA-73 BRL-CAD: 03davidloman * r38692 10/rt^3/trunk/src/g3d/CMakeLists.txt: Make g3d's cmake find zzip library. Will need to roll this searching up to rt3's top level cmake when g3d building is fully integrated into rt3 build.
15:59.10 CIA-73 BRL-CAD: 03davidloman * r38693 10/rt^3/trunk/src/g3d/CommandInterpreter.cxx: Fixed a minor type issue surrounding QString.length()
16:00.05 CIA-73 BRL-CAD: 03davidloman * r38694 10/rt^3/trunk/src/g3d/OgreGLWidget.cxx: Trying to access method via reference instead of pointer. Fixed.
16:03.48 CIA-73 BRL-CAD: 03davidloman * r38695 10/rt^3/trunk/src/g3d/: Modified SVN:IGNORE to include the g3d executable.
17:26.23 ``Erik re eff/youtube/downfall: http://vimeo.com/11086952
17:26.42 ``Erik http://www.eff.org/deeplinks/2010/04/everyone-who-s-made-hitler-parody-leave-room
17:41.50 brlcad hah, that's great
17:42.19 ``Erik how was the webcast? anything new/great/useful?
17:43.01 brlcad hm, not as deep as I'd hoped
17:43.40 brlcad wasn't bad but didn't cover any new features and was a bit windows-centric (tortoisesvn)
17:43.55 ``Erik <-- got to learn about the haunted house animatronics industry and tech from derek, sounds more interesting than the webinar :D
17:52.00 brlcad heh, well it was good if only to see the requirements for the svn dev webinar later
17:52.29 brlcad there wasn't bidirectional audio or video
17:58.21 CIA-73 BRL-CAD: 03erikgreenwald * r38696 10/brlcad/trunk/src/librt/namegen.c: give components a default value of 0 in case style is not 1 or 2
19:35.21 CIA-73 BRL-CAD: 03erikgreenwald * r38697 10/brlcad/trunk/src/librt/CMakeLists.txt: add namegen.c to IGNORED_SOURCES
19:39.49 ``Erik hm http://www.reinvented-the-workstation.com/CX1-iWS-developers/
20:06.37 CIA-73 BRL-CAD: 03brlcad * r38698 10/brlcad/trunk/include/bu.h: don't specify register for bu_list funcs. let the compiler figure things out.
20:07.23 CIA-73 BRL-CAD: 03brlcad * r38699 10/brlcad/trunk/src/libbu/vls.c: don't specify register. let the compiler figure things out. helps debuggability too.
20:09.45 ``Erik there's a lot of register keywords that should go away... (like, all of 'em?)
20:14.50 *** join/#brlcad R0b0t1 (~Enigma@unaffiliated/r0b0t1)
20:18.12 *** join/#brlcad Stattrav (~Stattrav@202.3.77.233)
20:53.04 CIA-73 BRL-CAD: 03bob1961 * r38700 10/brlcad/trunk/src/tclscripts/archer/ (Archer.tcl ArcherCore.tcl): This is a bug fix and some clean up in getTreeNodes. Also changed the bot_split wrapper call.
21:09.14 *** join/#brlcad SWPadnos (~Me@dsl107.esjtvtli.sover.net)
21:09.25 *** join/#brlcad SWPadnos (~Me@emc/developer/SWPadnos)
21:14.59 starseeker growl
21:15.20 starseeker ok, in libregex regular expressions, spaces are literal. everywhere else, it's \s
21:26.25 ``Erik thinks it might be time to get back into ogl coding
21:29.20 ``Erik at least a glTexSubImage2D() to see if the texture/dma is 'good enough' on the pertinant platforms *sigh*
22:01.32 CIA-73 BRL-CAD: 03r_weiss * r38701 10/brlcad/trunk/src/conv/obj-g_new.c: more nmg creation debugging
22:05.30 CIA-73 BRL-CAD: 03bob1961 * r38702 10/brlcad/trunk/src/tclscripts/archer/Archer.tcl: Tweaked ArcherCore::killWrapper a bit.
22:12.54 CIA-73 BRL-CAD: 03starseeker * r38703 10/brlcad/trunk/src/librt/ (Makefile.am columnparse.c): Test regex logic for parsing a file with information organized in columns with a header - need to use the header to deduce column character widths.
22:14.02 CIA-73 BRL-CAD: 03bob1961 * r38704 10/brlcad/trunk/src/tclscripts/archer/Archer.tcl: Another minor tweak of ArcherCore::killWrapper.
22:16.54 CIA-73 BRL-CAD: 03starseeker * r38705 10/brlcad/trunk/src/librt/CMakeLists.txt: Ignore columnparse.c in CmakeLists.txt
22:17.59 CIA-73 BRL-CAD: 03starseeker * r38706 10/brlcad/trunk/src/librt/columnparse.c: Comments don't apply to this file - left over from copy paste
22:31.55 ``Erik <-- mistimed leaving the office, forgot how effin' retarded md drivers are :/
22:32.03 ``Erik 35 in a 50, etc
23:04.20 CIA-73 BRL-CAD: 03bob1961 * r38707 10/brlcad/trunk/src/libfb/fbserv_obj.c: This fixes the embedded fbserv. Haven't tried this on windows yet.
23:07.59 ``Erik researches gtk+2's ctree thingymabobber so'z he can kill that damn 2 day pbr card
23:10.40 ``Erik or, treeview, now... :/
23:39.47 brlcad starseeker: \s is a perl extension
23:40.35 brlcad [[:space:]] is the posix class for general whitespace
23:40.52 brlcad ``Erik: I wouldn't remove all of the register keywords
23:41.16 brlcad I did a performance test a while back and it did slow down when I just sed'd all the files
23:43.30 brlcad starseeker: CMakelists.txt (columnparse)
23:43.51 brlcad and librt.vcbuild
23:43.56 brlcad or whatever it's called
23:44.26 brlcad hm, and the comments are wrong (copied from namegen)
23:45.01 brlcad and includes are out of control :)
23:45.59 brlcad ahh, catchin up to commits .. you fixed the comments and cmakelists -- my bad
23:49.33 ``Erik didja try hitting it with a profiler before and after?
23:49.49 ``Erik (and gcc4? 3? 2.7?)
23:50.14 brlcad go for it
23:50.51 ``Erik heh

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