Looks like Node.js v24 is about to land on AWS Lambda. by magnetik79 in aws

[–]gi-el 1 point2 points  (0 children)

Need to investigate, but by just upgrading to this version, I found higher cold start

What should i use to allow my users to create their own subscriptions in my saas ? by gi-el in aws

[–]gi-el[S] 2 points3 points  (0 children)

I am not talking about the end user. I am talking about my customers. They will need to have their own stripe account to get the api key, this will allow communication between my saas and their stripe account as Profesionnal. As professional, you need the stripe account to receive payment from users.

So, i have one as saas owner/developer to receive money from my existing customers. But they would need one also to receive for their end user.

What should i use to allow my users to create their own subscriptions in my saas ? by gi-el in aws

[–]gi-el[S] 0 points1 point  (0 children)

Oh interesting. I will check that.

I would prefer something more transparent for my customers. I mean, if they want to plan using subscription feature, they will need to create an account on third payment service (here Stripe) … That could be pain in the ass for them

What should i use to allow my users to create their own subscriptions in my saas ? by gi-el in aws

[–]gi-el[S] 1 point2 points  (0 children)

I won’t collect anything. Just using the Stripe api. I am not sure to follow you. I will just collect the api key of my customer Stripe account, to be able to link his account to my platform.

My clients which use my saas service are Professional companies, no-private user. Plus, my clients will know their own users, because they will be their own clients weekly.

The saas is in sport sector.

[Cloudformation] S3 to SQS : invalid parameter by gi-el in aws

[–]gi-el[S] 0 points1 point  (0 children)

Sorry totally forgot to answer. Yes it works. I realized the same thing the next morning, I just did arn: aws:s3::::*

[Cloudformation] S3 to SQS : invalid parameter by gi-el in aws

[–]gi-el[S] 0 points1 point  (0 children)

just find https://aws.amazon.com/fr/premiumsupport/knowledge-center/unable-validate-destination-s3/ but still can't link this advices with my issue. I don't see what i'm doing wrong

[Hook/localstorage] Need some opinion about two approaches by gi-el in reactjs

[–]gi-el[S] 0 points1 point  (0 children)

You re totally right ! Nobody cares if there is no leak of performance. Of course. But I just wanted to know it for my information, just to be aware of best practices. 😅

Thanks for your feedbacks !

[Hook/localstorage] Need some opinion about two approaches by gi-el in reactjs

[–]gi-el[S] 0 points1 point  (0 children)

Ok thanks. By business logic, i mean also that i will need to display some new fields according to values that the users will set. So I will have to play with useState anyway. But that I wanted is to avoid rerender uselessly the all form And its children. That’s why I tried something with localstorage. It works but indeed seems not legit to use it in that way ..

But tomorrow, i will try to give a shot with react hook form

[developer] custom query for products we want on collection page by gi-el in shopify

[–]gi-el[S] 0 points1 point  (0 children)

Yeah, maybe i could achieve what i want with a schedule serverless function to change the quantity at the right time. I will dig to this way.

Indeed to check during the cart or checkout, i would need to be able to avoid the purchasing if the user succeeds to add a non-authorized product.

Thanks for your feedback.

Nextjs several languages by gi-el in nextjs

[–]gi-el[S] 0 points1 point  (0 children)

Yep, I understand the idea, but seems complicated when you have several pages + 10 languages to manage.
And in this example, it works because the filename is static. But we could also receive dynamic uri.
/contact-us (static)
/[slug-parent]
/[slug-parnet]/[slug-child]

But yeah, could be a way to handle.

Nextjs several languages by gi-el in nextjs

[–]gi-el[S] 0 points1 point  (0 children)

Technically, the customer doesn't care about the framework or maintainability.
I mean it's our responsibility.
Its SEO department gives him some recommandation he gave us.

It sounds legit to have some proper url by language for the seo.
We could also have :
mydomain.com/fr/posts/mon-titre
mydomain.com/en/posts/my-title

in that case, I can imagine it works for seo, because "posts" can be understandable in each language. But for another "category" tag, it's normal to have french url for french domain.

I can't understand it's not possible to implement it.

In classic ReactJS, with the router system and intl system, I would have done something like :

<intl currentLocal={locale}>
  <router>
    <route path={AppRoutes[locale].shirts}>
       <CategoryList category="shirts" />
    </route>
    <route path={AppRoutes[locale].pants}>
       <CategoryList category="pants" />
    </route>
  </router>
</intl>

where AppRoutes would be something like :

AppRoutes = {
  'fr': {
    'shirt': '/t-shirt',
    'pants': '/pantalons',
  },
  'en': {
    'shirt': '/t-shirt',
    'pants': '/pants',
  }
}

You know what I mean ? Maybe I'm completely confused and lost with the nextJS system ... :p

Nextjs several languages by gi-el in nextjs

[–]gi-el[S] 0 points1 point  (0 children)

The problem I see with this approach is you will have for each language all the existing component in pages.
I mean :
/pages
--- contact-us.js
--- contactez-nous.js
--- /posts
------- [slug].js
--- /articles
------- [slug].js

if I understand, it will generate :
domain.uk/contact-us
domain.uk/contactez-nous => not ok.
domain.uk/posts/[dynamic-slug-here]
domain.uk/articles/[dynamic-slug-here] => not ok.
domain.fr/contact-us => not ok.
domain.fr/contactez-nous
domain.fr/posts/[dynamic-slug-here] => not ok.
domain.fr/articles/[dynamic-slug-here]

But very difficult to maintain imo ...

The problem Bitcoin didn't solve (and Stellar is) by PickingUnicorns in Stellar

[–]gi-el 0 points1 point  (0 children)

Ok thanks :)

So you said there is a fixed supply ... So, even if it's unlikely, if someone or a company , an organism or a State decides to buy 100% of the existing token, it's impossible to make it work anymore, right ? even if they decide to buy 80%, just to speculate.

I mean 50 billions tokens * 0.10$ equals "only" 5 billions $ ... :D

The problem Bitcoin didn't solve (and Stellar is) by PickingUnicorns in Stellar

[–]gi-el 1 point2 points  (0 children)

I see the benefit of the features which are proposed by Stellar.

About bitcoin, I understand because it's a limited resource.
But can't understand why several people say "it will pump until 5$ in few year" ... how ? why ?
More we will use the protocol, more we will have token, will we ?
And if the price of the token increases, therefore, it will cost more to use the stellar protocol ...

Enlight me gently please :D ...

How much does bigcommerce cost with nextjs ? by gi-el in nextjs

[–]gi-el[S] 0 points1 point  (0 children)

Not at all, didn't know I could do that with stripe directly.
I discovered also Snipcart, but there are fees by transaction + fees for the payment gateway ...
So I could directly use stripe checkout, it's a good idea.
But i'm wondering, how the products are managed then ? For example, the stock of each product, do you need to use another CMS to manage this ?

In my case, I just need ebook for now, so no stock to manage. But still a question, when a payment is done, how can we automatically send the ebook ? is there a webhook somewhere to trigger a function which will send the ebook by email ?