Visual Studio 2019 Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\15.0\Bin\MSBuild.exe ENOENT

Does anyone have a workaround for this?   When I run yarn and it tries to compile node-sass, it throws an error.  I know this is due to the deprecated node-gyp trying to use VS2019 to compile.   I've installed the windows build tools for VS2017 and VS2015 but how do I get it to look there?
gyp ERR! stack Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\15.0\Bin\MSBuild.exe ENOENT
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
gyp ERR! stack     at onErrorNT (internal/child_process.js:456:16)
gyp ERR! stack     at processTicksAndRejections (internal/process/task_queues.js:80:21)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\ProjAngular\\SupervisionServices\\node_modules\\devextreme-cli\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\ProjAngular\SupervisionServices\node_modules\devextreme-cli\node_modules\node-sass
gyp ERR! node -v v12.13.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! This is a bug in `node-gyp`.

Originally posted by @nhustak in https://github.com/sass/node-sass/issues/2851#issuecomment-601220369

I'm using sass instead it is the only reliable way for VSCode as it prebuilds packages and do not recompile them as you're changing node version.

Hi I am having similar issue with npm ci
But I have more details just above the error you mentioned.
 Traceback (most recent call last):
  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py", line 50, in <module>
    sys.exit(gyp.script_main())
  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 554, in script_main
    return main(sys.argv[1:])
  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 547, in main
    return gyp_main(args)
  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 532, in gyp_main
    generator.GenerateOutput(flat_list, targets, data, params)
  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 2034, in GenerateOutput
    sln_projects, project_objects, flat=msvs_version.FlatSolution())
  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 1791, in _GatherSolutionFolders
    return _DictsToFolders('', root, flat)
  File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 1744, in _DictsToFolders
    for folder, contents in bucket.items():
AttributeError: 'MSVSProject' object has no attribute 'items'
gyp ERR! configure error

For me it's related to node-gyp trying to rebuild fsevents on windows, even though it's not intended for windows.
From what I see in my project's dependencies only node-sass requires the node-gyp pacakge.
See more info here
https://github.com/fsevents/fsevents/issues/301

@saper, I was facing a similar problem right now. I saw that node-sass try to download a pre-compiled binary from Github respecting the supported node version.
In my case, I was trying to install<EMAIL_ADDRESS>(which supports node version 10) and my node version is 12. What I did was to manually download the .node file from the latest release (which supports my node version) and put it at npm-cache\node-sass\4.9.3.
After this I was able to npm install without problems. But I think that downgrading your node could solve this problem as well.

Thanks @jvretamero - in your case you need to figure out which part of your project keeps node-sass version low (for example by requiring ^4.9). Sometimes one has to find the project and ask them to update the dependency, like I did here for Pinafore:
https://github.com/nolanlawson/pinafore/pull/1625
If there is no matching binary, your system will fall back into compilation - and it might run into this issue we have here.

This is has been going on for months.  Apparently it's never going to be fixed.   Node-Sass is locked to a super old version of node-gyp.   I'm trying to figure out how to remove node-sass from my Angular build - I'll never use it again.

As things currently stand, this workaround might work: https://github.com/nodejs/node-gyp/issues/1753#issuecomment-496024604 . Or it might not, it's completely unsupported.
@saper please consider removing the requirement for an explicit version of node-gyp. If I understand correctly, the problem with using new versions of node-gyp is that support for Node.js < 6 was dropped. Anyone willing to use an ancient version of Node.js with known vulnerabilities should also be willing to use an old version of node-sass, and versions of Node.js < 10 should not be recommended anywhere. There are frequent issues on the node-gyp issue tracker about this (example), but nothing can be done there since new versions already fix the problem.

As things currently stand, this workaround might work: nodejs/node-gyp#1753 (comment) . Or it might not, it's completely unsupported.

It worked for me to get around the node-gyp build errors re: MSBuild.  Used the following npm config to get a good build with VS2019 Pro installed locally.
npm config set msvs_version 2017
npm config set msbuild_path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\MSBuild.exe"

I have the similar issue, I got the following errors.
gyp verb command build []
gyp verb download using dist-url https://npm.taobao.org/dist
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir C:\Users\Liu.D.H\.node-gyp\14.8.0
gyp verb found first Solution file build/binding.sln
gyp verb using MSBuild: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe
gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe
gyp info spawn args [
gyp info spawn args   'build/binding.sln',
gyp info spawn args   '/nologo',
gyp info spawn args   '/p:Configuration=Release;Platform=x64'
gyp info spawn args ]
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe ENOENT
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
gyp ERR! stack     at onErrorNT (internal/child_process.js:468:16)
gyp ERR! stack     at processTicksAndRejections (internal/process/task_queues.js:80:21)
gyp ERR! System Windows_NT 10.0.19041
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\code\\graphql\\vue-graphql-node\\client\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd D:\code\graphql\vue-graphql-node\client\node_modules\node-sass
gyp ERR! node -v v14.8.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! This is a bug in `node-gyp`.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR!     <https://github.com/nodejs/node-gyp/issues>

In my computer, The path C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe does not exist, the correct path for it is C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe.
Maybe an update of node-gyp could fix this path issue.

When installing Visual Studio 2017 C++ Build Tools v141 using Visual Studio Installer, I was able to make this install, even when running latest Visual Studio, with no additional configuration required.

As things currently stand, this workaround might work: nodejs/node-gyp#1753 (comment) . Or it might not, it's completely unsupported.

It worked for me to get around the node-gyp build errors re: MSBuild. Used the following npm config to get a good build with VS2019 Pro installed locally.
npm config set msvs_version 2017
npm config set msbuild_path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\MSBuild.exe"

You Sir , Are a goooooood man ,You saved me afte i wasted 6+hours to fix this issue,I wish i had found your post earlier

gyp verb using MSBuild: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\15.0\Bin\MSBuild.exe
gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\15.0\Bin\MSBuild.exe
gyp info spawn args [
gyp info spawn args   'build/binding.sln',
gyp info spawn args   '/nologo',
gyp info spawn args   '/p:Configuration=Release;Platform=x64'
gyp info spawn args ]
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\15.0\Bin\MSBuild.exe ENOENT
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
gyp ERR! stack     at onErrorNT (internal/child_process.js:465:16)
gyp ERR! stack     at processTicksAndRejections (internal/process/task_queues.js:80:21)
gyp ERR! System Windows_NT 10.0.18363
facing the same issue.

gyp verb using MSBuild: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\15.0\Bin\MSBuild.exe
gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\15.0\Bin\MSBuild.exe
gyp info spawn args [
gyp info spawn args   'build/binding.sln',
gyp info spawn args   '/nologo',
gyp info spawn args   '/p:Configuration=Release;Platform=x64'
gyp info spawn args ]
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\15.0\Bin\MSBuild.exe ENOENT
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
gyp ERR! stack     at onErrorNT (internal/child_process.js:465:16)
gyp ERR! stack     at processTicksAndRejections (internal/process/task_queues.js:80:21)
gyp ERR! System Windows_NT 10.0.18363
facing the same issue.

I'm trying to create a new VueJS project and when I add the node-sass (and only in that case) I also get this error.
This is my full logs of the issue:

npm ERR! code 1
npm ERR! path F:\SoftwareProjects\synagogue-vuetify\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node scripts/build.js
npm ERR! Building: C:\Program Files\nodejs\node.exe F:\SoftwareProjects\synagogue-vuetify\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
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   'F:\SoftwareProjects\synagogue-vuetify\node_modules\node-gyp\bin\node-gyp.js',
npm ERR! gyp verb cli   'rebuild',
npm ERR! gyp verb cli   '--verbose',
npm ERR! gyp verb cli   '--libsass_ext=',
npm ERR! gyp verb cli   '--libsass_cflags=',
npm ERR! gyp verb cli   '--libsass_ldflags=',
npm ERR! gyp verb cli   '--libsass_library='
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 check python checking for Python executable "python2" in the PATH
npm ERR! gyp verb which failed Error: not found: python2
npm ERR! gyp verb which failed     at getNotFoundError (F:\SoftwareProjects\synagogue-vuetify\node_modules\which\which.js:13:12)
npm ERR! gyp verb which failed     at F (F:\SoftwareProjects\synagogue-vuetify\node_modules\which\which.js:68:19)
npm ERR! gyp verb which failed     at E (F:\SoftwareProjects\synagogue-vuetify\node_modules\which\which.js:80:29)
npm ERR! gyp verb which failed     at F:\SoftwareProjects\synagogue-vuetify\node_modules\which\which.js:89:16
npm ERR! gyp verb which failed     at F:\SoftwareProjects\synagogue-vuetify\node_modules\isexe\index.js:42:5
npm ERR! gyp verb which failed     at F:\SoftwareProjects\synagogue-vuetify\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb which failed     at FSReqCallback.oncomplete (node:fs:194:21)
npm ERR! gyp verb which failed  python2 Error: not found: python2
npm ERR! gyp verb which failed     at getNotFoundError (F:\SoftwareProjects\synagogue-vuetify\node_modules\which\which.js:13:12)
npm ERR! gyp verb which failed     at F (F:\SoftwareProjects\synagogue-vuetify\node_modules\which\which.js:68:19)
npm ERR! gyp verb which failed     at E (F:\SoftwareProjects\synagogue-vuetify\node_modules\which\which.js:80:29)
npm ERR! gyp verb which failed     at F:\SoftwareProjects\synagogue-vuetify\node_modules\which\which.js:89:16
npm ERR! gyp verb which failed     at F:\SoftwareProjects\synagogue-vuetify\node_modules\isexe\index.js:42:5
npm ERR! gyp verb which failed     at F:\SoftwareProjects\synagogue-vuetify\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb which failed     at FSReqCallback.oncomplete (node:fs:194:21) {
npm ERR! gyp verb which failed   code: 'ENOENT'
npm ERR! gyp verb which failed }
npm ERR! gyp verb check python checking for Python executable "python" in the PATH
npm ERR! gyp verb which succeeded python C:\Python27\python.EXE
npm ERR! gyp verb check python version C:\Python27\python.EXE -c "import sys; print "2.7.18 npm ERR! gyp verb check python version .%s.%s" % sys.version_info[:3];" returned: %j
npm ERR! gyp verb get node dir no --target version specified, falling back to host node version: 15.6.0
npm ERR! gyp verb command install [ '15.6.0' ]
npm ERR! gyp verb install input version string "15.6.0"
npm ERR! gyp verb install installing version: 15.6.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: 15.6.0
npm ERR! gyp verb build dir attempting to create "build" dir: F:\SoftwareProjects\synagogue-vuetify\node_modules\node-sass\build
npm ERR! gyp verb build dir "build" dir needed to be created?    This is a bug in node-gyp.
npm ERR! gyp ERR! Try to update node-gyp and file an Issue if it does not help:
npm ERR! gyp ERR!     https://github.com/nodejs/node-gyp/issues
npm ERR! Build failed with error code: 7
npm ERR!      C:\Users\OmriYaHoo\AppData\Local\npm-cache_logs\2021-01-21T19_30_56_518Z-debug.log

