Issues building python dm.xmlsec.binding

Issue description
I'm trying to add python-saml library into our project. It has a  dm.xmlsec.binding dependency.
I'm getting a build/compile error i don't know how to resolve.
Steps to reproduce
Here's the python package i'm trying to use use:
  "lxml" = super.buildPythonPackage {
    name = "lxml-3.7.3";
    doCheck = false;

    buildInputs = [
      pkgs.libxml2
      pkgs.libxslt
      pkgs.xmlsec
    ];
    src = fetchurl {
      url = "https://files.pythonhosted.org/packages/39/e8/a8e0b1fa65dd021d48fe21464f71783655f39a41f218293c1c590d54eb82/lxml-3.7.3.tar.gz";
      sha256 = "1iv1jgkqn1hdh1xyxri6g0y1s67h01jzjkw2nhkx3rqylmw2sl5a";
    };
    meta = {
      license = [ pkgs.lib.licenses.bsdOriginal ];
    };
  };

  "dm.xmlsec.binding" = super.buildPythonPackage {
    name = "dm.xmlsec.binding-1.3.7";
    doCheck = false;

    buildInputs = [
      pkgs.libxml2
      pkgs.libxslt
      pkgs.xmlsec
      pkgs.openssl
    ];

    propagatedBuildInputs = [
      self."setuptools"
      self."lxml"
      pkgs.libxml2
      pkgs.libxslt
      pkgs.xmlsec
      pkgs.openssl
    ];

    src = fetchurl {
      url = "https://files.pythonhosted.org/packages/2c/9e/7651982d50252692991acdae614af821fd6c79bc8dcd598ad71d55be8fc7/dm.xmlsec.binding-1.3.7.tar.gz";
      sha256 = "03jjjscx1pz2nc0dwiw9nia02qbz1c6f0f9zkyr8fmvys2n5jkb3";
    };
    meta = {
      license = [ pkgs.lib.licenses.bsdOriginal ];
    };
  };

And here's the exception i'm getting:
these derivations will be built:
  /nix/store/6zcjdzdwvzqghh1w7l78l7q8d6r6xqvw-python2.7-dm.xmlsec.binding-1.3.7.drv
  /nix/store/mc58b87x2l9hlyjjin684aw9if2azlxl-python2.7-isodate-0.6.0.drv
  /nix/store/p6ggcsay8zy8d7hbscg6bj6anc2v8vx1-node-dependencies-rhodecode-enterprise-2.0.0.drv
  /nix/store/pbxdgflwdlw25b96zd5s6x832n0xk6f2-python2.7-python-saml-2.4.2.drv
building '/nix/store/p6ggcsay8zy8d7hbscg6bj6anc2v8vx1-node-dependencies-rhodecode-enterprise-2.0.0.drv'...
unpacking sources
patching sources
configuring
no configure script, doing nothing
building
installing
pinpointing versions of dependencies...
patching script interpreter paths in .
No package-lock.json file found, reconstructing...
up to date in 0.087s
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/zg9mmv149v5dwysx6ks16bwjfhlb1hc8-node-dependencies-rhodecode-enterprise-2.0.0
patching script interpreter paths in /nix/store/zg9mmv149v5dwysx6ks16bwjfhlb1hc8-node-dependencies-rhodecode-enterprise-2.0.0
checking for references to /tmp/nix-build-node-dependencies-rhodecode-enterprise-2.0.0.drv-0 in /nix/store/zg9mmv149v5dwysx6ks16bwjfhlb1hc8-node-dependencies-rhodecode-enterprise-2.0.0...
building '/nix/store/6zcjdzdwvzqghh1w7l78l7q8d6r6xqvw-python2.7-dm.xmlsec.binding-1.3.7.drv'...
unpacking sources
unpacking source archive /nix/store/vsfmb5ak352d6lxrgrvknawfxf3jq7i9-dm.xmlsec.binding-1.3.7.tar.gz
source root is dm.xmlsec.binding-1.3.7
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file dm.xmlsec.binding-1.3.7/setup.cfg
patching sources
configuring
building
/nix/store/fb993ma5m3y1hs95gay44j8mjjq5qlkl-python-2.7.15/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_requires'
  warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/dm
copying dm/__init__.py -> build/lib.linux-x86_64-2.7/dm
creating build/lib.linux-x86_64-2.7/dm/xmlsec
copying dm/xmlsec/__init__.py -> build/lib.linux-x86_64-2.7/dm/xmlsec
creating build/lib.linux-x86_64-2.7/dm/xmlsec/binding
copying dm/xmlsec/binding/__init__.py -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding
copying dm/xmlsec/binding/tmpl.py -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding
copying dm/xmlsec/binding/tests.py -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding
running egg_info
writing requirements to dm.xmlsec.binding.egg-info/requires.txt
writing dm.xmlsec.binding.egg-info/PKG-INFO
writing namespace_packages to dm.xmlsec.binding.egg-info/namespace_packages.txt
writing top-level names to dm.xmlsec.binding.egg-info/top_level.txt
writing dependency_links to dm.xmlsec.binding.egg-info/dependency_links.txt
reading manifest file 'dm.xmlsec.binding.egg-info/SOURCES.txt'
writing manifest file 'dm.xmlsec.binding.egg-info/SOURCES.txt'
copying dm/xmlsec/binding/LICENSE.txt -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding
copying dm/xmlsec/binding/README.txt -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding
copying dm/xmlsec/binding/VERSION.txt -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding
copying dm/xmlsec/binding/tests.txt -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding
creating build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/deskey.bin -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/encrypt-element-tmpl.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/encrypt1-res.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/encrypt1-tmpl.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/encrypt2-doc.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/encrypt2-res.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/encrypt3-doc.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/encrypt3-res.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/rootcert.pem -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/rsacert.pem -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/rsakey.pem -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/rsapub.pem -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/sign1-res.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/sign1-tmpl.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/sign2-doc.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/sign2-res.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/sign3-doc.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/sign3-res.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/verify4-bad-res.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/verify4-bad-tmpl.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/verify4-res.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
copying dm/xmlsec/binding/resources/verify4-tmpl.xml -> build/lib.linux-x86_64-2.7/dm/xmlsec/binding/resources
running build_ext
building 'dm.xmlsec.binding._xmlsec' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_SIZE_T=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/nix/store/lzgix7wcfadj0ign8ycvyrln2m5xb6ic-python2.7-lxml-3.7.3/lib/python2.7/site-packages/lxml -I/nix/store/lzgix7wcfadj0ign8ycvyrln2m5xb6ic-python2.7-lxml-3.7.3/lib/python2.7/site-packages/lxml/includes -Isrc -I/nix/store/s9gimgx6aqkj4y4hah0b9ggvyc4iabhr-libxml2-2.9.7-dev/include/libxml2 -I/nix/store/0dadsc3321cfzyp0pw2f3h8x9am6klxr-xmlsec-1.2.25-dev/include/xmlsec1 -I/nix/store/r99d846niixg707lrf9s7wah8nd3jj0s-libxslt-1.1.32-dev/include -I/nix/store/5hh57vk7w9y9z76mma3ql190b01zg9hc-openssl-1.0.2p-dev/include -I/nix/store/fb993ma5m3y1hs95gay44j8mjjq5qlkl-python-2.7.15/include/python2.7 -c src/_xmlsec.c -o build/temp.linux-x86_64-2.7/src/_xmlsec.o
src/_xmlsec.c:584:10: fatal error: etree_api.h: No such file or directory
 #include "etree_api.h"
          ^~~~~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1

IN addition when playing with lxml library, i'm seeing that this file is actually copied.
...
copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-2.7/lxml
...
copying build/lib.linux-x86_64-2.7/lxml/lxml.etree_api.h -> build/bdist.linux-x86_64/wheel/lxml
...

Any ideas what is missing in this setup?
Technical details

system: "x86_64-linux"
host os: Linux 4.15.0-36-generic, Ubuntu, 18.04.1 LTS (Bionic Beaver)
multi-user?: no
sandbox: no
version: nix-env (Nix) 2.0.4
channels(ubuntu): "nixpkgs-18.03.133361.21b7f59ae12"
nixpkgs: /home/ubuntu/.nix-defexpr/channels/nixpkgs

Ok, So it turns out it was a problem with lxml==3.7.X it prefixes the header files with lxml. prefix.
This was changed on release 4.0.0+
Bumping the lxml to the latest version resolves this issue.


Main storybook

Set up a main storybook package. This storybook of storybooks will import storybook documentations from other packages to form one storybook to rule them all (and in the dark-mode bind them).
https://storybook.js.org/docs/react/sharing/storybook-composition
This storybook will contain design system level stories like an introduction, migration documentation, version information and usage examples. The atomic (web-styles) and molecular (web-components) stories will be imported from their packages respectively.

When starting Storybook from the console on Windows, an error occurs:
[Error: EBUSY: resource busy or locked, open 'C:\GIT\swisspost\common-web-frontend\packages\web-styles\node_modules\.cache\storybook\dev-server\325c8f456729b912b0d2134054eb7448-41ac79ddc5290d504ad69ef1fe8200a7'] {   errno: -4082,   code: 'EBUSY',   syscall: 'open',   path: 'C:\\GIT\\swisspost\\common-web-frontend\\packages\\web-styles\\node_modules\\.cache\\storybook\\dev-server\\325c8f456729b912b0d2134054eb7448-41ac79ddc5290d504ad69ef1fe8200a7' }
A possible solution for this particular problem can be found here:
https://issuehunt.io/r/storybookjs/storybook/issues/13795
Disabling the storybook manager-cache:
https://storybook.js.org/docs/react/api/cli-options
So we can simply add the flag "--no-manager-cache" in the web-styles storybook script (inside the package.json) and then it will work!


customizing link style with any color sets fill property to black instead of none

example code
graph TB;
    A-->B;
    linkStyle 0 stroke:red;
    B-->C;
    C-->A;

http://knsv.github.io/mermaid/live_editor/#/edit/Z3JhcGggVEI7CiAgICBBLS0-QjsKICAgIGxpbmtTdHlsZSAwIHN0cm9rZTpyZWQ7CiAgICBCLS0-QzsKICAgIEMtLT5BOw

I agree! Fill noen definitely looks better... :) This should be fixed.

I can help with this.

That is appreciated!

Closed by release 7.0.0, please reopen if issues remain.


Update test.log

If the message below is truncated, see https://ci.appveyor.com/project/yihui/latex-pass/builds/38894038 for the full version.
I did not figure out which LaTeX packages you need to install. Sorry.


Unable to find Method com/google/firebase/auth/FirebaseAuth.fetchProvidersForEmail

