IRC log for #brlcad on 20140513

00:39.11 *** join/#brlcad ries_nicked (~ries@190.9.171.121)
01:25.52 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
01:33.23 *** join/#brlcad hcurtis (b82d1a14@gateway/web/freenode/ip.184.45.26.20)
01:45.04 *** join/#brlcad Zhao_Anqing (~clouddrif@183.157.160.29)
01:47.29 Notify 03BRL-CAD:brlcad * 60590 brlcad/trunk/NEWS: news items should always be framed from a user's perspective. reframe. tom plugged a memory leak in g_lint and pixcount (and remapid)
02:00.31 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
02:20.02 brlcad starseeker: what's the status on libgdiam? still worth keeping? last I recall, bb -o isn't robustly working still, or am I mistaken?
02:33.05 Notify 03BRL-CAD:brlcad * 60591 brlcad/trunk/NEWS: there was a problem importing more than 11 region groups, presuambly assuming a region group for every range of 1000 region id numbers. richard made it dynamically allocate the region set.
02:35.54 Notify 03BRL-CAD:brlcad * 60592 brlcad/trunk/src/conv/fast4-g.c: almost the slowest possible way to turn a fixed array into a dynamic one.
02:36.53 brlcad ~seen henry
02:36.54 infobot i haven't seen 'henry', brlcad
02:37.22 brlcad hcurtis: there might be a good simple task to start with (r60592)
02:38.36 brlcad see the comment, look at what the code looked like before r56641, and what the dev did (in r56641)
02:39.01 brlcad should have been simple to turn group_head into a dynamic container
02:39.33 brlcad (using our bu_calloc()+bu_realloc() functions)
02:44.37 Notify 03BRL-CAD:brlcad * 60593 brlcad/trunk/src/proc-db/globe.c: eliminate progname global
02:45.29 Notify 03BRL-CAD:brlcad * 60594 brlcad/trunk/src/proc-db/kurt.c: remove unused global and unnecessary comment
03:03.18 oana_ brlcad, gerbil is a software that offers spectral image analysis options, a pretty small software actually
03:05.24 brlcad it's all relative ;)
03:05.26 Notify 03BRL-CAD:brlcad * 60595 (brlcad/trunk/README brlcad/trunk/include/vmath.h and 12 others): revert r58453 in favor of bevity aka simplicity
03:05.33 brlcad what did you do with it?
03:09.24 Notify 03BRL-CAD:brlcad * 60596 brlcad/trunk/misc/osg_changes.patch: don't mess with patch files. revert r58527.
03:10.03 starseeker brlcad: it's not robustly working on some degenerate cases
03:10.52 starseeker however, it does work on a lot of cases and it'll be a fair bit of work to reimplement the algorithms from the papers
03:11.01 Notify 03BRL-CAD:brlcad * 60597 brlcad/trunk/src/proc-db/tube.c: don't be subtle about floating point
03:11.59 Notify 03BRL-CAD:brlcad * 60598 brlcad/trunk/src/proc-db/wavy.c: ws and static funcs
03:15.25 Notify 03BRL-CAD:brlcad * 60599 brlcad/trunk/src/fb/gif-fb.c: consistent braces. if it spans multiple text lines, use em. when in doubt, use em. it's okay to use em even when not in doubt.
03:15.27 starseeker the oriented bounding rectangle algorithm I adapted for libbn might be enough to fix libgdiam, but it's an lgpl library
03:16.04 starseeker so in some ways it would be better to re-implement the whole song and dance in libbn or one of our other low level libraries
03:16.56 starseeker shrugs - would probably make a good student project in some ways - feed 'em the papers, point them to the exiting libbn routines that are relevant, and turn them loose
03:18.04 starseeker existing even
03:29.50 Notify 03BRL-CAD:brlcad * 60600 brlcad/trunk/src/irprep/ir-X.c: decimating MAXARR doesn't sound so hot especially since it's been 120000 since the original check-in. instead go for the middle ground (64k) but make the array dynamic instead of on the stack (which was almost certainly clobbering the stack)
03:32.59 *** join/#brlcad teepee (~teepee@gateway/tor-sasl/teepee)
03:34.53 brlcad starseeker: is it possible to tell when a degenerate case is encountered (to handle it gracefully with a friendly "sorry, I can't do that dave" error message)?
03:37.01 oana_ brlcad, some work on the image feature space, given one pixel in the image find out the distance to each other pixel using different metrics
03:46.37 *** join/#brlcad cwstirk (~charlie@c-71-56-216-45.hsd1.co.comcast.net)
04:59.22 *** join/#brlcad FreezingAlt (~FreezingC@135.0.41.14)
05:02.56 *** join/#brlcad FreezingCold (~FreezingC@135.0.41.14)
05:24.56 *** join/#brlcad hoiji (671b082a@gateway/web/cgi-irc/kiwiirc.com/ip.103.27.8.42)
07:16.17 *** join/#brlcad oana_ (~oana@188.209.97.130)
08:54.42 *** join/#brlcad hcurtis (b82d2f6b@gateway/web/freenode/ip.184.45.47.107)
08:55.50 hcurtis brlcad: Hi, Sean. Thank you. I will look at the code.
09:33.46 *** join/#brlcad martaprz (57697052@gateway/web/freenode/ip.87.105.112.82)
09:44.42 *** join/#brlcad vladbogo (~vlad@195.216.218.10)
10:01.48 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
11:37.25 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
13:14.44 *** join/#brlcad ries (~ries@190.9.171.121)
13:30.37 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
13:44.03 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
13:55.45 Notify 03BRL-CAD:brlcad * 60601 (brlcad/branches/RELEASE/NEWS Property Changed: and 7 others): merge 60591 from trunk
13:59.12 Notify 03BRL-CAD:carlmoore * 60602 (brlcad/trunk/misc/osg_changes.patch brlcad/trunk/src/gtools/gdiff2.cpp): remove trailing blanks/tabs
14:37.26 *** join/#brlcad FreezingCold (~FreezingC@135.0.41.14)
14:54.19 *** join/#brlcad oana_ (~elf11@p5.eregie.pub.ro)
15:13.49 *** join/#brlcad pandrei (~pandrei@188.26.186.151)
16:12.46 Notify 03BRL-CAD:brlcad * 60603 brlcad/trunk/misc/osg_changes.patch: revert r60602. patch files should not get modified.
16:13.28 *** join/#brlcad teepee (~teepee@gateway/tor-sasl/teepee)
16:14.02 *** join/#brlcad cwstirk (~charlie@c-71-56-216-45.hsd1.co.comcast.net)
16:14.55 Notify 03BRL-CAD:brlcad * 60604 brlcad/trunk/misc/CMakeLists.txt: the patch file doesn't need to live in a trunk checkout.
16:20.51 *** join/#brlcad hcurtis (b82d3a3b@gateway/web/freenode/ip.184.45.58.59)
16:54.56 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
17:12.41 brlcad hcurtis: any progress looking into that TODO?
17:15.42 brlcad I've seen very little activity from several gsocers that I would have expected by now, especially given how much background material (homework) must be prepared in order for those projects to be at all successful...
17:16.19 brlcad we're quickly approaching the start date when things quickly get very serious
17:17.08 brlcad (you're not alone in this caution)
17:18.33 Notify 03BRL-CAD:brlcad * 60605 brlcad/trunk/src/proc-db/wdb_example.c: clean up some of the comments and API explanation
17:28.22 Notify 03BRL-CAD:brlcad * 60606 (brlcad/trunk/src/libicv/bw.c brlcad/trunk/src/libicv/dpix.c): some formatting consistency cleanup and size_t vs ssize_t matching.
17:40.56 Notify 03BRL-CAD:brlcad * 60607 (brlcad/trunk/src/adrt/isst_tcltk.c brlcad/trunk/src/adrt/librender/camera.c and 88 others): apply HACKING style criteria for if() vs if (). this minor hint visually separates the language structural constructs from function calls, and more importantly makes the code consistent throughout.
17:43.50 Notify 03BRL-CAD:brlcad * 60608 brlcad/trunk/src/gtools/beset/population.c: style
17:44.52 brlcad bah
17:52.05 hcurtis brlcad: Hi, Sean. I'm back.
17:53.42 hcurtis <PROTECTED>
17:54.25 Notify 03BRL-CAD:brlcad * 60609 (brlcad/trunk/src/conv/iges/CMakeLists.txt brlcad/trunk/src/conv/intaval/CMakeLists.txt and 13 others): not a bad idea to make the cmake logic also conform with our style guide, but including them was not intentional. reverting r60607 on those files.
17:54.56 hcurtis brlcad: About the TODO…you're talking about fast4-g.c, right?
17:55.19 brlcad hcurtis: that's good to hear but I encourage you to begin vocalizing your activity (even if just to summarize what you're working on and reading and learning, doesn't have to be questions)
17:55.51 brlcad once gsoc coding begins, vocalizing activity becomes requisite, so it's a good habit to get into and sometimes takes some people a while to get used to
17:56.04 hcurtis Ok
17:56.23 brlcad yeah, I was referring to fast4-g.c
17:56.42 brlcad since that's loosely related (it's an importer) and the mod involves all of 20 or so lines of code
17:57.04 brlcad basic crash course on memory too if you've not worked with malloc/calloc/realloc before
17:57.21 brlcad our functions are drop in replacements, so reading their manual pages will tell you how ours works
17:57.49 hcurtis Ok
18:02.56 brlcad starseeker: had you see doc/html/manuals/libdm/api.html ?
18:06.25 brlcad hcurtis: please do ask questions or comment on progress if/when you look at the fast4-g.c TODO as that's something that "should" take much less than one day effort
18:06.38 brlcad i'd estimate about 4 hours of dedicated concerted effort with your background, depending how distracted you get or if you get distracted ;)
18:08.15 brlcad that includes some time learning concepts and reading manual pages
18:09.03 brlcad it's about a half-hour of actual work to make and test the changes
18:10.36 hcurtis brlcad: I looked at the code right after I wrote you back earlier today (about 10 hours ago).
18:12.52 brlcad did you understand the to-do?
18:13.07 Notify 03BRL-CAD:brlcad * 60610 (brlcad/trunk/doc/html/manuals/libdm/api.html brlcad/trunk/src/adrt/isst_tcltk.c and 40 others): style consistency update to change the remaining for() instances to for (). more visual separation of language structural constructs from function calls.
18:19.41 hcurtis brlcad: I understand that the technique the program uses to turn a fixed array into a dynamic one is too slow.
18:20.33 Notify 03BRL-CAD:brlcad * 60611 (brlcad/trunk/src/adrt/isst_tcltk.c brlcad/trunk/src/adrt/librender/camera.c and 18 others): style consistency update to change the remaining while() instances to while (). more visual separation of language structural constructs from function calls.
18:28.50 brlcad hcurtis: what do you know about memory allocation?
18:30.51 brlcad suggest reading http://stackoverflow.com/questions/8385322/difference-between-static-memory-allocation-and-dynamic-memory-allocation and http://www.enel.ucalgary.ca/People/Norman/engg333_fall1996/stat_dyn/
18:31.40 brlcad but the basic gist is having a chunk of memory either get declared, or get returned from a function (e.g., malloc())
18:32.32 brlcad fast4-g.c had an array of memory that was static, but we want it to be dynamic
18:33.23 brlcad the commit I referenced did make it dynamic, but in a bad way -- it created a new container and copied everything over into it, instead of just expanding the one it already had
18:34.26 hcurtis Ok
18:39.03 Notify 03BRL-CAD:brlcad * 60612 (brlcad/trunk/src/adrt/isst_tcltk.c brlcad/trunk/src/anim/cattrack.c and 28 others): address the remaining two style deviants, switch and return, interestingly to a far lesser inconsistency extent. visual separation of language structural constructs from function calls.
18:45.11 Notify 03BRL-CAD:brlcad * 60613 (brlcad/trunk/src/libbn/chull.c brlcad/trunk/src/libbn/obr.c and 15 others): ws, style
18:49.47 hcurtis brlcad: Am I correct in understanding that I am not to do any more GSoC-related things before getting the fast4-g.c project done? I just want to make sure I understand what you'd like me to do before I get started.
18:51.22 Notify 03BRL-CAD:n_reed * 60614 brlcad/trunk/src/libbrep/boolean.cpp: push the body of split_trimmed_face into a separate function; we'll be calling it multiple times in the future
19:36.31 ``Erik huh, we just passed 1400000000 in unix time
19:37.27 mihaineacsu :D
19:44.56 ``Erik "NIH invented here" heh :)
20:06.17 starseeker brlcad: hmm - I don't think I had. That looks like it should be a man3 docbook page.
20:08.44 starseeker reflects that if we do GCI again, he *really* needs to make a bunch of tasks for DocBook-ification of our other documentation (html, tex, etc...)
20:48.06 ``Erik sushi with laser cut nori O.O http://www.designboom.com/design/lasercut-nori-for-designer-sushi/
20:50.36 starseeker now there's someone who's serious about portion control - laser precision
20:51.08 starseeker ``Erik: any new phone apps lately?
20:52.22 ``Erik have a couple in the pipe, little trivial ones... thinking about trying to revive that 'kaboom' game, an augmented reality one (with a possibly cool spinoff) and I'm thinking about making a phone version of civclicker
20:53.15 starseeker cool
20:54.14 ``Erik <-- also thinkin' mebbe lees hunan sometime later this week or next week *cough* :)
20:54.37 starseeker sounds like a plan, if we can get it coordinated this time ;-)
20:56.22 starseeker this week will probably suck - dealing with lots of crap breaking
20:56.28 ``Erik only non-movable artifact on my calendar in the lunch time area is this friday, otherwise this and next week are good for me
20:57.17 ``Erik aight, so next week :) I'll let you figure out who to scare up (ed, vic, nikki, etc)
20:57.26 starseeker nods
21:01.07 *** join/#brlcad merzo (~merzo@133-63-132-95.pool.ukrtel.net)
22:21.37 *** join/#brlcad marta_ (4e0a5935@gateway/web/freenode/ip.78.10.89.53)
22:25.31 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
22:57.22 brlcad mihaineacsu_bbl: let me know if/when you have more time to discuss your proposal!
22:57.44 brlcad same goes for anyone else working on a socis proposal
22:57.57 mihaineacsu_bbl brlcad: I'm here
22:59.44 mihaineacsu_bbl I checked the existing code, will get it up and running on a repo today and make changes. I'm not worried at alll about the server side, what I'd like to discuss with you is changes on brlcad in order to work with the server
23:04.21 mihaineacsu_bbl brlcad: let me know when you come back, I'll be here for another 3-4 hours, I'm studying for an exam I have to take today
23:56.47 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)

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