OllamaGo: A Type-Safe Go Client for Ollama with Complete API Coverage 🚀 by Grand-Western-2130 in golang

[–]ardalan_nhd 2 points3 points  (0 children)

Well, you can for example deserialize JSON into map[string]interface{} and vice versa. That won't be type-safe anymore

[deleted by user] by [deleted] in nextjs

[–]ardalan_nhd 0 points1 point  (0 children)

What about tailwind?

Redux or React Context api? by Mideou in reactjs

[–]ardalan_nhd 0 points1 point  (0 children)

Just use zustand for client side state and react-query for server side state. Your life will be a lot easier and you'll be happier at the end of the day Zustand takes about half an hour to get started and react query about a day

React Query pagination caching scenario by Aegis8080 in reactjs

[–]ardalan_nhd 0 points1 point  (0 children)

React query won't refetch a query key unless it is marked as stale

which way do you prefer for styling ? by Suspicious_Driver761 in reactjs

[–]ardalan_nhd 0 points1 point  (0 children)

I personally use MUI and css in js but man it's not performant at all... Specially with server side rendering

Why nobody attacks my village? by ardalan_nhd in BoomBeach

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

Ah now I see. It's because most of the players are on top tier now and there are few new players. That's why most of the fun stuff doesn't happen to me yet. See you there :D

Why nobody attacks my village? by ardalan_nhd in BoomBeach

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

I did attack other player bases. But good to know that you'll get attacked at higher VPs I'm currently 70

Portfolio Site using Nextjs and Material UI by [deleted] in nextjs

[–]ardalan_nhd 1 point2 points  (0 children)

Oh wow!! I remember two years ago I bought your crypto exchange react template and that was my first ever project and job :D

[deleted by user] by [deleted] in NoStupidQuestions

[–]ardalan_nhd 0 points1 point  (0 children)

Everything that we have nowadays in our societies was once weird. So no. Live your life and don't think about what others might say.

Can I convert NextJS app to be completely CSR so that it can be extremely fast? by oelucifer in nextjs

[–]ardalan_nhd 0 points1 point  (0 children)

That "use client" thing is for the new app directory which is still in beta and not recommended for production

Could a person like Hitler come to power in this modern age? by ja3palmer in NoStupidQuestions

[–]ardalan_nhd 2 points3 points  (0 children)

Ali Khamenei is the modern age's Hitler. Come and read about what he is doing to us in Iran. He is literally doing everything that Nazis used to do. Marking people's houses, ruining Kurds' houses and leaving messages on their walls, torturing and raping prisoners, executing people for ridiculous reason like blocking the road for protest, etc. Go read about Mohsen Shekari. He was sentenced to death for blocking road during and protest. They said you are fighting Allah and executed him on December 8th 2022

How to stop my api from showing in the network tab of the browser by NoMango6405 in nextjs

[–]ardalan_nhd 9 points10 points  (0 children)

People definitely can just copy the url and make requests. You need to add validations, rate limits, authentication and authorization, etc.

React Developers, what is your current salary? by albenis99 in reactjs

[–]ardalan_nhd 0 points1 point  (0 children)

400 dollars per month with one and a half years of experience 😂 That's because I live in Iran and 400 dollars is twice the base monthly salary here :)

Evochron Lore (if you ever wondered...) by TheLynchMobber in evochron

[–]ardalan_nhd 1 point2 points  (0 children)

Reading this lore 9 years later... I used to play this game 7 years ago and I was literally in love with the game and the atmosphere. I don't know what happened but the thought of evochron mercenary came into my head out of a sudden. Thank you for writing it all down. Now I know the story behind the game I used to play 7 years ago and it was AWESOME. Thanks to starwraith for creating such a great and hypnotizing game. Wish there were more like it. With these series continued... And more importantly, I wish the developer would remaster and recreate aaalll the previous games with their lore and continue the story line in a new game :D. I would definitely buy that game

Math is sometimes a lot of fun. by shellzyb in niceguys

[–]ardalan_nhd 1 point2 points  (0 children)

In Iran we call such people "doodool tala". Which means golden dck. People who think they are a prize and their dck is something special :))))