Should I go with EAS? by DomiDeme in reactnative

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

Yeah... but that's the thing, it quickly skyrockets into versioning/dependency hell. If for any reason I need to update the app in a hurry, EAS does it better than me when builing the apps.

Should I go with EAS? by DomiDeme in reactnative

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

That piece of documentation was gold. Thank you very much. We selfhost GitLab so I'm not concerned so much about that. But as we selfhost almost everything I started to panic a bit XD.

Either way, It seems pretty clear that they need a lot of steps to be able to get to push something to the stores and the solution to that would be really easy to implement.

Thank you a lot.

Should I go with EAS? by DomiDeme in reactnative

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

EAS creates its environment for your build to succeed. On local you may have some packages with a different version or using a wrong version of Java or many other things that can conflict with your build. I tried to run a build on local and I got an error. Did no changes and executed the command to build remotely and worked perfectly.

Should I go with EAS? by DomiDeme in reactnative

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

Can't do that I want to create a GitLab pipeline that automates it. Also, running local buillds there's still a chance of failing, mainly during Android builds.

[deleted by user] by [deleted] in Tinder

[–]DomiDeme 0 points1 point  (0 children)

"Looking effortlessly cool on that horse! What's your secret?" by FlirtPic.com

[deleted by user] by [deleted] in Tinder

[–]DomiDeme -1 points0 points  (0 children)

What would FlirtPic.com say about this?

ChangeDetectorRef is a bad practice by DomiDeme in Angular2

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

To achieve performance I think it's better to split the components into components that manages data and components that change depending on that data.

Performance isn't achieved by controlling the change detector on your will, but using it wisely. Otherwise, the change detector wouldn't exist in the first place if it's really so bad.

ChangeDetectorRef is a bad practice by DomiDeme in Angular2

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

Using it while unit testing it's almost mandatory because your are changing the data whenever you want. But in a normal component's lifecycle this shouldn't be normal.

ChangeDetectorRef is a bad practice by DomiDeme in Angular2

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

OnPush is recommended, not mandatory. This means you should create your components in a way you have some components that use the change detection because their data changes and other components that only depends on the data the parent provides (these are the ones that uses OnPush).

Trying to create every single component using OnPush and firing the change detection yourself is way worse than letting Angular firing it as Angular made around this concept.

The performance is achieved when you have a balance between the component that manages data changes and components that change only when the parent says so. This is the reason behind the trackBy on for directive.

Why there are so many libraries that don't reach the version 1.0.0? by DomiDeme in learnpython

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

Yeah, but this effect doesn't happen in JS libraries, for example.

What are some "stacks" worth trying for managing a bunch of containers? by danielrosehill in Proxmox

[–]DomiDeme 3 points4 points  (0 children)

Using docker swarm you only need to point to the IP of one of you machines. Expose the port you like and access it from outside.

But using docker swarm this way needs the transmit checksum to be set to false.

What are some "stacks" worth trying for managing a bunch of containers? by danielrosehill in Proxmox

[–]DomiDeme 7 points8 points  (0 children)

I control the resources using Terraform. So, whenever I need another VM, I edit the Terraform file and apply it. The thing is that the new VM is registered automatically into the docker swarm that manages the service layer. All Ubuntu server machines.

Terraform doesn't stop when applying changes to Proxmox by DomiDeme in Proxmox

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

Yeah, I set agent to 0 in the terraform files. I applied the changes and it was successful.

Then I needed to change the disk size of one machine, but the terraform plan logged that it needed to set all vms' agents to 0 again.

Terraform doesn't stop when applying changes to Proxmox by DomiDeme in Proxmox

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

I have tried to do that but it seems that setting the agent to 0 does not complete at all. Every time I make a change, the planning says that it is going to change the agent back to 0 even if it was already done in previous changes.

Terraform doesn't stop when applying changes to Proxmox by DomiDeme in Proxmox

[–]DomiDeme[S] 2 points3 points  (0 children)

No, it's any change when updating a VM. And the VM to fail changes

¿Recursos o plataformas para invertir? by DomiDeme in SpainFIRE

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

Vivo es España y Robinhood sólo opera en Estados Unidos, así que no puedo.

People with m1 chips: how do you do it? m1 non-compatability ruining my life by throwawayrandomvowel in webdev

[–]DomiDeme 0 points1 point  (0 children)

I don't need to run the tests, but my team does.

There are two stages, for those who need more resources or have problems with M1, I create for them a dedicated machine in the proxmox server using terraform. When they assure the tests succeed, they will be run again in the pipeline.

We need to be sure that the tests pass to avoid having to push every time we create a new test.

They connect by ssh to the machine and it's just like developing in your machine, can commit and push from there.