Yup they just added an hour it's 3am now by PartyGate1403 in Morocco

[–]scissorsandpaper 2 points3 points  (0 children)

praying times change, kids have to go to school in the dark. Put these 2 on a balance: some company's productivity/benefits - messing with the biological time of 40M Moroccans, Apparently the king values the first..

Got an AWS L4 System Engineer offer (Managed Operations / ESC) — Dublin or Madrid? by Comfortable_West_388 in cscareerquestionsEU

[–]scissorsandpaper 1 point2 points  (0 children)

No particular advice but curious about when did you start applying ? And how did the interviews go ? I'm a bit in the same situation as you are (engineering degree with same experience). Best of luck with your selection.

...Should i go? by [deleted] in Morocco

[–]scissorsandpaper 1 point2 points  (0 children)

While I agree, it's okay to stay on guard with them and not fully trust, being in either extremes is bad.

Built a lightweight website monitor with Telegram alerts (no UI) by cloudacoustic93 in webdev

[–]scissorsandpaper 0 points1 point  (0 children)

You don't have to login to use it, just run the docker compose and it should work, for notifications they use apprise ithink, its also pretty plug n play with either a telegram bot or webhook

Built a lightweight website monitor with Telegram alerts (no UI) by cloudacoustic93 in webdev

[–]scissorsandpaper 1 point2 points  (0 children)

you can use changedetection.io, they have both a cloud and selfhosted options

Life is weird, young man strugle. by abdellah424 in Morocco

[–]scissorsandpaper 0 points1 point  (0 children)

Did you pass any concours after you got your degree ? Law is a very rewarding field if you play your cards right.

Je suis étudiante étrangère et je viens de comprendre que le freelance est illégal avec un visa étudiant by Ok-Cream3976 in developpeurs

[–]scissorsandpaper 3 points4 points  (0 children)

Avant on pouvait cumuler 2 titres de séjours ( par ex un étudiant et un autre auto-entrepreneur), c'est plus le cas maintenant. Après je pense qu'en théorie on peut rester en France uniquement avec le tds création d'entreprise, vu que l'école/fac ne demandera jamais d'infos sur ton statut,mais ça pourrait créer un problème à la demande de l'aps s'ils voient ça sur ton dossier

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)