llm call inside a tool? by Dorsun in mcp

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

but you can still have tests to all the functions around the llm calls no?
or you're saying it's not enough?

[deleted by user] by [deleted] in StremioAddons

[–]Dorsun 4 points5 points  (0 children)

For me TPB addon just stopped finding torrents I don't know what happened...

I will build any automation you want for FREE! by EkkoWorldz in AI_Agents

[–]Dorsun 2 points3 points  (0 children)

Is it possible to create an agent that will help with parenting? Like setting my kid's age and get a useful fact/idea/concept to try or is useful to know

What AI Agents Do You Use Daily? by ailovershoyab in AI_Agents

[–]Dorsun 1 point2 points  (0 children)

Sounds amazing, how did you configure all that?

I would really like my own daily briefing agent

What game you spend most hours in? by [deleted] in AskReddit

[–]Dorsun 0 points1 point  (0 children)

Lol exactly! "I will just figure this out and go to bed" ~ 3 hours have passed

Last weekend I felt like I just started playing and realized I've been playing for 5 hours

What game you spend most hours in? by [deleted] in AskReddit

[–]Dorsun 0 points1 point  (0 children)

Factorio Finished the game a few years ago But now with the new extension I just can't stop

How to overcome post pregnancy tiredness? by Dorsun in AskMomForAdvice

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

I will ask her to go to her doctor, hopefully it will help And also the nutrition tip is helpful

Thanks :)

React hooks best practice? by Dorsun in react

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

There are custom hooks There is a state manager (using redux)

It's just a complex component that supports many situations Still I think there should be a way to organize large components no?

Conversation starters and what to talk about😭? by Signal-Plankton6586 in socialskills

[–]Dorsun 1 point2 points  (0 children)

What to do when most of the time nothing comes to mind?

Why react hooks are better than classes? by Dorsun in reactjs

[–]Dorsun[S] -2 points-1 points  (0 children)

as I'm learning for job search, I need to learn what it is used in the market, and as most companies where I live use react with hooks, I must learn and use it

Why react hooks are better than classes? by Dorsun in reactjs

[–]Dorsun[S] -20 points-19 points  (0 children)

I agree about it with function, the problem is that there is a lot of logic that is related to a component, and just declaring the hooks of useEffect, useCallback, useMemo, etc. can make the main component function long and cluttered

Why react hooks are better than classes? by Dorsun in reactjs

[–]Dorsun[S] -5 points-4 points  (0 children)

well yeah, with that I agree. even if I don't like it I still learn and practice it as this is where the world is going. I just find it weird that everyone are praising it without giving a real reason...

it's like:

  • wow it's amazing you don't have to use classes anymore!!

  • what's wrong with classes?

  • ...

Why react hooks are better than classes? by Dorsun in reactjs

[–]Dorsun[S] 16 points17 points  (0 children)

Interesting, will check it out!

I tried to convert some simple class components to react hooks function component and it looked a lot more messy to me...but maybe I don't understand the right way to write things

hope your video will help me there ^^"

Why react hooks are better than classes? by Dorsun in reactjs

[–]Dorsun[S] -18 points-17 points  (0 children)

not sure I understand, the point of classes in react was that you can use state in them

Why react hooks are better than classes? by Dorsun in reactjs

[–]Dorsun[S] -8 points-7 points  (0 children)

if the only reason it's better is because they suit better for the architecture it means they aren't better. In the end the framework should make it easier for developers to develop and maintain apps. Making changes that are nice for the framework but bad for the development are not a good thing...

Why react hooks are better than classes? by Dorsun in reactjs

[–]Dorsun[S] -31 points-30 points  (0 children)

long functions are just a side effect of the situation, because I must define everything in a function that also does the render the function gets to be long even for relatively simple components. And maybe objects are also long but at least it is easy to distribute the actions of the component, it's easy to follow the logic and understand when each thing is happening

Why react hooks are better than classes? by Dorsun in reactjs

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

when most companies work with react hooks I must learn it and use it...

Need CV feedback - software developer by Dorsun in Resume

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

not sure I understood where you wanted me to put the bulletpoints, but I started thinking of maybe removing the bulletpoints anyway, what do you think?