[install] Failed installing on Apple Silicon OSx 12.6 using homebrew

Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?

[x] Yes!

What is the complete output of gem install or bundle install?
VPdeMacBook-Pro➜  Desktop  ᐅ  gem install nokogiri --platform=ruby -- --use-system-libraries                                             [22.11.2 | 14:24:57]
Fetching mini_portile2-2.8.0.gem
Fetching racc-1.6.0.gem
Fetching nokogiri-1.13.9.gem
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.

If installation completed but is broken, what is the complete output from nokogiri -v?
VPdeMacBook-Pro➜  Desktop  ᐅ  nokogiri -v                                                                                [22.11.2 | 14:42:55]
zsh: command not found: nokogiri

If installation failed during compilation, what are the complete contents of the mkmf.log file generated during the failed installation?
VPdeMacBook-Pro➜  Desktop  ᐅ  cat /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib//ruby/gems/2.6.0/extensions/universal-darwin-21/2.6.0/nokogiri-1.10.1/mkmf.log
"xcrun clang -o conftest -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/universal-darwin21 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/backward -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT    -g -Os -pipe -DHAVE_GCC_ATOMIC_BUILTINS -DUSE_FFI_CLOSURE_ALLOC  -I /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libxml2 conftest.c  -L. -L/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib -L. -L/AppleInternal/Library/BuildRoots/a0876c02-1788-11ed-b9c4-96898e02b808/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/usr/local/lib  -arch arm64e -arch x86_64   -lruby.2.6    "
### CCC_OVERRIDE_OPTIONS:  +-fno-modules-validate-system-headers +-fpch-validate-input-files-content
### Adding argument -fno-modules-validate-system-headers at end
### Adding argument -fpch-validate-input-files-content at end
ld: warning: directory not found for option '-L/AppleInternal/Library/BuildRoots/a0876c02-1788-11ed-b9c4-96898e02b808/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/usr/local/lib'
ld: warning: directory not found for option '-L/AppleInternal/Library/BuildRoots/a0876c02-1788-11ed-b9c4-96898e02b808/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/usr/local/lib'
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */

"xcrun clang -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/universal-darwin21 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/backward -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT    -g -Os -pipe -DHAVE_GCC_ATOMIC_BUILTINS -DUSE_FFI_CLOSURE_ALLOC  -I /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libxml2 -arch arm64e -arch x86_64  -c conftest.c"
### CCC_OVERRIDE_OPTIONS:  +-fno-modules-validate-system-headers +-fpch-validate-input-files-content
### Adding argument -fno-modules-validate-system-headers at end
### Adding argument -fpch-validate-input-files-content at end
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main() {return 0;}
/* end */

"xcrun clang -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/universal-darwin21 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/backward -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT    -g -Os -pipe -DHAVE_GCC_ATOMIC_BUILTINS -DUSE_FFI_CLOSURE_ALLOC -Wno-error=unused-command-line-argument-hard-error-in-future -arch arm64e -arch x86_64  -c conftest.c"
### CCC_OVERRIDE_OPTIONS:  +-fno-modules-validate-system-headers +-fpch-validate-input-files-content
### Adding argument -fno-modules-validate-system-headers at end
### Adding argument -fpch-validate-input-files-content at end
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main() {return 0;}
/* end */

package configuration for libexslt is not found
"xcrun clang -E -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/universal-darwin21 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/backward -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0 -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT    -g -Os -pipe -DHAVE_GCC_ATOMIC_BUILTINS -DUSE_FFI_CLOSURE_ALLOC  conftest.c -o conftest.i"
### CCC_OVERRIDE_OPTIONS:  +-fno-modules-validate-system-headers +-fpch-validate-input-files-content
### Adding argument -fno-modules-validate-system-headers at end
### Adding argument -fpch-validate-input-files-content at end
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <libxml/xmlversion.h>
/* end */

Tell us about your system!
What is the output from ruby -v?
ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]
What is the output from gem -v?
3.3.24
What is the output from gem env?
RubyGems Environment:
  - RUBYGEMS VERSION: 3.3.24
  - RUBY VERSION: 2.6.8 (2021-07-07 patchlevel 205) [universal.arm64e-darwin21]
  - INSTALLATION DIRECTORY: /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0
  - USER INSTALLATION DIRECTORY: /Users/vp/.gem/ruby/2.6.0
  - RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
  - GIT EXECUTABLE: /usr/bin/git
  - EXECUTABLE DIRECTORY: /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin
  - SPEC CACHE DIRECTORY: /Users/vp/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /Library/Ruby/Site
  - RUBYGEMS PLATFORMS:
     - ruby
     - universal-darwin-21
  - GEM PATHS:
     - /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0
     - /Users/vp/.gem/ruby/2.6.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => true
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /Users/vp/flutter/bin
     -<EMAIL_ADDRESS>     - /opt/homebrew/bin
     - /opt/homebrew/sbin
     - /usr/local/bin
     - /usr/bin
     - /bin
     - /usr/sbin
     - /sbin
     - /Library/Apple/usr/bin

If you're on MacOS, please note:

the version of XCode you have installed (if you know)
the output of gcc -v or clang -v

Apple clang version 14.0.0 (clang-14<IP_ADDRESS>)
Target: arm64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

From your installation command output above:
    You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.

You may want to read this article on MacOS system-installed Ruby: https://www.rubyonmac.dev/you-dont-have-write-permissions-for-the-library-ruby-gems-2-6-0-directory


Chaotic Feat: Create a New Section for Chaotic Games: "Chaos Mania"

Describe your chaotic idea
I want to create a dedicated section on the website called "Chaos Mania" to host all the chaotic, interactive games in one place. Currently, the chaotic features and games are mixed together, which leads to confusion and clutter. The name of the website is Chaos but Chaos should not hamper user experience it should elevate it.
Features:
-want to create a new page/section named "Chaos Mania" where all chaotic games will be placed.
-The section will include:
-A list or grid of chaotic games, for each game.
-Direct access for users to play and interact with these games from this section.
-new chaotic games to be added directly to this section in the future, keeping the games organized.
-Existing chaotic games to be moved into "Chaos Mania" like Maze Game

Also there are a lot of Chaotic buttons in ChaosWeb so can add a game in Chaos Mania for this , adding all the Chaotic Buttons in a Section name OUR BUTTONS COLLECTION which will have all the chaotic buttons and any further chaotic buttons can be added in this section only.

Add Screenshots or Sketches
N/A
Confirm

[X] I understand that my idea will add to the chaos and I'm okay with it
[X] I agree to follow this project's Code of Conduct
[X] I want to work on this feature
[X] I'm GSSOC'24 Extd registered Contributor
[X] I'm Hacktoberfest registered Contributor

Do it in React folder chaosweb-v@2


return list of results as an array

Hi guys,
Hope you are all well !
I would like to replace get_followers func by using twint.
https://github.com/yanorestes/botblocker/blob/master/botblocker/botblocker.py#L11-L18
How is it possible to return values like:
def get_followers_twint(username):
    # followers = []
    c = twint.Config()
    c.Username = username
    twint.run.Followers(c)
    #for ids in tweepy.Cursor(api.followers_ids, screen_name=username).pages():
    #    followers.extend(ids)
    return twint.run.Followers(c)

Thanks in advance.
Cheers,
L.

found it
def get_followers_twint(username):
    c = twint.Config()
    c.Username = username
    c.Store_object = True
    # c.Limit = 20
    twint.run.Followers(c)
    return twint.output.follows_list

How can you prevent the output of the list in the stdout ?

@lucmski do you mean not seeing the output? Try c.Hide_output = True

Thanks it worked nicely ! but botometer is too slow...
Do u have a telegram account ? I would like to contrib with a faceted search app for twint.

Is Telegram really needed? If you want, you can join osint.team and DM me there. You can email me, or DM me on Twitter. As you may prefer


[Issue 111]: first implementation of the Join operator

@chenlica @zuozhi
Renamed the branch and made the suggested changes.

Per our F2F review, the PR is ready to merge.  Congrats on the first merge!


Bower package

Hey! I've found this package and I think I will be using it in my future simple projects to keep modularity. Do you think you could do a Bower package?
Thank you for this library! :smiley:

@DevNIX this package hasn't been updated in about 4 years. Though it works perfectly and stuff, I'm not really maintaining it anymore. If you wish, you could go ahead, fork it, and release it on bower yourself. :)
On the other hand, you could just npm install --save direct and link to node_modules/direct/direct.js in your build scripts (assuming you compile your scripts together).


Refactor mcrouter configurator

Describe:
The centralized configuration of the persistence allows to keep multiple configurations in a single file.
There is a need to refactor the mutlicast router mcrouter to use centralized configurator, so that it uses areg framework to read and configure the connections.
For details, see issue #256

Fixed in PR #262


Refactor with @nrwl/devkit

This task will simplify the code a lot, but it's a lot of work.

I think that #206 is a duplicate of this.
I've been diving in the code and needs a rewrite of a big part of the code, but I think is needed to be framework agnostic and multiple ci friendly.

@RicardoJBarrios agree with that, also we think that using Promises would be enough for semver, migrating to @nrwl/devkit could be the good time to refactor using Promises


doubt in camera stream example

Hi,
in the camera stream example a receiver is acquiring the data from the camera and is transmitting it to another location. i just want to know if we want depth data on the other location does the machine on the initial location have to have a GPU or does the machine at location 2 have to have a GPU?
Thanks

