IRC logs of #shogun for Wednesday, 2013-08-07

--- Log opened Wed Aug 07 00:00:04 2013
@wikingsonney2k: btw: if we would use cdash we could keep track on our buildbots how long does it take to run an example. this could be a good performance indicator as well ;)00:02
@wikingsonney2k: http://open.cdash.org/testDetails.php?test=202407706&build=299001400:05
@wikingand click on Show Test Time Graph00:05
@sonney2kheh00:06
@wikingwe could of course generate this somehow on our own00:06
@sonney2kwiking, I am fine with gtest' ascii00:06
@wikingjust needs some postprocessing on buildbot00:06
@sonney2kwiking, yeah true probably very easy00:07
@wikingas we can generate00:07
@wikingeverything in xml00:07
@wikingwhich is pretty easy to parse00:07
@sonney2kwiking, well lets land on planet earth00:07
@sonney2kand get things working first00:07
@sonney2kalrighty00:10
@sonney2kbed time!00:10
@iglesiasggood night sonney2k00:13
-!- zxtx [~zv@rrcs-76-79-81-162.west.biz.rr.com] has joined #shogun00:15
-!- travis-ci [~travis-ci@ec2-54-235-16-133.compute-1.amazonaws.com] has joined #shogun00:20
travis-ci[travis-ci] it's Soeren Sonnenburg's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/991874700:20
-!- travis-ci [~travis-ci@ec2-54-235-16-133.compute-1.amazonaws.com] has left #shogun []00:20
shogun-buildbotbuild #1674 of deb1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb1%20-%20libshogun/builds/1674  blamelist: Soeren Sonnenburg <sonne@debian.org>00:21
@iglesiasgok, good night to all00:39
-!- iglesiasg [~iglesias@s83-179-44-135.cust.tele2.se] has quit [Quit: Ex-Chat]00:40
-!- travis-ci [~travis-ci@ec2-54-235-16-133.compute-1.amazonaws.com] has joined #shogun00:49
travis-ci[travis-ci] it's Viktor Gal's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/991912400:49
-!- travis-ci [~travis-ci@ec2-54-235-16-133.compute-1.amazonaws.com] has left #shogun []00:49
-!- HeikoS [~heiko@05419c83.skybroadband.com] has joined #shogun00:50
-!- mode/#shogun [+o HeikoS] by ChanServ00:50
-!- HeikoS [~heiko@05419c83.skybroadband.com] has quit [Remote host closed the connection]00:53
shogun-notifier-shogun: Viktor Gal :feature/CMake * 78a5a6b / / (4 files): https://github.com/shogun-toolbox/shogun/commit/78a5a6bfa48a7163da7e2ee6820434bab581a5b802:27
shogun-notifier-shogun: Switch octave build to gcc02:27
shogun-notifier-shogun: upgrade gmock to HEAD of trunk to support c++1102:27
-!- travis-ci [~travis-ci@ec2-54-235-16-133.compute-1.amazonaws.com] has joined #shogun02:35
travis-ci[travis-ci] it's Viktor Gal's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/992375102:35
-!- travis-ci [~travis-ci@ec2-54-235-16-133.compute-1.amazonaws.com] has left #shogun []02:35
gsomix_sonney2k, sonne|work ok, I'll check it.03:41
gsomix_sonney2k, sonne|work can you give me example file with data?03:53
shogun-buildbotbuild #416 of nightly_all is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/nightly_all/builds/41603:53
gsomix_sonney2k, sonne|work cu at evening in chat03:54
-!- gsomix_ [~gsomix@95.67.140.176] has quit [Quit: Leaving]03:55
-!- zxtx [~zv@rrcs-76-79-81-162.west.biz.rr.com] has quit [Ping timeout: 276 seconds]04:45
shogun-buildbotbuild #481 of nightly_default is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/nightly_default/builds/48104:46
shogun-buildbotbuild #426 of nightly_none is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/nightly_none/builds/42604:47
-!- shogun-notifier- [~irker@94.23.237.10] has quit [Quit: transmission timeout]05:27
-!- gsomix [~gsomix@185.6.239.105] has joined #shogun07:36
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun08:42
shogun-notifier-shogun: Soeren Sonnenburg :develop * 44e3c2e / examples/ (3 files): https://github.com/shogun-toolbox/shogun/commit/44e3c2e2b6de9e8c8cdcdc9bff74d32b2d03caf208:42
shogun-notifier-shogun: convert cauchy/chi2 kernel to use CSVFile08:42
-!- van51 [~van51@ppp-94-66-20-32.home.otenet.gr] has joined #shogun09:09
-!- lisitsyn [~lisitsin@mxs.kg.ru] has joined #shogun09:10
-!- travis-ci [~travis-ci@ec2-54-235-16-133.compute-1.amazonaws.com] has joined #shogun09:14
travis-ci[travis-ci] it's Soeren Sonnenburg's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/993120709:14
-!- travis-ci [~travis-ci@ec2-54-235-16-133.compute-1.amazonaws.com] has left #shogun []09:14
@wikingbtw: anybody thought about adding support for std::complex?09:27
sonne|workwiking: errm we have complex now - lambday did this09:28
@wikingyes but it's std:: ;)09:28
-!- Yanglittle [b74040fc@gateway/web/freenode/ip.183.64.64.252] has joined #shogun09:29
sonne|work?09:30
Yanglittleexcuse me, does the svm can return the score of classifying now?09:36
sonne|workYanglittle: sure it always did this09:37
sonne|workYanglittle: just use labels.get_values() IIRC09:37
shogun-buildbotbuild #1675 of deb1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb1%20-%20libshogun/builds/1675  blamelist: Soeren Sonnenburg <sonne@debian.org>09:37
-!- foulwall [~user@106.186.27.65] has joined #shogun09:38
Yanglittlelabels.get_values(), here labels is ?09:41
-!- foulwall [~user@106.186.27.65] has quit [Remote host closed the connection]09:41
-!- foulwall [~user@106.186.27.65] has joined #shogun09:41
shogun-notifier-shogun: Viktor Gal :feature/CMake * 2a7f045 / CMakeLists.txt,cmake/CheckCXX11Features.cmake: https://github.com/shogun-toolbox/shogun/commit/2a7f045280ea228dbab78cf9dff1e8924f966e9d09:41
shogun-notifier-shogun: Use -stdlib=libc++ only on Darwin systems for clang c++11 support09:41
thoralfHey all09:42
sonne|workYanglittle: the labels you get from an svm09:42
sonne|workthoralf: goard morning!09:42
thoralfsonne|work: Nice accent ;)09:42
gsomixsonney2k, hey09:43
gsomixsonne|work, ^09:43
Yanglittlelike this: svm.apply().get_labels().get_values()? it doesn't work. here it's a multiclasssvm09:44
lisitsynYanglittle: you need get_multiclass_confidences(int) method09:54
lisitsynthe parameter in parens is the index of the feature vector you need09:54
lisitsynso that if you need confidences for 0th feature vector09:54
lisitsynyou do09:54
lisitsynlabels.get_multiclass_confidences(0)09:55
lisitsynit will return a vector of size #(number of classes)09:55
lisitsynwith corresponding scores09:55
-!- travis-ci [~travis-ci@ec2-54-234-6-103.compute-1.amazonaws.com] has joined #shogun09:58
travis-ci[travis-ci] it's Viktor Gal's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/993241109:58
-!- travis-ci [~travis-ci@ec2-54-234-6-103.compute-1.amazonaws.com] has left #shogun []09:58
shogun-notifier-shogun: Viktor Gal :feature/CMake * 85677ec / .travis.yml: https://github.com/shogun-toolbox/shogun/commit/85677ecc82d8891a00ac5e41f9e2840e9f90813410:05
shogun-notifier-shogun: Travis: Force to use clang/clang++ when compiler is clang10:05
-!- iglesiasg [~iglesias@s83-179-44-135.cust.tele2.se] has joined #shogun10:09
-!- mode/#shogun [+o iglesiasg] by ChanServ10:09
@iglesiasggood morning10:10
thoralfHey iglesiasg10:10
@wikingiglesiasg: mornin' .. i've made your eigen fetcher/compiler10:10
@wikingsonne|work: have u seen this before: https://travis-ci.org/shogun-toolbox/shogun/jobs/9933019#L208610:10
@iglesiasgwiking, all good with feature/CMake?10:10
@wikingiglesiasg: yep... there's some problem with gcc + c++11 it seems though10:11
@wikingoooh fuck10:12
@wikingc++11 vs python modular :(10:12
@wikinghttps://travis-ci.org/shogun-toolbox/shogun/jobs/9933021#L276010:13
@wikingis_array vs std:is_array10:14
@iglesiasgwtf10:14
@wikingwell there's is std::is_array in c++1110:14
lisitsynhaha10:15
lisitsyn::is_array should help?10:15
@wikingbut there's a static function as well in src/interfaces/python_modular/swig_typemaps.i10:15
@wikinglisitsyn: let's see ;)10:15
@wiking::is_array would refer to the static function or?10:15
lisitsynwiking: would refer to the name in the current namespace10:16
lisitsynso he could recognize it is not std10:16
lisitsynI hope so!10:16
@iglesiasghas using namespace being used before?10:16
@iglesiasgnamespace std10:16
lisitsynit won't be ambiguous anymore10:16
lisitsynat least it compiles in my head10:16
@wikinglisitsyn: what about the other ? :)10:19
@wikinghttps://travis-ci.org/shogun-toolbox/shogun/jobs/9933019#L208610:19
@wikingideas?10:19
lisitsynwiking: that 'new' thing?10:20
@wikingyep10:20
shogun-notifier-shogun: Viktor Gal :feature/CMake * 8425ef4 / .travis.yml,src/interfaces/python_modular/swig_typemaps.i: https://github.com/shogun-toolbox/shogun/commit/8425ef4ceb8d5ec56fb04de164d7767d17c53a7f10:20
shogun-notifier-shogun: Fix is_array ambiguity with std::is_array in c++11 mode10:20
shogun-notifier-shogun: Travis: Fix forcing clang as a compiler in all clang target10:20
lisitsynwiking: sonney2k should know about that10:20
lisitsynhe fixed it once10:20
-!- Yanglittle [b74040fc@gateway/web/freenode/ip.183.64.64.252] has quit [Quit: Page closed]10:20
@wikinglately?10:21
@wikingsince i rebased yesterday some time10:21
lisitsynlike 2 weeks ago10:21
@iglesiasgwhy is it that we have CFeatures::duplicate that needs to be implemented for every subclass? I think it is the same that CSGObject::clone does.10:22
-!- travis-ci [~travis-ci@ec2-54-234-6-103.compute-1.amazonaws.com] has joined #shogun10:23
travis-ci[travis-ci] it's Viktor Gal's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/993301810:23
-!- travis-ci [~travis-ci@ec2-54-234-6-103.compute-1.amazonaws.com] has left #shogun []10:23
@wikingiglesiasg: mmm i gues it hsould be marked as deprecated...?10:23
@wikingwe anyways should start deprecating some stuf...10:24
@iglesiasgwiking, yeah maybe. I was not sure if I was missing something special about dupplicate10:24
@iglesiasgyeah, agree10:24
-!- zxtx [~zv@cpe-75-83-151-252.socal.res.rr.com] has joined #shogun10:26
@wikinglisitsyn: https://travis-ci.org/shogun-toolbox/shogun/jobs/9933395#L278110:28
@wiking:D10:28
lisitsynwiking: wtf10:34
lisitsynwiking: what happens here10:34
hushelliglesiasg: you are talking about FactorGraph::duplicate :) Anyway, it never be used seems10:35
-!- foulwall` [~user@106.186.27.65] has joined #shogun10:35
@wikinglisitsyn: afaik it's something with -Wc++11-narrowing10:35
-!- foulwall [~user@106.186.27.65] has quit [Remote host closed the connection]10:35
@iglesiasghushell, not just about the CFactorGraph one but in general why CFeatures even has that method since to me it seems that it does the same functionality of clone in CSGObject10:35
hushelliglesiasg: indeed it is, but I think it was designed that more things could be done together with the duplication of features10:38
@iglesiasghushell, mm sorry, I don't understand that. Designed so more things could be done together? What things?10:38
hushelliglesiasg: because I never see this function being called, so I have no idea, I just guess10:39
hushelliglesiasg: how is my PR?10:41
@iglesiasghushell, pretty much ready I think. I wrote a couple of comments, did you see them?10:41
@iglesiasghushell, the most important thing is about find_set. You said you have tested it, are these tests you mentioned already in the unit test?10:41
@iglesiasgI can see in the unit test something about loopy structure analysis, but neither tree nor forest10:42
@iglesiasgthat you mentioned in the comment10:42
hushelliglesiasg: yeah, I added 2 more tests10:42
-!- foulwall` [~user@106.186.27.65] has quit [Read error: Connection reset by peer]10:42
-!- travis-ci [~travis-ci@ec2-54-235-16-133.compute-1.amazonaws.com] has joined #shogun10:46
travis-ci[travis-ci] it's Viktor Gal's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/993339110:46
-!- travis-ci [~travis-ci@ec2-54-235-16-133.compute-1.amazonaws.com] has left #shogun []10:46
hushelliglesiasg: the structure_analysis_loopy got a loopy graph, 3x3 grid graph indeed10:47
@iglesiasghushell, good10:48
hushelland the structure_analysis_disconnected got 3 trees in the graph, which is actually 3 lines10:48
hushellit works better than my expectation :)10:48
@iglesiasgcool!10:49
shogun-notifier-shogun: Fernando Iglesias :develop * d4e02ed / src/shogun/base/SGObject.h: https://github.com/shogun-toolbox/shogun/commit/d4e02ed01f497e16832fd5f9bdcb01520b198ff910:49
shogun-notifier-shogun: Fix a couple of doc typos in CSGObject10:49
shogun-notifier-shogun: Fernando Iglesias :develop * 41654d9 / src/shogun/base/SGObject.h: https://github.com/shogun-toolbox/shogun/commit/41654d9769e982376406b15928b5f3706e26227910:49
shogun-notifier-shogun: Merge pull request #1375 from iglesias/develop10:49
shogun-notifier-shogun:10:49
shogun-notifier-shogun: Fix a couple of doc typos in CSGObject10:49
hushelliglesiasg: yeah, some progresses finally10:50
@iglesiasghushell, let's merge it then?10:52
shogun-buildbotbuild #1676 of deb1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb1%20-%20libshogun/builds/1676  blamelist: Fernando Iglesias <fernando.iglesiasg@gmail.com>10:53
-!- foulwall` [~user@106.186.27.65] has joined #shogun10:54
hushelliglesiasg: if you think is good to merge, I'll send another PR before sleeping10:54
shogun-notifier-shogun: hushell :develop * 8adb4f0 / / (8 files): https://github.com/shogun-toolbox/shogun/commit/8adb4f01d7f4d6d4b66e1f1f59286bb357990d5c10:55
shogun-notifier-shogun: FactorGraph structure analysis10:55
shogun-notifier-shogun: Fernando Iglesias :develop * 5a8268d / / (8 files): https://github.com/shogun-toolbox/shogun/commit/5a8268d7a20944eb1411bdaf911a4f56c8086da010:55
shogun-notifier-shogun: Merge pull request #1369 from hushell/fg_dev10:55
shogun-notifier-shogun:10:55
shogun-notifier-shogun: FactorGraph structure analysis10:55
hushelliglesiasg: for the connect_components(), any suggestion to make it safer?10:57
@iglesiasghushell, mmmm is there any way to know if it has been called?10:58
@iglesiasghushell, does the state of the CFactorGraph object change in particular when this function is called?10:59
shogun-buildbotbuild #1678 of deb1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb1%20-%20libshogun/builds/1678  blamelist: hushell <hushell@hushell-U510.(none)>10:59
shogun-buildbotbuild #1679 of deb1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb1%20-%20libshogun/builds/1679  blamelist: Fernando Iglesias <fernando.iglesiasg@gmail.com>11:02
@wiking/usr/include/python2.7/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]11:02
hushelliglesiasg: I forgot I did something for this11:03
hushelliglesiasg: I made a flag is_connected in CDisjointSet11:03
hushellonce the graph is updated, we will know11:03
sonne|workwiking: yes I know that. it is easy to get rid of with that define but we don't know if we use the intended numpy api so maybe we don't want to do that just yet11:03
hushelland I add a note to the documentation11:04
@iglesiasghushell, good!11:04
@wikingsonne|work: and what about the other error (gcc)11:05
@wikingsonne|work: i've just tested the same with gcc 4.7 and it worked fine...11:05
@wikingmaybe we should just drop c++11 for gcc that is < 4.711:05
sonne|workwiking: which other error?11:05
@wikinghttps://travis-ci.org/shogun-toolbox/shogun/jobs/9933401#L214111:06
@wikingand i think maybe we should fix this https://travis-ci.org/shogun-toolbox/shogun/jobs/9933395#L278111:06
sonne|workwiking: but that is fixed in develop already11:07
@wikingsonne|work: this is a rebase of yesterday11:08
@wikingbut yeah that python error could be fixed with -Wnoc++11-narrowing11:09
-!- foulwall` [~user@106.186.27.65] has quit [Remote host closed the connection]11:09
@wikingbut actually really it'd be better to fix it in a way that it doesn't do an unsigned long -> long conversion11:10
@wikingor in worst case we could do a static_cast<Py_ssize_t>( as it's said there in the error11:11
@wikingsonne|work:  i dont get that memory problem with gcc 4.711:11
@wikingsonne|work: this is only travis' gcc 4.6 + c++11 enabled11:11
sonne|workwiking: then I guess HAVE_CXX11 is not used?11:13
sonne|workdefined I mean11:13
-!- sonne|work [~sonnenbu@91-64-72-127-dynip.superkabel.de] has quit [Quit: Leaving.]11:20
-!- sonne|work [~sonnenbu@91-64-72-127-dynip.superkabel.de] has joined #shogun11:20
@wikingsonne|work: it is defined... that causes the problem11:22
@wikingsonne|work: gcc 4.6 + HAVE_CXX11 breaks hell11:22
sonne|workohh man and with gcc 4.4 it causes trouble when HAVE_CXX11 is not there11:23
sonne|workexcellent11:23
@wikingmmm11:23
@wikingasdf11:24
@wiking- Performing Test _HAS_CXX11_FLAG11:24
@wiking-- Performing Test _HAS_CXX11_FLAG - Failed11:24
@wiking-- Performing Test _HAS_CXX0X_FLAG11:24
@wiking-- Performing Test _HAS_CXX0X_FLAG - Success11:24
@wiking-- Checking C++11 support for "__func__"11:24
@wiking-- Checking C++11 support for "__func__": works11:24
@wiking-- Checking C++11 support for "atomic"11:24
@wiking-- Checking C++11 support for "atomic": works11:24
@wikingi dont even know how it is possible to not TO have _HAS_CXX11_FLAG but have aotmic11:24
@wiking*atomic11:24
@wikinggotta debug this11:25
@wikingsonne|work: ah ok i remember... as i wanted to tell you before HAVE_CXX11 != HAVE_ATOMIC...11:28
sonne|workyeah sounds impossible11:29
@wikingsonne|work: what?11:29
sonne|workI mean well ok maybe yes11:29
@wikingi mean not maybe11:30
sonne|workI know that clang people gradually implemented c++11 support11:30
@wikingit's for sure11:30
@wikingeven in gcc11:30
sonne|workso they had atomic working long before the whole standard got implemented11:30
sonne|workbut this here is still strange I mean we use -std=c++11 for the atomic test right?11:31
sonne|workand the _HAS_CXX* is sth compiler specific?11:31
@wikingno11:32
@wikingit's created by cmake test11:32
sonne|workahh ok then makes sense11:34
sonne|workso it needs a different treatment in memory.cpp11:34
gsomixsonne|work, please, say me what example you use for test?11:34
@wikingsonne|work: can we have atomic w/o -std=c++11 ?11:35
gsomixI mean 92x92 data11:35
@wikingsonne|work: i dont see it happening11:35
sonne|workgsomix: well the unit tests fail11:35
gsomixsonne|work, of course, we changed order.11:36
sonne|workgsomix: it is very confusing btw with the ascii / sgvector etc stuff11:36
sonne|workgsomix: no11:36
sonne|workgsomix: yes11:36
sonne|worko_O11:36
@wikingah oookeeey11:36
@wikingi works with -std=c++0x ;)11:36
sonne|workgsomix: so basically we have a clash with everything11:36
gsomixsonne|work, lol11:36
sonne|workwiking: asdfasdfasdfasdf11:37
@wikingsonne|work: ? :)11:37
sonne|workgsomix: so basically we have11:37
gsomixsonne|work, I don't realyy figure out why data in examples is in c_order.11:37
@wikingsonne|work: i think i solved it :P11:37
sonne|worka) an SGVector and want to convert it into a SGMatrix11:37
sonne|workb) an ascii file that you convert into an  SGVector and then a SGMatrix11:38
sonne|workand now the fun begins:11:38
sonne|workwhen you have an sgvector -> sgmatrix11:39
sonne|workwe have C and FORTRAN order11:39
gsomixsonne|work, don't stop writing. I need switch to smartphone.11:39
sonne|workwith fortran order (which is what shogun uses internally everywhere)11:39
-!- gsomix [~gsomix@185.6.239.105] has quit [Quit: Leaving]11:39
sonne|workerrm11:39
lisitsynsonne|work: keep writing!11:40
lisitsyn:D11:40
sonne|workwe want that column vectors are examples11:40
sonne|workso one column == one example11:40
sonne|workand we concatenate them in memory since that is how we store the matrix11:40
sonne|workso basically we don't have to do anything with sgvector11:40
sonne|workjust copy the data over for *FORTRAN* order11:41
sonne|workfor C order we need to transpose11:41
sonne|workgsomix that is how you wrote it and it is ok and what we want11:41
sonne|workbut now comes the ascii file11:41
sonne|workand what you do is create a huge SGVector that you then convert into a SGMatrix11:42
sonne|worksince you read line-by-line11:43
shogun-buildbotbuild #1677 of deb1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb1%20-%20libshogun/builds/1677  blamelist: Fernando Iglesias <fernando.iglesiasg@gmail.com>11:43
thoralfsonne|work: Just curious: Any specific reason why you decided for fortran order?11:43
sonne|workthoralf: it is what R, matlab, octave, lapack, blas use11:44
lisitsynit is wise SVM-wise!11:44
thoralfsonne|work: Okay, makes sense.  Just seems "not natural", since when you do matrix[i] in matlab, you get a row vector.  Even with continuously streaming data it does make thinks complicated, since you have to wait for the last example, until you have a consistent column.11:46
sonne|workgsomix anyway since you read line by line you now have something that with a SGVector -> SGMatrix conversion and FORTRAN order will give you a transposed (C_ORDER) matrix %-)11:47
lisitsynthoralf: colwise is better to compute dot products :)11:47
lisitsynthoralf: and rowwise is better for lasso/etc11:47
lisitsynactually I believe it should transpose all the time automagically to achieve better performance11:48
thoralflisitsyn: Now it's getting interesting. :)  Why is colwise better for dot products?11:48
lisitsynthoralf: I'd say caching11:48
sonne|workgsomix so that is why it is confusing11:48
@iglesiasghushell, I just updated to latest code after your PR. SGObject.clone_equals_FactorGraph unit test fails here, what about in your machine?11:49
sonne|workthoralf: matrix[i] in matlab is not defined :D11:49
thoralflisitsyn: If I have a dot-product of a row-vector with something else, it's just perfect.11:49
thoralfsonne|work: matrix[i,:], sorry.11:49
thoralf:D11:49
lisitsynthoralf: when you have your vector contiguous it is surely better11:49
sonne|workthoralf: but you don't have to wait for all data no no it is one column vector is stored in memory after another11:50
lisitsynthoralf: to understand how it affects the performance11:50
lisitsyntry fill some matrix with (i,j) and (j,i)11:50
sonne|workthoralf: so with streaming it is contigous and everything11:50
lisitsynlike symmetric matrix11:50
lisitsynsuch jumps make it like 2x-3x slower11:51
sonne|workthoralf, lisitsyn: it is faster not due to caching but 'prefetching' memory can be read linearly11:51
thoralfsonne|work: Oooh-kay.11:51
sonne|workso you can read big blocks11:51
lisitsynsonne|work: how would you call such prefetching?11:51
thoralfsonne|work: So you just store examples as columns?11:51
thoralfsonne|work: Then it doesn't make any difference.11:52
lisitsynI am used to think of it like caching11:52
thoralf:)11:52
-!- gsomix [~gsomix@85.26.165.90] has joined #shogun11:52
sonne|workthoralf: for GPUs it is even more extreme - they have commands to fetch contiguous data and then use the many GPU cores to do work11:52
gsomixHey there11:52
sonne|workgsomix: clear?11:52
thoralfsonne|work: I think it's just a matter of definition.  If I concattenate row-vectors or col-vectors, it's all the same but the indices.11:53
sonne|workthoralf: yes 1 example == 1 column11:53
gsomixWait a moment. Need read log.11:53
sonne|workthoralf: sure11:53
sonne|workthoralf: with python you can do that11:53
sonne|workthoralf: just specify fortran or c order11:53
thoralfsonne|work: Okay, so fortran order just swaps indices?  Okay, then it's trivial.  Memory layout will be the same... :)11:55
sonne|workthoralf: but fortran order certainly is a brain twist for (C) programmers11:55
lisitsyn??11:55
sonne|workthoralf: if you want it that way yes11:55
thoralfsonne|work: Thanks.11:56
lisitsynit matters whether you use contiguous (leading dimension = 1)11:56
lisitsynor non-contiguous (leading dimension >1)11:56
lisitsynthat's it ;)11:56
thoralflisitsyn: Sure. :)11:57
lisitsynI wouldn't say it is crucial though11:57
lisitsynprobably one can gain performance somewhere else11:57
thoralfI used to implement n-dimensional arrays in C to have n-dimensional probability tables.11:57
lisitsynin the end such thing matters only for 'scientific' papers :D11:58
thoralfSo I'm away of that, but was just confused about what fortran order does.11:58
-!- van511 [~van51@athedsl-380772.home.otenet.gr] has joined #shogun11:58
thoralfs/away/aware/11:58
lisitsynthoralf: how did you implement it?11:58
lisitsynlike C[i][j][k]?11:58
thoralflisitsyn: No.  One continuous array.11:59
sonne|workthoralf: like shogun11:59
thoralflisitsyn: i*base^2 + j^base + k11:59
thoralf(or the other way round, doesn't even matter)11:59
-!- van51 [~van51@ppp-94-66-20-32.home.otenet.gr] has quit [Ping timeout: 264 seconds]11:59
lisitsynthoralf: it is better to use that right?11:59
thoralflisitsyn: Yes.12:00
gsomixsonne|work clear. I wrote something confusint12:00
lisitsynthan pointers to pointers12:00
thoralflisitsyn: Pointers will kill you.  It's slow when you need to access all elements at a time.12:00
thoralflisitsyn: for example when finding the max.12:00
thoralflisitsyn: or projections12:01
lisitsynyeah that's what I wanted to say12:01
sonne|workgsomix: no not really but it still needs 'fixing' of unit tests and maybe a doc overhaul12:01
gsomix* confusing12:02
gsomixOK, I'll check it twice.12:03
sonne|workgsomix: the good news is that I converted a few examples already and they seemed to work12:05
gsomixOk, I'll fix it asap. But I'm now in bus.12:05
gsomixBTW you said that there is one more bug.12:06
gsomixWith 92x92 matrix.12:06
shogun-notifier-shogun: Viktor Gal :feature/CMake * b485ac9 / / (4 files): https://github.com/shogun-toolbox/shogun/commit/b485ac984a02784ad2edb912ab054235973992a112:06
shogun-notifier-shogun: Fix HAVE_CXX11 doesn't imply HAVE_CXX11_ATOMIC and vice versa12:06
shogun-notifier-shogun: Travis: fix allow_failures keys12:06
@wikinggsomix: [  FAILED  ] LineReaderTest.constructor12:07
@wiking[  FAILED  ] LineReaderTest.read_yourself12:07
@wikingis this you?12:07
gsomixYep.12:07
gsomixWhat's wrong?12:08
gsomixBad day  for me. :)12:08
gsomixwiking: ^12:10
gsomixsonne|work: ^^12:10
sonne|workgsomix: no the rest works12:11
sonne|workwiking: what does this test do?12:11
@wikinggsomix: maybe you fixed it yesterday12:12
sonne|workwiking: no he didn't submit yesterday12:12
gsomixNope.12:12
@wikinggsomix: https://travis-ci.org/shogun-toolbox/shogun/jobs/9933394#L395612:13
gsomixThnx12:13
@wikingbtw: we should consider adding time restriction for a given tests12:16
@wikinganybody knows how to mess with the /* tp_dictoffset */ variable in SwigPyBuiltin__shogun__CStreamingFileFromSparseFeaturesT_char_t_type generated PyHeapTypeObject ?12:20
gsomixwiking: fail, mobile browser can't load travis log.12:21
@wikinggsomix: yeah it's a long one12:21
@wikinggsomix: chrome should be able to do it ... mobile chrom12:22
gsomixI'll see at evening, please disable this test.12:22
gsomixwiking: nope. I have mobile chrome.12:23
@wikinggsomix: basically its this: [ERROR] CLineReader::has_next():: Class is not initialized12:23
@wikingunknown file: Failure12:23
@wikingUnknown C++ exception thrown in the test body.12:23
@wikingsame for12:23
@wikingLineReaderTest.read_yourself12:23
gsomixHim, looks like test can't find yourself file12:24
gsomix*hm12:24
@wiking?12:24
gsomixTest just reads yourself.12:26
gsomixAnd opens file io/FileReader_unit.cc12:27
gsomixOr so12:27
gsomixDoesn't really remember filename12:28
gsomixwiking: ^12:28
@wikingyourself? meaning itself? :)12:30
gsomixHello. My name is Zhenya. I am from Russia.12:32
gsomixMaybe itself12:32
gsomix:)12:32
@wikingwtf is happening here :)12:32
gsomixI mean my English is bad and I can make errors12:35
@wikingu can haz it12:35
gsomixIndeed12:36
gsomixOK, its needed just check path and filename in unit-test12:37
@wikingdoh bad news12:41
@wikingthat tp_dictoffset is generated by swig12:41
@wikingand it's a bug :S12:41
@wiking:)12:41
@wikingok let's create a PR for them12:41
@wiking;)12:41
@wikingforking swig....12:41
@wikingif anybody's intersted: https://github.com/swig/swig/tree/joelandersson-matlab12:42
-!- van511 [~van51@athedsl-380772.home.otenet.gr] has quit [Quit: Leaving.]12:42
gsomixI'm interested12:45
gsomixOff12:47
-!- gsomix [~gsomix@85.26.165.90] has quit [Quit: Bye]12:47
lisitsynwiking: guys were sure it is dead and etc12:48
lisitsynwiking: no idea about it12:49
@wikingheh pr is created for swig :)12:51
@wikingok not yet12:52
@wikinghttps://github.com/swig/swig/pull/7012:54
@wikingyey12:54
@wiking;)12:54
@wikingnow let's temp fix this shit in the meanwhile12:54
lisitsynwiking: ha!12:55
@wikingi think travis got stuck in infinite loop12:55
@wikinghttps://travis-ci.org/shogun-toolbox/shogun/builds/9934180 is running like for 2 hours12:55
lisitsynwiking: but it should be killed?12:56
lisitsynIIRC it is killed if there is no output for 10 minutes12:56
@wikinglisitsyn: afaik yes12:56
@wikingbut seems that watchdog script died or seomthign12:56
lisitsynheh12:56
lisitsyncool12:56
hushelliglesiasg: unfortunately, it failed here as well, I am trying to fix it12:59
@iglesiasghushell, I think the best idea is to move DistjointSet to its own file and that's all. It should be easy.13:04
@iglesiasghushell, please submit a pull request just with that when it is ready13:04
hushelliglesiasg: I think you are right, I got error like this: Could not create empty instance of "DisjointSet"13:08
@iglesiasghushell, yes13:09
@wikingsonne|work: can u add a A record in shogun-toolbox.org domain?13:25
sonne|workwiking: no13:26
@wikingsonne|work: if so then please just add: cdash.shogun-toolbox.org 178.63.98.6713:26
sonne|workI don't own it13:26
@wikingsonne|work: why not?13:26
@wikinghah lol13:26
@wikinggunnar has it i see ;)13:26
@wikingsonne|work: i'm happy to host the DNS resolvers for the domain.... just make a transfer and that way we can do the management13:27
@wikingjust add ns.info2k1.hu and ns3.info2k1.hu as resolvers for the domain13:29
sonne|workwiking: I have nameservers too but I don't own it :/13:30
@wikingsonne|work: gunnar will surely agree to transfer the resolvers ;)13:30
sonne|workI ask him already and he said we should discuss it at WS13:31
sonne|workbut I forgot13:31
@wikingheheh lol13:31
-!- foulwall [~user@116.114.154.68] has joined #shogun13:34
sonne|workwiking: ok sent him an email also asking about the osx buildbot13:35
@iglesiasgsonne|work, BTW, Kilian answered already yesterday, very cool!13:38
sonne|workiglesiasg: cool13:40
sonne|workiglesiasg: did it help?13:40
-!- foulwall [~user@116.114.154.68] has quit [Remote host closed the connection]13:41
@iglesiasgsonne|work, yeah, quite a lot!13:41
hushelliglesiasg: okay, I sent the PR, please give some feedback, I'll check when I got up13:41
@iglesiasghushell, thank you! Sure, I will do during the afternoon13:42
hushelliglesiasg: I should thank for your reviews :)13:43
hushellCU guys, have a nice day13:43
@iglesiasghushell, I am should apologize for the many comments, I think I am usually picky13:43
hushelliglesiasg: that's very good!13:44
hushelltalk you later :)13:45
-!- hushell [~hushell@c-24-21-169-136.hsd1.or.comcast.net] has quit [Quit: WeeChat 0.3.7]13:45
@iglesiasgI'got a doubt about matlab static13:52
@iglesiasgsay I compile against it13:53
@iglesiasgIIRC this creates some sort of file that matlab uses to have access to Shogun13:53
@iglesiasgjust using this file in another computer where Shogun has not been installed, will it work well to use the matlab static interface?13:53
@wikingheh the travis got autorestarted ;)14:00
sonne|workiglesiasg: no you need libshogun and the same arch14:02
@iglesiasgsonne|work, I see14:02
@iglesiasgsonne|work, I am trying to figure out how to do so Georg can test our LMNN too causing him the lest possible pain :)14:03
@iglesiasgleast*14:03
@wikingiglesiasg: !!!14:03
@wiking14:01 < jon_r> also if you're a committer to that project you can force a build restart14:03
@wiking14:01 < wiking> jon_r: how?14:03
@wiking14:02 < jon_r> cog -> restart build14:03
@wiking14:02 -!- DracoBlue [~DracoBlue@h-213.61.228.229.host.de.colt.net] has joined #travis14:03
@wiking14:02 < jon_r> but you need push access to the git repo to have that option afaik14:04
@wiking14:02 < wiking> jon_r: on the travis page i suppose14:04
@wiking14:02 < jon_r> ya14:04
@wiking14:02 < wiking> jon_r: i do have14:04
@wiking14:02 < jon_r> travis piggy backs off gh permissions14:04
@wiking14:03 < jon_r> oh and you need to resync if you've only been added recently ;)14:04
@wiking14:03 < wiking> jon_r: resync how?14:04
@wikingif u know what i mean...14:04
@iglesiasgwtf14:04
@iglesiasgyeah..14:04
sonne|workiglesiasg: well try to build with as few libs as possible (not atlas,glpk, ...) and disable-optimization or just -O2?14:04
@iglesiasgwiking, so it is that easy to restart travis build?!14:05
@wikingiglesiasg: yes :)14:05
@iglesiasgfacepalm...14:05
@wikingiglesiasg: although it doesn't work for me yet14:05
@iglesiasgwiking, aham, why so?14:05
@wikingi've try to do the sync14:05
@wikingbut still i dont get rebuild stuff there14:05
@wikingonly when i check my own repo14:05
@iglesiasgthe sync part didn't really get it14:05
@wikingiglesiasg: on travis site14:06
@wikinghttps://travis-ci.org/shogun-toolbox/shogun/builds/993418014:06
@wikingright topis corner14:06
@wikingthere's a cogwheel14:06
@wikingright?14:06
@iglesiasgsonne|work, you mean that he should do this in his machine? Or that I can do that and ship to him some sort of shared library?14:06
@iglesiasgwiking, right14:06
@wikingif you click on it you should have14:07
@iglesiasgaah that one can actually sign in in travis14:07
sonne|workiglesiasg: you on yours if it is easier for him but I guess it is easiest if he does it with your guidance14:07
sonne|workiglesiasg: I mean it is not really difficult14:07
@wikingrestart build14:07
@wikinglike for example here14:07
@wikinghttps://travis-ci.org/shogun-toolbox/shogun/builds/993339114:07
@wikingah works for me now14:07
@wikingu?14:07
@wikingsee good to hang out in #travis ;)14:08
@iglesiasgwiking, I see it in the second link too14:08
@iglesiasgwiking, but not in the first one14:08
@iglesiasgah ok, but that one is currently building14:08
@wikingyeah you can only do this with finished builds as it seems14:09
@iglesiasgwiking, this is really handy!14:09
@wiking< jon_r> you can restart individual jobs as well14:09
@iglesiasglet's find out how14:10
@wikingiglesiasg: https://travis-ci.org/shogun-toolbox/shogun/jobs/993418114:10
@wikingand there you can do a restart job14:10
@wikingcog wheel etc14:10
@iglesiasgawesome14:10
-!- travis-ci [~travis-ci@ec2-54-235-16-133.compute-1.amazonaws.com] has joined #shogun14:11
travis-ci[travis-ci] it's Fernando Iglesias's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/993418014:11
-!- travis-ci [~travis-ci@ec2-54-235-16-133.compute-1.amazonaws.com] has left #shogun []14:11
@wikingheh finally that job died :(14:11
@wikingit took like fucking ages14:11
@iglesiasgwiking, does it affect your work with cmake that we submit new things? I mean because it uses up travis14:12
@wikingiglesiasg: well yeah but it's ok14:12
@wikingi hope to be finish today14:12
@wikingnow the small little shits i'm fixing14:12
@wikingand then it's done14:12
@wikingmostly it's done14:12
@iglesiasgall right14:12
@wikingit's just now hacking around with travis14:12
@iglesiasgbut I will reduce the number of things I push in the mean time14:12
@wikingbtw14:12
@wikingi hope travis has an API14:13
@iglesiasgwhat do you want to do?14:13
@wikingbecause then we could just restart jobs via the irc client as well14:13
@iglesiasgaham like we do with the buildbot14:13
@wikingindeed14:15
@wikingrestart - restarts a build or a job14:15
@wikinghttps://github.com/travis-ci/travis#readme14:16
@wikingTravis CI Client (CLI and Ruby library)14:16
@wikingthere you go14:16
@wikingsonne|work: can u install that on the ircbot machine?14:17
sonne|workwiking: ahh no it is sufficient if we can click on failed builds14:22
-!- travis-ci [~travis-ci@ec2-54-235-16-133.compute-1.amazonaws.com] has joined #shogun14:42
travis-ci[travis-ci] it's Fernando Iglesias's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/993434014:42
-!- travis-ci [~travis-ci@ec2-54-235-16-133.compute-1.amazonaws.com] has left #shogun []14:42
-!- foulwall [~user@116.114.154.68] has joined #shogun14:45
@wikingseems like gmock/gtest does not like c++0x14:46
@wikingGaussianDistribution.sample_2d is having some problems atm it seem14:50
@wikinglol14:53
@wikinghttp://about.travis-ci.org/docs/user/osx-ci-environment/14:53
@wikingwhat is the magic key?14:53
@wikinglanguage: objective-c14:54
@wikingwoah14:54
@wikingcoool14:54
@wikingwe have a mac unit testing on travis from now on14:54
-!- van51 [~van51@athedsl-380772.home.otenet.gr] has joined #shogun14:56
-!- travis-ci [~travis-ci@ec2-54-234-6-103.compute-1.amazonaws.com] has joined #shogun15:00
travis-ci[travis-ci] it's Viktor Gal's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/993666315:00
-!- travis-ci [~travis-ci@ec2-54-234-6-103.compute-1.amazonaws.com] has left #shogun []15:00
@wikingwell apartently they are down now, we'll have soon an osx builder with travis15:03
@wikinghttps://travis-ci.org/vigsterkr/subgrep/jobs/994195515:03
@wikinghehe lol15:03
@wikingwe can even build for iOS :DD15:04
sonne|workohh nice15:05
sonne|workwiking: that is excellent news15:06
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout]15:06
@wikingyou mean the ios builds? :D15:08
@wikinghihi15:08
@wikingbut we would need then that cdash becuause the travis bots could then create packages and upload it to cdash15:08
@wikingand then we could distrib it easily15:08
sonne|workwiking: no osx :D15:11
@wiking:P15:12
@wikingok need to finish jinja2 targets15:12
@wikingand then still fucking find out why gmock fails with c++0x15:12
sonne|workwiking: why do we need c++0x?15:17
@wikingsonne|work: atomic15:18
sonne|workbut why not allow that only with c++11?15:21
@wikingwhy would we want to restrict it to that?15:22
@wikingif it's available15:22
-!- foulwall [~user@116.114.154.68] has quit [Ping timeout: 240 seconds]15:23
sonne|workit is tough to support all kind of settings / environments15:25
-!- iglesiasg [~iglesias@s83-179-44-135.cust.tele2.se] has quit [Ping timeout: 245 seconds]15:27
@wikinghahahah15:40
@wikinghttp://stackoverflow.com/questions/9830121/is-ther-a-good-workaround-for-gccs-sorry-unimplemented-cannot-expand-next15:40
@wiking"Update GCC."15:40
@wiking:D15:40
-!- naywhayare [~ryan@spoon.lugatgt.org] has quit [Ping timeout: 245 seconds]15:42
lisitsynwiking: how to use X? don't use X15:43
@wikingok15:44
@wikingfuck it15:44
lisitsyn:D15:45
@wikingi'll just fucking disable c++0x15:45
@wikingwhen testing is enabled...15:45
@wikingor? :)15:45
@wikingor no... i will not enable it on gcc 4.6 or older...15:46
@wikingalthoguh in that case c++11 will be already available15:49
@wikingbut ok ... :D15:49
-!- HeikoS [~heiko@nat-166-201.internal.eduroam.ucl.ac.uk] has joined #shogun15:50
-!- mode/#shogun [+o HeikoS] by ChanServ15:50
-!- iglesiasg [~iglesias@s83-179-44-135.cust.tele2.se] has joined #shogun15:50
-!- naywhayare [~ryan@spoon.lugatgt.org] has joined #shogun15:51
@wikingdoes anybody have 4.6.4 gcc lying around?15:52
iglesiasg4.6.3 here, sorry15:53
@wikingyeah that's debian/ubuntu15:54
@wikingor 4.7.x if later15:54
-!- naywhayare [~ryan@spoon.lugatgt.org] has quit [Remote host closed the connection]15:56
-!- naywhayare [~ryan@spoon.lugatgt.org] has joined #shogun16:02
-!- naywhayare [~ryan@spoon.lugatgt.org] has quit [Quit: leaving]16:12
-!- pickle27 [~Kevin@d67-193-243-174.home3.cgocable.net] has joined #shogun16:45
-!- lisitsyn [~lisitsin@mxs.kg.ru] has quit [Quit: Leaving.]17:10
@HeikoSwiking: around?17:26
@sonney2kvan51, Gli utenti costituiscono una comunità collaborativa, in cui tutti i membri, grazie anche ai progetti tematici e ai rispettivi luoghi di discussione, coordinano i propri sforzi nella redazione delle voci.17:40
@sonney2kgtg17:40
iglesiasgtraining italian?17:40
van51iglesiasg: we 're training on italian :P18:07
van51among others18:08
-!- gsomix [~gsomix@178.45.109.87] has joined #shogun18:30
gsomixgood evening18:31
@wikingHeikoS: yes18:59
@HeikoSwiking: hi!18:59
@wikingyo18:59
@HeikoSso I was wondering where to start with the ipython stuff18:59
@HeikoSI have a script that can run scripts locally and store notebook copies18:59
@wikingmmm so that script you've sent me18:59
@HeikoSI can write something that excecutes all notebooks in a foder18:59
@wikingbasically runs the notebook?18:59
@HeikoSyes18:59
@wikingok cool18:59
@HeikoSand stores a copy with the output18:59
@wikingwe dont need more18:59
@wikinglet me make it19:00
@HeikoSwiking: if you want, feel free ;) probably faster than me19:00
@wikingi mean add it to cmake19:00
@wikingas a new target19:00
@wikingmake notebooks19:00
@wikingthat'll basically run the notebooks19:00
@HeikoSawesome19:00
@wikingok i'll do that19:00
@HeikoSwiking: can we then upload them to shogun webspace?19:00
@wikingbut let me finish first the jinja19:00
@wikingin cmake19:00
@HeikoSwiking: ok19:00
@HeikoSwiking: I  need more of your jinga skills afterwards19:01
@wikingyeah we need a webspace on shogun's website for it19:01
@wikingcreate a user or something19:01
@wikingto upload it there19:01
@HeikoSwiking: yes, and then we need to generate a html file with all the nbviwer links19:01
@wikingsonne|work: ^ ideas how to do that?19:01
@wikingHeikoS: that should be pretty straightforward19:01
@HeikoSwiking: cool19:01
@wikingok lemme get a coffee19:02
@wikingand i'll finish now the jinja19:02
@HeikoSdo you need a template for the html or so?19:02
@wikingbtw good news: we are going to have osx builds with travis ;)19:02
@HeikoSwiking: ok cool, I would like to get this working asap so let me know how I can help19:02
@HeikoSwiking: wow you rock man! :)19:02
@HeikoSwhen is cmake ready to take over?19:02
@wikingHeikoS: would help a lot if we would have a template19:02
@wikingHeikoS: hope it's today19:02
@HeikoSwhoooo!19:02
@wikingi need the jinja fixed19:02
@wikingand then the osx job fixed19:02
@wikingand that's it basically19:03
@wikingok brb19:03
@wikinggetting some coffee19:03
@HeikoSok cool!19:03
-!- van51 [~van51@athedsl-380772.home.otenet.gr] has quit [Quit: Leaving.]19:11
-!- lisitsyn [~lisitsyn@fb2-lo1.global63.net] has joined #shogun19:18
@wikinglisitsyn: yo19:18
lisitsynwiking: hey what's up19:18
@wikinglisitsyn: can u find out how we can replace this: FILE(GLOB_RECURSE UNITTEST_SRC_TMP RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *${EXT_SRC_TEST_TMP})19:19
@wikinglisitsyn: this is basically now generating the list of files that needs to be compiled or something19:19
lisitsynwiking: need to know what's wrong with it19:19
@wikingok so this19:19
@wikinglisitsyn: from cmake's manual: ". (We do not recommend using GLOB to collect a list of source files from your source tree. If no CMakeLists.txt file changes when a source is added or removed then the generated build system cannot know when to ask CMake to regenerate"19:20
lisitsyngot it19:20
@wikingso we need to find a why to do this19:20
@wikingfor sure with add_custom_target/add_custom_command combo it's possible19:21
@wikingsee e.g. class_list.cpp generation19:21
@wikingif u find a way19:21
@wikingwe need basically a macro19:21
@wikingthat have 2 func args: path and filename pattern19:21
@wikingthnx19:21
lisitsynwill be back in a minute19:21
-!- lisitsyn [~lisitsyn@fb2-lo1.global63.net] has quit [Quit: Leaving.]19:21
-!- lisitsyn [~lisitsyn@fb2-lo1.global63.net] has joined #shogun19:24
@wikingand could anybody tell me what is the wrong with this bash line: if [ -z $OSX ] ; then sudo apt-get update -qq ; else ; brew update ; fi19:25
@wiking/home/travis/build.sh: line 125: syntax error near unexpected token `;'19:25
@wiking/home/travis/build.sh: line 125: `if [ -z $OSX ] ; then sudo apt-get update -qq ; else ; brew update ; fi'19:25
@wikingi have no idea why19:25
@HeikoSwiking, lisitsyn https://github.com/shogun-toolbox/shogun/issues/134819:31
@HeikoSwhat do you think on this?19:31
@wikingHeikoS: how?19:32
lisitsynHeikoS: I am okay with it19:32
@wikingah ok dyncasting19:32
@wikingsounds cool19:33
@wikingbut you should add try{ } catch{}19:33
@HeikoSthis we we would get rid of things19:33
@wikingfor the bad_cast exception19:33
@HeikoSwiking: fine with me19:33
@HeikoSwiking: we are not really using exceptions in shogun are we?19:33
@wikingyeah there's shogun_exception ;)19:33
@HeikoSdoes SG_ERROR throw it?19:33
lisitsynHeikoS: I wish we had static polymorphism :D19:34
lisitsynnot possible though19:34
lisitsynHeikoS: yes19:34
@wikingShogunException19:34
@wikingrather19:34
@HeikoSwiking: so we can refine that later via the template for the obtain_from_generic19:34
@HeikoSwiking, lisitsyn so if anyone could do some more magic with the templated stuff? :)19:35
@HeikoSthen we can finally remove all those annoying obtain_from_generic calls19:35
@wikingHeikoS: you mean you want this to be autogenerated?19:36
@HeikoSwiking: yes19:36
@HeikoSfor all classes19:36
@wikingmmm wait19:36
@wikingcan't we just template it19:36
@wiking?19:36
@wikinglike19:36
@HeikoSwiking: no, swig19:36
@wikingobtain_from_generic<ClassName>(generic)19:36
@HeikoSthis is only needed for modular interfaces with typefree languages19:37
@HeikoSwiking: that was my first idea but would be messy19:37
@wikingcoz swig cannot handle it or what?19:37
@HeikoSwiking: in c++ it works fine19:37
@HeikoSwiking: so then the method names have to be added to modular19:37
@HeikoSlike RealFeatures, ShortFeatures etc19:37
@HeikoStranslating templated classes to modular is kinda annoying19:38
@wikingHeikoS: we can autogen it there ;)19:38
@HeikoSwiking: true, but think of the compile time19:38
@wikingwell in case of c++ it'd be better :)19:39
@wikingi dont know about swig :D19:39
@HeikoSI would rather not mess around with it ;)19:39
@wikinglisitsyn: any idea bout that bash script?19:39
lisitsynwiking: no ; looked correct to me19:39
lisitsynI tried to randomly replace them19:39
lisitsynno help19:39
lisitsyn:D19:39
@wikingheheh yeah i've done that too19:39
@wikingdidn't help19:39
@wikingi have no idea... fucker19:40
@wikinganyways now i have to figure out19:40
@wikinghow to give the path to the clone_unittest.cc.py script the class_list.cpp path19:40
@wiking:S19:40
lisitsynwiking: if [ -z $OSX ]; then sudo apt-get update -qq; else brew update ; fi19:40
lisitsynI think you need dis19:40
@wikingtesting :P19:41
lisitsynwiking: it is like everybody uses glob19:45
@wikinglisitsyn: i know but still19:46
@sonney2kgsomix, please try to get the tests back to green!19:48
gsomixsonney2k, working on it19:49
gsomixsonney2k, but we need to think twice.19:51
gsomixsonney2k, one line in Fortran order is one column (one feature vector), right?19:51
-!- lambday [67157d4f@gateway/web/freenode/ip.103.21.125.79] has joined #shogun19:51
lambdayHeikoS: hi19:52
@HeikoSlambday: hi! :)19:52
@HeikoShow is it going?19:52
lambdayHeikoS: how was your NIPS thing?19:52
lambdayHeikoS: bad :( the machine I work on in the lab had its HD crashed and is being replaced19:52
@HeikoSlambday: NIPS was submitted yesterday night later19:53
@HeikoSlambday: oh, so you have no place to work now?19:53
lambdayHeikoS: my laptop takes 20 mins to compile shogun.. I am planning to buy a new one this week..19:53
lambdayHeikoS: I can work though..19:54
@HeikoSlambday: wow thats long19:54
@HeikoSlambday: will you get a new institute machine soon?19:54
lambdayHeikoS: 1GB ram, core 2 duo, you can imagine19:54
lambdayHeikoS: yes I can manage..19:54
@HeikoSlambday: haha I had that a few years ago and freaked out whenever I tried to compile shogun ;)19:55
lambdaybut I have to set it all up, git, valgrind gterst gmock etc19:55
@HeikoSlambday: just disable any modular bindings19:55
@HeikoSlambday: ah painful ...19:55
lambdayHeikoS: yes that might help19:55
@HeikoSsonney2k: I would like to activate line and file for warnings and errors, what do you think?19:55
lambdayHeikoS: any suggestions on buying a good laptop?19:55
@HeikoSlambday: get a good one!19:55
@HeikoSlambday: I prefer thinkpads, but these are expensive19:56
@HeikoSbut good quality is sometimes better than an extremely fast machine19:56
@HeikoSSSDs are nice, a lot of ram is noce, 4 cores are nice19:56
pickle27+1 for thinkpad19:56
pickle27or ideapad19:56
lambdaylenovo19:56
@wikinglisitsyn: \o/ that worked!19:56
@HeikoSbut the best thing about thinkpads is the high quality of the parts like keyboard display etc19:56
lambdaybut I don't get why they are so pricey19:57
lambdayoh19:57
@HeikoSlambday: you can get a similarly fast machine for much less, but that is all plastic cheap ;)19:57
lambdayHeikoS: the problem is, most of the laptops we get comes with windows 8 preinstalled and it creates some problem with linux dual boot since it doesn't use BIOS but UEFI19:58
@HeikoSlambday: yeah I had that19:58
@HeikoSuefi and dualboot is messy19:58
@HeikoSThats why I deleted windows :D19:58
@HeikoSbtw lenovo sells thinkpads without any OS in germany, maybe also in india?19:58
@HeikoSI bought mine without OS19:58
@HeikoSstudent deal19:59
@HeikoSalso 15% discount19:59
lambdayahan!19:59
lambdayI gotta check19:59
@wikingfuck why wasn't i using ccache before...19:59
@HeikoSwiking: haha :)19:59
lambdayHeikoS: I had my eye on an amazing HP pavilion (core i7 3rd gen, 8gb ddr3, 1tb hd).. but then I learned it comes with win819:59
@HeikoSlambday: ccache ^20:00
@wikingHeikoS: i mean for shogun... but we would still need ccache-swig enabled as well... it's magic ;P20:00
@wikingi've tested it manually :P20:00
lambdayHeikoS: yes I remember you advicing me using that :)20:00
@wikingcache size                         848.0 Mbytes20:00
@wikinglol20:00
@wikingthat is only shogun :P20:00
@wikingcomeooooon i want to see jinja2 working20:01
@HeikoSwiking: installation file is also pretty big :D20:01
lambdayHeikoS: oh and regarding that type casting thing, yes I thought of static method but then thought of having a syntactic sugar20:02
lambdayHeikoS: I am not sure which kinds of things we can use with swig20:02
lambday:-/20:02
lambdayI gotta keep in mind for those classes whom I am planning to expose to modular interface20:02
@HeikoSlambday: yes20:03
@HeikoSlambday: no templates in SWIG20:03
lambdayHeikoS: all concrete?20:03
@HeikoSyou have to create a name for every fixed template20:03
lambdayoh20:03
@HeikoSwiking: btw for ccache did you use the symlink install way?20:03
@wikingHeikoS: don't lie there's template in swig :P20:03
lambdayand for methods there is no boundary, right? I can use operator overloading and stuffs?20:03
@HeikoSwiking: we are not using them though20:04
@wikingHeikoS: no... cmake autodetect/enables it for ya20:04
lambdaywiking: there is? :-/20:04
@HeikoSlambday: yes20:04
@HeikoSwiking: whooooo20:04
@wikingHeikoS: cmake is your friend20:04
@wiking;)20:04
@HeikoSwhen is it ready? :)20:04
@wikingwell i'm just testing jinja2 generation20:04
@wikinglet's hope now it works20:04
@HeikoScool20:05
lambdayHeikoS: alright.. it worked though.. it would be easy to replace with static method later if I find problems with swig20:05
@HeikoSlambday: ok then do it20:05
@HeikoSlambday: remind me of the state20:05
@HeikoSwhat is next/mmissing?20:05
lambdayalright20:05
lambdayHeikoS: oh and Lanczos ended up giving amazing accuracy!20:05
@wikingok the clone_unittest.cc is generated...20:06
lambdayI actually useda bit different algorithm than that of Krylstat..20:06
@wikingso let's hope that it compiles it as well20:06
lambdayHeikoS: wiki claims this method to be most numerically stable20:06
@wikingyes yes tests/unit/CMakeFiles/shogun-unit-test.dir/clone_unittest.cc.o20:06
@HeikoSlambday: nice!20:06
@HeikoSlambday: which one?20:06
@HeikoSwiking: nice!20:06
@HeikoSnice nice nice!20:06
lambdayHeikoS: the one I used for Lanczos...20:06
lambdaythe main loop20:06
@HeikoSlambday: nice that it is accurate!20:07
@HeikoSlambday: did you btw test this matrix I sent you?20:07
@HeikoSozone one?20:07
lambdayHeikoS: no not yet!20:08
lambdayoh yes I should!20:08
@HeikoSlambday: ok that would be next for the solvers etc20:08
@HeikoSC^-1 x20:08
@HeikoSeig(C)20:08
lambdayalright20:08
@HeikoSlambday: and apart from that?20:09
@HeikoSCOCG_M all fine?20:09
@wikingHeikoS: ok commiting .... let's see travis on fire with the first osx build job \o/20:09
@HeikoSlambday: sorry I lost a bit track last week20:09
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun20:09
shogun-notifier-shogun: Viktor Gal :feature/CMake * a7ef209 / src/interfaces/python_modular/CMakeLists.txt: https://github.com/shogun-toolbox/shogun/commit/a7ef209dc414e84a399a941899e002ebabcec8a020:09
shogun-notifier-shogun: Fix PythonModular build with C++1120:09
shogun-notifier-shogun: read more about this bug at:20:09
shogun-notifier-shogun: https://github.com/swig/swig/pull/7020:09
shogun-notifier-shogun: Viktor Gal :feature/CMake * fea7732 / cmake/CheckCXX11Features.cmake: https://github.com/shogun-toolbox/shogun/commit/fea773222608d631c7a2695ae5d8c740679207a420:09
shogun-notifier-shogun: Fix variadic template handling with -std=c++0x in gcc20:09
shogun-notifier-shogun: Viktor Gal :feature/CMake * bf73b4a / cmake/CheckCXX11Features.cmake: https://github.com/shogun-toolbox/shogun/commit/bf73b4a0ec1a78fbeef835f1014fe8aa96cf2cee20:09
shogun-notifier-shogun: UNSET(_HAS_CXX0X_FLAG) if gcc is <= 4.6.320:09
shogun-notifier-shogun: Viktor Gal :feature/CMake * e0a2dbf / .travis.yml: https://github.com/shogun-toolbox/shogun/commit/e0a2dbf7209d0955bd5382ce6488ed1eddc9cf5c20:09
shogun-notifier-shogun: Travis: add OSX job20:09
shogun-notifier-shogun: Viktor Gal :feature/CMake * 7f0dfcf / CMakeLists.txt,tests/unit/CMakeLists.txt,tests/unit/base/clone_unittest.cc.py: https://github.com/shogun-toolbox/shogun/commit/7f0dfcf837d7c506f68159d445ee7d479f7b4b7720:09
shogun-notifier-shogun: Add cmake target for jinja2 generated unit tests20:09
@wikingtadaaaaaaaaaaaaaaaaaaaaaa20:09
@HeikoSwiking: whooo :) osx builds so good!20:09
lambdayHeikoS: no no I myself had to go too slow last week because of all these insti level stuffs :(20:09
@wikingHeikoS: build 170020:09
@wiking:)20:09
lambdayHeikoS: the one we have is no more cocg_m but cg_m20:10
@HeikoShaha20:10
@HeikoSlambday: ah yes20:10
lambdayfor individual we'll be using cocg20:10
lambdaypreconditioned20:10
@HeikoSbut it is also for families of systems?20:10
@HeikoSlambday: yes exactly20:10
lambdayyes20:10
@HeikoSlambday: cool!20:11
lambdaybut I am not too sure about how accuracy that would be to the actual soln20:11
lambdayhow accurate*20:11
@HeikoSman, exciting stuff20:11
@HeikoSlambday: what do you mean20:11
@sonney2kgsomix, no one line in an ascii file is one line in C order20:11
-!- pickle27 [~Kevin@d67-193-243-174.home3.cgocable.net] has quit [Quit: Leaving]20:12
lambdayHeikoS: the matrices I tested with didn't give accuracy as I expected.. although small ones..20:12
lambdaycompared with direct solvers..20:12
lambdaywith fixed number of iterations, 100020:12
@HeikoSlambday: ok, well we will have to test that on larger problems and compare against some other implementation20:12
gsomixsonney2k, hm, ok. it seems that we don't really need order settings in CSVFile20:13
lambdayHeikoS: okay.. yes few libraries have cocg implemented but I haven't found any that has cg_m implemented except krylstat...20:13
lambdayHeikoS: I'll do some tests20:13
@HeikoSlambday: lets use krylstat then :)20:13
lambdayyes.. alright20:14
gsomixsonney2k, we just need to read data line by line and transpose it.20:14
gsomixright?20:14
lambdayHeikoS: alright so I'll do these tests this week... and add cg_m job..20:15
lambdayand move on to coloring from next week onwards20:15
iglesiasgall right, I will see you later guys20:16
@sonney2kgsomix, yes we always read data in line by line20:16
-!- iglesiasg [~iglesias@s83-179-44-135.cust.tele2.se] has quit [Quit: Ex-Chat]20:16
gsomixsonney2k, when I'm introducing order settings I mean that we can read lines either as rows (vectors) or as cols (features).20:16
gsomix*I was20:16
@sonney2kyes exactly20:17
gsomixsonney2k, ok, then let's simplify it.20:18
@HeikoSlambday: cool20:18
@HeikoSlambday:  and then all the stuff is done right? only graph stuff missing20:19
lambdayHeikoS: yes..20:19
lambdayHeikoS: and individual preconditioner thing missing20:19
@HeikoSlambday: ah yes20:19
gsomixsonney2k, CSVFile should read line by line in SGVector and then transpose it with help of convert_to_matrix20:19
@HeikoSok we should add this too, but later20:19
@HeikoSits quite easy20:19
@HeikoSjust need another operator and some minor changes20:20
lambdayI plan to do it later after everything seems to work20:20
lambdayyes20:20
@sonney2kgsomix, yeah but you do that already20:20
@sonney2kgsomix, only that the sgvector -> sgmatrix step is confusing since c_order in ascii means fortran order o_O20:20
lambdayHeikoS: I feel bad it I could involve all the time for this I could have finished it all by now :( but then by prof :'(20:21
lambdaymy*20:21
lambdaythis formal verification project is killing me :'(20:21
@HeikoSlambday: dont worry20:21
lambdayman my brain is not designed for multitasking.. I don't know how you manage all these all at once20:21
@sonney2kgsomix, btw I need an ascii reader also ...20:22
@HeikoSlambday: my brain is neither20:22
@sonney2klambday, mine is neither20:22
lisitsynI tried multitasking and I got no brain now20:22
@HeikoSlambday: just organise time properly, then it will work :)20:22
lambdaythat feels good20:22
@sonney2klambday, relax just stick with us and then we can continue anything later too20:22
gsomixsonney2k, m? what do you mean?20:22
@wikinggsomix: man we need to talk :)20:23
@wikinggsomix: in english :)20:23
lambdaysonney2k: I will... I never had this much fun in anything else!20:23
@HeikoSlambday: also dont worry, there is already so much done, the graph thing will be imported so not so much coding, next big challenge is testing the things and then writing interfaces and nice examples20:23
lambdaylisitsyn: lol man! :D20:23
gsomixwiking, english? oh, maybe russian+vodka?20:23
@HeikoSlambday: yeah you should stay here :)20:23
@wikinggsomix: so wtf is that linereader is doing exactly... dont wanna look at the code ... but basically what are your assumptions... beceause it might be that you wanna read a file that doesn't exist, because of the way cmake is handling builds....20:24
@sonney2kgsomix, well I am dying with this - I want a line in an ascii file to be a column vector in shogun20:24
@sonney2kgsomix, so what do you name it?20:24
@sonney2kc or fortran order?20:24
gsomixsonney2k, line == column vector (feature vector)? it's fortran order.20:24
lambdayHeikoS: yeah... just once december is over I am again back to work for shogun!20:24
lisitsynwiking: that's crazy! they don't seem to have something well known for that20:25
@sonney2kgsomix, no C order :D20:25
@sonney2khaha20:25
* sonney2k dies20:25
gsomixsonney2k, nooo.20:25
gsomixsonney2k, look.20:25
gsomixstep by step20:25
@sonney2kit is C order20:25
gsomixnope20:26
@sonney2kyes20:26
@sonney2kone row == one vector20:26
@sonney2kfortran would be20:26
@sonney2kone column == one vector20:26
@sonney2kit is all crazily confusing for ascii20:27
@sonney2kthe SGVector -> SGMatrix function is correct IMHO20:27
@sonney2kand the CSVFile too20:27
@sonney2konly the test not20:27
gsomixsonney2k, so, maybe we need make just transpose flag?20:28
@wikinglisitsyn: i dont know how to disable -Wc++11-narrowing20:28
gsomixnot order or so20:28
@sonney2kgsomix, maybe that is easier to grasp20:28
lisitsynwiking: anything like -Wnoc++11-narrowing?20:28
@sonney2kgsomix, so you could document it with one line == one column vector of the matrix20:28
@wikinglisitsyn: clang: clang: warning: unknown warning option '-Wnoc++11-narrowing'; did you mean '-Wc++11-narrowing'?20:29
@wikingwarning: unknown warning option '-Wnoc++11-narrowing'; did you mean '-Wc++11-narrowing'?20:29
@sonney2kand one can transpose the result if some transpose flag is set20:29
lisitsynwiking: just guess ;)20:29
@sonney2kgsomix, only issue I have currently is that you need twice the memory for loading ascii data20:29
@wikinglisitsyn:  -Wno-c++11-narrowing20:29
@wikingmaaaybe20:29
@wiking:)20:29
gsomixsonney2k, yeah. either twice read or twice memory.20:30
@sonney2kgsomix, I would rather read the data twice ( it will be cached anyway if small)20:30
@sonney2kanyways I am off for today20:30
@sonney2kcu20:30
gsomixsonney2k, ok!20:30
@wikinglisitsyn: yeah it was mine as well :P20:30
lisitsynwiking: so did it work?20:30
@sonney2kgsomix, I used to read data twice and so was able to process BIIIG datasets20:30
@wikinglisitsyn: we'll see :)20:31
gsomixsonney2k, ok, thanks!20:31
@sonney2kgsomix, so just do the same. reading twice is not an issue due to cache (if the file fits in memory)20:31
@sonney2kgsomix, so you would just read the first line20:31
@sonney2kgsomix, determine how many columns you have20:31
@sonney2kgsomix, then count the number of lines20:31
@sonney2kthen alloc structures and read it for real20:32
* sonney2k afk20:32
@wikingsonney2k: ping20:38
@wikingHeikoS: so ipython20:39
@wikingHeikoS: this is the purger: https://gist.github.com/minrk/371984920:39
@wikingHeikoS: but where's the generator20:39
@wiking?20:39
@wikingHeikoS: ah ok other mail20:42
@wikinglemme test them20:42
gsomixwiking, FILE* fin=fopen("io/LineReader_unittest.cc", "r");20:43
@wikinggsomix: ok this will change..20:44
-!- gsomix_ [~gsomix@178.45.71.206] has joined #shogun20:47
-!- gsomix [~gsomix@178.45.109.87] has quit [Ping timeout: 240 seconds]20:48
-!- travis-ci [~travis-ci@ec2-107-21-195-131.compute-1.amazonaws.com] has joined #shogun20:48
travis-ci[travis-ci] it's Viktor Gal's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/995497620:48
-!- travis-ci [~travis-ci@ec2-107-21-195-131.compute-1.amazonaws.com] has left #shogun []20:48
-!- zxtx [~zv@cpe-75-83-151-252.socal.res.rr.com] has quit [Ping timeout: 276 seconds]20:51
-!- gsomix_ [~gsomix@178.45.71.206] has quit [Ping timeout: 246 seconds]20:53
lambdayI got an error while trying to compile shogun in my laptop... /shogun/mathematics/ajd/ApproxJointDiagonalizer.h:58:65: error: call of overloaded 'SGMatrix(NULL, int, int)' is ambiguous20:57
lambdayanyone else got that?20:57
lisitsynlambday: I am checking20:59
lambdaylisitsyn: https://github.com/lambday/shogun/blob/feature/log_determinant/src/shogun/mathematics/ajd/ApproxJointDiagonalizer.h#L5821:00
lisitsynlambday: thanks21:00
lisitsynhmm21:00
lambdaybut last one is ref counting right?21:00
lambdayand that's by default true21:00
lambdayso 3 params should be fine21:00
lisitsynschtupeed C++21:00
lambdayhehe21:01
lisitsynhe thinks he could convert int to bool21:01
lisitsynand NULL to int21:01
lambdayshtoopead my laptop21:01
lambdayargh21:01
lisitsynTHAT'S WHY WE NEED NULLPTR21:01
lisitsyn:D21:01
lambdaybut but21:01
lambdayI mean does it compile fine in your machine?21:01
lisitsynthat's exactly what is nullptr for21:01
lisitsynlambday: trying to compile it now21:01
lambdaylisitsyn: mine is gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC)21:02
lambdayi68621:03
lisitsynlambday: I see!21:03
lambdayso yours work fine21:03
lisitsynI think so21:03
lambday:|21:03
lisitsynlambday: just make it more explicit21:03
lisitsynehmm how.. :D21:04
lambdayand what? :-/21:04
lambdayshit pickle is not here :(21:04
lambdaylisitsyn: could you please tell me a bit about the nullptr thing?21:04
lisitsynlambday: it won't be supported by your compiler ;)21:05
lisitsynlambday: it is a NULL from C++11 that can't be converted to int21:05
-!- hushell [~hushell@24.21.169.136] has joined #shogun21:05
lambdayokay21:05
lisitsynat least with no brute force like reinterpret cast21:05
lisitsynso your compiler would not mix things up21:05
-!- gsomix_ [~gsomix@109.169.150.49] has joined #shogun21:05
lambdayerrr... reinterpret cast21:06
lisitsynlambday: why reinterpret cast is ok21:06
lisitsynin a right place21:06
lisitsynsay you want some heterogeneous container - you could use void* pointers here21:06
lisitsynthe only way is that reinterpret_cast then21:07
lisitsynshit happens :D21:07
lambdayalright21:07
lambdayhmm21:07
lisitsynlambday: okay my solution would be to add false21:07
lambdayso,21:07
lisitsynto the failing line21:07
lisitsynNULL,0,0,false21:07
lambdayalright21:07
lambdayyeah that should work21:08
lisitsynthen issue a PR and I'll merge it21:08
lisitsynI see no better way right now21:08
lisitsynit is truly ambiguous21:08
lambdaylisitsyn: okay.. the only problem is, I already have some stuffs pushed to my fork..21:09
lisitsynlambday: I can fix it21:09
lambdaylisitsyn: which are not ready to be merged yet21:09
lisitsyntrust me I am an engineer21:09
lisitsyn:D21:09
lambdaylol you're the boss :D21:09
lambdayso, I should add a separate commit with only that, and you can merge one particular commit and not the other ones21:09
lambday(still no idea about this git thing :( )21:10
lambdayoh21:10
lambdayshit I misinterpreted21:10
lisitsynlambday: I'll commit it21:11
lisitsynjust rebase21:11
lambdaylisitsyn: yes I got you now21:11
shogun-notifier-shogun: Sergey Lisitsyn :develop * 7d3f37f / src/shogun/mathematics/ajd/ApproxJointDiagonalizer.h: https://github.com/shogun-toolbox/shogun/commit/7d3f37f7b5bc6f11bdf3e1caa6259d853e5d334321:11
shogun-notifier-shogun: Fixes ambiguity that drives GCC 4.6.3 crazy21:11
lambdaylisitsyn: lol@the commit msg :D21:11
lisitsynlambday: http://cdn.lolchamp.com/wp-content/uploads/2012/09/trust-me-i-am-an-engineer.jpg21:11
lisitsynlambday: http://img.pandawhale.com/post-2829-Trust-me-I-m-an-engineer-pGLV.jpeg21:11
lambdaylisitsyn: hahahaha!21:11
lambdaylol21:12
lambdayI saw the first one on facebook a long time back! :D21:12
lisitsynthat's shogun way21:12
lambdaythe 2nd one is mindblowing21:12
lambdaylol.. if you see the codebase I am working on in my lab you'll faint in 20 milisecond21:12
@wikinglo hushell21:14
@wikinglo HeikoS21:14
lisitsynlambday: I used to work in way too enterprise company you won't scary me21:15
lambdaylisitsyn: lol alright but I am scared like anything! everytime I try to fix something its like cutting the green wire on a timebomb21:16
lambdaylisitsyn: I am sorry21:17
-!- gsomix_ [~gsomix@109.169.150.49] has quit [Ping timeout: 276 seconds]21:17
lambdaythere are more such errors I didn't notice21:17
lambday./shogun/mathematics/ajd/JADiagOrth.h:57:63: error: call of overloaded 'SGMatrix(NULL, int, int)' is ambiguous21:17
lisitsynlambday: still fails?21:17
lisitsynahh21:17
lisitsyngrep time21:18
lambdayand another one at line# 6921:18
lambdayyeah grep is better21:19
lisitsynJADiagOrth21:19
lisitsyn:D21:19
lisitsynorthodox21:19
@HeikoSwiking: yes?21:20
lambdayhehe21:20
lambdaylisitsyn: and pickle27 is also working on something called Jedi, right?21:20
lambday:D21:20
lisitsynlambday: yes kevin wan kenobi21:20
lambdayand you are master yoda21:21
lambdaycalm you must remain21:21
lisitsynI to try be21:21
-!- gsomix_ [~gsomix@109.169.186.0] has joined #shogun21:22
-!- gsomix_ is now known as gsomix21:22
-!- HeikoS [~heiko@nat-166-201.internal.eduroam.ucl.ac.uk] has quit [Quit: Leaving.]21:22
shogun-notifier-shogun: Sergey Lisitsyn :develop * 1965e5e / src/shogun/mathematics/ajd/ (6 files): https://github.com/shogun-toolbox/shogun/commit/1965e5ead29f7b9e089d4a75275181e464b7a92621:22
shogun-notifier-shogun: Fixed a few more GCC 4.6.3 errors with ambiguous ambiguity21:22
lambdayrebasing21:23
lisitsynshould work now21:23
gsomixlisitsyn, engineering is fun. http://cs5956.vk.me/u26538480/148879729/x_2c69e9eb.jpg :)21:24
lisitsynit feels like a russian dormitory21:25
gsomixlisitsyn, hell yeah.21:27
shogun-buildbotbuild #1681 of deb1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb1%20-%20libshogun/builds/1681  blamelist: Sergey Lisitsyn <lisitsyn.s.o@gmail.com>21:30
gsomixlisitsyn, lambday http://cs301313.vk.me/u4095831/148937354/x_ad912382.jpg21:32
lambdaygsomix: holy mother of god! :D21:35
lambdaylol my laptop denies to serve anything else when I am compiling shogun in it..21:35
lambdayit has been 10 mins and its still compiling :|21:36
lisitsynlambday: I should not have shortened this compilation output21:36
lisitsynat least something to read21:36
lisitsynI don't mind to add a downloader that prints shakespeare to the tty while compiling21:37
lisitsynnot sure others would like it though21:37
-!- gsomix [~gsomix@109.169.186.0] has quit [Ping timeout: 240 seconds]21:37
lambdaylisitsyn: you mean, just printing "compiling blah" is good good rather earlier what shogun had was better?21:38
lambdayis not good* I mean21:39
lisitsynwell at least it would be more verbose and you could read things21:39
lisitsynwhile compiling shogun21:39
lambdaylisitsyn: yes but then its a hell lot of msgs, specially with eigen3 its impossible to read :(21:39
lisitsynas you have nothing to do21:39
-!- gsomix [~gsomix@85.26.165.90] has joined #shogun21:42
gsomixand one more http://cs301304.vk.me/u12861443/148937354/x_c4abd3ae.jpg21:43
lambday20 mins and counting... I think it worked.. and I will get disconnected in 13 mins21:47
lisitsynlambday: what's the thing with your connection?21:48
@wikingok21:48
@wikingwho wants to merge?21:48
lisitsynwiking: merge what?21:49
@wikingfeature/CMake -> develop21:49
lisitsynoh21:49
@wikinglast commit is coming up21:49
lisitsynis it the time?21:49
@wikingit is time21:49
@wiking:)21:49
lisitsynwiking: is it rebased?21:49
@wikinglisitsyn: did it yesterday21:50
lambdaylisitsyn: its such a pain the the ass... its a insti policy.. from 1:30 IST to 5:00 IST they disconnect LAN so that we sleep early instead of watching sitcoms all night and playing games21:50
@wikingbut we are again apart i'm afraid... although not too much21:50
@wikinglisitsyn: i fear that another rebase will kill the shit21:50
lisitsynlambday: man I thought russia is a stupid place to live21:50
lisitsynyou win21:50
lisitsyn:D21:50
@wikingso maybe just a merge into develop and that's it21:50
@wikingbut i dont know21:50
lambdaylisitsyn: these IITs implemented this policy few years back and I never saw any such thing anywhere else!21:51
lambdaytheir logic is that we don't attend morning classes cause we sleep late :D21:51
lisitsynlambday: yes that's pure no-brainer21:52
lambdaylisitsyn: tell me about it!21:53
lisitsynlambday: you've got to change place ;)21:53
lambdaylisitsyn: if I get a job in december I'll be a free bird :D21:53
lisitsynsorry I forgot - are you a masters student now?21:54
lisitsynwiking: just merge it then ;)21:54
-!- travis-ci [~travis-ci@ec2-54-226-143-194.compute-1.amazonaws.com] has joined #shogun21:54
travis-ci[travis-ci] it's Sergey Lisitsyn's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/995707621:54
-!- travis-ci [~travis-ci@ec2-54-226-143-194.compute-1.amazonaws.com] has left #shogun []21:54
@wikinglisitsyn: hehehe :)21:54
lambdaylisitsyn: yes sir21:55
lisitsynlambday: sir? ;)21:55
@wikinglisitsyn: i'm still trying to test the f*ing -Wno-c11-narrowmyass flag21:55
lisitsynwiking: so does it help to not narrow your ass?21:55
@wikinglisitsyn: dunno... still compiling :)21:55
@wikinglisitsyn: wonder what the swig ppl will do about that21:56
lambdaylisitsyn: you are master yoda after all :)21:56
@wikinglisitsyn: at least travis says that that patch is good to merge ;)21:56
@wikinghttps://travis-ci.org/swig/swig/builds/993776621:56
@wiking:D21:56
lisitsynwiking: they will do the thing to solve it!21:56
lisitsynin a month21:56
lisitsyn:D21:56
@sonney2kgsomix, heya!21:56
@wiking:D21:57
lisitsynlambday: it is 3 minutes for you21:57
@sonney2kgsomix, tests fixed?21:57
lambdaylisitsyn: :'( yeah :'(21:57
lambdaylisitsyn: and shogun still compiling :'(21:58
lisitsynwhat would you say before your 'death'?21:58
lambdaylisitsyn: I just wanna die watching a successful compilation :'(21:58
@wikingheheh warning: implicit conversion turns floating-point number into bool: 'float64_t' (aka 'double') to 'bool' [-Wimplicit-conversion-floating-point-to-bool]21:58
@wiking  vector[i]=CMath::atan2(vector[i], x);21:58
@wikingwtf man :)21:58
@wiking           ~^~~~~~~~~~~~~~~~~~~~~~~~~~21:58
lisitsynwiking: implicit-my-shit-out-to-bool21:59
@sonney2klambday, please email me21:59
lisitsynthat's what they were thinking of? some crazy warnings?21:59
lisitsynwiking: where is bool here?22:01
@wikingshogun/lib/SGVector.cpp:1410:16: note: in instantiation of member function 'shogun::SGVector<bool>::atan2' requested here22:02
@wikingtemplate class SGVector<bool>;22:02
lisitsynsonney2k: need you now22:03
lisitsynsee the mail22:03
lisitsynwiking: ohh interesting :D22:04
-!- lambday [67157d4f@gateway/web/freenode/ip.103.21.125.79] has quit [Ping timeout: 250 seconds]22:04
-!- iglesiasg [~iglesias@s83-179-44-135.cust.tele2.se] has joined #shogun22:05
-!- mode/#shogun [+o iglesiasg] by ChanServ22:05
@iglesiasggood evening!22:05
@wikinghahaha fucking helll22:05
@wikingthis swig vs c++11 is getting better and better22:05
lisitsyniglesiasg: hey22:06
shogun-buildbotbuild #1680 of deb1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb1%20-%20libshogun/builds/1680  blamelist: Sergey Lisitsyn <lisitsyn.s.o@gmail.com>22:06
@wikingmaybe swig + python is just not ready for c++1122:06
@wikinghttp://pastebin.com/iG0YJDJB22:07
@wikingfix ideas?22:07
lisitsynwiking: hemhmem22:12
lisitsynwhat?22:12
lisitsynwiking: I think swig is not ready22:13
lisitsyn:D22:13
-!- zxtx [~zv@rrcs-76-79-81-162.west.biz.rr.com] has joined #shogun22:13
@wikingok so PythonModular -> no c++11 ?22:14
lisitsynwiking: well it looks like it is swig generated code22:15
gsomixsonney2k, early in morning. and string reading. falling asleep...22:15
gsomixnite22:15
lisitsynwhich can't be amended22:15
@sonney2klisitsyn, well sure you are in then but only if you talk to people22:15
@sonney2kotherwise it won't be fun for you22:16
lisitsynsonney2k: again? :)22:16
@sonney2klisitsyn, again what?22:16
lisitsynI think we talked it out22:16
@sonney2klisitsyn, no we just chatted I didn't even have a chance to try my russian on you22:17
lisitsynsonney2k: lets share a plane and then you can try it22:17
@wikingmmm maaybe this is only clang + swig + c++11 ... lemme check22:17
-!- gsomix [~gsomix@85.26.165.90] has quit [Ping timeout: 256 seconds]22:20
@wikingbingo.... it's clang + c++11 + swig22:31
lisitsynwiking: bullshit bingo22:33
lisitsyn:D22:33
@wikingman this matrix of what fails and not is amazing22:37
-!- travis-ci [~travis-ci@ec2-54-226-143-194.compute-1.amazonaws.com] has joined #shogun22:39
travis-ci[travis-ci] it's Sergey Lisitsyn's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/995757322:39
-!- travis-ci [~travis-ci@ec2-54-226-143-194.compute-1.amazonaws.com] has left #shogun []22:39
@sonney2kwiking, I guess we would be fine w/o c++1122:47
@wikingsonney2k: ah it's ok i've realised that the problem is in the case when libc++ is being used instead of libstdc++22:47
@wikingsonney2k: i'm just verifying now this...22:48
@wikingbut until now it seems that's the case...22:48
@sonney2kwiking, wtf is libc++ / libstc++ ? I mean you use g++ / clang++ for a reason22:48
@sonney2kto exactly not having to supply some c++ lib22:48
@wikingwell it's not that simple22:48
@wiking;)22:48
@wikingin most linux distros stdc++ is tweaked22:49
@wikingfor clang to support c++1122:49
@wikingin other OSes22:49
@wikingit's not liek that...22:49
@sonney2kasdf22:49
@wikingso if u want c++11 then u need libc++22:49
@iglesiasgall right my bed is calling for me22:59
@iglesiasggood night!22:59
-!- iglesiasg [~iglesias@s83-179-44-135.cust.tele2.se] has quit [Quit: Ex-Chat]22:59
shogun-notifier-shogun: Viktor Gal :feature/CMake * 7b14039 / .travis.yml,CMakeLists.txt,src/interfaces/python_modular/CMakeLists.txt: https://github.com/shogun-toolbox/shogun/commit/7b14039483482a2c5bf70a5c4f5e0ed97d0640b023:02
shogun-notifier-shogun: Fix -Wno-c++11-narrowing flag and disable c++11 on Darwin with23:02
shogun-notifier-shogun: PythonModular23:02
shogun-notifier-shogun: Travis: install jinja2 on osx job23:02
@wikingok this should do it23:02
@wikingok23:03
@wikingfuckit23:03
@wikingwho's up for a merge?23:03
@sonney2kwiking, merge dammit!23:05
@sonney2kDOOOOOOOOOOOOOOOOOOOOOOOO it!23:05
@wikingsonney2k: do u reckon this is not going to break develop branch?23:05
@wikingbecause i did a weird rebase+merge in feature/CMake branch23:06
@sonney2ksure it should not break23:06
@sonney2kotherwise I will send over same mad vodka drinking russians23:06
@sonney2k(accompanied by their bears)23:07
@sonney2kto give you a treat23:07
@wiking:>23:07
@wikingdunno man...23:07
@wikingok i'll do locally a git-flow feature finish CMake23:08
@wikingshould i do a rebase...?23:09
@wikingor just finish23:09
@wikingok i'll read this fucking gitflow manual23:09
@sonney2kwiking, wait rebase is not possible on a published branch23:12
@sonney2kwiking, you have to merge somehow so I guess finish is the only possible thing23:12
@wikingsonney2k: i've rebased develop23:14
@wikingi mean23:14
@wikingin my feature/CMake i did a git rebase develop23:14
@wikingnevermind i'll try this feature finish23:15
@wikinghow convenient for travis to die just now23:16
@sonney2kwiking, but then you have to force push your branch right?23:17
@wikingwasn't force pushing23:20
@wikingpulled -> merge -> push23:20
@sonney2khmmhh23:21
@wikinggod bless the restart job button on travis23:21
@sonney2kthen that wasn't a reabse23:21
lisitsynwiking: so what's happenning?23:59
--- Log closed Thu Aug 08 00:00:06 2013

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