IRC log for #brlcad on 20080528

00:39.46 brlcad andrecastelo: do you have access to cygwin and/or a unix/linux box?
00:40.31 brlcad one thing that is always useful to check from time to time, especially when adding new dirs is to do a full distribution check
00:40.47 brlcad I usually do something akin to the following when it comes time to release
00:41.30 andrecastelo not cygwin, but msys.. and i tried compiling/configuring with that and it didn't work
00:41.32 brlcad sh autogen.sh && ./configure --enable-all && make clean && make -j10 && make -j10 distcheck && make benchmark && make test
00:42.02 brlcad yeah, msys would need a little more work
00:42.26 brlcad I started that a couple years ago, but got bogged down with other tasks (and the payoff benefit at the time was very minimal)
00:42.46 brlcad mostly just changing a lot of subtle assumptions
00:43.13 andrecastelo i see
00:44.14 brlcad okay, then no matter .. access to a linux/unix box would be ideal
00:44.35 andrecastelo i did burn a source copy for immediate and temporary solution
00:44.39 brlcad maybe can get you an account set up on a server here in a few days
00:44.57 andrecastelo for putty?
00:45.08 brlcad whatever ssh client you prefer ;)
00:45.16 brlcad i have a better one I can give you
00:45.30 brlcad putty works though too
00:46.05 andrecastelo so i would compile here, if everything works, commit, svn update through the ssh and then compile through it too?
00:46.21 brlcad yeah, something like that
00:46.25 brlcad not for every change of course
00:46.36 brlcad just for anything major that might break build
00:46.49 brlcad otherwise, you can always wait for someone to bitch at you for breaking something ;)
00:47.49 andrecastelo i was having some problems compiling earlier, and i thought i did break something
00:48.36 andrecastelo no one was having the problem.. but turns out it was something specific to msvc :b
00:49.39 ``Erik heh, yeah, bob had a local hack to work around it, the vcproj just didn't include it... he fixed it so it compiles, probably came out almost identical to what you posted on the patch tracker
00:50.08 ``Erik if you want to add your mlt.c file, knock yourself out, just make sure to update the Makefile.am as well
00:50.36 ``Erik as for the presented area patch, iirc you need to change it to use bu lists and to use the vmath routines for vector ops
00:51.00 andrecastelo hm ok, regarding the mlt.c i'll add it together with the makefile modifications
00:51.11 andrecastelo (the modifications to include it, that is)
00:51.25 ``Erik name wise, you might want to call it viewmlt.c just to be consistent
00:52.12 andrecastelo hm ok..
00:52.16 andrecastelo what about the mlt_defs.h ?
00:53.00 ``Erik for the Makefile.am, mimic viewedge or viewweight for the automake and if you're slightly off, I'll fix it (I'm not gonna give you too much grief about automake, your native environment is msvc)
00:53.04 ``Erik that can stay how it is I think
00:53.56 ``Erik unless brlcad disagrees *shrug* he's final authority as far as I'm concerned
00:53.58 ``Erik :)
03:06.02 starseeker_ Does C have some function I can use to determine the length of a line in a file before I fget it?
03:08.36 *** join/#brlcad elite01 (n=elite01@dslb-088-071-037-128.pools.arcor-ip.net)
03:08.46 starseeker_ or alternatively, can I bu_vls_read a file into a vls struct and then break up the big vls into smaller vls structures according to newlines?
03:17.09 Maloeran starseeker, the ANSI compliant way is to fopen(), fseek(), fgetpos(), fclose() to get the file size
03:17.43 Maloeran The POSIX way would be to stat() it
03:18.14 Maloeran Oh, length of a line. Sorry about that, nevermind, there is no way as far as I know
03:23.14 brlcad starseeker_: "why"?
03:25.21 brlcad you can use bu_vls_gets if you want to read an unknown length line into a vls
03:26.41 *** join/#brlcad hippieindamakin8 (n=hippiein@210.212.55.3)
03:32.18 brlcad howdy hippieindamakin8
03:32.32 hippieindamakin8 hey brlcad goodevening
03:40.33 brlcad heh, http://www.netsoc.tcd.ie/~mu/cgi-bin/shortpath.cgi?from=BRL-CAD&to=Kevin+Bacon
03:48.52 hippieindamakin8 so hows it goin
03:49.29 hippieindamakin8 brlcad to kevin bacon :)
04:02.45 starseeker_ brlcad: re: why - so I can get the remainder of the description line without worrying about having some maximum character length defined for the line in advance
04:03.49 starseeker_ the way I've got the nirt option implemented at the moment is fully as hackish as the reading of scripts in the first place...
04:09.36 brlcad there's not really a way to do that without architecting something yourself, not that you need/want to
04:11.01 brlcad you can either read a character at a time instead of line at a time while parsing the file; use bu_vls_gets(); or stat the file, get the file size, allocate a buffer that size, bu_fgets with that as the buffer
04:11.26 brlcad suggests just using bu_vls_gets
05:05.35 CIA-21 BRL-CAD: 03brlcad * r31197 10/brlcad/trunk/include/conf/make.vbs: ws
06:34.28 *** join/#brlcad homovulgaris (i=homovulg@gateway/tor/x-7fb70d4784e7a699)
06:35.44 homovulgaris hi all :)
06:37.40 homovulgaris Sean, did u check the patch i sent yesterday ? :)
06:43.05 brlcad homovulgaris: started to
06:43.16 brlcad alas, i'm only running on fumes atm
06:43.37 brlcad just one hour z in about 40 hours
06:44.12 brlcad what you wrote sounded good
06:44.44 brlcad if you're around tomorrow, can go into detail then/there and maybe commit it first thing after the source release is posted
06:48.21 homovulgaris :)
06:48.26 homovulgaris sounds good
06:49.01 homovulgaris though it is pretty clumsy .. i used fprintf instead of bu_log and my own print roots function instead of bn_pr_roots
06:50.56 homovulgaris and one issue is ofcourse is the problem with functions like bn_poly_syntheticdivision which are both used by the polynomial solver and at the same time publically available through bn.h
06:51.57 homovulgaris so i think for the transition stage we will need to add new functions which perform the same function
06:53.19 homovulgaris i'll go have lunch :)
07:00.36 *** join/#brlcad clock_ (n=clock@zux221-122-143.adsl.green.ch)
07:02.17 *** join/#brlcad d_rossberg (n=rossberg@bz.bzflag.bz)
07:15.49 *** join/#brlcad brlcad (n=sean@pdpc/supporter/silver/brlcad)
07:15.49 *** join/#brlcad d_rossberg (n=rossberg@bz.bzflag.bz) [NETSPLIT VICTIM]
07:15.49 *** join/#brlcad vedge (n=vedge@205-237-251-204.ilesdelamadeleine.ca) [NETSPLIT VICTIM]
07:15.49 *** join/#brlcad yukonbob (i=1000@s142-179-54-198.bc.hsia.telus.net) [NETSPLIT VICTIM]
07:15.49 *** join/#brlcad starseeker (n=starseek@bz.bzflag.bz) [NETSPLIT VICTIM]
07:15.49 *** join/#brlcad cosurgi (i=janek@irc.cool.waw.pl) [NETSPLIT VICTIM]
07:15.49 *** mode/#brlcad [+o brlcad] by irc.freenode.net
07:54.23 *** join/#brlcad hippieindamakin8 (n=hippiein@210.212.55.3)
08:10.09 *** join/#brlcad Axman6 (n=Axman6@210-11-146-254.netspeed.com.au)
08:24.34 *** join/#brlcad cazpa (n=cazpa@host81-159-136-48.range81-159.btcentralplus.com)
12:10.42 *** join/#brlcad thing0 (n=ric@123.208.115.180)
12:23.35 CIA-21 BRL-CAD: 03d_rossberg * r31198 10/brlcad/trunk/src/libbu/CMakeLists.txt: Use uce-dirent to provide cross platform dirent functionality.
12:25.51 CIA-21 BRL-CAD: 03d_rossberg * r31199 10/brlcad/trunk/src/librt/CMakeLists.txt: g_hyp.c: code to support hyperboloid of one sheet
13:10.17 *** join/#brlcad cad21 (n=4d3bc1ea@bz.bzflag.bz)
13:10.25 cad21 hallo
13:10.49 cad21 help
14:20.00 *** join/#brlcad andrecastelo (n=chatzill@189.71.78.49)
14:20.08 andrecastelo good morning :)
14:38.53 andrecastelo hey ``Erik, i'm having some trouble here with autogen and configure. I have the latest autoconf, automake and libtool. Here is the paste http://rafb.net/p/QSmMDd33.html
15:15.19 poolio mornin'
15:17.51 *** join/#brlcad thing0 (n=ric@123.208.130.88)
15:40.46 brlcad mornin' poolio
17:16.01 CIA-21 BRL-CAD: 03brlcad * r31200 10/brlcad/trunk/regress/ (Makefile.am flawfinder.sh repository.sh): break out the repository source consistency checks into their own test instead of keeping them bundled with the flawfinder test
17:31.20 CIA-21 BRL-CAD: 03starseeker * r31201 10/brlcad/trunk/src/nirt/if.c: nirt should report a gap whenever the gap los is greater than zero
17:57.57 CIA-21 BRL-CAD: 03brlcad * r31202 10/brlcad/trunk/src/nirt/ (command.c conversion.c if.c nirt.c parse_fmt.c showshot.c): ws
18:04.25 CIA-21 BRL-CAD: 03starseeker * r31203 10/brlcad/trunk/src/mged/rtif.c: Don't add pix output flag when nirt is the rtcmd - saveview should now provide a working nirt call
18:04.47 starseeker glances at irc...
18:05.03 starseeker oops - should I quick mucking with things for a bit brlcad?
18:14.18 ``Erik ho hum *look*
18:14.56 ``Erik try "bash autogen.sh"
18:17.14 CIA-21 BRL-CAD: 03johnranderson * r31204 10/brlcad/trunk/include/bu.h: added declarations for bu_vlb routines
18:18.57 CIA-21 BRL-CAD: 03johnranderson * r31205 10/brlcad/trunk/include/rtserver.h: added fields required for use of bu_vlb
18:19.11 prasad_ whoa jra
18:20.04 CIA-21 BRL-CAD: 03johnranderson * r31206 10/brlcad/trunk/include/RtServerImpl.h: added declarations of getRegionNames() and shootList() methods
18:21.33 CIA-21 BRL-CAD: 03johnranderson * r31207 10/brlcad/trunk/src/librtserver/rtserver.c: now uses byte array to return results rather than building Java objects in C code
18:30.14 *** join/#brlcad clock_ (n=clock@77-56-91-193.dclient.hispeed.ch)
18:58.19 brlcad ``Erik: he's gone, but it's EOL problems
18:59.21 brlcad sh not liking the windows line endings
19:04.24 ``Erik I thought he was doing it on a debian
19:05.18 ``Erik especially with /mnt/win/ there O.o
19:06.53 brlcad and? that looks like a potentially mounted windows filesystem to me
19:07.17 ``Erik yeah, windows fs being mounted from a non-windows OS
19:07.27 ``Erik cygwin uses /cygdrive/c/, d'no myss
19:07.28 ``Erik msys
19:07.40 ``Erik updates firmware O.o
19:18.12 CIA-21 BRL-CAD: 03brlcad * r31208 10/brlcad/trunk/configure.ac: remove unused checks for sys/unistd.h, lseek(), and regcomp()
19:19.48 CIA-21 BRL-CAD: 03brlcad * r31209 10/brlcad/trunk/TODO: once again, incrtcl gets incrshafted. we're good to go
19:49.35 ``Erik hrmmmmm
19:49.41 ``Erik asc2g and g2asc seem very married to v4
19:59.50 brlcad woot, X11 forwarding to .bz fixed
20:42.15 *** join/#brlcad elite01 (n=elite01@dslb-088-071-037-128.pools.arcor-ip.net)
20:58.50 *** join/#brlcad dtidrow (n=dtidrow@c-69-255-182-248.hsd1.va.comcast.net)
21:30.47 *** join/#brlcad thing0 (n=ric@58.171.2.32)
21:33.44 *** part/#brlcad thing0 (n=ric@58.171.2.32)
22:13.43 *** join/#brlcad andrecastelo (n=chatzill@189.71.78.49)
22:14.09 andrecastelo hi everyone :D
22:17.52 pacman87 hi andrecastelo
22:19.39 andrecastelo hi pacman87 :D
23:27.57 ``Erik begins the long arduous path of unbreaking this poor machine
23:47.17 pacman87 ``Erik: was that due to the firmware update?
23:52.21 *** join/#brlcad hippieindamakin8 (n=hippiein@203.200.95.130)

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