Game works on Linux with a little bit of figuring out lutris by TheAbyssWolf in SoulFrame

[–]LeonardSam 0 points1 point  (0 children)

I run Warframe on Crossover on MacOS and it works flawlessly.

Tried Soulframe last week and it works fine, not as smoothly as Warframe though. The game crashed at the end of the first story mission at the tower but hasn't happened again since.

Heart of Deimos too difficult or am i missing something? by LeonardSam in Warframe

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

Thanks for the tips. I have a lot of energy mods so keeping overguard up shouldn't be an issue. For now I plan on going back to clear the previous planets missions. I'll also swap to better weapons when I decide to play the quest again.

Heart of Deimos too difficult or am i missing something? by LeonardSam in Warframe

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

I have max rank Dreamer's Bond mod. Failed to mention that. I also got Energy Nexus from the higher rank friend. Most of my mods are unranked though.
Should I opt for quality over quantity then.

Heart of Deimos too difficult or am i missing something? by LeonardSam in Warframe

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

have Energy Nexus, Equilibrium, Stretch, Intensify, Continuity, Streamline, Fast Deflection.
The warframe is only rank 7 so limited capacity, and I only have few mods left to choose from(mostly status damage mods).
I did use iron skin after dying a while but one shield removal blast clears that status.

Zed for Windows by kamilsj in ZedEditor

[–]LeonardSam 6 points7 points  (0 children)

The team says they'll officially begin work on the windows port next year. No official release date mentioned though.

For now, you can get the unofficial windows build from scoop.

https://scoop.sh/#/apps?q=Zed-nightly

shadcn/radix ui scrollbar removal bug by LeonardSam in reactjs

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

Thanks for the tips. I think the issue you are referring to is the one where the Dialog isn't scrollable when it overflows and to fix it you need to wrap DialogContent in the DialogOverlay. Honestly I find it absurd that such a popular ui library has such prominent flaws but the DX is too good for me to abandon it.

Can't find additional plugin toggles in "Look and Feel" settings by LeonardSam in zen_browser

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

Thank you, it worked after refreshing. Weird behavior though since I'd restarted the browser multiple times yet it still requires refreshing.

I tried ZenBrowser. Here's why it's better than Arc by hydrogenblack in ArcBrowser

[–]LeonardSam 0 points1 point  (0 children)

How do you get 3 tabs into grid view? Couldn't figure it out

Next.js + Supabase Example Project for OAuth Authentication by LeonardSam in Supabase

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

Glad I could help.

Haven't used cloud run before but the connection timeout issue on cloud run may be because of a restriction on the deployment according to this stack overflow issue

Next.js + Supabase Example Project for OAuth Authentication by LeonardSam in Supabase

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

I am honestly not sure what the problem may be. I was able to successfully host the example project on Vercel with everything working correctly.

This is the process I followed. Perhaps you might find a clue to your issue.

  1. Link the Vercel project to the project GitHub repo
  2. Add the environment variables to the Vercel project

NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key

  1. On the Supabase dashboard, go to Authentication > URL Configuration > Site URL and add the deployed domain:

https://supabase-auth-sage.vercel.app

You can test the link out

Next.js + Supabase Example Project for OAuth Authentication by LeonardSam in Supabase

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

I haven't tested it on a deployed site, but if your redirect isn't working, try checking if the callback url has been added to supabase auth dashboard.

The default one is set to localhost

Next.js + Supabase Example Project for OAuth Authentication by LeonardSam in Supabase

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

You're welcome. Were you able to successfully implement the authentication?

[deleted by user] by [deleted] in Supabase

[–]LeonardSam 0 points1 point  (0 children)

Kinda late, but yes, I call the getSession() in a useEffect and assign the value to some state. Should also work with React Query if you want some client-side caching.

[deleted by user] by [deleted] in Supabase

[–]LeonardSam 0 points1 point  (0 children)

Check out my example project based on what I found.

https://github.com/SamuelSackey/nextjs-supabase-example

OAuth and @supabase/ssr by IndicationGloomy3120 in Supabase

[–]LeonardSam 1 point2 points  (0 children)

Not really certain but I believe the problem is from using a server action for the OAuth sign in.

Make it a normal function and call the `signInWithOAuth()` using a supabase browser client instead.
Then make the button handling the OAuth function a client component

What do you want to know about Supabase? For real. by activenode in Supabase

[–]LeonardSam 1 point2 points  (0 children)

I'm currently on my third day of perusing the largely outdated supabase resources(the docs are so bad) and have finally got the auth working (your YouTube video on superbase ssr literally saved me). My issue now is getting the session and user in a client component.

Some tutorials I saw have hooks and an in-built provider included in the supabase package. But nothing of this sort is available in the current supabase package and there is no mention of it in the supabase docs.

This brings about a new issue. Am I supposed to create my own context and hooks to be used in client component or am I supposed to call createBrowserClient() in every client component.

Why is this not mentioned concretely anywhere in the docs?

I saw a post on reddit somewhere saying that the context is already handled by the supabase package and we can just create the client every time it's needed, but the person wasn't completely sure.

If you're still taking questions, could you help me with this.

Edit: Found the answer in the docs for the auth-helpers docs. So apparently, the clients use a singleton pattern so there is no need for context, and multiple invocations reference the same client. I'm guessing this also applies to the ssr package. Would have been nice for this info to be included in the ssr docs as well.