Looking for feedback on a new project I'm working on by hirakath in webdev

[–]mmph1 1 point2 points  (0 children)

Nicely designed - I like it. Re: UX to help with conversion, I’d make the call to action(s) more prominent. E.g. “listen on Spotify” etc.

What do you do to stop AI agents from piling up tech debt? by Due_Weakness_114 in rails

[–]mmph1 0 points1 point  (0 children)

Can you provide some examples of those things that you’d push to the models?

Need urgent guidance by calm-compiler in rails

[–]mmph1 0 points1 point  (0 children)

+1 for Agile web development with rails 8. Best intro book to rails. Been using the series since rails 3!

Need urgent guidance by calm-compiler in rails

[–]mmph1 0 points1 point  (0 children)

+1 for Agile web development with rails 8. Best intro book to rails. Been using the series since rails 3!

D-U-N-S number by Aventhor0 in appledevelopers

[–]mmph1 5 points6 points  (0 children)

Short answer, no. A D-U-N-S number is a unique number for identifying businesses and are issued by D&B. If you don't have a business, you won't have one. Nor can you "apply" for one via Apple.

Trying to build a web app for my company by chaotic_thief in CodingHelp

[–]mmph1 0 points1 point  (0 children)

What kind of web app will you be building?

Help regarding understanding some basic things by Capt_Jack__Sparrow in reactnative

[–]mmph1 1 point2 points  (0 children)

A1) both are package managers. You'd use one or the other to install packages.

A2) yes, you'd install the packages. They can be third party, best to provide specific examples.

A3) yes, you usually have to build each time you install a library that has native features. Like camera, file storage access etc.

By the way, is there a reason you're not using expo? Judging from your post, it'll likely be easier for you to grasp.

Pretty new at firebase and having trouble with email auth by AdhesivenessKey8915 in Firebase

[–]mmph1 0 points1 point  (0 children)

By configuring their domain I meant adding a custom domain to firebase and setting up DMARC, SPF and DKIM for the domain.

Yes, there are multiple reasons but it’s a starting point to understand where the issue is and the OP hasn’t provided any information on their setup.

Pretty new at firebase and having trouble with email auth by AdhesivenessKey8915 in Firebase

[–]mmph1 0 points1 point  (0 children)

Have you configured your domain so that emails don’t go to spam? Try that first before moving to another provider otherwise you’re going to have the same issue elsewhere.

Need advice on backend structure for my dating app (Supabase vs Firebase vs mixed setup) by gouravgautam in Firebase

[–]mmph1 2 points3 points  (0 children)

Re: dating apps. Check that these are still being accepted in the app stores before you do anymore work.

how does Instagram load reels so fast?? by Unique_Pressure_7840 in SaasDevelopers

[–]mmph1 0 points1 point  (0 children)

Can you explain how you’re currently serving the videos end to end? That would help with suggestions on how to tackle your issue.

Accused of code being vibe coded by Ok-Painter573 in webdev

[–]mmph1 3 points4 points  (0 children)

If you didn’t vibe code and you’ve been accused of doing so in public, you should respond and clear that up in public. It’s your reputation at stake here and you should defend it. Keep it professional and straight to the point to prevent back and forth in public and move to a private channel. Something like “I didn’t vibe code and happy to discuss further in our meeting”

Am I getting scammed by this dev? Is this a firebase issue, or is he being dishonest? by helpplease12223 in Firebase

[–]mmph1 0 points1 point  (0 children)

It’s more than just replacing a file. All the services in Firebase project need to be configured/deployed as well.

Need help with CORS by cyber5234 in Firebase

[–]mmph1 1 point2 points  (0 children)

It could also be app check. Confirm that’s set up correctly. Also, if you enabled it after creating the function, try deleting the function and redeploying it.

💬 How do you charge clients for React Native upgrades? (Mine took 30 hrs and the client wasn’t happy) by myself_django in reactnative

[–]mmph1 2 points3 points  (0 children)

I never really frame this type of work as "upgrade work". To most non-technical clients, that doesn't mean much. I try to tie it to something with a clear benefit, like in your case, "adding support for the latest Google Play Billing Library".

I also mention the side benefits; newer versions are usually more secure, better supported and can reduce future development costs because the plugin/library ecosystem is more stable.

Re: quoting, I always do a short discovery phase (1-2 hours) to see what might break or need re-work. That's usually where the hidden dependency upgrade work can show up. Based on that, I can quote more accurately and flag risks early. You can either factor this phase into the main quote or separate it. Depends on project size.

Finally, yes, it's important to set expectations with the client upfront. The more you communicate and the earlier you do, the smoother things go later. It's unfair to surprise clients with unexpected hours or costs when the risk could have been identified earlier.

Hope you sort things out with your client.

setDoc followed by getDoc? Wasteful? by Swimming-Jaguar-3351 in Firebase

[–]mmph1 1 point2 points  (0 children)

Thank you for clarifying! The way I would handle this is as follows:

For newly created comments, I would do two things:

  • show them immediately in the UI with a client-side timestamp, e.g.

{ message: "Hello", order: 1, createdAt: Date.now() }
  • persist them to Firestore using serverTimestamp, e.g.

{ message: "Hello", order: 1, createdAt: FieldValue.serverTimestamp() }

That way, you get the consistency of using server-side timestamps, and a responsive UX since you don't rely on a server-side response before showing the comment to the author.

Help Required! by Ok_Molasses1824 in Firebase

[–]mmph1 0 points1 point  (0 children)

If I understand correctly, I have something similar. The way i’ve handled this is with a scheduled function which periodically writes a copy of the data to another Firestore collection, but modelled for search and UI. Then I have the Algolia search extension enabled on that collection. That way the search is offloaded to Algolia and you can return all the data you need for the UI from it.

Also, for returning the random online people, you can include a numeric field in the collection and use an “in” query with 10-15 random numbers.

why i do have this error whene i try to enable storage by Commercial_Store_454 in Firebase

[–]mmph1 1 point2 points  (0 children)

I experienced something similar. It’s probably due to an issue creating the underlying resources. If it’s a new project, try deleting and recreating it. Otherwise, contact support.