Hi,
Both sender and receiver are using the ZED SDK , therefore they need a nvidia gpu on both sides.
The encoding process also uses the GPU for real time compression.


Upload multiple files without using multiple="true"

Hello,
I need to use this file upload in the single mode. Such that, I will have 3 instances of the file upload on the form, each will be used for a different file attachment type.
When the user submits the form, I need to send the 3 files to the server at once.
The point is not to use the multiple feature on the control.
I could use "FormData" to send all 3 files together. I need to grab the file attached to each control and then using FormData I can fill in the 3 files and use Upload.upload() to send all files together.
Is there a way to read the file attached in each directive manually?
Thanks

Any idea pls? Thanks


Bug happens on Send Fund/Donate screen when Delete Custom Network

improve issue https://github.com/Koniverse/SubWallet-Extension/issues/36
Describe the bug
Bug happens on Send Fund/Donate screen when Delete Custom Network
To Reproduce
Steps to reproduce the behavior:

Go to Send Fund/Donate screen on expand extension
Select any token (ex: NUUM (Metaverse Dev))
Open popup extension, go to Network Settings screen
Select Metaverse Dev Network then Disconnect this network
Delete Network above then observe screen on the expand extension

Actual: bug happens (see file attachment above)

Expected: Back to Homepage screen

Validation passed!

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./453-merge-build-0.4.9-1658315218144.zip
https://user-images.githubusercontent.com/102292476/180193982-459a76d6-eb2c-4101-b5dc-b1023ab40358.mp4


C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\setup.py:418: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\numpy\distutils\system_info.py:690: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
self.calc_info()
C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\numpy\distutils\system_info.py:690: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
self.calc_info()
C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\numpy\distutils\system_info.py:690: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
self.calc_info()
C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\numpy\distutils\system_info.py:1712: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
if getattr(self, 'calc_info{}'.format(lapack))():
C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\numpy\distutils\system_info.py:1712: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
if getattr(self, 'calc_info{}'.format(lapack))():
c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
Traceback (most recent call last):
File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\command\bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\numpy\distutils\command\egg_info.py", line 26, in run
File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\numpy\distutils\command\build_src.py", line 142, in run
File "C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\numpy\distutils\command\build_src.py", line 150, in build_sources
File "C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\numpy\distutils\command\build_src.py", line 267, in build_py_modules_sources
File "C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\numpy\distutils\misc_util.py", line 2270, in generate_config_py
File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\distutils\dir_util.py", line 70, in mkpath
os.mkdir(head, mode)
File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 310, in wrap
path = self._remap_input(name, path, *args, **kw)
File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 452, in _remap_input
self._violation(operation, os.path.realpath(path), *args, **kw)
File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 407, in _violation
raise SandboxViolation(operation, args, kw)
setuptools.sandbox.SandboxViolation: SandboxViolation: mkdir('C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\build', 511) {}
  The package setup script has attempted to modify files on your system
  that are not within the EasyInstall build area, and has been aborted.

  This package cannot be safely installed by EasyInstall, and may not
  support alternate installation locations even if you run its setup
  script by hand.  Please inform the package's author and the EasyInstall
  maintainers to find out if a fix or workaround is available.

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
      yield saved
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
      yield
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
      _execfile(setup_script, ns)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 45, in _execfile
      exec(code, globals, locals)
    File "C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\setup.py", line 443, in <module>
    File "C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\setup.py", line 435, in setup_package
    File "C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\numpy\distutils\core.py", line 171, in setup
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\__init__.py", line 145, in setup
      return distutils.core.setup(**attrs)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\distutils\core.py", line 163, in setup
      raise SystemExit("error: " + str(msg))
  SystemExit: error: SandboxViolation: mkdir('C:\\Users\\FABIOA~1\\AppData\\Local\\Temp\\easy_install-gw42ee35\\numpy-1.17.3\\build', 511) {}

  The package setup script has attempted to modify files on your system
  that are not within the EasyInstall build area, and has been aborted.

  This package cannot be safely installed by EasyInstall, and may not
  support alternate installation locations even if you run its setup
  script by hand.  Please inform the package's author and the EasyInstall
  maintainers to find out if a fix or workaround is available.

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\command\easy_install.py", line 1144, in run_setup
      run_setup(setup_script, args)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 253, in run_setup
      raise
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\contextlib.py", line 131, in __exit__
      self.gen.throw(type, value, traceback)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
      yield
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\contextlib.py", line 131, in __exit__
      self.gen.throw(type, value, traceback)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 166, in save_modules
      saved_exc.resume()
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 141, in resume
      six.reraise(type, exc, self._tb)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\_vendor\six.py", line 685, in reraise
      raise value.with_traceback(tb)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
      yield saved
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
      yield
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
      _execfile(setup_script, ns)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\sandbox.py", line 45, in _execfile
      exec(code, globals, locals)
    File "C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\setup.py", line 443, in <module>
    File "C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\setup.py", line 435, in setup_package
    File "C:\Users\FABIOA~1\AppData\Local\Temp\easy_install-gw42ee35\numpy-1.17.3\numpy\distutils\core.py", line 171, in setup
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\__init__.py", line 145, in setup
      return distutils.core.setup(**attrs)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\distutils\core.py", line 163, in setup
      raise SystemExit("error: " + str(msg))
  SystemExit: error: SandboxViolation: mkdir('C:\\Users\\FABIOA~1\\AppData\\Local\\Temp\\easy_install-gw42ee35\\numpy-1.17.3\\build', 511) {}

  The package setup script has attempted to modify files on your system
  that are not within the EasyInstall build area, and has been aborted.

  This package cannot be safely installed by EasyInstall, and may not
  support alternate installation locations even if you run its setup
  script by hand.  Please inform the package's author and the EasyInstall
  maintainers to find out if a fix or workaround is available.

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\Fabio Alexandre\AppData\Local\Temp\pip-install-w4ylp251\thinc\setup.py", line 261, in <module>
      setup_package()
    File "C:\Users\Fabio Alexandre\AppData\Local\Temp\pip-install-w4ylp251\thinc\setup.py", line 201, in setup_package
      setup(
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\__init__.py", line 144, in setup
      _install_setup_requires(attrs)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\__init__.py", line 139, in _install_setup_requires
      dist.fetch_build_eggs(dist.setup_requires)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\dist.py", line 716, in fetch_build_eggs
      resolved_dists = pkg_resources.working_set.resolve(
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\pkg_resources\__init__.py", line 780, in resolve
      dist = best[req.key] = env.best_match(
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\pkg_resources\__init__.py", line 1065, in best_match
      return self.obtain(req, installer)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\pkg_resources\__init__.py", line 1077, in obtain
      return installer(requirement)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\dist.py", line 786, in fetch_build_egg
      return cmd.easy_install(req)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\command\easy_install.py", line 679, in easy_install
      return self.install_item(spec, dist.location, tmpdir, deps)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\command\easy_install.py", line 705, in install_item
      dists = self.install_eggs(spec, download, tmpdir)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\command\easy_install.py", line 890, in install_eggs
      return self.build_and_install(setup_script, setup_base)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\command\easy_install.py", line 1158, in build_and_install
      self.run_setup(setup_script, setup_base, args)
    File "c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\command\easy_install.py", line 1146, in run_setup
      raise DistutilsError("Setup script exited with %s" % (v.args[0],))
  distutils.errors.DistutilsError: Setup script exited with error: SandboxViolation: mkdir('C:\\Users\\FABIOA~1\\AppData\\Local\\Temp\\easy_install-gw42ee35\\numpy-1.17.3\\build', 511) {}

  The package setup script has attempted to modify files on your system
  that are not within the EasyInstall build area, and has been aborted.

  This package cannot be safely installed by EasyInstall, and may not
  support alternate installation locations even if you run its setup
  script by hand.  Please inform the package's author and the EasyInstall
  maintainers to find out if a fix or workaround is available.

  ----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: 'c:\users\fabio alexandre\appdata\local\programs\python\python38-32\python.exe' 'c:\users\fabio alexandre\appdata\local\programs\python\python38-32\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Fabio Alexandre\AppData\Local\Temp\pip-build-env-qg054q1u\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'wheel>0.32.0,<0.33.0' Cython 'cymem>=2.0.2,<2.1.0' 'preshed>=2.0.1,<2.1.0' 'murmurhash>=0.28.0,<1.1.0' 'thinc>=7.0.8,<7.1.0' Check the logs for full command output.

Use Python 3.7 and may sure it's x64 and to make sure use --no-cache-dir to prevent use of cache

Hello @Guigalaverna, I would suggest reinstall python 3.7.2 also keep in mind to delete the cache file after uninstalling. So,
delete the pip folder from C:\Users\soham\AppData\Local\pip and
delete the old python setup files from C:\Users\soham\AppData\Local\Programs\Python
then reinstall python 3.7.2
then pip install chatterbot
it will work


no support nullsafty

need updates to support nullsafty

Definitely, are the same problem. Please migrate to null safety.

Please migrate to null safety!

Same, Please migrate to null safety.


Fix some schema typos.

Thanks. As you can see it's been a very long while since I actually created a fresh DB :-/


⚠ Samsung has degraded performance

In 2146ac3, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1984 ms

Resolved: Samsung performance has improved in affd66b.


Feature Request: Gists

Hey!
It would be great to have support for Gist
Thanks

This is not an extension for GitHub/Gist or any specific website, you can find a Gist extension here: https://github.com/FezVrasta/gist-manager


[Bug] MBPO - Epoch loop missing steps_epoch reset

Observed
mbpo.py - line 199
in the for loop that is incrementing the steps of the current epoch, the steps_epoch iteration variable is not being reset after we observe a termination (done=True).
This will mean the next epoch will start from the steps_epoch+1 in which the previous epoch ended.
And the next epoch will be shorter than the actual epoch length (i.e. epoch_length - steps_epoch)
 for steps_epoch in range(cfg.overrides.epoch_length):
            if steps_epoch == 0 or done:
                obs, done = env.reset(), False

Is this behaviour desired?
Expected
If it's not desired we would propose something like this to set steps_epoch=0 :
 for steps_epoch in range(cfg.overrides.epoch_length):
            if steps_epoch == 0 or done:
                steps_epoch = 0
                obs, done = env.reset(), False

Thanks!:)

This wasn't intentional, good catch! Would you be interested in submitting a PR with the fix? If not, that's OK, thanks a lot for the bug report!

Yes, sure!


Update Oculus Unity package from 33.0 -> 34.0

I probably should have mentioned that I didn't have a chance to test this one yet. Oops. Well, we'll find out :-)


v1.15 Backports 2024-02-08

[x] #30443 (@brlbil)
[ ] #30507 (@pippolo84)
[ ] #30536 (@hemanthmalla)
[x] #30525 (@tklauser)
[x] #30520 (@julianwiedmann)
[ ] #30496 (@giorio94)
[x] #30378 (@brlbil)
[ ] #30368 (@christarazi)
[ ] #30543 (@chaunceyjiang)
[ ] #30321 (@giorio94)
[x] #30576 (@julianwiedmann)
[ ] #30612 (@gailsuccess)

Once this PR is merged, a GitHub action will update the labels of these PRs:
 30443 30507 30536 30525 30520 30496 30378 30368 30543 30321 30576 30612

/test-backport-1.15

The expected Conformance Gateway API check is missing because it has been renamed in this PR to Conformance Gateway API (ci-gateway-api).
All testing has passed, awaiting for reviews now.

This should be ready to merge as soon as reviews are in.

Most of the reviews are in, marking this ready to merge.


[manila-csi-plugin] Add options for passing mount opts to cephfs-csi

What this PR does / why we need it:
manila-csi already passes mount options to its partner Node Plugins. However, cephfs-csi consumes mount options for CephFS kernel and FUSE client via separate volume context parameters: kernelMountOptions and fuseMountOptions. In order for user to be able to control these, manila-csi needs to expose these params as well.
Please see https://github.com/ceph/ceph-csi/blob/devel/docs/deploy-cephfs.md#configuration for reference (section "Available volume parameters").
Exposing kernel opts are especially important for environments with SELinux enabled, where users may want to pass in SELinux context options.
Special notes for reviewers:

Release note:

[manila-csi-plugin] Add cephfs-kernelMountOptions and cephfs-fuseMountOptions volume parameters

/lgtm
/approve

The docs file is outside pkg/csi/manila so my attempts probabably won't be effective, but they are there for the record.

Thank you, @tombarron ! @ramineni could you please take a look?

/assign @ramineni

/approve


Use yield from instead of yield in a loop

Fixing pylint for PR #219

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.006%) to 81.427%

