npm install cannot find Visual Studio 2022 Community

Node Version: v18.9.0, npm 8.0.0, node-gyp v9.0.0
Platform: Windows 10
Compiler: msbuild/2022
Module: net-ping and icmp

Verbose output (from npm or node-gyp):
npm verb cli [
npm verb cli   'C:\\Program Files\\nodejs\\node.exe',
npm verb cli   'C:\\Users\\12034\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli   'i',
npm verb cli   'icmp',
npm verb cli   '--verbose'
npm verb cli ]
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 2ms
npm timing config:load:file:C:\Users\12034\AppData\Roaming\npm\node_modules\npm\npmrc Completed in 8ms
npm timing config:load:builtin Completed in 8ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 1ms
npm timing config:load:file:E:\Github\DasherChristmas\dasher-controllers\.npmrc Completed in 0ms
npm timing config:load:project Completed in 1ms
npm timing config:load:file:C:\Users\12034\.npmrc Completed in 1ms
npm timing config:load:user Completed in 1ms
npm timing config:load:file:C:\Users\12034\AppData\Roaming\npm\etc\npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:credentials Completed in 1ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 17ms
npm timing npm:load:configload Completed in 17ms
npm timing npm:load:setTitle Completed in 0ms
npm timing npm:load:setupLog Completed in 1ms
npm timing config:load:flatten Completed in 3ms
npm timing npm:load:cleanupLog Completed in 3ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load:projectScope Completed in 1ms
npm timing npm:load Completed in 42ms
npm timing arborist:ctor Completed in 1ms
npm timing arborist:ctor Completed in 0ms
npm timing arborist:ctor Completed in 0ms
npm timing arborist:ctor Completed in 0ms
npm timing idealTree:init Completed in 81ms
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm http fetch GET 200 https://registry.npmjs.org/fetch-blob 114ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/@types%2fws 124ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/data-uri-to-buffer 132ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/@types%2fnode 152ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/node-domexception 68ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/formdata-polyfill 82ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/typescript 65ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/node-fetch 232ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/web-streams-polyfill 227ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/ws 225ms (cache hit)
npm timing idealTree:inflate Completed in 464ms
npm timing idealTree:userRequests Completed in 2ms
npm http fetch GET 200 https://registry.npmjs.org/icmp 6ms (cache hit)
npm http fetch GET 200 https://registry.npmjs.org/raw-socket 12ms (cache hit)
npm timing idealTree:#root Completed in 35ms
npm http fetch GET 200 https://registry.npmjs.org/nan 12ms (cache hit)
npm timing idealTree:node_modules/icmp Completed in 24ms
npm timing idealTree:node_modules/raw-socket Completed in 2ms
npm timing idealTree:node_modules/nan Completed in 0ms
npm timing idealTree:buildDeps Completed in 74ms
npm timing idealTree:fixDepFlags Completed in 0ms
npm timing idealTree Completed in 633ms
npm timing reify:loadTrees Completed in 634ms
npm timing reify:diffTrees Completed in 11ms
npm timing reify:retireShallow Completed in 1ms
npm timing reify:createSparse Completed in 66ms
npm timing reify:loadBundles Completed in 0ms
npm timing reifyNode:node_modules/icmp Completed in 249ms
npm timing reifyNode:node_modules/raw-socket Completed in 371ms
npm timing reifyNode:node_modules/nan Completed in 506ms
npm timing reify:unpack Completed in 507ms
npm timing reify:unretire Completed in 0ms
npm timing build:queue Completed in 0ms
npm info run<EMAIL_ADDRESS>install node_modules/raw-socket node-gyp rebuild
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 1154ms
npm timing auditReport:getReport Completed in 1157ms
npm timing auditReport:init Completed in 0ms
npm timing reify:audit Completed in 1159ms
npm info run<EMAIL_ADDRESS>install { code: 1, signal: null }
npm timing reify:rollback:createSparse Completed in 103ms
npm timing reify:rollback:retireShallow Completed in 0ms
npm timing command:install Completed in 2577ms
npm verb stack Error: command failed
npm verb stack     at ChildProcess.<anonymous> (C:\Users\12034\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\promise-spawn\index.js:64:27)
npm verb stack     at ChildProcess.emit (node:events:513:28)
npm verb stack     at maybeClose (node:internal/child_process:1091:16)
npm verb stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm verb pkgid<EMAIL_ADDRESS>npm verb cwd E:\Github\DasherChristmas\dasher-controllers
npm verb Windows_NT 10.0.19043
npm verb argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\12034\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "i" "icmp" "--verbose"
npm verb node v18.9.0
npm verb npm  v8.0.0
npm ERR! code 1
npm ERR! path E:\Github\DasherChristmas\dasher-controllers\node_modules\raw-socket
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
npm ERR! gyp verb cli   'C:\\Users\\12034\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js',
npm ERR! gyp verb cli   'rebuild'
npm ERR! gyp verb cli ]
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| win32 | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb find Python Python is not set from command line or npm configuration
npm ERR! gyp verb find Python Python is not set from environment variable PYTHON
npm ERR! gyp verb find Python checking if "python3" can be used
npm ERR! gyp verb find Python - executing "python3" to get executable path
npm ERR! gyp verb find Python - "python3" is not in PATH or produced an error
npm ERR! gyp verb find Python checking if "python" can be used
npm ERR! gyp verb find Python - executing "python" to get executable path
npm ERR! gyp verb find Python - executable path is "C:\Python310\python.exe"
npm ERR! gyp verb find Python - executing "C:\Python310\python.exe" to get version
npm ERR! gyp verb find Python - version is "3.10.7"
npm ERR! gyp info find Python using Python version 3.10.7 found at "C:\Python310\python.exe"
npm ERR! gyp verb get node dir no --target version specified, falling back to host node version: 18.9.0
npm ERR! gyp verb command install [ '18.9.0' ]
npm ERR! gyp verb install input version string "18.9.0"
npm ERR! gyp verb install installing version: 18.9.0
npm ERR! gyp verb install --ensure was passed, so won't reinstall if already installed
npm ERR! gyp verb install version is already installed, need to check "installVersion"
npm ERR! gyp verb got "installVersion" 9
npm ERR! gyp verb needs "installVersion" 9
npm ERR! gyp verb install version is good
npm ERR! gyp verb get node dir target node version installed: 18.9.0
npm ERR! gyp verb build dir attempting to create "build" dir: E:\Github\DasherChristmas\dasher-controllers\node_modules\raw-socket\build
npm ERR! gyp verb build dir "build" dir needed to be created? Yes
npm ERR! gyp verb find VS msvs_version was set from command line or npm config
npm ERR! gyp verb find VS - looking for Visual Studio version 2022
npm ERR! gyp verb find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm ERR! gyp verb find VS unknown version "undefined" found at "C:\Program Files\Microsoft Visual Studio\2022\Community"
npm ERR! gyp verb find VS could not find a version of Visual Studio 2017 or newer to use
npm ERR! gyp verb find VS looking for Visual Studio 2015
npm ERR! gyp verb find VS - not found
npm ERR! gyp verb find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS msvs_version was set from command line or npm config
npm ERR! gyp ERR! find VS - looking for Visual Studio version 2022
npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm ERR! gyp ERR! find VS unknown version "undefined" found at "C:\Program Files\Microsoft Visual Studio\2022\Community"
npm ERR! gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
npm ERR! gyp ERR! find VS looking for Visual Studio 2015
npm ERR! gyp ERR! find VS - not found
npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS valid versions for msvs_version:
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
npm ERR! gyp ERR! find VS For more information consult the documentation at:
npm ERR! gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use
npm ERR! gyp ERR! stack     at VisualStudioFinder.fail (C:\Users\12034\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:121:47)
npm ERR! gyp ERR! stack     at C:\Users\12034\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:74:16
npm ERR! gyp ERR! stack     at VisualStudioFinder.findVisualStudio2013 (C:\Users\12034\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:351:14)
npm ERR! gyp ERR! stack     at C:\Users\12034\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:70:14
npm ERR! gyp ERR! stack     at C:\Users\12034\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:372:16
npm ERR! gyp ERR! stack     at C:\Users\12034\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7
npm ERR! gyp ERR! stack     at C:\Users\12034\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16
npm ERR! gyp ERR! stack     at ChildProcess.exithandler (node:child_process:420:5)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack     at maybeClose (node:internal/child_process:1091:16)
npm ERR! gyp ERR! System Windows_NT 10.0.19043
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\12034\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd E:\Github\DasherChristmas\dasher-controllers\node_modules\raw-socket
npm ERR! gyp ERR! node -v v18.9.0
npm ERR! gyp ERR! node-gyp -v v8.2.0
npm ERR! gyp ERR! not ok
npm verb exit 1
npm timing npm Completed in 3153ms
npm verb unfinished npm timer reify<PHONE_NUMBER>866
npm verb unfinished npm timer reify:build<PHONE_NUMBER>122
npm verb unfinished npm timer build<PHONE_NUMBER>122
npm verb unfinished npm timer build:deps<PHONE_NUMBER>122
npm verb unfinished npm timer build:run:install<PHONE_NUMBER>124
npm verb unfinished npm timer build:run:install:node_modules/raw-socket<PHONE_NUMBER>124
npm verb code 1

npm ERR!      C:\Users\12034\AppData\Local\npm-cache\_logs\2022-09-15T19_23_56_515Z-debug.log

