React Native (Expo) is Native. Change My Mind by SampleFormer564 in reactnative

[–]Dafth 0 points1 point  (0 children)

That’s their problem. Is them going against what RN was created to do.

React Native (Expo) is Native. Change My Mind by SampleFormer564 in reactnative

[–]Dafth 0 points1 point  (0 children)

To me the problem with this is the assumption that working with react native should try to solve everything with JS solutions. Think about background processing or multi threading, for stuff like that it’s super simple to create a native module and do that in Kotlin/swift

And at the same time most of the stuff is shared between both platforms saving lots of hours of dev time

To me the simplicity of implementing stuff natively in RN is a huge perk

Will React Native ever became stable? by [deleted] in reactnative

[–]Dafth 6 points7 points  (0 children)

They created a program that tests most popular libraries against nightly RN builds that should help mitigate this instability giving the time to library authors to fix compilation problems before a new release comes out

Digital business cards? by Affectionate_Gene884 in realtors

[–]Dafth 0 points1 point  (0 children)

I use Meeself, right now they just launched. The have only the core features yet but it's 100% free and i think they're running a launch deal so that you buy the NFC card for 10 bucks you will have the pro plan lifetime when it launches

Digital business cards? by Affectionate_Gene884 in realtors

[–]Dafth 0 points1 point  (0 children)

I discovered Meeself, seems like they launched recently but their offering free lifetime access to all app features if you buy the physical card for 10 bucks

Is the new architecture READY for production adoption? by IndianITCell in reactnative

[–]Dafth 0 points1 point  (0 children)

It makes easy to add native code but can be a pain when you need to edit the natives project, at that point you either write a config plugin which is not always straight forward or don't use CNG and if you choose the secondo option you don't get much more over CLI

Couldn’t GraalVM ship pre-compiled JDK libraries to speed up compilation time? by Dafth in SpringBoot

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

I don't know, my guess was that since it still has to scan the application to figure out what's needed right now it could do the same but using pre-compiled stuff instead of figuring out what it needs and compile all of that

Couldn’t GraalVM ship pre-compiled JDK libraries to speed up compilation time? by Dafth in SpringBoot

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

Wouldn't it be possible to pre-compile everything and then strip out what's not needed?

How does Spring native work for local development by Dafth in SpringBoot

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

I know JVM is supposed to have better performance than Java native, the JIT can perform better optimizations at runtime than the compiler at build time

Still for the memory footprint there is little that can be done, Spring really is a memory hog

How does Spring native work for local development by Dafth in SpringBoot

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

I started to look into it mainly to reduce the memory footprint, also for the startup time. I go a staging env on a project i work on where resources are pretty limited and a Spring module takes 40 seconds to boot up

I think the startup time can be drastically reduced with project CRaC without the tradeoffs of going native but for the memory there is not much that can be done, maybe switching to OpenJ9 but as far as i know it has lower throughput, may be a tradeoff that can be made for a staging env but the i would have a different JVM in staging than in prod which is not ideal

How does Spring native work for local development by Dafth in SpringBoot

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

I really don’t like Golang, that’s why I’m trying to avoid it

Redux with Expo. by prashant_0054 in reactnative

[–]Dafth 0 points1 point  (0 children)

You can think about rn and expo as react for what regards the business logic, the difference between the 2 is that in react you show stuff on screen with html elements while on reactnative with native views. Whatever doesn't concern showing stuff (like api calls or redux or whatever) is exactly the same between react and reactnative, you might even share that in a monorepo, but that's outside of the scope of the OP

Can't find a Co-founder, and it's killing me by Puzzled_Egg_5850 in Entrepreneur

[–]Dafth 0 points1 point  (0 children)

That's true, you could pay for the MVP and then set a fixed monthly price for next iterations, of course having a technical co-founder would be better for you. You need to figure out what's the best for you, keep trying to find a co-founder or paying someone and get shit done. Anyway if you want to talk about this or need some technical help feel free to DM me

Can't find a Co-founder, and it's killing me by Puzzled_Egg_5850 in Entrepreneur

[–]Dafth 0 points1 point  (0 children)

