--- Log opened Mon May 22 00:00:40 2017 | ||
-!- micmn [~micmn@ec2-54-67-24-92.us-west-1.compute.amazonaws.com] has joined #shogun | 00:42 | |
-!- mikeling [uid89706@gateway/web/irccloud.com/x-rbifptnwbhvaataz] has joined #shogun | 03:40 | |
@sukey | Pull Request #3698 "use get and set in LibLinear class" synchronized by MikeLing - https://github.com/shogun-toolbox/shogun/pull/3698 | 03:44 |
---|---|---|
@sukey | Pull Request #3810 "Port HMM to openmp" synchronized by MikeLing - https://github.com/shogun-toolbox/shogun/pull/3810 | 04:35 |
@sukey | Pull Request #3810 "Port kernelMachine to openmp" - https://github.com/shogun-toolbox/shogun/pull/3810 | 04:35 |
-!- pravin [cb6ef204@gateway/web/freenode/ip.203.110.242.4] has joined #shogun | 04: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 #shogun | 07:44 | |
@sukey | Pull Request #3810 "Port kernelMachine to openmp" synchronized by MikeLing - https://github.com/shogun-toolbox/shogun/pull/3810 | 07:46 |
@sukey | Pull Request #3810 "Port kernelMachine to openmp" synchronized by MikeLing - https://github.com/shogun-toolbox/shogun/pull/3810 | 07:57 |
-!- iglesiasg [~iglesiasg@217.119.234.214] has joined #shogun | 08:06 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 08:06 | |
-!- geektoni [c1cdd24a@gateway/web/freenode/ip.193.205.210.74] has joined #shogun | 08: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 #shogun | 12:42 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 12:43 | |
@HeikoS | wiking: jojojo | 12:44 |
-!- geektoni [~geektoni@93-34-234-214.ip52.fastwebnet.it] has joined #shogun | 12:49 | |
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has quit [Quit: Leaving.] | 13:08 | |
geektoni | lisitsyn: ping | 15:51 |
lisitsyn | hey | 15:51 |
lisitsyn | what's up | 15:51 |
geektoni | hi :) I was looking into the equals method of SGObject and I bumped into a problem :P | 15:52 |
geektoni | The idea was to convert it from this | 15:52 |
geektoni | virtual bool equals(CSGObject* other, float64_t accuracy=0.0, bool tolerant=false); | 15:52 |
geektoni | to this virtual bool equals(const Some<CSGObject>& other, float64_t accuracy=0.0, bool tolerant=false); | 15:52 |
geektoni | but, 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 |
geektoni | I thought that a possible way to fix this is by rewrite thing like this: https://pastebin.com/PmDc9gu9 | 15:54 |
geektoni | but I don't like it very much | 15:54 |
geektoni | do you have some suggestion? | 15:54 |
geektoni | apart from "let it be" ;) | 16:01 |
geektoni | that could be still an option though | 16:01 |
lisitsyn | sorry distracted | 16:02 |
lisitsyn | oh that's pretty bad true | 16:02 |
lisitsyn | geektoni: if we provide implicit Some(CSGObject*) it should work by default | 16:03 |
lisitsyn | I am missing something | 16:04 |
geektoni | mmh what? | 16:04 |
lisitsyn | okkkk prototyping | 16:05 |
lisitsyn | give me a few mins | 16:05 |
geektoni | sure | 16:05 |
-!- HeikoS [~heiko@89.105.104.229] has joined #shogun | 16:07 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 16:07 | |
@iglesiasg | maybe we need to port that functionality from std::shared_ptr into Some | 16:09 |
-!- HeikoS [~heiko@89.105.104.229] has quit [Client Quit] | 16:10 | |
@iglesiasg | lisitsyn, geektoni: should we just wrap std::shared_ptr with Some? | 16:12 |
geektoni | lisitsyn said he tried :P | 16:12 |
lisitsyn | https://ideone.com/pYlWBU | 16:13 |
lisitsyn | yeah you could try but it is no magic wand | 16:13 |
lisitsyn | geektoni: check this ^ | 16:13 |
@iglesiasg | lisitsyn: haha what is not magic wand? | 16:15 |
lisitsyn | std::shared_ptr | 16:15 |
lisitsyn | won't solve problems :) | 16:15 |
@iglesiasg | it does this | 16:15 |
@iglesiasg | we can do polymorphism with it | 16:16 |
@iglesiasg | I suppose internally it will essentially do something like that | 16:16 |
lisitsyn | yeah but it is not doing something magical you'd have to add it to Some | 16:16 |
@iglesiasg | with wrapping I was meaning doing something like | 16:16 |
@iglesiasg | Some<T> = std::shared_ptr<T> | 16:17 |
lisitsyn | yes I started by inheritance | 16:17 |
lisitsyn | the same thing | 16:17 |
lisitsyn | geektoni: you may do another attempt ;) | 16:17 |
geektoni | lisitsyn: yeah sure ;) I got it anyhow. That's nicer! | 16:18 |
geektoni | lisitsyn: btw, I sent you a message on Saturday | 16:20 |
geektoni | regarding Any.h | 16:20 |
lisitsyn | missed it somehow | 16:20 |
lisitsyn | what's the q? | 16:20 |
geektoni | I was trying to understand how any works, but I noticed that there are at least three different branches with different Any implementations. | 16:21 |
lisitsyn | oh | 16:22 |
lisitsyn | :D | 16:22 |
geektoni | One has a now-owning policy, the others don't. | 16:22 |
lisitsyn | ah | 16:22 |
lisitsyn | all non-owning policies are fcuked | 16:22 |
lisitsyn | sorry! :P | 16:22 |
lisitsyn | I failed miserably two times I guess | 16:22 |
geektoni | ahah ok | 16:22 |
geektoni | Because it is needed for the Tags, you said. | 16:23 |
lisitsyn | well it is used by tags | 16:24 |
lisitsyn | geektoni: well you have to drop the type | 16:24 |
lisitsyn | but std::any is C++17 :( | 16:24 |
lisitsyn | it is in boost but it is too much | 16:24 |
geektoni | too far away I guess ;) | 16:24 |
lisitsyn | and it is deadly fcuked in boost sry! | 16:24 |
lisitsyn | :D | 16:24 |
lisitsyn | it is soo bad in boost | 16:24 |
lisitsyn | rtti | 16:25 |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 16: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 #shogun | 18:05 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 18: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 #shogun | 18:18 | |
-!- iglesiasg [~iglesiasg@217.119.234.214] has quit [Ping timeout: 240 seconds] | 18:21 | |
-!- iglesiasg [~iglesiasg@217.119.234.214] has joined #shogun | 18:23 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 18: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 #shogun | 19:19 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 19: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 #shogun | 20: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 #shogun | 20: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 #shogun | 21: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 #shogun | 22:21 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 22:21 | |
-!- CaBa [~Diu7saig@unaffiliated/caba] has quit [Ping timeout: 268 seconds] | 23:30 | |
-!- CaBa [~Diu7saig@unaffiliated/caba] has joined #shogun | 23: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!