Totals

Change from base Build<PHONE_NUMBER>:
-0.006%

Covered Lines:
2363

Relevant Lines:
2902

💛  - Coveralls


@conda-forge-admin,please add bot automerge

Issue:

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/pypeln-feedstock#5.


Refactor EIP712 Gov

Refactor EIP-712 Gov module.

LGTM. @austinchandra do you know if we support the Weighted vote transaction too ?

We don't support it at the moment, but it should be easy to add.
Opened a ticket:
https://linear.app/evmos/issue/ENG-1559/add-weightedmsgvote-support


Issue with Open Terrain Generator Biome being used on a planet.

For some reason, when I have an Open Terrain Generator biome it takes biome things such as grass color, but it doesn't build the biome with OTG settings. I have tested the biome in a plane world and it worked, but when I put it on a planet it doesn't work. As well as that, there are just two biomes on the planet, "openterraingenerator:moon_plains", and "openterraingenerator:moon_crater". But yet the planet is also getting two more biome, the desert and the ocean.
Here are all the configs and the mods if you want to test it.
OTG Tester.zip

Is this still a issue? Please comment if it is and i will reopen if if you are unable? We are closing old issues to see what is still relevant and needs to be fixed.


Tail rom

There's going to be a fair amount of work in this stream, so wanted to get something out for review sooner rather than later.


Type column is limited and might work better if mapped to Mitre

Currently the "Type" column on the timeline is very limiting. I suggest 2 possible improvements:

The values in the type column are customizable, with a separate config file that could be edited to allow this.

The "Type" column be renamed to "Technique" and the selection matching Mitre with these options:

Initial Access
Execution
Persistence
Privilege Escalation
Defense Evasion
Credential Access
Discovery
Lateral Movement
Collection
Command and Control
Exfiltration
Impact

A second column could then be added called "ID", the selection in this drop down would be dependent on what had been selected for the technique, for example if "Initial Access" had been selected in the Technique column, then the list of ID's from here: https://attack.mitre.org/tactics/TA0001/ would be available in the ID column.
Mitre doesn't change that often but an API connection to the attack matrix would be best for keeping these up to date (i don't know if they offer that). either that or maintained by the devoted Aurora community :-)

That makes sense but needs some reworking. I think the best way to go is to allow the user to edit the options available in these dropdowns. I'll come up with something


[DOCU-2035] Badge tooltips

Summary
Adding tooltips to FREE, ENTERPRISE, PLUS, OSS ONLY, and DB-LESS COMPATIBLE badges.
Didn't add a tooltip for the BETA badge, as I couldn't figure out what to say that wasn't obvious from the badge label.
@falondarville : I'm struggling to make these tooltips work properly in all situations. See examples below for the issues.
Reason
Lots of confusion around the meaning of the badge labels, particularly the FREE and PLUS badges.
Testing
Test in various scenarios:

In-text labels, for example (need to adjust top margin): Gateway intro

H1 headers (page titles): plugin page and main doc page:

Tables in main content body, for example in the contributing guidelines - last item in table should fit:

Tables in plugin sidebar - I'm stuck on this one. For example, see the sidebar on this plugin (scroll on the right nav):
Potential solution is to remove the badge from the sidebar. There's already a badge in the title; sidebar could also just be plaintext (since "Free" or "available in free and OSS" plugins don't have title badges, eg basic auth).

I would decrease the space between the badge and the tooltip so that it's more clear what the user is hovering over to get it. As for the overflow issue on the sidebar, I would keep the badge there as it's a recognizable symbol throughout the doc set. I'd have to dig more into adjusting the tooltip to lean left (instead of right) so it doesn't get covered.

@falondarville can you take a look again? I think we should consider also moving badges to the line below headers, but for now, tooltips are working!
Please also review the text itself for grammar + let me know if the definitions make sense or need some help. And actually, I might just post this in the Gateway channel, since that's where the concerns came up.

Re, this point:

Googling terms like "kong enterprise free" and clicking around eventually lead me to this explanatory blog post, but I scrolled right past it several times thinking "nah that can't be the information I'm looking for--that's just a blog random blog post." So IMO there's still a communication gap left to bridge here.

It's a good one. Going to take an action item to add this info properly in the docs somewhere.


Process documentation: Engineering team "Research Spikes"

Migrated from GitLab: https://gitlab.com/meltano/handbook/-/issues/62
Originally created by @aaronsteers on 2022-02-09 22:02:35

Cc Engineering team @tayloramurphy, @edgarrmondragon, @pandemicsyn
TODO: We ant to explore how and if we should support "Spikes" in our flow - and specifically "Research Spikes".
Challenges with "Spikes":

Difficulty in time constraining the spike. Given the nature of ambiguity being an inherent driver of wanting a "spike", the same uncertainty also makes it hard to guess how much time it will take to resolve the ambiguity. The very nature of spikes is that they have high uncertainty.
Often hard to define "Definition of Done". The same spike could take 2 hours, 6 hours, or 12 hours, depending on how it is approached, who's tackling it, how much documentation we want as output, and what level of certainty we expect in the output.
Learnings from the spike may or may not be portable/usable to other engineers in the team.
A "second opinion" may not be possible without doubling the effort.
The cost of running, coordinating, and feeding back learnings from the spike may be more expensive than handling inline with the dev work.

Alternatives:

Avoiding the word "Spike" and calling these instead Research Assignment issues or Spec Definition issues. The subtle difference in description also carries a more clear "definition of done".
Building in smaller code increments (with perhaps a non-shipped code output in an MR) instead of dedicated Research Spikes (which may otherwise have no code or product output).
In any issue weighted 8 or 12, build in an expectation for 'uncertainty', along with scheduling upfront a synchronous or asynchronous mid-delivery spec check or spec alignment discussion.
For issues with high uncertainty, build a practice of documenting "assumptions" upfront and then setting expectations with Product that dev efforts may be aborted, paused, or punted if assumptions are proven incorrect, paired with a clear communication when we think that might be the case.

View 3 previous comments from the original issue on GitLab


Compatibility with rabbitmq broker hosted on amazon mq

How can this package be used in the browser with a rabbitmq instance that is hosted on amazon mq? It seems that the tcp relay is needed in some way, but I'm not sure how that would work with the amazon mq. Thanks.

Yes you would have to convince Amazon MQ to install the websocket-tcp-relay
Or just go with CloudAMQP where it comes as default :)