A side note: I am aware that the logs say node-gyp v8.2.0. however, running node-gyp -v returns v9.0.0
I have spent about four hours attempting to solve this issue, bouncing from stackoverflow to #2552 and back, and nothing seems to work. I have repeatedly followed the instructions from master/docs/Updating-npm-bundled-node-gyp.md as well as setting the VCINSTALLDIR env variable to the same value as it appears in the Visual Studio Developer Console and installing windows build tools, which also breaks (if you want I can give my logs for that, but it is not directly related). I have set msvs_version to 2022 in the npm config, set msbuild_path to C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe, and ensured that my PowerShell terminal is in full language mode. I have installed the Desktop Development With C++ workload as well.
I am new-er to using native modules, so please excuse any lack of knowledge I have or information I have provided, though I tried to make sure I had everything.

A side note: I am aware that the logs say node-gyp v8.2.0. however, running node-gyp -v returns v9.0.0

https://github.com/nodejs/node-gyp/tree/main/docs#readme

@clauss I followed those instructions.

I have repeatedly followed the instructions from master/docs/Updating-npm-bundled-node-gyp.md ...

Possibly useful to know that the actual project is on a removable drive, but I don't think that it changes anything.

Better error log:
Verbose output (from npm or node-gyp):
npm verb cli [
npm verb cli   'C:\\Program Files\\nodejs\\node.exe',
npm verb cli   'C:\\Users\\12034\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli   'i',
npm verb cli   'net-ping',
npm verb cli   '--verbose'
npm verb cli ]
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 2ms
npm timing config:load:file:C:\Users\12034\AppData\Roaming\npm\node_modules\npm\npmrc Completed in 9ms
npm timing config:load:builtin Completed in 9ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 0ms
npm timing config:load:file:E:\Github\DasherChristmas\dasher-controllers\.npmrc Completed in 0ms
npm timing config:load:project Completed in 1ms
npm timing config:load:file:C:\Users\12034\.npmrc Completed in 1ms
npm timing config:load:user Completed in 1ms
npm timing config:load:file:C:\Users\12034\AppData\Roaming\npm\etc\npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:credentials Completed in 1ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 17ms
npm timing npm:load:configload Completed in 17ms
npm timing npm:load:setTitle Completed in 0ms
npm timing npm:load:setupLog Completed in 1ms
npm timing config:load:flatten Completed in 3ms
npm timing npm:load:cleanupLog Completed in 2ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load:projectScope Completed in 1ms
npm timing npm:load Completed in 49ms
npm timing arborist:ctor Completed in 1ms
npm timing idealTree:init Completed in 24ms
npm timing idealTree:userRequests Completed in 1ms
npm timing arborist:ctor Completed in 1ms
npm http fetch GET 200 https://registry.npmjs.org/net-ping 610ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/raw-socket 398ms (cache revalidated)
npm timing idealTree:#root Completed in 1026ms
npm http fetch GET 200 https://registry.npmjs.org/nan 133ms (cache revalidated)
npm timing idealTree:node_modules/net-ping Completed in 153ms
npm timing idealTree:node_modules/raw-socket Completed in 6ms
npm timing idealTree:node_modules/nan Completed in 0ms
npm timing idealTree:buildDeps Completed in 1199ms
npm timing idealTree:fixDepFlags Completed in 2ms
npm timing idealTree Completed in 1242ms
npm timing reify:loadTrees Completed in 1243ms
npm timing reify:diffTrees Completed in 4ms
npm timing reify:retireShallow Completed in 0ms
npm timing reify:createSparse Completed in 68ms
npm timing reify:loadBundles Completed in 0ms
npm timing reifyNode:node_modules/net-ping Completed in 186ms
npm timing reifyNode:node_modules/raw-socket Completed in 209ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 248ms
npm timing auditReport:getReport Completed in 254ms
npm timing auditReport:init Completed in 0ms
npm timing reify:audit Completed in 255ms
npm timing reifyNode:node_modules/nan Completed in 314ms
npm timing reify:unpack Completed in 315ms
npm timing reify:unretire Completed in 0ms
npm timing build:queue Completed in 1ms
npm info run<EMAIL_ADDRESS>install node_modules/raw-socket node-gyp rebuild
npm info run<EMAIL_ADDRESS>install { code: 1, signal: null }
npm timing reify:rollback:createSparse Completed in 91ms
npm timing reify:rollback:retireShallow Completed in 0ms
npm timing command:install Completed in 2701ms
npm verb stack Error: command failed
npm verb stack     at ChildProcess.<anonymous> (C:\Users\12034\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\promise-spawn\index.js:64:27)
npm verb stack     at ChildProcess.emit (node:events:513:28)
npm verb stack     at maybeClose (node:internal/child_process:1091:16)
npm verb stack     at Socket.<anonymous> (node:internal/child_process:449:11)
npm verb stack     at Socket.emit (node:events:513:28)
npm verb stack     at Pipe.<anonymous> (node:net:313:12)
npm verb pkgid<EMAIL_ADDRESS>npm verb cwd E:\Github\DasherChristmas\dasher-controllers
npm verb Windows_NT 10.0.19043
npm verb argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\12034\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "i" "net-ping" "--verbose"
npm verb node v18.9.0
npm verb npm  v8.0.0
npm ERR! code 1
npm ERR! path E:\Github\DasherChristmas\dasher-controllers\node_modules\raw-socket
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
npm ERR! gyp verb cli   'C:\\Users\\12034\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js',
npm ERR! gyp verb cli   'rebuild'
npm ERR! gyp verb cli ]
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| win32 | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb find Python Python is not set from command line or npm configuration
npm ERR! gyp verb find Python Python is not set from environment variable PYTHON
npm ERR! gyp verb find Python checking if "python3" can be used
npm ERR! gyp verb find Python - executing "python3" to get executable path
npm ERR! gyp verb find Python - "python3" is not in PATH or produced an error
npm ERR! gyp verb find Python checking if "python" can be used
npm ERR! gyp verb find Python - executing "python" to get executable path
npm ERR! gyp verb find Python - executable path is "C:\Python310\python.exe"
npm ERR! gyp verb find Python - executing "C:\Python310\python.exe" to get version
npm ERR! gyp verb find Python - version is "3.10.7"
npm ERR! gyp info find Python using Python version 3.10.7 found at "C:\Python310\python.exe"
npm ERR! gyp verb get node dir no --target version specified, falling back to host node version: 18.9.0
npm ERR! gyp verb command install [ '18.9.0' ]
npm ERR! gyp verb install input version string "18.9.0"
npm ERR! gyp verb install installing version: 18.9.0
npm ERR! gyp verb install --ensure was passed, so won't reinstall if already installed
npm ERR! gyp verb install version is already installed, need to check "installVersion"
npm ERR! gyp verb got "installVersion" 9
npm ERR! gyp verb needs "installVersion" 9
npm ERR! gyp verb install version is good
npm ERR! gyp verb get node dir target node version installed: 18.9.0
npm ERR! gyp verb build dir attempting to create "build" dir: E:\Github\DasherChristmas\dasher-controllers\node_modules\raw-socket\build
npm ERR! gyp verb build dir "build" dir needed to be created? Yes
npm ERR! gyp verb find VS msvs_version was set from command line or npm config
npm ERR! gyp verb find VS - looking for Visual Studio version 2022
npm ERR! gyp verb find VS running in VS Command Prompt, installation path is:
npm ERR! gyp verb find VS "C:\Program Files\Microsoft Visual Studio\2022\Community"
npm ERR! gyp verb find VS - will only use this version
npm ERR! gyp verb find VS unknown version "undefined" found at "C:\Program Files\Microsoft Visual Studio\2022\Community"
npm ERR! gyp verb find VS could not find a version of Visual Studio 2017 or newer to use
npm ERR! gyp verb find VS looking for Visual Studio 2015
npm ERR! gyp verb find VS - not found
npm ERR! gyp verb find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS msvs_version was set from command line or npm config
npm ERR! gyp ERR! find VS - looking for Visual Studio version 2022
npm ERR! gyp ERR! find VS running in VS Command Prompt, installation path is:
npm ERR! gyp ERR! find VS "C:\Program Files\Microsoft Visual Studio\2022\Community"
npm ERR! gyp ERR! find VS - will only use this version
npm ERR! gyp ERR! find VS unknown version "undefined" found at "C:\Program Files\Microsoft Visual Studio\2022\Community"
npm ERR! gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
npm ERR! gyp ERR! find VS looking for Visual Studio 2015
npm ERR! gyp ERR! find VS - not found
npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS msvs_version does not match this VS Command Prompt or the
npm ERR! gyp ERR! find VS installation cannot be used.
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
npm ERR! gyp ERR! find VS For more information consult the documentation at:
npm ERR! gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use
npm ERR! gyp ERR! stack     at VisualStudioFinder.fail (C:\Users\12034\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:121:47)
npm ERR! gyp ERR! stack     at C:\Users\12034\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:74:16
npm ERR! gyp ERR! stack     at VisualStudioFinder.findVisualStudio2013 (C:\Users\12034\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:351:14)
npm ERR! gyp ERR! stack     at C:\Users\12034\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:70:14
npm ERR! gyp ERR! stack     at C:\Users\12034\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:372:16
npm ERR! gyp ERR! stack     at C:\Users\12034\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7
npm ERR! gyp ERR! stack     at C:\Users\12034\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16
npm ERR! gyp ERR! stack     at ChildProcess.exithandler (node:child_process:420:5)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack     at maybeClose (node:internal/child_process:1091:16)
npm ERR! gyp ERR! System Windows_NT 10.0.19043
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\12034\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd E:\Github\DasherChristmas\dasher-controllers\node_modules\raw-socket
npm ERR! gyp ERR! node -v v18.9.0
npm ERR! gyp ERR! node-gyp -v v8.2.0
npm ERR! gyp ERR! not ok
npm verb exit 1
npm timing npm Completed in 3174ms
npm verb unfinished npm timer reify<PHONE_NUMBER>189
npm verb unfinished npm timer reify:build<PHONE_NUMBER>849
npm verb unfinished npm timer build<PHONE_NUMBER>849
npm verb unfinished npm timer build:deps<PHONE_NUMBER>849
npm verb unfinished npm timer build:run:install<PHONE_NUMBER>851
npm verb unfinished npm timer build:run:install:node_modules/raw-socket<PHONE_NUMBER>851
npm verb code 1

