IRC logs of #shogun for Thursday, 2014-03-27

--- Log opened Thu Mar 27 00:00:54 2014
--- Day changed Thu Mar 27 2014
jiaolongwiking: Hi, Wiking, are you around?00:00
-!- rho__ [~quassel@217.55.217.63] has quit [Read error: Connection reset by peer]00:15
-!- andrew___ [~andrew@c-50-184-110-141.hsd1.ca.comcast.net] has joined #shogun00:29
-!- lisitsyn [~lisitsyn@80.252.20.67] has quit [Ping timeout: 240 seconds]00:31
-!- nikolisgal [~nikolis@213.16.163.237.dsl.dyn.forthnet.gr] has quit [Quit: Leaving]01:04
-!- jiaolong [553a552e@gateway/web/freenode/ip.85.58.85.46] has quit [Quit: Page closed]01:17
-!- andrew___ [~andrew@c-50-184-110-141.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds]01:35
-!- andrew___ [~andrew@c-50-184-110-141.hsd1.ca.comcast.net] has joined #shogun01:37
-!- newlido is now known as newlido_brb01:43
-!- newlido_brb is now known as newlido02:10
-!- Netsplit *.net <-> *.split quits: soumyaC, shogun-buildbot, @wiking02:13
-!- shogun-buildbot [~shogun-bu@7nn.de] has joined #shogun02:20
-!- newlido [~quassel@41.218.172.201] has quit [Remote host closed the connection]02:21
-!- zxtx [~zv@c-98-223-196-32.hsd1.in.comcast.net] has joined #shogun02:24
-!- Netsplit over, joins: soumyaC, @wiking02:50
-!- soumyaC [uid15286@gateway/web/irccloud.com/x-uwqkhjxkprdeudvf] has quit [Quit: Connection closed for inactivity]03:55
-!- kislay [~kislay@117.239.94.112] has joined #shogun04:41
-!- vivekrai [uid10305@gateway/web/irccloud.com/x-kzkbnfpefjwzohjm] has joined #shogun05:00
-!- kislay [~kislay@117.239.94.112] has quit [Read error: Connection reset by peer]05:46
-!- kislay [~kislay@117.239.94.112] has joined #shogun05:47
-!- kislay [~kislay@117.239.94.112] has quit [Ping timeout: 268 seconds]06:01
-!- kislay [~kislay@14.139.41.150] has joined #shogun07:11
-!- vivekrai [uid10305@gateway/web/irccloud.com/x-kzkbnfpefjwzohjm] has quit [Quit: Connection closed for inactivity]07:22
-!- lisitsyn [~lisitsyn@80.252.20.67] has joined #shogun07:45
-!- andrew___ [~andrew@c-50-184-110-141.hsd1.ca.comcast.net] has quit [Ping timeout: 268 seconds]07:56
-!- kislay [~kislay@14.139.41.150] has quit [Remote host closed the connection]07:58
-!- DarkRoom [~darkroom@14.139.82.6] has joined #shogun08:26
-!- jiaolong [9e6d09e4@gateway/web/freenode/ip.158.109.9.228] has joined #shogun08:38
-!- DarkRoom [~darkroom@14.139.82.6] has quit [Ping timeout: 252 seconds]08:59
-!- DarkRoom [~darkroom@14.139.82.6] has joined #shogun09:01
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun09:39
shogun-notifier-shogun: Parijat Mazumdar :develop * e20e711 / / (3 files): https://github.com/shogun-toolbox/shogun/commit/e20e711292fc7b584d3de84236fe68cb856c9deb09:39
shogun-notifier-shogun: PCA bug partially solved09:39
shogun-notifier-shogun: Parijat Mazumdar :develop * 0562e62 / src/shogun/preprocessor/PCA.cpp,src/shogun/preprocessor/PCA.h: https://github.com/shogun-toolbox/shogun/commit/0562e620c401452651d000138008410119f6eb2f09:39
shogun-notifier-shogun: zero tolerance added for whitening in PCA09:39
shogun-notifier-shogun: Fernando Iglesias :develop * b266e01 / / (3 files): https://github.com/shogun-toolbox/shogun/commit/b266e011ed7115c9e7f540cebf3da0c576a78de709:39
shogun-notifier-shogun: Merge pull request #2071 from mazumdarparijat/pca09:39
shogun-notifier-shogun:09:39
shogun-notifier-shogun: PCA bug partially solved09:39
-!- GandalfTheGray [~Mordor@client-7-197.eduroam.oxuni.org.uk] has joined #shogun09:58
-!- sonne|osx [~sonne@24-134-74-216-dynip.superkabel.de] has joined #shogun10:19
-!- DarkRoom [~darkroom@14.139.82.6] has quit [Ping timeout: 264 seconds]10:27
-!- sonne|osx [~sonne@24-134-74-216-dynip.superkabel.de] has quit [Quit: sonne|osx]10:44
-!- abinash_panda [0e8b2997@gateway/web/freenode/ip.14.139.41.151] has joined #shogun11:10
-!- DarkRoom [~darkroom@14.139.82.6] has joined #shogun11:19
-!- nikolisgal [~nikolis@213.16.163.237.dsl.dyn.forthnet.gr] has joined #shogun11:21
-!- GandalfTheGray [~Mordor@client-7-197.eduroam.oxuni.org.uk] has quit [Quit: Leaving]11:41
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout]12:39
-!- abinash_panda [0e8b2997@gateway/web/freenode/ip.14.139.41.151] has quit [Ping timeout: 245 seconds]12:47
-!- kislay [~kislay@117.239.94.112] has joined #shogun13:09
-!- kislay [~kislay@117.239.94.112] has quit [Client Quit]13:12
-!- lambday [67157f54@gateway/web/freenode/ip.103.21.127.84] has joined #shogun13:17
-!- kislay [~kislay@14.139.41.150] has joined #shogun14:06
-!- kislay_ [~kislay@210.212.61.185] has joined #shogun14:09
-!- kislay_ [~kislay@210.212.61.185] has quit [Client Quit]14:10
-!- kislay_ [~kislay@117.239.94.112] has joined #shogun14:11
kislay_Hi all. I am having some trouble on working with demos on my local server. I have got it running but it is kind of stripped off version as compared to what is present on net.14:12
-!- kislay [~kislay@14.139.41.150] has quit [Ping timeout: 252 seconds]14:13
sonne|workkislay_: what do you mean?14:26
sonne|workkislay_: you should just input the url and all good?14:27
kislay_sonne|work, that django couldn't get CSS and javascript working14:27
kislay_sonne|work, yes, i did that14:27
sonne|workhmmhh that should work though14:27
kislay_sonne|work, but what i get is a very plain looking page with buttons.14:27
kislay_on commandline i am getting errors like :14:28
kislay_GET /static/js/d3.layout.js HTTP/1.1" 404 9614:28
sonne|workkislay_: it might take a while to load initially maybe14:28
kislay_sonne|work, maybe. but I am trying it for quite a while.14:29
kislay_sonne|work, why django gives a 404 error even though the files are there?14:29
-!- newlido [~quassel@41.237.151.196] has joined #shogun14:40
sonne|workkislay_: errm did you enable DEBUG?14:52
sonne|workI mean PRODUCTION=False ?14:52
kislay_sonne|work, no.14:53
sonne|workkislay_: otherwise it is not starting the static file server14:53
sonne|workohh ok14:53
sonne|workthen just edit settings.py14:53
sonne|workat the top14:53
sonne|workchange PRODUCTION=False14:53
kislay_sonne|work, ok. let me do it.14:53
kislay_sonne|work, yippy :D14:54
kislay_sonne|work, it works like a charm!14:55
sonne|workkislay_: sorry for not mentioning it earlier14:55
sonne|workI guess I should add some override import14:56
kislay_sonne|work, why it's not in documentation!14:56
sonne|workkislay_: no it should be automagic14:56
sonne|workI should just add some settings override on deploy14:56
sonne|workit should always be production = false...14:57
kislay_sonne|work, yup.14:57
kislay_sonne|work, looks like the last work on this repo is quite old.14:58
sonne|workkislay_: yes indeed that is why we need YOU :)14:59
kislay_sonne|work, hehe, I will be it then :)15:00
-!- GandalfTheGray [~Mordor@client-7-197.eduroam.oxuni.org.uk] has joined #shogun15:13
sonne|workkislay_: the biggest concern atm for the demos is that we have no timeouts15:18
sonne|workkislay_: so if something goes amok -> process will just busy loop15:18
sonne|workkislay_: we need some kind of timeouts like say 20 seconds for computing some demo output15:19
sonne|workkislay_: maybe this has to be done on the process level or we have to extend the way it is done in CMachine (one can set timeouts but not all machines support this...)15:19
sonne|workand it is actually tough for things like 1 heavy eigen3 operation that you cannot steer...15:20
kislay_sonne|work, yup, I fully agree..15:23
kislay_sonne|work, can the timeout be set up only on the python scripts that are used for the backend15:25
kislay_sonne|work, without disturbing the CMachine15:26
sonne|workI don't see how. The problem is that this is some python process running all the time15:27
kislay_sonne|work, maybe a independent thread working alongside the core process15:29
kislay_sonne|work, which calculates the running time15:29
kislay_sonne|work, http://pymotw.com/2/profile/index.html .if you get some time, get a sneak peek.15:33
-!- travis-ci [~travis-ci@ec2-54-80-68-232.compute-1.amazonaws.com] has joined #shogun15:43
travis-ci[travis-ci] it's Fernando Iglesias's turn to pay the next round of drinks for the massacre he caused in khalednasr/shogun: http://travis-ci.org/khalednasr/shogun/builds/2167710715:43
-!- travis-ci [~travis-ci@ec2-54-80-68-232.compute-1.amazonaws.com] has left #shogun []15:43
-!- GandalfTheGray [~Mordor@client-7-197.eduroam.oxuni.org.uk] has quit [Quit: Leaving]15:55
-!- khalednasr [~k.nasr92@41.69.128.130] has joined #shogun15:58
-!- kislay_ [~kislay@117.239.94.112] has quit [Read error: Connection reset by peer]16:18
-!- GandalfTheGray [~Mordor@client-7-197.eduroam.oxuni.org.uk] has joined #shogun16:48
-!- lambday [67157f54@gateway/web/freenode/ip.103.21.127.84] has quit [Ping timeout: 245 seconds]17:14
-!- GandalfTheGray [~Mordor@client-7-197.eduroam.oxuni.org.uk] has quit [Quit: Leaving]17:33
nikolisgalHello guys can anybody please help me on this : is this  http://pastebin.com/QVv39zw5 they way to go to solve this issue https://github.com/shogun-toolbox/shogun/issues/1889 or is there anyway that I can spesialize T as type parameter an overload function18:04
nikolisgal??18:04
nikolisgalin an overload method *18:04
-!- zxtx [~zv@c-98-223-196-32.hsd1.in.comcast.net] has quit [Ping timeout: 245 seconds]18:24
-!- khalednasr [~k.nasr92@41.69.128.130] has quit [Quit: Leaving]18:38
-!- nickpr [~Cassio@100.43.25.18] has joined #shogun19:17
nickprI have a question. Im trying to compile a file I have implemented but it gives me an error saying that shogun/lib/config.h doesn’t exist19:18
-!- zxtx [~zv@129-79-241-164.dhcp-bl.indiana.edu] has joined #shogun19:19
nickprbut all other files have #include <shogun/lib/config.h> in them, what is wrong?19:20
jiaolongnickpr: Have you compiled shogun and installed it?19:23
nickpryes19:23
nickprmaybe i did it wrong19:23
jiaolongnickpr: which platform are you using?19:23
nickprill do it again19:23
nickprmavericks19:23
jiaolongnickpr: OK, good luck!19:24
nickprthanks!19:24
jiaolongnickpr: welcome! :)19:24
-!- bumblebee [~quassel@202.78.175.199] has joined #shogun19:28
-!- bumblebee_ [~quassel@202.78.175.199] has joined #shogun19:28
nickprjiaolong: im trying to install it again form the beginning19:28
nickprjiaolong: i got this error when i ran “make” : CMake Error: Error processing file: /version.cmake19:28
jiaolongnickpr: are you working on Linux? Have you delete the build folder and re-run cmake?19:29
nickprjiaolong: no, mac os mavericks. no I havent done that yet19:30
jiaolongnickpr: OK, maybe you can delete build and do it again19:32
nickprjiaolong: i have deleted the build folder, re-ran cmake [options] ..19:32
pfm_did you run it with sudo?19:32
nickpri tried both: make and sudo make install19:32
jiaolongnickpr: sudo make install19:32
nickprsame erro19:32
nickprerror*19:32
pfm_can you run make for any other software?19:32
nickprhavent tried19:33
jiaolongnickpr: what is your cmake version?19:33
jiaolongnickpr: try 'which cmake'19:33
nickprreturned this /usr/bin/cmake19:34
jiaolongnickpr: try 'cmake --version'19:35
nickprcmake version 2.8.12.219:35
jiaolongnickpr: OK, cmake is fine. Can you check is the file exists in '/usr/local/include/shogun/lib/config.h' ?19:36
nickprthe shogun directory doesnt exist :S19:38
jiaolongnickpr: yes, you didn't install it19:38
jiaolongnickpr: have you ever succeed with your 'make'?19:38
jiaolongnickpr: have you ever compiled shogun successfully?19:39
nickpryes, i’ve ran it before19:39
nickpri’ll try to install it again in /usr/local/19:39
jiaolongnickpr: no, I suggest you follow the cmake, make, make install19:40
nickprbut i ran that in the repository root and i got the error19:41
-!- bumblebee_ [~quassel@202.78.175.199] has quit [Ping timeout: 240 seconds]19:45
-!- bumblebee [~quassel@202.78.175.199] has quit [Ping timeout: 264 seconds]19:45
jiaolongnickpr: Are you still there?19:47
nickpryes19:47
nickprjiaolong: im trying to start all over from the beginning19:47
jiaolongnickpr: Thoralf has a scripts: https://gist.github.com/tklein23/973073719:47
jiaolongnickpr: For automatically compile and test everything19:48
jiaolongnickpr: Maybe you can try it19:48
nickprjiaolong: thanks! I’ll try to install it again from the beginning and if it doesnt work i’ll try that19:48
jiaolongnickpr: You can also start all over. Good luck!19:48
jiaolongnickpr: OK! I am leaving, good luck! See you!19:49
-!- jiaolong [9e6d09e4@gateway/web/freenode/ip.158.109.9.228] has quit []19:49
nickprThanks! See yo19:49
-!- zxtx [~zv@129-79-241-164.dhcp-bl.indiana.edu] has quit [Ping timeout: 255 seconds]19:50
nickprIm trying to install it all over again but I am getting this error when i do make install fatal error:20:00
nickpr      'lib/common.h' file not found20:00
nickpr#include "lib/common.h"20:00
nickpr         ^20:00
nickpr1 error generated.20:00
nickprmake[2]: *** [src/shogun/CMakeFiles/libshogun.dir/base/class_list.cpp.o] Error 120:00
nickprmake[1]: *** [src/shogun/CMakeFiles/libshogun.dir/all] Error 220:00
nickprmake: *** [all] Error 220:00
-!- Saurabh7 [~Saurabh7@117.228.154.62] has joined #shogun20:11
-!- kislay [~kislay@117.239.94.112] has joined #shogun20:12
-!- andrew___ [~andrew@c-50-184-110-141.hsd1.ca.comcast.net] has joined #shogun20:15
-!- bumblebee [~quassel@202.78.175.199] has joined #shogun20:25
nickprcan someone help me to install Shogun?20:32
-!- soumyaC_ [uid15286@gateway/web/irccloud.com/x-pmybfxvheaynekeo] has joined #shogun20:38
-!- bumblebee [~quassel@202.78.175.199] has quit [Remote host closed the connection]20:38
-!- Saurabh7 [~Saurabh7@117.228.154.62] has quit [Ping timeout: 265 seconds]20:56
andrew___I'm changing the signature of SGVector::equals and SGMatrix::equals for #1889. Is there a preference for setting the new arguments inline to a default value versus duplicating method signatures?20:57
lisitsynandrew___: I think default argument should be ok21:02
nikolisgallike that ?21:13
nikolisgalhttps://github.com/nikolis/MyShogunTestExamples/blob/master/equals.cpp21:13
nikolisgallisitsyn can you check my solution ?21:13
lisitsynnikolisgal: yeah but why 'float'?21:14
nikolisgalwhat does the type suppose to be ?21:15
-!- zxtx [~zv@129-79-241-164.dhcp-bl.indiana.edu] has joined #shogun21:15
nikolisgali chose to overload the equals method with float in order to keep the old one as well and not fail the test and have the new one available for use does this make sense ?21:16
andrew___It's generics.. am I competing with you for this issue?..21:16
nikolisgalnot really21:16
nikolisgaldo you mind that I am trying as well ?21:17
andrew___It seems like wasted effort. I am nearly done21:17
nikolisgalit's ok21:18
andrew___we can collaborate i suppose21:20
lisitsynnikolisgal: any type is ok21:26
lisitsynfloat/int/double/whatever21:26
nikolisgalk21:26
andrew___is the .gitignore file configured so that I don't have to worry about accidentally commiting things in my /build directory?21:53
-!- newlido [~quassel@41.237.151.196] has quit [Ping timeout: 240 seconds]21:55
lisitsynandrew___: not sure about that - just use 'git status' (or any gui thing) to check what you are going to commit22:01
pfm_i think you have to git add first22:02
pfm_at least, default behaviour i've noticed22:02
lisitsynheh yeah sure22:05
andrew___the way to activate the testing framework is through a pull request?22:07
lisitsynandrew___: no you can run everything locally22:14
nikolisgaljust include  -DENABLE_TESTING=ON in your cmake command and then make -j5 all and then make test should work just fine22:18
-!- zxtx [~zv@129-79-241-164.dhcp-bl.indiana.edu] has quit [Read error: Operation timed out]22:21
-!- zxtx [~zv@129-79-241-164.dhcp-bl.indiana.edu] has joined #shogun22:23
nikolisgallisitsyn: but how I am suppose to call CMath::fequals<T> and not get compile error any guidlines ?22:26
lisitsynnikolisgal: why not?22:26
lisitsynwhat's wrong with calling it?22:26
nikolisgali dont realy know but when i call the feqyals like i wrote above i get compile error22:27
lisitsynthat's pretty vague sorry22:29
lisitsynI don't know neither the error nor the code22:30
nikolisgalthis is my if statment calling : if(!CMath::fequals<T>(*vector+i ,*other.vector+i , accuracy, tolerant))22:30
nikolisgaldo you have time should i paste my code and error somewhere and ask again ?22:31
lisitsynnikolisgal: yeah sure22:31
lisitsynwhat's the error?22:32
nikolisgalcool sec22:32
nikolisgalhttp://pastebin.com/ruuK6ufP22:33
nikolisgalhere are both the method and the error22:34
lisitsynwell22:35
lisitsynso the error is not in this function right?22:35
lisitsynit basically happens when it tries to do (some std::complex) == 022:36
lisitsynwhich is not defined22:36
nikolisgalso we need to have to overloaded equal methods in order to handle spesific data in order to overcome the error right ?22:37
lisitsynyeah22:38
lisitsynjust specialize it for complex22:39
nikolisgal create a method spesific for double and float  and handle the rest of them with the old way ?22:39
lisitsynI think it makes sense to specialize it just for complex22:39
nikolisgalwell yea22:39
nikolisgalthat sounds reasonable :D22:39
andrew___nikolisgal: i'm pretty much exactly where you are on this issue. have to run for now, please keep the issue ticket updated22:42
nikolisgalsure22:42
lisitsynokay just to separate things22:43
lisitsynif you really do the same22:43
lisitsynit makes sense to benchmark and test it22:43
lisitsynso that's the point where you can divege22:43
lisitsyndiverge*22:43
andrew___okay is there a benchmarking framework?22:44
lisitsynnot really22:46
lisitsynbut that's not a big problem in C++22:46
-!- nikolisgal [~nikolis@213.16.163.237.dsl.dyn.forthnet.gr] has quit [Ping timeout: 245 seconds]22:47
-!- andrew___ [~andrew@c-50-184-110-141.hsd1.ca.comcast.net] has quit [Ping timeout: 252 seconds]22:56
-!- nikolisgal [~nikolis@62.1.249.106.dsl.dyn.forthnet.gr] has joined #shogun23:01
-!- newlido [~quassel@41.218.177.18] has joined #shogun23:11
-!- nickpr [~Cassio@100.43.25.18] has quit [Quit: nickpr]23:12
-!- newlido_ [~quassel@41.218.177.18] has joined #shogun23:13
-!- jiaolong [553a552e@gateway/web/freenode/ip.85.58.85.46] has joined #shogun23:27
-!- jiaolong [553a552e@gateway/web/freenode/ip.85.58.85.46] has quit []23:34
-!- sonne|osx [~sonne@f052016167.adsl.alicedsl.de] has joined #shogun23:36
-!- sonne|osx [~sonne@f052016167.adsl.alicedsl.de] has quit [Quit: sonne|osx]23:50
--- Log closed Fri Mar 28 00:00:57 2014

Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!