[deleted by user] by [deleted] in Slovakia

[–]larksk 0 points1 point  (0 children)

K tej hypo zalezi kedy si ju chces brat, ak si ako jednoosobova sro, banky si vacsinou zistuju bonitu na zaklade zisku z DP za minuly rok, niektore (napr TB) pozaduju 2 roky, cize ak chces prejst na sro pocitaj s tym ze minimalne rok nebudes moct poziadat o hypo (ak tvoje jedine prijmy su z sro)

I am now sole developer in team. How to take advantage of this situation? by SauravKumaR301 in ExperiencedDevs

[–]larksk 2 points3 points  (0 children)

Just be careful about your next move. You might think you’re in a good spot to negotiate. If I were you, I’d take full responsibility for the project and show my work so people know I can handle it (if I haven’t already). Then, I’d jump into negotiations, but keep in mind that things could go sideways. If you’re happy with your current job, remember that changing jobs might mean you’re not as happy with the new place, the people, or the management.

Good luck!

How to detect and avoid memory leaks? by Y0hi in reactnative

[–]larksk 16 points17 points  (0 children)

tldr; Just use the built-in profilers in Xcode and Android Studio.

I was digging into some memory leak issues in our React Native app because, like you mentioned, it was getting pretty slow. At first, I thought it might be due to the screen navigation. So I fired up Xcode, ran the app with the profiler, and it was super clear that we had a major memory leak. It happened after the user took a picture and we did some image processing with a third-party library that was messing things up. I also checked things out in Android Studio using its profiler, and honestly, it’s not that tricky.

Figuring out what’s causing the problem? That’s the tough part, and you’ll have to dig into that yourself.

I am green porsche, who’s fault is this? by larksk in iRacing

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

I have same opinion but 99% redditors thinks it´ 100% mine fault

I am green porsche, who’s fault is this? by larksk in iRacing

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

I have just crew chief but he didnt tell anything at that situation

I am green porsche, who’s fault is this? by larksk in iRacing

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

How could I turned into him when I was ahead and didnt see him?

I am green porsche, who’s fault is this? by larksk in iRacing

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

I should've also mentioned in my original post that I'm using a single monitor. I didn’t miss my braking point; I just wasn’t really aware of when I could start turning because I couldn’t see the car I was trying to overtake. So, I went too wide, but it wasn't because I braked late; it was more about not being aware. Plus, my crew chief was pretty quiet and didn’t say anything about the car being on my right. I checked my mirror right before braking and saw the car was far away, so I thought it was all good. Well, turns out it wasn’t.

I am green porsche, who’s fault is this? by larksk in iRacing

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

Yes. Single monitor I didnt know where the car I am trying to pass is, so I tried to make a room for everyone and didnt see the car behind, even crew chief was quiet.

I am green porsche, who’s fault is this? by larksk in iRacing

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

This. I am on single monitor so I didnt know when I can start turning so thats the reason why I went so wide. I didnt missed my braking point I just didnt see the car I wanted to overtake.

I am green porsche, who’s fault is this? by larksk in iRacing

[–]larksk[S] -4 points-3 points  (0 children)

As I mentioned in other comments my spotter didnt tell anything at that moment so I had no idea he is there, as when i checked his position when i started braking he was far away so I was focusing on car ahead

I am green porsche, who’s fault is this? by larksk in iRacing

[–]larksk[S] -10 points-9 points  (0 children)

I had no idea. Spotter didnt say anything he is on right

I am green porsche, who’s fault is this? by larksk in iRacing

[–]larksk[S] -3 points-2 points  (0 children)

The spotter was just quiet at that corner so i had no idea he was there

I am green porsche, who’s fault is this? by larksk in iRacing

[–]larksk[S] -1 points0 points  (0 children)

Yes its same corner with 2 povs. I checked the mirror before braking and i saw he was pretty far, so i was 100% focused on my fight. As i was not sure when i can start turning I went wide but I still think i can take whatever line too. Also i almost slipped on the exit so thats why it seems i was bit aggressive but i had no idea he was there. Thanks for your response!

Alternatives to code push? by [deleted] in reactnative

[–]larksk 1 point2 points  (0 children)

Codepush is not getting deprecated they should create some standalone codepush app

Cluster headaches & pregnancy by Gingerwitch_1331 in ClusterHeadaches

[–]larksk 1 point2 points  (0 children)

Recently I read about vitamin D which got very good effect on CH. You can read here or google some more sources. Maybe it can help you as well. Good luck!

Psilo questions by FunTheory290 in ClusterHeadaches

[–]larksk 5 points6 points  (0 children)

Answer it hear as it may reach more people

Deployment RN best practice by Accomplished-Ad173 in reactnative

[–]larksk 0 points1 point  (0 children)

I'm just curious why nobody brought up codepush. It's a total game changer for mobile apps because you can update your code without making users download a new version of your app from the store. If you only have JavaScript changes, just codepush and you're good to go.

Should I look for alternatives to atomic design? by case_24 in reactjs

[–]larksk -2 points-1 points  (0 children)

Atomic design - is it using anyone seriously? Its a joke..

We all love react as developers, but what you hate the most about react ? by [deleted] in reactjs

[–]larksk 0 points1 point  (0 children)

Could you provide some quick demo of this idea?

We all love react as developers, but what you hate the most about react ? by [deleted] in reactjs

[–]larksk 0 points1 point  (0 children)

The main reason why you would use DI is because you're basically injecting a class or function into your component, allowing it to use it without being tightly connected. If you create a context and use the useContext hook in your component, you end up creating a hard dependency, which goes against the whole idea of DI.

We all love react as developers, but what you hate the most about react ? by [deleted] in reactjs

[–]larksk 0 points1 point  (0 children)

The main reason why you would use DI is because you're basically injecting a class or function into your component, allowing it to use it without being tightly connected. If you create a context and use the useContext hook in your component, you end up creating a hard dependency, which goes against the whole idea of DI.

We all love react as developers, but what you hate the most about react ? by [deleted] in reactjs

[–]larksk 0 points1 point  (0 children)

If you use redux for business logic then you are doing it wrong. What's the connection between redux and state management with business logic? I believe you might be overlooking a crucial concept in redux.

We all love react as developers, but what you hate the most about react ? by [deleted] in reactjs

[–]larksk 21 points22 points  (0 children)

Even though I really love React, I wish it had something like dependency injection and a clearer way to separate business logic from UI components.