npm ERR!      C:\Users\12034\AppData\Local\npm-cache\_logs\2022-09-16T19_17_26_948Z-debug.log

I manually went in through windows and changed the environment variable VCINSTALLDIR since the terminal did not seem to be doing it. After I rebooted the terminal, this is what came out.

I managed to fix this. It was definitely my older version of node-gyp, and I ran npm i -g<EMAIL_ADDRESS>--force just on a whim to see if it changed anything and everything now installs correctly. Sorry to bother you.

One this that fixed it for me what install the Visual Studio C+++ package from The Visual Studio Community Website, it's just 9GB, but it fixed everything for me.


Cache return same response for the different query_params

Describe the bug
Cache return same response for the different query_params. the cache_key generator is cause of this bug. in this method the query params does not included.
Expected behavior
cache system must have different response for different query_params.

Thanks for your pull request #20  🙏🏽


Running OOM in cell 30 when using GPU

First off, thanks for this share. This NLP stuff is really cool, but can be overwhelming. This project has helped immensely in helping me to better understand. Unfortunately, it seems troubleshooting these models and implementations is almost an art in itself.
So I am currently using Tensorflow and I wrote a scraper to pull data from Buzzfeed to act as my training set since the reuters data didn't seem to be enough due to glove containing 40k vocab. When I was running against the CPU, all worked fine but in a period of about 7 hours, I only made it through about 4 iterations out of 500. So I have attempted to jump over to using the GPU. I am running on a Mac with an Nvidia 650M and 1 GB of VRAM. So I am aware that this isn't the best of hardware, but I believe it still should be doable right?
So when I run the train.py file (converted from ipynb), I am getting the below OOM error. I know you have been using Theano, so if you aren't sure then just disregard. However if you know how I may be able to overcome this issue I'd love to hear it. It seems to be erroring out around cell 30. What is baffling to me is that it says total memory is 1023.MiB but free is 49.Mib.  As I run each time it reduces. Now I saw in tF forums that Tensorflow allocates all GPU and that you really can't tell how much is free because it is managed internally....so maybe this is nothing.  I was trying to figure out how to flush the GPU mem but I haven't had any luck with that either. Even after restarting the mac, I still see about the same thing.
I have tried adjusting the training sample size and some of the other variables to see if I could get it to just run through even once but it still ends up crashing with an OOM error.  My next thing I am going to try is getting the TF summarizer working so perhaps I might be able to get a bit more insight via tensorboard.  I do have a much better GPU on my PC, but I will need to set this all up in a docker vm or something if I take that approach.  However if it works, I will be happy.
If you have any insight, please send it my way.  Thanks again!!
`Using TensorFlow backend.
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcublas.dylib locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcudnn.dylib locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcufft.dylib locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcuda.dylib locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcurand.dylib locally
1.0.7
number of examples 49372 49372
dimension of embedding space for words 100
vocabulary size 40000 the last 10 words can be used as place holders for unknown/oov words
total number of different words 74477 74477
number of words outside vocabulary which we can substitue using glove similarity 12523
number of words that will be regarded as unknonw(unk)/out-of-vocabulary(oov) 21954
46372 46372 3000 3000
H: oops building
D: there’s something different about this building can you guess what
H: mathematical formula for beer goggles
D: british scientists discover the exact equation so-called beer goggles
I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:883] OS X does not support NUMA - returning NUMA node zero
I tensorflow/core/common_runtime/gpu/gpu_init.cc:102] Found device 0 with properties:
name: GeForce GT 650M
major: 3 minor: 0 memoryClockRate (GHz) 0.9
pciBusID 0000:01:00.0
Total memory: 1023.69MiB
Free memory: 49.59MiB
I tensorflow/core/common_runtime/gpu/gpu_init.cc:126] DMA: 0
I tensorflow/core/common_runtime/gpu/gpu_init.cc:136] 0:   Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:755] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GT 650M, pci bus id: 0000:01:00.0)
I tensorflow/core/common_runtime/bfc_allocator.cc:639] Bin (256):      	Total Chunks: 0, Chunks in use: 0 0B allocated for chunks. 0B client-requested for chunks. 0B in use in bin. 0B client-requested in use in bin.
.....
I tensorflow/core/common_runtime/bfc_allocator.cc:674] Chunk at 0x703a04a00 of size 1048576
I tensorflow/core/common_runtime/bfc_allocator.cc:674] Chunk at 0x703b04a00 of size 1048576
I tensorflow/core/common_runtime/bfc_allocator.cc:683] Free at 0x700b8dc00 of size 149504
I tensorflow/core/common_runtime/bfc_allocator.cc:683] Free at 0x700de4400 of size 204800
I tensorflow/core/common_runtime/bfc_allocator.cc:683] Free at 0x703c04a00 of size 1123840
I tensorflow/core/common_runtime/bfc_allocator.cc:689]      Summary of in-use Chunks by size:
I tensorflow/core/common_runtime/bfc_allocator.cc:692] 28 Chunks of size 256 totalling 7.0KiB
I tensorflow/core/common_runtime/bfc_allocator.cc:692] 24 Chunks of size 2048 totalling 48.0KiB
I tensorflow/core/common_runtime/bfc_allocator.cc:692] 4 Chunks of size 204800 totalling 800.0KiB
I tensorflow/core/common_runtime/bfc_allocator.cc:692] 31 Chunks of size 1048576 totalling 31.00MiB
I tensorflow/core/common_runtime/bfc_allocator.cc:692] 1 Chunks of size 1139200 totalling 1.09MiB
I tensorflow/core/common_runtime/bfc_allocator.cc:692] 1 Chunks of size 16000000 totalling 15.26MiB
I tensorflow/core/common_runtime/bfc_allocator.cc:696] Sum Total of in-use chunks: 48.18MiB
I tensorflow/core/common_runtime/bfc_allocator.cc:698] Stats:
Limit:                    51998720
InUse:                    50520576
MaxInUse:                 50520576
NumAllocs:                     129
MaxAllocSize:             16000000
W tensorflow/core/common_runtime/bfc_allocator.cc:270] **************************************************************************************************__
W tensorflow/core/common_runtime/bfc_allocator.cc:271] Ran out of memory trying to allocate 144.04MiB.  See logs for memory state.
W tensorflow/core/framework/op_kernel.cc:907] Resource exhausted: OOM when allocating tensor with shape[944,40000]
Traceback (most recent call last):
File "train.py", line 275, in
name = 'timedistributed_1')))
File "/usr/local/lib/python2.7/site-packages/keras/models.py", line 307, in add
output_tensor = layer(self.outputs[0])
File "/usr/local/lib/python2.7/site-packages/keras/engine/topology.py", line 484, in call
self.build(input_shapes[0])
File "/usr/local/lib/python2.7/site-packages/keras/layers/wrappers.py", line 102, in build
self.layer.build(child_input_shape)
File "/usr/local/lib/python2.7/site-packages/keras/layers/core.py", line 604, in build
name='{}_W'.format(self.name))
File "/usr/local/lib/python2.7/site-packages/keras/initializations.py", line 59, in glorot_uniform
return uniform(shape, s, name=name)
File "/usr/local/lib/python2.7/site-packages/keras/initializations.py", line 32, in uniform
return K.random_uniform_variable(shape, -scale, scale, name=name)
File "/usr/local/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 248, in random_uniform_variable
return variable(value, dtype=dtype, name=name)
File "/usr/local/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 132, in variable
get_session().run(v.initializer)
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 343, in run
run_metadata_ptr)
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 567, in _run
feed_dict_string, options, run_metadata)
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 640, in _do_run
target_list, options, run_metadata)
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 662, in _do_call
e.code)
tensorflow.python.framework.errors.ResourceExhaustedError: OOM when allocating tensor with shape[944,40000]
[[Node: random_uniform_13/RandomUniform = RandomUniformT=DT_INT32, dtype=DT_FLOAT, seed=0, seed2=0, _device="/job:localhost/replica:0/task:0/gpu:0"]]
Caused by op u'random_uniform_13/RandomUniform', defined at:
File "train.py", line 275, in
name = 'timedistributed_1')))
File "/usr/local/lib/python2.7/site-packages/keras/models.py", line 307, in add
output_tensor = layer(self.outputs[0])
File "/usr/local/lib/python2.7/site-packages/keras/engine/topology.py", line 484, in call
self.build(input_shapes[0])
File "/usr/local/lib/python2.7/site-packages/keras/layers/wrappers.py", line 102, in build
self.layer.build(child_input_shape)
File "/usr/local/lib/python2.7/site-packages/keras/layers/core.py", line 604, in build
name='{}_W'.format(self.name))
File "/usr/local/lib/python2.7/site-packages/keras/initializations.py", line 59, in glorot_uniform
return uniform(shape, s, name=name)
File "/usr/local/lib/python2.7/site-packages/keras/initializations.py", line 32, in uniform
return K.random_uniform_variable(shape, -scale, scale, name=name)
File "/usr/local/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 247, in random_uniform_variable
value = tf.random_uniform_initializer(low, high, dtype=tf_dtype)(shape)
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/init_ops.py", line 98, in _initializer
return random_ops.random_uniform(shape, minval, maxval, dtype, seed=seed)
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/random_ops.py", line 182, in random_uniform
seed2=seed2)
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/gen_random_ops.py", line 96, in _random_uniform
seed=seed, seed2=seed2, name=name)
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/op_def_library.py", line 694, in apply_op
op_def=op_def)
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2154, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/usr/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1154, in init
self._traceback = _extract_stack()
`

