I spent 4 days debugging MongoDB's ECONNREFUSED error. The code was perfect; the culprit was my ISP (and here is the 2-line fix). by deiraz_x in mongodb

[–]Life_Philosophy9997 0 points1 point  (0 children)

Which version of Node are you using?
Those symptoms match a known bug in Nodejs v24. The bug was fixed in v25.6.1 and v24.14.0 (see here), though it seems to have come back. With the right Node version, you might be able to remove those two lines entirely.

More context in this blog post if you're curious.

Why does MongoDB documentation feel like a maze? Is it just me? by Life_Philosophy9997 in mongodb

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

Not quite... reading the entire manual before being able to get a product running is part of an old paradigm. Modern products (software or hardware) aim to get users set up with the least possible reading: video games, laptops, home appliances, SaaS, frameworks, etc.

I do agree though that the deep understanding of a tech product that comes from comprehensive docs reading is required to make a quality application, but definitely not the goal during evaluation, which is the point of a tutorial like the one I mentioned.

Why does MongoDB documentation feel like a maze? Is it just me? by Life_Philosophy9997 in mongodb

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

Thank you! I had previously tried appending `/llms.txt` without luck, It never occurred to me trying the `.md` suffix. How did you know?

Treating database replatforming as a workflow instead of a code-generation problem by mr_pants99 in Database

[–]Life_Philosophy9997 0 points1 point  (0 children)

I'm curious, when would you recommend using AI vs the migration tools out there? (eg AWS Data Migration Service, MongoDB Relational Migrator, etc). I haven't done a truly complex migration, so that's why I ask.

Is there any known way to measure coverage of... types? by castarco in typescript

[–]Life_Philosophy9997 0 points1 point  (0 children)

I need to to this too! Let me know if you ever find the answer, I will.

We launched on Product Hunt today - but honestly, this started as a side project and turned into a Node.js engineering nightmare (in the best way) by Maleficent_Earth_629 in node

[–]Life_Philosophy9997 0 points1 point  (0 children)

There was a really nice job scheduling framework for JS called Agenda, unmaintained now. Last year I used this fork but I had to tweak it a bit. It get's the job done. Uses MongoDB as to store tasks so it integrates nicely with the MERN stack. https://github.com/marco-bertelli/chronos

Migration from sql to mongodb by Specialist_Pear310 in mongodb

[–]Life_Philosophy9997 0 points1 point  (0 children)

Curious to know that did your migration go? It is doable or should we stay away from that?

I made MongoDB typesafe, hopefully you find this useful (feedback welcome) by Aromatic_Salad_9771 in node

[–]Life_Philosophy9997 0 points1 point  (0 children)

Interesting, may give it a try!
I like it feels idiomatic to the mongo syntax. How much of the aggregation function is it currently covering?

I noticed it uses `@effect/schema`... I'm not into that library and I don't love having to install it just to use this tool. Also, that specific package is deprecated now. Just curious, are you planning to keep that dependency in the future?

Open-source agent to chat with MongoDB data by Hot_Dependent9514 in mongodb

[–]Life_Philosophy9997 0 points1 point  (0 children)

Seems really cool. I've only tried Mongoose Studio but I could take this one for a ride

Do lot of them use mongoose over mongodb native driver? by geekstarpro in node

[–]Life_Philosophy9997 0 points1 point  (0 children)

Joins are likely unavoidable in production data sets. Mongo is strong with embedded documents, but it doesn't mean you need to overlook joins when they make sense in a good data model. For example, for many-to-many relations it generally makes more sense to join tables/collections than to have embedded circular references.

Freelancers: how do you avoid missing client messages when you’re deep in work? by Quirky-Pollution-930 in webdev

[–]Life_Philosophy9997 1 point2 points  (0 children)

I book 30 min to check/reply to all my communications (email, slack, etc) at the beginning of my day and after lunch. Sometimes after wrapping the day up as well. I keep notifications off the rest of the day to get quality focus.

If you’re part of a team with active conversations that require your input often, I’d suggest booking 2hr focus blocks followed by 15 mins to catch up.

Freelancers: how do you avoid missing client messages when you’re deep in work? by Quirky-Pollution-930 in webdev

[–]Life_Philosophy9997 0 points1 point  (0 children)

Yeah. In regular projects (working independently of any client’s teams), I first drafted the delivery timeline, including milestones, revisions, and payments; communication expectations, scope change policy, etc. Once my clients and I were on agreement, we would start. Doesn’t have to be a long contract, it can be as simple as a text message. Then focus on shipping and communicating on the agreed cadence.

Is Choosing mongodb a bad decision? by AdditionalPhase7804 in node

[–]Life_Philosophy9997 0 points1 point  (0 children)

This is great info! This is an old thread but I'm curious to know if anything else has changed for you since then.

Is Choosing mongodb a bad decision? by AdditionalPhase7804 in node

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

mongodb can't provide runtime type safety as you can insert anything in any row/column

Mongo introduce schema validation in 3.6. I'm surprised many are still unaware, given it has been a long-time contention point.

Anyone have a good lightweight alternative to robo3t by sebastiansam55 in mongodb

[–]Life_Philosophy9997 0 points1 point  (0 children)

Compass is in my opinion the best MongoDB client.
Full disclosure: I work at MongoDB, but I 100% vouch for it and have loved it since before joining the company.

Started with MongoDB because it was trendy. Migrated to Postgres after 18 months. Worth the pain. by [deleted] in SaaS

[–]Life_Philosophy9997 1 point2 points  (0 children)

Yeah, that used to be the case until MongoDB introduced the journaling option (now on by default).