Hi Im nodejs developer. Currently i want to create game server for online multiplayer. I have two choices, rust and golang And i dont have any experience in rust or go ! Any ...
i use this query and its work , but i dont know why its work ?😂 let result = await this.models.A.findAndCountAll({ where:{"id": A.id }, limit:...
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module any body know about this error ? i have this error while i want to install escape-goat module.
i can not get locale date on server , why ?! console.log(date.toLocaleDateString('fa-IR')); i always get 9/15/2021 (toady)
how can i await for this streaming getting data ? async function getAllProxies(proxyListsModel){ let allProxies = []; let cursor = proxyListsModel .find({}) .sort({ rate: ...
how can i select distinct in postgres json agg ?
i have Converting circular structure to JSON Error when i want to delete some property from object with this way : let { a, b, ...result } = obj ; // i want result ( obj wi...
let sanitizedTicketInfo = { status : !ticketInfo.status? null: ticketInfo.status, department : !ticketInfo.department? null:ticketInfo.department, priority : !ticketInfo.prio...
i have email/sms service for register user ,(300-400k user per second) i want to seprate this moudle from main application , get phone number and email/sms in other applicat...
yes , exactly this is my problem with js ! but its just question , how other language (based on c ) handle this , and change data type to generic padding or ... in data type ...
any body work with python and telegram bots or client? how cann i add more seen to a channel message ? is this possible ?
and wich one is better ? use instance from models , or make new query because of reload method , i think using instance have bad performance than using query (model .update ...
uhum , thats ok there is a question for me ? which one is better ? (i think both are true ) about sort for express js -------------------- get /subcategory get/category upl...
how safe to use setTimeOut in production code ? i should use too many setTimeOut (for call function by delay ) in my project
i see alot of paper, people for this question should i write my backend api with nodejs or php? nodejs express php laravel which one is secure? is the performance of them re...
i am testin bull queue i want to simulate clients request (too many request) should i try with setInterval for every 10ms (for example) or use for loop ?? the result of proc...
should i write more specific routes on top of more general routes in express or its using condition to find exact match routes ??
if i use 3 model . create in sequelize , i should pass transaction to all 3 create query . but if use eagerload + create i mean create , with include associations model , s...
im using bottleneck package . i dont know is that store queues ??? or handle queue in ram ??
ooh , we can not handle that ?? bull add delay time to that obj , and when want to go search for waiting queue , its time to get new obj from queue , then some objects are al...