My machine has a brand new installation of Windows 10 20H2 build 19042.746 with all the build tools of Visual Studio 2019 installer installed.
Other Versions:
node: 15.6.0
vue-cli: 4.5.10
The version of node-sass that is trying to be installed is 4.12.0

I'm trying to create a new VueJS project and when I add the node-sass (and only in that case) I also get this error.
This is my full logs of the issue:

npm ERR! code 1
npm ERR! path F:\SoftwareProjects\synagogue-vuetify\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node scripts/build.js
npm ERR! Building: C:\Program Files\nodejs\node.exe F:\SoftwareProjects\synagogue-vuetify\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
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   'F:\SoftwareProjects\synagogue-vuetify\node_modules\node-gyp\bin\node-gyp.js',
npm ERR! gyp verb cli   'rebuild',
npm ERR! gyp verb cli   '--verbose',
npm ERR! gyp verb cli   '--libsass_ext=',
npm ERR! gyp verb cli   '--libsass_cflags=',
npm ERR! gyp verb cli   '--libsass_ldflags=',
npm ERR! gyp verb cli   '--libsass_library='
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 check python checking for Python executable "python2" in the PATH
npm ERR! gyp verb which failed Error: not found: python2
npm ERR! gyp verb which failed     at getNotFoundError (F:\SoftwareProjects\synagogue-vuetify\node_modules\which\which.js:13:12)
npm ERR! gyp verb which failed     at F (F:\SoftwareProjects\synagogue-vuetify\node_modules\which\which.js:68:19)
npm ERR! gyp verb which failed     at E (F:\SoftwareProjects\synagogue-vuetify\node_modules\which\which.js:80:29)
npm ERR! gyp verb which failed     at F:\SoftwareProjects\synagogue-vuetify\node_modules\which\which.js:89:16
npm ERR! gyp verb which failed     at F:\SoftwareProjects\synagogue-vuetify\node_modules\isexe\index.js:42:5
npm ERR! gyp verb which failed     at F:\SoftwareProjects\synagogue-vuetify\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb which failed     at FSReqCallback.oncomplete (node:fs:194:21)
npm ERR! gyp verb which failed  python2 Error: not found: python2
npm ERR! gyp verb which failed     at getNotFoundError (F:\SoftwareProjects\synagogue-vuetify\node_modules\which\which.js:13:12)
npm ERR! gyp verb which failed     at F (F:\SoftwareProjects\synagogue-vuetify\node_modules\which\which.js:68:19)
npm ERR! gyp verb which failed     at E (F:\SoftwareProjects\synagogue-vuetify\node_modules\which\which.js:80:29)
npm ERR! gyp verb which failed     at F:\SoftwareProjects\synagogue-vuetify\node_modules\which\which.js:89:16
npm ERR! gyp verb which failed     at F:\SoftwareProjects\synagogue-vuetify\node_modules\isexe\index.js:42:5
npm ERR! gyp verb which failed     at F:\SoftwareProjects\synagogue-vuetify\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb which failed     at FSReqCallback.oncomplete (node:fs:194:21) {
npm ERR! gyp verb which failed   code: 'ENOENT'
npm ERR! gyp verb which failed }
npm ERR! gyp verb check python checking for Python executable "python" in the PATH
npm ERR! gyp verb which succeeded python C:\Python27\python.EXE
npm ERR! gyp verb check python version C:\Python27\python.EXE -c "import sys; print "2.7.18 npm ERR! gyp verb check python version .%s.%s" % sys.version_info[:3];" returned: %j
npm ERR! gyp verb get node dir no --target version specified, falling back to host node version: 15.6.0
npm ERR! gyp verb command install [ '15.6.0' ]
npm ERR! gyp verb install input version string "15.6.0"
npm ERR! gyp verb install installing version: 15.6.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: 15.6.0
npm ERR! gyp verb build dir attempting to create "build" dir: F:\SoftwareProjects\synagogue-vuetify\node_modules\node-sass\build
npm ERR! gyp verb build dir "build" dir needed to be created?    This is a bug in node-gyp.
npm ERR! gyp ERR! Try to update node-gyp and file an Issue if it does not help:
npm ERR! gyp ERR!     https://github.com/nodejs/node-gyp/issues
npm ERR! Build failed with error code: 7
npm ERR!      C:\Users\OmriYaHoo\AppData\Local\npm-cache_logs\2021-01-21T19_30_56_518Z-debug.log

My machine has a brand new installation of Windows 10 20H2 build 19042.746 with all the build tools of Visual Studio 2019 installer installed.
Other Versions:
node: 15.6.0
vue-cli: 4.5.10
The version of node-sass that is trying to be installed is 4.12.0

I ran below 2 commands, fixed above issue.

npm config set msvs_version 2017
npm config set msbuild_path    "C:\Program Files (x86)\Microsoft Visual   Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe"

happy!

As things currently stand, this workaround might work: nodejs/node-gyp#1753 (comment) . Or it might not, it's completely unsupported.

It worked for me to get around the node-gyp build errors re: MSBuild. Used the following npm config to get a good build with VS2019 Pro installed locally.
npm config set msvs_version 2017
npm config set msbuild_path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\MSBuild.exe"

good

As things currently stand, this workaround might work: nodejs/node-gyp#1753 (comment) . Or it might not, it's completely unsupported.

It worked for me to get around the node-gyp build errors re: MSBuild. Used the following npm config to get a good build with VS2019 Pro installed locally.
npm config set msvs_version 2017
npm config set msbuild_path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\MSBuild.exe"

npm config set msbuild_path "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe"

This works for me and thank you.


[MISC] Update rock

Updating rock due to outdated dependencies:
Revision r66 (amd64; channels: 14/edge)
 * libllvm14: 6258-1

Should also have the updated Pgbackrest

Changed maintainers.


Update before_filter to before_action

@Ceda it was fixed in the original repo https://github.com/osulyanov/redactor2_rails


ESLint and ESLint-Plugin-React rules together with ES6.

First of all, thanks. This is really a useful library.
When using Eslint-Plugin-React, the plugin says that react/no-string-refs: Using this.refs is deprecated. The description of this rule can be found here.

Therefore, I started to lint index.js and Tweener.js files by using ESLint and Eslint-Plugin-React.
And now, I finished the linting and converting to an ES6 class.
Some information;

I can use this plugin on an Android emulator on Windows. But this code never tested completely for Android and espically iOS.
index.js and Tweener.js have been linted.
The drawer component -that is within the index.js file- has been refocatored as an ES6 class. Removed 'this.ref' usages.
Added Android example file.
SliderIOS components changed with react-native-slider components and SwitchIOS components changed with Switch components. Because of the shortage of an iOS, they have not been tested on any iOS emulator.

awesome stuff, this is going to take a little time to go through but I should be able to review this week

I guess .eslintrc file has been configured as so tightly. It might be a little bit frustrating :smiley:

Merged +1
I think in the near term I will move eslint to use eslint-config-rackt or similar. For now I just made a couple of specific changes (namely spaces vs tabs, no semi colons).
Many thanks! this is a big step in the right direction.


Switch testing nic to e1000

This nic should make testing more portable. Clearly it makes the Github actions pass all tests on MacOS, for the first time.

if the aim of this change is to get the same test between vbox and libvirt, this won't work. The option is called 'nic_model_type' on libvirt provider and 'default_nic_type' with vbox provider. That's why I've added different tests in my current work at https://github.com/apatard/molecule-vagrant/tree/vbox3

The goal was to pass testing on MacOS without a regression on Linux as this would enable us to make github testing required.

you need different tests for provider_options with vbox and libvirt due to the different nic options names and vagrant will refuse to start a VM if it finds an unexpected option

oh, I totally forgot:

on linux, vbox is using a nic compatible with e1000 by default, so the check may pass even if the option didn't work (that's why my test is using virtio)
the nic is not called 'e1000' by vbox even if it's a e1000-compatible nic


Error: 429 Too Many Requests

Issue
To use bedrock model,Error: 429 Too Many Requests

Version and model info
No response

Thanks for trying aider and filing this issue.
It looks like AWS is saying you have exceeded your rate limit.

it can be consistently reproduced. When I ask twice in a row, the first time returns normally, but the second time shows a rate limit warning.


Stage to Main Sync Up

Stage to Main Sync Up
Test URLs:

Before: https://main--express--adobecom.hlx.page/express/?martech=off
After: https://stage--express--adobecom.hlx.page/express/?martech=off

Codecov Report
Attention: Patch coverage is 16.66667% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 36.64%. Comparing base (157e79e) to head (74ff465).
Report is 4 commits behind head on main.

Files
Patch %
Lines

express/blocks/pricing-cards/pricing-cards.js
16.66%
5 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #790      +/-   ##
==========================================
+ Coverage   36.55%   36.64%   +0.08%
==========================================
  Files         132      132
  Lines       25932    25938       +6
