IRC logs of #shogun for Friday, 2017-02-10

--- Log opened Fri Feb 10 00:00:18 2017
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Remote host closed the connection]00:59
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun01:02
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Remote host closed the connection]01:08
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun01:14
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Ping timeout: 240 seconds]01:19
-!- mikeling [uid89706@gateway/web/irccloud.com/x-hpktkzpxyywxijmg] has joined #shogun02:08
-!- goksinen_ [~goksinen@2604:2000:c591:8400:f5b3:5f99:544a:fa3d] has joined #shogun02:10
-!- goksinen_ [~goksinen@2604:2000:c591:8400:f5b3:5f99:544a:fa3d] has quit [Remote host closed the connection]02:10
-!- goksinen_ [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun02:10
@sukeyPull Request #3608 "Clean up KNN"  synchronized by MikeLing - https://github.com/shogun-toolbox/shogun/pull/360804:15
@sukeyPull Request #3608 "Clean up KNN"  synchronized by MikeLing - https://github.com/shogun-toolbox/shogun/pull/360805:34
@sukeyPull Request #3620 "Add time comparison for KNN_KDTREE"  opened by MikeLing - https://github.com/shogun-toolbox/shogun/pull/362005:36
@sukeyNew Commit "[WIP] refactor cmake project06:09
@sukeyadd support for building modular interfaces depending on an external06:09
@sukeyprebuilt libshogun" to shogun-toolbox/shogun by vigsterkr: https://github.com/shogun-toolbox/shogun/commit/818ff9d6424d7e52449867703377e9841713cf0f06:09
-!- goksinen_ [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Remote host closed the connection]06:09
@sukeyNew Commit "[WIP] refactor cmake project06:19
@sukeyadd support for building modular interfaces depending on an external06:19
@sukeyprebuilt libshogun" to shogun-toolbox/shogun by vigsterkr: https://github.com/shogun-toolbox/shogun/commit/a4203a7c7e5d1a070f11bd1c1be65ca6ad92503906:19
@sukeyPull Request #3608 "Clean up KNN"  synchronized by MikeLing - https://github.com/shogun-toolbox/shogun/pull/360807:08
-!- travis-ci [~travis-ci@ec2-54-242-6-193.compute-1.amazonaws.com] has joined #shogun07:38
travis-ciit's Viktor Gal's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/20024254807:38
-!- travis-ci [~travis-ci@ec2-54-242-6-193.compute-1.amazonaws.com] has left #shogun []07:38
-!- praisethemoon [~praisethe@197.3.11.178] has joined #shogun09:34
-!- suhas2go [uid201652@gateway/web/irccloud.com/x-qhlnqmgagptnicsm] has joined #shogun09:46
-!- praisethemoon [~praisethe@197.3.11.178] has quit [Ping timeout: 255 seconds]10:00
-!- HeikoS [~heiko@host-92-0-178-129.as43234.net] has joined #shogun10:41
-!- mode/#shogun [+o HeikoS] by ChanServ10:41
CaBaguten morgen10:51
@wikingdir auch10:55
CaBawiking: :D11:04
-!- HeikoS [~heiko@host-92-0-178-129.as43234.net] has quit [Ping timeout: 255 seconds]11:41
@sukeyPull Request #3617 "Port sgd svm example to meta"  synchronized by sudk1896 - https://github.com/shogun-toolbox/shogun/pull/361712:18
-!- HeikoS [~heiko@host-92-0-178-129.as43234.net] has joined #shogun13:09
-!- mode/#shogun [+o HeikoS] by ChanServ13:09
mikelingwiking: ping13:28
@wikingpong13:29
mikelingAs to the memory leaking case you said in https://github.com/shogun-toolbox/shogun/pull/3608#discussion-diff-100508822R318, how could I test them locally13:30
mikelingdue to all the tests passed locally13:30
@wikingvalgrind it13:30
@wikingthese are standard stuff13:31
@wikinggoogle can answer you13:31
@wikingit has nothing to do with shogun... it's c/c++ development13:31
@wikingif you cmake with -DBUILD_DASHBOARD_REPORTS=ON ..13:31
@wikingand then run13:32
@wikingctest with -D ExperimentalMemCheck13:32
@wikingyou should get reports13:32
@wikingbut it takes a long time to run it so filter it down to the classes you've touched13:32
mikelingok, I will do it right now. thank you!13:33
@wikingnw13:33
-!- Sojiro [~textual@host86-167-117-163.range86-167.btcentralplus.com] has joined #shogun13:59
@sukeyPull Request #3621 "Port CombinedKernel, Distance, DotFeatures and LibSVMKernel to OpenMP"  opened by micmn - https://github.com/shogun-toolbox/shogun/pull/362114:04
-!- HeikoS [~heiko@host-92-0-178-129.as43234.net] has quit [Ping timeout: 255 seconds]14:10
@sukeyPull Request #3622 "Add Scala to .travis.yml and DockerFile"  opened by abhinavrai44 - https://github.com/shogun-toolbox/shogun/pull/362214:21
@sukeyPull Request #3617 "Port sgd svm example to meta"  synchronized by sudk1896 - https://github.com/shogun-toolbox/shogun/pull/361714:47
-!- Hieronymous [~sudarshan@2405:204:6286:c2cd:9cd7:65ca:4ef3:43e] has joined #shogun15:02
HieronymousI'm porting undocumented examples to meta.15:04
HieronymousI made a PR against shogun-data with a .dat and it has been merged.15:04
HieronymousHow do I commit "the updated version hash of my submodule" ?15:05
HieronymousThe instructions are here - https://github.com/shogun-toolbox/docs/blob/master/DEVELOPING.md15:05
Hieronymoushttps://github.com/shogun-toolbox/docs/blob/master/DEVELOPING.md#adding-tests-215:06
HieronymousI have a merged PR against shogun-data, I'm a bit confused what to do next.15:06
HieronymousI can't seem to commit the .dat file in this PR here - https://github.com/shogun-toolbox/shogun/pull/361715:06
-!- abhinav [~abhinav@14.192.53.72] has joined #shogun15:14
@sukeyPull Request #3606 "Add CMake to Detect Scala"  synchronized by abhinavrai44 - https://github.com/shogun-toolbox/shogun/pull/360615:30
abhinavPing : wiking15:33
-!- Hieronymous [~sudarshan@2405:204:6286:c2cd:9cd7:65ca:4ef3:43e] has quit [Ping timeout: 255 seconds]16:20
-!- abhinav [~abhinav@14.192.53.72] has quit [Ping timeout: 258 seconds]16:34
-!- Hieronymous [~sudarshan@2405:204:6286:c2cd:9cd7:65ca:4ef3:43e] has joined #shogun17:06
-!- Sojiro [~textual@host86-167-117-163.range86-167.btcentralplus.com] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]17:23
-!- Sojiro [~textual@host86-167-117-163.range86-167.btcentralplus.com] has joined #shogun17:23
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun17:36
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Ping timeout: 264 seconds]17:40
CaBawiking: do you work on os x?17:43
@wikingnwy17:43
@wikingyes17:43
CaBawiking: i'm debugging my application in lldb and fail to get down to the shogun code... (i built shogun with CMAKE_BUILD_TYPE=Release)17:44
CaBawiking: have you ever run into this or a hint for me what i should be looking into?17:44
CaBaprolin ➜  ~  otool -Iv ~/RESEARCH/external/shogun-release/lib/libshogun.17.2.dylib | wc -l17:44
CaBa    639217:44
CaBaprolin ➜  ~  otool -Iv ~/RESEARCH/external/shogun-debug/lib/libshogun.17.2.dylib | wc -l17:44
CaBa  17052217:44
@wikingmmm if u debug with release17:44
CaBathe dylib debug build seems to have done what it should do :P17:44
@wikingit's gonna be hard to debug17:44
@wikingas you miss all the debugging text17:45
CaBawiking: s/Release/Debug17:45
@wikingi..e it's not compiled with -g17:45
CaBawiking: of course i meant Debug ;)17:45
@wikingk17:45
@wikingso what's the rpboelm17:45
@wiking?17:45
CaBawiking: i don't see source17:45
CaBa(lldb) down17:45
CaBaframe #0: 0x0000000100ec6244 libshogun.17.dylib`typeinfo name for shogun::CSGObject + 417:45
CaBalibshogun.17.dylib`typeinfo name for shogun::CSGObject:17:45
@wikingah17:45
CaBa->  0x100ec6244 <+4>: outsl  (%rsi), %dx 0x100ec6245 <+5>: jne    0x100ec62b6               ; _ZZN6shogun9CSGObjectC4ERKS0_E19__PRETTY_FUNCTION__ + 22 0x100ec6248 <+8>: cmpl   %eax, 0x53(%rbx)17:45
@wikingbu thats's because17:45
@wikingu dont set the src dir17:45
@wikinghave u?17:45
CaBanope, how?17:45
@wikingmmmm man lldb ?:)17:46
CaBa:P17:46
@wikingsettings list target.source-map17:46
CaBawiking: hm. how do i know what to map from?17:49
CaBaah17:49
CaBabuild dir?17:49
@wikingit's the root of17:49
@wikingsrc17:49
@wikingso like17:49
@wiking <cloned dir>/src17:49
CaBayeah that's the "to" part of the mapping17:50
CaBa"Source path remappings are used to track the change of location between a source file when built, and where it exists on the current system."17:51
CaBamy source has never moved17:51
CaBait's still right where it used to be during the build17:51
CaBamaybe it's though missing debug symbols... maybe the dynamic linker is just picking up the wrong dylib...17:54
-!- mikeling [uid89706@gateway/web/irccloud.com/x-hpktkzpxyywxijmg] has quit [Quit: Connection closed for inactivity]17:59
CaBawiking: are there any issues with ccache i could run into when building shogun in debug / release mode? like cache hits that shouldn't be?18:06
@wikingnpu18:06
CaBabut i'm anyways quite sure i did a 'ccache -C' before building in Debug mode...18:06
@wikingmmm18:06
@wikinglemme look into it18:06
CaBawiking: this really seems to be an issue of missing symbols... i don't even see the file:line in the bt output18:06
@wikingotool -Vd18:07
@wiking?18:07
CaBawiking: which i guess should be seen in the backtrace even if he wouldn't know where the file is18:07
CaBaprolin ➜  imker git:(master) ✗ otool -Vd ~/RESEARCH/external/shogun-release/lib/libshogun.17.2.dylib | wc -l 103718:07
CaBaprolin ➜  imker git:(master) ✗ otool -Vd ~/RESEARCH/external/shogun-debug/lib/libshogun.17.2.dylib | wc -l 129618:07
CaBaoops18:08
CaBacopy paste error, still hat that wc -l in there...18:08
@sukeyPull Request #3617 "Port sgd svm example to meta"  synchronized by sudk1896 - https://github.com/shogun-toolbox/shogun/pull/361718:08
CaBawiking: nothing human readable. what should i expect?18:09
@wikingmmm18:09
@wikingthere are strings there18:09
@wikingwith the names18:09
@wikingof the functions18:09
CaBanope18:09
@wikingwhat's the size of you dylib?18:09
CaBaprolin ➜  imker git:(master) ✗ ls -lh ~/RESEARCH/external/shogun-{release,debug}/lib/libshogun.17.2.dylib18:10
CaBa-rwxr-xr-x 1 lk staff 95M Feb  8 20:41 /Users/lk/RESEARCH/external/shogun-debug/lib/libshogun.17.2.dylib18:10
CaBa-rwxr-xr-x 1 lk staff 29M Dec  9 17:52 /Users/lk/RESEARCH/external/shogun-release/lib/libshogun.17.2.dylib18:10
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun18:11
@wikingok sorry otool -tV18:11
@wikingu should see things like this18:11
@wiking0000000000006559        callq   __ZN6shogun11TSGDataTypeC1ENS_14EContainerTypeENS_11EStructTypeENS_14EPrimitiveTypeE ## shogun::TSGDataType::TSGDataType(shogun::EContainerType, shogun::EStructType, shogun::EPrimitiveType)18:11
CaBawiking: hmmm... maybe it's also related to what i'm trying to debug... i just tried getting into 'init_shogun_with_defaults()' for example and that worked fine...18:12
-!- Hieronymous [~sudarshan@2405:204:6286:c2cd:9cd7:65ca:4ef3:43e] has quit [Quit: Leaving]18:13
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Ping timeout: 256 seconds]18:16
CaBawiking: never mind about the dylib building. this seems to be just an odd problem to debug in the first place... have to dig into this...18:16
-!- abhinav [~abhinav@14.192.53.72] has joined #shogun18:38
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun18:43
CaBawiking: was some SG_(UN)REF automagic stuff removing things i later used... created strage debugging situations, but yeah, that was it :P sorry for the mess18:45
@wiking:>18:45
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Remote host closed the connection]18:59
CaBawiking: to make a class that holds and REFs shogun objects on construction, i need a copy constructor so that the held objects don't get lost?19:03
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun19:05
@wikingsgobject19:05
CaBaHolder holder;19:05
CaBaHolder holder_copy = holder;19:05
CaBawith SG_REF in the constructor and SG_UNREF in the destructor the held objects get lost here...19:05
-!- abhinav [~abhinav@14.192.53.72] has quit [Quit: Leaving]19:05
@wikingmm19:05
@wikingthen yeah19:05
@wikingyou need a copy ctor defined to call referencign19:05
@wikingneed c++11 => shared_ptr19:07
CaBawiking: and an operator=()??19:12
CaBaHolder holder;19:13
CaBaHolder holder_copy;19:13
CaBaholder_copy = holder;19:13
CaBathis doesn't call the copy ctor19:13
@wikingif u wanna suppot it19:13
@wikingbut u can delete19:13
@wikingoperator19:13
@wikingand then u are golden19:14
@wiking:>19:14
CaBayeah you guys are really into working with pointers...19:14
-!- not_diveshP [~pandeydiv@106.79.56.248] has joined #shogun19:31
-!- not_diveshP [~pandeydiv@106.79.56.248] has quit [Ping timeout: 258 seconds]19:36
@sukeyPull Request #3617 "Port sgd svm example to meta"  synchronized by sudk1896 - https://github.com/shogun-toolbox/shogun/pull/361719:42
-!- Sojiro [~textual@host86-167-117-163.range86-167.btcentralplus.com] has quit [Quit: Textual IRC Client: www.textualapp.com]19:47
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Remote host closed the connection]22:34
-!- goksinen_ [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun22:49
--- Log closed Sat Feb 11 00:00:20 2017

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