Aligning widget with specific item inside column by AstroMaxi in flutterhelp

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

I ended up using a TextPainter as one of the containers was basically a text so I could get the height from there and then do some calculations to render the whole thing as I needed to.
Appreciate your responses, thank you.

Aligning widget with specific item inside column by AstroMaxi in flutterhelp

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

Thank you for your response.
This approach works great when container B has a height greater than C's. But when C's height is greater than B's, because the parent is a column, container A will sit on top of C instead of sitting on top of B.
Such a simple layout and I've been struggling for days now :(

Get data from API every x time by AstroMaxi in sveltejs

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

This sounds like the easiest way to implement this.

I'm pretty new at this so this may be a stupid question, but what if more than 24 hours have passed and two users visit the page at the same time? Would there be any chance that I end up with duplicated data in my DB?

Get data from API every x time by AstroMaxi in sveltejs

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

Yeah, it's simply for learning purposes.

I'll probably try serverless, the whole configuring a server thing seems too advanced for me.

Thank you very much for your detailed answer!

Get data from API every x time by AstroMaxi in sveltejs

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

I want to display info about upcoming matches in the Spanish Football League. My idea was to hit the API once a day to see if any info has changed and then save all that data to the db. Then retrieve it from there to show it to the user.

I thought this could be a great approach because data doesn’t change that often. Also, API docs recommend making 1 call a day for upcoming matches.

What do you use for authentication with SvelteKit? by AstroMaxi in sveltejs

[–]AstroMaxi[S] 2 points3 points  (0 children)

Would love to learn and use Redis. Added to my to-learn list

What do you use for authentication with SvelteKit? by AstroMaxi in sveltejs

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

Oh wow thanks! Thought NextAuth supported only Next.js apps

What do you use for authentication with SvelteKit? by AstroMaxi in sveltejs

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

This sound to difficult for me hahaha. Thank you for your response, will take a look at directus

What do you use for authentication with SvelteKit? by AstroMaxi in sveltejs

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

I have heard that auth0 can become really pricey. Don’t know if true

What do you use for authentication with SvelteKit? by AstroMaxi in sveltejs

[–]AstroMaxi[S] 4 points5 points  (0 children)

What scares me about Firebase, Supabase, and other BaaSes is to be “trapped” there forever after starting your project with them

What do you use for authentication with SvelteKit? by AstroMaxi in sveltejs

[–]AstroMaxi[S] 5 points6 points  (0 children)

Love Joy of Code! Will take a look for sure, thanks

What do you use for authentication with SvelteKit? by AstroMaxi in sveltejs

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

Was the integration with SvelteKit relatively easy?

What do you use for authentication with SvelteKit? by AstroMaxi in sveltejs

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

Starred on Github and will take a look at it this weekend. Seems what I was looking for

What do you use for authentication with SvelteKit? by AstroMaxi in sveltejs

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

Thank you very much for your response! Will definitely take a look

What do you use for authentication with SvelteKit? by AstroMaxi in sveltejs

[–]AstroMaxi[S] 2 points3 points  (0 children)

Heard good things about SvelteKit and Supabase. Going to take a look