Please fill in the following fields:
Unity editor version: Unity 2018.3.5
Firebase Unity SDK version: 5.7.0
Firebase plugins in use (Auth, Database, etc.): Analytics, Auth, Functions, Messaging, Storage, Crashlytics, DynamicLinks, Database, RemoteConfig
Additional SDKs you are using (Facebook, AdMob, etc.): Facebook SDK, AdMob SDK, FAN Mediation, Appsflyer
Platform you are using the Unity editor on (Mac, Windows, or Linux): Mac and Windows
Platform you are targeting (iOS, Android, and/or desktop): Android
Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
Hello~ I have got a problem.
I have released the app before. Then it worked perfectly.
The build(.net 4.x and IL2CPP ) and Android resolver were successful. But I run my app got an Error Message.
I found previous build app dependencies used firebase-auth 16.2.1 and firebase-auth-interop 16.0.1
I don't use function FirebaseAuth.FetchProvidersForEmail() anywhere.
This is my Logcat message.
05-07 17:15:05.123 4568-4645/com.cannon.bomber W/System.err: java.lang.NoSuchMethodError: no non-static method "Lcom/google/firebase/auth/FirebaseAuth;.fetchProvidersForEmail(Ljava/lang/String;)Lcom/google/android/gms/tasks/Task;"
        at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
        at com.unity3d.player.UnityPlayer.c(Unknown Source:0)
        at com.unity3d.player.UnityPlayer$e$2.queueIdle(Unknown Source:72)
        at android.os.MessageQueue.next(MessageQueue.java:395)
        at android.os.Looper.loop(Looper.java:181)
        at com.unity3d.player.UnityPlayer$e.run(Unknown Source:32)
05-07 17:15:05.123 4568-4645/com.cannon.bomber E/firebase: method_ids[i] || (method.optional == kMethodOptional)
05-07 17:15:05.124 4568-4645/com.cannon.bomber E/Unity: method_ids[i] || (method.optional == kMethodOptional)
    UnityEngine.Logger:Log(LogType, Object)

    (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
05-07 17:15:05.124 4568-4645/com.cannon.bomber E/firebase: Unable to find Method com/google/firebase/auth/FirebaseAuth.fetchProvidersForEmail (signature '(Ljava/lang/String;)Lcom/google/android/gms/tasks/Task;', instance).  Please verify the AAR which contains the com/google/firebase/auth/FirebaseAuth class is included in your app.
05-07 17:15:05.124 4568-4645/com.cannon.bomber D/Unity: SendMessage: object AppsFlyerTrackerCallbacks not found!
05-07 17:15:05.136 4568-4645/com.cannon.bomber D/Unity: Uploading Crash Report
05-07 17:15:05.139 4568-4683/com.cannon.bomber I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
    (HTTPLog)-Static: isSBSettingEnabled false
05-07 17:15:05.189 4568-4645/com.cannon.bomber E/Unity: ApplicationException: Unable to find Method com/google/firebase/auth/FirebaseAuth.fetchProvidersForEmail (signature '(Ljava/lang/String;)Lcom/google/android/gms/tasks/Task;', instance).  Please verify the AAR which contains the com/google/firebase/auth/FirebaseAuth class is included in your app.
      at Firebase.Auth.FirebaseAuth.GetAuthInternal (Firebase.FirebaseApp app, Firebase.InitResult& init_result_out) [0x00000] in <00000000000000000000000000000000>:0
      at Firebase.Auth.FirebaseAuth+<GetAuth>c__AnonStorey1.<>m__0 () [0x00000] in <00000000000000000000000000000000>:0
      at Firebase.FirebaseApp.TranslateDllNotFoundException (System.Action closureToExecute) [0x00000] in <00000000000000000000000000000000>:0
      at Firebase.Auth.FirebaseAuth.GetAuth (Firebase.FirebaseApp app) [0x00000] in <00000000000000000000000000000000>:0
      at Platform.Auth..ctor () [0x00000] in <00000000000000000000000000000000>:0
      at FirebaseManager.OnFirebaseAppInitializedSuccess () [0x00000] in <00000000000000000000000000000000>:0

05-07 17:15:05.245 4568-4645/com.cannon.bomber E/Unity: ApplicationException: Unable to find Method com/google/firebase/auth/FirebaseAuth.fetchProvidersForEmail (signature '(Ljava/lang/String;)Lcom/google/android/gms/tasks/Task;', instance).  Please verify the AAR which contains the com/google/firebase/auth/FirebaseAuth class is included in your app.
      at Firebase.Auth.FirebaseAuth.GetAuthInternal (Firebase.FirebaseApp app, Firebase.InitResult& init_result_out) [0x00000] in <00000000000000000000000000000000>:0
      at Firebase.Auth.FirebaseAuth+<GetAuth>c__AnonStorey1.<>m__0 () [0x00000] in <00000000000000000000000000000000>:0
      at Firebase.FirebaseApp.TranslateDllNotFoundException (System.Action closureToExecute) [0x00000] in <00000000000000000000000000000000>:0
      at Firebase.Auth.FirebaseAuth.GetAuth (Firebase.FirebaseApp app) [0x00000] in <00000000000000000000000000000000>:0
      at Platform.Auth..ctor () [0x00000] in <00000000000000000000000000000000>:0
      at FirebaseManager.OnFirebaseAppInitializedSuccess () [0x00000] in <00000000000000000000000000000000>:0

We just released version 6.0.0 of the Firebase Unity SDK, which supports breaking changes in Firebase for Android (including FirebaseAuth.fetchProvidersForEmail as you mentioned) and addresses this issue.
You can download the latest Firebase Unity SDK at https://firebase.google.com/docs/unity/setup#add_sdk.

I get the 6.2.2 version。but，when i import to the Unity 2018.3.14f1 (64-bit)，is failed。the error：
Gradle failed to fetch dependencies.
Failed to run 'C:\Work\small_1-1_client\trunk_skin\Temp\PlayServicesResolverGradle\gradlew.bat -b "C:\Work\small_1-1_client\trunk_skin\Temp\PlayServicesResolverGradle\PlayServicesResolver.scripts.download_artifacts.gradle" --no-daemon "-PANDROID_HOME=H:/tools/android-sdk-windows" "-PTARGET_DIR=C:\Work\small_1-1_client\trunk_skin\Assets\Plugins\Android" "-PMAVEN_REPOS=file:///C:/Work/small_1-1_client/trunk_skin/Assets/Firebase/m2repository" "-PPACKAGES_TO_COPY=com.android.support:support-v4:25.3.1;com.android.support:appcompat-v7:25.3.1;com.android.support:cardview-v7:25.3.1;com.android.support:customtabs:25.3.1;com.google.firebase:firebase-analytics:16.5.0;com.google.firebase:firebase-core:16.0.9;com.google.firebase:firebase-iid:[17.1.2];com.google.firebase:firebase-analytics-unity:5.6.0;com.google.firebase:firebase-common:18.0.0;com.google.firebase:firebase-analytics:17.0.0;com.google.firebase:firebase-app-unity:6.2.2;com.google.firebase:firebase-auth:18.0.0;com.google.firebase:firebase-auth-unity:6.2.2;com.google.firebase:firebase-database:17.0.0;com.google.firebase:firebase-database-unity:5.6.0" "-PUSE_JETIFIER=1" "-PDATA_BINDING_VERSION=3.2.0"'
stdout:
Unzipping C:\Users\Tzx.gradle\wrapper\dists\gradle-5.1.1-bin\90y9l8txxfw1s2o6ctiqeruwn\gradle-5.1.1-bin.zip to C:\Users\Tzx.gradle\wrapper\dists\gradle-5.1.1-bin\90y9l8txxfw1s2o6ctiqeruwn
stderr:
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:220)
at java.util.zip.ZipFile.(ZipFile.java:150)
at java.util.zip.ZipFile.(ZipFile.java:164)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
exit code: 1
UnityEngine.Debug:LogError(Object)
Google.Logger:Log(String, LogLevel) (at Z:/tmp/tmp.MFNLcXgkvt/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/Logger.cs:103)
GooglePlayServices.PlayServicesResolver:Log(String, LogLevel) (at Z:/tmp/tmp.lDxf0Zsaxo/third_party/unity/unity_jar_resolver/source/PlayServicesResolver/src/PlayServicesResolver.cs:929)
GooglePlayServices.c__AnonStorey1:<>m__4(Result) (at Z:/tmp/tmp.lDxf0Zsaxo/third_party/unity/unity_jar_resolver/source/PlayServicesResolver/src/GradleResolver.cs:878)
GooglePlayServices.c__AnonStorey3:<>m__0() (at Z:/tmp/tmp.lDxf0Zsaxo/third_party/unity/unity_jar_resolver/source/PlayServicesResolver/src/GradleResolver.cs:995)
Google.RunOnMainThread:ExecuteNext() (at Z:/tmp/tmp.MFNLcXgkvt/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:377)
Google.RunOnMainThread:m__1() (at Z:/tmp/tmp.MFNLcXgkvt/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:408)
Google.RunOnMainThread:RunAction(Action) (at Z:/tmp/tmp.MFNLcXgkvt/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:234)
Google.RunOnMainThread:ExecuteAll() (at Z:/tmp/tmp.MFNLcXgkvt/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:406)
Google.RunOnMainThread:Run(Action, Boolean) (at Z:/tmp/tmp.MFNLcXgkvt/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:363)
GooglePlayServices.c__AnonStorey1:<>m__5(Result) (at Z:/tmp/tmp.lDxf0Zsaxo/third_party/unity/unity_jar_resolver/source/PlayServicesResolver/src/GradleResolver.cs:995)
GooglePlayServices.ProgressReporter:SignalComplete() (at Z:/tmp/tmp.lDxf0Zsaxo/third_party/unity/unity_jar_resolver/source/PlayServicesResolver/src/CommandLineDialog.cs:116)
GooglePlayServices.ProgressReporter:CommandLineToolCompletion(Result) (at Z:/tmp/tmp.lDxf0Zsaxo/third_party/unity/unity_jar_resolver/source/PlayServicesResolver/src/CommandLineDialog.cs:107)
GooglePlayServices.c__AnonStorey1:<>m__0() (at Z:/tmp/tmp.lDxf0Zsaxo/third_party/unity/unity_jar_resolver/source/PlayServicesResolver/src/CommandLine.cs:136)
Google.RunOnMainThread:ExecuteNext() (at Z:/tmp/tmp.MFNLcXgkvt/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:377)
Google.RunOnMainThread:m__1() (at Z:/tmp/tmp.MFNLcXgkvt/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:408)
Google.RunOnMainThread:RunAction(Action) (at Z:/tmp/tmp.MFNLcXgkvt/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:234)
Google.RunOnMainThread:ExecuteAll() (at Z:/tmp/tmp.MFNLcXgkvt/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:406)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
what can i do

