Using specialized signatures in relations breaks code with inheritance

Take the following adapted from lib.d.ts:
interface NodeList {
    // ...
}

interface NodeListOf<TNode extends Node> extends NodeList {
    // ...
}

interface Element {
    // ...
    getElementsByTagName(tagname: "a"): NodeListOf<HTMLAnchorElement>;
    getElementsByTagName(tagname: "p"): NodeListOf<HTMLParagraphElement>;
    getElementsByTagName(tagname: string): NodeList;
}

Now take a class that extends Element from some TypeScript 1.7 code:
class CustomElement implements Element {
    getElementsByTagName(tagname: string): NodeList {
        // ...
    }
}

This used to work because specialized signatures were ignored when it came to compatibility checking. However, it now fails because we try to see if the implementation is assignable to each of the overloads in Element - even the specialized ones.
@RyanCavanaugh and I had two ideas here:
My idea is that if the signatures in the base type come from overloads, then we should perform the same compatibility checking as we do for implementations against their overloads. I think this makes sense because you are providing an implementation for a series of overloads anyway, so this would be consistent in that respect.
Ryan's idea is that this code was already wrong from the get-go because it violates the substitution principle and breaks the contract that Element provided since CustomElement looses the overload signatures. We should not allow users to write this sort of code. I fully agree with this sentiment, but I think it displays shortcomings with how inheritance works today.

I think I agree with Ryan here. This seems like it was just wrong to begin with. The type of the getElementsByTagName property in Element is
{
    (tagname: "a"): NodeListOf<HTMLAnchorElement>;
    (tagname: "p"): NodeListOf<HTMLParagraphElement>;
    (tagname: string): NodeList;
}

Any override of that property must have an assignable type and (tagname: string) => NodeList isn't enough (because it doesn't promise to return more specific types for "a" and "p").
Absent any new rules or mechanisms you need to repeat the overloads in an override. That can be tedious, I agree, but I don't think the solution should be to violate the assignability requirement. Even if we let it slide by, you've now lost the specialized signatures and likely that wasn't what you wanted.
Perhaps we could consider some sort of automatic way it which you "inherit" the specialized signatures, but I don't have any good ideas as to how that would work.

So should we port over the specialized signature checks to 1.8, or will this become a break for just 2.0?

We'll need to document this.


Reverted backup for empty meshconfig

Description
This PR creates a backup in case of an empty meshconfig.
Notes for Reviewers
Currently, checks for an invalid meshconfig are being performed in GetMesheryCtl in config.go.  Once the move to a central struct takes place, the same location can have the backup function called.
Signed commits

[x] Yes, I signed my commits.

Codecov Report

Merging #3439 (234f1ec) into master (423d126) will decrease coverage by 1.67%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #3439      +/-   ##
==========================================
- Coverage   12.30%   10.62%   -1.68%
==========================================
  Files          37       37
  Lines        3162     3162
==========================================
- Hits          389      336      -53
- Misses       2690     2759      +69
+ Partials       83       67      -16

Flag
Coverage Δ

gointegrationtests
?

unittests
10.62% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

mesheryctl/internal/cli/root/config/config.go
0.92% <0.00%> (ø)

mesheryctl/pkg/utils/helpers.go
0.00% <0.00%> (ø)

mesheryctl/internal/cli/root/system/check.go
1.58% <0.00%> (-21.04%)
:arrow_down:

Continue to review full report at Codecov.

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


Add a sfizz_render client in-tree

This uses the fmidi library and its player, which adds a dependency on libev. The goal of having this client in-tree is to facilitate benchmarking of different versions.
@jpcima not sure I use your library right so check it :slightly_smiling_face:

This uses the fmidi library and its player, which adds a dependency on libev.

This is not true, it does not add a dependency on libev.
Only the example programs are dependent of the library, libev was moved out of the main library since a long time.
The library depends on boost and on fmt, and that's only for the description API which converts SMF to plain text.
I have around an edit of the library that can disable the above feature, such that it does not have external deps. Then it's a ~140K source code without recursive submodules.
https://github.com/jpcima/midiplay/tree/master/thirdparty/fmidi
https://github.com/jpcima/midiplay/blob/21c095fdf6b8326dc00608046e9ccf6f28b734a2/Makefile#L77

It seems I had to install libev to access the fmidi_player_XX interfaces? After some more reading it seems to be unneeded. There are these lines in the CMakeLists
find_library(ev_LIBRARY ev)
set(fmidi-player_BUILD FALSE)
if(ev_LIBRARY)
  set(fmidi-player_BUILD TRUE)
else()
  message(STATUS "libev is missing, NOT building library fmidi-player.")
endif()

It seems I had to install libev to access the fmidi_player_XX interfaces?

It's the example player that comes with as part of the library. (see programs/)

If we go with #201 can I close this one safely?

Yes, it's no problem to close this one.
It's based on the identical commit ref 6f39d4c.


slack: silence stdout spam

The Slack desktop app prints way too many messages to stdout which clog up the syslog / journald log.  This commit changes the wrapper for the app so that it passes --silent, disabling those verbose messages.
Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Looks similar to #213400, although this one takes a different approach.

Oh, indeed. I like that PR's approach better since it only affects the .desktop file. That solves the main problem, because the desktop environment usually pipes stdout of programs into journald, while if you run slack from a terminal or by some other method, the stdout spam shouldn't necessarily go to journald so it's less of an issue.
Closing in favor of #213400.


WebPushDemo

Demo project for browser push notification hub

Things to consider before you submit the PR:

[ ] Are tests passing locally?
[ ] Are the files formatted correctly?
[ ] Did you add unit tests?
[ ] Did you test your change with either the sample apps that are included in the repository or with a blank app that uses your change?

Description
A few sentences describing the overall goals of the pull request.
Related PRs or issues
List related PRs and other issues.
Misc
Add what's missing, notes on what you tested, additional thoughts or questions.

Adding Sample project for Azure Notification Hub Browser Push


remove ice and fire horse from spawning, type "DEFAULT"

not quite right - another I&F mob that has a goofy mob type enumeration. I just removed them from the biometweaker spawns completely.


DB Backups design

NOTE: this is a design issue and we need to gather opinions on this...
Initially i was thinking of backing up to a cloud storage.
Now i think it might be much smarter to do streaming backups from one instance to another.
Why ?

Because then we are designing for HA from the start. SO there is really no such thing as a backup.
If Master falls over, then slave is sitting there ready to go. Its just a matter of repointing the DNS or the Proxy ( which we dont use yet)
It will give use the ability to scale out and split reads to the slaves, and writes to the master.
Its really the start of a CDC system, because you want to have a source of the master and a sink of the slaves.
Uer dont need to standup a cloud bucket. They just need to standup 2 or more of the same thing which is always easier
DB Migrations. Will need to operate on all instances.. Needs consideration of how we surface this. The CLI currently i think has backups in it ?

How to do it ?
Badger support streaming backups. I think we use it at the moment, but not sure..
Config aspects

we dont have the concept of Master slave in the system, and so maybe we need to introduce  it.

Maybe considering MinIO for saving backups would be interesting ?
It's made out of Go
https://github.com/minio/minio

Maybe considering MinIO for saving backups would be interesting ?
It's made out of Go
https://github.com/minio/minio


Moved off of blanket #[macro_use] import for log

Removed global #[macro_use] import for log macros, instead local imports are now used

Checks are failing due to network errors

GitHub is showing this as 'cannot be rebased due to conflicts', can you look into that?


Adds swap scaffold

Fixes brave/brave-browser#14383.
Adding a swap scaffold. Redux store and endpoint functionality to be implemented.

npm t passes tests, js-lint, and style-lint

Thanks Jason. It was originally a hack day project for an intern. The UI will need some work above. cc @jamesmudgett for if he can help with UI mockups.
cc @Genysys too

Thanks Brian. I originally had a question on the issue as it read like an interview challenge etc. Fun to do nonetheless.
Can adjust ui with mockup. Also used icon already existing but can swap based on @jamesmudgett input.
👍

Closing this in favour of https://github.com/brave/ethereum-remote-client/pull/242. Thanks for your contribution nonetheless!


Publish to Pypi

Should be the final issue to close.
After everything looks good, publish the package to pypi.

publish to test.pypi and verify that install works in a fresh directory
publish to real pypi!

depends on all other issues


Fix Eager Mode execution for Gradient Explainer

tf.executing_eagerly() checks whether eager mode is active and enables users with Tensorflow version <2 to also use the GradientExplainer.

Thanks!


Added show/hide API to store.dispatch(), fixed multiple bugs

Features:

Added show/hide API to store.dispatch()
Better naming for translations between Liquibase dialects

Fix:

Table position rounded to 4 decimal places
Export with correct string trimming
When loading old snapshot, id's are now the same as before
Diff is correctly shown in nested tables

I just wanted to quickly add a pull request with latest fixes, so we don't have big conflicts when you add some new stuff.


Failed install percona 5.7 if data directory already mounted

Hello,
if we mount a directory /var/lib/mysql from some device, we have into it directory lost+found.
During the install process of percona 5.7, it is check clean directory, or not. At this time directory /var/lib/mysql/ already contain directory lost+found and installation process failing.
As resolution we can remove this directory before package installation with notification timer :before.

I think it is percona bug, not a cookbook.
But we can to rm this dir before install server package.
Unfortunately, i don't have any logs at the moment, but my wrapper was rewritten.


_posts/0000-01-02-mconway510.md

this pull requests adds a-m-c's to the _posts folder.

changed file name per instructions


Display a link to the changes included in a module version (perhaps GitHub commits)

Requested by Adam Lewis

Listing the commits could be automated, but the result might be low quality. I harp on my devs to use good commit messages, but even when they are good, the messages are often expressed in terms only a developer would love. I write ChangeLog entries for each release and they are often vastly shorter and a good bit different from the list of commits since the previous release.


with_deleted unscopes everything when joining through multiple associations

We have Subscriptions, Products, Prices, and AddOns.
class Payments::Subscription < ApplicationRecord
  has_many :subscription_addons,
    class_name: "Payments::SubscriptionAddon", inverse_of: :subscription, dependent: :destroy

  has_many :addons, class_name: "Payments::Product", through: :subscription_addons, source: :product
end

class Payments::SubscriptionAddon < ApplicationRecord
  belongs_to :price, -> { with_deleted },
    class_name: "Payments::Price", inverse_of: :subscription_addons

  has_one :product, class_name: "Payments::Product", through: :price
end

class Payments::Price < ApplicationRecord
  belongs_to :product, -> { with_deleted },
    class_name: "Payments::Product", inverse_of: :prices
end

When I access @subscription.subscription_addons everything is great and it returns only SubscriptionAddons where deleted_at is null.
But when I need to access @subscription.addons, the response also includes Products joined through already deleted SubscriptionAddons. In other words with_deleted that I apply to belongs_to :product/:price also applies to has_many :subscription_addons even thought it wasn't explicitly declared there. Basically, it unscopes where(::deleted_at) where it shouldn't.

I just encountered this as well. @heaven were you able to find a workaround?

@mvz could this be related to https://github.com/ActsAsParanoid/acts_as_paranoid/pull/277 ?


Avoid copy.deepcopy (restriction in FEniCS)

A lot of models we practically wish to calibrate with probeye are developed in FEniCS, as it is the main simulation tool in our group. In FEniCS there is a restriction: we cannot deepcopy a FEniCS function, which is very often used in a simulator. Nevertheless, in probeye there are currently some places where the inference problem and its ingredients (mainly the forward model/simulator) are subjected to 'deepcopy'. This obviously raises failing errors as soon as there is any FEniCS function as attribute of the forward model we sub-class from probeye.ForwardModelBase. This (having FEniCS function as attribute of FW model) can certainly be avoided in simple examples of FW models, however, I find this as a major restriction in developing more involved FW models that we are going to sub-class from probeye.ForwardModelBase .
I am not sure which reasons are considered for making deepcopy of the inference problem in probeye. Maybe it has been a safe way of passing the same problem to several solvers. If so, perhaps a better approach instead of making deepcopy would be to introduce methods like 'reset_problem', such that the problem and particularly the forward simulator behind it can be returned to their original default state. Maybe this method can be considered as a must attribute of any forward simulator that a user is going to calibrate by probeye.
Edit:
Still a simple default method for such 'reset_problem' routine could be just making a deepcopy. The user can optionally provides/overwrites their own choice.
Edit-2:
There exist in total three of such copy.deepcopy operations in probeye:
https://github.com/BAMresearch/probeye/blob/41cf7aeda650f7b2a9d3e96e46cdbedd771835f9/probeye/definition/experiment.py#L40
https://github.com/BAMresearch/probeye/blob/41cf7aeda650f7b2a9d3e96e46cdbedd771835f9/probeye/inference/solver.py#L34
https://github.com/BAMresearch/probeye/blob/41cf7aeda650f7b2a9d3e96e46cdbedd771835f9/probeye/subroutines.py#L1295
The first one is OK, as it regards to the data, which is in standard python formats like array, float, int, etc. However, the other two cases raise errors.

