Improvements to qgis and grass packaging, introduce qgis-ltr derivation

Motivation for this change
This patch fixes some various issues with grass and qgis packaging.

Upgrade grass to 7.8.6

Upgrade grass build to use python3 (#148779)

Add some missing feature flags to grass to enable some more algorithms.

Add pdal dependency to grass to allow lidar point cloud processing.

Fix the QGIS grass support

Enable the 3D view in QGIS

Add qgis-ltr version and bump the main derivation to 3.22.1.

cc @lsix
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I applied the review suggestions now. Thanks.

As a quick note, I've been working on fixing qscintilla on darwin (#150595) -- the one thing that the PR currently regresses is qgis on linux. I still need to test how it works with this new expression for QGIS and what other changes it might need!

To follow up: qgis on master only needs an updated QSCI_SIP_DIR to work with #150595. Were it to land first, the same change would work here. If this lands first, it’s an easy rebase there.

When applied on top of the #150595 branch, the following patch successfully completes a make on darwin for qgis. grass is included but pdal is not.
However, it does still fail on final wrap/install, as the libraries do not link correctly and QGIS.app does not install.  I gave a first attempt at adjusting postFixup to deal with darwin rather than linux, but it's not quite right. The error that results from running the binary from the store directly is attached below. Any thoughts on how to adjust this would be welcomed!
$ /nix/store/y6nrf2hik7al6qcbvd4p4f5g9q9hpcnx-qgis-3.22.1/QGIS.app/Contents/MacOS/QGIS ; exit;
dyld[15182]: Library not loaded: @executable_path/lib/libqgis_app.3.22.1.dylib
  Referenced from: /nix/store/i4nldaxaqxclzx4g1qhjgzhas7nplj10-qgis-unwrapped-3.22.1/QGIS.app/Contents/MacOS/.QGIS-wrapped
  Reason: tried: '/nix/store/i4nldaxaqxclzx4g1qhjgzhas7nplj10-qgis-unwrapped-3.22.1/QGIS.app/Contents/MacOS/lib/libqgis_app.3.22.1.dylib' (not a mach-o file), '/nix/store/i4nldaxaqxclzx4g1qhjgzhas7nplj10-qgis-unwrapped-3.22.1/QGIS.app/Contents/MacOS/lib/libqgis_app.3.22.1.dylib' (not a mach-o file), '/usr/local/lib/libqgis_app.3.22.1.dylib' (no such file), '/usr/lib/libqgis_app.3.22.1.dylib' (no such file)
[1]    15182 abort

The only section that can't apply cleanly to master is the QSCI_SIP_DIR change, since that is dependent on #150595 being merged first.
Patch is here:
From 429f032c2c30b3a3ca7d8f3680b307792b08539b Mon Sep 17 00:00:00 2001
From: Will Cohen<EMAIL_ADDRESS>Date: Fri, 17 Dec 2021 09:31:44 -0500
Subject: [PATCH] qgis, qgis-ltr: partial fix of build on darwin

---
 pkgs/applications/gis/grass/default.nix      | 22 +++++++++++------
 pkgs/applications/gis/qgis/default.nix       |  9 +++++--
 pkgs/applications/gis/qgis/unwrapped-ltr.nix | 11 ++++++++-
 pkgs/applications/gis/qgis/unwrapped.nix     | 25 ++++++++++++++------
 pkgs/top-level/all-packages.nix              |  8 +++++--
 5 files changed, 56 insertions(+), 19 deletions(-)

diff --git a/pkgs/applications/gis/grass/default.nix b/pkgs/applications/gis/grass/default.nix
index 7ba2dc5c8ff..a46f19b04c2 100644
--- a/pkgs/applications/gis/grass/default.nix
+++ b/pkgs/applications/gis/grass/default.nix
@@ -1,5 +1,5 @@
 { lib, stdenv, fetchFromGitHub, flex, bison, pkg-config, zlib, libtiff, libpng, fftw
-, cairo, readline, ffmpeg, makeWrapper, wxGTK30, netcdf, blas
+, cairo, readline, ffmpeg, makeWrapper, wxGTK30, wxmac, netcdf, blas
 , proj, gdal, geos, sqlite, postgresql, libmysqlclient, python3Packages, libLAS, proj-datumgrid
 , zstd, pdal, wrapGAppsHook
 }:
@@ -16,10 +16,14 @@ stdenv.mkDerivation rec {
   };

   nativeBuildInputs = [ pkg-config ];
-  buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite cairo
-  readline ffmpeg makeWrapper wxGTK30 netcdf geos postgresql libmysqlclient blas
-  libLAS proj-datumgrid zstd pdal wrapGAppsHook ]
-    ++ (with python3Packages; [ python python-dateutil wxPython_4_1 numpy ]);
+  buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite
+  readline ffmpeg makeWrapper netcdf geos postgresql libmysqlclient blas
+  libLAS proj-datumgrid zstd wrapGAppsHook ]
+    ++ lib.optionals stdenv.isLinux [cairo pdal wxGTK30]
+    ++ lib.optional stdenv.isDarwin wxmac
+    ++ (with python3Packages; [ python python-dateutil numpy ] ++
+                              lib.optional stdenv.isDarwin wxPython_4_0 ++
+                              lib.optional stdenv.isLinux wxPython_4_1);

   # On Darwin the installer tries to symlink the help files into a system
   # directory
@@ -33,12 +37,11 @@ stdenv.mkDerivation rec {
   configureFlags = [
     "--with-proj-share=${proj}/share/proj"
     "--with-proj-includes=${proj.dev}/include"
-    "--with-proj-lib=${proj}/lib"
+    "--with-proj-libs=${proj}/lib"
     "--without-opengl"
     "--with-readline"
     "--with-wxwidgets"
     "--with-netcdf"
-    "--with-pdal"
     "--with-geos"
     "--with-postgres"
     "--with-postgres-libs=${postgresql.lib}/lib/"
@@ -51,6 +54,11 @@ stdenv.mkDerivation rec {
     "--with-zstd"
     "--with-fftw"
     "--with-pthread"
+  ] ++ lib.optionals stdenv.isLinux [
+    "--with-pdal"
+  ] ++ lib.optionals stdenv.isDarwin [
+    "--without-cairo" "--without-freetype"
+    "--without-x"
   ];

   # Otherwise a very confusing "Can't load GDAL library" error
diff --git a/pkgs/applications/gis/qgis/default.nix b/pkgs/applications/gis/qgis/default.nix
index f272fd04dd0..41f6c26c06c 100644
--- a/pkgs/applications/gis/qgis/default.nix
+++ b/pkgs/applications/gis/qgis/default.nix
@@ -1,4 +1,5 @@
-{ lib, makeWrapper, symlinkJoin
+{ lib, stdenv,
+  makeWrapper, symlinkJoin
 , qgis-unwrapped, extraPythonPackages ? (ps: [ ])
 }:
 with lib;
@@ -17,10 +18,14 @@ symlinkJoin rec {
     # unpackPhase

     buildPythonPath "$pythonInputs"
-
+  '' + lib.optionalString stdenv.isLinux ''
     wrapProgram $out/bin/qgis \
       --prefix PATH : $program_PATH \
       --set PYTHONPATH $program_PYTHONPATH
+  '' + lib.optionalString stdenv.isDarwin ''
+    wrapProgram $out/QGIS.app/Contents/MacOS/QGIS \
+      --prefix PATH : $program_PATH \
+      --set PYTHONPATH $program_PYTHONPATH
   '';

   meta = qgis-unwrapped.meta;
diff --git a/pkgs/applications/gis/qgis/unwrapped-ltr.nix b/pkgs/applications/gis/qgis/unwrapped-ltr.nix
index 308d9f8d536..1a3b05f10d1 100644
--- a/pkgs/applications/gis/qgis/unwrapped-ltr.nix
+++ b/pkgs/applications/gis/qgis/unwrapped-ltr.nix
@@ -1,4 +1,5 @@
 { lib
+, stdenv
 , mkDerivation
 , fetchFromGitHub
 , cmake
@@ -19,6 +20,7 @@
 , txt2tags
 , openssl
 , libzip
+, libtasn1
 , hdf5
 , netcdf
 , exiv2
@@ -36,6 +38,7 @@
 , withWebKit ? true
 , qtwebkit
 , makeWrapper
+, utmp
 }:

 let
@@ -89,6 +92,7 @@ in mkDerivation rec {
     postgresql
     txt2tags
     libzip
+    libtasn1
     hdf5
     netcdf
     qtbase
@@ -126,15 +130,20 @@ in mkDerivation rec {
     # unpackPhase
     # grass has to be availble on the command line even though we baked in
     # the path at build time using GRASS_PREFIX
+  '' + lib.optionalString stdenv.isLinux ''
     wrapProgram $out/bin/qgis \
       --prefix PATH : ${lib.makeBinPath (lib.optional withGrass grass)}
+  '' + lib.optionalString stdenv.isDarwin ''
+    wrapProgram $out/QGIS.app/Contents/MacOS/QGIS \
+      --prefix PATH : ${lib.makeBinPath (lib.optional withGrass grass)} \
+      --prefix DYLD_LIBRARY_PATH : $out/QGIS.app/Contents/MacOS/lib
   '';

   meta = with lib; {
     description = "A Free and Open Source Geographic Information System";
     homepage = "https://www.qgis.org";
     license = licenses.gpl2Plus;
-    platforms = platforms.linux;
+    platforms = platforms.linux ++ platforms.darwin;
     maintainers = with maintainers; [ lsix sikmir erictapen ];
   };
 }
diff --git a/pkgs/applications/gis/qgis/unwrapped.nix b/pkgs/applications/gis/qgis/unwrapped.nix
index 141a7f2063a..8fbd834780a 100644
--- a/pkgs/applications/gis/qgis/unwrapped.nix
+++ b/pkgs/applications/gis/qgis/unwrapped.nix
@@ -1,4 +1,5 @@
 { lib
+, stdenv
 , mkDerivation
 , fetchFromGitHub
 , cmake
@@ -19,6 +20,8 @@
 , txt2tags
 , openssl
 , libzip
+, libtasn1
+, utmp
 , hdf5
 , netcdf
 , exiv2
@@ -38,6 +41,7 @@
 , pdal
 , zstd
 , makeWrapper
+, fixDarwinDylibNames
 }:

 let
@@ -92,6 +96,7 @@ in mkDerivation rec {
     postgresql
     txt2tags
     libzip
+    libtasn1
     hdf5
     netcdf
     qtbase
@@ -102,10 +107,11 @@ in mkDerivation rec {
     qtserialport
     qtxmlpatterns
     qt3d
-    pdal
     zstd
-  ] ++ lib.optional withGrass grass
+  ] ++ lib.optional (!stdenv.isDarwin) pdal
+    ++ lib.optional (!stdenv.isDarwin && withGrass) grass
     ++ lib.optional withWebKit qtwebkit
+    ++ lib.optional stdenv.isDarwin utmp
     ++ pythonBuildInputs;

   nativeBuildInputs = [ makeWrapper cmake flex bison ninja ];
@@ -122,25 +128,30 @@ in mkDerivation rec {
   cmakeFlags = [
     "-DCMAKE_SKIP_BUILD_RPATH=OFF"
     "-DWITH_3D=True"
-    "-DWITH_PDAL=TRUE"
     "-DPYQT5_SIP_DIR=${python3Packages.pyqt5_with_qtlocation}/${python3Packages.python.sitePackages}/PyQt5/bindings"
-    "-DQSCI_SIP_DIR=${python3Packages.qscintilla-qt5}/share/sip/PyQt5"
+    "-DQSCI_SIP_DIR=${python3Packages.qscintilla-qt5}/${python3Packages.python.sitePackages}/PyQt5/bindings"
   ] ++ lib.optional (!withWebKit) "-DWITH_QTWEBKIT=OFF"
-    ++ lib.optional withGrass "-DGRASS_PREFIX7=${grass}/grass78";
+    ++ lib.optional withGrass "-DGRASS_PREFIX7=${grass}/grass78"
+    ++ lib.optional (!stdenv.isDarwin) "-DWITH_PDAL=TRUE";

   postFixup = ''
     # unpackPhase
     # grass has to be availble on the command line even though we baked in
-    # the path at build time using GRASS_PREFIX
+    #n the path at build time using GRASS_PREFIX
+  '' + lib.optionalString stdenv.isLinux ''
     wrapProgram $out/bin/qgis \
       --prefix PATH : ${lib.makeBinPath (lib.optional withGrass grass)}
+  '' + lib.optionalString stdenv.isDarwin ''
+    wrapProgram $out/QGIS.app/Contents/MacOS/QGIS \
+      --prefix PATH : ${lib.makeBinPath (lib.optional withGrass grass)} \
+      --prefix DYLD_LIBRARY_PATH : $out/QGIS.app/Contents/MacOS/lib
   '';

   meta = {
     description = "A Free and Open Source Geographic Information System";
     homepage = "https://www.qgis.org";
     license = lib.licenses.gpl2Plus;
-    platforms = with lib.platforms; linux;
+    platforms = with lib.platforms; linux ++ darwin;
     maintainers = with lib.maintainers; [ lsix sikmir erictapen ];
   };
 }
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 9960ec9e948..5d4d5e2e71b 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -27930,11 +27930,15 @@ with pkgs;

   qemu-utils = callPackage ../applications/virtualization/qemu/utils.nix {};

-  qgis-ltr-unwrapped = libsForQt5.callPackage ../applications/gis/qgis/unwrapped-ltr.nix { };
+  qgis-ltr-unwrapped = libsForQt5.callPackage ../applications/gis/qgis/unwrapped-ltr.nix {
+    inherit (darwin.apple_sdk.libs) utmp;
+  };

   qgis-ltr = callPackage ../applications/gis/qgis/ltr.nix { };

-  qgis-unwrapped = libsForQt5.callPackage ../applications/gis/qgis/unwrapped.nix { };
+  qgis-unwrapped = libsForQt5.callPackage ../applications/gis/qgis/unwrapped.nix {
+    inherit (darwin.apple_sdk.libs) utmp;
+  };

   qgis = callPackage ../applications/gis/qgis { };

--
2.34.0

@sikmir are there any other issues you see with this PR? I'd be happy to include the version bump in a subsequent PR that wraps up all the darwin build fixes I've got going in this WIP patch noted above. It'd be great to get this PR stabilized in main so that there'll be plenty of time to work out issues with ltr versus pr as the next QGIS release cycle works its way through in advance of 22.05 -- and in a very self-interested way, to ensure that darwin has a chance to fix all its build issues in advance of that too!

Anyone fancy merging this?

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/432

@mpickering let me know if you'd like any help here -- if useful and you're too busy, I can try to set up a PR to your own repo to incorporate these changes into this branch

@mpickering let me know if you'd like any help here -- if useful and you're too busy, I can try to set up a PR to your own repo to incorporate these changes into this branch

Thanks @willcohen , this branch works perfectly for me locally and I don't intend to change it anymore so if you want to help that would be great.

#156747 incorporates all outstanding review comments from this branch, rebased to master. Once that PR is merged I can separately submit the additional patches that I'd been working on in-conversation to fix the build on darwin.

@mpickering i think this can be closed with the merge of #156747!


WIP: Support scatter_plot

TODO:

[x] style support
[x] size support
[x] plotly support
[x] legend title support in plotly
[x] legend support in pyplot

I confirmed all the tests succeed in my local machine.


chore: remove CODEOWNERS from master

Problem
context: #957, https://discord.com/channels/428295358100013066/560503042458517505/1232683850631741541
it seems that those two teams will be added to all PRs if we use CODEOWNERS mechanism.
https://github.com/orgs/community/discussions/22866
Summary of Changes
this PR is a preparation for removing CODEOWNERS.

I think the plan is:

remove CODEOWNERS from master temporarily to prevent spam but still backport to v1.17 and v1.18.
have a multisig mechanism then we can make the account become the code owner.
time to decide if we want to add it back to master


assembly instructions

Thanks for this amazing repo. A small suggestion would be to provide the assembly instructions as a set of "Ikea-like" ones (without the video, simply sequential 3d renders that show which part goes where. i.e. like this, one after the other on the README page.. it would make assembling a lot easier I believe.

@eyast That is a great suggestion! Someone in the open source community started to do this I believe! If someone from open source does it I would happily add it to the repo but unfortunately I likely won't get to it for a while! Thank you!


get current time for user is broken and instead displays current time for me

exactly what it says on the tin. display is always current time for me, even for people who are half a world away

fixed in https://github.com/laralove143/timezoner/commit/48c912fb448ace9d77724446d2c2000521cd23cc


TP vs Inheritance question

abstract class BaseActivity { //project moduleLib
  @Inject LocalModuleConfig localModuleConfig;//something what is visible for BaseActivity project-module only

  protected void inject() {
      //throws exception, because it tries to inject the object as it's instance of MyActivity
      //but this scope doesn't know anything about MyActivity#config
      Toothpick.inject(this, Toothpick.openScope("BaseActivity"))
  }
}

class MyActivity extends BaseActivity { //project moduleApp
  @Inject Config config;

  protected void inject() {
      super.inject();
      Toothpick.inject(this, Toothpick.openScopes("MyActivity", "App"))
  }
}

new MyActivity().inject()

I'm trying to use few modules in the app.
And I'm getting error, because parent class is trying to be injected as the instance class.
Can I somehow explicitly say in BaseActivity#inject to inject only what is part of BaseActivity ? #

Hi @jbruchanov ,
When you call inject inside BaseActivity:
Toothpick.inject(this, Toothpick.openScope("BaseActivity"))

You are providing the object this to inject all its dependencies. This object is an instance of the subclass MyActivity. That's why TP is injecting the dependencies defined inside MyActivity.
I would recommend to inject just once inside the super class, as even if the previous issue didn't happen, you would be injecting twice.
Why do you use different scopes for the same class? Is it cause the scope will change depending of the class extending BaseActivity? In that case, I'd suggest to use a method to create the scope and override it from the subclasses that want to change the default one:
abstract class BaseActivity {
  @Inject LocalModuleConfig localModuleConfig;

  public void inject() {
      Toothpick.inject(this, getScope());
  }

  protected Scope getScope() {
      return Toothpick.openScope("BaseActivity");
  }
}

class MyActivity extends BaseActivity {
  @Inject Config config;

  @Override
  protected Scope getScope() {
      return Toothpick.openScopes("MyActivity", "App");
  }
}

new MyActivity().inject()

Hi @dlemures
thanks for the reply.
Yeah this is something what I also end up with. I was just curious if there is a way as Dagger2 can handle this little bit better, because it knows the type you are trying to inject based on manual inject(MyType) declaration. (this solves injection only parent->sub class only though, for opposite direction it has same issue)
Anyway the example is just POC for as we are trying to find better/easier DI library for our intention to separate the app into few project-modules. And getting a feeling that inheritance and DI are not exactly the best friends.
Using two scopes in "same" class is just intended example for the POC.
Let's say having (ProjectModule2 depends on ProjectModule1)
ProjectModule1 - BaseActivity - dependency for some internal code accessible only in ModProjectModule1
ProjectModule2 - MyActivity - having own dependencies what are defined in ProjectModule2 (therefore unknown in ProjectModule1)
So injection in MyActivity instance kinda creates circular reference
Injection in BaseActivity injects also subclass (as it uses getClass() as you said, because instance if MyActivity)
Injection in MyActivity injects also parent class as the field is not private.
I understand why is it happening, it's just my feeling is that what is happening is wrong, as both classes ideally shouldn't know anything about DI running on its level.
So having class hierarchy where parent/sub class (living in different project modules) have different knowledge/need of dependencies (therefore need for different scopes) is potential use case (not saying the right one) makes it problematic to inject if you can't or don't want to expose them.
One approach is use similar like android is using ViewHolder pattern just for dependencies, so there wouldn't be any inheritance hierarchy for injection, not that nice though.


PHP SDK: A few questions: Can I use PHP 7.3? htdocs folder?

I noticed in the PHP Quickstart (https://docs.microsoft.com/en-us/gaming/playfab/sdks/php/quickstart) that PHP 7.1 has to be installed. I currently have PHP 7.3 since WordPress needs that. Is that a problem for the PHP SDK?
I am on a shared server, btw with Apache 2.4 pre-installed. (SSL is active on the website)
I'm not exactly sure what is meant with the /Apache24/htdocs folder. I assume it's the folder of the public site. Am I correct about that?
Also, maybe I'm overlooking it, but where exactly IS the SDK? I looked here:
https://docs.microsoft.com/en-gb/gaming/playfab/sdks/
There are a lot of SDK's, but no PHP SDK. The quickstart guide doesn't seem to have a link to the SDK either......
Thank you for your help in advance.

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

ID: 606824fc-7c5f-f12b-c7fa-d141d8e89649
Version Independent ID: 1658ee49-ee06-eb70-f70a-4db55226c44a
Content: PHP quickstart - PlayFab
Content Source: playfab-docs/sdks/php/quickstart.md
Product: playfab
GitHub Login: @v-kciril
Microsoft Alias: v-kciril

@Sheriziya You are more likely to get answers to this type of question if you ask it in the PlayFab forums:
https://community.playfab.com/index.html

@Sheriziya You are more likely to get answers to this type of question if you ask it in the PlayFab forums:
https://community.playfab.com/index.html

Already did, thanks :)

Also, maybe I'm overlooking it, but where exactly IS the SDK? I looked here:

https://docs.microsoft.com/en-gb/gaming/playfab/sdks/

There are a lot of SDK's, but no PHP SDK. The quickstart guide doesn't seem to have a link to the SDK either......

This, however, should be included in the Quickstart guide, I think. And this issue is a feedback on that paticular on that page.

The quickstart was stale and, as you noticed, not linked from our supported languages as we no longer support PHP. Those docs are being removed. Sorry for the inconvenience and long delayed response.


Server's generates.

Hi joshiejack, I found that limestone couldn't be generated at the bottom of the sea in my server:3

What other world generating mods do you have. In 1.3 I tried to change it so that my limestone generation would automatically be compatible with other dimensions without having to use my config >.>. But I guess if something is replacing the chunk provider for the overworld, it may break the generation.

I just only put ench2 and Mariculture into my mods file, limestone still not be generated normally. I think errors were occurred at #17 in first, #17 also made processing’s and diving‘s book lose its localization. And also, when #17 coming, my partner said that limestone couldn't be generated at the bottom of the sea in his server although at that time I didn't care.

Oh, #17 means Mariculture-Deluxe-1.7.10-1.3.0-17 XD

The books didn't lose their localisation they were rewritten entirely, the others are being worked on too. Switching from ench1 books to ench2 ones, and updating the docs. I'll investigate the limestone, I know it works in ssp for me, maybe messed something up for servers.

Thanks a lot:3


number 0 not working

version 17.125
structure a.xyz
number 0
end structure

In the output, the number of a.xyz is actually 1.

I've added an error message if the user sets a number smaller than 1 now. It is on the master branch now, and will eventually be released with other more substancial changes.


custom views for details of each resource

Issue moved to travi/admin.travi.org-components #12 via ZenHub.io


How to hide NavigationBar?

Hi everyone, I use Navigator in my application with predefined navigationBar(Navigator.NavigationBar), and in some routes I want to hide nav bar or change the color is there any way to do this?

This isn't built into Navigator but you could style the nav bar to hide it yourself.

i would be glad if you give an example for me
My Navigator with routes resolver
_renderScene(route, navigator){
    switch(route.id){
      case 1:
        return <PostList navigator={navigator} />;
        break;
      case 2:
        return <PostView postId={route.postId} />
        break;
      default:
        break;
    }
  }

render(){
    return (
      <Navigator
          initialRoute={{id: 1, title: 'Events'}}
          renderScene={this._renderScene}
          navigationBar={
            <Navigator.NavigationBar
              routeMapper={NavigationBarRouteMapper}
              style={styles.navBar} />
          } />
    );
  }


General improvements

Improvements

Hi @machinexa2 great PR with optimizations. I saw a build failure for line max length > 120. Currently I have used 120 character limit in a line to follow PEP 8 standard. Can you fix that and push on this.
From my side I will create a document with all these standards followed anytime soon.

Hi @machinexa2 great PR with optimizations. I saw a build failure for line max length > 120. Currently I have used 120 character limit in a line to follow PEP 8 standard. Can you fix that and push on this.
From my side I will create a document with all these standards followed anytime soon.

Hi @machinexa2 great PR with optimizations. I saw a build failure for line max length > 120. Currently I have used 120 character limit in a line to follow PEP 8 standard. Can you fix that and push on this.
From my side I will create a document with all these standards followed anytime soon.

Hi @machinexa2 great PR with optimizations. I saw a build failure for line max length > 120. Currently I have used 120 character limit in a line to follow PEP 8 standard. Can you fix that and push on this.
From my side I will create a document with all these standards followed anytime soon.

Wait

Wait

@dxillar It seems that for some reason flake8 fails on python3.5 but works in 3.6+. If you want backward compatibilty then close this pull request else you may remove travis ci python3.5 test as well as update setup.py

@dxillar It seems that for some reason flake8 fails on python3.5 but works in 3.6+. If you want backward compatibilty then close this pull request else you may remove travis ci python3.5 test as well as update setup.py

The 120 line problem is fixed now

The 120 line problem is fixed now

Hi @machinexa2. I am closing your PR atm without merging it.
I just realized that f-strings supports from Python3.6+. While currently the library is intended for Python3.5+.
Can you revert your f-string changes and make sure the Travis Build passes and raise the PR again. I will look forward to it.

Hi @machinexa2. I am closing your PR atm without merging it.
I just realized that f-strings supports from Python3.6+. While currently the library is intended for Python3.5+.
Can you revert your f-string changes and make sure the Travis Build passes and raise the PR again. I will look forward to it.


Use flake8 linter

What
Add Python flake8 linter to CI (and either fix violations or configure for our codebase)
Why
flake8 catches things that pylint does not, especially PEP8 violations.
Acceptance Criteria

Will prob need https://pypi.org/project/Flake8-pyproject/

https://docs.astral.sh/ruff/ could be an alternative?

I think ruff is a good shout. Updated the issue.


[WIP] feature: add support for toResourceRules

WIP

Just wanted to note on here that this PR is likely to stay in draft for a while, keeping it open mainly for if it helps with visibility of what I'm doing/will eventually be doing.

Closing this, its no longer needed (related https://github.com/kumahq/kuma-gui/pull/2958)


None unique field enums are not renamed

I have a DBC file which has non unique field names in an enumerated signal. Example:
/// Defined values for Command
#[derive(Clone, Copy, PartialEq)]
#[cfg_attr(feature = "debug", derive(Debug))]
pub enum CommandCommand{
    NotAvailable,
    Error,
    Reserved,
    Reserved,
    Reserved,
    Reserved,
    Reserved,
    Reserved,
    Reserved,
    Reserved,
    Reserved,
    Reserved,
    Release,
    Close,
    Open,
    Init,
    _Other(u8),
}

I know this is a bit strange but all none used enums are set to reserved. I could delete them so that _Other is handling those but renaming would be done as for the enums starting with a non-alphabetic character .
From DBC:
VAL_<PHONE_NUMBER> Command 15 "Not Available" 14 "Error" 13 "Reserved" 12 "Reserved" 11 "Reserved" 10 "Reserved" 9 "Reserved" 8 "Reserved" 7 "Reserved" 6 "Reserved" 5 "Reserved" 4 "Reserved" 3 "Release" 2 "Close" 1 "Open" 0 "Init" ;

For now my workaround is to rename the Reserved enums in the DBC-file:
VAL_<PHONE_NUMBER> Command 15 "Not Available" 14 "Error" 13 "Reserved_13" 12 "Reserved_12" 11 "Reserved_11" 10 "Reserved_10" 9 "Reserved_9" 8 "Reserved_8" 7 "Reserved_7" 6 "Reserved_6" 5 "Reserved_5" 4 "Reserved_4" 3 "Release" 2 "Close" 1 "Open" 0 "Init" ;

Which will give me unique enums:
/// Defined values for Command
#[derive(Clone, Copy, PartialEq)]
#[cfg_attr(feature = "debug", derive(Debug))]
pub enum CommandCommand{
    NotAvailable,
    Error,
    Reserved13,
    Reserved12,
    Reserved11,
    Reserved10,
    Reserved9,
    Reserved8,
    Reserved7,
    Reserved6,
    Reserved5,
    Reserved4,
    Release,
    Close,
    Open,
    Init,
    _Other(u8),
}

I could try to implement this myself and send in a PR but depends if you thinks this makes sense.

I have a pr for that in the can-dbc crate that would fix it when parsing: https://github.com/marcelbuesing/can-dbc/pull/15

Just saw @marcelbuesing wrote that this would be better done here. If you want to port the PR over here, I'd be happy to accept it :)


Upgrade to a stable scheduler

Tokio 0.2 is out (https://tokio.rs/blog/2019-11-tokio-0-2/). We should upgrade to the stable version asap. It should have much faster scheduler and this is a nice thing to benchmark.
Until we can do so, we must wait for

[x] tokio-postgres to upgrade (https://github.com/sfackler/rust-postgres/issues/519)
[x] mysql_async to upgrade (https://github.com/blackbeam/mysql_async/issues/86)
[x] hyper to upgrade (https://github.com/hyperium/hyper/issues/2025)
[x] mobc to upgrade (https://github.com/importcjj/mobc/issues/7)

Then we start by:

[x] Updating Quaint
[x] Updating Query/Migration/Introspection Engines

Done and done.


Links in the readme are dead/broken

Specifically the getting started and API Documentation links, they go straight to 404.

we are working on it, will be live with new documentaion.

@dvbianculli  our new version will be available shortly with ssr as well in which all the proper documentation will be provided.


Separate HabitatPlugin for re-use by EnduranceSpaceExplorationSystem

The Plugin has wider use possibilities, was written by someone else, and has different KSP version support.

Rebuild

This has literally nothing to do with ContractConfigurator, so why a failure to resolve that dependency should matter for this, I do not know.

Tested locally and the plugin installation works. The Antares/Cygnus are tested by Jenkins and also work so merging this :)


Bugfix: insert missing cells.

I ran into a bug with tables where some cells were empty and had no formatting. I guess that in this case there is no cell definition at all in the xlsx file.

seems good.
Thanks


What happens if I delete the Approval mail?

Great tutorial, thank you!
Is there any way to automatically react inside the logic app if the user just deletes the approval mail?
Thanks!

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

ID: 616cbf28-e4c7-a539-911c-8c601031831a
Version Independent ID: cad3d887-b65e-b2e0-a6b6-49e6cdb9e108
Content: Build approval-based automated workflows - Azure Logic Apps
Content Source: articles/logic-apps/tutorial-process-mailing-list-subscriptions-workflow.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

Hi @Sohryu7 Could you elaborate more on "automatically react inside the logic app"?

In the logic app approval flow, is there a way to remind people of their task or automatically react on non-answers (eg. a timer of 7 days)? For example if the selected recipient just deletes the e-mail with the adaptive card inside. the logic app just keeps running and as an approver I have no way of answering the approval request.
Standard approval processes inside SharePoint Workflow, Power Automate or similar experiences provide a way to "resend" or "remind" approvers of their tasks, since the task itself it present as an object somewhere (SP List, Approval List in Flow....). Since I'm trying to replace a SharePoint approval process, I would need a "send reminder after x days" function or something similar.

@Sohryu7 Just checking if you have gone through this Create automated approval-based workflows by using Azure Logic Apps and serve the purpose ?
@ecfan Any thoughts on this ?

@DixitArora-MSFT, thanks for reaching out! Sounds like a question for the engineering team on how you'd check for the user action in this scenario.

@Sohryu7 Just following up to check if my previous comment helps..


D3 select returns error on specific ids

Using d3.select('#4mIWNGwB1-YKgTeGgwAZ_1') or d3.select('#6yU2KmwB1-YKgTeGSxzM_1') is returning not a valid selector, maybe a bug or invalid ids on my DOM ?
Version: 5.9.2

CSS selectors aren’t allowed to start with numbers.
Please use Stack Overflow tag d3.js to ask for help. Stack Overflow provides a better collaborative forum: thousands of D3-related questions have been asked there, and some answers may be relevant to you.
When asking for help, please include a link to demonstrate the issue, preferably as an Observable notebook. It is often impossible to debug from code snippets alone. Isolate the issue and reduce your code as much as possible before asking for help. The less code you post, the easier it is for someone to debug, and the more likely you are to get a helpful response.
If you have a question about D3’s behavior and want to discuss it with other users, also consider the d3-js Google Group or joining the d3-js Slack.
Thank you! 🤗


Add heliumCockpit

i can't seem to sign up for an account. do you have a dummy login i can use to check this out?

i can't seem to sign up for an account. do you have a dummy login i can use to check this out?

Hi, I created an dummy account for you:
<EMAIL_ADDRESS>/ Demo2022

Hi @cokes518
Have you had time to look at our application?

Thanks for the login. I was able to use the credentials to check out the website. Note that you're making calls to the public API and will likely be throttled as your service grows. I recommend you pull those queries in house.

Hi @cokes518
Thanks for the approval. We moved the calls from server- to client-side because we got a lot of "too mandy requests" errors. We will change that again but what can we do to prevent this errors? For example is it possible to whitelist our server?

Running your own ETL (https://github.com/helium/blockchain-etl) and querying that rather than the public API is probably the way to go.


Neither demo-undoable.html nor demo.html works??

I just download the master.zip. But the demo page does not work.  I got the below error:
Uncaught TypeError: $container.cytoscape is not a function
at init (cueUtilities.js:195)
at module.exports (cueUtilities.js:292)
at u.expandCollapse (index.js:187)
at HTMLDocument. (demo-undoable.html:96)

@21thermostat demo files are broken in Cytoscape v3.0.0. Currently, we are updating our libraries. Temporarily you can run the demo files by changing line 11 in demo.html and demo-undoable.html to:
<script src="http://cytoscape.github.io/cytoscape.js/api/cytoscape.js-2.7.11/cytoscape.min.js"></script>

@21thermostat should be fixed in https://github.com/iVis-at-Bilkent/cytoscape.js-expand-collapse/commit/1baafb1f6fa816619cf92e1121703a54a53cba4b Can you verify and close? Thanks.

Thanks for fast fix. Now it works fine.


[Bug]: For the same PDF file, the parsing result from the source code Docker startup is inconsistent with the result parsed on the demo website (https://demo.ragflow.io/knowledge).

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
v0.7.0
Commit ID
83803a72ee16cfe72b190e7e4093a0aae5e811fe
Other environment information
ubuntu linux

Actual behavior
For the same file, I used the Docker startup method of the source code v0.7.0 version, specifically using the image swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow:v0.7.0 to start locally. For the same PDF file, with the same configuration, it parsed into 10 chunks.
However, on the demo website (https://demo.ragflow.io/knowledge), the same file with the same configuration was parsed into 127 chunks. From the results, it is evident that the result from the demo website is more reasonable.
I would like to know why this happens. Is it because of a version inconsistency? What version is used on the demo website?
PS: I have also tried the latest code, which is the dev version of the image, and it still parsed into 10 chunks instead of the 127 chunks on the demo website.
PS: I have tried on different machines, and the results are the same.
Thank you.
对于同一个文件，我使用源码v0.7.0版本的docker启动方式，即使用swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow:v0.7.0这个镜像在本地启动，对于同一个pdf文件，同样的配置，解析出10块。
但是我在demo网站上（https://demo.ragflow.io/knowledge），同样的文件，同样的配置，解析出127块。从结果看明显demo网站的结果更合理。
我想知道为什么会这样，是使用的版本不一致吗，demo网站上是什么版本。
ps:我也尝试过最新的代码，也就是dev版本的镜像，同样是10块而不是demo网站的127块。
ps:我在不同的机器上做过尝试，结果也一样
谢谢
the pdf file for test:
test_general_128.pdf

Expected behavior
No response
Steps to reproduce
Create a knowledge base.
Use all default configurations (general + 128 tokens).
Upload the test PDF.
Trigger parsing and check the results.

1. 创建一个知识库
2. 配置全部是默认（general+128token）
3. 上传测试用pdf
4. 触发解析，查看结果

Additional information
No response

The model used in DEMO site are not same as the open source code.

The model used in DEMO site are not same as the open source code.

Could you please let me know which model is used on the demo website? Is it a paid model?

It is not a open source model. If you have any needs on this, please contact us<EMAIL_ADDRESS>

It is not a open source model. If you have any needs on this, please contact us<EMAIL_ADDRESS>
The biggest issue we are facing is that the configured token count does not seem to limit the results. Although we have set the default to 128 tokens, some of the resulting chunks far exceed this limit. Is there a solution to this problem?

It is not a open source model. If you have any needs on this, please contact us<EMAIL_ADDRESS>
The biggest issue we are facing is that the configured token count does not seem to limit the results. Although we have set the default to 128 tokens, some of the resulting chunks far exceed this limit. Is there a solution to this problem?

We didn't plan to split entire semantics like a paragraph just because of token number.


Enhance readme for macOS users

Nice project, really helpful. 🙌
Just a suggestion regarding macOS users.
The config.vdf file is located at ~/Library/Application Support/Steam/config/config.vdf.

Thanks for the help @EdgarMagalhaes
Another thing worth mentioning is that you can't open Steam when generating the key.
I had Steam open for my account and was generating a key for another account, which generated a failed config.vdf file.


test: add test for the drone_users data source

Changes

Add test for the drone_users data source.

Codecov Report

Merging #93 (47385ec) into master (1853d4d) will increase coverage by 1.37%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #93      +/-   ##
==========================================
+ Coverage   73.31%   74.68%   +1.37%
==========================================
  Files          15       15
  Lines        1450     1450
==========================================
+ Hits         1063     1083      +20
+ Misses        335      314      -21
- Partials       52       53       +1

see 1 file with indirect coverage changes


Remove Solo1 support + validate HTTPS certs on HTTPS requests

Description:
Validate HTTPS certificate on requests to the update/OTA manifest.
Requires recent HTTPClient and (slightly modified) NetworkClientSecure which does not support Arduino Core 2, thus requires dropping Core 2 and Solo1 support.
Dropping Solo1 support was already planned regardless.
Checklist:

[x] The pull request is done against the latest master branch
[x] Only relevant files were touched
[x] Only one feature/fix was added per PR and the code change compiles without warnings
[x] The code change is tested and works
[x] I accept the CLA.

@iranl @technyon Not my party ;-) But this
The ESP32-Solo1 is not supported by ESP-IDF 5.1 and as such can't be build using Arduino Core 3 and ESP-IDF 5.1. Release 9.0 was the last (untested) release for the Solo1 which for the Solo1 is built against Arduino Core 2.0.14 and ESP-IDF 4.4.

is just wrong!

@Jason2866 We are building Arduino as an ESP-IDF component since 9.0.
If I am correct Arduino as an ESP-IDF component is not supported on Solo1 (but please correct me if I am wrong) in PlatformIO (framework = arduino, espidf)
Language in the Readme maybe could be a little clearer on this.
Anyway: Thanks for your work on Tasmota and especially PlatformIO/Arduino/ESP-IDF

@iranl Supporting the solo1 with IDF is very easy. Only the entry CONFIG_FREERTOS_UNICORE=y in sdkconfig is needed to build a firmware for the solo1

@Jason2866: Usage of CONFIG_FREERTOS_UNICORE=y was not the issue,.
The issue was that espidf framework is not defined in https://github.com/tasmota/platform-espressif32/blob/Arduino/IDF5/boards/esp32-solo1.json which causes solo1 build to fail when using framework = arduino, espidf
I have switched us over to your pioarduino platform in #452 which does allow espidf framework in https://github.com/pioarduino/platform-espressif32/blob/develop/boards/esp32-solo1.json and added back Solo1 support.
Thanks for the assist and pointing us to your pioarduino fork.


Missing License

I noticed that there is no license yet.
Is there any specific reason for that ?

I already had license: MIT in package.json. I've just now added a file.


Small changes to support the Ardan Labs workflow.

Namely:

Allow the container to be built locally, but not pushed to a (remote) repository. The workshop application pushes the container image to the minikube-like cluster via a separate command, which doesn't require hosting the container in a repo.
Allow the container local build tag to be specified. The workshop application pushes the container image manually, so it is convenient to be able to specify a fixed tag the container is generated with.
Output the generated manifest file path when running weaver-gke deploy, so that scripts can pass that output to kubectl apply.
Place the manifest files into a temporary directory, as opposed to the current directory. This prevents files being created in the user's application directory, which is likely version controller.

Looks great!

Thank you!


Loop doesn't work on sound sprite

Seems like loop doesn't work correctly in this situation
this.sound = Sound.from({
	url: this.audioPath,
	sprites: this.sprites
});

this.sound.play({
	sprite: soundName,
	loop: true
});

Sound just play once...
examples
looping https://jsfiddle.net/8f5pvrq2/4/
not looping, why?  https://jsfiddle.net/uxzrq04b/12/
Is it a bug? does anybody know how it should work?

Aha, it is because of this
https://andrii.tinytake.com/sf/MjQ1MzE3OV83NDA5MjE5
Looping not support when specifying an "end" time
sadly

I think I originally didn't implement looping on sprites because I had assumed there would be obvious seaming issues on the fallback HTML5  element. I'm willing to change this and maybe add a warning about it in the documentation.

any chance to get that implemented in the next release?


MvM wave info overlapping (and underlapping) progress bar

As the image above shows, wave info both overlaps and underlaps the progress bar. Is it fixable?

this may be due to having minmode enabled (for some reason). probably a tf2 issue, since if it was a hud issue all icons would be above or below the health bar
try setting cl_hud_minmode to 0

That seems to solve the issue, thanks. What does minmode effectively change though?

I believe technically it shouldn't be changing anything, because I have it entirely disabled in the default hud files and don't leverage it at all in my hud. so I'd guess this mvm wave UI is somehow hardcoded or something


How do I remove a mounted share?

Thanks for building the app.  I've been waiting for a way to use SMB shares on my Chromebook for some time now.
One question: how can I remove mounted shares once they are created?  I don't see any way to do that in the SMB app or File Manager.  The share seems to be working fine but I'm constantly getting errors from it.  Mostly "Some operations are taking longer than expected..."
Thanks.

@etuck Could you find a "Close" menu item when you right-click the shared name on the Files app?

I close this issue, because I could not get more information from the reporter. Sorry.


bamtools conda update seems to break ngs_disambiguate

Don't know if this is the right place to report it, @chapmanb and @mjafin, but bamtools got a conda update to 2.4.1 a week ago and that breaks conda's ngs_disambiguate for me:

bcbio/lib/anaconda/bin/ngs_disambiguate: error while loading shared libraries: libbamtools.so.2.4.0: cannot open shared object file: No such file or directory

I tried conda-removing ngs-disambiguate and bamtools=2.4.1 and reinstalling both, but to no avail. However, downgrading to conda bamtools=2.4.0 fixes the issue for me. Is that perhaps something general or does it only pertain to my installation?

Sven-Eric -- thanks for the heads up on this. I pinned bamtools to 2.4.0 in the install to avoid pulling in the new version. We'd have to re-compile and re-build the conda package against 2.4.1 but not sure if we have other packages compiled against 2.4.0 so this is the most straightforward fix. Thanks again for letting us know.


Small projection-related bug fixes

Found while working on https://github.com/stanford-oval/genie-toolkit/issues/64 and https://github.com/stanford-oval/genie-toolkit/issues/7

Pull Request Test Coverage Report for Build 521

8 of 9 (88.89%)  changed or added relevant lines in 2 files are covered.
22 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.02%) to 82.216%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/ast/program.js
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

lib/nn-syntax/parser.js
22
66.67%

Totals

Change from base Build 518:
0.02%

Covered Lines:
6182

Relevant Lines:
7317

💛  - Coveralls


How to generate these three files?

Hello, could you plz provide the code of the file generating train_openclose_target.pkl,  close_label2ans.pkl and open_label2ans.pkl? Thanks!

already solved，sorry to bother you.


fix: NPE when there's no schema available in multipart converter

Related to #126

Thanks a lot @llfbandit.
On a different subject, will these features be supported too as a result of this ?

I guess I forgot to make converters aware of additionalProperties. Need to check. Please fill an issue for this as an enhancement for operation validator module.


Correct the background text in every Search box.Background text should be according to the grid.

Framework Version: 0.1.1
This issue exist in every grid where search box is available.
Expected: If search box is for categories then text should be Search Category.
Actual:It is Search User in every grid.

Fixed.
Framework Version: 0.1.2


git hook - persist notebooks giving a weird error - no notebooks in dir

Running pre-commit hook...
Traceback (most recent call last):
  File "/home/tanya/ds-projects/rtm-unc-new/venv/bin/persist-notebooks", line 11, in <module>
    load_entry_point('rtm-unc-new', 'console_scripts', 'persist-notebooks')()
  File "/home/tanya/ds-projects/rtm-unc-new/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 480, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/tanya/ds-projects/rtm-unc-new/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2693, in load_entry_point
    return ep.load()
  File "/home/tanya/ds-projects/rtm-unc-new/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2324, in load
    return self.resolve()
  File "/home/tanya/ds-projects/rtm-unc-new/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2330, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/tanya/ds-projects/rtm-unc-new/_rtm_unc_new_build_system/reports.py", line 24
                    Remove spaces from the filename to process or process manually.""")
SyntaxError: f-string: empty expression not allowed

Ok this is an easy one... just a dumb mistake...

Fixes the SyntaxError 887dccd
nbconvert was having trouble with filepaths with spaces so I had added this warning here


Add IoTConnect Support

Port the Avnet IoTConnect changes into the DevX project.

Hi Dave, Please take a look at my work and provide feedback.  I'll also submit a PR on the GenX project and add details to that PR.  For this PR I only had to add code in the dx_azure_iot files to kick off the IoTConnect logic when the device establishes the IoT Hub connection.  I don't think this is how we want to do this, but this just illustrates where I need the callback to fire.  I think I did a good job keeping all my logic contained to the implementation files.

Hi there @bawilless, I've created an Avnet branch to work on the updates. Could you please PR into the Avnet branch then we can jointly work up the update. Will Discuss tomorrow


Fixed and issue where the connection type was registered twice.

Added UsePaging for interfaces
Added addition connection type

This one is already fixed with version 9.0.0


fix: otherPokemonSprites field

Pull Request Template
Checks and guidelines

[x] Have you checked that there aren't other open Pull Requests for the same update/change?
[x] Linting passed yarn lint:ci
[ ] Integration tests added
[x] Tests passed yarn test:dev
[x] Build passed yarn build:ci

Type of change

[x] Bug fix
[ ] New feature
[ ] Improvement
[ ] Breaking change
[ ] Documentation update
[ ] Security

Describe the changes
Updated OtherPokemonSprites type interface because it did not match the pokemon API

Fixed in v1.9.1


[test] Run unit/integration test on IE 11

Had issues reproducing test results. Looked like it was randomly throwing describe is not defined so I'm parking the actual reports here:
yarn test:karma
IE 11.0.0 (Windows 10 0.0.0) <MenuList> integration keyboard controls and tabIndex manipulation should focus the second item FAILED
        item at index 0 should not be tab focusable: expected 0 to equal -1
        Error
           at AssertionError (webpack:///node_modules/assertion-error/index.js:74 <- test/karma.tests.js:2152:7)
           at Assertion.prototype.assert (webpack:///node_modules/chai/lib/chai/assertion.js:141 <- test/karma.tests.js:4497:7)
           at assertEqual (webpack:///node_modules/chai/lib/chai/core/assertions.js:1026 <- test/karma.tests.js:5663:7)
           at methodWrapper (webpack:///node_modules/chai/lib/chai/utils/addMethod.js:57 <- test/karma.tests.js:12154:5)
           at assert.strictEqual (webpack:///node_modules/chai/lib/chai/interface/assert.js:193 <- test/karma.tests.js:8645:5)
           at Anonymous function (webpack:///packages/material-ui/test/integration/MenuList.test.js:16:6 <- test/karma.tests.js:173549:7)
           at Anonymous function (webpack:///node_modules/enzyme/build/ReactWrapper.js:1287 <- test/karma.tests.js:41546:11)
           at forEach (webpack:///node_modules/enzyme/build/ReactWrapper.js:1286 <- test/karma.tests.js:41545:9)
           at assertMenuItemTabIndexed (webpack:///packages/material-ui/test/integration/MenuList.test.js:12:2 <- test/karma.tests.js:173545:3)
           at Anonymous function (webpack:///packages/material-ui/test/integration/MenuList.test.js:86:6 <- test/karma.tests.js:173607:7)
.
IE 11.0.0 (Windows 10 0.0.0) <MenuList> integration keyboard controls and tabIndex manipulation should reset the tabIndex to the focused elemen
t when calling resetTabIndex FAILED
        item at index 0 should not be tab focusable: expected 0 to equal -1
        Error
           at AssertionError (webpack:///node_modules/assertion-error/index.js:74 <- test/karma.tests.js:2152:7)
           at Assertion.prototype.assert (webpack:///node_modules/chai/lib/chai/assertion.js:141 <- test/karma.tests.js:4497:7)
           at assertEqual (webpack:///node_modules/chai/lib/chai/core/assertions.js:1026 <- test/karma.tests.js:5663:7)
           at methodWrapper (webpack:///node_modules/chai/lib/chai/utils/addMethod.js:57 <- test/karma.tests.js:12154:5)
           at assert.strictEqual (webpack:///node_modules/chai/lib/chai/interface/assert.js:193 <- test/karma.tests.js:8645:5)
           at Anonymous function (webpack:///packages/material-ui/test/integration/MenuList.test.js:16:6 <- test/karma.tests.js:173549:7)
           at Anonymous function (webpack:///node_modules/enzyme/build/ReactWrapper.js:1287 <- test/karma.tests.js:41546:11)
           at forEach (webpack:///node_modules/enzyme/build/ReactWrapper.js:1286 <- test/karma.tests.js:41545:9)
           at assertMenuItemTabIndexed (webpack:///packages/material-ui/test/integration/MenuList.test.js:12:2 <- test/karma.tests.js:173545:3)
           at Anonymous function (webpack:///packages/material-ui/test/integration/MenuList.test.js:113:6 <- test/karma.tests.js:173636:7)
IE 11.0.0 (Windows 10 0.0.0) <MenuList> integration keyboard controls and tabIndex manipulation should select/focus the first item FAILED
        TypeError: Circular reference in value argument not supported
           at stringify (webpack:///node_modules/core-js/modules/es6.symbol.js:223 <- test/karma.tests.js:34066:5)
           at processAssertionError (node_modules/karma-mocha/lib/adapter.js:59:7)
           at Anonymous function (node_modules/karma-mocha/lib/adapter.js:129:7)
IE 11.0.0 (Windows 10 0.0.0) <MenuList> integration keyboard controls and tabIndex manipulation should focus the second item FAILED
        TypeError: Circular reference in value argument not supported
           at stringify (webpack:///node_modules/core-js/modules/es6.symbol.js:223 <- test/karma.tests.js:34066:5)
           at processAssertionError (node_modules/karma-mocha/lib/adapter.js:59:7)
           at Anonymous function (node_modules/karma-mocha/lib/adapter.js:129:7)
IE 11.0.0 (Windows 10 0.0.0) <MenuList> integration keyboard controls and tabIndex manipulation should focus the third item FAILED
        TypeError: Circular reference in value argument not supported
           at stringify (webpack:///node_modules/core-js/modules/es6.symbol.js:223 <- test/karma.tests.js:34066:5)
           at processAssertionError (node_modules/karma-mocha/lib/adapter.js:59:7)
           at Anonymous function (node_modules/karma-mocha/lib/adapter.js:129:7)
...
IE 11.0.0 (Windows 10 0.0.0) <MenuList> integration keyboard controls and tabIndex manipulation - preselected item should focus the third item
FAILED
        item at index 1 should not be tab focusable: expected 0 to equal -1
        Error
           at AssertionError (webpack:///node_modules/assertion-error/index.js:74 <- test/karma.tests.js:2152:7)
           at Assertion.prototype.assert (webpack:///node_modules/chai/lib/chai/assertion.js:141 <- test/karma.tests.js:4497:7)
           at assertEqual (webpack:///node_modules/chai/lib/chai/core/assertions.js:1026 <- test/karma.tests.js:5663:7)
           at methodWrapper (webpack:///node_modules/chai/lib/chai/utils/addMethod.js:57 <- test/karma.tests.js:12154:5)
           at assert.strictEqual (webpack:///node_modules/chai/lib/chai/interface/assert.js:193 <- test/karma.tests.js:8645:5)
           at Anonymous function (webpack:///packages/material-ui/test/integration/MenuList.test.js:16:6 <- test/karma.tests.js:173549:7)
           at Anonymous function (webpack:///node_modules/enzyme/build/ReactWrapper.js:1287 <- test/karma.tests.js:41546:11)
           at forEach (webpack:///node_modules/enzyme/build/ReactWrapper.js:1286 <- test/karma.tests.js:41545:9)
           at assertMenuItemTabIndexed (webpack:///packages/material-ui/test/integration/MenuList.test.js:12:2 <- test/karma.tests.js:173545:3)
           at Anonymous function (webpack:///packages/material-ui/test/integration/MenuList.test.js:179:6 <- test/karma.tests.js:173697:7)
................................................................................
........................................
IE 11.0.0 (Windows 10 0.0.0) <ButtonBase /> mounted tab press listener "before each" hook for "should detect the keyboard" FAILED
        TypeError: Object doesn't support this action
           at Anonymous function (webpack:///packages/material-ui/src/ButtonBase/ButtonBase.test.js:345:6 <- test/karma.tests.js:116181:7)
................................................................................
...........................................
IE 11.0.0 (Windows 10 0.0.0) <ClickAwayListener /> prop: onClickAway should not be call when clicking inside FAILED
        TypeError: Object doesn't support this action
           at Anonymous function (webpack:///packages/material-ui/src/ClickAwayListener/ClickAwayListener.test.js:55:6 <- test/karma.tests.js:1
21343:7)
IE 11.0.0 (Windows 10 0.0.0) <ClickAwayListener /> prop: onClickAway should not be call when defaultPrevented FAILED
        TypeError: Object doesn't support this action
           at Anonymous function (webpack:///packages/material-ui/src/ClickAwayListener/ClickAwayListener.test.js:74:6 <- test/karma.tests.js:1
21366:7)
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
.............................
IE 11.0.0 (Windows 10 0.0.0) <Modal /> focus should keep focus on the modal when it is closed FAILED
        expected undefined to equal 'BODY'
        Error
           at AssertionError (webpack:///node_modules/assertion-error/index.js:74 <- test/karma.tests.js:2152:7)
           at Assertion.prototype.assert (webpack:///node_modules/chai/lib/chai/assertion.js:141 <- test/karma.tests.js:4497:7)
           at assertEqual (webpack:///node_modules/chai/lib/chai/core/assertions.js:1026 <- test/karma.tests.js:5663:7)
           at methodWrapper (webpack:///node_modules/chai/lib/chai/utils/addMethod.js:57 <- test/karma.tests.js:12154:5)
           at assert.strictEqual (webpack:///node_modules/chai/lib/chai/interface/assert.js:193 <- test/karma.tests.js:8645:5)
           at Anonymous function (webpack:///packages/material-ui/src/Modal/Modal.test.js:432:6 <- test/karma.tests.js:141431:7)
..
IE 11.0.0 (Windows 10 0.0.0) <Modal /> focus should return focus to the modal FAILED
        expected 'focus-container' to equal 'modal'
        Error
           at AssertionError (webpack:///node_modules/assertion-error/index.js:74 <- test/karma.tests.js:2152:7)
           at Assertion.prototype.assert (webpack:///node_modules/chai/lib/chai/assertion.js:141 <- test/karma.tests.js:4497:7)
           at assertEqual (webpack:///node_modules/chai/lib/chai/core/assertions.js:1026 <- test/karma.tests.js:5663:7)
           at methodWrapper (webpack:///node_modules/chai/lib/chai/utils/addMethod.js:57 <- test/karma.tests.js:12154:5)
           at assert.strictEqual (webpack:///node_modules/chai/lib/chai/interface/assert.js:193 <- test/karma.tests.js:8645:5)
           at Anonymous function (webpack:///packages/material-ui/src/Modal/Modal.test.js:466:6 <- test/karma.tests.js:141463:7)
..............
IE 11.0.0 (Windows 10 0.0.0) ModalManager overflow "before each" hook for "should handle the scroll" FAILED
        TypeError: Assignment to read-only properties is not allowed in strict mode
           at Anonymous function (webpack:///packages/material-ui/src/Modal/ModalManager.test.js:102:6 <- test/karma.tests.js:141859:7)
IE 11.0.0 (Windows 10 0.0.0) ModalManager overflow "after each" hook for "should handle the scroll" FAILED
        TypeError: Assignment to read-only properties is not allowed in strict mode
           at Anonymous function (webpack:///packages/material-ui/src/Modal/ModalManager.test.js:107:6 <- test/karma.tests.js:141863:7)
............................................................
IE 11.0.0 (Windows 10 0.0.0) <Popover /> getPositioningStyle(element) "before all" hook FAILED
        TypeError: Assignment to read-only properties is not allowed in strict mode
           at Anonymous function (webpack:///packages/material-ui/src/Popover/Popover.test.js:649:8 <- test/karma.tests.js:144915:9)
IE 11.0.0 (Windows 10 0.0.0) <Popover /> getPositioningStyle(element) "after all" hook FAILED
        TypeError: Assignment to read-only properties is not allowed in strict mode
           at Anonymous function (webpack:///packages/material-ui/src/Popover/Popover.test.js:664:8 <- test/karma.tests.js:144934:9)
IE 11.0.0 (Windows 10 0.0.0) <Popover /> getPositioningStyle(element) "before all" hook FAILED
        TypeError: Assignment to read-only properties is not allowed in strict mode
           at Anonymous function (webpack:///packages/material-ui/src/Popover/Popover.test.js:649:8 <- test/karma.tests.js:144915:9)
IE 11.0.0 (Windows 10 0.0.0) <Popover /> getPositioningStyle(element) "after all" hook FAILED
        TypeError: Assignment to read-only properties is not allowed in strict mode
           at Anonymous function (webpack:///packages/material-ui/src/Popover/Popover.test.js:664:8 <- test/karma.tests.js:144934:9)
IE 11.0.0 (Windows 10 0.0.0) <Popover /> getPositioningStyle(element) "before all" hook FAILED
        TypeError: Assignment to read-only properties is not allowed in strict mode
           at Anonymous function (webpack:///packages/material-ui/src/Popover/Popover.test.js:649:8 <- test/karma.tests.js:144915:9)
IE 11.0.0 (Windows 10 0.0.0) <Popover /> getPositioningStyle(element) "after all" hook FAILED
        TypeError: Assignment to read-only properties is not allowed in strict mode
           at Anonymous function (webpack:///packages/material-ui/src/Popover/Popover.test.js:664:8 <- test/karma.tests.js:144934:9)
................................................................................
......
IE 11.0.0 (Windows 10 0.0.0) <SelectInput /> prop: inputRef should be able to hit proxy function FAILED
        expected false to equal true
        Error
           at AssertionError (webpack:///node_modules/assertion-error/index.js:74 <- test/karma.tests.js:2152:7)
           at Assertion.prototype.assert (webpack:///node_modules/chai/lib/chai/assertion.js:141 <- test/karma.tests.js:4497:7)
           at assertEqual (webpack:///node_modules/chai/lib/chai/core/assertions.js:1026 <- test/karma.tests.js:5663:7)
           at methodWrapper (webpack:///node_modules/chai/lib/chai/utils/addMethod.js:57 <- test/karma.tests.js:12154:5)
           at assert.strictEqual (webpack:///node_modules/chai/lib/chai/interface/assert.js:193 <- test/karma.tests.js:8645:5)
           at Anonymous function (webpack:///packages/material-ui/src/Select/SelectInput.test.js:439:6 <- test/karma.tests.js:148657:7)
................
IE 11.0.0 (Windows 10 0.0.0) <Snackbar /> prop: onClose should be call when clicking away FAILED
        TypeError: Object doesn't support this action
           at Anonymous function (webpack:///packages/material-ui/src/Snackbar/Snackbar.test.js:39:6 <- test/karma.tests.js:149973:7)
..........
IE 11.0.0 (Windows 10 0.0.0) <Snackbar /> prop: disableWindowBlurListener should pause auto hide when not disabled and window lost focus FAILED
        TypeError: Object doesn't support this action
           at Anonymous function (webpack:///packages/material-ui/src/Snackbar/Snackbar.test.js:327:6 <- test/karma.tests.js:150303:7)
IE 11.0.0 (Windows 10 0.0.0) <Snackbar /> prop: disableWindowBlurListener should not pause auto hide when disabled and window lost focus FAILED
        TypeError: Object doesn't support this action
           at Anonymous function (webpack:///packages/material-ui/src/Snackbar/Snackbar.test.js:356:6 <- test/karma.tests.js:150341:7)
................................................................................
................................................................................
................................................................................
...................................
IE 11.0.0 (Windows 10 0.0.0) <Tooltip /> prop: delay should take the enterDelay into account FAILED
        expected false to equal true
        Error
           at AssertionError (webpack:///node_modules/assertion-error/index.js:74 <- test/karma.tests.js:2152:7)
           at Assertion.prototype.assert (webpack:///node_modules/chai/lib/chai/assertion.js:141 <- test/karma.tests.js:4497:7)
           at assertEqual (webpack:///node_modules/chai/lib/chai/core/assertions.js:1026 <- test/karma.tests.js:5663:7)
           at methodWrapper (webpack:///node_modules/chai/lib/chai/utils/addMethod.js:57 <- test/karma.tests.js:12154:5)
           at assert.strictEqual (webpack:///node_modules/chai/lib/chai/interface/assert.js:193 <- test/karma.tests.js:8645:5)
           at Anonymous function (webpack:///packages/material-ui/src/Tooltip/Tooltip.test.js:163:6 <- test/karma.tests.js:161918:7)
IE 11.0.0 (Windows 10 0.0.0) <Tooltip /> prop: delay should take the leaveDelay into account FAILED
        expected false to equal true
        Error
           at AssertionError (webpack:///node_modules/assertion-error/index.js:74 <- test/karma.tests.js:2152:7)
           at Assertion.prototype.assert (webpack:///node_modules/chai/lib/chai/assertion.js:141 <- test/karma.tests.js:4497:7)
           at assertEqual (webpack:///node_modules/chai/lib/chai/core/assertions.js:1026 <- test/karma.tests.js:5663:7)
           at methodWrapper (webpack:///node_modules/chai/lib/chai/utils/addMethod.js:57 <- test/karma.tests.js:12154:5)
           at assert.strictEqual (webpack:///node_modules/chai/lib/chai/interface/assert.js:193 <- test/karma.tests.js:8645:5)
           at Anonymous function (webpack:///packages/material-ui/src/Tooltip/Tooltip.test.js:175:6 <- test/karma.tests.js:161934:7)
................................................................................
................................................................................
................................................................................
..................................
IE 11.0.0 (Windows 10 0.0.0) utils/reactHelpers.js setRef throws on legacy string refs FAILED
        expected [Function] to throw an error
        Error
           at AssertionError (webpack:///node_modules/assertion-error/index.js:74 <- test/karma.tests.js:2152:7)
           at Assertion.prototype.assert (webpack:///node_modules/chai/lib/chai/assertion.js:141 <- test/karma.tests.js:4497:7)
           at assertThrows (webpack:///node_modules/chai/lib/chai/core/assertions.js:2655 <- test/karma.tests.js:7292:7)
           at methodWrapper (webpack:///node_modules/chai/lib/chai/utils/addMethod.js:57 <- test/karma.tests.js:12154:5)
           at assert.throws (webpack:///node_modules/chai/lib/chai/interface/assert.js:1987 <- test/karma.tests.js:10439:5)
           at Anonymous function (webpack:///packages/material-ui/src/utils/reactHelpers.test.js:60:6 <- test/karma.tests.js:172332:7)

Not sure yet if those are actually true negatives but even if then this is still dangerous since it won't catch usage of language features that is not supported by IE 11 because enzyme requires polyfills.
See also sinonjs/sinon#1951

@oliviertassinari
I investigated the reported errors and it seems like that they all originate from issues with programmatic focus in our test suite. I didn't see any difference between chrome and ie11 when manually testing the demos.
We would need polyfills for enzyme anyway (which already silents the most common issues). Even if we assume a 10% market share for IE 11 and that IE 11 works completely different in all test cases we would basically only increase our coverage by 10%.  Including https://github.com/facebook/jest/issues/139#issuecomment-229277654 and the fact that react itself is apparently not tested in a browser I would say we leave this be.
We continue support for IE 11 by addressing raised issues from IE 11 but unit tests would require to much work. At least in my opinion.

@eps1lon I'm fine with this answer to the problem. Now, I'm wondering. Is your effort making the Chrome 41 test suite pass? :)

Right. Gonna look into that tomorrow.

@eps1lon I gave it a quick look, by chance the output is ✅.


Requirements fail to install under Python 3.12

This is a fairly easy one; aiohttp versions earlier than 3.9.0 evidently cannot build wheel under Python 3.12. If you happen to have Python 3.12 installed, as a result, pip horfs up a hairball when you try to install requirements.
Changing UEX-Trader to require aiohttp 3.9.0 instead of 3.8.4 corrects the issue.

I only tried 3.11 Python for now, I may do a pass with 3.12 Python and make sure the versions used for 3.12 are also compatible with 3.11.
To make it simple, I prefer staying on fixed versions of dependencies and make sure they are fully compatible with the version of Python set (if it can be compatible with both versions then I will also put 3.12 as compatible)
The more versions of Python I have the more tests I will have to do (and so takes more time for the workflows to pass).
But the idea to go for higher version of Python is good, since #109 too :D


bash on windows fail

compare
https://github.com/miyako/4d-a-simple-project/actions/runs/8328748018/job/22789436345
https://github.com/miyako/4d-topic-cicd/actions/runs/8328741272/job/22789411405

error 126 is component-host locale mismatch


Fix #75 Add HttpClient+IServiceProvider methods

Adds extension methods that allow you to accept an IServiceProvider when
configuring HttpClient.

/cc @martincostello let me know if this matches your expectations 👍
One limitation here is that this will be an application level service provider. You won't get access to scoped or per-request services.


Fix static property falling through in declare class Flow AST

Given the following:
declare class X {
	a: number;
	static b: number;
	c: number;
}

c would get marked as static as it's not being reset between properties.
https://astexplorer.net/#/4Bi9Ce53LA

Current coverage is 94.39% (diff: 100%)

Merging #135 into master will increase coverage by <.01%

@@             master       #135   diff @@
==========================================
  Files            19         19
  Lines          3082       3084     +2
  Methods         325        325
  Messages          0          0
  Branches        806        806
==========================================
+ Hits           2909       2911     +2
  Misses           94         94
  Partials         79         79

Powered by Codecov. Last update 9cb73d8...2f953de

Awesome thanks


[PLATFORM-446] fix(add): send credentials when adding resources

Description of change
Fixes https://meroxa.atlassian.net/browse/PLATFORM-446
Type of change

[ ]  New feature
[x]  Bug fix
[ ]  Refactor
[ ]  Documentation

How was this tested?

[x]  Unit Tests
[ ]  Tested in staging

Demo
Before this pull-request
❯ .m add resource webhook --type url -u https://webhook.site/77d8104b-2dca-40d4-a8c6-cf349f2f7363
Adding url resource...
Error: resource improperly configured
details:
	"credentials": ["must be provided"]

After this pull-request
❯ .m add resource webhook --type url -u https://webhook.site/77d8104b-2dca-40d4-a8c6-cf349f2f7363
Adding url resource...
url resource with name webhook successfully added!

Acceptance tests are failing. Do we need to ship a platform-api fix first?

@ahmeroxa looks like something we need to fix in https://github.com/meroxa/acceptance. Will look into it.

We ended up not needing this in the CLI. For context, API already does a check on the existence of credentials in both URL and creds being sent out from the CLI ,but we needed to ad an exception to the HTTP type which is what we did in https://github.com/meroxa/platform-api/pull/321.


mqtt variable closed loop

Hello,
there seems to be a bug in writing values to Heishamon over MQTT.
For variables that can be written to the heat pump there are input numbers and sensors both.
The only correct way to read / write variables to a remote system that is not guaranteed to accept the values at least not any guaranteed timeslot is to transmit it and then read back if the change has been successful. This is true for all non-real-time systems and even for really controlled environments it is the suggested way to do things.
However, it seems that the input_number value gets sent over MQTT and then the input number itself (sic!) is assigned the read back value. If timings are bad then you will have echoes (I had).
I fixed this by removing the code for all input numbers being read back from mqtt (one snippet shown, others behave the same way). Please note that all works nicely without this code.
###########################
#Fetches tank target temperature from status and sets the selector accordingly
alias: Set tank target temperature selector
trigger:
platform: mqtt
topic: “panasonic_heat_pump/main/DHW_Target_Temp”
action:
service: input_number.set_value
data_template:
entity_id: input_number.heishamon_tank_temp
value: >-
{{ “%.1f” % (trigger.payload | int) }}
##############################
Thanks,
Kalle

To be clear, are you referring to heishamon with direct configuration or this project?

TOP76 = 0 - compensation curve.

@KalleArulaane thanks for reporting this.
As geduxas suggested, I think you are using the yaml configuration from https://github.com/Egyras/HeishaMon/blob/master/Integrations/Home Assistant/heishamon.yaml#L267-L276 which is different from this integration. Am I correct?
It’s of course possible that this integration (the one defined in the current repository) suffers from the same issue. I remember having faced echoes in the past.
Let me know if you can reproduce using this one.

omg, i feel stupid. yes, i am posting under a wrong project. sorry for the confusion! :D


dev: vsc-micro-state and various bindings

New layer vcs-micro-state
Various other bindings

It is recommended that the user put the following in their vimrc:
let g:gitgutter_map_keys=0
Maybe this can also be done in bootstrap.

Could you rename the vim leader guide category to vcs-micro-state ?

Why not put  let g:gitgutter_map_keys=0 in plugin/spacevim.vim like vim-leader-guide conf ?

Why not put let g:gitgutter_map_keys=0 in plugin/spacevim.vim like vim-leader-guide conf ?
And override the variable if it's not set of course.

We can try but it will only work if spacevim is loaded before gitgutter. If we can all agree that the order in which plugins should be loaded: is leaderguide -> spacevim -> everything else, this works reliably. Otherwise the behaviour might be surprising.
It can also be put in autoload/bootstrap. Then it works out of the box for "distribution mode", but "advanced mode" requires this extra line.

Hum that's weird ...
In plugin/spacevim I've add a custom banner for vim-startify and my banner appears  when I launch vim.
When I take a look at :scriptnames, vim-startify is started before spacevim so the banner should not be mine. Do you have any clues?
To be sure we can create a new function in autoload/spacevim.vim to override plugin's config.

According to https://github.com/junegunn/vim-plug/issues/85, load order of plugins are deterministic so I'll load spacevim first.

Gitgutter now disables keybindings if layer vcs-micro-state or help-highlight is enabled.

The new release 2.0.0 include all this work. Thanks for your time & investment.


Add support for custom resource groups to polaris_azure_subscription

Is your feature request related to a problem? Please describe.
RSC supports using a custom resource group to store the objects that it creates for Azure. This TF provider needs to support the same.
Describe the solution you'd like
Add a resoruce_group field to the polaris_azure_subscription resource that sets the corresponding field in RSC.
Describe alternatives you've considered
None
Additional context
None

@DamaniN support for custom resource groups has been added to the polaris_azure_subscription resource in the latest beta release (v0.10.0-beta.1). Please see https://registry.terraform.io/providers/rubrikinc/polaris/latest/docs/resources/azure_subscription and https://registry.terraform.io/providers/rubrikinc/polaris/latest/docs/guides/upgrade_guide_beta for details.


wenetspeech pretrain model  cmvn missing

I download your release wenetspeech bidecoder style pretrain model, However, it misses global_cmvn file.
Could you upload this file ?
Thanks.

please download it from http://mobvoi-speech-public.ufile.ucloud.cn/public/wenet/wenetspeech/20211025_conformer_exp.tar.gz.


Django 2.2 support

Coverage remained the same at 92.192% when pulling cde938b2d30f3d261ccb3821b3481915d7b39bae on Sinkler:django22 into 711402beb7381594bc61f3378c085a2fa4815691 on inonit:master.

Coverage remained the same at 92.192% when pulling cde938b2d30f3d261ccb3821b3481915d7b39bae on Sinkler:django22 into 711402beb7381594bc61f3378c085a2fa4815691 on inonit:master.

It's ready, please check.

Thank you very much :)


setzer: init at 0.2.8

Motivation for this change
A LaTeX editor that fits the looks of the Gnome desktop.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I can confirm that adding librsvg fixed the icons for me.


Trying to access media_source bin

Hi everyone.
I'm trying to build a C application that gets video from a webcam using OpenWebRTC and then send this stream to a known address via UDP using udpsink but i can't find a way to get a reference to the media_source's bin.
Can you please help me?

You should directly use this instead of OpenWebRTC: https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstDeviceMonitor.html


improve preset documentation

Summary
Following the issue at #6538.
This PR improves the documentation regarding preset configuration.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #6864   +/-   ##
=======================================
  Coverage   66.97%   66.97%
=======================================
  Files         250      250
  Lines       10355    10355
  Branches        3        3
=======================================
  Hits         6935     6935
  Misses       3419     3419
  Partials        1        1

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 21e35cc...2a649fc. Read the comment docs.

This is awesome, thanks!


[3.x][GDNative] Refactoring: add const to has and join methods of pooled arrays

This PR has some minor refactoring related to the PR #55650
It adds const-ness to the methods has and join of pooled array classes in GDNative CORE API v1.3.

FYI, you authored the commit with an email which is not linked to your GitHub account (so it doesn't show as authored by @kdiduk): https://patch-diff.githubusercontent.com/raw/godotengine/godot/pull/63069.patch

FYI, you authored the commit with an email which is not linked to your GitHub account

Thank you, @akien-mga! I've just fixed it :smiley:

Thanks!


Clean up map close animation; Add close icon; first IE9 refactoring

Makes maps component close more smoothly and adds a proper close button to match the one in masthead. Now displays properly in IE9, too.

@JoeShep :shipit:


use sphinx as documentation system + added porting from autotools doc

compile docs with sphinx-build-3 -b html source/ .
This allow us to have contributors to documentation, because they can write patch and propose pull request.
I don't have access to sources of current docs, so I can't convert existing documentation.

Doesn't Sphinx come with a makefile for building?

We can add make file, but I dropped it because more easy to use
sphinx-build directly.
-Igor Gnatenko

@ignatenkobrain Not necessarily. make html is shorter than sphinx-build-3 -b html source/ ..
Sphinx even will generate a batch script used the same way.

The biggest downside of Sphinx is that it breaks Github's web editor which is what I use most of the time. It also breaks all existing outside links to current wiki pages. There's also the thing that just changing the source is not enough, you need to remember to generate the pages and commit them in.
The main point of this MR was that it allows people to send MRs to the wiki. It turns out that you can do that already. The downside is that you need to send them as old-fashioned patches. Thus let's stick with Github infrastructure.


Middleware to protect page

I've been using Menu to utilize access control for user that has a role. It works smoothly that entry menu didn't show up if user didn't have a role.
Like if user is not administrator, they can't see Users page appear on sidebar. But they still be able to open Users page by manually type http://localhost:8000/admin/auth/users.
How to protect routes like adding 401 unauthorized into laravel-admin?

Yes, it's really a big problem，I will update the Authenticate middleware.

I add  permission middleware to protect admin routes.
https://github.com/z-song/laravel-admin/blob/1.3/src/Middleware/PermissionMiddleware.php
https://github.com/z-song/laravel-admin/blob/1.3/src/Routing/Router.php#L70

Hello how do i create routes with different controllers and roles
In app\admin\routes.php
Route::group([
'prefix' => config('admin.prefix'),
'namespace' => Admin::controllerNamespace(),
'middleware' => ['web', 'admin'],
], function (Router $router) {
If (user role is USER) {
$Router-> group ([], function ($ router) {
         $ Router-> resource ('page', PageUserController :: class);
     });
If (user role is ADMIN) {
$ Router-> group ([], function ($ router) {
         $ Router-> resource ('page', PageAdminController :: class);
     });
}
});


Feature: Add support for persistent flags

What type of PR is this?
(REQUIRED)

feature

What this PR does / why we need it:
(REQUIRED)

Long asked for feature to have flags in flexible order
Which issue(s) this PR fixes:
(REQUIRED)

Fixes #427
Fixes #1113
Special notes for your reviewer:
(fill-in or delete this section)

Testing
(fill-in or delete this section)

go test -run=TestPersistentFlag
Release Notes
(REQUIRED)

And what happens if local flags conflict with global?

Local wins over global

With no warning during compilation?

This cant be detected during compile time. At runtime the local flags are applied to flagset first and then we walk higher up the chain . Only those flags marked as persistent up the chain will be applied to current flagset only if none of their names/aliases conflict with local . It is up to the user to make sure that the conflicts dont happen.

@dearchap just to clarify. If -v is defined globally as --verbose and in subsommand as --version, will this
go -v subcommand -v

be equal to this
go --verbose subcommand --version

?

@abitrolly Yes correct.


JEI Searches involving Occultism blocks/items causing excessive lag and crashes

Describe the bug
Currently playing the Create Above and Beyond modpack, and Occultism has been a continual thorn in our side, since every time we start searching for something in JEI there's a 1/10 chance that the first couple letters will happen to bring up a bunch of occultism items, which inevitably causes immense slowdown that stays even after closing the search and JEI - which is what happens in the case of my partner, or in my case, it immediately freezes my client, causes the "saving world" screen to pop up for a moment, before then crashing to desktop. Thankfully it doesn't crash the server too.
Never had this issue with any other mod before, even ones that add tons of complex models and items, so I have no idea why it's an issue. It even gave me an out of memory error despite having 4GB allocated to my client alone, the server having another 4GB allocated.
To Reproduce
Open JEI, search something random like "cr" to find the Crushing Wheels for Create, instead get a bunch of Occultism items talking about Dragon Familiars increasing something, game locks up, game freezes, game crashes.
Expected behavior
The items should show up without much lag, much less causing an out of memory error when my memory usage usually fluctuates between 500MB and 2800MB out of 4096MB.
System

Occultism Version: 1.20.1

OS: Windows 10 (64 Bit)

Minecraft Version: 1.16.5

Modpack Link and Version, or list of mods: Create Above and Beyond Version 1.2 (1.1 also had this issue)

Additional Mods (Although this issue also happened before modifying the pack):
Actually Compatible, Ambient Environment, Better Beacon Placement, Better Conduit Placement, Better FPS Distance, Better Third Person Forge, Bigger Sponge Absorption Radius, Bottled Air, Caelus API Forge, Chalk, Clean Cut, Clear Skies Forge, Collective, Conduits Prevent Drowned, Crying Ghasts, Curious Elytra, Customizable Elytra, Cycle Paintings, Damage Tilt, Dismount Entity, Double Doors, Durability101, Easy Elytra Takeoff, Easy Magic, Entity Culling, Extended Bonemeal, Fast Suite, Fast Workbench, Fire Spread Tweaks, Fixed Anvil Repair Cost, Go Prone, GUI Clock, GUI Compass, Hand Over Your Items, Hidden Recipe Book, Horse Stand Still, HUD Quiver, Inventory Totem, Item Stitching Fix, Krypton Reforged, Lava Clear View, Lazy DFU, Too Fast, Name Tag Tweaks, Nether Portal Spread, No Hostiles Around Campfire, Not Enough Animations, Pass Through Signs, Performant, Pitch Dark, PuzzlesLib, Realistic Bees, Respawning Shulkers, Sapience, Saffolding Drops Nearby, Smaller Nether Portals, Sneaky Magic, Snow Under Trees, Spawn Normalization, StepUp, Sulfuric, TCon Planner, Trajectory Preview, TRansliterationLib, Villager Names, Weaker Spider Webs, Well Behaved Mobs

JVM Flags (In case they're relevant):
-Xms:4096M -Xmx:4096M -XX:+UseG1GC -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=50 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=20 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=32M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true

Crash Report
https://pastebin.com/MQcFqhyg

I cannot reproduce this in a "clean" environment (Occultism + Dependencies only), which is an indicator that another mod plays a role in the problem (possibly something that modifies rendering). Can you make this happen in a very basic occultism setup, somehow?
Generally Occultism doesn't really do anything special with its items, all the rendering is vanilla.
Could you also open an issue in the JEI github and link this issue?
While the actual crash is from minecraft's rendering, it is called by JEI, so it might be mezz already has come across this in another case and has some input

No optifine at all, I'll have to do further testing. Strange though since this was happening with the default modpack with me... Hm, I'll have to do further testing. I'll add more info when I'm able to test some more

Update: Have yet to test the mod on its own, but I figured out the actual cause: It's the ritual pentagrams/pentacles. Since my partner is able to search without crashing, she managed to find the cause, it seems any time more than a few of them are visible at the same time in a GUI it causes immense, crippling lag. Even in the creative menu with JEI closed it sends me down to single digit FPS (but doesn't crash me) when I'm looking at a section of Occultism's creative inventory with a lot of them. And there's a lot of them. I'm guessing between the rest of the modpack going on around and the excessively high-resolution textures of the pentacles, either my 4GB allocated RAM or low total VRAM can't handle it and crashes the game.

@IdrisQe that is extremely helpful - it also explains neatly why it doesn't repro on my end, my dev machine is rather high in both allocated RAM and available VRAM. Usually I'd assume the texture is only uploaded to VRAM once (as it is with blocks in the world), but I suspect within GUI contexts that may not be the case. I'll reduce it down to 16x16 px.
This issue will be closed once the patch is out, but if the issue persists after that, please ping me so I can reopen it.


Add 'partition_sum' function

This function must return an aggregate per partition. Maybe this can become an kind of operation (partition_operation), similar to zonal operation, but now the zones are the partitions themselves.

Depends on #289

Depends on #289


[agent] Fix session rebuilding against a local dispatcher

Connections to a local dispatcher can’t really be closed, so a session can’t really be restarted because closing a session just closes the connection.  When this happens, it just starts up another session without closing the previous one.
Since we need to restart a session to push new TLS data up to the dispatcher from the agent, change "closing" a session to mean first shutting down all the clients with a context.cancel before
closing the connection.
Signed-off-by: cyli<EMAIL_ADDRESS>

LGTM, regardless of the answer to Are there separate code paths for local and remote dispatchers?.

LGTM

(there seem to be some non-spurious integration test failures - am tracking them down)

(am going to try to write an agent test to make sure that on failure it always reconnects, after that this should be ready to go)

I've added a test that tends to fail with the bug that @dperny found.  PTAL

Just checking to see if this is mergable?

Thank you!


[BUG] Backup related test cases failed

Describe the bug
Lots of backup related test cases fail on master-head (longhorn-manager 50acc813):
test_backing_image.test_backup_with_backing_image[nfs]
test_basic.test_restore_basic[s3]
test_ha_backup_deletion_recovery[nfs]
test_backing_image.test_csi_backup_with_backing_image[nfs]
test_basic.test_dr_volume_with_all_backup_blocks_deleted[nfs]
test_basic.test_backup[nfs]
just to name a few.
Create this ticket first and investigate them one by one to see if there is anything missing or the test code should be refined.
To Reproduce

Expected behavior

Support bundle for troubleshooting

Environment

Longhorn version: master-head
Impacted volume (PV):
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): kubectl
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: v1.28.4+k3s1

Number of control plane nodes in the cluster:
Number of worker nodes in the cluster:

Node config

OS type and version: sles 15-sp5
Kernel version:
CPU per node:
Memory per node:
Disk type (e.g. SSD/NVMe/HDD):
Network bandwidth between the nodes (Gbps):

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal):
Number of Longhorn volumes in the cluster:

Additional context

Verified passed on master-head (longhorn-manager 43013ae1) and v1.5.x-head (longhorn-manager 079922fa). Failed backup related test cases passed now.
Test results:
v1.5.x-head: https://ci.longhorn.io/job/public/job/v1.5.x/job/v1.5.x-longhorn-tests-sles-amd64/308/
master-head: https://ci.longhorn.io/job/public/job/master/job/sles/job/amd64/job/longhorn-tests-sles-amd64/828/


Getters and Setters for Classes with Custom Attributes

Getters and Setters for Classes with Custom Attribute

Name: Ryan Bartram
Your Timezone: UTC +2
Abstract: Demonstrating how to define getters and Setters for properties in Powershell Classes using custom written attributes. Make properties readonly, set only, validate and manipulate data before it's set. All things that are possible once you have getters and setters

Twitter: https://twitter.com/rd_bartram
Slack ID: @rdbartram
Blog URL: http://www.dftai.ch

Thanks again!  Do feel free to submit more proposals : D

@rdbartram my wife wants me to tell you that she hopes (as do I) that you had a fantastic wedding. ❤

Thanks alot! It's actually on the 1st i.e. tomorrow. We're both looking forward to it and appreciate the kinds wishes. Catch you in another pspowerhour, if not sooner in a PSKoans PR ;)


Replace websocket by uWebsocket

uWebSockets seems to be the most performant websocket library for nodejs.
TODO:
replace ws by uws
Looks like uWebSocket cannot be installed with npm, so it might mean migrate the project to using yarn instead, which is fine I guess?

Won't do. uWebSockets requires taking over both express and ws, which is not worth it.
I'd reopen only if performance becomes an obvious bottleneck on the server.


How to change color of modified repository?

I work with over 30 to 40 repositories and submodules in a visual studio code. All this repositories are shown as source control. I want to highlight modified repositories in source control by changing their colors. Right now i could not find any option to change colors of modified repositories. How to change the colors of this repositories in source control.
Changed repositories right now show a simple asterick (*) mark near branch name. How to change its color for better highlighting.

This is a great idea!


figure out if compiles are cached.

Compiles don't currently seem to be cached.  Investigating ways of stashing the build artefact and checking to see if it needs to be rebuilt.

compiles aren't being cached because ExUnit Test files are .exs files, which means they get recompiled every time.  This isn't a issue, it's correct behavior, and most of the time you won't be running zig code directly inside of an exs file anyways.


Fix in combat idle logout notification and add config option for notification

The idle logout timer is 20 min instead of 5 min when in combat

ALso you should probably add unit tests for this (now that idle notifier has some)

you say this was fixed but it isn't @deathbeam
Any setting I should change or something?

You should join our Discord server and ask in the #support channel. Given that this PR was merged 33 years ago, it's more likely a config issue than a problem with the plugin.


Torque not rendered inside Android Twitter client

Torque doesn't renders inside the official Twitter client. Tweet sample. That map has two layers, one of categories that renders ok and with working infowindows, and another with a cumulative torque. Client displays the time slider but won't display the content.

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


Table API: support table in low level API

Code changes to support table in low level API.

@atoomula Can you fix the checkstyle failures (see the travis build results).


docs: additional work

Mostly finishes the landing page
Docs theme coherent with landing page
Improvements for small viewports
Use react-feather icons

@FezVrasta  I had to move the <CarbonAds /> to the bottom of each docs page because of bad reflow issues :\, the landing page still has reflow since it's at the top. If I use a wrapper div, adblockers don't remove them so there's a huge gap. What is the proper solution to these reflow problems?

Hey 👋 I’m still out of home for the holidays, I will fix it myself once I’m back home


Update develop branch to use ESMA_env v4.2.0

This updates MAPL to use ESMA_env v4.2.0, this uses yaFYAML v1.0.3 which has new interfaces relative to what develop was using.
This is zero-diff. It required updating ExtData2G to use the new interfaces here (previously only the MAPL v3 branch was). But as a bonus since yafYaml v1.0.3 has proper return codes during parsing rather than just stops in the code, I can check the error status and gracefully with a message about what file was actually being parsed when the error occurred.

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)

Checklist:

[X] I have tested this change with a run of GEOSgcm (if non-trivial)
[X] I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
[X] I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

Putting a blocker on this until I can fix up the CI

I'm blocking this again. I want to discuss some GFE/CMake things with @tclune before we move on.


Remove node 10 from ci

This removes Node 10 from the CI since it is no longer supported.
This commit i used will only create a patch release,  but we might consider a major version bump for getting rid of a node version

I think we are already at a major version bump anyway. https://github.com/cloudevents/sdk-javascript/pull/430