cloud

error in creating gpu google instance

≡放荡痞女 提交于 2019-12-01 15:14:19
I have tried creating GPU instance in Google Cloud Platform but every time I try to create an instance it shows "You've reached your limit of 0 GPUs NVIDIA K80". I am trying to create an instance with 4 vCPU, 8-15 gb memory, 1 GPU and in us-east1-c/us-west1-b. Please help for the following. Follow all the steps in specified order, because otherwise GPUs won't be seen in Quotas page. You need to go to the Quotas part of IAM & Admin: https://console.cloud.google.com/projectselector/iam-admin/iam/quotas Here, in Quota type, you should select "All quotas" and find GPU quotas for your region. Then,

Is there way to change to instance type in Azure Cloud Services

本秂侑毒 提交于 2019-12-01 14:59:06
Is there any way to change the VM Size of an Azure Cloud Service without having to rebuild the package? The vmsize parameter is defined in the .csdef file rather than the .cscfg file that is uploaded into Azure and doesn't appear in the other included XML files of the package. Please note that we're not looking to change the instance count (scale out) but the size type (i.e. from Extra Small (A0) to Medium (A2)). The vmsize is attribute of csdef file and not of ServiceConfiguration.cscfg You can see on http://msdn.microsoft.com/en-us/library/jj156212.aspx Thiago Custodio Yes, when you create

Is there way to change to instance type in Azure Cloud Services

↘锁芯ラ 提交于 2019-12-01 13:47:09
问题 Is there any way to change the VM Size of an Azure Cloud Service without having to rebuild the package? The vmsize parameter is defined in the .csdef file rather than the .cscfg file that is uploaded into Azure and doesn't appear in the other included XML files of the package. Please note that we're not looking to change the instance count (scale out) but the size type (i.e. from Extra Small (A0) to Medium (A2)). 回答1: The vmsize is attribute of csdef file and not of ServiceConfiguration.cscfg

How best to resize images off-server

谁说我不能喝 提交于 2019-12-01 13:37:45
I have a site that users upload images to. Those images are resized to various dimensions. I currently do that on my server, but was thinking of processing that on AWS or something similar. Is that a good idea? I've been using EC2 and dedicated servers for similar tasks, and here are some tips: Use as little IO as possible. If you intend on using things like ImageMagick, know that writing to disk is a waste of io resources (unless you want to cache it anyway.) PHP/GD lets you send jpeg directly in http response. Free RAM as soon as possible: release source and resized images whenever you can.

appharbor: thirdy party .dll and GAC referenced .dll

空扰寡人 提交于 2019-12-01 12:41:49
1.We are using Appharbor for my client app having number of third party .dll files(for SMS and Email) and some of them we referencing form GAC. some of them we put into /bin folder and referencing form that folder (we set Local Copy = True for .dll file) I want best way to handle GAC and other third party .dll maintain in appharbor. If i need to put that .dll in /bin or any other folder which is in project. Give me the way to handle Physical file in apphabor / or using CDN. Give me the way to use dedicated sql server in appharbor Prasad Phule Instead bin deployment , i go through another way.

Can I use the SQLite as a db storage for cloud-based websites?

不打扰是莪最后的温柔 提交于 2019-12-01 12:02:49
Has anyone ever launched cloud-based apps / websites that use a local SQLite DB as the primary data source? Are there any warnings about this? My environment: C# 3.0 app currently uses a sql server 2008 db current db size 30 mb- If you expect a lot of traffic, you really shouldn't. SQLite is meant to be used as a lightweight SQL database, and is not meant for highly concurrent access (since it locks the whole database file) which could be an important requirement in this case. Read: Appropriate uses for SQLite 来源: https://stackoverflow.com/questions/3833162/can-i-use-the-sqlite-as-a-db-storage

appharbor: thirdy party .dll and GAC referenced .dll

女生的网名这么多〃 提交于 2019-12-01 11:16:36
问题 1.We are using Appharbor for my client app having number of third party .dll files(for SMS and Email) and some of them we referencing form GAC. some of them we put into /bin folder and referencing form that folder (we set Local Copy = True for .dll file) I want best way to handle GAC and other third party .dll maintain in appharbor. If i need to put that .dll in /bin or any other folder which is in project. Give me the way to handle Physical file in apphabor / or using CDN. Give me the way to

How to create an auto-upload Android picture app?

独自空忆成欢 提交于 2019-12-01 10:47:39
I am trying to create an app that automatically uploads a picture to my server . The idea is that a user creates a picture with the native/normal camera and my app gets a notification (catches the event) and uploads the picture (in the background). I found a solution for Windows Phone ( see here ), but not for Android. How can I do this? - Is this technically even possible (with the given APIs) or is it a special feature just for contracted services ( Facebook or Dropbox do that )? Thank you! Right now i don't believe there is a Broadcast that is fired for a camera capture event that other

SSLHandshakeException when trying to reach app engine endpoint

落花浮王杯 提交于 2019-12-01 10:06:53
问题 I'm trying to connect to one of my endpoint methods from an android client to my locally running app engine backend. The problem is I'm getting a SSLHandshakeException. My API is not protected by OAuth. The method I am trying to reach looks like this: @ApiMethod(name = "register") public UserInfo registerUser(UserInfo userInfo) { try { checkUserParameters(userInfo); ofy().save().entity(userInfo).now(); return ofy().load().entity(userInfo).now(); } catch (InvalidPropertiesFormatException e) {

Upload image to Google Cloud Storage (Java)

佐手、 提交于 2019-12-01 09:38:40
问题 I want to develop a java-application (for pc) which can upload any picture to Google Cloud Storage. Although I have spent my whole evening on searching for a solution, I don't have any clue how to start. Does anyone of you have experience with uploading images to Google Cloud Storage? Are there better alternatives to Google Cloud Storage? 回答1: You can public your file, and then the media link of the blob can access anywhere. https://cloud.google.com/storage/docs/access-control/making-data