Vincenzo Ferrari

Results 16 comments of Vincenzo Ferrari

Refs to: https://github.com/yarnpkg/yarn/issues/1169

@arcanis > Is it a theoretical issue, or are you aware of attacks that could have been avoided by your measures? This PoC is an improvement for facing issues like...

@arcanis > Unless I misunderstood something, the worm was only detected because it was bogus, not because someone actually checked the source code. Your proposal would help a bit, but...

@darky Thanks for this issue! Well, let me check if I got it rightly: you need a global bucket shared between worker threads to avoid multiple massive serialisations/deserialisations, correct? This...

I don't understand your case: can you explain it better with an example, please?

@codepushr thanks for the clarification! @aleks63 Sorry for the late response. The documentation of SAB says that (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer): > The structured clone algorithm accepts SharedArrayBuffers and TypedArrays mapped onto SharedArrayBuffers....

My version of @cdleon 's solution: ```js e => { // Get cursor position and key code const cursorPos = Number(e.target.selectionStart) const keyCode = Number(e.keyCode) // Do work only on...

I did something like this: ```js import React from 'react' import MaskedInput from 'react-text-mask' import PropTypes from 'prop-types' const IpMaskInput = ({ inputRef, ...other }) => { return { inputRef(ref...

I solved this by using both `proxy` and `agent` config together: ```typescript import { HttpsProxyAgent } from 'https-proxy-agent'; const proxyAgent = new HttpsProxyAgent('proxy_url'); const res = await axios({ ... proxy:...

I'm experiencing the same issue: I spawned 8 threads (os.cpus().length) and I'm using Node.js 13.11.0 on a MacBook Pro Quad-Core. Maybe that's because 4 are virtualised...? 🤔