==========================================
+ Hits         9480     9504      +24
+ Misses      16452    16434      -18

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


healthmanagementsysyem: Missing Test Case

Hi,
Test cases are missing for health management system.

Hi,
Can I add some test cases for the project?
Thank you.
Mini

could you please assign this to me @Mrinank-Bhowmick
Thank you


Update repositories.json

Add my repository containing my Sonos Advanced Controller app and drivers. Will add other apps and drivers as time allows, but primarily I'd like to have this available to the community.

manually merged.


Add class def in addition to MRO

# pycg/processing/cgprocessor.py
...
if pointer_def.get_type() == utils.constants.CLS_DEF:

    # Class def
    self.call_graph.add_edge(self.current_method, pointer)
...

For our purposes we would also want the class itself. Would it be possible to add the option to include it as an edge in the  config?

Closing due to archival of repository.


declare jquery, jquery-ui and lodash.debounce as regular dependencies

To simplify use in downstream projects, declare the above-mentioned libraries as regular dependencies, rather than peer-dependencies.

This depends on LaxarJS/laxar-infrastructure#7

Implemented on master (v2.0.0).


Support selected child for tabs in TabBar.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
NavigationBar has this nice API for navigation items where each item can specify its icon and activeIcon separately. This helps in cases where user wants different behavior for selected state.
This behavior however, is missing from TabBar widget. We can only specify icon or child which is used for both selected and unselected state with different icon themes. While this works great when you're using Icon or ImageIcon widgets that can hook into these inherited themes, it doesn't work for a custom requirement.
e.g. Using an svg icon with SvgPicture widget from flutter_svg package. This doesn't hook into those inherited themes. The styling has to be specified manually. And since current implementation uses inherited widgets, there is no way to get those from context without using a Builder widget on the Tab child which is more boilerplate.

AFAIK, I am pretty sure no workaround exists for this in the current API for Tab.

Proposal
It would be nice to have selectedChild or activeIcon to be able to specify widgets for selected state.
TabBar(
  tabs: [
    Tab(
      icon: SvgPicture.asset('assets/ic_home.svg', color: Colors.grey),
      selectedIcon: SvgPicture.asset('assets/ic_home.svg', color: Theme.of(context).colorScheme.primary),
    ),
  ],
);

Since Tabs support either specifying icon, label or child, corresponding selected states are required: selectedIcon, selectedLabel, selectedChild. I am fine with only having selectedChild too if its too much trouble adding selectedIcon and selectedLabel.

This is a nice idea. Only labeling P3 because we don't have near-term plans to address it.


Custom types with defined implicit cast to bool are unsupported by BoolToVisibility converter

I faced in issue in my project. When using a type which has defined implicit cast to bool in a property, binding visibility to that property doesn't work and conversion fails with following message:
System.InvalidCastException: Specified cast is not valid.
It happens because of explicit cast is called on value in BoolToVisibilityConverter.Convert:
             if ((bool)value)                 return Visibility.Visible;
this test reproduces issue:
        [Test]
        public void DoesNotFailConvertingWhenValueHasImplicitConversionToBool()
        {
            Assert.DoesNotThrow(() =>
                new BoolToVisibilityConverter()
                .Convert(new CastableToBoolean(true), typeof(Visibility), null, CultureInfo.CurrentCulture));
        }

        private sealed class CastableToBoolean
        {
            private bool value;

            public CastableToBoolean(bool value = false)
            {
                this.value = value;
            }

            public static implicit operator bool(CastableToBoolean obj)
            {
                return obj.value;
            }
        }

Hi,
I agree with problem, but disagree with solution. I think it can be made shorter and more clear. How about using DLR?
     public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
     {
       var boolValue = (value is bool) ? (bool)value : (bool)(dynamic)value;
       ...
     }

If we remove cast to bool after dynamic cast, we handle implicit operators. If we leave bool cast, we can handle both explicit and implicit operators. What do you say?

Hi Alex,
your solution looks nice and beautiful, much better than my, but, unfortunately, it doesn't work for case specified.
... : (bool)(dynamic)value will cause same InvalidCastException
... : (dynamic)value will cause RuntimeBinderException saying that there is no implicit cast between object and bool.

Hi Roman,
Ok, I compared yours and my examples. The difference is only in access modifier of CastableToBoolean. I use 'public class' and you use 'private class'. Because of privacy of the class dlr can't acess to implicit operator. Change access modifier on 'public' solve this problem.
Hmm, because the sample class models the class being used as the type of the source property, it must be public, as well as the property itself, otherwise the binding will simply not work, this is a general requirement for all properties (https://docs.microsoft.com/en-us/dotnet/framework/wpf/data/binding-sources-overview#other-characteristics).
So the solution of this problem is in changing the access modifier of convertable class to public.

I have checked - yes, you are right.

Ok, I glad that we solved this problem by our efforts :) I will commit the changes and release a new version tomorrow

Version <IP_ADDRESS> with fix released


add missing type Ext

also there is no way to get tag and data from a Ext object...

Hi, thank you for the contribution.

This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Learn about vigilant mode

This commit was created on GitHub.com and signed with GitHub’s verified signature. GPG key ID: B5690EEEBB952194 Learn about vigilant mode

That is unrelated. This repository uses the DCO app to enforce the Developer Certificate of Origin, see https://github.com/apps/dco.


Apply for a permit: The cost of the permit is not clear

Impact: Users may leave the application to try to find more information about the cost of permits.
Evidence: “Don’t see how long it lasts, so not clear on cost.”
I’d want to know the cost so that I could be sure I can cover the cost.”

See #313

Duplicate of #313.


libjack2: 1.9.19 -> 1.9.22

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/jackaudio/jack2/releases.
meta.description for libjack2 is: JACK audio connection kit, version 2 with jackdbus
meta.homepage for libjack2 is: https://jackaudio.org
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.9.22 with grep in /nix/store/b0jc186qb0xm97j4db2af6vfh1dm3sy3-libjack2-1.9.22
found 1.9.22 in filename of file in /nix/store/b0jc186qb0xm97j4db2af6vfh1dm3sy3-libjack2-1.9.22

Rebuild report (if merged into master) (click to expand)

3321 total rebuild path(s)

3321 package rebuild(s)

First fifty rebuilds by attrpath
CHOWTapeModel
ChowCentaur
ChowKick
ChowPhaser
CuboCore.corepdf
CuboCore.coretoppings
EmptyEpsilon
LibreArp
LibreArp-lv2
MIDIVisualizer
MMA
PageEdit
SDL2
SDL2_gfx
SDL2_image
SDL2_image_2_0_5
SDL2_mixer
SDL2_mixer_2_0
SDL2_net
SDL2_sound
SDL2_ttf
SDL_audiolib
SDL_compat
SDL_gpu
SDL_mixer
Sylk
_1oom
_20kly
_7kaa
_86Box
_90secondportraits
a2jmidid
aaxtomp3
abbaye-des-morts
abracadabra
abuse
acoustidFingerprinter
activitywatch
adapta-gtk-theme
adl
adoptopenjdk-icedtea-web
aegisub
aeolus
ahoviewer
aitrack
aj-snapshot
ajour
alass
alephone
alfaview

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/b0jc186qb0xm97j4db2af6vfh1dm3sy3-libjack2-1.9.22 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A libjack2 https://github.com/r-ryantm/nixpkgs/archive/1260276f1a7b2aeccbc16acdfb54c54c06aa3cc5.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/b0jc186qb0xm97j4db2af6vfh1dm3sy3-libjack2-1.9.22
ls -la /nix/store/b0jc186qb0xm97j4db2af6vfh1dm3sy3-libjack2-1.9.22/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @cillianderoiste for testing.

@ofborg eval

Cherry-picked to master, builds on macos 10.15 & nixos x86_64.
Built qjackctl & ardour, nixos x86_64


add youtube/video downloads and viewer

This PR adds functionality to download videos from most popular video websites, so they can be viewed by students in the open content page/viewer.

The Provider Middleware is now equipped with three additional jobs, which it subscribes to via the NATS message queue.

Add videos:

This job accepts an array of video URLs input by an administrator, and attempts a download one at a time.

Retry failed downloads

This job is run automatically every 3 hours, and attempts to re-download any videos that have failed to download in the past.
Each time a download is attempted, an attempt is added for that video, and after 5 attempts, the video will no longer retry, and the administrator will be prompted to remove the video, and the relevant error message will be displayed.

Retry single video download

An administrator can select to attempt to retry the download manually, although the previous rule of 5 attempts maximum still applies. There is an endpoint at /api/videos/{id}/retry that will publish the job to NATS.

This feature requires a google data/youtube API key, which needs only be entered once.

The Add Videos button will not appear until the user has added the relevant API key.
Then the video can be viewed upon clicking a valid link

Does this have other changes besides the youtube additions? It seems like there are a bunch of files that have changes that are tied to linting maybe? Reviewing 75 files and over 2,000 lines of code seems tough

This is the student view of videos- you probably shouldnt see "Video management" here, since the student wouldn't be managing the content. I don't even really think you really need that header at all honestly.

In terms of real life usability, I think we should consider putting some sort of informational hover instructing the admin what a "youtube key" is, and how they would be able to get one. I only know what that is because you told me that it was in a developer account on google, but I had to look up how to get one for it to work. This can be a future ticket, but I definitely think it should be something to consider.
Something like this:

After I put in the URL and it told me it was attempting to download, maybe we should refresh the page automatically in order to be able to view the video? In the future we should definitely include something in the UI that illustrates that we received the request for that specific video and display that the content is loading to keep the user up-to-date on the status of their request. If not, the user is left there waiting on an empty screen not knowing if it has gone through or not. In order to see if my video had gone through successfully, I had to refresh the page (where it then appeared).
On that note- if you refresh the page (which you have to) it sets the tab back to the default "Libraries" tab, even though we are on the video page. See the top tab view:

As a user, if i put an invalid link (such as that of a YT profile), I should probably be notified that it is either an invalid link or that it has failed.

