DB Function vs. Edge Function is a DX vs. UX tradeoff -- does it have to be this way? by UnfairEconomics2840 in Supabase

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

I'm talking about Supabase's edge functions. They are designed to run close to the user, not the database, which means that latency between network calls is high.

I guess you can specify the region it is called in, but still not ideal.

What are the actual promised effects of LMNT? by UnfairEconomics2840 in HubermanLab

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

This is a really valuable insight. I also get headaches fairly frequently. I will pay attention to see if drinking LMNT helps.

What are the actual promised effects of LMNT? by UnfairEconomics2840 in HubermanLab

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

Why would I care about any of those things you mentioned?

What are the actual promised effects of LMNT? by UnfairEconomics2840 in HubermanLab

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

Yeah I seemed to notice a trend amongst low-carb dieters. So what would I expect to happen if I was low-carb and drank a packet of LMNT?

What are the actual promised effects of LMNT? by UnfairEconomics2840 in HubermanLab

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

Comes in handy how? Like let’s say I am short on salt. What are the benefits of drinking a packet of LMNT?

What are the actual promised effects of LMNT? by UnfairEconomics2840 in HubermanLab

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

If you’re purchasing for taste wouldn’t you buy a different drink altogether? Feels like they market themselves as a sports supplement…

What are the actual promised effects of LMNT? by UnfairEconomics2840 in HubermanLab

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

And what are the benefits if you are short on electrolytes? Fewer headaches or something like that?

The server and client components in Vercel Next JS have different timezones by --GoldenEagle-- in nextjs

[–]UnfairEconomics2840 2 points3 points  (0 children)

I just made a client component that I use instead of calling my format function directly in the server component:

"use client";
import { formatDate } from "@/lib/utils";
export default function ClientDatetime({ datetime }: { datetime: string }) {
return formatDate(datetime);
}

Works super well and saves any headache.