Did you check, what exactly is internally changed when the problem is passed to a solver (resulting in problems when passing it to multiple solvers)?

I just checked it, the problem is in the function _translate_forward_models SciPy's solver:
https://github.com/BAMresearch/probeye/blob/41cf7aeda650f7b2a9d3e96e46cdbedd771835f9/probeye/inference/scipy/solver.py#L78-L109
The other solvers currently inherit from the SciPy's, therefore they behave in the same way.
When an inverse problem is initialized, the forward model is added as an instance of ForwardModelHull class, that inherits from the derived ForwardModelClass (e.g DerivedModelClass). When the previous function is called in the solver, a DerivedModelClass is instantiated and in the last line it substitutes the ForwardModelHull class.
https://github.com/BAMresearch/probeye/blob/41cf7aeda650f7b2a9d3e96e46cdbedd771835f9/probeye/inference/scipy/solver.py#L109
This is possible because in lines 88-89 the function sees that the base class from the ForwardModelHull object is DerivedModelClass:
https://github.com/BAMresearch/probeye/blob/41cf7aeda650f7b2a9d3e96e46cdbedd771835f9/probeye/inference/scipy/solver.py#L88-L89
However, once the function is called, the forward model remains as the instance of DerivedModelClass. Here it is where deepcopy is required. At the solver level, a deepcopy of the initial problem is created (i.e. the one with a ForwardModelHull instance as forward model), therefore the original problem is not modified when the previous functions are called. In that case, every solver starts with a ForwardModelHull instance as forward model. Without the deepcopy, all the solvers share the same original problem. Only the first one will see a ForwardModelHull instance as forward model, while the others will see a DerivedModelClass. When calling forward_model_hull.__class__.__bases__[0]() they will generate a ForwardModelBase instance instead of a DerivedModelClass one. This leads to NotImplementedError: No 'interface'-method defined for forward model.
A possible solution would be having different variables for the list of forward models and for their hulls in the solver level instead of overwriting the hull with the new model. I am not sure this is a good alternative, as it would mean to effectively copy the model in memory twice (plus one extra for each new solver), which can become problematic for large ones. Nevertheless, this would not prevent new issues to arise due to the manipulation of the problem.

Not sure of the proposed option would work, since even then you would need the deep copy to create the forward model.

To my experience, rebuilding FW model should be OK, as the time needed for it is too small compared to solution phases. Removing deepcopy is also a simple work-around which has so far worked for me (with no error). Though, I am not sure how to approve this change in the whole library, because by removing 'deepcopy' quite many of the tests are failing.

As I've mentioned, it is not sufficient to remove the deepcopy, but to perform the additional initialization only for the first conversion.

I just briefly looked at the problem, but I think the first two deepcopy appearances
https://github.com/BAMresearch/probeye/blob/41cf7aeda650f7b2a9d3e96e46cdbedd771835f9/probeye/definition/experiment.py#L40
and also
https://github.com/BAMresearch/probeye/blob/41cf7aeda650f7b2a9d3e96e46cdbedd771835f9/probeye/inference/solver.py#L34
should not result in errors. In the first instance, deepcopy only applies on data as Abbas already pointed out. But also in the second appearance the deepcopy  should only apply on problem-objects that only have the forward model hulls, and not the full forward models.
As I see it, the problem is triggered by the third deepcopy appearance
https://github.com/BAMresearch/probeye/blob/41cf7aeda650f7b2a9d3e96e46cdbedd771835f9/probeye/subroutines.py#L1295
and its use in the _translate_forward_models method. Maybe try to replace that third deepcopy appearance by a simple copy and keep the other two  deepcopys. All the tests pass when this is done.


[API-1894] Core dump on crash feature has implemented for windows job.

Core dump on crash feature has implemented for windows job.

Linux test PASSed.

Windows test PASSed.


Support nypm run command

Describe the feature
Will the following commands be supported?
like nypm run build, nypm run test
Additional information

[ ] Would you be willing to help implement this feature?

I'll migrate my project to nypm once the run command is supported. For now I'm using yarpm.

We can support it but wondering why not using npm run since this will just work as well even if node_modules/.bin is initialized with any other package manager.

Linking to https://github.com/nuxt/cli/pull/494. There might be good purpose of run utility (mainly for programmatic usage)


failed to provision volume, no node was specified

Describe the bug: failed to provision volume, no node was specified
Expected behaviour: provision works
Steps to reproduce the bug:
Using https://openebs.github.io/openebs (openebs)
Following values:
          engines:
            replicated:
              mayastor:
                enabled: false
            local:
              lvm:
                enabled: false
              zfs:
                enabled: false

          localpv-provisioner:
            enabled: true
            analytics:
              enabled: false

          lvm-localpv:
            enabled: false

          mayastor:
            enabled: false

          zfs-localpv:
            enabled: false

          openebs-crds:
            csi:
              volumeSnapshots:
                enabled: false
                keep: false

Storage class
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: hostpath-vm
  annotations:
    storageclass.kubernetes.io/is-default-class: "true"
    openebs.io/cas-type: local
    cas.openebs.io/config: |
      - name: StorageType
        value: "hostpath"
      - name: BasePath
        value: "/var/openebs/local"
provisioner: openebs.io/local
volumeBindingMode: Immediate
reclaimPolicy: Delete

pvc
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  annotations:
    cdi.kubevirt.io/createdForDataVolume: d5113330-83f5-491c-acad-feb543242fdd
    cdi.kubevirt.io/storage.contentType: kubevirt
    cdi.kubevirt.io/storage.import.endpoint: https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img
    cdi.kubevirt.io/storage.import.source: http
    cdi.kubevirt.io/storage.pod.restarts: "0"
    cdi.kubevirt.io/storage.preallocation.requested: "false"
    cdi.kubevirt.io/storage.usePopulator: "false"
    volume.beta.kubernetes.io/storage-provisioner: openebs.io/local
    volume.kubernetes.io/storage-provisioner: openebs.io/local
  finalizers:
  - kubernetes.io/pvc-protection
  labels:
    alerts.k8s.io/KubePersistentVolumeFillingUp: disabled
    app: containerized-data-importer
    app.kubernetes.io/component: storage
    app.kubernetes.io/managed-by: cdi-controller
  name: vm-ubuntu-datavolume
  namespace: vm
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 8Gi
  storageClassName: hostpath-vm
  volumeMode: Filesystem
status:
  phase: Pending

The output of the following commands will help us better understand what's going on:
I get the following error/event:
Type: Warning
Reason: ProvisioningFailed
From: openebs.io/local_openebs-localpv-provisioner-6947fc6f65-gct92_6b42f8f6-4f8b-4270-9a8f-afcab507adbc
Message: failed to provision volume with StorageClass "hostpath-vm": configuration error, no node was specified

provisioner logs:
I0523 00:20:41.062099       1 controller.go:1366] provision "vm/vm-ubuntu-datavolume" class "hostpath-vm": started
W0523 00:20:41.062319       1 controller.go:937] Retrying syncing claim "6accb10c-577c-4c05-9cb0-b9399215ff77" because failures 2 < threshold 15
E0523 00:20:41.062399       1 controller.go:957] error syncing claim "6accb10c-577c-4c05-9cb0-b9399215ff77": failed to provision volume with StorageClass "hostpath-vm": configuration error, no node was specified

kubectl get pods -n <openebs_namespace> --show-labels

NAME                                           READY   STATUS    RESTARTS        AGE   LABELS
openebs-localpv-provisioner-6947fc6f65-gct92   1/1     Running   1 (2m53s ago)   28m   app=localpv-provisioner,chart=localpv-provisioner-4.0.0,component=localpv-provisioner,heritage=Helm,name=openebs-localpv-provisioner,openebs.io/component-name=openebs-localpv-provisioner,openebs.io/version=4.0.0,pod-template-hash=6947fc6f65,release=openebs

Anything else we need to know?:
Using KubeVirt CDI.
And Virtink.
Environment details:

OpenEBS version (use kubectl get po -n openebs --show-labels): 4.0.0
Kubernetes version (use kubectl version): v1.30.1 / v1.29.4+k0s
Cloud provider or hardware configuration: Intel Nuc
OS (e.g: cat /etc/os-release): Alpine Linux v3.19
kernel (e.g: uname -a): Linux nuc-k8s.local 6.6.30-0-lts #1-Alpine SMP PREEMPT_DYNAMIC Mon, 06 May 2024 07:55:42 +0000 x86_64 Linux

@Raboo the hostpath provisioner needs to use delayed binding (i.e. volumeBindingMode: WaitForFirstConsumer). The volume creation begins when you create the application pod. The name of the Node where the Pod has been scheduled needs to determined before the volume creation can begin for that node.
volumeBindingMode: Immediate is not supported. This is documented briefly on the quickstart.md file.

@Raboo -- closing this issue. Please re-open if the issue is still current.


[Monitor] pylint issues fixed

Fixes #24040

API change check for azure-monitor-query
API changes are not detected in this pull request for azure-monitor-query


[BUG]: Set variable is not working as expected

Task name
bash
Task version
No response
Environment type (Please select at least one enviroment where you face this issue)

[ ] Self-Hosted
[X] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows-2019, ubuntu
Task log
- bash: |
              branchname="$(Build.SourceBranchName)"
              echo "Before $branchname"
              echo "##vso[task.setvariable variable=branch_name1;]$(branchname)"
              echo "##vso[task.setvariable variable=branch_name2;]${Build.SourceBranchName}"
              echo "##vso[task.setvariable variable=branch_name3;]$(Build.SourceBranchName)"
              echo "##vso[task.setvariable variable=branch_name4;]main"
              echo "Branch Name is $(branch_name1) or $(branch_name2) and $(branch_name3) and $(branch_name4)"

Relevant log output
Before main
/d/a/_temp/597f0672-8496-45dd-a472-4042305be516.sh: line 7: branch_name1: command not found
/d/a/_temp/597f0672-8496-45dd-a472-4042305be516.sh: line 7: branch_name2: command not found
/d/a/_temp/597f0672-8496-45dd-a472-4042305be516.sh: line 7: branch_name3: command not found
/d/a/_temp/597f0672-8496-45dd-a472-4042305be516.sh: line 7: branch_name4: command not found
Branch Name is or and and

Aditional info
Nothing is printing as part of the set variable.
Expected output is to print the "main" for all the set variables.

### Tasks

Documentation mentions that only following tasks have access to variable

When you add a variable with task.setvariable, the following tasks can use the variable using macro syntax $(myVar)

I'm closing this issue - feel free to ask any other questions or let us know if it's still relevant for you.

bash: |
echo "##vso[task.setvariable variable=branch_name4;]main",

This also not working, which was working previously.

I too got the proper value now. ( If I use another task to echo )
Only thing is if we echo the in the same bash , it do not print and give error message.
Ex:
pool:
vmImage: 'ubuntu-latest'
jobs:

job:
displayName: Set and print variable
steps:

bash: |
echo "##vso[task.setvariable variable=branch_name4;]main"
"echo $(branch_name4)"
echo "$(branch_name4)"

The agent can not extract variables from the output and declare them in one task.
From documentation:

When you use PowerShell and Bash scripts in your pipelines, it's often useful to be able to set variables that you can then use in future tasks. Newly set variables aren't available in the same task.

Thank You for your support and guidance.


partition_num从1改为15后，批量检索返回结果顺序和精确度错误

测试场景： Masters
检索结果.txt
：3； Routers：3； PS：15
CASE1:
表结构：1个分区，3个副本，
查询条件：1个特征向量A。
返回结果：按score倒叙排序，最高分0.94587242603302， 最低分0.8095707297325134
CASE2:
表结构：1个分区，3个副本，
查询条件：100个特征向量查询，[A, B, C....]。
返回结果：返回的100个结果集里，第一组的结果同CASE1相同，按score倒叙排序，最高分0.94587242603302， 最低分0.8095707297325134
CASE3:
表结构：15个分区，3个副本，
查询条件：1个特征向量A。
返回结果：按score倒叙排序，最高分0.945
检索结果.txt
87242603302， 最低分0.8095707297325134
CASE4:
表结构：15个分区，3个副本，
查询条件：100个特征向量查询，[A, B, C....]。
返回结果：返回的100个结果集里，第一组的结果没有按score倒叙排序，是乱序的，最高分0.94587242603302，没有出现在结果集里， 且出现了0.7944397330284119，0.796241819858551等结果。
还有一种情况：每次批量检索，参数里向量个数越少，精确度越高，但是仍然会有较大误差。