Release v0.2.0

This PR edits the CHANGELOG to mark the v0.2.0 release. After it's merged, I will tag the resulting commit, and then push the release to PyPI.
This release is particularly important, because due to the recent breaking changes in protobuf (see #25), the v0.1.0 version no longer works out of the box (one needs to either pin or downgrade protobuf separately).

Looks good to me.


Subscription API Call from php

Hi, we have difficulty calling subscription related api. We are calling https://api.razorpay.com/v1/subscription.  A code snippet to do this will help us greatly.
Thank you.

Hi @homeassiist sorry for the delay . you can use this documentation for subscription related api .
Closing this issue for now.


MinDeposit Price

Hi there, enybody know how to change minDepositPrice from $1 to something else and how to change max deposit items from 10 to more ?

https://github.com/ztizzlegaming/CSGOWinBig/blob/master/src/php/check-items.php#L164
https://github.com/ztizzlegaming/CSGOWinBig-SteamBot/blob/master/SteamBot/DepositTradeOfferUserHandler.cs#L113
and in future use the search on github (on both projects).

Antony Please add me on steam :) inned help


inlist: move type coercion to logical phase

Which issue does this PR close?

Closes #3468
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Codecov Report

Merging #3472 (22da6f0) into master (9fbee1a) will increase coverage by 0.00%.
The diff coverage is 97.56%.

@@           Coverage Diff           @@
##           master    #3472   +/-   ##
=======================================
  Coverage   85.73%   85.73%
=======================================
  Files         299      299
  Lines       55170    55219   +49
=======================================
+ Hits        47298    47344   +46
- Misses       7872     7875    +3

Impacted Files
Coverage Δ

...atafusion/physical-expr/src/expressions/in_list.rs
85.19% <91.30%> (+0.19%)
:arrow_up:

datafusion/core/src/physical_plan/planner.rs
77.31% <100.00%> (+0.06%)
:arrow_up:

datafusion/optimizer/src/type_coercion.rs
93.56% <100.00%> (+2.16%)
:arrow_up:

datafusion/physical-expr/src/planner.rs
92.36% <100.00%> (-0.33%)
:arrow_down:

...tafusion/core/src/physical_plan/file_format/csv.rs
93.54% <0.00%> (-0.93%)
:arrow_down:

datafusion/common/src/scalar.rs
85.11% <0.00%> (-0.07%)
:arrow_down:

datafusion/expr/src/logical_plan/plan.rs
77.68% <0.00%> (ø)

