| --- Log opened Sun Mar 10 00:00:45 2019 | ||
| -!- besser82 [~besser82@fedora/besser82] has quit [Quit: Freedom, Friends, Features, First [fedoraproject.org]] | 01:59 | |
| -!- besser82 [~besser82@fedora/besser82] has joined #shogun | 02:01 | |
| -!- mode/#shogun [+o besser82] by ChanServ | 02:01 | |
| -!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection] | 03:40 | |
| -!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun | 05:36 | |
| -!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Changing host] | 05:36 | |
| -!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 05:36 | |
| -!- mode/#shogun [+o wiking] by ChanServ | 05:36 | |
| -!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection] | 06:32 | |
| -!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun | 06:55 | |
| -!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Changing host] | 06:55 | |
| -!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 06:55 | |
| -!- mode/#shogun [+o wiking] by ChanServ | 06:55 | |
| -!- taichi303j [672c33c4@gateway/web/freenode/ip.103.44.51.196] has joined #shogun | 08:57 | |
| taichi303j | I am installing shogun on ubuntu and got stuck at step "cmake -options" can any one tell me what am I supposed to pass as option argument | 09:00 | 
|---|---|---|
| @wiking | taichi303j: you can use shogun from conda if you just wanna use shogun | 09:27 | 
| @wiking | no need for cmake | 09:27 | 
| taichi303j | @wiking thanks for replying sir, I am new to ubuntu environment, I have downloaded jupyter notebook and installed it, what am I supposed to do next. | 09:28 | 
| @wiking | i think you rather have a problem how to use jupyter and python | 09:28 | 
| @wiking | for that see other forums | 09:28 | 
| taichi303j | I have installed shogun using conda- forge, do I need to install cmake or not | 09:29 | 
| @wiking | no | 09:29 | 
| taichi303j | for making meta examples do I need to install any other dependancy or not. | 09:30 | 
| @wiking | depeends | 09:34 | 
| @wiking | you wanna write meta examples? | 09:35 | 
| -!- wiking_ [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun | 10:51 | |
| -!- wiking [~wiking@huwico/staff/wiking] has quit [Read error: Connection reset by peer] | 10:51 | |
| -!- taichi303j_ [3121c5df@gateway/web/freenode/ip.49.33.197.223] has joined #shogun | 11:28 | |
| taichi303j | @wiking yes I want to write meta examples, I wish to work on "porting example to meta example" which are one of top 10 entrance task, thats why I had doubt whether cmake or other dependency needs to be installed. | 11:31 | 
| wuwei[m] | taichi303j: yes you need to install other deps | 11:34 | 
| -!- taichi303j_ [3121c5df@gateway/web/freenode/ip.49.33.197.223] has quit [Ping timeout: 256 seconds] | 11:37 | |
| -!- saurabh7 [~saurabh7@106.51.18.183] has joined #shogun | 12:01 | |
| taichi303j | @wuwei I am stucked at cmake [options] step here after downloading shogun from git and then making build directory inside it, what am I supposed to pass argument for cmake | 12:20 | 
| wuwei[m] | https://github.com/shogun-toolbox/shogun/blob/develop/doc/readme/DEVELOPING.md#cmake-options-for-developers- | 12:22 | 
| wuwei[m] | does this work for you? | 12:22 | 
| wuwei[m] | also add -DBUILD_META_EXAMPLES=ON | 12:23 | 
| taichi303j | @wuwei I am getting error, does not appear to contain cmakelists.txt | 12:25 | 
| wuwei[m] | are you running "cmake .." under shogun/build | 12:26 | 
| -!- saurabh7 [~saurabh7@106.51.18.183] has quit [Remote host closed the connection] | 12:27 | |
| taichi303j | @wuwei yes sir, I first downloaded shogun from git then built "build" directory and under that I am using this command. | 12:27 | 
| wuwei[m] | plz double check if cmakelists.txt referred in the error message exists | 12:28 | 
| taichi303j | Yeah It do exist, I runned dir command under build directory and it shows me cmakelists.txt and cmakefiles folder | 12:32 | 
| wuwei[m] | i think cmakelists.txt should be shogun/cmakelists.txt | 12:33 | 
| taichi303j | @wuwei yeah cmakelists.txt does exist in shogun/ root directory as per you mentioned. | 12:35 | 
| taichi303j | but in install.md it's been specified that make a build directory inside shogun and then go inside that directory and use cmake [options] command | 12:36 | 
| wuwei[m] | yes, you use cmake .. to use the cmake list in the parent dir | 12:37 | 
| -!- saurabh7 [~saurabh7@106.51.18.183] has joined #shogun | 12:37 | |
| taichi303j | so you mean I need to use only cmake .. inside build directory? | 12:37 | 
| wuwei[m] | yes, and add necessary options | 12:38 | 
| taichi303j | also should i delete files present under build folder (in my case i have cmakelist.txt and cmake folder) | 12:38 | 
| wuwei[m] | yes | 12:38 | 
| taichi303j | Ok I will give it a try, also incase I want to work on meta example do I need to use options specified above by you. | 12:39 | 
| wuwei[m] | yes, and you need to enable interface build (see the doc) | 12:40 | 
| taichi303j | cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTING=ON -DBUILD_DASHBOARD_REPORTS=ON -DBUILD_META_EXAMPLES=ON | 12:40 | 
| taichi303j | above is the command I need to use inside build am i right? | 12:41 | 
| wuwei[m] | yes, append .. at the end | 12:41 | 
| taichi303j | ok Sir, I will try it | 12:41 | 
| taichi303j | I am getting error, CMake Error at CMakeLists.txt:27 (project): No CMAKE_CXX_COMPILER could be found. | 12:43 | 
| wuwei[m] | this is some typical cmake error you can get answer from google or stackoverflow | 12:44 | 
| lisitsyn | wiking_: hey | 12:57 | 
| wiking_ | ho | 12:57 | 
| -!- wiking_ is now known as wiking | 12:57 | |
| -!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Changing host] | 12:57 | |
| -!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 12:57 | |
| -!- mode/#shogun [+o wiking] by ChanServ | 12:57 | |
| @wiking | lisitsyn: just picking up the line of serialization obviously | 12:57 | 
| @wiking | and i didn't want to define a visitor for DynArray<> | 12:57 | 
| @wiking | so i decided to have the visitor interface for std::vector | 12:57 | 
| lisitsyn | ohh ok let me try to untangle it | 12:58 | 
| @wiking | but i needed clone suport for std::vector | 12:58 | 
| @wiking | because that was not working with std::vector<CSGObject*> | 12:58 | 
| lisitsyn | ah ok well I think clone worked | 12:58 | 
| lisitsyn | did it? | 12:58 | 
| @wiking | i just want you to tell me how else u might imagined the cloning of STL | 12:58 | 
| @wiking | jeje | 12:58 | 
| @wiking | this clone works | 12:58 | 
| @wiking | just was wondering if you have better ways | 12:58 | 
| lisitsyn | in any, or? | 12:59 | 
| @wiking | yes | 12:59 | 
| @wiking | in any' | 12:59 | 
| lisitsyn | wiking: well if it was some concept of container | 12:59 | 
| lisitsyn | I'd replace that | 12:59 | 
| @wiking | yes | 12:59 | 
| @wiking | same thinking here | 12:59 | 
| @wiking | :) | 12:59 | 
| @wiking | there's a nice trait | 12:59 | 
| @wiking | for is_container | 13:00 | 
| @wiking | if you want i can add that | 13:00 | 
| lisitsyn | sure | 13:00 | 
| lisitsyn | it would be better | 13:00 | 
| lisitsyn | I mean everything with std::begin and std::end should be handled by that | 13:00 | 
| @wiking | http://shitalshah.com/p/writing-generic-container-function-in-c11/ | 13:00 | 
| @wiking | lisitsyn: this exactly does that | 13:00 | 
| lisitsyn | oh what a funny domain name | 13:01 | 
| lisitsyn | scnr | 13:01 | 
| @wiking | so bascially it checks whether it has iterator | 13:01 | 
| lisitsyn | yeah that's what I thought | 13:01 | 
| @wiking | if u want i can switch to this | 13:01 | 
| @wiking | okok | 13:01 | 
| @wiking | smae thinking then ;) | 13:01 | 
| lisitsyn | I just didn't manage to do that back then | 13:01 | 
| @wiking | nw | 13:01 | 
| lisitsyn | I think I stopped when I realized | 13:02 | 
| lisitsyn | I don't know how to handle maps | 13:02 | 
| lisitsyn | :D | 13:02 | 
| @wiking | in any? | 13:02 | 
| @wiking | :( | 13:02 | 
| lisitsyn | yeah | 13:02 | 
| lisitsyn | well | 13:02 | 
| lisitsyn | just the same way actually | 13:02 | 
| @wiking | void visit_parameter(const BaseTag& _tag, AnyVisitor* v) const; | 13:02 | 
| lisitsyn | but the amount of boilerplate is unreasonable | 13:02 | 
| @wiking | this will be added to SGObject public | 13:02 | 
| @wiking | either that | 13:02 | 
| @wiking | or the Serializer/Deserializer interface | 13:03 | 
| @wiking | will get super shitty | 13:03 | 
| lisitsyn | I like this method | 13:03 | 
| lisitsyn | why not adding that | 13:03 | 
| lisitsyn | :) | 13:03 | 
| @wiking | ok | 13:03 | 
| @wiking | so basically then we are done | 13:03 | 
| @wiking | :) | 13:03 | 
| lisitsyn | wiking: I was going to try T* -> Some<T> in swig some day | 13:04 | 
| lisitsyn | (unrelated note) | 13:04 | 
| @wiking | https://pastebin.com/FQj2HzvU | 13:04 | 
| lisitsyn | scary shit hah | 13:04 | 
| @wiking | this is an empty guassian kernel with densefeatures | 13:04 | 
| lisitsyn | hehe | 13:04 | 
| lisitsyn | well | 13:04 | 
| @wiking | and yeah | 13:05 | 
| @wiking | some woudl be cool | 13:05 | 
| @wiking | because then we can drop shit | 13:05 | 
| @wiking | a lot | 13:05 | 
| @wiking | :) | 13:05 | 
| @wiking | this whole mess with DynamicObjectArray | 13:05 | 
| @wiking | ... | 13:05 | 
| @wiking | etc etc | 13:05 | 
| @wiking | btw | 13:06 | 
| @wiking | until now we had | 13:06 | 
| @wiking | SGobject->save() | 13:06 | 
| @wiking | now the serialization interface is likke | 13:06 | 
| @wiking | JsonSerializer->save(sgobject) | 13:06 | 
| @wiking | this allows multiple objects to be streamed into the same stream | 13:06 | 
| @wiking | go nogo? | 13:07 | 
| lisitsyn | looks good to me | 13:07 | 
| @wiking | k | 13:07 | 
| lisitsyn | save is not the property of object | 13:07 | 
| lisitsyn | it is serializer-dependant | 13:07 | 
| @wiking | Heiko will complain | 13:07 | 
| lisitsyn | why? | 13:07 | 
| @wiking | because serializer will return CSGObject | 13:07 | 
| @wiking | ;) | 13:07 | 
| @wiking | so you need do a cast | 13:07 | 
| lisitsyn | ah on load | 13:07 | 
| lisitsyn | yes | 13:07 | 
| lisitsyn | but | 13:08 | 
| lisitsyn | you don't have any way around that | 13:08 | 
| lisitsyn | I see no difference in | 13:08 | 
| lisitsyn | Classifier c; c.load(...) | 13:08 | 
| lisitsyn | and | 13:08 | 
| lisitsyn | sth like json.load(..).as_classifier() | 13:08 | 
| lisitsyn | I mean if we load something we have to say what we load | 13:09 | 
| @wiking | yeah i mean | 13:09 | 
| @wiking | this is more javalike approach | 13:10 | 
| @wiking | with serialization | 13:10 | 
| @wiking | you need to do an explicit cast there as well | 13:10 | 
| @wiking | when you read from ois | 13:10 | 
| @wiking | (objectinputstream( | 13:10 | 
| lisitsyn | yeah but it is inevitable | 13:10 | 
| @wiking | yep | 13:10 | 
| @wiking | cool | 13:10 | 
| @wiking | glad that we are on the same page | 13:10 | 
| lisitsyn | well | 13:10 | 
| lisitsyn | it is evitable | 13:10 | 
| @wiking | i didn't want to merge that | 13:10 | 
| lisitsyn | if you're doing python | 13:10 | 
| lisitsyn | :D | 13:10 | 
| @wiking | just wanted to ask you if that's what you had in mind | 13:10 | 
| lisitsyn | ok cool | 13:11 | 
| @wiking | with clone | 13:11 | 
| @wiking | okok i'll do it for all containers | 13:11 | 
| @wiking | the clone | 13:11 | 
| lisitsyn | you were rough with Heiko :) | 13:11 | 
| @wiking | he puts his nose where it doesn't belong | 13:11 | 
| @wiking | :) | 13:11 | 
| lisitsyn | haha oops | 13:11 | 
| @wiking | i mean i exactly know what i was doin | 13:11 | 
| @wiking | :) | 13:11 | 
| lisitsyn | take it easy :P | 13:11 | 
| @wiking | just didn't want u to have like | 13:11 | 
| lisitsyn | ok well | 13:11 | 
| @wiking | unrelated code | 13:11 | 
| @wiking | because everything else is serialization blala | 13:12 | 
| @wiking | btw | 13:12 | 
| @wiking | i feel that the AnyVisitor will be pain | 13:12 | 
| @wiking | with more and more classes L( | 13:12 | 
| @wiking | :( | 13:12 | 
| lisitsyn | it is | 13:12 | 
| lisitsyn | I had no solution in mind | 13:12 | 
| lisitsyn | do you? | 13:12 | 
| @wiking | noup | 13:12 | 
| @wiking | i mean now as soon as we start using std::vector for other stuff than | 13:12 | 
| @wiking | CSGObject | 13:12 | 
| @wiking | it'll be pain | 13:12 | 
| @wiking | :) | 13:12 | 
| @wiking | since that's that many extra interfaces | 13:13 | 
| @wiking | and then std::map | 13:13 | 
| @wiking | etc etc | 13:13 | 
| @wiking | :D | 13:13 | 
| lisitsyn | yeah but we don't need them in visitor | 13:13 | 
| lisitsyn | we can unpack it and then visit | 13:13 | 
| lisitsyn | that's a bit better | 13:13 | 
| lisitsyn | ooor | 13:13 | 
| lisitsyn | aaah we can't, right? | 13:13 | 
| lisitsyn | because serialization needs to know if it is a vector | 13:13 | 
| @wiking | i mean for now i've just extended AnyVisitor::on(std::vector<CSGObject*> | 13:13 | 
| @wiking | yes | 13:13 | 
| @wiking | because i need to know | 13:13 | 
| lisitsyn | fuckiiinggshiitit | 13:13 | 
| lisitsyn | badbadbad | 13:14 | 
| @wiking | yep | 13:14 | 
| lisitsyn | wiking: uhmm I know one way around | 13:14 | 
| lisitsyn | sth like onVectorBegin(); onVectorEnd(); | 13:15 | 
| @wiking | hahahahah | 13:15 | 
| lisitsyn | and also onMapBegin(); onMapEnd(); and add key(std::string) for maps | 13:15 | 
| @wiking | you know what it looks like right? | 13:15 | 
| @wiking | :) | 13:15 | 
| @wiking | welcome back to SerializeFile.h | 13:15 | 
| @wiking | :) | 13:15 | 
| lisitsyn | ok ok | 13:16 | 
| lisitsyn | then | 13:16 | 
| @wiking | read_cont_begin | 13:16 | 
| lisitsyn | we add nested visitor | 13:16 | 
| @wiking | read_cont_end | 13:16 | 
| lisitsyn | AnyVisitor* visitList(); | 13:16 | 
| lisitsyn | that returns new visitor that is inside a list | 13:16 | 
| @wiking | yeah | 13:17 | 
| @wiking | that's smoother | 13:17 | 
| @wiking | :) | 13:17 | 
| @wiking | lemme push this json stuff | 13:17 | 
| lisitsyn | and AnyVisitor* visitMap() but we still need key(std::string) | 13:17 | 
| @wiking | and with container clone support | 13:17 | 
| @wiking | and then we can discuss there | 13:17 | 
| @wiking | ok? | 13:17 | 
| lisitsyn | ok | 13:17 | 
| @wiking | ignore CI | 13:17 | 
| @wiking | as integration will fail obviously | 13:17 | 
| @wiking | unit should pass though :P | 13:17 | 
| -!- taichi303j [672c33c4@gateway/web/freenode/ip.103.44.51.196] has quit [Ping timeout: 256 seconds] | 13:51 | |
| -!- glitch [~saphire@42.108.40.52] has joined #shogun | 17:55 | |
| glitch | hi ! sorry for being late with response for issue #3513 | 17:56 | 
| glitch | I was going through the previous comments on this issue. | 17:56 | 
| glitch | Time and Arrucary comparison for: KNN_BRUTE , KNN_COVER_TREE and KNN_KDTREE has already been worked on and has been patched in PR #3620 . | 17:56 | 
| glitch | So what should I work on in this issue? | 17:56 | 
| glitch | https://github.com/shogun-toolbox/shogun/issues/3513 | 17:57 | 
| -!- glitch404 [uid346916@gateway/web/irccloud.com/x-leaukicmerbklmzn] has joined #shogun | 17:58 | |
| -!- glitch [~saphire@42.108.40.52] has quit [Remote host closed the connection] | 18:26 | |
| -!- glitch404 [uid346916@gateway/web/irccloud.com/x-leaukicmerbklmzn] has quit [Quit: Connection closed for inactivity] | 20:18 | |
| --- Log closed Mon Mar 11 00:00:46 2019 | ||
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!