_msearch批量搜索router排序存在bug，导致批量搜索排序不准，bug已经修复，但未上传到GitHub，你可以先使用单条搜索。

_msearch批量搜索router排序存在bug，导致批量搜索排序不准，bug已经修复，但未上传到GitHub，你可以先使用单条搜索。

我们使用的不是_msearch, 而是_bulk_search，但是参数中指定多个向量进行query

_msearch批量搜索router排序存在bug，导致批量搜索排序不准，bug已经修复，但未上传到GitHub，你可以先使用单条搜索。

您好，我们用的是_bulk_search。_msearch多个向量检索发现也有问题，就是如果是50或者100个向量批量检索，返回结果是空的，当把向量个数缩减到个位数进行批量检索时，发现返回的结果是混合到一块的，一个大数组，每个向量对应的topN结果如何进行区分呢？

@jayxqt _msearch批量100搜索之前没发现返回结果为空的情况，我测试一下。返回的结果是混合到一块的，麻烦你把返回结果发一下。

@jayxqt _msearch批量100搜索之前没发现返回结果为空的情况，我测试一下。返回的结果是混合到一块的，麻烦你把返回结果发一下。
您好，_msearch批量请求参数及结果见附件。现在是2个以上向量批量才会有结果，还是我的请求方式有问题呢？另一个问题是对于混合到一块的结果，怎么区分哪个结果对应的是哪个向量对应的呢？
检索参数.txt

@jayxqt 1、我这边测试批量搜索100条有返回结果，使用master代码。
2、搜索结果对应关系如下，对应明确。
{"took":38,"results":[{"took":38,"timed_out":false,"_shards":{"total":1,"successful":1},"hits":{"total":5,"max_score":65697,"hits":[{"_index":"ts_db","_type":"ts_space","_id":"2544161587003770583","_score":54229,"_extra":{"vector_result":[{"field":"feature","source":"","score":54229}]},"_source":{"feature":{"feature":[20,5,8,54,46,26,15,2,68,41,11,44,27,25,32,53,18,13,0,0,23,58,47,57,17,0,0,6,10,10,10,61,2,1,2,8,104,111,44,10,3,0,0,18,84,113,115,55,60,5,0,4,11,63,115,115,78,13,0,9,11,19,49,106,1,0,0,15,75,31,71,38,1,1,7,85,115,12,8,6,115,37,37,49,19,2,12,32,115,31,1,61,50,9,16,23,21,4,4,43,32,1,13,19,53,23,45,81,8,1,1,12,41,38,76,46,8,3,2,16,40,12,3,5,25,15,41,17],"source":""},"img_url":"932085"}},{"_index":"ts_db","_type":"ts_space","_id":"-6356552829313639431","_score":55091,"_extra":{"vector_result":[{"score":55091,"field":"feature","source":""}]},"_source":{"feature":{"feature":[12,3,3,47,37,44,25,0,53,18,4,43,27,48,60,60,14,5,0,0,17,76,103,65,20,0,0,0,2,14,27,90,1,0,0,10,108,83,53,13,0,0,0,29,110,96,84,21,70,5,0,22,16,39,110,98,110,24,6,16,15,13,38,72,4,0,0,30,54,26,77,35,11,3,22,98,73,6,12,14,97,41,80,78,13,0,1,10,110,34,11,29,38,8,18,28,17,3,19,71,25,4,4,10,95,28,52,69,7,0,1,15,23,21,63,71,28,4,2,21,17,8,11,6,15,15,30,20],"source":""},"img_url":"934876"}},{"_index":"ts_db","_type":"ts_space","_id":"4472603141551351495","_score":59531,"_extra":{"vector_result":[{"field":"feature","source":"","score":59531}]},"_source":{"feature":{"feature":[0,3,19,38,6,25,20,0,0,29,36,6,2,37,67,0,3,15,11,0,0,17,108,23,4,1,0,0,0,3,21,22,0,0,0,34,96,74,60,2,0,0,2,32,22,102,127,0,72,0,0,1,0,34,127,100,119,12,0,0,0,0,7,54,12,0,7,78,49,18,14,23,4,0,65,127,19,12,16,10,127,32,40,109,3,3,9,36,127,36,1,0,3,8,0,10,20,1,3,17,33,10,12,35,68,25,33,94,7,2,8,45,20,56,127,104,0,0,0,0,38,46,21,2,9,8,0,0],"source":""},"img_url":"561813"}},{"_index":"ts_db","_type":"ts_space","_id":"6660992439098782389","_score":65260,"_extra":{"vector_result":[{"field":"feature","source":"","score":65260}]},"_source":{"feature":{"feature":[7,14,24,43,9,17,5,5,8,12,37,11,1,55,67,8,19,11,10,1,0,50,119,22,3,4,0,0,0,14,60,36,6,0,0,13,28,114,90,23,0,0,0,8,79,119,119,16,63,2,0,1,3,30,119,119,89,28,9,0,0,0,12,62,40,13,30,11,40,13,30,59,0,8,38,119,119,18,6,3,119,29,4,39,15,1,5,35,119,31,0,2,0,4,9,35,11,24,39,5,7,6,2,4,13,20,51,89,74,5,9,7,57,99,52,61,44,0,0,0,47,45,6,3,10,6,18,6],"source":""},"img_url":"708177"}},{"_index":"ts_db","_type":"ts_space","_id":"44557300978094305","_score":65697,"_extra":{"vector_result":[{"field":"feature","source":"","score":65697}]},"_source":{"feature":{"feature":[7,5,13,43,12,26,9,3,8,10,22,6,3,86,80,5,11,4,4,0,0,52,116,24,12,5,1,0,0,6,45,43,11,0,0,8,29,101,101,28,0,0,0,16,104,116,100,13,82,3,0,2,7,27,116,116,106,25,6,0,0,0,5,59,41,23,30,10,27,8,21,67,1,10,39,116,116,10,2,9,116,25,7,53,21,0,1,29,116,24,2,0,3,4,10,37,29,23,35,5,4,7,0,4,21,21,39,79,60,13,1,11,53,86,55,65,60,2,0,0,49,45,6,4,8,5,13,6],"source":""},"img_url":"706771"}}]}},{"took":38,"timed_out":false,"_shards":{"total":1,"successful":1},"hits":{"total":5,"max_score":55586,"hits":[{"_index":"ts_db","_type":"ts_space","_id":"1722493096301847666","_score":51187,"_extra":{"vector_result":[{"field":"feature","source":"","score":51187}]},"_source":{"feature":{"feature":[99,28,0,0,13,22,3,5,8,0,0,0,36,109,74,31,3,0,0,0,1,19,116,80,0,0,0,0,2,42,67,11,96,17,1,0,74,27,5,34,1,0,1,15,119,116,55,47,47,5,2,5,6,12,109,119,12,1,0,3,23,41,42,29,68,17,4,12,61,7,4,39,1,6,26,119,119,10,2,6,87,106,52,35,6,1,1,21,23,23,25,59,14,9,1,2,64,9,4,19,14,0,0,18,1,17,107,86,26,0,0,0,10,76,119,24,0,0,0,0,9,20,27,50,4,0,0,0],"source":""},"img_url":"413247"}},{"_index":"ts_db","_type":"ts_space","_id":"-1251245918509159382","_score":52570,"_extra":{"vector_result":[{"score":52570,"field":"feature","source":""}]},"_source":{"feature":{"feature":[97,40,0,0,9,18,3,5,12,2,0,0,30,119,68,25,6,0,0,0,1,14,108,92,0,0,0,0,4,41,67,13,92,19,1,0,64,29,5,33,1,0,1,14,119,119,54,41,41,6,2,6,8,11,118,119,14,1,0,1,16,44,53,35,59,19,9,14,60,9,5,29,0,4,33,116,119,13,3,4,68,115,64,33,7,0,2,22,24,30,25,52,12,11,2,3,49,8,6,22,13,0,0,14,1,21,119,81,20,0,0,0,6,71,119,32,1,0,0,0,8,22,27,49,6,0,0,0],"source":""},"img_url":"413071"}},{"_index":"ts_db","_type":"ts_space","_id":"5702821961197971632","_score":54813,"_extra":{"vector_result":[{"source":"","score":54813,"field":"feature"}]},"_source":{"feature":{"feature":[43,22,3,2,55,38,3,3,30,2,2,0,16,65,71,71,23,2,1,3,34,79,110,82,31,11,1,0,23,58,21,14,37,12,2,25,81,59,11,40,7,0,1,41,110,98,61,34,81,7,3,0,0,30,90,100,32,33,7,0,0,24,56,27,69,10,9,30,45,8,4,80,24,16,39,110,110,8,1,8,77,110,63,6,2,7,4,23,22,110,96,10,0,7,13,5,45,43,23,5,7,2,14,16,16,17,80,79,29,9,40,10,17,107,75,4,0,10,42,9,15,28,19,10,0,13,39,4],"source":""},"img_url":"706838"}},{"_index":"ts_db","_type":"ts_space","_id":"-3877744471968141523","_score":54987,"_extra":{"vector_result":[{"field":"feature","source":"","score":54987}]},"_source":{"feature":{"feature":[21,18,3,2,18,14,4,10,0,4,1,0,15,63,101,7,46,10,1,0,1,20,112,37,43,38,15,1,3,35,16,10,97,6,0,3,71,61,11,56,5,0,2,36,112,112,59,12,112,3,0,4,5,15,67,112,68,10,10,5,7,112,61,51,89,28,15,33,30,24,6,21,1,13,55,85,112,31,0,1,77,104,70,8,14,1,1,35,53,69,24,16,8,5,4,16,48,42,9,38,18,0,0,0,0,43,95,75,37,2,0,0,2,78,112,8,0,0,0,0,4,67,19,4,5,0,0,0],"source":""},"img_url":"880592"}},{"_index":"ts_db","_type":"ts_space","_id":"3509145557095048021","_score":55586,"_extra":{"vector_result":[{"score":55586,"field":"feature","source":""}]},"_source":{"feature":{"feature":[22,27,10,1,7,19,1,4,10,22,9,1,9,89,104,16,11,0,0,0,0,17,118,55,1,0,1,6,23,70,70,3,47,2,0,4,71,67,12,34,3,0,0,12,118,118,106,16,57,1,0,0,0,7,118,105,70,20,6,20,15,10,34,25,56,8,1,26,51,16,6,21,8,11,25,118,118,13,5,6,73,118,41,10,7,1,4,40,89,41,3,2,1,0,0,23,41,15,3,3,5,7,10,17,20,18,113,99,36,0,0,7,1,89,118,36,12,0,0,0,7,11,7,14,10,0,0,3],"source":""},"img_url":"249062"}}]}},{"took":38,"timed_out":false,"_shards":{"total":1,"successful":1},"hits":{"total":5,"max_score":34698,"hits":[{"_index":"ts_db","_type":"ts_space","_id":"3043082872415894972","_score":30792,"_extra":{"vector_result":[{"field":"feature","source":"","score":30792}]},"_source":{"feature":{"feature":[27,31,3,0,6,4,8,16,22,58,116,1,0,0,0,7,6,5,134,16,0,0,2,12,0,2,53,11,0,0,2,11,134,44,11,0,0,0,4,36,134,90,134,2,0,0,0,32,4,14,134,37,0,0,0,2,0,1,134,64,0,0,0,0,112,69,27,0,0,0,0,21,134,24,7,0,1,3,18,116,10,5,9,0,1,6,112,57,0,0,17,6,0,7,74,15,33,67,55,0,0,0,0,10,56,46,28,5,21,6,9,21,1,0,0,14,47,21,91,27,1,0,0,0,0,4,95,31],"source":""},"img_url":"669835"}},{"_index":"ts_db","_type":"ts_space","_id":"-6352869573466658192","_score":31091,"_extra":{"vector_result":[{"field":"feature","source":"","score":31091}]},"_source":{"feature":{"feature":[15,9,13,3,9,14,12,6,13,27,119,20,3,6,29,31,1,35,111,20,9,23,15,13,1,10,56,21,0,0,1,3,131,15,9,0,4,20,8,50,131,97,131,22,0,0,7,40,7,32,131,85,1,0,9,9,0,14,131,78,20,4,4,0,131,24,2,1,1,4,4,27,131,14,1,1,0,4,23,77,15,9,18,8,5,45,124,35,0,0,7,35,52,40,108,8,35,111,5,0,0,0,0,2,78,50,0,0,0,8,21,37,0,1,0,5,13,41,30,3,0,0,1,17,8,10,24,3],"source":""},"img_url":"408764"}},{"_index":"ts_db","_type":"ts_space","_id":"113206988234493811","_score":33608,"_extra":{"vector_result":[{"field":"feature","source":"","score":33608}]},"_source":{"feature":{"feature":[22,12,14,2,2,14,11,9,15,28,129,27,1,3,18,26,2,27,129,28,6,22,16,14,1,6,65,25,0,1,2,1,129,13,4,0,1,13,8,48,129,81,129,21,0,1,10,38,11,18,129,92,1,1,16,16,0,4,129,92,19,5,6,1,129,65,6,1,0,0,1,16,129,22,0,0,0,8,23,68,13,1,11,4,5,45,129,32,0,0,5,25,43,34,117,8,21,109,9,0,0,0,2,5,40,35,0,0,0,7,27,36,1,3,1,5,8,31,27,2,0,0,1,16,10,8,19,2],"source":""},"img_url":"408462"}},{"_index":"ts_db","_type":"ts_space","_id":"5691018547153047156","_score":34104,"_extra":{"vector_result":[{"source":"","score":34104,"field":"feature"}]},"_source":{"feature":{"feature":[13,8,7,3,5,15,12,4,8,20,106,29,2,3,19,22,1,34,118,12,3,15,40,33,0,17,60,15,4,8,1,1,109,14,3,0,0,11,9,45,137,119,137,12,0,0,3,30,11,51,137,72,1,2,7,5,1,9,137,72,1,0,0,0,137,11,0,0,0,1,2,22,137,14,1,0,0,1,16,58,39,8,19,7,1,13,65,49,5,3,46,17,6,20,112,18,39,90,5,0,0,0,0,1,131,55,1,0,0,3,8,41,4,0,0,0,4,38,43,12,0,0,0,6,9,31,48,2],"source":""},"img_url":"408855"}},{"_index":"ts_db","_type":"ts_space","_id":"-5988239182349490008","_score":34698,"_extra":{"vector_result":[{"score":34698,"field":"feature","source":""}]},"_source":{"feature":{"feature":[20,18,9,13,9,5,12,20,16,67,133,16,2,0,1,4,0,30,133,8,0,0,12,9,5,24,109,1,0,0,5,8,133,28,3,0,23,13,4,49,133,65,122,5,0,0,0,70,4,9,133,34,0,0,0,0,0,20,124,23,11,1,0,0,133,48,6,0,4,4,0,7,133,22,0,0,1,14,44,64,10,0,6,1,0,19,133,27,0,0,10,8,7,0,51,43,51,23,67,16,1,0,0,2,84,9,5,8,27,32,35,29,29,7,0,5,15,26,93,41,5,3,0,0,0,9,48,59],"source":""},"img_url":"551661"}}]}}]}

