Clean install of CLI on OpenSUSE 15 gives error: NotImplementedError: APIVersion 2019-06-01 is not available

This is autogenerated. Please review and update as needed.
Describe the bug
Created brand-new OpenSUSE 15.1 VM,  Installed CLI as per instructions here:
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-zypper?view=azure-cli-latest
az login
gives error:
Error loading command module 'aro': No module named 'azure.mgmt.redhatopenshift'
details below:
Command Name
az login
Errors:
APIVersion 2019-06-01 is not available
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 631, in execute
    raise ex
cli/core/commands/__init__.py, ln 695, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 688, in _run_job
    six.reraise(*sys.exc_info())
...
azure/cli/core/_profile.py, ln 844, in find_through_interactive_flow
    result = self._find_using_common_tenant(token_entry[_ACCESS_TOKEN], resource)
azure/cli/core/_profile.py, ln 877, in _find_using_common_tenant
    tenants = client.tenants.list()
mgmt/resource/subscriptions/subscription_client.py, ln 122, in tenants
    raise NotImplementedError("APIVersion {} is not available".format(api_version))
NotImplementedError: APIVersion 2019-06-01 is not available

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

create new OpenSUSE Leap 15.1 VM
install CLI as per https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-zypper?view=azure-cli-latest
az login

Expected Behavior
CLI should login to my Azure account/subscription
Environment Summary
Linux-4.12.14-lp151.28.7-default-x86_64-with-glibc2.3.4
Python 3.6.5
Installer: RPM

azure-cli 2.4.0

Additional Context

@fengzhou-msft please take a look

I just created a SLES 15 SP1 PAYG VM. I ran into same error.

My customer is using Ubuntu and they are getting the same error.

Seeing this as well.

+1 on Ubuntu

It seems OpenSUSE 15.1 VM comes with a very old version of azure cli (2.0.45). It has a bunch of old azure-cli-* module packages and old dependencies installed in the system python site-packages directory(/usr/lib/python3.6/site-packages). With newer versions of azure-cli, all the modules are consolidated into one azure-cli package and all dependecies are installed under /usr/lib64/az/lib/python3.6/site-packages to not share the dependencies on purpose. The old dependencies have higher priority when loading and will cause issues.
If you haven't installed other python packages, the easiest way to clean up these old azure-cli packages and dependencies is to sudo zypper remove python3 first. Then you can run sudo zypper install --from azure-cli azure-cli to install the latest azure-cli and its dependencies including python3.

I can repro this issue on openSUSE Leap 15.1. We actually saw this issue before in #12783, #12878, #12779 and mistook it for some pip installation problem.
This is the pre-installed Azure CLI on openSUSE Leap 15.1:
> az -v
azure-cli (2.0.45)

acr (2.1.4)
acs (2.3.2)
...
Python location '/usr/bin/python3'
Extensions directory '/home/jladmin/.azure/cliextensions'

Python (Linux) 3.6.5 (default, Mar 31 2018, 19:45:04) [GCC]

Legal docs and information: aka.ms/AzureCliLegal

We have two options here:
1. Contact openSUSE to remove the pre-installed Azure CLI
Since openSUSE Leap 15.1 is not maintained by Microsoft, we need to contact openSUSE to remove the pre-installed Azure CLI to avoid all kinds of problems. Moreover, it can probably cause other problems once we move to PEP 420 (#13293).

2. Ship Azure CLI with its own Python
After installing Azure CLI with zypper, we can run
jladmin@jlsuse:~> az -v
azure-cli                          2.6.0

acr                                2.1.4
acs                                2.3.2
...

Python location '/usr/bin/python3'

We can see Azure CLI is using the system /usr/bin/python3 on openSUSE, it may conflicts with the pre-installed packages. We can ship Azure CLI with its own Python like how we do on Ubuntu with a deb package.

+1 on Ubuntu

@magaal, the Azure CLI package on Ubuntu has a built-in Python, which shouldn't suffer from this issue. After installing Azure CLI with apt:
$ az -v
azure-cli                          2.6.0

Python location '/opt/az/bin/python3'

You can see the Python Azure CLI uses is /opt/az/bin/python3.
To help us analysis this issue, could you share

The image and version of your Ubuntu
How you installed Azure CLI

The reason why directly running sudo zypper install --from azure-cli azure-cli doesn't work is because the empty /usr/lib/python3.6/site-packages/azure/__init__.py makes Python treat azure as a regular package, and thus stop using /usr/lib64/az/lib/python3.6/site-packages/azure which is assigned in the az script:
> cat /usr/bin/az
#!/usr/bin/env bash
AZ_INSTALLER=RPM PYTHONPATH=/usr/lib64/az/lib/python3.6/site-packages /usr/bin/python3 -sm azure.cli "$@"

https://www.python.org/dev/peps/pep-0420/#specification

If <directory>/foo/__init__.py is found, a regular package is imported and returned.

It seems OpenSUSE 15.1 VM comes with a very old version of azure cli (2.0.45). It has a bunch of old azure-cli-* module packages and old dependencies installed in the system python site-packages directory(/usr/lib/python3.6/site-packages). With newer versions of azure-cli, all the modules are consolidated into one azure-cli package and all dependecies are installed under /usr/lib64/az/lib/python3.6/site-packages to not share the dependencies on purpose. The old dependencies was loaded and caused issues.
If you haven't installed other python packages, the easiest way to clean up these old azure-cli packages and dependencies is to sudo zypper remove python3 and sudo rm -rf /usr/lib/python3.6/site-packages. Then you can run sudo zypper install --from azure-cli azure-cli to install the latest azure-cli and its dependencies including python3.

If you have other Python applications installed, you can use the follwoing workaround:
First, install back the old azure-cli that comes with the VM image:
sudo zypper install --oldpackage azure-cli-2.0.45-4.22.noarch
This way zypper knows what packages the old azure-cli depends on, then remove the old azure-cli and its dependencies:
sudo zypper rm --clean-deps azure-cli
Finally, follow the doc to install the latest azure-cli:
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-zypper?view=azure-cli-latest
We're also reaching out to the team that builds the image to either upgrade or remove the old azure-cli.

@fengzhou-msft Thanks for the information
OS: openSUSE Leap 15.2
The old package in Main repo name should use  azure-cli-2.0.45-lp152.2.2
zypper install -y --oldpackage azure-cli-2.0.45-lp152.2.2
but if openSUSE user use pip3 to install ansible with Azure [ https://docs.ansible.com/ansible/latest/scenario_guides/guide_azure.html ]
pip3 install ansible[azure]
after we clean dependencies and install new azure-cli, ansible command doesn't work anymore :p

I'm experiencing this issue on openSUSE Tumbleweed when I try to login with 'az login':
Error loading command module 'aro': No module named 'azure.mgmt.redhatopenshift'

@DataRepository are you able to run az --version to check your version? Does the instruction work for you?

@fengzhou-msft
OS: openSUSE Leap 15.2
After ansible 2.10, azure module move to external collections
ansible azure module use  " #ansible-galaxy collection install azure.azcollection "
I try to install azure-cli first (clean openSUSE Leap 15.2, not install any python package)
when I run
az --version
/usr/bin/python3: No module named azure.cli.main; 'azure.cli' is a package and cannot be directly executed
like https://github.com/Azure/azure-cli/issues/8716

It seems OpenSUSE 15.1 VM comes with a very old version of azure cli (2.0.45). It has a bunch of old azure-cli-* module packages and old dependencies installed in the system python site-packages directory(/usr/lib/python3.6/site-packages). With newer versions of azure-cli, all the modules are consolidated into one azure-cli package and all dependecies are installed under /usr/lib64/az/lib/python3.6/site-packages to not share the dependencies on purpose. The old dependencies was loaded and caused issues.

The newer packages are all available in openSUSE Leap 15.2 and 15.3 now ship version 2.14.2. Same applies to SLE-15-SP1 and newer.
Packaging the Azure SDK and CLI packages for a distributions is rather tricky due to the unusual high number of component packages.
Plus, the Azure SDK and CLI are apparently developed by different teams at a different development pace such that there are sometimes incompatibilities between SDK and CLI packages unless distribution packagers pick the right version of the SDK component packages.
FWIW, I am responsible for the Azure SDK and CLI packaging in openSUSE and SLE and such issues should be reported to the SUSE Bugzilla.

OS: openSUSE Leap 15.3
Still have problem when install azure-cli
#zypper install -y curl &&
rpm --import https://packages.microsoft.com/keys/microsoft.asc &&
zypper addrepo --name 'Azure CLI' --check https://packages.microsoft.com/yumrepos/azure-cli azure-cli &&
zypper install --from azure-cli -y azure-cli
when finish install and run
#az  --version
get error with
/usr/bin/python3.6: No module named azure.cli.main; 'azure.cli' is a package and cannot be directly executed

@sakanamax, this is different from the original NotImplementedError issue. Let's work on https://github.com/Azure/azure-cli/issues/20839 instead.

OS: openSUSE Leap 15.3
Still have problem when install azure-cli #zypper install -y curl && rpm --import https://packages.microsoft.com/keys/microsoft.asc && zypper addrepo --name 'Azure CLI' --check https://packages.microsoft.com/yumrepos/azure-cli azure-cli && zypper install --from azure-cli -y azure-cli
when finish install and run #az --version get error with
/usr/bin/python3.6: No module named azure.cli.main; 'azure.cli' is a package and cannot be directly executed

You shouldn't mix Azure packages from different sources. In particular, you are installing packages created for Fedora/RHEL on an openSUSE system. If you want the latest RPM packages on openSUSE, you can install them from the Cloud:Tools and devel:languages:python:azure and devel:languages:python:backports packages.

@glaubitz Any document on openSUSE wiki for install Azure CLI ?
"you can install them from the Cloud:Tools and devel:languages:python:azure and devel:languages:python:backports packages."
Or could you give us a guide or example to install ? Thanks

You can just install azure-cli with zypper in azure-cli which will install the older version. An update to a newer version is currently pending in our internal maintenance system.
To install the latest versions azure-cli on SLE-12/SLE-15/Leap 15.3, you can add the repos with:
zypper addrepo https://download.opensuse.org/repositories/Cloud:Tools/openSUSE_Leap_15.2/Cloud:Tools.repo
zypper addrepo https://download.opensuse.org/repositories/devel:languages:python:azure/openSUSE_Leap_15.2/devel:languages:python:azure.repo
zypper addrepo https://download.opensuse.org/repositories/devel:languages:python:azure/openSUSE_Leap_15.2/devel:languages:python:backports.repo
zypper refresh
zypper install azure-cli

But you can also make sure that your azure-cli package has the proper conflicts with the existing Azure packages in openSUSE if you want to allow users to install the RPMs that you are providing.

Hi @glaubitz the repo is for 15.2? according to the URL (https://download.opensuse.org/repositories/Cloud:Tools/openSUSE_Leap_15.2/Cloud:Tools.repo)
I think that is the one of the reasons - people don't choose this repo -- install azure-cli with openSUSE Leap 15.3
Because openSUSE Leap 15.2 is End of Life.
Any plan or date for newer version azure-cli with openSUSE Leap 15.3 ? ( An update to a newer version is currently pending in our internal maintenance system.  )
Again, thanks for help

Hi @glaubitz the repo is for 15.2? according to the URL (https://download.opensuse.org/repositories/Cloud:Tools/openSUSE_Leap_15.2/Cloud:Tools.repo) I think that is the one of the reasons - people don't choose this repo -- install azure-cli with openSUSE Leap 15.3 Because openSUSE Leap 15.2 is End of Life.

The 15.2 repository can be used with 15.3 without any problems.

Any plan or date for newer version azure-cli with openSUSE Leap 15.3 ? ( An update to a newer version is currently pending in our internal maintenance system. )

I will enable repository builds for 15.3 as well.

Again, thanks for help

Sure, no problem. Feel free to report any issues with the Azure package directly to our Bugzilla in case you run into any problems.

Hi @glaubitz
OS: openSUSE Leap 15.3
Thanks for enable repository builds for 15.3
I try to install with these command
#zypper install ansible
#ansible-galaxy collection install azure.azcollection

#zypper addrepo https://download.opensuse.org/repositories/Cloud:/Tools/15.3/Cloud:Tools.repo
#zypper addrepo https://download.opensuse.org/repositories/devel:/languages:/python:/azure/15.3/devel:languages:python:azure.repo

#zypper refresh
#zypper install azure-cli

I got error message blow
Problem: nothing provides 'azure-cli-core = 2.31.0' needed by the to be installed azure-cli-2.31.0-lp153.81.1.noarch
Solution 1: do not install azure-cli-2.31.0-lp153.81.1.noarch
Solution 2: break azure-cli-2.31.0-lp153.81.1.noarch by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c/d/?] (c):
By the way ....
There is no " devel:languages:python:backports.repo "  in  https://download.opensuse.org/repositories/devel:/languages:/python:/azure/15.3/

So I can not use zypper addrepo

Any idea about this ?
Thanks for kindly help

Thanks for enable repository builds for 15.3
I try to install with these command
#zypper install ansible
#ansible-galaxy collection install azure.azcollection

#zypper addrepo https://download.opensuse.org/repositories/Cloud:/Tools/15.3/Cloud:Tools.repo
#zypper addrepo https://download.opensuse.org/repositories/devel:/languages:/python:/azure/15.3/devel:languages:python:azure.repo

#zypper refresh
#zypper install azure-cli

I got error message blow
Problem: nothing provides 'azure-cli-core = 2.31.0' needed by the to be installed azure-cli-2.31.0-lp153.81.1.noarch Solution 1: do not install azure-cli-2.31.0-lp153.81.1.noarch Solution 2: break azure-cli-2.31.0-lp153.81.1.noarch by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c/d/?] (c):

I will have a look at that and fix the issue, if there is any.

By the way ....
There is no " devel:languages:python:backports.repo " in https://download.opensuse.org/repositories/devel:/languages:/python:/azure/15.3/
* So I can not use zypper addrepo

Any idea about this ?

The .repo file is now there, not sure why you didn't see it earlier. 15.3 is definitely enabled for this repo:

https://build.opensuse.org/repositories/devel:languages:python:backports

I already add backport repo, but still see the same message

There was a remaining issue with the 15.3 repositories that I have fixed now.
I have verified on a test VM with openSUSE Leap 15.3 now that installation works with these repos added for 15.3:
devel:languages:python:azure
devel:languages:python:backports
Cloud:Tools

Hi @glaubitz
thanks for reply
OS: openSUSE Leap 15.3
# zypper install ansible
# ansible-galaxy collection install azure.azcollection
# zypper addrepo https://download.opensuse.org/repositories/Cloud:/Tools/15.3/Cloud:Tools.repo
# zypper addrepo https://download.opensuse.org/repositories/devel:/languages:/python:/azure/15.3/devel:languages:python:azure.repo
# zypper addrepo https://download.opensuse.org/repositories/devel:/languages:/python:/backports/15.3/devel:languages:python:backports.repo
# zypper refresh
# zypper install azure-cli
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: the to be installed azure-cli-2.32.0-lp153.82.1.noarch requires 'python3-PyNaCl >= 1.4.0', but this requirement cannot be provided
  not installable providers: python3-PyNaCl-1.5.0-lp153.2.5.x86_64[devel_languages_python_backports]
 Solution 1: do not install azure-cli-2.32.0-lp153.82.1.noarch
 Solution 2: break azure-cli-2.32.0-lp153.82.1.noarch by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c):

Still bad luck with installation
Thanks again for kindly help

Hi @glaubitz thanks for reply
OS: openSUSE Leap 15.3
(...)
Still bad luck with installation
Thanks again for kindly help

Packages are being rebuilt from time to time. python-PyNaCl has not been published in the repository after a rebuild now:

https://build.opensuse.org/package/show/devel:languages:python:backports/python-PyNaCl

The truck icon means it has been published, the gear means it's being processed.

@glaubitz Got it
I will retry it after the package is ready :)
Thanks again

