IRC logs of #shogun for Monday, 2017-05-22

--- Log opened Mon May 22 00:00:40 2017
-!- micmn [~micmn@ec2-54-67-24-92.us-west-1.compute.amazonaws.com] has joined #shogun00:42
-!- mikeling [uid89706@gateway/web/irccloud.com/x-rbifptnwbhvaataz] has joined #shogun03:40
@sukeyPull Request #3698 "use get and set in LibLinear class"  synchronized by MikeLing - https://github.com/shogun-toolbox/shogun/pull/369803:44
@sukeyPull Request #3810 "Port HMM to openmp"  synchronized by MikeLing - https://github.com/shogun-toolbox/shogun/pull/381004:35
@sukeyPull Request #3810 "Port kernelMachine to openmp" - https://github.com/shogun-toolbox/shogun/pull/381004:35
-!- pravin [cb6ef204@gateway/web/freenode/ip.203.110.242.4] has joined #shogun04:57
-!- pravin [cb6ef204@gateway/web/freenode/ip.203.110.242.4] has quit [Client Quit]04:57
-!- mikeling [uid89706@gateway/web/irccloud.com/x-rbifptnwbhvaataz] has quit [Quit: Connection closed for inactivity]06:48
-!- mikeling [uid89706@gateway/web/irccloud.com/x-txpoacwcsuujeftk] has joined #shogun07:44
@sukeyPull Request #3810 "Port kernelMachine to openmp"  synchronized by MikeLing - https://github.com/shogun-toolbox/shogun/pull/381007:46
@sukeyPull Request #3810 "Port kernelMachine to openmp"  synchronized by MikeLing - https://github.com/shogun-toolbox/shogun/pull/381007:57
-!- iglesiasg [~iglesiasg@217.119.234.214] has joined #shogun08:06
-!- mode/#shogun [+o iglesiasg] by ChanServ08:06
-!- geektoni [c1cdd24a@gateway/web/freenode/ip.193.205.210.74] has joined #shogun08:40
-!- geektoni [c1cdd24a@gateway/web/freenode/ip.193.205.210.74] has quit [Quit: Page closed]11:58
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has joined #shogun12:42
-!- mode/#shogun [+o HeikoS] by ChanServ12:43
@HeikoSwiking: jojojo12:44
-!- geektoni [~geektoni@93-34-234-214.ip52.fastwebnet.it] has joined #shogun12:49
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has quit [Quit: Leaving.]13:08
geektonilisitsyn: ping15:51
lisitsynhey15:51
lisitsynwhat's up15:51
geektonihi :) I was looking into the equals method of SGObject and I bumped into a problem :P15:52
geektoniThe idea was to convert it from this15:52
geektonivirtual bool equals(CSGObject* other, float64_t accuracy=0.0, bool tolerant=false);15:52
geektonito this virtual bool equals(const Some<CSGObject>& other, float64_t accuracy=0.0, bool tolerant=false);15:52
geektonibut, by doing this, we lose the polymorphism of the method. Which mean, I can't call equals on something like Some<CKNN>, even if CKNN is derived from SGObject.15:53
geektoniI thought that a possible way to fix this is by rewrite thing like this: https://pastebin.com/PmDc9gu915:54
geektonibut I don't like it very much15:54
geektonido you have some suggestion?15:54
geektoniapart from "let it be" ;)16:01
geektonithat could be still an option though16:01
lisitsynsorry distracted16:02
lisitsynoh that's pretty bad true16:02
lisitsyngeektoni: if we provide implicit Some(CSGObject*) it should work by default16:03
lisitsynI am missing something16:04
geektonimmh what?16:04
lisitsynokkkk prototyping16:05
lisitsyngive me a few mins16:05
geektonisure16:05
-!- HeikoS [~heiko@89.105.104.229] has joined #shogun16:07
-!- mode/#shogun [+o HeikoS] by ChanServ16:07
@iglesiasgmaybe we need to port that functionality from std::shared_ptr into Some16:09
-!- HeikoS [~heiko@89.105.104.229] has quit [Client Quit]16:10
@iglesiasglisitsyn, geektoni: should we just wrap std::shared_ptr with Some?16:12
geektonilisitsyn said he tried :P16:12
lisitsynhttps://ideone.com/pYlWBU16:13
lisitsynyeah you could try but it is no magic wand16:13
lisitsyngeektoni: check this ^16:13
@iglesiasglisitsyn: haha what is not magic wand?16:15
lisitsynstd::shared_ptr16:15
lisitsynwon't solve problems :)16:15
@iglesiasgit does this16:15
@iglesiasgwe can do polymorphism with it16:16
@iglesiasgI suppose internally it will essentially do something like that16:16
lisitsynyeah but it is not doing something magical you'd have to add it to Some16:16
@iglesiasgwith wrapping I was meaning doing something like16:16
@iglesiasgSome<T> = std::shared_ptr<T>16:17
lisitsynyes I started by inheritance16:17
lisitsynthe same thing16:17
lisitsyngeektoni: you may do another attempt ;)16:17
geektonilisitsyn: yeah sure ;) I got it anyhow. That's nicer!16:18
geektonilisitsyn: btw, I sent you a message on Saturday16:20
geektoniregarding Any.h16:20
lisitsynmissed it somehow16:20
lisitsynwhat's the q?16:20
geektoniI was trying to understand how any works, but I noticed that there are at least three different branches with different Any implementations.16:21
lisitsynoh16:22
lisitsyn:D16:22
geektoniOne has a now-owning policy, the others don't.16:22
lisitsynah16:22
lisitsynall non-owning policies are fcuked16:22
lisitsynsorry! :P16:22
lisitsynI failed miserably two times I guess16:22
geektoniahah ok16:22
geektoniBecause it is needed for the Tags, you said.16:23
lisitsynwell it is used by tags16:24
lisitsyngeektoni: well you have to drop the type16:24
lisitsynbut std::any is C++17 :(16:24
lisitsynit is in boost but it is too much16:24
geektonitoo far away I guess ;)16:24
lisitsynand it is deadly fcuked in boost sry!16:24
lisitsyn:D16:24
lisitsynit is soo bad in boost16:24
lisitsynrtti16:25
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun16:41
-!- mikeling [uid89706@gateway/web/irccloud.com/x-txpoacwcsuujeftk] has quit [Quit: Connection closed for inactivity]17:48
-!- HeikoS [~heiko@89.105.104.229] has joined #shogun18:05
-!- mode/#shogun [+o HeikoS] by ChanServ18:05
-!- geektoni [~geektoni@93-34-234-214.ip52.fastwebnet.it] has left #shogun []18:08
-!- HeikoS [~heiko@89.105.104.229] has quit [Ping timeout: 240 seconds]18:17
-!- geektoni [~geektoni@93-34-234-214.ip52.fastwebnet.it] has joined #shogun18:18
-!- iglesiasg [~iglesiasg@217.119.234.214] has quit [Ping timeout: 240 seconds]18:21
-!- iglesiasg [~iglesiasg@217.119.234.214] has joined #shogun18:23
-!- mode/#shogun [+o iglesiasg] by ChanServ18:23
-!- geektoni [~geektoni@93-34-234-214.ip52.fastwebnet.it] has left #shogun []18:38
-!- HeikoS [~heiko@host-92-0-178-129.as43234.net] has joined #shogun19:19
-!- mode/#shogun [+o HeikoS] by ChanServ19:19
-!- HeikoS [~heiko@host-92-0-178-129.as43234.net] has quit [Ping timeout: 240 seconds]19:49
-!- witness_ [uid10044@gateway/web/irccloud.com/x-nowpvqgxvtbfunme] has joined #shogun20:54
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Remote host closed the connection]20:58
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun20:59
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Remote host closed the connection]21:23
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun21:55
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Client Quit]21:56
-!- HeikoS [~heiko@host-92-0-178-129.as43234.net] has joined #shogun22:21
-!- mode/#shogun [+o HeikoS] by ChanServ22:21
-!- CaBa [~Diu7saig@unaffiliated/caba] has quit [Ping timeout: 268 seconds]23:30
-!- CaBa [~Diu7saig@unaffiliated/caba] has joined #shogun23:31
--- Log closed Tue May 23 00:00:41 2017

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