@yu-hailong 你可以测试一下，观察一下搜索结果得分排序是否正确。最近修复了一个bulk_search的一个bug.

@jayxqt 1、我这边测试批量搜索100条有返回结果，使用master代码。
2、搜索结果对应关系如下，对应明确。
{"took":38,"results":[{"took":38,"timed_out":false,"_shards":{"total":1,"successful":1},"hits":{"total":5,"max_score":65697,"hits":[{"_index":"ts_db","_type":"ts_space","_id":"2544161587003770583","_score":54229,"_extra":{"vector_result":[{"field":"feature","source":"","score":54229}]},"_source":{"feature":{"feature":[20,5,8,54,46,26,15,2,68,41,11,44,27,25,32,53,18,13,0,0,23,58,47,57,17,0,0,6,10,10,10,61,2,1,2,8,104,111,44,10,3,0,0,18,84,113,115,55,60,5,0,4,11,63,115,115,78,13,0,9,11,19,49,106,1,0,0,15,75,31,71,38,1,1,7,85,115,12,8,6,115,37,37,49,19,2,12,32,115,31,1,61,50,9,16,23,21,4,4,43,32,1,13,19,53,23,45,81,8,1,1,12,41,38,76,46,8,3,2,16,40,12,3,5,25,15,41,17],"source":""},"img_url":"932085"}},{"_index":"ts_db","_type":"ts_space","_id":"-6356552829313639431","_score":55091,"_extra":{"vector_result":[{"score":55091,"field":"feature","source":""}]},"_source":{"feature":{"feature":[12,3,3,47,37,44,25,0,53,18,4,43,27,48,60,60,14,5,0,0,17,76,103,65,20,0,0,0,2,14,27,90,1,0,0,10,108,83,53,13,0,0,0,29,110,96,84,21,70,5,0,22,16,39,110,98,110,24,6,16,15,13,38,72,4,0,0,30,54,26,77,35,11,3,22,98,73,6,12,14,97,41,80,78,13,0,1,10,110,34,11,29,38,8,18,28,17,3,19,71,25,4,4,10,95,28,52,69,7,0,1,15,23,21,63,71,28,4,2,21,17,8,11,6,15,15,30,20],"source":""},"img_url":"934876"}},{"_index":"ts_db","_type":"ts_space","_id":"4472603141551351495","_score":59531,"_extra":{"vector_result":[{"field":"feature","source":"","score":59531}]},"_source":{"feature":{"feature":[0,3,19,38,6,25,20,0,0,29,36,6,2,37,67,0,3,15,11,0,0,17,108,23,4,1,0,0,0,3,21,22,0,0,0,34,96,74,60,2,0,0,2,32,22,102,127,0,72,0,0,1,0,34,127,100,119,12,0,0,0,0,7,54,12,0,7,78,49,18,14,23,4,0,65,127,19,12,16,10,127,32,40,109,3,3,9,36,127,36,1,0,3,8,0,10,20,1,3,17,33,10,12,35,68,25,33,94,7,2,8,45,20,56,127,104,0,0,0,0,38,46,21,2,9,8,0,0],"source":""},"img_url":"561813"}},{"_index":"ts_db","_type":"ts_space","_id":"6660992439098782389","_score":65260,"_extra":{"vector_result":[{"field":"feature","source":"","score":65260}]},"_source":{"feature":{"feature":[7,14,24,43,9,17,5,5,8,12,37,11,1,55,67,8,19,11,10,1,0,50,119,22,3,4,0,0,0,14,60,36,6,0,0,13,28,114,90,23,0,0,0,8,79,119,119,16,63,2,0,1,3,30,119,119,89,28,9,0,0,0,12,62,40,13,30,11,40,13,30,59,0,8,38,119,119,18,6,3,119,29,4,39,15,1,5,35,119,31,0,2,0,4,9,35,11,24,39,5,7,6,2,4,13,20,51,89,74,5,9,7,57,99,52,61,44,0,0,0,47,45,6,3,10,6,18,6],"source":""},"img_url":"708177"}},{"_index":"ts_db","_type":"ts_space","_id":"44557300978094305","_score":65697,"_extra":{"vector_result":[{"field":"feature","source":"","score":65697}]},"_source":{"feature":{"feature":[7,5,13,43,12,26,9,3,8,10,22,6,3,86,80,5,11,4,4,0,0,52,116,24,12,5,1,0,0,6,45,43,11,0,0,8,29,101,101,28,0,0,0,16,104,116,100,13,82,3,0,2,7,27,116,116,106,25,6,0,0,0,5,59,41,23,30,10,27,8,21,67,1,10,39,116,116,10,2,9,116,25,7,53,21,0,1,29,116,24,2,0,3,4,10,37,29,23,35,5,4,7,0,4,21,21,39,79,60,13,1,11,53,86,55,65,60,2,0,0,49,45,6,4,8,5,13,6],"source":""},"img_url":"706771"}}]}},{"took":38,"timed_out":false,"_shards":{"total":1,"successful":1},"hits":{"total":5,"max_score":55586,"hits":[{"_index":"ts_db","_type":"ts_space","_id":"1722493096301847666","_score":51187,"_extra":{"vector_result":[{"field":"feature","source":"","score":51187}]},"_source":{"feature":{"feature":[99,28,0,0,13,22,3,5,8,0,0,0,36,109,74,31,3,0,0,0,1,19,116,80,0,0,0,0,2,42,67,11,96,17,1,0,74,27,5,34,1,0,1,15,119,116,55,47,47,5,2,5,6,12,109,119,12,1,0,3,23,41,42,29,68,17,4,12,61,7,4,39,1,6,26,119,119,10,2,6,87,106,52,35,6,1,1,21,23,23,25,59,14,9,1,2,64,9,4,19,14,0,0,18,1,17,107,86,26,0,0,0,10,76,119,24,0,0,0,0,9,20,27,50,4,0,0,0],"source":""},"img_url":"413247"}},{"_index":"ts_db","_type":"ts_space","_id":"-1251245918509159382","_score":52570,"_extra":{"vector_result":[{"score":52570,"field":"feature","source":""}]},"_source":{"feature":{"feature":[97,40,0,0,9,18,3,5,12,2,0,0,30,119,68,25,6,0,0,0,1,14,108,92,0,0,0,0,4,41,67,13,92,19,1,0,64,29,5,33,1,0,1,14,119,119,54,41,41,6,2,6,8,11,118,119,14,1,0,1,16,44,53,35,59,19,9,14,60,9,5,29,0,4,33,116,119,13,3,4,68,115,64,33,7,0,2,22,24,30,25,52,12,11,2,3,49,8,6,22,13,0,0,14,1,21,119,81,20,0,0,0,6,71,119,32,1,0,0,0,8,22,27,49,6,0,0,0],"source":""},"img_url":"413071"}},{"_index":"ts_db","_type":"ts_space","_id":"5702821961197971632","_score":54813,"_extra":{"vector_result":[{"source":"","score":54813,"field":"feature"}]},"_source":{"feature":{"feature":[43,22,3,2,55,38,3,3,30,2,2,0,16,65,71,71,23,2,1,3,34,79,110,82,31,11,1,0,23,58,21,14,37,12,2,25,81,59,11,40,7,0,1,41,110,98,61,34,81,7,3,0,0,30,90,100,32,33,7,0,0,24,56,27,69,10,9,30,45,8,4,80,24,16,39,110,110,8,1,8,77,110,63,6,2,7,4,23,22,110,96,10,0,7,13,5,45,43,23,5,7,2,14,16,16,17,80,79,29,9,40,10,17,107,75,4,0,10,42,9,15,28,19,10,0,13,39,4],"source":""},"img_url":"706838"}},{"_index":"ts_db","_type":"ts_space","_id":"-3877744471968141523","_score":54987,"_extra":{"vector_result":[{"field":"feature","source":"","score":54987}]},"_source":{"feature":{"feature":[21,18,3,2,18,14,4,10,0,4,1,0,15,63,101,7,46,10,1,0,1,20,112,37,43,38,15,1,3,35,16,10,97,6,0,3,71,61,11,56,5,0,2,36,112,112,59,12,112,3,0,4,5,15,67,112,68,10,10,5,7,112,61,51,89,28,15,33,30,24,6,21,1,13,55,85,112,31,0,1,77,104,70,8,14,1,1,35,53,69,24,16,8,5,4,16,48,42,9,38,18,0,0,0,0,43,95,75,37,2,0,0,2,78,112,8,0,0,0,0,4,67,19,4,5,0,0,0],"source":""},"img_url":"880592"}},{"_index":"ts_db","_type":"ts_space","_id":"3509145557095048021","_score":55586,"_extra":{"vector_result":[{"score":55586,"field":"feature","source":""}]},"_source":{"feature":{"feature":[22,27,10,1,7,19,1,4,10,22,9,1,9,89,104,16,11,0,0,0,0,17,118,55,1,0,1,6,23,70,70,3,47,2,0,4,71,67,12,34,3,0,0,12,118,118,106,16,57,1,0,0,0,7,118,105,70,20,6,20,15,10,34,25,56,8,1,26,51,16,6,21,8,11,25,118,118,13,5,6,73,118,41,10,7,1,4,40,89,41,3,2,1,0,0,23,41,15,3,3,5,7,10,17,20,18,113,99,36,0,0,7,1,89,118,36,12,0,0,0,7,11,7,14,10,0,0,3],"source":""},"img_url":"249062"}}]}},{"took":38,"timed_out":false,"_shards":{"total":1,"successful":1},"hits":{"total":5,"max_score":34698,"hits":[{"_index":"ts_db","_type":"ts_space","_id":"3043082872415894972","_score":30792,"_extra":{"vector_result":[{"field":"feature","source":"","score":30792}]},"_source":{"feature":{"feature":[27,31,3,0,6,4,8,16,22,58,116,1,0,0,0,7,6,5,134,16,0,0,2,12,0,2,53,11,0,0,2,11,134,44,11,0,0,0,4,36,134,90,134,2,0,0,0,32,4,14,134,37,0,0,0,2,0,1,134,64,0,0,0,0,112,69,27,0,0,0,0,21,134,24,7,0,1,3,18,116,10,5,9,0,1,6,112,57,0,0,17,6,0,7,74,15,33,67,55,0,0,0,0,10,56,46,28,5,21,6,9,21,1,0,0,14,47,21,91,27,1,0,0,0,0,4,95,31],"source":""},"img_url":"669835"}},{"_index":"ts_db","_type":"ts_space","_id":"-6352869573466658192","_score":31091,"_extra":{"vector_result":[{"field":"feature","source":"","score":31091}]},"_source":{"feature":{"feature":[15,9,13,3,9,14,12,6,13,27,119,20,3,6,29,31,1,35,111,20,9,23,15,13,1,10,56,21,0,0,1,3,131,15,9,0,4,20,8,50,131,97,131,22,0,0,7,40,7,32,131,85,1,0,9,9,0,14,131,78,20,4,4,0,131,24,2,1,1,4,4,27,131,14,1,1,0,4,23,77,15,9,18,8,5,45,124,35,0,0,7,35,52,40,108,8,35,111,5,0,0,0,0,2,78,50,0,0,0,8,21,37,0,1,0,5,13,41,30,3,0,0,1,17,8,10,24,3],"source":""},"img_url":"408764"}},{"_index":"ts_db","_type":"ts_space","_id":"113206988234493811","_score":33608,"_extra":{"vector_result":[{"field":"feature","source":"","score":33608}]},"_source":{"feature":{"feature":[22,12,14,2,2,14,11,9,15,28,129,27,1,3,18,26,2,27,129,28,6,22,16,14,1,6,65,25,0,1,2,1,129,13,4,0,1,13,8,48,129,81,129,21,0,1,10,38,11,18,129,92,1,1,16,16,0,4,129,92,19,5,6,1,129,65,6,1,0,0,1,16,129,22,0,0,0,8,23,68,13,1,11,4,5,45,129,32,0,0,5,25,43,34,117,8,21,109,9,0,0,0,2,5,40,35,0,0,0,7,27,36,1,3,1,5,8,31,27,2,0,0,1,16,10,8,19,2],"source":""},"img_url":"408462"}},{"_index":"ts_db","_type":"ts_space","_id":"5691018547153047156","_score":34104,"_extra":{"vector_result":[{"source":"","score":34104,"field":"feature"}]},"_source":{"feature":{"feature":[13,8,7,3,5,15,12,4,8,20,106,29,2,3,19,22,1,34,118,12,3,15,40,33,0,17,60,15,4,8,1,1,109,14,3,0,0,11,9,45,137,119,137,12,0,0,3,30,11,51,137,72,1,2,7,5,1,9,137,72,1,0,0,0,137,11,0,0,0,1,2,22,137,14,1,0,0,1,16,58,39,8,19,7,1,13,65,49,5,3,46,17,6,20,112,18,39,90,5,0,0,0,0,1,131,55,1,0,0,3,8,41,4,0,0,0,4,38,43,12,0,0,0,6,9,31,48,2],"source":""},"img_url":"408855"}},{"_index":"ts_db","_type":"ts_space","_id":"-5988239182349490008","_score":34698,"_extra":{"vector_result":[{"score":34698,"field":"feature","source":""}]},"_source":{"feature":{"feature":[20,18,9,13,9,5,12,20,16,67,133,16,2,0,1,4,0,30,133,8,0,0,12,9,5,24,109,1,0,0,5,8,133,28,3,0,23,13,4,49,133,65,122,5,0,0,0,70,4,9,133,34,0,0,0,0,0,20,124,23,11,1,0,0,133,48,6,0,4,4,0,7,133,22,0,0,1,14,44,64,10,0,6,1,0,19,133,27,0,0,10,8,7,0,51,43,51,23,67,16,1,0,0,2,84,9,5,8,27,32,35,29,29,7,0,5,15,26,93,41,5,3,0,0,0,9,48,59],"source":""},"img_url":"551661"}}]}}]}