Hi @glaubitz
I  did the installation this morning but still bad luck.
# zypper install ansible
# ansible-galaxy collection install azure.azcollection
# zypper addrepo https://download.opensuse.org/repositories/Cloud:/Tools/15.3/Cloud:Tools.repo
# zypper addrepo https://download.opensuse.org/repositories/devel:/languages:/python:/azure/15.3/devel:languages:python:azure.repo
# zypper addrepo https://download.opensuse.org/repositories/devel:/languages:/python:/backports/15.3/devel:languages:python:backports.repo
# zypper refresh
# zypper install azure-cli
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: the to be installed azure-cli-2.32.0-lp153.82.1.noarch requires 'python3-PyNaCl >= 1.4.0', but this requirement cannot be provided
  not installable providers: python3-PyNaCl-1.5.0-lp153.2.5.x86_64[devel_languages_python_backports]
 Solution 1: do not install azure-cli-2.32.0-lp153.82.1.noarch
 Solution 2: break azure-cli-2.32.0-lp153.82.1.noarch by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c):

Hi @glaubitz
Any news about python3-PyNaCl ?
Thanks

I think we cloud close this issue? Because Azure say not support openSUSE / SUSE after 2.39.0 ?
https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=zypper
@glaubitz
thanks everyone for take care this issue

azure-cli works in openSUSE Tumbleweed and is soon going to be updated in openSUSE 15.x. The 15.x update is currently being processed by our internal QA process.


Included makerom-linux Segmentation Fault

The included version of makerom for linux segmentation faults when building BootNTR.
Makefile:180: recipe for target '/home/flat/dev/BootNTR/output/BootNTR-Mode3.cia' failed
make[1]: *** [/home/flat/dev/BootNTR/output/BootNTR-Mode3.cia] Segmentation fault (core dumped)
Makefile:143: recipe for target 'build' failed
make: *** [build] Error 2

try the latest one from ctrcommon:
https://github.com/Steveice10/ctrcommon/tree/master/tools
we will fix it later.

Using the latest from that link gives the following errors:
[RSF ERROR] Unrecognised Key: 'ExeFs'
[RSF ERROR] Error Proccessing RSF file

have you tried the latest devkitpro?

Yes. I have the latest devkitpro.

have you read the build-mode0.bat?
you should copy template-cia-0.rsf to template-cia.rsf, and do the same with resources/appinfo

Looks like that fixed it! I didn't even think to look at the bat files and assumed the makefile would take care of it and those were windows only. Sorry about that.


Documentation - list API's planned to never be implemented

I'm missing a page that explicitly lists APIs that are planned not to be supported, and why.
This issue somewhat helped me, but I feel it should be a bit more public and kept up to date.
https://github.com/databricks/koalas/issues/1003
Probably under User Guide --> Best Practices ?
Thanks!

I agree it might better adding those APIs to official docs with reasonable reasons.
cc. @HyukjinKwon @ueshin what do you think?

Yeah, I think it sounds fine.

@HyukjinKwon okay i'll add them to official docs while i'll work for #1003


live server

live server can't start

/causedByExtension
Please report this issue with more details in extension repo or check for existing issues and provide details there.


Fix jest-worker readme with changes to exports

Summary
The readme is wrong and confusing - when upgrading jest I had to look at the source to work out how to use jest-worker.

Codecov Report

Merging #11468 (b5a13f7) into master (0088802) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #11468   +/-   ##
=======================================
  Coverage   69.31%   69.31%
=======================================
  Files         311      311
  Lines       16293    16293
  Branches     4716     4716
=======================================
  Hits        11293    11293
  Misses       4972     4972
  Partials       28       28

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 0088802...b5a13f7. Read the comment docs.


Bitbucket plugin to publish

I like your plugin, however, there is no possibility at the moment to connect to bit bucket.
Could you please add this functionality.
Kind Regards.
G

+1, what's the easiest way to save / load an .md file in a bitbucket repository?

As someone who works for an organization that uses Bitbucket rather than GitHub, this would make StackEdit even more useful from my perspective as well.

I am also interested in this feature.
Is there a workaround for it or some progress about it @benweet ?

this would be an excellent addition.  I work in both github and bitbucket (mix of both work and personal projects) on a regular basis and this would really help keep everything in one location if this wa a thing


Unable to use -Xfrontend -debug-constraints

Description

When using swift test or swift build and passing the option, swift gives an error: Missing value -c
Steps to reproduce

✗ swift test -c debug -Xfrontend -debug-constraints
error: Missing value for '-c <configuration>'
Help:  -c <configuration>  Build with configuration
Usage: swift test <options>
  See 'test -help' for more information.

Expected behavior

run with the command

Environment

Swift compiler version info
swift-driver version: 1.62.15 Apple Swift version 5.7.2 (swiftlang-<IP_ADDRESS>.5 clang-14<IP_ADDRESS>)
Target: x86_64-apple-macosx13.0

Xcode version info

Deployment target:
Xcode 14.2
Build version 14C18

I believe you have to do swift test -c debug -Xswiftc -Xfrontend -Xswiftc -debug-constraints in order to tell SwiftPM to pass the -Xfrontend arguments to the Swift driver.

Closing, feel free to reopen if the above does not work for you.


WIP: feat(*): Adds bindle-keys endpoint support

This adds support for the new bindle-keys endpoint to the bindle server as well as client code for consuming that end point. Note that this has one small breaking change for the raw method on the Client.
I also fixed some clippy lints that had snuck past us

I am going to be out of town for a bit so no rush on this, but I did want to get it open so people could take a look at it and review.
The reason this is still a WIP is because I haven't written tests for the new CLI command. I will finish that when I get back

Sorry this took longer for me to come back around to. @technosophos or @radu-matei this needs a review!


Create a clickable link for images with image and figure directives

Proposal
Images, particularly logo and thumbnail images, are often clickable links on web pages. Currently this is possible in myst using plain markdown, e.g. [![]()](). But then we don't have access to the configuration options offered by the {image} directive.
So my proposal is basically to add this functionality, perhaps with a new :url: argument to the image directive.
Additional notes
The specific use case I'm thinking of here is for logos, which naturally want to link back to landing pages for whatever the logo is representing. The native logo images are often large, high-res image files and we want to scale them down for display, e.g. using the :width: option.
The need to scale down an image is one of the main reasons I reach for the {image} directive over the native Markdown image.

Agreed this would be useful - as a reference, the way that Jupyter Book currently handles this is with a :target: parameter:
```{image} foo.png
:target: https://google.com OR `myst-ref`
```


Added a computer science question

Summary of changes

Checklist

[x] I have read and followed the contribution guidelines.
[x] I have read through the Code of Conduct and agree to abide by the rules.
[x] This PR is for one of the available issues and is not a PR for an issue already assigned to someone else.
[x] My PR title has a short descriptive name so the maintainers can get an idea of what the PR is about.
[ ] I have provided a summary of my changes.

