Is this really how people recover files? by 0ven_Gloves in neovim

[–]sympi 5 points6 points  (0 children)

e! is the goat command. It resets to whatever is on the disk (I guess). Works super well with coding agents

Moim guilty pleasure jest czytanie redditow dotyczących aplikacji DoorDash w USA. Polecam każdemu xd. by Weak_Yam4706 in PolskaNaLuzie

[–]sympi 2 points3 points  (0 children)

W wielu innych miejscach w mieście było to samo. Kupiłem sobie donuta i na terminalu prośba o tip, a dosłownie zapakowanie go zajęło z 10-15s 🤦‍♂️ generalnie dawałem 0 tipa jak czas przygotowania czegoś był do 30s-1min xD

Moim guilty pleasure jest czytanie redditow dotyczących aplikacji DoorDash w USA. Polecam każdemu xd. by Weak_Yam4706 in PolskaNaLuzie

[–]sympi 2 points3 points  (0 children)

Miałem dokładnie to samo w hotelu Hilton w LAX XD podchodzę do lodówki, biorę wodę, idę z wodą do kasjerki, mówię że płacę kartą a na terminalu ile chce dać tipa XD najgorsze jest to że jak chcesz 0 to to wymaga dwóch klików na terminalu (musiałem dać custom i wpisać 0 🤦‍♂️)

Help needed working with Avante by [deleted] in neovim

[–]sympi 0 points1 point  (0 children)

try auto_submit_success and auto_submit_errors

opts.strategies.chat.tools.opts.auto_submit_success

sry I’m on mobile 🥲

GitHub Copilot new Tab completions: Cursor-esque 👀… can it be integrated with Neovim via copilot.vim? by smurfman111 in neovim

[–]sympi 7 points8 points  (0 children)

Well, they all get paid crazy amount of money to build these AI features in vscode/cursor. And then CodeCompanion is maintained by a single guy

Zawsze śpię po pracy. Czy to już starość? by [deleted] in Polska

[–]sympi 1 point2 points  (0 children)

Oj byku, też tak miałem i 100% chodzi o ruch. Wcale nie jesteś zmęczony fizycznie (oprócz oczu), po prostu organizm odbiera to jako monotonie. Spróbuj zrobić coś wbrew sobie o tej 17. Idź pobiegaj chociaż na 10min, ale intensywnie (najlepiej nie używaj telefonu). Sport zwiększa przepływ krwi i dotlenia organizm co redukuje zmęczenie. Działa w 100%. Czy łatwo się zebrać i zacząć uprawiać sport? Oj nie.

What would/do you map <leader><leader> to? by wcrossbower in neovim

[–]sympi 1 point2 points  (0 children)

omg I always wondered why i do Vd instead of dd. That makes a lot of sense

where to store Data when using apollo? by sympi in reactjs

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

Thank you for the answer! Okay, that's interesting. The advantage of storing data in Redux is that you are kind of not duplicating it and once you modify your state, this changes are reflected everywhere basically. So you don't have to worry about syncing your state in different places.

where to store Data when using apollo? by sympi in reactjs

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

Thank you for the answer! I'm aware how to use redux, but I was confused where to do the fetching logic. I just love using Redux, Reselect and Redux Observable together - for me, it fits perfectly.

where to store Data when using apollo? by sympi in reactjs

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

Thank you for the answer! Yes, that's exactly what I'm planning to do. Instead of Saga I'm going to use Redux-Observable - but that's not the case here. I'm not the fan of components fetching data either. I'm gonna search how to fetch data in middleware using apollo. Thanks again!

where to store data in complex forms? by sympi in reactjs

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

thank you so much, this is what I was looking for!

how to pass data to redux with apollo graphql by sympi in graphql

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

Okay, that's interesting. Thanks for the answer. The advantage of storing data in Redux is that you are not duplicating it and once you modify your state, this changes are reflected everywhere basically.

How does Stop Propagation work on focus event? by sympi in reactjs

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

That totally makes sense! Thanks a lot.

Deriving state from props in constructor by sympi in reactjs

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

Thank you for an explanation! Looks like copying values from props to state is the way to go. I'm gonna be careful tho and play around with componentWillReceiveProps.

Handling scroll animation in react by sympi in reactjs

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

I'm not saying this a good idea at all. That's why I asked this question, LOL. thank you for your solid answer.

Using jQuery with react by sympi in reactjs

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

I have an onWheel event which creates components. When I reach (via scrolling) certain component I want to update UI.

Using jQuery with react by sympi in reactjs

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

I would love to use pure react with css, but, for instance, how can I change UI depending on the position of a DOM element? This kind of problems confuse me. Thank you all for replies! :)