你这个是_bulk_search的搜索结果吧，返回结果集不是混到一个大数组里的，_bulk_search我说的是返回结果乱序的问题呢。我上面说没有结果的是_msearch这种搜索模式。我这里再说一下我的两个问题哈：1、_bulk_search多分区表，多向量批次查询返回结果乱序的问题；2、_msearch批量检索，输入50或者100个向量返回空，但是输入个位数向量有结果的问题。

_msearch批量搜索router排序存在bug，导致批量搜索排序不准，bug已经修复，但未上传到GitHub，你可以先使用单条搜索。

您好，我们用的是_bulk_search。_msearch多个向量检索发现也有问题，就是如果是50或者100个向量批量检索，返回结果是空的，当把向量个数缩减到个位数进行批量检索时，发现返回的结果是混合到一块的，一个大数组，每个向量对应的topN结果如何进行区分呢？

@jayxqt _msearch在较大批量检索的时候返回结果为空，是因为router到PS的RPC调用超时了，默认超时500ms，可以用接口 /$dbName/$spaceName/_ps_rpc_timeout_set 调大这个超时时间


Should be able to select an input Field with placeholder

Actual behavior
Getting error
Error: Input Field with label placeholder  and Search Doodles not found

Steps to replicate

Run the script

const { browser, openBrowser, goto, click,comboBox } = require('taiko');

(async () => {
    try {
        await openBrowser();
        await goto("google.com");
        await click("I'm Feeling Lucky");
        await click("About");
        await comboBox(near(inputField("placeholder","Search Doodles"))).select("हिन्दी");
        await click("Doodles संग्रह");
        await closeBrowser();
    } catch (e) {
        console.error(e);
    } finally {
    }
})();

The error is displayed

Version
commit - e72d723ce592aa92ffef44c9d371ea01dbf1acca

Date:   Tue Jul 24 11:37:30 2018 +0530

 await comboBox(near(inputField({"placeholder" : "Search Doodles"}))).select("हिन्दी");
Should work.

Yes, this format works.
But the script fails
When there is a manual click, the screen reloads with a change in language. However when the combo value is changing, the screen is not reloading.

Fix should be available


gogoeditdiff failing due to FlyBase autodef dependency fail (?)

https://github.com/obophenotype/cell-ontology/actions/runs/8988121798/job/24688289003

Almost certainly due to the fact that the diff.yml workflow is still using the ODK version 1.3.0 (which doesn’t include the code to install plugins), for some reason (most likely, it’s just that nobody thought of updating the version number).
I’ll do some tests. If I confirm the cause, I’ll have a fix quickly.


Can't parse html tag correctly

can parse
div
  and
pre

foo and foo

It looks inline tag can't be parsed.
coffee> mdast.parse('foo').children[0]
{ type: 'paragraph',
  children:
   [ { type: 'html',
       value: '',
       position: [Object] },
     { type: 'text',
       value: 'foo',
       position: [Object] },
     { type: 'html',
       value: '',
       position: [Object] } ],
  position:
   { start: { line: 1, column: 1 },
     end: { line: 1, column: 11 } } }

It’s a feature, from the time this was marked.
It allows for markdown inside HTML: so hello *world*! will still work
In fact, commonmark does a similar thing (check out the AST tab).
What arroyo trying to accomplish?

I understood what it is.
Then I want to know where open tag and close tag, but it is my own task, not mdast.
Thank you your teaching!

Cool! No problem :)


New-AzTag cmdlet does not accept -ResourceId parameter

I am getting the following error when running the Powershell cmdlets on this dos:
New-AzTag : A parameter cannot be found that matches parameter name 'ResourceId'.
At line:1 char:11

New-AzTag -ResourceId /subscriptions/2c490482-6e31-4b11-b510-dfb7ea87 ...

      ~~~~~~~~~~~

CategoryInfo          : InvalidArgument: (:) [New-AzTag], ParameterBindingException
FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Azure.Commands.Tags.Tag.NewAzureTagCommand

Re-installed the right version of the module (Install-Module -Name Az -RequiredVersion 3.6.1)
and ran:
New-AzTag -ResourceId /subscriptions/[subscriptionId]/resourceGroups/[RGName] -tag $tags
Was able to work around this by using the Azure Portal and creating the tags on PowerShell, can you please look into this?

@JoseMSoares-MSFT Thank you for the question! In order to best address your question, could you provide us with the URL of the MS Doc that you were following, if any?

of course sorry, here: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-resources

@JoseMSoares-MSFT Thank you for the response!
I just tried the New-AzTag cmdlet and was able to successfully execute it.
Can you please check the version of Az.Resources module on your machine?
This is what I tried:
PS C:> Install-Module Az.Resources
PS C:> Get-Module -ListAvailable Az.Resources
ModuleType  Version    Name          ExportedCommands
----------- --------   -----         -----------------
Script       1.13.0    Az.Resources  {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment...}

And then:
$tags = @{"Dept"="Azure"; "Status"="Normal"}
$resource = Get-AzResource -Name myWebApp -ResourceGroup myRG
New-AzTag -ResourceId $resource.id -Tag $tags

worked fine, resulting in:
Id         : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.Web/sites/myWebApp/providers/Microsoft.Resources/tags/default
Name       : default
Type       : Microsoft.Resources/tags
Properties :
             Name    Value
             ======  ========
             Status  Normal

Also, I'd recommend using the Azure Cloud Shell for any ad-hoc command executions as it offers a browser-accessible, pre-configured shell experience for managing Azure resources without the overhead of installing, versioning, and maintaining modules yourself. Do check it out!
Let me know if you still see issues.

Awesome thanks Bhargavi, this fixes my issue :)

@JoseMSoares-MSFT Sure, thanks. Glad I could help! :)

@JoseMSoares-MSFT and @BhargaviAnnadevara-MSFT - thanks for this information. I am going to add a note to the article about required module version that is needed.


Milestone 1 feedback

3. Project proposal: reasoning
Comments
" For the purpose of classification model and evaluation of the relevant features, we are using algorithms such as 1) Decision Tree, 2) SVC, 3) K-NN, 4) Navie Bayes, and 5) Logistic Regression." Please fix this sentence grammar. In addition, not all of these models are classification models. Maybe you are trying to say for the purpose of a predictive model?
You have identified that the data set is not balanced. What do you hypotheisze to use to balance it?
For these algorithms, what packages will you use? Have you thought of using wrapper algorithms (boruta algorithm) for feature selection?
Will you do cross-validation?
A suggestion for metrics, to determine the performance of your models is Area Under Curve (AUC). The Area Under the Curve (AUC) is the measure of the ability of a classifier to distinguish between classes and is used as a summary of the ROC curve. Also look into and SHAP (SHapley Additive exPlanations) which explains the direction of each variable compared to the outcome variable.
4. A script that downloads the data: Accuracy
Comments
What are the dependencies?
5. Exploratory data analysis in a literate code document: QUALITY
Comments
You need to compare more and utilize more methods. You need to justify why some features are more important than others, be it from literature or from EDA.
5. Exploratory data analysis in a literate code document: VIZ
Comments
If figure captions are not provided the plot should be clearly explained in the text. I would recommend using figure captions.
5. Exploratory data analysis in a literate code document: REASONING
Comments
There is no documentation. Why are you using some of those EDA techniques? What's the purpose of a heat map etc.? Variables lists are useless unless you define what the variables represent. Needs higher resolution. From your EDA what is your hypothesis? Which features are the most important?

Hi @andytai7,
Thanks for your feedback,
We have carefully read each one of them and, in order to guarantee that we understood each point, we have some questions and thoughts that we would like to share with you.

In order to balance our data, we are using a regression model and we don’t learn yet how to balance the data for it. (We don’t have something like class_weight="balanced" so far). Do you have any suggestions here?

About the comment of using the wrapper algorithms (boruta algorithm) for feature selection. We are not planning on doing feature selection since, from our understanding, the purpose of this course is not to use advanced algorithms that we haven’t learned yet.

About the cross-validation and the metrics, we are using R^2 since we are performing a regression. We have addressed that in milestone 2, In the session “Analysis” (cross-validation and hyperparameter subsection).

About the packages, we also addressed that in milestone 2. We listed all the packages that we use in the section “Analysis -> packages”. Please, feel free to suggest any other improvement here.