closes #XXXXX

@jdwilkin4 I have committed the changes you asked me to make please let me know if it done right.


TestVPNNSERemote test failing on packet intermittently in CI

Expected Behavior
Tests passing reliably in CI.
Current Behavior
https://circleci.com/gh/networkservicemesh/networkservicemesh/48157

We could not reproduce it for now, after one of NSmgr crashes was fixed.


basic tests for selection strategies

@logogin @mjdenkowski Could you guys take a look at this?

Rebased and updated test cases to distinguish between metric and point. Refactoring of strategy_lifespan data structure will require additional tests which are not there yet.


feat: add encoder utilities for pushdown

This adds a new field encoder (ZoneMapFieldEncoder) that calculates pushdown statistics and places them in the metadata.
It also changes the encoder so that it the choice of encoding is configurable.  This makes it possible for extensions to register custom encodings.  The zone maps encoder is an example of this as it is placed in a special crate for "encodings that rely on datafusion".
It also adds some utilities for converting an EncodedBatch to Bytes according to the lance file format.  This makes it possible to go from RecordBatch to Bytes using the lance file format.
There is not much testing for the zone maps encoder.  More will come when we add support for reading zone maps but I want to keep this PR simple for now.

@wjones127 I used the same MinAccumulator / MaxAccumulator approach that the btree indices use for finding min/max.  I wasn't sure if there was any good reason to prefer the StatisticsCollector over this approach?  If not, we can simplify once we are done with v1.

I wasn't sure if there was any good reason to prefer the StatisticsCollector over this approach?

Two things that I think StatisticsCollector handles well:

Large binary/string values are truncated correctly. The truncation happens before comparison, so it also makes the comparisons cheaper.
We calculate min, max, and null count in one scan over an array, rather than in independent scans.

Though would be happy to simplify if we can.

@wjones127 alright, between the truncation and the float ordering I'm convinced I'll switch to using the statistics collector in a future PR.  This way users don't have to have breaking changes and I think your logic is simpler when it comes to NaN (ignore).

Codecov Report
Attention: Patch coverage is 75.93985% with 96 lines in your changes are missing coverage. Please review.

Project coverage is 79.77%. Comparing base (68b45c3) to head (980534b).
Report is 2 commits behind head on main.

Files
Patch %
Lines

rust/lance-encoding-datafusion/src/lib.rs
0.00%
36 Missing :warning:

rust/lance-encoding-datafusion/src/zone.rs
81.29%
9 Missing and 17 partials :warning:

rust/lance-file/src/v2/writer.rs
80.85%
14 Missing and 4 partials :warning:

rust/lance-encoding/src/encoder.rs
89.15%
4 Missing and 5 partials :warning:

...ust/lance-encoding/src/encodings/physical/value.rs
55.55%
4 Missing :warning:

.../lance-encoding/src/encodings/logical/primitive.rs
62.50%
0 Missing and 3 partials :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2388      +/-   ##
==========================================
- Coverage   79.98%   79.77%   -0.22%
==========================================
  Files         200      202       +2
  Lines       54713    55219     +506
  Branches    54713    55219     +506
==========================================
+ Hits        43764    44051     +287
- Misses       8402     8605     +203
- Partials     2547     2563      +16

Flag
Coverage Δ

unittests
79.77% <75.93%> (-0.22%)
:arrow_down:

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

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


Sometimes cannot edit the name of a bookmark when creating it

A user reports:

when bookmarking a stop, if I edit the stop name and then set the group, I lose my edits to the name.

Yes Aaron, this is the same problem I was running into in my OBA bug report on 1/17. Didn't see a way to link back to the email exchange /bug report.

thanks, @islandowl. This'll be released in the next version of the app. If you'd like earlier access I'd be happy to add you to the beta program. Email me at aaron at brethorsting dot com if you'd like to be added.


Can't activeate oh-my-fish themes

Issue description
I'm using fish as my default shell on macOS. I can' activate the themes I install using oh-my-fish. The prompt doesn't get reloaded after adding one of the themes to my home-manager configuration file. I appreciate any help!
Following the example in source code, I set up the theme like this:
    plugins = with pkgs; [
      # https://github.com/jethrokuan/z
      {
        name = "z";
        src = fetchFromGitHub {
          owner = "jethrokuan";
          repo = "z";
          rev = "5f6c716b49ae24a5b36df18a6eceb7609d3ae81d";
          sha256 = "0kykhan9rdzy8anif5jp1iv3djrakhwk2arll3k93vaxm3np0gfm";
        };
      }

      # https://github.com/oh-my-fish/theme-bobthefish
      {
        name = "bobthefish";
        src = fetchFromGitHub {
          owner = "oh-my-fish";
          repo = "theme-bobthefish";
          rev= "a2ad38aa051aaed25ae3bd6129986e7f27d42d7b";
          sha256 = "1fssb5bqd2d7856gsylf93d28n3rw4rlqkhbg120j5ng27c7v7lq";
        };
      }

    ];

Maintainer CC
@Jomik
Technical details

system: "x86_64-darwin"
host os: Darwin 19.5.0, macOS 10.15.5
multi-user?: yes
sandbox: no
version: nix-env (Nix) 2.3.7
channels(root): "nixpkgs-20.09pre236005.2b7c0dcdaab"
channels(ashkanaleali): "darwin, home-manager, nixpkgs-20.09pre236343.78215a8395f, nixpkgs-unstable-20.09pre236343.78215a8395f"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs

Running rg bobthefish in nix/store shows the theme is installed somewhere, but I can't figure out how to make fish use the theme. I used to switch the themes using omf before.

I solved it by adding the following to my configuration file.
  xdg.configFile."fish/conf.d/plugin-bobthefish.fish".text = mkAfter ''
  for f in $plugin_dir/*.fish
    source $f
  end
  '';

It would be nice to mention in the document that these files that are installed by home-manager are not actually sourced and hence not used after installation.
Alternatively, I'm willing to open a PR to add this as part of the package.


MEMBERSHIP: @jeanduplessis

GitHub Username
@jeanduplessis
Requirements

[x] I have reviewed the community membership guidelines
[x] I have enabled 2FA on my GitHub account
[x] I have joined the Crossplane slack channel
[x] I am actively contributing to the Crossplane project
[x] I have two sponsors that are current Crossplane Org members
[x] I have spoken to my sponsors ahead of this application, and they have agreed to sponsor my application

Sponsors

@negz
@jbw976

List of contributions to the Crossplane project

https://github.com/crossplane/crossplane/pull/3324)
Responding to community members in Slack asking for help with creating providers
I manage a team at Upbound who are dedicated to pushing forward the improvement and maturation of the Crossplane framework and supporting the community through issue triaging, PR reviews, and Q&A in Slack.

+1 for me, @jeanduplessis is going to be coordinating, planning, and driving a lot of features and initiatives for the community! 💪

+1 - Thanks!

@negz @bassam PR to add @jeanduplessis in #56, requires steering committee review :)

@jeanduplessis has been invited to the org as a member :)


Update: LyX.LyX version <IP_ADDRESS>

null
Microsoft Reviewers: Open in CodeFlow

/azp run

How come this pull request has a moniker of Moniker: "". This shouldn't have passed validation.


Add es2018 alias

https://www.ecma-international.org/ecma-262/9.0/index.html#sec-promise.prototype.finally

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


Escape periods

There's a lot of places where you have .?
. means any character
? means 0 or 1
So the result is "0 or 1 or any character" but based on the context I believe you want \.? which is "0 or 1 of a literal period character"
In some other places you already have this done, but these are the ones I found that did not.

Can't add this being I had to redo the complete guide


how can I send https request  with locust when I already have been authentication..

Description of issue / feature request
Hi .. I'm working about load testing and I'm beginner.
İ want to get request a page that protected (login required)..
My code
from locust import HttpLocust, TaskSet, task

class WebsiteTasks(TaskSet):
    def on_start(self):
        self.login()
    def login(self):
        response = self.client.get("/admin/")
        csrftoken = response.cookies['csrftoken']
        response = self.client.post("/admin/",
                                    {"username": "hakantrg",
                                     "password": "123456"},
                                    headers={"X-CSRFToken": csrftoken})
        #self.client.get('/polls', cookies=response.cookies)
        #print(response.cookies)
        return response
    @task
    def user_workflow(self):
        self.login()
        self.index()
        self.about()

    def index(self):
        self.client.get("/")

    def about(self):
        self.client.get('/polls', cookies=self.locust.client.cookies.get_dict())
    #@task

class WebsiteUser(HttpLocust):
    task_set = WebsiteTasks
    host = "http://localhost:8000"
    min_wait = 5000
    max_wait = 15000

Expected behavior
I try to success request .
Actual behavior
# fails | Method | Name | Type
-- | -- | -- | --
7 | GET | / | HTTPError('404 Client Error: Not Found for url: http://localhost:8000/',)
7 | GET | /polls | HTTPError('404 Client Error: Not Found for url: http://localhost:8000/accounts/login/?next=/polls/',)

Environment settings (for bug reports)

OS:Wİndows 10
Python version:3.5
Locust version: 0.9.0

Steps to reproduce (for bug reports)
TBD - example code appreciated

The details will depend on your application under test.
closing.. this is a general question, not a bug/issue.

My application accepts only HTTPS traffic. While load testing, I faced this error on the console.
"HTTPError('404 Client Error: Not Found for url: https://[MY_ENDPOINT_URL]/healthcheck')"
Is this because locust tries to send an HTTP request to the application endpoint and it is getting rejected

@anm237 No, that doesn't sounds like it's related to HTTPS. The HTTPError exception does not imply that plain HTTP is used. It sounds like the URL you're requesting returns a 404 Not Found.


data API PoC

Co-authored-by: elf Pavlik<EMAIL_ADDRESS>

I see two main advantages of this direction:

No need to make up some IriTemplates example
Logic responsible for that API could be later moved from backend to frontend and even made that choice configurable per deployment

Corresponding backend draft PR https://github.com/janeirodigital/sai-impl-service/pull/42

The latest version uses a shared module from the corresponding service draft PR. For now, it relies on running yarn link or npm link manually.


Master Branch Build Error

Category

[x] Bug
[ ] Feature Request
[ ] Question

Brief Intro
Master branch fails now.
More Details

Thanks for the fix!


Update README Integrations: minimal WSGI Application

Since I did not find a minimal implementation to get graphql running as a WSGI Application (without a framework like django or flask) I created one only depending on graphql-server-core.
For the next developer searching for this it might be useful to add wsgi-graphql to Integrations in the README.

Thank you @moritzmhmk - the README will be updated in #19 now.


Problem with method 'deleteObject' of MapController

Hi,
In our application we use ui-router to manage states between several pages. One page shows device location on ng-map (version 1.4.5) with markers and shapes. When I navigate out to other page the MapController runs with exception:
TypeError: Cannot read property 'markers' of null
    at deleteObject (ng-map.js:1507)
    at HTMLUnknownElement.<anonymous> (ng-map.js:1685)
    at HTMLUnknownElement.jQuery.event.dispatch (jquery.js:4430)
    at HTMLUnknownElement.jQuery.event.add.elemData.handle (jquery.js:4116)
    at Object.jQuery.event.trigger (jquery.js:4345)
    at jQuery.fn.extend.triggerHandler (jquery.js:4902)
    at Function.jQuery.cleanData (angular.js:1554)
    at jQuery.fn.extend.remove (jquery.js:5253)
    at Object.$AnimateProvider.$get.leave (angular.js:4685)
    at angular-animate.js:976

This exception happens because code deletes a map firstly in obj.setMap(null) statement and later try to fetch objects from null object:
this.deleteObject = function(groupName, obj) {
    /* delete from map */
    obj.map && obj.setMap(null);

    /* delete from group */
    var objs = obj.map[groupName];**
    for (var name in objs) {
      objs[name] === obj && (delete objs[name]);
    }
};

