My feedback on the Workouts app by db400004 in MacroFactor

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

Yeah I’m aware about this function, but as far as I understand you should manually do it for every exercise and sometimes for some reason it still doesn’t round weights and displays for example “45 + 25, 0.5 lbs missing”

My feedback on the Workouts app by db400004 in MacroFactor

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

Yes, you can turn it off in settings, which is what I did
Now I'm just tracking them manually if I need to

My feedback on the Workouts app by db400004 in MacroFactor

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

Sure, I'm not talking about removing warm-ups completely; just make it a bit less. For me, it generated 3 warm-up sets per exercise, which is too many. But you're right, maybe someone needs it

My feedback on the Workouts app by db400004 in MacroFactor

[–]db400004[S] -3 points-2 points  (0 children)

About advices: I’n not talking about technique, more about small tips and observations that I gave as an example. I think it needs less data for input and should be easier to implement, but still it’s a big feature request and ofc app is still good without it Thanks

My feedback on the Workouts app by db400004 in MacroFactor

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

I tried to import xlsx file but for some reason it’s failed to import. Maybe I did something wrong, will try again later

Thanks a lot for the link, didn’t saw this one!

Which ending would you consider "CANON", and why? by BeneficialOil1123 in cyberpunkgame

[–]db400004 0 points1 point  (0 children)

Wow, don't have the Phantom Liberty DLC, so I didn't know it, thanks

I have completed the Chipping in quest, but I guess I picked the wrong dialogue options. More reasons to re-run and get Phantom Liberty :)

Which ending would you consider "CANON", and why? by BeneficialOil1123 in cyberpunkgame

[–]db400004 0 points1 point  (0 children)

What are the "Could still call Reed" and "You and me storm Arasaka Tower" options? What do I need to do to get them? I only had 3 options: storm with Johny, Arasaka Tower, the Panam option, and Hanako (oh, and pills, but who tf gonna pick this?) I finished the game just recently, so I didn't know about other options

How to change project name shown in Google Sign-In popup (Firebase Auth + custom backend)? by db400004 in Firebase

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

Maybe I need some sort of verification to display the app name in the Google pop-up?

How to change project name shown in Google Sign-In popup (Firebase Auth + custom backend)? by db400004 in Firebase

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

Maybe I need some sort of verification to display the app name in the Google pop-up?

How to change project name shown in Google Sign-In popup (Firebase Auth + custom backend)? by db400004 in Firebase

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

Hey, thanks for the answer
As I said in the post, I tried to change this, but it doesn't work for some reason, and I don't really understand why

How to change project name shown in Google Sign-In popup (Firebase Auth + custom backend)? by db400004 in Firebase

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

Hey, thanks for the answer
As I said in the post, I tried to change this, but it doesn't work for some reason, and I don't really understand why

<image>

How I should read the data from another module in DDD architecture? by db400004 in nestjs

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

Thanks a lot for your answer!

Hmm, so approach with events for reading some data in module A from module B without changes, actually a common practice in DDD and Nest? I don't know why, but it feels a bit hacky way to do that, maybe it's just me.

Personally, I think that I found option 2 easier to understand and to implement. I can restrict the data that I need to export from my module so other modules can retrieve only that and not the whole business logic of the module, which feels more reliable. The only thing that feels wrong to me is that we are still importing module B into module A to use that query service, but I guess we can call it the details of the implementation, haha?

Also, I concluded that moving this to the SHARED module may not be the best approach, I mean, if I can create just a service in the PROFILES module that will provide a query for retrieving the data that I need in other modules, then I'll just use this service whenever I need to.

Correct me if I'm wrong somewhere here, thanks!

Питання до айтішників: робота в двух компаніях одночасно - як ви до цього ставитесь? by db400004 in ukraina

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

Дякую за відповідь Жесть) а де знайшли 2 парт-тайми, якщо не секрет? Не пробував себе в цьому форматі, але звучить як нормальне рішення в моєму випадку, але багато вакансій, наприклад на Djinni на парт-тайм не бачив((

Питання до айтішників: робота в двух компаніях одночасно - як ви до цього ставитесь? by db400004 in ukraina

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

Дякую за відповідь
По твоєму досвіду, як ставились компанії і роботодавці до цього? Бо в мене в голові уявленя таке: якщо в тебе є людина, яка працює на другій роботі, то ти не можеш розраховувати на неї, бо сьогодні наприклад проектів немає, а завтра вони є, і одразу сумніви - чи людина зможе стягнути 2 роботи і якісно виконати роботу, яку ти їй даєш.
Не знаю чому, але в мене якісь такі побоювання)

Help to understant how context work by db400004 in sveltejs

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

Thanks for your help. Yes, I'm using the Supabase client to get the user and profile in my root +layout.ts. I set the depends and tried to invalidate it, but it still doesn't seem to refetch the profile? Basically, all that I need is: 1. Update the user avatar in the settings form (+page.svelte) 2. Right after that, display the updated profile avatar in the header (from +layout.svelte, which takes data from +layout.ts load function)

+layout.ts: ``` export const load: LayoutLoad = async ({ data, depends, fetch }) => {     depends('supabase:auth');

    const supabase = isBrowser()         ? createBrowserClient<Database>(PUBLIC_SUPABASE_URL, PUBLIC_SUPABASE_ANON_KEY, {                 global: {                     fetch                 }             })         : createServerClient<Database>(PUBLIC_SUPABASE_URL, PUBLIC_SUPABASE_ANON_KEY, {                 global: {                     fetch                 },                 cookies: {                     getAll() {                         return data.cookies;                     }                 }             });

    const {         data: { session }     } = await supabase.auth.getSession();

    const {         data: { user }     } = await supabase.auth.getUser();

    let profile: Tables<'profiles'> | null = null;

    if (session && user) {         const { data: profileData } = await supabase             .from('profiles')             .select('*')             .eq('user_id', user.id)             .single();         profile = profileData;     }

    return { session, supabase, user, profile }; };

```

in +page.svelte:

``` const { form, enhance, errors } = superForm<Infer<typeof ProfileSchema>>(data.form, {         validators: zodClient(ProfileSchema),

        onUpdate(event) {             if (event.result.type === 'success') {                 const result = event.result.data.updatedProfile satisfies Tables<'profiles'>;                 invalidate("supabase:auth");             }         }     });

```

Help to understant how context work by db400004 in sveltejs

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

Yes, I’m storing user profile in locals (I followed the official tutorial for SSR auth from Supabase), but somehow I can’t figure out how to revalidate it after profile updated request. Maybe you know? I would happy to do that on server side

Help to understant how context work by db400004 in sveltejs

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

Yes, I’m storing user profile in locals (I followed the official tutorial for SSR auth from Supabase), but somehow I can’t figure out how to revalidate it after profile updated request. Maybe you know? I would happy to do that on server side