How to install nvm
This is a follow up to [How to install npm the right way]. It turns out that while convenient for Node development, nvm is notoriously slow. Thanks to reddit user sscotth we can solve that quite easily. First, install nvm…
This is a follow up to [How to install npm the right way]. It turns out that while convenient for Node development, nvm is notoriously slow. Thanks to reddit user sscotth we can solve that quite easily. First, install nvm…
Introduction Sometimes replicator needs to be restarted We cannot afford to lose one or two entries in time-series since it would throw the statistics off, and in exceptional cases, lost the max and min value Resume & recoverĀ Check for…
Use a connection pool. It helps Conserve resource, connections got recycled Better reliability: it automatically reconnects when there’s a problem How? Simple, instead of creating a connection, just create a pool. It’s designed as a drop in replacement for client.query()…
“Isn’t it just simply googling ‘how to install Node’” you asked? Yes it isn’t. The default Node installer will require administrator privilege The node process will require admin privilege also if installed that way (which is a bad idea: every…
Recently I got this warning when trying to create a new MongoDB application (node:28962) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true }…
Sometimes you may encounter an error like this While it’s easy to blame it on an overloaded server, there may be other reasons like You changed something in your database access code You are using a specific version of Mongoose…
These days buzzwords get thrown around a lot about the “4th industrial revolution”. While it’s simply a collection of upcoming technology to make our lives easier, the barrier of entry to new tech is always high. Thing+ platform was developed…