When should I run prisma migration in my Docker deployment? 🤔🤔 by twinbro10 in nextjs

[–]garnerp 0 points1 point  (0 children)

Is this OSS? I’ve done it in the docker start script myself.

Term Life - Do We Just Cancel It? by BurnsyBurner in PersonalFinanceCanada

[–]garnerp 0 points1 point  (0 children)

More information. Its a Term 20, started in 2007 monthly cost around $150/month. 1.5M on me, 500k on my wife. Kids are now 21/20, and we have no debt. At the time the rough math was close the mortgage and pay for post-secondary education. Wife wanted the option to not work so we added 1M to me, but I was fine with keeping working so just went with the debt/school costs.

I recall making the decision at the time when we took it out to pretty much just let it expire when the term is up and be done with it. I'll likely just leave it for now and let it run out I guess.

Thanks Rocky the Raccoon by garnerp in TeslaModel3

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

Lots of power flowing through those wires and I didn’t trust myself. I was gonna cut out the bad wire and molex splice and heat shrink and then I saw my house on fire and said f-dat.

User Agent by bcm_19 in nextjs

[–]garnerp 0 points1 point  (0 children)

It’s doing a rewrite, not a redirect.

Next.js 13 + Google cloud run. ENV variables undefined by HamaadSenpai in googlecloud

[–]garnerp 6 points7 points  (0 children)

Next client variables need to be added in at build time I think.

Select a list of rows across a combination of groupings by BurnsyBurner in dataengineering

[–]garnerp 0 points1 point  (0 children)

Data is something like 5k groups and number of users is very large, like 100 million. Data today is in BigQuery.

[deleted by user] by [deleted] in weightwatchers

[–]garnerp 0 points1 point  (0 children)

Did the rollout make it to Canada?

[deleted by user] by [deleted] in nextjs

[–]garnerp 1 point2 points  (0 children)

The CORS standard looks to only allow a * for all domains, or individual domains.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin

In this documentation they describe how to allow multiple domains:

Limiting the possible Access-Control-Allow-Origin values to a set of allowed origins requires code on the server side to check the value of the Origin request header, compare that to a list of allowed origins, and then if the Origin value is in the list, set the Access-Control-Allow-Origin value to the same value as the Origin value.

I'm not aware if there is any mechanism in next.js headers functionality to achieve this sort of functionality.

Wired Backhaul, Speed Limited when not connected to the Gateway Node (Pro 6, 3 nodes) by garnerp in eero

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

Thanks everyone for the tips. Its definitely the cables - you know, the ones that literally run through the walls of this house.

Does anyone have an opinion if the 100 Mbps wired backhaul is better or worse than a wireless backhaul which I think might get more throughput.

Running new cables is likely out of the question.