About the EDA and which features are the most important. We have also explained what features might be more important for our analysis in session “EDA first conclusion”, using the charts to support our conclusion. Please, feel free to suggest any other improvement here.

There are some specific points that we do not grasp so far. Do you mind helping us with them?
a)	“There is no documentation.”. Do you mind specifying what is this missing documentation?
b)	“Needs higher resolution”. Do you mean the charts’ resolutions?
c)	“What's the purpose of a heat map?”. We don’t have a heat map in the project.
Let’s keep in touch,
Thank you for your time, Andy
All the best,
Team 13.

Hi @aldojasb
Thanks for the response.

You could try to utilize other packages to create synthetic data. "https://machinelearningmastery.com/smote-oversampling-for-imbalanced-classification/"

Sure sounds good. Just a suggestion.

Thank you.

You should list the dependencies in the readme as well.

& A. This is the same as the documentation comment, please add figure captions, so it is more clear.

B&C. Higher resolution means for the EDA, and visualization of the data. Try to combine all the different categories and compare them, such as using a heat map.
Hope this helps!


Unicode-Normalize >= 1.22 has XS stuff again

I haven't actually tested yet:
Citation and see also perl-U-N changelog.

This is already rolled into the 2.3 DEV release.

Ah, sorry I checked master but didn't notice the dev branch.  thanks!


Enable kolibri-explore-plugin

Currently the app shows the default Kolibri interface with the learn plugin, but the differentiator for Endless Key is kolibri-explore-plugin. A few things are needed to get that going:

Kolibri needs to be updated to the 0.16 series (#9)
The explore plugin needs to be enabled and any relevant options set
We need to handle the welcome screen. Either we need to load the welcome screen before Kolibri and provide a Javascript interface in Webkit that let's the welcome screen code set the initial content pack (like is done in the Android and Windows apps), or we need to update the welcome screen code so it does this all from within Kolibri (https://github.com/endlessm/kolibri-explore-plugin/issues/748). My preference is to fix the welcome screen code so that the Flatpak only needs to run Kolibri, but we might want a parallel effort in case that takes a bit to land.

Another thing that's needed is shipping the apps and collections bundles. However, one thing that will fall over is our practice of just taking the github artifact or tarball from the latest release or HEAD commit. flatpak-builder needs stable URLs and checksums. That's going to be a bit painful with our kolibri-explore-plugin release cadence.

I opened https://github.com/endlessm/endless-key-collections/pull/31 so that you can at least get a released collections bundle without all of the tar filtering.

For some reason, unzip inside flatpak-builder doesn't want to deal with that welcome-screen.zip archive. It very quietly fails like this:
Building module python3-kolibri-explore-plugin in /var/home/dylan/Code/endlessm/endless-key-flatpak/.flatpak-builder/build/python3-kolibri-explore-plugin-16
========================================================================
FB: Running: unzip -q /var/home/dylan/Code/endlessm/endless-key-flatpak/.flatpak-builder/downloads/0b0a7b417e1fbd07b9326a744bf41a12f5b3d29bfbe0cc3b9a96f22dbcdca63a/apps-bundle.zip
FB: Running: unzip -q /var/home/dylan/Code/endlessm/endless-key-flatpak/.flatpak-builder/downloads/bc01eb9ec8101f3333f0d03bba651ffddac059062a847bcc376d93f119708778/welcome-screen.zip
Error: module python3-kolibri-explore-plugin: Child process exited with code 81
FB: Unmounting read-only fs: fusermount -uz /var/home/dylan/Code/endlessm/endless-key-flatpak/.flatpak-builder/rofiles/rofiles-7YTJC5

According to the man page, error code 81 means:

testing or extraction of one or more files failed due to unsupported compression methods or unsupported decryption.

If I run unzip without -q, I get this output:
unzip /var/home/dylan/Code/endlessm/endless-key-flatpak/.flatpak-builder/downloads/bc01eb9ec8101f3333f0d03bba651ffddac059062a847bcc376d93f119708778/welcome-screen.zip
Archive:  /var/home/dylan/Code/endlessm/endless-key-flatpak/.flatpak-builder/downloads/bc01eb9ec8101f3333f0d03bba651ffddac059062a847bcc376d93f119708778/welcome-screen.zip
   skipping: favicon.ico             need PK compat. v6.3 (can do v4.6)
   skipping: index.html              need PK compat. v6.3 (can do v4.6)
   skipping: img/video.7a3fe8b2.png  need PK compat. v6.3 (can do v4.6)
   skipping: img/app.7bf7e9b0.png    need PK compat. v6.3 (can do v4.6)
   skipping: img/kolibri-logo.86b86b20.svg  need PK compat. v6.3 (can do v4.6)
   skipping: img/pack.a7996392.png   need PK compat. v6.3 (can do v4.6)
   skipping: img/audio.7081f096.png  need PK compat. v6.3 (can do v4.6)
   skipping: img/topic.05b84db7.png  need PK compat. v6.3 (can do v4.6)
   skipping: img/welcome-bg-bottom-left.72868caf.png  need PK compat. v6.3 (can do v4.6)
   skipping: img/EndlessLogo.2a211f31.svg  need PK compat. v6.3 (can do v4.6)
   skipping: img/usb-connect.75d0acc5.jpg  need PK compat. v6.3 (can do v4.6)
   skipping: img/document.94d8ca42.png  need PK compat. v6.3 (can do v4.6)
   skipping: img/scientist.87942048.jpg  need PK compat. v6.3 (can do v4.6)
   skipping: img/bundle.6f0a57f4.png  need PK compat. v6.3 (can do v4.6)
   skipping: img/inventor.a3be4906.jpg  need PK compat. v6.3 (can do v4.6)
   skipping: img/loading-animation.0776934b.gif  need PK compat. v6.3 (can do v4.6)
   skipping: img/exercise.d751f913.png  need PK compat. v6.3 (can do v4.6)
   skipping: img/artist.65564940.jpg  need PK compat. v6.3 (can do v4.6)
   skipping: img/usb-connected.60c24749.jpg  need PK compat. v6.3 (can do v4.6)
   skipping: img/welcome-bg-top-right.6fcd4aa1.png  need PK compat. v6.3 (can do v4.6)
   skipping: img/athlete.da26ad19.jpg  need PK compat. v6.3 (can do v4.6)
   skipping: img/curious.2b263842.jpg  need PK compat. v6.3 (can do v4.6)
   skipping: img/explorer.3f94f3fd.jpg  need PK compat. v6.3 (can do v4.6)
   skipping: fonts/poppins-devanagari-400-normal.790d0c8d.woff2  need PK compat. v6.3 (can do v4.6)
   skipping: fonts/poppins-latin-ext-400-normal.0ed299a4.woff2  need PK compat. v6.3 (can do v4.6)
   skipping: fonts/poppins-latin-400-normal.9212f6f9.woff2  need PK compat. v6.3 (can do v4.6)
   skipping: fonts/lato-latin-400-normal.e1b3b590.woff2  need PK compat. v6.3 (can do v4.6)
   skipping: fonts/poppins-all-400-normal.bbae9378.woff  need PK compat. v6.3 (can do v4.6)
   skipping: fonts/lato-all-400-normal.a82dcb33.woff  need PK compat. v6.3 (can do v4.6)
   skipping: fonts/lato-latin-ext-400-normal.4bde07f9.woff2  need PK compat. v6.3 (can do v4.6)
   skipping: js/app.9123969a.js      need PK compat. v6.3 (can do v4.6)
   skipping: js/chunk-vendors.dab0ce91.js  need PK compat. v6.3 (can do v4.6)
   skipping: css/app.3b68b24a.css    need PK compat. v6.3 (can do v4.6)
   skipping: css/chunk-vendors.cfbbb898.css  need PK compat. v6.3 (can do v4.6)

No such problem with apps-bundle.zip. Different zip implementations between them, I guess?

No such problem with apps-bundle.zip. Different zip implementations between them, I guess?

That's unfortunate. It's because welcome-screen.zip and the channel zips within apps-bundle.zip are created with LZMA compression while the outer apps-bundle.zip is created with no compression. I ran into the same problem in a different way with chaquopy.
There's no reason welcome-screen.zip needs the full LZMA treatment. That zip is only used for initial delivery and will be expanded within all apps. Probably not the channel zips either, but there the zip files are used directly by Kolibri so you could make the argument that it helps.
Anyways, I'll put together a PR to tweak the welcome-screen.zip construction.

The change to only compress welcome-screen.zip with zlib was merged and released in 6.44.0. I think you should be able to carry on:
$ unzip -d welcomeScreen welcome-screen.zip
Archive:  welcome-screen.zip
   creating: welcomeScreen/img/
   creating: welcomeScreen/fonts/
   creating: welcomeScreen/js/
  inflating: welcomeScreen/favicon.ico
  inflating: welcomeScreen/index.html
   creating: welcomeScreen/css/
  inflating: welcomeScreen/img/video.7a3fe8b2.png
  inflating: welcomeScreen/img/app.7bf7e9b0.png
  inflating: welcomeScreen/img/kolibri-logo.86b86b20.svg
  inflating: welcomeScreen/img/pack.a7996392.png
  inflating: welcomeScreen/img/audio.7081f096.png
  inflating: welcomeScreen/img/topic.05b84db7.png
  inflating: welcomeScreen/img/welcome-bg-bottom-left.72868caf.png
  inflating: welcomeScreen/img/EndlessLogo.2a211f31.svg
  inflating: welcomeScreen/img/usb-connect.75d0acc5.jpg
  inflating: welcomeScreen/img/document.94d8ca42.png
  inflating: welcomeScreen/img/scientist.87942048.jpg
  inflating: welcomeScreen/img/bundle.6f0a57f4.png
  inflating: welcomeScreen/img/inventor.a3be4906.jpg
  inflating: welcomeScreen/img/loading-animation.0776934b.gif
  inflating: welcomeScreen/img/exercise.d751f913.png
  inflating: welcomeScreen/img/artist.65564940.jpg
  inflating: welcomeScreen/img/usb-connected.60c24749.jpg
  inflating: welcomeScreen/img/welcome-bg-top-right.6fcd4aa1.png
  inflating: welcomeScreen/img/athlete.da26ad19.jpg
  inflating: welcomeScreen/img/curious.2b263842.jpg
  inflating: welcomeScreen/img/explorer.3f94f3fd.jpg
  inflating: welcomeScreen/fonts/poppins-devanagari-400-normal.790d0c8d.woff2
  inflating: welcomeScreen/fonts/poppins-latin-ext-400-normal.0ed299a4.woff2
  inflating: welcomeScreen/fonts/poppins-latin-400-normal.9212f6f9.woff2
  inflating: welcomeScreen/fonts/lato-latin-400-normal.e1b3b590.woff2
  inflating: welcomeScreen/fonts/poppins-all-400-normal.bbae9378.woff
  inflating: welcomeScreen/fonts/lato-all-400-normal.a82dcb33.woff
  inflating: welcomeScreen/fonts/lato-latin-ext-400-normal.4bde07f9.woff2
  inflating: welcomeScreen/js/app.9123969a.js
  inflating: welcomeScreen/js/chunk-vendors.dab0ce91.js
  inflating: welcomeScreen/css/app.3b68b24a.css
  inflating: welcomeScreen/css/chunk-vendors.cfbbb898.css

Since unzip hasn't changed in like 8 years, I'm pretty sure the version on Endless and the version in the runtime are roughly identical.


Modifying the contributers part of the readme

I made some little changes to the README file, concerning the author part. I made sure to add all the contributers to the file.

That's a good idea. I noticed that some contributors forgot to add their names correctly.


added school located in minnesota USA

School website: https://www.century.edu/
CSCI Degree: https://catalog.century.edu/preview_program.php?catoid=18&poid=5481&_gl=114q15uh_gcl_auMTMzNTMyNzg4OS4xNzI1NjY1NjEz_gaNzQ5NTAwMTkyLjE3MTM3MzQwMzU._ga_RN2ZB0LQV2*MTcyNjkzNDk2Ny41NC4xLjE3MjY5MzQ5OTUuMC4wLjA.

@Nuh00 Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


iOS showing error App with name __FIRAPP_DEFAULT does not exist

When i am running my ios flutter app it showing the error of
- [Firebase/Core][I-COR000004] App with name __FIRAPP_DEFAULT does not exist.
I am listing all items from db. But in sms authentication it is not sending SMS.
My main.dart file
   final FirebaseApp app = await FirebaseApp.configure(
      name: myApp,
      options: const FirebaseOptions(
        googleAppID: '1:57979xxxxx:ios:c9d1031xx',
        gcmSenderID: '58989xxxxx6',
        apiKey: 'AIzaSyANwavsssasxxxxxxxxxxxKBNF7I',
        projectID: 'myApp',
      ),
   );

when i entering number for SMS verification. It showing error in  'veriFailed'
Error is showing "Invalid token"
Another exception is showing
My SMSAuth.dart
      await firebaseAuth.verifyPhoneNumber(
          phoneNumber: "+91"+phoneNumber,
          timeout: Duration(seconds: timeOut),
          codeAutoRetrievalTimeout: autoRetrieve,
          codeSent: smsCodeSent,
          verificationCompleted: verifiedSuccess,
          verificationFailed: veriFailed);

        final PhoneVerificationFailed veriFailed = (AuthException exception) {
        print("ERROR");
        print('${exception.message}');
        throw new Exception(exception);
      };

I have enabled "Push Notifications" and "Remote Notifications" in Xcode capabilities option. If i disable the option i need correct captcha. After entering captcha it sending sms. But i it is not working without captcha.
Why it showing - [Firebase/Core][I-COR000004] App with name __FIRAPP_DEFAULT does not exist. error on app start up.
My Info.pliist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>APS Environment</key>
	<string>production</string>
	<key>CFBundleDevelopmentRegion</key>
	<string>en</string>
	<key>CFBundleDisplayName</key>
	<string>My App</string>
	<key>CFBundleExecutable</key>
	<string>$(EXECUTABLE_NAME)</string>
	<key>CFBundleIdentifier</key>
	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>My App</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleShortVersionString</key>
	<string>$(FLUTTER_BUILD_NAME)</string>
	<key>CFBundleSignature</key>
	<string>????</string>
	<key>CFBundleURLTypes</key>
	<array>
		<dict>
			<key>CFBundleTypeRole</key>
			<string>Editor</string>
			<key>CFBundleURLSchemes</key>
			<array>
				<string>fb3xxxxxxxxx</string>
			</array>
		</dict>
		<dict>
			<key>CFBundleTypeRole</key>
			<string>Editor</string>
			<key>CFBundleURLSchemes</key>
			<array>
				<string>com.googleusercontent.apps.xxxxxxxxxxxxxxx</string>
			</array>
		</dict>
		<dict>
			<key>CFBundleTypeRole</key>
			<string>Editor</string>
			<key>CFBundleURLSchemes</key>
			<array>
				<string>com.myapp.app</string>
			</array>
		</dict>
	</array>
	<key>CFBundleVersion</key>
	<string>$(FLUTTER_BUILD_NUMBER)</string>
	<key>FacebookAppID</key>
	<string>334xxxxxxxx</string>
	<key>FacebookDisplayName</key>
	<string>My App</string>
	<key>FirebaseAppDelegateProxyEnabled</key>
	<false/>
	<key>LSRequiresIPhoneOS</key>
	<true/>
	<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
	<string>This application requires location services to work</string>
	<key>NSLocationAlwaysUsageDescription</key>
	<string>This application requires location services to work</string>
	<key>NSLocationWhenInUseUsageDescription</key>
	<string>This application requires location services to work</string>
	<key>UILaunchStoryboardName</key>
	<string>LaunchScreen</string>
	<key>UIMainStoryboardFile</key>
	<string>Main</string>
	<key>UISupportedInterfaceOrientations</key>
	<array>
		<string>UIInterfaceOrientationPortrait</string>
	</array>
	<key>UISupportedInterfaceOrientations~ipad</key>
	<array>
		<string>UIInterfaceOrientationPortrait</string>
		<string>UIInterfaceOrientationPortraitUpsideDown</string>
		<string>UIInterfaceOrientationLandscapeLeft</string>
		<string>UIInterfaceOrientationLandscapeRight</string>
	</array>
	<key>UIViewControllerBasedStatusBarAppearance</key>
	<false/>
	<key>io.flutter.embedded_views_preview</key>
	<true/>
</dict>
</plist>

My flutter configuration
Fazils-MacBook-Pro:~ mypc$ flutter doctor -v
[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.14.5 18F132, locale
    en-IN)
    • Flutter version 1.7.8+hotfix.4 at /Users/mypc/Documents/flutter
    • Framework revision 20e59316b8 (11 days ago), 2019-07-18 20:04:33 -0700
    • Engine revision fee001c93f
    • Dart version 2.4.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/mypc/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2, Build version 10E125
    • CocoaPods version 1.7.4

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 37.1.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)

