IRC logs of #shogun for Thursday, 2019-02-14

--- Log opened Thu Feb 14 00:00:10 2019
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]03:05
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun05:06
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Changing host]05:06
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun05:06
-!- mode/#shogun [+o wiking] by ChanServ05:06
-!- wiking [~wiking@huwico/staff/wiking] has quit [Ping timeout: 268 seconds]05:10
-!- braceletboy [67157d53@gateway/web/cgi-irc/kiwiirc.com/ip.103.21.125.83] has joined #shogun06:18
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun06:29
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Changing host]06:29
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun06:29
-!- mode/#shogun [+o wiking] by ChanServ06:29
-!- braceletboy [67157d53@gateway/web/cgi-irc/kiwiirc.com/ip.103.21.125.83] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]06:58
-!- braceletboy [67157d53@gateway/web/cgi-irc/kiwiirc.com/ip.103.21.125.83] has joined #shogun07:02
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]07:06
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun07:12
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Changing host]07:12
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun07:12
-!- mode/#shogun [+o wiking] by ChanServ07:12
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]07:17
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun07:27
-!- mode/#shogun [+o wiking] by ChanServ07:27
-!- braceletboy [67157d53@gateway/web/cgi-irc/kiwiirc.com/ip.103.21.125.83] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]07:30
-!- wiking [~wiking@huwico/staff/wiking] has quit [Ping timeout: 245 seconds]07:32
-!- gf712 [90520825@gateway/web/freenode/ip.144.82.8.37] has joined #shogun08:44
-!- wiking_ [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun08:53
-!- wiking_ [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Remote host closed the connection]09:17
-!- wiking_ [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun10:17
-!- wiking_ [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Ping timeout: 246 seconds]10:22
-!- wiking_ [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun10:23
-!- wiking_ [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Ping timeout: 258 seconds]10:30
-!- wiking_ [~wiking@2001:67c:10ec:5784:8000::3ff] has joined #shogun10:52
-!- wiking_ [~wiking@2001:67c:10ec:5784:8000::3ff] has quit [Ping timeout: 264 seconds]10:57
-!- wiking_ [~wiking@2001:67c:10ec:5784:8000::3ff] has joined #shogun10:59
-!- wiking_ is now known as wiking11:00
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has quit [Changing host]11:00
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun11:00
-!- mode/#shogun [+o wiking] by ChanServ11:00
@wikinggf712: hey11:00
@wikinggf712: ok so lemme check which image has conda as for mkl you'll need that11:01
gf712wiking hey11:01
gf712OK11:01
@wikinggf712: ok try to add a matrix to the macos11:03
@wikingit has miniconda11:03
@wikingfollow this11:03
@wikinghttps://github.com/shogun-toolbox/shogun/pull/4521/files#diff-cd203ab2cacc4db8deb9051a30b4cdf0R15211:03
@wikinghttps://github.com/shogun-toolbox/shogun/pull/4521/files#diff-a8f3a60f795ce4311c41e7f78b27c9b3R711:04
@wikingstrategy:11:04
@wiking    matrix:11:04
@wikingetc11:04
@wikingif u have q just ping me11:04
gf712OK thanks, I'll have a look now11:04
gf712wiking so just add a strategy in macOS right? one for the current job without mkl and one with?11:08
gf712and add https://github.com/shogun-toolbox/shogun/pull/4521/files#diff-cd203ab2cacc4db8deb9051a30b4cdf0R152 environment vars?11:08
gf712and then hope for the best :D11:08
@wikingyes11:09
@wikingsomethign liek this11:09
@wikingjust send me the diff or the thing u think it is11:09
@wikingand i can review11:09
@wikingbtw libtooling is amazing11:10
gf712I was having a look at that yesterday11:10
gf712but didn't quite understand what it does...11:10
gf712so it checks the llvm symbols?11:10
@wikingits basically an AST traverser11:11
@wikingand more11:11
@wikingi just said that i wanna refactor all the shogun classes that are not header only11:11
@wikingand add some stuff to the code11:11
@wiking:)11:11
@wiking82 LoC. :)11:11
@wikingbut you can for example change the function name11:11
@wikingand its uses everywhere by it11:12
@wikingcurrently writing a litbooling tool for const getters :)11:12
gf712ahh ok11:12
@wikingi mean that if a getter is none const11:12
@wikingmake it const11:12
@wiking:)11:12
gf712so it checks if it is const-able11:12
gf712?11:12
gf712and then spits out cpp code with the consts?11:13
gf712or does it apply const at compile time?11:13
@wikingit compiles the code11:15
@wikingand since compilation is AST11:15
@wikingthen you can play around11:15
@wikingyeah you can query things like is the method const11:15
@wikingor virtual11:15
@wikingetc11:15
@wikinganything11:15
@wikinghere's a small example11:15
@wikingifStmt(hasCondition(binaryOperator(hasOperatorName("==")).bind("op")))11:15
@wikingthis matches in the code every if statement with ==11:15
gf712ah ok!11:16
gf712so how are you using it? are you checking everything that could be const and print the line?11:17
gf712is it just in cpp?11:17
gf712or do they have something like that with a python wrapper?11:17
@wikingwell this is a cpp tool11:19
@wikingbut you have a interactive cli11:19
@wikingclang-query11:19
@wikingno not printing11:19
@wikingyou can actually rewrite the code11:19
@wiking:)11:19
@wikingin the original source11:19
gf712ahhhhh11:20
gf712much more sophisticated than I thought11:20
gf712I thought you had to write cpp code, compile and then run and check your printf11:21
gf712that sounds awesome!11:21
@wikingwell11:21
@wikingi wrote 82 lines of c++ code11:22
@wikingand that did everything11:22
gf712but you have interactive mode that helps you see the hits right?11:22
gf712it's a bit like a custom clang tidy in the end?11:22
@wikingyes11:23
@wikingsuper small example11:23
@wikinghttps://kevinaboos.wordpress.com/2013/07/23/clang-tutorial-part-ii-libtooling-example/11:23
gf712wiking is this going in the right direction https://github.com/gf712/shogun/commit/8469232f3470c82d2e9c7e4e6cebe40982b290e7.patch11:30
gf712?11:30
@wikingsteps:11:31
@wiking+          - template: ./macos-steps.yml11:31
@wikingi mean11:32
@wikingsteps should be the same for both cases11:32
@wikingand then in the macos-steps.yml11:32
@wikingyou do some if hacks11:32
@wikingto check what you are building11:32
@wiking:)11:32
gf712ahh ok11:33
gf712wiking do I need to set the env variables btw?11:33
gf712because they are already provided by conda no?11:34
@wikingsee that bug11:34
@wikingthe conda env setup11:34
@wikingis not the best with azure11:34
@wikingthat's why there's this hacko11:34
@wikinglisitsyn: is there a reason why in CSGObject we actually rely on the implicit copy operator? ;)11:35
@wikingafaik this way it's not doing the right thing11:36
@wikingeither we should delete it or define irt11:36
@wikingexplcitly11:36
gf712wiking what is the logic behind  ${{ if eq(parameters.swig, 'true') }} in docker-steps.xml11:39
gf712why parameters.swig?11:39
@wikingcoz that template is used11:39
@wikingtwice11:39
@wikingonce for building libshogun and once for swig interfaces11:40
gf712ah ok I see it now11:40
gf712sorry11:40
@wikingand different stuff needs to be done11:40
-!- Lefteris [~lefteris@2a05:b400:100:100:f9af:4903:155f:ef4c] has joined #shogun11:42
@wikingnw11:43
gf712wiking is this more what you meant https://github.com/gf712/shogun/commit/91dea487acb9e1aa29b2cc6123c6b44e29f74e67.patch11:48
@wikingok almost11:48
@wiking:)11:48
@wikingcan i comment on this11:48
gf712yup go ahead11:49
@wikingah shit11:49
@wikingjust realised11:49
@wikingwe are fucked11:49
@wikingstop it11:49
@wiking_)11:49
@wikingAccelerator framework has prio11:50
@wikingover mkl11:50
@wiking:(11:50
@wikingmmm11:50
@wikingtry it though11:50
@wikingbut it'll need more cmake hacks11:50
@wikingbut11:50
@wikingyou need to install mkl == true => conda install mkl-devel11:50
@wikingbefore the cmake task11:50
gf712does it?11:50
@wikingwe can hack it i think11:51
gf712in my laptop mkl works fine11:51
gf712and I didn't mess with anything11:51
@wikingmmmm11:51
@wikingit should have prio11:51
@wiking;)11:51
gf712ah then maybe I messed around with it by accident..11:52
gf712so conda install mkl-devel would be inside steps:11:52
gf712in the task?11:52
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]12:02
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has joined #shogun12:04
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has quit [Changing host]12:04
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun12:04
-!- mode/#shogun [+o wiking] by ChanServ12:04
@wikingsorry man12:04
@wikinghere12:04
@wikinghad a quick meeting12:04
@wikingthe conda install should go inside the template12:04
@wikinggf712: added some comments12:06
gf712np12:07
gf712OK, I'll have a look12:07
@wikingyou see what i mean?12:07
gf712I am not very good with CIs12:07
@wikingtime to learn it12:07
@wiking;)12:07
@wikingand its yaml12:08
@wiking:)12:08
gf712"you could jsut check for the var itself"?12:08
gf712which var?12:08
@wikingmmm acutally coz its a template12:08
@wikingnevermind12:08
gf712erf I like the low level stuff so I don't need to learn the API someone else wrote..12:08
@wikingforget that comment12:08
@wikingbut the other part12:08
@wikingneeds fixing12:08
@wikingthat's bad syntax12:09
@wiking:)12:09
@wikingand logic12:09
@wikingfirst you need to install mkl12:09
gf712why  /.ci/ci.yml (Line: 148, Col: 11): A mapping was not expected?12:09
@wikingand then run the cmake12:09
gf712OK12:09
@wikingi'll grab lunch now12:09
@wikingttyl12:09
gf712aight12:09
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]12:10
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun13:06
-!- mode/#shogun [+o wiking] by ChanServ13:06
-!- gf712 [90520825@gateway/web/freenode/ip.144.82.8.37] has quit [Quit: Page closed]13:07
-!- gf712 [90520825@gateway/web/freenode/ip.144.82.8.37] has joined #shogun13:24
@wikinggf712: hey13:35
gf712wiking hey13:38
gf712how do you capture env variables in conditions?13:39
@wikingmmmm13:44
@wikingyeah that seems to be a problem13:44
@wiking:<13:44
@wikingbut lemme google13:44
gf712I saw variables[''] somewhere13:45
gf712might try that13:45
@wikinghttps://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=schema#job-templates13:45
@wiking:S13:45
@wikingah yeah tehre's one thing like that13:45
@wikingeq(variables['mkl'], 'true')13:46
@wikinggf712: ^13:46
gf712OK, let me try that13:47
gf712no syntax errors at least..13:48
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]13:55
-!- Lefteris [~lefteris@2a05:b400:100:100:f9af:4903:155f:ef4c] has quit [Quit: Leaving]14:03
-!- Lefteris [~lefteris@2a05:b400:100:100:f9af:4903:155f:ef4c] has joined #shogun14:48
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun14:56
-!- mode/#shogun [+o wiking] by ChanServ14:57
-!- wiking [~wiking@huwico/staff/wiking] has quit [Ping timeout: 250 seconds]15:01
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun15:05
-!- mode/#shogun [+o wiking] by ChanServ15:05
@wikinggf712: hey15:05
@wikingwhats happening :)15:06
@wikingwhat's line 149?15:07
@wikingi mean 14715:07
@wikingnono15:07
@wikingthat should not fly15:07
@wikingi think with the matrix15:08
@wiking         - template: ./macos-steps.yml15:08
@wikingyes15:09
@wikingthat one is better now15:09
@wiking:)15:09
@wikingthisone should not work15:09
gf712ah sorry15:09
@wiking - ${{ if eq('$(use_mkl)', 'true') }}:15:09
@wikingwhy dont use use15:09
gf712ahh15:09
@wikingeq(variables['mkl']15:09
@wiking?15:09
gf712it didn't work15:09
@wikingmmm other stuff didn't work15:10
@wikingnot that15:10
@wiking:)15:10
gf712but why 'mkl'?15:10
@wikinghttps://github.com/shogun-toolbox/shogun/commit/c0d5cdd1d30486ffa1b43481f833df9a70ba3f8b#diff-cd203ab2cacc4db8deb9051a30b4cdf0R14715:10
@wikingthis was the problem15:10
gf712you mean variables['use_mkl']15:10
gf712?15:10
@wikingok lemme see now15:10
@wikinglast pr15:10
@wikingand i tell yhou what's wrong15:10
@wikingso yes15:10
@wikingnow it's goot15:10
@wikingwith setting the env15:11
@wikingso yes15:11
@wikingeq(variables['use_mkl'], 'true')15:11
gf712but there is no setup15:11
@wikingyes because you dont test it now right15:11
@wikingi'll cancel the build15:11
@wikinguse the one above i write you15:11
gf712so - ${{ if eq(variables['use_mkl'], 'true') }}:15:11
gf712and - ${{ if eq(variables['use_mkl'], 'false') }}:15:11
gf712I thought I tried this earlier15:12
gf712but lets see15:12
@wikingyes you stried that15:13
@wiking*tried that but there was a syntax error15:13
@wikingputting the template param in the wrong place15:13
@wikingnow it's not in the matrix which is good15:13
gf712ok lets see just pushed15:14
gf712I thought I had done that before that15:14
gf712I feel like I've been through all the permutations...15:14
gf712wiking still no setup :/15:15
gf712is there a way to test locally>15:15
gf712?15:15
gf712echo $(use_mkl) returns true though15:16
@wikingyes but that's another thing15:16
@wikingone is templating15:16
@wikingthe other is var within yaml15:16
gf712ah ok!15:17
@wikingok15:17
@wikingyou can do another trick15:18
@wikinginstead of using tempaltes15:18
@wikingyou use condition: for the job15:18
@wikingso condition: eq(variables['use_mkl'], 'true')15:18
@wikingfor the script/job15:18
@wikingand then it will be skipped15:18
@wikingif its false15:18
@wikingand vice versa15:18
@wikingand remove the {{ if...15:19
gf712https://github.com/shogun-toolbox/shogun/pull/4529/files#diff-da52a64097efdb78b548a503f8fe3cadR2715:19
gf712so condition in here?15:19
@wikingyes and as well for the task15:19
@wikingas condition is per step15:19
@wikingso here https://github.com/shogun-toolbox/shogun/pull/4529/files#diff-da52a64097efdb78b548a503f8fe3cadR4115:20
@wikingand here https://github.com/shogun-toolbox/shogun/pull/4529/files#diff-da52a64097efdb78b548a503f8fe3cadR2915:20
gf712and where does script: conda install mkl-devel go?15:20
@wikingthe condition is for a step15:21
@wikingso it woudl be like15:21
@wiking- script: conda install mkl-devel15:21
@wiking     condition: ...15:21
@wikingtoo much ident but i hope u see what i mean15:21
gf712yup15:21
@wikingsee this15:21
@wikinghttps://github.com/shogun-toolbox/shogun/blob/develop/.ci/download-extract.yml#L6615:21
gf712and then Cmake is another step15:22
@wikinghttps://github.com/shogun-toolbox/shogun/blob/develop/.ci/download-extract.yml#L5615:22
@wikingyes15:22
gf712which needs a condition?15:22
@wikingwell15:22
@wikingsince now it's the same task ?15:22
@wikingno it's not15:22
@wikingand actually15:22
@wikingoh no15:22
@wiking:D15:22
@wikingi've just realised15:22
@wikingwrong15:22
@wikinghttps://github.com/shogun-toolbox/shogun/pull/4529/files#diff-da52a64097efdb78b548a503f8fe3cadR3015:22
@wikingyou need a separate shell script15:22
@wikingi mean step15:22
@wikinglike in windows15:23
@wikingyou can have the very same15:23
@wikingcmake task15:23
@wikingso no condition for it15:23
@wikingthe conda env vars15:24
@wikingshould go into the matrix element of MKL15:24
gf712yup15:24
gf712doing that now15:24
@wikingyou need to copy this whole step15:24
@wikinghttps://github.com/shogun-toolbox/shogun/pull/4521/files#diff-a8f3a60f795ce4311c41e7f78b27c9b3R815:24
@wikingwith adding the condition15:25
@wikingfor MKL15:25
@wikingand actually15:25
@wikingmmm ok dont do it15:25
@wikinglets see how it goes15:25
@wikingbut i'm doubting15:25
@wikingso just have one condition15:25
@wikingfor the conda install15:25
@wikingscript part15:25
@wikingcmake is one task15:25
@wikingwithout the variables15:25
@wikingdunno if that's gonna work actually but lets see15:26
gf712so without https://github.com/shogun-toolbox/shogun/pull/4521/files#diff-a8f3a60f795ce4311c41e7f78b27c9b3R815:26
@wikingyes15:26
@wikingwithout that for the time being15:26
gf712but the use_mkl stays outside variables right?15:27
gf712MKL:15:27
gf712  use_mkl: true15:27
gf712  variables:15:27
gf712    CONDA_DEFAULT_ENV: shogun15:27
gf712..15:27
@wikingno15:28
@wikingno need for variables15:28
@wikingjust CONDA_DEFAULT_ENV15:28
gf712ah ok15:28
@wikingsee windows matrix15:28
@wikingfrom the pr15:28
@wikingbut15:28
@wikingfor the time being15:29
@wikingdont even add those15:29
gf712ah sorry15:29
@wikingas currenlty you dont create15:29
gf712I thought I saw variables15:29
@wikinga separate15:29
gf712my bad15:29
@wikingconda env15:29
@wikingso lets assume it'll be good15:29
@wiking'good'15:29
@wikingjust by the conda install15:29
@wikingbut we'll see what setup says15:29
@wikingso no need for the CONDA_* anywhere15:29
@wikingbrb15:29
@wiking10 mins and i'm here again15:29
gf712ok, lets see15:29
gf712:D15:30
gf712the conda is still there just want to let it run to see what happens15:33
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]15:40
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has joined #shogun15:42
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has quit [Changing host]15:42
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun15:42
-!- mode/#shogun [+o wiking] by ChanServ15:42
@wikinggf712: ok15:47
@wikinggetting there15:47
@wikinglets see if cmake can detect mkl15:47
gf712yup one thing at a time.. :p15:48
@wikinghahah15:49
@wikingconda is not in path15:49
@wiking:D15:49
@wikingthat is interesting15:49
gf712wiking isn't conga installed :(15:49
gf712conda15:49
gf712hmmm15:49
@wikinghttps://github.com/Microsoft/azure-pipelines-image-generation/blob/master/images/macos/macos-Readme.md15:49
@wikinghttps://github.com/Microsoft/azure-pipelines-image-generation/blob/master/images/macos/macos-Readme.md#package-management15:50
@wiking:S15:50
gf712oh so it should be there..?15:50
@wikingyes15:50
gf712miniconda has the same name right?15:51
gf712as in alias15:51
@wikinghttps://github.com/spyder-ide/spyder/blob/master/azure-pipelines.yml#L1415:52
@wiking?15:52
@wikingyes15:52
@wikingconda is conda15:52
gf712Microsoft-hosted agents won't have Conda in their PATH by default. You will need to run this task in order to use Conda.15:52
@wikingbut i dont think15:52
@wikinggf712: that's not true in case of windows15:52
@wiking:D15:52
@wikingyeah that USE_CONDA is internal shit15:52
@wikinghttps://github.com/fastai/fastai/blob/25ac1a62a2f8a630913366de39a6787f8dc580cd/azure-pipelines.yml#L30315:53
@wiking:D15:53
@wikingbut this is in re some envs perm15:53
gf712can try to activate environment with environmentName:?15:55
@wiking?15:55
gf712and see what happens?15:55
@wikingthere's no env15:55
@wiking:)15:55
gf712well the only different is that though15:55
@wikingand dont use CondaEnv task15:55
@wikingit's a shit15:55
gf712if you look at the fastai pipeline15:56
@wikingyes15:56
@wikingits a shit15:56
@wikingdont use that task15:56
gf712ok15:56
@wikingsee the github bug15:56
@wikingthat is linked in that pr15:56
@wikingwell fun times :)))15:56
@wikingcan u add a thing15:57
@wikingecho $CONDA15:57
@wikingas a step15:57
gf712yea15:57
gf712I'll do that15:57
@wikingsomewhere in the beginnign15:57
gf712haha15:57
gf712no15:57
@wikingmaybe that env is defined15:57
gf712just at the end :D15:57
@wikingbut plz15:58
@wikingremove those env vars15:58
@wikingCONDA_*15:58
gf712yup I did15:58
@wikingkk15:58
@wikingman creating a dll in fucking windows15:58
@wikingis a pain15:58
gf712yup can imagine...15:59
gf712are you just testing it on azure or do you have a local windows to test?16:00
@wikingboth16:00
gf712wiking so $(CONDA) is there16:01
-!- Lefteris [~lefteris@2a05:b400:100:100:f9af:4903:155f:ef4c] has quit [Quit: Leaving]16:01
@wikingbut sometimes it just way too slow16:01
@wikingto run the whole thing16:01
gf712maybe I just do $(CONDA) install16:01
@wikingin virtualenv16:01
gf712ah it's in a VM?16:01
@wikingyes16:01
@wikingdont have native windows16:01
@wiking:D16:01
@wikingok so16:01
@wiking$(CONDA)/bin/conda install16:01
@wikingbut yeah16:02
@wikinghighly unlikely that cmake will find that mkl16:02
@wikingbut lets see16:02
gf712yup16:02
@wikingi cancelled the build16:02
gf712cool thanks16:02
gf712so what bugs are you getting with windows?16:03
@wikingdll export shit16:03
gf712is it linking issues?16:03
@wikingyes16:03
@wiking2019-02-14T14:20:18.0530626Z          FactorGraph_unittest.obj : error LNK2001: unresolved external symbol "void * __cdecl shogun::sg_malloc(unsigned __int64)" (?sg_malloc@shogun@@YAPEAX_K@Z) [D:\a\1\s\build\tests\unit\shogun-unit-test.vcxproj]16:03
@wikingetc16:03
@wiking2019-02-14T14:20:18.0605145Z          lars_unittest.obj : error LNK2019: unresolved external symbol "public: __cdecl shogun::CLeastAngleRegression::CLeastAngleRegression(void)" (??0CLeastAngleRegression@shogun@@QEAA@XZ) referenced in function "private: virtual void __cdecl LeastAngleRegression_lasso_n_less_than_d_Test::TestBody(void)" (?TestBody@LeastAngleRegression_lasso_n_less_than_d_Test@@EEAAXXZ) [D:\a\1\s\build\tests\unit\sho16:03
@wikinggun-unit-test.vcxproj]16:03
@wikingand so forth and so on16:03
@wikingbut i crushed a lot already16:03
@wikingso now the dll actually is there16:03
@wikingit needs some more exports16:03
gf712oh is that what SHOGUN_EXPORT is for?16:04
@wikinghttps://cmake.org/cmake/help/v3.3/module/GenerateExportHeader.html16:04
@wikingwindows story16:05
@wiking:>16:05
gf712so that tells the linker to export all those symbols?16:06
@wikingyes16:06
@wikingbut then this means16:06
@wikingthat our windows builds16:06
gf712but is only useful for ms?16:06
@wikingwere totally asdf16:06
@wikingtill now16:06
@wiking:))))16:06
gf712haha16:06
gf712but people used windows before no?16:07
@wikingwell16:07
@wikingthere's plenty of issues around16:07
@wikingwhere people complain importing dll16:07
@wiking:DDD16:07
@wikingno wonder now why16:07
gf712but at some point it worked right? :p16:07
@wikingdont think so16:07
@wiking:>16:07
@wikingwelcome to a project16:07
@wikingthat nobody uses16:07
gf712oh hahaha16:07
@wiking:D16:07
gf712need to make sure people use it in windows now16:08
@wikingok accelerate usese accelerate16:08
@wikinglets see what does the mkl does16:08
@wikingmmmm16:09
@wikingman16:09
@wikingjust realised16:09
@wikingwe need to take care16:09
@wikingabout the ccache artifact naming16:09
@wikingfor the different macos16:09
@wiking;)16:09
@wikingsince they'll be different16:09
gf712yea...16:09
gf712install is working16:10
gf712but I forgot to put -y16:10
@wikingok i'll kill it after setup16:10
gf712so now I think its stuck :(16:10
@wikingyou think it'll hang now?16:10
@wiking:D16:10
gf712damn16:10
gf712that sucks16:10
gf712ok16:10
@wikingadd --quite16:10
@wikingas well16:10
gf712I need to check the flag16:10
gf712oh is that it16:10
gf712ah ok16:11
@wikingi usally add that as well16:11
@wiking;)16:11
@wikingshall i kill it?16:11
gf712conda config --set always_yes yes --set changeps1 no16:12
gf712shall I add that16:12
gf712yup kill it16:12
@wikingkilled16:12
@wikingaaah this is overkill16:12
gf712maybe16:12
gf712just found it in one of my old projects16:13
gf712anyway I'll just add -y16:13
@wiking--yes and --quite should be fine16:13
@wikingor -y and -q16:13
@wikingas u prefer16:13
gf712cool, let's see what happens...16:15
gf712wiking PermissionError: [Errno 13] Permission denied: '/usr/local/miniconda/.condatmp'16:22
@wikingyeah16:23
@wikingm$16:23
@wikingthnx a lot for this great shit16:23
@wikinggf712: remember there was a chmod 77716:23
@wikingscrip16:23
@wikingt16:23
@wiking;)16:23
@wikingdo that before the conda install16:24
@wikingas the same task16:24
@wiking- script: |16:24
gf712you mean https://github.com/fastai/fastai/blob/25ac1a62a2f8a630913366de39a6787f8dc580cd/azure-pipelines.yml#L30316:24
@wiking    chmod16:24
@wiking....16:24
@wikingyeah well16:24
@wikingthat is not really what you want16:24
@wikingsince again16:24
@wikinghyou dont have an env16:24
@wikingdunno really16:24
@wikingthis is a fucking shit16:24
@wikingas usual16:24
@wikingD:16:24
@wikingyou need to play with it until it works16:24
@wikingbut yeah16:25
@wikingor16:25
@wikingjust16:25
@wikingsudo conda install mkl-devel16:25
@wikingthat should do it btw16:25
@wiking;)16:25
gf712hmmm16:25
@wikingseems u can get sudo on that machine16:25
@wikingwhich is interesting16:25
@wikingbut yeah nevermind16:25
gf712but can you then access the files as a users16:25
@wiking;)16:25
@wikingyea16:25
@wikingread for sure16:25
gf712ok16:25
@wikingits enought for us16:25
gf712the sudo is the same with travis16:25
gf712you can probably disable somewhere16:26
@wikingbrb16:26
gf712yup same16:27
gf712ttyl16:27
-!- gf712 [90520825@gateway/web/freenode/ip.144.82.8.37] has quit [Quit: Page closed]16:27
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]16:29
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has joined #shogun16:29
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has quit [Changing host]16:29
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun16:29
-!- mode/#shogun [+o wiking] by ChanServ16:29
-!- wiking [~wiking@huwico/staff/wiking] has quit [Ping timeout: 264 seconds]16:34
-!- linh [c112f012@gateway/web/freenode/ip.193.18.240.18] has joined #shogun16:46
linhHi there, I got one question: What kind of file format do shogun support? Is shogun able to do text mining, image analytics etc. (advanced data analytics)? Thank you in advance16:48
-!- gf712 [90520825@gateway/web/freenode/ip.144.82.8.37] has joined #shogun17:29
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun17:38
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Changing host]17:38
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun17:38
-!- mode/#shogun [+o wiking] by ChanServ17:38
gf712wiking so it didn't find mkl17:46
gf712but can force it17:46
gf712~/anaconda3/lib/libmkl_core.dylib -DMKL_INCLUDE_DIR=~/anaconda3/include/17:46
gf712even -DLAPACK_LIBRARIES=~/anaconda3/lib/libmkl_core.dylib -DMKL_INCLUDE_DIR=~/anaconda3/include/17:46
gf712just need to fix path for azure17:47
-!- linh [c112f012@gateway/web/freenode/ip.193.18.240.18] has quit [Ping timeout: 256 seconds]17:49
@wikingexpected17:51
@wikingok17:52
@wikingthat sounds good17:52
@wikingwell17:52
@wikingthe path is17:52
@wiking$(CONDA)17:52
@wiking:>17:52
@wikingand that's the prefix17:52
@wikingand i guess17:52
gf712yup17:52
@wiking$(CONDA)/lib|include17:52
gf712that was just to test on my machine17:52
@wikingdid cmake detected it like that?17:52
gf712I think it used mkl before because it detects it with python17:52
@wikingk17:53
gf712yes if I add those flags it works17:53
@wikingok so you wanna do this like17:53
@wikingusing a matrix variable17:53
gf712ah ok17:53
@wikingcmakeOptions: ''17:53
@wikingcheck swig17:53
@wikingthere i use this trick17:53
@wikingand basically in the cmake command17:53
@wikingjust add17:53
@wiking$(cmakeOptions)17:53
@wikingso the right string will be added there17:54
@wikingnomkl = empty string17:54
gf712ah ok I see17:54
gf712let's see what happens..17:56
gf712I like that azure cancels the previous job from the same branch if a newer commit exists17:57
gf712I think travis just accumulated them17:57
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]17:58
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun18:07
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Changing host]18:07
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun18:07
-!- mode/#shogun [+o wiking] by ChanServ18:07
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]18:09
-!- gf712 [90520825@gateway/web/freenode/ip.144.82.8.37] has quit [Ping timeout: 256 seconds]18:11
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun18:11
-!- mode/#shogun [+o wiking] by ChanServ18:11
-!- wiking [~wiking@huwico/staff/wiking] has quit [Ping timeout: 246 seconds]18:16
-!- besser82 [~besser82@fedora/besser82] has quit [Quit: Freedom, Friends, Features, First [fedoraproject.org]]18:51
-!- besser82 [~besser82@fedora/besser82] has joined #shogun18:55
-!- mode/#shogun [+o besser82] by ChanServ18:55
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun19:10
-!- mode/#shogun [+o wiking] by ChanServ19:10
-!- wiking [~wiking@huwico/staff/wiking] has quit [Client Quit]19:13
-!- gf712 [560fc4e5@gateway/web/freenode/ip.86.15.196.229] has joined #shogun19:33
-!- gf712 [560fc4e5@gateway/web/freenode/ip.86.15.196.229] has quit [Ping timeout: 256 seconds]19:38
--- Log closed Fri Feb 15 00:00:11 2019

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