IRC logs of #shogun for Saturday, 2013-03-09

--- Log opened Sat Mar 09 00:00:05 2013
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has joined #shogun00:01
-!- FSCV [~FSCV@173.254.212.46] has quit [Quit: Leaving]01:00
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has quit [Quit: leaving]01:00
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout]01:48
shogun-buildbotbuild #316 of nightly_default is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/nightly_default/builds/31604:37
-!- ishan_ [~ishan@14.139.122.114] has joined #shogun07:18
-!- ishan_ is now known as inuishan07:22
-!- ishan_ [~ishan@14.139.122.114] has joined #shogun07:40
-!- inuishan [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]07:40
-!- ishan__ [~ishan@14.139.122.114] has joined #shogun08:11
-!- ishan_ [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]08:11
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has joined #shogun08:13
-!- blackburn [~blackburn@85.114.170.181] has quit [Ping timeout: 245 seconds]08:36
-!- ishan_ [~ishan@14.139.122.114] has joined #shogun08:40
-!- ishan__ [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]08:40
-!- blackburn [~blackburn@5.28.26.53] has joined #shogun08:51
-!- ishan_ [~ishan@14.139.122.114] has quit [Ping timeout: 260 seconds]08:56
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has quit [Quit: leaving]09:01
-!- ishan_ [~ishan@14.139.122.114] has joined #shogun09:56
-!- ishan__ [~ishan@14.139.122.114] has joined #shogun09:59
-!- ishan_ [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]09:59
-!- ishan [~ishan@14.139.122.114] has joined #shogun10:29
-!- ishan__ [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]10:29
-!- ishan_ [~ishan@14.139.122.114] has joined #shogun10:59
-!- ishan [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]10:59
-!- ishan__ [~ishan@14.139.122.114] has joined #shogun11:29
-!- ishan_ [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]11:29
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has joined #shogun11:41
-!- ishan__ [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]11:44
-!- ishan__ [~ishan@14.139.122.114] has joined #shogun11:55
-!- ishan [~ishan@14.139.122.114] has joined #shogun11:59
-!- ishan__ [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]11:59
-!- blackburn [~blackburn@5.28.26.53] has quit [Quit: Leaving.]12:09
-!- blackburn [~blackburn@5.28.26.53] has joined #shogun12:09
-!- blackburn [~blackburn@5.28.26.53] has quit [Client Quit]12:10
-!- ishan_ [~ishan@14.139.122.114] has joined #shogun12:26
-!- ishan [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]12:26
-!- ishan__ [~ishan@14.139.122.114] has joined #shogun12:29
-!- ishan_ [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]12:29
-!- lambday [b613104d@gateway/web/freenode/ip.182.19.16.77] has joined #shogun12:37
-!- blackburn [~blackburn@92.240.132.81] has joined #shogun12:42
lambdayhello.. I am trying to implement a string kernel... how do I do some testing? I mean, I want to see what type of return values I get when I write get_feature_vector inside the "compute" function...12:47
lambdayI tried writing a small main function but getting some linking error12:47
lambday-lshogun is needed?12:49
blackburnlambday: sure12:50
-!- ishan [~ishan@14.139.122.114] has joined #shogun12:56
-!- ishan__ [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]12:56
lambdayblackburn: thanks..but when I'm using the new kernel, I'm getting a ld error... while using other kernels doesn't give that error...12:56
blackburnlambday: you probably forgot to implement some method then (just guess)12:56
lambdayblackburn: umm... the error is "temp.cpp:(.text+0x35): undefined reference to `shogun::CSSKStringKernel::CSSKStringKernel()"12:57
blackburnlambday: no constructor implementation around then :)12:58
-!- ishan_ [~ishan@14.139.122.114] has joined #shogun12:59
-!- ishan [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]12:59
lambdayblackburn: but I did :( I'm checking again12:59
blackburnlambday: paste .cpp somewhere and I'll check13:13
lambdayblackburn: this is SSKStringKernel.h [http://pastebin.com/MiUdEFeY] and this is SSKStringKernel.cpp [http://pastebin.com/Rhb4rHxe]... I am using SNPStringKernel file to modify.. compute method is incomplete but it should work13:21
blackburnlambday: I see nothing wrong so far13:23
lambdayto be sure, all I have to do is to add the .h and .cpp file in the kernel/string dir and run a make, right?13:23
lambdayi see the obj file is there in kernel/string13:23
blackburnlambday: yes13:24
blackburnlambday: they won't be available in modular interface if you don't add them to interfaces/modular/Kernel.i13:24
blackburnand Kernel_includes.i in the same dir13:24
blackburnbut linking error is different13:25
lambdayoh...13:25
lambdaybut I am just using this simple cpp file to test [http://pastebin.com/J2qxA9UL]13:25
-!- ishan_ [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]13:25
lambdaywhen I use SNP it works, but for SSK its giving that undefined ref error13:26
-!- ishan_ [~ishan@14.139.122.114] has joined #shogun13:26
-!- ishan__ [~ishan@14.139.122.114] has joined #shogun13:29
-!- ishan_ [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]13:29
blackburnlambday: strange, I didn't notify anything wrong with that constructor13:34
lambdayblackburn: :(13:36
lambdaydoes it matter which interface it is configured to? since i am not using any interface13:37
blackburnlambday: no13:38
lambdayokay then I am doing a make clean and then make13:40
blackburnyes makes sense sometimes13:40
-!- ishan [~ishan@14.139.122.114] has joined #shogun13:56
-!- ishan__ [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]13:56
-!- ishan_ [~ishan@14.139.122.114] has joined #shogun13:59
-!- ishan [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]13:59
lambdayblackburn: didn't help... even strange - I added a method foobar to one of the existing kernels and tried to call it, it shows undefined reference again - but make was successful :-/14:12
lambdaymay be I'm linking it wrong :-/14:13
blackburnwiking: ping14:19
blackburnlambday: no, -lshogun should be enough14:19
lambdaythen may be i am linking it to an older libshogun.so14:22
lambdayI am checking14:22
-!- ishan__ [~ishan@14.139.122.114] has joined #shogun14:26
-!- ishan_ [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]14:26
lambdayblackburn: yup.. corrected it and now its working.. :)14:27
lambdaythanks a lot, man :)14:27
blackburnlambday: nice14:27
-!- ishan [~ishan@14.139.122.114] has joined #shogun14:30
-!- ishan__ [~ishan@14.139.122.114] has quit [Read error: Connection reset by peer]14:30
-!- ishan [~ishan@14.139.122.114] has quit [Ping timeout: 245 seconds]14:37
-!- ishan [~ishan@14.139.122.114] has joined #shogun14:37
-!- ishan [~ishan@14.139.122.114] has quit [Remote host closed the connection]14:39
-!- lambday [b613104d@gateway/web/freenode/ip.182.19.16.77] has left #shogun []15:00
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun16:27
shogun-notifier-shogun: Evgeniy Andreev :master * c291dc2 / src/shogun/transfer/multitask/MultitaskKernelMaskNormalizer.h: https://github.com/shogun-toolbox/shogun/commit/c291dc27317da6483b31857eff7d9d620981c50816:27
shogun-notifier-shogun: added forgotten include16:27
shogun-notifier-shogun: Evgeniy Andreev :master * b432027 / src/interfaces/python_modular/protocols_helper.i: https://github.com/shogun-toolbox/shogun/commit/b432027d1ed785a947b78ee9832b4d463bffe37616:27
shogun-notifier-shogun: fix: checking python's version for buffer protocol16:27
shogun-notifier-shogun: Sergey Lisitsyn :master * 1f4a951 / src/ (2 files): https://github.com/shogun-toolbox/shogun/commit/1f4a9514dd40081e5161d74f6cb66821643a964816:27
shogun-notifier-shogun: Merge pull request #913 from gsomix/fixes16:27
shogun-notifier-shogun:16:27
shogun-notifier-shogun: Small pack of fixes: buffer protocol and compiling16:27
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has quit [Quit: leaving]17:06
blackburnsonney2k: gsomix fixed his stuff17:06
-!- gsomix [~Miranda@46.20.65.177] has joined #shogun17:28
gsomixhi17:37
-!- heiko [~heiko@b019b9ef.bb.sky.com] has joined #shogun18:36
-!- heiko [~heiko@b019b9ef.bb.sky.com] has quit [Quit: Leaving.]18:43
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout]19:27
-!- FSCV [~FSCV@76.73.3.220] has joined #shogun19:36
wikingblackburn: pong20:13
blackburnwiking: wanted to ask you about clang static analyzer20:13
wikingblackburn: listening20:14
blackburnwiking: it generates no output for a reason20:14
blackburnwiking: how did you use it?20:14
wikingah well u have output here20:14
wikinghttp://categorizer.tmit.bme.hu/~wiking/shogun.sa/2013-03-09-2/20:14
wikingbut if u wanna use it locally20:14
wikingbasically it's done like this20:14
blackburnwiking: I want output for tapkee :)20:14
blackburnah btw20:15
wikingscan-build ./configure20:15
wikingscan-build make20:15
blackburnwiking: are you running mac now?20:15
wikingye20:15
blackburnwiking: could you please test tapkee?20:15
wikingmmm lemme checkout20:15
blackburnwiking: git clone git://github.com/lisitsyn/tapkee.git && cd tapkee && mkdir build && cmake -Dbuild_tests=1 .. && make && make test20:16
blackburnoops20:16
blackburnwiking: git clone git://github.com/lisitsyn/tapkee.git && cd tapkee && mkdir build && cd build && cmake -Dbuild_tests=1 .. && make && make test20:16
wiking-- Could NOT find OpenMP (missing:  OpenMP_C_FLAGS OpenMP_CXX_FLAGS)20:16
wikingCMake Error at CMakeLists.txt:29 (include_directories): include_directories given empty-string as include directory.20:16
blackburnhere comes full thing for convenience :)20:16
wikingthe problem is clang does not have openmp20:17
blackburnyeah I know20:17
blackburnlet me check20:17
blackburnwiking: is that an error?20:17
wikingyepp20:17
wikingcmake dies with this20:17
blackburnhmmm it is not rquired..20:17
wikingwell it still dies like that20:18
blackburnwiking: it says can't found but continues here20:18
wikingit tries all the different ways to find openmp20:18
blackburn-- Could NOT find OpenMP (missing:  OpenMP_CXX_FLAGS)20:18
blackburn-- Found minimal setup for the Google Mock library:20:18
blackburn-- Configuring done20:18
blackburn-- Generating done20:18
wikingand then it does this20:18
wikingCMake Error at CMakeLists.txt:29 (include_directories): include_directories given empty-string as include directory.20:18
-!- sumit [73f91219@gateway/web/freenode/ip.115.249.18.25] has joined #shogun20:19
blackburnwiking: ahh20:19
blackburnwiking: strange it doesn't detect gmock20:19
-!- hoijui [~hoijui@141.23.80.177] has joined #shogun20:20
blackburnwiking: update please20:20
wikingblackburn: gmock is not in usual path20:20
wikinghow can i define it?20:20
wikingCMake Error at CMakeLists.txt:70 (add_executable):20:21
wiking  Cannot find source file:20:21
wiking    test/simple.cpp20:21
wiking  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp20:21
wiking  .hxx .in .txx20:21
blackburnwiking: once again20:21
blackburnwiking: about gmock20:21
blackburntry -DGMOCK_SOURCE_ROOT=..20:22
wiking-- Found minimal setup for the Google Mock library: /Users/wiking/gmock-1.6.020:23
wiking-- Configuring done20:23
wikingCMake Error at CMakeLists.txt:70 (add_executable):20:23
wiking  Cannot find source file:20:23
wiking    test/simple.cpp20:23
wiking  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp20:23
wiking  .hxx .in .txx20:23
blackburnwiking: update ;)20:23
blackburnjust added it20:23
wikingok now it ran fine... building20:25
blackburnwiking: good you pointed it out20:25
wiking100%] Building CXX object CMakeFiles/tapkee_tests.dir/test/simple.cpp.o20:26
wikingLinking CXX executable tapkee_tests20:26
wikingld: library not found for -lgmock20:26
wikingclang: error: linker command failed with exit code 1 (use -v to see invocation)20:26
wikingi think there's a missing -L there20:26
wikingor something20:26
blackburnI do not have much tests but just to check if it is working under mac20:26
blackburnuhm20:26
wikingr u building gtest/gmock statics ?20:26
wikingas u'll have to do that20:27
blackburnwiking: something is wrong with that gmock detection script20:27
blackburnwiking: why? it works here as is20:27
wikingthat gmock i give him is purely the src20:27
wikingthere's no .so neither .a20:27
wikingof gmock20:27
wikingyou should not expect having gmock/gtest shared20:27
wikingas you should build them with the same compiler flags as your thing that u wanna test it with20:28
wikingi.e. see shogun unit testing build20:28
blackburnwiking: so I'd need to build gmock and then build tests with it?20:28
wikingindeed20:29
wikingu need to build gmock and gtest20:29
wikingas static library20:29
wikingand then link it to your testing executable20:29
blackburnwiking: okay I see, requires some magic20:30
wikingotherwise the main file builds20:30
blackburnwiking: okay what about main thing20:31
blackburnwiking: it builds?20:31
wiking[master build] $ ./tapkee                                                                                                                          [wiking@welitron:~/tapkee/build]20:31
wiking[error] No input file specified. Please use -h flag if stucked20:31
wikingyes20:31
blackburnwiking: okay, thanks! I'll try to add something to build gmock20:32
blackburnwiking: not sure how to do that in cmake20:32
wikingithink there's something about this in the documents of gmock/gtest20:32
wikingcheck their wiki20:32
blackburnwiking: nothing20:35
wiking:(20:35
blackburnwiking: I am surprised with a variety of cmake finders20:38
blackburnfor gmock20:38
-!- sumit [73f91219@gateway/web/freenode/ip.115.249.18.25] has quit [Quit: Page closed]20:44
-!- hoijui [~hoijui@141.23.80.177] has quit [Ping timeout: 276 seconds]20:50
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun21:19
shogun-notifier-shogun: Soeren Sonnenburg :master * caa80db / / (7 files): https://github.com/shogun-toolbox/shogun/commit/caa80db4b8e75e0222780c0449a0afc1967bf3ba21:19
shogun-notifier-shogun: blacklist director based examples and require new data version21:19
-!- zxtx [~zv@cpe-75-83-151-252.socal.res.rr.com] has quit [Ping timeout: 250 seconds]21:19
@sonney2kblackburn, if you see gsomix tell him thanks for the buffer proto fixes but also tell him that the director stuff does not work... at least when I run generator.py things are randomly crashing :/21:20
blackburnsonney2k: he is around now I guess21:20
@sonney2kgsomix, ahh there you are21:21
@sonney2kdidn't see you :D21:21
blackburnsonney2k: but may be totally drunk21:21
@sonney2kblackburn, I know that he is Russian too21:21
@sonney2kso no news to me21:21
blackburnsonney2k: actually he is a bad russian21:21
blackburnsonney2k: he doesn't drink at all or so21:21
@sonney2kblackburn, drinking beer instead of vodka?21:21
@sonney2kohh even worse21:22
blackburnsonney2k: yeah that's madness, I can't understand that21:22
@sonney2kno idea how you both can share a room21:22
blackburnsonney2k: I usually at work and just get home to sleep (already drunk)21:22
-!- FSCV [~FSCV@76.73.3.220] has quit [Ping timeout: 264 seconds]21:27
blackburnsonney2k: I am now 'working' with waffles - what a crazy toolbox21:28
blackburnhaha I have 73 commits today21:28
blackburnah no21:29
blackburn03-0921:29
-!- FSCV [~FSCV@76.73.3.220] has joined #shogun21:32
gsomixsonney2k: hi21:52
gsomixsonney2k: ohh, shi~. I'll see at directors tomorrow. :(21:56
-!- gsomix [~Miranda@46.20.65.177] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]22:18
-!- heiko [~heiko@b019b9ef.bb.sky.com] has joined #shogun22:22
-!- heiko [~heiko@b019b9ef.bb.sky.com] has quit [Client Quit]22:22
-!- heiko [~heiko@b019b9ef.bb.sky.com] has joined #shogun23:10
-!- n4ndo [~nando@s83-179-44-135.cust.tele2.se] has joined #shogun23:17
--- Log closed Sun Mar 10 00:00:10 2013

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