Right now, it shows nothing after the success toast (even after a refresh), since it does not create a card because it is not a video

Should you be able to upload the same video twice?

Features I have tried that work:

searching by the title
adding multiple links WITH commas
visible/hidden toggle & successfully changes it in the student portal
viewing the video in the video viewer page

Features that do not work:

Deleting a video does not work, it rather redirects you to the video viewing page. I assume that is because you have the onclick that redirects to the video viewing page to be on the entire card. You’ll need to increase the z-index of the trash can for it to trigger that button over the redirect.
Sort does not work. If we dont need it at the moment, you can just take it out for now and we can add a ticket to add it into this page later.
pagination stops at 10. Make sure to either add in pagination to the bottom of this page so you can move through the pages
I would recommend returning the list of videos in a specific order (I think that for open content libraries it is sorted automatically by created_at), that way when a user updates the state from visible/hidden it always stays in the same spot. Right now, if you switch it to visible/hidden it jumps around to a different spot on the screen making it hard to keep track where it moved to.

I can help clean up some of the other parts of the UI in this page so it stays consistent (sadly not before Monday). Overall this is a SICK feature and I cant wait for it to be shown off!! 😎

This is the student view of videos- you probably shouldnt see "Video management" here, since the student wouldn't be managing the content.

[x] fixed:

I think we should consider putting some sort of informational hover instructing the admin what a "youtube key" is

[x] I realized that I can just avoid using youtube's service for fetching the data and can instead rely in using yt-dlp itself, so we can do away with the notion of an api-key.

Should you be able to upload the same video twice?

[x] Good point, fixed

(videos not showing up upon submission...) This makes me as the user assume that the YT link failed

[x]  Good idea. Added a polling system that will call mutate() every N seconds after videos are added, if no additional videos are fetched in N seconds, we wait N*2 seconds then request again until at least 1 of the videos requested shows up, or we reach a 10 second wait time.
While this polling process continues, users are not allowed to manually request retries for obvious reasons. also changed the middleware to save + download each video in it's own goroutine so will be much faster.

Sort

[x] fixed

Pagination

[x] fixed

Deletion

[x] fixed

As a user, if i put an invalid link (such as that of a YT profile), I should probably be notified that it is either an invalid link or that it has failed.

[x] :+1:  It's kinda difficult to tell just from a link whether it will actually work or not, because youtube has a few different formats that act as valid links. Also, since we can accept about any video site, we have to account for that and really can only give warnings that the link might be invalid. For this reason, I have added an ignore button so they have the ability to try it anyway.

would recommend returning the list of videos in a specific order

[x] defaults to created_at DESC unless they specify otherwise

Added favorites

Also added:
Videos will be hosted on s3, and many/all instances will share the same s3 bucket. Along with the videos stored as .mp4 files, we will also be storing .json metadata for each video, so if one instance downloads a video, it will be made available to all other instances to choose from, preventing any downloads from ever happening twice.
I added a cronjob that will fetch all .json from s3 to update the instances videos table so that they all stay up to date. We offer as many libraries as possible, so it would be ideal to offer as many videos as possible too and administrators can hide/show them as they please


typo: Double word "wait"

@nschonni : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks for catching this typo!
#sign-off


Remove the compiler directives

Implemented custom div and span elements called Jdiv and Jspan that allow for safe custom react props to be passed to the element.
This is essentially a way to bypass the typescript's default behavior of throwing a error when passing custom react props.

Looks good! If we have several other tag types that need to have the jcEventArea attribute it might be a good idea to have a generic element that takes a tag name. But should be good to go for now.


Skoruba admin returnin "Access Denied!" after login

Hi!
Every time when I try to login on Skoruba admin I redirected to a page with "Access Denied!" message inside h1 tag, the only tacktrace I found is above:
2019-10-25 18:23:48.124 -03:00 [ERR] An unhandled exception has occurred while executing the request.
System.Exception: An error was encountered while handling the remote login. ---> System.Exception: Correlation failed.
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1.HandleRequestAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
at NWebsec.AspNetCore.Middleware.Middleware.CspMiddleware.Invoke(HttpContext context)
at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)
at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)
at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)
at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)
at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context)
2019-10-25 19:14:07.225 -03:00 [ERR] 'MS-ASPNETCORE-TOKEN' does not match the expected pairing token 'd476de55-3e43-425c-b096-04c87a247f90', request rejected.
2019-10-25 19:14:34.452 -03:00 [ERR] 'MS-ASPNETCORE-TOKEN' does not match the expected pairing token 'd476de55-3e43-425c-b096-04c87a247f90', request rejected.
Anyone can helpme please!!!

Hi, do you have admin role in your claims? Do you use default authorization setup?

Hi! Sorry for the late reponse.
Yes, I exists the "Roles" claim on authentication.

Only appears this screen after login... there's anyway to show detailed error?
(https://user-images.githubusercontent.com/1894950/68474467-375a2200-0204-11ea-88ac-4224f2b60677.png)

@skoruba I'm also having the same issue. Every time I log into the AdminUI, I get "Access Denied" message. I have separate IdentityServer4 (version 2.3) and database. I updated connection string in the AdminUI project to point to that. Below are the setup details:
Have "roles" in the IdentityResources
Have "testuser" in AspNetUsers
Have "SkorubaIdentityAdminAdministrator" in AspNetRoles
Added the relationship between user and role in AspNetUserRoles
Not sure what else am I missing?
Thanks!

Hi guys, can you please check User’s claims? This looks like your current user do not have correct claims and authorization failed.

Ok, Witch Claims the Skoruba Admin require to have a normal login and function?

This role name - "SkorubaIdentityAdminAdministrator".

Just a note for completion. I had the same issue, was 99% sure the app was configured correctly. It was, but I needed to clear cookies to make it work.


Error bar with different fonts

Be sure to have, in config.xml
  <timeout_>
    <!-- MasterSession timeout in minutes -->
    <mastersession>30</mastersession>
  </timeout_>

  <timeoutSeconds>
    <!-- MasterSession timeout in seconds -->
    <mastersession>8</mastersession>
  </timeoutSeconds>

and in application.xml:
<Application.connection.timeout>true</Application.connection.timeout>
and in mobile.xml:
  <parameters>
    <Mobile.preserveOnReload>true</Mobile.preserveOnReload>
  </parameters>

  <react>
	<parameters>

	  <!-- standard, corporation -->
	  <Mobile.layout>standard</Mobile.layout>
	  <!-- basti, basti_small, basti_mobile -->
	  <Mobile.theme>basti_small</Mobile.theme>
	  <!-- default, dark, orange, blue -->
	  <Mobile.colorScheme>dark</Mobile.colorScheme>
	</parameters>
  </react>

Startup -> Login
wait 10 seconds until Application times out (session is still alive)
Try to open a screen. The error bar appears, with small font:

Same test, but don't try to open a screen, simply press Reload in your browser and the error bar looks different:

No translation, different font and not the dark color scheme?
After reload, the same settings should be used as before?

And please also change the LaunchCommand, as described here: #297

The description is mixed with another problem, sry. To get the session expired, simply restart the server after successful login!

At that point in the application, I don't have the server response yet, but during preserveOnReload, I have the previous startup response in the session-storage.
So I'll load the css for the color-scheme and theme out of there. And when the server happens to send a color-scheme and/or theme later, my function for adding css will remove the already existing css and replace it so it doesn't get added twice.

Obviously not only the server sent color-scheme and theme but also the config file or URL set will be minded

styling works, but it's not translated?

please test again

verified - works!


add zsh support

currently this only writes to .bashrc, ideally the current shell will be detected and the env variable written to the respective rc file

implemented in 1.1.0


Not able to show the details of specific task

I am using the Director HTTP API to get the list of tasks. However if I tried to get the specific task details as showed on https://bosh.io/docs/director-api-v1/#get-task-result , I see a blank response with Status 200.
Also if I check the details of task with only id https://bosh.io/docs/director-api-v1/#get-task it works and shows only few details.
Am I missing anything in that api call ??

Hi @surazzarus could you please post sanitized output and the curl command you're running? What do you get when you use the CLI for these tasks?

Hi @surazzarus,
Are you still experiencing this problem? If not, we'd like to close this issue.
Thanks!

Hi @surazzarus,
We're going to close this issue for now due to inactivity. Feel free to reopen if you need to.
Thanks!


Analyzer reports on @deprecated field formal parameter at its declaration

See:
class C {
  String s;
  C({@deprecated this.s});
}

Analyzer reports:

hint • 's' is deprecated and shouldn't be used. • a.dart:4:24 • deprecated_member_use_from_same_package

o_O

I have some tweaks for it :-)
https://dart-review.googlesource.com/c/sdk/+/169921


Error in dev console when running

