I am getting confused on how async-await function does not block operation let say I have a function named foo,I want to make the statement console.log('done') can execute wi...
The vue component has 2 async functions to fetch data look like this async getName() { let res = await fetch(xxx) res = await res.json()} return res;} async getAddr(){ let r...
Anyone family with Cpython internal? I want to rewrite a function from Python in C, because that function is really slow from being executed in Python. Supposed a shared libr...
My SPA has a task that needs to take a long time to finish. When user clicks the submit button, fire the backend starts processing the job. At the same time, in client side, t...
First time too see the syntax like this currentTopic.csrfToken! What does here mean to put the not operator next to the object property?
Question about multiprocessing How can I determine the optimal number of subprocesses. Consider this scenario A web scraping application crawl 100K URL that stored in a thread...
What is the optimal number of threads that can be created for a X cores machine? Any formula? Googled it but not getting the answer, What I am doing is to crawl data from hund...
How to link to a shared object library where locates at project path in codeblock? Scenario is that library was compiled in Golang The output has a header file and a so file ...
Any hooking framework in C/C++? I want to add a callback specifically a logging function when a process being killed on my program on Linux. Look like I need to intercept the ...
I want to make a custom error page if the browser received 404 sent by web server and php script My project struct looks like following: test is an empty folder .htaccess ....
Just curious why some libraries are just a single all-in-one header file which includes header signatures and implementation(using macro) I found it’s really convenient, for p...
Are there process hacker like software on Linux? so that I can do something like this View system process and thread basic information. Detect hidden processes,threads,proces...
I am getting confused with the stack frame. Here, From my understanding, the current function stack frame grows 4 bytes because stack pointer move forward 1 step. So, the size...
Just curious, why the set of java api can run on both Linux, windows and mac, But in C++, it’s also a cross platform language, but why some api not working on Linux?
Guys, what's the best practice to handle cross process communication? I have a small service which depends on another executable binary helper process written in C++. I need t...
Guys I am going to implement a function to calculate services usage, such as how many times the QR code is scanned , The number of times should be stored in a table , each ti...
Any keyword I can google it?
Is it a good decision to make raspberry pi running as a home web server for 7x24 long time support ? I don't want to buy a cloud server, because the tasks I do is really high ...
Anyone has experience on turning node? I have express.js running on windows server 2016 It works fines for serving 1 millions requests under 1000 concurrent connections The p...
- async/await is 1, 2, 3 also but it waits for the fetch to finish and saves the received response in res Supposed I have DOM related operations need to be executed while wa...