I didn't find unittests for this method, so my filling here tells me that solution might be very simple: just move first statement obj.map && obj.setMap(null); after for block and the issue will gone:
this.deleteObject = function(groupName, obj) {
    /* delete from group */
    var objs = obj.map[groupName];**
    for (var name in objs) {
      objs[name] === obj && (delete objs[name]);
    }

    /* delete from map */
    obj.map && obj.setMap(null);
};

I'm ready to make a pull request if that solution is correct from development perspective or you can do it yourself.

Sorry for the bug
I will test it again and make a fix. My guess is map.markers is not set up properly or marker.map is not set.

Your are right, I made a fix with 1.4.7

Thank you for prompt fix.

I'm using Ionic Framework on a mobile app and I'm using the lazy loading attribute (under 1.7.7 version.) but I'm still having this messages the first time I open my view:
Error: Can't find variable: google

I'm loading my view like this:
<map  map-lazy-load="https://maps.google.com/maps/api/js"  center="{{position.lat}}, {{position.lng}}" street-view-control="false" zoom-control="false" map-type-control="false">
  <marker ng-repeat="pos in positions" position="{{pos.officeLat}},{{pos.officeLng}}"></marker>
</map>

Then I'm having this Error when leaving the controller and going elsewhere on the app. After this, other sections stop working.
TypeError: undefined is not an object (evaluating 'obj.map[groupName]')

When debugging, the map object is undefined. Is there a way to mannually call the destroy process on the directives within the 'on destroy' event of the controller?
By now, I'm making validation as a work around:
if (typeof obj !== 'undefined' && typeof obj.map !== 'undefined')
    obj.map[groupName]

I'm sorry if I'm missing some other configurations or obvious step!

can u create a plnkr for this? I have tested map-lazy-load and it worked fine, but not combined with ionic framework.

Hi, sorry for the "lazy" response. I've made this very basic plnkr, only loading the AngulaJS/Ionic dependencies. But everything seems to work well on a web scenario.
http://plnkr.co/edit/vULcuIAedgnd56Hpt88o?p=preview
I've implemented this on a mobile app and when the it initially loads with an internet connection, it works like a charm. The problem is when the app is loaded the first time with no internet connection and then it gains connection and tries to draw the Map directive again. The error message states for not finding the 'google' variable.
I hope you can help me with this!

map-lazy-load does not watch the internet connection.
So, if your app is connected to internet again, the page has to load again.

The internet connection check is made by the Cordova. I can't just reload the page, because in this case, the user is authenticated on the AngularJS $scope and I can't save any auth data on the device for automatic authentication.
Is there a way to reload the directive (including the lazy load of the Google Maps API), or maybe injecting the Map directive after the 'map-lazy-load' directive ends loading the Maps API?
Thanks again.

I don't know how to tackle this issue. Is this reproducible on browser by manually turning on and off the internet? If so, LMK, so that I can test it.

Closing this, @jaiversin please create another issue for map-lazy-load in mobile device.

I get an error angular.js:13424 TypeError: Cannot read property 'addObject' of null
at linkFunc (http://localhost:63342/.../bower_components/ngmap/build/scripts/ng-map.js:1676:18)
Any idea how to workaround it?


Add https://swap4.me/ to "buy-navcoin"

Acceptance Criteria
Add any additional acceptance criteria you think should be included to the list below.

[ ] Description is satisfied.
[ ] Changes display correctly on desktop / mobile.
[ ] Translations have been added or amended as necessary.

self assigned

Merged


[Hexagon] capture gtest output and return over FFI

Captures Hexagon gtest output in a string and passes back over the FFI.  Captured output mimics standard gtest output:
[==========] Running 27 test(s) from 1 test suite(s).
[----------] 27 test(s) from HexagonBuffer
[ RUN      ] HexagonBuffer.default_scope
[       OK ] HexagonBuffer.default_scope (0 ms)
[ RUN      ] HexagonBuffer.ddr_scope
[       OK ] HexagonBuffer.ddr_scope (0 ms)
[ RUN      ] HexagonBuffer.vtcm_scope
[       OK ] HexagonBuffer.vtcm_scope (0 ms)
[ RUN      ] HexagonBuffer.invalid_scope
[       OK ] HexagonBuffer.invalid_scope (0 ms)
[ RUN      ] HexagonBuffer.micro_copies_corresponding_regions
[       OK ] HexagonBuffer.micro_copies_corresponding_regions (0 ms)
[ RUN      ] HexagonBuffer.micro_copies_src_bigger
[       OK ] HexagonBuffer.micro_copies_src_bigger (0 ms)
[ RUN      ] HexagonBuffer.micro_copies_dest_bigger
[       OK ] HexagonBuffer.micro_copies_dest_bigger (0 ms)
[ RUN      ] HexagonBuffer.micro_copies_src_overlaps_dest_region
[       OK ] HexagonBuffer.micro_copies_src_overlaps_dest_region (0 ms)
[ RUN      ] HexagonBuffer.micro_copies_dest_overlaps_src_region
[       OK ] HexagonBuffer.micro_copies_dest_overlaps_src_region (0 ms)
[ RUN      ] HexagonBuffer.micro_copies_discontiguous_regions
[       OK ] HexagonBuffer.micro_copies_discontiguous_regions (0 ms)
[ RUN      ] HexagonBuffer.micro_copies_invalid_size
[       OK ] HexagonBuffer.micro_copies_invalid_size (0 ms)
[ RUN      ] HexagonBuffer.macro_copies_adjacent_corresponding_regions_merged
[       OK ] HexagonBuffer.macro_copies_adjacent_corresponding_regions_merged (0 ms)
[ RUN      ] HexagonBuffer.macro_copies_discontiguous_regions_not_merged
[       OK ] HexagonBuffer.macro_copies_discontiguous_regions_not_merged (0 ms)
[ RUN      ] HexagonBuffer.macro_copies_overlapping_regions_merged
[       OK ] HexagonBuffer.macro_copies_overlapping_regions_merged (0 ms)
[ RUN      ] HexagonBuffer.copy_from
[       OK ] HexagonBuffer.copy_from (0 ms)
[ RUN      ] HexagonBuffer.copy_from_invalid_size
[       OK ] HexagonBuffer.copy_from_invalid_size (0 ms)
[ RUN      ] HexagonBuffer.copy_from_smaller_size
[       OK ] HexagonBuffer.copy_from_smaller_size (0 ms)
[ RUN      ] HexagonBuffer.nd
[       OK ] HexagonBuffer.nd (0 ms)
[ RUN      ] HexagonBuffer.nd_copy_from
[       OK ] HexagonBuffer.nd_copy_from (0 ms)
[ RUN      ] HexagonBuffer.1d_copy_from_1d
[       OK ] HexagonBuffer.1d_copy_from_1d (0 ms)
[ RUN      ] HexagonBuffer.2d_copy_from_1d
[       OK ] HexagonBuffer.2d_copy_from_1d (0 ms)
[ RUN      ] HexagonBuffer.1d_copy_from_2d
[       OK ] HexagonBuffer.1d_copy_from_2d (0 ms)
[ RUN      ] HexagonBuffer.nd_copy_from_nd_invalid_size
[       OK ] HexagonBuffer.nd_copy_from_nd_invalid_size (0 ms)
[ RUN      ] HexagonBuffer.nd_copy_from_nd_smaller_size
[       OK ] HexagonBuffer.nd_copy_from_nd_smaller_size (0 ms)
[ RUN      ] HexagonBuffer.md_copy_from_nd
[       OK ] HexagonBuffer.md_copy_from_nd (0 ms)
[ RUN      ] HexagonBuffer.copy_to
[       OK ] HexagonBuffer.copy_to (0 ms)
[ RUN      ] HexagonBuffer.nd_copy_to
[       OK ] HexagonBuffer.nd_copy_to (0 ms)
[----------] 27 test(s) from HexagonBuffer (0 ms total)
[==========] 27 test(s) from 1 test suite(s) ran. (0 ms total)
[  PASSED  ] 27 test(s)

cc @mehrdadh

@adstraw how come this doesn't fail since we disabled gtest on hexagon?
https://github.com/apache/tvm/blob/main/tests/scripts/task_build_hexagon_api.sh

@mehrdadh This only works on the simulator. I will create a separate PR to fix #11237 and re-enable hardware tests

This PR is now failing in CI due to name change of the top-level python test from unit_test.py to test_hexagon_unit_tests.py.  This PR is not blocked behind the fix for #11237 which @supersat will fix.

Thought of a better solution that would allow us to land this PR before fixing #11237.  Latest commit skips the unit tests if $USE_HEXAGON_GTEST is not set in the environment.  This should allow CI to pass because we aren't currently setting that flag so test will be skipped.


fix(config): remove -cli suffix from config path

Integration tests are failing because they are looking for files with the name archway-cli, will update them


[DropdownMenu] Tap and hover not working properly when the browser is in responsive mode

Bug report
Current Behavior
When tapping on the trigger it should display the content, that does not happen in responsive mode, however, when I remove the open state in <Menu.Root open={isMenuOpen}, everything works as expected when tapping the trigger.
Expected behavior
The content should open on tap/click in responsive mode as it does in desktop mode
Reproducible example

code sandbox
this is one is for reference, I based my code on this

Suggested solution
idk ):
Additional context
I've tested the same thing in responsive mode in these 3 browsers

Browser
Version
Result

Edge
99.0.1150.55 (Official build) (x86_64)
The content won't display

Chrome
99.0.4844.84 (Official Build) (x86_64)
The content won't display

Firefox
99.0b8 (64-bit)
The content display but tapping on the item won't change the state

Your environment

Software
Name(s)
Version

Radix Package(s)
DropdownMenu
^0.1.6

React
n/a
17.0.2

Browser
Edge
99.0.1150.55 (Official build) (x86_64)

Assistive tech

Node
n/a
v16.0.4

yarn

3.2.0

Operating System
macOS Big Sur
11.6.5

Hi @well1791,
It looks like you are modifying the event handling from DropdownMenu.Trigger.
It seems to be the cause of your issues in responsive mode (I assume you mean touch emulation) as it's not present without your extra event handling.
We keep our components open so that people can modify/build on top. That being said, once users to so, the responsibility around making sure the component is still accessible/functional falls on them.
I believe this issue doesn't exist in our component at the moment so I will close the issue, but I'm happy to keep discussing here if I got it wrong.
✌

Hi @benoitgrelard,
Thanks for replaying, but, I still need to know what other alternatives do I have. So far I understand that I'm not overriding the onClick event in the Menu.Trigger component, so I would assume any click/tap event should work the same, so, at this point I'm lost.
Last, I'm wondering if theres other way of using the dropdown-menu component to code a dropdown that opens/triggers on hover+click/tap events, or maybe, if I should look into other components for that purpose, maybe navigation-menu?
Thanks in advance for your help

