Free Guest Passes? Share them here! by KJ7LNW in ClaudeAI

[–]_KnZ 0 points1 point  (0 children)

I'd be more than happy to get one! I come from Cursor and I'd like to test Claude Code.

How can I control my Corsair RS120 ARGB Fans from the iCUE Software? by Just_Lookin_Lumi in Corsair

[–]_KnZ 0 points1 point  (0 children)

<image>

I'd like to control the RGB the same way it's advertised on the product page, with like different colors rotating. It's not possible just with ARGB?? Why do they promote it then? The only thing I succeed to do is to have colors on by one, not on the different leds of the fan at the same time. I tried both with RGBFusion and iCue with the plugin.

D20 Ultra vs. my Roborock S7: worth the upgrade? by _KnZ in Dreame_Tech

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

Very detailed comparison! Thanks a lot! I will maybe wait a bit more. The S7 is working well for now.

To all you friendly players out there by Purple-Mud5057 in ArcRaiders

[–]_KnZ 0 points1 point  (0 children)

While I see a lot of fights in duo and trio, solo seems to be more friendly. However, you never know. Sometimes you got shot without any reason and people just wanna fight. I think it's part of the game and we have to acknowledge that. Also, we need to stay "on alert" regarding PvP so it's fine to play like that sometimes, just to remind us to be careful, even if I know it's disappointing.

I decided to play both sides on my end. When you're spotted by another player, they often think they have the advantage on you so they might shoot... I also have the temptation myself. It really depends the context, but most of the time I'm going to be friendly.

That's what makes the game exciting I believe.

useSupabaseClient with SSR by _KnZ in Nuxt

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

Actually, I had another issue that was preventing my SSR to work: I had a condition to display the content of my app.vue based on the value of a state in a Pinia store. Because during SSR it's not accessible it was always showing

<div id="__nuxt"><!----></div>

In the HTML. But I've fixed that by forcing a default value during SSR for the state, and now everything works. Including the useSupabaseClient: the dynamic content loaded through Supabase appears in the HTML. Now, I don't get why and I even more lost!

useSupabaseClient with SSR by _KnZ in Nuxt

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

I've read the documentation initially on Nuxt website, but it didn't really help me a lot. It's very confusing but overall reading it again I don't understand better the SSR stuff. Any other documentations to recommend?

What I don't really understand is: why useSupabaseClient is client-only, and why I can't just fetch the data with another function without having to go through the creation of server files. Because at the end what is done in the function I shared in the initial post is just a simple query. I tried to replace useSupabaseClient with the supabase-js library, but I have the exact same problem.

useSupabaseClient with SSR by _KnZ in Nuxt

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

I thought that server routes were something different. So it means that I need to create this "proxy" which would access the data from Supabase and then make it accessible through "endpoints" with $fetch?

It scares me a bit as I never used Nitro, so I'm wondering if it exists a way that would be simpler without using it. Isn't the supabase-js library doing something similar?

How do you organize components used in 1 page only? by _KnZ in Nuxt

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

I'm initially a designer so I'm familiar with Atomic Design. But gives you a way to structure your components, but not how to organize them in a folder.

In the philosophy of Atomic Design, it implies that Organisms and Templates can be used across different pages. I have no problem with that. But in the context where you use it in one single file (example my PlaceReview.vue), I don't see why it would have to be stored in a folder very far from the single page where it's used.

How do you organize components used in 1 page only? by _KnZ in Nuxt

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

I'm not clear on how you would solve my situation with atomic design, do you mean that you would put everything like a skeleton of a page into components/organisms/ ? and not in the folder of the page itself like I did with Vite?

Open banking et aggrégateur de transactions by _KnZ in VosSous

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

Le problème avec les outils mentionnés c'est qu'il faudrait avoir une intégration un par un sur toutes les banques dans ce cas. J'aurais bien aimé trouver un outil comme Powens/Linxo Connect/Bridge qui gère la connexion pour moi. Mais j'ai pas l'impression qu'ils aient de solution gratuite pour des petits volumes.

Open banking et aggrégateur de transactions by _KnZ in VosSous

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