500 epochs is just an arbitrary number I kill the process much earlier than that.
Running against GPU memory problems is very common.
The main differences between GPU cards is their memory size which is sometimes more important
than speed.
The Mac GPU is too small and some of its memory is used by OS X to generate your screen.
Try running on AWS with g2.x2large machine.
You can reduce batch_size until it fits GPU memory.
You can also try smaller model size (less rnn layers and nodes) and see what happens.
The model parameters I used are also somewhat arbitrary.

Thanks for the help....yet again! Do you have a paypal account? If so, let me know the email...I'd like to buy a few drinks for ya to say thanks :)

🍺🍺 thanks


Missing time element

Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time
This may be a fastcore.xml issue.

Thanks for letting me know. BTW it's helpful to at-mention me on your issues/PRs so I get notified.

Oh also FYI it's fasthtml.components where the list of HTML elements comes from. I just went through and added all the non-deprecated ones listed on mozilla's docs.


GD-363: Update Documentation,  Is class_name on scripts a hard requirement?

Discussed in https://github.com/MikeSchulze/gdUnit3/discussions/361

Originally posted by maximinus December 31, 2022
Started testing GDUnit this week and it took me an age to get the first test running, because I could not find a way to reference the object I was testing. After really carefully looking at the code images in the docs, I finally discovered that I had to add class_name to the gdscript node I was testing, and then I could reference that object in the test.
I think this needs to be made a bit clearer in the tutorial because it nearly made me delete the addon.
Secondly, is this a hard requirement? I'm not necessarily against adding class_name, however it's something I've typically not done with my gdscript code before.

https://github.com/MikeSchulze/gdUnit3/commit/daca81c39bdd216e2c46a1fef1bcc8af3a4f25ac


Port some changes from the linguist pull request?

I saw https://github.com/michidk/typst-grammar/commit/4221511bb563b71e66c52cc529fbebe57bdb53d9 from https://github.com/github-linguist/linguist/pull/6379 which attempts to add Typst to GitHub linguist, and they author claimed that

So the original grammar from https://github.com/nvarner/typst-lsp had the following errors:
...
I now made a fork (https://github.com/michidk/typst-grammar) that has the required structure and fixes the issues.
The script runs and completes now without errors:

Maybe we can port that patch to this repo (should be very easy, just apply the diff)

Keep in mind that my fork is probably very outdated by now. But I agree, it would be great if we could have an LSP definition compatible with GitHub's linguist. Then I could delete my repository and adjust my PR to use this one.
Btw the list of incompatibilities can be found here: https://github.com/github-linguist/linguist/pull/6379#issuecomment-1512862673

Keep in mind that my fork is probably very outdated by now. But I agree, it would be great if we could have an LSP definition compatible with GitHub's linguist. Then I could delete my repository and adjust my PR to use this one.
Btw the list of incompatibilities can be found here: https://github.com/github-linguist/linguist/pull/6379#issuecomment-1512862673

The TextMate grammar in this repo is unused and unmaintained. We switched to semantic token highlighting because it's based on the Typst parser, so we don't need to keep up with changes to the language's grammar. I'd be willing to patch in the changes, but I can't commit to keeping it up to date.


python311Packages.yolink-api: 0.3.0 -> 0.3.1

Diff: https://github.com/YoSmart-Inc/yolink-api/compare/refs/tags/v0.3.0...v0.3.1
Changelog: https://github.com/YoSmart-Inc/yolink-api/releases/tag/v0.3.1
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 255528 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.yolink
python310Packages.yolink-api
python310Packages.yolink-api.dist
python311Packages.yolink-api
python311Packages.yolink-api.dist


Use discriminator with several mappings for one schema

I would like to use two schemas in oneOf with discriminator. I have several enum values for each discriminator fields in schemas. So can I use discriminator like this?
ConfigSaveReq:
      oneOf:
      - $ref: "#/components/schemas/ConfigHttp"
      - $ref: "#/components/schemas/ConfigSsh"
      discriminator:
        propertyName: config_type
        mapping:
          ssh_server: "#/components/schemas/ConfigSsh"
          apache_server: "#/components/schemas/ConfigHttp"
          web_server: "#/components/schemas/ConfigHttp"
          another_server: "#/components/schemas/ConfigHttp"

Now after generating types I get switch with only two cases in ValueByDiscriminator(). Furthermore, for case with ConfigHttp variable value selecting randomly from ConfigHttp keys
	switch discriminator {
	case "ssh_server":
		return t.AsConfigSsh()
	case "web_server":
		return t.AsConfigHttp()
	default:
		return nil, errors.New("unknown discriminator value: " + discriminator)
	}

I found this break in generateUnion, if remove it and make len assertion by len(discriminator.Mapping) instead len(elements) my case will work. It is will fine?
		if discriminator != nil {
			if len(discriminator.Mapping) != 0 && element.Ref == "" {
				return errors.New("ambiguous discriminator.mapping: please replace inlined object with $ref")
			}

			// Explicit mapping.
			var mapped bool
			for k, v := range discriminator.Mapping {
				if v == element.Ref {
					outSchema.Discriminator.Mapping[k] = elementSchema.GoType
					mapped = true
					break <------
				}
			}
			// Implicit mapping.
			if !mapped {
				outSchema.Discriminator.Mapping[RefPathToObjName(element.Ref)] = elementSchema.GoType
			}
		}

Having this same issue, also finding that the generated code in this case is non-deterministic which adds extra pain for CI stesp trying to ensure that the generated code is up to date


Fix the expansion error issue

longhorn/longhorn#5169

Don't we still need to do c.lastExpansionFailedAt = "" when the expansion succeed?

Just for recording, so that the manager will print out an event that explains why the replica becomes failed.

https://ci.longhorn.io/job/private/job/longhorn-tests-regression/2819/

@Mergifyio backport v1.4.x


How to work with advertisement/manufacturer data?

Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

[x] I am running the latest version
[x] I checked the documentation and found no answer
[x] I checked to make sure that this issue has not already been filed
[x] I'm sure that question is related to the library itself and not Bluetooth Low Energy or Classic in general. If that so, please post your question on StackOverflow or on our Gitter channel.

Question
I'm trying to figure out how to work with the advertisement/manufacturer data. I'm new to working with Bluetooth LE. I was reading through the source code, and found that the advertisement data is encoded as base64. I tried to decode it, but I'm not sure what to decode it into (what the encoding is supposed to be) or how to read the data correctly. I'm running this on an Android device.
start_scanning() {
    const uuids = null
    const options = null
    this.manager.startDeviceScan(uuids, options, (error, device) => {
      if (!error) {
        console.log(`Bluetooth device found: (name: ${device.name}, id: ${device.id}), signal strength: ${device.rssi}, advertisement data`, Buffer.from(device.manufacturerData, 'base64').toString('ascii'))
      }
    })
  }

Result:
[16:16:03] I | ReactNativeJS ▶ 'Bluetooth device found: (name: null, id: 61:22:B9:FF:DA:EE), signal strength: -74, advertisement data', 'L\u0000\u0010\u0005F\u001cK#X'

Bluetooth is a protocol for transmitting bytes. And that is what is encoded — you decode a base64 string to an array of bytes. How to interpret the bytes is up to who has implemented the higher level protocol.

Ah okay. That makes more sense. Thanks!

You're welcome.


Rename method and comment in azblob

Not critical for this change, but this functional should be renamed.
Originally posted by @RickWinter in https://github.com/Azure/azure-sdk-for-go/pull/16784#r782541958

This was done as part of the pending v0.3.0 release.


Revert "Make sure the kubevirt namespace exists"

Reverts kubevirt/kubevirt#1828

/release-note-none

tests look better than anything else I saw today :)
http://jenkins.ovirt.org/job/kubevirt_kubevirt_standard-check-pr/2898/#showFailuresLink


Transcript videos

Hi there.
I always prefer to have a text option for learning because the time spent will depends on me. Videos do not allow this since they have a fixed duration.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9edfc165-8727-4f35-1be0-b570ee716673
Version Independent ID: b41dd96e-4a97-6f83-0b31-9ce17d1de42c
Content: What is Azure single sign-on (SSO)?
Content Source: articles/active-directory/manage-apps/what-is-single-sign-on.md
Service: active-directory
Sub-service: app-mgmt
GitHub Login: @kenwith
Microsoft Alias: kenwith

@nicolaslareu
Thanks for your feedback! We will investigate and update as appropriate.

Thank you for the feedback in improving the doc. I have added this item to our backlog so that it can be prioritized and worked on as appropriate.
#please-close

Thank you for the feedback in improving the doc. I have added this item to our backlog so that it can be prioritized and worked on as appropriate.
#please-close


fatal error: vspm_public.h: No such file or directory

This is for record keeping only, e-con entered the following support request:
We have started to bring up our camera with Mistywest V2L carrier board. In which we are facing build error as shown below,
/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/kernel-module-vspmif/1.0-r0/git/vspm_if-module/files/vspm_if/drv/vspm_if_main.c:69:10: fatal error: vspm_public.h: No such file or directory
#include "vspm_public.h"
^~~~~~~~~~~~~~~
compilation terminated.
Also, kindly please share below details,
* Carrier board camera connector details - Rev A
* Known issues if there any. eg. like SD card issue as seen in G2L carrier.