Hey @well1791,
I think it's because on touch devices both pointerEnter and pointerDown will trigger in succession when you touch.
So you probably want to caveat your "hover" handlers only for mouse inputs like so on your Trigger and Content:
onPointerEnter={(event) => {
  if (event.pointerType === 'mouse') setOpen(true);
}}
onPointerLeave={(event) => {
  if (event.pointerType === 'mouse') setOpen(false);
}}

Also, rather than overriding pointerEvents on the trigger, it might a good idea instead to make the menu non-modal so things outside of it can be interacted with, given the interaction you are trying to achieve (modal={false} on Root).
✌

You can use HoverCard instead of this
import * as HoverCard from "@radix-ui/react-hover-card";

	<HoverCard.Root>
		<HoverCard.Trigger />
		<HoverCard.Portal>
			<HoverCard.Content>
				<HoverCard.Arrow />
			</HoverCard.Content>
		</HoverCard.Portal>
	</HoverCard.Root>


A0-3340: Remove committee change digest

Description
Removal of the committee change digest.

We don't need to revert those changes as well, from the original PR?

https://github.com/Cardinal-Cryptography/aleph-node/pull/1206/files?diff=unified&w=0#diff-3c96b927be822588b1e81d59b5b6a036db0aed737547abbad61bb1a90f94ff08
https://github.com/Cardinal-Cryptography/aleph-node/pull/1206/files?diff=unified&w=0#diff-d54c46d685415ee021f1938faa757dff56ba4d185e8b39bdd6a7692292a5b460

Ok, g2g to be merged.


Softcode colors for experimental traces

Using the library outside the app it would be nice to be able to define the trace colors yourself and importantly also add more than 5 traces. This currently gives and index out-of-bounds error on the color list.

I appended the default colours for up to 10 traces now and included a new optional parameter in the plotting function to specify a list of custom colours.


SDF to USD : support to convert models

Signed-off-by: ahcorde<EMAIL_ADDRESS>🎉 New feature
Summary
Right now sdf2usd only support SDF world, this PR allows to convert models too.
Most of the models inside fuel will be supported
Test it
Dowload this model and run sdf2usd
Checklist

[ ] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Codecov Report

Merging #917 (3cc38a6) into sdf12 (6a18db1) will decrease coverage by 0.19%.
The diff coverage is 0.00%.

:exclamation: Current head 3cc38a6 differs from pull request most recent head 19d20b9. Consider uploading reports for the commit 19d20b9 to get more accurate results

@@            Coverage Diff             @@
##            sdf12     #917      +/-   ##
==========================================
- Coverage   88.02%   87.83%   -0.20%
==========================================
  Files         100      100
  Lines       14692    14723      +31
==========================================
- Hits        12933    12932       -1
- Misses       1759     1791      +32

Impacted Files
Coverage Δ

usd/src/cmd/sdf2usd.cc
22.22% <0.00%> (-6.99%)
: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 6a18db1...19d20b9. Read the comment docs.


feat(Slider): Add vertical slider

Goals:

Have a vertical slider as mentioned in #699

Extend the current horizontal slider functionality to also support having vertical sliders

Tasks:

[ ] Default sliders

[x] Without ticks
[x] With ticks
[ ] Disabled with ticks

[ ] Range sliders

[x] Without ticks
[x] With ticks
[ ] Disabled with ticks

Screenshots:
https://user-images.githubusercontent.com/45748283/179027102-23f2ab0a-89d2-44e0-9207-16c44cd0bdca.mp4

Bugs to solve:

Unexpected thumb offset when the page is scrolled: I think has something to do with event.pageY inside the mousemove event callback. I need to investigate it more but would appreciate your input if you know why this is happening.

The below thumb of the range slider has an unexpected vertical offset (shown in the second screenshot above)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: FlyersPh9:x: rohan-kadkolYou have signed the CLA already but the status is still pending? Let us recheck it.

@veekeys, To solve the testing problem that I mentioned above, I tried to check if the ticks were outside the section with id = demo-default. They seem to be inside the section.
I am currently comparing the old and the new code to see if I made any breaking changes. But do you have any other idea that comes to mind on why that is happening?

I was able to fix the above testing error for the horizontal sliders. For some reason, converting the tick numbers from being in a <b> to a <span> and adding a margin-bottom: $tick-height * 2; to the tick worked. But I am not able to pass the tests for the vertical slider because it says "Reference file not found".
Should I remove the tests for the <section>s with the vertical sliders? What should I do to fix the failing backstop tests?

After running yarn test, I noticed that one of the failing tests is for the Type Split State hover & focus (split) even though the reference and the test look nearly identical. The only diffs it found were the two images near Project Alpha (ie. the slim and default project alpha images). Should I run yarn approve --filter=header?
https://user-images.githubusercontent.com/45748283/179555965-75de2369-4a11-4ad4-a7b0-054894dd816d.mp4

Your tests are failing because you forgot to approve image from new slider tests.


Please have look, Issue while bootstrap

Hi jagannath,
Chef 15 introduces licensing agreements for commercial applications, which no one anticipated while we were creating this course. Chef 15 is still free for learning purposes though, so you can feel free to experiment with the new versions. To accept the licenses, you can add the "--chef-license accept" option to your bootstrapping command. Let me know if this works for you? Otherwise you can also use the "--bootstrap-version 14" option to force the installation of Chef 14 instead, which doesn't have a license agreement.

Thank you Issue solved

No response for long time and tried two three time bootstrap

check these things

copy your aws instance pem file to chef-repo
check the security group(open all or atleast ssh for all)
bootstrap command syntax

It worked and chef client installed on chef node. But when I try with private ip address I am getting following error


wikibase: Don't show "required statement" constraints for edits on existing entities

When uploading information to existing Wikibase items, we can get "issues" such as:

male population (P1540) requires statement with property P17.
This property is expected to have another statement with property P17 such as on item Katowice (Q588). If the item already has statements with property P17 in Wikidata, then this warning can be ignored.

During an OpenRefine-Wikidata training at Wikimania, this confused the trainer and audience into thinking that the "male population" property was only applicable to countries, whereas the meaning of this constraint is just to say that if "male population" is present on an item, the country of that item should also be added as a statement.
This issue could actually be safely ignored in this case because the corresponding items already had such a statement (which OpenRefine didn't check, as the issue message indicates).
Proposed solution
Such issues should simply not be generated for edits on existing items, because it's confusing.
Alternatives considered
The issue could be generated only in "slow mode" (when showing issues in the upload dialog), after checking that the corresponding statements are indeed missing.
Additional context
Follow-up to the training session mentioned above.

On the basis of which criteria could the issues get filtered then? It's perhaps a useful feature to add, but I don't understand yet how that would relate to this issue.

Filtering will be done based on,

Record : New or Update
Severity : Critical, Important, Warning, Info

Default filter setting will be to Hide - Info warning on update records. This can help users review / address issues when processing large data.
Made a quick mockup

Will the clickable button itself look like this ?

If so, it should be relabeled to something like Filter Issues?

The icon is clickable. The label needs work :)


Remove deprecated WString and ensure members initialised

Melody doesn't compile under PlatformIO for the Arduino Nano Every.
A declaration/definition of the Arduino String type is not includeed in Melody.h and SequenceParser.h, and the include of WString.h in Streamer.h doesn't seem to work, likely because including WString.h is deprecated (see https://github.com/arduino/ArduinoCore-API/blob/master/api/deprecated/WString.h)
This PR includes Arduino.h where required, which provides a definition of String.
Similar to dualB/Musician/pull/3, for neatness/correctness, this PR also ensures that all member variables are initialised to sensible default values at construction time, regardless of the validity of caller arguments (i.e. in Melody, ensuring _tempo and _base_duration are always initialised even if tempo == 0).

Thank you Lauren for your contribution! I have to test those changes on some Arduino boards, just to be sure.

A pleasure! Thanks for writing and sharing your libraries - I've used them in a couple of projects so far and they're really useful :)


Data race between Array.chop and Array.undefined's use of realloc

This code presented by @ergl in Zulip demonstrates a data race where the update to change the last character to '?' can be observed in the ArrayGrower actor within undefined.
actor Main
  new create(env: Env) =>
    let arr = "hello, world!".clone()
    (let hello, let rest) = (consume arr).chop(5)

    ArrayGrower(env, consume hello)
    Modifier(consume rest)

actor Modifier
  be apply(data: String iso) =>
    try data(data.size()-1)? = '?' end

actor ArrayGrower
  be apply(env: Env, data: String iso) =>
    let arr = (consume data).iso_array()
    arr.undefined(13)
    let final = String.from_iso_array(consume arr)
    env.out.print(consume final)

This occurs because Array.undefined calls the pony_realloc runtime function. The implementation at ponyint_heap_realloc then computes the size using the chunk info https://github.com/ponylang/ponyc/blob/935b9136a56685199b1602c51607bdcbdc92caaf/src/libponyrt/mem/heap.c#L571 and copies all of the old data over from the old chunk to the new one.
Unfortunately, if the realloced chunk comes from a sub-Array that comes from Array.chop(), then the length of the chunk will reflect the entire allocation, instead of length of the sub-Array (which grants the capability to read).
This causes realloc to copy the entire allocation, including the portion from the other half of the chop, creating a data race between realloc and any writes that might occur in another actor, with both actions unsynchronized.

A likely fix for this would be adding a length parameter to realloc to state how much data should be copied, or to not copy any data within the realloc function, and instead copy the data within pony code. But in either case, all uses of realloc would need to be changed.

With the realloc change, attention with need to be taken to make sure gc tracking is correct.

@jemc do you have any thoughts on this?

before anyone tackles fixing this, please consult with at least @jemc and myself to get sign off on your approach. @jasoncarr0 has suggested a couple possible approaches.

It should be noted that this is a race condition in the example and you won't always see the result of the bug. Sometimes it is hit, sometimes it isn't.

I have this fixed on a branch but it needs a test and release notes.


Autoloader: Invert dependencies and aliases maps

This inverts Autoloader's dependencies and aliases map.
The idea behind this is that in a dependency map, most elements will depend on only a few elements. The best example of this is clike. Previously, the string "clike" occurred as many times as there were components that depended on C-like. Now, the string appears once. Doing this for all dependencies and aliases saves about 0.5kB (or about 10%) for the minified file's size.

Please tell me whether we actually want this. A 10% decrease isn't much and this does add more complexity with the double inversion.

Bot has spoken.


Presentation mode

The zoom function (+/- buttons and ctrl + scroll) doesnt work in the pdf presention mode

As I understood, pdf presentation mode is just to get your whole page (a slide) fit into view? So if you want to zoom, why use presentation mode?

im using it because i want to hide the sidebar, because on small screens it just wastes space when working in split screen mode

Which sidebar?
Or do you mean this one, discussed in #95 which can be closed if you are using either intellij 2023.3 or earlier or plugin version 0.16 from #98

yes i meant this one. if you're already aware of the issue (not being able to hide the side bar) you could close this issue too, if you think the ability to zoom is not necessary in the presentation mode. I'm just using the presentation mode as it is currently the only way to hide the sidebar

Thanks, yes you could also install the plugin from the zip I linked in #98. We will try to get out a new release soon to fix the issue


Support opening a .ipynb from azure storage

