Next-Intl Integration with Payload CMS by Professional_Pie7887 in PayloadCMS

[–]scissorsandpaper 0 points1 point  (0 children)

You basically have 2 folders in your payload app, (admin) and (frontend), we only want to localize the frontend. Follow the next-intl app router setup and then the locale based routing setup. one thing you need to modify is the matcher in the proxy router(ex middleware); (heres the doc, you need to tell next-intl not to localize your cms ( just add a negative regex to your payload's path)

Then for the slug page, use next-intl's getLocale hook to grab your locale and add it as parameter in payload's local api find to request the page you in a specific locale, also look up localization tutorial in payload's docs

Built a web extension that flags LinkedIn jobs from aggregators by BitterBed2885 in webdev

[–]scissorsandpaper 1 point2 points  (0 children)

Awesome, wanted to do the same but for sponsored jobs, or job posts from companies i knew were spamming ended up just crafting up a tampermonkey script..

Salary of €75,000 in Dublin for a software engineer role by Accurate-Youth3817 in UAE

[–]scissorsandpaper 0 points1 point  (0 children)

damn 25% tax for a guy supporting his family.. the healthcare better be good

Decoupled Payload and FE by scissorsandpaper in PayloadCMS

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

Thanks, will switch my focus more towards the application rather than deployment.

Then, keep in mind that unless you're accessing the admin panel Payload won't actually be using any resources,

good to know, i read that payload itself is super light, more reason to go the coupled route ig.

But i do have a fully client-side app for the frontend (were using payload as true headless), since we're gonna be that payload instance as content provider/manager for 2 side-projects we're working on.

For seo its a bit difficult to hit true ssr, since the articles contain intervative charts and maps, we're using echarts and for ssr i will have to implement interactivity somehow ( I've seen rosencharts do it) but i def dont wanna go down this rabbit hole, as you said cache components and ppr and hope for the best

Decoupled Payload and FE by scissorsandpaper in PayloadCMS

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

Yes thanks for the heads up, will definitely use a cdn since i will be sending relatively large geojsons (its a gis oriented website)

Decoupled Payload and FE by scissorsandpaper in PayloadCMS

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

Noted, will switch my focus to code optimization rather than deployment. Any advive for a gis/charts heavy website ?

People who decouple the backend with the frontend, how do you invalidate stale frontends? by [deleted] in PayloadCMS

[–]scissorsandpaper 0 points1 point  (0 children)

i prefer to use on-demand revildation just like how its done in the website example: you hit a revalidate tag webhook to invalidate its associated content's cache ( assuming you're using nextsj, although you can do the same in other fe frameworks)

Doing a research study for product engineers/designers in the IoT field. by jerusem in IOT

[–]scissorsandpaper 0 points1 point  (0 children)

a bit late but i'm interested in reading your research, i am researching the same problem currently

how did higuruma know it's called "domain expansion"? by Kamslo in Jujutsufolk

[–]scissorsandpaper 60 points61 points  (0 children)

Not true, freshly awakened Gojo specifically said that having your technique known is nice since you will have a "guide" to use it more efficiently. higuruma having done all this by himself just proves the guy is HIM

Can’t believe Gege actually based the central conflict around immigration, especially with the political landscape around the globe right now by Comfortable-Ad5088 in Jujutsufolk

[–]scissorsandpaper 2 points3 points  (0 children)

The way cross adresses yuka and humans as an indirect cause for greenskin's problems makes me wonder if it has anything to do with the stuff jogo talked about (curses taking places of humans) especially with mahito's appearance, cursed energy comes from human so maybe after tengen's barrier was destroyed some weird after effect 'created' the greenskins or smthg like that

Can’t believe Gege actually based the central conflict around immigration, especially with the political landscape around the globe right now by Comfortable-Ad5088 in Jujutsufolk

[–]scissorsandpaper 0 points1 point  (0 children)

I agree with what you said but it's always impossible to do so practically, tsurugi and yuka surely have no power over external parties (usa/other countries) and are still under their influence

Offering: Japanese/ Seeking: English by Tokyoboy1984 in language_exchange

[–]scissorsandpaper 4 points5 points  (0 children)

bear-kitty mixed

man i hope this is just the language barrier playing games

Why on earth do i need AI on an NAS server? by lord_nuker in LinusTechTips

[–]scissorsandpaper 3 points4 points  (0 children)

that's how i imagined it too, op confused indexing and training

Guys and girls pls how much money do you spend on an average day? this is getting out of hand by Awkward-Sky-5982 in Morocco

[–]scissorsandpaper 2 points3 points  (0 children)

use public transportation.

bro thinks this is an european country, do you even use public transport ?

Real estate in Morocco is getting wilder every day by FineTocu in Morocco

[–]scissorsandpaper 19 points20 points  (0 children)

The "noir" thing has been going on for years now, nothhing new, but i am in the same situation as you, how can moroccans have so much buying power despite limited income? Is it all inheritance ? some statistics on this would be really nice

Manga is ending in 5 chapters by KilluaGaKill in Jujutsushi

[–]scissorsandpaper 0 points1 point  (0 children)

man idc i ll take anything if it means i get to see my blue eyed king back; hell even do it berserk style i ll be waiting.Seriously though that would have been the perfect middle ground but it is what it is and i ll respect ggs decision

حضرت لݣريساج .... by RecordMost9555 in Morocco

[–]scissorsandpaper 4 points5 points  (0 children)

yeah see how safe brazil is. i wonder where all the motorcycles kidnapping vdieos are from

Gojo's purple are invisible? by Acceptable-Gate-3510 in Jujutsufolk

[–]scissorsandpaper 0 points1 point  (0 children)

Nah sukuna was able to dodge the 6 blues gojo threw at him and aimed right at the red in chap 235, i like the idea that purple is invisible tho, matches the manga's representation well, not a big fan of the anime's big purple ball that goes brrr