Romn replied:
Hi Elango,
Oh, interersting. You need to help me to help you. When or where do you experience this? I need some background information about the environment that you're working in so that I can duplicate it.
Thanks,
Ron

e-con replied:
Hi Ron,
We Just started to setup the basic build environment by following the below guidelines
https://github.com/MistySOM/wiki/blob/master/content/GettingStarted.md
We are facing yocto build issue after invoking the docker with below commands  (just setting up the basic environment , we didn't port our driver still).
$ ./run.sh -c
Thanks,
Elango Palanisamy

Ron replied:
Hi Elango,
To follow up on your request regarding:
fatal error: vspm_public.h: No such file or directory
I tried to duplicate it but was not able to.
May I suggest the following:
Check out and try to build the latest from the master branch at [mailto:git@github.com:MistySOM/rzv2l.git]git@github.com:MistySOM/rzv2l.git ([MistySOM/rzv2l: MH11-V2L-1 (github.com)](https://github.com/MistySOM/rzv2l/)). $ git clone [mailto:git@github.com:MistySOM/rzv2l.git]git@github.com:MistySOM/rzv2l.git
    if you already have a cloned copy you can also do:
        $ git checkout master
        $ git pull
$ cd Build
$ ./build.sh
$ ./run.sh -c /your/cache/dir

if this doesn't help, you cabn try to run the container in the dev-shell mode:
Check out and try to build the latest from the master branch at [mailto:git@github.com:MistySOM/rzv2l.git]git@github.com:MistySOM/rzv2l.git ([MistySOM/rzv2l: MH11-V2L-1 (github.com)](https://github.com/MistySOM/rzv2l/)). $ git clone [mailto:git@github.com:MistySOM/rzv2l.git]git@github.com:MistySOM/rzv2l.git
    if you already have a cloned copy you can also do:
        $ git checkout master
        $ git pull
$ cd Build
$ ./build.sh
$ ./run.sh -c /your/cache/dir -n
    the container will start and give you a shell within it:
    cd rzv_vlp_v3.0.0/
    . poky//oe-init-build-env
    bitbake mistysom-image
    if it fails, it will give you a complete view of the failure, please copy and paste the complete screen so that I can see the complete context of the error.

I hope the above helps!
Thank you,
Ron

e-con:
Hi Ron,
Thanks for the tremendous support.
The issue got resolved.
Actually, the build system reported "/home/yocto/rzv_***/build/tmp is running low" and it stopped the build.       and during the rerun , it reported "vspm_public.h" missing error.
when we mounted tmp directory outside container likewise sstate and downloads directory.
      the build went through successfully.
Regards,
      Elango Palanisamy

We had a similar issue ourselves where the /var and /tmp directories used to be in a smaller root partition.
We solved this by moving and mounting those two directories outside of the root partition for the docker to feel more relaxed.
Should we document this ?
Should we add the "mount tmp directory outside the container" to the run.sh ?

it's worth it to document the error and work around for it, yes. I don't know if it appears often enough to add an option to run.sh, it's worth a consideration but for now, I  think documenting will do. What's your opinion about this?

I suggest we add it to the README.md in this repo.

@matinlotfali Please go ahead and add it, then.

@mistyron  See here: https://github.com/MistySOM/rzg2l/pull/25
If it gets approved, I will add it to V2L as well.

Yes it was merged in #19


feat(css_parser): parse font_feature_values

Summary
Closes #1282
This PR implements parse logic of CSS @font-feataure-values.
https://developer.mozilla.org/en-US/docs/Web/CSS/@font-feature-values

Test Plan

Follow Up
This PR is kinda huge now, I'll take a look below a next PR.

[ ] parse font family like Times New Roman as Identifier includes whitespace

@denbezrukov Sorry for late! could you take a look.


refactor: deployment and container decorators now work regardless of …

…the underlying kind (so they can be used for both kubernetes and openshift).
So, this is the prequel to jaeger support (see #160).
The jaeger module will need to be able to inject and customize a sidecar container.
with the additon of sidecars, we will need to be explicit on the container that we are decorating. Also, we need to do it in a platform agnostic manner, so that things work the same for both kubernetes, and openshift.
So, this pull request throws  a litle bit of reflection and generics into the mix, so that decorators can specify the deployment and container they target.
Note: Not all decorators have adopted this logic. There are still decorators that will decorate ALL containers (e.g. image pull policy and mount decorators).

Tests are complaining :(

@geoand: Tests have been fixed.


switches from classic project format to sdk based form

*changes dotless dependency to netstandard core version
*updates fsharpcore to more recent version

Great, thanks a lot!


Need DbCommandInterceptor or nolock extension method for linq on ef core.

Hi,
I need an item like DbCommandInterceptor on ef core.
We have hundreds of linq query working with the following interceptor.
My old solution on ef6:
"http://www.gitshah.com/2014/08/how-to-add-nolock-hint-to.html"
public class NoLockInterceptor : DbCommandInterceptor
{
    private static readonly Regex _tableAliasRegex =
        new Regex(@"(?<tablealias>AS \[Extent\d+\](?! WITH \(NOLOCK\)))",
            RegexOptions.Multiline | RegexOptions.IgnoreCase);

    [ThreadStatic]
    public static bool ApplyNoLock;

    public override void ScalarExecuting(DbCommand command,
        DbCommandInterceptionContext<object> interceptionContext)
    {
        if (ApplyNoLock)
        {
            command.CommandText =
                _tableAliasRegex.Replace(command.CommandText,
                "${tableAlias} WITH (NOLOCK)");
        }
    }

    public override void ReaderExecuting(DbCommand command,
        DbCommandInterceptionContext<dbdatareader> interceptionContext)
    {
        if (ApplyNoLock)
        {
            command.CommandText =
                _tableAliasRegex.Replace(command.CommandText,
                "${tableAlias} WITH (NOLOCK)");
        }
    }
}

NoLockInterceptor.ApplyNoLock = true;

DbInterception.Add(new NoLockInterceptor());

Or is it possible to add an extension method for linq queries that table-base sql "with nolock" mssql statement?
I don't want change db transaction isolation level this case. Because I don't begin a database transaction for select queries and I want generate a sql query with "with nolock" mssql statement.
Regards,
Türenç.

@turenc Support for hints is tracked by #6717. The equivalent of the interceptor can be done by hooking into the DiagnosticSource infrastructure. For example, first create an interceptor:
public class NoLockInterceptor : IObserver<KeyValuePair<string, object>>
{
    public void OnCompleted()
    {
    }

    public void OnError(Exception error)
    {
    }

    public void OnNext(KeyValuePair<string, object> value)
    {
        if (value.Key == RelationalEventId.CommandExecuting.Name)
        {
            var command = ((CommandEventData)value.Value).Command;

            // Do command.CommandText manipulation here
        }
    }
}

Next, create a global listener for EF diagnostics. Something like:
public class EfGlobalListener : IObserver<DiagnosticListener>
{
    private readonly NoLockInterceptor _noLockInterceptor = new NoLockInterceptor();

    public void OnCompleted()
    {
    }

    public void OnError(Exception error)
    {
    }

    public void OnNext(DiagnosticListener listener)
    {
        if (listener.Name == DbLoggerCategory.Name)
        {
            listener.Subscribe(_noLockInterceptor);
        }
    }
}

And register this as part of application startup:
DiagnosticListener.AllListeners.Subscribe(new EfGlobalListener());

@ajcvickers  use DiagnosticListener implement read/write seperation, for example
`
public class DbCommandInterceptor : IObserver<KeyValuePair<string, object>>
{
private const string masterConnectionString = "data source=WANGPENG;User Id=sa;Pwd=sa123;initial catalog=Demo1;integrated security=True;";
private const string slaveConnectionString = "data source=WANGPENG;User Id=sa;Pwd=sa123;initial catalog=Demo2;integrated security=True;";
public void OnCompleted()
{
}
    public void OnError(Exception error)
    {
    }

    public void OnNext(KeyValuePair<string, object> value)
    {
        if (value.Key == RelationalEventId.CommandExecuting.Name)
        {
            var command = ((CommandEventData)value.Value).Command;
            var executeMethod = ((CommandEventData)value.Value).ExecuteMethod;

            if (executeMethod == DbCommandMethod.ExecuteNonQuery)
            {
                ResetConnection(command, masterConnectionString);
            }
            else if (executeMethod == DbCommandMethod.ExecuteScalar)
            {
                ResetConnection(command, slaveConnectionString);
            }
            else if (executeMethod == DbCommandMethod.ExecuteReader)
            {
                ResetConnection(command, slaveConnectionString);
            }
        }
    }

    void ResetConnection(DbCommand command, string connectionString)
    {
        if (command.Connection.State == ConnectionState.Open)
        {

            if (!command.CommandText.Contains("@@ROWCOUNT"))
            {
                command.Connection.Close();
                command.Connection.ConnectionString = connectionString;
            }
        }
        if (command.Connection.State == ConnectionState.Closed)
        {
            command.Connection.Open();
        }
    }
}

`
As above，if i use master  for add operations，but  master need to return primary key,that is to say that need to read slave， i use the following way to achieve
   if (!command.CommandText.Contains("@@ROWCOUNT"))                 {                     command.Connection.Close();                     command.Connection.ConnectionString = connectionString;                 }
but obviously this is not true about above。how to do it at this time?

@wangpengxpy I don't really understand your question, but changing the connection in this way is not something I would recommend.

@ajcvickers  changing the connection by Database.GetDbConenction??

Hi, @ajcvickers
I realized that 'AS Extent1' naming convention is changed in EF Core.
Which pattern can I use to do the same?


Fix bug in cache disabling feature that ignores manipulations

Add the UncachedResponseFactory
Serve the manipulated image from memory without expensive disk I/O

This fixes issue https://github.com/thephpleague/glide/issues/54
Note: \Finfo is used and was included in PHP >= 5.3

@reinink This PR is needed to fix image manipulations with cache disabled in dev-master.

Hey @kevin-thackorie, thanks so much for putting this together and for your ongoing help on this project! This seems like a pretty good solution, although I have a concern.
I wonder if this much extra code is "worth the effort", instead of just using the sys_get_temp_dir() as the cache when no cache is provided. It means having to write it to disk instead of serving it from memory, and I get that will have a slight performance hit, but how much? This will only happen once, and that's when the image is first generated, which is already going to be an expensive. I haven't done any testing on this either...just curious if it's worth it.
Also, is there any reason not to use the temp folder for this, other than for these potential performance reasons?

Hey @reinink, my pleasure!
Regarding your temp directory suggestion: I intentionally stored the binary of the manipulated image in memory prior to streaming it back to the user in the response because writing it to disk at any point would incur expensive disk I/O. This expense would not simply occur only once because, with the cache disabled, the entire process is invoked each time the image is requested.

Well, yes and no. The idea behind disabling the cache is so another caching mechanism can be used instead, such as Varnish. So, subsequent requests should be handled by this alternative caching technique, and shouldn't hit Glide (unless that cache has expired).
Don't get me wrong, I'm not arguing that the in-memory solution isn't better, it's just a bunch of extra code that I need to review properly and unit test before tagging for production. So, until I have that figured out, I think using the system temp directory is an acceptable solution.
Cool? :)

True, in the case of an external caching layer like Varnish or Amazon CloudFront being placed in front of Glide, the disk I/O expense would only be incurred once.
I like that the solution in this PR works well whether or not the developer using Glide also has an external caching layer, but understand your point about the testing burden introduced by the UncachedResponseFactory.
Thus I defer to your judgment :)

Hey @kevin-thackorie! I've finally worked out a really good solution here. We're adding an in-memory adapter to Flysystem, which does exactly this, without any extra code being required in Glide. With this approach, you can literally just do this:
$glide = ServerFactory::create([
    'source' => $yourSource,
    'cache' => new Filesystem(new MemoryAdapter());
]);

I've already tested this, and it works perfect. In addition to this, in the next Glide release I'll be adding the ability to also override the ReponseFactory with your own factory. See #55 for more information on that.
I'm going to close this PR as a result. Let me know if you have any questions about this!

Hey @reinink, perfect! That is indeed a good solution as I felt Flysystem was lacking an in-memory adapter.
This should work great, thanks!

@kevin-thackorie Excellent, glad to hear you like this approach. You'll be happy to hear, that as of today, the in-memory adapter is a real thing!
http://flysystem.thephpleague.com/adapter/memory/


HOW TO: Setup new raspiblitz with txindex=1, copy blockchain from (local net) full node with txindex=1 ?

I see that in the past raspiblitz ran with txindex=1 but now it does not.
I'd like to run with txindex=1; and I'd like to initialize my (shortly-to-be-built) raspiblitz from a local server's bitcoin core blockchain that has txindex=1.
How do I do this?

On the new version v1.7 (testing) will have the option to switch from 0 to 1.
sudo bash config.scripts/network.txindex.sh on

Great! I notice that on initializing the blockchain by copying it from a remote computer, via 50copyHDD.sh in dev, that script isn't going to copy over ./indexes (if present) from the remote.  So presumably the indexing would happen on starting bitcoind.
If I modified the script to copy the indexes directory (or just did it manually via scp) before starting bitcoind the first time: would that work (i.e., to avoid bitcoind reindexing the blockchain)?
(My questions is because I'm not sure if the indexes are bitcoind installation-specific or not.)

Yes.
Fork Raspiblitz, modify the scripts, build your sd card with the changes from your fork, change the default txindex to 1.
You can do whatever you feel like.

ok, thanks.


Add check to make sure that parameters have converged in dadi

Abigail and I have found that some SFS need more iterations during optimization to get consistent results. Need to add some sort of check to make sure that results are consistent when running the script instead of having to run it many times.

Separate scripts for each model have been written that run the optimization multiple times and output the resulting parameters and likelihoods to a file. Closes issue #4 as well.


Fix the link

I followed the guide here: https://help.github.com/articles/using-jekyll-with-pages/
Something like:
gem install bundler

Create a Gemfile
source 'https://rubygems.org'
gem 'github-pages'

Run:
bundle install
bundle exec jekyll serve

Then view the page at http://localhost:4000.

Validated and it works. Thanks for the help.

Thanks, Antall! Merging.


Splitting on something that is not part of a string will not work

Hi @XanderAtBackboneSystems,
Thank you for contributing. I am confused about what this PR is trying to achieve. It is good practice to explain in the description what the change is doing and why you are making the change. Also, if you wish to remove code, please delete it. It is poor practice to commit commented out code, without having a comment to justify it. If it is not needed, then simply delete it.
Please explain what you're hoping this change will achieve, I am struggling to see the purpose of it.

hi @kapilpau ,
The code (line 245-254) checks whether the string containing the path ends with the same string as was found with the module. If not (as is in my case) the code tries to split the path with the module name as separator. In my case the module name is not completely part of my path and thus the split will yield a slice of one element containing the complete path. Then the code assumes there are at least two element and returns the 2nd element. The result is the following panic:
$ go-mod-dependency-tree .
panic: runtime error: index out of range [1] with length 1

goroutine 1 [running]:
main.getModuleName({0xc000016054, 0x0})
	/Users/<someuser>/go/src/github.com/kapilpau/go-mod-dependency-tree/dependency-tree.go:251 +0x345
main.main()
	/Users/<someuser>/go/src/github.com/kapilpau/go-mod-dependency-tree/dependency-tree.go:74 +0x496

To fix the code so it worked for me i choose to keep the module name as it was found in the go.mod file and left the path on its own.
I only commented the lines as i have no idea why the code does this (i have no knowledge to make the call whether this is right or wrong and what is allowed or not) . Therefore i only commented the lines. And come to think of it; maybe my pull request was more of a pointer to were i have an issue with the code than as an actual solution.
I can easily provide you a working solution without commented code. But i am not sure whether that would be the complete and an appropriate solution.
Can you elaborate why the code on line 145-154 was coding the way it was. The interesting part is in the below snippet.
		line = strings.TrimSpace(line)
		if strings.HasPrefix(line, "module ") {
			modAddress := strings.Split(line, "module ")[1]
			var modName string
			if strings.HasSuffix(cwd, modAddress) {
				modName = modAddress
			} else {
				modName = modAddress + strings.Split(cwd, modAddress)[1]
			}
			return modName
		}

Sorry that my initial PR was a bit confusing, hope i can help some more...
Best regards,
Xander

@XanderAtBackboneSystems I have managed to replicate this issue now, thanks for the details. The issue occurred when the module name had quotes around it, in its own go.mod (which is optional). I have fixed this issue and released a new version (v1.2.1). Please try using that and let me know if that has fixed it.
As you mentioned in your comment, this was to alert me of a bug. In the future, please create an issue to do so, rather than a PR, or investigate and resolve the issue in your PR (don't just comment out the code).
If the bug has been fixed, please let me know and then close this PR. Thanks

Hi @kapilpau ,
The quotes are not my problem. Good catch though
My case it following:
In my go.mod file i have:
module github.com/some-owner/some-project

And the directory in my computer in which the repo is cloned:
~/source-code/some-project

(this is also the directory that contains my go.mod file)
I run the tool without any arguments and the working directory is the same is ~/source-code/some-project.
modAddress =  github.com/some-owner/some-project
cwd = /<obsolute-path-user-dir>/source-code/some-project
if strings.HasSuffix(cwd, modAddress) { // will be false
        modName = modAddress
    } else {
        // will fail as modAddress is not part of the cwd and thus an slice is returned with only one element
        modName = modAddress + strings.Split(cwd, modAddress)[1]
}

If you like i can remove all commented lines from the pr and re submit it.
best regards.

 This tool expects your code to ~/go/src/github.com/<username>/<repo_name> which is how Go sets it up

In the old GOPATH situation this was mandatory but since modern versions of go (due to go modules) this is no longer necessary by go. A good example on how i would do it is here. So i am wondering why a tool like this would enforce this.

If you do not wish to pursue my case i will abandon this PR. I wil then not be able to use your tool but thats my problem

@XanderAtBackboneSystems this is not an actively maintained library, as I have a day job and other projects which have a higher priority. This tool works as intended, however, your scenario is an edge case that hadn't previously been encountered or considered. As such, this is not something I am likely to get round to doing, especially as I would have to reconfigure my local environment to be able to replicate yours, and that's something I have no desire to do. If you wish to use this tool with your set up, please try and contribute a fix that enables it to run for you, without just commenting out or deleting lines of code. Either way, this PR should be closed and a new one should be opened when you're ready to contribute the fix.

To be able to contribute i would need answers to above questions. The most important one being why you would have the if stament that went wrong (note that in my opinion the code did not do what was expected). I can not deduct what was intended. So i can fix it.
I did change the PR to not have commented code, so if your main concern is the wrong way i started the PR then sorry. I'm really wanting the contribute, but i need some help as to why it was like it was. If your not able then that is a shame and i will close the PR.


js2flowchart CLI doesn't work

Hi,
First, thank you for your work!
Secondly, I got a try and I do have some issue with making it running.
This is how I test it.

Got an Ubuntu 16.04 LTS.

Installed yarn as this resource describes:

[(https://stackoverflow.com/questions/42606941/install-yarn-ubuntu-16-04-linux-mint-18-1) ]

Got this JS file, masonry.min.js, as a test bed. [https://masonry.desandro.com/]

This is the error which I got:
js2flowchart masonry.min.js
Error at buildFlowTreeFromAst[_constants.TOKEN_KEYS.CONSEQUENT,_constants.TOKEN_KEYS.ALTERNATE].includes is not a function
/usr/local/share/.config/yarn/global/node_modules/js2flowchart/dist/js2flowchart.js:7465
                throw e;
                ^

TypeError: [_constants.TOKEN_KEYS.CONSEQUENT,_constants.TOKEN_KEYS.ALTERNATE].includes is not a function
    at Object.singleTypeFilter [as ignore] (/usr/local/share/.config/yarn/global/node_modules/js2flowchart/dist/js2flowchart.js:4266:77)
    at /usr/local/share/.config/yarn/global/node_modules/js2flowchart/dist/js2flowchart.js:18165:33
    at /usr/local/share/.config/yarn/global/node_modules/js2flowchart/dist/js2flowchart.js:18144:20
    at NodePath._call (/usr/local/share/.config/yarn/global/node_modules/js2flowchart/dist/js2flowchart.js:29049:18)
    at NodePath.call (/usr/local/share/.config/yarn/global/node_modules/js2flowchart/dist/js2flowchart.js:29021:17)
    at NodePath.visit (/usr/local/share/.config/yarn/global/node_modules/js2flowchart/dist/js2flowchart.js:29078:12)
    at TraversalContext.visitQueue (/usr/local/share/.config/yarn/global/node_modules/js2flowchart/dist/js2flowchart.js:30339:16)
    at TraversalContext.visitMultiple (/usr/local/share/.config/yarn/global/node_modules/js2flowchart/dist/js2flowchart.js:30292:17)
    at TraversalContext.visit (/usr/local/share/.config/yarn/global/node_modules/js2flowchart/dist/js2flowchart.js:30379:19)
    at Function.traverse.node (/usr/local/share/.config/yarn/global/node_modules/js2flowchart/dist/js2flowchart.js:2646:17)

Any ideas why I'm getting this?
Thanks.

Right. Thank you. Will have the nodejs updated to the latest and have you updated. will close the issue now and reopen it if that would be necessary.
Thanks!


Environment's specific config

Q
A

Issue Type
Question

Deployer Version
N/A

Local Machine OS
N/A

Remote Machine OS
N/A

Description
I am wondering if there is possibility (like in Capistrano) to separate Deployer's config for different environments - for example on a production server I'd like to have:

set custom php/bin path (onlyOn method doesn't work with env())
disable deploy:writable task (lacks of sudo) (I would have to rewrite whole task just to specify onlyOn method)

In Capistrano I would just set this in config file for specific environment and everything would just works. What about here?

Can you try?
server('svr1', 'xx.xx.xx.xx', 22)
    ->env('php/bin', '/usr/bin/php'); // set special environment variable

server('svr2', 'xx.xx.xx.xx', 22)
    ->env('php/bin', '/usr/local/php7/bin/php'); // set special environment variable

server('svr3', 'xx.xx.xx.xx', 22)
     ->env('branch', 'develop'); // don't set special environment variable, Deployer will use default environment variable

Thanks! It works great. But sadly problem 2 still unresolved - about handling tasks depending on environments (let's say - different deploy strategy).
I could define deploy:production and deploy:staging tasks but then:

I would duplicate myself
Deployment would look like dep deploy:production production

task($name, $body) could be changed in task($name, $body = null) and return task reference when you call it without $body, so you can do:
task('deploy:writable')->onlyOn(['dev', 'staging'] );

@luke83
Sadly this solution doesn't work. Deployer immediately stops without any output even in debug mode.

task('deploy:writable')->onlyOn(['dev', 'staging']);

This does not supported. %)

@adriandmitroca @elfet it was a proposal, sorry for misunderstanding

+1 I like to disallow some commands on the server too. Especially deploying on some server as they are meant for other things.

Any updates on this?
I'm really dreading the day I will accidentally reload database in production :)

Not it's possible:
task('deploy:writable')->onlyOn(['dev', 'staging']);

Oh okay, it's about whitelisting. The issue looked like people request for blacklisting. So I voted it up.
I guess I open a new one when I'm in such situation again.


Modify GeoVector classes to be more feature complete

The GeoVector classes currently lack an out of the box solution to some commonly used functions
Squared length
GeoVectors already provide an API to get a vector's length. However, in some applications you can leave out the square root step at the end of the equation. For example, to determine if a point is in range of a vector. By comparing the squared distance between the vector and the point to the squared range you can tell if the point is within the range of a vector.
Example Implementation
// GeoVector2F.h

inline float getSquaredMagnitude() const noexcept
{
    return glm::length2(*reinterpret_cast<const glm::vec2*>(this));
}

inline float getSquaredLength() const noexcept
{
    return getSquaredMagnitude();
}

Usage of glm::length2 will require that glm/gtx/norm.hpp is included, as it is currently
Dot product
The dot product is used in places like vector reflection, for example to bounce a ball against a wall, and calculating the angle between two vectors.
Example Implementation
// GeoVector2F.h

static inline float dot(GeoVector2F lhs, GeoVector2F rhs) noexcept
{
    return glm::dot(*reinterpret_cast<const glm::vec2*>(&lhs), *reinterpret_cast<const glm::vec2*>(&rhs));
}

Cross product
A cross product allows for finding a vector that lies perpendicular on two other three-dimensional vectors.
Example Implementation
// GeoVector3F.h

static inline GeoVector3F cross(GeoVector3F lhs, GeoVector3F rhs)
{
    return glm::cross(*reinterpret_cast<glm::vec3*>(&lhs), *reinterpret_cast<glm::vec3*>(&rhs));
}

Question:

Should Vector2F also implement the cross product? Some codebases allow for calculating the cross product between two-dimensional vector by extending them to three-dimensional vectors with the Z component set to 0. As a consequence, the resulting vector would have its X and Y components set to 0

Besides adding new functions, some changes to existing code might be required as well.
Make rotateToAngleAroundPoint use radians instead of degrees
As stated in https://github.com/novelrt/NovelRT/pull/483#discussion_r922731797, the current behavior of using degrees for rotation is not desired.
Example Implementation
// GeoVector2F.h

void rotateToAngleAroundPoint(float angleRotationValue, GeoVector2F point) noexcept
{
    *reinterpret_cast<glm::vec2*>(this) =
        glm::rotate((*reinterpret_cast<glm::vec2*>(this) = *reinterpret_cast<const glm::vec2*>(this) -
                                                           *reinterpret_cast<const glm::vec2*>(&point)),
                    angleRotationValue) +
        *reinterpret_cast<const glm::vec2*>(&point);
}

As rotateToAngleAroundPoint now expects angleRotationValue to be in radians, a conversion is no longer required to use glm::rotate
Question:

Should there be an API that allows for rotating in degrees alongside one that allows for radians? It would reduce the need for end users to do the conversion from degrees to radians if they are used to working with degrees.

Add missing initializers in GeoVector4F
The constructor GeoVector4F() lacks any initializers and causes uninitialized member variable warnings on Visual Studio, this might extend to other compilers as well. Adding initializers would bring it in line with the other dimension vectors, as they provide zero initializers for its members in the zero argument constructor.
Example Implementation
GeoVector4F() noexcept : x(0.0f), y(0.0f), z(0.0f), w(0.0f)
{
}

General Question:

Are there any other functions that would be worth including?

Marking this as approved and removing "Proposal" as... well, it's been approved :)

Eh, Didn't I already add the approved label?
The approved label makes no sense if we remove the proposals label either.

Fair enough - can we agree to remove "Proposal" from the title since the issues grown to be approved?

Yeah that's fine


NOBM connectivity check

Check
If following variables are being passed over to the children (OBIO and ORAD):
FROCEAN
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/e0cf9fabbe700c3e23571466f444973dd6b20e4e/GEOSogcm_GridComp/GEOS_OceanBioGeoChemGridComp/GEOS_OceanbiogeochemGridComp.F90#L317-L325
MASKO
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/e0cf9fabbe700c3e23571466f444973dd6b20e4e/GEOSogcm_GridComp/GEOS_OceanBioGeoChemGridComp/GEOS_OceanbiogeochemGridComp.F90#L327-L335
remove USE_ODAS
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/e0cf9fabbe700c3e23571466f444973dd6b20e4e/GEOSogcm_GridComp/GEOS_OceanBioGeoChemGridComp/GEOS_OceanbiogeochemGridComp.F90#L445-L473
need exports from OBIO and ORAD, preferably on lat-lon grid:

PCO2
FCO2
BIO
PPDIATOM
...
PPPHAEO
DISCHARGE is already there
Is everything ready for them to be exported??

Following imports and Exports to support GEOS_OradBioGridComp.F90 are needed:
COSZ
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/e0cf9fabbe700c3e23571466f444973dd6b20e4e/GEOSogcm_GridComp/GEOS_OradBioGridComp/GEOS_OradBioGridComp.F90#L134-L141
FROCEAN
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/e0cf9fabbe700c3e23571466f444973dd6b20e4e/GEOSogcm_GridComp/GEOS_OradBioGridComp/GEOS_OradBioGridComp.F90#L179-L186
need exports, preferably on lat-lon grid:

SWHEAT
KPAR
TIRRQ
CDOMABSQ

Variables such as:
MODIS Aerosols (Atmospheric Optics) that Data Atmosphere cannot get from real atmosphere should be available from data file(s) and Data Atmosphere has to provide them.

Following seems to be an error!
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/0a4ddaf62aadc82e5870d8a5ae75a307fffbb3e3/GEOSogcm_GridComp/GEOS_OgcmGridComp.F90#L976
It should be DO_DATAATM==1??

Following seems to be an error!
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/0a4ddaf62aadc82e5870d8a5ae75a307fffbb3e3/GEOSogcm_GridComp/GEOS_OgcmGridComp.F90#L976
It should be DO_DATAATM==1??

Following seems to be an error!
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/0a4ddaf62aadc82e5870d8a5ae75a307fffbb3e3/GEOSogcm_GridComp/GEOS_OgcmGridComp.F90#L976
It should be DO_DATAATM==1??

per @gmao-croussea
I don't think that is an error because when we run DATA ATM we import whats called DUSD, DUDP and DUWT

Following seems to be an error!
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/0a4ddaf62aadc82e5870d8a5ae75a307fffbb3e3/GEOSogcm_GridComp/GEOS_OgcmGridComp.F90#L976
It should be DO_DATAATM==1??

per @gmao-croussea
I don't think that is an error because when we run DATA ATM we import whats called DUSD, DUDP and DUWT

Following seems to be an error!
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/0a4ddaf62aadc82e5870d8a5ae75a307fffbb3e3/GEOSogcm_GridComp/GEOS_OgcmGridComp.F90#L976
It should be DO_DATAATM==1??

per @gmao-croussea
I don't think that is an error because when we run DATA ATM we import whats called DUSD, DUDP and DUWT

I doubt there should be any if there. Chemistry should provide these depositions.

Following seems to be an error!
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/0a4ddaf62aadc82e5870d8a5ae75a307fffbb3e3/GEOSogcm_GridComp/GEOS_OgcmGridComp.F90#L976
It should be DO_DATAATM==1??

per @gmao-croussea
I don't think that is an error because when we run DATA ATM we import whats called DUSD, DUDP and DUWT

I doubt there should be any if there. Chemistry should provide these depositions.

Following seems to be an error!
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/0a4ddaf62aadc82e5870d8a5ae75a307fffbb3e3/GEOSogcm_GridComp/GEOS_OgcmGridComp.F90#L976
It should be DO_DATAATM==1??

per @gmao-croussea
I don't think that is an error because when we run DATA ATM we import whats called DUSD, DUDP and DUWT

I doubt there should be any if there. Chemistry should provide these depositions.

I agree @yvikhlya This entire subroutine is called only when DO_OBIO/=0 so we should take the if ... endif off. @gmao-esherman please let's remember!

Following seems to be an error!
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/0a4ddaf62aadc82e5870d8a5ae75a307fffbb3e3/GEOSogcm_GridComp/GEOS_OgcmGridComp.F90#L976
It should be DO_DATAATM==1??

per @gmao-croussea
I don't think that is an error because when we run DATA ATM we import whats called DUSD, DUDP and DUWT

I doubt there should be any if there. Chemistry should provide these depositions.

I agree @yvikhlya This entire subroutine is called only when DO_OBIO/=0 so we should take the if ... endif off. @gmao-esherman please let's remember!

Following seems to be an error!
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/0a4ddaf62aadc82e5870d8a5ae75a307fffbb3e3/GEOSogcm_GridComp/GEOS_OgcmGridComp.F90#L976
It should be DO_DATAATM==1??

per @gmao-croussea
I don't think that is an error because when we run DATA ATM we import whats called DUSD, DUDP and DUWT

I doubt there should be any if there. Chemistry should provide these depositions.

I agree @yvikhlya This entire subroutine is called only when DO_OBIO/=0 so we should take the if ... endif off. @gmao-esherman please let's remember!

Noted!

Following seems to be an error!
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/0a4ddaf62aadc82e5870d8a5ae75a307fffbb3e3/GEOSogcm_GridComp/GEOS_OgcmGridComp.F90#L976
It should be DO_DATAATM==1??

per @gmao-croussea
I don't think that is an error because when we run DATA ATM we import whats called DUSD, DUDP and DUWT

I doubt there should be any if there. Chemistry should provide these depositions.

I agree @yvikhlya This entire subroutine is called only when DO_OBIO/=0 so we should take the if ... endif off. @gmao-esherman please let's remember!

Noted!

Since https://github.com/GEOS-ESM/GEOSgcm_GridComp/pull/401 is merged, so closing this issue.
If @gmao-esherman, @gmao-croussea have any problems, open it again as needed.


Guide for setting this up with Nextcloud

I'm not really sure where to start with setting this up with Nextcloud. Is there a guide I can follow to help me along?

This is really out of scope. Your question is about installation / devops and has nothing to do with any specific features of this project.
I'm closing the issue.
To get you started, however:

Install Docker or Kubernetes (k3s is a good option).
follow instruction manuals for nextcloud
follow instructions for installing docker-postfix
reference the SMTP server from your nextcloud installation (the name will depend on what you've chosen when setting up the Docker / Kubernetes container).

Sorry, I just didn't know where else to ask. Thank you.


Spike: Inline editing

Description
As a user I want to see my face modifications live in my photo without zooming in or destroying the rest of the photo.
Proposed solution:
Allow for a model with InlineViewer.  Instead of rendering to the screen, render to the image replacing the content.  So for example, if the original face is offset by 100,100 and of size 40,40, we will need to run the generator, scale the output of the generator, and place it back into the 100,100 location at 40,40 size(rescaling and translating).

Current bugs:

preserve aspect ratio on input image
place image back in scene
joinImageWithFace doesn't account for landscape manipulation


Add PinkSale project

Name: Project name
Description: PinkSale is a protocol aiming to provide users with the capabilities to launch their own token and create their own initial token sale. No code is required, simply navigate through our terminal and design your own token and token launch with just a few clicks.
Link:   https://www.pinksale.finance/
Source: https://github.com/pinkmoonfinance/pinksale-contracts
Tags:

featured
pooltool

You cannot set featured tag yourself

You cannot set featured tag yourself, nor is the linked site related to pools (to use pooltool tag)

Edited, please review my request

Hello @pinkmoonfinance ,
thank you for your contribution and for building on Cardano. This PR has been open for more than 3 weeks and I would like to give you a little feedback. Projects need 3 reviewer approvals and it seems the project didn't get enough "traction" among the reviewers.
Please note that showcase projects need to provide a unique value from existing showcase items - which is especially difficult with many tokens and NFT. Feel free to join the discussion here: #243
Suggestions:

Close this PR, try to improve it, try to get more traction in the community and come back later.
Add your project to https://github.com/input-output-hk/essential-cardano as there is an attempt to generate a complete list instead of highlighting specific ones.
Maybe you could also find other parts in the portal where you can contribute.

hi there, please approve my PR

Closing due to not enough approvals for a long time. Please note that showcase projects need to provide a unique value from existing showcase items, feel free to join the discussion here: #243


[GB] check installed deps & log user friendly error, fix #2455

If a user has not installed Gekko Broker, Gekko will now log a more user friendly error like:
➜  gekko git:(hotfix/gb-check-installed-deps) ✗ node gekko -c cer.js

    ______   ________  __    __  __    __   ______
   /      \ /        |/  |  /  |/  |  /  | /      \
  /$$$$$$  |$$$$$$$$/ $$ | /$$/ $$ | /$$/ /$$$$$$  |
  $$ | _$$/ $$ |__    $$ |/$$/  $$ |/$$/  $$ |  $$ |
  $$ |/    |$$    |   $$  $$<   $$  $$<   $$ |  $$ |
  $$ |$$$$ |$$$$$/    $$$$$  \  $$$$$  \  $$ |  $$ |
  $$ \__$$ |$$ |_____ $$ |$$  \ $$ |$$  \ $$ \__$$ |
  $$    $$/ $$       |$$ | $$  |$$ | $$  |$$    $$/
   $$$$$$/  $$$$$$$$/ $$/   $$/ $$/   $$/  $$$$$$/

  Gekko v0.6.5
  I'm gonna make you rich, Bud Fox.

2018-08-20 15:26:46 (INFO): Setting up Gekko in realtime mode
2018-08-20 15:26:46 (INFO):
2018-08-20 15:26:46 (INFO): Setting up:
2018-08-20 15:26:46 (INFO):    Trading Advisor
2018-08-20 15:26:46 (INFO):    Calculate trading advice
2018-08-20 15:26:46 (INFO):    Using the strategy: DEBUG_single-advice

The following Gekko Broker dependencies are not installed: [ binance, bitx, coinfalcon, gdax, kraken-api, gekko-broker-poloniex, gekko-bittrex ].

You need to install them first, read here how: https://gekko.wizb.it/docs/installation/installing_gekko.html#Installing-Gekko-39-s-dependencies

Or with the UI (in the terminal)
  <-- GET /api/configPart/paperTrader
  --> GET /api/configPart/paperTrader 200 15ms 132b
  <-- POST /api/startGekko

The following Gekko Broker dependencies are not installed: [ binance, bitx, coinfalcon, gdax, kraken-api, gekko-broker-poloniex, gekko-bittrex ].

You need to install them first, read here how: https://gekko.wizb.it/docs/installation/installing_gekko.html#Installing-Gekko-39-s-dependencies

Showing them in the UI is too much work, I'll make sure that happens in the next UI I'm building.

Great! Thank you very much!


Upgrade altbeacon module to 2.6.1

Upgrade classes.jar to version 2.6.1 (https://github.com/AltBeacon/android-beacon-library/tree/2.6.1).
It's introduced because of the following bug fixes and additions:

https://github.com/AltBeacon/android-beacon-library/releases/tag/2.6
https://github.com/AltBeacon/android-beacon-library/releases/tag/2.3.1

@dwk5123 Add event serviceBound on after binding the beaconservice.