@tianzexin
This is an issue with the Gradle wrapper, some examples:
https://www.bountysource.com/issues/50071257-exception-in-thread-main-java-util-zip-zipexception-error-in-opening-zip-file
https://stackoverflow.com/questions/32535930/cordova-build-gradle-error-while-opening-extracting-zip-file
https://github.com/NativeScript/NativeScript/issues/3930
Basically, it looks like C:\Users\Tzx.gradle\wrapper\dists\gradle-5.1.1-bin\90y9l8txxfw1s2o6ctiqeruwn\gradle-5.1.1-bin.zip is corrupt on your machine, you should probably delete the whole directory C:\Users\Tzx.gradle\wrapper\dists\gradle-5.1.1-bin and let the wrapper download Gradle again.

Thanks very much!


Size (x64) for 1903 is not 0x0440, it's should be 0x043C

https://www.geoffchappell.com/studies/windows/km/ntoskrnl/inc/api/pebteb/rtl_user_process_parameters.htm?tx=179

This need consider alignment


[Feature] Create a shortcut by pressing the X button on the controller from games lists

Device
Phone/Tablet
Device name
Logitech G Cloud
Android Version
11
Suggestion
In the Xbox Cloud main screen but also in the lists of available games (by category or all games), it would be useful to be able to create a shortcut by pressing the X button on the controller and having a pop-up appear asking you to confirm whether or not you want to create it.
It would be convenient to be able to create a shortcut without necessarily having to enter the game page.

I'd prefer only implementing #123

I'd prefer only implementing #123

