--- Log opened Tue Jun 20 00:00:21 2017 | ||
--- Log closed Tue Jun 20 02:15:50 2017 | ||
--- Log opened Tue Jun 20 02:22:02 2017 | ||
-!- shogun-toolbox [~shogun@7nn.de] has joined #shogun | 02:22 | |
-!- Irssi: #shogun: Total of 21 nicks [4 ops, 0 halfops, 0 voices, 17 normal] | 02:22 | |
-!- Irssi: Join to #shogun was synced in 7 secs | 02:22 | |
-!- mikeling|afk [uid89706@gateway/web/irccloud.com/x-nwhagerlzhenkeyg] has joined #shogun | 03:02 | |
-!- mikeling|afk is now known as mikeling | 03:15 | |
shogun-buildbot | build #282 of trusty - libshogun - viennacl is complete: Failure [failed test] Build details are at http://buildbot.shogun-toolbox.org/builders/trusty%20-%20libshogun%20-%20viennacl/builds/282 blamelist: MikeLing <sabergeass@gmail.com>, Viktor Gal <vigsterkr@gmail.com> | 03:15 |
---|---|---|
shogun-buildbot | build #239 of deb1 - libshogun is complete: Failure [failed compile] Build details are at http://buildbot.shogun-toolbox.org/builders/deb1%20-%20libshogun/builds/239 blamelist: MikeLing <sabergeass@gmail.com>, Viktor Gal <vigsterkr@gmail.com> | 03:38 |
@wiking | shogun-buildbot: force build --branch=develop 'deb1 - libshogun' | 03:41 |
shogun-buildbot | build #240 forced | 03:41 |
shogun-buildbot | I'll give a shout when the build finishes | 03:41 |
shogun-buildbot | Hey! build deb1 - libshogun #240 is complete: Failure [failed compile] | 03:42 |
shogun-buildbot | Build details are at http://buildbot.shogun-toolbox.org/builders/deb1%20-%20libshogun/builds/240 | 03:42 |
@wiking | shogun-buildbot: force build --branch=develop 'deb1 - libshogun' | 04:57 |
shogun-buildbot | build #241 forced | 04:57 |
shogun-buildbot | I'll give a shout when the build finishes | 04:57 |
shogun-buildbot | build #241 of deb1 - libshogun is complete: Success [build successful] Build details are at http://buildbot.shogun-toolbox.org/builders/deb1%20-%20libshogun/builds/241 | 05:01 |
@wiking | shogun-buildbot: force build --branch=develop 'deb3 - modular_interfaces' | 05:04 |
shogun-buildbot | build #214 forced | 05:04 |
shogun-buildbot | I'll give a shout when the build finishes | 05:04 |
shogun-buildbot | build #214 of deb3 - modular_interfaces is complete: Failure [failed configure] Build details are at http://buildbot.shogun-toolbox.org/builders/deb3%20-%20modular_interfaces/builds/214 | 05:05 |
@wiking | shogun-buildbot: force build --branch=develop 'deb3 - modular_interfaces' | 05:11 |
shogun-buildbot | build #215 forced | 05:11 |
shogun-buildbot | I'll give a shout when the build finishes | 05:11 |
shogun-buildbot | Hey! build deb3 - modular_interfaces #215 is complete: Failure [failed configure] | 05:11 |
shogun-buildbot | Build details are at http://buildbot.shogun-toolbox.org/builders/deb3%20-%20modular_interfaces/builds/215 | 05:11 |
@wiking | shogun-buildbot: force build --branch=develop 'deb3 - modular_interfaces' | 05:12 |
shogun-buildbot | build #216 forced | 05:12 |
shogun-buildbot | I'll give a shout when the build finishes | 05:12 |
shogun-buildbot | Hey! build deb3 - modular_interfaces #216 is complete: Failure [failed install] | 06:04 |
shogun-buildbot | Build details are at http://buildbot.shogun-toolbox.org/builders/deb3%20-%20modular_interfaces/builds/216 | 06:04 |
@wiking | shogun-buildbot: force build --branch=develop 'deb3 - modular_interfaces' | 06:53 |
shogun-buildbot | build #217 forced | 06:53 |
shogun-buildbot | I'll give a shout when the build finishes | 06:53 |
shogun-buildbot | Hey! build deb3 - modular_interfaces #217 is complete: Failure [failed examples and unit tests] | 07:07 |
shogun-buildbot | Build details are at http://buildbot.shogun-toolbox.org/builders/deb3%20-%20modular_interfaces/builds/217 | 07:07 |
mikeling | wiking: hi, what should I do next? | 08:22 |
mikeling | for dynamicArray | 08:22 |
@wiking | just a sec | 08:22 |
mikeling | ok | 08:22 |
@wiking | or like 2 minutes rather | 08:22 |
@wiking | ok | 08:56 |
@wiking | i have a question | 08:56 |
@wiking | mikeling, | 08:56 |
@wiking | do you know where these ctors are being called | 08:56 |
@wiking | https://github.com/shogun-toolbox/shogun/pull/3832/files#diff-1a43b9169d617ac582b2a21332230795R101 | 08:56 |
@wiking | https://github.com/shogun-toolbox/shogun/pull/3832/files#diff-1a43b9169d617ac582b2a21332230795R125 | 08:56 |
mikeling | wiking: no, I don't know | 08:57 |
@wiking | mmm could you create a list | 08:57 |
@wiking | where these ctors are being used | 08:57 |
@wiking | plz | 08:57 |
mikeling | wiking: ok | 08:58 |
@wiking | because acutally in case | 08:59 |
@wiking | std::vector | 08:59 |
@wiking | bool p_free_array, bool p_copy_array | 08:59 |
@wiking | are pretty problematic | 08:59 |
mikeling | mmm, you mean we actually don't need them? | 09:00 |
mikeling | for std::vector | 09:00 |
@wiking | well you always copy the values | 09:01 |
@wiking | hence you always free the copied values | 09:01 |
@wiking | but not the passed T* | 09:01 |
@wiking | so yeah | 09:05 |
@wiking | i was hoping to figure out where are those apis used | 09:05 |
@wiking | and try to eliminate it | 09:05 |
@wiking | if possible | 09:05 |
@wiking | mikeling, easiest way to figure it out is to delete those ctors and try to compile :) | 09:08 |
mikeling | wiking: I just add SG_PRINT in theose ctors, and run unit test | 09:09 |
@wiking | mmmm | 09:09 |
mikeling | hope that could works :) | 09:09 |
@wiking | better delete the ctors | 09:10 |
@wiking | because it might not be | 09:10 |
@wiking | part of a unit test | 09:10 |
@wiking | as not everything is tested | 09:10 |
@wiking | in shogun unfortunately | 09:10 |
mikeling | mmm, ok | 09:10 |
-!- geektoni [c1cdd24b@gateway/web/freenode/ip.193.205.210.75] has joined #shogun | 09:17 | |
@wiking | micmn, ping | 09:21 |
micmn | wiking: here | 09:31 |
@wiking | micmn, i'm wondering which pr is mergable? | 09:32 |
@wiking | i know msvc is failing | 09:32 |
@wiking | but that's another story | 09:32 |
micmn | linalg ops are ok, I need to push some minor things and there are a few comments from Heiko but I don't think they apply directly to the pr | 09:35 |
micmn | but he commented here https://github.com/shogun-toolbox/shogun/pull/3842#pullrequestreview-44618055 | 09:36 |
micmn | for LDA see my last comment https://github.com/shogun-toolbox/shogun/pull/3826#issuecomment-309391760 | 09:37 |
micmn | KernelPCA it's ok too, the only thing is the method apply_to_string_features() that I'm not sure how we should handle https://github.com/shogun-toolbox/shogun/pull/3842#pullrequestreview-44791875 | 09:38 |
micmn | ah, Heiko created the brach feature/linalg_untemplated but I can't push to it right? | 09:40 |
micmn | *branch | 09:40 |
@wiking | yeah no | 09:40 |
@wiking | you can PR to that | 09:40 |
@wiking | :P | 09:40 |
micmn | ok! | 09:41 |
mikeling | wiking: here is place I found where these ctors are being called https://gist.github.com/MikeLing/1d4decc84505e0215c95796ce4bd48ed | 09:53 |
mikeling | both of bool p_free_array and bool p_copy_array been set as true | 09:54 |
@wiking | ok so it's always copy | 09:56 |
@wiking | and always free | 09:56 |
mikeling | And I think we could just delete these two ctors and remove p_free_array, p_copy_array | 09:56 |
mikeling | yes | 09:56 |
@wiking | yes | 09:56 |
@wiking | that would be the first step | 09:56 |
@wiking | but dont push | 09:57 |
mikeling | ok | 09:57 |
@wiking | i'll give you a gist for how to solve temporarily the serialization | 09:57 |
mikeling | thank you | 09:57 |
@wiking | mikeling, https://gist.github.com/vigsterkr/6b557ad7f4b23280980f7507e79cdbad | 10:07 |
@wiking | ok | 10:07 |
@wiking | lemme change | 10:07 |
@wiking | 2 things | 10:09 |
@wiking | name of m_array_content maybe not the best | 10:09 |
@wiking | you can remove load_serializable_pre | 10:09 |
@wiking | and there these changes should be marked TODO or FIXME | 10:09 |
@wiking | so that shows that these are temporal workaroudns | 10:10 |
mikeling | why we use load_serializable_post instead of load_serializable_pre? | 10:10 |
-!- TingMiao [uid229534@gateway/web/irccloud.com/x-ufgcvkdtqvyqbein] has joined #shogun | 10:13 | |
-!- iglesiasg [~iglesiasg@217.119.234.214] has joined #shogun | 10:17 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 10:17 | |
@wiking | mikeling, because now this is a trick we do | 10:18 |
@wiking | basically say that m_array_content is something that the parameter framework can handle | 10:18 |
@wiking | and seriealize | 10:18 |
@wiking | so we use that as a dummy variable when serializing | 10:18 |
@wiking | but not other times | 10:18 |
@wiking | so what we do is that save_serializable_pre we fill that dummy variable with the values of the std::vector | 10:19 |
@wiking | let the parameter framework serialize the values | 10:19 |
@wiking | then when load_serializable called you first make sure that everything is loaded to the class correctly | 10:19 |
@wiking | then with the post hook (load_serializable_post) you basically make sure that the values of this dummy variable is copied to the std::Vector and free that memory (as it's copied) | 10:20 |
@wiking | when load_serializable_pre is called as the name suggest | 10:20 |
@wiking | deserialization (loading of values) is not available yet | 10:20 |
mikeling | wiking: ok, I see. | 10:22 |
mikeling | thank you! | 10:22 |
mikeling | so the next step is to make Parameter can deal with add(std::vector) the std::vector<T> or ? | 10:25 |
@wiking | mmm | 10:27 |
@wiking | we can ignore that | 10:27 |
@wiking | because we gonna be sooner or later | 10:27 |
@wiking | throw out the whole Paramater class | 10:27 |
@wiking | so it's ok | 10:27 |
@wiking | this is just a temporal workaroudn | 10:27 |
mikeling | ok :) | 10:28 |
@wiking | btw | 10:29 |
@wiking | we should maybe discuss some | 10:30 |
@wiking | the story of capacity, reserve | 10:30 |
@wiking | mikeling, because actually that's what DynamicArray is mimicing | 10:31 |
@wiking | originally | 10:31 |
@wiking | so for example here | 10:32 |
@wiking | https://github.com/shogun-toolbox/shogun/pull/3832/files#diff-1a43b9169d617ac582b2a21332230795R44 | 10:32 |
@wiking | one should do rather | 10:32 |
@wiking | m_array.reserve(resize_granularity) | 10:33 |
@wiking | and then | 10:34 |
@wiking | inline int32_t get_array_size() | 10:34 |
@wiking | would actually return | 10:35 |
@wiking | capacity() | 10:35 |
@wiking | m_array. capacity() | 10:35 |
@wiking | instead of m_array.size() | 10:35 |
@wiking | mikeling, see what i mean? | 10:35 |
mikeling | yes | 10:35 |
mikeling | BTW, this free https://gist.github.com/vigsterkr/6b557ad7f4b23280980f7507e79cdbad#file-dynamicarray-h-L5 | 10:35 |
mikeling | somehow error out | 10:36 |
@wiking | ? | 10:36 |
@wiking | where? | 10:36 |
mikeling | like https://pastebin.mozilla.org/9025368 | 10:36 |
@wiking | when? | 10:36 |
@wiking | oh ok lemme see | 10:37 |
@wiking | because i only ran DynamicArray unit tests | 10:37 |
@wiking | so i guess there's somewhere else | 10:37 |
mikeling | mmm, but the error is for CDynamicArrayTest/0.save_serializable test | 10:39 |
mikeling | I just comment the SG_FREE and build it again | 10:39 |
@wiking | ? | 10:40 |
@wiking | that didn't fail for me | 10:41 |
@wiking | i mean w/o the sg_free it has to work | 10:41 |
@wiking | i'm really wondering why would it fail with sg_free | 10:41 |
mikeling | mmm, I guess it's my problem. Let me do some test | 10:45 |
mikeling | I will ping you if I figure it out | 10:45 |
@wiking | ok but is it failing even w/o free? | 10:45 |
@wiking | btw have you removed load_serializable_pre | 10:45 |
@wiking | ? | 10:45 |
mikeling | yes | 10:46 |
@wiking | ok but is it failing even w/o free? | 10:46 |
@wiking | ok but is it failing even w/o free? | 10:46 |
@wiking | ? | 10:46 |
-!- iglesiasg [~iglesiasg@217.119.234.214] has quit [Read error: Connection reset by peer] | 11:09 | |
-!- iglesiasg [~iglesiasg@217.119.234.214] has joined #shogun | 11:22 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 11:22 | |
-!- geektoni [c1cdd24b@gateway/web/freenode/ip.193.205.210.75] has quit [Quit: Page closed] | 11:29 | |
-!- HeikoS [~heiko@89.105.104.229] has joined #shogun | 11:42 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 11:42 | |
@wiking | HeikoS, i wanna throw out Parameter.cpp now | 11:46 |
@wiking | this is a fucking shit that holds us back from many imporvements | 11:46 |
@HeikoS | wiking: ok | 11:46 |
@wiking | and it is broken | 11:46 |
@wiking | i mean our serialization | 11:46 |
@wiking | is broken | 11:46 |
@HeikoS | there is two options | 11:46 |
@wiking | mostly | 11:46 |
@wiking | we are now fucking aroudn here with DynamicArray | 11:46 |
@wiking | post/pre | 11:46 |
@HeikoS | 1.) temporarily disable clone equals and serialization | 11:46 |
@wiking | bullshit | 11:46 |
@HeikoS | 2.) first fix tags | 11:46 |
@HeikoS | wiking: I am OK with 1 | 11:47 |
@HeikoS | just remove all that | 11:47 |
@HeikoS | so we dont have clone/equals/save for a while in develop | 11:47 |
@wiking | it's so fucking tiresome to try things get work | 11:47 |
@HeikoS | yes | 11:47 |
@HeikoS | do it | 11:47 |
@wiking | with this horrendous stuff | 11:47 |
@HeikoS | I can help | 11:47 |
@HeikoS | some algos will break | 11:47 |
@HeikoS | GP as well | 11:47 |
@HeikoS | (gp modelselection( | 11:47 |
@HeikoS | and model selectio | 11:47 |
@HeikoS | but yes do it | 11:47 |
@HeikoS | make an issue with the list of things to make working again | 11:47 |
@wiking | HeikoS, https://gist.github.com/vigsterkr/6b557ad7f4b23280980f7507e79cdbad | 11:48 |
@HeikoS | but you are right we have to break | 11:48 |
@wiking | this is a temporal fix around | 11:48 |
@wiking | the std::vector | 11:48 |
@wiking | but still it breaks | 11:48 |
@wiking | dunno why | 11:48 |
@wiking | and ont the other hand | 11:48 |
@wiking | since in swig std::vector is mapped in every language | 11:48 |
@wiking | we wouldn't even need DynamicArray in the fist place | 11:48 |
@wiking | *first | 11:48 |
@HeikoS | yes | 11:48 |
@HeikoS | well start a branch | 11:48 |
@wiking | if we would support parameter->add(std::vector) | 11:48 |
@HeikoS | and try to make it build | 11:48 |
@HeikoS | no | 11:48 |
@HeikoS | it doesnt help | 11:49 |
@HeikoS | only equals will work | 11:49 |
@HeikoS | the rest wont | 11:49 |
@HeikoS | clone/save | 11:49 |
@HeikoS | I think make a branch, delete Parameter.cpp and then work the way back in | 11:49 |
@HeikoS | disabling methods (and putting those in a TODO list) | 11:49 |
@HeikoS | and then work down the list, making things work with tags | 11:49 |
@wiking | fuck | 11:49 |
@HeikoS | not too hard | 11:49 |
@wiking | i dont even understand | 11:49 |
@wiking | why | 11:49 |
@HeikoS | equals just reads memory | 11:50 |
@HeikoS | so thats ok | 11:50 |
@wiking | https://gist.github.com/vigsterkr/6b557ad7f4b23280980f7507e79cdbad#file-dynamicarray-h-L45 | 11:50 |
@wiking | if i change this | 11:50 |
@wiking | to | 11:50 |
@HeikoS | but anything that allocates will not work without extra modifications if you add add(std::vector) | 11:50 |
@wiking | SGVector<T> m_array_content; | 11:50 |
@wiking | and use | 11:50 |
@wiking | SG_ADD( | 11:50 |
@wiking | &m_array_content, "m_array_content", "whether array must be freed", | 11:50 |
@wiking | MS_NOT_AVAILABLE); | 11:50 |
@wiking | all's good | 11:50 |
@wiking | if i use | 11:50 |
@wiking | that one in gist | 11:51 |
@wiking | i have some random segfaults | 11:51 |
@wiking | wtf? | 11:51 |
@HeikoS | I think you miht have to do some static casting there | 11:51 |
@HeikoS | it might call the wrong method | 11:51 |
@HeikoS | pointer of pointer stuff | 11:51 |
@HeikoS | but dont know | 11:51 |
@wiking | anyhow that workaroudn should work | 11:52 |
@wiking | of course it has the sideeffect | 11:52 |
@wiking | that when deserializing | 11:52 |
@wiking | you have a double memory until std::vector is not set | 11:52 |
@HeikoS | ywp | 11:53 |
@wiking | but i mean fuck this | 11:53 |
@HeikoS | there will also be problems when scaling this up to SGObject | 11:53 |
@wiking | horrible | 11:53 |
@wiking | ? | 11:53 |
@wiking | what do yo umean scaling up? | 11:53 |
@HeikoS | you dont want to add this method to every class that has a std::vector member | 11:53 |
@wiking | ah i wanna give up | 11:53 |
@wiking | mmm | 11:54 |
@wiking | we need a wrapper | 11:54 |
@wiking | in the fucking parameter | 11:54 |
@wiking | as otherwise this is just bull fucking shit | 11:54 |
@wiking | ah i'm tired of this code | 11:54 |
@HeikoS | have to switch the type in base class :D | 11:54 |
@wiking | i have a feeling | 11:54 |
@HeikoS | wiking: ok lets stop moaning then | 11:54 |
@HeikoS | start a branch | 11:54 |
@HeikoS | delete the class | 11:54 |
@wiking | that sometimes | 11:54 |
@wiking | starting a new code | 11:54 |
@HeikoS | lets see what is left after | 11:54 |
@wiking | would be easier | 11:54 |
@wiking | than trying to stuff this somehow | 11:54 |
@wiking | to make it work | 11:54 |
@HeikoS | yes, I think it is ok top drop some features | 11:55 |
@HeikoS | ok I gotta go now | 11:55 |
@HeikoS | ttly | 11:55 |
@wiking | HeikoS, oh yeah totally unrelevant | 12:59 |
@wiking | ping me when you are back | 12:59 |
-!- HeikoS [~heiko@89.105.104.229] has quit [Quit: Leaving.] | 14:04 | |
-!- geektoni [~geektoni@151.62.57.216] has joined #shogun | 14:42 | |
geektoni | ping wiking | 15:17 |
@wiking | pong | 15:17 |
geektoni | hey, my PRs fail every time on Travis because of its time limit :/ | 15:18 |
geektoni | like this one https://travis-ci.org/shogun-toolbox/shogun/jobs/244688885 | 15:18 |
geektoni | should we add RxCpp to the Docker container? | 15:18 |
geektoni | because it may be the reason behind this problem :P | 15:18 |
@wiking | we can | 15:18 |
geektoni | kk, I'll do it right now ;) | 15:19 |
geektoni | wiking: how is it going with AppVeyor? ;) | 15:20 |
@wiking | probably have to change parallel build to single threaded build | 15:21 |
@wiking | will take way longer :( | 15:21 |
@wiking | but should solve the problems | 15:21 |
geektoni | :( what a pain! | 15:22 |
lisitsyn | wiking: geektoni: you guys around? | 15:42 |
geektoni | lisitsyn: I'm here :) | 15:47 |
lisitsyn | rxcpp | 15:55 |
lisitsyn | is it the must-have dependency now? | 15:55 |
geektoni | exactly | 15:56 |
-!- iglesiasg [~iglesiasg@217.119.234.214] has quit [Quit: leaving] | 17:12 | |
-!- geektoni [~geektoni@151.62.57.216] has quit [Quit: Leaving.] | 18:08 | |
-!- OXPHOS_ [92bd305b@gateway/web/freenode/ip.146.189.48.91] has joined #shogun | 18:12 | |
mikeling | what's the meaning of call init_shogun() before using the library, dying. | 18:35 |
mikeling | lisitsyn: ^ | 18:35 |
-!- OXPHOS_ [92bd305b@gateway/web/freenode/ip.146.189.48.91] has quit [Quit: Page closed] | 20:30 | |
--- Log closed Wed Jun 21 00:00:22 2017 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!