It think this is just a one line change. Currently our opening code looks for only file and vsls schemes. This was to prevent us from opening something like git diffs for ipynb. Should be a quick change to support this, but I'm not actually sure how to test this. Just need to make the fix quick and pass off a vsix to Sid to test.
Email Details below

Eric,
Thanks for the info. That highlights the issue right there for us. At least until VS Code custom editor support releases we are opening .ipynb files with a bit of a hack. We’re hooking any new files that open up and specifically looking for .ipynbs, then we close down the raw json that was opened up by VSCode and we open up our custom editor. We were having problems with the git diff view trying to open up JSON diffs, so we restricted our viewer to just the “file” and “vsls” schemes (the diff views open up with a “git” scheme). I’m guessing that just adding in azurestorage scheme should unblock this.
Sid and I will test it out. Thanks again,
Ian
From: Eric Jizba<EMAIL_ADDRESS>Date: Friday, April 17, 2020 at 12:31 PM
To: Sid Unnithan<EMAIL_ADDRESS>Matt Hernandez<EMAIL_ADDRESS>Ian Huff<EMAIL_ADDRESS>Will Lorey<EMAIL_ADDRESS>Subject: Re: Editing .ipynb files from the Azure Storage extension
Honestly this kind of bug doesn’t surprise me. We use VS Code’s FileSystemProvider api to provide a virtual file system with scheme “azurestorage”, but that API doesn’t seem to be as fully supported as we originally hoped. In some cases, VS Code explicitly filters out schemes other than the normal “file://” - other times it’s less clear what the problem is

Consider black-listing schemes we don't support instead of white-listing those we do.


use uptime-kuma to measure working and tv-watch-time?

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
UI Feature
🔖 Feature description
I use uptime-kuma to track uptime of my laptop and set-top-box.
It would be nice to have an overview with the total uptime (hours and minutes) per day, week and month.
So I would have an overview how long I'm working and how long I watch TV. 😄
Not sure if this would be a usecase for uptime-kuma. :think
✔ Solution
graph with total uptime per day, week and month
❓ Alternatives
No response
📝 Additional Context
No response

I think this is a duplicate of https://github.com/louislam/uptime-kuma/issues/2477 (and other issues related to further configuring the response-timeframe graphs)
If you agree, could you please close this Issue, as duplicates only create immortal zombies and are really hard to issue-manage?
If not, what makes this issue unique enough to require an additional issue? (Could this be integrated into the issue linked above?) ^^
Side-Note: please provide a meaningfull title

I hoped this was already a meaningful title. 😄
#2477 sounds a bit different.
What Imwould wish is a chat with total uptime per day, week and month.
because I want to see the values:
monday my macbook was 9h56min up - so the would be my worktime
the whole week my makbook was up for 48h:23min - so this would be my weekly worktime
same applies for the uptime of my set-top-box.
would be interessting (at least for me) how long I watch tv over the week. 😃


modReLU

Hi,
Does anyone have code for modReLU with tensorflow as a backend?
I don't see modReLU in this repo.

I have the same question

Hi,
There is an implementation of modReLU for Tensorflow here:
https://github.com/MRSRL/complex-networks-release


Using onSlideEnter() causes error in existing slide deck

Describe the bug
I have a slide presentation which has loads a custom component in one of my slidse.  This component is simple test just for debugging:

<template>

<slot></slot>

</template>

which is to say a component that doesn't do much.
I reference it in my slides.md
<TestComponent>
My content
</TestComponent>

This results in an error on the console that looks like this

And the slide containing this component will not display.  It might be unreleated but this seems to also causes any Monaco formatted code sections to not load correctly.
Commenting out the onSlideEnter( () => { console.log('start scrolling') } makes things work again.
Environment

Slidev version: 0.49.13
Browser: ARC
OS: Mac 14.5

Sorry, I can't reproduce this on my machine. Does this still happen after restarting the Slidev server?

i'm not sure i had a local theme that was behaving weird for some other reason.  i think it seems to have gone away now.


Update about-kusto-data.md

Add metadata to enable Adobe Target.

@thedeids : Thanks for your contribution! The author(s) have been notified to review your proposed change.

We'll close the pull request because new metadata should be added in the private repository. Thanks!


Cms pages datagrid not diplay any rows when Change locale

Changing env
APP_LOCALE=it
then clear cache configuration
then added a new translations for specific page: php artisan optimize:clear
The datagrid not diplay any rows

this is my db for cms_page_translations

this is the results of datagrid query

Please could you check ?
Regards.
g.

Hi there,
I guess you don't add the pages for the IT locale, please take a reference from Here. and the issue will be resolved.

I did a small video.
https://drive.google.com/file/d/1ZjT9fLxSK1AWOjuAiwMhPL0QT6Rb3Zfv/view
The problem is not solved.
.g

I investigate further and:
Request URL: http://<IP_ADDRESS>:8000/admin/cms?v=1&page=1
Request Method: GET
Status Code: 500 Internal Server Error
Remote Address: <IP_ADDRESS>:8000
Referrer Policy: no-referrer-when-downgrade
Missing required parameter for [Route: shop.cms.page] [URI: page/{slug}] [Missing parameter: slug].
Please help.

Try this:
packages/Webkul/Admin/src/DataGrids/CMSPageDataGrid.php
public function prepareQueryBuilder()
    {
        $queryBuilder = DB::table('cms_pages')
            ->select('cms_pages.id', 'cms_page_translations.page_title', 'cms_page_translations.url_key')
            ->leftJoin('cms_page_translations', function($leftJoin) {
                $leftJoin->on('cms_pages.id', '=', 'cms_page_translations.cms_page_id')
                         ->where('cms_page_translations.cms_page_id', app()->getLocale());
            });

        $this->addFilter('id', 'cms_pages.id');

        $this->setQueryBuilder($queryBuilder);
    }

remove the line:
->where('cms_page_translations.cms_page_id', app()->getLocale())
Will be like this:
public function prepareQueryBuilder()
    {
        $queryBuilder = DB::table('cms_pages')
            ->select('cms_pages.id', 'cms_page_translations.page_title', 'cms_page_translations.url_key')
            ->leftJoin('cms_page_translations', function($leftJoin) {
                $leftJoin->on('cms_pages.id', '=', 'cms_page_translations.cms_page_id');
            });

        $this->addFilter('id', 'cms_pages.id');

        $this->setQueryBuilder($queryBuilder);
    }

This is a bug and I have added a PR for that. With that PR now you can able to filter the locale from the data grid itself.


Windows build

Thanks to conda-forge/flann-feedstock#15.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Needs https://github.com/conda-forge/pyflann-feedstock/pull/9 first.

    index.obj : error LNK2001: unresolved external symbol DEFAULT_FLANN_PARAMETERS
    build\lib.win-amd64-3.5\cyflann\index.cp35-win_amd64.pyd : fatal error LNK1120: 1 unresolved externals
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\link.exe' failed with exit status 1120

Possibly a cyflann bug; will investigate later.

Closing in favor of #4.


Update zio-logging, zio-logging-slf4j to 2.1.6

Updates

dev.zio:zio-logging
dev.zio:zio-logging-slf4j

from 2.1.2 to 2.1.6.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #484.


Multiple Groups, exclusive, one radio button

Is it possible to have multiple exclusive groups where the radio button transfers between them? As in only one layer selected from all layers available?
Right now it seems there can be multiple exclusive groups, but each always has to have a layer selected

No, the plugin doesn't support that at the moment.


On browser startup, if you're fast you can access a site before addon initializes

If addon is supposed to be enabled on startup, it takes something like ~1 second to initialize.
For some people this can be a non-issue, but I habitually launch a browser and immediately go to a site in a way that's always faster than the initialize time.

I have an idea for a way to fix this and will try it out today if I have the time

Two issues have now been fixed:

The problem you described
If the last page focused after starting firefox with persistent tabs enabled is in the blocklist it gets blocked.

Fixing this was very hacky. I have to rely on a settimeout in order for my check to compensate for the amount of time it takes for the webrequest listener to get started. But whatever, it works. Perhaps you want to verify that it is fixed?

Yeah this works great! Was there anything else here or should we close this? :)

All done. Cheers for submitting the issue

Reminder: we found out that depending on site, issue may still occur (which is strange)
Doesn't happen with reddit, but still happens with youtube.
Should we reopen this?

Yep. I'm gonna have to investigate this, fix should be included in the next release


check if queue is empty or how many items are stored

Hi,
Thanks for the useful plugin that you have made.
Is there a way to get an int of how many items are stored in the queue and also is there a way to check if the list is empty or not?
Thanks,

@madatr I'll be adding these this week - thanks for the feedback

@oakromulo Thank you very much man :)


Support installation on CentOS

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:

kind new feature

/kind bug fix
/kind cleanup
/kind revert change
/kind design
/kind documentation
/kind enhancement

What this PR does / why we need it:
This code change will add support for CentOS.
Code changes made to support CentOS and changes made for supporting RHEL too. Testing being done only for CentOS.
This is first of series of changes to be done.
TODO: Add proper installation of iscsi package and gelato fixes
Which issue(s) this PR fixes:
Fixes #377
Test Report Added?:

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
kind TESTED
/kind NOT-TESTED

Test Report:
Tested the changes on Ubuntu 16 and CentOS 8. With Dashboard as well as CLI.
Testing done only for Hotpot (API/Controller/Dock). Multi-cloud testing and fixes to be done.
Tested Volume and Host creation adn deletion.
Special notes for your reviewer:

Changed the stackstorm install branch to temporarily use all-in-one. Tested orchestration with Volume Provisioning services


chore: release main

:robot: I have created a release beep boop
accesskit: 0.12.0
0.12.0 (2023-09-27)
⚠ BREAKING CHANGES

