IRC logs of #shogun for Saturday, 2016-05-28

--- Log opened Sat May 28 00:00:15 2016
-!- besser82 [~besser82@fedora/besser82] has quit [Ping timeout: 250 seconds]03:26
shogun-buildbotbuild #7 of clang - thread analysis is complete: Failure [failed compile]  Build details are at http://buildbot.shogun-toolbox.org/builders/clang%20-%20thread%20analysis/builds/7  blamelist: Viktor Gal <viktor.gal@maeth.com>03:45
shogun-buildbotbuild #6 of clang - undefined behaviour analysis is complete: Failure [failed compile]  Build details are at http://buildbot.shogun-toolbox.org/builders/clang%20-%20undefined%20behaviour%20analysis/builds/6  blamelist: Viktor Gal <viktor.gal@maeth.com>03:49
Saurabh7Update : Got parallel xval working for svm, trying to generalize it now for Machine* and Features*, and looking for possible memleaks05:09
Saurabh7will make some cookbooks today, working on LDA one.05:10
-!- OXPHOS [9d8b131c@gateway/web/freenode/ip.157.139.19.28] has quit [Quit: Page closed]05:45
shogun-buildbotbuild #7 of memleak - valgrind is complete: Failure [failed memory check]  Build details are at http://buildbot.shogun-toolbox.org/builders/memleak%20-%20valgrind/builds/7  blamelist: Viktor Gal <viktor.gal@maeth.com>06:16
shogun-buildbotbuild #1009 of nightly_none is complete: Failure [failed test]  Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_none/builds/1009  blamelist: Viktor Gal <viktor.gal@maeth.com>06:27
shogun-buildbotbuild #1138 of nightly_default is complete: Failure [failed test notebooks]  Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_default/builds/1138  blamelist: Viktor Gal <viktor.gal@maeth.com>07:36
-!- sanuj [~sanuj@59.97.245.155] has joined #shogun07:55
-!- sanuj [~sanuj@59.97.245.155] has quit [Ping timeout: 264 seconds]08:53
-!- sanuj [~sanuj@117.203.3.118] has joined #shogun09:05
Saurabh7sanuj: hey10:48
sanujSaurabh7, hello :)10:48
Saurabh7how did you run the cookbook exmaples10:49
Saurabh7generate.py ?10:49
sanujno10:49
sanujuse make cookbook to build them10:49
sanujmake test to run10:49
Saurabh7ah ok10:50
sanujSaurabh7, since they are integration tests, should run by make test10:50
-!- sonne|osx [~sonne@x4db3de16.dyn.telefonica.de] has joined #shogun10:58
Saurabh7sanuj: whats your sphinx version?11:01
-!- sanuj [~sanuj@117.203.3.118] has quit [Ping timeout: 264 seconds]11:01
-!- sanuj [~sanuj@117.203.3.118] has joined #shogun11:45
sanujwiking, there?12:34
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has joined #shogun12:40
-!- mode/#shogun [+o HeikoS] by ChanServ12:40
@HeikoSwiking, lisitsyn jo12:43
sanujHeikoS, hi :)12:43
@HeikoSsanuj: hi there!12:43
sanuji need help12:43
@HeikoSI am here to help ;)12:43
sanujhave you  seen the code in aer?12:43
@HeikoSnot yet, what exactly?12:43
sanujHeikoS, okay, i'll put it in a gist and share it with you in 5 mins12:44
@HeikoScool12:44
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has quit [Quit: Leaving.]12:46
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has joined #shogun12:49
-!- mode/#shogun [+o HeikoS] by ChanServ12:49
sanujHeikoS, https://gist.github.com/sanuj/d58a90e327516c11449cfba597e6231612:52
sanujHeikoS, i think the error is due to this12:52
sanujHeikoS, https://github.com/shogun-toolbox/aer/blob/master/src/aer/util/d_ptr.hpp#L1912:53
@HeikoSsanuj: checking just a sec12:57
sanujcool12:57
@HeikoSSaurabh7: jo12:57
Saurabh7HeikoS: hi!12:58
@HeikoSSaurabh7: hey, I am just looking at KMeans12:59
Saurabh7HeikoS: I sent a PR12:59
Saurabh7oh12:59
Saurabh7about?12:59
@HeikoSjust to fix some problem with the meta examples12:59
@HeikoSI saw that all the mini batch stuff is in the main class12:59
Saurabh7ok whats the problem13:00
Saurabh7yes its done via enum13:00
@HeikoSSaurabh7: I remember that we changed the class sturcutre a bit13:00
@HeikoScan you remind me what we did there?13:00
Saurabh7HeikoS: no its not done13:00
@HeikoSI see13:00
Saurabh7i mean not merged13:00
@HeikoSAh13:00
@HeikoSok13:00
@HeikoSso I am looking at the old13:00
@HeikoSstructure13:00
@HeikoSI see13:01
@HeikoSI will send a few mini changes to KMeans13:01
Saurabh7yes13:01
@HeikoSwill have to rebase the patch13:01
@HeikoSokok13:01
@HeikoSwill check your other PR soon13:01
Saurabh7HeikoS: I think we can extend the parallel xval to other machines too13:02
Saurabh7ust need to create similar objects13:02
@HeikoSyep13:02
@HeikoSshallow copy13:02
@HeikoSwhich reminds us of the need for copy constructors13:02
@HeikoSthat exactly do this13:03
Saurabh7HeikoS: yes Iam doing it manually for now13:03
Saurabh7or by virtual methods13:03
@HeikoSSaurabh7: do it via the copy constructor13:03
@HeikoSthen we can go through a few one by one and make sure they work13:03
@HeikoSbut let's start with the SVM for now13:03
@HeikoSshould have a quick discussion with lisitsyn and wiking about how to do it best13:04
-!- leagoetz [~leagoetz@host-92-0-162-192.as43234.net] has joined #shogun13:04
@HeikoSleagoetz: hello13:04
@HeikoSSaurabh7: btw thanks for sending the pr13:04
@HeikoSuseful for discussion13:04
@HeikoSwill write some feedback soon13:04
@HeikoSjust fixing something13:05
@HeikoSsanuj: and then also check your gist13:05
sanujokay13:06
@HeikoSSaurabh7: btw what keeps your kmeans patch from merging?13:09
Saurabh7HeikoS: It was big and github comparison was not displaying properly the file renames13:10
Saurabh7so it looked messy13:10
@HeikoSSaurabh7: shall I create a feature branch for you to push into?13:11
Saurabh7ok, will it help ?13:11
@HeikoSSaurabh7: but looking through the log, I think this should be possible to be merged13:11
@HeikoSSaurabh7: if all tests still pass etc13:11
Saurabh7they wer passing iirc13:11
Saurabh7I will ahve a look then if all looks good ?13:12
-!- leagoetz [~leagoetz@host-92-0-162-192.as43234.net] has quit [Remote host closed the connection]13:15
Saurabh7ye everything was  passing13:16
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has quit [Ping timeout: 260 seconds]13:16
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has joined #shogun13:17
-!- mode/#shogun [+o HeikoS] by ChanServ13:17
Saurabh7ah yes we can check buildobt with feature branch13:18
@HeikoSSaurabh7: exactly13:19
@HeikoSso let me create one, then you can send the PR against it13:19
@HeikoSand then we can run on buildbot13:19
@HeikoStest13:19
@HeikoSand then merge if it is fine13:19
Saurabh7cool13:20
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has quit [Ping timeout: 250 seconds]13:24
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has joined #shogun13:27
-!- mode/#shogun [+o HeikoS] by ChanServ13:27
-!- besser82 [~besser82@fedora/besser82] has joined #shogun13:32
-!- mode/#shogun [+o besser82] by ChanServ13:32
sanujlisitsyn, !!!!13:43
lisitsynsup13:43
sanuji need your help13:43
lisitsynyeah sure13:43
sanuji'm bringing in tags from aer to shogun13:44
sanujgot this error13:44
sanujhttps://gist.github.com/sanuj/d58a90e327516c11449cfba597e6231613:44
sanujlisitsyn, i think the error is because of https://github.com/shogun-toolbox/aer/blob/master/src/aer/util/d_ptr.hpp#L1913:44
lisitsynyes13:45
lisitsynit is because of absent operator=13:46
lisitsynehmm ok13:46
sanujwait13:46
sanujdoorbell13:46
sanujwill be back in 2 mins13:46
sanujlisitsyn, yes13:48
sanuji'm back13:48
sanujyeah i know it is because of absent operator=13:48
sanujbut i dunno how to fix this13:48
sanujlisitsyn, what do you think13:48
lisitsynsanuj: I think we've got to fix this multitask kernel normalizer13:49
sanujokay13:50
lisitsynsanuj: checking13:50
lisitsynsanuj: you can try making CTaxonomy independent of CSGObject13:53
lisitsyncurrently it inherits csgobject but probably there is no reason to do so13:53
sanujlisitsyn, okay, i'll do it now13:54
lisitsynsrc/shogun/transfer/multitask/MultitaskKernelTreeNormalizer.h13:54
sanujlisitsyn, do we need to add something in dptr.h13:54
lisitsynno, why?13:54
sanujthere is some TODO comment there13:55
lisitsynsanuj: what does it tell?13:58
sanujlisitsyn, TODO avoid allocation for stateless 'private's13:58
lisitsynhah no idea14:00
lisitsynnevermind14:00
sanujlisitsyn, new error now14:00
sanujlisitsyn, http://pastebin.com/tvP2ACxY14:01
lisitsynsanuj: use SG_SERROR14:02
-!- sonne|osx [~sonne@x4db3de16.dyn.telefonica.de] has quit [Quit: sonne|osx]14:09
@HeikoSlisitsyn: hi14:13
lisitsynHeikoS: ho14:13
@HeikoSlisitsyn: we need shallow copies14:13
@HeikoSuse copy constructor for that?14:13
@HeikoSor what?14:13
@HeikoScan the plugin system solve that?14:14
lisitsynyes14:14
lisitsynnot plugin14:14
lisitsynbut parameter14:14
@HeikoSparameter?14:14
lisitsynHeikoS: what shallow copy?14:14
@HeikoSlisitsyn: we need this14:14
@HeikoSI have a machine14:14
@HeikoSwant to create a copy, with exactly the same parameters14:14
lisitsyncan you make it immutable?14:14
lisitsynwhy shallow?14:15
@HeikoSbut then change the feautres14:15
@HeikoSanother example is feature14:15
@HeikoSs14:15
lisitsynit would work quite good if you can make the copy immutable14:15
@HeikoSneed to create a copy of the feautre object14:15
@HeikoSbut then should have the same underlying memory14:15
@HeikoSyeah would be ok14:16
@HeikoSsince it uses the same memory14:16
@HeikoSbut I dont quite know what you mean by that14:16
@HeikoSand why it would help14:16
lisitsynbecause it would be a mess14:16
lisitsynif you have two objects14:16
lisitsynpointing to the same parameters14:16
lisitsynyou change X and Z changes as well14:16
lisitsynHeikoS: how soon would you need it?14:17
lisitsynHeikoS: sanuj can work it out once parameters are integrated I think14:22
lisitsynbut it would be available end of next week or so14:22
sanujlisitsyn, what do you mean by use sg_error?14:22
lisitsynsanuj: SG_ERROR -> SG_SERROR14:23
sanuji did #include SGIO.h14:23
sanujoh14:23
sanujlisitsyn, it worked !14:24
lisitsyncool14:24
Saurabh7lisitsyn: by parameters you mean ?14:24
Saurabh7is kernel parameter of svm ?14:24
sanujlisitsyn, why are dptr unique_ptr?14:24
lisitsynsanuj: exactly to avoid unwanted copies14:24
Saurabh7beacuse right now i use diferent kernel for each object14:24
lisitsynsanuj: to avoid having two objects getting the same implementation14:25
sanujokay14:25
lisitsynSaurabh7: yeah, a kernel would be a parameter of svm14:25
lisitsynthey can be different14:25
lisitsynparameter = member field14:26
sanujlisitsyn, but why do we need to strictly have one unique pointer own a resource14:26
lisitsynsanuj: which alternatives are you comparing to?14:26
sanujif we had not used unique_ptr, the error would not have occurred right?14:27
lisitsynsanuj: yes but this way we detected wrong usages of sgobjects14:27
sanujlisitsyn, so correct usage is to have only one pointer point to a particular object?14:28
lisitsynsanuj: yeah14:28
lisitsynsanuj: we do not use value semantics14:28
lisitsynwe use pointer semantics14:28
@HeikoSlisitsyn: it is not urget14:28
@HeikoSlisitsyn: we can do things by hand for now14:29
sanujlisitsyn, thanks :)14:29
lisitsynHeikoS: ok then we will keep it in mind14:29
@HeikoSlisitsyn: so for now we just do copy ctor14:29
sanujlisitsyn, i'll write some unit tests and run them14:29
lisitsynHeikoS: there would be some shallow copy function available14:29
sanujfor tags14:29
@HeikoSlisitsyn: ?14:29
lisitsynsanuj: would be cool!14:29
@HeikoSwhat do you mean?14:29
lisitsynHeikoS: obj.view() may be14:29
lisitsynthis would create a copy14:29
@HeikoSlisitsyn: no14:29
@HeikoSah14:29
@HeikoSwell14:30
lisitsynbut immutable one14:30
lisitsynyou can get14:30
lisitsynbut can't set14:30
@HeikoSI see14:30
@HeikoSyes14:30
@HeikoSgood14:30
@HeikoSyeah thats ok for our purpose14:30
@HeikoSwe just want this multicore paradigma to work14:30
@HeikoSthat is:14:31
@HeikoSi have one machine and set of features14:31
@HeikoSand then want to train/test in different threads14:31
@HeikoSso I need copies on the machine14:31
@HeikoSof14:31
@HeikoSand the features14:31
@HeikoSthe feature copies will then get different subsets assigned14:31
lisitsynah cool14:31
@HeikoSand the machines use their own state to train14:31
@HeikoSlisitsyn: but the point is14:31
@HeikoSthey have to have their own variables14:32
@HeikoS(state)14:32
@HeikoSas it is change by training14:32
lisitsynyeah I start to see a problem14:32
@HeikoSso immutable maybe not14:32
@HeikoSwe actually need a copy of the object, which just re-uses the feature matrix memory14:32
lisitsynHeikoS: well ok no problem14:32
lisitsynwe can create mutable copy14:32
@HeikoSbut like the alpha vector of a kernel machine has to be different for each copy14:32
lisitsynwe just inherit all parameters14:32
Saurabh7and also kernel ?14:32
lisitsynyeah everything it has14:33
Saurabh7I mean the kernel has to diferent too for each copy14:33
lisitsynwhy?14:33
lisitsynah14:33
Saurabh7beacuse ti can only looka t one subset at a time14:34
@HeikoSay14:34
lisitsynshheatz14:34
@HeikoSyeah the kernel also has to be copied14:34
@HeikoSso its not really shallow copy14:34
lisitsynhaha14:34
@HeikoSthe only thing that is shared14:34
@HeikoSis the feature memory14:34
Saurabh7is feature matrix14:34
@HeikoShow to do that14:34
Saurabh7yep14:34
lisitsynwell you still copy14:34
@HeikoSit is not a deep copy either14:34
@HeikoSas we dont want to duplicate feature data14:34
lisitsynbut then clone kernel14:34
Saurabh7just new feature obj pointing at the feature matrix14:35
@HeikoScloning kernel close the assigned features14:35
lisitsynyou just explicitly re-clone what you need14:35
@HeikoSlisitsyn: no good14:35
lisitsynwhy?14:35
@HeikoSlisitsyn: has to work for every machine we have14:35
@HeikoSlisitsyn: so need to implement this via virtual calls14:35
lisitsynyeah but all this kernel stuff has to be implemented somewhere14:36
lisitsyndo you want something really generic?14:36
@HeikoSlisitsyn: what is "kernel stuff"14:36
lisitsynlike copying kernels blabla14:36
@HeikoSyeah14:36
@HeikoSmmh14:36
@HeikoSmaybe deep copy is best after all14:36
lisitsynI mean it sounds like something adhoc14:36
@HeikoSthat is: copy feature data as well?14:36
@HeikoSbut no14:36
@HeikoSthink about precomputed kernel matrix or kernel cache14:37
lisitsynHeikoS: we can make features copy-on-write14:37
lisitsynonce you change it you copy it14:37
@HeikoSI mean we have to deep copy everything, apart from features, which need to be shallow copied14:37
lisitsynHeikoS: we can always do deep copies14:37
lisitsynbut support sharing of immutable stuff14:37
@HeikoSlisitsyn: yeah14:38
@HeikoSthat would be the way14:38
@HeikoSlisitsyn: how to do that?14:38
lisitsynI mean as long as you don't change the matrix14:38
lisitsynHeikoS: well any method that can change features14:38
lisitsynwould copy it14:38
@HeikoSyeah14:39
@HeikoSlisitsyn: so if we had proper setup of read/write methods14:39
lisitsynyes14:39
@HeikoSand how is that done?14:39
@HeikoScopy on write?14:39
lisitsynHeikoS: well any operation that writes also copies14:39
lisitsynI mean it copies before writing14:40
@HeikoSlisitsyn: example?14:40
lisitsynok14:40
lisitsynsay you have features  X14:40
lisitsyn1 2 3 414:40
lisitsyn2 3 4 514:40
lisitsynyou can assign Z = X14:40
lisitsynthey would still use the same matrix14:40
lisitsynonce you want to change Z14:41
lisitsynZ[1,3] = 214:41
lisitsynor anything like that14:41
lisitsynwhole matrix is copied14:41
lisitsynand then changed14:41
lisitsynso now they are pointing to different matrices14:41
@HeikoSand Z is replaced with copy?14:41
lisitsynyes14:41
lisitsynnow we have two matrices14:41
@HeikoSI see the idea but I dont quite see how this is implemented14:41
@HeikoSseems tricky14:41
lisitsynwell it is just sgmatrix14:42
lisitsynwith all non-const methods14:42
@HeikoSI see14:42
lisitsynspawning a copy14:42
@HeikoSso we would do this on all SG* structures that actually manage memory14:42
@HeikoSand the all CSGObject are deep copied14:42
lisitsynyeah14:42
lisitsynit sounds good to me14:43
@HeikoSlisitsyn: so then the deep copy needs to copy the SG* stuff in this way14:43
@HeikoSso it is not really deep copy14:43
@HeikoSbut another function14:43
@HeikoSdeepView14:43
@HeikoS;)14:43
lisitsynmaybe14:43
@HeikoSmmh14:44
@HeikoSlisitsyn: need prototype14:44
@HeikoSlisitsyn: Ill draft one14:44
@HeikoSSaurabh7:14:44
@HeikoSfor now just use clone then14:44
@HeikoSwe can start with that and then optimise this later14:44
lisitsynHeikoS: yeah let me know14:44
Saurabh7clone does cop the features too i think14:45
@HeikoSlisitsyn: yes14:45
Saurabh7for machine->clone14:45
lisitsynleaving for a bit now, late breakfast14:45
@HeikoSehm14:45
@HeikoSSaurabh7:  yes14:45
@HeikoSlisitsyn: ok enjoy14:45
@HeikoSSaurabh7: we do deep copy for now14:45
@HeikoSthat is: everything is duplicated14:45
@HeikoSsince we cannot distinguish between read and write operations at the moment14:45
@HeikoSSaurabh7: I will try to draft something for that, we can then update the version with close14:45
@HeikoSclone14:45
@HeikoSSaurabh7: so this should make things very easy for you14:46
@HeikoSSaurabh7: you just clone the machine14:46
Saurabh7with clone it will be completely generic14:46
@HeikoSthen ask for its features (which were also cloned)14:46
Saurabh7ust use Machine *14:46
@HeikoSand add subsets there14:46
@HeikoSexactly14:46
@HeikoSchange it and see whether it works for SVM14:46
Saurabh7yes it works14:46
Saurabh7I had tried already14:46
@HeikoSok cool14:46
@HeikoSthen send a PR for discussion14:47
-!- leagoetz [~leagoetz@host-92-0-162-192.as43234.net] has joined #shogun14:47
@HeikoSSaurabh7: once things are discussed, we have to test this with as many machine as possible14:47
@HeikoSSaurabh7: might even want to write an automatically generated unit test for every machine instance for that14:47
Saurabh7HeikoS: clone version ?14:47
@HeikoSSaurabh7: and see what things break14:47
@HeikoSSaurabh7: ??14:48
@HeikoSsanuj: you still need help?14:48
Saurabh7i mean test for the clone version ?14:48
Saurabh7ok i will do that14:48
sanujHeikoS, no :)14:48
sanujHeikoS, sergey helped me14:48
@HeikoSsanuj: great! :)14:48
@HeikoSSaurabh7: yeah, something that runs every machine with x-validation14:48
@HeikoSSaurabh7: but later14:48
@HeikoSstart with a simple test14:49
@HeikoSand we can discuss in the PR14:49
@HeikoSSaurabh7: one thing also is: parallelise over runs as well14:49
@HeikoSnot just folds14:49
@HeikoSthat is, the pragma mp parallel is around the runs loop14:49
Saurabh7ok14:49
Saurabh7yep14:49
@HeikoSand the pragma omp for around the fold loop14:49
@HeikoSSaurabh7: and then pray that nothing explodes ;)14:50
@HeikoSSaurabh7: maybe it is not the best idea actually14:50
Saurabh7that will intorduce14:50
@HeikoSsince the permutation of features changes14:50
Saurabh7new complciations14:50
@HeikoSbut it is read only14:50
Saurabh7yep not sure we can do on both14:50
@HeikoSI think should work14:50
@HeikoSbut start with fold parallel14:50
@HeikoSSaurabh7: thanks for your cookbook14:58
@HeikoSjust put some comments14:58
@HeikoSshould be quick to fix14:58
Saurabh7HeikoS: Thanks !14:59
Saurabh7ok i need to pull data15:00
@HeikoSSaurabh7: yeah15:00
@HeikoSgit submodule init15:00
@HeikoSgit submodule update15:01
@HeikoSthen put the generated integration test file from your LDA to the data folder15:01
@HeikoSsend a patch for data15:01
@HeikoSupdate the data version in your cookbook commit15:01
Saurabh7yep15:02
Saurabh7HeikoS: Is parallelize over runs alwasy useful ?15:03
Saurabh7if onyl 2 core then it wont parallelize folds15:03
Saurabh7ust thinking15:03
@HeikoSSaurabh7: yes it is15:03
@HeikoSimagine you have 4 cores15:03
@HeikoSand do 3 folds15:03
@HeikoSthen one core waits15:03
@HeikoSwhereas it could already start doing the first fold of the second run15:04
@HeikoSso what you need to do, is to precompute the folds for each run15:04
@HeikoSfolds_for_all_runs = precompute()15:04
@HeikoS#pragma omp parallel15:04
@HeikoSfor loop over runs15:04
@HeikoS#pragma omp for15:05
@HeikoSloop over folds15:05
@HeikoSsee what I mean?15:05
Saurabh7ok15:05
Saurabh7I was assuming it will assign all threads to runs15:05
Saurabh7and eventually fold loop will run onl on 1 thread15:05
@HeikoSno no15:07
@HeikoSeach thread will have exactly one fold15:07
@HeikoSbut you dont do the runs sequentially15:07
@HeikoSimagine you create a pool of tasks (here one task is one fold)15:07
@HeikoSthen you can add the tasks of all runs15:07
@HeikoSand make your threadpool solve all of them, without fixing the order15:08
@HeikoSpragma omp parallel is just like starting a thread pool15:08
@HeikoSand #pragma omp for just adds tasks to that pool15:08
@HeikoSSaurabh7: did I confuse you with that? :D15:11
Saurabh7HeikoS: yes :D15:11
@HeikoSSaurabh7: ok then, let us start with parallelising over folds only15:11
@HeikoSpolish a bit15:11
Saurabh7its ok i will get it eventually15:11
@HeikoSand then change15:11
Saurabh7yup15:11
@HeikoSok?15:11
@HeikoScool15:12
@HeikoSSaurabh7: I gotta go now, ping me when you update the PR15:12
-!- leagoetz [~leagoetz@host-92-0-162-192.as43234.net] has quit [Remote host closed the connection]15:16
shogun-buildbotbuild #16 of xenial - libshogun is complete: Failure [failed test]  Build details are at http://buildbot.shogun-toolbox.org/builders/xenial%20-%20libshogun/builds/16  blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>15:21
shogun-buildbotbuild #2878 of bsd1 - libshogun is complete: Failure [failed configure]  Build details are at http://buildbot.shogun-toolbox.org/builders/bsd1%20-%20libshogun/builds/2878  blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>15:22
sanujlisitsyn, are we going to have macros defined for Type<int>, Type<double> etc15:35
lisitsynwhat's type?15:35
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has quit [Quit: Leaving.]15:35
sanujlisitsyn, https://github.com/shogun-toolbox/aer/blob/master/src/aer/base/type.hpp15:37
sanujused to get parameters15:37
lisitsynhmm is it really needed?15:37
lisitsyndon't remember how I used it15:37
sanujget(string name, type)15:37
sanuji was wondering the same15:37
sanujlisitsyn, usage is here https://github.com/shogun-toolbox/aer/blob/master/src/aer/base/object.hpp#L4415:38
lisitsynohh15:39
lisitsynok15:39
lisitsynyes15:39
lisitsynmakes sense15:39
lisitsynsanuj: but not typedefs15:39
lisitsynerghh15:39
sanujcool15:39
lisitsynnot macroses15:39
lisitsynbut typedefs15:39
sanujokay15:39
sanuj:)15:39
lisitsyntypedef Type<int> IntType;15:39
lisitsyn...15:39
sanujlisitsyn, this can be done in swig15:40
lisitsynor something like that15:40
lisitsynyeah15:40
sanujfor c++ no typedefs?15:40
lisitsynidk if they are needed now15:41
sanujlisitsyn, i won't put them now15:41
sanujlet's see later15:41
lisitsynok15:41
sanujType<int> int_type(); gauss_kernel->get("distance", int_type);15:48
sanujlisitsyn, gives error ^15:48
lisitsynint_type()??15:48
lisitsynwhy () here? you defined a pointer to function that returns Type<int> this way15:49
sanujlisitsyn, Type<int> int_type; gives seg fault15:50
sanujlisitsyn, int_type() --> calls constructor to create object right?15:50
lisitsynno15:50
lisitsynType<int>(); calls constructor15:50
lisitsynT something(); is a pointer to function that returns T15:50
sanujlisitsyn, Tag<int> distance("distance");15:51
lisitsynthat's correct15:51
lisitsynbut not ()15:51
sanujokay15:51
sanujlisitsyn, so do i use new then?15:51
lisitsynno15:52
lisitsynthis can't segfault -> Type<int> int_type;15:52
lisitsynyou sure?15:52
sanujthis segfaults gauss_kernel->get("distance", int_type)15:52
sanujwhen i do abovee15:52
sanujlisitsyn, Type<int> int_type;15:54
sanujEXPECT_EQ(gauss_kernel->get("distance", int_type), 10);15:54
sanuj^^ seg faults when i run the unit test15:54
lisitsynyeah well at least it compiles right? ;)15:54
sanujyeah compiles15:54
sanuj:)15:54
lisitsynI am not sure what can be wrong15:54
lisitsyntry to run it using valgrind15:55
sanujlisitsyn, how to run one individual test15:55
lisitsyngo to build/15:55
lisitsynok don't remember15:56
lisitsyna sec15:56
lisitsynrecompiling16:02
lisitsynin a bit16:02
sanujlisitsyn, cool16:02
sanujlisitsyn, you have more time on weekends :)16:03
sanujfor shogun16:03
lisitsynsanuj: yeah sometimes16:04
shogun-buildbotbuild #7 of FC23 - libshogun - aarch64 is complete: Failure [failed test]  Build details are at http://buildbot.shogun-toolbox.org/builders/FC23%20-%20libshogun%20-%20aarch64/builds/7  blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>16:04
lisitsynwell at least not at job16:04
lisitsynwhich saves me from a lot of distractions :D16:04
sanujeyah16:04
sanujyeah16:04
lisitsynsanuj: do you have sth like16:25
lisitsyntests/unit/shogun-unit-tests16:25
lisitsynin your build?16:26
sanujlisitsyn, yes16:26
lisitsynsanuj: --gtest_filter=*Something*16:27
lisitsynthat's the option you need16:27
lisitsynjust some regexp16:27
sanujalright16:28
sanujlisitsyn, i'm going to have dinner16:28
sanujwill try after that16:28
lisitsynok16:28
lisitsynwon't be there probably16:28
lisitsynso if you need to debug it16:28
lisitsynrun valgrind tests/unit/shogun-unit-tests16:28
lisitsynor use gdb16:28
sanujlisitsyn, okay16:28
sanuji'll start  a PR before sleeping16:28
lisitsynok cool16:29
sanujyou can give feedback there16:29
lisitsynsanuj: can you email me once done?16:29
sanujlisitsyn, yes i'll16:29
lisitsynI can't follow all the PRs so they go directly to some kind of /dev/null16:29
lisitsyn:D16:29
sanujhaha16:29
sanujyeah i'll send you a mail16:29
sanujsee you tomorrow16:29
lisitsynsee you16:30
-!- sanuj [~sanuj@117.203.3.118] has quit [Remote host closed the connection]16:31
-!- sanuj [~sanuj@117.203.3.118] has joined #shogun17:20
-!- besser82 [~besser82@fedora/besser82] has quit [Ping timeout: 244 seconds]17:44
shogun-buildbotbuild #276 of deb1 - libshogun - PR is complete: Failure [failed cookbook]  Build details are at http://buildbot.shogun-toolbox.org/builders/deb1%20-%20libshogun%20-%20PR/builds/276  blamelist: sanuj19:36
-!- lupinix [~quassel@fedora/lupinix] has quit [Remote host closed the connection]19:41
sanujlisitsyn, there?19:46
-!- lupinix [~quassel@fedora/lupinix] has joined #shogun19:46
lisitsynыф19:46
lisitsynsanuj: apparently yes19:46
sanujgot time?19:46
lisitsynyes19:46
sanuji sent you a mail just now19:46
sanuji was about to go to sleep19:46
-!- lupinix [~quassel@fedora/lupinix] has quit [Remote host closed the connection]19:46
sanujbut we can fix the bug if you have time19:46
sanujlisitsyn, check gmail inbox19:47
lisitsynsanuj: its up to you19:47
-!- lupinix [~quassel@v22014041761818086.yourvserver.net] has joined #shogun19:47
-!- lupinix [~quassel@v22014041761818086.yourvserver.net] has quit [Changing host]19:47
-!- lupinix [~quassel@fedora/lupinix] has joined #shogun19:47
lisitsynuhmm for some reason this branch looks crappy19:47
lisitsynI see other commits19:47
sanujyes19:47
lisitsynokay this is fixable19:47
sanujjust see my commit19:47
-!- lupinix [~quassel@fedora/lupinix] has quit [Remote host closed the connection]19:48
-!- lupinix [~quassel@fedora/lupinix] has joined #shogun19:49
lisitsynsanuj: where does it fail?19:52
lisitsynso get by tag works19:52
lisitsynbut get by string + type does not?19:52
sanujlisitsyn, yes get by string + type does not work19:53
lisitsynsanuj: ok have to go now, let me try to reproduce that on my machine19:54
lisitsynI'll put a comment then19:54
sanujlisitsyn, you can try to replicate this in aer19:54
sanujit will be easy19:54
sanujto debug19:54
sanujeven i'm going to sleep19:55
sanujwill see your comments tomorrow19:55
sanujlisitsyn, goodnight19:55
-!- sanuj [~sanuj@117.203.3.118] has quit [Remote host closed the connection]19:56
shogun-buildbotbuild #277 of deb1 - libshogun - PR is complete: Success [build successful]  Build details are at http://buildbot.shogun-toolbox.org/builders/deb1%20-%20libshogun%20-%20PR/builds/27721:27
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has joined #shogun21:51
-!- mode/#shogun [+o HeikoS] by ChanServ21:51
-!- besser82 [~besser82@fedora/besser82] has joined #shogun22:01
-!- mode/#shogun [+o besser82] by ChanServ22:01
@wikingy022:45
@wikingHeikoS: how's the ccache?22:45
@wiking:)22:45
shogun-buildbotbuild #2879 of bsd1 - libshogun is complete: Failure [failed configure]  Build details are at http://buildbot.shogun-toolbox.org/builders/bsd1%20-%20libshogun/builds/2879  blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>22:49
shogun-buildbotbuild #17 of xenial - libshogun is complete: Failure [failed test]  Build details are at http://buildbot.shogun-toolbox.org/builders/xenial%20-%20libshogun/builds/17  blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>22:49
-!- travis-ci [~travis-ci@ec2-54-211-50-200.compute-1.amazonaws.com] has joined #shogun23:21
travis-ciit's Heiko Strathmann'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/13363968123:21
-!- travis-ci [~travis-ci@ec2-54-211-50-200.compute-1.amazonaws.com] has left #shogun []23:21
shogun-buildbotbuild #8 of FC23 - libshogun - aarch64 is complete: Failure [failed test]  Build details are at http://buildbot.shogun-toolbox.org/builders/FC23%20-%20libshogun%20-%20aarch64/builds/8  blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>23:31
-!- besser82 [~besser82@fedora/besser82] has quit [Ping timeout: 252 seconds]23:32
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has quit [Quit: Leaving.]23:37
-!- OXPHOS [9d8b131c@gateway/web/freenode/ip.157.139.19.28] has joined #shogun23:38
-!- OXPHOS [9d8b131c@gateway/web/freenode/ip.157.139.19.28] has quit [Client Quit]23:39
--- Log closed Sun May 29 00:00:16 2016

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