--- Log opened Mon Feb 05 00:00:49 2018 | ||
-!- RIANRFteamextr [~fxpmeg@176.215.246.142] has joined #shogun | 00:52 | |
RIANRFteamextr | ???????????????? IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! vmrac: shogun-buildbot ironstark durovo ?????????? | 00:52 |
---|---|---|
RIANRFteamextr | ???????????? IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! zzqwwyqbc: durovo sukey tctara ????????????????? | 00:52 |
RIANRFteamextr | ??????????????? IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! wdqjtklih: durovo shogun-buildbot witness ?????????????? | 00:52 |
RIANRFteamextr | ???????????? IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! xciomr: sonney2k_ rcurtin sukey ????????????? | 00:52 |
RIANRFteamextr | ???????????? IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! sgoaw: durovo rcurtin sonney2k_ ???????????? | 00:52 |
RIANRFteamextr | ????????????????? IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! ehtpfcvw: nikhilweee shogun-buildbot ironstark ???????????? | 00:52 |
RIANRFteamextr | ?????????? IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! pywdca: nikhilweee sukey shogun-t1olbox ??????????????????? | 00:52 |
RIANRFteamextr | ??????????? IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! aybfhzfja: zxtx tctara shogun-t1olbox ???????????????????? | 00:52 |
RIANRFteamextr | ??????????????????? IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! oknrawydam: rcurtin shogitter ironstark ???????????? | 00:52 |
RIANRFteamextr | ???????????????? IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! ktkxpiart: nikhilweee shogun-buildbot shogun-t1olbox ????????????? | 00:52 |
RIANRFteamextr | ??????????? IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! bpyxqekt: lisitsyn shogun-buildbot rcurtin ???????????????? | 00:52 |
RIANRFteamextr | ?????????????? IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! ftwmuzrwc: zxtx sonney2k_ durovo ????????????????? | 00:53 |
RIANRFteamextr | ??????????????????? IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! zyekkb: shogun-t1olbox rcurtin tctara ??????????? | 00:53 |
RIANRFteamextr | ???????????? IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! nnhicgvi: Trixis shogun-buildbot sonney2k_ ????????????????? | 00:53 |
RIANRFteamextr | ???????????????????? IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! xsinvr: shogun-t1olbox wiking durovo ??????????? | 00:53 |
RIANRFteamextr | â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„ IRC.SUPERNETS.ORG #SUPERBOWL SUPERBOWL PARTY RIGHT NOW LIVE CHATTING AND PLAY BY PLAY COMMENTARY GOING ON NOW!! ASK CHRONO FOR DETAILS!! tkeehlb: sukey ironstark Trixis â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â–„â | 00:53 |
-!- RIANRFteamextr [~fxpmeg@176.215.246.142] has quit [Client Quit] | 00:53 | |
-!- HeikoS [~heiko@host86-129-231-92.range86-129.btcentralplus.com] has joined #shogun | 00:56 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 00:56 | |
rcurtin | man what is with the spam these days | 00:58 |
rcurtin | basically every channel I am in is being hit | 00:58 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4146 closed by karlnapf | 00:59 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4146 reopened by karlnapf | 00:59 |
-!- HeikoS [~heiko@host86-129-231-92.range86-129.btcentralplus.com] has quit [Ping timeout: 276 seconds] | 01:04 | |
-shogun-buildbot:#shogun- Build nightly_all #88 is complete: Failure [test (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/22/builds/88 | 03:46 | |
-!- saputro [44c88d72@gateway/web/freenode/ip.68.200.141.114] has joined #shogun | 05:07 | |
-!- witness [uid10044@gateway/web/irccloud.com/x-tkiutxzylirbower] has quit [Quit: Connection closed for inactivity] | 05:27 | |
-!- saputro [44c88d72@gateway/web/freenode/ip.68.200.141.114] has quit [Ping timeout: 260 seconds] | 06:03 | |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4085 synchronized by vinx13 | 08:17 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4085 | 08:18 |
-!- HeikoS [~heiko@host86-129-231-92.range86-129.btcentralplus.com] has joined #shogun | 09:24 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 09:24 | |
-!- HeikoS [~heiko@host86-129-231-92.range86-129.btcentralplus.com] has quit [Ping timeout: 240 seconds] | 09:28 | |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4085 synchronized by vinx13 | 09:35 |
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has joined #shogun | 10:36 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 10:36 | |
@HeikoS | lisitsyn: you there? | 10:51 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4148 merged by karlnapf | 10:51 |
@sukey | [https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/f3ad96b0d2a36e7f4a53a61dbc911d590fe41eb3 by karlnapf | 10:51 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4149 opened by vinx13 | 11:28 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4150 opened by karlnapf | 11:28 |
-!- travis-ci [~travis-ci@ec2-54-234-36-74.compute-1.amazonaws.com] has joined #shogun | 11:41 | |
travis-ci | it'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/337471901 | 11:41 |
-!- travis-ci [~travis-ci@ec2-54-234-36-74.compute-1.amazonaws.com] has left #shogun [] | 11:41 | |
-!- travis-ci [~travis-ci@ec2-54-226-10-225.compute-1.amazonaws.com] has joined #shogun | 12:04 | |
travis-ci | it'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/337471901 | 12:04 |
-!- travis-ci [~travis-ci@ec2-54-226-10-225.compute-1.amazonaws.com] has left #shogun [] | 12:04 | |
@HeikoS | wiking: jojo | 12:08 |
@HeikoS | wiking: you said you had removed the clone_equals tests locally? You can push that into develop now, I put a replacement test up that is much faster to compile | 12:08 |
@HeikoS | I can do the same with serialization soon | 12:08 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4151 opened by shubham808 | 12:17 |
@wiking | HeikoS, ho | 12:33 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4152 opened by karlnapf | 12:36 |
@HeikoS | wiking: btw serialization ascii is already covered so that can be removed as well | 12:38 |
@HeikoS | lisitsyn: | 13:19 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4150 merged by karlnapf | 13:23 |
@sukey | [https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/acb321d3e5eab746055b11d6e111fb5ade239443 by karlnapf | 13:23 |
lisitsyn | HeikoS: ya | 13:26 |
@HeikoS | lisitsyn: I need two things from you :) | 13:27 |
@HeikoS | they are small, promise | 13:27 |
lisitsyn | yeah yeah sure | 13:27 |
@HeikoS | https://github.com/shogun-toolbox/shogun/pull/4148 | 13:27 |
@HeikoS | clone for arrays | 13:27 |
lisitsyn | aha | 13:27 |
@HeikoS | the tests are there and the new clone as well, they just fail | 13:28 |
lisitsyn | that's on my todo list | 13:28 |
@HeikoS | just one case, I can fill in gaps once that is there | 13:28 |
lisitsyn | what else? | 13:28 |
@HeikoS | second thing: | 13:28 |
@HeikoS | SG_ERROR("Type error when setting parameter %s::%s: expected %s but got %s.\n", | 13:28 |
@HeikoS | get_name(), _tag.name().c_str(), | 13:28 |
@HeikoS | "X", "Y"); | 13:28 |
lisitsyn | ah ok ok | 13:28 |
@HeikoS | in SGObject.h | 13:28 |
lisitsyn | type | 13:28 |
@HeikoS | lisitsyn: type is faster I guess? | 13:29 |
@HeikoS | so maybe then that would be good first | 13:29 |
lisitsyn | HeikoS: yeah let me dive into that once I wait for something to compile or compute | 13:29 |
lisitsyn | :) | 13:29 |
@HeikoS | I can do stuff on meta API while you do the clone | 13:29 |
@HeikoS | kk | 13:29 |
@HeikoS | thx | 13:29 |
@HeikoS | Ill have lunch now, will check back later this afternoon | 13:29 |
@HeikoS | void put(const Tag<T>& _tag, const T& value) throw(ShogunException) | 13:30 |
@HeikoS | this is the method that should print type, both expected and what it got | 13:30 |
@HeikoS | lisitsyn: uuuuh | 13:36 |
@HeikoS | lisitsyn: problems with the type system .. | 13:36 |
@HeikoS | will tell you later | 13:36 |
lisitsyn | uhm? | 13:37 |
lisitsyn | HeikoS: what's wrong? | 13:37 |
Trixis | wiking: ill submit the requested cleanup later today. its ready needs formatting fixc | 13:46 |
@wiking | Trixis, great! :) | 13:52 |
@HeikoS | lisitsyn: the tag system is not aware of subclasses | 14:05 |
@HeikoS | soooo | 14:05 |
@HeikoS | svm.put("kernel", k) | 14:05 |
@HeikoS | what type is k? | 14:05 |
lisitsyn | HeikoS: putKernel | 14:06 |
@HeikoS | ah | 14:06 |
lisitsyn | then it is Kernel | 14:06 |
@HeikoS | uh | 14:06 |
lisitsyn | yes | 14:06 |
@HeikoS | so goodbye kwargs | 14:06 |
lisitsyn | HeikoS: not really | 14:06 |
lisitsyn | still possible | 14:06 |
@HeikoS | but then need to keep track of the type | 14:06 |
lisitsyn | HeikoS: we can dispatch to most specific type | 14:07 |
lisitsyn | it is like that: | 14:07 |
lisitsyn | def put(name, obj): | 14:07 |
lisitsyn | if ... then putKernel() | 14:07 |
lisitsyn | lala | 14:07 |
lisitsyn | so some hackery just for python | 14:07 |
@HeikoS | yeah | 14:07 |
@HeikoS | mmmh | 14:07 |
@HeikoS | but the meta kwargs thing then depends on that | 14:07 |
@HeikoS | pitty | 14:07 |
@HeikoS | currently, it just translates to "put" | 14:08 |
lisitsyn | oh well | 14:08 |
lisitsyn | HeikoS: it depends on the target language then | 14:08 |
@HeikoS | but if we keep track of the type and then have a list of "putKernel", "putVla", thats not nice | 14:08 |
lisitsyn | some languages already know how to dispatch that overloading | 14:08 |
lisitsyn | we have to have putKernel, putBla putLa | 14:08 |
@HeikoS | yeah | 14:09 |
@HeikoS | so that is not part of the c++ code | 14:09 |
lisitsyn | at least for langs that do not support overloading properly | 14:09 |
@HeikoS | but interface generated code | 14:09 |
lisitsyn | yes | 14:09 |
@HeikoS | kk | 14:09 |
@HeikoS | lisitsyn: ok let's see | 14:09 |
@HeikoS | for the basic types, the kwargs thing should still work | 14:10 |
@HeikoS | lisitsyn: where is putKernel defined? | 14:10 |
lisitsyn | HeikoS: macro in swig | 14:11 |
lisitsyn | SGBase.i | 14:11 |
lisitsyn | iirc | 14:11 |
@HeikoS | kk | 14:11 |
@HeikoS | kernel.set("width", "???? ????"); | 14:12 |
@HeikoS | shogun wiki :D | 14:12 |
lisitsyn | :D | 14:12 |
lisitsyn | HeikoS: hahah lol | 14:12 |
lisitsyn | you better now know wwhat it means | 14:12 |
lisitsyn | not* | 14:12 |
@HeikoS | LOL | 14:12 |
@HeikoS | lisitsyn: so in that doc | 14:14 |
@HeikoS | we said that every base class will get its own tag | 14:14 |
@HeikoS | in SWIG we would have IntTag, StringTag, KernelTag (stands for Tag<int>, Tag<string>, Tag<CKernel>) | 14:14 |
lisitsyn | HeikoS: yes | 14:15 |
@HeikoS | so there seems to be some stuff already | 14:16 |
@HeikoS | https://github.com/shogun-toolbox/shogun/wiki/README_tags | 14:17 |
@HeikoS | https://github.com/shogun-toolbox/shogun/wiki/README_tags#python-api | 14:17 |
@HeikoS | w = gkernel.getsFloat("log_width") | 14:17 |
@HeikoS | where is that implemented... ? in the .i files? | 14:17 |
lisitsyn | HeikoS: yes, get<float> renamed to getFloat | 14:18 |
lisitsyn | in SGBase.i | 14:18 |
lisitsyn | did you found? | 14:18 |
@HeikoS | SUPPORT_TAG(Object, object, CSGObject*) | 14:19 |
lisitsyn | yes exactly | 14:20 |
@HeikoS | ok Ill reverse engineer this a bit | 14:20 |
@HeikoS | didnt know about it yet :) | 14:20 |
lisitsyn | HeikoS: well it is just rename for swig | 14:20 |
lisitsyn | in C++ there are templates | 14:20 |
lisitsyn | so we rename for a limited set of types | 14:20 |
@HeikoS | so if I add | 14:20 |
@HeikoS | SUPPORT_TAG(Kernel, kernel, CKernel*) | 14:20 |
lisitsyn | yes | 14:20 |
lisitsyn | putKernel getKernel | 14:20 |
@HeikoS | trying | 14:21 |
@HeikoS | lisitsyn: okok | 14:22 |
@HeikoS | lisitsyn: but C++ | 14:22 |
@HeikoS | ? | 14:22 |
@HeikoS | this is only swig | 14:22 |
lisitsyn | get<CKernel*> | 14:22 |
@HeikoS | meta lang | 14:22 |
@HeikoS | I cannot put putKernel(...) then | 14:23 |
@HeikoS | since it is translated to c++ as well | 14:23 |
@HeikoS | so then meta lang needs another extension I guess | 14:23 |
@HeikoS | put<CKernel>("kernel", k) | 14:23 |
@HeikoS | which is translated to putKernel in the other interfaces | 14:23 |
@HeikoS | hallelujah | 14:23 |
@HeikoS | lisitsyn: or you have other ideas? | 14:24 |
@HeikoS | lisitsyn: actually | 14:25 |
lisitsyn | HeikoS: don't get it | 14:25 |
@HeikoS | the meta language | 14:25 |
lisitsyn | ah you mean we don't have putKernel in C++ | 14:25 |
@HeikoS | needs to express this API somehow | 14:25 |
@HeikoS | and this is translated to c++ and swig itnerfaces | 14:26 |
@HeikoS | yeah | 14:26 |
@HeikoS | lisitsyn: why can't we have a put(CSGObject*, ...) | 14:26 |
@HeikoS | that tries to convert the argument to the type of the parameter? | 14:26 |
@HeikoS | so I can actually do svm.put("kernel", k) | 14:26 |
lisitsyn | we can have one | 14:26 |
@HeikoS | like in C++ | 14:26 |
lisitsyn | yeah we can | 14:26 |
@HeikoS | just thinking how that would look like | 14:27 |
@HeikoS | lisitsyn: can you add that on top of your list? :D | 14:27 |
lisitsyn | yeah but that I have to think about | 14:27 |
@HeikoS | lisitsyn: I mean | 14:28 |
@HeikoS | we can also modify the meta lang | 14:28 |
@HeikoS | to accept | 14:28 |
@HeikoS | svm.put<CKernel>("kernel", k) | 14:29 |
@HeikoS | but it is not really nice | 14:29 |
@HeikoS | makes it even more complex | 14:29 |
@HeikoS | I think we should keep that down | 14:29 |
@HeikoS | rather have the svm.put(...) | 14:29 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4146 synchronized by grg121 | 14:32 |
@HeikoS | lisitsyn: let me know if you have an idea how to solve that | 14:32 |
lisitsyn | HeikoS: it's a bit tricky as there are things like float and double | 14:32 |
lisitsyn | for python they are just the same | 14:33 |
@HeikoS | so both are accepted | 14:34 |
@HeikoS | ? | 14:34 |
-!- travis-ci [~travis-ci@ec2-54-226-10-225.compute-1.amazonaws.com] has joined #shogun | 14:40 | |
travis-ci | it'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/337523853 | 14:40 |
-!- travis-ci [~travis-ci@ec2-54-226-10-225.compute-1.amazonaws.com] has left #shogun [] | 14:40 | |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4149 merged by karlnapf | 14:42 |
@sukey | [https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/82c499bea7e49a92ce0287be94ea4b470a1f1aab by karlnapf | 14:42 |
@HeikoS | lisitsyn: any eta or thoughts? then I can plan how much I get involved into this stuff now? | 14:53 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4085 synchronized by vinx13 | 14:59 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4153 opened by dhelekal | 15:07 |
Trixis | wont pass style checker :P | 15:07 |
Trixis | (because i cant get the 3.8 version, and the latest produces different results) | 15:08 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4085 | 15:17 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4085 | 15:17 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4153 synchronized by dhelekal | 15:19 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4153 synchronized by dhelekal | 15:19 |
-!- travis-ci [~travis-ci@ec2-54-80-202-110.compute-1.amazonaws.com] has joined #shogun | 15:42 | |
travis-ci | it'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/337523853 | 15:42 |
-!- travis-ci [~travis-ci@ec2-54-80-202-110.compute-1.amazonaws.com] has left #shogun [] | 15:42 | |
@HeikoS | lisitsyn: sorry to pester you .... ;D | 15:56 |
durovo | HeikoS: I am trying to fix fit_sigmoid.. would it be alright to remove scores_to_probabilties from Cbinarylabels? I have already written CalibrationMethod and SigmoidCalibrationMethod, wouldn't it be better to use them to calibrate the predictions? I think that this approach would be more consistent in the long run if new calibration methods are added later. | 15:57 |
@HeikoS | absolutely | 15:58 |
@HeikoS | I also suggest different names: Calibration, SigmoidCalibration ... | 15:58 |
@HeikoS | without the "Method" | 15:58 |
durovo | Ok | 15:58 |
-!- travis-ci [~travis-ci@ec2-54-80-202-110.compute-1.amazonaws.com] has joined #shogun | 16:26 | |
travis-ci | it's Wuwei Lin'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/337552907 | 16:26 |
-!- travis-ci [~travis-ci@ec2-54-80-202-110.compute-1.amazonaws.com] has left #shogun [] | 16:26 | |
-!- travis-ci [~travis-ci@ec2-54-226-10-225.compute-1.amazonaws.com] has joined #shogun | 16:57 | |
travis-ci | it's Wuwei Lin'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/337552907 | 16:57 |
-!- travis-ci [~travis-ci@ec2-54-226-10-225.compute-1.amazonaws.com] has left #shogun [] | 16:57 | |
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has quit [Ping timeout: 248 seconds] | 17:08 | |
-!- HeikoS [~heiko@82-132-230-62.dab.02.net] has joined #shogun | 17:11 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 17:11 | |
-!- HeikoS [~heiko@82-132-230-62.dab.02.net] has quit [Remote host closed the connection] | 17:16 | |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4152 merged by karlnapf | 17:31 |
@sukey | [https://github.com/shogun-toolbox/shogun] karlnapf pushed 2 commits: | 17:31 |
@sukey | https://github.com/shogun-toolbox/shogun/commit/902ee810d5c0eae0361045e87bbe33899b3b8fc5 | 17:31 |
@sukey | https://github.com/shogun-toolbox/shogun/commit/91adea73f9b0b9355e9ce5e240cf8ba2d03ee14c | 17:31 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4146 merged by karlnapf | 17:34 |
@sukey | [https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/daa95fa1cfe41e97a229dc241925183c7cb6dbed by karlnapf | 17:34 |
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has joined #shogun | 17:35 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 17:35 | |
@HeikoS | lisitsyn: jo! | 17:35 |
lisitsyn | HeikoS: I have nothing yet | 17:36 |
lisitsyn | :) | 17:36 |
@HeikoS | lisitsyn: I have a q | 17:36 |
lisitsyn | shoot | 17:36 |
@HeikoS | what if we just added setKernel to the c++ | 17:36 |
@HeikoS | that would solve the meta lang shiatz | 17:36 |
@HeikoS | rather than doing that in swig? | 17:36 |
@HeikoS | lisitsyn: the alternative I see is just giving up on typed setters, even from c++ | 17:37 |
lisitsyn | HeikoS: yeah adding setKernel to C++ is also fine | 17:37 |
lisitsyn | and might be even better | 17:37 |
lisitsyn | at least we have uniform interface this way | 17:38 |
@HeikoS | yep | 17:38 |
@HeikoS | though we can then also do some tricks inside the "put" method | 17:38 |
lisitsyn | yess | 17:38 |
lisitsyn | like | 17:38 |
@HeikoS | like getting type info at runtime and then just cast in there | 17:39 |
lisitsyn | dispatching things into something | 17:39 |
lisitsyn | yeah | 17:39 |
lisitsyn | if it is kernel then putKernel | 17:39 |
@HeikoS | yeah | 17:39 |
@HeikoS | not super clean :D | 17:39 |
@HeikoS | I just wonder | 17:39 |
@HeikoS | do we want uniform API from c++ and swig | 17:39 |
@HeikoS | because what you have come up with is nice actually, as it is typesafe in c++ | 17:40 |
@HeikoS | but how much do we care that the examples do have the same api? | 17:40 |
@HeikoS | I think this is a design question | 17:40 |
@HeikoS | as if we want uniform, then we need to accept some ugly things | 17:40 |
@HeikoS | if we don't like that, we have to accept that the c++ meta examples are maybe about to die | 17:40 |
-!- travis-ci [~travis-ci@ec2-54-226-10-225.compute-1.amazonaws.com] has joined #shogun | 18:20 | |
travis-ci | it's Wuwei Lin'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/337552907 | 18:20 |
-!- travis-ci [~travis-ci@ec2-54-226-10-225.compute-1.amazonaws.com] has left #shogun [] | 18:20 | |
-!- travis-ci [~travis-ci@ec2-54-226-10-225.compute-1.amazonaws.com] has joined #shogun | 18:23 | |
travis-ci | it'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/337628332 | 18:23 |
-!- travis-ci [~travis-ci@ec2-54-226-10-225.compute-1.amazonaws.com] has left #shogun [] | 18:23 | |
@HeikoS | lisitsyn: python and java work with just "put", c++ and octave don't | 18:26 |
lisitsyn | HeikoS: yeah that's what I expected | 18:27 |
lisitsyn | overloading is a bit different in different langs | 18:27 |
@HeikoS | lisitsyn: yeah | 18:27 |
@HeikoS | lisitsyn: so this speaks against this SUPPORT_TAG(Object, object, CSGObject*) | 18:28 |
@HeikoS | thing | 18:28 |
lisitsyn | HeikoS: I think `base` should be putKernel putObject | 18:28 |
lisitsyn | yes | 18:28 |
lisitsyn | but if language supports it | 18:28 |
lisitsyn | put() should also work | 18:28 |
@HeikoS | ok then I will leave that in | 18:28 |
@HeikoS | and I will just add a CSGObject::putKernel | 18:28 |
@HeikoS | on the other hand, we could modify put to do the casting for us by trial and error :D | 18:28 |
lisitsyn | HeikoS: yeah if you're at it drop SUPPORT_TAG and add all the put/gets | 18:28 |
@HeikoS | lisitsyn: not sure what you mean by the last thing | 18:29 |
lisitsyn | HeikoS: I mean you can drop SUPPORT_TAG from swig | 18:29 |
lisitsyn | and add putKernel etc | 18:29 |
lisitsyn | to SGObject | 18:29 |
lisitsyn | getKernel putKernel | 18:29 |
lisitsyn | some different macro | 18:29 |
lisitsyn | :) | 18:29 |
@HeikoS | ok | 18:30 |
@HeikoS | will do | 18:30 |
lisitsyn | HeikoS: this also helps resolving some issue I had | 18:33 |
lisitsyn | with templates | 18:33 |
lisitsyn | it didn't work for me with SGVectors and stuff | 18:33 |
@HeikoS | ok | 18:33 |
lisitsyn | this way it will work | 18:33 |
@HeikoS | let me send a PR | 18:33 |
@HeikoS | and then we discuss from there | 18:34 |
lisitsyn | okie | 18:34 |
@HeikoS | ah | 18:34 |
@HeikoS | ah annoying | 18:35 |
@HeikoS | if I dont want to include all the headers in the SGObject.h, i need to forwrad declare | 18:36 |
@HeikoS | but then I need another macro for the .cpp | 18:36 |
@HeikoS | lisitsyn: where would you do the dispatching? | 18:40 |
@HeikoS | lisitsyn: argh, actually I don't see a need for putKernel | 18:41 |
@HeikoS | I think the put should just try to do a cast of the passed object to the type of the tag instead | 18:41 |
@HeikoS | for SGObject that is fine | 18:41 |
@HeikoS | since all passed objects will be castable to SGObject, no? | 18:42 |
@HeikoS | lisitsyn: this is messed up :D | 18:43 |
@HeikoS | let me know when you have some time to discuss, I think there is need for discussion before something is done | 18:44 |
-!- travis-ci [~travis-ci@ec2-54-80-202-110.compute-1.amazonaws.com] has joined #shogun | 19:04 | |
travis-ci | it's Francisco Navarro'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/337629792 | 19:04 |
-!- travis-ci [~travis-ci@ec2-54-80-202-110.compute-1.amazonaws.com] has left #shogun [] | 19:04 | |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4151 synchronized by shubham808 | 19:13 |
-!- travis-ci [~travis-ci@ec2-54-234-36-74.compute-1.amazonaws.com] has joined #shogun | 19:15 | |
travis-ci | it'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/337628332 | 19:15 |
-!- travis-ci [~travis-ci@ec2-54-234-36-74.compute-1.amazonaws.com] has left #shogun [] | 19:15 | |
-!- travis-ci [~travis-ci@ec2-54-80-202-110.compute-1.amazonaws.com] has joined #shogun | 19:15 | |
travis-ci | it's Wuwei Lin'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/337552907 | 19:15 |
-!- travis-ci [~travis-ci@ec2-54-80-202-110.compute-1.amazonaws.com] has left #shogun [] | 19:15 | |
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has quit [Ping timeout: 248 seconds] | 19:36 | |
--- Log closed Tue Feb 06 00:00:50 2018 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!