IRC log for #brlcad on 20140926

01:05.45 *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch)
01:23.01 n_reed :q
01:37.11 starseeker second the :q
02:09.48 n_reed heh, I was just trying to disconnect my screen session using ex quit command
04:00.09 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
05:04.29 *** join/#brlcad KimK (~Kim__@ip68-102-30-143.ks.ok.cox.net)
05:23.39 *** join/#brlcad sofat (~sofat@202.164.53.117)
05:24.23 *** join/#brlcad bhattigurjot (~scott@202.164.53.117)
05:42.37 bhattigurjot starseeker: the inclusion of bio.h header in dm-qt.cpp must be declared inside #ifndef directive..
05:42.41 bhattigurjot right?
05:49.13 bhattigurjot Should I correct it and submit a patch file for it?
06:04.23 bhattigurjot Oops my bad.. bio.h already is
09:27.31 *** join/#brlcad FreezingCold (~Freezing@CPE602ad06bea2a-CM602ad06bea27.cpe.net.cable.rogers.com)
10:29.56 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
10:47.12 *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch)
11:09.30 *** join/#brlcad s3gfault (~s3gfault@188.72.124.173.leadertelecom.ru)
11:43.56 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
12:37.15 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
13:08.17 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
13:38.45 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
13:47.54 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
14:27.17 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
14:27.51 *** join/#brlcad sofat (~sofat@101.214.194.100)
14:27.58 sofat hi brlcad
14:28.48 sofat http://202.164.53.122/~hitesh/wordpress
14:28.49 sofat i done all changes
14:31.01 sofat please check
14:58.42 *** join/#brlcad sofat (~sofat@49.138.88.148)
15:01.04 sofat brlcad,
15:01.10 sofat i complete my work
15:02.24 sofat please check it
15:02.39 sofat http://202.164.53.122/~hitesh/wordpress
15:17.27 Notify 03BRL-CAD:starseeker * 63048 brlcad/trunk/src/librt/primitives/sph/sph.c: Get rid of the logging messages
15:31.54 brlcad sofat: that looks great
15:32.01 brlcad so time to check the code?
15:32.25 brlcad can you make your code available somewhere? you can submit it to our patches tracker or online somewhere else
15:36.39 Notify 03BRL-CAD:n_reed * 63049 (brlcad/trunk/src/libged/brep.c brlcad/trunk/src/librt/comb/comb_brep.cpp and 3 others): Fix memory errors in brep conversion. Use a consistent convention of having the caller pass a newly allocated ON_Brep, and having the callee either fill it out or set it to NULL on error. Previously the ON_Brep argument was sometimes replaced with a new allocation, with the original sometimes deleted by
15:36.41 Notify the callee (recursive calls to single_conversion) and sometimes not (rt_sph_brep, rt_tor_brep).
15:53.33 *** join/#brlcad sofat (~sofat@101.214.43.140)
15:55.38 sofat there is link
15:55.39 sofat http://pastie.org/9597266
15:55.50 sofat for code please check
16:01.14 sofat brlcad, there is my code please check
16:02.52 brlcad sofat: you don't have to keep asking .... irc is about efficient communication, I'm reading the code and intending to respond
16:02.59 brlcad you repeatedly asking is not efficient (for you or me)
16:03.20 sofat sorry
16:03.24 brlcad it takes more than a couple minutes to read code :P
16:03.33 sofat :-(
16:03.41 sofat ok no problem
16:03.47 brlcad it's fine, just be patient :)
16:06.19 brlcad okay, so this looks pretty good overall
16:06.37 sofat ok thanks
16:06.55 sofat now allow me to upload this project on your server
16:07.01 sofat please
16:07.04 sofat :-)
16:07.06 brlcad not so fast speedy :)
16:07.16 sofat :-(
16:07.20 brlcad there are a few issues with the code
16:07.27 sofat ok tell me
16:07.28 brlcad it does the feature needed, which is great
16:07.36 brlcad but we also have coding standards that must be met
16:08.49 brlcad others are expected to read and use your code, so it needs to be neat
16:08.59 sofat ok
16:09.14 sofat please tell me about coding standards
16:09.16 brlcad this means cleaning up your use of whitespace (spaces and tabs in the file, indentation)
16:09.23 sofat regarding your needs
16:09.25 brlcad as well as basic documentation
16:10.22 sofat ok
16:10.47 brlcad gah, I can't get to our online sources to show you an example
16:11.43 *** join/#brlcad albertcoder (~albertcod@117.228.188.163)
16:11.51 brlcad look in your checkout tree at the db/db.php file
16:12.59 brlcad notice the header and footer, and consistent 2-char indentation
16:13.06 brlcad spaces around operators
16:14.04 brlcad e.g., ") {" not "){" and "a, b, c" not "a,b,c" and "a = b" not "a=b", etc
16:14.39 brlcad the other issue I notice is that you don't apply a stylesheet....
16:14.52 brlcad you're manually reading the xml tree looking for paragraphs
16:15.29 sofat yes
16:16.46 brlcad that will be incredibly fragile over time, requiring a source change every time we want to modify the appearance
16:16.55 brlcad this should be handled by a stylesheet
16:18.44 brlcad can't tell with the indentation, but it looks like you load the default file twice?
16:19.04 sofat yes
16:19.31 sofat if i am not wrong do we need to style using a single css file
16:19.38 sofat ?
16:20.12 *** join/#brlcad kamal__ (~kamal@14.98.86.46)
16:20.40 brlcad yeah, a single css file that describes how to translate the xml entities into html entities
16:20.43 brlcad here's an example: http://php.net/manual/en/class.simplexmlelement.php#94718
16:22.20 sofat i see
16:22.51 brlcad looks like this stylesheet might work: http://www.badgers-in-foil.co.uk/projects/docbook-css/
16:25.07 brlcad ahh, $xml->addProcessingInstruction('xml-stylesheet', 'type="text/xsl" href="xsl/xsl.xsl"');
16:25.49 sofat ok i will add this style sheet
16:25.52 brlcad these, not the badgers link: http://www.linuxfromscratch.org/blfs/view/cvs/pst/docbook-xsl.html
16:26.22 brlcad it might be a little hard to get them working right
16:26.47 brlcad because docbook is complicated .. but that is why manually embedding logic will be fragile too
16:27.22 brlcad in essence, you're rending docbook xml into wordpress
16:27.30 brlcad and making it language-aware
16:27.50 brlcad sofat: if you can't get it working within a day or two, let me know
16:28.09 brlcad it is complicated
16:28.16 sofat ok i will try my best
16:28.24 brlcad we can use what you have for starters after you clean it up
16:28.31 brlcad did you find db/db.php?
16:29.13 brlcad should be /home/hitesh/public_html/trunk/db/db.php
16:29.26 sofat yes
16:29.32 sofat i got it
16:32.22 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
16:33.12 sofat brlcad, please tell me short term task which i can complete upto tomorrow
16:33.32 sofat i am a bit confused still
16:39.56 Notify 03BRL-CAD:n_reed * 63050 brlcad/trunk/src/librt/comb/comb_brep.cpp: Setting our conversion return code from Transform inverted the semantics. Any time we tried to set a non-identy matrix on a brep, it caused the conversion to return a failure status.
16:43.07 brlcad sofat: clean up the formatting of your code
16:44.08 brlcad then add a header and a footer -- run this: sh/template.sh bsd yourfile.php
16:44.18 brlcad then run: sh/ws.sh yourfile.php
16:44.37 brlcad lets see what that all looks like
16:44.41 brlcad make sense?
16:46.11 *** join/#brlcad s3gfault (~s3gfault@188.72.124.53.leadertelecom.ru)
16:46.33 sofat ok I will do this
16:50.41 brlcad cool
16:54.18 sofat brlcad, i tried to run the above command but this show this error "Assuming U.S. Government copyright assignment
16:54.19 sofat ERROR: /home/hitesh/public_html/wordpress/wp-content/plugins/xml/xml.php has an unknown filetype
16:54.19 sofat ERROR: the header failed to apply, aborting
16:54.19 sofat "
16:54.40 sofat MAy be this is because header and footer is part of theme not my plugin.
17:01.05 *** join/#brlcad albertcoder (~albertcod@117.238.218.215)
17:33.40 Notify 03BRL-CAD:n_reed * 63051 (svn:mergeinfo ## -1,6 +1,3 ## and 8 others): mark trunk revisions merging from brep-debug as mergedProperty Changed:----------------brlcad/branches/brep-debug/brlcad/branches/brep-debug/src/libged/polyclip.cpp
17:54.08 *** join/#brlcad albertcoder (~albertcod@117.255.168.171)
18:14.00 *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch)
18:31.30 Notify 03BRL-CAD:brlcad * 63052 brlcad/trunk/src/librt/primitives/brep/brep.cpp: use db_str2op() instead of manually encoding the op as a single-char string.
18:49.34 *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch)
18:50.18 Notify 03BRL-CAD:brlcad * 63053 (brlcad/branches/rel8/include/brep.h brlcad/branches/rel8/include/dm/bview.h and 32 others): remove XOR as a boolean operation. this is predominantly to simplify the API and userland. on review, looks like xor operations were never published, but they were exposed via adjust and get/put commands. ideally, we want boolean operations to be encapsulated in a library instead of spread around as
18:50.20 Notify switch statements of varying behavior throughout our code.
18:54.51 clock hi all
18:55.02 clock what are unusual uses of BRL-CAD?
18:55.11 clock Can it be used for example for rendering of 3D diagrams?
18:55.34 Notify 03BRL-CAD:n_reed * 63054 (svn:mergeinfo ## -1,3 +1,6 ## and 8 others): revert r63051, which incorrectly recorded a reverse-merge
18:55.42 clock If I want to visualise a real function over 10x10 matrix, could I make a script to make 10x10 columns of varying heights and let it render?
19:04.27 Notify 03BRL-CAD:n_reed * 63055 (svn:mergeinfo ## -3,4 +3,4 ## and 6 others): mark trunk revisions that merged from brep-debug as merged (second attempt at r63051)
19:08.01 Notify 03BRL-CAD:n_reed * 63056 (brlcad/branches/brep-debug/doc/docbook/system/man1/en/rt.xml brlcad/branches/brep-debug/misc/svn2git/archive_branches.sh and 12 others): sync from trunk through r63055
20:41.11 Notify 03BRL-CAD:brlcad * 63057 brlcad/trunk/sh/footer.sh: add some basic support for php and html files, generating an html <!-- --> comment block for the footer.
20:43.05 Notify 03BRL-CAD:brlcad * 63058 brlcad/trunk/sh/header.sh: add support for php files, using /* */ for the header blocks. checks if there's a <?php at the beginning and skips that line.
20:53.13 *** join/#brlcad ``Erik (~erik@pool-74-103-94-19.bltmmd.fios.verizon.net)
21:09.21 starseeker interesting https://code.google.com/p/mgcl/
21:18.52 *** join/#brlcad kanzure (~kanzure@131.252.130.248)
21:32.14 *** join/#brlcad kanzure (~kanzure@131.252.130.248)
21:57.55 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)

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