IRC logs of #shogun for Monday, 2018-04-16

--- Log opened Mon Apr 16 00:00:26 2018
-!- HeikoS [~heiko@37.19.108.89] has quit [Quit: Leaving.]01:47
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4236 synchronized by shubham80803:05
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4236 synchronized by shubham80804:12
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4236 synchronized by shubham80804:16
-!- travis-ci [~travis-ci@ec2-54-221-131-22.compute-1.amazonaws.com] has joined #shogun04:23
travis-ciit's Shubham Shukla's turn to pay the next round of drinks for the massacre he caused in shubham808/shogun: https://travis-ci.org/shubham808/shogun/builds/36695123904:24
-!- travis-ci [~travis-ci@ec2-54-221-131-22.compute-1.amazonaws.com] has left #shogun []04:24
-!- travis-ci [~travis-ci@ec2-54-196-23-115.compute-1.amazonaws.com] has joined #shogun04:45
travis-ciit's Shubham Shukla's turn to pay the next round of drinks for the massacre he caused in shubham808/shogun: https://travis-ci.org/shubham808/shogun/builds/36695123904:45
-!- travis-ci [~travis-ci@ec2-54-196-23-115.compute-1.amazonaws.com] has left #shogun []04:45
-!- travis-ci [~travis-ci@ec2-23-20-242-232.compute-1.amazonaws.com] has joined #shogun05:02
travis-ciit's Shubham Shukla's turn to pay the next round of drinks for the massacre he caused in shubham808/shogun: https://travis-ci.org/shubham808/shogun/builds/36696344905:02
-!- travis-ci [~travis-ci@ec2-23-20-242-232.compute-1.amazonaws.com] has left #shogun []05:02
-!- travis-ci [~travis-ci@ec2-23-20-242-232.compute-1.amazonaws.com] has joined #shogun05:13
travis-ciit's Shubham Shukla's turn to pay the next round of drinks for the massacre he caused in shubham808/shogun: https://travis-ci.org/shubham808/shogun/builds/36696423305:13
-!- travis-ci [~travis-ci@ec2-23-20-242-232.compute-1.amazonaws.com] has left #shogun []05:13
-!- travis-ci [~travis-ci@ec2-23-20-242-232.compute-1.amazonaws.com] has joined #shogun05:37
travis-ciit's Shubham Shukla's turn to pay the next round of drinks for the massacre he caused in shubham808/shogun: https://travis-ci.org/shubham808/shogun/builds/36696423305:37
-!- travis-ci [~travis-ci@ec2-23-20-242-232.compute-1.amazonaws.com] has left #shogun []05:37
-shogun-buildbot:#shogun- Build nightly_bsd_license #136 is complete: Failure [test (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/4/builds/13606:52
-shogun-buildbot:#shogun- Build nightly_default #124 is complete: Success [build successful] - http://buildbot.shogun-toolbox.org:8080/#builders/17/builds/12408:24
-!- HeikoS [~heiko@77.243.26.231] has joined #shogun08:53
-!- mode/#shogun [+o HeikoS] by ChanServ08:53
-!- HeikoS [~heiko@77.243.26.231] has quit [Quit: Leaving.]08:59
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4216 synchronized by FaroukY09:33
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4206 synchronized by FaroukY10:12
-!- HeikoS [~heiko@77.243.26.231] has joined #shogun10:17
-!- mode/#shogun [+o HeikoS] by ChanServ10:17
lisitsyn../../src/shogun/libshogun.so.18.0: error: undefined reference to 'shogun::CCoverTreeKNNSolver::CCoverTreeKNNSolver(int, double, int, int, shogun::SGVector<int>)'10:29
lisitsynHeikoS: ^ I have something like that10:29
@HeikoSlisitsyn: mmmh10:29
@HeikoSso it is linked against10:29
@HeikoSsome gpl guard problem10:30
@HeikoSwhere does the linking error happen?10:30
@HeikoSgit submodule udpate10:30
@HeikoSlisitsyn:10:30
lisitsynah10:30
lisitsynsorry10:30
@HeikoSalso you broke the build :D10:30
@HeikoSlisitsyn: btw10:30
@HeikoSI will make features immutable from API, via overloading put and throwing an error10:30
@HeikoSOK with that?10:30
lisitsynyeah it seems I did10:30
lisitsynok10:30
lisitsynHeikoS: what did I broke?10:31
lisitsynI've seen some java example10:31
lisitsynbut python and libshogun works10:31
@HeikoSyes10:31
@HeikoSyou forgot to update the variable type10:31
lisitsynI see10:31
@HeikoSCrossValidationResult = evaluate()10:31
@HeikoSbut evaluate returns base type10:31
@HeikoSso in ajva and c# this breaks10:31
@HeikoSsee what I mean?10:32
lisitsynyes10:32
@HeikoSlisitsyn: easy to fix10:32
lisitsynthere was obtain from generic10:32
lisitsynso I get rid of them but added back only 2 of them10:32
lisitsynand missed third10:32
@sukey[https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/351a9a389acee1aa20da518f9065622c19a583fb by lisitsyn10:36
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4250 synchronized by lisitsyn10:36
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4257 synchronized by iglesias10:50
@HeikoSlisitsyn: want me to check stuff?10:57
@HeikoSwhich one first?10:57
lisitsynHeikoS: if you fix the multiplekernel thing it would be nice10:59
@HeikoSlisitsyn: where is that?10:59
lisitsynI am soon to leave, won't make it before tonight10:59
@HeikoSthe meta example in the develop?10:59
lisitsynthe bug I introduced10:59
lisitsynyes10:59
@HeikoSok I will look into that10:59
@HeikoSwiking: REQUIRE("Number of feature vectors (%d) must be equal to number of samples (%d))"11:12
@HeikoSNumber of feature vectors (%d) must be equal to number of samples (%d)11:12
@HeikoSSG_REQUIRE_EQ(a, "number of feature vectors", b, "number of samples")11:13
@HeikoSSG_REQUIRE_MEMBER(get<CInferenceMetho>("method").value())11:45
@HeikoS"Member method is not provided"11:45
@HeikoSSG_REQUIRE_PARAM(data)11:45
@HeikoS"Parameter data needs to be provided"11:45
@HeikoS11:45
@HeikoSSG_REQUIRE_EQ(foo, "foo", data->-get_num_classes(), "bar")11:45
@HeikoS"Provided foo (%d) must be equal to bar (%d)"11:45
@HeikoSlisitsyn:11:45
-!- travis-ci [~travis-ci@ec2-54-221-131-22.compute-1.amazonaws.com] has joined #shogun11:55
travis-ciit's Sergey Lisitsyn'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/36704711711:55
-!- travis-ci [~travis-ci@ec2-54-221-131-22.compute-1.amazonaws.com] has left #shogun []11:55
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4258 karlnapf added label: "Documentation"12:01
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4258 karlnapf added label: "good first issue"12:01
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4258 opened by karlnapf12:01
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/425812:01
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/425812:02
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/425812:02
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4259 karlnapf added label: "development tasks"12:09
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4259 opened by karlnapf12:09
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4259 karlnapf added label: "Cleanups"12:09
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4259 karlnapf added label: "good first issue"12:09
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4206 synchronized by FaroukY12:10
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/425912:10
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/425912:10
lisitsynHeikoS: yes?12:12
@HeikoSlisitsyn: ?12:12
lisitsynHeikoS: you hilited me12:13
@HeikoSlisitsyn: ah yes, see the error msg and give your thoughts12:13
lisitsynlack some context12:13
lisitsynHeikoS: what's that? :)12:19
@HeikoSlisitsyn: nevermind actually :)12:19
-!- travis-ci [~travis-ci@ec2-54-221-131-22.compute-1.amazonaws.com] has joined #shogun12:25
travis-ciit's Sergey Lisitsyn'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/36704711712:25
-!- travis-ci [~travis-ci@ec2-54-221-131-22.compute-1.amazonaws.com] has left #shogun []12:25
@wikinglisitsyn, here?12:37
@wikinglisitsyn, there's no way we can some an object that has unique_ptr as a ctor arg... :<13:02
lisitsynwiking: example?13:19
@wikingFileOutputStream(std::unique_ptr<File> file)13:21
@wikingbut since i have to do JsonSerilizer.attach(Some<OutputStream>...)13:22
@wikingi have to wrap FileOutputStream with some13:22
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4257 synchronized by iglesias13:24
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4257 merged by karlnapf13:25
@sukey[https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/ebd45aee101347a4ef91e9253806f14a7fb486ca by karlnapf13:25
-shogun-buildbot:#shogun- Build trusty - libshogun - viennacl #410 is complete: Failure [failed test (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/6/builds/41013:27
lisitsynwiking: yes, why unique?13:32
lisitsynunique is not going to be good for swig13:32
lisitsynit can't handle that gracefully13:32
lisitsynI'd say swig means everything is shared13:32
@wikingnono13:32
@wikingthis is never exposed to swig13:33
@wikingthats the point13:33
lisitsynwiking: just wrap everything into Some, that's our swig thing13:37
@wikingyes13:38
@wikingbut i dont want swig-ed this13:38
@wikingnor i want it to be SGobject13:38
-!- witness [uid10044@gateway/web/irccloud.com/x-yrffbwfyzhzcshgf] has joined #shogun13:40
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4236 synchronized by shubham80813:52
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4236 synchronized by shubham80813:56
-!- dseiko [027d0f4f@gateway/web/freenode/ip.2.125.15.79] has joined #shogun14:01
dseikoHey! for GSoC, results cannot be announced yet right?14:02
-!- HeikoS [~heiko@77.243.26.231] has quit [Read error: Connection reset by peer]14:12
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4236 synchronized by shubham80814:26
-!- HeikoS [~heiko@77.243.19.33] has joined #shogun14:29
-!- mode/#shogun [+o HeikoS] by ChanServ14:29
-!- dseiko [027d0f4f@gateway/web/freenode/ip.2.125.15.79] has quit [Quit: Page closed]14:37
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4236 synchronized by shubham80814:42
-!- travis-ci [~travis-ci@ec2-54-221-131-22.compute-1.amazonaws.com] has joined #shogun14:42
travis-ciit's Shubham Shukla's turn to pay the next round of drinks for the massacre he caused in shubham808/shogun: https://travis-ci.org/shubham808/shogun/builds/36711661114:42
-!- travis-ci [~travis-ci@ec2-54-221-131-22.compute-1.amazonaws.com] has left #shogun []14:42
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4236 synchronized by shubham80814:43
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4236 synchronized by shubham80814:44
-!- travis-ci [~travis-ci@ec2-23-20-242-232.compute-1.amazonaws.com] has joined #shogun14:51
travis-ciit's Shubham Shukla's turn to pay the next round of drinks for the massacre he caused in shubham808/shogun: https://travis-ci.org/shubham808/shogun/builds/36711778314:51
-!- travis-ci [~travis-ci@ec2-23-20-242-232.compute-1.amazonaws.com] has left #shogun []14:51
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4236 synchronized by shubham80815:09
-!- travis-ci [~travis-ci@ec2-54-163-50-118.compute-1.amazonaws.com] has joined #shogun15:17
travis-ciit's Shubham Shukla's turn to pay the next round of drinks for the massacre he caused in shubham808/shogun: https://travis-ci.org/shubham808/shogun/builds/36712847915:17
-!- travis-ci [~travis-ci@ec2-54-163-50-118.compute-1.amazonaws.com] has left #shogun []15:17
-!- travis-ci [~travis-ci@ec2-54-221-131-22.compute-1.amazonaws.com] has joined #shogun15:37
travis-ciit's Shubham Shukla's turn to pay the next round of drinks for the massacre he caused in shubham808/shogun: https://travis-ci.org/shubham808/shogun/builds/36713513715:37
-!- travis-ci [~travis-ci@ec2-54-221-131-22.compute-1.amazonaws.com] has left #shogun []15:37
-!- travis-ci [~travis-ci@ec2-23-20-242-232.compute-1.amazonaws.com] has joined #shogun15:43
travis-ciit's Fernando J. Iglesias Garc?a'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/36710721315:43
-!- travis-ci [~travis-ci@ec2-23-20-242-232.compute-1.amazonaws.com] has left #shogun []15:43
-!- witness [uid10044@gateway/web/irccloud.com/x-yrffbwfyzhzcshgf] has quit [Quit: Connection closed for inactivity]15:54
-!- travis-ci [~travis-ci@ec2-54-221-131-22.compute-1.amazonaws.com] has joined #shogun16:17
travis-ciit's Fernando Iglesias's turn to pay the next round of drinks for the massacre he caused in iglesias/shogun: https://travis-ci.org/iglesias/shogun/builds/36717341716:17
-!- travis-ci [~travis-ci@ec2-54-221-131-22.compute-1.amazonaws.com] has left #shogun []16:17
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4234 synchronized by sunalbert16:28
-!- travis-ci [~travis-ci@ec2-54-221-131-22.compute-1.amazonaws.com] has joined #shogun16:31
travis-ciit's Shubham Shukla's turn to pay the next round of drinks for the massacre he caused in shubham808/shogun: https://travis-ci.org/shubham808/shogun/builds/36714588216:31
-!- travis-ci [~travis-ci@ec2-54-221-131-22.compute-1.amazonaws.com] has left #shogun []16:31
-!- travis-ci [~travis-ci@ec2-54-221-131-22.compute-1.amazonaws.com] has joined #shogun16:51
travis-ciit's Shubham Shukla's turn to pay the next round of drinks for the massacre he caused in shubham808/shogun: https://travis-ci.org/shubham808/shogun/builds/36714588216:51
-!- travis-ci [~travis-ci@ec2-54-221-131-22.compute-1.amazonaws.com] has left #shogun []16:51
@sukey[https://github.com/shogun-toolbox/shogun] Wiki page: Hackhaton-TODOs edited by iglesias17:06
@wikinglisitsyn, ok now i have a fileoutputstream finally that is unittested :)17:33
@wikingbufferedoutputstream is still missing :(17:34
@wikingbut lemme now build from the other side... visitor17:34
@wikinglisitsyn, lemme know when you are here18:14
@wikingcoz there's a conceptual problem :)18:15
@wikingafaik you dont want CSerializer::write(Some<CSGObject> object) ... unless we make CSerializer friend of SGObject i cannot have reverence on Self.map18:15
@wikingthat contains the tags which i can visit18:15
@wikingbecause otherwise i cannot do visitors on SGObject18:16
lisitsynwiking: I think we should add a method "visit"18:17
lisitsynthat accepts Visitor*18:17
lisitsynthat visits all the parameters18:17
@wikingmmm18:17
lisitsynin the SGObject18:17
@wikingi see18:17
@wikingyeah that's anther way :)18:17
lisitsynso SGObject visits itself18:17
@wikingyeye after that its easy18:17
@wikingbut with the current setup this aint' working18:17
@wikingbtw on the end of the day18:17
@wikingto save an object18:18
@wikingyou want this pseudo code:18:18
@wikingJsonSerializer js;18:18
@wikingjs.attach(OutputStream);18:18
@wikingjs.write(myObj)18:19
@wiking?18:19
@wikingas this could simply be: myObject.serialize(some<JsonSerializer>(outputStream))18:19
@wikingright? :)18:19
lisitsynwiking: why not let serializer call some method of sgobject?18:22
lisitsynsgobject.visit(serializingVisitor)18:22
@wikinglisitsyn, yeah i mean that's another story18:22
@wikingnow i meant that once we are done18:22
@wikingwith the serialization18:23
@wikingthe first example is how you would serialize an obj18:23
@wikingwhich is a bit clunky18:23
@wikingcompared to the other one18:23
@wikingimo18:23
lisitsynwe can make a helper method for that18:23
@wikingi mean if we take java is the same: void writeObject(java.io.ObjectOutputStream out)18:24
@wikingright?18:24
@wiking:)18:24
@wikingso that later you can say18:24
lisitsynyes18:25
@wikingsgobjec.writeObject(out)18:25
@wikingbut not18:25
@wikingout.writeObject(object)18:25
@wiking:)18:25
@wikinganyhow18:25
@wikingbecause now in writeObject this way18:25
@wikingi would do this back and forth and have a .visitor etc18:25
@wikingwhereas if i do this the other way round18:26
lisitsynyou still have to have visitor18:26
@wikingi can keep everything inside sgobject18:26
@wikingyeey18:26
@wikingbut everything is inside no? :)18:26
lisitsynotherwise you put json into sgobject18:26
@wikingah but you can past that as a template param :P18:26
lisitsynin java it is so because there is just one way to serialize18:26
lisitsynbut we have at least 318:27
@wikingtemplate<JSonSerializer>  SGObject::serializer(outputsream)18:27
@wikingand whatever you pass as template arg you know there's a visitor etc18:28
@wikingso you still dont ahve to make all that part of sgobject18:28
@wiking?18:28
@wikingwouldn't that work?18:28
@wikingarg18:48
@wikingbtw18:49
@wikinglisitsyn, it's even worse with serialvisitor... as we need a sort of18:49
@wikinganyvisitor18:49
@wikingbuut acutally it's more like18:49
@wikingon(string key, T v)18:49
@wiking:)18:49
@wikingso basically SerialVisitor is class SerialVisitor ( on(k,v) <- all typed and then it actually holds an implementation on AnyVisitor imoplementation so that one can pass that in SGobject to visit the map18:51
@wiking:)18:51
@wikingargh18:51
@wikingthis looks rather !@#$18:51
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4260 opened by iglesias18:57
-!- HeikoS [~heiko@77.243.19.33] has quit [Quit: Leaving.]19:02
-!- HeikoS [~heiko@77.243.19.33] has joined #shogun19:04
-!- mode/#shogun [+o HeikoS] by ChanServ19:04
@sukey[https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/617e1714f6e859f056025747a8aec9fb6c003121 by iglesias19:08
@sukey[https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/a45d28355b537960537308ba12bede265763d368 by iglesias19:09
-!- HeikoS [~heiko@77.243.19.33] has quit [Quit: Leaving.]19:30
-!- HeikoS [~heiko@77.243.19.33] has joined #shogun19:30
-!- mode/#shogun [+o HeikoS] by ChanServ19:30
-!- HeikoS [~heiko@77.243.19.33] has quit [Ping timeout: 260 seconds]19:43
-!- travis-ci [~travis-ci@ec2-107-21-150-51.compute-1.amazonaws.com] has joined #shogun20:02
travis-ciit's Fernando J. Iglesias Garc?a'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/36726406520:02
-!- travis-ci [~travis-ci@ec2-107-21-150-51.compute-1.amazonaws.com] has left #shogun []20:02
@wikinglisitsyn, pingu20:37
-!- travis-ci [~travis-ci@ec2-54-144-195-124.compute-1.amazonaws.com] has joined #shogun20:37
travis-ciit's Fernando J. Iglesias Garc?a'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/36726406520:37
-!- travis-ci [~travis-ci@ec2-54-144-195-124.compute-1.amazonaws.com] has left #shogun []20:37
-!- travis-ci [~travis-ci@ec2-107-21-150-51.compute-1.amazonaws.com] has joined #shogun20:41
travis-ciit's Fernando J. Iglesias Garc?a'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/36726432320:41
-!- travis-ci [~travis-ci@ec2-107-21-150-51.compute-1.amazonaws.com] has left #shogun []20:41
-!- travis-ci [~travis-ci@ec2-54-144-195-124.compute-1.amazonaws.com] has joined #shogun21:06
travis-ciit's Fernando J. Iglesias Garc?a'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/36726432321:06
-!- travis-ci [~travis-ci@ec2-54-144-195-124.compute-1.amazonaws.com] has left #shogun []21:06
lisitsynwiking: hey21:34
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4168 synchronized by syashakash21:39
@wikinglisitsyn, hoy21:54
lisitsynwiking: ok21:55
lisitsyncatched21:55
lisitsyn:)21:55
lisitsynso what's up21:55
@wikingkk21:55
@wikingfinally21:55
@wikingso have you seen my comments above21:55
@wikingabout SerialVisitor that holds a specific AnyVisitor21:56
lisitsynI think I missed what's SerialVisitor21:57
@wikingok22:03
@wikingso the idea is that in need to store in the json the (key, value) tuple right? that is coming from Self->map22:04
lisitsynyes22:04
@wikingbasically the only way i can store in a json or any kv store22:04
@wikingthat i need22:04
lisitsynvisit(string, any) { write(key); any.visit(writer);  }22:05
lisitsynsomething like that?22:05
@wiking.add(key, value);22:05
@wikingyeah basiucally22:05
@wikingthat should be it righT? :)22:05
lisitsynyes so key value visitor22:05
lisitsynwiking: but that's fine?22:06
lisitsynI mean the interface is simple22:06
@wikingyeah i know22:07
@wikingbut its just clunky :P22:07
lisitsynclass ParameterVisitor { void visit(string key, any value); }22:07
lisitsynwiking: I don't see anything clunky :P22:08
lisitsynwhat's wrong?22:08
@wikingi mean it adds another abstraction22:08
@wikingover AnyVisitor22:08
lisitsynnot really22:09
@wikingi mean on the concept22:09
lisitsynParameterVisitor may not even use AnyVisitor22:09
lisitsynthey are quite separated22:09
@wikingmmm so you want to add support to any for ParameterVisitor?22:10
@wikingi mean because you need to access any22:10
lisitsynyeah just accept any22:10
lisitsynand then you can do anything you want with any22:10
lisitsynI mean parameter visitor visits parameter and then it can use anyvisitor to print the value22:12
lisitsynthey're like composing on top of each other22:12
@wikingyeah22:12
@wikinghence my sentence about another abstraction over anyvisitor22:12
@wiking:P22:12
@wikingi.e. on any22:12
@wiking:D22:12
lisitsynwiking: other way is that22:12
lisitsynyou just provide necessary methods22:12
lisitsynto introspect the object22:12
lisitsynthis might work as well22:13
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4260 merged by iglesias22:13
@sukey[https://github.com/shogun-toolbox/shogun] iglesias pushed 2 commits:22:13
@sukeyhttps://github.com/shogun-toolbox/shogun/commit/9ac2c55a2063d9835193e10091c5283718d5993922:13
@sukeyhttps://github.com/shogun-toolbox/shogun/commit/8da4063178562011ae82686bab6e96ca5b1e1e5822:13
lisitsynparameteriterator or something would work as well22:14
-shogun-buildbot:#shogun- Build trusty - libshogun - viennacl #413 is complete: Success [build successful] - http://buildbot.shogun-toolbox.org:8080/#builders/6/builds/41322:14
lisitsynI don't know what way is better22:14
-!- travis-ci [~travis-ci@ec2-54-221-31-242.compute-1.amazonaws.com] has joined #shogun22:29
travis-ciit's syashakash's turn to pay the next round of drinks for the massacre he caused in syashakash/shogun: https://travis-ci.org/syashakash/shogun/builds/36732713022:29
-!- travis-ci [~travis-ci@ec2-54-221-31-242.compute-1.amazonaws.com] has left #shogun []22:29
-!- travis-ci [~travis-ci@ec2-107-21-150-51.compute-1.amazonaws.com] has joined #shogun22:43
travis-ciit's syashakash's turn to pay the next round of drinks for the massacre he caused in syashakash/shogun: https://travis-ci.org/syashakash/shogun/builds/36732713022:43
-!- travis-ci [~travis-ci@ec2-107-21-150-51.compute-1.amazonaws.com] has left #shogun []22:43
-!- travis-ci [~travis-ci@ec2-54-144-195-124.compute-1.amazonaws.com] has joined #shogun23:03
travis-ciit's Fernando J. Iglesias Garcia'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/36734274123:03
-!- travis-ci [~travis-ci@ec2-54-144-195-124.compute-1.amazonaws.com] has left #shogun []23:03
-!- travis-ci [~travis-ci@ec2-54-144-195-124.compute-1.amazonaws.com] has joined #shogun23:14
travis-ciit's Fernando J. Iglesias Garcia'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/36734274123:14
-!- travis-ci [~travis-ci@ec2-54-144-195-124.compute-1.amazonaws.com] has left #shogun []23:14
--- Log closed Tue Apr 17 00:00:28 2018

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