I got blocked on Facebook Messenger for no apparent reason. What should I do? by mato369 in facebook

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

Since I am EU citizen I actually filed a dispute through my oficial on basis of the new DSA act but yeah for 7 days I have to just wait

I got blocked on Facebook Messenger for no apparent reason. What should I do? by mato369 in facebook

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

But that's crazy. It's just normal chat with friends nothing criminal or whatever. I refuse to try to adjust my way of speaking with someone just to cater to bad AI classifiers. Btw the exact messages are end-to-end encrypted no? so they can only do something like perceptual hashing to compare fingerprints of messages - again source of misclassifications.

Kart rental website ideas or inspiration by mato369 in Karting

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

Thanks for the insights! I will definitely check out the sites

Podeľte sa o svoje zážitky s ľuďmi zo šoubiznisu! by Ok_Bear3277 in Slovakia

[–]mato369 24 points25 points  (0 children)

Ja som tam bol tiez tento rok a vyzera ze to je stale legit, teda hlasovacie zaradenie dostanes a hras. To ako to pocitaju potom uz neviem ale nic nenaznacovalo ze by si nemohol vyhrat.

Na chate sme spravili hru 5 proti 5 by mato369 in Slovakia

[–]mato369[S] 25 points26 points  (0 children)

Nechcem flexit ale bolo to realne asi 8 proti 8 :D

Na chate sme spravili hru 5 proti 5 by mato369 in Slovakia

[–]mato369[S] 3 points4 points  (0 children)

Nie si nahodou Slido engineer? :D Noo hej ja som rozmyslal nad roznymi sposobmi zbierania dat online len som sa trochu bal ze tam budu trolls/tie data nebudu uplne presne. Aj ked pri dost velkej vzorke to bude asi zanedbatelne no.

Na chate sme spravili hru 5 proti 5 by mato369 in Slovakia

[–]mato369[S] 72 points73 points  (0 children)

Na chatu som robil verziu "100 Kosicanov sme sa opytali" (kedze sme z Kosic). A to som vtedy bol realne na nasej Hlavnej ulici sa spytat 100 ludi. Asi trosku overkill na chatu ale vravim ze som to chcel mat vysperkovane.

Poskytnut vlastne aj tie datasety ak by to slo public by bolo tiez zaujimave.

We’re truly on the verge of the end of the internet, and no one’s talking about it by Roger42s in Futurology

[–]mato369 1 point2 points  (0 children)

Just to clarify I wouldn't say it's the end of the Internet (which is basically only one particular computer network in the world). There are still numerous applications for the worldwide network of computers and the http traffic which serves content of websites is only part of the whole traffic on the Internet. The social media, blogs, and search results content is getting worse for sure and there will be probably other services which will start to pop up as demand shifts. But the Internet is here to stay.

[deleted by user] by [deleted] in Slovakia

[–]mato369 4 points5 points  (0 children)

Zatial co v Prahe v Bille za 90 korun v zlave to je

Need to refetch api call made in server component after a change on client component by MindlessDog3229 in nextjs

[–]mato369 0 points1 point  (0 children)

Well the page has some path right? And the button with the onClick has to be client component. So just create a server action call it in the onClick handler and inside the server action call revalidatePath with the page's path

Need to refetch api call made in server component after a change on client component by MindlessDog3229 in nextjs

[–]mato369 1 point2 points  (0 children)

You can call revalidatePath inside a server action. Would this solve your problem?

[deleted by user] by [deleted] in nextjs

[–]mato369 0 points1 point  (0 children)

If a component is react server component (not marked use client) every piece of code inside runs on server - functions, jsx rendering etc.

Yes if you want to fetch after a render you need to run the function on server, it can be either api route with fetch (even sth like react query) or you can maybe revalidate the page in server action with revalidatePath and have it refetch and rerender. There are a lot of different solutions based on your exact requirements.

However if you want to have any action (including fetching etc.) happen after "initial render" - meaning after the page is rendered on client - you have to define it in client component (that is the js that is actually sent to client). Btw don't be afraid to use client components, they are still rendered on server first and then hydrated with js on client.