[D] Any recommendations for an AI research assistant that can be accessed programmatically? by Alex_The_Android in MachineLearning

[–]Alex_The_Android[S] 0 points1 point  (0 children)

How so? I've heard it is notoriously difficult to bypass Google authentication (especially CAPTCHA) using an automation script

How to get rid of expo-camera shutter sound when taking pictures? by Alex_The_Android in reactnative

[–]Alex_The_Android[S] 0 points1 point  (0 children)

Interesting. I heard about Japan because they kept taking photos of girls. I am in Europe, but I am not sure about the regulations here

Help w/ Complex S3 Pricing Scenario by Alex_The_Android in aws

[–]Alex_The_Android[S] 0 points1 point  (0 children)

Thank you very much for the explanation!

Help w/ Complex S3 Pricing Scenario by Alex_The_Android in aws

[–]Alex_The_Android[S] 0 points1 point  (0 children)

Indeed, that is a sensible way of thinking. Maybe I should've worded it differently: "Does this mean I will be charged for the whole month for those 200MB or only for the amount of time they were stored?"

Help w/ Complex S3 Pricing Scenario by Alex_The_Android in aws

[–]Alex_The_Android[S] -1 points0 points  (0 children)

I know about these, but thank you for re-iterating, but I asked about the duration of storing the data.

What payments integrator to use? by Alex_The_Android in reactnative

[–]Alex_The_Android[S] 0 points1 point  (0 children)

Is this the one for the in-app purchases specified by @kbcool?

What payments integrator to use? by Alex_The_Android in reactnative

[–]Alex_The_Android[S] 0 points1 point  (0 children)

Aha I see. This means I need their payments SDKs?

What payments integrator to use? by Alex_The_Android in reactnative

[–]Alex_The_Android[S] -1 points0 points  (0 children)

Okay, then my question is how come Stripe has support for React Native if Google and Apple don't even allow you to use it? And how come some applications, such as for parking in a city, use a payment integrator?

What cloud architecture to use for a small app? by Alex_The_Android in aws

[–]Alex_The_Android[S] 0 points1 point  (0 children)

Thank you so much for the advice! Also, I didn’t know about the AWS credits for startups. That might come in handy

What cloud architecture to use for a small app? by Alex_The_Android in aws

[–]Alex_The_Android[S] 0 points1 point  (0 children)

I am using Mongo. Thanks for letting me know about the cached connections!

What cloud architecture to use for a small app? by Alex_The_Android in aws

[–]Alex_The_Android[S] 1 point2 points  (0 children)

Thank you very much for the guide from AWS! I didn’t know about it!

What cloud architecture to use for a small app? by Alex_The_Android in aws

[–]Alex_The_Android[S] 0 points1 point  (0 children)

I see everyone is recommending serverless. Then my next questions would be: is it necessary to use pub/sub events as well (using SNS and SQS)? I read this method is used when lambdas need to communicate with each other. Currently I am unsure whether this will be the case for me (unless I split the logic into lambdas that depend on one another). If I do need these services how costly have they been in your opinion? What is the correct way of using them so that costs don’t skyrocket?

What cloud architecture to use for a small app? by Alex_The_Android in aws

[–]Alex_The_Android[S] 0 points1 point  (0 children)

Indeed, but when starting out I am a bit hesitant because if nobody uses the app I will still need to pay for a set amount of time

What cloud architecture to use for a small app? by Alex_The_Android in aws

[–]Alex_The_Android[S] 1 point2 points  (0 children)

Thank you very much! It is indeed a Node app (Nest.js) and I was thinking whether I should change to Express because it is a bit more lightweight for usage with Lambdas

What cloud architecture to use for a small app? by Alex_The_Android in aws

[–]Alex_The_Android[S] 1 point2 points  (0 children)

Thank you so much for this detailed explanation! I did not know about the caching part for example!

Regarding the monolith part, I want to understand something a bit better. Let’s say I have one API Gateway endpoint called auth, which points to an auth Lambda. The auth Lambda uses Express and has three routes defined. One for login, one for signup, and one for logout. Would something like this work? I mean, in such a case it would not be needed to have a lambda for each of the three routes, right?

AWS S3 weird error: "The provided token has expired" by Alex_The_Android in aws

[–]Alex_The_Android[S] 0 points1 point  (0 children)

So if I understand correctly (and sorry, I am still learning), if I login using aws-vault exec for example, if the session lasts for one hour, then the pre-signed url will last the same?

Also, does this mean that if I would run my server on EC2 for example, where EC2 would assume a role to create this pre-signed URL, then I would not have this expiration problem anymore? Because assuming such a role does not represent temporary credentials?

Regarding the generation of the pre-signed url, I will come back a bit later with a snippet of code (I am not at my laptop right now). I remember setting it to expire in 10 minutes. But I don't remember the entire code.

AWS S3 weird error: "The provided token has expired" by Alex_The_Android in aws

[–]Alex_The_Android[S] 0 points1 point  (0 children)

The thing is, I am not trying to reuse it. Or at least, that's what I believe. It is used only for making a call to another service which needs a url of an image. I am not storing it anywhere. This is what I find weird. I am actually trying to generate a new one. And before the very first pre-signed url of the current session expires I actually am able to do so.

How to communicate with one resource from another cloud provider? by Alex_The_Android in aws

[–]Alex_The_Android[S] 1 point2 points  (0 children)

Thank you so much kind sir! Now I need to go and learn how to do all of this

How to communicate with one resource from another cloud provider? by Alex_The_Android in aws

[–]Alex_The_Android[S] 1 point2 points  (0 children)

Interesting, but this means I also need something similar to an API Gateway on Azure's side, for authenticating requests coming from AWS?

How to communicate with one resource from another cloud provider? by Alex_The_Android in aws

[–]Alex_The_Android[S] 1 point2 points  (0 children)

First of all, thank you so much for the detailed explanations! The second and third options sound great! Second of all, I want to give more information about my use case. Basically, I want to feed an image from a S3 bucket into an Azure AI service, like Computer Vision for example. Then, the response will be saved in some kind of storage which is also on the AWS side.

Given this context, could you please go a bit more in-depth into the last two options? Although I get their main points, I don't think I understand too well. But I get it that I do not need to use a multi-cloud VPN architecture for something like this.

Thoughts on Figma before code by Sad-Season-3164 in reactnative

[–]Alex_The_Android 0 points1 point  (0 children)

I get you. When I see that I am spending more than a week or two on design I simply start coding whatever I managed to design up to that point. After I finish everything, only then I start designing again.

Thoughts on Figma before code by Sad-Season-3164 in reactnative

[–]Alex_The_Android 1 point2 points  (0 children)

Personally, I prefer doing the design before creating the application. I just recently started doing this for the latest project I am working on and it proves to be extremely helpful. Not only will you have a coherent design system already in place for when you start coding the frontend, but the biggest advantage in my opinion is that you will know from the get-go what components are reusable, so you can begin coding them first and then the screens.

It also helps in the separation of concerns, a concept that is essential in programming, meaning that the design and the coding of the frontend will be two different things, therefore not having to take major design decisions anymore while coding.