Ok, but consider that a function like this could be useful for recently opened games list (that launches the games automatically and doesn't show the game page).
Thanks.


Fixed LBO timing and attempted CHOLMOD covariance computations

Minor bug fixes to new timing code in lbo.c
Big refactor of cheb_cov.c to allow CHOLMOD sparse Cholesky instead of diagonal lumped mass matrices. I've added a lumping flag to the command line args.
There are a number of places where we need to apply $C^{-\top}$ for a sparse Cholesky factor $C$. I've marked these as 'TODO' in cheb_cov.c. Is this possible using your existing CHOLMOD interface?
Currently the code compiles and runs fine for me with lumping:
./cheb_cov ../butterfly-LBO-models/bunny0.obj 1e-4 0 10 128 1
but I have segfault problems when I change that last lumping flag to a 0, and even if the code did run, the result would be wrong because of the need for $C^{-\top}$ instead of $C^{-1}$.

One other question that's likely easier to resolve --- what's the best way to load the binaries L_data.bin, L_rowptr.bin, L_colind.bin that you generated with MFEM into a sparse bfMat *L in bf_lbo.c? Do you already have such a method?
I've refactored a bit to introduce a matPath option that will point to a directory with the data, rowptr, and colind files for M and L, so all I need is a method to load sparse matrices from binaries.

As a start, I just went ahead and merged this.
You'll want to read in L and M as bf_mat_csr_real, which has bfMatCsrRealNewFromBinaryFiles. Just pass it the three paths.
Looking into $C^{-\top}$ in CHOLMOD now...

To be explicit, something like:
BfMat *L = bfMatCsrRealToMat(bfMatCsrRealNewFromBinaryFiles("rowptr.bin", "colind.bin", "data.bin"));
...
bfMatDelete(&L);


pip install fails on Mac OS 13.5.1

Hi Kyle! I'm trying to install Pynini 2.1.4. I'm working on something that requires OpenFST 1.8.1, so 2.1.5 is out (though I can install 2.1.5 fine from conda-forge). I'm running into difficulty with pip install pynini==2.1.4. I don't see a way to install 2.1.4 from conda-forge.
This (pip installing 2.1.4) used to work on our M1 macs, so I'm wondering if something has changed in Cython or elsewhere that causes this issue.
(slu) ➜  pynini-2.1.4 pip install pynini==2.1.4
Collecting pynini==2.1.4
  Using cached pynini-2.1.4.tar.gz (621 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: Cython>=0.29 in /Users/Simon.Charlow/opt/miniconda3/envs/slu/lib/python3.8/site-packages (from pynini==2.1.4) (3.0.2)
Building wheels for collected packages: pynini
  Building wheel for pynini (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [117 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-11.0-arm64-cpython-38
      creating build/lib.macosx-11.0-arm64-cpython-38/pywrapfst
      copying pywrapfst/__init__.py -> build/lib.macosx-11.0-arm64-cpython-38/pywrapfst
      creating build/lib.macosx-11.0-arm64-cpython-38/pynini
      copying pynini/__init__.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini
      creating build/lib.macosx-11.0-arm64-cpython-38/pynini/examples
      copying pynini/examples/chatspeak.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/examples
      copying pynini/examples/chatspeak_model.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/examples
      copying pynini/examples/weather.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/examples
      copying pynini/examples/__init__.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/examples
      copying pynini/examples/numbers.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/examples
      copying pynini/examples/plurals.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/examples
      copying pynini/examples/t9.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/examples
      copying pynini/examples/case.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/examples
      copying pynini/examples/dates.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/examples
      copying pynini/examples/g2p.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/examples
      creating build/lib.macosx-11.0-arm64-cpython-38/pynini/lib
      copying pynini/lib/edit_transducer.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/lib
      copying pynini/lib/utf8.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/lib
      copying pynini/lib/__init__.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/lib
      copying pynini/lib/features.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/lib
      copying pynini/lib/pynutil.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/lib
      copying pynini/lib/paradigms.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/lib
      copying pynini/lib/tagger.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/lib
      copying pynini/lib/rule_cascade.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/lib
      copying pynini/lib/rewrite.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/lib
      copying pynini/lib/byte.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/lib
      creating build/lib.macosx-11.0-arm64-cpython-38/pynini/export
      copying pynini/export/__init__.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/export
      copying pynini/export/export.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/export
      copying pynini/export/multi_grm_example.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/export
      copying pynini/export/multi_grm.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/export
      copying pynini/export/grm.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/export
      copying pynini/export/grm_example.py -> build/lib.macosx-11.0-arm64-cpython-38/pynini/export
      copying pywrapfst/__init__.pyi -> build/lib.macosx-11.0-arm64-cpython-38/pywrapfst
      copying pywrapfst/py.typed -> build/lib.macosx-11.0-arm64-cpython-38/pywrapfst
      copying pynini/__init__.pyi -> build/lib.macosx-11.0-arm64-cpython-38/pynini
      copying pynini/py.typed -> build/lib.macosx-11.0-arm64-cpython-38/pynini
      copying pynini/examples/py.typed -> build/lib.macosx-11.0-arm64-cpython-38/pynini/examples
      copying pynini/lib/py.typed -> build/lib.macosx-11.0-arm64-cpython-38/pynini/lib
      copying pynini/export/py.typed -> build/lib.macosx-11.0-arm64-cpython-38/pynini/export
      running build_ext
      building '_pywrapfst' extension
      creating build/temp.macosx-11.0-arm64-cpython-38
      creating build/temp.macosx-11.0-arm64-cpython-38/extensions
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/Simon.Charlow/opt/miniconda3/envs/slu/include -arch arm64 -fPIC -O2 -isystem /Users/Simon.Charlow/opt/miniconda3/envs/slu/include -arch arm64 -I/Users/Simon.Charlow/opt/miniconda3/envs/slu/include/python3.8 -c extensions/_pywrapfst.cpp -o build/temp.macosx-11.0-arm64-cpython-38/extensions/_pywrapfst.o -std=c++17 -Wno-register -Wno-deprecated-declarations -Wno-unused-function -Wno-unused-local-typedefs -funsigned-char -stdlib=libc++ -mmacosx-version-min=10.7
      In file included from extensions/_pywrapfst.cpp:1220:
      In file included from /Users/Simon.Charlow/work/slu/fst_tools/include/fst/fstlib.h:48:
      /Users/Simon.Charlow/work/slu/fst_tools/include/fst/const-fst.h:405:25: warning: comparison of integers of different signs: 'int64' (aka 'long long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
          if (hdr.NumStates() != num_states) {
              ~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~
      /Users/Simon.Charlow/work/slu/fst_tools/include/fst/const-fst.h:409:23: warning: comparison of integers of different signs: 'int64' (aka 'long long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
          if (hdr.NumArcs() != num_arcs) {
              ~~~~~~~~~~~~~ ^  ~~~~~~~~
      extensions/_pywrapfst.cpp:11274:40: error: cannot cast from type 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char>>') to pointer type 'PyObject *' (aka '_object *')
        __pyx_t_2 = __Pyx_PyObject_AsDouble(((PyObject *)__pyx_t_1)); if (unlikely(__pyx_t_2 == ((double)((double)-1)) && PyErr_Occurred())) __PYX_ERR(0, 436, __pyx_L1_error)
                                             ^~~~~~~~~~~~~~~~~~~~~
      extensions/_pywrapfst.cpp:3302:29: note: expanded from macro '__Pyx_PyObject_AsDouble'
      ((likely(PyFloat_CheckExact(obj))) ?  PyFloat_AS_DOUBLE(obj) :\
                                  ^~~
      /Users/Simon.Charlow/opt/miniconda3/envs/slu/include/python3.8/floatobject.h:24:41: note: expanded from macro 'PyFloat_CheckExact'
      #define PyFloat_CheckExact(op) (Py_TYPE(op) == &PyFloat_Type)
                                              ^~
      /Users/Simon.Charlow/opt/miniconda3/envs/slu/include/python3.8/object.h:122:49: note: expanded from macro 'Py_TYPE'
      #define Py_TYPE(ob)             (_PyObject_CAST(ob)->ob_type)
                                                      ^~
      /Users/Simon.Charlow/opt/miniconda3/envs/slu/include/python3.8/object.h:111:41: note: expanded from macro '_PyObject_CAST'
      #define _PyObject_CAST(op) ((PyObject*)(op))
                                              ^~
      extensions/_pywrapfst.cpp:1490:43: note: expanded from macro 'likely'
        #define likely(x)   __builtin_expect(!!(x), 1)
                                                ^
      extensions/_pywrapfst.cpp:11274:40: error: cannot cast from type 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char>>') to pointer type 'PyObject *' (aka '_object *')
        __pyx_t_2 = __Pyx_PyObject_AsDouble(((PyObject *)__pyx_t_1)); if (unlikely(__pyx_t_2 == ((double)((double)-1)) && PyErr_Occurred())) __PYX_ERR(0, 436, __pyx_L1_error)
                                             ^~~~~~~~~~~~~~~~~~~~~
      extensions/_pywrapfst.cpp:3302:57: note: expanded from macro '__Pyx_PyObject_AsDouble'
      ((likely(PyFloat_CheckExact(obj))) ?  PyFloat_AS_DOUBLE(obj) :\
                                                              ^~~
      /Users/Simon.Charlow/opt/miniconda3/envs/slu/include/python3.8/floatobject.h:51:51: note: expanded from macro 'PyFloat_AS_DOUBLE'
      #define PyFloat_AS_DOUBLE(op) (((PyFloatObject *)(op))->ob_fval)
                                                        ^~
      extensions/_pywrapfst.cpp:11274:40: error: cannot cast from type 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char>>') to pointer type 'PyObject *' (aka '_object *')
        __pyx_t_2 = __Pyx_PyObject_AsDouble(((PyObject *)__pyx_t_1)); if (unlikely(__pyx_t_2 == ((double)((double)-1)) && PyErr_Occurred())) __PYX_ERR(0, 436, __pyx_L1_error)
                                             ^~~~~~~~~~~~~~~~~~~~~
      extensions/_pywrapfst.cpp:3303:27: note: expanded from macro '__Pyx_PyObject_AsDouble'
       likely(PyLong_CheckExact(obj)) ?\
                                ^~~
      /Users/Simon.Charlow/opt/miniconda3/envs/slu/include/python3.8/longobject.h:16:40: note: expanded from macro 'PyLong_CheckExact'
      #define PyLong_CheckExact(op) (Py_TYPE(op) == &PyLong_Type)
                                             ^~
      /Users/Simon.Charlow/opt/miniconda3/envs/slu/include/python3.8/object.h:122:49: note: expanded from macro 'Py_TYPE'
      #define Py_TYPE(ob)             (_PyObject_CAST(ob)->ob_type)
                                                      ^~
      /Users/Simon.Charlow/opt/miniconda3/envs/slu/include/python3.8/object.h:111:41: note: expanded from macro '_PyObject_CAST'
      #define _PyObject_CAST(op) ((PyObject*)(op))
                                              ^~
      extensions/_pywrapfst.cpp:1490:43: note: expanded from macro 'likely'
        #define likely(x)   __builtin_expect(!!(x), 1)
                                                ^
      extensions/_pywrapfst.cpp:11274:40: error: cannot cast from type 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char>>') to pointer type 'PyObject *' (aka '_object *')
        __pyx_t_2 = __Pyx_PyObject_AsDouble(((PyObject *)__pyx_t_1)); if (unlikely(__pyx_t_2 == ((double)((double)-1)) && PyErr_Occurred())) __PYX_ERR(0, 436, __pyx_L1_error)
                                             ^~~~~~~~~~~~~~~~~~~~~
      extensions/_pywrapfst.cpp:3304:18: note: expanded from macro '__Pyx_PyObject_AsDouble'
       PyLong_AsDouble(obj) : __Pyx__PyObject_AsDouble(obj))
                       ^~~
      extensions/_pywrapfst.cpp:11274:40: error: cannot cast from type 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char>>') to pointer type 'PyObject *' (aka '_object *')
        __pyx_t_2 = __Pyx_PyObject_AsDouble(((PyObject *)__pyx_t_1)); if (unlikely(__pyx_t_2 == ((double)((double)-1)) && PyErr_Occurred())) __PYX_ERR(0, 436, __pyx_L1_error)
                                             ^~~~~~~~~~~~~~~~~~~~~
      extensions/_pywrapfst.cpp:3304:50: note: expanded from macro '__Pyx_PyObject_AsDouble'
       PyLong_AsDouble(obj) : __Pyx__PyObject_AsDouble(obj))
                                                       ^~~
      2 warnings and 5 errors generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pynini
  Running setup.py clean for pynini
Failed to build pynini
ERROR: Could not build wheels for pynini, which is required to install pyproject.toml-based projects

I am actually not sure, haven't seen this before, but building (or debugging) from source on a Mac is going to be difficult...hard to get an isolated environment that doesn't have something in the way. However, I did just test this and I believe it'll work on Mac too?
conda create -n simon pynini=2.1.4 -c conda-forge

I don't see a M1-specific version for that release, but I thought it could fall back to the OS X version---let me know if I'm wrong.
FWIW, Pynini 2.1.4 is pretty old, and the file serializations are pretty stable so they can be used across versions.

Thanks for checking, and the quick reply! Unfortunately, it doesn't fall back:
(slu) ➜  ~ conda create -n simon pynini=2.1.4 -c conda-forge
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - pynini=2.1.4

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/osx-arm64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-arm64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

Yeah, then I'm stuck for easy solutions. I would consider just using Pynini 2.1.5 in one environment and OpenFst 1.8.1 in the other? They can talk to each other through the file system. Is that feasible for your application?
On Conda-Forge's setup, I can always add M1 support to a package that doesn't have it (cf. this), but I don't think there's any way to add M1 support to older versions of packages that didn't have it at the time that version was superceded.

There's definitely things that we can do, just wanted to see if this might be one of them. Thanks again for your quick and clear help.

Sure, thanks for your help


Add ability to bulk update feature users

Right now, adding or removing group of users can't be done avoiding hitting redis multiple times. Here we are adding the ability to add or remove the users with just a single save of the feature into redis.

:+1:

:+1:

Thank you!


Deck always defaults to konnect.yaml instead of kong.yaml

With decK 1.5 the default Kong configuration file is konnect.yaml and no longer kong.yaml. Reading the code, I believe this is a mistake? The non-Konnect commands still have kong.yaml as the default, e.g. https://github.com/Kong/deck/blob/a640f10a2017d77eb7d88a283064a02427366017/cmd/dump.go#L152-L154
However, the same variable names are used in the Konnect commands, e.g. https://github.com/Kong/deck/blob/a640f10a2017d77eb7d88a283064a02427366017/cmd/konnect_dump.go#L80-L82
What I think is happening is that the first thing StringVarP does is set the variable to the default value in https://github.com/spf13/pflag/blob/85dd5c8bc61cfa382fecd072378089d4e856579d/string.go#L6-L9
And since the Konnect files are alphabetically after the non-Konnect files their default value will always overwrite the non-Konnect values during package initialization.
The different commands should probably just use different variables to avoid any crossover.

Particularly annoying for dump because of the way the --all-workspaces sanity check works. The value is konnect regardless of which command you're using, so it fails on 1.5:
$ ./deck14 dump --all-workspaces
$ ./deck15 dump --all-workspaces
Error: output-file cannot be specified with --all-workspace flag

A temporary workaround for 1.5 is to explicitly specify the old default. Even though it's not used for the filenames, it allows the check to pass and continues on to create the workspace filenames normally:
$ ./deck15 dump --all-workspaces -o kong

I use deck a lot in CI/CD contexts.

For validate it has to be kong.yaml
diff needs a konnect.yaml
And sync needs a kong.yaml again

It would nice to have the opportunity to flag the name of config file on demand.


Docs: wrong GH hook url

Just a small typo, GH hook url should be /notification/github not /notifications/github in README.md

Guess this is fixed.


Deprecated functions are not rendered properly in the summary column

Name
Summary

Zip
> [!WARNING]

Zip3
> [!WARNING]

Zip4
> [!WARNING]

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

ID: 74478f59-fbc3-32b1-fbcd-52e360d6b101
Version Independent ID: bd39a2a8-38e3-4824-35ac-bee76bb4498a
Content: Microsoft.Quantum.Arrays namespace - Q# reference - Microsoft Quantum
Content Source: api/qsharp/microsoft.quantum.arrays.md
Product: qsharp
GitHub Login: @ricardo-espinoza

Thanks for raising this, @k4rtik! Documentation generation takes place in the qsharp-compiler repository, so if it's alright, I'll transfer this bug to that repo where we can diagnose and triage the problem.


Advertisements_Database v1.5 Shortcomings

css_plugins load Advertisements_Database
Loading plugin: AdvertisementsDatabase
Failed to load plugin /home/server2000cs2/steamcmd/server/game/csgo/addons/counterstrikesharp/plugins/Advertisements_Data occurred. (Unable to connect to any of the specified MySQL hosts.)
 ---> MySqlConnector.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.
   at MySqlConnector.Core.ServerSession.ConnectAsync(ConnectionSettings cs, MySqlConnection connection, Int32 startTickCoken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 449
   at MySqlConnector.Core.ConnectionPool.ConnectSessionAsync(MySqlConnection connection, String logMessage, Int32 startTin /_/src/MySqlConnector/Core/ConnectionPool.cs:line 410
   at MySqlConnector.Core.ConnectionPool.ConnectSessionAsync(MySqlConnection connection, String logMessage, Int32 startTin /_/src/MySqlConnector/Core/ConnectionPool.cs:line 415
   at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, Int32 timeoutMn) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 105
   at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, Int32 timeoutMn) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 135
   at MySqlConnector.MySqlConnection.CreateSessionAsync(ConnectionPool pool, Int32 startTickCount, Activity activity, Nulnnection.cs:line 929
   at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySq
   at Nexd.MySQL.MySqlDb.CreateContextAsync[T](Func`2 asyncContext)
   at Nexd.MySQL.MySqlDb.ExecuteNonQueryInternalAsync(String statement)
   at Nexd.MySQL.MySqlDb.ExecuteNonQueryAsync(String statement)
   --- End of inner exception stack trace ---
   at AdvertisementsDatabase.AdvertisementsDatabase.Load(Boolean hotReload) in C:\Users\john\Desktop\cs#\Advertisements_D
   at CounterStrikeSharp.API.Core.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterSt
   at CounterStrikeSharp.API.Core.GlobalContext.LoadPlugin(String path) in /home/runner/work/CounterStrikeSharp/CounterSt
   at CounterStrikeSharp.API.Core.GlobalContext.OnCSSPluginCommand(CCSPlayerController caller, CommandInfo info) in /homeobalContext.cs:line 260
 any of the specified MySQL hosts.)
 ---> MySqlConnector.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.
   at MySqlConnector.Core.ServerSession.ConnectAsync(ConnectionSettings cs, MySqlConnection connection, Int32 startTickCount, ILoadBalancer loadBalancer, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 449
   at MySqlConnector.Core.ConnectionPool.ConnectSessionAsync(MySqlConnection connection, String logMessage, Int32 startTickCount, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 410
   at MySqlConnector.Core.ConnectionPool.ConnectSessionAsync(MySqlConnection connection, String logMessage, Int32 startTickCount, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 415
   at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, Int32 timeoutMilliseconds, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 105
   at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, Int32 timeoutMilliseconds, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 135
   at MySqlConnector.MySqlConnection.CreateSessionAsync(ConnectionPool pool, Int32 startTickCount, Activity activity, Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 929
   at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 423
   at Nexd.MySQL.MySqlDb.CreateContextAsync[T](Func`2 asyncContext)
   at Nexd.MySQL.MySqlDb.ExecuteNonQueryInternalAsync(String statement)
   at Nexd.MySQL.MySqlDb.ExecuteNonQueryAsync(String statement)
   --- End of inner exception stack trace ---
   at AdvertisementsDatabase.AdvertisementsDatabase.Load(Boolean hotReload) in C:\Users\john\Desktop\cs#\Advertisements_Database\Advertisements_Database.cs:line 25
   at CounterStrikeSharp.API.Core.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/PluginContext.cs:line 108
   at CounterStrikeSharp.API.Core.GlobalContext.LoadPlugin(String path) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/GlobalContext.cs:line 97
   at CounterStrikeSharp.API.Core.GlobalContext.OnCSSPluginCommand(CCSPlayerController caller, CommandInfo info) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/GlobalContext.cs:line 260

counterstrikesharp-build-54-linux-75fcf21
metamod 2.0 - build 1266

have you added you mysql info to config.cfg

have you added you mysql info to config.cfg

For some reason the config was not created. I downloaded the latest version again today, and now the config has been created. But using the command css_adv add "test" "chat" the advertisement is not added to the database

the issue  is fix now and im close this thanks


weekDay	is always 0

Hi
Even in your Example (with added weekDay) it always returns 0.

Thanks for the issue.
Might take some time before I can investigate.

What platform do you use?
What is the output of DS3232_demo_read.ino?
Do you have pull up resistors?
What is the wire length?

Arduino Nano
Date and Time
No
Max. 3cm

So date and time works but not weekdays ....
Need a code / datasheet  check as day of week is iirc the only read only register..

Yep. Weekdays are always 0.
This is the only Datasheet I could found.

Datasheet from the manufacturer of the device:

https://www.analog.com/media/en/technical-documentation/data-sheets/DS3231.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/DS3232.pdf

Registers:

Register 3 is Day of week - 1..7
uint8_t DS3232::weekDay() { return _reg[3]; }

the register 3 is filled in read() and not masked or so.
The bcd2dec() function that converts the BCD values from the registers is not needed for weekday as it does not change the value.
Can you add a print statement into the read function in ds3232.cpp (line 61) ?
Please post what is read from the registers.
int DS3232::read()
{
  _wire->beginTransmission(_address);
  _wire->write(DS3232_SECONDS);
  _rv = _wire->endTransmission();
  if (_rv != 0) return DS3232_ERROR_I2C;

  if (Wire.requestFrom(_address, (uint8_t)7) != 7)
  {
    return DS3232_ERROR_I2C;
  }
  for (int i = 0; i < 7; i++)
  {
    uint8_t tmp = _wire->read();  //  <<  changed
    Serial.println(tmp, HEX);  //  <<  changed
    _reg[i] = bcd2dec(tmp);  //  <<  changed
  }
  _reg[0] &= 0x7F;
  _reg[2] &= 0x3F;
  _lastRead = millis();

  return DS3232_OK;
}

I get this:
16031		24-4-5 11:40:2 1 4 40 11 1 5 4 24 18033		24-4-5 11:40:4 1 6 40 11 1 5 4 24

Adding the registers / meaning
| register | meaning      | value |
|:--------:|:-------------|:-----:|
|    0     | seconds      |   4   |
|    1     | minutes      |  40   |
|    2     | hours        |  11   |
|    3     | dayofweek    |   1   |
|    4     | day of month |   5   |
|    5     | month        |   4   |
|    6     | year         |  24   |
18033 24-4-5 11:40:4

Datasheet states
The day-of-week register increments at midnight.
Values that correspond to the day of week are user defined but must be sequential (i.e., if 1 equals
Sunday, then 2 equals Monday, and so on). Illogical
time and date entries result in undefined operation.
The day of week is 1 where we would expect 5 or 6 (?)
As the value is now 1, I assume the RTC started yesterday with a value 0 and it was updated last midnight.
That would mean I need to check the library if the DOW is set.

That would mean I need to check the library if the DOW is set.

Has no setWeekDay() so ==> BUG

@donsenilo1968
Created a develop branch that adds setWeekDay() (and some minor edits)
If you have time, can you verify if it works?

With the Develop Branch
Before demo_write:
212216		24-4-5 20:12:25
1
214219		24-4-5 20:12:27
1
After demo_write:
144150		24-4-5 20:15:50
5
146152		24-4-5 20:15:53
5
If I understand it correctly, once the Weekday is set it increments at midnight and starts again on Mondays with 1.

That is what I understand too.
Please let me know the weekday tomorrow to be sure. Then I can merge the new code.
Thanks for testing!

I found here an interesting Part about getting the Weekday. If this is true, the Output for the Weekday was correct (1 = Friday).

I found here an interesting Part about getting the Weekday. If this is true, the Output for the Weekday was correct (1 = Friday).

The it could automatically update it to 2 tomorrow.
Indeed an interesting find

@donsenilo1968
Added a note about the Thursday == 0 weekday in the readme.md

Hi Rob
It seems like it works.

I read the Date and Time via NTP, add the Timezone and calculate the Weekday from the epoch. Then I write all to the Clock (Date and Time at the Bottom of the Display). This happens when the Arduino starts and every Monday.
The Date, Time and Weekday at the Top are the Data getting from the Clock.
Thank you very much for your Help and updating the Code.
Best Regards from Vienna,
Markus

Thanks for the photo, looks good!
The NTP time is the moment of the last sync I assume?
Or is there another reason for the 5 minutes difference?
Are there other things missing in the library?
(I am thinking about adding EEPROM support)

The NTP time is the moment of the last sync I assume?
Yes, exactly.
I use this Lib because it's minimalistic and I don't need any other Functions for my Project.
Is adding more Functions necessary ? It's your Baby, so it's your Decision.

My plan is to create a derived extended class
DS3232-EXT
Which has the additional functions.
Exactly because that keeps the base class minimalistic.
Another option I consider is to have a 2nd class DS3232EE that only handles the EEPROM part of the device. Not derived, complete disjunct as there is no reason to have it merged in one object afaik.
(except convenience)
It could be in same library though
Other functionality like alarms etc would be logically more related to the time keeping.
These should therefor be in the EXT class.

Merged develop into master and released 0.4.0 version,


Timeframe on next npm release? Loader detection causing problems in 1.0.4.

The current distribution (1.0.4) fails after being bundled with jspm due to incorrect module loader detection. I've made a quick fix in my local copy of the package, but obviously that will get overwritten on any package reload. The loader detection actually appears to be fixed in trunk, but is not present in dist, so I suspect I'm just waiting on the next release. What's the timeframe on that?

Next release contains lots of important fixes and will be out within a week from now.

Excellent news! I shall wait with bated breath.


Installation fails on node 12

Installation on node 12 fails with:
><EMAIL_ADDRESS>install /app/node_modules/ogg
> node-gyp rebuild

make: Entering directory '/app/node_modules/ogg/build'
  CC(target) Release/obj.target/libogg/deps/libogg/src/framing.o
  CC(target) Release/obj.target/libogg/deps/libogg/src/bitwise.o
  AR(target) Release/obj.target/deps/libogg/ogg.a
  COPY Release/ogg.a
  CXX(target) Release/obj.target/ogg/src/binding.o
../src/binding.cc: In member function ‘virtual void nodeogg::OggSyncWriteWorker::HandleOKCallback()’:
../src/binding.cc:62:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
     callback->Call(1, argv);
                           ^
In file included from ../src/binding.cc:23:0:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodeogg::node_ogg_sync_write(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:76:54: error: no matching function for call to ‘v8::Value::NumberValue()’
   long size = static_cast<long>(info[2]->NumberValue());
                                                      ^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                 from ../src/binding.cc:22:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2608:39: note: candidate: v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
                                       ^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2608:39: note:   candidate expects 1 argument, 0 provided
../src/binding.cc: In member function ‘virtual void nodeogg::OggSyncPageoutWorker::HandleOKCallback( ’:
../src/binding.cc:105:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
     callback->Call(3, argv);
                           ^
In file included from ../src/binding.cc:23:0:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodeogg::node_ogg_stream_init(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:128:57: error: no matching function for call to ‘v8::Value::IntegerValue()’
   int serialno = static_cast<int>(info[1]->IntegerValue());
                                                         ^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                 from ../src/binding.cc:22:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2609:40: note: candidate: v8::Maybe<long long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:2609:40: note:   candidate expects 1 argument, 0 provided
../src/binding.cc: In member function ‘virtual void nodeogg::OggStreamPageinWorker::HandleOKCallback()’:
../src/binding.cc:146:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
     callback->Call(1, argv);
                           ^
In file included from ../src/binding.cc:23:0:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/binding.cc: In member function ‘virtual void nodeogg::OggStreamPacketoutWorker::HandleOKCallback()’:
../src/binding.cc:193:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
     callback->Call(6, argv);
                           ^
In file included from ../src/binding.cc:23:0:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/binding.cc: In member function ‘virtual void nodeogg::OggStreamPacketinWorker::HandleOKCallback()’:
../src/binding.cc:226:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
     callback->Call(1, argv);
                           ^
In file included from ../src/binding.cc:23:0:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/binding.cc: In member function ‘virtual void nodeogg::StreamWorker::HandleOKCallback()’:
../src/binding.cc:267:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
     callback->Call(4, argv);
                           ^
In file included from ../src/binding.cc:23:0:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/binding.cc: In function ‘void nodeogg::Initialize(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
../src/binding.cc:404:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
   Nan::ForceSet(target, Nan::New<String>("sizeof_" #value).ToLocalChecked(), \
        ^
../src/binding.cc:407:3: note: in expansion of macro ‘SIZEOF’
   SIZEOF(ogg_sync_state);
   ^~~~~~
In file included from ../../nan/nan.h:282:0,
                 from ../src/binding.cc:23:
../../nan/nan_maybe_43_inl.h:117:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/binding.cc:406:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
       static_cast<PropertyAttribute>(ReadOnly|DontDelete))
                                                          ^
../src/binding.cc:407:3: note: in expansion of macro ‘SIZEOF’
   SIZEOF(ogg_sync_state);
   ^~~~~~
In file included from ../../nan/nan.h:282:0,
                 from ../src/binding.cc:23:
../../nan/nan_maybe_43_inl.h:117:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/binding.cc:404:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
   Nan::ForceSet(target, Nan::New<String>("sizeof_" #value).ToLocalChecked(), \
        ^
../src/binding.cc:408:3: note: in expansion of macro ‘SIZEOF’
   SIZEOF(ogg_stream_state);
   ^~~~~~
In file included from ../../nan/nan.h:282:0,
                 from ../src/binding.cc:23:
../../nan/nan_maybe_43_inl.h:117:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/binding.cc:406:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
       static_cast<PropertyAttribute>(ReadOnly|DontDelete))
                                                          ^
../src/binding.cc:408:3: note: in expansion of macro ‘SIZEOF’
   SIZEOF(ogg_stream_state);
   ^~~~~~
In file included from ../../nan/nan.h:282:0,
                 from ../src/binding.cc:23:
../../nan/nan_maybe_43_inl.h:117:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/binding.cc:404:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
   Nan::ForceSet(target, Nan::New<String>("sizeof_" #value).ToLocalChecked(), \
        ^
../src/binding.cc:409:3: note: in expansion of macro ‘SIZEOF’
   SIZEOF(ogg_page);
   ^~~~~~
In file included from ../../nan/nan.h:282:0,
                 from ../src/binding.cc:23:
../../nan/nan_maybe_43_inl.h:117:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/binding.cc:406:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
       static_cast<PropertyAttribute>(ReadOnly|DontDelete))
                                                          ^
../src/binding.cc:409:3: note: in expansion of macro ‘SIZEOF’
   SIZEOF(ogg_page);
   ^~~~~~
In file included from ../../nan/nan.h:282:0,
                 from ../src/binding.cc:23:
../../nan/nan_maybe_43_inl.h:117:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/binding.cc:404:8: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
   Nan::ForceSet(target, Nan::New<String>("sizeof_" #value).ToLocalChecked(), \
        ^
../src/binding.cc:410:3: note: in expansion of macro ‘SIZEOF’
   SIZEOF(ogg_packet);
   ^~~~~~
In file included from ../../nan/nan.h:282:0,
                 from ../src/binding.cc:23:
../../nan/nan_maybe_43_inl.h:117:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/binding.cc:406:58: warning: ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated [-Wdeprecated-declarations]
       static_cast<PropertyAttribute>(ReadOnly|DontDelete))
                                                          ^
../src/binding.cc:410:3: note: in expansion of macro ‘SIZEOF’
   SIZEOF(ogg_packet);
   ^~~~~~
In file included from ../../nan/nan.h:282:0,
                 from ../src/binding.cc:23:
../../nan/nan_maybe_43_inl.h:117:35: note: declared here
 NAN_DEPRECATED inline Maybe<bool> ForceSet(
                                   ^~~~~~~~
../src/binding.cc:434:77: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
     Nan::New<FunctionTemplate>(node_ogg_packet_replace_buffer)->GetFunction());
                                                                             ^
In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                 from ../src/binding.cc:22:
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                              ^~~~~~~~~~~
/root/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note:   candidate expects 1 argument, 0 provided
ogg.target.mk:114: recipe for target 'Release/obj.target/ogg/src/binding.o' failed
make: *** [Release/obj.target/ogg/src/binding.o] Error 1
make: Leaving directory '/app/node_modules/ogg/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.19.66-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /app/node_modules/ogg
gyp ERR! node -v v12.13.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.

please add a fix, nodejs 10 isn't supported anymore...

really wish there was another ogg page this one hasnt worked for year now


ConferenceRoom does not close session

Describe the bug
ConferenceRoom component does not clean up itself. When the component isn't rendered after any react component change or state transition, the connection to the VTC client is still intact, and other clients can still see / hear the previous session.
Expected Behaviour
When the component unmounts, at minimum I'd expect the session to close and the conference to be left.
Steps to Reproduce the Problem

Render a conference room
re-render a parent or managing component that doesn't render the conference room
the browser continues to track audio / video with the session open
on page refresh or leave voxeet throws an error

Minimalistic code (recommended)
I've had to handle this myself... you can do this with useEffect hooks as well, but I'd expect the ConferenceRoom component to do this itself.
  public async componentDidMount() {
    const sdk = await import('@voxeet/voxeet-web-sdk')
    this.setState({sdk: sdk.default})
  }

  public componentWillUnmount() {
    this.state.sdk.conference.leave()
  }

Hello @jpowell sorry for the delay of response, if you still experience some issues, please feel free to reach our customer success team on https://support.dolby.io/
Have a great day

This is still an issue and the issue affects the react component UXKit which as per this documentation is not officially supported.
When the component unmounts there is no handling for correctly leaving the conference, thus the suggested solution by @jpowell should be part of the ConferenceRoom component.

This is still an issue and the issue affects the react component UXKit which as per this documentation is not officially supported.
When the component unmounts there is no handling for correctly leaving the conference, thus the suggested solution by @jpowell should be part of the ConferenceRoom component.


Add section on in-repo addons

Mostly a copy-paste of https://ember-cli.com/extending/#in-repo-addons, but with an extra section added in with @rwjblue's comments on dependencies from this issue: https://github.com/ember-cli/ember-cli/issues/4164

@mansona @jenweber took GH suggestions to ask you for review, but please feel free to unassign yourselves and forward on to whomever is the right person!

@sivakumar-kailasam thanks for the fixup :) I just noticed the failure

Thanks for porting this over 🙂


Gradle failure messages

Enables Gradle exception logging.

Before
After

Codecov Report

Merging #142 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #142   +/-   ##
=========================================
  Coverage     86.38%   86.38%
  Complexity      260      260
=========================================
  Files            28       28
  Lines           595      595
  Branches        122      122
=========================================
  Hits            514      514
  Misses           24       24
  Partials         57       57

Continue to review full report at Codecov.

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


Correct broken download link for Azure AD Connect V1.x Version

Please correct the download Link for the latest 1.6.16 Azure AD Connect Version. We need for upgrade to the 2.x Version on a old Server the newest 1.6.16 that we can upgrad the old server to the newest 1.x Version and then go to the 2.x Version on a new Server.
Link broken (https://www.microsoft.com/download/details.aspx?id=103336)
If you're still using an older version of Windows Server, use Azure AD Connect V1.6. You can download the latest version of Azure AD Connect V1 from the Microsoft Download Center. See the release notes for the latest V1.6 release.

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

ID: 57f5478b-3132-21d0-a420-a1140db235de
Version Independent ID: 266bbd16-2117-f680-6493-e183eb09fdbc
Content: Azure AD Connect: Version release history - Microsoft Entra
Content Source: articles/active-directory/hybrid/reference-connect-version-history.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: rodejo

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

Thank you for submitting this issue.  Unfortunately, due to high volumes I was unable to respond to this in a timely manner.  At this point, I am going to close this due to it's age and the possibility that it may have been addressed.  If this is still a problem, please consider submitting a new issue.  Thank you.
#please-close


tickets error when using multi sanic workers

Rasa version:
1.6.0
Rasa SDK version (if used & relevant):
1.6.1
Python version:
3.6.8
Operating system (windows, osx, ...):
Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-117-generic x86_64)
Issue:
When using multi sanic workers, I can just send 1 message to rasa. The second one will get a ticket error, and rasa is blocked.
All the rasa start process looks good.
Error (including full traceback):
2020-07-29 17:57:40 ERROR    rasa.core.channels.channel  - An exception occured while handling user message 'some text'.
Traceback (most recent call last):
  File "/usr/local/miniconda3/lib/python3.6/site-packages/rasa/core/channels/channel.py", line 487, in receive
    metadata=metadata,
  File "/usr/local/miniconda3/lib/python3.6/asyncio/coroutines.py", line 110, in __next__
    return self.gen.send(None)
  File "/usr/local/miniconda3/lib/python3.6/site-packages/rasa/core/channels/channel.py", line 83, in handler
    await app.agent.handle_message(*args, **kwargs)
  File "/usr/local/miniconda3/lib/python3.6/asyncio/coroutines.py", line 110, in __next__
    return self.gen.send(None)
  File "/usr/local/miniconda3/lib/python3.6/site-packages/rasa/core/agent.py", line 485, in handle_message
    async with self.lock_store.lock(message.sender_id):
  File "/usr/local/miniconda3/lib/python3.6/asyncio/coroutines.py", line 110, in __next__
    return self.gen.send(None)
  File "/usr/local/miniconda3/lib/python3.6/site-packages/async_generator/_util.py", line 34, in __aenter__
    return await self._agen.asend(None)
  File "/usr/local/miniconda3/lib/python3.6/site-packages/rasa/core/lock_store.py", line 89, in lock
    ticket = self.issue_ticket(conversation_id, lock_lifetime)
  File "/usr/local/miniconda3/lib/python3.6/site-packages/rasa/core/lock_store.py", line 70, in issue_ticket
    lock = self.get_or_create_lock(conversation_id)
  File "/usr/local/miniconda3/lib/python3.6/site-packages/rasa/core/lock_store.py", line 140, in get_or_create_lock
    existing_lock = self.get_lock(conversation_id)
  File "/usr/local/miniconda3/lib/python3.6/site-packages/rasa/core/lock_store.py", line 204, in get_lock
    return TicketLock.from_dict(json.loads(serialised_lock))
  File "/usr/local/miniconda3/lib/python3.6/site-packages/rasa/core/lock.py", line 57, in from_dict
    tickets = [Ticket.from_dict(json.loads(d)) for d in data.get("tickets")]
TypeError: 'NoneType' object is not iterable

content of endpoints.yml:
tracker_store:
   type: redis
   url: <IP_ADDRESS>
   port: 6379
   db: 9
   password: xxx

lock_store:
   type: "redis"
   url: <IP_ADDRESS>
   port: 6379
   db: 9
   password: xxx

Thanks for the issue, @akelad will get back to you about it soon!
You may find help in the docs and the forum, too 🤗


Autocomplete when multiple does not getOptionSelected as expected

[ x] The issue is present in the latest release.
[ x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
See https://codesandbox.io/s/autumn-water-wxwbn?file=/src/Demo.js
Expected Behavior 🤔
It should match the ids to the labels. I have had this running locally and stuck breakpoints on line 237 of useAutoComplete.js, and verified that we are indeed getting a match from getOptionSelected, and a breakpoint on line 241 reveals missingValue to be empty. But, as you see in the demo provided, the label does not show.
Steps to Reproduce 🕹
See https://codesandbox.io/s/autumn-water-wxwbn?file=/src/Demo.js

@narniaExpat The issue is with the difference of structure between the value and the options. If you look at the TypeScript definitions, these two objects are meant to have the same structure (T). If you wish to continue in the direction of the codesandbox, you can use the renderTags prop to render the chips differently.


Revert "Revert "build: simplify version tracking logic""

This reverts commit be37141b0fc5ad82dafbaaed2936a5a62c4de1e0.  Add a
small fix in the dereferencing.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC: @shahmishal

@swift-ci please smoke test

@swift-ci please build macOS toolchain

@swift-ci please build toolchain macOS

macOS Toolchain
Download Toolchain
Git Sha - ab5c682683fd24e7dd70ceee9ed34fb20309aac8
Install command
tar -zxf  swift-PR-29583-479-osx.tar.gz --directory ~/

$ usr/bin/swiftc --version
Apple Swift version 5.2-dev (LLVM 312410efca, Swift 1602d65dc2)

Thanks!!


Can't unpublish fastify-static

Error: Cannot publish over previously published version "2.2.0". : @types/fastify-static
But there doesn't seem to be any version 2.2.0, only 0.14.0.

Seems like a dupe of #560.

Fixed by bumping notNeededPackages to 2.2.1, which triggered a new deprecation attempt, which succeeded this time. See #560 for continued investigation.


Firestore does not act as admin when FIRESTORE_EMULATOR_HOST is set

Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Please run down the following list and make sure you've tried the usual "quick fixes":

Search the issues already opened: https://github.com/googleapis/nodejs-firestore/issues
Search the issues on our "catch-all" repository: https://github.com/googleapis/google-cloud-node
Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+node.js

If you are still having issues, please be sure to include as much information as possible:
Environment details

OS: macOS
Node.js version: 10.19.0
npm version: 6.13.4
@google-cloud/firestore version: 3.8.2+

Steps to reproduce
See instructions here: https://github.com/firebase/firebase-tools/issues/2310#issuecomment-636843345
This issue was introduced by this PR:
https://github.com/googleapis/nodejs-firestore/pull/1095

I'm looking into this right now. I've got a repro locally.


Fixed print html template card.

Reviewed files:

src/client/js/xpsui/controller/registry-custom-template-ctrl.js @ r1
src/shared/js/QueryFilter.js @ r1

Comments from the review on Reviewable.io

Review status: :shipit: all files reviewed, all discussions resolved, all commit checks successful.
Reviewed files:

src/client/js/xpsui/controller/registry-custom-template-ctrl.js @ r1
src/shared/js/QueryFilter.js @ r1

Comments from the review on Reviewable.io


[enhancement]: populate WebUI from image metadata?

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
What should this feature add?
It does not seem to be implemented or maybe I overlooked it? What's is the main intent behind having metadata imbed in the images?
thank you,
Alternatives
No response
Aditional Content
No response

You can press the Use All / Use Seed and etc to populate the options with the data from the metadata of the generation if it exists.


Table and data table

Some additional required features:

colspan and rowspan support for table component

Hi. I would like to ask if there is any chance you will implement table and data table. Thank you.


Mention UI tool: Cryptr

https://github.com/adobe/cryptr

Added in
https://github.com/gites/awesome-vault-tools/commit/299b22df5e04629b375e2b9e22e97231effbaab8
Thanks!


Fix/tick placement

As shown inside issue #413 the TickPosition enum contains a typo. I fixed it and created a sample for everyone to show the difference.

Hi, I forgot to mention that I created also a sample and added to the list of LineCharts, showing the difference of Tick Placement between On (default) and Between. In the library ApexCharts there is only a 1 characters of difference, then the others are samples.

@joadan any news on this merge and the new nuget version?
Thank you in advance for your dedication


No audio when user and password are set

I have a couple 9FUS cameras with <IP_ADDRESS>A_202012041528 original firmware and have been running yi-hack-Allwinner 0.2.2 successfully for a couple months now.  I really appreciate this project and its utility.  Yesterday, I upgraded to 0.2.3 and it stabilized many RTSP dropouts.  I then decided to turn on audio.  In VLC, I verified only one stream being received: video.  I tracked it down to the RTSP user authentication.  When username and password are set, no audio.  I only receive the audio stream in VLC without user authentication.
Out of curiosity, I tried the rRTSPServer by @roleoroleo from #225.  Same results with alaw, ulaw and pcm, but audio was received for aac with username and password.

I noticed the same problem but I can't understand.
Audio is correctly detected by vlc:

And decoded:

But I don't hear it .

I noticed the same problem but I can't understand.
Audio is correctly detected by vlc:

And decoded:

But I don't hear it .

Recompiling with the last version of live555, it seems working correctly.

Recompiling with the last version of live555, it seems working correctly.

To be clear, the issue I am reporting is that the audio stream is missing when a username and password are required for alaw, ulaw and pcm.  When no authentication is required, audio stream is present.  Are you saying by recompiling with the latest version of live555, the no audio with user authentication issue is resolved?  Thanks in advance!

To be clear, the issue I am reporting is that the audio stream is missing when a username and password are required for alaw, ulaw and pcm.  When no authentication is required, audio stream is present.  Are you saying by recompiling with the latest version of live555, the no audio with user authentication issue is resolved?  Thanks in advance!

Yes.
I will send you a binary to check it.

Yes.
I will send you a binary to check it.

I got the same issue, no audio in the stream. Looking forward to get the fix. THX

Try this binary:
rRTSPServer.gz

Ok I changed the file, which does live in /home/yi-hack/bin and set it to 755 via SSH
--> Sound is back
THX

Confirmed audio stream is present with user authentication when RTSP_AUDIO is set to yes, alaw, ulaw, pcm and aac.  Thank you for the quick fix @roleoroleo!

I'm using my camera with the ispy software... WIth the Yi Home app the audio works well but with the ispy software not work... could be related with this issue?

If audio is presente using another client (eg. vlc) the problem could be:

this issue.
the codec is not compatible (for example my dvr doesn't recognize ulaw).
the client doesn't work correctly.

Try with vlc and try to change the codec.

If audio is presente using another client (eg. vlc) the problem could be:

this issue.
the codec is not compatible (for example my dvr doesn't recognize ulaw).
the client doesn't work correctly.

Try with vlc and try to change the codec.

I tested with VLC and there is no sound...

I am using a 9FUS camera with firmware 0.2.3 and can verify that when a username and password are set there is no audio. I tested using the RTSP audio only in VLC and it will not even pull up with a username and password set. As soon as I removed them it played fine. Has anyone found a way to fix this issue?

This issue is related to the c++ compiler.
When I change the version of the library or the optimization flag the problem appear/disappear.
Try this:
rRTSPServer.gz


readable-stream@2 mutates core-util-is

The current used version of readable-stream (v2) mutates the exports of core-util-is.
This is likely not intentional, but the side effect of a poorly constructed polyfill
/*<replacement>*/
var util = require('core-util-is');
util.inherits = require('inherits');
/*</replacement>*/

I'm building a plugin for browserify to reduce the risk of software supplychain attacks from the dependency graph. One of its protections is that is prevents the module.exports being mutated externally.
While I have seen this pattern with modules within a package, I haven't seen this pattern across packages, with the exception of this old version of readable-stream
I have verified this is resolved in v3

here it is in the most recent v2 commit (2018) https://github.com/nodejs/readable-stream/blob/b3cf9b1f46eaa1865930ae03b96d7a4a570746f0/lib/_stream_readable.js#L66-L69

relevant PR for readable-stream@2 https://github.com/nodejs/readable-stream/pull/423

Pull request nodejs/readable-stream#423 has been released in<EMAIL_ADDRESS>


Deployment Automation

Summary
This pull request adds the following deployment scripts and configurations:

Vagrantfile for setting up the development environment
Dockerfile for containerizing the application
docker-compose.yml for orchestrating multi-container setups
deploy.sh script for automating the deployment process

Why This Change Is Necessary
These changes are necessary to automate and streamline the deployment process, making it reproducible and easy to manage.
Testing Done

Verified that the deployment process works as expected by following the documented steps.
Tested the Docker containers to ensure the application runs properly with PostgreSQL.

Checklist

[x] Code adheres to the project's style guidelines
[x] Changes have been tested
[x] Relevant documentation has been updated

I don't think this is work that we want to merge into Roller.


Add removed missing/deprecated functions/properties back.

Missing/deprecated functions/properties removed in pandas 1.0 were also removed from Koalas (#1197), but we should still show error messages when a user using pandas<1.0 tries to use such functions/properties.

Codecov Report

Merging #1309 into master will decrease coverage by 2.39%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #1309     +/-   ##
=========================================
- Coverage   95.15%   92.75%   -2.4%
=========================================
  Files          34       34
  Lines        7258     7327     +69
=========================================
- Hits         6906     6796    -110
- Misses        352      531    +179

Impacted Files
Coverage Δ

databricks/koalas/missing/frame.py
100% <100%> (ø)
:arrow_up:

databricks/koalas/missing/series.py
100% <100%> (ø)
:arrow_up:

databricks/koalas/missing/indexes.py
100% <100%> (ø)
:arrow_up:

databricks/koalas/usage_logging/__init__.py
24.32% <0%> (-73.88%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50% <0%> (-50%)
:arrow_down:

databricks/koalas/__init__.py
78.72% <0%> (-14.9%)
:arrow_down:

databricks/conftest.py
88.67% <0%> (-7.55%)
:arrow_down:

databricks/koalas/frame.py
93.33% <0%> (-3.17%)
:arrow_down:

databricks/koalas/window.py
94.64% <0%> (-1.79%)
:arrow_down:

databricks/koalas/namespace.py
86.3% <0%> (-1.49%)
:arrow_down:

... and 4 more

Continue to review full report at Codecov.

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


Flutter Windows native implementation should bring any way to draw the system's button while customizing title bar to keep features like "snap layouts"

Use case
Flutter Windows native implementation should bring any way to draw the system's button while customizing title bar to keep features like "snap layouts"
There is some packages in pub.dev that helps customizing title bar by "disabling" the system's one, but this disables native features like Windows 11 snap layouts and there is no way to render that.
Proposal
Create an API to let the system draw the native buttons when "frameless" mode from window_manager package or bitsdojo_window_windows native hack to runner's main.cpp, keeping features like "snap layouts".

Related Issue: https://github.com/bitsdojo/bitsdojo_window/issues/262


Adds some excludes for ruff, bump ruff target to 3.11

 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.


[video_player] Add optional web options

Fixes https://github.com/flutter/flutter/issues/62192
Fixes first part of https://github.com/flutter/flutter/issues/88151 (ability to show controls)

Currently opening this PR as a draft in order to receive feedback on the api
Can be used as follows:
_controller = VideoPlayerController.asset(
  'assets/Butterfly-209.mp4',
  videoPlayerOptions: VideoPlayerOptions(
    webOptions: const VideoPlayerWebOptions(
      controlsEnabled: true,
      allowDownload: false,
      allowContextMenu: false,
      allowFullscreen: false,
      allowPlaybackRate: false,
    ),
  ),
);

Pre-launch Checklist

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] I read the Tree Hygiene wiki page, which explains my responsibilities.
[X] I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the CLA.
[X] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[X] I listed at least one issue that this PR fixes in the description above.
[ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
[ ] I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
[X] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@ditman Can you take a high-level look at the API changes here?
I think the main question is whether we want to expose things through an options mechanism like this, or do something more direct like exposing the element for direct manipulation. How many more things like this might we want to add later? If we end up duplicating all of a large API surface that would be problematic, but if it's a fairly small set of options this (or the alternate pattern we have in some other plugins of using platform-specific option subclasses) could be reasonable.

@ditman Any feedback on the proposed api? I do not see the web options growing substantially over time, maybe options to enable/control video speed and PiP (Picture in Picture).

@stuartmorgan @ditman Any feedback on the api? I've added options to also disable full screen and not display playback rate.

We've just completed the migration of the plugin code to the flutter/packages repository, as described in https://flutter.dev/go/flutter-plugins-repo-migration, and this repository is now being archived. Unfortunately that means that all in-progress PRs here must be moved to flutter/packages.
Please see our instructions for an explanation of how to move your PR, and if you have any issues moving your PR please don't hesitate to reach out in the #hackers-ecosystem channel in Discord.
Our apologies that your PR was caught in this one-time transition. We're aware that it's disruptive in the short term, and appreciate your help in getting us to a better long-term state!


[WIP] Change DateComponent's storage layout

This is still marked as a WIP because I need to add tests to exercise all of the various branches this can take. This does pass the current preview tests.

Hi @Azoy! I just posted in #302. I was thinking this could be a good first issue for me to contribute to. Do you still feel like this is a reasonable solution? If so I asked some questions in the issue on how to move forward.


How to put animation and image in donut (pie chart) ?

Hey Thanks for the Library, I have some questions How i can set animation in donuts (like tween arcs) and i want to put a svg image in donut. how i can do this ?
i wanna create something like this.

At the moment there is no animation support. Sorry.
There is a base in the feature/transition branch.
If you need it you could extend the implementation.
The branch also adds support for layering of charts so you could layer the pie chart on top of an image.
If you don't need the animations but the image is important you could try to add the image as an svg child to the pie chart.
Pseudocode:
image =

This should work because looking at the code all charts include their children inside the SVG element.

@shashank734
This week I worked a bit on the animations and I managed to do arc tweening.
I will continue to work on it a bit and maybe release a beta soon.


Fix a couple of client-side redirects

Following up on https://github.com/pulumi/pulumi-hugo/pull/1013#pullrequestreview-867284943, I noticed a couple of errors in the client-side redirects that were added in https://github.com/pulumi/pulumi-hugo/pull/938. This change should fix them up.

Not at all -- I should've taken the time to check these individually as well when I reviewed the PR. 🤦


Add option to select amount of resources taken and dice rolled for templates

Add an option for items to:

allow to roll for each target if a template is used
allow to consume a resource each time attack/dmg is thrown (more specifically a card is created)

Decided not to go this route, but use the default 5e implementation for items consumed.


0.2.0

Update README.md
More testing for EmergencyNumber
Version update
Removed Client. Calls being made from EmergencyNumber
Update basic test syntax and web mock settings
Remove unwanted gems
Respect ruby style
Combine test and dev group in Gemfile
Added coveralls

Changes Unknown when pulling 14969ad8e6f4d748cd635e66d2c27003018bb41f on test-improve into ** on master**.


IB-DB Treatment

Description
This PR adds the treatment for cases where immersed boundaries touch the domain boundaries.
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Scope

[x] This PR comprises a set of related changes with a common goal

If you cannot check the above box, please split your PR into multiple PRs that each have a common goal.
How Has This Been Tested?
Use 2D rectangle and circle as well as 3D cylinder and sphere IBs touching the domain boundary w/ shock wave and high amplitude acoustic wave.
https://github.com/MFlowCode/MFC/assets/98496194/1feab706-34a2-4f03-91f4-f0c6e389aee1
https://github.com/MFlowCode/MFC/assets/98496194/4595cf58-730a-494b-bca4-550672b076c7
https://github.com/MFlowCode/MFC/assets/98496194/6d3589e2-d4ed-4b3e-a124-4773ba67f357
https://github.com/MFlowCode/MFC/assets/98496194/c62b4723-cf31-4acf-afc0-3fd23507506a
https://github.com/MFlowCode/MFC/assets/98496194/ae8feb88-a9d2-4fb6-be94-13c797623428
https://github.com/MFlowCode/MFC/assets/98496194/26a3efc3-002b-4430-aed0-f324901e5c7f
Test Configuration:
Sample 2D cases: 149*49
    'time_stepper'                 : 3,
    'weno_order'                   : 5,
    'weno_eps'                     : 1.E-16,
    'weno_Re_flux'                 : 'F',
    'weno_avg'                     : 'F',
    'avg_state'                    : 2,
    'mapped_weno'                  : 'F',
    'null_weights'                 : 'F',
    'mp_weno'                      : 'F',
    'riemann_solver'               : 2,
    'wave_speeds'                  : 1,
    'bc_x%beg'                     : -6,
    'bc_x%end'                     : -6,
    'bc_y%beg'                     : -15,
    'bc_y%end'                     : -15,
    'ib'		                   : 'T',
    'num_ibs'                      :  1,
    'patch_icpp(1)%geometry'       : 3,
    'patch_icpp(1)%x_centroid'     : x1/2,
    'patch_icpp(1)%y_centroid'     : x2/2,
    'patch_icpp(1)%length_x'       : x1,
    'patch_icpp(1)%length_y'       : x2,
    'patch_icpp(1)%vel(1)'         : 0.0E+00,
    'patch_icpp(1)%vel(2)'         : 0.0E+00,
    'patch_icpp(1)%pres'           : 1.0E+05,
    'patch_icpp(1)%alpha_rho(1)'   : (1.0 - 1e-12)*rho1,
    'patch_icpp(1)%alpha(1)'       : 1.0 - 1e-12,
    'patch_icpp(1)%alpha_rho(2)'   : 1.0e-12*rho2,
    'patch_icpp(1)%alpha(2)'       : 1.0e-12,

    'patch_icpp(2)%geometry'       : 3,
    'patch_icpp(2)%alter_patch(1)' : 'T',
    'patch_icpp(2)%x_centroid'     : x1/8,
    'patch_icpp(2)%y_centroid'     : x2/2,
    'patch_icpp(2)%length_x'       : x1/4,
    'patch_icpp(2)%length_y'       : x2,
    'patch_icpp(2)%vel(1)'         : 80.0E+00,
    'patch_icpp(2)%vel(2)'         : 0.0E+00,
    'patch_icpp(2)%pres'           : 1.0E+05,
    'patch_icpp(2)%alpha_rho(1)'   : (1.0 - 1e-12)*rho1,
    'patch_icpp(2)%alpha(1)'       : 1.0 - 1e-12,
    'patch_icpp(2)%alpha_rho(2)'   : 1.0e-12*rho2,
    'patch_icpp(2)%alpha(2)'       : 1.0e-12,

     'patch_ib(1)%geometry'          : 3,
     'patch_ib(1)%x_centroid'        : x1/2,
     'patch_ib(1)%y_centroid'        : 5*x2/6,
     'patch_ib(1)%length_x'          : x1/4,
     'patch_ib(1)%length_y'          : x2/2,
     'patch_ib(1)%slip'                   : 'F',

Sample 3D cases: 89^3
'time_stepper'                 : 3,
'weno_order'                   : 5,
'weno_eps'                     : 1.E-16,
'weno_Re_flux'                 : 'F',
'weno_avg'                     : 'F',
'avg_state'                    : 2,
'mapped_weno'                  : 'F',
'null_weights'                 : 'F',
'mp_weno'                      : 'F',
'riemann_solver'               : 2,
'wave_speeds'                  : 1,
'bc_x%beg'                     : -6,
'bc_x%end'                     : -6,
'bc_y%beg'                     : -3,
'bc_y%end'                     : -3,
'bc_z%beg'                     : -1,
'bc_z%end'                     : -1,
'ib'                                    : 'T',
'num_ibs'                         : 1,
'patch_icpp(1)%geometry'       : 9,
'patch_icpp(1)%x_centroid'     : 5.0,
'patch_icpp(1)%y_centroid'     : 5.0,
'patch_icpp(1)%z_centroid'     : 5.0,
'patch_icpp(1)%length_x'       : 10,
'patch_icpp(1)%length_y'       : 10,
'patch_icpp(1)%length_z'       : 10,
'patch_icpp(1)%vel(1)'         : 0,
'patch_icpp(1)%vel(2)'         : 0.0E+00,
'patch_icpp(1)%vel(3)'         : 0.0E+00,
'patch_icpp(1)%pres'           : 10918.2549,
'patch_icpp(1)%alpha_rho(1)'   : 1.22,
'patch_icpp(1)%alpha(1)'       : 1.E+00,

'patch_icpp(2)%geometry'       : 9,
'patch_icpp(2)%x_centroid'     : 2.0,
'patch_icpp(2)%y_centroid'     : 5.0,
'patch_icpp(2)%z_centroid'     : 5.0,
'patch_icpp(2)%length_x'       : 4,
'patch_icpp(2)%length_y'       : 10,
'patch_icpp(2)%length_z'       : 10,
'patch_icpp(2)%vel(1)'         : 100,
'patch_icpp(2)%vel(2)'         : 0.0E+00,
'patch_icpp(2)%vel(3)'         : 0.0E+00,
'patch_icpp(2)%pres'           : 10918.2549,
'patch_icpp(2)%alpha_rho(1)'   : 1.22,
'patch_icpp(2)%alpha(1)'       : 1.E+00,
'patch_icpp(2)%alter_patch(1)' : 'T',

'patch_ib(1)%geometry'       : 10,
'patch_ib(1)%x_centroid'     : 6,
'patch_ib(1)%y_centroid'     : 10,
'patch_ib(1)%z_centroid'     : 5,
'patch_ib(1)%length_z'       : 5,
'patch_ib(1)%radius'         : 2,
'patch_ib(1)%slip'           : 'F',

What computers and compilers did you use to test this: MacOS with GCC 13.1.6 and PACE Phoenix V100-16GB with NVHPC 22.11

Checklist

[x] I have added comments for the new code
[x] I ran ./mfc.sh format before committing my code
[x] New and existing tests pass locally with my changes, including with GPU capability enabled (both NVIDIA hardware with NVHPC compilers and AMD hardware with CRAY compilers) and disabled
[x] This PR does not introduce any repeated code (it follows the DRY principle)
[x] I cannot think of a way to condense this code and reduce any introduced additional line count

If your code changes any code source files (anything in src/simulation)
To make sure the code is performing as expected on GPU devices, I have:

[x] Checked that the code compiles using NVHPC compilers
[x] Checked that the code compiles using CRAY compilers
[x] Ran the code on either V100, A100, or H100 GPUs and ensured the new feature performed as expected (the GPU results match the CPU results)
[x] Ran my code using various numbers of different GPUs (1, 2, and 8, for example) in parallel and made sure that the results scale similarly to what happens if you run without the new code/feature

Here is the additional 2D test to visualize the expected parabolic profile using IBs.
https://github.com/MFlowCode/MFC/assets/98496194/f1cc7bf0-beb0-4d3f-aed0-b23f57fbe703