When I read Docs about [Electron](https://www.electronjs. org/docs/latest/tutorial/tutorial-preload):
>From Electron 20 onwards, preload scripts are sandboxed by default and no longer have access to a full Node.js environment. Practically, this means that you have a polyfilled require function that only has access to a limited set of APIs.
why there comes a new concept: polyfilled
1.how...
User Profile
Collapse
-
what's the relationship between polyfilled and limited Electron APIs/Node.js API?
-
Thanks, it should be under java category. -
Whether I can use one file for all import things?
demo1.java:
Code:import a; import b; import c; import d;
Code:import b; import c; import d; import e; import f;
just like this:
... -
How to extract out the matched line of a txt file?
I have a special content txt file like this,
Code:== desc.xxx >>> 11111 2222 333 == desc.xxx <<< 4 555 666 zzz == desc.yyy >>> rrr\ == desc.yyy <<< ttt iii ppp ooo == desc.zzz >>> lll bbhhgfc == desc.zzz <<<
-
How to compile my C++ demo project?
See my snapshow below,
this is my C++ project, in my main file `UploadVideo.cp p`, it
`#include "vod_sdk/upload.h"` and in `#include "vod_sdk/upload.h"` it includes many files of `vod_sdk/`.

now when I use g++ compile my project `g++ xxx.cpp -ljsoncpp -o uv`,...Last edited by Niheel; Dec 29 '22, 12:30 AM. -
Is there any recommend pipe and async concurrency node.js libraries ?
I have requirements about execute process pipeline and concurrency tasks,
1. pipe
I want to have a library, usage like below:
```
const res = func( xxx ).pipe( yyy ).pipe( zzz )
```
2. concurrency tasks
```
func( (xxx)=> {
} ,
(yyy)=> {
} ,
(zzz)=> {
}
).catch((e) => {...}).finnally (()=>{
... -
How to get the correct js content?
when I check this link:
[Z{Link redacted by moderation}]
I get bellow messy code:
how to get the correct format js content?...Last edited by zmbd; May 16 '22, 10:31 PM. Reason: [z{Removed link - cannot verify safety of the site}][z{Moved thread to correct forum}]
No activity results to display
Show More
Leave a comment: