Build failure: python312Packages.powerline

Describe the bug
A clear and concise description of what the bug is.
Issue with  system update with darwin-rebuild switch --flake  ....
Steps To Reproduce
Steps to reproduce the behavior:

run  darwin-rebuild switch --flake .....  for system update

Expected behavior
A clear and concise description of what you expected to happen.
System to be updated
Screenshots
If applicable, add screenshots to help explain your problem.
Configuration in flakes.nix
  inputs = {
    # called derivations that say how to build software.
    nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; # nixos-23.11

    # Manages configs links things into your home directory
    home-manager.url = "github:nix-community/home-manager/master";
    home-manager.inputs.nixpkgs.follows = "nixpkgs";

    # Controls system level software and settings including fonts
    darwin.url = "github:lnl7/nix-darwin";
    darwin.inputs.nixpkgs.follows = "nixpkgs";
  };

Full trace
error:
       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)

       … while evaluating derivation 'darwin-system-24.11.20240710.16e401f+darwin4.cf297a8'
         whose name attribute is located at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/pkgs/stdenv/generic/make-derivation.nix:332:7

       … while evaluating attribute 'activationScript' of derivation 'darwin-system-24.11.20240710.16e401f+darwin4.cf297a8'

         at /nix/store/v4hf9qy9phyn2xfyxv0c8ah09i3cafxf-source/modules/system/default.nix:95:7:

           94|
           95|       activationScript = cfg.activationScripts.script.text;
             |       ^
           96|       activationUserScript = cfg.activationScripts.userScript.text;

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/attrsets.nix:1205:18:

         1204|         mapAttrs
         1205|           (name: value:
             |                  ^
         1206|             if isAttrs value && cond value

       … from call site

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/attrsets.nix:1208:18:

         1207|             then recurse (path ++ [ name ]) value
         1208|             else f (path ++ [ name ]) value);
             |                  ^
         1209|     in

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:254:72:

          253|           # For definitions that have an associated option
          254|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          255|

       … while evaluating the option `system.activationScripts.script.text':

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:836:28:

          835|         # Process mkMerge and mkIf properties.
          836|         defs' = concatMap (m:
             |                            ^
          837|           map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))

       … while evaluating definitions from `/nix/store/v4hf9qy9phyn2xfyxv0c8ah09i3cafxf-source/modules/system/activation-scripts.nix':

       … from call site

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:837:128:

          836|         defs' = concatMap (m:
          837|           map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |                                                                                ^
          838|         ) defs;

       … while calling 'dischargeProperties'

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:908:25:

          907|   */
          908|   dischargeProperties = def:
             |                         ^
          909|     if def._type or "" == "merge" then

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/attrsets.nix:1205:18:

         1204|         mapAttrs
         1205|           (name: value:
             |                  ^
         1206|             if isAttrs value && cond value

       … from call site

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/attrsets.nix:1208:18:

         1207|             then recurse (path ++ [ name ]) value
         1208|             else f (path ++ [ name ]) value);
             |                  ^
         1209|     in

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:254:72:

          253|           # For definitions that have an associated option
          254|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          255|

       … while evaluating the option `system.activationScripts.postActivation.text':

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:836:28:

          835|         # Process mkMerge and mkIf properties.
          836|         defs' = concatMap (m:
             |                            ^
          837|           map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))

       … while evaluating definitions from `<unknown-file>':

       … from call site

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:837:128:

          836|         defs' = concatMap (m:
          837|           map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |                                                                                ^
          838|         ) defs;

       … while calling 'dischargeProperties'

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:908:25:

          907|   */
          908|   dischargeProperties = def:
             |                         ^
          909|     if def._type or "" == "merge" then

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/attrsets.nix:1096:10:

         1095|     attrs:
         1096|     map (name: f name attrs.${name}) (attrNames attrs);
             |          ^
         1097|

       … from call site

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/attrsets.nix:1096:16:

         1095|     attrs:
         1096|     map (name: f name attrs.${name}) (attrNames attrs);
             |                ^
         1097|

       … while calling anonymous lambda

         at /nix/store/xcxs3wp2jn8kv9jj176xy3x94blv28bh-source/nix-darwin/default.nix:16:36:

           15|       system.activationScripts.postActivation.text = concatStringsSep "\n"
           16|         (mapAttrsToList (username: usercfg: ''
             |                                    ^
           17|           echo Activating home-manager configuration for ${username}

       … while evaluating derivation 'activation-mudrii'
         whose name attribute is located at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/pkgs/stdenv/generic/make-derivation.nix:332:7

       … while evaluating attribute 'text' of derivation 'activation-mudrii'

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/pkgs/build-support/trivial-builders/default.nix:103:16:

          102|       ({
          103|         inherit text executable checkPhase allowSubstitutes preferLocalBuild;
             |                ^
          104|         passAsFile = [ "text" ]

       … while evaluating derivation 'home-manager-generation'
         whose name attribute is located at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/pkgs/stdenv/generic/make-derivation.nix:332:7

       … while evaluating attribute 'buildCommand' of derivation 'home-manager-generation'

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/pkgs/build-support/trivial-builders/default.nix:68:16:

           67|         enableParallelBuilding = true;
           68|         inherit buildCommand name;
             |                ^
           69|         passAsFile = [ "buildCommand" ]

       … while evaluating derivation 'home-manager-files'
         whose name attribute is located at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/pkgs/stdenv/generic/make-derivation.nix:332:7

       … while evaluating attribute 'buildCommand' of derivation 'home-manager-files'

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/pkgs/build-support/trivial-builders/default.nix:68:16:

           67|         enableParallelBuilding = true;
           68|         inherit buildCommand name;
             |                ^
           69|         passAsFile = [ "buildCommand" ]

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/attrsets.nix:1096:10:

         1095|     attrs:
         1096|     map (name: f name attrs.${name}) (attrNames attrs);
             |          ^
         1097|

       … from call site

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/attrsets.nix:1096:16:

         1095|     attrs:
         1096|     map (name: f name attrs.${name}) (attrNames attrs);
             |                ^
         1097|

       … while calling anonymous lambda

         at /nix/store/xcxs3wp2jn8kv9jj176xy3x94blv28bh-source/modules/files.nix:353:28:

          352|       '' + concatStrings (
          353|         mapAttrsToList (n: v: ''
             |                            ^
          354|           insertFile ${

       … from call site

         at /nix/store/xcxs3wp2jn8kv9jj176xy3x94blv28bh-source/modules/files.nix:355:13:

          354|           insertFile ${
          355|             escapeShellArgs [
             |             ^
          356|               (sourceStorePath v)

       … while calling 'concatMapStringsSep'

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/strings.nix:116:5:

          115|     # List of input strings
          116|     list: concatStringsSep sep (map f list);
             |     ^
          117|

       … while calling 'escapeShellArg'

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/strings.nix:454:20:

          453|   */
          454|   escapeShellArg = arg: "'${replaceStrings ["'"] ["'\\''"] (toString arg)}'";
             |                    ^
          455|

       … from call site

         at /nix/store/xcxs3wp2jn8kv9jj176xy3x94blv28bh-source/modules/files.nix:356:16:

          355|             escapeShellArgs [
          356|               (sourceStorePath v)
             |                ^
          357|               v.target

       … while calling 'sourceStorePath'

         at /nix/store/xcxs3wp2jn8kv9jj176xy3x94blv28bh-source/modules/files.nix:15:21:

           14|
           15|   sourceStorePath = file:
             |                     ^
           16|     let

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/attrsets.nix:1205:18:

         1204|         mapAttrs
         1205|           (name: value:
             |                  ^
         1206|             if isAttrs value && cond value

       … from call site

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/attrsets.nix:1208:18:

         1207|             then recurse (path ++ [ name ]) value
         1208|             else f (path ++ [ name ]) value);
             |                  ^
         1209|     in

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:254:72:

          253|           # For definitions that have an associated option
          254|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          255|

       … while evaluating the option `home-manager.users.mudrii.home.file."/Users/mudrii/.config/tmux/tmux.conf".source':

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:836:28:

          835|         # Process mkMerge and mkIf properties.
          836|         defs' = concatMap (m:
             |                            ^
          837|           map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))

       … while evaluating definitions from `/nix/store/xcxs3wp2jn8kv9jj176xy3x94blv28bh-source/modules/files.nix':

       … from call site

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:837:128:

          836|         defs' = concatMap (m:
          837|           map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |                                                                                ^
          838|         ) defs;

       … while calling 'dischargeProperties'

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:908:25:

          907|   */
          908|   dischargeProperties = def:
             |                         ^
          909|     if def._type or "" == "merge" then

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/attrsets.nix:1205:18:

         1204|         mapAttrs
         1205|           (name: value:
             |                  ^
         1206|             if isAttrs value && cond value

       … from call site

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/attrsets.nix:1208:18:

         1207|             then recurse (path ++ [ name ]) value
         1208|             else f (path ++ [ name ]) value);
             |                  ^
         1209|     in

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:254:72:

          253|           # For definitions that have an associated option
          254|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          255|

       … while evaluating the option `home-manager.users.mudrii.home.file."/Users/mudrii/.config/tmux/tmux.conf".text':

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:836:28:

          835|         # Process mkMerge and mkIf properties.
          836|         defs' = concatMap (m:
             |                            ^
          837|           map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))

       … while evaluating definitions from `/nix/store/xcxs3wp2jn8kv9jj176xy3x94blv28bh-source/modules/misc/xdg.nix':

       … from call site

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:837:128:

          836|         defs' = concatMap (m:
          837|           map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |                                                                                ^
          838|         ) defs;

       … while calling 'dischargeProperties'

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:908:25:

          907|   */
          908|   dischargeProperties = def:
             |                         ^
          909|     if def._type or "" == "merge" then

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/attrsets.nix:1205:18:

         1204|         mapAttrs
         1205|           (name: value:
             |                  ^
         1206|             if isAttrs value && cond value

       … from call site

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/attrsets.nix:1208:18:

         1207|             then recurse (path ++ [ name ]) value
         1208|             else f (path ++ [ name ]) value);
             |                  ^
         1209|     in

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:254:72:

          253|           # For definitions that have an associated option
          254|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          255|

       … while evaluating the option `home-manager.users.mudrii.xdg.configFile."tmux/tmux.conf".text':

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:858:17:

          857|       if isDefined then
          858|         if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
             |                 ^
          859|         else let allInvalid = filter (def: ! type.check def.value) defsFinal;

       … from call site

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:858:22:

          857|       if isDefined then
          858|         if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
             |                      ^
          859|         else let allInvalid = filter (def: ! type.check def.value) defsFinal;

       … while calling 'check'

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/types.nix:744:15:

          743|       descriptionClass = "conjunction";
          744|       check = x: x == null || elemType.check x;
             |               ^
          745|       merge = loc: defs:

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/attrsets.nix:1205:18:

         1204|         mapAttrs
         1205|           (name: value:
             |                  ^
         1206|             if isAttrs value && cond value

       … from call site

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/attrsets.nix:1208:18:

         1207|             then recurse (path ++ [ name ]) value
         1208|             else f (path ++ [ name ]) value);
             |                  ^
         1209|     in

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:254:72:

          253|           # For definitions that have an associated option
          254|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          255|

       … while evaluating the option `home-manager.users.mudrii.programs.tmux.extraConfig':

       … while calling anonymous lambda

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:836:28:

          835|         # Process mkMerge and mkIf properties.
          836|         defs' = concatMap (m:
             |                            ^
          837|           map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))

       … while evaluating definitions from `/nix/store/wwss10pm1f7m491mbc2m2ssjwg2cic8z-source/modules/home-manager/dotfiles/tmux.nix':

       … from call site

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:837:128:

          836|         defs' = concatMap (m:
          837|           map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |                                                                                ^
          838|         ) defs;

       … while calling 'dischargeProperties'

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/lib/modules.nix:908:25:

          907|   */
          908|   dischargeProperties = def:
             |                         ^
          909|     if def._type or "" == "merge" then

       … while evaluating derivation 'python3.12-powerline-2.8.3'
         whose name attribute is located at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/pkgs/stdenv/generic/make-derivation.nix:332:7

       … while evaluating attribute 'propagatedBuildInputs' of derivation 'python3.12-powerline-2.8.3'

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/pkgs/stdenv/generic/make-derivation.nix:386:7:

          385|       depsHostHostPropagated      = elemAt (elemAt propagatedDependencies 1) 0;
          386|       propagatedBuildInputs       = elemAt (elemAt propagatedDependencies 1) 1;
             |       ^
          387|       depsTargetTargetPropagated  = elemAt (elemAt propagatedDependencies 2) 0;

       … while evaluating derivation 'python3.12-python-hglib-2.6.2'
         whose name attribute is located at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/pkgs/stdenv/generic/make-derivation.nix:332:7

       … while evaluating attribute 'nativeBuildInputs' of derivation 'python3.12-python-hglib-2.6.2'

         at /nix/store/27wfk29fs9kym2vkwhqhi24xhv6ib56n-source/pkgs/stdenv/generic/make-derivation.nix:376:7:

          375|       depsBuildBuild              = elemAt (elemAt dependencies 0) 0;
          376|       nativeBuildInputs           = elemAt (elemAt dependencies 0) 1;
             |       ^
          377|       depsBuildTarget             = elemAt (elemAt dependencies 0) 2;

       error: nose-1.3.7 not supported for interpreter python3.12

Additional context
Add any other context about the problem here.
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.5.0, macOS 14.5`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.18.4`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

Same problem with ledger-autosync.

Closing in favor of https://github.com/NixOS/nixpkgs/pull/325968

After more then two weeks seems issue still pending to be fixed

hopefully with last patch https://github.com/NixOS/nixpkgs/pull/330739/commits/b7983437f99c045611fafa18c061348e001b45f8
Issue will be solved after a month


Track2 CodeGen. RestClient need to use namespace qualifier to differentiate httpMessage in XXRestClient.cs

ResourceManager has a HttpMessage model.
See manually worked around code sample. I had to qualify the return parameter type with Core. Otherwise will generate compilation error.

This one is tough, because batch invokes C# generator multiple times the generated code namespace simplification doesn't see types generated in other invocations and doesn't know not to simplify the namespace.
I've added more tests and if all code is generated in one invocation namespaces are correctly simplified: https://github.com/Azure/autorest.csharp/pull/763/files#diff-cba957c8dce5e018484195a92a34ddcbR39
We need to generate all the swaggers in one run instead of layering them one onto another.

BTW, https://github.com/Azure/azure-sdk-for-net/blob/4fd28513d42a860897a4869285755ccd658e57f3/sdk/resources/Azure.Management.Resources/src/Generated/ResourcesManagementClient.cs is also wrong because it contains only last generated sdk.

Solved by generating all resource swaggers in one invocation.


add function to browse.js

i send the render code to Muhannad on slack so this branch is not important


ENH Add polymorphic has_one support to eager loading #11203

Description
Polymorphic has_one relations are currently not supported by eager-loading it just throws an error that DataObject is not a valid data class.
This PR relies on my previous PR https://github.com/silverstripe/silverstripe-framework/pull/11185, which is currently only in 5.2
Manual testing steps

Issues

#11203

Pull request checklist

[x] The target branch is correct

See picking the right version

[x] All commits are relevant to the purpose of the PR (e.g. no debug statements, unrelated refactoring, or arbitrary linting)

Small amounts of additional linting are usually okay, but if it makes it hard to concentrate on the relevant changes, ask for the unrelated changes to be reverted, and submitted as a separate PR.

[x] The commit messages follow our commit message guidelines
[x] The PR follows our contribution guidelines
[x] Code changes follow our coding conventions
[x] This change is covered with tests (or tests aren't necessary for this change)
[ ] Any relevant User Help/Developer documentation is updated; for impactful changes, information is added to the changelog for the intended release
[x] CI is green

Thanks for implementing this. Can you please include some manual testing steps? Preferably with some code I can just copy into a project and see it work.
That will make this a lot easier to test and therefore I'll be able to do so sooner.


find product/collection by tags

ShopifyAPI::Product.find(:all, params: { tags: "mytag" })
ShopifyAPI::Product.find(:all, params: { tag: "mytag" })
not working, it return me first page instead of products with only this tag.
although its working if you are logged in as admin into store
admin/products/search.json?query=tag:dafault

@farooqch11 by default the shopify api will only return 50 records at a time. Most resources will have a limit param you can pass allowing up to 250 per call.
ShopifyAPI::Product.find(:all, params:{ tags: 'mytag', limit: 250}) will yield the first 250 records tagged with 'mytag'.  If you have over 250 record matching that, you will need to make a second call.
ShopifyAPI::Product.find(:all, params:{ tags: 'mytag', limit: 250, page: 2}) will give you the second 250 records. if you have more than 500, you will need to go to page 3 and so on.
I'm closing this issue as there doesn't seem to be anything to be an issue with the library itself.

the issue i found out that tags params doesn’t exist in shopify api,  it return all products instead of only with tags.

@farooqch11, you are right.
But you can find products by tag using GraphQL.


[Feature Request] Transposing/Rotation support for FFMPEG

As the title state, an easy way to rotate cameras would be amazing!
Thanks again for this cool tool!

You already can do this via exec: source. You can write any ffmpeg arguments there.
Or you can create your own templates for ffmpeg: source.
ffmpeg:
  rotate: -arg xyz
sources:
  camera1: ffmpeg:rtsp://.....#video=rotate

Hey there
I just tried with this under stream and ffmpeg:
ffmpeg:   rotate: -arg -vf "transpose=1"
streams:       faceshot_camera:          - ffmpeg:rtsp://admin:password@<IP_ADDRESS>:8554/12#video=rotate
Now I get this error:
 14:04:06.248 ERR [exec] timeout url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -rtsp_transport tcp -i rtsp://admin:password@<IP_ADDRESS>:8554/12 -arg -vf \"transpose=1\" -an -rtsp_transport tcp -f rtsp rtsp://localhost:8554/aeb32cb63a6c8ff5ac4052aec2b4b467" 14:04:06.248 ERR [streams] probe producer error=timeout url=ffmpeg:rtsp://admin:password@<IP_ADDRESS>:8554/12#video=rotate

Try this
ffmpeg:
  rotate: -vf transpose=1

Hi there,
I replaced my "rotate" data with yours, I've also updated to the latest docker version.
I now get this in the logs
13:08:58.903 WRN [api.webrtc] add consumer error="couldn't find the matching tracks"

This is right command. Video will be transcoded during rotation. So you need select right codec for it.
streams:
  rotate: ffmpeg:rtsp://...#raw=-vf transpose=1#video=h264

That worked!
Thanks a lot @AlexxIT !


Feature/reverse proxy support

Allow reverse proxy support ( as docker env )

Not working for me:


For some stdlibs, it is expected that the stdlib version number won't match the Julia version number

Here's an example of a PR where (Does not match) is not the right thing: https://github.com/JuliaLang/julia/pull/51046

I guess this will happen in upgradable stdlibs too? So maybe add DelimitedFiles?

So maybe add DelimitedFiles?

Done!

@IanButterworth Can you give this another review?

bors merge


feat: supsub

Integrate the superscript and subscript functions into gnark-crypto (superscript is useful for pretty printing of polynomials)

lgtm, maybe nitpicking; since you added that in utils package, some method will read like utils.Sub(..) which in the context of the rest of the library sounds a bit confusing :)

lgtm, maybe nitpicking; since you added that in utils package, some method will read like utils.Sub(..) which in the context of the rest of the library sounds a bit confusing :)

That's a great point. I'll change it to ToSubscript.


NPM package not found

Hi, I can't find EasyZoom at npmjs.com: https://www.npmjs.com/search?q=easyzoom&page=1&ranking=optimal (only hexo-easyzoomintijk and easyzoom-mp??)
By the way, the package name EasyZoom is not valid.

New packages must not have uppercase letters in the name.

This package is not currently available via NPM (though I see somebody has mirrored it there). It's no problem to register it so I may do soon.

Fixed in 5aebb287a5c5b8118ef23dc5c6a670b7972545c7

Thank you 👍


[runtime][hip] Propagate errors through semaphores

Adds proper handling of errors that occur when executing operations on the device or when a semaphore fails in the wait list. These errors will propagate to downstream semaphores that are in the signal list of the operation.
This change includes some refactor the pending queue actions:

Make the context hold a sticky status instead of just an status code.
Remove the worker threads' "error" state. This can be handled by the context's status.
Remove "exit committed" thread state in favor of standard thread joining.
Make the "exit requested" thread state a separate boolean variable and guard against submitting more work after an exit is requested. Also wait on all work to complete before exiting worker threads, not just on the currently ran actions.
Make pending work items increment immediately when an action is enqueued instead of when scheduled on the HIP stream. This is required to properly count outstanding work.
Remove and merge some of the redundant state for the worker and completion threads.
Remove reference counting from the pending queue actions context. It has a clear owner, which is the device.
Rework when the threads exit, which is pretty much only when exit is requested and there is no more queued or executing actions. Errors don't cause the threads to exit.

Here is not included moving the destruction and cleanup of actions from the worker thread to the completion thread. This is an optimization and code simplification that is now possible since we are not using HIP stream callbacks, so we could do that right after an action completes. Technically, actions get destroyed on the completion thread as well when not on the happy path and actions fail.

LGTM other than the failing tests!

I actually forgot to implement failure handling in the multi-wait scenario. I included that as well with tests.

@benvanik, could you review again?

I squashed, rebased and resolved the merge conflicts.


kong migration.py script  TypeError object of type resultSet has no len()

When attempting to upgrade from 0.4.2 I receive this error when running migration.py
[ec2-user@i]$ sudo python migration.py -c /etc/kong/kong.yml [INFO]: Using Kong configuration file at: /etc/kong/kong.yml [INFO]: Using datacenter 'datacenter1' for DCAwareRoundRobinPolicy (via host 'localhost'); if incorrect, please specify a local_dc to the constructor, or limit contact points to local cluster nodes Traceback (most recent call last):   File "migration.py", line 274, in <module>     main(sys.argv[1:])   File "migration.py", line 239, in main     is_migrated = len(rows) > 1 and any(mig.id == "core" for mig in rows) TypeError: object of type 'ResultSet' has no len()
Please excuse my ignorance as I am new to Kong and Python. I feel this should be trivial for some, but this has me stuck without being able to finish my upgrade. Any advice and/or help is greatly appreciated.

Are you trying to upgrade from 0.4 to 0.6?

yes, attempting to upgrade from 0.4.2 to 0.6.1

That won't work. You have to upgrade to 0.5 first, and using a 0.5 config file especially, since the YAML format changed.

On Feb 5, 2016, at 11:28 AM, bwoodring<EMAIL_ADDRESS>wrote:
yes, attempting to upgrade from 0.4.2 to 0.6.1
—
Reply to this email directly or view it on GitHub.

OK, thank you for the information. I tried to locate a 0.5 version to download and install, but I can only find the most recent version. Where can you find the older version packages to install?

https://github.com/Mashape/kong/releases

Your quick help is greatly appreciated!

I am not sure what I am doing wrong. I download kong-0.5.0.el7.noarch.rpm
I am following the upgrade instructions here: https://github.com/Mashape/kong/blob/0.5.0/UPDATE.md#update-to-kong-050
I am running Kong 0.4.2 and Python 2.7.
Update the hosts property to contact_points
Install  pip install cassandra-driver pyyaml
Then run python migration.py -c /etc/kong/kong.yml
I am still getting the same error from the script.
[ec2-user@]$ sudo python migration.py -c /etc/kong/kong.yml [INFO]: Using Kong configuration file at: /etc/kong/kong.yml [INFO]: Using datacenter 'datacenter1' for DCAwareRoundRobinPolicy (via host 'localhost'); if incorrect, please specify a local_dc to the constructor, or limit contact points to local cluster nodes Traceback (most recent call last):   File "migration.py", line 274, in <module>     main(sys.argv[1:])   File "migration.py", line 239, in main     is_migrated = len(rows) > 1 and any(mig.id == "core" for mig in rows) TypeError: object of type 'ResultSet' has no len()

I will need a full output of what your schema_migrations table contains, of the configuration file you are using, of the version of the Cassandra driver you installed and details on your Cassandra cluster to investigate this.

Successfully installed cassandra-driver-3.0.0 futures-3.0.4
Connected to Test Cluster at <IP_ADDRESS>:9042. [cqlsh 5.0.1 | Cassandra 2.2.3 | CQL spec 3.3.1 | Native protocol v4]
cassandra.txt
kong.txt
Please let me know if you need anything else. Sorry to be such a pain, but how can I obtain the schema_migration table?

Please let me know if you need anything else. Sorry to be such a pain, but how can I obtain the schema_migration table?

You could run this query in cqlsh:
SELECT * FROM <keyspace>.schema_migrations;

`cqlsh> DESCRIBE keyspaces;
system_traces  system_distributed  system_auth  system  kong
cqlsh> SELECT * FROM kong.schema_migrations;
id         | migrations
------------+-------------------------------------------------------------------------------------------------------------------------------------------------
migrations | ['2015-01-12-175310_init_schema', '2015-04-24-154530_plugins', '2015-05-22-235608_0.3.0', '2015-06-09-170921_0.4.0', '2015-08-10-813213_0.4.2']
(1 rows)
`
Is this all you need or more?

Could install the Cassandra driver at its 2.7.2 version? It seems since then, the newer version of the Python driver has some breaking changes.
pip install cassandra-driver==2.7.2

That was the trick! Thank you!

Perfect, I'll update the migration instructions.

@thibaultCha When I attempt to reload kong I get this error:
kong reload /usr/local/bin/luajit: /usr/local/share/lua/5.1/luarocks/loader.lua:117: error loading module 'rex_pcre' from file '/usr/local/lib/lua/5.1/rex_pcre.so': libpcre.so.1: cannot open shared object file: No such file or directory stack traceback: [C]: in function 'a_loader' /usr/local/share/lua/5.1/luarocks/loader.lua:117: in function </usr/local/share/lua/5.1/luarocks/loader.lua:114> [C]: in function 'require' /usr/local/share/lua/5.1/kong/tools/ngx_stub.lua:7: in main chunk [C]: in function 'require' /usr/local/lib/luarocks/rocks/kong/0.5.0-1/bin/kong:52: in main chunk [C]: at 0x00404ac0
Is there an upgrade setup that I missed? I am unable to get it to reload kong as this time.


Organize our software output

It would be nice to migrate the repository (or part of) to the Quantum Application Lab :
https://github.com/QuantumApplicationLab/qradio
If we all agree it's just a simple url change. We can set the repo private if we deem it necessary

Given the scope of the project I actually create a separate organization here : https://github.com/QuantumRadioAstronomy
We could add the following repos
├── QuantumRadioAstronomy
│   ├── QML
│   │   ├── utils
│   │   ├── pulsar
│   │   ├── FRB
│   ├── hera_cal_quantum
│   ├── linsolve_quantum

We can then add a pointer in this  repo to QuantumRadioAstronomy org

Done


Enable Direct to Glossary term on Assets page

Is your feature request related to a problem? Please describe.
I can tag columns (assets) with a glossary, but if I want to find out more about the it, there is no way to go to the glossary (I need to open "Glossary" and find it). Right now I can only remove the tag.  Most users would use this as a consumer (not producer) and hence the ability to be linked to a glossary is more important than edit the tags.
Describe the solution you'd like
When a column (asset) is tagged to a glossary, I should be a able to click on the tag and be directed to the glossary.

@Sachin-chaurasiya when the user clicks a glossary tag we should redirect them to that specific term under glossary -> assets, we should do the same thing for tags as well.

With which version is this going to be released?

With which version is this going to be released?

Hey @trillhaa , It will be part of 0.12.0.

Hello @trillhaa, We were thinking of having functionality like if users click on the tag we can redirect them to explore page with that tag, and users will get the all results that have selectedTag.
Example: Let's say the user clicked on the PII.Sensitive tag and then he will be redirected to explore page with the PII.Sensitive tag selected.

Please let us know your thought on this.

This would make sense for tags, but it doesn't make sense for glossary terms. However, user should have the same experienece on when clicking on tag/glossary in my POV.
How do you think about these two concepts (tags/glossary) from a product perspective and how should they be used differently?
From my understanding, tags and glossaries only seem to be differentiated in that ...

tags do not have educational context
tags are tied to an asset while glossary could be standalone potentially.

For glossaries, I think users would want to learn about this term and hence should be directed to the glossary page (where they are anyways seeing related assets). With that in mind, I'm wondering what I should be even using tags for. Happy to chat in slack quickly.


Incorrect usage of UTF-8 for decoding on Windows

The universal REPL uses UTF-8 to decode bytes but Windows has its own encoding

Apparently encoding is not the reason of this issue? I'm a bit confused...

It is just the character "⏎" that isn't printed as intended on systems that use UTF-16.


Feature/ngs synchronization

Maybe it wasn't worth adding the powerconnect group considering mgmt-switches contains code specific to the dell powerconnect switches already


Fix order of group direct message recipients.

This PR fixes the behaviour of inconsistent recipient name order for group direct message.
This PR fixes multiple sub issues:

The message header for each narrowed group direct message.
Recipient row having incorrect order.
Recipient order in drafts for group direct message draft.
Left sidebar recipient order.
Recipient changing on message_header and compose_to_target narrow.
Placeholder text on compose box.
Order of pills in private message recipient in compose box.

All of the sub issues either uses util.strcmp or sort_emails function (which is also using util.strcmp) to sort the recipients to make it consistent.

Fixes: zulip#27375

Screenshots and screen captures:
Before:

After:

Screencast from 22-05-24 03:35:40 AM IST.webm

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Please tag this for buddy review once you've had a chance to resolve the conflicts.

@zulipbot add "buddy review"

@pratik-pc Manually tested the PR.

Noticed a minor inconsistency in the recipient pills.

When a new user is added, their name is not immediately sorted. The pills only appear sorted after closing and reopening the compose box or refreshing the page (ie, something which triggers rerendering of all the pills)

Should we sort the names in the reactions list too? (I found that people.get_display_full_names is not followed by sorting in reactions.ts)

When a new user is added, their name is not immediately sorted. The pills only appear sorted after closing and reopening the compose box or refreshing the page (ie, something which triggers rerendering of all the pills)

Should we sort the names in the reactions list too? (I found that people.get_display_full_names is not followed by sorting in reactions.ts)

@kuv2707 Had a design discussion on czo. These are the intended design going forward.

@pratik-pc Looks good to me!
Manually tested the changes listed in the PR description.
@zulipbot remove "buddy review"

@zulipbot add "mentor review"

@ligmitz @chdinesh1089 Will one of you have a chance to review this one?

Renamed the sort_emails function to sort_emails_by_username and we get the user_ids from the email in the function.

@zulipbot remove "mentor review"
@zulipbot add "maintainer review"

@amanagr Could you please review this one? I haven't tested.

Looks good to me. I tested manually for aaron, Aaron, iago, and Iago

Merged, thanks @pratik-pc and @richardshaju!


Fix command execution

Follows up on 1f7d77ec
Before:
$ dcos spark -h
Traceback (most recent call last):
  File "/home/nick/code/dcos-cli/cli/env/bin/dcos", line 9, in <module>
    load_entry_point('dcoscli===SNAPSHOT', 'console_scripts', 'dcos')()
  File "/home/nick/code/dcos-cli/cli/dcoscli/main.py", line 19, in main
    return _main()
  File "/home/nick/code/dcos-cli/cli/dcoscli/main.py", line 86, in _main
    exitcode, _ = sc.run_and_capture()
  File "/home/nick/code/dcos-cli/dcos/subcommand.py", line 681, in run_and_capture
    subproc = subprocess.Subproc().Popen(
AttributeError: 'module' object has no attribute 'Subproc'

After:
$ dcos spark -h
Usage:
[...]

thanks @nickbp


SSL certs expiring on Prod - CSR creations, Istore Request coordination and Updates to DEV, TEST and PROD

Title of ticket:
Description
The purpose of this task is to generate CSR for the expiring SSL certs under foirequests.gov.bc.ca . Below are domains which need to be updated.

DNS Name foirequests.gov.bc.ca
DNS Name: www.foirequests.gov.bc.ca
DNS Name: test.foirequests.gov.bc.ca
DNS Name: dev.foirequests.gov.bc.ca
DNS Name: reports.foirequests.gov.bc.ca
DNS Name: test.reports.foirequests.gov.bc.ca
DNS Name: dev.reports.foirequests.gov.bc.ca
DNS Name: redaction.foirequests.gov.bc.ca
DNS Name: redaction.test.foirequests.gov.bc.ca
DNS Name: redaction.dev.foirequests.gov.bc.ca
DNS Name: payments.foirequests.gov.bc.ca
DNS Name: payments.test.foirequests.gov.bc.ca
DNS Name: payments.dev.foirequests.gov.bc.ca
DNS Name: help.foirequests.gov.bc.ca
DNS Name: help.dev.foirequests.gov.bc.ca
DNS Name: help.test.foirequests.gov.bc.ca

Dependencies
Are there any dependencies?
DOD

[x] Create CSR request ,hand over to IMB and follow up with IMB, Expiring date April 8
[x] Follow up for PUBLIC KEY and other Certificate Hash - Due by April 4th
[ ]  Received PUBLIC KEY and other Certificate Hash ? - Update OCP Routes for  APIs, FOI FLOW, REPORTING, Payments - DEV, TEST and PROD
[ ]  Integration Testing!

As discussed at sprint planning - this was completed and pushed to production


⚠ Auth has degraded performance

In 5c59b43, Auth (https://auth.k2lin.com) experienced degraded performance:

HTTP code: 200
Response time: 11736 ms

Resolved: Auth performance has improved in 9edaaf5.


XGBoostJob IRIS Prediction example doesn't work

/kind bug
The example for XGBoostJob IRIS prediction doesn't work.
https://github.com/kubeflow/training-operator/blob/afba76bc5a168cbcbc8685c7661f36e9b787afd1/examples/xgboost/xgboost-dist/xgboostjob_v1_iris_predict.yaml
NAME                                      READY   STATUS   RESTARTS   AGE
xgboost-dist-iris-test-predict-master-0   0/1     Error    0          11m
xgboost-dist-iris-test-predict-worker-0   0/1     Error    0          11m
xgboost-dist-iris-test-predict-worker-1   0/1     Error    0          11m

+ xgboost-dist-iris-test-predict-master-0 › xgboost
+ xgboost-dist-iris-test-predict-worker-0 › xgboost
+ xgboost-dist-iris-test-predict-worker-1 › xgboost
xgboost-dist-iris-test-predict-worker-0 xgboost starting the predict job
xgboost-dist-iris-test-predict-worker-0 xgboost starting to extract system env
xgboost-dist-iris-test-predict-worker-0 xgboost extract the Rabit env from cluster : xgboost-dist-iris-test-predict-master-0, port: 9991, rank: 1, word_size: 3
xgboost-dist-iris-test-predict-worker-0 xgboost Read data from IRIS datasource with range from 50 to 100
xgboost-dist-iris-test-predict-worker-0 xgboost Traceback (most recent call last):
xgboost-dist-iris-test-predict-master-0 xgboost starting the predict job
xgboost-dist-iris-test-predict-master-0 xgboost starting to extract system env
xgboost-dist-iris-test-predict-master-0 xgboost extract the Rabit env from cluster : xgboost-dist-iris-test-predict-master-0, port: 9991, rank: 0, word_size: 3
xgboost-dist-iris-test-predict-master-0 xgboost Read data from IRIS datasource with range from 0 to 50
xgboost-dist-iris-test-predict-master-0 xgboost Traceback (most recent call last):
xgboost-dist-iris-test-predict-master-0 xgboost   File "/opt/mlkube/main.py", line 89, in <module>
xgboost-dist-iris-test-predict-master-0 xgboost     main(main_args)
xgboost-dist-iris-test-predict-master-0 xgboost   File "/opt/mlkube/main.py", line 25, in main
xgboost-dist-iris-test-predict-master-0 xgboost     predict(args)
xgboost-dist-iris-test-predict-master-0 xgboost   File "/opt/mlkube/predict.py", line 32, in predict
xgboost-dist-iris-test-predict-master-0 xgboost     booster = read_model("oss", model_path, args)
xgboost-dist-iris-test-predict-master-0 xgboost   File "/opt/mlkube/utils.py", line 169, in read_model
xgboost-dist-iris-test-predict-worker-1 xgboost starting the predict job
xgboost-dist-iris-test-predict-worker-1 xgboost starting to extract system env
xgboost-dist-iris-test-predict-worker-0 xgboost   File "/opt/mlkube/main.py", line 89, in <module>
xgboost-dist-iris-test-predict-worker-0 xgboost     main(main_args)
xgboost-dist-iris-test-predict-worker-0 xgboost   File "/opt/mlkube/main.py", line 25, in main
xgboost-dist-iris-test-predict-worker-0 xgboost     predict(args)
xgboost-dist-iris-test-predict-worker-0 xgboost   File "/opt/mlkube/predict.py", line 32, in predict
xgboost-dist-iris-test-predict-worker-0 xgboost     booster = read_model("oss", model_path, args)
xgboost-dist-iris-test-predict-worker-0 xgboost   File "/opt/mlkube/utils.py", line 169, in read_model
xgboost-dist-iris-test-predict-worker-0 xgboost     oss_param = parse_parameters(args.oss_param, ",", ":")
xgboost-dist-iris-test-predict-master-0 xgboost     oss_param = parse_parameters(args.oss_param, ",", ":")
xgboost-dist-iris-test-predict-master-0 xgboost   File "/opt/mlkube/utils.py", line 295, in parse_parameters
xgboost-dist-iris-test-predict-master-0 xgboost     value = conf[1]
xgboost-dist-iris-test-predict-master-0 xgboost IndexError: list index out of range
xgboost-dist-iris-test-predict-worker-0 xgboost   File "/opt/mlkube/utils.py", line 295, in parse_parameters
xgboost-dist-iris-test-predict-worker-0 xgboost     value = conf[1]
xgboost-dist-iris-test-predict-worker-0 xgboost IndexError: list index out of range
xgboost-dist-iris-test-predict-worker-1 xgboost extract the Rabit env from cluster : xgboost-dist-iris-test-predict-master-0, port: 9991, rank: 2, word_size: 3
xgboost-dist-iris-test-predict-worker-1 xgboost Read data from IRIS datasource with range from 100 to 150
xgboost-dist-iris-test-predict-worker-1 xgboost Traceback (most recent call last):
xgboost-dist-iris-test-predict-worker-1 xgboost   File "/opt/mlkube/main.py", line 89, in <module>
xgboost-dist-iris-test-predict-worker-1 xgboost     main(main_args)
xgboost-dist-iris-test-predict-worker-1 xgboost   File "/opt/mlkube/main.py", line 25, in main
xgboost-dist-iris-test-predict-worker-1 xgboost     predict(args)
xgboost-dist-iris-test-predict-worker-1 xgboost   File "/opt/mlkube/predict.py", line 32, in predict
- xgboost-dist-iris-test-predict-master-0 › xgboost
xgboost-dist-iris-test-predict-worker-1 xgboost     booster = read_model("oss", model_path, args)
xgboost-dist-iris-test-predict-worker-1 xgboost   File "/opt/mlkube/utils.py", line 169, in read_model
xgboost-dist-iris-test-predict-worker-1 xgboost     oss_param = parse_parameters(args.oss_param, ",", ":")
xgboost-dist-iris-test-predict-worker-1 xgboost   File "/opt/mlkube/utils.py", line 295, in parse_parameters
xgboost-dist-iris-test-predict-worker-1 xgboost     value = conf[1]
xgboost-dist-iris-test-predict-worker-1 xgboost IndexError: list index out of range

cc: @terrytangyuan

Due to: https://github.com/kubeflow/xgboost-operator/issues/32
/close


CircularQueue with a custom index

The most important parameter for CircularQueue is definitly the maximum size.
const circularQueue = new CircularQueue<number>({
	maxSize: 4,
});

I have a use case, where I want to make it circular on two indexes !! Let me explain why this could be an amazing addition.
My case:
I have a stream of data that I want to limit analysis on say to 10k elements for processing time and the memory not to blow. (first index)
I also would like to take time into consideration, I want to limit also the size of the queue by the distance between minIndex and maxIndex where this new index is simply epoch. (my case is to only keep elements added since last week, earlier elements are not important at all).
I hope I could make it clear, and I would like to thank you Toreda.

These are simply two types of indexes:
maxSize is the size of the queue. (grows on each insert by +1)
maxElapsedTime is time delta between the last and earliest element in queue (grows on each insert by elem_n.time - elem_0.time )

Good comments here. The use case makes sense and I can see other uses benefiting from it, given time-based logic is a pretty common need in any sort of time or TTL based cache/buffer.
I'm thinking about possible implementations and wondering whether we want to implement the actual time-based logic, or whether it would be better to simply let the caller provide their own validator function which is called each time an item is added.  We use this type of approach in @toreda/strong-types and it works pretty well. The data structure remains generic while users can customize the validation logic without having to spend time extending the class.
To make sure I understand, let me repeat what I think your ask is:

add element overwrites the earliest item when maxIndex - minIndex exceeds a target value.
add element overwrites the earliest item when maxIndex.time - minIndex.time exceeds some value.

Did I get those two cases right?

Hello @mbrich
Thank you so much for your consideration.
Indeed this is exactly TTL. Except that I verify on insert in my case.
We can imagine ensuring this constraint onRead, onWrite, or another event (continuous CRON...)
For my case, I have worked my example around the datastrucure, not the best, you could tell:
https://github.com/bacloud14/topK_example/blob/ad39206e8d908ef76c5f1a5c552da3403b2aa814/index.js#L77
I added a date key in items, and purge recursively on insertion for items older that one month. Code is scrambled, I will rework and comment it.

For the context, indeed this is very common use case. For my case:
I'm running topK algorithm to data mine popular searches on the circular queue (topK is supposed to work on endless streams theoretically, but I want something like: top keywords searched in the last month, so I purge earlier items, and rerun topK on the queue each time we are half the way the queue length )


Don't display videos

I have integrated OpalImagePicker through cocoapods in my project.
I have several question regarding OpalImagePicker:

When I present OpalImagePicker it is also displaying video thumbnail along with all images. So how can I restrict it. (Video mediaType=2/0 and in image mediaType=1/0)
Is there any functionality for maximum selection?

Hi, currently we don't have support for either of those two items in this library. I can work on an enhancement to add those two items.

Hi, I addressed both of these issues in version 1.3.0. Please update your pod, and use the maximumSelectionsAllowed and allowedMediaTypes to control these behaviors.


sendmsg: downgrade RELEASE_ASSERT against EINVAL

Commit Message: apparently EINVAL is quite common in Android when network is not good. This shouldn't cause E-M app to crash. Instead the error will be propagated to QUIC connection and cause it to be closed with write error.
Additional Description: Even after this fix it will still be a user visible error and the app will fall back to TCP, but still better than crash.
Risk Level: low, fix crash in HTTP/3 upstream
Testing: existing tests pass
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

/assign @RyanTheOptimist

@kyessenov
friendly ping

/assign @kyessenov

@kyessenov is OOO.
/assign @yanavlasov


'Ghosted' Monster loot appearing.

Not sure why, but I get 'random' loot messages show up from like a ghost log. If i am online at 13:45 I always seem to get
'13:45 Loot of Necropharus: a book of necromantic rituals, 86 gold coins, a green mushroom, a necromantic robe, a soul stone, a clerical mace, boots of haste'
It is from when I killed it, but this has been weeks ago. But its tied to that time stamp. I just got it again today, and I get other various commands pop up for me as well that are 'ghosted' as no one in any channel has said it, nor has it been said. Nor has that action happened. Necropharus was also killed on the beta version , where now im on the 1.3 version from scratch as it also randomly did a reset so i had to set my settings up brand new. Any ideas how to make these ghost messages stop?

i tried clearing the loot.txt file for now, will see if that works.

The issue continues to happen.
http://imgur.com/a/ofqrS

I assume that for whatever reason that loot message keeps on getting placed into the memory of your flash client. I assume you aren't keeping the flash client open days on end, so for whatever reason CipSoft is sending this message to you every time. As long as it's in the memory of the flash client Tibialyzer will recognize it as a valid loot message, because there's no way it can distinguish between junk memory and actual messages it has to assume it's a valid message (otherwise valid messages could be missed).
The good news is that Tibialyzer does look at the actual time on your system when scanning loot messages, so junk messages that don't occur at the current time will be discarded. The bad news is that apparently you will apparently get a popup everyday at 13:45. If you want to disable the popup you can set the value of Soul Stone and Boots of Haste to a lower value, so they don't trigger your popup condition, but I can't really think of another fix. It's just the flash client being weird.


Get some part of dreditor back to drupal.org

Dreditor enhances user experience and functionality of drupal.org. Having a seperate project make it easier to experiment and quickly change the UI of drupal.org. But some features of dreditor are now very well tested and very useful, so why not pushing them back to drupal.org?
This would be nice for user that don't know about dreditor and also to avoid to have a bigger and bigger layer on top of drupal.org.

We have been, e.g. the whole "Credit & Committing" fieldset at the bottom of issues was heavily inspired by Dreditor. There are other smaller features that have made their way in over time as well. Dreditor is, and always has been, the rapid prototype for determining a good way to develop new feature sets for d.o.
However, that is actually becoming less and less of a true statement since d.o's upgrade to D7 (which has allow for much faster and more direct d.o development and deployment).
Something as complex as the current patch reviewer in Dreditor will likely never get in though. Instead they've been focused on trying to integrate something more native to our process.
Regardless, there is the dreditor feature tag that is being used on d.o already. I suggest following those issues if they interest you.


Added Pattonville HS

Add Pattonville High School to approved list

@jtsimmons108 Pull request merged. Thank you!


Import-export

Change the main Scene menu-terminology from Open/Save to Import/Export
Renamed the keyword for .splat-files to "ssplat"
Added import-functionality for .splat files

This is looking great @simonbethke thanks so much!
Can I ask you to split the two changes into different PR's though? (i.e. adding .splat load support and changing the menu layout).
The menu layout / ui changes will be discussed internally with design team and I wouldn't want that to impede getting the .splat support merged.

Yea, I realized that merging both was no good idea. I will try to get this done

Seems as if I broke it with rebasing :(

This is being added in https://github.com/playcanvas/supersplat/pull/218


Support Windows Home Server

Good afternoon Kirb and friends!
I've been tinkering a bit with Windows Home Server recently for a data recovery project that I've been working on. I installed LegacyUpdate on it, and it seemed to work fine, but there are a couple issues:

Windows Home Server uses something known as Power Packs, which are similar to Service Packs for other versions of Windows. LegacyUpdate doesn't advertise these yet
Windows Update gives out a ton of updates for Windows Server 2003. This is to be expected behavior though, since it is based on Server 2003 SP2, but having the power packs in the LegacyUpdate installer should allow for just a round or two of updates (since they are similar to service packs).
The LegacyUpdate website misidentifies it as a 64-bit copy of Windows XP Professional SP2.

I've found a set of solid links for PP1-3 (I think they need to be installed consecutively, but I can experiment with that!) - I'm thinking that we'd use the edition detection feature, similar to what we do for XP Home Edition, to identify the system and then install the correct updates.
Note that this doesn't cover Windows Home Server 2011, but I will happily tinker with that as well to make sure that LegacyUpdate acts properly with that version too!
I'd like to submit a PR to support Windows Home Server (and to fix the autologon issue) if that's good with you!

I think there are some other languages for other power packs, but for PP1 I only found http://download.windowsupdate.com/msdownload/update/software/crup/2008/08/whs-kb944289-v1-x86-enu_1f156ec180f6afb202267d0fc7d6a1482b3dcc3a.exe
If we do this, we should probably also add KB2757011 for Windows Home Server 2011 (I believe it is Update Rollup 4). The machine I'm running WHS2011 on is very slow, but it has failed twice now after installing some of the other advertised updates for Windows Server 2008 R2. I'll probably blow away this install of WHS2011 and attempt installing that update manually and then the others later.

For WHS 2007, I have a general order here that needs to be followed for PP3 to install since all of the updates build upon one another:
KB944289 (PP1)
--- Reboot ---
KB950193
--- Reboot ---
KB957825
--- Reboot ---
KB958926 (no reboot necessary)
KB961030
KB956587 (PP2)
--- Reboot ---
KB963032
--- Reboot ---
KB972421
KB968349 (PP3)
This seems to get a working environment over here. I'm going to need my no-language patch handler from #147 , and this might take me a couple of days to get working properly in the installer because of the amount of reboots.


Re-enforce Complete Validate Run methodology on cli commands

There are some cli commands which right now don't enforce Complete-Validate-Run idealogy. i.e. Complete code is actually doing Validations etc. one instance https://github.com/openshift/odo/blob/master/pkg/odo/cli/component/create.go#L336-L339
Also I observed that the Validation phase for odo create starts in the Complete function https://github.com/openshift/odo/blob/master/pkg/odo/cli/component/create.go#L428
So we need to re-enforce this CVR design.

While I agree on principle, I think there are cases where it makes sense to validate (and error out when needed) during the complete phase, in particular when all the information is available during that stage. In some cases, separating the validation process completely would mean duplicating processes that happen in Complete which, I think, should be avoided. This goes to the "fail fast" philosophy which odo should adhere to, in my opinion.

I recently came across a PR #3118 where doing validation earlier helped provide a better user experience. For example what I've commented here https://github.com/openshift/odo/pull/3118#issuecomment-625660310.
IMO, if it makes sense, we could keep exceptions to this rule. Of course, it shouldn't mean a license to break it at will. :)

This still matters to us and is likely among the basic requirements to improve the overall code quality.
/reopen
/good-first-issue
/remove-lifecycle rotten

This still matters to us and is likely among the basic requirements to improve the overall code quality.
/reopen
/good-first-issue
/remove-lifecycle rotten


[AIRFLOW-592] example_xcom import Error

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:
https://issues.apache.org/jira/browse/AIRFLOW-592
Testing Done:
All tests have passed , including travis!

Current coverage is 66.32% (diff: 100%)

Merging #1853 into master will decrease coverage by 0.01%

@@             master      #1853   diff @@
==========================================
  Files           127        127
  Lines          9771       9772     +1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6482       6481     -1
- Misses         3289       3291     +2
  Partials          0          0

Powered by Codecov. Last update c5f6633...7c4cda9

lgtm


Example from quick start fails with 'TrainingArguments' object has no attribute 'eval_strategy'

Tried to follow https://huggingface.co/docs/setfit/main/en/quickstart#end-to-end
This notebook is just a copypaste from quickstart: https://colab.research.google.com/drive/1N9HPmqhaqBm_rL13nTuV3wC7rdIJseve#scrollTo=0NybX59O5o98
The train fails with
/usr/local/lib/python3.10/dist-packages/transformers/utils/notebook.py in on_train_begin(self, args, state, control, **kwargs)
    293
    294     def on_train_begin(self, args, state, control, **kwargs):
--> 295         self.first_column = "Epoch" if args.eval_strategy == IntervalStrategy.EPOCH else "Step"
    296         self.training_loss = 0
    297         self.last_log = 0

AttributeError: 'TrainingArguments' object has no attribute 'eval_strategy'

The most recent version of transformers has renamed evaluation_strategy into eval_strategy. I'd recommend downgrading transformers to a slightly older version. You can see your current version with pip show transformers.

Tom Aarsen

Thanks, I was able to fix this with !pip install transformers==4.39.0

Excellent, thanks for sharing! I intend to fix this more properly in early June.

Tom Aarsen

It seems to work up to transformers==4.40.2, but it fails with transformers>=4.41.0, in case useful :)

I was facing this issue yesterday, I will try that particular downgrade to transformers this week. Thank you!

The transformers downgrade worked for me
If in notebook you can run:
pip install setfit transformers==4.39.0

Yes it worked for me too now, I forgot to restart my kernel. Apologies and thanks!

+1 on this - any plans for a fix to be released?


Linear Regression... but from scratch!

Hey there! Welcome to Hacktoberfest 2021!
Thanks for taking interest in this project.
In this issue, we want to create a simple web app that takes the number of datapoints (n), and then takes in
two arrays x, Y of size n as input. We then want to find the lines X on Y and Y on X using least squares method in linear regression. After finding the lines, we want to plot these visually and print the coefficients, intercept, coefficient of correlation, etc.
Tech Stack - HTML, CSS, JS, CanvasJS (recommended)

Feel free to contact us here (Telegram) if you need any help!

It's okay if you don't finish 100% of what is required, it's the attempt that matters!
We'll accept PRs even if they complete a sub-component of this issue
(depending on the code submitted and the effort taken)
All the best :D

can you assign it to me ? @Chasmiccoder

Hi @capt-doki !
Yeah sure :)
Good luck

Hey @nilupulmanodya !
Yeah sure, that would also work
The Tech Stack mentioned was just the recommended one.
You can do it with python and flask as well
Good luck :)

Thank you for contributing


DEV-15956 Improve PHP Proxy

During development of Acrolinx for Drupal few shortcomings were identified in PHP proxy.
Below are the changes:

Fixed PUT method, Added request payload after setting request as PUT.
Added DELETE method.
Emulated PHP's getAllHeaders -> Some servers don't support PHP's native getAllHeaders method.
Added placeholder for SSL certificate verification
Used OO PHP

Addressed review comments. Please have a look.

#Merged


Is there support for the new AWS region "me-central-1"

Question
Looking to deploy resources to me-central-1 but with the latest versions of Pulumi, it seems there isn't support for this region.
Is this correct?
Terraform added support
Now Open–AWS Region in the United Arab Emirates (UAE)

Hi @lblackstone ,
Thanks for the reply, I'll take a look at v5.20.0 & let you know.
Aidan

Hi @lblackstone,
Upgraded to the latest version 5.21.1 and I'm still seeing issues. Has anyone else reported similar?
const emea3Provider = new Provider("emea3-provider", {   region: "me-central-1",   profile: "nebula-emea3", });
error TS2820: Type '"me-central-1"' is not assignable to type 'Input<Region> | undefined'. Did you mean '"eu-central-1"'?

@danielrbradley Any idea?

Need to track down where that type is coming from. As a workaround you might be able to use "me-central-1" as any to skip the language validation.

For new regions, in addition to bypassing the language validation, you also need to set skipRegionValidation to true in the provider configuration


Embed model identifier in events

Description of Problem:
Original issue: https://github.com/RasaHQ/rasa/issues/8815#issuecomment-863979685
We need a unique model identifier in each event caused by a model in order to tie model predictions to a model
Overview of the Solution:

Create unique id for each trained model and embed it in the fingerprint.json (or a different file if the graph model is already underway)
Attach this unique model ID to the metadata field of every event caused by this model

Definition of Done:

[ ] Models include a unique ID
[ ] Every event caused by predictions of a model includes this ID in its metadata

@rudolfix and I were chatting about this. @wochinge will / could this unique model ID be a human readable model name?

What is a human readable model name and what purpose does it have? For me that's the name of the model archive. From my perspective the unique ID in the model is some arbitrary string.

then having this string in event in tracker store I can somehow backtrack to actual model and read it configuration and name. in RASA X, API for model could be extended to get model by model id. correct?

Exactly 👍🏻
I think the renaming whatever should be done in your dashboard then to avoid collisions.

Why do you want to create the fingerprint in the SDK yourself?
It will work as follows

We assign each model a unique ID
Whenever we update a tracker with new events we attach the unique model ID (this includes events created in the SDK, through the API, or internally)
All persisted / published events will have this ID as part of their payload

How we handle it in Rasa X is up to the teams working on Rasa X. In theory they'd add a column to the model table which tracks the unique ID for each model in the database + have a column model_id on conversation_event. They then can tie each event to a specific model.

ok got it! just looked what is already in model archive and now I understand it, thanks!


Disable auth for tests

Checklist

[x] Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
[x] Any modified or new methods or classes have helpful JavaDoc and code is thoroughly commented
[x] The description lists all applicable issues this PR seeks to resolve
[x] The description lists any configuration setting(s) that differ from the default settings
[x] All tests and CI builds passing

Description
73 exceptions are logged as part of CI for failed authentication. Auth isn't needed for the majority of unit tests, so where the exception is thrown, auth has been disabled. It is re-enabled once the test has completed so as not to impact tests that do require auth.
This PR (where applicable) disables auth which will remove the exceptions logged and speed up testing... a little.

Is there no better place to put all these calls? Feels annoying to have to repeat it so many times

@miles-grant-ibigroup not without a more indepth refactor. Some of the tests require auth so a global update (say in DatatoolsTest.setUp()) is not possible. If I was to do this, I'd have to update all the tests that require auth (to enable it), so I don't think we'd be any further forward.


Mid-scanline palette changes don't work correctly

E.g. Indiana Jones and the Last Crusade (Taito edition)
Results in black lines on the title screen.

Fixed by f6ac82c


Ensure NullValue values are stored properly

When an Entity property is set to nil, we want the Value to be NULL_VALUE.
Otherwise the value will be skipped and not persisted.
NULL_VALUE is a valid value and should be persisted across saves.

@blowmage Glad you could figure this out!


Add integration-tests for AsciiDoc

This should fail in native in theory

This should fail in native in theory

And indeed it failed.


feat(cli): move config to its own "module" in the CLI

Hey, I just made a Pull Request!
Based on @Rugvip's comment here.
Tested locally with all 4 config commands and everything looked good 😁
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@Rugvip Took a bit of a look at what a commander-less usage would be in e8ffcf4. One of the things that I think we'd want to keep is the ability to list what commands are registered across modules - if we do some very light parsing + validation at the framework level, I think we get a bit more control there. I'm not convinced we should just leave that up to the plugins/modules to define.

Trying out a bit more new backend-feel wiring, https://github.com/backstage/backstage/pull/27266 with a separate entry point.

closing in favor of #27266


Sync with MbedOS

Fetch latest changes from Mbed OS to master repository.
@jupe , is yotta still used fot testing?

is yotta still used fot testing?

yes. Probably that why tests fails.. Is there some reason why this file could not be in this repo ?

We are preparing for Mbed OS 5.12 release and therefore pulling changes from Mbed OS to synchronise the repositories. The file can live in this repository, if it is still needed.

One year old PR, closing as not needed.


use nysparks_historicplaces in GFT

resolves GFT failing on main here
follow up to #1056 and #1054

There are other downstream code changes needed (sources.yml, etc) - I'll take care of this in #1065 to get it building with this and my other renamings


only load explicit ndk path if there is environment variable present

@AliceGrey What do you think of this workaround?
This should only load the ndkPath when environment variable is present. That way we do not annoy any developers in the Android Studio and Github Action still works.

LGTM!


Added interactive feedback section in contact us form and improved code for the same

In the current situation when the user clicks on the emoji to send feedback then he/she not able to get what they have selected because they all look the same even after selection.
before

What I did ?
I make it interactive so that the user can see what he/she selected.
after

what do I mean by code improvement?
see in the previous code (currently on the site ) it is just a div containing emojis means it doesn't have any input and validations like only one is selected or something, which means if the user selects one then the form never gets what choice they made.

so what I did?

I make separate div for each and added validations like type=radio which makes sure that only one gets selected at one time and gave them values also so form also gets what option is selected

@Abhijay007 Great Work!

@Abhijay007 Great Work!


Is this here still active?

As of today, we are active again. Version 0.3.1 has been released and has been tested with Backstage version 1.27.5.


Support zod's .catchall

Is your feature request related to a problem? Please describe.
In my form the user is presented multiple groups of radio buttons and has to choose one option in each group.
The groups are dynamic and not known beforehand. In the end they don't matter and I'm only interested in the choices not to which group each choice belongs.
I tried to generate inputs with unique names per group with a common prefix (name="id_{group_id}"). But the schema cannot be validated as I do not know the keys to validate.
I used .catchall which does not work because formDataToValidation looks at the defined keys in the schema to extract them from the form data.
Describe the solution you'd like
formDataToValidation should take the schema from .catchall into account.
Describe alternatives you've considered

Not use superforms for this form.
Transfer the key names to the backend to build the schema dynamically.

Dynamic behavior has always been a bit of problem for Superforms, since the schema is what defines the resulting data. But it sounds like you could use a Record or an array for what you want, which is supported.
Here's information about arrays: https://superforms.rocks/concepts/nested-data#arrays-with-primitive-values
Here's an example for record: https://github.com/ciscoheat/sveltekit-superforms/tree/main/src/routes/record

The array approach unfortunately doesn't work because the browser than treats all radio buttons in the same group and the user can select only a single one. Records seem to need dataFormat: 'json' which I tried to avoid.
What about the following:
After iterating over the known fields from the schema, all remaining fields are checked against the catchall schema (if provided).
In my tests this works, I will prepare a PR later.

This could be working now in v2, since it uses the JSON schema additionalProperties to check for extra keys now, which is added by the Zod adapter when you use catchall. Can you check it out and see if there's something else that needs to be done? Migration guide: https://superforms.rocks/migration-v2

Found some issues with how it works now, so I'll do a proper test for it in the next alpha version.

Should be working fine now with the latest alpha.

Closing this, as tests have passed for a while.

Sorry, I did not have a chance to try v2 yet, but great that you could solve this. Thank you for your great work!


.net version help

Hello,
I'm on a University network so shouldn't really go messing with my .net version - any chance you could add more versions of .net to the mix? :) We only have 4.0
Ta!

Hello,
Unfortunately ScreenToGif 2.0 (and greater) is highly dependent of .Net Framework 4.5 (and greater).
The old version of this app (v1.4.2) targeted .Net Framework 4.0, you could give it a try, but it's very old:
http://screentogif.codeplex.com/releases/view/617012

Thank you :) I am installing 4.6.1 now just because I really want to use the program :) Thank you for your fast response and for the program itself!

Alright, you're welcome.  :)


Failure to read the config file should terminate the application

% npm start -- -c does_not_exist.yamlisnothere

><EMAIL_ADDRESS>prestart /Users/geod24/projects/bpfk/stoa
> npm run json2ts

><EMAIL_ADDRESS>json2ts /Users/geod24/projects/bpfk/stoa
> json2ts -i src/modules/data/schemas/ -o src/modules/data/types/

><EMAIL_ADDRESS>start /Users/geod24/projects/bpfk/stoa
> NODE_ENV=production nodemon -w src -d 1 -x ts-node src/main.ts "-c" "does_not_exist.yamlisnothere"

[nodemon] 2.0.4
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): src/**/*
[nodemon] watching extensions: ts,json
[nodemon] starting `ts-node src/main.ts -c does_not_exist.yamlisnothere`
ENOENT: no such file or directory, open '/Users/geod24/projects/bpfk/stoa/does_not_exist.yamlisnothere'

The app shouldn't keep running and should shut down instead, so we can detect it from the process manager.

Fixed in #128


Add support to fecth source jars

Use group name in cached file names
Fetch source jars from gradle cache if available

I just wonder why do we need fetch source jars?

I just wonder why do we need fetch source jars?

We are not downloading them separately. We are just linking against them if they are available so when we do buck project, we get source navigation in the IDE when that project is imported


作者什么时候支持androidx啊

好的，请稍等几天，最近有点忙

Hi Whataa, I've seen that you already migrated into AndroidX and I want you to reconsider it as you have considerably reduce the potencial audience for Pandora.
Pandora was already compatible with apps using AndroidX via Jetifier, as well as apps using old support libraries. But now Pandora can only be included in apps migrated to AndroidX because apps including support libraries can't include libraries using AndroidX.
There are tons of live legacy apps that can't easily upgrade to AndroidX or can't upgrade their Android Gradle Plugin to 3.2.0, which is required by AndroidX. I face the same problem recently and I end up downgrading my library from AndroidX back into support libraries in order to reach a largest audience.
If you decide to carry on with AndroidX, you should also update your readme with your new limitation: only for AndroidX migrated projects, so Android Gradle plugin >= 3.2.0 and Android Studio >= 3.2 are required.
By the way, awesome work with Pandora! Cheers!

Hi @rafaco , don't worry about that, I haven't publish it and I plan to publish 3.x for AndroidX and keep 2.x for the other. Both will remind updated. Anyway, thank you for your advice.

@jiangyue2780 @rafaco
Due to jitPack, I finally decide to distinguish between the two versions by the androidx_ prefix before the version number, for example: v2.0.2 , androidx_v.2.0.2
由于jitPack，无法通过版本号的大小来很好地区分两种版本，最终我采用了在版本号前面增加  androidx 前缀来区别，例如：

android-support
androidX

v2.0.2
androidx_v.2.0.2

Hi @whataa, I like a lot your solution about having a secondary artifact for max compatibility without affecting the performance of the main artifact. Thanks for the idea!
Following your advice I'm going to generate 2 artifacts from my library: a short named one (library) for modern apps with AndroidX, and a postfixed one for older apps (library-compat). This allow me to downgrade even more the compat artifact without affecting the performance of the modern one (reaching my current goal of API 26 support libraries and Android Gradle Plugin 2.0.0).
I'm only worried about maintainability as it will be tough using branches, do you have something in mind?  A module for each artifact sharing a core module seems the better options to me right now, but a single one with 2 variants could also work (using conditional dependencies and custom source sets for imports).

Thanks @rafaco , I would support the idea of sharing core module more.
2 variants for Pandora is because the UIs have been stable, and it will not be changed in general. So it is not too much trouble to maintain. I only need to merge one branch to another. If your library's UIs change frequently, you may need to resolve conflicts or modify 'import' when you merge.


Error after upgrading from 19.9.0 to 19.12.0;  'HttpProtocol' object has no attribute '_body_chunks

After upgrading to the newest Sanic, it breaks with the following logs:
Unhandled exception in event loop
Traceback (most recent call last):
  File "uvloop/handles/streamserver.pyx", line 143, in uvloop.loop.__uv_streamserver_on_listen
  File "uvloop/handles/streamserver.pyx", line 67, in uvloop.loop.UVStreamServer._on_listen
  File "/usr/local/lib/python3.8/site-packages/sanic/server.py", line 152, in __init__
    self._body_chunks = deque()
AttributeError: 'HttpProtocol' object has no attribute '_body_chunks'

Fixed in #1743 and should be merged to master soon.

Awaiting merge from @huge-success/sanic-release-managers. Closing this now. Thanks for the callout.


Tcpconfigchanges

resolve #2666
use the options in pinpoint.config to set transport type of span and stat
default is UDP
Set connection types for span and stat data. accepts UDP or TCP
profiler.collector.span.transport.type=UDP
profiler.collector.stat.transport.type=UDP

Hi teambullseye
I said following
Each data type(Span, Stat, ...) must be on a different port.
Looking at the collector settings, we specify the threadPool for each data type because the importance and the incoming amount are different depending on the data type.
In addition, The same data type in the collector should be able to share the ThreadPool and set it collectively, regardless of trasnport.

In addition, It is a no good idea for a TCPHandler to accept all data types.
Because there are more parts to debug when a problem occurs

It does not seem to be working.
please check again. :)

didnt realize you want them on different ports, will make those changes. thanks


[BUG] Youtube Membership welcome messages produce JSON object in place of message text

Basic information

Program version: Current pip version
Python version: 3.8
Operating system: Linux/Fedora

Describe the bug
Instead of a simple text string the "message" field for membership welcome messages is a nested object. This seems to be a regression with the newest version.
Command/Code used
If running from the command line, provide the following:

The command used (including the verbose tag, -v):

chat_downloader "https://www.youtube.com/watch\?v\=ie5oTaH3nAk" --message_groups all --output "output.json" -v

One particular example message from that chat replay, though this applies to both add_live_chat_ticker_item and add_chat_item.
        "message": {
            "message": "Welcome to \u6850\u751f\u4f1a!"
        },
        "message_id": "ChwKGkNLRDV0YV9tMXU0Q0ZZMm13UW9kVlBnQjhR",

Expected behavior
All "message" fields should be simple strings
        "message": "Welcome to \u6850\u751f\u4f1a!"
        "message_id": "ChwKGkNLRDV0YV9tMXU0Q0ZZMm13UW9kVlBnQjhR",

Hi there - yes you are correct, this is a bug. Let me get that fixed!

Let me know if that fixes it! 😃

Seems to be fixed.


Syntax highlighting for Alloy

Hello and sorry for the delayed review. As you probably noticed from the low number of commits this winter I took a short hiatus from Open Source work. I'll now resume with the Laika road map, and your PRs could be part of the 0.17.1 release which I plan to do in March.
I'll start with Alloy as I know nothing about it, so have to entirely rely on your judgement of which things to include instead of a proper review.
In that respect this is ready to go, apart from the missing license header in the new source file.
You can copy it from any other source file. It contains the line "Copyright the original author or authors", so you can also add a scaladoc comment on the main class of that file and add an @author tag with your name, unless you insist on remaining anonymous. I'm not a lawyer, but I think you adding the license yourself is more sound than me slapping it onto it retroactively.

Hi Jens! That's totally understandable you took a break from OSS.
I've added the said headers and annotations to this PR. I will add it to others later


bashrc scripts for cygwin and msys not auto-executed

The os recognition code was limited to systems that use /etc/os-release.
Consider using $OSTYPE to determine os-specific script name, see https://stackoverflow.com/a/8597411 for details.

Fixed and verified


Remove dot from limited support message

See https://issues.redhat.com/browse/OCM-7411

/lgtm

/retest

/hold

Codecov Report
Attention: Patch coverage is 9.09091% with 10 lines in your changes missing coverage. Please review.

Project coverage is 38.41%. Comparing base (bae620b) to head (f6b87bd).

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #298      +/-   ##
==========================================
- Coverage   39.52%   38.41%   -1.12%
==========================================
  Files          20       20
  Lines        1599     1588      -11
==========================================
- Hits          632      610      -22
- Misses        926      939      +13
+ Partials       41       39       -2

Files
Coverage Δ

pkg/investigations/chgm/util.go
100.00% <100.00%> (ø)

pkg/investigations/chgm/chgm.go
63.00% <0.00%> (-3.36%)
:arrow_down:

... and 1 file with indirect coverage changes

/lgtm


katex css not correctly in safari

Describe the bug:
I need to display a formula in cordova, which is correct in chrome, but not in safari.
Because the formula is inserted into the rich text, I can only render the HTML code.
In the meantime, I'm using VUE, so I'm just going to go straight as follow:

i also import css in script
import 'katex/dist/katex.min.css'

the question object:

display in chrome

display in safari

so how can i fix it?

@yokins can you link to a public facing page that demostrates this iissue?  The following code works on katex.org: \frac{1}{3}x^2 \times \frac{1}{3} \times 2.


LFH Connect Response Payload Enhancements

We currently return a LFH "response document" that contains the base64 encoded  transaction with an associated metadata document that includes the Kafka offset, datetime stamps, etc.
When a system uses LFH, we need to ensure that it receives a "typical" response when transacting with a X12 payer, FHIR Server, while also providing the LFH metadata. The goal is to support each message type's convention for submitting requests and providing standard response payloads.
Example: A LFH client submitting FHIR submits standard FHIR JSON requests and receives a valid response (https://www.hl7.org/fhir/http.html#ops).
Initial Thoughts

We always return a special response header for our Kafka Metadata URL. So it's always available.
if the route doesn't include an external producer return the LFH metadata response
if the route includes an external producer return that external producer's response

@dixonwhitmire I like that approach - it's straightforward and does not require a per-route or per-message type configuration.

@dixonwhitmire I like that approach - it's straightforward and does not require a per-route or per-message type configuration.

External FHIR server configuration doc:
https://linuxforhealth.github.io/docs/feature-configuration.html#external-fhir-servers

External FHIR server configuration doc:
https://linuxforhealth.github.io/docs/feature-configuration.html#external-fhir-servers

Completed response enhancements :

POST /fhir/r4/ responses now contain a relative LFHMetadataLocation header
Example: /datastore/message?topic=FHIR-R4_PATIENT&partition=0&offset=0
When an external fhir server is configured, the fhir server response is returned from POST /fhir/r4/ api calls instead of the LFH message object. The aforementioned LFHMetadataLocation header is returned as well.

Completed response enhancements :

POST /fhir/r4/ responses now contain a relative LFHMetadataLocation header
Example: /datastore/message?topic=FHIR-R4_PATIENT&partition=0&offset=0
When an external fhir server is configured, the fhir server response is returned from POST /fhir/r4/ api calls instead of the LFH message object. The aforementioned LFHMetadataLocation header is returned as well.

Other LFH rest apis to evaluate payload enhancements
POST calls :
• /orthanc/instances
• /x12
• /ccd
• /etl
GET calls :
• /datastore/message
• /bluebutton/

Other LFH rest apis to evaluate payload enhancements
POST calls :
• /orthanc/instances
• /x12
• /ccd
• /etl
GET calls :
• /datastore/message
• /bluebutton/


Add support for baking CRUD templates with Twig

One thing I missed while using the plugin is the ability to use bake to generate basic CRUD action.
This PR adds the support for this feature.
To use it, the bake theme option has to be used. Let's say you have a TasksController, the following command can be used to generate basic CRUD :
bin/cake bake twig_template Tasks all -t WyriHaximus/TwigView

Awesome! Will go over the changes tomorrow, looks good at first skin though :+1:

The Travis build failure seems to be because of the bake version I required in the composer.json file which is not compatible with PHP 5.4.
The other failure is because of the lowest bake depency it can resolve which did not support the index column limit feature.
I'll take a look after lunch to see if I can downgrade it without losing everything.

I'll take a look after lunch to see if I can downgrade it without losing everything.

Let me know if that is possible. If not, I wouldn't mind requiring PHP 5.5 and CakePHP 3.2 for TwigView 3.3 :).

I managed to have a build passing : I skippe a test if the index-column option is not available.
However, there is one important thing to know : I had to drop the composer.lock file. Since it locked the dependencies (and I updated it the lock file when I composer install the lib yesterday), it had too much high dependency for PHP 5.4. The problem with having the lock file is that the lib was only tested against CakePHP 3.0.0 (and everything was not really "dynamic"), even when not in the case of "lowest dependency".
Anyway, if you want to keep the lock file, I don't mind at all : I can restore it to its master state but we will indeed have to bump the requirement for 5.5 for this feature to be added.

I managed to have a build passing : I skipped a test if the index-column option is not available.
However, there is one important thing to know : I had to drop the composer.lock file. Since it locked the dependencies (and I updated it the lock file when I composer install the lib yesterday), it had too much high dependency for PHP 5.4. The problem with having the lock file is that the lib was only tested against CakePHP 3.0.0 (and everything was not really "dynamic"), even when not in the case of "lowest dependency".
Anyway, if you want to keep the lock file, I don't mind at all : I can restore it to its master state but we will indeed have to bump the requirement for 5.5 for this feature to be added.
Edit : Well, I can still restore it to its master state and had the lowest bake dependency possible, that should allow the build to pass. I can try that tonight if you'd prefer this solution.

Wouldn't mind bumping to 5.5. Do prefer keeping the lock file in because it allows testing against locked versions, lowest possible, and highest possible. As a result of that the latest tag has been tested against CakePHP 3.0, 3.1, and 3.2. The interesting thing there is that highest possible for PHP 5.4 tested against CakePHP 3.1, while the job for PHP 5.5 tested against CakePHP 3.2.
Not really a fan of skipping tests, if that means we're going to bump we're going to bump :smile: .

So I restored the composer.lock file, and bumped everything (PHP 5.5, Cake 3.2).
But I still had to skip the test that needs a specific version of bake because of the lowest dependency tests does not use that specific version.
It should be good now.

Interesting, bake 1.2.0 doesn't work but 1.2.7 does. Could you try to target bake at ^1.2.2, I have a feeling that will work?

Well, that is for sure, since the option was added with that release. I'll bump it.

Pushed. The build is almost done and all is green for now. I removed the skip.

Awesome :+1:, will have a look at the implementation tomorrow.

Any questions I can shed some light on with the PR ?
I'll happily answer them :)

Give me two hours :smile: .

Yup looks good, thanks for the PR and your tremendous amount of work on it, I'll tag it shortly :+1:

Tagged: https://github.com/WyriHaximus/TwigView/releases/tag/3.3.0

No problem, it was my pleasure :)


Pledge controller code not consistent with behavior

Winds up being an ajax call in practice; currently assumes the result is a redirect

Tagging admin until I flesh this out

Not an active concern until we implement some kind of representation of multiple pledges from funds, which is its own big PITA. Closing for now.


Added descriptions to superres notebooks

Added descriptions with citation of the research paper. Also added NOTE about using raw images and not using compressed images like JPEG for the image notebook and NOTE about the SISR model not being ideal for video (with ask to suggest MISR models we should try).

Thanks Ryan! Could you also put this description in a README.md? It would be nice to add a bit more there, but since there is no README now it is nice to at least show something.
Let's see if people respond to your ask for suggestions! I would love to add a state of the art video resolution model. I do have a DCSCN notebook in development that I would like to try with an open source model. I'm also adding the caveat (for background) that superresolution tends to be not the kind of model where you just replace the path to the model file. But the complexity is also what makes it good for a demo.


fix(DDI-994): Change padding to 4px

Changed icon button padding to 4px for all button sizes.

:tada: This PR is included in version 4.0.0-alpha.74 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.115 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0-alpha.6 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.18 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


coloredlogs 14.0 for py10 (or noarch!)

Thanks for maintaining this.
It seems like this getting its py310 migration unblocked dagster-feedstock getting migrated...
https://github.com/conda-forge/dagster-feedstock/pull/169
...but it has a pin on an older version of coloredlogs...
https://github.com/conda-forge/dagster-feedstock/blob/1bc8a6dbdeba02f3e35733a2a732427e8f693181/recipe/meta.yaml#L189
Would it be possible to get a historical build of 14.0 which works with py310?
It looks like there's nothing too freaky going on, so maybe noarch forked off #21 would be the lightest touch.
Alternately, I could do a noarch PR to master, which might make the backport slightly simpler.
I'll work the upstream angle, as well.

Building at https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=422229&view=results

Thanks!