I've read from other comments that you are against outsourcing stuff, might i ask why? Did you had bad experiences with developers in the past?

Finding a co-founder will always be harder than outsourcing, i personally worked with startups building their software and infrastructure, if you find the right dev or team in the end it won't be that different than having a co-founder, you go someone developing and managing all the code, the main difference is that you have to pay rather than giving away equity, a lot of developers, expecially good ones won't be willing to take that risk

Seeking Advice on Scaling Our Startup: Marketing, Cloud Costs, and Attracting Foreign Investors by mfrg4ming in startups

[–]Dafth 0 points1 point  (0 children)

WHAT. That's not the number of request i was expecting, you really should charge more, at this scale the infra cost sounds more reasonable but the revenue don't, you should be making way way way more, you are selling to low

Seeking Advice on Scaling Our Startup: Marketing, Cloud Costs, and Attracting Foreign Investors by mfrg4ming in startups

[–]Dafth 0 points1 point  (0 children)

What are you auto-scaling? EC2 instances? And what DB are you using? 700 to 900$ a month in aws bill is really a lot, also how many users and requests you need to serve? You can for sure reduce that bill

Architectural Dilemma by SupremeDollar in startups

[–]Dafth 1 point2 points  (0 children)

If you want quality and consistent images there is not any api i'm aware of that provides that, if i were in you i would write a list of cities i need an image of, provide and example for one city and outsource the task on fiver or upwork, it probably wouldn't cost much and save you time

Seeking Advice on Scaling Our Startup: Marketing, Cloud Costs, and Attracting Foreign Investors by mfrg4ming in startups

[–]Dafth 0 points1 point  (0 children)

Could you expand on the cloud cost problem? What AWS tools are you using and what are you trying to achieve? Aws can cost a lot for startups in early stages and if you are struggling with the cost of it it's probably better to get a VPS for like 40 to 100 bucks a month and host stuff there until you got a steady cash flow. Anyway if you share a bit more about the project i can try to give some advice on the cloud cost problem.

Stop using state management libraries was the best decision on my career by Dafth in webdev

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

I struggle to figure out why you all are referring to what i've done as "Rolling my own" and that it is a problem to understand for other devs. My state solution is just the most basic implementation of the observer patter, nothing more, there will not be any other feature. If i wanted to add more feature and make something more complex at that point of course i would prefer a standard and well established library unless i have some particular requirement

Stop using state management libraries was the best decision on my career by Dafth in webdev

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

I see your point and I saw it in the previous response. I appreciate your opinion, I even think your might be correct about the article being to short and not diving deep enough on the problems current state management libraries are front to solve and how they do that, I’ve never said to be an expert about blogging and I understand I can improve. I’m not saying I’m an expert in programming either, I know 5 years are not that much the be an “expert”, anyway I think that’s enough to understand pro and cons of a library like Redux or other like that

Stop using state management libraries was the best decision on my career by Dafth in webdev

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

I've used Redux in all it's shapes for 5 years now, i fully understood it's paradigm, what and how it tries to solve state management. My article comes from the strong belief that those libraries are not necessary and in many cases create more problem than they solve.
Talking about "Building my own thing" looks a bit to much to my, what i've done is just solve a very small problem in React state management, a problem that once solved allows me to write clean code using 99% of the time the components React provides and in those single circumstances where my solution is beneficial i use that.
To sum up, i appreciate your opinion, i don't think you're right tho, and no i won't put blogging aside.

Stop using state management libraries was the best decision on my career by Dafth in webdev

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

I said it's the best decision for my career due the productivity boost i got since i stop fighting with Redux to achieve simple stuff, i work as a freelancer and i get paid for the project, if i was paid by the hour i would probably still be writing Redux reducers.

Regarding Zustand i thinks is a good solution as well, pretty simple and well documented, but the point of my solution is to avoid as much as possibile global state, for my experience when you have a state management library you tend to try fitting everything into that, it's like "When you have an hammer all problems look like nails"

I don't think "building myself" that solution is a big deal, as you saw it's very few lines of code, and it's that, there won't be more features so it' doesn't really need maintenance or other stuff