amazon

Making AndroidTV app workable on FireTV

我怕爱的太早我们不能终老 提交于 2019-12-21 13:45:29
问题 I have an android tv app using a leanback library that I want to publish to amazon tv store also. I know that we can use leanback library for fire tv as per this link using a standard LAUNCHER . However I am not sure about a few things: Recommendations Android TV display content recommendations in the first row of the TV home screen Content recommendations appear as the first row of the TV home screen after the first use of the device For this we need to create a recommendation service and

Boto [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed while connecting to S3

假如想象 提交于 2019-12-21 07:15:30
问题 I am trying to connect to S3 using boto, but it seems to fail. I've tried some workarounds, but they don't seem to work. Can anyone please help me with this. Below is the code. import boto if not boto.config.has_section('Credentials'): boto.config.add_section('Credentials') boto.config.set('Credentials', 'aws_access_key_id', AWS_KEY) boto.config.set('Credentials', 'aws_secret_access_key', AWS_SECRET_KEY) if not boto.config.has_section('Boto'): boto.config.add_section('Boto') boto.config.set(

How to detect Azure/Amazon VM

邮差的信 提交于 2019-12-21 05:24:09
问题 Is there any way to detect, in general, if your code is executing on an Azure or Amazon virtual machine. I am not referring to some sort of web or worker role in particular, I mean given any executable, is there anything that resolves that machine to a cloud VM - for example under Azure there is no domain so i cannot simply rely on a domain name. 回答1: @Dan's answer no longer works for Azure, use the following URL to get a better list http://msdn.microsoft.com/en-us/library/windowsazure

When you create an external table in Hive with an S3 location is the data transfered?

好久不见. 提交于 2019-12-21 02:42:10
问题 When you create an external table in Hive (on Hadoop) with an Amazon S3 source location is the data transfered to the local Hadoop HDFS on: external table creation when quires (MR jobs) are run on the external table never (no data is ever transfered) and MR jobs read S3 data. What are the costs incurred here for S3 reads? Is there a single cost for the transfer of data to HDFS or is there no data transfer costs but when the MapReduce job created by Hive runs on this external table the read

Using Amazon MechanicalTurk if location != US?

笑着哭i 提交于 2019-12-20 11:51:14
问题 Amazon Mechanical Turk is a mass-micro outsourcing API, where you can get lots's of small simple tasks (e.g."Is there a shop in this image") done relatively cheaply (e.g. 0.10 U$ per image). Amazon seems to assume that this service is mostly of interest to US companies. This results in difficulties if you want to use the service (as an "Requester"): for example there is no easy way of funding your Account without an US Bank account. Can somebody share experiences of using the Service from

Using Amazon MechanicalTurk if location != US?

丶灬走出姿态 提交于 2019-12-20 11:50:03
问题 Amazon Mechanical Turk is a mass-micro outsourcing API, where you can get lots's of small simple tasks (e.g."Is there a shop in this image") done relatively cheaply (e.g. 0.10 U$ per image). Amazon seems to assume that this service is mostly of interest to US companies. This results in difficulties if you want to use the service (as an "Requester"): for example there is no easy way of funding your Account without an US Bank account. Can somebody share experiences of using the Service from

Amazon Product API and Rails

天涯浪子 提交于 2019-12-20 10:44:57
问题 Just wanted some advice on using the Amazon API to run a check against their database to return a product. For example say a DVD was added, I want a link to be returned linking to the product on Amazon. I've come across a few gems such as ruby-aws which ones from your experience are the best and easiest to use? Also with the most resources available, I'm a total Rails noob! So I need a lot of help with this. Thank-You Mark 回答1: If you need product details from the Amazon Product Advertising

Amazon Kinesis and guaranteed ordering

对着背影说爱祢 提交于 2019-12-20 10:44:13
问题 Amazon claims their Kinesis streaming product guarantees record ordering. It provides ordering of records, as well as the ability to read and/or replay records in the same order (...) Kinesis is composed of Streams that are themselves composed of one or more Shards. Records are stored in these Shards. We can write consumer applications that connect to a Shard and read/replay records in the order they were stored. But can Kinesis guarantee, out of the box, ordering for the Stream itself

How to put specific classes into main DEX file?

╄→尐↘猪︶ㄣ 提交于 2019-12-20 10:25:13
问题 We found an issue on Amazon market that IAP doesn't work if it's receivers located not in main DEX file. The question is how to force gradle to put specific classes (receivers) into main DEX file. EDIT: updated with gradle DEX settings afterEvaluate { tasks.matching { it.name.startsWith('dex') }.each { dx -> if (dx.additionalParameters == null) { dx.additionalParameters = [] } dx.additionalParameters += '--multi-dex' dx.additionalParameters += "--main-dex-list=class_files.txt" } } dexOptions

Pre-signing Amazon S3 urls for both head and get verbs

时光总嘲笑我的痴心妄想 提交于 2019-12-20 09:16:22
问题 I'm hosting files on Amazon S3 that I want to make accessible using pre-signed urls. For simple GET requests this works perfectly. There are some clients however that perform a HEAD request first (to retrieve the file size). Since the signature in the URL includes the http verb (GET vs HEAD), the head request fails. The client simply does: HEAD http://(bucketname).s3.amazonaws.com/filename?AWSAccessKeyId=(mykey)&Expires=(timestamp)&Signature=(sig) GET http://(bucketname).s3.amazonaws.com