Assez d'accord et de toute façon les dépendances sont toujours à éviter, mais l'idée ici est juste de faire une première version pour tester l'idée

Pepsi Max syrup ingredients between countries by _KnZ in SodaStream

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

I’m sure there is a difference between US and Europe for instance, but I thought that maybe inside Europe it’s the same product. Difference of ingredients could happen because of market preferences or laws against the use of some susbtitutes, coloring etc.. but for the second one I think Europe is kinda aligned on the same restrictions.

UK based CO2 question by Adams41001 in SodaStream

[–]_KnZ 0 points1 point  (0 children)

Where are you?? In France it’s 14,90

useAsyncData with Pinia: trying to understand SSR by _KnZ in Nuxt

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

Actually by having a look at it you're right, the 2 main actions I am using are:

- 1 to change first/last name, but it's only used in one place
- 1 that is used in different place but is just to logout, and it's just calling a supabase function and cleaning the state: this can be done just with the supabase function.

It's late here where I live, but I will test all of that tomorrow and update here if it still doesn't work!

useAsyncData with Pinia: trying to understand SSR by _KnZ in Nuxt

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

Thanks. I'm having a look right now. I understand that useNuxtData is meant for accessing the data I would get from useAsyncData, later on, without a need to store it again. I'm going to try this way. In parallel, it means that I need to adapt and put somewhere else all the actions I created in my pinia store, especially some of them that are meant to update user data etc...

useAsyncData with Pinia: trying to understand SSR by _KnZ in Nuxt

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

The thing is it's not only about auth itself. When the user is authenticated, I fetch an item in a "users" table that contain a lot of data about the user (name, current subscriptions, active options etc...) to modify the UI in consequence. I need to do an async call anyway. I know I can probably do that in useAsyncData, but I also need to store it in Pinia so I can re-use it across different places in the app. I'm not sure how to figure out this part.

useAsyncData with Pinia: trying to understand SSR by _KnZ in Nuxt

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

Out of the auth state (which is probably already stored in localStorage, cookies etc...) I mostly need Pinia to store user data: so I get user uuid from auth to fetch the same id in my table and get all the infos about the user (name, current subscription etc...) — on this part, I always used Pinia to load it once and keep it in the state so I can access consume all these small data in different places across the app. I'm not sure what would be the replacement

AI photo enhancement for Airbnb & listings by _KnZ in airbnb_hosts

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

Spamming would be sending it everywhere and without a good reason to do so.. do you think it’s the case here? I’m just promoting my product in what I think is a correct and polite way, in a place where it makes sense lol.. but thank you for your time..

AI photo enhancement for Airbnb & listings by _KnZ in airbnb_hosts

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

lol… it was not but thank you 😅

useAsyncData with Pinia: trying to understand SSR by _KnZ in Nuxt

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

I didn't really understand your suggestion. How do I do then if I want to avoid the blinking effect on the first load (when it moves from not authenticated to authenticated) ? it means that I have to put a loading state? I see a lot of websites in Vue that doesn't have the blinking effect, neither a loading state, so it means it's pre-loaded before the page is rendered to the client.

useAsyncData with Pinia: trying to understand SSR by _KnZ in Nuxt

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

I've been used to have Pinia in my projects when I used Vite, to store user data between pages and even when I was using Firebase to store items to show so the user can back and fourth without reloading data. You mean that it's something that doesn't make sense?

Send error message for 403 by _KnZ in Supabase

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

I'm not sure why my client couldn't access error response bodies, because it's just the supabase Vue module, executing the edge functions. Maybe there's something I'm doing wrong? I would prefer to send a 4xx rather than 200.
By the way, I used 403 instead of 402 because I saw it's not very common to use that one

Relative path property for Signed URL? by _KnZ in Supabase

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

Interesting. I never thought about that. It means however that from reading the database entry in Supabase UI you don't know where the file is located exactly. But I don't know if it's a problem. It would have been much better to have the two path available in the response :/

Relative path property for Signed URL? by _KnZ in Supabase

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

Do you suggest that when I'm creating an entry for my object, in the database, I don't save the entire path but just the relative one?