Results 665 comments of milahu

lets keep this open as low-priority micro-optimization syscalls ("Writing each block") are CPU-bound (current strategy in synapse?) memcpy ("concatenating these buffers") is memory-bound (no?) from https://github.com/mandreyel/cratetorrent/blob/master/DESIGN.md#vectored-io > A peer downloads...

related: ```rust hook! { unsafe fn syscall( // ... ) -> libc::c_long => my_syscall { // ... let buf_len = real!(readlink)(path, buf, bufsiz); // error: readlink not found in this...

> https://drive.google.com/file/d/1DkO-PzbkTcmTlDgUrYxXsBMNYwxtNUUB/view [ex.html.zip](https://github.com/taoqf/node-html-parser/files/12368447/ex.html.zip)

> decode all the objects should be default what else do we need all the (non-option) `argv` for? also `jq` takes multiple input files ``` jq [options...] filter [files...] ```...

oops, i confused this issue with #28 > Adds: -a, -all flag which means "decode all the objects, > pretending it's a JSON stream even if it's not actually." now...

node_modules/vite/dist/node/chunks/dep-67e7f8ab.js ```js const cssBundleName = 'style.css'; function cssPostPlugin(config) { return { name: 'vite:css-post', let extractedCss = outputToExtractedCSSMap.get(opts); if (extractedCss && !hasEmitted) { hasEmitted = true; extractedCss = await finalizeCss(extractedCss, true,...

long story short ```diff - config.build.lib.rollupOptions.output.assetFileNames = (assetInfo) => { ... } + config.build .rollupOptions.output.assetFileNames = (assetInfo) => { ... } ``` so this works https://github.com/vitejs/vite/issues/4863#issuecomment-1005451468

https://github.com/SeleniumHQ/selenium/issues/9176#issuecomment-779208791 > Chrome doesn't support SOCKS authentication this "should" work by proxy-chaining with [gost](https://github.com/ginuerzh/gost) or [redsocks](https://github.com/semigodking/redsocks) ([via](https://github.com/mitmproxy/mitmproxy/issues/211)) ```sh gost -L=socks5://127.0.0.1:8005 -F=socks5://$username:$password@$ipaddr:$port & chromium \ --proxy-server=socks5://127.0.0.1:8005 \ "--proxy-bypass-list=" \ "--host-resolver-rules=MAP *...

today i learned: externals in grammar.js and TokenType in src/tree_sitter_html/scanner.cc enum must be manually kept in sync [section-3-creating-parsers.md#external-scanners](https://github.com/tree-sitter/tree-sitter/blob/master/docs/section-3-creating-parsers.md#external-scanners) otherwise node names are confused ```diff --- actual +++ expected @@ -1,27...

> medium.com article tldr: create packages for your modules modules/x/package.json ```json { "name": "x" } ``` somewhere/else/index.js ```diff -import x from "../../modules/x/index.js" +import x from "x/index.js" ```