Allow providing app_name, toolkit_name and toolkit_version in Tree, remove parameters from unix adapter constructor (#291)
Make ActionHandler::do_action take &mut self (#296)
Clean up roles and properties (#289)
Drop next/previous focus properties (#288)
Drop Tree::root_scroller (#279)
Decouple in-tree focus from host window/view focus (#278)
Switch to simple unsigned 64-bit integer for node IDs (#276)

Features

Add role for terminals (#282) (ddbef37)
Allow providing app_name, toolkit_name and toolkit_version in Tree, remove parameters from unix adapter constructor (#291) (5313860)

Bug Fixes

Drop Tree::root_scroller (#279) (fc6c4e0)
Drop next/previous focus properties (#288) (d35c7c1)
Support the pyo3 crate in all public enums (#270) (9b12d0c)

Code Refactoring

Clean up roles and properties (#289) (4fc9c55)
Decouple in-tree focus from host window/view focus (#278) (d360d20)
Make ActionHandler::do_action take &mut self (#296) (4fc7846)
Switch to simple unsigned 64-bit integer for node IDs (#276) (3eadd48)

accesskit_c: 0.6.0
0.6.0 (2023-09-27)
⚠ BREAKING CHANGES

Allow providing app_name, toolkit_name and toolkit_version in Tree, remove parameters from unix adapter constructor (#291)
Make ActionHandler::do_action take &mut self (#296)
Clean up roles and properties (#289)
Drop next/previous focus properties (#288)
Drop Tree::root_scroller (#279)
Decouple in-tree focus from host window/view focus (#278)
Switch to simple unsigned 64-bit integer for node IDs (#276)

Features

Allow providing app_name, toolkit_name and toolkit_version in Tree, remove parameters from unix adapter constructor (#291) (5313860)

Bug Fixes

Drop Tree::root_scroller (#279) (fc6c4e0)
Drop next/previous focus properties (#288) (d35c7c1)

Code Refactoring

Clean up roles and properties (#289) (4fc9c55)
Decouple in-tree focus from host window/view focus (#278) (d360d20)
Make ActionHandler::do_action take &mut self (#296) (4fc7846)
Switch to simple unsigned 64-bit integer for node IDs (#276) (3eadd48)

Dependencies

The following workspace dependencies were updated

dependencies

accesskit bumped from 0.11.2 to 0.12.0
accesskit_windows bumped from 0.14.3 to 0.15.0
accesskit_macos bumped from 0.9.0 to 0.10.0
accesskit_unix bumped from 0.5.2 to 0.6.0

accesskit_consumer: 0.16.0
0.16.0 (2023-09-27)
⚠ BREAKING CHANGES

Allow providing app_name, toolkit_name and toolkit_version in Tree, remove parameters from unix adapter constructor (#291)
Clean up roles and properties (#289)
Drop Tree::root_scroller (#279)
Decouple in-tree focus from host window/view focus (#278)
Switch to simple unsigned 64-bit integer for node IDs (#276)

Features

Add role for terminals (#282) (ddbef37)
Allow providing app_name, toolkit_name and toolkit_version in Tree, remove parameters from unix adapter constructor (#291) (5313860)

Bug Fixes

Drop Tree::root_scroller (#279) (fc6c4e0)
Support text fields without a value property (#274) (5ae557b)
Use common filters across platform adapters (#287) (09c1204)

Code Refactoring

Clean up roles and properties (#289) (4fc9c55)
Decouple in-tree focus from host window/view focus (#278) (d360d20)
Switch to simple unsigned 64-bit integer for node IDs (#276) (3eadd48)

Dependencies

The following workspace dependencies were updated

dependencies

accesskit bumped from 0.11.2 to 0.12.0

accesskit_macos: 0.10.0
0.10.0 (2023-09-27)
⚠ BREAKING CHANGES

Make ActionHandler::do_action take &mut self (#296)
Clean up roles and properties (#289)
Decouple in-tree focus from host window/view focus (#278)
Switch to simple unsigned 64-bit integer for node IDs (#276)

Features

Add role for terminals (#282) (ddbef37)

Bug Fixes

Support text fields without a value property (#274) (5ae557b)
Use common filters across platform adapters (#287) (09c1204)

Code Refactoring

Clean up roles and properties (#289) (4fc9c55)
Decouple in-tree focus from host window/view focus (#278) (d360d20)
Make ActionHandler::do_action take &mut self (#296) (4fc7846)
Switch to simple unsigned 64-bit integer for node IDs (#276) (3eadd48)

Dependencies

The following workspace dependencies were updated

dependencies

accesskit bumped from 0.11.2 to 0.12.0
accesskit_consumer bumped from 0.15.2 to 0.16.0

accesskit_unix: 0.6.0
0.6.0 (2023-09-27)
⚠ BREAKING CHANGES

Allow providing app_name, toolkit_name and toolkit_version in Tree, remove parameters from unix adapter constructor (#291)
Make ActionHandler::do_action take &mut self (#296)
Clean up roles and properties (#289)
Decouple in-tree focus from host window/view focus (#278)
Switch to simple unsigned 64-bit integer for node IDs (#276)

Features

Add role for terminals (#282) (ddbef37)
Allow providing app_name, toolkit_name and toolkit_version in Tree, remove parameters from unix adapter constructor (#291) (5313860)
Support live regions on Unix (#299) (8d52a5f)
Support multiple top-level windows on Unix (#292) (43ecf4b)

Bug Fixes

Don't require tokio rt-multi-thread feature (#290) (cf61e47)
Use common filters across platform adapters (#287) (09c1204)

Code Refactoring

Clean up roles and properties (#289) (4fc9c55)
Decouple in-tree focus from host window/view focus (#278) (d360d20)
Make ActionHandler::do_action take &mut self (#296) (4fc7846)
Switch to simple unsigned 64-bit integer for node IDs (#276) (3eadd48)

Dependencies

The following workspace dependencies were updated

dependencies

accesskit bumped from 0.11.2 to 0.12.0
accesskit_consumer bumped from 0.15.2 to 0.16.0

accesskit_windows: 0.15.0
0.15.0 (2023-09-27)
⚠ BREAKING CHANGES

Allow providing app_name, toolkit_name and toolkit_version in Tree, remove parameters from unix adapter constructor (#291)
Make ActionHandler::do_action take &mut self (#296)
Clean up roles and properties (#289)
Decouple in-tree focus from host window/view focus (#278)
Switch to simple unsigned 64-bit integer for node IDs (#276)

Features

Add role for terminals (#282) (ddbef37)
Allow providing app_name, toolkit_name and toolkit_version in Tree, remove parameters from unix adapter constructor (#291) (5313860)

Bug Fixes

Support text fields without a value property (#274) (5ae557b)
Use common filters across platform adapters (#287) (09c1204)

Code Refactoring

Clean up roles and properties (#289) (4fc9c55)
Decouple in-tree focus from host window/view focus (#278) (d360d20)
Make ActionHandler::do_action take &mut self (#296) (4fc7846)
Switch to simple unsigned 64-bit integer for node IDs (#276) (3eadd48)

Dependencies

The following workspace dependencies were updated

dependencies

accesskit bumped from 0.11.2 to 0.12.0
accesskit_consumer bumped from 0.15.2 to 0.16.0

accesskit_winit: 0.15.0
0.15.0 (2023-09-27)
⚠ BREAKING CHANGES

Allow providing app_name, toolkit_name and toolkit_version in Tree, remove parameters from unix adapter constructor (#291)
Make ActionHandler::do_action take &mut self (#296)
Decouple in-tree focus from host window/view focus (#278)
Switch to simple unsigned 64-bit integer for node IDs (#276)

Features

Allow providing app_name, toolkit_name and toolkit_version in Tree, remove parameters from unix adapter constructor (#291) (5313860)

Bug Fixes

Fix doc build for accesskit_winit (#281) (e3b38b8)

Code Refactoring

Decouple in-tree focus from host window/view focus (#278) (d360d20)
Make ActionHandler::do_action take &mut self (#296) (4fc7846)
Switch to simple unsigned 64-bit integer for node IDs (#276) (3eadd48)

Dependencies

The following workspace dependencies were updated

dependencies

accesskit bumped from 0.11.2 to 0.12.0
accesskit_windows bumped from 0.14.3 to 0.15.0
accesskit_macos bumped from 0.9.0 to 0.10.0
accesskit_unix bumped from 0.5.2 to 0.6.0

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/AccessKit/accesskit/releases/tag/accesskit-v0.12.0 :sunflower:

:robot: Release is at https://github.com/AccessKit/accesskit/releases/tag/accesskit_unix-v0.6.0 :sunflower:

:robot: Release is at https://github.com/AccessKit/accesskit/releases/tag/accesskit_windows-v0.15.0 :sunflower:

:robot: Release is at https://github.com/AccessKit/accesskit/releases/tag/accesskit_winit-v0.15.0 :sunflower:

:robot: Release is at https://github.com/AccessKit/accesskit/releases/tag/accesskit_c-v0.6.0 :sunflower:


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_d6gydw16ca/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_d6gydw16ca/clone/recipe/meta.yaml:23: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_d6gydw16ca/clone/recipe/meta.yaml:23: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_d6gydw16ca/clone/recipe/meta.yaml:31: missing_imports_or_run_test_py: Python packages require imports or a python test file in tests.
ERROR: /tmp/abs_d6gydw16ca/clone/recipe/meta.yaml:31: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_d6gydw16ca/clone/recipe/meta.yaml:41: missing_documentation: The recipe is missing a doc_url or doc_source_url
Errors were found


File extensions are case-sensitive and may not work

Example: https://moellenstedt.iff.kfa-juelich.de/user-redirect/image-viewer/?path=/storage/er-c-data%2Fadhoc%2Fspectra-microscope%2F2022-08-11-SAT%2Fraw%2FTEM%2F300Kv%2F3+Spotdrift%2Fmeasured+10min+0.25nm+min.JPG

Took a while for me to remember but I think this is now fixed with https://github.com/matbryan52/image-viewer/commit/7562492096c08cc2dcad73579ac8d6a4bcab7f61
Sorry it slipped through!


why is rank failing?

rank is failing two alternative-spelling tests:
{ "query": "travaillons", "ratings": ["jb823ud6"] },
{ "query": "conosceva", "ratings": ["va2vy7wb"] },

these works (jb823ud6, va2vy7wb) should appear anywhere in the list of results for those terms

Hunting a hunch that this is related to the analysis, I've run the following in dev tools
GET /_analyze
{
  "filter": [
    "lowercase",
    {
      "name": "italian",
      "type": "stemmer"
    }
  ],
  "tokenizer": "standard",
  "text": "conosceva"
}

GET /_analyze
{
  "filter": [
    "lowercase",
    {
      "name": "italian",
      "type": "stemmer"
    }
  ],
  "tokenizer": "standard",
  "text": "conoscenza"
}

Looking for how the italian analyser breaks down the search term ("conosceva") and the term in the title which we expect to match ("conoscenza")
For "conosceva" we get:
{
  "tokens" : [
    {
      "token" : "conosc",
      "start_offset" : 0,
      "end_offset" : 9,
      "type" : "<ALPHANUM>",
      "position" : 0
    }
  ]
}

and for  "conoscenza" we get
{
  "tokens" : [
    {
      "token" : "conoscent",
      "start_offset" : 0,
      "end_offset" : 10,
      "type" : "<ALPHANUM>",
      "position" : 0
    }
  ]
}

I'm not sure what's changed but this is obv the underlying problem

The french example is even weirder:

travaillons becomes travailon
travaillent becomes travailent

My theory was that it was something to do with my inlining of WorksAnalysis.languages here: https://github.com/wellcomecollection/catalogue-api/pull/467/files#diff-f06c3b2d3925e97ed7bb54c6c9049d4951c5874c47bac88f5adf33029deabe21
But I don't think that's it; the variable looks correct.

tbf, i think the conosceva example might be a poor choice by us in the first place. "Conosceva" means "he knew" and "conoscenza" means "knowledge", so a change of work ID there to something more relevant might not be the worst thing in the world...

To be sure, I looked at those analyses in both 7.16.3 (the old rank cluster) and 7.17.4 (the new cluster); both of them return the same analysis as above.

To poke holes in another theory: I have a snapshot taken in April's and the title of va2vy7wb hasn't changed. It's still conoscenza.


Missing permissions on data directory

Data is persisted at mountpoint /data which is backed by a volume mount.
By default, this is owned by root in Kubernetes, thus we need an init container setting it to the dataverse user. Otherwise we cannot save files.

This should go into 4.11, too, as it is a total show-stopper.

Solved and working :smile:


Change dialog URL from parent add-in

I use dialog to show angular application and need to pass parameter from excel sheet after dialog opened.
Is there any way to change URL of existing dialog instance?
Local storage check looks bad.

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

ID: a714626a-058a-789e-6add-5e9dfb21fd1f
Version Independent ID: 1b88a28c-fc36-4518-2808-7246f08d9753
Content: Use the Dialog API in your Office Add-ins
Content Source: docs/develop/dialog-api-in-office-add-ins.md
Service: unspecified
Product: office
GitHub Login: @o365devx
Microsoft Alias: o365devx

Local storage is good for communication between dialog and add-in.
Storage have change event, that can be catch from dialog.


Im trying to test the model

Traceback (most recent call last):   File "3. test_model.py", line 231, in <module>     main()   File "3. test_model.py", line 135, in main     delta_count_last = motion_detection(t_minus, t_now, t_plus)   File "C:\Users\d0b\GTAV PYTHON AI\Versions\v0.03\motion.py", line 46, in motion_detection     dst = cv2.addWeighted(screen,1.0, delta_view,0.6,0) NameError: name 'screen' is not defined

Traceback (most recent call last): File "3. test_model.py", line 231, in <module> main() File "3. test_model.py", line 135, in main delta_count_last = motion_detection(t_minus, t_now, t_plus) File "C:\Users\d0b\GTAV PYTHON AI\Versions\v0.03\motion.py", line 46, in motion_detection dst = cv2.addWeighted(screen,1.0, delta_view,0.6,0) NameError: name 'screen' is not defined
Did you solve the problem.


When add style to Tabbar badge doesn't appears on android

Hello @galadril
When I add a style to tabbar the badge doesn't appear
`

<!--
    Styles and Resources
-->
<Shell.Resources>
    <ResourceDictionary>
        <Color x:Key="NavigationPrimary">#2196F3</Color>
        <Style x:Key="BaseStyle" TargetType="Element">
            <Setter Property="Shell.BackgroundColor" Value="{StaticResource NavigationPrimary}" />
            <Setter Property="Shell.ForegroundColor" Value="White" />
            <Setter Property="Shell.TitleColor" Value="White" />
            <Setter Property="Shell.DisabledColor" Value="#B4FFFFFF" />
            <Setter Property="Shell.UnselectedColor" Value="#95FFFFFF" />
            <Setter Property="Shell.TabBarBackgroundColor" Value="{StaticResource NavigationPrimary}" />
            <Setter Property="Shell.TabBarForegroundColor" Value="White"/>
            <Setter Property="Shell.TabBarUnselectedColor" Value="#95FFFFFF"/>
            <Setter Property="Shell.TabBarTitleColor" Value="White"/>
        </Style>
        <Style TargetType="TabBar" BasedOn="{StaticResource BaseStyle}" />
    </ResourceDictionary>
</Shell.Resources>

<!-- Your Pages -->
<TabBar x:Name="tabBar">
    <Tab Title="Test1">
        <ShellContent ContentTemplate="{DataTemplate local:MainPage}" />
    </Tab>
    <Tab Title="Test2">
        <ShellContent ContentTemplate="{DataTemplate local:MainPage}" />
    </Tab>
    <Tab Title="Test3">
        <ShellContent ContentTemplate="{DataTemplate local:MainPage}" />
    </Tab>
    <Tab Title="Test4">
        <ShellContent ContentTemplate="{DataTemplate local:MainPage}" />
    </Tab>
</TabBar>

<!-- Optional Templates
// These may be provided inline as below or as separate classes.

// This header appears at the top of the Flyout.
<Shell.FlyoutHeaderTemplate>
    <DataTemplate>
        <Grid>ContentHere</Grid>
    </DataTemplate>
</Shell.FlyoutHeaderTemplate>

// ItemTemplate is for ShellItems as displayed in a Flyout
<Shell.ItemTemplate>
    <DataTemplate>
        <ContentView>
            Bindable Properties: Title, Icon
        </ContentView>
    </DataTemplate>
</Shell.ItemTemplate>

// MenuItemTemplate is for MenuItems as displayed in a Flyout
<Shell.MenuItemTemplate>
    <DataTemplate>
        <ContentView>
            Bindable Properties: Text, Icon
        </ContentView>
    </DataTemplate>
</Shell.MenuItemTemplate>

-->

`

@mohamadayash I’m also facing this, did you manage to find a workaround?
@galadril any workaround? or pointers on where should I look for to fix this?

@darrabam @mohamadayash @galadril
the tab bar appears all blank in the CustomShellRenderer I added this to style it in SetAppearance:
             // Change colors on different states
             int [] [] states = new int [] []
             {
                 new int [] {- Android.Resource.Attribute.StateChecked}, // unchecked
                 new int [] {Android.Resource.Attribute.StateChecked}, // checked
                 new int [] {} // default
             };

             int [] colors = new int []
             {
                 Android.Graphics.Color.ParseColor ("Hex"),
                 Android.Graphics.Color.White,
                 Android.Graphics.Color.ParseColor ("Hex"),
             };

             ColorStateList navigationViewColorStateList = new ColorStateList (states, colors);
            bottomView.ItemIconTintList = navigationViewColorStateList;
            bottomView.ItemTextColor = navigationViewColorStateList;

Duplicate #7

any solution? the layout is not applied in android from the xaml in shell

Please update to v1.0.8.
Look at the sample project, its also now styling via:
<Shell.Resources>     <ResourceDictionary>         <Color x:Key="NavigationPrimary">#2196F3</Color>         <Style x:Key="BaseStyle" TargetType="Element">             <Setter Property="Shell.BackgroundColor" Value="{StaticResource NavigationPrimary}" />             <Setter Property="Shell.ForegroundColor" Value="White" />             <Setter Property="Shell.TitleColor" Value="White" />             <Setter Property="Shell.DisabledColor" Value="#B4FFFFFF" />             <Setter Property="Shell.UnselectedColor" Value="#95FFFFFF" />             <Setter Property="Shell.TabBarBackgroundColor" Value="{StaticResource NavigationPrimary}" />             <Setter Property="Shell.TabBarForegroundColor" Value="White"/>             <Setter Property="Shell.TabBarUnselectedColor" Value="#95FFFFFF"/>             <Setter Property="Shell.TabBarTitleColor" Value="White"/>         </Style>         <Style TargetType="TabBar" BasedOn="{StaticResource BaseStyle}" />     </ResourceDictionary> </Shell.Resources>
Please close the issue if you agree

many thanks!
I have a question, how to link the properties? to handle it from a viewmodel

many thanks!
I have a question, how to link the properties? to handle it from a viewmodel

Hello, @angelru, just like w/ regular properties in a regular manner. You provide BindingContext to the entire page (yes, in this case it will be Shell) and then you can do badge:Badge.Text="{Binding FavoriteItemsCount}".

@SnowPowerCore Thanks for your help. Seems like the api have change considerably. I'm trying to set the badge from the code-behind after receiving a notification from the message center i.e. in my AppShell.xaml.cs:
           MessagingCenter.Subscribe<ItemDetailViewModel, BasketItem>(this, "ItemAdded", async (sender, arg) =>             {                 Badge.SetText(this.basketPage, "0");                 Badge.SetBackgroundColor(this.basketPage, Color.Red);             });
The code does execute, but no effect. this.basketPage is the name of the tab
        <Tab x:Name="basketPage" badge:Badge.BackgroundColor="#689F39" Title="{x:Static resources:AppResources.Basket}" Icon="basket.png">             <ShellContent x:Name="basketPageTemplate" ContentTemplate="{DataTemplate local:BasketPage_ar}" />         </Tab>
It used to be new BottomBarHelper().SetTinyBadge(1, Color.Red)  , but now BottomBarHelper is gone.

@SnowPowerCore Thanks for your help. Seems like the api have change considerably. I'm trying to set the badge from the code-behind after receiving a notification from the message center i.e. in my AppShell.xaml.cs:
 MessagingCenter.Subscribe<ItemDetailViewModel, BasketItem>(this, "ItemAdded", async (sender, arg) => { Badge.SetText(this.basketPage, "0"); Badge.SetBackgroundColor(this.basketPage, Color.Red); });
The code does execute, but no effect. this.basketPage is the name of the tab
 <Tab x:Name="basketPage" Title="{x:Static resources:AppResources.Basket}" Icon="basket.png"> <ShellContent x:Name="basketPageTemplate" ContentTemplate="{DataTemplate local:BasketPage_ar}" /> </Tab>
It used to be new BottomBarHelper().SetTinyBadge(1, Color.Red) , but now BottomBarHelper is gone.

@darrabam, thank you. Yes, mechanism has changed: no longer should you use code-behind approach (you can, though, please read here), but you should control the value directly in XAML. You can read more in the PR #8 .

@SnowPowerCore  Thanks for your prompt reply. I did create a ShellViewModel and setup things as normal mvvm, however that didn't work.
Then I set everything statically in the xaml (like the documentation, just for testing) and that also didn't work either!
Both, Android and iOS. XF:<IP_ADDRESS>0. Not sure what could be wrong.
Finally, I did try with a new clean project "Tab Template" , updated all the packages to the latest stable releases, set the badges statically like in the documentation, but still doesn't work! probably there is step missing is the documentation
Thanks,

@SnowPowerCore Thanks for your prompt reply. I did create a ShellViewModel and setup things as normal mvvm, however that didn't work.
Then I set everything statically in the xaml (like the documentation, just for testing) and that also didn't work either!
Both, Android and iOS. XF:<IP_ADDRESS>0. Not sure what could be wrong.
Finally, I did try with a new clean project "Tab Template" , updated all the packages to the latest stable releases, set the badges statically like in the documentation, but still doesn't work! probably there is step missing is the documentation
Thanks,

@darrabam can you publish your repo? Let's look into the code.

@SnowPowerCore thanks! there you go: https://github.com/darrabam/BadgeTest
Note also that in Android, using Xam.Shell.Badge.Android is unrecognized, although the nuget package was installed.

@SnowPowerCore thanks! there you go: https://github.com/darrabam/BadgeTest
Note also that in Android, using Xam.Shell.Badge.Android is unrecognized, although the nuget package was installed.

Can you try to place  in between of  and  and assign all badge:... props to  element?

Can you try to place <Tab> in between of <TabBar> and <ShellContent> and assign all badge:... props to <Tab> element?

Yes! this did the trick for the blank project. But for my actual project, still not showing the badges. I'll try to replicate the issue and post another project.
Many thanks,

@SnowPowerCore This is to confirm that it is working fine. The issue I mentioned about about my project was due to the fact that I had a CustomShellRenderer for my Android project.
Thanks again,


Add hscatter function and Makie.jl extension

Codecov Report
Attention: 51 lines in your changes are missing coverage. Please review.

Comparison is base (823e2a8) 97.45% compared to head (3d06cb7) 90.14%.

Files
Patch %
Lines

ext/GeoStatsBaseMakieExt.jl
0.00%
51 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #180      +/-   ##
==========================================
- Coverage   97.45%   90.14%   -7.31%
==========================================
  Files          35       36       +1
  Lines         629      680      +51
==========================================
  Hits          613      613
- Misses         16       67      +51

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


Map values with no dates

We have needed for some time to address the problem of incomplete data. One solution for this in mapping is to create a map layer of points or travels for which we have no dates. That makes it necessary to be able to add a data layer based on filters. If we can show points with no dates in red, then run a time phase for the other points, in another layer, we can at least see what we are missing and maybe, if we are lucky, a pattern.

Thought: A toggle in the timeline/timespan views to include or exclude null/undefined values from the filter. So filter would be brush + undefined, or just the brush, depending on the toggle. We should also explicitly say in the timeline/timespan how many undefined values are being removed from the dataset due to this toggle position.


Fix typo in extends.

:+1: but don't merge, cherry-pick instead to keep history cleaner

Cherry-picked to 2.2.1 in d3ccc619286a328529337a43b0851f8e7631b7ff