Not working with Latest Sylius Release

Hi there,
Thank you very much for your plugin, it seems very promising! But I'm getting an error on installation.
Could you help me with this?
Thanks
name@host# composer require bitbag/mollie-plugin
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Using version ^2.0 for bitbag/mollie-plugin
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - sylius-labs/sensio-distribution-bundle v6.0.0 requires sensiolabs/security-checker ~3.0|~4.0 -> satisfiable by sensiolabs/security-checker[4.1.x-dev, v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v4.0.0, v4.0.1, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.1.0, v4.1.1, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8] but these conflict with your requirements or minimum-stability.
    - sylius-labs/sensio-distribution-bundle v6.0.1 requires sensiolabs/security-checker ~3.0|~4.0 -> satisfiable by sensiolabs/security-checker[4.1.x-dev, v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v4.0.0, v4.0.1, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.1.0, v4.1.1, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.9 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.8 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.7 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.6 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.5 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.4 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.3 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.2 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.16 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.15 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.14 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.13 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.12 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.11 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.10 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.1 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - sylius/sylius v1.1.0 requires liip/imagine-bundle ^1.9.1 -> satisfiable by liip/imagine-bundle[1.9.1] but these conflict with your requirements or minimum-stability.
    - bitbag/mollie-plugin v2.0.3 requires sylius/sylius ^1.1 -> satisfiable by sylius/sylius[v1.1.0, v1.1.1, v1.1.10, v1.1.11, v1.1.12, v1.1.13, v1.1.14, v1.1.15, v1.1.16, v1.1.2, v1.1.3, v1.1.4, v1.1.5, v1.1.6, v1.1.7, v1.1.8, v1.1.9, v1.2.0, v1.2.1, v1.2.10, v1.2.11, v1.2.12, v1.2.13, v1.2.2, v1.2.3, v1.2.4, v1.2.5, v1.2.6, v1.2.7, v1.2.8, v1.2.9, v1.3.0, v1.3.1, v1.3.2, v1.3.3, v1.3.4, v1.3.5, v1.3.6].
    - bitbag/mollie-plugin v2.0.2 requires sylius/sylius ^1.1 -> satisfiable by sylius/sylius[v1.1.0, v1.1.1, v1.1.10, v1.1.11, v1.1.12, v1.1.13, v1.1.14, v1.1.15, v1.1.16, v1.1.2, v1.1.3, v1.1.4, v1.1.5, v1.1.6, v1.1.7, v1.1.8, v1.1.9, v1.2.0, v1.2.1, v1.2.10, v1.2.11, v1.2.12, v1.2.13, v1.2.2, v1.2.3, v1.2.4, v1.2.5, v1.2.6, v1.2.7, v1.2.8, v1.2.9, v1.3.0, v1.3.1, v1.3.2, v1.3.3, v1.3.4, v1.3.5, v1.3.6].
    - bitbag/mollie-plugin v2.0.1 requires sylius/sylius ^1.1 -> satisfiable by sylius/sylius[v1.1.0, v1.1.1, v1.1.10, v1.1.11, v1.1.12, v1.1.13, v1.1.14, v1.1.15, v1.1.16, v1.1.2, v1.1.3, v1.1.4, v1.1.5, v1.1.6, v1.1.7, v1.1.8, v1.1.9, v1.2.0, v1.2.1, v1.2.10, v1.2.11, v1.2.12, v1.2.13, v1.2.2, v1.2.3, v1.2.4, v1.2.5, v1.2.6, v1.2.7, v1.2.8, v1.2.9, v1.3.0, v1.3.1, v1.3.2, v1.3.3, v1.3.4, v1.3.5, v1.3.6].
    - bitbag/mollie-plugin v2.0.0 requires sylius/sylius ^1.1 -> satisfiable by sylius/sylius[v1.1.0, v1.1.1, v1.1.10, v1.1.11, v1.1.12, v1.1.13, v1.1.14, v1.1.15, v1.1.16, v1.1.2, v1.1.3, v1.1.4, v1.1.5, v1.1.6, v1.1.7, v1.1.8, v1.1.9, v1.2.0, v1.2.1, v1.2.10, v1.2.11, v1.2.12, v1.2.13, v1.2.2, v1.2.3, v1.2.4, v1.2.5, v1.2.6, v1.2.7, v1.2.8, v1.2.9, v1.3.0, v1.3.1, v1.3.2, v1.3.3, v1.3.4, v1.3.5, v1.3.6].
    - don't install sylius/sylius v1.3.0|remove __root__ No version set (parsed as 1.0.0)
    - don't install sylius/sylius v1.3.1|remove __root__ No version set (parsed as 1.0.0)
    - don't install sylius/sylius v1.3.2|remove __root__ No version set (parsed as 1.0.0)
    - don't install sylius/sylius v1.3.3|remove __root__ No version set (parsed as 1.0.0)
    - don't install sylius/sylius v1.3.4|remove __root__ No version set (parsed as 1.0.0)
    - don't install sylius/sylius v1.3.5|remove __root__ No version set (parsed as 1.0.0)
    - don't install sylius/sylius v1.3.6|remove __root__ No version set (parsed as 1.0.0)
    - sylius/sylius v1.2.0 requires sylius-labs/sensio-distribution-bundle ^6.0 -> satisfiable by sylius-labs/sensio-distribution-bundle[v6.0.1, v6.0.0].
    - sylius/sylius v1.2.1 requires sylius-labs/sensio-distribution-bundle ^6.0 -> satisfiable by sylius-labs/sensio-distribution-bundle[v6.0.1, v6.0.0].
    - sylius/sylius v1.2.10 requires sylius-labs/sensio-distribution-bundle ^6.0 -> satisfiable by sylius-labs/sensio-distribution-bundle[v6.0.1, v6.0.0].
    - sylius/sylius v1.2.11 requires sylius-labs/sensio-distribution-bundle ^6.0 -> satisfiable by sylius-labs/sensio-distribution-bundle[v6.0.1, v6.0.0].
    - sylius/sylius v1.2.12 requires sylius-labs/sensio-distribution-bundle ^6.0 -> satisfiable by sylius-labs/sensio-distribution-bundle[v6.0.1, v6.0.0].
    - sylius/sylius v1.2.13 requires sylius-labs/sensio-distribution-bundle ^6.0 -> satisfiable by sylius-labs/sensio-distribution-bundle[v6.0.1, v6.0.0].
    - sylius/sylius v1.2.2 requires sylius-labs/sensio-distribution-bundle ^6.0 -> satisfiable by sylius-labs/sensio-distribution-bundle[v6.0.1, v6.0.0].
    - sylius/sylius v1.2.3 requires sylius-labs/sensio-distribution-bundle ^6.0 -> satisfiable by sylius-labs/sensio-distribution-bundle[v6.0.1, v6.0.0].
    - sylius/sylius v1.2.4 requires sylius-labs/sensio-distribution-bundle ^6.0 -> satisfiable by sylius-labs/sensio-distribution-bundle[v6.0.1, v6.0.0].
    - sylius/sylius v1.2.5 requires sylius-labs/sensio-distribution-bundle ^6.0 -> satisfiable by sylius-labs/sensio-distribution-bundle[v6.0.1, v6.0.0].
    - sylius/sylius v1.2.6 requires sylius-labs/sensio-distribution-bundle ^6.0 -> satisfiable by sylius-labs/sensio-distribution-bundle[v6.0.1, v6.0.0].
    - sylius/sylius v1.2.7 requires sylius-labs/sensio-distribution-bundle ^6.0 -> satisfiable by sylius-labs/sensio-distribution-bundle[v6.0.1, v6.0.0].
    - sylius/sylius v1.2.8 requires sylius-labs/sensio-distribution-bundle ^6.0 -> satisfiable by sylius-labs/sensio-distribution-bundle[v6.0.1, v6.0.0].
    - sylius/sylius v1.2.9 requires sylius-labs/sensio-distribution-bundle ^6.0 -> satisfiable by sylius-labs/sensio-distribution-bundle[v6.0.1, v6.0.0].
    - Installation request for __root__ No version set (parsed as 1.0.0) -> satisfiable by __root__[No version set (parsed as 1.0.0)].
    - Installation request for bitbag/mollie-plugin ^2.0 -> satisfiable by bitbag/mollie-plugin[v2.0.0, v2.0.1, v2.0.2, v2.0.3].```

Works now :)

Thanks


Get group items method

You should take a request with Group name and id.
Count amount of items in this group.
Return amount of items and all items in this group (name, desription, price).
Test located in:

test/api/routes/partner-service/item-group-service.js

Hi. Please check test for ItemsRecursiveGet method - chain "GoodsItems" should be array (not object).

GoodsItem type changed. Please update your project.


clustermesh: enable per-cluster RBAC in etcd server

This PR reworks how the cilium agents and the cluster-mesh API server are authorized against the clustermesh etcd server, configuring per-cluster RBAC policies, to improve the overall security and provide better isolation.
In particular:

The clustermesh API server is switched to use an ad-hoc user rather than root.
The agents on each cluster use a different user against the remote etcd servers. A new logic is introduced in the clustermesh API server, and it is responsible for the creation of the etcd users, based on the configuration provided. This per-cluster users operating mode is disabled by default, and it can be enabled through a dedicated helm values flag. An intermediate configuration is additionally provided to allow switching from one mode to another with no disruption.

Additional details are provided in the respective commits.
@reviewers: this is the first time I use the Hive framework. Feel free to let me know if anything should be implemented differently.

clustermesh: enable per-cluster RBAC in etcd server

/test

By the way, should the feature get documented?

I would personally say that the documentation is blocked until the cilium CLI is migrated to use helm. The documentation is based on the CLI, but it currently uses hard-coded manifests, which make impossible to enable this feature.

How do we add new clusters to the clustermesh with the auth mode cluster? Seems all clusters need to have the (new) user of the new cluster added, how does that work?

I agree that all clusters need to have the new user added, but IMHO that is not much different compared to now, since the new etcd configuration needs anyhow to be set on all clusters. In this case, users are automatically synchronized in etcd by the clustermesh API server based on the content of a ConfigMap, which is updated through helm when a new cluster is listed. There is a transient period in which the new user might not be yet present (depending on the ordering of the operations), but the connection will eventually be established once it gets created.

The ConformanceIngress test failed due to https://github.com/cilium/cilium/issues/24347. Retriggered

The first force-push rebased onto master to fix the conflict, while the second one moved the promise logic to a separate pkg/kvstore/cell.go file as per Tobias's suggestion.

/test


Where i can download libtensorflow.so

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution Linux Ubuntu 16.04:
TensorFlow version: 2.3.1

Describe the problem
I want to download or get the compiled libraries for tensorflow-rocm 2.3.1 (libtensorflow.so and libtensorflow_framework.so.2 etc?)
Later I want to use them in my C# application.

Hi @gosha20777 , you can pull the TF2.3 docker container and build it from source to get all the shared libraries available. The steps can be like the following:
alias drun='sudo docker run -it --network=host --device=/dev/kfd --device=/dev/dri --ipc=host --shm-size 16G --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $HOME/dockerx:/dockerx'

drun rocm/tensorflow:rocm4.0.1-tf2.3-dev

cd ~/tensorflow/ && bash build_rocm_python3

@sunway513 I don't need tensorflow for python
I need C++ tensorflow API to use it from C++ application.

@deven-amd  does TF need different build options to build for C++ APIs?

We do not explicitly generate any C++ artifacts for TF in our containers.
Let me look into whether any are generated as a by-product of creating the TF whl pkg. If yes, we can probably tweak our scripts to post them somewhere. Else we need to figure out a way to generate it.

@gosha20777
Just confirming that we do not currently build and post the libtensorflow.so for linking with C/C++ apps.
You can follow the steps outlined here ( https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/lib_package/README.md ), to build the same for ROCm.
Specifically, I have verified that the following steps will work in the container mentioned by @sunway513 above ( rocm/tensorflow:rocm4.0.1-tf2.3-dev )
yes "" | ROCM_PATH=/opt/rocm-4.0.1 TF_NEED_ROCM=1 PYTHON_BIN_PATH=/usr/bin/python3 ./configure

bazel test //tensorflow/tools/lib_package:libtensorflow_test && \
bazel build //tensorflow/tools/lib_package:libtensorflow

executing the above command will yield the library you want in bazel-bin/tensorflow/tools/lib_package/libtensorflow.tar.gz
We will plan on posting (i.e. making available for public download) the nightly and release version of the library, but that will take time.


azure cli command

> New-AzADServicePrincipal -ApplicationId "205478c0-bd83-4e1b-a9d6-db63a3e1e1c8"
How I can do the same with azure cli command?

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

ID: beac0740-af6e-61ce-bcfa-e783ca181b7d
Version Independent ID: d97885ea-b051-5fde-bd14-ec977e34760e
Content: Tutorial - Configure HTTPS on an Azure CDN custom domain
Content Source: articles/cdn/cdn-custom-ssl.md
Service: azure-cdn
GitHub Login: @mdgattuso
Microsoft Alias: magattus

@hokugawa
Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

I was also stuck here. After looking at the CLI docs, I tried this with success
az ad sp create --id 205478c0-bd83-4e1b-a9d6-db63a3e1e1c8

Adding work items into backlog for CLI and PoSH tutorials for configuring HTTPS on Azure CDN custom domain
#please-close


Weather app crashes when trying to change location

Weather -> Alt+L -> Go.
Weather - 0.1.1_git-1 - x86_gcc2 from Haiku Depot
Haiku hrev50375
Weather-511-debug-28-06-2016-13-10-42.report.zip

It seems that the issue was fixed with 0c9ab27.


Please update the pre-built SDK

There is a bugfix in dart_style 1.3.2. It doesn't affect external users because it's related to the in-progress NNBD syntax so I didn't file a ticket roll the pre-build SDK. But now that Dart team people (like @cskau-g) are migrating code to NNBD, it's getting hit.
Could someone roll the SDK to the latest? Thanks!
See: https://github.com/dart-lang/dart_style/issues/877

@athomas will be updating the checked in SDK as part of the Dart 2.7 release.


Nil Values

Ive noticed since updating to the latest version a lot of values are now nil all the time. All the precipitation values, temperatures low/high etc. Some data is being decoded but not all of it.

Ah damn. I thought things were ok with the unit tests. I’ll take a look at this later this evening and try to submit an update ASAP.

Ok thanks!

I'm currently working on this, and I realized that the JSON keys for some of the precipitation values differ from the property names I specified, which explains that issue. Are you seeing other data that exists in the JSON but not in ForecastIO? I'm searching for other errors but not coming up with much.

I think it was mainly precipitation and temperature high / lows were the main problem, but I didn't have time to investigate into too much detail.


Automatically add post year to e621 tags

Updated simple_sites.js to support a year option.
Currently supported sites:

[x] Twitter
[x] FurAffinity
[x] Pixiv
[x] SoFurry
[x] FurryNetwork
[x] Weasyl
[x] Inkbunny
[ ] DeviantArt

I'll add support for all sites soon since it's dead simple to do.
Also, I haven't updated main.user.js in this PR, but I could add it, if wanted.

I attempted to add DeviantArt, but it seems pretty broken so I skipped that one for now.


[MWPW-132443] Gnav updates for Blog migration

I would usually open this PR from my fork, but I got 404s when trying to use the https://branch--repo--owner.hlx.page approach. This branch will be deleted as soon as it is merged.

This aims to handle any gaps noticed while testing the FEDS Gnav on Blog. It:

ensures the region picker dropdown is closed on outside click;
adds a No Logo option to the 'Gnav Brand' and 'Adobe Logo' features. These blocks can now be authored to be just image, just text or both of them together;
ensures that placeholders used in the global navigation documents are replaced. This was already in place for dropdown menus and the footer;
provides an additional fallback (imsClientId) for the navigation experience name if one hasn't been explicitly defined.

There are still a few things required for a successful migration:

a few authoring changes. These can be implemented right now and they have no side-effects when still using the Milo Gnav; details will be provided in MWPW-132443;
implementation of contextual search. We're currently doing a due diligence for this feature.

Resolves: MWPW-132443
Test URLs:

Before: https://main--milo--adobecom.hlx.page/drafts/ramuntea/blog-old-gnav?martech=off
After: https://gnav-blog-migration-updates--milo--adobecom.hlx.page/drafts/ramuntea/blog-new-gnav?martech=off

Hey @overmyheadandbody would this url be a better after/testing example?
https://main--blog--adobecom.hlx.page/?milolibs=gnav-blog-migration-updates
This tests directly against what we have in the migrated blog.
For the "region nav" the blog uses the inline variant to achieve the mini popup layout for the languages.

Hey @rgclayton! Yup, milolibs can be used as well, I just wanted to showcase the changes in a more 'controlled' environment. The link to test these changes with the Global Navigation code would be: https://main--blog--adobecom.hlx.page/?milolibs=gnav-blog-migration-updates&headerqa=global-navigation&footerqa=global-footer
However, we still need to make the two authoring suggestions from JIRA. Those shouldn't affect current layout.
Regarding the contextual search, we'll be treating it as a separate story, we have a few ideas on how to optimise the workflow.

I will soon be merging this if there are no other concerns.

@overmyheadandbody , the codecov check currently fails. Do you mind having a look what code should be covered in addition? Thx

@overmyheadandbody Sorry for the delay in response!
I didn't see a note about the langnav (Change Region) being addressed in that ticket or this PR. Is that something we need a seperate ticket for?

Hey @rgclayton! In the body of the PR I mentioned

ensures the region picker dropdown is closed on outside click;

Are you looking for other features surrounding the region picker?
We already support the dropdown, I've updated my example page - https://gnav-blog-migration-updates--milo--adobecom.hlx.page/drafts/ramuntea/blog-new-gnav. You can also have a look over the Blogs example page - https://main--blog--adobecom.hlx.page/?milolibs=gnav-blog-migration-updates&headerqa=global-navigation&footerqa=global-footer

@overmyheadandbody : looks like there is a merge conflict, can you please check? Thx

Unit tests passing thanks to https://github.com/adobecom/milo/pull/920, merge conflicts fixed, code coverage improved for Global Navigation (added additional checks in getUserEntitlements). However, there is a project-wide coverage drop coming from other areas, Global Navigation is still doing well:

@honstar, do you want to have another look before merging? 😀

@honstar, do you want to have another look before merging? 😀

I think the codecoverage drop came from the personalization PR which introduced some unit test failures that were later fixed by skipping tests. All good from my side 👍


restarting brokers multiple times within a short period causes IP change

I restarted brokers multiple times within a short period - for a config change and this caused brokers to start in different ip from the original. stickiness is not being honored - Is there some config that I am missing. This is major issues for us since - not only that the data needs to be replicated to the new node. the data directory of the previous node is not cleaned and when in future if there is broker 2  is started in that node broker 2 will refer to the data directory of broker 1

@vidhyaarvind you can set the location of the broker's data based on ID e.g.
log.dirs=/mnt/data/kafka/$id

stickyness is only valid if the broker isn't failing. if the broker fails to even start then the fail over timeout should be taking ownership of moving the broker. There is no point to keep a broker sticky to a Mesos Agent if it can't start (e.g. the disk is full).
if the broker could start (however the agent is gone like the agent is restarting) then it would wait


Delete IPv6 route and neigh to peer gateway if necessary

Check whether the route and neigh to peer gateway are still needed
and delete the route and neigh if necessary. This can happen when
the traffic encryption mode or traffic encapsulation mode changes.
Fixes #3437
Signed-off-by: Xu Liu<EMAIL_ADDRESS>

/test-ipv6-only-e2e

/test-ipv6-only-e2e
The test should fail if my comment in https://github.com/antrea-io/antrea/pull/3490#discussion_r834489249 is correct.

/test-ipv6-only-e2e

/test-ipv6-only-e2e

/test-e2e
/test-ipv6-e2e
/test-ipv6-only-e2e

/test-integration
/test-conformance
/test-networkpolicy


Remove side effects from assert() calls

Turns out that the assert() macro is required to output nothing in non-debug builds: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/assert.h.html. This caused libudx to break in a production builds because things like UDP handle initialisation happened as side effects of assert().

TIL


Better way of checking cuDNN version

The CUDNN_VERSION env variable is specific to the NGC containers. This PR adds the API for the pyTorch extension to check the cuDNN version that is available (based on the loaded libcudnn*.so library).

/te-ci pytorch


fix line and add my name

@Rahmat31   thanks for making your first contribution, I will be merging your Pull Request, also look at the issues so that you can get a chance to win a limited community Swag from me.
If you like the project and Repo please give it a star and Follow me on Github (would be appreciated)


[Snyk] Security upgrade @backstage/plugin-search-backend-module-elasticsearch from 0.0.0-use.local to 0.0.1

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

packages/backend/package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Regular Expression Denial of Service (ReDoS) SNYK-JS-FINDMYWAY-8055229
  50

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)

🎉 Snyk hasn't found any issues so far.
✅ code/snyk check is completed. No issues were found. (View Details)


Create compatability with telescope-file-explorer.

Would be awesome since it's part of the telescope family anyway. If this isn't achievable, it would be nice to just be able to add a custom command to execute after selection, e.g. so that you could just set Telescope file_browser and it would have the same effect. This might already be possible, not sure :|, maybe through setting a custom plugin for file_explorer (i.e. file_explorer = "telescope") and then file_explorer_config = { plugin_name = 'telescope', command = 'Telescope file_browser' }. Either way, love the plugin :)!

Ok, I've been going through the code, and I see the issue. The telescope file browser only accepts paths through the path=... parameter. You can set file_explorer_config = { command = "Telescope file_browser path=" } but then whaler automatically add a space in between path= and the selection (i.e. path= /home/username/Desktop). This generates an error. The code that adds the space:
if auto_file_explorer then
    local cmd = vim.api.nvim_parse_cmd(file_explorer_config["command"] .. " " .. selection[1],{})
    vim.api.nvim_cmd(cmd, {})
end

A potential solution would be to just remove the space part (file_explorer_config["command"] .. selection[1]) and just tell the user to add a space if it's relevant for their command. Most of the time their not going to set this anyway, so they wont care.

After checking telescope docs I know the whole path=... to be true for all telescope pickers.

Wow, I didnt know about Telescope file_browser.
Yes, sure that would be defenitely good. Im planning on adding support to most of the file explorers so I really appreciate your contribution.
From the code perspective I noticed there is always an space between the command and the path. Im thinking about adding a prefix_dir to the configuration. This way its easier to change the codebase.

This would be absolutely incredible! I can't wait (no pressure though) :)!!!

Whaler now support a prefix_dir in the file explorer configuration.
Also, telescope-file-explorer is now added to the out of the box support ;)
Thanks for your contribution!


MM-15544: Fixing selector selection with arrows on more direct channels

Summary
For some reason it was reseting the select channel to null on every props change
Ticket Link
MM-15544

@jespino This wasn't cherry-picked, do you know if this is meant for v5.14?

@amyblais sorry the delay in my reply, I don't really know if this must be in 5.12. But is quite small and concrete, I think there is not risk on inserting it in 5.12. Anyway, if not, it should be part of 5.13 at least, because is a bug fix.


Deprecate gridmatching and fullmatch

Depends on releasing
https://github.com/LiberTEM/LiberTEM-blobfinder/pull/83, will fail and should not be merged until then.
Closes #1469
The tests are removed, which allows removing the test fixtures and corresponding imports, which then allows testing for a DeprecationWarning on import.
Contributor Checklist:

[ ] I have added or updated my entry in the creators.json file
[ ] I have added a changelog entry for my contribution
[ ] I have added/updated documentation for all user-facing changes
[ ] I have added/updated test cases
[ ] I have included the rebuilt production build of the client (only if changes were made to the GUI)

Reviewer Checklist:

[ ] /azp run libertem.libertem-data passed
[ ] No import of GPL code from MIT code

/azp run libertem.libertem-data

/azp run libertem.libertem-data

/azp run libertem.libertem-data

/azp run libertem.libertem-data


Library support for backplane managed scripts

Adding library support for backplane managed scripts
Fixes : OSD-13310

Let's close this @feichashao ?

/close


ImageSharp

Hi! Do you have any pointers on getting your library to work with ImageSharp? I've read through the documentation and am honestly quite confused, it'd be great if you could help a bit. My goal is to, on each frame update, render the frame into an ImageSharp image for use with my program. Thanks!

Hi, interesting idea.
You could do that by implementing your own IRenderTarget. For that, please see the Readme and this Avalonia-specific sample implementation:
https://github.com/MarcusWichelmann/MarcusW.VncClient/blob/master/src/MarcusW.VncClient.Avalonia/RfbRenderTarget.cs#L31
You would only have to implement the GrabFramebufferReference method. As you can see, there it creates a WriteableBitmap, which is also Avalonia-specific, but could be any other Bitmap implementation. All the VNC-Client implementation needs, is a pointer to the memory, where whatever Bitmap implementation stores its image.
So after looking at the ImageSharp documentation, your best bet would probably be, to allocate your own byte[] rgbaBytes with the required size for all the pixels, return a IFramebufferReference with a pointer to that byte-array and then use the Dispose method of your `IFramebufferReference? implementation (see here) to pass the byte-array to ImageSharp using a callback when the rendering is finished:
using (var image = Image.LoadPixelData<Rgba32>(rgbaBytes, width, height))
{
    // Work with the image
}

Hope that helps.


Does on.merge_group support branches-ignore filter

If the merged

https://github.com/actions/languageservices/pull/12 Add branches to merge-group schema

missed to add a branches-ignore filter as well.
More info

Filter branches is definitely supported since it's used in the official blog for merge group: https://github.blog/changelog/2022-08-18-merge-group-webhook-event-and-github-actions-workflow-trigger/.
At the time of writing this, on.merge_group.branches is not documented.

https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#merge_group
Search for "branches|" ("|" is a vertical bar) on https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions

Closing since merge_group needs an org repo and the difference between supported and unsupported filters is not observable.


Refine DataFrame/Series.product.

Refines DataFrame/Series.product to:

Consolidate and reuse _reduce_for_stat_function.
Support axis, numeric_only, and min_count parameters.
Enable to calculate values including negative values or zeros.

Codecov Report

Merging #1979 (05c4288) into master (dd9661f) will decrease coverage by 2.71%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1979      +/-   ##
==========================================
- Coverage   94.57%   91.85%   -2.72%
==========================================
  Files          50       50
  Lines       10946    10810     -136
==========================================
- Hits        10352     9930     -422
- Misses        594      880     +286

Impacted Files
Coverage Δ

databricks/koalas/frame.py
96.09% <ø> (-0.71%)
:arrow_down:

databricks/koalas/series.py
96.75% <ø> (-0.17%)
:arrow_down:

databricks/koalas/generic.py
88.30% <100.00%> (-3.85%)
:arrow_down:

...bricks/koalas/tests/plot/test_frame_plot_plotly.py
26.43% <0.00%> (-73.57%)
:arrow_down:

databricks/koalas/plot/plotly.py
26.31% <0.00%> (-68.43%)
:arrow_down:

databricks/koalas/usage_logging/__init__.py
25.66% <0.00%> (-66.65%)
:arrow_down:

...ricks/koalas/tests/plot/test_series_plot_plotly.py
37.73% <0.00%> (-58.88%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
47.82% <0.00%> (-52.18%)
:arrow_down:

databricks/koalas/__init__.py
79.68% <0.00%> (-10.94%)
:arrow_down:

databricks/koalas/accessors.py
86.43% <0.00%> (-7.04%)
:arrow_down:

... and 22 more

Continue to review full report at Codecov.

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

Thanks! merging.


Is this repo not maintained anymore? (need support for @aws-sdk/*)

I love this library but it seems the maintenance is no longer happening? The lib stopped working with the new version of the SDK.
Currently with the new version you get Error: Cannot find module 'aws-sdk/clients/dynamodb' since the new SDK is in @aws-sdk/client-dynamodb

related to #286


upgrade go packages related with cluster monitoring config

Signed-off-by: marcolan018<EMAIL_ADDRESS>

/lgtm


JBDS-3615 Run virtualbox with elevated privileges

Node-windows breaks the tests, closing until a better solution is found.

Found a way to get it working


Showing blank page when the site is idle

Describe the bug
I have created a site using reactjs(16.13.1). The page becomes blank when the site is idle. It does not occurs all the time. It occurs at some cases.
Did you try recovering your dependencies?

Tried adding homepage="." in package.json file.
But the issue remains same at some case
Which terms did you search for in User Guide?

(Write your answer here if relevant.)
Environment

(paste the output of the command here.)
Steps to reproduce

(Write your steps here:)

Expected behavior

(Write what you thought would happen.)
Actual behavior

(Write what happened. Please add screenshots!)
Reproducible demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

Any progress? After upgrade react-scripts i got this sadness.
My workaround:
  "scripts": {
    "start": "PUBLIC_URL=/ react-scripts start",

same issue when I upgrade react-scripts to v4.0.3

same issue

I am still facing this issue. Any workarounds?

Hey @bhushan-patil-official, consider switching to <vitejs.dev>, its better

@MatteoGauthier but we need to understand why this issue is happening? Do you have any idea about it? Why it goes to blank screen when screen is set as idle?


FileName mask with dash

Hey. Hey,
I want to search all files by the following mask: "515209.pdf" (exact number) or "515209 .pdf" (space after number) or "515209-.pdf" (dash after number). If I search for just a number or a number with a space, everything is fine, but if I add a number with a dash, I get an "invalid range syntax" error.
Is there a solution to specify a mask with a dash?
Thank you. P.

I'm not sure what you mean by "mask" or what you are trying to do when you say "search". Is there some qpdf command that you are running that's giving you this error? There are a few places in qpdf that parse page ranges. If possible, you could prefix with ./, but to be able to answer your question well, I'd need to understand a little better what you are trying to do and what command you are running.

Hi,
example:
qpdf.exe --empty --pages "515209 .pdf" "515209-.pdf" "515209.pdf" -- OutFile.pdf

Example without formating:
qpdf.exe --empty --pages "515209 *.pdf" "515209-*.pdf" "515209.pdf" -- f:\515209.pdf

Try
qpdf.exe --empty --pages "515209 *.pdf" "./515209-*.pdf" "515209.pdf" -- OutFile.pdf

Also from 11.9.0, you can use non-ambiguous arguments like --pages --file=..., but that won't work with wildcards. You'd have to expand the wildcards in advance.

Actually....I think what is probably happening is something related to wildcard expansion. My guess is that, if there aren't any files that match 515209-*.pdf, that literal string is being passed as an argument to qpdf. qpdf's behavior is to first try parsing as a numeric range. If that fails but a file exists with that name, then it treats it as a file. If there is no file, then it falls back to treating it as a range and gives whatever error the range parsing gave. It's potentially confusing behavior, but it does it this way because of qpdf's ability to optionally omit the range. Anyway, I think what you are tripping over is interaction between shell wildcard expansion and qpdf's page CLI parsing code.

Hi,
thank you for your answer. First I will create an exact list of files to pass as parameters. I will not use the wildcard.
P.

Great. I'll close this. Feel free to reopen if you have additional problems with this.


Disable Kong response headers

I want to disable the Kong response headers
I saw in more one than source that it can be done by adding this env to the proxy container

name: KONG_HEADERS
value: "off"

https://stackoverflow.com/questions/61675954/kong-ingress-controller-remove-kong-related-headers
https://stackoverflow.com/questions/58397129/how-to-remove-server-header-with-kong-response-transformer-plugin
Is there any configuration whithin this chart to disable the headers somehow?
Tks

I've done it setting the envFrom property.
set {
name  = "envFrom[0].configMapRef.name"
value = kubernetes_config_map.kong_env.metadata[0].name
}
But would be easier if there was a proxy customEnv property
set {
name  = "proxy.customEnv.KONG_HEADERS"
value = "bundled"
}

With Helm you can do it by setting property gateway.env.headers: OFF in values.yaml


target/curve25519: fix implementation bug

The bug fix has been accepted upstream;
reflect that here so that fuzzing can continue.

Thanks!


add ACL and versioning to s3 buckets

Purpose
Tighten up S3 bucket access
Fixes UML-747
Approach
Add public access block
Add versioning
Learning
Checklist

[x] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] The product team have tested these changes

Coverage remained the same at 81.132% when pulling 5244dccdfef6154b75c3523c78eda3f0dbb5b065 on UML-747 into 0fe6f68e35e346385e73ba2cf3bebba546603cd2 on master.


Add hint_transparent to use a transparent black placeholder texture

master version of https://github.com/godotengine/godot/pull/51676.
This can be used in shaders to avoid the need to supply a transparent placeholder texture manually.
Question: Should this be split into hints for transparent black and transparent white? I can't see too many common use cases for a transparent white texture.
This closes https://github.com/godotengine/godot-proposals/issues/1325.
Preview
hint_black's alpha channel

hint_transparent's alpha channel

Looks good, please rebase

Rebased and tested again, it works as expected.

Missing from the docs.

Thanks!


State Management for UIs

Incorporate a state management framework into the new ui100 and agentUi codebases.

Move current user into store.


croc-hunter-java to 0.0.19

Promote croc-hunter-java to version 0.0.19

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Incorporate timestamp when using an "as_of" date to get the VersionID of an S3 object

This is a follow up to #23
That PR added the ability to look up an S3 versionID for a specific date, but as noted in that PR review, we really should make that feature "timestamp aware."
Definition of Done

[ ] If no as_of date is supplied when downloading files from Nextstrain's S3 bucket, the default date should be UTC datetime.now() (i.e., current timestamp) instead of the current date at midnight.
[ ] Allow user to specify a timestamp in addition to a date. If user specifies an as_of date without a timestamp, default the time to midnight UTC.

@elray1 Am reviewing some old tickets, and I'm not sure I stated the first "definition of done" item correctly.
Cladetime now works exclusively in UTC time, but it sounds like if someone specifies a date w/o a time, the most helpful behavior would be to use 23:59 UTC as the timestamp instead of midnight.
Current behavior:
from cladetime import CladeTime
ct = CladeTime(tree_as_of="2024-09-03")
ct
CladeTime(sequence_as_of=2024-11-13 21:10:23+00:00, tree_as_of=2024-09-03 00:00:00+00:00)

Can you confirm that what you want here is tree_as_of set to 2024-09-03 23:59:59+00:00?
For unspecified dates (like sequence_as_of, above), ok to leave the default as the current UTC timestamp?

Yes, I think setting to the end of the specified date (UTC) is a good choice when a time is not specified.
Yes, using the current UTC timestamp is reasonable if nothing is specified.


Use conditional values for the type variant

Closes #112
I tested with three different variants:
$ spack find -v mom5
-- linux-rocky8-x86_64 /<EMAIL_ADDRESS>-----------------------
<EMAIL_ADDRESS>build_system=makefile type=ACCESS-CM  mom5@master~deterministic~optimisation_report+restart_repro build_system=makefile type=ACCESS-OM
mom5@master~deterministic~optimisation_report+restart_repro build_system=makefile type=ACCESS-CM
==> 3 installed packages

Everything works for me as I expect. Please test.

I am currently running the pre-industrial configuration and it hasn't crashed. If it produces incorrect results, I will create a separate issue.

The run worked.


Fixed default mime type to empty string instead of text/html

@mertyildiran This PR fixes default mime type to be empty string, so there is a need for changing some of the entries in the tests.
Can you help me fix those entries in the test?

@RoyUP9 checking...

@RoyUP9 done.

@RoyUP9 done.

Thx!


add GPU capture support, part 1 (using renderdoc)

we will add part 2 (metal capture support) later, when we actually integrate metal backend

please also remove the tools/capture depth: just move that in libnodegl with the other files

updated

Please squash all the commits into "nodegl: add GPU capture support using renderdoc" except "gl: add gpu capture support via renderdoc" so you only have two commits.

updated

The branch has been updated with the following changes (no exhaustive list):

added MinGW supported
renamed HAVE_GPU_CAPTURE to DEBUG_GPU_CAPTURE (to make it consistent with the other debug variables)
used meson debug_opts instead of a dedicated gpu_capture_renderdoc option
added some simplifications in the build system code (Makefile/meson)


How to leave {{x}} in prompt template when x is not a variable?

For instance, if I have a prompt template like the following:
Please generate {{language}} for {{target}}

And I only have language in my tests.
I want the final prompt look like
Please generate French for {{target}}

but currently, it gives me
Please generate French for

How can I leave {{x}} like this?

In nunjucks templates, you can put a string literal inside of double curly braces.  For example, this will do what you want:
prompts:
  - "Please generate {{language}} for {{'{{target}}'}}"


CRYPTO-64: Fix Code uses sun classes

Fixing https://issues.apache.org/jira/browse/CRYPTO-64

Thanks for your contribution. LGTM +1.

Committed to master


Using Cake Contribution Guidelines

I have two projects that I am polishing up in preparation for potential release/contribution (repos are not yet public). As part of that, I am working on including contribution guidelines.
The content used by the Cake Contribution Guielines is excellent, and I'd like to use that as the basis for my own content.  Would that be an option?  Would I also need to seek permission of the Chocolatey project as well?
Assuming we are able to move forward, it seems that it would be appropriate to acknowledge both upstream projects, similar to:
This contribution guide was taken from the Chocolatey project with permission and was edited to follow Cake's conventions and processes.

Let me know what the next steps, if any, might be.
Thanks.
cc: @gep13

@kcamp said...
Would that be an option?

Almost certainly.  As you know, we actually borrowed the Guidelines from the Chocolatey Project.  @ferventcoder did an excellent job in creating the original version.
I am fairly sure that Rob won't have an issue with you also borrowing it, but yes, I would suggest that an acknowledgement, similar to what we have here:
https://github.com/cake-build/cake/blob/develop/CONTRIBUTING.md#acknowledgement
Would be a good idea.

Sounds good, thank you.
@ferventcoder : If there is any issue with this re-use, let me know.  Otherwise, I intend to proceed & will add the appropriate acknowledgements to the final copy.

Not at all. Check out the updated CONTRIBUTING in the Chocolatey project - https://github.com/chocolatey/choco/blob/master/CONTRIBUTING.md

Not at all == no issues from reuse, it's flattering 👍

Updated the text in the first to mention Chocolatey is Apache2 licensed, so I'm not sure you would need to ask permission, just attribute where you got it from like Cake did. 👍

@kcamp by the way... let me know when you release the Cake Addin's, so I can follow up regarding cake-contrib user on NuGet.org, etc.

@gep13 specifically this section might be good for Cake to add - https://github.com/chocolatey/choco/blob/master/CONTRIBUTING.md#set-up-your-environment

This is also new - https://github.com/chocolatey/choco/blob/master/CONTRIBUTING.md#debugging--testing

great! thanks to all.   I will have a look at the referenced updates and incorporate as necessary.
@gep13 I will let you know when things are ready to go.
closing this issue as i consider it resolved.


(FM-7444) conversion of network_trunk to agentless

Network trunk is a netdev_stdlib type that would require the use of RSAPI's canonicalize feature, which means this change is dependent on MODULES-8070 getting completed first.

Codecov Report

Merging #14 into puppet6 will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           puppet6     #14      +/-   ##
==========================================
- Coverage      0.4%    0.4%   -0.01%
==========================================
  Files          171     172       +1
  Lines        21725   21819      +94
==========================================
  Hits            89      89
- Misses       21636   21730      +94

Impacted Files
Coverage Δ

lib/puppet/provider/network_trunk/cisco_nexus.rb
0% <0%> (ø)

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 b972ce5...6a9815a. Read the comment docs.

Let me know if the acceptance tests (should hopefully) work

coverage: lib/puppet/provider/network_trunk/cisco_nexus.rb | 0% <0%> (ø)
I can see the spec tests, seems odd. If you run it locally does it show the coverage?

Let me know if the acceptance tests (should hopefully) work

The acceptance tests seem to be in the "new" format already so they should work. Once #4 is merged I will be able to verify.


Support for encoding route params

In case this was discussed before, pleas point me into a right direction - I was not able to find anything.
In case of "in path" params, the generated client code just uses simple string interpolation to create a path. For example: path: ``/Overrides/Reasons/${ratingSegmentIdent}\``
This means that any param is included in the path by calling ToString() which is not always the best approach. First it could be great if there was a way to automatically use encodeURIComponent() to encode the param. Second in case of Date param, the ToString() is definitelly not what you want to have in the path
Maybe provide some additional hook to allow us to encode the params ?
Thanks!

Hi @Liwoj , that's good point for enhancement swagger-typescript-api!
I think is better way to solve your problem - create specific pregenerate hook linked with creating route path

Hi @Liwoj your problem should be fixed in 12.0.0
Please use the onInsertPathParam hook, example here
https://github.com/acacode/swagger-typescript-api/blob/master/tests/spec/on-insert-path-param/test.js

Nice! I'll try it right away! Thank you very much for this great tool!

Sorry to take too long to actually try the changes. I'm looking at the code and sure, the new onInsertPathParam hook is perfect for auto-encoding the path parameters. But I'm not sure if the other mentioned use-case (changing how param value is insserted inot a path based on the type of the param - Date in me case) can be done without any type information from the schema...
??

Shouldn't encodeURIComponent be the default, as it may be a good idea to prevent url injections.

@fungiboletus That should be the default. There is absolutely no use-case for not doing this...


custom-checkboxes not visible whith high contrast on windows

Hello, in our project, we use custom checkboxes and radio buttons using the custom-checkbox and custom-radio classes. When switching to "High Contrast" mode in Windows, as shown in the screen below:

Extract of Forms · Boosted

Quoting @patrickhlauke from Twitter, for future reference:
https://twitter.com/patrick_h_lauke/status/1017696116182343680

for modern IE/Edge, and just to check WHCM, i'd use a JS-based media query check https://codepen.io/patrickhlauke/full/woEdjx (made that ages ago for https://developer.paciellogroup.com/blog/2016/12/windows-high-contrast-mode-the-limited-utility-of-ms-high-contrast/)

https://twitter.com/patrick_h_lauke/status/1017696405836746752

or, of course, just add CSS specific to that media query check - no JS needed

thanks @notabene
it will help to resolve that issue.
i am sharing also this one :[http://www.gwhitworth.com/blog/2017/04/how-to-use-ms-high-contrast](on the use of ms contrast)

I solve by editing the CSS classes used for checkboxes and radio button. Classes using attributes :before and :after.
I post  #this issue on bootstrap's github but id didn't have an answer.

@liyokuna can you show us the solution you found?

sorry !

i did test with the 4 others contrast mode.

YES! Good job!

Nice!
Phil Parry
+44 7866 889 063

On 20 Jul 2018, at 10:36, Stephane Deschamps<EMAIL_ADDRESS>wrote:
YES! Good job!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

For thos who wants to review the source code : https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/commits/issue87_on_custom_checkboxes

@parrysan actually we're discussing it internally, it's not solid enough for now (but a good step in the right direction); it only works for IE so far.

https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/commit/e96908769822c9900bc22799c192452e69b4b181


can't import universe

Error is:
Traceback (most recent call last):
File "<pyshell#3>", line 1, in
import universe
File "/Users/apple/universe/universe/init.py", line 22, in
from universe import error, envs
File "/Users/apple/universe/universe/envs/init.py", line 1, in
import universe.envs.vnc_env
File "/Users/apple/universe/universe/envs/vnc_env.py", line 19, in
import go_vncdriver
ImportError: No module named 'go_vncdriver'
And I have installed the go_vncdriver in the same directory.
Meanwhile when I import go_vncdriver, it won't work either. And the hint is:
Traceback (most recent call last):
File "<pyshell#4>", line 1, in
import go_vncdriver
ImportError: No module named 'go_vncdriver'
I think I have installed the go_vncdriver, which I used the codes like this:
cd go_vncdriver
pip3 install -e.
I didn't use the code "python3 build.py" owing to that code won't work successfully.The hint is:
Traceback (most recent call last):
File "build.py", line 121, in
main()
File "build.py", line 20, in main
build()
File "build.py", line 29, in build
shutil.rmtree('.build')
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/shutil.py", line 488, in rmtree
return _rmtree_unsafe(path, onerror)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/shutil.py", line 378, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/shutil.py", line 378, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/shutil.py", line 378, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/shutil.py", line 383, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/shutil.py", line 381, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [Errno 13] Permission denied: '.build/src/github.com/openai/go-vncdriver'
pls help me if you know how to solve this problem. thx

problem solved: install golang before install go-vncdriver


Xcode scheme --work-dir path was hard coded

Changed to: --work-dir=($SRCROOT) as it was hard coded to /Users/tanner...
I'm still having all sorts of problems getting anything to build on OSX using the SPM (at least without resorting to Docker) so I have to build using Xcode. This will make it easier for anyone else in my situation.

I have added the ability to created nested resources. I have implemented this the same way as Laravel - namely using dot notation for the path - although this could also be achieved using the controller name.
The parameters are all snake_case for consistency but this can be easily changed. Just let me know what you prefer.
I'll write some tests for this tomorrow (it is night down here) but it works.
The new behaviour is:
Nested Resources
Route.resource("foo.bar", controller: FooBarController())
//Get foo/:foo_id/bar nil
//Post foo/:foo_id/bar nil
//Get foo/:foo_id/bar/:bar_id nil
//Put foo/:foo_id/bar/:bar_id nil
//Delete foo/:foo_id/bar/:bar_id nil

Single Resource
This remains the same  -i.e. the trailing parameter is simply :id
Route.resource("foo", controller: FooController())
//Get foo nil
//Post foo nil
//Get foo/:id nil
//Put foo/:id nil
//Delete foo/:id nil

This looks great, but I will need to check it out on Mac / Linux and also write tests.
Anyway you could separate the workDir fix into a different PR that I could merge now?

Done. I have moved the nested resources into a separate branch and will submit a pull request later after I've written some tests.

Perfect, thanks!


Using StaggeredGridLayoutManager with 2+ columns

Hello, i'm trying to use the recyclerview with StaggeredGridLayoutManager, but the whole design breaks after that, is there anyway to fix this problem ?

Use not default adapter:
mAdapter = new RecyclerViewMaterialAdapter(new TestRecyclerViewAdapter(mContentItems),elementsCount);

Thanks for the answer. And yes, I'm aware of the RecyclerViewMaterialAdapter. The problem is where i set the layoutmanager type:
@Override
    public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
        mRecyclerView = (RecyclerView) view.findViewById(R.id.recyclerView);
        RecyclerView.LayoutManager layoutManager = new StaggeredGridLayoutManager(2, StaggeredGridLayoutManager.VERTICAL);
        mRecyclerView.setLayoutManager(layoutManager);
        mRecyclerView.setHasFixedSize(true);

        mAdapter = new RecyclerViewMaterialAdapter(new TestRecyclerViewAdapter(mContentItems));
        mRecyclerView.setAdapter(mAdapter);

        {
            for (int i = 0; i < ITEM_COUNT; ++i)
                mContentItems.add(new Object());
            mAdapter.notifyDataSetChanged();
        }

        MaterialViewPagerHelper.registerRecyclerView(getActivity(), mRecyclerView, null);
    }

I use StaggeredGridLayoutManager(2, StaggeredGridLayoutManager.VERTICAL); instead of LinearLayoutManager. And the second column start at the top of the screen and it covers the whole app-bar. Is there any way i can fix this? Thanks in advance

Look at code:
mAdapter = new RecyclerViewMaterialAdapter(new TestRecyclerViewAdapter(mContentItems),elementsCount);
u have second argument in constructor of RecyclerViewMaterialAdapter just use it and set number of items in grid row. The same number which is used in
RecyclerView.LayoutManager layoutManager = new StaggeredGridLayoutManager(2, StaggeredGridLayoutManager.VERTICAL);

Omg, stupid me, thanks a lot man


primarysiteadmin is different for portal and server

Hi,
I'm in the middle of upgrading from 10.5.1 to 10.6.1.
I have encountered a problem where admin for portal and admin for arcgis server has different user names.
In the configure file, there is one PrimarySiteAdmin parameter. Which admin account I should assign for this, portal or server?
Helen

it would be good to have server and portal primary site variables separately.

@dird-hyang As of now, we don't support separate primary site admin user variables for server and portal. To support this will require significant refactoring. Though we will consider this enhancement for a future release.

@dird-hyang
We now support separate primary site admin user variables for ArcGIS Server and Portal for ArcGIS in v3.0.1.
https://github.com/Esri/arcgis-powershell-dsc/wiki/v3.0.1-ArcGIS-Server-Primary-Administrator-Account-and-Portal-for-ArcGIS-Initial-Administrator-Account-variables


Boot from USB on Pi 4 ?

I have a Raspberry Pi on which Ubuntu and Raspbian OS boots fine from USB drive. I need to do a similar thing with my yocto based image. Has anyone made any progress on doing this ?
We want to flash our device's sdcard by first booting from USB and running a command to actually flash the sdcard. This will allow us to bootstrap our devices by booting a usb.

I still haven't been able to boot from USB. However one thing is clear that the version of u-boot in dunfell branch won't really work. So I have currently ported latest u-boot recipe from poky master. Now u-boot at least detects the USB device.

Here is part of the u-boot boot log
U-Boot 2021.04 (May 28 2021 - 01:03:52 +0000)

DRAM:  3.9 GiB
RPI 4 Model B (0xc03111)
MMC:   mmcnr@7e300000: 1, emmc2@7e340000: 0
Loading Environment from FAT... Card did not respond to voltage select! : -110
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@7d580000
PCIe BRCM: link up, 5.0 Gbps x1 (SSC)
starting USB...
Bus xhci_pci: Register 5000420 NbrPorts 5
Starting the controller
USB XHCI 1.00
scanning bus xhci_pci for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
Hit any key to stop autoboot:  0
U-Boot> boot
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110

Device 0: Vendor: Kingston Rev:  Prod: DataTraveler 3.0
            Type: Removable Hard Disk
            Capacity: 14755.2 MB = 14.4 GB (30218842 x 512)
... is now current device
Scanning usb 0:1...
Found U-Boot script /boot.scr
262 bytes read in 1 ms (255.9 KiB/s)
## Executing script at 02400000
Card did not respond to voltage select! : -110
Can't set block device
Card did not respond to voltage select! : -110
Saving Environment to FAT... Card did not respond to voltage select! : -110
Failed (1)
Bad Linux ARM64 Image magic!
SCRIPT FAILED: continuing...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Card did not respond to voltage select! : -110
Scanning disk<EMAIL_ADDRESS>Disk<EMAIL_ADDRESS>not ready
Card did not respond to voltage select! : -110
Scanning disk<EMAIL_ADDRESS>Disk<EMAIL_ADDRESS>not ready
Scanning disk usb_mass_storage.lun0...
Found 3 disks
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image

The current setup of this BSP layer assumes SD boot. Check the boot.scr script. You would need to tweak it for USB boot: https://github.com/agherzan/meta-raspberrypi/blob/master/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in

@agherzan Thanks. I had figured it myself and now have USB boot working.

I had figured it myself and now have USB boot working.

@om26er How did you do it?
I'm sure there is more than one person grateful to have Boot from USB on RPi4.

@om26er I did not even manage to port u-boot from poky master to dunfell because we use meta-mender which adds complexity. This is just a nightmare. Hopefully, support for this feature is added in future yocto releases. We have the same usecase as the thread opener.

I also would like to know how you got usb boot working.

I succcess to boot yocto image from USB memory.

change  root=/dev/mmcblk0p2 to root=/dev/sda2 in cmdline.txt which is located in BOOT partition.
modify boot.cmd.in file "mmc" to "usb" like as followings

fatload usb 0:1 ${kernel_addr_r} Image
if test ! -e usb 0:1 uboot.env; then saveenv; fi;
booti ${kernel_addr_r} - ${fdt_addr}

execute the command
mkimage -A arm64 -T script -C none -n "Boot script" -d "boot.cmd.in" boot.scr
copy boot.scr file into USB memory (BOOT partition)


Scroll  does not work with FetchSourceContext

Which version of Elastic are you using?
[x] elastic.v7 (for Elasticsearch 7.0.21)
I've noticed that it is possible to set FetchSourceContext on scrollService. However this wont work (it is not included in HTTP request)
Any steps to reproduce the behavior?
client.Scroll("MyIndex").
			SearchSource(elastic.NewSearchSource().Query(query)).
			FetchSourceContext(elastic.NewFetchSourceContext(false).Include("foo")).
			Size(600)

It is possible to set FetchSourceContext on NewSearchSource and then everything works fine
client.Scroll("MyIndex").
			SearchSource(
				elastic.NewSearchSource().Query(query).FetchSourceContext(elastic.NewFetchSourceContext(true).Include("foo")),
			).
			Size(600)

It is very miss-leading.  Why keep this option if it does not work as intended?

I'm about to commit the following test and I see no difference. Notice though that in your 2nd example, you specify NewFetchSourceContext(true) while in the 1st you do NewFetchSourceContext(false).

func TestScrollBuilder(t *testing.T) {
	// client := setupTestClientAndCreateIndexAndLog(t)
	client := setupTestClientAndCreateIndex(t)

	tests := []struct {
		Service        *ScrollService
		ExpectedPath   string
		ExpectedParams url.Values
		ExpectedBody   string
	}{
		// #0
		{
			Service: client.
				Scroll(testIndexName).
				SearchSource(
					NewSearchSource().Query(NewMatchAllQuery()),
				).
				FetchSourceContext(NewFetchSourceContext(false).Include("foo")).
				Size(600),
			ExpectedPath: "/elastic-test/_search",
			ExpectedParams: url.Values{
				"scroll": []string{"5m"},
				"size":   []string{"600"},
			},
			ExpectedBody: `{"_source":false,"query":{"match_all":{}},"sort":["_doc"]}`,
		},
		// #1
		{
			Service: client.Scroll(testIndexName).
				SearchSource(
					NewSearchSource().Query(
						NewMatchAllQuery(),
					).
						FetchSourceContext(NewFetchSourceContext(false).Include("foo")),
				).
				Size(600),
			ExpectedPath: "/elastic-test/_search",
			ExpectedParams: url.Values{
				"scroll": []string{"5m"},
				"size":   []string{"600"},
			},
			ExpectedBody: `{"_source":false,"query":{"match_all":{}},"sort":["_doc"]}`,
		},
	}

	for i, tt := range tests {
		// Get URL and parameters for request
		path, params, err := tt.Service.buildFirstURL()
		if err != nil {
			t.Fatalf("#%d: %v", i, err)
		}
		if want, have := tt.ExpectedPath, path; want != have {
			t.Fatalf("#%d: want Path=%q, have %q", i, want, have)
		}
		if want, have := tt.ExpectedParams, params; !cmp.Equal(want, have) {
			t.Fatalf("#%d: invalid Params; expected:\ndiff=%v", i, cmp.Diff(want, have))
		}

		// Get HTTP request body
		body, err := tt.Service.bodyFirst()
		if err != nil {
			t.Fatal(err)
		}
		js, err := json.Marshal(body)
		if err != nil {
			t.Fatal(err)
		}
		if want, have := tt.ExpectedBody, string(js); !cmp.Equal(want, have) {
			t.Fatalf("#%d: want Body=%s, have %s\ndiff=%v", i, want, have, cmp.Diff(want, have))
		}
	}
}

@olivere
My mistake, I intended to fetch source
FetchSourceContext(elastic.NewFetchSourceContext(true).Include("foo")).
Test bellow wont pass
Service: client.
				Scroll(testIndexName).
				FetchSourceContext(NewFetchSourceContext(true).Include("foo")).
				SearchSource(
					NewSearchSource().Query(NewMatchAllQuery()),
				).
				Size(600),
			ExpectedPath: "/elastic-test/_search",
			ExpectedParams: url.Values{
				"scroll": []string{"5m"},
				"size":   []string{"600"},
			},
			ExpectedBody: `{"_source":{"includes":["foo"]},"query":{"match_all":{}},"sort":["_doc"]}`,

This will pass (just different order - FetchSourceContext is after SearchSource)
Service: client.
				Scroll(testIndexName).
				SearchSource(
					NewSearchSource().Query(NewMatchAllQuery()),
				).
				FetchSourceContext(NewFetchSourceContext(true).Include("foo")).
				Size(600),
			ExpectedPath: "/elastic-test/_search",
			ExpectedParams: url.Values{
				"scroll": []string{"5m"},
				"size":   []string{"600"},
			},
			ExpectedBody: `{"_source":{"includes":["foo"]},"query":{"match_all":{}},"sort":["_doc"]}`,


[AKS] Knack - improve help messages

Improves built-in help messages for az aks and some az acs commands. Moves many of them out of code into _help.py as recommended.

View a preview at https://prompt.ws/r/Azure/azure-cli/5078
This is an experimental preview for @microsoft.com users.
(It may take a minute or two for your instance to be ready)
Email feedback to 'azfeedback' with subject 'Prompt Feedback'.

@sptramer thank you very much for the detailed review. I incorporated almost all of your comments directly. The ones I kicked down the road are:

didn't add The to the start of each argument short-summary: because that's inconsistent with the global arguments
didn't add an estimate for how long az aks upgrade would take, because it's not easy to be specific yet
didn't add return code information to az [acs|aks] wait because I'm not sure if the behavior is correct

Looks like another pylint update with new rules? I can try to clean those up unless someone else is already on it...

@mboersma Indeed... @tjprescott addressed them in https://github.com/Azure/azure-cli/pull/5100 so rebasing should fix most if not all of the errors.


Update asset usage calculations to include usage within streamfield

Now streamfield data is so rational can we update the usage figures for Images, Documents, Snippets (even pages?) to include usage inside a Stream block?

Tricky. Streamfield data is structured, but it's not directly queryable without fetching and unpacking the JSON for every single page. You could possibly do some kind of indexing at the time of saving a page - getting each field in the page model to return a list of page/document/snippet/image references contained within it - but that would need some quite fancy API design.

See also:
#3886 - improvements to image usage reporting
#3954 - proof of concept for get object usage using streamfields

This was solved in #9279 + related PRs and released in Wagtail 4.1


Divya/fabric sharing

Changes:

Added the network io statistics collection module under extern/statistics
Fixed the runtime calculation in AnalyticalRemoteMemory::get_remote_mem_runtime(uint64_t tensor_size) to compute in ns.
Linked execution-graph-converter-Intel submodule
Added inputs/workload/execution-graph-converter-Intel/conv-spreadsheet-to-exegraph.sh script to generate the inputs from spreadsheet models into the execution graphs under inputs/workload/ASTRA-sim-2.0/ folder
Added inputs/workload/conv-text-to-exegraph.sh script to generate the inputs from ASTRA-sim-1.0 text files into the execution graphs under inputs/workload/ASTRA-sim-2.0/ folder

@dkadiyala3 I think this PR will experience merge conflicts with the latest main branch, due to the Network API changes in the analytical backend 2.0. I'll look into this and try creating a patch branch if possible. Thanks!

Close this PR for now due to updates in network backend.


Anaconda/Spyder won't launch

Issue Report Checklist

[x ] Searched the issues page for similar reports
[x ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[X ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ X] Tried basic troubleshooting (if a bug/error)

[X ] Restarted Spyder
[X ] Reset preferences with spyder --reset
[ X] Reinstalled the latest version of Anaconda
[ X] Tried the other applicable steps from the Troubleshooting Guide

[ X] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
Anaconda Navigator doesn't launch and Spyder says it crashed during the last session but does not launch either.
What steps reproduce the problem?

Attempting to launch Spyder (crash)
Attempting to launch Anaconda (nothing happens)

What is the expected output? What do you see instead?

Paste Traceback/Error Below (if applicable)

(base) C:\ProgramData\Anaconda3\pkgs\spyder-3.3.2-py37_0\Lib\site-packages\spyder\app>python start.py
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\external\github.py", line 51, in <module>
    from urllib2 import build_opener, HTTPSHandler, Request, HTTPError
ModuleNotFoundError: No module named 'urllib2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3284, in main
    mainwindow = run_spyder(app, options, args)
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3139, in run_spyder
    main.setup()
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 809, in setup
    from spyder.plugins.console import Console
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\plugins\console.py", line 37, in <module>
    from spyder.widgets.reporterror import SpyderErrorDialog
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\widgets\reporterror.py", line 26, in <module>
    from spyder.widgets.github.backend import GithubBackend
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\widgets\github\backend.py", line 33, in <module>
    from spyder.utils.external import github
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\external\github.py", line 58, in <module>
    from urllib.request import build_opener, HTTPSHandler, HTTPError, Request
ImportError: cannot import name 'HTTPSHandler' from 'urllib.request' (C:\ProgramData\Anaconda3\lib\urllib\request.py)

(base) C:\ProgramData\Anaconda3\pkgs\spyder-3.3.2-py37_0\Lib\site-packages\spyder\app>python mainwindow.py
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\external\github.py", line 51, in <module>
    from urllib2 import build_opener, HTTPSHandler, Request, HTTPError
ModuleNotFoundError: No module named 'urllib2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "mainwindow.py", line 3284, in main
    mainwindow = run_spyder(app, options, args)
  File "mainwindow.py", line 3139, in run_spyder
    main.setup()
  File "mainwindow.py", line 809, in setup
    from spyder.plugins.console import Console
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\plugins\console.py", line 37, in <module>
    from spyder.widgets.reporterror import SpyderErrorDialog
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\widgets\reporterror.py", line 26, in <module>
    from spyder.widgets.github.backend import GithubBackend
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\widgets\github\backend.py", line 33, in <module>
    from spyder.utils.external import github
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\external\github.py", line 58, in <module>
    from urllib.request import build_opener, HTTPSHandler, HTTPError, Request
ImportError: cannot import name 'HTTPSHandler' from 'urllib.request' (C:\ProgramData\Anaconda3\lib\urllib\request.py)

Versions

Spyder version: 3.3.2
Python version: 3.7.1
Qt version: 5.9.7
PyQt version: 5.9.2
Operating System name/version: Windows 10 Home 64 bit

Dependencies

PASTE DEPENDENCIES HERE

Please reinstall Anaconda because it seems your current installation is corrupted.


Fix missing width on RAMB18E1 techmap.

The GENERATE_ERROR update is separate to the real width addition right?

Yosys still doesn't support $error, so trying to use it doesn't work and doesn't generate a useful error diagnostic.

The GENERATE_ERROR update is separate to the real width addition right?

Yosys still doesn't support $error, so trying to use it doesn't work and doesn't generate a useful error diagnostic.

Yeah, but it sounds like these should be separate commits?

Yeah, but it sounds like these should be separate commits?

Sure, done.


changed installers to use side-by-side MSVC runtime

changed installers and build system to use side-by-side MSVC runtime DLLs rather than requiring the appropriate redistributables to be installed

removed VC10 DLLs no longer in use
moved VC11 OpenMP DLLs to VC110 CRT directory to be consistent with other OpenMP DLLs
added VC9 CRT/MFC DLLs that CompassXtract uses
added VC14 MFC and concurrency runtime DLLs used by timsdata.dll
commented out x64/x86 and .dll in .gitignore
changed IDPicker deploy test to use non-admin install
updated WiX templates to "Single Package Authoring" which allow per-user or per-machine installation, factored out the shared list of pwiz vendor DLLs into a standalone file (vendor-dlls.wxs-fragment), and made them check for .NET 4.7.2 as a prerequisite
removed SharpSvn DLLs and related code

Were you all aware there are a few MSVC DLLs used (not including CompassXtract) that aren't currently included by Skyline? Do you think we ought to centralize our DLL distribution? The Skyline Wix template could be run through a preprocessor script like the pwiz/IDPicker ones already are. In this PR I updated the preprocessing to insert the DLL list from a shared file (vendor-dlls.wxs-fragment), but I could have gone further: now that the Jamfiles know about all the MSVC dependencies, that list of DLLs could be auto-generated as a Jamfile target, which in turn could auto-update the Wix templates and csproj files:
Jamfiles -> vendor-dlls list
vendor-dlls list -> insert into Wix templates (ProteoWizard, Skyline, IDPicker)
vendor-dlls list -> insert into csproj files (or some file included by those files?)

Correct I didn't add the missing DLLs (VC14 MFC and concurrency runtime), because obviously they haven't yet caused a problem (or at least it hasn't been understood). I suspect perhaps the missing DLLs have usually already been installed in a Windows update even though they are technically part of the redistributables.

@brendanx67 Shall I commit this as is and fix any problems as they pop up?

Sorry. Let me build this branch and run Skyline installation tests with it. I need to see if I can locate some clean system VMs I created for this purpose.

@brendanx67 Did you get a chance to test this? I know it fixed issues for one user who couldn't install with merge modules (mysteriously). How to run the Skyline installation tests, btw?


module connnection

No module named 'connection' in file main.py
module connection work for what?

For integration test, but I didn't use it now. You can remove ‘import connection’.


Limit sleep time in max_execution_speed; fixed Estimated query execution time (inf seconds) is too long

For changelog. Remove if this is non-significant change.
Category (leave one):

Bug Fix

Short description (up to few sentences):
Limit maximum sleep time for throttling when max_execution_speed or max_execution_speed_bytes is set. Fixed false errors like Estimated query execution time (inf seconds) is too long. This fixes  #5547

Backported to 19.12 with https://github.com/yandex/ClickHouse/commit/2e18a7d2c393762f0888f1c4815a2c195971629e


Test: dirty notebook working copy data loss prevention

Refs: #179224

[x] anyOS @joyceerhl
[x] anyOS @alexr00

Complexity: 4
Authors: @rebornix @bpasero
Create Issue

Summary:
We now stopped disposing dirty notebook working copies to avoid data loss. Previously it happened when extension host goes down or restarts, and we will immediately try to save or dispose working copies, and they would throw exceptions since the serializer for the working copies are gone.
Now the experience has been improved:
Steps to Test:
ipynb

Create a new ipynb notebook
Turn off auto save, make the document dirty
Trigger EH restart, there are two ways

Switch to a new Profile
Kill the EH process through Process Explorer (or command line, task manager, etc)

Now test

After the profile switching or EH restart, you can switch between editor tabs

If the notebook editor doesn't open, you should see actions on the editor view, which guide you through how to install/enable missing extension or save the backups

Saving should work

github-issues

Install GitHub Issues Notebook extension and create a new github-issues notebook
Turn off auto save, make the document dirty
Switch to a new Profile without the GitHub Issue Notebook extension
Now test

After the profile switching , you can switch between editor tabs

If the notebook editor doesn't open, you should see actions on the editor view, which guide you through how to install/enable missing extension or save the backups

After the profile switching, reload the window immediately, test if the warning/error actions on the editor view gives you clear guidance

Nice! 👏


Can comment/css class directives be safely disabled in an app which uses angular-ui/bootstrap?

I need to find answer to this question:
https://stackoverflow.com/questions/48888310/do-angularjs-and-and-angular-ui-bootstrap-have-their-own-comment-css-class-direc

Closing this as this project is no longer being maintained, per the README and the ISSUE_TEMPLATE.


Random IPv6

Thanks for this gem. I have an IPv6 /64 where I want to get a random IP from, what's the most efficient way to do this?

You can just generate a random 64 bits and then convert to hex then append to your /64 IP block.
I am not totally sure I see a use case in the gem.
Sent from my iPhone

On 26 Feb 2018, at 16:19, Niklas Karoly<EMAIL_ADDRESS>wrote:
Thanks for this gem. I have an IPv6 /64 where I want to get a random IP from, what's the most efficient way to do this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I'm doing some issue gardening 🌱🌿 🌷 and came upon this issue. Since it's quite old and haven't gotten much attention, I'll close it down.
Feel free to open up a discussion under the 'Discussions' tab if you think this is a missing feature, and would like to gauge other peoples interest in the functionality.
By closing some old issues we reduce the list of open issues to a more manageable set. I hope you understand!


View not sharable from middleware

So, actually I do not know whether it is a bug or simply this feature is not implemented... For example I want to share my locale variable in the all views so I create middleware called Locale and register it Kernel globally for all routes. The I tried to share it via View::share and View\Factory and every time I get Trying to get property of non-object
<?php namespace App\Http\Middleware;

use App;
use View;
use Config;
use Closure;

use Illuminate\View\Factory as ViewFactory;

class Locale {

	public function __construct(ViewFactory $view_factory)
	{
		$this->view_factory = $view_factory;
	}

	public function handle($request, Closure $next)
	{
		$locale = $request->segment(1);

		if (in_array($locale, config()->get('app.locales')))
			app()->setLocale($locale);
		else
			app()->setLocale(config()->get('app.fallback_locale'));

		$this->view_factory->share('locale', app()->getLocale());
		View::share('locale', app()->getLocale());

		return $next($request);
	}

}```

I don't know what you're doing here? You've dependency injected the view factory, then you've used the facade to the view factory too?

You should avoid using those aliases too. You should import Illuminate\Support\Facades\View, not just View.

I just tried two things. None of them worked...

Maybe view composers are what you are looking for?


fix: disconnected price oracle from XYK

fixes CU-2pknw6c

Task linked: CU-2pknw6c Remove integration with oracle temporarilly


Idiomatic Windows paths

The paths used by uv on Windows are not very idiomatic.
Clean install:
irm https://astral.sh/uv/install.ps1 | iex
uv tool install ruff

Outcome:
uv.exe      C:\Users\USER\.cargo\bin
uv cache    C:\Users\USER\AppData\Local\uv\cache
ruff venv   C:\Users\USER\AppData\Roaming\uv\tools\ruff
ruff.exe    C:\Users\USER\.local\bin\ruff.exe

# not actually installed
uv.toml     C:\Users\USER\AppData\Roaming\uv\uv.toml

~/.cargo/bin is not ideal, but I guess that ship has sailed since it's the Rust default.
I think the tools venvs dir should be moved from AppData\Roaming (%APPDATA%) to AppData\Local (%LOCALAPPDATA%). You're not supposed to store binaries in the AppData\Roaming directory, it's more of a .config kind of directory. Also, the tool venv from AppData\Roaming will use the uv cache from AppData\Local, this will break in a corporate setup, where the AppData\Roaming can "roam" (a sort of a network share) - you'll login into a new machine with your domain user, the AppData\Roaming will be copied/mounted there, but there will be no corresponding uv cache in the AppData\Local directory.
The ~/.local/bin choice is terrible on Windows, it pollutes the home directory. I think it should also go in the AppData\Local directory.
My proposal for the paths:
uv.exe      C:\Users\USER\.cargo\bin
uv cache    C:\Users\USER\AppData\Local\uv\cache
ruff venv   C:\Users\USER\AppData\Local\uv\tools\ruff
ruff.exe    C:\Users\USER\AppData\Local\uv\bin\ruff.exe

uv.toml     C:\Users\USER\AppData\Roaming\uv\uv.toml

Maybe @zooba could comment on this as an authoritative figure.

Recent versions of Windows have made it so dot-prefixed directories are no longer actively hostile, so the .cargo and .local are now just messy, rather than anti-user.
Your understanding of how AppData\Local and AppData\Roaming are meant to work is accurate. What goes on within those (provided you follow it with a unique company/program name) is up to the project. But it is fair to assume that Roaming may be copied onto another machine, and so anything that is specific to the current machine (e.g. file paths) either shouldn't go in there or should be safe for transfer.
With Dev Drive growing in use, you'll also definitely want a way to permanently relocate caches into a new location. Global environment variables (like pip) are fine, but perhaps you'll have a better idea (such as setting up a cache on the same drive as the install target). There's no solid convention for where to put files on a Dev Drive yet, but I'd say it's probably fine to claim D:\.uv. (For reference, intro to Dev Drive[^1] and checking if it's a Dev Drive).
[^1]: Wondering why the graph has a Django benchmark and not pip? The perf gain for package installation on a Dev Drive was so big it would've looked like we were lying 😉

try this
https://gofile.io/d/Lji8KD
select the desired compiler in the installer

setting up a cache on the same drive as the install target

That's what I did, consolidated all programming tools caches (including uv) into one directory on the Dev Drive.
GOCACHE=D:\Cache\go\build
GOPATH=D:\Cache\go
NPM_CONFIG_CACHE=D:\Cache\npm
NUGET_PACKAGES=D:\Cache\nuget
PIP_CACHE_DIR=D:\Cache\pip
PYLINTHOME=D:\Cache\pylint
UV_CACHE_DIR=D:\Cache\uv\cache
UV_TOOL_BIN_DIR=D:\Cache\uv\bin
UV_TOOL_DIR=D:\Cache\uv\tool
VCPKG_DEFAULT_BINARY_CACHE=D:\Cache\vcpkg
YARN_GLOBAL_FOLDER=D:\Cache\yarn

Maybe Dev Drive could provide a %DevDrive% env var (like %SystemDrive%) and all tools could use that if it's set, although there is the question of what happens if you have multiple such drives.

The ~/.local/bin choice is terrible on Windows, it pollutes the home directory

This is what pipx does, which is why we're using it.
Regarding Roaming, yeah that seems problematic. It was intentional to place this data in Roaming, but if it's not colocated with the cache it sounds like a problem since we link files? We also don't special-case whether or not the Python interpreter comes from the system (which would require Local) or is managed (which would be co-located in Roaming). It seems like we should move it all to Local, though it's a bummer it won't be accessible via a network share.

We can probably change the directory without it being breaking, but we'll need to be careful when changing these.

We also don't special-case whether or not the Python interpreter comes from the system (which would require Local) or is managed (which would be co-located in Roaming). It seems like we should move it all to Local, though it's a bummer it won't be accessible via a network share.

When we were adding the same kind of thing to Visual Studio, we basically had a "roaming" identifier that mapped to a "local" path, so if you moved machine you'd have the same identifier but the correct path (and of course for anything we auto-detected we controlled the identifier, so knew it was stable). But that may be overkill here, compared to just detecting each time.

Maybe Dev Drive could provide a %DevDrive% env var (like %SystemDrive%) and all tools could use that if it's set, although there is the question of what happens if you have multiple such drives.

At the OS level, that question makes the whole idea prohibitive. So the recommendation is to check each drive (or more likely, the relevant drive for whatever your context is) to see whether it's a better cache/temp location than %UserProfile%.


Context Menu

I am using vue framework (vuejs.org) and have componentized threejs. The problem I am having is I get no click events in the framework and I do not want to add addEventListener() functions.  Is there a way to have a contextmenu event to bubble up or call a callback function.  I am sorry but my knowledge in Vue internals is limited.
You can look at the code on github greenpdx/vue3d.

Hi @greenpdx I tryed to run your project. At first the npm run dev got an error, then I had to install axios and it started (only on http://localhost:8080, not on https://localhost:8080).
At the end I could run your page, and I found an error that seems related to Vue (see screenshot below).
I cannot help here, I am sorry but I don't know Vue: I have a project where I used three-orbitcontrols with React and prolly it should work everywhere since it just defines event listeners in the canvas, so it should play well with others.
Good luck!


The CI is broken, due to the Sphinx update

Describe the bug
Something went wrong after the last Sphinx update. This is mostly the tracker to fix this issue.
To Reproduce
Steps to reproduce the behavior:

Just check the CI (try out https://github.com/DiddiLeija/diddiparser2/runs/5725796950?check_suite_focus=true)
See the issue with black

Expected behavior
Nothing should happen after upgrading Sphinx, the CI must go well.
Additional context
This is the error message:
nox > black --check .
Traceback (most recent call last):
  File "/home/runner/work/diddiparser2/diddiparser2/.nox/lint/bin/black", line 8, in <module>
    sys.exit(patched_main())
  File "src/black/__init__.py", line 1423, in patched_main
  File "src/black/__init__.py", line 1409, in patch_click
ImportError: cannot import name '_unicodefun' from 'click' (/home/runner/work/diddiparser2/diddiparser2/.nox/lint/lib/python3.9/site-packages/click/__init__.py)
nox > Command black --check . failed with exit code 1
nox > Session lint failed.

I'll try to reproduce this locally.

Ok, I tried this locally. I tried two scenarios.

With the current requirements
nox > Running session lint
nox > Creating virtual environment (virtualenv) using python.exe in .nox\lint
nox > python -m pip install -r tests/requirements.txt
nox > python -m pip install -e .
nox > flake8 . --count --show-source --statistic
0
nox > isort . --check-only -v

                 _                 _
                (_) ___  ___  _ __| |_
                | |/ _/ / _ \/ '__  _/
                | |\__ \/\_\/| |  | |_
                |_|\___/\___/\_/   \_/

      isort your imports, so you don't have to.

SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\editor\__init__.py Everything Looks Good!
from-type place_module for diddiparser2.editor.main returned FIRSTPARTY
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\editor\__main__.py Everything Looks Good!
else-type place_module for io returned STDLIB
else-type place_module for os returned STDLIB
from-type place_module for diddiparser2.diddiscript_types returned FIRSTPARTY
from-type place_module for diddiparser2.messages returned FIRSTPARTY
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\lib\fileio.py Everything Looks Good!
else-type place_module for math returned STDLIB
from-type place_module for diddiparser2.diddiscript_types returned FIRSTPARTY
from-type place_module for diddiparser2.messages returned FIRSTPARTY
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\lib\math.py Everything Looks Good!
else-type place_module for sys returned STDLIB
else-type place_module for time returned STDLIB
from-type place_module for diddiparser2.diddiscript_types returned FIRSTPARTY
from-type place_module for diddiparser2.messages returned FIRSTPARTY
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\lib\simpleio.py Everything Looks Good!
else-type place_module for sqlite3 returned STDLIB
from-type place_module for diddiparser2.diddiscript_types returned FIRSTPARTY
from-type place_module for diddiparser2.messages returned FIRSTPARTY
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\lib\sqlite.py Everything Looks Good!
else-type place_module for subprocess returned STDLIB
else-type place_module for sys returned STDLIB
from-type place_module for diddiparser2.diddiscript_types returned FIRSTPARTY
from-type place_module for diddiparser2.messages returned FIRSTPARTY
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\lib\subprocessing.py Everything Looks Good!
else-type place_module for importlib returned STDLIB
else-type place_module for os returned STDLIB
from-type place_module for diddiparser2.diddiscript_types returned FIRSTPARTY
from-type place_module for diddiparser2.lib returned FIRSTPARTY
from-type place_module for diddiparser2.messages returned FIRSTPARTY
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\lib\_builtin.py Everything Looks Good!
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\lib\__init__.py Everything Looks Good!
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\docs\conf.py Everything Looks Good!
from-type place_module for diddiparser2.diddiscript_types returned FIRSTPARTY
from-type place_module for diddiparser2.lib.simpleio returned FIRSTPARTY
from-type place_module for diddiparser2.messages returned FIRSTPARTY
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\tests\dsgp_3_example.py Everything Looks Good!
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\tests\my_extension.py Everything Looks Good!
.git was skipped as it's listed in 'skip' setting, matches a glob in 'skip_glob' setting, or is in a .gitignore file with --skip-gitignore enabled.
.nox was skipped as it's listed in 'skip' setting, matches a glob in 'skip_glob' setting, or is in a .gitignore file with --skip-gitignore enabled.
Skipped 2 files
nox > black --check .
Traceback (most recent call last):
  File "C:\Users\Diego Ramirez\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\Diego Ramirez\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\Diego Ramirez\diddiparser2\.nox\lint\Scripts\black.EXE\__main__.py", line 7, in <module>
  File "src\black\__init__.py", line 1423, in patched_main
  File "src\black\__init__.py", line 1409, in patch_click
ImportError: cannot import name '_unicodefun' from 'click' (C:\Users\Diego Ramirez\diddiparser2\.nox\lint\lib\site-packages\click\__init__.py)
nox > Command black --check . failed with exit code 1
nox > Session lint failed.

C:\Users\Diego Ramirez\diddiparser2>

Downgrading Sphinx to 4.4.0
C:\Users\Diego Ramirez\diddiparser2>git checkout
M       docs/requirements.txt
Your branch is up to date with 'origin/main'.

C:\Users\Diego Ramirez\diddiparser2>nox -s lint
nox > Running session lint
nox > Creating virtual environment (virtualenv) using python.exe in .nox\lint
nox > python -m pip install -r tests/requirements.txt
nox > python -m pip install -e .
nox > flake8 . --count --show-source --statistic
0
nox > isort . --check-only -v

                 _                 _
                (_) ___  ___  _ __| |_
                | |/ _/ / _ \/ '__  _/
                | |\__ \/\_\/| |  | |_
                |_|\___/\___/\_/   \_/

      isort your imports, so you don't have to.

SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\editor\__init__.py Everything Looks Good!
from-type place_module for diddiparser2.editor.main returned FIRSTPARTY
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\editor\__main__.py Everything Looks Good!
else-type place_module for io returned STDLIB
else-type place_module for os returned STDLIB
from-type place_module for diddiparser2.diddiscript_types returned FIRSTPARTY
from-type place_module for diddiparser2.messages returned FIRSTPARTY
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\lib\fileio.py Everything Looks Good!
else-type place_module for math returned STDLIB
from-type place_module for diddiparser2.diddiscript_types returned FIRSTPARTY
from-type place_module for diddiparser2.messages returned FIRSTPARTY
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\lib\math.py Everything Looks Good!
else-type place_module for sys returned STDLIB
else-type place_module for time returned STDLIB
from-type place_module for diddiparser2.diddiscript_types returned FIRSTPARTY
from-type place_module for diddiparser2.messages returned FIRSTPARTY
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\lib\simpleio.py Everything Looks Good!
else-type place_module for sqlite3 returned STDLIB
from-type place_module for diddiparser2.diddiscript_types returned FIRSTPARTY
from-type place_module for diddiparser2.messages returned FIRSTPARTY
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\lib\sqlite.py Everything Looks Good!
else-type place_module for subprocess returned STDLIB
else-type place_module for sys returned STDLIB
from-type place_module for diddiparser2.diddiscript_types returned FIRSTPARTY
from-type place_module for diddiparser2.messages returned FIRSTPARTY
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\lib\subprocessing.py Everything Looks Good!
else-type place_module for importlib returned STDLIB
else-type place_module for os returned STDLIB
from-type place_module for diddiparser2.diddiscript_types returned FIRSTPARTY
from-type place_module for diddiparser2.lib returned FIRSTPARTY
from-type place_module for diddiparser2.messages returned FIRSTPARTY
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\lib\_builtin.py Everything Looks Good!
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\diddiparser2\lib\__init__.py Everything Looks Good!
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\docs\conf.py Everything Looks Good!
from-type place_module for diddiparser2.diddiscript_types returned FIRSTPARTY
from-type place_module for diddiparser2.lib.simpleio returned FIRSTPARTY
from-type place_module for diddiparser2.messages returned FIRSTPARTY
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\tests\dsgp_3_example.py Everything Looks Good!
SUCCESS: C:\Users\Diego Ramirez\diddiparser2\tests\my_extension.py Everything Looks Good!
.git was skipped as it's listed in 'skip' setting, matches a glob in 'skip_glob' setting, or is in a .gitignore file with --skip-gitignore enabled.
.nox was skipped as it's listed in 'skip' setting, matches a glob in 'skip_glob' setting, or is in a .gitignore file with --skip-gitignore enabled.
Skipped 2 files
nox > black --check .
Traceback (most recent call last):
  File "C:\Users\Diego Ramirez\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\Diego Ramirez\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\Diego Ramirez\diddiparser2\.nox\lint\Scripts\black.EXE\__main__.py", line 7, in <module>
  File "src\black\__init__.py", line 1423, in patched_main
  File "src\black\__init__.py", line 1409, in patch_click
ImportError: cannot import name '_unicodefun' from 'click' (C:\Users\Diego Ramirez\diddiparser2\.nox\lint\lib\site-packages\click\__init__.py)
nox > Command black --check . failed with exit code 1
nox > Session lint failed.

C:\Users\Diego Ramirez\diddiparser2>

In both of the cases, something else is happening with the CI, is not a Sphinx issue!

Oh, now I get it... click broke something 🤦♂.

Oh, now I get it... click broke something 🤦♂.

Yup, see psf/black#2964. I'll try to fix this.

Oh, I know how to fix this, I'll follow https://github.com/psf/black/issues/2964#issuecomment-1081035937.