[!] IntelliJ IDEA Community Edition (version 2019.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] VS Code (version 1.36.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.2.0

[✓] Connected device (1 available)
    • MY’s iPhone • 015c9f1d482b5516756431c68xxxxaef11f • ios • iOS
      11.2.6

! Doctor found issues in 1 category.

My pub spec.yaml
firebase_core: ^0.4.0+8
firebase_auth: ^0.11.1+11
cloud_firestore: ^0.12.7
firebase_messaging: ^5.1.2
and the **AppDelegate.swift**
    import UIKit
    import Flutter
    import GoogleMaps
    import UserNotifications
    import Firebase

    @UIApplicationMain
    @objc class AppDelegate: FlutterAppDelegate {

        override func application(
        _ application: UIApplication,
        didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?
    ) -> Bool {

            FirebaseApp.configure()

            if #available(iOS 10, *) {
                UNUserNotificationCenter.current().requestAuthorization(options: [.badge, .sound, .alert], completionHandler: { (granted, error) in })
                application.registerForRemoteNotifications()
            } else {
                let notificationSettings = UIUserNotificationSettings(types: [.badge, .alert, .sound], categories: nil)
                UIApplication.shared.registerUserNotificationSettings(notificationSettings)
                UIApplication.shared.registerForRemoteNotifications()
            }

        GeneratedPluginRegistrant.register(with: self); GMSServices.provideAPIKey("AIzaSyCDOAsEESKdfj77ln1dSuwX5oN8H8zMisw")
        return super.application(application, didFinishLaunchingWithOptions: launchOptions)
    }

    }

I'm seeing same issue.
I had name set to 'test' in FirebaseApp.configure for android with no problems but this crashes on iOS.
App with name test does not exist. Lost connection to device.

Was a different issue for me. When I ran "flutter run -v", the error came up that the info file did not have reason to open camera. That was crashing the app.

I solve the issue by adding the auth plugin as
  firebase_auth:
    git:
      url: https://github.com/collinjackson/plugins.git
      ref: 441417c2fed0ff26bf84a49ab2c5ffd2aa5487de
      path: packages/firebase_auth

Then my problem is solved.
Actually the problem firebase_auth: ^0.11.1+11


Added simple_pdw_pipeline application

This application was written by
Joshua Anderson<EMAIL_ADDRESS>Christopher Jones<EMAIL_ADDRESS>for the Georgia Tech Research Institute
The included application is a demonstration of the ability to do Electronic Support with GPU processing.

@Janderson3 thanks for the sample! One other thing you can do is ./run lint in holohub and it'll run the C++ linter on your new sample.

@cliffburdick @Janderson3 I believe we are OK to merge. Can you confirm?


Contributing file added

Signed-off-by: Bushra Nazish<EMAIL_ADDRESS>Adding CONTRIBUTING.md file for this project
Closes #9

Hi @BushraNazish I think this can be put in the Readme file itself, Can you test the workflow and put this in Readme ?

Hi @BushraNazish I think this can be put in the Readme file itself, Can you test the workflow and put this in Readme ?

Sure @saiyam1814
I will add it in the Readme file.


Files selection for uploading

We should decide how user will select files for uploading. There are two common ways:

Add MetaCom to the system's share menu to accept any files:

Allow user to select files from iCloud Drive:

I suppose we should provide both options.
The first one is a little bit complicated because we should handle file receiving in any point of an application’s lifecycle (e. g. if there is not an active connection, let user to setup it; or to specify a chatroom, if needed; etc).
The second one requires Apple ID enrolled into Apple Developer Program. So, it can be added later.

Yes, we need both, but @GreatAndPowerfulKing let's do it in simple way: if no connection or no chat, we can just show an error message. @metarhia/mobile

@GreatAndPowerfulKing I would recommend against using the first approach, as it will definitely turn into mess with all that error showing or handling a state of connection and chat.
The second option seems far better. Yet it will be better to also give an opportunity to select standard Photos App item of any kind and maybe provide access to files from not only the iCloud Drive (which is a must), but also Google Drive and/or Dropbox. What do you think?

@GYFK, I think that both variants should exist. Is it a big difficulty to put all outgoing data in queue and send only after user established the connection (specified chatroom)?

@GYFK I supposed that photos selection shouldn't even be discussed 😅. Of course this opportunity will be given to a user.
Google Drive, Dropbox, Box, Mega etc. – yes, it's good idea but there are lots of such services and it's impossible to support all of them. So, I agree with @Gagnant that we should provide the first option too, it will make possible sharing from anywhere. It's not too difficult to store files while connection isn't ready to use. For more simplicity we can store only the last imported file and only while the app is alive (during a single run), but it's not a big deal to store any amount of files through multiple app launching (we just need not to forget to delete files after some timeout to prevent uncontrolled application's weight growing).
I just think how to do it better in UI. Perhaps add a share option like "Select from queued", or something like this.

@GreatAndPowerfulKing no, as for the current version of the application we will implement only the second proposed variant.
"Google Drive, Dropbox, Box, Mega etc." — we do not consider "etc" as for now. Supporting major services such as Google Drive, Dropbox and iCloud Drive will be more than enough.
We will probably consider implementing this feature in the future versions of application.

@GYFK Okay. Accepted.

Yes, we can do it step by step, because we need to publish minimal app ASAP


Fix zlib issues 3191, 9505 and 8779

It's not necessary to create a new PR each time, you can amend and force-push to the same PR.
Please mind the CI failures.
CircleCI:
std/zlib.d(654:5)[warn]: A unittest should be annotated with at least @safe or @system
std/zlib.d(666:65)[warn]: Line is longer than 120 characters
std/zlib.d(669:51)[warn]: Line is longer than 120 characters
std/zlib.d(685:68)[warn]: Line is longer than 120 characters
std/zlib.d(692:64)[warn]: Line is longer than 120 characters
std/zlib.d(762:5)[warn]: A unittest should be annotated with at least @safe or @system

The project tester seems to have identified a regression in the imageformats project caused by this change:
https://ci.dlang.io/blue/organizations/jenkins/dlang-org%2Fphobos/detail/PR-5720/1/pipeline/180

Okay, i'll stop spamming PR's. So just for clarification: Contrary to the documentation it's okay to force push into a pull request branch, if it's in review phase?
Also, I forgot to run unit tests with BUILD=debug, sorry for that.
It seems that flush() is now basically obsolete, since all decompressable data is returned via uncompress(), so I'll make it a no-op an mark it as deprecated.
And in debug builds uncompress() will fail its in condition, so I'll use a separate flag for end-of-stream detection.

Okay, i'll stop spamming PR's. So just for clarification: Contrary to the documentation it's okay to force push into a pull request branch, if it's in review phase?

I don't know why it would be a problem. I've been doing it for years whenever I make changes where it makes sense to rebase rather than simply add a new commit. Where force pushing is a problem is when multiple people are using a branch, since altering the repo would screw up anyone else who had already pulled commits from the repo that you had just invalidated via the forced push. But with a PR, it's just you using the branch to provide something to then be pulled. All of your pushing is therefore done before any pulling is done, and you're not doing anything that conflicts with anything that anyone is doing with the branch, because no one else is using it.

Alright, thanks for the explanation

Force pushing was the standard way, but now that github allows you to automatically squash all the commits, it's easier for reviewers if you just add new commits.  Although, Vladimir originally mentioned the two other PRs you created for this, which is a different matter.

If you want the dlang-bot to autoclose issue 8779 you need to have a commit with "Fix Issue 8779" in the commit message, otherwise you/we will have to close it manually

Thanks, this is looking much better.
I don't know if it matters for inflate, but shouldn't Phobos' flush call inflate with Z_FULL_FLUSH, to force zlib to flush any remaining internal state?

If you want the dlang-bot to autoclose issue 8779 you need to have a commit with "Fix Issue 8779" in the commit message, otherwise you/we will have to close it manually

It's not just about auto-closing Bugzilla issues, it also controls what will be added to the changelog for the next release. So, it would be good to update the commit message to conform to the GitHub/Bugzilla integration pattern.
I suggest changing the commit message of https://github.com/dlang/phobos/pull/5720/commits/0fe346f6905be39da17ea672d25db4ab22593287 to:
std.zlib: Add UnCompress.empty