I try to setup your starter project and when running vuepress dev, I see a js error in the dev console in the browser:
Uncaught ReferenceError: themeConfig is not defined
    at getImagePost (webpack-internal:///../../../.config/yarn/global/node_modules/vuepress-theme-ktquez/services/utils.js:14)
    at eval (webpack-internal:///../../../.config/yarn/global/node_modules/mappet/lib/mappet.js:39)
    at Array.reduce (<anonymous>)
    at eval (webpack-internal:///../../../.config/yarn/global/node_modules/mappet/lib/mappet.js:26)
    at data.map.item (webpack-internal:///../../../.config/yarn/global/node_modules/vuepress-theme-ktquez/transformers/post.js:33)
    at Array.map (<anonymous>)
    at post (webpack-internal:///../../../.config/yarn/global/node_modules/vuepress-theme-ktquez/transformers/post.js:32)
    at getPosts (webpack-internal:///../../../.config/yarn/global/node_modules/vuepress-theme-ktquez/enhanceApp.js:23)
    at __webpack_exports__.default (webpack-internal:///../../../.config/yarn/global/node_modules/vuepress-theme-ktquez/enhanceApp.js:11)
    at createApp (webpack-internal:///../../../.config/yarn/global/node_modules/vuepress/lib/app/app.js:100)

I am not deep enough into vuepress to figure oute whats going on here. Do you have a clue?

Thanks for using @chbndrhnns
Fixed in https://github.com/ktquez/vuepress-theme-ktquez/tree/v0.2.2
Now just update the theme in your package.json for v0.2.2
https://github.com/ktquez/vuepress-theme-ktquez-starter/blob/master/package.json#L32


feature: ability to use ollama for auto-suggestions

Feature request
Ability to use local Ollama models with FIM support for auto-suggestion. Currently I don't think it's possible to use Ollama models for auto-suggestion since the plugin doesn't support FIM (correct me if I'm wrong).
There are already plugins that implement code completion through Ollama like https://github.com/huggingface/llm.nvim and https://github.com/meeehdi-dev/bropilot.nvim, those could be used as reference implementations
Motivation
Ollama models are already supported for chat, so it would be great if they were supported for completion as well.
Other
No response

you can use custom providers for this, and auto_suggestion_provider should already support custom providers.
See wiki for how to setup ollama

you can use custom providers for this, and auto_suggestion_provider should already support custom providers.
See wiki for how to setup ollama

I did, it doesn't work. Could not get it to work with Codegemma, Codellama, Qwen2.5-Coder or anything I tried because avante.nvim doesn't have FIM support.
@aarnphm Kindly do not close the issue without understanding what the problem is first


Error with spawned command npminstall

Just gives an undefined exception so no help there hah.

I think it's because you don't have the last version of "node.js" !

got the same error:
<EMAIL_ADDRESS>D:\nodejs\node_modules\npm
p:\node>npm install -g ionic
C:\Users\comp\AppData\Roaming\npm\ionic -> C:\Users\comp\AppData\Roaming\npm\node_modules\ionic\bin\ionic
<EMAIL_ADDRESS>C:\Users\comp\AppData\Roaming\npm\node_modules\ionic
└──<EMAIL_ADDRESS>p:\node>npm install -g cordova
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
C:\Users\comp\AppData\Roaming\npm\cordova -> C:\Users\comp\AppData\Roaming\npm\node_modules\cordova\bin\cordova
<EMAIL_ADDRESS>C:\Users\comp\AppData\Roaming\npm\node_modules\cordova
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>p:\node>ionic start cutePuppyPics --v2

Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:
Please install your Cordova CLI to version  >=4.2.0 npm install -g cordova

Creating Ionic app in folder p:\node\cutePuppyPics based on tabs project
Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
[=============================]  100%  0.0s
Downloading: https://github.com/driftyco/ionic2-starter-tabs/archive/master.zip
[=============================]  100%  0.0s
Installing npm packages...
Error with start undefined
Error Initializing app: There was an error with the spawned command: npminstall
There was an error with the spawned command: npminstall
Caught exception:
undefined

Same here.
Some extra logging
`Creating Ionic app in folder /Users/stefan/Development/MyApp-mobile/MyAppMobile based on tutorial project
Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
[=============================]  100%  0.0s
Downloading: https://github.com/driftyco/ionic2-starter-tutorial/archive/master.zip
[=============================]  100%  0.0s
Installing npm packages...
Running exec command: npminstall
npm
WARN peerDependencies The peer dependency<EMAIL_ADDRESS>included from @angular/http will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies
in npm 3+. Your application will need to depend on it explicitly.
npm
WARN peerDependencies The peer dependency<EMAIL_ADDRESS>included from @angular/core will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.

<EMAIL_ADDRESS>install /Users/stefan/Development/MyApp-mobile/MyAppMobile/node_modules/@ionic/app-scripts/node_modules/node-sass
node scripts/install.js

Start downloading binary at https://github.com/sass/node-sass/releases/download/v3.9.3/darwin-x64-46_binding.node
Binary downloaded and installed at<EMAIL_ADDRESS>
<EMAIL_ADDRESS>install /Users/stefan/Development/MyApp-mobile/MyAppMobile/node_modules/@ionic/app-scripts/node_modules/chokidar/node_modules/fsevents
node-pre-gyp install --fallback-to-build

[fsevents] Success<EMAIL_ADDRESS>already installed
Pass --update-binary to reinstall or --build-from-source to recompile

<EMAIL_ADDRESS>postinstall /Users/stefan/Development/MyApp-mobile/MyAppMobile/node_modules/@ionic/app-scripts/node_modules/node-sass
node scripts/build.js

<EMAIL_ADDRESS>exists.
testing binary.
Binary is fine; exiting.
npm
ERR! Darwin 16.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.6.0
npm ERR! npm  v2.15.9
npm
ERR! code EPEERINVALID
npm ERR! peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid
Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm
ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm ERR! Please include the following file with any support request:
npm ERR!     /Users/stefan/Development/MyApp-mobile/MyAppMobile/npm-debug.log
Spawn command completed
Error with start undefined
Error Initializing app: There was an error with the spawned command: npminstall
There was an error with the spawned command: npminstall
Caught exception:
undefined
Mind letting us know? https://github.com/driftyco/ionic-cli/issues`

Fixed my issue. Had to update NPM via
npm update -g npm

I had to reinstall node js, npm update -g npm didn't work for me

Neither for me.

I'm also getting the exact same error.
Mac OS X 10.11.5
Node 4.6.0
npm 3.10.8

Same issue here. And it cause the ionic 1 setup failed as well.
Your system information:
Cordova CLI: 6.3.1
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.0.0-beta.20
OS: Windows 8.1
Node Version: v6.7.0
Please advice. Thanks.

It must have something to do with permissions because I got it to work by using:
sudo ionic start cutePuppyPics --v2

Could you please try this again? We recently made changes to the app-base and this should no longer be an issue for you.  Below is the commit that fixed the issue.
driftyco/ionic-storage@92f9032d97f32959e6ae6642bd4d37070792faf3


Minor update KvpTests to add pretest for kvp_remove_key_value

Add pretest for kvp_remove_key_value,  setupScripts\AddKeyValue.ps1, in order to reduce the dependency between test cases, even set noReboot as True.
When test locally we set noReboot as false and revert snapshot for every case, need to add pretest script to add key value, then remove key value.

Maintain it in local repo, do not change in upstream.

@lixuemin2016 the kvp tests are designed to run without any reboot operations, thus saving time on the testing duration.
Do you require reboot operations between these tests?

Hi Chris,
Understand kvp tests are designed to save time without any reboot.
Locally in order to make test case independent and easy to debug, we set noReboot as false and revert snapshot for every case, so need to add pretest script to add key value, then remove key value. It is ok if it is different with upstream for xml config, have maintained locally.
Thank you for your comments.


feat: Handle middleware errors

Summary
The error handling middleware allows us to separate our error logic and send responses accordingly. The next() method we discussed in middleware takes us to next middleware/route handler. For error handling, we have the next(err) function.
Description
Explain in detail what this PR is all about. This should include the problem you're solving, the approach taken, and any technical details that reviewers need to know.
Images
Include any relevant images or diagrams that can help reviewers visualize the changes, if applicable
Issue(s) Addressed #46
Enter the issue number of the bug(s) that this PR fixes

Template should be strictly Closes <issue_number>

Prerequisites

[x] Have you followed all the CONTRIBUTING GUIDELINES ?

@shivam-sharma7 Thank you for raising PR,
Can I respectfully grab your attention to the first guideline of contributing
"Claiming an Issue: Before you start working on an issue, make sure it's assigned to you. We do this to avoid overlapping efforts and to ensure your hard work doesn't go to waste. Please avoid raising a PR for an issue assigned to someone else."
And it is assigned to DSAghicha, he seems working on this, and has almost finished working on this.
Can you kindly look into any other available issues, or create a own get it assigned to you and then work on it ... That would be really nice....

@krishnaacharyaa that't automatically linked with my PR, right? I don't know how it's happen and my PR cover different things. Thanks

I meant, This seems to solve the issue of https://github.com/krishnaacharyaa/wanderlust/issues/1 which is already assigned....
I suggest you to please create issue is not already available and then get it assigned then raise the relevant PR. Thank you for your efforts, I'm just trying to make sure no one's efforts is gone waste, kindly co-operate 🙂

Hi @shivam-sharma7, this directly is related to https://github.com/krishnaacharyaa/wanderlust/issues/1 and implements the solution which is already proposed in this, kindly pick other issue as previously clearly specified couple of times.
Thank you
https://github.com/krishnaacharyaa/wanderlust/issues/46#issuecomment-1793638442


[1.3][CI] build TEST_FILES for CI based on build manifest

[CI] build TEST_FILES for CI based on build manifest

Within the CI, we know the location of the build manifest of
the OpenSearch Dashboards that got scaled up in prep for the
execution of these tests within this repo.
We can use that knowledge to determine the set of tests that
are valid against the distribution that this repo is being
executed on.
Signed-off-by: Kawika Avilla<EMAIL_ADDRESS>(cherry picked from commit 23bb48ba59f6d03fc8623a45c14c6c887a13d2d9)

Yeah it made it that branch as well! I kept the 1.x PR for visibility. But will merge that one in as well! Thanks!


Remove AllowTcpForwarding addition

I assume theres a specific reason this is here? Not sure. In my situation though, it causes my ssh's to fail
Host bastion.myhost.com
  	Hostname bastion.myhost.com
  	User aaron
    ForwardAgent no
  	IdentityFile ~/.ssh/id_rsa

Host 10.0.1.*
    User ubuntu
    IdentityFile ~/.ssh/my_key.pem
    ProxyCommand ssh -q -W %h:%p bastion.myhost.com

All the things i saw online said i need to remove it
https://unix.stackexchange.com/a/58756
https://serverfault.com/questions/535412/how-to-solve-the-open-failed-administratively-prohibited-open-failed-when-us

Yes this is because de TCP Forwarding is disabled, because if we don't disable it, it's possible to bypass the log of all actions.

This was released in version 1.1.1


Master

This is a new implementation of ParSpMatVec.
It Ac_mul_B! works better for differential operators and is comparable with random matrices as in the test.

Merged! Thanks!


Note functionality while Editing a Transaction and undoing a Transaction and on click of a particular Transaction adding a Note row

Code changes for enabling Note functionality while editing a Transaction and undoing a Transaction and adding notes Row while on click of a particular transaction.

Instead of making two commits I will be making 1 single commit and create another pull request.


xb.get_bitinformation(implementation="julia/python") yields different results

xbitinfo version: main
Python version: binder
Operating System: binder

Description

@observingClouds shouldnt these yield same results?
I am lacking a test in #126 in https://github.com/observingClouds/xbitinfo/blob/main/tests/test_get_bitinformation.py where the numerical values of both implementations are compared and are equal
makes https://xbitinfo--153.org.readthedocs.build/en/153/quick-start.html fail

What I Did
ds = xr.tutorial.load_dataset("eraint_uvz")
xb.get_bitinformation(ds, dim="longitude", implementation="python")
xb.get_bitinformation(ds, dim="longitude", implementation="julia")

also weird
ds = xr.tutorial.load_dataset("air_temperature")
xb.get_bitinformation(ds, dim="lon").dims # Frozen({'bit32': 32})
xb.get_bitinformation(ds, dim="lon", implementation="python").dims # Frozen({'bit64': 64})

Thanks for pointing this out. Currently, since set_zero_insignificant is not implemented for the python version, the following should be true:
ds = xr.tutorial.load_dataset("eraint_uvz")
xb.get_bitinformation(ds, dim="longitude", implementation="python", set_zero_insignificant=False)
xb.get_bitinformation(ds, dim="longitude", implementation="julia", set_zero_insignificant=False)

However, this also fails currently. Still very much work-in-progress.


Replace SetEnv invocation by base.Env to unlock parallelization

This is to fix #3081
cosign related code (which required signature change) and related tests have been cleaned-up slightly on top of that and parallelized.

There is something wrong will github networking right now.
I/O timeouts aplenty and IPFS seems to be down.
Will force push & poke the CI again later.

=== RUN   TestComposePushAndPullWithCosignVerify
    testutil.go:567: buildkitHost="unix:///run/buildkit-nerdctl-test/buildkitd.sock"
=== PAUSE TestComposePushAndPullWithCosignVerify
=== CONT  TestComposePushAndPullWithCosignVerify
    compose_run_linux_test.go:486: projectName="nerdctl-compose-test689402566"
    compose_run_linux_test.go:490: assertion failed: res.ExitCode is not exitCode: panic: runtime error: index out of range [1] with length 1

        goroutine 1 [running]:
        github.com/compose-spec/compose-go/utils.GetAsEqualsMap({0xc0008d49c0, 0xd, 0x30?})
        	/go/pkg/mod/github.com/compose-spec/compose-go@v1.20.2/utils/stringutils.go:46 +0xfd
        github.com/compose-spec/compose-go/cli.WithOsEnv(0xc00050c380)
        	/go/pkg/mod/github.com/compose-spec/compose-go@v1.20.2/cli/options.go:231 +0x2c
        github.com/compose-spec/compose-go/cli.NewProjectOptions({0xc0002e00e0, 0x1, 0x1}, {0xc0008d2660, 0x6, 0x10?})
        	/go/pkg/mod/github.com/compose-spec/compose-go@v1.20.2/cli/options.go:93 +0xcf
        github.com/containerd/nerdctl/v2/pkg/composer.New({{0x0, 0x0}, {0x0, 0x0}, {0xc0002e00e0, 0x1, 0x1}, {0x1ce9580, 0x0, 0x0}, ...}, ...)
        	/go/src/github.com/containerd/nerdctl/pkg/composer/composer.go:86 +0x3bc
        github.com/containerd/nerdctl/v2/pkg/cmd/compose.New(_, {0x0, 0x0, {0x12712ed, 0x1f}, {0x7ffe39189e34, 0xc}, {0x124f988, 0x9}, {0x1261034, ...}, ...}, ...)
        	/go/src/github.com/containerd/nerdctl/pkg/cmd/compose/compose.go:143 +0x465
        main.composeBuildAction(0xc0009f8908, {0x1ce9580, 0x0, 0x0})
        	/go/src/github.com/containerd/nerdctl/cmd/nerdctl/compose_build.go:68 +0x3b9
        github.com/spf13/cobra.(*Command).execute(0xc0009f8908, {0xc0000d0150, 0x0, 0x0})
        	/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:985 +0xaca
        github.com/spf13/cobra.(*Command).ExecuteC(0xc0006ecc08)
        	/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
        github.com/spf13/cobra.(*Command).Execute(...)
        	/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1041
        main.xmain()
        	/go/src/github.com/containerd/nerdctl/cmd/nerdctl/main.go:136 +0x8f
        main.main()
        	/go/src/github.com/containerd/nerdctl/cmd/nerdctl/main.go:119 +0x13

--- FAIL: TestComposePushAndPullWithCosignVerify (1.31s)
FAIL cmd/nerdctl.TestComposePushAndPullWithCosignVerify (re-run 1) (1.31s)

=== RUN   TestComposePushAndPullWithCosignVerify
    testutil.go:567: buildkitHost="unix:///run/buildkit-nerdctl-test/buildkitd.sock"
=== PAUSE TestComposePushAndPullWithCosignVerify
=== CONT  TestComposePushAndPullWithCosignVerify
    compose_run_linux_test.go:486: projectName="nerdctl-compose-test689402566"
    compose_run_linux_test.go:490: assertion failed: res.ExitCode is not exitCode: panic: runtime error: index out of range [1] with length 1

        goroutine 1 [running]:
        github.com/compose-spec/compose-go/utils.GetAsEqualsMap({0xc0008d49c0, 0xd, 0x30?})
        	/go/pkg/mod/github.com/compose-spec/compose-go@v1.20.2/utils/stringutils.go:46 +0xfd
        github.com/compose-spec/compose-go/cli.WithOsEnv(0xc00050c380)
        	/go/pkg/mod/github.com/compose-spec/compose-go@v1.20.2/cli/options.go:231 +0x2c
        github.com/compose-spec/compose-go/cli.NewProjectOptions({0xc0002e00e0, 0x1, 0x1}, {0xc0008d2660, 0x6, 0x10?})
        	/go/pkg/mod/github.com/compose-spec/compose-go@v1.20.2/cli/options.go:93 +0xcf
        github.com/containerd/nerdctl/v2/pkg/composer.New({{0x0, 0x0}, {0x0, 0x0}, {0xc0002e00e0, 0x1, 0x1}, {0x1ce9580, 0x0, 0x0}, ...}, ...)
        	/go/src/github.com/containerd/nerdctl/pkg/composer/composer.go:86 +0x3bc
        github.com/containerd/nerdctl/v2/pkg/cmd/compose.New(_, {0x0, 0x0, {0x12712ed, 0x1f}, {0x7ffe39189e34, 0xc}, {0x124f988, 0x9}, {0x1261034, ...}, ...}, ...)
        	/go/src/github.com/containerd/nerdctl/pkg/cmd/compose/compose.go:143 +0x465
        main.composeBuildAction(0xc0009f8908, {0x1ce9580, 0x0, 0x0})
        	/go/src/github.com/containerd/nerdctl/cmd/nerdctl/compose_build.go:68 +0x3b9
        github.com/spf13/cobra.(*Command).execute(0xc0009f8908, {0xc0000d0150, 0x0, 0x0})
        	/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:985 +0xaca
        github.com/spf13/cobra.(*Command).ExecuteC(0xc0006ecc08)
        	/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
        github.com/spf13/cobra.(*Command).Execute(...)
        	/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1041
        main.xmain()
        	/go/src/github.com/containerd/nerdctl/cmd/nerdctl/main.go:136 +0x8f
        main.main()
        	/go/src/github.com/containerd/nerdctl/cmd/nerdctl/main.go:119 +0x13

--- FAIL: TestComposePushAndPullWithCosignVerify (1.31s)
FAIL cmd/nerdctl.TestComposePushAndPullWithCosignVerify (re-run 1) (1.31s)

Yep, this is definitely a positive.
Something about the env in compose - will check ASAP.

This below assumes that os.Environ() returns strings that contains "=" - which is clearly not always true:
// WithOsEnv imports environment variables from OS
func WithOsEnv(o *ProjectOptions) error {
	for k, v := range utils.GetAsEqualsMap(os.Environ()) {
		if _, set := o.Environment[k]; set {
			continue
		}
		o.Environment[k] = v
	}
	return nil
}

Then calling GetAsEqualsMap in that case gets the index out of bound and the crash.
https://github.com/compose-spec/compose-go/blob/main/cli/options.go#L238
Feel like reporting it over there?


Buffer doesn't clear

Some short googling shows that running the cls command might do the trick.

closed by #25


for...in over system.stdin causes a hang in RingoJS v0.8.0

Doing this..
for (var i in system.stdin) {
  print(i);
}
print('done');

print('done'); is never called

This is an interesting one. Input streams in Ringo have an iterator()/iterator() method that iterates over the stream's input as described in CommonJS IO/A. So what that loop does is basically wait for input from stdin (you can try it by typing on the keyboard and hitting return).
Not sure what to think about this. It definitely doesn't obey to the principle of least astonishment. However it's not a bug, so closing.

FWIW I didn't run into this issue in v0.7.0.
Not sure how the behavior of for...in relates to an iterator() method.

That's a JavaScript 1.7 extension. If you define a method called iterator() it will be called to iterate the object's properties.

Ok that's for __iterator__() the CommonJS IO/A doesn't seem to mention that, I only see iterator().
The other project common-node will allow iterating over the system.stdin object without problems (because it lacks support for the non-standard iterator() method).
I don't see how it's acceptable to break the language or dev expectations by pointing to non-standard functionality and proposed/draft spec.

You're completely right about the breaking dev expectations part. I was myself baffled when I first read your report.
I was going to respond that iteration hooks are planned for Harmony and that you're going to get used to things like that, but I see that the Harmony proposal uses a new for-of syntax for exactly those reasons.
The intention of the CommonJS proposal obviously was to make text streams iterate over input lines, but it doesn't say so explicitly, and the means to make it work are not available anywhere else than JS 1.7.
I think we went a bit too far here. I'll try to remove the for-in behavrior while keeping everything else working.

@hns Thanks!
To avoid this issue in current versions of Ringo I pave found iterator methods with a default iterator method then perform the for..in loop and reset the iterator.


Fix bug #152 simple or to check if __mm_to_in == 0

This fixes the bug in the the rain and snow amounts which would return 0.00 because of the conversion to metric

Codecov Report

Merging #159 (01ede9d) into main (5247b9d) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #159   +/-   ##
=======================================
  Coverage   90.53%   90.53%
=======================================
  Files          10       10
  Lines         835      835
=======================================
  Hits          756      756
  Misses         79       79

Impacted Files
Coverage Δ

weather_command/_builder.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5247b9d...01ede9d. Read the comment docs.


Conda recipies.

conda_recipies -> conda_recipes

Can't believe I mispelled recipes

:) Awesome.
On 07/14/2015 11:50 AM, Brittain Hard wrote:

Can't believe I mispelled recipes
—
Reply to this email directly or view it on GitHub
https://github.com/memex-explorer/memex-explorer/pull/610#issuecomment-121287263.


Inconsistent user inputs affect on score?

I may well be missing something here, but this example appears to be very insecure: -
const userInputs = ["Brian Thompson"]
I've ran the following tests and there are the result: -
TEST 1
Password: "Brian Thompson"
zxcvbnResult :  {
  calcTime: 138,
  password: 'Brian Thompson',
  guesses: 456,
  guessesLog10: 2.658964842664435,
  sequence: [
    {
      pattern: 'dictionary',
      i: 0,
      j: 13,
      token: 'Brian Thompson',
      matchedWord: 'brian thompson',
      rank: 5,
      dictionaryName: 'userInputs',
      reversed: false,
      l33t: false,
      baseGuesses: 5,
      uppercaseVariations: 91,
      l33tVariations: 1,
      guesses: 455,
      guessesLog10: 2.658011396657112
    }
  ],
  crackTimesSeconds: {
    onlineThrottling100PerHour: 16416,
    onlineNoThrottling10PerSecond: 45.6,
    offlineSlowHashing1e4PerSecond: 0.0456,
    offlineFastHashing1e10PerSecond: 4.56e-8
  },
  crackTimesDisplay: {
    onlineThrottling100PerHour: '5 hours',
    onlineNoThrottling10PerSecond: '46 seconds',
    offlineSlowHashing1e4PerSecond: 'less than a second',
    offlineFastHashing1e10PerSecond: 'less than a second'
  },
  score: 0,
  feedback: {
    warning: 'There should not be any personal or page related data.',
    suggestions: [ 'Add more words that are less common.' ]
  }
}

TEST 2
Password: "Brian Thompson " (note the space at the end)
zxcvbnResult :  {
  calcTime: 138,
  password: 'Brian Thompson ',
  guesses: 20010,
  guessesLog10: 4.30124708863621,
  sequence: [
    {
      pattern: 'dictionary',
      i: 0,
      j: 13,
      token: 'Brian Thompson',
      matchedWord: 'brian thompson',
      rank: 5,
      dictionaryName: 'userInputs',
      reversed: false,
      l33t: false,
      baseGuesses: 5,
      uppercaseVariations: 91,
      l33tVariations: 1,
      guesses: 455,
      guessesLog10: 2.658011396657112
    },
    {
      pattern: 'bruteforce',
      token: ' ',
      i: 14,
      j: 14,
      guesses: 11,
      guessesLog10: 1.041392685158225
    }
  ],
  crackTimesSeconds: {
    onlineThrottling100PerHour: 720360,
    onlineNoThrottling10PerSecond: 2001,
    offlineSlowHashing1e4PerSecond: 2.001,
    offlineFastHashing1e10PerSecond: 0.000002001
  },
  crackTimesDisplay: {
    onlineThrottling100PerHour: '8 days',
    onlineNoThrottling10PerSecond: '33 minutes',
    offlineSlowHashing1e4PerSecond: '2 seconds',
    offlineFastHashing1e10PerSecond: 'less than a second'
  },
  score: 1,
  feedback: {
    warning: 'There should not be any personal or page related data.',
    suggestions: [ 'Add more words that are less common.' ]
  }
}

TEST 3
Password: "Brian Thompson password"
zxcvbnResult :  {
  calcTime: 364,
  password: 'Brian Thompson password',
  guesses: 101501500,
  guessesLog10: 8.00647246034686,
  sequence: [
    {
      pattern: 'dictionary',
      i: 0,
      j: 13,
      token: 'Brian Thompson',
      matchedWord: 'brian thompson',
      rank: 5,
      dictionaryName: 'userInputs',
      reversed: false,
      l33t: false,
      baseGuesses: 5,
      uppercaseVariations: 91,
      l33tVariations: 1,
      guesses: 455,
      guessesLog10: 2.658011396657112
    },
    {
      pattern: 'bruteforce',
      token: ' ',
      i: 14,
      j: 14,
      guesses: 11,
      guessesLog10: 1.041392685158225
    },
    {
      pattern: 'dictionary',
      i: 15,
      j: 22,
      token: 'password',
      matchedWord: 'password',
      rank: 2,
      dictionaryName: 'passwords',
      reversed: false,
      l33t: false,
      baseGuesses: 2,
      uppercaseVariations: 1,
      l33tVariations: 1,
      guesses: 50,
      guessesLog10: 1.6989700043360185
    }
  ],
  crackTimesSeconds: {
    onlineThrottling100PerHour:<PHONE_NUMBER>,
    onlineNoThrottling10PerSecond: 10150150,
    offlineSlowHashing1e4PerSecond: 10150.15,
    offlineFastHashing1e10PerSecond: 0.01015015
  },
  crackTimesDisplay: {
    onlineThrottling100PerHour: 'centuries',
    onlineNoThrottling10PerSecond: '4 months',
    offlineSlowHashing1e4PerSecond: '3 hours',
    offlineFastHashing1e10PerSecond: 'less than a second'
  },
  score: 3,
  feedback: { warning: '', suggestions: [] }
}

TEST 4
Password: "Brian Thompson 1234"
zxcvbnResult :  {
  calcTime: 203,
  password: 'Brian Thompson 1234',
  guesses: 91010000,
  guessesLog10: 7.959089114367391,
  sequence: [
    {
      pattern: 'dictionary',
      i: 0,
      j: 13,
      token: 'Brian Thompson',
      matchedWord: 'brian thompson',
      rank: 5,
      dictionaryName: 'userInputs',
      reversed: false,
      l33t: false,
      baseGuesses: 5,
      uppercaseVariations: 91,
      l33tVariations: 1,
      guesses: 455,
      guessesLog10: 2.658011396657112
    },
    {
      pattern: 'bruteforce',
      token: ' 1234',
      i: 14,
      j: 18,
      guesses: 100000,
      guessesLog10: 5
    }
  ],
  crackTimesSeconds: {
    onlineThrottling100PerHour:<PHONE_NUMBER>,
    onlineNoThrottling10PerSecond: 9101000,
    offlineSlowHashing1e4PerSecond: 9101,
    offlineFastHashing1e10PerSecond: 0.009101
  },
  crackTimesDisplay: {
    onlineThrottling100PerHour: 'centuries',
    onlineNoThrottling10PerSecond: '3 months',
    offlineSlowHashing1e4PerSecond: '3 hours',
    offlineFastHashing1e10PerSecond: 'less than a second'
  },
  score: 2,
  feedback: {
    warning: 'There should not be any personal or page related data.',
    suggestions: [ 'Add more words that are less common.' ]
  }
}

In test 1, it rightly gives a score of zero and a warning for "Brian Thompson" as "Brian Thompson" is a user input.

In test 3, "Brian Thompson password" will give a score of 3 and no warnings/suggestions, despite it seems to be what should be considered a low (or lower) entropy password assuming the attacker has the user's name. This would seem to be an error that should be addressed as I think it creates opportunity for weak passwords.
In test 4, a password of "Brian Thompson 1234" - which I think we should consider to have a similar entropy/obviousness to that of test 3 - returns a score of 2 with warnings/suggestions. Is this not inconsistent with test 3's feedback?
Also, should there not just be a case for the failing of a password if it has "Brian Thompson" or a l33t of "Brian Thompson" anywhere in the password string? Should we not consider user input + " password" to be rather obvious?
The user can write their own function to check the password for substrings of user inputs but this is 1) hackish 2) difficult to take into account l33t as l33t would have to be done by a separate package (unless the zxcvbn-ts l33t function can be made available for direct import).
Thoughts?

FWIW, "BR1@N Thompson password" on https://www.passwordmonster.com/ is classed as weak with a crack time of 19.25 minutes. That is without the user's name being known...

I might be a little confused here but is there any way to use a custom matcher (or any other method) to have a password fail/score low in the case where it contains certain strings, so I could have a password fail if "Brian Thompson" (and possibly any l33ts of it) are found in the string? Thanks.


Improvement: Prem Templates

This PR adds an improvement to dsp.modules.prem.PremAI by introducing using Prem Prompt Templates throughout dspy calls.

Thanks @Anindyadeep ! left a minor comment and revised some of the documentation - should be good to merge after that!

Thanks @Anindyadeep ! left a minor comment and revised some of the documentation - should be good to merge after that!

Yes you are right, so I added some latest changes addressing those. Additionally I combined the raw and all kwargs, just to remove redundancy.

Thanks @Anindyadeep !


Not launching on Hyprland

I installed asusctltray on Hyprland (wayland) and I'm getting this error whenever I try to open asusctltray from the command line (desktop app also does not work)
Traceback (most recent call last):
  File "/usr/lib64/python3.12/site-packages/dbus/bus.py", line 173, in activate_name_owner
    return self.get_name_owner(bus_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/dbus/bus.py", line 348, in get_name_owner
    return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/dbus/connection.py", line 634, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: The name does not have an owner

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/asusctltray", line 690, in <module>
    TrayIcon(loop)
  File "/usr/local/bin/asusctltray", line 650, in __init__
    self.build_menu()
  File "/usr/local/bin/asusctltray", line 663, in build_menu
    PowerProfilesController().attach(self.menu)
  File "/usr/local/bin/asusctltray", line 328, in attach
    for item in self.items:
                ^^^^^^^^^^
  File "/usr/local/bin/asusctltray", line 585, in items
    for p in self.proxy.Get("net.hadess.PowerProfiles", "Profiles")
             ^^^^^^^^^^
  File "/usr/local/bin/asusctltray", line 591, in proxy
    dbus.SystemBus().get_object(
  File "/usr/lib64/python3.12/site-packages/dbus/bus.py", line 237, in get_object
    return self.ProxyObjectClass(self, bus_name, object_path,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 250, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/dbus/bus.py", line 178, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib64/python3.12/site-packages/dbus/bus.py", line 273, in start_service_by_name
    return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/dbus/connection.py", line 634, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable

The DBus API for fan profiles has been substantially changed on asusctl's side, I am already working on a fix for the latest asusctl version. It will break compatibility with old versions but oh well, I can't maintain this program  for that many old API versions

I generally fixed the script in c8ef0ba according to the DBus API changes. However, looking at the stacktrace you posted, it may just be that you're missing power-profiles-daemon or it's not launching correctly (it must be enabled in systemd of course). Please do let me know if everything works now.
Sorry for the wait!

Hi, you're right, I don't have the power-profiles-daemon installed because I use tlp.


Translations of calendar objects

This issue target to allow calendar translations.
If you are interested:

Create file in languages directory  with the name corresponding to your language.

Are non-latin languages supported? I could translate it to Chinese, if wanted.

Are non-latin languages supported? I could translate it to Chinese, if wanted.

This is a good idea. I'm not sure, but I will check.

Hey @Jeconias  I could translate this into Hindi

Hey @Jeconias I could translate this into Hindi

This is good.

Are non-latin languages supported? I could translate it to Chinese, if wanted.

This is a good idea. I'm not sure, but I will check.

Apparently works well.


chore: update example config in nextjs quickstart

This modifies the example configuration to reflect changes made when upgrading to SDK version 2.4.0. Only the username and password of the generated credential are required now; the SDK uses these to authenticate and obtain any other necessary information about the workspace and database.
Though commented out, this also updates the param that necessary for Google SSO from NEXT_PUBLIC_NILE_API to NEXT_PUBLIC_NILEDB_API_URL, which can be obtained on the "Database settings" screen in the console:

The email/password login and Google SSO login are mutually exclusive; the demo runs in one mode or the other:

In email/password mode, only the NILE_USER and NILE_PASSWORD are required.
In Google SSO mode, only the NEXT_PUBLIC_NILEDB_API_URL is required, and the AUTH_TYPE should be set to google.

The readme change shouldn't have caused the errors in the builds, and I validated that the new configs work. Thanks @scottydawg.


[SPARK-20364][SQL] Support Parquet predicate pushdown on columns with dots

What changes were proposed in this pull request?
Currently, if there are dots in the column name, predicate pushdown seems being failed in Parquet.
With dots
val path = "/tmp/abcde"
Seq(Some(1), None).toDF("col.dots").write.parquet(path)
spark.read.parquet(path).where("`col.dots` IS NOT NULL").show()

+--------+
|col.dots|
+--------+
+--------+

Without dots
val path = "/tmp/abcde"
Seq(Some(1), None).toDF("coldots").write.parquet(path)
spark.read.parquet(path).where("`coldots` IS NOT NULL").show()

+-------+
|coldots|
+-------+
|      1|
+-------+

It seems dot in the column names via FilterApi tries to separate the field name with dot (ColumnPath with multiple column paths) whereas the actual column name is col.dots. (See FilterApi.java#L71 and it calls ColumnPath.java#L44).
I just tried to come up with ways to resolve it and I came up with two as below as I could not find
a way to set dots as are:

One is simply to don't push down filters when there are dots in column names so that it reads all and filters in Spark-side.

The other way creates Spark's FilterApi for those columns (it seems final) to get always use single column path it in Spark-side (this seems hacky) as we are not pushing down nested columns currently. So, it looks we can get a field name via ColumnPath.get not ColumnPath.fromDotString in this way.

This PR proposes the latter way because I think we need to be sure on that it passes the tests.
After
val path = "/tmp/abcde"
Seq(Some(1), None).toDF("col.dots").write.parquet(path)
spark.read.parquet(path).where("`col.dots` IS NOT NULL").show()

+--------+
|col.dots|
+--------+
|       1|
+--------+

How was this patch tested?
Existing tests should cover this. Some tests were added in ParquetFilterSuite.scala. Manually, I ran related tests and Jenkins tests will cover this.

cc @ash211, @robert3005 and @liancheng.
@liancheng, do you mind if I ask to review this please?

Test build #75932 has started for PR 17680 at commit 297c70b.

Test build #75932 has finished for PR 17680 at commit 297c70b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75932/
Test PASSed.

Merged build finished. Test PASSed.

Test build #75962 has started for PR 17680 at commit 365da42.

I added a test case so that we make sure it does not push down filters in FileFormat when there are filters with nested column access. For me, I could not find related test in the test cases in companion module.

cc @davies too.

Test build #75963 has started for PR 17680 at commit 2c29a6e.

Test build #75964 has started for PR 17680 at commit 973e9b8.

Test build #75962 has finished for PR 17680 at commit 365da42.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class TestFileFormatWithNestedSchema extends TestFileFormat

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75962/
Test FAILed.

Test build #75963 has finished for PR 17680 at commit 2c29a6e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75963/
Test PASSed.

Test build #75964 has finished for PR 17680 at commit 973e9b8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75964/
Test PASSed.

@ash211, Thanks for your approval.

Test build #76006 has started for PR 17680 at commit fdc3943.

Test build #76006 has finished for PR 17680 at commit fdc3943.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/76006/
Test PASSed.

gentle ping @liancheng and @davies.

@liancheng and @davies, if you are not sure of this way, I could simply avoid to push down the filters in this case for now. Please let me know.

Any further thoughts on this?  It was quite surprising for one of our users so I wanted to make sure it was fixed in a future Apache release

gentle ping @liancheng and @davies

gentle ping @liancheng and @davies

friendly ping ...

Are there any comments on this PR or is it ready to be merged?

gentle ping ...

gentle ping ...

This sounds from the JIRA: https://issues.apache.org/jira/browse/PARQUET-389 (https://github.com/apache/parquet-mr/pull/354) after we upgrading to Parquet 1.8.2.  Maybe @rdblue can help us review this PR? Thanks!

@HyukjinKwon This PR only verifies the behavior when column names have dot. We also need to add the test cases for nested structure.

@HyukjinKwon Could we just turn off the predicate pushdown when the column names contain the dots? It will be a safe/simple fix.

Yes, it looks related with that, in particular, here https://github.com/apache/spark/pull/17680#discussion_r112285883.
Up to my knowledge, we don't support pushing down filters with nested column access and we already have this assumption in ParquetFilters. The test case for this is added here.
Sure, this tries latter case as described in the PR description. Probably, let me open another one for the former approach (simply avoid) as a simple workaround for now.

Yes. Please open the PR to stop predicate push-down for this corner cases. Will review it when it is done.

Test build #76951 has started for PR 17680 at commit 9f2851b.

Test build #76951 has finished for PR 17680 at commit 9f2851b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/76951/
Test PASSed.

@gatorsmile, sorry for not responding, I was on vacation for a few days. Should I still review this even though it is merged?

@rdblue Thank you very much! We decided to simply block the filter pushdown for these corner cases. See the merged PR: https://github.com/apache/spark/pull/18000. Maybe you can share with us the plan of the Parquet community for supporting quoted column names?

There's an open PR (#361), to support quoted column names, but the discussion on the merits of it is on-going. I don't see a huge benefit to supporting . in column names, and I'm concerned that it breaks readers like parquet-avro that specifically don't allow them. More discussion from the Spark community is welcome there.

That merged PR is a workaround simply avoiding this case and we still should deal with this (in Parquet or Spark). I am closing this because I don't think this is going to be merged soon.

This PR enables Parquet predicate pushdown for fields having dots in the names, https://github.com/apache/spark/pull/27780


(1/1) ErrorException  readlink(): Invalid argument

Laravel Version: 5.4
Voyager Version: 1.0
PHP Version:
Database Driver & Version: mysql

Server : Shared Host
Description:
Steps To Reproduce:
the package well wore in locally  but myserver is return folling error
(1/1) ErrorException
readlink(): Invalid argument
at readlink('/home/u122893056/public_html/public/storage')in VoyagerServiceProvider.php (line 170)
my file manager path is staring from  u122893056/public_html/public/storage
but '/home/u122893056/public_html/public/storage' is start from home

You have to provide a bit more information, like the version fields from the issue templates.
How did you upload everything to your server?

I'm having the same issue.

Laravel Version: 5.5.39
Voyager Version: 1.0.16
PHP Version: 7.1.15

Description:
This only happens on the server, locally everything is working.
Here is my error screen

Steps To Reproduce:
Updated code on server, while updating voyager on server from 1.0.10 => 1.0.16

I had the same issue. Changing readlink to realpath fixed the problem.

hey ikanc how did you change de realink to realpath??? need help

Thanks ikanc it works!!!! Buth I donth understand why this happends???? I`m working with a team and is the first time it happens, I change de readpath to realpath as you say, buth this will affect my team mates???

@Garymarena if you change it locally, it will only affect you. However, next time that composer will pull a new version, it would be overwritten.

Changing it to realpath does not really fix the problem, it just suppresses the Exception.
I submitted a fix for this

Closed by #2891

I had the same problem. I deleted elseif lines 168