Questions tagged [buckets]
96 questions
0
votes
0 answers
nodejs upload image to bucket and give it 'shared publicity' property
Got some question related to uploading image and sharing it.
I found related question with answer, but it does now work. Google cloud responds with this error
NodeJS gcloud - Upload to google storage with public-read property/custom cache-expire
…

user3677173
- 2,559
- 2
- 17
- 16
0
votes
2 answers
std::unordered_map lock the bucket count
I am trying to do a performance benchmark on C++11's std::unordered_map container.
I want to see how the load factor of the container affects performance for insertions. Specifically because I am interested in using a hash table as base data…

getack
- 172
- 7
0
votes
1 answer
Counting inversion using bucketing
I am trying to count inversion in a array (two elements a[i] and a[j] form an inversion if a[i] > a[j] and i < j). I know that is easily possible to resolve these problems using brute force in O(n^2) and by using Divide and Conquer in O(nlgn).
My…

chettyharish
- 1,704
- 7
- 27
- 41
0
votes
0 answers
Time Complexity Hashing
I'm working on an assignment for creating a hash table and one of the questions asks
If we have M documents, and document Di consists of Ni words, then how long does this simple solution take to search for a query consisting of K words. Give your…

LeslieKnowsBest
- 43
- 7
0
votes
0 answers
Python: how to calculate the bucket points
import numpy as np
import math
length = 10
points = [(1,2,3),(1,1,1),(23, 29, 0),(17, 0, 5)]
bucketed_points = {}
max_x = max([x for (x,y,z) in points])
max_y = max([y for (x,y,z) in points])
max_z = max([z for (x,y,z) in points])
x_buckets =…

Jeremy_Tamu
- 725
- 1
- 8
- 21
0
votes
1 answer
Manage buckets on amazon s3 on web app
I wonder on how to manage to the best way the structure between buckets and my application.
On my website there are few of uploader images for different script, example for albums or profile picture or time line pictures
1) do you think is better…

Fabrizio Fenoglio
- 5,767
- 14
- 38
- 75
0
votes
1 answer
Hive Bucketing Size based
I am new to hive and was reading about Bucketing and MapSide joins
"Map joins can take advantage of bucketed tables (Buckets), since a mapper working on a bucket of the left table only needs to load the corresponding buckets of the right table to…

kamal
- 15
- 6
0
votes
1 answer
Cannot delete AWS S3 Bucket
I am working with AWS Java SDK. So I played aroung with S3 and now I am having the following situation:
a bucket is shown in my AWS Explorer, also if I retriev
s3.listBuckets().size();
I get a the size 1. However if I try to list it or delete it I…

SnafuBernd
- 261
- 4
- 16
0
votes
2 answers
filtered results with s3cmd get
I'm using cmd tool for AWS S3 called s3cmd. I'm trying 'get' set of folders filtered by front part of name directory name like '/192.168.*/'. Basically I have S3 bucket with a lot of directories and I just need couple of them that start with…

lukabix22
- 85
- 1
- 1
- 4
0
votes
1 answer
HIVE - what are the use cases for a bucket join
I can't seem to find any good use case for a bucket join in hive.
As i see it, When joining table A with table B :
A bucket join saves us the time of passing Table A to the reducers while loading Table B into the distributed cache and each mapper…

dimamah
- 2,883
- 18
- 31
0
votes
1 answer
Why the function doesn't return the value?
I have a javaScript function that use library Buckets and it should return the value to html.
I used console.log to see data inside the function and it's not null. But on the html, it said "undefined".
This is my js code :
function…

user2335149
- 75
- 2
- 12
0
votes
1 answer
Bucketize CFAbsoluteTimes into round day NSDates
I have an NSArray of CFAbsoluteTimes. They should be sorted from earliest to latest, but if not I can sort them.
What I need to do is find the min and max date (e.g. Jan 1 to Jan 5) and create a bucketization that shows the count for each day…

i_am_jorf
- 53,608
- 15
- 131
- 222
0
votes
1 answer
I have two buckets in riak client_user and account_user, I am trying to make a mapreduce to get all users' objects
I have two riak buckets , "client_user" which contains compose_key as key like clientid-userid and another bucket "account_user" which contains userid as key and users' information. I am trying to make one mapreduce query to find out all users info…

Yang Sun
- 18
- 3
-1
votes
1 answer
AWS: what is bucket name?
I want to setup CodeDeploy from AWS and I'm following this guide:
http://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent-operations-install.html#codedeploy-agent-operations-install-linux
What is bucket-name?
As I can see some…

smart
- 1,975
- 5
- 26
- 46
-1
votes
1 answer
No matching function on hashtable
When I try to call the create hash function from the following lines of code I receive the error no matching function for call
myHash.create("5", "Data");
checkTest("testSimpleIntHash #1", "Data", myHash.retrieve("5"));
The idea is that create…

T3nt4c135
- 104
- 8