Implement std.zlib.UnCompress.empty() which returns
whether all input has been processed.

Fixes issue 8779.


[Question] How to format date in a table cell?

How do I format a date in a cell. E.g {{try.date | date}}	  does not work.

Update :
{{row.CreatedDate | date:'MM/dd/yyyy'}}


README.example.md: Update observatory badge link

https://developer.mozilla.org/en-US/blog/mdn-http-observatory-launch/

The old Mozilla Observatory ... has been deprecated and will be sunset in September 2024.

I wonder what will happen when they "sunset" it. Will the old link redirect to the new http observatory?
Let's wait with merging this until we see the "sunset".

I wonder what will happen when they "sunset" it. Will the old link redirect to the new http observatory?

The main reason for the move is that Mozilla wants observatory to be part of MDN, so I think it's safe to assume that the new endpoint is what they would want us to use going forward.
For that reason I don't see a reason not to merge this.

Another reason to wait.
It also says

Not yet. The API will continue using the old test infrastructure for a while, therefore you will see some small differences between test scores returned by the API and the website. The API will be updated to use the new tests in a near-future iteration.

So there might be some inconsistency between the scores.

So there might be some inconsistency between the scores.

This is a problem that will solve itself in (hopefully short) time, and the implications are near non-existent.
I'd rather get this merged and not have it stuck in my mental todo-list :smile:


Allow directory names with embedded spaces

Allow directory names with embedded spaces to be listed in the list of directories to be backed up. This is accomplished by allowing a delimiter other than a blank space.

Clever solution! Changing the delimiter to something less likely to occur than spaces is a good idea. I think something like , would probably never occur in real backup targets (or at least 10x+ less than  ).
It would be nice if we could make this change without needing to add another option - eg change the default. But I don't really want to introduce a silently breaking change into the config format. You could version the config file (eg if it has version: "2" at the top, use the new delimiter, otherwise use space), but then you've added another option and there's not exactly any sign of more backwards-incompatible changes.
Any ideas better than just adding the variable as you did?

Please merge master (or rebase) to fix CI

Even if the new delimiter variable is not set within the conf file, the new version of the script will still run using the default space delimiter. Thus, even without changing the conf file (or even if the previous version of the conf file is used), previous users of the script will not be affected when using the new version of the script.
Rather than designate a new, fixed delimiter, I think it would be best to give the user a choice, especially because operating systems differ in what characters are allowed in file and directory names. For example, in macOS, a comma is allowed in file and directory names.

Closing this pull request. Will open a new pull request with the branch, custom-backup-delimiter.


I cannot understand why recursively applied GuidedBackpropReLU.

I tried non-recursive guided backprop version like this..
for idx, module in module_top._modules.items(): => for name, module in module_top.named_modules():
recursive_relu_apply(module) => #recursive_relu_apply(module)
module_top._modules[idx] = GuidedBackpropReLU.apply => module = GuidedBackpropReLU.apply
but, result was different..
As long as I know, using "named_modules()"(or "modules()") we can access the whole layers in a module. Then, why proper results can only be obtained by recursive manner? Can someone explain about this?
Thank you.

I was one of python generator's properties that it copy the element so using generator you cannot access the data. Thank you.

I was one of python generator's properties that it copy the element so using generator you cannot access the data. Thank you.

I'm not sure but I think it is related to one of python's generator properties that it copying the elements. so using generator you cannot access the data. Thank you.

I'm not sure but I think it is related to one of python's generator properties that it copying the elements. so using generator you cannot access the data. Thank you.

I'm not sure but I think it is related to one of python's generator properties that it copying the elements. so using generator you cannot access the data. Thank you.

I'm not sure but I think it is related to one of python's generator properties that it copying the elements. so using generator you cannot access the data. Thank you.


change type definition of pipeline from DefaultChannelPipeline to Cha…

Netty version: 5.0.0.Alpha3-SNAPSHOT
Context:
I found that in class AbstractChannel, the type definition of pipeline is "DefaultChannelPipeline". I think we would better to use the interface ChannelPipeline, not a detail implementation DefaultChannelPipeline. In fact, in the code we don't use any DefaultChannelPipeline specified code but just use it as ChannelPipeline.
private final DefaultChannelPipeline pipeline;

@skyao did you sign our ICLA?
http://netty.io/s/icla

@normanmaurer : I has sign the ICLA just now.

Cherry-picked into 4.0 (b79714ab5af563210301e972ca9ddbe7fcca5e8f), 4.1 (0740f703c1cdde0f7d6147c4131814825b83bc72) and master (b158f6956b1365dcdd2dd2ec4153885b9d30e6fb)

@skyao thanks!


Fully specify cache path in pip install job

Description
This updates the cache path for the setup-python step of the pip install job in the comprehensive workflow that runs on each commit on main. That job has been failing since #5234 was merged.
Based on a quick look at the job and setup-python action docs, I think this commit should fix things, though I'm fairly unfamiliar with things here.
Type of change

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

I know we are supposed to get only core-dev to merge, but as merging is the only way to test, let's try.
Thanks.

I know we are supposed to get only core-dev to merge, but as merging is the only way to test, let's try.

You could also modify the workflow file to run also on PR. And if pass then reverts this modification.

You could also modify the workflow file to run also on PR. And if pass then reverts this modification.

But in this specific case the modification is the same than the other workflow that does pass on the PR. So it would be running the same thing twice.


Add tracking issues

Example issue: https://github.com/exercism/org-wide-files/issues/36

See #38


Can not run qiime dada2 denoise-ccs without primers or adapters

Improvement Description
We need to be able to run qiime dada2 denoise-ccs even if the data does not have primers or adapters. some users are receiving their data from sequencers without adapters, primers, and the sequences and merged
Current Behavior
qiime dada2 denoise-ccs requires   --p-front and --p-adapter are required fields. Looking at the code, I believe this is something we are enforcing on the qiime2 interface side and it does not seem to be a requirement of dada2.
Proposed Behavior
Users on the forum have said that they are receiving data without primers and adapters and therefore can not run denoise-ccs
Comments

users does note that many sequences are not being classified because the sequences are reverse compliment.

References

 Forum X-Ref

I haven't looked at this in detail, but offhand this seems like a good one for you to work on @hagenjp - this should just be modifying the --p-front and --p-adapter fields to not be required on the QIIME 2 side. Assigning this to you in case you want a break from all of your migration work, but no immediate rush on this!

I had the same problem, but what puzzled me was why someone could run the code without writing those two parameters.

Hi @lida56, I'm not sure that this is related to this specific GitHub issue. Would you mind posting this with a request for help on the QIIME 2 Forum? We can help you troubleshoot this there.

closed by #168

Reopening because we need to also support situations where both the forward and reverse primers have been removed. See here for an example.

Waiting on #169 and then #172.


Support for Neutron Networking?

Hello, just wondering if this has been tested with OpenStack's Neutron networking? Specifically on OpenStack Kilo.

Is there a particular feature that you have in mind here or did something not work as expected? I don't think the current version has much support for Neutron.
The dev branch (https://github.com/galaxyproject/cloudlaunch/tree/dev) has been tested and appears to work as expected. That branch is under development and not quite ready for use.

Okay that's what it felt like. I had successfully deployed with Nova networking at the beginning of the year but we have since upgraded our environment. Now I'm trying to redeploy GOTC and running into a number of new issues. We can wait until the development branch is ready for use.

Has anyone made any progress on this? We are looking to deploy Galaxy in the Cloud for an Openstack deployment with Neutron networking and have not found any documentation on this subject.

New rewrite of CloudLaunch works with Neutron. CloudMan is still being upgraded.


chore: Check release on ARM

Could you please elaborate on what should be done for the issue?

@gaocegege We don't have ci test on arm, and it's compiled with cross-compilation. This issue only includes manual testing I think. We need to test it manually on arm before release

I have tried compiling with docker and QEMU. It takes about 90 minutes to build an aarch64 release while it takes less than 10 minutes to build a x86_64 release. We should setup an aarch64 machine for compilation or aarch64 releases should be removed in nightly releases.

Check whether cross compilation work
Test on ARM

Test on ARM - steps

install pg at ubuntu AWS a1.xlarge arm64
install v0.0.0-nightly.20240123
run sqllogictest -> passed

Minimum estimate storage assigned: 16G

[ ] pg-12
[ ] pg-13
[x] pg-14
[ ] pg-15
[ ] pg-16


Refacto Lost PasswordForm

[x] wrapper form
[x] Butotn type submit
[x] input required
[ ] #78

ok


Refine contact page a little bit

What's done

[x] Fix contact page responsiveness
[x] Using a common button on a contact form

LGTM


Slow inference with large Maps of literals

Compiler version
3.4.0, 3.4.1, 3.4.2
Minimized code
I put it in a gist here since the problematic Maps are quite large: https://gist.github.com/adkian-sifive/5c904054f400871f2fe712ab160be1b3
Output
The compiler hangs
Expectation
In this case the compiler should complain about not finding a main method, but it does not do that and just hangs.

3.4.2 takes just over two minutes to compile on my old box. (2.13.14 takes a few seconds. IIRC it checks for all the same primitive when lubbing.)
TIL 2.13 does not try to initialize a main-less object. 3.4 does indeed complain.

Thanks for checking! After retrying with a bit more patience it did indeed complain after around 5 mins on my old potato. Perhaps a performance enhancement opportunity but doesn't seem like a bug...

For example https://github.com/scala/scala3/issues/19907
That is already in 3.4.2.
On HEAD, the example is still over a minute (trying it locally, informally).

Thanks for the additional context!
Do you think this is worth re-filing separately as a performance issue?

There are a couple of open PRs for performance of calculating intersection types, but I don't know if they will apply here.
It couldn't hurt to reopen this ticket and let normal triage take its course, so I'll do that.

Actually, after re-running the test, I find the nightly version is 30% faster than the LTS version on my computer. But it is still much slower than Scala 2.

Scala 2: 9s
Scala 3.4.2: ~60s
Scala 3.6.0-RC1-bin-20240717-45dcb51-NIGHTLY: ~40s

With #21223, the compiling time can be reduced to Scala 2 level.


How to make ScrollView.jar after installation by "apt-install"?

Environment

Tesseract Version: 4.0.0-beta.1
Platform: Ubuntu 18.04
JDK Version: 1.8.0_161

Current Behavior:
I installed tesseract by 'apt install' command as below:

sudo apt install tesseract-ocr
sudo apt install libtesseract-dev

When the training began, I wanted to use --debug_interval 100 flag to view visual debug windows, but it requires building ScrollView.jar.
I tried as the tutorial said:

Copy piccolo2d-core-3.0.jar, piccolo2d-extras-3.0.jar and jaxb-api-2.3.1.jar to tesseract/java.
cd java
make ScrollView.jar
Set the SCROLLVIEW_PATH environment variable to point to your java directory containing all 3 jar files.

but when "make ScrollView.jar", error occured:

$~/tesseract-ocr/java$ make ScrollView.jar
cd .. && make  am--refresh
make[1]: Entering directory '/home/yh/tesseract-ocr'
make[1]: *** No rule to make target 'am--refresh'.  Stop.
make[1]: Leaving directory '/home/yh/tesseract-ocr'
Makefile:402: recipe for target '../config.status' failed
make: *** [../config.status] Error 2

Expected Behavior:
User can use --debug_interval > 0 flag while training, while Tesseract is installed by 'apt install' on ubuntu 18.04 platform, or this installation method is useless.
Suggested Fix:
Could you please give a solution to to see visual debug information in this situation?
PS:
I think it maybe because building ScrollView.jar needs building Tesseract first, but I want to build ScrollView.jar alone.
Very much looking forward to your reply。

Probably easier if we put a pre built one somewhere.

It looks like the tutorial needs an update. This sequence works from:
./autogen.sh
mkdir build && cd build
../configure
make ScrollView.jar


convco: 0.4.3 -> 0.5.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/convco/versions.
meta.description for convco is: A Conventional commit cli
meta.homepage for convco is: https://github.com/convco/convco
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.5.0 with grep in /nix/store/cn8hd0nm70ysrdv4qyqpqldj628aha83-convco-0.5.0
found 0.5.0 in filename of file in /nix/store/cn8hd0nm70ysrdv4qyqpqldj628aha83-convco-0.5.0

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
convco

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/638d9ebd5073ce25282a36ce02c82dc59acaee48#convco

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

convco

Maintainer pings
cc @Hoverbear @cafkafk for testing.

Result of nixpkgs-review pr 273107 run on x86_64-linux 1

1 package built:

convco