naywhayare changed the topic of #mlpack to: http://www.mlpack.org/ -- We don't respond instantly... but we will respond. Give it a few minutes. Or hours. -- Channel logs: http://www.mlpack.org/irc/
< jenkins-mlpack> Yippie, build fixed!
< jenkins-mlpack> Project mlpack - nightly matrix build build #544: FIXED in 6 hr 43 min: http://big.cc.gt.atl.ga.us:8080/job/mlpack%20-%20nightly%20matrix%20build/544/
< jenkins-mlpack> Ryan Curtin: Yet another reverse-compatibility fix for Armadillo.
Anand has joined #mlpack
< Anand> Marcus : I added all the basic code required as suggested by you. Please have a look.
< Anand> Btw, I will need to write some javascript code to use d3. Can we do that in the current reports code? You are generating some html there, right?
Anand has quit [Ping timeout: 246 seconds]
Anand has joined #mlpack
< Anand> Marcus : How do you use the template file in reports code?
< Anand> Also, is there any other way to access the metric string from db other than in the make_reports.py code? I ask this because we might want to keep the js code separate
< marcus_zoq> Anand: We just fill the results into the gaps (templatr.py) that are marked with '%('.
< marcus_zoq> Anand: I don't know exactly what you mean, you can everywhere access the databases.
< Anand> Marcus : So basically you create a dict of the values to be inserted and then the '%' operator takes care of inserting the values in proper places, right?
< marcus_zoq> Anand: Right, Btw. the code I sent you does not have any dependencies.
< Anand> Yeah, I added the dependencies. I just used simplejson
< Anand> No other module
< marcus_zoq> Anand: Yeah, Right, I was talking about the integration into the make_reports.py file. You can use the code I sent you everywhere because there a no dependencies.
< Anand> Ok. Right! I am integrating with the reports code, though.
< marcus_zoq> Anand: Okay, good.
sumedhghaisas has joined #mlpack
< jenkins-mlpack> Project mlpack - nightly matrix build build #545: ABORTED in 6 hr 39 min: http://big.cc.gt.atl.ga.us:8080/job/mlpack%20-%20nightly%20matrix%20build/545/
Anand has quit [Ping timeout: 246 seconds]
< sumedhghaisas> naywhayare: hey ryan, you free??
< naywhayare> sumedhghaisas: yes, I am here
< sumedhghaisas> naywhayare: can I somehow do this?? template <size_t t> test(t)...
< sumedhghaisas> like template substitution...
andrewmw94 has joined #mlpack
< naywhayare> I'm not sure I understand what you mean
< sumedhghaisas> okay when I write this... template<typename T> test(T a)
< sumedhghaisas> and call test(2)
< sumedhghaisas> T is substituted as int right...
< sumedhghaisas> now I want to define test like this
< sumedhghaisas> template <size_t t> test(//something...)
< sumedhghaisas> {
< sumedhghaisas> std::cout << t << std::endl;
< sumedhghaisas> }
< sumedhghaisas> and when I call test(2)
< sumedhghaisas> t should be substituted as 2...
< sumedhghaisas> did you get it??
< sumedhghaisas> I am unable to explain it better :(
< naywhayare> you'll have to call test<2>()
< sumedhghaisas> I am doing that right now...
< sumedhghaisas> any way to implement it like test(2)??
< naywhayare> I don't think that's possible
< naywhayare> not in C++03 at least
< naywhayare> with C++11 you might be able to do something with constexpr to make it work
< naywhayare> but I'm not sure exactly how you would do it
< sumedhghaisas> constexpr??
< naywhayare> it's a C++11 feature... it allows you to tell the compiler when a statement can be evaluated entirely at runtime
< naywhayare> I'm not too familiar with it though
< sumedhghaisas> there is contexpr meta-programming too... wow...
< sumedhghaisas> naywhayare: constexpr meta-programming is not that effective...
< sumedhghaisas> I wrote a sqrt program in 3 different ays
< sumedhghaisas> *ways
< sumedhghaisas> normal, constexpr meta-program and template meta-program...
< sumedhghaisas> and computed their runtime...
< sumedhghaisas> for number 1000000007
< sumedhghaisas> normal - 352 microseconds
< sumedhghaisas> constexpr - 332 microseconds
< sumedhghaisas> template - 0 microseconds
< sumedhghaisas> anyways complete incremental regularizations test is creating some problems... again regularization is not working...
< sumedhghaisas> did you had a look at complete incremental learning??
< sumedhghaisas> naywhayare: and can you please send me the changes done to CF module by siddharth?? I am unable update svn...
< sumedhghaisas> git is working fine ... but not svn
< naywhayare> sumedhghaisas: are you there? we should debug your subversion problems
< naywhayare> Siddharth hasn't made any changes to the CF module
jbc__ has joined #mlpack
< jbc__> I’m compiling with boost 1.55, and getting an error /usr/local/include/boost/smart_ptr/detail/shared_count.hpp:453:26: error: no member named 'get_untyped_deleter' in 'boost::detail::sp_counted_base'
< jbc__> any ideas?
< naywhayare> jbc__: can you give a backtrace to the mlpack code that causes the error?
< jbc__> from CMAKE: [ 1%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/dists/discrete_distribution.cpp.o
< jbc__> the configuration looked good
< jbc__> full bt
< naywhayare> okay; can you give the full error that gcc gave? it should be many lines long...
< jbc__> for the full backtrace
< naywhayare> okay, thanks
< jbc__> thank you
< naywhayare> mlpack code doesn't use any boost smart_ptr code, so I think I'll have to dig a little bit here
< naywhayare> some mlpack code uses some of the boost.math functions, and it looks like the problem is caused when that is included
< naywhayare> do you have only boost 1.55 installed on your system in /usr/local/? i.e. no other, older versions or anything like that
< jbc__> I could grab an older version
< naywhayare> no, I don't think that you need an older version
< jbc__> I had 1.52 a while back but
< jbc__> I think I cleaned everything out
< naywhayare> was it in /usr/local/?
< jbc__> all of my boost was in /usr/local/
< naywhayare> okay
< jbc__> the old , which should have been completely replaced with 1.55
< naywhayare> my first bet would be that, for whatever reason, the old did not get completely replaced
< naywhayare> this idea is supported by someone else who had a similar problem: http://stackoverflow.com/questions/22489480/boost-get-untyped-deleter-error
< jbc__> yup
< jbc__> I think you’re right
< naywhayare> so I think the first, and easiest, thing to do would be to nuke the boost install in /usr/local/, then reinstall 1.55
< jbc__> ls -lt… some of the headers inside weren’t updated
< jbc__> much older
< naywhayare> ah, yeah, then that is probably it then :)
< jbc__> thanks!
< jbc__> :)
< naywhayare> I'm glad that's the case... digging into boost internal code is never fun... :)
< naywhayare> well, depending on your definition of fun I guess...
< jbc__> Yeah I hear ya! That’s why I jumped on IRC ;)
< naywhayare> :)
Anand has joined #mlpack
andrewmw941 has joined #mlpack
andrewmw94 has quit [Ping timeout: 255 seconds]
andrewmw94 has joined #mlpack
andrewmw941 has quit [Ping timeout: 245 seconds]
< jbc__> naywhayare: yup, built just fine ;) - thanks!
< naywhayare> great to hear you got that worked out
< naywhayare> if you have further issues, feel free to post them here :)
< sumedhghaisas> naywhayare: I am unable to connect... i will connect from here... can you somehow check if I am getting connected or not?
< naywhayare> can you ping svn.cc.gatech.edu?
< sumedhghaisas> okay I will check
< sumedhghaisas> no... I am not able to ping...
< sumedhghaisas> I am getting its IP as 67.215.65.130
< naywhayare> that's not right, it should be 130.207.127.24
< naywhayare> what happens if you go to http://trac.research.cc.gatech.edu/fastlab/?
< sumedhghaisas> yes... its opening...
< sumedhghaisas> okay let me ping that ip...
< sumedhghaisas> nope...
< sumedhghaisas> on what port does svn work??
< naywhayare> well, the fact that your system is resolving svn.cc.gatech.edu to 67.x.x.x indicates that something is wrong with your DNS server
< naywhayare> on that system it's configured to work over http
< naywhayare> I wonder if it would work if you simply did 'svn co http://130.207.127.24/fastlab/mlpack/trunk' or something
< sumedhghaisas> unable to connect to the repository...
< sumedhghaisas> can I download the trunk from the site??
< naywhayare> no, it's only available through svn
< sumedhghaisas> :(
< naywhayare> can you do a 'traceroute 130.207.127.24' and see what it gives?
< sumedhghaisas> sumedh@sumedh-Aspire-5742:~/mlpack_trunks/trunk$ traceroute 130.207.127.24traceroute to 130.207.127.24 (130.207.127.24), 30 hops max, 60 byte packets
< sumedhghaisas> 1 10.4.1.1 (10.4.1.1) 0.384 ms 0.459 ms 0.470 ms
< sumedhghaisas> 2 10.1.0.10 (10.1.0.10) 0.268 ms 0.277 ms 0.272 ms
< sumedhghaisas> 3 103.29.249.233 (103.29.249.233) 1.541 ms 4.675 ms 1.731 ms
< sumedhghaisas> 4 192.168.100.1 (192.168.100.1) 3.065 ms 3.362 ms 5.360 ms
< sumedhghaisas> 5 103.29.249.241 (103.29.249.241) 4.405 ms 3.981 ms 4.806 ms
< sumedhghaisas> 6 aes-static-025.51.246.61.airtel.in (61.246.51.25) 6.750 ms 6.790 ms 8.348 ms
< sumedhghaisas> 7 59.145.0.77 (59.145.0.77) 17.715 ms 17.890 ms 17.246 ms
< sumedhghaisas> 8 125.62.187.193 (125.62.187.193) 165.090 ms aes-static-029.37.144.59.airtel.in (59.144.37.29) 171.224 ms 171.385 ms
< sumedhghaisas> 9 40ge1-3.core1.lon2.he.net (195.66.224.21) 164.395 ms 164.186 ms 164.566 ms
< sumedhghaisas> 10 100ge5-1.core1.par2.he.net (184.105.223.254) 152.106 ms 150.622 ms 151.311 ms
< sumedhghaisas> 11 10ge15-1.core1.ash1.he.net (184.105.213.93) 238.726 ms * *
< sumedhghaisas> 12 10ge1-2.core1.atl1.he.net (184.105.213.110) 243.194 ms 248.308 ms 238.796 ms
< sumedhghaisas> 13 216.218.254.58 (216.218.254.58) 236.938 ms 242.171 ms 237.718 ms
< sumedhghaisas> 14 richgw2-hurricane.sox.net (143.215.194.206) 250.042 ms 250.809 ms 254.560 ms
< sumedhghaisas> 15 campus2-rtr.gatech.edu (130.207.254.187) 253.823 ms 254.027 ms 254.430 ms
< sumedhghaisas> 16 ni-rtr.gatech.edu (130.207.254.46) 269.274 ms 252.228 ms 269.017 ms
< sumedhghaisas> 17 kacb-rtr.gatech.edu (130.207.251.8) 253.152 ms 255.433 ms 253.340 ms
< sumedhghaisas> 18 * * *
< sumedhghaisas> 19 * * *
< sumedhghaisas> 20 * * *
< sumedhghaisas> 21 * * *
< sumedhghaisas> 22 * * *
< sumedhghaisas> 23 * * *
< sumedhghaisas> 24 * * *
< sumedhghaisas> 25 * * *
< sumedhghaisas> 26 * * *
< sumedhghaisas> 27 * * *
< sumedhghaisas> 28 * * *
< sumedhghaisas> 29 * * *
< sumedhghaisas> 30 * * *
< sumedhghaisas> seems to be working right??
< naywhayare> ok, it at least makes it to a nearby router
< naywhayare> (nearby to me, that is)
< sumedhghaisas> svn up is not working but... what could be the problem??
< naywhayare> what happens if you 'wget 130.207.127.24'?
< sumedhghaisas> I am getting a page saying "access denied"... Its our proxy server denial page... we see it regularly...
< sumedhghaisas> the reason is displayed as "IPAddress"
< naywhayare> who runs the proxy? can you have them unblock IPs associated with gatech.edu?
< sumedhghaisas> Yeah.... I will go to the server room tomorrow after registration... does svn connect with ip address??
< naywhayare> what do you mean?
< naywhayare> when you call 'svn up' or something, it will connect to the svn server and update
< naywhayare> in our case the protocol used is HTTP, and the IP is 130.207.127.24
< sumedhghaisas> the IP is not blocked...
< sumedhghaisas> cause I can open your web site...
< sumedhghaisas> the problem is I am allowed to a site only through DNS...
< sumedhghaisas> no direct IP connection...
< naywhayare> and if you resolve svn.cc.gatech.edu, what does it resolve to? the 65.x.x.x IP?
< sumedhghaisas> how do I resolve??
< naywhayare> ping will resolve
< naywhayare> or 'host <hostname>'
< naywhayare> it'll just turn the hostname into an IP
< sumedhghaisas> yes... 67.215.65.130
< sumedhghaisas> by host...
< sumedhghaisas> wait...
< naywhayare> yeah, 67.215.65.130 is hit-adult.opendns.com
< sumedhghaisas> there is 130.207.127.24 above it...
< naywhayare> which means that that particular DNS address is being blocked
< naywhayare> which is very odd because svn.cc.gatech.edu doesn't host anything objectionable :)
< sumedhghaisas> sumedh@sumedh-Aspire-5742:~/mlpack_trunks/trunk$ host svn.cc.gatech.edu
< sumedhghaisas> svn.cc.gatech.edu is an alias for coffeetalk-1.cc.gatech.edu.
< sumedhghaisas> coffeetalk-1.cc.gatech.edu has address 130.207.127.24
< sumedhghaisas> coffeetalk-1.cc.gatech.edu has IPv6 address ::ffff:67.215.65.130
< sumedhghaisas> this is the output
< naywhayare> weird, it has the correct IPv4 address but not the correct IPv6 address
< naywhayare> if you talk to your network administrators tomorrow, maybe they can get it fixed
< naywhayare> anyway, I put svn trunk as of now at http://www.ratml.org/misc/mlpack-trunk.tar.gz
< sumedhghaisas> yeah... I will do that tomorrow...
< sumedhghaisas> campus placements are coming up... :(
< naywhayare> how does a campus placement work? we don't have them here
< naywhayare> what we have here are career fairs, where companies set up booths and students talk to them and give the companies resumes/CVs, and maybe get an interview if they are lucky
< sumedhghaisas> seriously?? companies come to our campus for ... take group discussions ... interviews... coding rounds and etc...
< naywhayare> I think maybe there are coding challenges sometimes, but usually it's just "wait in a line to talk to a recruiter"
< naywhayare> no guarantee of a job or anything, though, the best one might do is to get an interview with a company
< sumedhghaisas> thats bad...
< sumedhghaisas> there is no guarantee here also... but at least you get the chance to sit for a coding round and show your skills...
< sumedhghaisas> but sometimes there is aptitude round before that... in that non cs guys sit and makes our lives miserable...
< naywhayare> so kind of like a programming competition? they give you little problems to solve and you submit a solution?
< sumedhghaisas> umm... that happens in the second round... there is a online judge...
< naywhayare> ah, okay
< sumedhghaisas> in first round... they give sort of "what is the output" problems...
< sumedhghaisas> puzzles...
< sumedhghaisas> brainteasers...
< sumedhghaisas> and all sorts of cs related questions... os... networking...
< sumedhghaisas> pen and paper..
< sumedhghaisas> if you get selected ... then second round of online coding...
< sumedhghaisas> then 3 interview rounds...
< sumedhghaisas> then a hr interview round...
< sumedhghaisas> long process..
andrewmw94 has left #mlpack []
< naywhayare> sounds stressful :(
< sumedhghaisas> yeah... right now making my resume... very confusing...
< sumedhghaisas> btw I wanted to tell you this long time back... I loved your site... ratml.org.. cool projects...
< naywhayare> thanks :)
< naywhayare> I haven't had time to finish most of my projects...
< sumedhghaisas> especially lounge :)
< sumedhghaisas> very nice ideas...
< sumedhghaisas> some thing I could not understand...
< naywhayare> I can explain whatever you didn't understand, if you are interested
< sumedhghaisas> non cs stuff... so you have both electronics and computer background?? amazing...
< naywhayare> ah, yeah. I was an electrical engineering undergraduate
< naywhayare> my focus was signal processing... so... speech recognition and related fields
< naywhayare> but... as I got deeper into signal processing I found out that what actually interested me was machine learning
< sumedhghaisas> was it difficult shifting it to computers??
< naywhayare> not really. I'd been playing with computers since I was 11 or 12
< naywhayare> and I'd been doing development as a hobby for some years
< sumedhghaisas> cause you know all the things they teach in computer science...
< naywhayare> so really... I think maybe I chose wrong when I decided to do EE. should have been CS, I think :)
< sumedhghaisas> great...
< sumedhghaisas> I think I made a correct decision... I know nothing else...
< sumedhghaisas> when did you learn C++?? that the most hated language in my campus...
< sumedhghaisas> although its my favorite...
< naywhayare> I learned C++ in high school for a project I was doing... that would have been 2004 I guess
< naywhayare> but I didn't get very good at it until I started working on mlpack in 2009
< sumedhghaisas> yes... I agree.. I started learning C++ when I made my first commit in september 2013 I guess...
< naywhayare> :)
< sumedhghaisas> I used to use JAVA before that...
< naywhayare> I would still not say I am an expert
< naywhayare> there are so many features I don't know about
< sumedhghaisas> that the best thing about C++... everyday I learn something that I don' know... and C11.. they have introduced so many things in C++
< sumedhghaisas> have you heard of MPL library of boost??
< sumedhghaisas> its one of the coolest libraries I have ever seen...
< sumedhghaisas> they have created vectors with variadic templates...
< naywhayare> yeah, I think that one of the guys who worked on mlpack used it some time back
< naywhayare> in src/mlpack/core/util/sfinae_utility.hpp, I think
< naywhayare> or some file like that. he used it to detect if a class has a ToString() method
< sumedhghaisas> ahh yes... I have read that file... we discussed it when we were discussing about converting it to std::string()
Anand has quit [Ping timeout: 246 seconds]
jbc__ has quit [Quit: jbc__]
jbc__ has joined #mlpack
jbc__ has quit [Client Quit]