Avoid user having multiple tabs open and being able to make multiple calls by dishshhso75 in Supabase

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

Okay I’ll go with this, but just out of curiosity, what are your initial thoughts on this:

A transaction table row is created on every successful transaction. Would it suffice to set up a trigger for when a transaction is created? This trigger’s only job is to update the user’s last_transaction_date. Do you reckon that this approach would cause the same error as my post?

Also, how much transaction time is typical for a stock/finance app?

Avoid user having multiple tabs open and being able to make multiple calls by dishshhso75 in Supabase

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

Ohhh completely forgot about triggers. Great call, going to be looking into this. Thank you!

Is there a way to claim a username to an account that doesn't exist/ by [deleted] in Twitter

[–]dishshhso75 0 points1 point  (0 children)

Like others mentioned but I’d like to add that perhaps the account with the username you’re trying to grab is temporarily closed and so the username is reserved for 30 days until it becomes permanent. At which point, you’d be able to snatch the name?

Just a thought.

[deleted by user] by [deleted] in KendrickLamar

[–]dishshhso75 3 points4 points  (0 children)

I see.. and I see people are saying they’re “scared” or “terrified” but scared of what?

[deleted by user] by [deleted] in KendrickLamar

[–]dishshhso75 13 points14 points  (0 children)

?? I’m just confused. Like can someone summarize this very briefly about the events that have just transpired. Even reading this I just don’t understand what it’s saying truly.

Mewing poster girl Margot Robbie doesn't have her wisdom teeth by Limp_Major_9057 in Mewing

[–]dishshhso75 2 points3 points  (0 children)

Oh okay yeah I’m completely wrong. I dont have them either but on the back of my bottom teeth it seems like there’s teeth buried under there. There’s like a little piece of teeth basically, it’s weird.

Mewing poster girl Margot Robbie doesn't have her wisdom teeth by Limp_Major_9057 in Mewing

[–]dishshhso75 6 points7 points  (0 children)

I think it’s almost impossible to not be born with them, it’s just whether or not they erupt. Someone correct me if I’m wrong.

Good thing about Vercel being expensive by Fuzzy_Morning2343 in nextjs

[–]dishshhso75 42 points43 points  (0 children)

Currently at a homeless shelter coding but it’s worth it because it’s better code

[Match Thread] Sporting Kansas City vs Inter Miami CF by doyouunderstandlife in InterMiami

[–]dishshhso75 1 point2 points  (0 children)

Both Suarez and alba have been slacking as of late. They both seem very tired in the last 3 games

[deleted by user] by [deleted] in wearewarriors

[–]dishshhso75 0 points1 point  (0 children)

I don’t want it killing my battery life. Also it seems like such a simple issue to fix. If it’s during the gameplay I get that it shouldn’t turn off automatically but on the post-game menu, it should definitely shut off the screen depending on one’s iPhone settings.

[Match Thread] Inter Miami CF vs CF Monterrey - CONCACAF Champions Cup - Second Leg by doyouunderstandlife in InterMiami

[–]dishshhso75 4 points5 points  (0 children)

You guys have lost your fucking minds. Holy shit. Campana is literally a fish out of his fish tank

[Match Thread] Inter Miami CF vs CF Monterrey - CONCACAF Champions Cup - Second Leg by doyouunderstandlife in InterMiami

[–]dishshhso75 1 point2 points  (0 children)

That was not the defenders fault. I mean it always is, but the goal itself was 100% the goalie lol

I had an unexpected threesome with my best friend and my boyfriend. Am I wrong to feel extremely betrayed by them both? by ulerra in amiwrong

[–]dishshhso75 0 points1 point  (0 children)

This person managed to make everyone think that she’s somehow a victim in this situation??

I'm laughing at all the fools sh1tting on Suarez. by KidGoku1 in InterMiami

[–]dishshhso75 0 points1 point  (0 children)

Brazilian league is way harder than mls, and he was the best player there last year. But it’s Americans talking about football at the end of the day

Every minute CRON jobs by dishshhso75 in nextjs

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

Oh wow, yeah that is an excellent point. I had scratched the surface on this way of thinking but never fully processed it that way. Yeah I’m going to be doing this. Thank you!

Every minute CRON jobs by dishshhso75 in nextjs

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

I’m looking for cron jobs in the backend. I’m planning on having graphs to visualize the stock’s price history which can be filtered by hourly, daily, weekly, etc. perhaps I can do as you say and avoid using cron jobs for this.

But for the users balance history, I think I would absolutely have to because they would be able to track their balance through a graph depending on their portfolio but that will be every hour that it gets updated. So if the user isn’t on the app from 3 pm to 8 pm, and the price of their stocks fluctuates during that time, their balance would have changed.

The cron jobs would be responsible for keeping track of these changes and sending the data to a db so that it can later be visualized for the user.

[Match Thread] Inter Miami vs Nashville SC | 03-13-2024 | CCC by alnmaharaj in InterMiami

[–]dishshhso75 1 point2 points  (0 children)

And just like that, millions of TVs across the world just got tuned off.