a bucket is one of several alternative data sinks when data needs to be distributed. The term is used for algorithms, data-structures. Commercial usages include databases and cloud providers.
Questions tagged [bucket]
993 questions
0
votes
2 answers
Trying to understand bucket sort code
I have three questions about the following code:
static void funct(int[] list) {
final int N = 20;
java.util.ArrayList[] buckets = new java.util.ArrayList[N];
for(int i = 0; i< list.length; i++) {
int key = list[i];
…
Arty
0
votes
2 answers
how to create a EU bucket on Amazon S3 using Coldfusion?
I'm running Coldfusion8 and am using the Amazon S3 Rest Wrapper CFC trying to set it up with a EU bucket.
I can use the cfc to set up buckets in the US, but whenever I'm changing to the EU setting, it does not work.
Here is the function being…

frequent
- 27,643
- 59
- 181
- 333
0
votes
1 answer
Amazon S3 : access without Secret Key
I am developing an iOS app which saves picture in an Amazon S3 server. Unfortunately, the owner of the server prefers not to give me his secret key. Instead, he generates and provides me with a signature he says I can use to upload a file.
The…

johnson23
- 286
- 2
- 16
0
votes
2 answers
Optimal Bucket Size and No. of Buckets
Sorry this post is not related to coding but more to data structures and Algorithms.
I'm having large amount of data each having different frequencies. The approximate figure plot seems to be a Bell curve. I now want to display the data in ranges…

user1425322
- 159
- 2
- 3
- 9
-1
votes
0 answers
AWS restrict bucket access
So I have a bucket where are hosted front project and am using CloudFront. so I want to restrict access to the bucket. site must be visible only from current IP addresses.
I searched and found that in the current bucket->permissions, there is a…

Boychik
- 61
- 7
-1
votes
0 answers
List of files of S3 bucket that changed since last request
Get a list of files on S3 that have changed since X - Stack Overflow is exactly what I'd like to do, but it seems that 10 years later this is still not possible.
I have also found How can I search the changes made on a s3 bucket between two…

Etienne Plt
- 1
- 5
-1
votes
2 answers
Inexact GROUP BY aggregation
I'm trying to figure out a way to reason about a fairly simple problem:
A table foo has two columns, id with unique identifiers, and value with a random numeric value. Given a constant threshold value, find the groups of values where their value is…

Athan Clark
- 3,886
- 2
- 21
- 39
-1
votes
1 answer
I have written below code to access oci bucket and its objects but getting error
import oci
bucket_name = "BACKUP_W_STAGE"
signer = oci.auth.signers.InstancePrincipalsSecurityTokenSigner()
client = oci.object_storage.ObjectStorageClient(config={"region": "us-phoenix-1"}, signer=signer)
objects =…

Asit Dey
- 11
- 1
-1
votes
1 answer
C++ Iterate unordered_map and it's buckets (iterate all entries)
I'm trying to figure out how to iterate though an unordered_map and its buckets. All of the posts I find iterate but ignore the buckets. My understanding is the unordered_map can act as a Hash Table which allows collisions.
My Hash Table has…

Katianie
- 589
- 1
- 9
- 38
-1
votes
1 answer
Upload in bucket s3 by form html
I am trying browser uploads to my s3 bucket using POST form. this is my form:
the variables ("X-Amz-Algorithm","X-Amz-Credential","X-Amz-Date","X-Amz-Expires","X-Amz-SignedHeaders","X-Amz-Security-Token","X-Amz-Signature") are dynamically…

user5442782
- 19
- 2
-1
votes
1 answer
Copy an on premise Windows folder to S3 bucket
I have an old archive folder that exists on an on premise Windows server that I need to put into an S3 bucket, but having issues, it's more my knowledge of AWS tbh, but I'm trying.
I have created the S3 bucket and I can to attach it to the server…

Gonzo
- 11
- 5
-1
votes
1 answer
s3 command for analyse
Suppose that you work in an e-commerce company, which keeps records of multiple products (more than a thousand) in the S3 bucket ‘records’. The files have the following structure for filename: ‘category-productid.csv’.
Now, you have to analyse the…
-1
votes
1 answer
How should I set Google Cloud bucket permissions so that the files in it are publicly accessible via URL, but bucket structure is not accessible?
I have a Google Bucket that requires the files in it to be publicly accessible with direct URL. I set access to "allUsers"
However, I noticed that URL https://console.cloud.google.com/storage/browser/{bucket_name} opens when I use my other gmail…

cheechee
- 33
- 5
-1
votes
1 answer
How to grab on value from an s3 log using python?
I have created the connection to AWS s3 using Python. I have used the filter to get the type of log I need, but now I am stuck getting the specific value. I have tried creating a dictionary but does not parse well, so not quite sure if I should just…

Astro_raf
- 57
- 5
-1
votes
1 answer
Turning metric values into buckets in Power bi
I have two columns of data like this:
Now I want to turn tenure into buckets like this:
I've searched but none of those works in Power bi.
What should I do?

Ghost
- 49
- 6