insta

How to specify lib directory when installing development version R Packages from github repository

匿名 (未验证) 提交于 2019-12-03 01:52:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: In Ubuntu, I am installing all the R packages in the directory, /usr/lib/R/site-library by specifying lib option in install.packages() . But when I try to install the development version of the R packages using, install_github() , it always installs in a local repository of the system user. .libPaths() has 4 directories including the local repository. So, I have 2 questions, Will it install in any of the other 3 repositories if i remove the local repository from .libPaths() ? Is there any way to specify installation library path in

Why does the ASP.NET SPA template instantiate UserManager once for all requests?

匿名 (未验证) 提交于 2019-12-03 01:48:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm using the VS2013 ASP.NET SPA template as a starting point for my web application which uses the new ASP.NET identity framework. This is from the template: public partial class Startup { static Startup () { UserManagerFactory = () => new UserManager ( new UserStore ()); .... } So, since no DbContext is being passed into the UserStore constructor above, that indicates to me that a new DbContext is being created. Since I also wanted to make use of the data context (for other data operations during the request), I changed the

How can I resolve “an enclosing instance that contains X.Y is required”?

匿名 (未验证) 提交于 2019-12-03 01:36:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am developing a small desktop application in Netbeans. This is my first program and I am facing a very strange type of error. I know I did some thing wrong but unable to trace what I am doing wrong :( Please help me in resolving this error. Description: I have a default package Src and I am creating new Java classes in this package as required. Along with other classes I made a class X like this: public class X { public class Y {//some member functions and variables exist here} public class Z {//some member functions and variables exist

node module version conflict when installing modules for electron

匿名 (未验证) 提交于 2019-12-03 01:27:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to make an Electron application ( https://electron.atom.io/ ) that reads data from my serial port. I'm new to web technologies in general, I know some javascript, but I'm a c++ guy. So I pulled in their quick-start from github, ran npm install && npm start With this easily working I tried to install and run serialport with npm install serialport With that installed and running fine with a test file, I tried to combine the two and put require('serialport') in the index.html file. With this in there I get this error: Uncaught Error:

No code signature found after pod installed in Xcode 8

匿名 (未验证) 提交于 2019-12-03 01:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: My test project running successfully in my physical device(iPhone).But, After I installed a pod into my project.I am getting error saying NO CODE SIGNATURE FOUND.I found some article related to the issue. https://michiganlabs.com/ios/development/2015/11/30/code-sign-error-building-cocoapods-framework-targets/ The article suggest that need to be include some code signing bypass to the pod file as below post_install do | installer | installer . pods_project . targets . each do | target | target . build_configurations . each do |

Android Studio Error: “You must install the Android Support Repository though the SDK Manager”

匿名 (未验证) 提交于 2019-12-03 01:10:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I just initialised a project on Android Studio, and it was working fine in version 0.2.6, but in 0.2.7, I get this error: It creates a folder inside my Applications directory, but it does not initialize the project. Any help regarding this problem would be appreciated. I get no problems with version 0.1.1 through version 0.2.6, but when it comes to 0.2.7, things start to get problematic, like this and I can't even start a project. 回答1: With 2.7 update I got the same issue. It looks like now Android Studio thinks sdk lays in under its own

Hyperledger Composer - multi host installation

匿名 (未验证) 提交于 2019-12-03 01:10:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've been experimenting with Hyperledger Fabric, deployed over 2 VirtualBox Ubuntu images with docker swarm. But I have some issues when it comes to the Composer installation. Network Setup: Host1: Orderer, Peer1.Org1, Peer2.Org1, CLI Host2: Peer1.Org2, Peer2.Org2 When it comes to the Fabric setup everything appears to be ok. I'm able to start the network, join the peers from the second host, and update the anchor peers (one for each organisation). The Composer installation starts with creating and importing the business network card and

Laravel 4 target interface is not instantiable

匿名 (未验证) 提交于 2019-12-03 01:06:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This is related to this question How to register a namespace in laravel 4 but I believe I got that worked out and namespaces are working now. There is a new problem I've run into. I believe the error is coming from trying to type hint in the controller constructor and has to do with using namespaces and using ioc. BindingResolutionException: Target [App\Models\Interfaces\PostRepositoryInterface] is not instantiable. The method below worked perfectly until I tried to introduce namespaces. I can remove all the namespaces and put the interface

Appcelerator: [ERROR] Application Installer abnormal process termination. Process exit value was 1

匿名 (未验证) 提交于 2019-12-03 01:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I know this question has been asked lots of times, but answers given did not solve my problem so far. When trying to build an app to either a Android-device/-simulator/-package, Appcelerator comes with this error: [ERROR] Application Installer abnormal process termination. Process exit value was 1 I checked weither all Android-sdk's where installed correctly. In the terminal I did: appc logout -D / appc login I cleaned the project, including deleting Build- and Resources-folder by hand Ran: appc setup Some other terminal-lines I stumbled

Why dsofile.dll still need Office Installation?

匿名 (未验证) 提交于 2019-12-03 00:59:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I wrote a small piece of code using the dsofile.dll component to modify document properties after upload a file to a web server (to set a guid to link the file to a database record). I took the component and intructions from here: http://support.microsoft.com/kb/224351 As far as I understanded it don't use Office to modify the properties. I implemented it and tested it on my 32 and 64 bit machine (webserver runs on 32bit mode) and all worked fine. I was happy. But after deploy it to a life machine it didn't persist the properties on my