IRC log for #brlcad on 20140519

01:14.17 *** join/#brlcad hcurtis (b82d18c2@gateway/web/freenode/ip.184.45.24.194)
01:14.38 *** join/#brlcad hsrai (~hsrai@202.164.53.116)
01:19.57 hcurtis brlcad: Hi, Sean. I'm checking in. What would be ideal is a Linux build environment, so today I went to a few computer stores to see what was available. I thought that someone would sell at least one Linux laptop, but that was not the case.
01:28.06 Notify 03BRL-CAD:tbrowder2 * 60711 brlcad/branches/d-binding/misc/d-bindings/D.pm: begin a function to extract a C statement from a header
01:31.14 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
01:41.28 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
02:06.44 *** join/#brlcad FreezingCold (~FreezingC@135.0.41.14)
02:17.04 hsrai hcurits: https://system76.com/ is Linux only store. Dell / Lenovo have certain model with Linux installed, or DOS only. BTW, why you wish to buy Linux pre-installed machine? Whatever you have try to install Linux yourslef. If you are going to buy a new one, go to a co-operative vender, who allow you to test computer (for Linux working) before you buy.
02:31.14 hcurtis hsrai: Hi. Thank you for the information. I did not think it would be hard to find a Linux laptop with a high-quality processor (ideally, quad-core). The laptop I have now has Windows 7 and an Intel Celeron processor. I guess I could try installing Linux on it, but I don't know how it would affect the programs I already have installed. I have never installed an operating system before.
02:38.08 mihaineacsu hcurtis: over the years, the process of installing a widely used linux distribution (such as ubuntu, mint, ...) has gotten easier and easier. It should be pretty straight forward. Here are the usual steps for installing for eg ubuntu https://help.ubuntu.com/community/GraphicalInstall
02:43.07 mihaineacsu hcurtis: the only thing you should check out is how ubuntu affects your boot configuration along with windows 7, so you can dual-boot on both. I haven't been running windows for some time now (just a VM for my operating systems class where we had to do homework on both linux and windows machines) so I can't tell you for sure how it will work out after your ubuntu installation. But I think there's plenty of posts out there on how to make windows 7
02:43.07 mihaineacsu <PROTECTED>
02:50.55 hcurtis mihaineacsu: Sounds good. Thank you.
03:00.51 hcurtis brlcad: I have to go, but I'll be back soon.
03:34.00 hcurtis brlcad: I'm back.
03:38.13 starseeker heh - this post describes exactly the problem our third-party dependency management setup is intended to address: http://developers.slashdot.org/comments.pl?sid=5172043&cid=47031901
03:42.59 starseeker http://www.opensourceforu.com/2010/10/joy-of-programming-types-of-bugs/
04:35.06 ignacio|sleep Good night | Buenas noches :)
05:10.33 hcurtis ignacio|sleep: Good night
05:15.27 *** join/#brlcad FreezingCold (~FreezingC@135.0.41.14)
05:21.48 hcurtis brlcad: Update: I am continuing to re-read HACKING_BRL-CAD.pdf. Also, I downloaded BRL-CAD itself and attempted to use it.
05:27.40 *** join/#brlcad FreezingCold (~FreezingC@135.0.41.14)
06:06.10 *** join/#brlcad oana_ (~elf11@141.85.0.105)
06:24.34 hcurtis brlcad: Update: I have finished re-reading HACKING_BRL-CAD.pdf. I am going to get something to eat.
06:25.33 *** join/#brlcad teepee_ (~teepee@gateway/tor-sasl/teepee)
06:41.22 *** join/#brlcad mihaineacsu (~mihaineac@92.81.157.81)
06:47.35 *** join/#brlcad d_rossberg (~rossberg@66-118-151-70.static.sagonet.net)
06:55.46 hcurtis brlcad: I'm back.
07:25.02 fenn hcurtis: you can use the /away flag to indicate presence or absence, and /whois to see if someone is there
07:25.59 hcurtis fenn: Ok. Thank you.
07:28.02 fenn a little trick is to do /whois <server> <nick> for example /whois leguin.freenode.net brlcad shows: idle : 1 days 5 hours 13 mins 5 secs
07:33.15 hcurtis Cool. Actually, I know that Sean's not here. My reporting is an exercise he has asked me to do to get me used to GSoC dev log creation and to keep him informed. He will check the IRC logs later.
07:36.05 *** join/#brlcad hoiji (73f02d7e@gateway/web/cgi-irc/kiwiirc.com/ip.115.240.45.126)
08:36.58 hcurtis brlcad: Update: I have been re-reading http://svn.code.sf.net/p/brlcad/code/brlcad/trunk/HACKING.
08:40.47 hcurtis brlcad: You might be wondering why I'm re-reading these documents. The first time I read them was back when I was writing my proposal and when class was in session. I had to read the documents hurriedly, and I skimmed or skipped sections that were less relevant at the time. Now that I am working on my GSoC project, I'm reading the docs more carefully so that I can use them to help orient myself.
08:41.31 hcurtis brlcad: Since I know a lot more about BRL-CAD now than I did in April, the documents make more sense.
08:43.03 hcurtis brlcad: Will you give me the web address of the dev log of a past GSoCer who did them the way you like? If I can see those, I'll be better able to do them the way you want.
08:45.08 hcurtis brlcad: I'm going to bed.
09:51.28 *** join/#brlcad Zhao_Anqing (clouddrift@222.205.114.43)
10:11.55 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
10:23.31 *** join/#brlcad Zhao_Anqing (clouddrift@210.32.165.66)
10:50.43 *** join/#brlcad raj12lnm (31cd6b50@gateway/web/freenode/ip.49.205.107.80)
10:51.00 raj12lnm hi all.
10:56.22 d_rossberg Zhao_Anqing: having a branch for the nmg reorganization would be nice
10:56.52 d_rossberg e.g. brlcad/branches/nmgreorg
10:59.25 d_rossberg what do you think?
10:59.39 Notify 03BRL-CAD Wiki:49.205.107.80 * 7077 /wiki/User:Krajkreddy/GSOC14/summary: Add Details regarding this week.
11:14.23 Notify 03BRL-CAD:tbrowder2 * 60712 (brlcad/branches/d-binding/misc/d-bindings/D.pm brlcad/branches/d-binding/misc/d-bindings/convert-h2d.pl): adding 3rd conversion method using GCC::TranslationUnit; improve arg input choice of conversion method
11:17.01 Notify 03BRL-CAD:tbrowder2 * 60713 brlcad/branches/d-binding/misc/d-bindings/convert-h2d.pl: add new reference to help
11:24.16 Zhao_Anqing d_rossberg: that's fine.
11:38.29 *** join/#brlcad hoiji (73f116cb@gateway/web/cgi-irc/kiwiirc.com/ip.115.241.22.203)
12:07.51 brlcad waves to all, happy gsoc coding day!
12:10.11 teepee- waves back o/
12:12.33 Notify 03BRL-CAD:tbrowder2 * 60714 brlcad/branches/d-binding/misc/d-bindings/D.pm: add function and new Perl module to parse the tu file (conversion method 3)
12:15.17 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
12:26.29 *** join/#brlcad ries (~ries@190.9.171.121)
12:39.52 Notify 03BRL-CAD:tbrowder2 * 60715 brlcad/branches/d-binding/misc/d-bindings/D.pm: getting some info from gcc parser...
13:09.54 *** join/#brlcad ries (~ries@190.9.171.121)
13:33.53 *** join/#brlcad ries (~ries@190.9.171.121)
13:43.38 *** join/#brlcad Nyah (~Ch3ck@41.205.6.215)
13:55.13 *** join/#brlcad raj12lnm (31cd6b50@gateway/web/freenode/ip.49.205.107.80)
13:56.53 raj12lnm do somebody know about extra 1 in line:283 at src/conv/comgeom/solid.c
13:57.10 raj12lnm curve[i] = (fastf_t *)bu_malloc((pts_per_curve+1)*3*sizeof(fastf_t), "curve[i]");
13:57.32 raj12lnm so extra 1 in --> pts_per_curve+1
13:57.45 raj12lnm I am writing a wrapper for ars thus asking.
14:01.12 Notify 03BRL-CAD:starseeker * 60716 brlcad/trunk/src/gtools/gdiff2.cpp: Initialize result3 values, handle more cases. Need to write a summary printer for this structure and test the add cases before tackling the changed case.
14:03.12 brlcad raj12lnm: without looking, it might be to null-terminate the array, it might be useless padding, it could be that pts_per_curve is 0-n and you don't ever want to malloc 0
14:03.25 brlcad emphasis on without looking, you should look ;)
14:10.10 ries hey guys, good luck with GSoC this year!
14:10.26 *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
14:12.49 raj12lnm brlcad : thanks for the reply.
14:12.57 raj12lnm I just saw it is not used any where.
14:13.20 raj12lnm I believe with/without it will have the same behaviour
14:14.15 d_rossberg brlcad: i'm just on the "cmake on windows" issue
14:15.07 d_rossberg the reason for the different behavior on windows and linux is the CMAKE_CONFIGURATION_TYPES variable
14:15.18 d_rossberg it exists on windows only
14:16.23 d_rossberg removing the windows stuff and using the other (i.e. linux) section for all seems to work for all
14:17.18 d_rossberg (line 2251 in the root CmakeLists.txt)
14:26.04 ankesh11 ries: Thanks! :)
14:26.22 ankesh11 hsrai: You can see the server running here: http://192.168.0.100:4000/upload/new/
14:26.26 ankesh11 I hope this works
14:32.48 teepee- ankesh11: that's from the reserved local IP address range.
14:39.22 ankesh11 teepee-: I see, my ISP provides dynamic IPs, that's why this wouldn't work I guess.
14:39.47 *** join/#brlcad cwstirk (~charlie@c-71-56-216-45.hsd1.co.comcast.net)
14:39.54 teepee- ankesh11: no, that IP address is not routed in public. it will be only visible in your local network
14:40.42 teepee- ankesh11: the public one would be completly different. (not starting with 192.168 / http://en.wikipedia.org/wiki/Private_network)
14:41.21 ankesh11 teepee-: Thanks, it makes sense now. :)
14:41.24 teepee- ankesh11: depending on your setup you might need to setup a port forwarding in your router that connects to your ISP
14:41.35 ankesh11 Will try to deploy this somewhere else then.
14:46.29 ankesh11 teepee-: Ok, I am looking into port forwarding docs.
14:47.53 teepee- ankesh11: make sure you don't just leave it running. as this needs to be done carefully. it essentially puts a hole in the firewall so internet access is possible to that computer/port
14:48.39 *** join/#brlcad hoiji (73f116cb@gateway/web/cgi-irc/kiwiirc.com/ip.115.241.22.203)
14:48.45 ankesh11 Will keep that in mind.
14:49.16 teepee- so don't forward to a pc you do your online banking on :)
14:49.51 Notify 03BRL-CAD:carlmoore * 60717 (brlcad/trunk/include/rt/db_diff.h brlcad/trunk/src/gtools/gdiff2.cpp brlcad/trunk/src/librt/db_diff.c): fix spellings, and remove trailing blanks/tabs
14:59.25 starseeker d_rossberg: what problem are you seeing? The problem of multiple possible configurations at build time is tool specific, and currently only Visual Studio and XCode need that flexibility
14:59.57 starseeker It's been a while since I did extensive testing of those mechanisms, so there may well be some bugs that have crept in
15:03.58 d_rossberg starseeker: cmake is simply broken on windows, you cannot generate project files there, see our discussion: http://infobot.rikers.org/%23brlcad/20140509.html.gz
15:15.58 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
15:27.55 *** join/#brlcad vladbogo (~vlad@86.127.153.104)
15:35.05 Notify 03BRL-CAD:starseeker * 60718 brlcad/trunk/src/gtools/gdiff2.cpp: start working on summarizing diff3 state in logs.
15:49.53 Notify 03BRL-CAD:d_rossberg * 60719 brlcad/trunk/src/librt/tests/CMakeLists.txt: applied "Unit test for nmg_mk" from Zhao Anqing (http://sourceforge.net/p/brlcad/patches/272)
16:05.42 *** join/#brlcad raj12lnm (31cd6b50@gateway/web/freenode/ip.49.205.107.80)
16:07.05 Notify 03BRL-CAD:d_rossberg * 60720 brlcad/trunk/CMakeLists.txt: Fixed configuration error when CMAKE_CONFIGURATION_TYPES is set. This variable is usually set for Windows MSVC builds but not for Linux gcc builds. However, the "Linux"-config works for Windows too. So let's use this one and completely remove the part which doesn't work anyway.
16:15.00 ankesh11 teepee:
16:15.15 ankesh11 http://392e0c1e.ngrok.com
16:15.18 Notify 03BRL-CAD:tbrowder2 * 60721 (brlcad/branches/d-binding/misc/d-bindings/D.pm brlcad/branches/d-binding/misc/d-bindings/convert-h2d.pl): concentrating on method 1 now as most likely without external help
16:15.40 ankesh11 I used ngork to tunnel my localhost.
16:15.58 Notify 03BRL-CAD:d_rossberg * 60722 brlcad/trunk/src/librt/tests/CMakeLists.txt: applied "Unit test for nmg_copy" from Zhao Anqing (http://sourceforge.net/p/brlcad/patches/273)
16:15.58 ankesh11 hsrai: The above link should work.
16:20.53 Notify 03BRL-CAD:starseeker * 60723 brlcad/trunk/src/gtools/gdiff2.cpp: Refactor the reporting logic a bit.
16:21.00 ``Erik heh, the site is open to the public and the secret key is on github...
16:22.08 starseeker d_rossberg: ah, right
16:22.27 ``Erik (settings.py probably should not be in the repo, or should import "secrets" like database details and secret key from other files that are not in the repo. Since the key is "out there", you'll need to generate a new one, as well)
16:27.12 d_rossberg vladbogo: what are you currently working on?
16:35.59 Notify 03BRL-CAD:d_rossberg * 60724 brlcad/trunk/src/librt/primitives/nmg/nmg_copy.c: apparently BU_LIST_APPEND doesn't append but BU_LIST_INSERT does
16:39.38 ankesh11 ``Erik: Will keep that in mind during production, this is running on my development server. Will put those secret details into a file that is gitignored.
16:52.06 Notify 03BRL-CAD:d_rossberg * 60725 NIL: a branch to reorganize the nmg primitive internal structure without hinder others with broken builds
17:08.12 hsrai ankesh11: You may have terminated tunnel. The http://392e0c1e.ngrok.com/ says: Tunnel 392e0c1e.ngrok.com not found
17:09.40 ankesh11 hsrai: Yes, my system had shut down. You can visit https://525d5c0.ngrok.com
17:12.06 mihaineacsu ankesh11: still not working => '...not found'
17:14.36 ankesh11 Sorry guys, ran into some issues. http://23492aa1.ngrok.com should work for now. This is definitely not an ideal solution, I will try to find a proper hosting soon.
17:16.15 mihaineacsu ankesh11: it works. you could try heroku or other apps for tunelling such as http://localtunnel.me/
17:18.15 mihaineacsu ankesh11: django :) ?
17:18.29 ankesh11 mihaineacsu: Heroku doesn't support MySQL, it would be an issue migrating to postgresql. It was not the fault of ngrok, my wifi router was messed up.
17:18.35 ankesh11 mihaineacsu: Yep.
17:24.23 mihaineacsu ankesh11: you can use http://www.cleardb.com for mysql as a remote db. I've done it at hackathons with constraints , worked great. Just a thought :)...
17:26.07 ankesh11 mihaineacsu: Thanks, will check this out.
17:27.56 raj12lnm hi all.
17:28.10 raj12lnm currently fastf_t is defined as double
17:28.16 raj12lnm is likely to be changed ?
17:53.43 *** join/#brlcad pandrei (~pandrei@86.127.146.189)
18:43.02 *** join/#brlcad archivist (~archivist@host81-149-189-98.in-addr.btopenworld.com)
18:58.29 Notify 03BRL-CAD:tbrowder2 * 60726 (brlcad/branches/d-binding/misc/d-bindings/CParse.pm =================================================================== and 135 others): add a module for parsing-specific code
18:59.22 Notify 03BRL-CAD:tbrowder2 * 60727 brlcad/branches/d-binding/misc/d-bindings/D.pm: save work--method 1 is looking hopeful...
19:00.57 *** join/#brlcad FreezingCold (~FreezingC@135.0.41.14)
19:07.37 raj12lnm FreezingCold it is burrningHot in India :)
19:09.45 FreezingCold raj12lnm: hey, I'm sure india has some cold places hidden somewhere for you to visit
19:14.51 raj12lnm FreezingCold: not similar to canada. Also not in this part of the year :)
19:16.50 FreezingCold I love how you already know I live in Canada somehow hahaha
19:24.03 raj12lnm FreezingCold : your IP
19:26.29 FreezingCold Ah, right
19:26.49 FreezingCold well, it's a lovely 21C/70F at the moment
19:26.51 FreezingCold can't complain
19:33.58 starseeker ah nuts, I remember now - the PATH complexity for CMAKE_CONFIGURATION_TYPES builds is because that path can change at *build time* in those builds, and so the header has to be updated by the build system and not by CMake
19:34.33 starseeker bets d_rossberg doesn't switch between Debug and Release builds much
19:42.58 Notify 03BRL-CAD Wiki:Ankeshanand * 7078 /wiki/User:Ankeshanand/GSoC14/logs: /* Add summary of today's work */
19:44.17 Notify 03BRL-CAD Wiki:Ankeshanand * 7079 /wiki/User:Ankeshanand/GSoC14/logs: /* Fix typo */
19:45.55 starseeker brlcad: that's what's going on - the final and accurate PATH setting simply isn't known for mult-config builds at configure time, so it can't be set the way CMakeLists.txt is trying to set it
20:04.16 *** join/#brlcad infobot (~infobot@rikers.org)
20:04.16 *** topic/#brlcad is BRL-CAD || http://brlcad.org || logs: http://ibot.rikers.org/%23brlcad/ || GCI winners: Jacob Burroughs and Peter Amidon! || GSoC 2014 selections are announced! Thank you to all we got to work with. Remember that SOCIS is coming up right around the corner and you don't need a summer of code to get involved with open source.
20:13.17 Notify 03BRL-CAD:starseeker * 60729 brlcad/trunk/CMakeLists.txt: The build-time nature of the PATH variable means it has to come after the timestamp target is defined, at least for the moment.
20:16.40 Notify 03BRL-CAD:starseeker * 60730 brlcad/trunk/CMakeLists.txt: Try harder to make sure our build types are the only two in play
20:17.21 *** join/#brlcad merzo (~merzo@204-135-132-95.pool.ukrtel.net)
20:17.38 *** join/#brlcad teepee (~teepee@gateway/tor-sasl/teepee)
20:27.52 *** join/#brlcad hcurtis (b82d18c2@gateway/web/freenode/ip.184.45.24.194)
20:28.37 hcurtis brlcad: Checking in
20:30.16 Notify 03BRL-CAD:starseeker * 60731 brlcad/trunk/CMakeLists.txt: Put the timestamp bit of the path logic where it needs to be, and leave the rest of the PATH setup with the other include/conf logic.
20:31.09 Notify 03BRL-CAD:starseeker * 60732 brlcad/trunk/CMakeLists.txt: STREQUAL, not MATCHES
20:44.20 starseeker I think that's got it
20:54.50 *** join/#brlcad merzo (~merzo@204-135-132-95.pool.ukrtel.net)
21:05.11 Notify 03BRL-CAD:starseeker * 60733 brlcad/trunk/src/gtools/CMakeLists.txt: Move gdiff2 into subdirectory - will break into multiple files for easier reading.
21:11.19 Notify 03BRL-CAD:starseeker * 60734 (brlcad/trunk/src/gtools/CMakeLists.txt brlcad/trunk/src/gtools/gdiff2/gdiff2.c): Fix up build logic, C building.
21:13.45 Notify 03BRL-CAD:tbrowder2 * 60735 (brlcad/branches/d-binding/misc/d-bindings/CParse.pm brlcad/branches/d-binding/misc/d-bindings/D.pm): plan is coming together
21:18.12 Notify 03BRL-CAD:starseeker * 60736 (brlcad/trunk/src/gtools/gdiff2/CMakeLists.txt brlcad/trunk/src/gtools/gdiff2/gdiff2.c): Break containers out into header file.
21:30.39 Notify 03BRL-CAD:starseeker * 60737 (brlcad/trunk/src/gtools/gdiff2/CMakeLists.txt brlcad/trunk/src/gtools/gdiff2/gdiff2.c brlcad/trunk/src/gtools/gdiff2/gdiff2.h): Break container logic into its own file.
21:40.50 Notify 03BRL-CAD:starseeker * 60738 (brlcad/trunk/src/gtools/gdiff2/CMakeLists.txt brlcad/trunk/src/gtools/gdiff2/gdiff2.c brlcad/trunk/src/gtools/gdiff2/gdiff2.h): break out callback functions for db_compare.
21:44.27 *** join/#brlcad ries_nicked (~ries@190.9.171.121)
21:46.41 Notify 03BRL-CAD:starseeker * 60739 (brlcad/trunk/src/gtools/gdiff2/CMakeLists.txt brlcad/trunk/src/gtools/gdiff2/gdiff2.c brlcad/trunk/src/gtools/gdiff2/gdiff2.h): break out diff3 callbacks.
21:53.48 Notify 03BRL-CAD:starseeker * 60740 (brlcad/trunk/src/gtools/gdiff2/CMakeLists.txt brlcad/trunk/src/gtools/gdiff2/gdiff2.c brlcad/trunk/src/gtools/gdiff2/gdiff2.h): Break out print code for summarizing diffs.
21:57.16 hcurtis brlcad: Update. I've been re-reading http://svn.code.sf.net/p/brlcad/code/brlcad/trunk/HACKING.
22:21.51 Notify 03BRL-CAD:starseeker * 60741 brlcad/trunk/src/gtools/gdiff2/CMakeLists.txt: Add some moss.g based test files - definitely need to handle global info, as gdiff2 currently isn't seeing the title change.
22:45.05 *** join/#brlcad merzo (~merzo@204-135-132-95.pool.ukrtel.net)
22:46.51 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
23:15.06 Notify 03BRL-CAD:tbrowder2 * 60742 (brlcad/branches/d-binding/misc/d-bindings/CParse.pm brlcad/branches/d-binding/misc/d-bindings/D.pm brlcad/branches/d-binding/misc/d-bindings/README.txt): redesigning layout and module mapping for better generality
23:30.37 Notify 03BRL-CAD:starseeker * 60743 (brlcad/trunk/include/rt/db_diff.h brlcad/trunk/src/gtools/gdiff2/diff_callbacks.c and 2 others): Add diff handling for attribute-only objects.
23:33.22 hcurtis brlcad: Update: I've continued to re-read http://svn.code.sf.net/p/brlcad/code/brlcad/trunk/HACKING, at times doing research to refresh my memory about certain terms and concepts.
23:34.51 hcurtis brlcad: coffee break
23:40.26 hcurtis brlcad: I'm back.
23:52.18 Notify 03BRL-CAD:tbrowder2 * 60744 (brlcad/branches/d-binding/misc/d-bindings/D.pm brlcad/branches/d-binding/misc/d-bindings/convert-h2d.pl): check point a good waypoint; new module for path handling abstraction

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