datafusion/expr/src/window_frame.rs
93.27% <0.00%> (+0.84%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add initial personas doc

As discussed in today's meeting, putting these into the repo!

For the personas, should we capture the interop registry operators? Is there a "big company that buys new trucks" persona, vs. the small company that "keeps their old trucks" personas?
This way we can think through compat experiences.

We can add more personas in the future, right?

I think for each persona listed, it is implied that each of them comes in varying degrees of quality, for example:

a fancy factory with the latest tech vs. a rundown one
a super strict health inspector vs. a lax one

I don't think more personas are necessary because this "real-life" scenario already takes into account life's imperfections and intricacies.
That being said, the truck/truck driver is a big focal point of what we're designing here.
To Nisha's point we can built atop this later on, and would be nice to just get something in :)

While I agree with the points, the biggest tension we've had is around "new trucks" with anti-lock brakes, lane control, internet connectivity for maps and locations, and "older trucks" that haven't been upgraded, that you might plug something into the cigarette lighter, but the "experience" is far less.
What I'm suggesting is we capture the need round trip a reference type between an old truck and a new truck. We shouldn't have data-loss. The experience may not be as good, but we don't want to lose granularity in the contents.

I still think it's all implied... you're getting into the weeds on what is meant to be essentially a childrens' book version of the WG.

@SteveLasker I feel like the use case you are trying to capture may fall under "logistics". I think a logistician would still need to interact with farmers, truck drivers, etc. Therefore, it may add a layer of complexity which isn't the goal. Think about it this way: if one person did the farming, the making of the ice cream, the shipping, and the inspecting, that's a whole lot of work!
That said, if there was a persona like a "truck supplier", I think there is room to add something like that in the future.

I leave it to you and Josh to creativley map the abstraction to ice cream delivery.
Im just trying to capture interop and round tripping of reference types. I’d suggest no data loss is the requirement, while the experience may be different on registries that don’t support the query and lifecycle capabilities, while others do adopt these new outcomes.

I leave it to you and Josh to creativley map the abstraction to ice cream delivery.

Ok, then with Nisha and I in agreement, it sounds like we are good to merge this in.
cc @lachie83 @justincormack @michaelb990 @dmcgowan @jonjohnsonjr

Removed the jpegs and replaced with emojis to avoid lawyer stuffs

Nice!


Add getLoadMode function

Add a new function called getLoadMode that returns the current load mode. The possibel response is:
DESTROYED, NOT_LOADED, MEDIA_SOURCE and SRC_EQUALS
This function is necessary for https://github.com/google/shaka-player/issues/1003 because AirPlay only works with SRC mode.

I would be curious to know if the webkitplaybacktargetavailabilitychanged event fires for MediaSource playbacks on desktop Safari or for video elements without a src attribute.  If so, we definitely need this.  If not, this may be unnecessary.
Is this something you can test?
The PR looks good to me otherwise.

Two solutions to this test failure:

If this method's result should be proxied when casting, add it to shaka.cast.CastUtils.PlayerGetterMethods in lib/cast/cast_utils.js
If this method's result should not be proxied when casting, add an appropriate comment to PlayerGetterMethods and update ignoredMembers in test/cast/cast_utils_unit.js

Also, please let me know if you have any data on the behavior of webkitplaybacktargetavailabilitychanged for MSE or idle video elements.  Thanks!

I just tested and with Safari 12.2 in High Sierra, webkitplaybacktargetavailabilitychanged is fired in MSE and src=

Thanks!

Thank you!


Add support for Mongoid 6

Adds support for Mongoid 6 while retaining support for Mongoid 5 at the same time.
NOTE: This PR is stacked on top of PR #48 to account for the changes to the build matrix (supported ruby versions).

Fixes #36
Closes #19
Closes #33
Closes #43
Closes #42
Closes #38

/cc @thetron

@thetron can you accept this PR and release a new version?

@thetron Any movement on this?


docker network name should be optional

as discussed with @karimra the proposal is to make docker network name optional (auto-generated based on lab prefix)

it already is, the defaults for docker network related values are corrected in #112


Invalid email issue while adding SSL

I am trying to add SSL to this domain with this email id. Whereas Domain is added on our server properly and email is also verified. But I don't know why am getting this error again and again. Here are logs of SSL server:-
Domain is  [ 'farmersdirect.net', 'www.farmersdirect.net' ] object
0|index    | customEmail is<EMAIL_ADDRESS>0|index    | mmmiiinnn  timeeee<PHONE_NUMBER>
0|index    | [acme-v2] (E_STATE_INVALID) challenge state: 'invalid'
0|index    | [acme-v2] handled(?) rejection as errback:
0|index    | Error: [acme-v2] [error] unacceptable challenge state 'invalid'
0|index    |     at /var/www/storehippo/app/servers/ssl_certificate/node_modules/acme-v2/node.js:374:31
0|index    |     at
0|index    |     at process._tickDomainCallback (internal/process/next_tick.js:228:7)
0|index    | { Error: socket hang up
0|index    |     at TLSSocket.onHangUp (_tls_wrap.js:1135:19)
0|index    |     at Object.onceWrapper (events.js:313:30)
0|index    |     at emitNone (events.js:111:20)
0|index    |     at TLSSocket.emit (events.js:208:7)
0|index    |     at endReadableNT (_stream_readable.js:1055:12)
0|index    |     at _combinedTickCallback (internal/process/next_tick.js:138:11)
0|index    |     at process._tickDomainCallback (internal/process/next_tick.js:218:9)
0|index    |   code: 'ECONNRESET',
0|index    |   path: null,
0|index    |   host: 'localhost',
0|index    |   port: 443,
0|index    |   localAddress: undefined } 'respppppppp' undefined
0|index    | { Error: ENOENT: no such file or directory, open '/root/acme/etc/live/farmersdirect.net/fullchain.pem'

You run farmersdirect.net?
If so, homebase's https requires that it's given access to port 443 and made the main server. If you don't want to do that, I'd just turn off letsencrypt and https and let your existing server handle https.

Hi
I don't get your point exactly.

Are you the owner of the farmersdirect.net domain name?


Compatibility with spring 3.4.0

Currently it is not possible to upgrade to spring 3.4.0 without disabling the compatibility verification. There seem to be no changes that break compatibility with spring cloud, though, at least not in our applications.
Please consider changing the version constraint.

@OlgaMaciaszek There has been a release of spring cloud (4.2.0) but it hasn't fixed the issue. Additionally, the 2nd has passed but the milestone for 2024.0.0 says that 0 of it has been completed. Is this really done?


{"error":"From is required"} after fresh install

I just install Staart and i get this error when i register the first user.
{"error":"From is required"}
I think is linked to problem with email. It is normal that the row primaryEmail have int(12) in staart-users ?

This seems like the error is because the "From" email is not specified, when sending an email confirmation. Do you have the right environment variables in place? Please see https://github.com/o15y/staart/blob/master/.env.example and make an .env file.
As you'll see in https://github.com/o15y/staart/blob/master/src/config.ts#L60, not having an SES_EMAIL will throw this error.

Yes i am using the right .env.
I think is linked to problem with email. It is normal that the row primaryEmail have int(12) in staart-users ?

Alright, let's have a look. Can you send me a more detailed error, maybe from the console?
Yes, the primaryEmail field stores the ID of the email record in the email table, not the actual email address string.

There is no error only [object Object] in the console

Alright, here's what I'll do. I have a talk tomorrow but after that, I'll record a screencast of cloning Staart and setting it up and upload it over the weekend.

Ok thank you very much for your help. It will be good for other people.
The project is very good. I really like the idea

That would be great! @AnandChowdhary ! I managed to setup both staart and staart-ui. Register account works, reset password works. Login goes in a loop and I get "invalid-token' if I debug. :/ - I'm sure it;s something simple I missed...

Yes, this is because the Axios token is invalid. Just remove the X-Api-Key from your axios.config.ts in Staart UI to fix.

For me still i get this error: [object Object]
I install it in another server. No way to make it work.

Thanks @AnandChowdhary, knew it was something easy. All good now. @yagobski  - I had that too, it was because of AWS SES, I had it in sandbox (default when you create account) and I was trying to register an unapproved domain e-mail.

Thanks, @araduti! @yagobski, can you check if applying for production (from SES sandbox) or using a sandbox-approved email solves your problem?

@AnandChowdhary  I already use the information in my .env. I create accounts for that but not solve my problem. I will try to debug it and let you know.

I've added a small test for both email and Redis configuration. Now, when you run Staart, it'll test your configurations. If your AWS SES configuration is invalid (like @araduti suggested), then you'll see the following in your console:

If you don't see this message and still get this error, it's probably something else. Can you pull to the most recent version and try?

Awesome @AnandChowdhary ! I'm sure it will save other headaches.  Maybe you can add the  X-Api-Key test as well, or add it to the documentation ?

This was added on the https://staart.js.org/ui website. I think I should close this issue for now, since nobody else is able to reproduce it. I'll reopen it if we're sure it's not an AWS SES issue. You can test that by, instead of sending real emails, console.logging them.


Integrate GraphQL schemas

Hey all. Right now the GraphQL spec is frozen. Do you all think this is a good place to put the specs to make them "living" documents instead?  In that case I'd be willing to work on that.

@s1na this would be a great place for it!

I have a first draft here: https://gist.github.com/s1na/77e5d54a9a305244571abc7871fdcbaa
This is an introspection query against geth's GraphQL endpoint. Clients could run the script against their implementation and compare the resulting schema. Because the REST APIs were in JSON I output these schema also in JSON. If a human-readable format is better we could output it in GraphQL's SDL (just like the EIP).


Enable Checker's concurrent semantics

TBH to spot cases like that, I'd turn on Checker's concurrent semantics for the entire project (or at least for frontendActions): https://checkerframework.org/manual/#faq-concurrency
Originally posted by @PawelLipski in https://github.com/VirtusLab/git-machete-intellij-plugin/pull/245
In scope of this task:

add -AconcurrentSemantics to checker's extraJavacArgs
resolve possible code issues

I inspected the errors raised by Checker when concurrent semantics is turned on, basically all of them are caused by associated limitations on flow-sensitive type refinement (https://checkerframework.org/manual/#type-refinement) rather than by actual concurrency-related issues. Not worth introducing, closing the issue.


Update dependency @types/mocha to v10.0.6

This PR contains the following updates:

Package
Type
Update
Change

@types/mocha (source)
devDependencies
patch
10.0.3 -> 10.0.6

Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Self-Hosted Renovate Bot. Find all logs here.

 You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


Re org and addition of prod omero playbook

Reorganised top-level doc, which had heavy OpenStack focus.
Left generic details, a little description, and also copied the OpenStack specific README to a new doc.
Added new playbook for a production standalone OMERO server, prod-omero.yml, as the existing OMERO server playbook was the OpenStack specific os-omero.yml.
Was a little more specific with the message/name in  ansible/roles/omero-server/tasks/omero-systemd.yml as it's trying to start up the servers too, not just enable them. I had some issues with running this with an already-running OMERO, so the specific 'enable and start' is a little more descriptive about what it's trying to do.

As for testing, the prod-omero.yml was used to bring up the server training-server so you likely don't need to re-verify it works if time short.
I'm mostly looking for vetoes on the new structure of the top level doc - which made this repo look like it was only for OpenStack, which might put off collaboration and reuse.

:+1: on the docs change barring the few comments. Primary question which may be for a later clean up is how far are we away from os-omero.yml being able to re-use prod-omero.yml? cc: @manics Otherwise, nice
Note: additionally tested with:
(v)~/opt/infrastructure/ansible $ git diff
diff --git a/ansible/Vagrantfile b/ansible/Vagrantfile
index 1974913..e06a490 100644
--- a/ansible/Vagrantfile
+++ b/ansible/Vagrantfile
@@ -31,6 +31,14 @@ Vagrant.configure(2) do |config|
     end
   end

+  config.vm.define "prod-omero" do |prod|
+    prod.vm.box = "centos/7"
+    prod.vm.provision "ansible" do |ansible|
+      ansible.verbose = "v"
+      ansible.playbook = "prod-omero.yml"
+    end
+  end
+

(though I have had some issues running it)

I reckon keep them separate, the common functionality should be in the role

Otherwise you get into the problem of combinatorial testing- if you modify settings in the playbook you now need to check those settings don't affect any other playbooks which use it (e.g. overwriting/hiding variables)

I think you have that testing problem anyway because if you change a role, you need to find & update each the locations.

I think it's more complicated with playbooks because you have to take into account group/host vars (which may or may not also be set in one or more playbooks)

But assuming we reviewed the variables couldn't the upstreamers have fewer and the downstreamers have more overrides? Yes it's work, but it seems that that's the kind of refactoring that will keep all of this reusable.

:+1:


No sourcemap warning

I'm getting this error when building my app for production with this plugin:
Sourcemap is likely to be incorrect: a plugin (svelte-svg) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help

Is this something you're aware of?

Thanks, we're not using this in our internal code currently so these kind of issues are missed.
It looks like we're not outputting the map generated by the Svelte compiler.

Fixed in https://github.com/metafy-gg/vite-plugin-svelte-svg/commit/7f60563a4375ecbe6c9b111cd8bdac4cdd5d9b1c


added createOrgRepo for create organization repos

Hi @marcosomma.
Thank you for your interest in this library. To consider your PR, we need you to write a test for the feature you want to add.

hi @AurelioDeRosa  thanks! This was just a fast change to make it work. I'll improve the code and also add the test asap I have time :) hopefully during the week end ;)

Hi @AurelioDeRosa I just finish the tests for this pull request, but I receive this error from the git api:
{
     "message": "You need admin access to the organization before adding a reposito
ry to it.",
    "error": 403
}

As user I used the one present in the tests/user.json and as Organization openaddresses
Could you set this user as admin for this organization? Is the only way to pass my tests.
Please let me know what I have to do :)
Thanks
Marco Somma

@AurelioDeRosa I fix the problem with the organization :)
I also update the test/user.json to reuse the organization that I setup for this test user.
In local the npm test command run 72test and no one fail, but I think that the project have some problem in the .travis.yml file. I'm not able to pass the Travis build.
Regards
@marcosomma

I also fix the naming conflict between my PR and this one to prevent conflict during the merging.


display a notice if current website is not a moodle site

instead of displaying the default menu, maybe showing a notice saying that the extension cannot be used on current site would make the interface more consistency thus reduces confusion.

In early version of Google Chrome the extension icon is supposed to be in the address bar and invisible when not applicable to current webpage. However, Chrome later move all extension icons outside the address bar in some version [See this]. I was hoping this change could be reversed but now I might need to make a change as you said.


Possible to move panel from top left?

I can't seem to find a way to move the little 5/6-button panel from the top left, where it blocks my buff icons.
May I ask how to do it?

I options "General" you can move the toolbars.
But I can't move the grid. I don't know how to get it with a cursor. See screenshot.

@lwellers Thank you! Found that function under "Edit Menu & Messagebar Overlays". Then I tried the button next to it and messed up my stash tab grid too haha. Couldn't move it either, only resize.
Although now POE has built-in trade item highlighting, I haven't been using any such grid functions anymore.

Just an update - looks like the "Edit Menu & Messagebar Overlays" feature does not actually save the position. Every time I close and run SlimTrade again, the Menu panel goes back to the top left of the screen.

Thanks for the reports. Working on a fix for both issues.

Fixed in v0.4.7. Restart to get the update.


[DOC] - Monitoring with Grafana + Prometheus

Preliminary Checks

[X] This issue is not a question, feature request, RFC, or anything other than a bug report. Please post those things in GitHub Discussions: https://github.com/nebari-dev/nebari/discussions

Summary
Add documentation for the existing monitoring tools and dashboards that are deployed with Nebari.
Steps to Resolve this Issue
None

Grafana monitoring now has its own page. Improvements to this page are covered in #393 and #442 in more detail.


301 error

$ curl https://npmjs.org/install.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   193  100   193    0     0    212      0 --:--:-- --:--:-- --:--:--   212
sh: line 1: html: No such file or directory
sh: line 2: syntax error near unexpected token `<'
'h: line 2: `<head><title>301 Moved Permanently</title></head>

I'm currently sorting through the answers here. Will report if I find success.
http://stackoverflow.com/questions/15508118/cannot-install-npm-using-curl

I didn't get an error with the following solution (the last in the SO issue above), so I assume this worked, and that the curl instructions should be updated as follows:
$ curl -k -O -L https://npmjs.org/install.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   193  100   193    0     0    296      0 --:--:-- --:--:-- --:--:--   296
100  6263  100  6263    0     0   2690      0  0:00:02  0:00:02 --:--:--  4551


Cpo

What I did so far:
train_generator.py: a rough draft of the training pipeline.

ExtraArguments: args that are specific to the training pipeline, incomplete
peft_finetune method:

loads the model and the tokenizer
loads the dataset
TODO: build the collator, it should be a DPODataCollatorWithPadding
TODO: build a transformers.Trainer
TODO: train
TODO: save model
etc.

DSPyConfig: dspy specific arguments, if we choose to tune using dspy as well
dspy_finetune method

cpo_dataset.py: defines methods for building and loading the dataset for CPO tuning

load_llmt_dataset: aims to mimic the data loading logic they did in the ALMA repo

loads a json file, which contains documents, example documents for few-shot prompting, generated and gt queries and corresponding scores. It performs the 2-out-of-3 selection and returns an iterable dataset. All this is TODO

build_llmt_dataset: describes the whole pipeline for building the dataset that load_llmt_dataset expects, including generating the queries by both the teacher and the student models.

implemented through a series of sub-functions for readability
Builds a JSON file in the following format:    {
        "dataset_name": str -- name of the dataset,
        "doc_ids": List[str] -- list of document IDs,
        "data": {
            {doc_id}: {
                "example_ids": List[str], -- list of example document IDs
                "example_texts": List[str], -- list of example document strings
                "example_query_ids": List[str], -- list of example query IDs
                "example_queries": List[str], -- list of example queries

                "target_doc_id": str, -- the target document ID
                "target_doc_text": str, -- the target document string
                "ref_query_id": str, -- id of the ground truth query
                "ref_query": str, -- the ground truth query string
                "teacher_query": str, -- the teacher query
                "student_query": str, -- the student query

                "ref_score": float, -- the ground truth score
                "teacher_score": float, -- the teacher score
                "student_score": float, -- the student score
            }
        }
    }
    ```

Two things are still missing:

We need to decide how we want to select the example document-query pairs for the prompt
We need to implement the generate_queries function. I would like to use it for generating queries for both the big and the small model.

NOTES:
I'll remove the ALMA submodule, we don't need it, just keeping it for reference rn.

almost ready, something is still messed up with the way we perprocess the data. Will fix tomorrow


Feature: unified include/exclude file

Implementation of #223. Review comments are very welcome, but let's keep the design discussion in #223.
Fixes: #223

I also added a commit updating the docs to reflect these changes.


[Modules] Map private framework submodules to new syntax

Map private framework submodules from Foo.Private to Foo_Private
In case submodule Foo.Private do not exist, try to match Foo_Private,
which is the current suggested way to write private framework modules.
Emit warnings to that users can use the recommended @import Foo_Private
form.
Example:
$ cat test.m
@import Foo.Private;
int a = MYPRIVATE;
$ clang ...
test.m:1:13: warning: no submodule named 'Private' in module 'Foo'; using top level 'Foo_Private' [-Wprivate-module]
@import Foo.Private;
^~~
Foo_Private
./Foo.framework/Modules/module.private.modulemap:2:18: note: module defined here
framework module Foo_Private {
^
1 warning generated.
rdar://problem/36023940

@swift-ci please test

We'll have to diagnose this specially on the Swift side too, since we don't have real source locations for module includes, but it's okay, we know how to do that. This seems reasonable!


calling MetroWindow from different class

I am trying to call the MetroWindow from a class (inside the same project - inheriting DialogDebuggerVisualizer).
I am using ShowDialog() method to popup the window.
Problem is, when I am using ShowDialog method to show the form, it is not loading the metro style, it is just a black form with normal UI controls. UI stays plain old WPF style and not the metro style.
If I directly try to show this form from MainWindow (WPF window), it is something like this:

But,if I call from the class, it is something like this:

If anyone has faced this issue, please let me know how to fix this?

@tpatel11 seems like you must put all necessary resources inside the resource tag of the window itself.

Yes, you are right. I figured out that I have defined all of the styles in App.xaml where as I should have done that in window.Resources.


Add expectRejections param

Work in progress. Expected to close off issue #485. Please review.
Notes

I fixed a bug in the initial useRejections implementation from PR #525, and also did some refactoring of it
I'm exposing a new public method adaptInputValidator so users who have inputValidators using the old API can start using the new API without having to refactor all of their old inputValidators right away.
When I enabled the new behavior in the defaults (set expectRejections to false) none of the tests failed, so I changed the 'validation error' test to validate the old behavior, and created a corresponding test 'validation error /w expectRejections=false'. Also added a test 'does not swallow errors in user-defined functions /w expectRejections=false'.
I was tempted to add support for sync inputValidators and preConfirms right in this PR but I'll follow up with that in a separate PR

Question
As it is now, when expectRejections=false, preConfirm functions have no way to signal a validation error. It only signals the value that should be returned by swal. Should we fix that? Or for the sake of a simpler API should we say only inputValidators can signal validation errors? If you want to fix it, what API would you like to see?
How about...?
async function preConfirm (value) {
  if (isBad(value)) {
    return {validation: 'bad!'};
  } else {
    return {value: someTransform(value)}
  }
}

The inputValidator API /w expectRejections=true (current behavior)
function inputValidator (input) {
  return input === '' ? Promise.reject('Must not be blank')
    : input.length > 30 ? Promise.reject('Must not be over 30 characters')
    : Promise.resolve()
}

// as an async function

async function inputValidator (input) {
  if (input === '') {
    throw 'Must not be blank'
  } else if (input.length > 30) {
    throw 'Must not be over 30 characters'
  }
}

Note that the throw 'text' statements violate the no-throw-literal eslint rule
The inputValidator API /w expectRejections=false (newly enabled behavior)
function inputValidator (input) {
  return Promise.resolve(input === '' ? 'Must not be blank'
    : input.length > 30 ? 'Must not be over 30 characters'
    : null)
}

// or as an es-next async function

async function inputValidator (input) {
  return input === '' ? 'Must not be blank'
    : input.length > 30 ? 'Must not be over 30 characters'
    : null
}

So I'm planning the v.3 of NgSweetAlert2 which will go deeper and smarter in its integration with SweetAlert2.
So I hade to take a closer look to the preConfirm/inputValidator APIs and given that there are important (but very welcomed) changes, I'll have to wait for Swal2 v.7.
inputValidator
I'm 100% for the new inputValidator API based on null when validation passes, and a real value (a string here) for user errors. Angular has the same, by the way (with an object instead of the string, for multiple inputs).
preConfirm

How about...?

async function preConfirm (value) {
  if (isBad(value)) {
    return {validation: 'bad!'};
  } else {
    return {value: someTransform(value)}
  }
}

I don't like it. I'd say I'd prefer that preConfirm wouldn't be able to return validation errors. Only technical error (reject) or transformed value (resolve).
If the user wants to display a validation error, they still have access to the vast swal.* API.
preConfirm() {
    return callMyApi().catch(() => swal.showValidationError('callMyApi has lamentably failed.'));
}

swal({
    preConfirm() {
        return callMyApi();
    }
}).catch((err) => {
    swal('Error', 'callMyApi has failed, again', 'error');
})

KISS.
Good job, btw! v.7 will be remembered for its significantly improved control flow :)

My god, still have commits to files in dist/. Very sorry about that all. Don't know how I managed that... 😛

@toverux Yeah, I think the API you put forward is simpler and better.
So if showValidationError is called during preConfirm (and not cancelled out by resetValidationError) the dialog will stay opened.
I think it's useful knowledge that you can do this so I'll be sure to document it.

I'll close this PR now, since I'm going to rebase my work and open another PR (That one's the one!)


StrawberryShake 13: Unable to resolve type reference "Name!"

Is there an existing issue for this?

[X] I have searched the existing issues

Product
Strawberry Shake
Describe the bug
StrawberryShake v13 fails on a HotChocolate GQL service schema with the error: Unable to resolve type reference "Name!"
Please find attached a project created with the following commands recommended here:
https://chillicream.com/blog/2023/02/08/new-in-hot-chocolate-13#strawberry-shake
Source code: SSv13.zip
dotnet new tool-manifest
dotnet tool install StrawberryShake.Tools

dotnet new classlib
dotnet add package StrawberryShake.Blazor

dotnet graphql init https://api.nexar.com/graphql -n NexarClient

After adding the simple query Resources\Workspaces.graphql the build fails with this error
EXEC : error GQL: Unable to resolve type reference `Name!`.

See also:

Slack thread https://hotchocolategraphql.slack.com/archives/CMUJ40EHJ/p1676188022540909

Version
13.0.2

No, since this has a workaround.

The workaround is removing the type.

I am not aware of the workaround. The one suggested by @PascalSenn does not help, same error. We are blocked.

The workaround is removing the type.

I was not aware up to now. Let me try.
But how casual users of our service may know about this workaround? They follow HC recommended steps of using StarwberryShake, they get v13 this way. It does not build. Some users just stop trying and adopting not working software. And look for another client. It's a possible scenario.

You removed the Name type and it says:
EXEC : error GQL: Unable to resolve type reference `Name!`.

The workaround I offered would be to download the schema manually and remove the Name type and directives that use it.

The name type because of schema stitching.

Updating the schema will require these workaround steps, too, presumably.

If I remove all directives which are referencing Name! I am hit with different errors such as:
EXEC(1,1): error GQL: All operations must be named.
Is there anything more I need to do?

I cannot repro the original issue with later versions, so I close it.

I am getting this error using 13.4.0 (I am new to StrawberryShake and trying to understand it to determine if this is the technology we want to use in our development process).  I have searched but can't find solutions for this problem.


How a video/audio length is determined?

I am able to play some audio/video files where the player would give me the full duration of the media. But for some other media files. It would return the duration as a negative number.
I am sort of new to media file spec world.
So my question is how the duration is determined. Is it like through metadata inside the media file or something else?
Thanks for your answer(s).

It's completely determined by the underlying native player framework. If you can provide a few samples of ones that don't report the duration properly, I can see if it's possible to workaround the duration not being detected.

@cobarx of course here they are.
Here the links for those audio files. (I could not upload them in the comments)
Thanks
https://drive.google.com/uc?export=download&id=1AjPwylDJgR8DOnmJWeRgZzjsohi-7ekj
https://drive.google.com/uc?export=download&id=1VM9_umeyzJn0v1pRzR1BSm9y3IhZ3c0E
https://drive.google.com/uc?export=download&id=1bmvPOy2IVbkUROgm0dqiZry_miiL4OqI

https://drive.google.com/uc?export=download&id=1V-c_WmanMA9i5BwfkmTs-605BQDsfyzC

Hi @efleurine I'm filling getting a chance to look at this. Which platform are you having these duration issues on?

Hi @cobarx
I'm getting wrong duration. Can you help me?
On iOS: duration: 9841.2666015625
But on android: duration: 9818.682
9841 is the right duration.
I'm using version 4.2.0

I have the same issue, for me sometimes it return duration with this negative number -9223372036854776. There are a lot of opened issues related to the same topic

seems that I have a similar problem... checking the event.nativeEvent playableDuration property is not equal as song duration and this is driving me a bit crazy as the method onEnd is not firing correctly at the end of the song...
Any suggestions/ideas? Should be possible to rewrite that event.nativeEvent playableDuration property? I know already the length of each song that is coming from my list...


BHBC-1949: Email notification to Users that access has been granted or denied

Overview
Links to Jira tickets

https://quartech.atlassian.net/browse/BHBC-1949

Description of relevant changes

{List all relevant changes, in particular anything that will help the reviewers test/verify this PR}

PR Checklist
A list of items that are good to consider when making any changes.
Note: this list is not exhaustive, and not all items are always applicable.
Code

[x] New files/classes/functions have appropriately descriptive names and comment blocks to describe their use/behaviour
[x] I have avoided duplicating code when possible, moving re-usable pieces into functions
[x] I have avoided hard-coding values where possible and moved any re-usable constants to a constants file
[x] My code is as flat as possible (avoids deeply nested if/else blocks, promise chains, etc)
[x] My code changes account for null/undefined values and handle errors appropriately
[x] My code uses types/interfaces to help describe values/parameters/etc, help ensure type safety, and improve readability

Style

[x] My code follows the established style conventions
[x] My code uses native material-ui components/icons/conventions when possible

Documentation

[x] I have commented my code sufficiently, such that an unfamiliar developer could understand my code
[x] I have added/updated README's and related documentation, as needed

Tests

[x] I have added/updated unit tests for any code I've added/updated
[x] I have added/updated the Postman requests/tests to account for any API endpoints I've added/updated

Linting/Formatting

[ ] I have run the linter and fixed any issues, as needed
See the lint commands in package.json
[ ] I have run the formatter and fixed any issues, as needed
See the format commands in package.json

SonarCloud

[ ] I have addressed all SonarCloud Bugs, Vulnerabilities, Security Hotspots, and Code Smells

A Couple of extra changes that would help clean things up a bit:

We can probably move the ...models/gcnotify.ts interfaces into the service, as we are moving away from the models concept I think ('models' will likely live in the service and/or repository moving forward).
In gcnotify-service.ts, it might be nice to define an interface for the data variable (the one with the personalisation field, etc). Just for completeness.

A Couple of extra changes that would help clean things up a bit:

We can probably move the ...models/gcnotify.ts interfaces into the service, as we are moving away from the models concept I think ('models' will likely live in the service and/or repository moving forward).
In gcnotify-service.ts, it might be nice to define an interface for the data variable (the one with the personalisation field, etc). Just for completeness.

Completed, requesting another review


Version card/version history redesign

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

In the last image, how come the all versions row for the currently deploying version doesn't have a status icon? The app banner does.
Likewise, how come the older version doesn't show any status at all?
@GraysonNull Thinking about the deploying icon, it looks like a grayed out do-not-enter sign. Can you come up with a better icon indicating ongoing deployment?

Yeah agreed, it's not a great icon for that. How about just showing the loading spinner in place of an icon? I think that would make sense to show that there plus would give some good feedback that something is actually happening.

Oh interesting, you mean an animated spinner. That's kinda brilliant.

Yeah exactly, seems kinda like a perfect use for it.

@GraysonNull updated code and screenshots with deploying spinner


Enhanced the Navbar

Description
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
Changed the UI of navbar
made it sticky on scroll
added hover effects
made it more responsive overall
Fixes #571
Replace issue_no with the issue number which is fixed in this PR
Screenshots
video
https://github.com/Counselllor/Counsellor-Web/assets/146661411/c3f01878-caa5-4277-aae1-03af92703aed
I increased the border radius to 10px after the capture of the video. so that's more sleek looking now

Checklist

[x] Tests have been added or updated to cover the changes
[ ] Documentation has been updated to reflect the changes
[x] Code follows the established coding style guidelines
[x] All tests are passing

@thestarsahil can you please check this?

@sau-mili Please update this fix ...have'nt done yet

Which one do you want me to check?

Which one do you want me to check?

The navbar is not impressive , We will gonna discuss tomorrow in discord after 11am via VC somepoints have to cover !

sure, pkease share your discord id with me

Thestarsahil#0568

I couldn't find you by your id. Please Text me when you are available tomorrow... on discord.. I might not be available at around 11, but I will check your message.

@sau-mili I mentioned you ! Kindly Check Gssoc channel in discord


feat(quickstarts): sveltekit <--> nhost

resolves #2295

Nice job, could we add a bit more information to the README? Similar to what you did for next.js

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (3ef503f) 86.84% compared to head (701d6b8) 86.84%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2301   +/-   ##
=======================================
  Coverage   86.84%   86.84%
=======================================
  Files          85       85
  Lines        9352     9352
  Branches      495      495
=======================================
  Hits         8122     8122
  Misses       1230     1230

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


Weakened favorite

Fixes Pivotal #105628368 in which an observer's highest positive vote for a name was sometimes not recorded as a favorite. (This in turn,  caused Observer's Preference to be unrecognized.)

Note: Not retroactive.  This PR only prevents future incorrect recording of a favorite; it does not change past unrecorded favorites.  To fix those, we'd need a job (or data migration) which reviews all Observations to ensure that owner favorites are correctly recorded.

Manual test script:

Create a new Observation with any name with confidence I'd Call It That.
Show the Observation and change your vote to Promising or Could Be, and Update Votes.
Result:  "Big Eyes" will show next to the name (and if Observer Preference is turned on, the name will show as the Observer Preference).

Note: Before this PR, step 2 would make Big Eyes disappear, and Observer Preference would change "no clear preference".

Coverage remained the same at 84.503% when pulling 2fbec072016896f51f8b6e22897b1b432f808cdd on JoeCohen:weakened-favorite into 36264ab8a43225d764631f973ac4e93d7d177369 on MushroomObserver:master.


"what's new" - highlight new evidence / facets by date of evidence

Description

[x] WHY - What is the problem this feature would answer?

Find out what's new for your target or T-D associations, with respect to the last time you visited the platform.

facets on the evidence page which allows sorting by date of addition to the platform and highlighting of  new data since the last release.
emails/push notification about new data on your disease (for eg.)

[x] WHO wants it
GSK, Biogen VPs have requested the feature to help them track updates and keep up-to-date without having to visit the platform.

[ ] HOW are we going to solve the problem?

[ ] WHAT would this look like?

Screenshots and mock-ups are great

Requires user profile/ login.


DelayAfter value not cleared by Stop?

Hi there, I was struggling to transition from other effects to Blink (for example, On -> Blink, Off-> Blink, FadeOn -> Blink). The Blink on-time seemed correct, but the off-time was way too long. I created this small program to test a theory and thought I would share in case it's useful.
The program below  should change effects every 10 seconds, 4 times:
FadeOn (1s ramp, 1s delay: 5 fades)
Blink(500,500) (10 blinks)
FadeOn (same as before)
Blink(500,500) (same as before)
When I run it, the fade works correctly, but the blink only blinks 5 times -- as if it was Blink(500,1500)
But the second blink is correct. The only difference is that, in the second call to Blink, I added DelayAfter(0).
Is it possible that the DelayAfter value, used in the Fade effect, is being carried over to the Blink effect?
For reference, I am using ESP32 DevKitC.
===============================
`#include <jled.h>
#define LED_PIN 15
auto led = JLed(LED_PIN).FadeOn(1000).DelayAfter(1000).Forever();
uint8_t state = 0;
void setup() {
Serial.begin(115200);
}
void loop()
{
uint32_t now = millis();
if( (now > 10000) && (state == 0) )
{
led.Stop();
led.Blink(500,500).Forever();
state++;
}
else if( (now > 20000) && (state == 1) )
{
led.Stop();
led.FadeOn(1000).DelayAfter(1000).Forever();
state++;
}
else if( (now > 30000) && (state == 2) )
{
led.Stop();
led.Blink(500,500).DelayAfter(0).Forever();
state++;
}
led.Update();
}`

Yes, that's the expected behaviour:

Stop() just stops the current effect and turns the LED off
Reset() resets the state of the current effects so it will start over. The effect configuration (effect type, delay before/after) are not affected

In your case you could instead of of reconfiguring the existing effect, which will not change e.g. the delay values, you could also do a re-assignment like led = JLed(LED_PIN).Blink(500,500).Forever();

Ah. My question is not so much about the Stop method, as about how the DelayAfter property from the FadeOn effect persisted into the Blink effect, unless I explicitly set the Blink to have a DelayAfter of 0.
So the DelayAfter setting is a property of the LED object, not a property of the FadeOn effect?
I was thinking of FadeOn as one "effect", and Blink as a different "effect", so it didn't make sense that the DelayAfter from one of them persisted to the other. But it sounds like you're referring to an "effect" as the collection of all properties of the led object. Is that right?
That makes it seem like transitioning between effects is best done with a reassignment, as you say -- otherwise, every property has to be explicitly reassigned.
Thanks for your help, and for this very helpful library!

Yes, DelayAfter, DelayBefore, LowActive, MaxBrightness and Repeat are properties of the LED object. The "effect" with (Blink, Breathe, FadeOn, FadeOff, Candle) is also a property. These properties can be set individually. When an effect is set, it will restart at the beginning, but delays etc. are not affected.

Thanks, got it. It seems like a lot of the questions arising here are about
making changes to the properties, conditional transitions, etc. Would you
consider adding a code example (you're welcome to modify mine above if
helpful) showing the difference between changing one property, and
reassigning the object? It might cut down on the repetitive questions.
Adding a section to the instructions explaining this distinction would be a
help to other new users as well, I think.
Best,
Mylène
On Sat, May 1, 2021 at 1:47 AM jandelgado @.***> wrote:

Yes, DelayAfter, DelayBefore, LowActive, MaxBrightness and Repeat are
properties of the LED object. The "effect" with (Blink, Breathe, FadeOn,
FadeOff, Candle) is also a property. These properties can be set
individually. When an effect is set, it will restart at the beginning, but
delays etc. are not affected.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jandelgado/jled/issues/75#issuecomment-830582685, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKVQPYACBJNNBZMLYDFYV5TTLO5Y3ANCNFSM43YZRVKA
.

As suggested, I used re-assignmnents to transition between effects.
I was able to compile
led = JLed(RedPin).Blink(500,500).Forever();
But when I tried
'led = JLed(RedPin).Blink(500,500).Forever().Update()', I got the following compile error:

no match for 'operator=' (operand types are 'jled::JLed' and 'bool')

Are there any other restrictions on reassignments?

One more observation that might be of use. I'm using a common-anode tri-color LED, so needed the LowActive feature (thanks for including that!).  Every time I use the reassignment as noted above, if the LED was previously off, I see a barely-visible flash of light. Is it possible that the constructor is causing the pin to default to low briefly (thus turning on the LED), before the "Low Active" setting is processed?
When I modified my code to change the properties rather than reassigning, the brief flash went away.
Thanks again!

As suggested, I used re-assignmnents to transition between effects.
I was able to compile
led = JLed(RedPin).Blink(500,500).Forever();
But when I tried
led = JLed(RedPin).Blink(500,500).Forever().Update(), I got the following compile error:

no match for 'operator=' (operand types are 'jled::JLed' and 'bool')

Are there any other restrictions on reassignments?

Yes, that because Forever() returns a JLed Object whereas Update() returns a boolean. Since C++ is a typed language, you get a compile time error (note that this is a different thing then a "exception").
Have a look at the documentation for Update:

Update
Call Update() periodically to update the state of the LED. Update returns true if the effect is active, and false when it finished.


High severity network attack vector in multipart implementation

Hi,
An embargo for a DoS vector affecting the werkzeug multipart implementation expired on the 14th of Feb. I recall from following along with this Starlite issue that your implementation followed the werkzeug pattern, and so I believe your implementation may also be vulnerable.
You can read werkzeug's security advisory here and see their patch here.

😯 Thanks!


Add an example how to use transcribe with Ruby on Rails and Active Storage

…rage
All Submissions:

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?

Thanks @AndreyAzimov - can you share a bit more of the example - eg. how to get the temp_file from ActiveStorage?


Typed options for fetch

The fetch function in the SDK takes an optional parameter options, which is defined as object in the TypeScript SDK:
    function fetch(uri: string, options?: object): Promise<FetchResult>;

This means there is no type checking for the options parameter, which makes fetch requests quite error prone.

closed with #95


Support custom block-level elements

HTML has always worked fine with custom elements, but with the new Custom Elements spec they have official support. We use some custom elements, some of which are designed for block-level displaying
Python-Markdown should allow configuring BLOCK_LEVEL_ELEMENTS. For now, I'm using this workaround:

def patch_markdown():
  """Add additional block level elements."""
  orig = markdown.util.isBlockLevel

  def patched(tag):
    return orig(tag) or str(tag).startswith('x-')

  markdown.util.isBlockLevel = patched

We've always been proud of the fact that anything is customization via our Extension API. However, this is actually something that is not easily changed. Even a subclass of the Markdown class woudn't address this. PR's are welcome against the md3 branch.

The md3 branch looks awfully old - no changes for 2 years - are you sure that's the right one?

Yep, that's the one. My time has been extremely limited the last few years. For the most part, I've only been reviewing pull requests for bug fixes. From my perspective, the library is feature complete and anything else is just nice-to-have. The md3 branch just makes the nice-to-have stuff easier.

Okay, but I don't want to spend time on a pull request without expecting it to be part a release in the next couple months.

That's fair, which is why I'm being upfront. However, version 2 is in a feature freeze (until version 3 is released) and we are only doing maintenance (bug fix) releases. So such a change would not be accepted on the version 2 branch (master).


Optional count of total number of pages

Counting the length of a table can be slow on large tables   This PR makes that counting optional and is backwards compatible.
Related:
https://github.com/mitsuhiko/flask-sqlalchemy/issues/518
https://github.com/mitsuhiko/flask-sqlalchemy/pull/281

Please don't do version bumps in PRs. This change does not look like something qualifying for an immediate release (neither an urgent bug nor a security issue)

Don't bump version numbers in PRs. (Also, "released March 30" is unrealistically optimistic.)

No problem.  I'll revert the version bump.  I wasn't sure on the protocol.

Build fails on Python 2.6.
Related:
https://github.com/mitsuhiko/flask-sqlalchemy/pull/606

Needs documentation, otherwise looks good.

Doc string updated

Looks like this could go into a 2.x release.


[hooks] allow hooks to be refreshed after set interval

Hooks configuration can only be processed on a ParseServer restart. This
is far from ideal. A simple configuration of an endpoint or a disabling
of a hook should not require a process of draining the parse server,
cycling it, and the bringing it back up. Simple configurations
changes should take effect more easily.

@flovilmart @drew we need this to avoid re-deploying just to change hooks. It behaves a bit more like api.parse.com does (except not instant) yet without requiring extra persistance layer machinery like redis or tailing the mongo oplog.

/home/travis/build/ParsePlatform/parse-server/spec/ParseHooks.spec.js:302
       let promise = new Parse.Promise();
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

Needs a rebase and a fix on the tests.

We are going to go a different direction on this one, through the cache.


Documentation of Code (GCI)

My apologies, I will redo this task. It did seem weird though when I was attempting to write Javadocs, since I thought to myself "Isn't this self-explanatory?"

My apologies, I will redo this task. It did seem weird though when I was attempting to write Javadocs, since I thought to myself "Isn't this self-explanatory?"

I will resubmit via different PR


Array functions that would be great to have

head – returns the first element
last – the opposite of head; returns the last element
tail - all elements except the first one
reduceRight – similar to how we implemented reduce
concat – takes in n-arrays and combines them. So concat(arr1, arr2, ...arrN)
take – returns the first n elements of an array. So take(n)(arr)
takeWhile – takeWhile(condition)(arr)

PR's on the way.

Thanks for your contributions @AkshayIyer12 👍 We can discuss each PR separately, but in general, this looks good!

For concat function what should be the output in a nested array case?
e.g. concat( [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ], [ 10, [ 11, [ 12 ] ] ] )

Also what should be the output if n is given out of bounds for an array in take function?
e.g. take(10)([1,2,3,4,5])

@AkshayIyer12
For concat, I’d say that concatenating only first layer of arrays is desirable. So the output of your example should be: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, [11, [12]]]
And for take, I think it is reasonable to return less than n elements, if the array is shorter than n. Therefore, [1, 2, 3, 4, 5] would make sense.
Thanks!

In the case of take, I like Haskell’s definition here:

take n, applied to a list xs, returns the prefix of xs of length n, or xs itself if n > length xs
example:

> take 3 [1,2,3,4,5] == [1,2,3]
> take 3 [1,2] == [1,2]

I would also like to make sure that a new array is always returned here. So, even if you’re basically returning the same array that was given as an input, we should ensure it’s a new instance. That should also be covered by tests.
My guess is that other functional languages use the same philosophy. Now I mention Haskell here because you can also use take to operate on strings.
take 5 "Hello World!" == "Hello"

This might be a cool first method to add for src/string.