Getting started - Quick install broken

I'm trying to evaluate kserve for model deployment. I started with the quick guide, quick install:
https://kserve.github.io/website/0.7/get_started/
I created a kubernetes cluster using kind:
> kind create cluster
Creating cluster "kind" ...
 ✓ Ensuring node image (kindest/node:v1.25.2) 🖼
 ✓ Preparing nodes 📦
 ✓ Writing configuration 📜
 ✓ Starting control-plane 🕹
 ✓ Installing CNI 🔌
 ✓ Installing StorageClass 💾
Set kubectl context to "kind-kind"
You can now use your cluster with:

kubectl cluster-info --context kind-kind

Have a nice day! 👋

> kubectl cluster-info --context kind-kind
Kubernetes control plane is running at https://<IP_ADDRESS>:33385
CoreDNS is running at https://<IP_ADDRESS>:33385/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy

> kubectl config get-contexts
CURRENT   NAME            CLUSTER         AUTHINFO        NAMESPACE
*         kind-kind       kind-kind       kind-kind

Next I want to install kserve but it fails hard:
> curl -s "https://raw.githubusercontent.com/kserve/kserve/release-0.7/hack/quick_install.sh" | bash
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
v4
bash: line 42: [: v4: integer expression expected
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  4856  100  4856    0     0   9256      0 --:--:-- --:--:-- --:--:--  9256

Downloading istio-1.9.0 from https://github.com/istio/istio/releases/download/1.9.0/istio-1.9.0-linux-amd64.tar.gz ...

Istio 1.9.0 Download Complete!

Istio has been successfully downloaded into the istio-1.9.0 folder on your system.

Next Steps:
See https://istio.io/latest/docs/setup/install/ to add Istio to your Kubernetes cluster.

To configure the istioctl client tool for your workstation,
add the /home/tux/dev/kserve-test/istio-1.9.0/bin directory to your environment path variable with:
	 export PATH="$PATH:/home/tux/dev/kserve-test/istio-1.9.0/bin"

Begin the Istio pre-installation check by running:
	 istioctl x precheck

Need more information? Visit https://istio.io/latest/docs/setup/install/
namespace/istio-system unchanged
2022-10-18T12:14:19.363443Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//authorizationpolicies.security.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:19.382518Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//destinationrules.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:19.392594Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//envoyfilters.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:19.532051Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//gateways.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:20.051337Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//istiooperators.install.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:20.574911Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//peerauthentications.security.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:21.092098Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//requestauthentications.security.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:21.613210Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//serviceentries.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:22.132885Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//sidecars.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:22.651595Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//virtualservices.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:23.172129Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//workloadentries.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:23.693187Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//workloadgroups.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
- Processing resources for Istio core.                                                   2022-10-18T12:14:24.211071Z	error	installer	failed to update resource with server-side apply for obj ValidatingWebhookConfiguration//istiod-istio-system: no matches for kind "ValidatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"
✘ Istio core encountered an error: failed to update resource with server-side apply for obj CustomResourceDefinition//authorizationpolicies.security.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//destinationrules.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//envoyfilters.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//gateways.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//istiooperators.install.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//peerauthentications.security.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//requestauthentications.security.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//serviceentries.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//sidecars.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//virtualservices.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//workloadentries.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//workloadgroups.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj ValidatingWebhookConfiguration//istiod-istio-system: no matches for kind "ValidatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"
2022-10-18T12:14:24.732110Z	error	installer	failed to update resource with server-side apply for obj EnvoyFilter/istio-system/metadata-exchange-1.8: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
2022-10-18T12:14:25.251373Z	error	installer	failed to update resource with server-side apply for obj EnvoyFilter/istio-system/metadata-exchange-1.9: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
2022-10-18T12:14:25.770855Z	error	installer	failed to update resource with server-side apply for obj EnvoyFilter/istio-system/stats-filter-1.8: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
2022-10-18T12:14:26.291240Z	error	installer	failed to update resource with server-side apply for obj EnvoyFilter/istio-system/stats-filter-1.9: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
2022-10-18T12:14:26.811019Z	error	installer	failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-metadata-exchange-1.8: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
2022-10-18T12:14:27.332088Z	error	installer	failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-metadata-exchange-1.9: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
2022-10-18T12:14:27.850218Z	error	installer	failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-stats-filter-1.8: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
2022-10-18T12:14:28.370667Z	error	installer	failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-stats-filter-1.9: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
- Processing resources for Istiod.                                                       2022-10-18T12:14:28.890315Z	error	installer	failed to update resource with server-side apply for obj MutatingWebhookConfiguration//istio-sidecar-injector: no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"
- Processing resources for Istiod.                                                       2022-10-18T12:14:29.409505Z	error	installer	failed to update resource with server-side apply for obj PodDisruptionBudget/istio-system/istiod: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
2022-10-18T12:14:29.928727Z	error	installer	failed to update resource with server-side apply for obj HorizontalPodAutoscaler/istio-system/istiod: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
✘ Istiod encountered an error: failed to update resource with server-side apply for obj EnvoyFilter/istio-system/metadata-exchange-1.8: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/metadata-exchange-1.9: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/stats-filter-1.8: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/stats-filter-1.9: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-metadata-exchange-1.8: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-metadata-exchange-1.9: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-stats-filter-1.8: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-stats-filter-1.9: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
failed to update resource with server-side apply for obj MutatingWebhookConfiguration//istio-sidecar-injector: no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"
failed to update resource with server-side apply for obj PodDisruptionBudget/istio-system/istiod: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
failed to update resource with server-side apply for obj HorizontalPodAutoscaler/istio-system/istiod: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
- Processing resources for Ingress gateways.                                             2022-10-18T12:14:30.449519Z	error	installer	failed to update resource with server-side apply for obj PodDisruptionBudget/istio-system/istio-ingressgateway: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
  Processing resources for Ingress gateways.                                             2022-10-18T12:14:30.969277Z	error	installer	failed to update resource with server-side apply for obj HorizontalPodAutoscaler/istio-system/istio-ingressgateway: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
✘ Ingress gateways encountered an error: failed to update resource with server-side apply for obj PodDisruptionBudget/istio-system/istio-ingressgateway: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
failed to update resource with server-side apply for obj HorizontalPodAutoscaler/istio-system/istio-ingressgateway: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
- Pruning removed resources                                                              2022-10-18T12:14:31.488847Z	warn	installer	retrieving resources to prune type autoscaling/v2beta1, Kind=HorizontalPodAutoscaler: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1" not found
2022-10-18T12:14:32.009612Z	warn	installer	retrieving resources to prune type policy/v1beta1, Kind=PodDisruptionBudget: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1" not found
2022-10-18T12:14:32.528777Z	warn	installer	retrieving resources to prune type networking.istio.io/v1alpha3, Kind=DestinationRule: no matches for kind "DestinationRule" in version "networking.istio.io/v1alpha3" not found
2022-10-18T12:14:33.050380Z	warn	installer	retrieving resources to prune type networking.istio.io/v1alpha3, Kind=EnvoyFilter: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3" not found
2022-10-18T12:14:33.569010Z	warn	installer	retrieving resources to prune type networking.istio.io/v1alpha3, Kind=Gateway: no matches for kind "Gateway" in version "networking.istio.io/v1alpha3" not found
2022-10-18T12:14:34.089464Z	warn	installer	retrieving resources to prune type networking.istio.io/v1alpha3, Kind=VirtualService: no matches for kind "VirtualService" in version "networking.istio.io/v1alpha3" not found
2022-10-18T12:14:34.610107Z	warn	installer	retrieving resources to prune type security.istio.io/v1beta1, Kind=PeerAuthentication: no matches for kind "PeerAuthentication" in version "security.istio.io/v1beta1" not found
2022-10-18T12:14:35.129131Z	warn	installer	retrieving resources to prune type admissionregistration.k8s.io/v1beta1, Kind=MutatingWebhookConfiguration: no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1" not found
2022-10-18T12:14:35.648722Z	warn	installer	retrieving resources to prune type admissionregistration.k8s.io/v1beta1, Kind=ValidatingWebhookConfiguration: no matches for kind "ValidatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1" not found
Error: failed to install manifests: errors occurred during operation

Second this, I'm receiving the same error.

Please use the script from master branch if you are running kube 1.25.

That's the solution. Thank you!

Thnx for the help. One note here though, did you update the docs? Otherwise this question will pop up again...

Thnx for the help. One note here though, did you update the docs? Otherwise this question will pop up again...

Check out our support matrix https://kserve.github.io/website/0.9/admin/serverless/, we do not officially support kubernetes 1.25 with 0.9.


==None should be is None

in lib/datasets/viz.py 76 lines
"if inds == None":  should be fixed to be: "if inds is None"
== None sometimes will make error, program will shut down.

Fixed. Thanks for the bug report!


ImportError: cannot import name 'mise' from 'lib.libmise' (unknown location)

When I run the command python train.py or python test.py, I get some errors:

I think this error is related to the use of C++. How could I solve it?

Seems like you haven't installed MISE properly. Have you tried cd code; python setup.py develop. You expect to find the .so file in vid2avatar/code/lib/libmise


Deselecting a floor in Gazebo does not hide the models on the floor

As shown in the screenshot below, when you toggle off the visibility for a floor, the models on that floor remain visible. It would probably be better if those could also be turned off, so we don't see mysterious floating beings.

That sounds okay for a first-order approach. I think there could be some loose ends if an object has a wonky origin (leading to false positives or false negatives), but that simple approach should cover 99% of cases.

@Kevinskwk has proposed a method where a list of static model names is appended as sdf subelements of the toggle_floors plugin in the .world file. https://github.com/osrf/traffic_editor/pull/226
When a level visibility is toggled, the plugin turns off the visibility of appropriate models from this list. On the pro side, it avoids having to manually define Z height boundaries but on the cons side, it increases the verbosity of the .world file. Any feedback on this approach?

Sounds like a good approach. The last question would be whether we want to see robots or non-static models floating, and what should we do about it if we don't want that?

We can extend the same behavior to non-static models such as doors. For robots things are trickier as they can move between levels. One option would be to subscribe to RobotState/FleetState messages and filter out robots whose reported levels match the toggle selection.

This was done some time ago in Gazebo and now also in Ignition, closing.


Client error with python 2.7.15

			Client generating RPC Bind Request...,
,
,
								Client sending,
Server received RPC Bind Request !!!				<===============,
 * Running on http://<IP_ADDRESS>:8080/ (Press CTRL+C to quit),
No handlers could be found for logger "root",
Traceback (most recent call last):,
  File "/usr/lib/python2.7/SocketServer.py", line 290, in _handle_request_noblock,
    self.process_request(request, client_address),
  File "/usr/lib/python2.7/SocketServer.py", line 318, in process_request,
    self.finish_request(request, client_address),
  File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request,
    self.RequestHandlerClass(request, client_address, self),
  File "/usr/lib/python2.7/SocketServer.py", line 652, in __init__,
    self.handle(),
  File "pykms_Server.py", line 242, in handle,
    res = enco(str(handler.populate()), 'latin-1'),
  File "/home/py-kms/pykms_RpcBase.py", line 42, in populate,
    return self.generateResponse(self.parseRequest()),
  File "/home/py-kms/pykms_RpcRequest.py", line 26, in generateResponse,
    responseData = pykms_Base.generateKmsResponseData(request['pduData'], self.srv_config),
  File "/home/py-kms/pykms_Base.py", line 257, in generateKmsResponseData,
    return messagehandler.executeRequestLogic(),
  File "/home/py-kms/pykms_RequestV5.py", line 75, in executeRequestLogic,
    responseBuffer = self.serverLogic(decrypted['request']),
  File "/home/py-kms/pykms_Base.py", line 208, in serverLogic,
    sql_update(self.dbName, infoDict),
  File "/home/py-kms/pykms_Sql.py", line 68, in sql_update,
    sys.exit(1),
NameError: global name 'sys' is not defined,
,
Server receiving,
<===============	Client sending RPC Bind Request...,
,
,
,
Server sending,
===============>	Client received RPC Bind Response !!!,
,
			RPC Bind acknowledged !!!,
,
,
			Client generating Activation Request dictionary...,
,
			Client generating Activation Request data...,
,
			Client generating RPC Activation Request...,
,
Server receiving,
<===============	Client sending RPC Activation Request...,
,
,
,
,
,
Server sending,
===============>	Client received Response !!!,
,
Traceback (most recent call last):,
  File "pykms_Client.py", line 268, in <module>,
    clt_main(with_gui = False),
  File "pykms_Client.py", line 190, in clt_main,
    client_create(),
  File "pykms_Client.py", line 151, in client_create,
    parsed = MSRPCRespHeader(response),
  File "/home/py-kms/pykms_Dcerpc.py", line 641, in __init__,
    MSRPCHeader.__init__(self, aBuffer, alignment),
  File "/home/py-kms/pykms_Dcerpc.py", line 588, in __init__,
    Structure.__init__(self,data, alignment),
  File "/home/py-kms/pykms_Structure.py", line 110, in __init__,
    self.fromString(data),
  File "/home/py-kms/pykms_Structure.py", line 167, in fromString,
    self[field[0]] = self.unpack(field[1], data[:size], dataClassOrCode = dataClassOrCode, field = field[0]),
  File "/home/py-kms/pykms_Structure.py", line 329, in unpack,
    return self.unpack(two[0],data),
  File "/home/py-kms/pykms_Structure.py", line 385, in unpack,
    return unpack(format, b(data))[0],
struct.error: ('unpack requires a string argument of length 1', "When unpacking field 'ver_major | B=5 | ''[:1]'"),

How can I fix this?

New release seems broken, pulling an older, known-good release fixed it for me:
docker stop py3-kms
docker rm py3-kms
docker pull ekonprof18/pykms@sha256:1deca36a2f3ecabc1902f90475fcf9490135f03a03f0fb8e2dd0a9ca03b4f5f0

docker run -d --name py3-kms \
           -p 8080:8080 \
           -p 1688:1688 \
           -e IP=<IP_ADDRESS> \
           -e PORT=1688 \
           -e SQLITE=true \
           -e HWID=RANDOM \
           -e LOGLEVEL=INFO\
           -e LOGFILE=/var/log/py3-kms.log \
           -v /etc/localtime:/etc/localtime:ro \
           -v /var/log:/var/log:rw \
           --restart unless-stopped ekonprof18/pykms:py3-kms

New release seems broken, pulling an older, known-good release fixed it for me:
docker stop py3-kms
docker rm py3-kms
docker pull ekonprof18/pykms@sha256:1deca36a2f3ecabc1902f90475fcf9490135f03a03f0fb8e2dd0a9ca03b4f5f0

docker run -d --name py3-kms \
           -p 8080:8080 \
           -p 1688:1688 \
           -e IP=<IP_ADDRESS> \
           -e PORT=1688 \
           -e SQLITE=true \
           -e HWID=RANDOM \
           -e LOGLEVEL=INFO\
           -e LOGFILE=/var/log/py3-kms.log \
           -v /etc/localtime:/etc/localtime:ro \
           -v /var/log:/var/log:rw \
           --restart unless-stopped ekonprof18/pykms:py3-kms

I maked new release on ekonprof18/pykms:py3-kms 15 days a go, and it's work great with python version 3.6. Now, i want make it work with python version 2.X.

I believe there might be an issue with this release that is affecting some users (like us) but not all, as you aren't having any problems.
When I reverted the release as I described above, it started working again.
This was a clean Debian 10 install, with the latest version of docker and then this image (with the arguments above). A single Server 2012 R2 was attempting to connect.

In pykms_Sql.py an import sys should be enough.


Crashed when pressing 'Picture' for second time

The sample worked flawlessly except for one small bug,
When I am trying to multiple pictures, and while pressing 'picture'  it crashed in the second attempt,
The error was,
java.lang.IllegalStateException: maxImages (2) has already been acquired, call #close before acquiring more.
at android.media.ImageReader.acquireNextImage(ImageReader.java:501)
at com.example.ezequiel.camera2.others.Camera2Source$PictureDoneCallback.onImageAvailable(Camera2Source.java:1446)

First I tried to close the imagereader didnt work, then closing the acquired image solved the problem

This issue is fixed in PR #15


https://sentry.io/for/java/ is outdated

Need to update the site https://sentry.io/for/java/ with the new groupId, version and SentryHandler package

Thank you for the heads up, I'm trying to find where it lives right now. :)

This has been fixed, thanks for letting us know.


Android, Manage Profiles > View Source takes 20 seconds to load

Android Build 52
Reset Wallet, added 3 mock credentials.
Manage Profiles > View Source takes 20 seconds to load source. The first few times I gave up after 5 seconds, force quit app and relaunch to continue.
When source displays, just see the box of the source JSON, the top nav with back arrow and screen name, View Source, are not visible.

In build 56 loads right away, unclear what caused the slowdown but appears fixed now.


Uploaded media returns invalid link when used with different HS domain

I just noticed an issue with how matrix-media-repo returns URLs when you have separate domain entries for federation and for local client access.
With the configuration set - for example - like;
homeservers:
  - name: example.com
    csApi: "http://local-hs:8008/"
  - name: matrix.example.com
    csApi: "http://local-hs:8008/"

Where example.com has the requisite SRV entry to accept federation traffic - with no ability to upload a well-known entry for it, and where matrix.example.com hosts the actual client-accessible HS connection.
Uploading a piece of media from a client connected to matrix.example.com - as is expected of them - will then result in a returned MXC URL in the form of mxc://matrix.example.com/..., when it really should be mxc://example.com/....
This has resulted in broken federated access unless a federation entry / port is also configured for matrix.example.com.
Perhaps adding a federated/external name key to the homeserver config object could fix this?
homeservers:
  - name: example.com
    csApi: "http://local-hs:8008/"
  - name: matrix.example.com
    federatedName: example.com
    csApi: "http://local-hs:8008/"

Ugly quick-fix for the issue;
diff --git a/src/github.com/turt2live/matrix-media-repo/api/webserver/route_handler.go b/src/github.com/turt2live/matrix-media-repo/api/webserver/route_handler.go
index 8c01748..be0145c 100644
--- a/src/github.com/turt2live/matrix-media-repo/api/webserver/route_handler.go
+++ b/src/github.com/turt2live/matrix-media-repo/api/webserver/route_handler.go
@@ -68,6 +68,7 @@ func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
        var res interface{} = api.AuthFailed()
        if util.IsServerOurs(r.Host) {
                contextLog.Info("Server is owned by us, processing request")
+               r.Host = util.GetHomeserverConfig(r.Host).CorrectName()
                metrics.HttpRequests.With(prometheus.Labels{
                        "host":   r.Host,
                        "action": h.action,
diff --git a/src/github.com/turt2live/matrix-media-repo/common/config/config.go b/src/github.com/turt2live/matrix-media-repo/common/config/config.go
index ac17548..c3d620f 100644
--- a/src/github.com/turt2live/matrix-media-repo/common/config/config.go
+++ b/src/github.com/turt2live/matrix-media-repo/common/config/config.go
@@ -17,9 +17,17 @@ var Runtime = &runtimeConfig{}

 type HomeserverConfig struct {
        Name            string `yaml:"name"`
+       FederatedName   string `yaml:"federatedName"`
        ClientServerApi string `yaml:"csApi"`
        BackoffAt       int    `yaml:"backoffAt"`
 }
+func (h *HomeserverConfig) CorrectName() string {
+       if len(h.FederatedName) > 0 {
+               return h.FederatedName
+       } else {
+               return h.Name
+       }
+}

 type GeneralConfig struct {
        BindAddress  string `yaml:"bindAddress"`

I pushed an image of it to ananace/matrix-media-repo-test as well, just to have working media :slightly_smiling_face:

This is expected behaviour: the media-repo is expected to be run behind a reverse proxy which translates the Host header to something routable. This means your reverse proxy should be converting matrix.example.com to example.com when talking to the media repo, otherwise the mxc:// construction you're seeing here will happen.


[feat]: Add option to pass list of usernames to be considered when mention user mode is activated

When we type @ and mention user mode is activated, this arg value (which is an array of data) is used as a source to come as a list above/below where you are typing, to select from.

This will be possible once https://github.com/Expensify/react-native-live-markdown/pull/439 is merged.

OK cool, thanks for replying so quickly


Cannot format JSON in files preview window

Unable to format or wrap JSON text from the preview window

I will implement this in 1.29.0


Handle rotation in the Box Selection example

Describe the bug
The stale bot has closed the very old issue #5496 but it would be nice ti have an example which handled rotation in a way most might expect it to.
To Reproduce
See #5496
Expected behavior
https://codesandbox.io/s/boxselection-5cc8v

Thanks for the codesandbox @mike-000, I've opened a pull request based on your code.

The PR in its present form won't fix the issue.  My codesandbox was also inefficient in that it compared every feature in the source against the rotated dragbox instead of only those in its extent when rotated.  Although there is slightly more code this https://codesandbox.io/s/box-selection-krl5z will be more efficient.  The ol/geom/Geometry API change to make the anchor optional is correct but in this case the coordinate used for the box is also required and cannot be defaulted when making a corresponding rotation of feature geometry.  @fredj if you wish to merge the API change I am willing continue a PR for the example.


Ignore files in a directory

I would like to ignore specified directories from the output.
For example, in Laravel the TestResponse class may be extended to give more assertion methods - but I do not want to view this file in the output.
It looks as if the list in this method would fulfil the requirements:
https://github.com/nunomaduro/collision/blob/1e43bcab2ce79146b9852ca81a25ae2d1d21986b/tests/Unit/WriterTest.php#L126
However, the list is hard-coded:
https://github.com/nunomaduro/collision/blob/fef86518b5bab6373eb282068bfa4ce25bb723d1/src/Adapters/Phpunit/Style.php#L163
Would it be possible to configure the directories which are ignored?

Not yet, fell free to add that feature.


lookup enforcement mode from overwrite config

Overview/Summary
Every policy can be set with enforcement_mode true or false, which is on the same level as parameters. Beforehand, it was only possible to overwrite the enforcement mode for policies set on the connectivity, identity and management group. For policies which are applied e.g. on the landing zones, it was possible to set the parameters, but not the enforcement mode.
This PR fixes/adds/changes/removes

In the overwrite config, it is possible to set the enforcement mode for all policies. Potential overwrite configuration can be like this:

locals {
  archetype_config_overrides = {
    es-landing-zones = {
      enforcement_mode = {
        Deny-Public-IP          = false
        Deny-RDP-From-Internet  = false
        Deny-Subnet-Without-Nsg = false
        Deploy-VM-Backup        = false
      }
    }
  }
}

Breaking Changes
none, the configuration is optional
Testing Evidence
The above configuration works. I am happy to also write a page for the wiki with a longer how-to.
Please provide any testing evidence to show that your Pull Request works/fixes as described and planned (include screenshots, if appropriate).
As part of this Pull Request I have

[X] Checked for duplicate Pull Requests
[ ] Associated it with relevant issues, for tracking and closure.
[X] Ensured my code/branch is up-to-date with the latest changes in the main branch
[X] Performed testing and provided evidence.
[ ] Updated relevant and associated documentation. --> I can write a wiki page with a sample

Hi @steph409
This looks great! please can you update the variables.tf with

Thanks @steph409 the code looks good
Please could you add content to the wiki to cover this?
Perhaps another example page.

Hi @steph409 thanks for this looks great - I have also updated the variable docs in #687

/azp run unit


Load fonts Cross Domain

Does this work already? I only see XMLHttpRequests in the code. I would think that this use case is one of the more common ones, as a lot of people load fonts from the Google Font Library or equivalent.

Google's fonts don't load as JavaScript object, but are implicitly loaded through a stylesheet @font-face defition. This makes the browser to download a font as an invisible, inaccessible resource, and you can't get to the font's bytecode that way (which is essential for pulling off the validation trick Font.js performs).
Normally, XHR and cross-domain is a problem, but the good news is that servers can be made to indicate that cross-origin requests are just fine, using CORS. If served with the appropriate header response for cross-origin loading, modern browsers will let you load the font from a completely different domain, so as long as IIS or Apache or Node.js or what have you sends a header response with Access-Control-Allow-Origin:  or Access-Control-Allow-Origin: *, there will be no security violations and the font will be loaded just fine.
Also note that already loaded fonts such as Google webfonts, loaded from stylesheet, can be loaded as if they're system fonts. If you loaded the Google web font "Amethysta" by using the stylesheet code Google gives you for it, you can load up this font as a Font object by using:
var fnt = new Font();
fnt.onload = ...
fnt.fontFamily = "Amethysta";
fnt.src = "Amethysta";
This approach will miss out on the font-declared metrics (quad size, global ascent, descent and leading) but will still give you a Font object that can be use for text-at-some-size metrics computation via fnt.measureText("some funky text",16) etc.
I should add that to the README...

updated the README in https://github.com/Pomax/Font.js/commit/4e2a64a00afe63fb045bd8f61260a3ae17c7a82e


Configurable custom dictionary

Custom dictionary in jieba.
Although it can be achieved through code just like cang-jie, but I am a layman to the rust language.
Also, is there a golang client here?

Because you talk about jieba, I will assume you mean tokenizer's dictionary.
Tantivy is a search engine library that makes it possible to plug your own tokenizer.
Your question is probably for the tantivy-jieba project. Not this one.
There are no golang bindings that i know of.

You are right, i understand wrong, thank you.


Invalid Hoon literals in sail syntax

Having unleashed working parts of the new parser onto entire arvo tree, the
tokenizer uncovered a following problem:
In sail syntax it is permissible to have unquoted string literals.
This is very bad for future code introspection purposes, and I would like to put this up for discussion,
i.e. IMHO we in the future compiler sail syntax should only permit proper literals without
non-standard quirks

It seems sail does not handle cords and requires tapes; If this is by design then fine,
although we could of course support all Hoon literals.

Anyway feel free to disregard this merge request and discuss only the issue itself.
Such things can wait when the new parser will be ready, when it will also be possible to
auto-migrate entire Arvo tree onto Hoon %141, so perhaps it is better to handle this in one huge dump

Making sail require a line closing delimiter seems like a significant UI
downgrade 3:
At any rate, I will note that several of the lines contain {}
interpolations, so single quotes were breaking their semantics anyway
On Sunday, 11 November 2018, mikolajpp<EMAIL_ADDRESS>wrote:

Anyway feel free to disregard this merge request and discuss only the
issue itself.
Such things can wait when the new parser will be ready, when it will also
be possible to
auto-migrate entire Arvo tree onto Hoon %141, so perhaps it is better to
handle this in one huge dump
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/pull/887#issuecomment-437667461, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABxXhqFLsepBWlS0t8Tj9b3s5JWUp328ks5uuByTgaJpZM4YYdeE
.

In particular, iirc sail was designed as a slightly regularized version of
http://jade-lang.com/, taking out some of the implicit HTML defaults(and
put ; everywhere to distinguish from regular hoon). I'm not sure what you
mean by "introspection": a sail string literal is delimited by an opening
'; ' and a closing newline, or alternately after a sail tag  ;[a-z]([^
]|QUOTE)*  with an opening ': ' and a closing newline. It has an
interpolation syntax vaguely similar to "", but with some possible prefixes
to {} to iterpolate in xml elements/lists/etc instead of pure text.
On Sunday, 11 November 2018, mikolajpp<EMAIL_ADDRESS>wrote:

Having rewritten working parts of the new parser onto entire arvo tree, the
tokenizer uncovered a following problem:
In sail syntax it is permissible to have unquoted string literals.
This is very bad for future code introspection purposes, and I would like
to put this up for discussion,
i.e. IMHO we in the future compiler sail syntax should only permit proper
literals without
non-standard quirks
You can view, comment on, or merge this pull request online at:
https://github.com/urbit/arvo/pull/887
Commit Summary

Use quoting for string literals in sail syntax
Use proper literals in sail

File Changes

M sys/vane/eyre.hoon
https://github.com/urbit/arvo/pull/887/files#diff-0 (2)
M web/landscape/profile/settings.hoon
https://github.com/urbit/arvo/pull/887/files#diff-1 (18)

Patch Links:

https://github.com/urbit/arvo/pull/887.patch
https://github.com/urbit/arvo/pull/887.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/pull/887, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABxXhrVh3TWcMvUQpR-KMbI1o4Or0xeIks5uuBhYgaJpZM4YYdeE
.

I suppose the socially savvy may point out that jade has been throughly
supplanted by jsx, on which basis we should just make sail contents
implicitly-text and require a closing ;/div or w.e. instead of ==
Which I would be sad to hear, but probably still be considerably less
damaging to the ability to copy blocks of text into sail bodies than
requiring quotes, and correspondingly, quote escaping everywhere.
On Sunday, 11 November 2018, Anton Dyudin<EMAIL_ADDRESS>wrote:

In particular, iirc sail was designed as a slightly regularized version of
http://jade-lang.com/, taking out some of the implicit HTML defaults(and
put ; everywhere to distinguish from regular hoon). I'm not sure what you
mean by "introspection": a sail string literal is delimited by an opening
'; ' and a closing newline, or alternately after a sail tag  ;[a-z]([^
]|QUOTE)*  with an opening ': ' and a closing newline. It has an
interpolation syntax vaguely similar to "", but with some possible prefixes
to {} to iterpolate in xml elements/lists/etc instead of pure text.
On Sunday, 11 November 2018, mikolajpp<EMAIL_ADDRESS>wrote:

Having rewritten working parts of the new parser onto entire arvo tree,
the
tokenizer uncovered a following problem:
In sail syntax it is permissible to have unquoted string literals.
This is very bad for future code introspection purposes, and I would like
to put this up for discussion,
i.e. IMHO we in the future compiler sail syntax should only permit proper
literals without
non-standard quirks
You can view, comment on, or merge this pull request online at:
https://github.com/urbit/arvo/pull/887
Commit Summary

Use quoting for string literals in sail syntax
Use proper literals in sail

File Changes

M sys/vane/eyre.hoon
https://github.com/urbit/arvo/pull/887/files#diff-0 (2)
M web/landscape/profile/settings.hoon
https://github.com/urbit/arvo/pull/887/files#diff-1 (18)

Patch Links:

https://github.com/urbit/arvo/pull/887.patch
https://github.com/urbit/arvo/pull/887.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/pull/887, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABxXhrVh3TWcMvUQpR-KMbI1o4Or0xeIks5uuBhYgaJpZM4YYdeE
.

Makes sense. I just thought it was some quirk based on the fact that
in some places there were quotes. So for now lets just leave it as-is :-)


test NOT creating kind network

This should be updated in common-files, but I want to test the change here first.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
550b821e6e9f8f1c850ea8c6854575d055215b37
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Update to v0.59.1 causes system reboot without warning or prompt

Microsoft PowerToys version
0.59.1
Running as admin

[X] Yes

Area(s) with issue?
Installer
Steps to reproduce
Use the built-in updater within the PowerToys interface. I believe I was updating from 0.56.x.
✔ Expected Behavior
I would expect that when the update was done installing that it would request a reboot with "Yes" or "No" (or "Later") choice.
❌ Actual Behavior
The updater began and then apparently finished and then rebooted my computer without a warning or asking.
Other Software
No response

This happened to me today. This cannot ever happen. Please fix this ASAP.

Same thing happened when updating to v0.60.0!
Notepad saved the day, but I nearly lost all my work!
Please fix this ASAP !!!!!
@crutkas

I believe I was updating from 0.56.x.

This has been fixed when updating from 0.57 going forward in https://github.com/microsoft/PowerToys/pull/17255
@yllekz and @ShintakuNobuhiro , can we get more info regarding your cases, which update where you updating from? Was it winget, windows app store?

I updated via the built-in updater in the app. No winget or app store.

This should be fixed


Adding linux-headers as dependent packages

Sometimes I miss installing correct linux-headers prior running your wonderful script. Maybe you could a them as dependent packages?
e.g. something like that for Debian
kernelversiononly=$(uname -r) && apt-get install linux-headers-$(uname -r) linux-headers-${kernelversiononly::-5}common -y

I know its not the best way, but simple und working.
Kind regards

Hello, I will look into this. What Linux distro are you using?

Debian Unstable

I have updated the code to reflect your change. Thank you for this


react-native 0.66.5 failed with this library

/Users/damon/Documents/thundersdata/frontend/rn-template/node_modules/react-native-z-view/android/src/main/java/com/reactnativezview/ZViewRootViewGroup.java:11: 错误: 找不到符号
import com.facebook.react.uimanager.JSPointerDispatcher;
^
符号:   类 JSPointerDispatcher
位置: 程序包 com.facebook.react.uimanager
/Users/damon/Documents/thundersdata/frontend/rn-template/node_modules/react-native-z-view/android/src/main/java/com/reactnativezview/ZViewRootViewGroup.java:22: 错误: 找不到符号
private JSPointerDispatcher mJSPointerDispatcher;
^
符号:   类 JSPointerDispatcher
位置: 类 ZViewRootViewGroup
/Users/damon/Documents/thundersdata/frontend/rn-template/node_modules/react-native-z-view/android/src/main/java/com/reactnativezview/ZViewRootViewGroup.java:26: 错误: 找不到符号
if (ReactFeatureFlags.dispatchPointerEvents) {
^
符号:   变量 dispatchPointerEvents
位置: 类 ReactFeatureFlags
/Users/damon/Documents/thundersdata/frontend/rn-template/node_modules/react-native-z-view/android/src/main/java/com/reactnativezview/ZViewRootViewGroup.java:26: 错误: 非法的含括号表达式
if (ReactFeatureFlags.dispatchPointerEvents) {
^
/Users/damon/Documents/thundersdata/frontend/rn-template/node_modules/react-native-z-view/android/src/main/java/com/reactnativezview/ZViewRootViewGroup.java:27: 错误: 找不到符号
this.mJSPointerDispatcher = new JSPointerDispatcher(this);
^
符号:   类 JSPointerDispatcher
位置: 类 ZViewRootViewGroup
/Users/damon/Documents/thundersdata/frontend/rn-template/node_modules/react-native-z-view/android/src/main/java/com/reactnativezview/ZViewRootViewGroup.java:91: 错误: 找不到符号
this.mJSTouchDispatcher.onChildEndedNativeGesture(ev, this.mEventDispatcher);
^
符号:   方法 onChildEndedNativeGesture(MotionEvent,EventDispatcher)
位置: 类型为JSTouchDispatcher的变量 mJSTouchDispatcher
6 个错误
FAILURE: Build failed with an exception.

0.72 works fine.

I also noticed that ZView cannot cover StatusBar and NavigationBar, which makes the effect a litter weird to me.

here's the code:
<ZView>
  <View
    style={{
      width,
      height,
      backgroundColor: 'rgba(0, 0, 0, 0.5)',
    }}
  >
    <Text>{message}</Text>
  </View>
</ZView>

I also tried on IOS, it works fine.

ZView cannot cover StatusBar and NavigationBar

@chj-damon This should be fixed in 0.2.3

react-native 0.66.5 failed with this library

Looks like it is failing pointer event imports which were recently added. Is something blocking you from upgrading to the latest RN?

I'm just maintaining a UI Library which supports most react-native versions from 0.66 above. I don't think it's a good idea to tell developers this UI Library is only compatiable with the latest RN.

@chj-damon Published a new version 0.2.4. It should fix the 0.66.5 compilation issue. Let me know if you still face any issues.

tried the latest 0.2.4 version. something went wrong.
here's my code:
<ZView touchable>
  <View
    style={{
      width,
      // height: 200,
      // padding: 40,
      backgroundColor: 'rgba(0, 0, 0, 0.5)',
    }}
  >
    <Text style={{color: 'white'}}>Full size overlay view</Text>
  </View>
</ZView>

when height or padding not set, it works fine. ZView will cover the StatusBar, but once either of height or padding been set, it won't work.

@chj-damon Seems to be working fine for me on a physical device and also emulator with/without height/padding. Can you try to repro in a new RN app and check if it is reproducible?


plugs: Grant personal-files

Some maven plugins will read hidden configuration files in the user's home directory.
I would like to grant access to this interface, so that the end user can choose to snap connect to personal-files. I'm new to snap, so not 100% if this change would enable this.
See: https://github.com/jgneff/strictly-maven/discussions/2

I see, yes it doesn't make sense if we would have to enumerate the config files for my use case in the core package. I was hoping that we could allow users to manually connect files as they require on their end.
So I will close this off, thanks.


Remove bw modules

Task/Issue URL: https://app.asana.com/0/488551667048375/1203238561022251/f
Description
Remove the bandwidth modules as they're no longer needed
Steps to test this PR
Smoke AppTP tests

[ ] install from this branch
[ ] enable AppTP
[ ] open/close apps known to have trackers
[ ] ensure AppTP blocks attempts accordingly
[ ] enable/disable AppTP and ensure all is good
[ ] sanity test AppTP screens

Current dependencies on/for this PR:

develop

PR #2464   👈

This comment was auto-generated by Graphite.


Add CHANGELOG.md

This is extremely useful when troubleshooting bugs between versions or for people considering upgrading to a newer version.
This could probably wait until lux is out of beta, but I think it is important to include eventually.

Ahh accidentally closed this instead of #52

@zacharygolba could use something like https://github.com/rvagg/changelog-maker


[Tariffs] Employee without permission can edit a location card

Environment: all
Reproducible: always
**Build found:**25/07/2023
Preconditions

User should be on position which doesn't have permission to edit a location card (e.x. navigator)
User should be logged
Go to https://www.greencity.social/#/ubs-admin/tariffs

Steps to reproduce

Select region in dropdown list in the top of page (e.x. Kharkiv region)
Select location card and on location card press 3 dots and click on "Edit"
In pop-up window "Edit card" change Courier, add Receiving station, add city
Press "Edit" button
Overload the page, select region and verify the result

Actual result
Employee without permission can edit a location card
Expected result
The button "Edit" in dropdown list must be desibled
User story and test case links
E.g.: https://github.com/ita-social-projects/GreenCity/issues/5538
https://github.com/ita-social-projects/GreenCity/assets/128155213/b67eac69-da2f-42c8-8ccf-b47688b24e13
.

Bug is fixed


change from_protocol to from_port on github sg

The current github sg has (from|to)_protocol instead of (from|to)_port

Thanks!


[url_launcher] Fix Link test

One of the Link tests relied on internal implementation details of
url_launcher_platform_interface that have changed, so started failing
when the new version of that plugin was published.
This replaces that test with a test that the relevant
url_launcher_platform_interface function is called, without asserting
anything about how it works internally.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides. (Note that unlike the flutter/flutter repo, the flutter/plugins repo does use dart format. See plugin_tool format)
[x] I signed the CLA.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[ ] I updated CHANGELOG.md to add a description of the change.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
[x] All existing and new tests are passing.

Landing on red to fix the tree.

@Hixie @stuartmorgan With a combination of these changes you broke the plugin - this is a breaking change.
Specifically, one of the two changes would have needed to be a major version bump (2.0.3 #3893 in the platform interface changed the type and this PR 6.0.5 also changed the type, which means that url_launcher: 6.0.5 and url_launcher_platform_interface: 2.0.2 are incompatible, same for url_launcher: 6.0.4 and url_launcher_platform_interface: 2.0.3). Just helped someone who spent 1 hour not knowing how to debug this problem.
I think you should publish a new version of url_launcher that explicitly declares the dependency.

Specifically, one of the two changes would have needed to be a major version bump

Making this a major version change wouldn't really fix anything; the issue here is that this change uncovered that the other change is breaking in a very subtle way even though it was intended not to be.
I'll need to think about the best combination of releases to minimize the chances of resolving to a bad combination.

@stuartmorgan Right, #4000 is a fix in this case (making 2.0.3 mandatory).

Making this a major version change wouldn't really fix anything

I do not think this is true. If the platform interface version would have been 3.0.0, then you would have been required to explicitly bump the dependency.

Making this a major version change wouldn't really fix anything

I do not think this is true. If the platform interface version would have been 3.0.0, then you would have been required to explicitly bump the dependency.

This isn't the platform interface PR, it's the app-facing package PR. The part I was replying to said "one of the two changes would have needed to be a major version bump", which isn't right; a breaking change needs to be changed in the version of the package containing the breaking change, not clients of that package.

@stuartmorgan I see, makes sense. Thinking about it that way, I commented on the wrong PR (did not put thought into which one to choose since I thought they were connected).
But you are right: #3893 would have needed a major version bump because it changed public-facing API.

Having had time to dig into this more, and look more closely at the type mismatch, I think most of the discussion above is incorrect.

@Hixie @stuartmorgan With a combination of these changes you broke the plugin - this is a breaking change.

I don't think there were any breaking changes, just a broken change (this one).

Specifically, one of the two changes would have needed to be a major version bump (2.0.3 #3893 in the platform interface changed the type and this PR 6.0.5 also changed the type

... and as a consequence, I don't think this is true either.

which means that url_launcher: 6.0.5 and url_launcher_platform_interface: 2.0.2 are incompatible

This is definitely true. Specifically: A value of type 'Future<ByteData> Function(BuildContext, String, {bool debugForceRouter})' can't be assigned to a variable of type 'Future<ByteData> Function(Object?, String)', which makes sense.
To be compatible with url_launcher_platform_interface 2.0.0-2.0.2, this would have needed to use BuildContext, not Object?, as the type of the first argument. I.e., of the two variants of the interface, it needs to use the one whose arguments are more specifically typed in order for both of the assignments to be valid.

same for url_launcher: 6.0.4 and url_launcher_platform_interface: 2.0.3).

I don't think this is true, based both on looking at the code (pushRouteNameToFramework(context, routeName) should be a perfectly valid call with the newer signature), and on actually trying it. What error were you seeing with this combination?

@stuartmorgan Ok that makes sense, thanks 🙏 I did test the second combination properly, your conclusion is correct.


Should we add akmod packages for xpadneo and xone drivers to main?

Today in discord #general I responded to a question about how to get one/both of these drivers into a ublue image. An ensuing chat prompted the creation of this issue for further discussion on the topic.
xpadneo specifically supports xbox one wireless controller via bluetooth
xone supports xbox one controllers/accessories via USB or the USB wireless dongle, aims to replace xpad
I've personally been building my own image atop ublue-os main and nvidia to add these two drivers. As akmods, like the nvidia drivers, they also need a signing key to support Secure Boot systems.
So this is a multipart question:
1) should both xpadneo and xone be added to ublue-os/main ? just one? which? why?
It was suggested in chat that we already have udev rules for various devices so adding drivers like this doesn't seem like much of a stretch.
xpadneo  pros:

xbox one controllers will work via bluetooth (I don't believe they function via bluetooh without this driver)

xpadneo cons:

???

xone pros:

xbox one wireless usb dongle support
claims to be " a modern replacement for xpad, aiming to be compatible with Microsoft's Game Input Protocol (GIP)."

xone cons:

when installed will take priority over xpad for any supported devices, which some users may not prefer

2) If either are added, they need a signing key to enable Secure boot. How to handle this?
I'd personally suggest moving the existing key from nvidia into main and renaming it to ublue such that main would provide instructions to import like:   sudo mokutil --import /etc/pki/akmods/certs/akmods-ublue.der
If so, it would be nice for this same key get re-used by the nvidia build so that only one key needs to be imported.
Though, there could be two distinct keys.
For reference, here's my repo and build of these akmods: https://github.com/bsherman/ublue-kmods/

Shouldn't main be the starting point of in building our own adventure and not the kitchen sink?
Looking at the uBlue architecture as one flows down the chart the resulting image becomes specialized (aka more opinionated). Adding a game controller is specialized. I fully understand that many enjoy gaming on their computers. I understand the main image is going to be opinionated. However, not all individuals care about gaming. I'm in the non-gaming camp and have no use for these drivers. Just like many don't have a use for NVIDIA drivers So why not just add the NVIDIA drivers to all builds?
What percent of users are looking to use a Xbox controller, how many users have a need for NVIDIA drivers? I think something like this could exist just under main; and that would be in the realm of a custom image(s).

I think we should add this, there are millions of controllers in the wild and Windows has had plug and play support for controllers for a long time now. Getting this working is really difficult for most users, especially on coreos-style systems. The NVidia drivers are gigs and gigs of space so they kind of have to be in their own image.
@bsherman how big are the modules+firmware on disk? I'm not expecting them to be large. (I don't know where to look in the image).
We'd have to see how it does with F38 builds but we can easily revert if it becomes a long term issue.

I'm perfectly happy building my own custom images, so obviously I agree a user can add akmod drivers themselves in a custom image build, but it's a lot easier to layer an rpm-ostree override remove xone-kmod-common xpadneo-kmod-common (or remove in an image build) than to add them later, especially for a user doesn't have the knowledge or desire to build a personalized desktop image.
I believe adding these drivers is complementary to the choice already demonstrated in the opinionated main image which enables out of box support for game devices (and other devices) via https://github.com/ublue-os/config 's udev rules, etc. The purpose is not to create a "gamer focused" main, but to provide an "it just works" experience for a reasonably wide set of potential users.
I do agree with @mitchejj that "main" shouldn't be a "gamer focused" image; to that end, I wouldn't want games, game launchers, or other gaming specific patches to be installed. However, "main" is the foundation of the ublue-os desktop distribution images, based on Fedora, and Fedora's kernel already includes the xpad driver and other game controller support. So, saying no to the proposed drivers based on the argument that all downstream users won't use them is not far from the idea of purging all game controller drivers from Fedora's kernel for the same reason, and certainly not consistent with the inclusion of the already mentioned udev rules.
I also appreciate the comment that this could cause problems with F38 builds. I want to explore that and make sure no builds would break.
@castrojo sizes of packages in bytes on my current image.
rpm --queryformat='%12{SIZE}  %{NAME}\n' -q `rpm -qa |grep -E "xone|xpadneo|custom-key" | xargs`
       11908  kmod-xpadneo-6.1.14-200.fc37.x86_64
       98305  xpadneo-kmod-common
       50932  kmod-xone-6.1.14-200.fc37.x86_64
       93518  xone-kmod-common
        1578  akmods-custom-key

So,  250 KiB total.

Just my opinion here as an average "user" but things like this are IMO what separates a good base from a not-so-good one, If people really want a "base" system they would use either Silverblue or Kinoite. These images are as much about ease of use and maintenance as anything else.
Personally, I'd go with having them included as a default, if people need them they are there if they don't the space consumed is negligible and anyone not wanting them can remove them. At the end of the day we all run a kernel with plenty of stuff included that we never use, but we don't go building our own (well most people) to disable them.

As of right before this post this webpage is 183K. This seems like a nobrainer to me.
Let's talk about ways we can make this more composable for folks though:

https://github.com/orgs/ublue-os/discussions/106

I suppose if the drivers are that small... it doesn't seem that bad.

this currently would break F38 builds.

Confirmed. My personal ublue-kmods repo is building xpadneo and xone akmods from negativo17 fedora-steam 37 repo and as of now, the RPMs are missing from negativo17 fedora-steam 38 repo.
This raises a good question about sources. RPMfusion is "trusted", but there are also some COPRs being used in a few places, though it looks they are COPRs by kyle, ublue-os, and kde_sig, so fairly "official" or directly related to this project.
What is needed to include a third party package into "ublue-os"? I'm starting to think if we want this included, it may be best to build it in a ublue-os COPR.

There's been generic work for adding akmods support:
pending PRs:

https://github.com/ublue-os/akmods/pull/1
https://github.com/ublue-os/nvidia/pull/72

@dhoell and I have discussed working to move this forwared.

I'd really like to see this added.

I'm incredibly happy to close this as we've added these to ublue akmods repo!
https://github.com/ublue-os/akmods/issues/4


fix(workspace): simplify InitializeWorkspace command

fix(workspace): simplify InitializeWorkspace command
A few adjustments in InitializeWorkspace

No longer prompts user to choose between default / blank / tutorial. Automatically chooses blank
Add helpful links in root.md

Pull Request Checklist
You can go to dendron pull requests to see full details for items in this checklist.
General
Quality Assurance

[ ] Add a test for the new feature
[ ] Make sure all the existing tests pass
[ ] Do a spot check by running your feature with our test workspace
[ ] If your tests involve running [[manual Testing|dendron://dendron.dendron-site/dendron.dev.qa.test#manual-testing]], make sure to update [[Test Workspace|dendron://dendron.dendron-site/dendron.dev.ref.test-workspace]] with any necessary notes/additions to perform manual test ^9jtWc6ov340p
[ ] After you submit your pull request, check the output of our integration test and make sure all tests pass

NOTE: If you running MacOS or Linux, pay special attention to the Windows output and vice versa if you are developing on Windows

Special Cases

[ ] If your tests changes an existing snapshot, make sure that snapshots are updated
[ ] If you are adding a new language feature (graphically visible in VS Code/preview/publishing), make sure that it is included in test-workspace. We use this to manually inspect new changes and for auto regression testing

Docs

[ ] Make sure that the PR title follows our commit style
[ ] Please summarize the feature or impact in 1-2 lines in the PR description
[ ] If your change reflects documentation changes, also submit a PR to dendron-site and mention the doc PR link in your current PR

Example PR Description
# feat: capitalize all foos

This changes capitalizes all occurrences of `foo` to `Foo`

Docs PR: <URL_TO_DOCS_PR>

Special Cases
First Time PR

[ ] Sign the CLA which will be prompted by our github bot after you submit the PR
[ ] Add your discord alias in the review so that we can give you the horticulturalist badge in our community

Git

[ ] Make sure your branch names adhere to our commit style [[#^6zdCscSXs1MM]]

All PRs should start with [feat|fix|enhance|]/[{description-of-pr-in-kebab-case}]

eg. feat/add-thisthing

Analytics

[ ] If you are adding analytics related changes, make sure the Telemetry docs are updated

Github Issue

[ ] If this pull request is addressing an existing issue, make sure to link this PR to the issue that it is resolving.
[ ] If the resolution comes with a document update, link the docs PR to the issue as well.

Test failures are in GitPod - seem to be transient errors unrelated to this review.

this is not transient, the only reason it doesn't fail on windows is because we disable for windows
in the future, we'll remove this module since its not used
updated the tests here


Probably you need to add
provider "azurerm" {
features {}
}
into the main.tf file?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 14080c3b-027f-93e1-fd0f-4bea971f51b0
Version Independent ID: 5894d6ec-4347-153c-fa9a-203d41275153
Content: Install the Azure Terraform Visual Studio Code extension
Content Source: articles/terraform/configure-vs-code-extension-for-terraform.md
Service: terraform
GitHub Login: @TomArcherMsft
Microsoft Alias: tarcher

Thanks @ctahok. This article has been updated and should publish by tomorrow afternoon (PST).


implement polygon query

Implement polygon enrichment and polygon subset.

Hi @meiertgrootes. I implemented the polygon query in this branch. Could you please review it?
You can use this notebook to test.
Your example notebook has been moved here.

@meiertgrootes I have updated this PR with new example notebooks, on both local and Spider. Thanks for the reviewing!

Thx @meiertgrootes for the feedback! I agree with almost all of them. I converted most of your comments to issues. Also added in-line documentation for density subsetting.
Just one thought on the density implementation.
Will merge it for now


FEATURE - Add parent_id field to stg_jira__field_option

Is there an existing feature request for this?

[X] I have searched the existing issues

Describe the Feature
Hi, if you look at the raw data provided by the Fivetran there is a field called parent_id. Looking at the model stg_jira__field_option, I can see that this is omitted from the final select statement. Could you incldue it please? Thanks!
Describe alternatives you've considered
No response
Are you interested in contributing this feature?

[X] Yes.
[ ] Yes, but I will need assistance and will schedule time during your office hours for guidance.
[x] No.

Anything else?
No response

Hi @ltw94 thanks so much for opening this feature request!
This seems like a reasonable addition to the staging model. However, we do not leverage this field internally and I am not entirely sure what the parent_id is within the context of the field_option table. Would you be able to add some context as to what this field is and how you leverage it?

Hi! Yes this was a request from one of our Analysts who says:
In Jira when defining custom fields you can create parent and child fields (to define main category and sub-categories).  For example, the possible options of the child (i.e Modbus,HTTPS,SFTP…) depend on the selected parent option (i.e Protocols).
Since the issue_field_history it’s only saved the child option, the parent_id is needed to know which is the parent of the child.

Thanks for the context @ltw94!
That makes sense as to why you would want to bring the parent_id into the staging model. I don't see any risk in bringing the field into this staging model. However, at the moment we do not incorporate the parent_id in any downstream models within the dbt_jira package. Is this something you would expect to see propagated in those downstream models?
If so, then we can open a FR on the dbt_jira repo to investigate possible avenues for including the fields in those. In the meantime, adding the parent_id to the staging model would not be too much of a lift. I noticed you marked that you were interested in creating a PR. Is that something you are still interested in pursuing? If so, let me know if I can help you with next steps for opening a PR and contributing to the package 😄

Hi! Apologies for the delayed response. For now our analysis is only of the field_option table and our own downstream models, and haven't considered propagation to downstream models of the dbt-package.
Given that, I would say for the time being it would make most sense to just include the parent_id in the staging_model :)
For us the main key is speed, so if it's faster that we open the PR ourselves then we can do so (I see this blog post here: https://discourse.getdbt.com/t/contributing-to-an-external-dbt-package/657) which seems relatively straight forward for us to go ahead with.

That makes sense to me and it would be great to have your contribution to the open-source package!
The link you provided is great to follow for contributing. Once you open the PR I will be sure to expedite the review and work with you to merge the changes into the package for you and other to leverage.
Let me know if you have any questions when opening the PR!

Hi,
Many thanks for moving forward this issue! I saw that the MR was merged, but you forgot to do the release of the latest version (0.4.2). Can you please do it so that we can leverage the latest change? @fivetran-joemarkiewicz
Thanks!

@alejobs thanks so much for bumping this! I just cut the release. Thanks again so much for your contribution 😄


fix: remove unnecessary checks from the example

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


support Pytorch >=1.5

Hi Wei,
How can D-MIL support Pytorch above 1.4?

It's sorry that only pytorch 1.0 - 1.4 is supported now. And branch supports pytorch above 1.4.

Thanks！


Enhance membership management

Currently when you add a member in game if you win and start a fresh campaign it will get reset.
For now we have 2 solution for a persistent member list.

Add a simple condition to detect if filepatching is enable and in that case use an external file like community version was doing if i remember correctly. It will allow every dedicated servers to have a persistent member list and simple hosting ones will use current system (but will more probably be private ones so membership disabled)

Create a arma3 server side mod/addon to take care of it. (no idea what/how tho :/ )

I'll check out how to create a simple addon soon when I have some spare time. Doesn't seem to be hard to do.

Scratch my last comment. I've added a way to store data as a plain array as well as in a config-like form. So we can easily convert the 75 existing member entries into the new form.
https://github.com/Sparker95/AntistasiServerMembers/blob/master/AntistasiServerMembers/MemberList.hpp

Yes. It is a Matter of converting to mod the mlist.sqf, adding just a control variable yo check in initserver.sqf. if the variable os not nil, then we are in an official server

Why not saving them in a variable on the servers profileNamespace?
This is how ACE stores it's server settings for example.
Then you just need to modify the array when you add/ remove a member.
The varaible would be cross mission+version persitent, and you don't need another mod.

i think this is what is currently done and when we load fresh campain we loose members

It just has to be stored on a variable that is not wiped on a restart.
Alexis Haumaitre<EMAIL_ADDRESS>schrieb am Di., 17. Juli 2018,
19:42:

i think this is what is currently done and when we load fresh campain we
loose members
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/A3Antistasi/A3-Antistasi/issues/132#issuecomment-405666552,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFl6bYg-dbaw37BzZ2EI2JPOP633Ga_Uks5uHiIEgaJpZM4VOqwk
.

I agree with you on profileNamespace but it's only good for once server.
But the problem is also to propagate new member UIDs to both of our servers. Currently we have two.

What a bout a TXT / CSV or anything else on the servers updated via FTP for example ( loaded with https://community.bistudio.com/wiki/loadFile )
( You would not need to restart the server after an update of the list ! )

We have considered this option as well. This command requires file patching to be enabled. You need to pass an option to the Arma server .exe file which is not allowed at all hosting services (like Nitrado).

how about using something like EXTDB3 and storing more in a mysql/maria database could you not also use this for other storage like anything currently saved in the profile I know its not a great idea due to users that play this in SP

yep same problem this is not always available on basic hosting or SP like you said.

thx @Sparker95 ! membership server mod is now available and already WIP for some improvements !


clusterloader2: more info to TestMetrics action execute error logs

This PR adds action name + measurement name to the TestMetrics action execute log, to make point of failure more obvious to an end user.
Before the fix:
Errors: [measurement call TestMetrics - TestMetrics error: [unexpected error (code: 0) in ssh connection to master: &errors.errorString{s:"error getting signer for provider local: 'error reading SSH key /root/.ssh/id_rsa: 'open /root/.ssh/id_rsa: no such file or directory''"}]
measurement call TestMetrics - TestMetrics error: [unexpected error (code: 0) in ssh connection to master: &errors.errorString{s:"error getting signer for provider local: 'error reading SSH key /root/.ssh/id_rsa: 'open /root/.ssh/id_rsa: no such file or directory''"}
unexpected error (code: 0) in ssh connection to master: &errors.errorString{s:"error getting signer for provider local: 'error reading SSH key /root/.ssh/id_rsa: 'open /root/.ssh/id_rsa: no such file or directory''"}]]

After the fix (line action start failed for SchedulingMetrics measurement is the extra info added by this pr):
E0227 00:51:49.665189 1739924 clusterloader.go:196]   Errors: [measurement call TestMetrics - TestMetrics error: [action start failed for SchedulingMetrics measurement: unexpected error (code: 0) in ssh connection to master: &errors.errorString{s:"error getting signer for provider local: 'error reading SSH key /root/.ssh/id_rsa: 'open /root/.ssh/id_rsa: no such file or directory''"}]
measurement call TestMetrics - TestMetrics error: [action gather failed for EtcdMetrics measurement: unexpected error (code: 0) in ssh connection to master: &errors.errorString{s:"error getting signer for provider local: 'error reading SSH key /root/.ssh/id_rsa: 'open /root/.ssh/id_rsa: no such file or directory''"}
action gather failed for SchedulingMetrics measurement: unexpected error (code: 0) in ssh connection to master: &errors.errorString{s:"error getting signer for provider local: 'error reading SSH key /root/.ssh/id_rsa: 'open /root/.ssh/id_rsa: no such file or directory''"}]]

/ok-to-test

/lgtm
/approve
Thanks!

I met the same problem with you, may I ask you now have you been solved.


Editor keeps invalidly auto-correcting my code or replacing my code with completely irrelevant stuff

VSCode Version: 1.25.1 (1.25.1)
OS Version: OSX 10.13.6 (17G65)

Steps to Reproduce:

Type console.log
Editor decides to kill .log, leaving me with just console.

Does this issue occur when all extensions are disabled?: No

You mention that this issue doesnt occur when all extensions are disabled, which means that one of your installed extensions is causing the issue. Please disable the extensions one by one to see which one is causing the issue and then log an issue in the repo for that extension


WARN[1167] PostgreSQL version is lower on "xxxx" then our lowest supported version! Got 8.3.23 minimum supported is 9.1.0.  source="postgres_exporter.go:1400"

What is the minimum supported version of posgresql? My version is 8.3.23.

When using the package such an error：pg_stat_user_tables pq: column "n_mod_since_analyze" does not exist

The error is as it says - it's too difficult to support very low versions of Postgres (docker containers are also not readily available) so the decision was made to start at 9.1


Handle next redirect support for login/logout

This needs to ensure that we securely handle this, take a look at what Django does to validate a redirect.

I'm looking at this

Being developed here


Change working directory to current directory, Fix images, Add from support

When running in crontab, there is an error about the config.yaml file being not found. This is because crontab runs everything in ~/ unlike running the script from the shell directly.
This PR changes the working directory to current directory automatically: https://stackoverflow.com/a/1432949
#19 works so I created the PR for it
Added from support because the sender can differ from the from (eg for Amazon SES that gives a username that is not an email address)

Looks good, thanks for the contribution!

Thanks for the merge, your software save me some time :)


Add 'group()' built-in function to DaphneDSL.

Add group() Built-in Function to DaphneDSL for Grouping and Aggregation
Description
This pull request introduces a new group() built-in function to DaphneDSL, enabling the creation of a GroupOp in DaphneIR and closes issue #903 .

Changes Implemented

group() Built-in Function in DaphneDSL:

Interface: group(arg:frame, groupCols:str, ..., sumCol:str)
Accepts:

A frame as input.
An arbitrary number of columns to group on.
A single column to compute the sum.

Aggregation Support:

Only supports SUM as the aggregation function.

Kernel Function Updates:

Updated order and extractCol kernel functions to process string values correctly.
Extended group kernel function to handle string values.

Test Cases:

Added script-level tests to validate the functionality of the group() function in DaphneDSL.

I committed the changes not directly related to the topic of this PR in commit a3748141adc98d0544416492b04c48feb3b31c24.


More clear spectrogram vizualization

A simple image smoothing (median-based) has been added in https://github.com/tyiannak/amvoc/commit/efa85fb9dbade78b953a069e4c54eda7a65a3316, which leads to a bit cleaner spectrograms, but this needs further investigation.

Also tried the gammatone filtering (which has also been adopted in MUPET), however from a very quick evaluation this seems very slow (2 - 4 x times slower than realtime).
Tried this implementation git+https://github.com/detly/gammatone.git
and evaluated against time:
import gammatone.gtgram from scipy.io import wavfile import time T1 = time.time(); fs, data = wavfile.read('small_20.wav'); g = gammatone.gtgram.gtgram(data, fs, 0.002, 0.002, 128, 100); T2 = time.time(); print(T2 - T1)

/sum normalization seems to have made things a bit more clear. Closing issue until reconsidering a more in-depth visualization technique


refactor: update lib/reporter/multi.js to ES6

MultiReporter instance is returned from createReporters method:
https://github.com/karma-runner/karma/blob/ac4e1a9f01d671c71ccbf15a34c59e2be19da98a/lib/reporter.js#L155
so MultiReporter seems to be container that group a few reporters.
According to this implementation:
https://github.com/karma-runner/karma/blob/35965d9e996d462e471044b338ac038d2787c26d/lib/reporters/base.js#L48-L59
adapter is function invoked with message inside reporter.write method. I guess adapter may allow to print to stdout, print to file etc.

@lusarz is right. adapters allow to configure where to write reporter's output (one or multiple). It is used in one place - lib/middleware/runner.js. It basically adds response output stream as an adapter to all reporters (to send reporters output to the karma run script) and removes it after test run is complete.

Thanks! The change is simple enough but we don't have any tests and I did not see the code that uses this.


Fix GitHub links

Hi @petermr - the links to your repos were broken, this should fix them all.

ups, didn't see that you already did that :D https://github.com/petermr/petermr/pull/14


Question about out_scale=0.001

Hi @huanglianghua
I have a question about the hyperparameter out_scale in heads.py
Why this parameter is necessary? I can't find this parameter in the official code (Matlab ver) and in the paper.
Hope to find some inspirations.
Anyway, Thank you for your great work.

me too @huanglianghua

The out_scale is used for scaling down the logits to around 0~10, so that the BCEWithLogits loss can be easier to optimize.
The original score maps generated by z * x is way too large (around like 1000), and a sigmoid function will push the values far away from 0.5, where gradients are small. An out_scale avoids this.
As I remember, the official version of SiamFC also uses the out_scale, since this implementation was adapted from the MATLAB version.

@huanglianghua got it. Thanks!


AzureCLI@2 in Azure DevOps overrides python version

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

task: AzureCLI@2 in Azure DevOps pipeline
Describe the bug

In my ADO pipeline yaml, I first have a task to pin down python version to 3.8, and then a AzureCLI@2 task to run some python commands.

However, in the pipeline https://msdata.visualstudio.com/Vienna/_build/results?buildId=76061171&view=logs&j=12f1170f-54f2-53f3-20dd-22fc7dff55f9&t=ed51bc88-ea39-56fb-53bb-66c4adef626f, the python version is 3.10.

This didn't happen before, and if I pin down azure-cli explicitly to 2.41.0, https://msdata.visualstudio.com/Vienna/_build/results?buildId=76058939&view=logs&j=12f1170f-54f2-53f3-20dd-22fc7dff55f9&t=ed51bc88-ea39-56fb-53bb-66c4adef626f shows correct python version.

To Reproduce

Expected behavior

Environment summary

Additional context

@wangzelin007 for awareness

Hi @fuhuifang,
I think you should open this issue in azure-pipelines-tasks.
I don't think the azure-cli team is responsible for the ADO task AzureCLI@2.
@jiasli,
Please correct me if I'm wrong.

Thanks @yonzhan and @wangzelin007. Reposting as https://github.com/microsoft/azure-pipelines-tasks/issues/17133.


Pass children as arguments

Sometimes components (like react-router) will call React.DOM directly with the children props passed down from its parent. Unfortunately, if this is an array (as it is with r-dom), React will log key warnings. This fixes that issue by always passing children in to React.createElement as arguments.
cc @cain-uber @rhobot

Cool. Love the test for this.

Awesome! Looks good to me.


This repo needs a style guide.

We need to add a style guide to this repo that auto applies at the time of a git commit or push. Plus, tabs vs spaces, bring out the pitchforks people.
What are the schemas that are affected by the issue
None
What are examples of products that are impacted by the issue
None

[ ] presence of "meta:license"
[ ] title and description for both schema and all properties
[ ] type = "object"
[ ] $schema = draft6


Offer working projects of common use cases in docs

To grasp the functionalities described in the documentation, one often needs a running application with these functionalities to play with and to refer to as one is reading the docs. However, other than the tutorial, the docs include no links to projects that one can run locally to test things out.
It would be good to offer links to ready-to-run projects with multiple use cases for at least the following functionalities:

[ ] Endpoints
[ ] Reactive endpoints
[ ] Forms
[ ] Client-Side caching
[ ] Security

We should check with the release team to ensure that these example projects are regularly updated (the release team might recommend a monorepo).


Remove "retard" from the dataset

There is only one acceptable usage of the word retard and it is the verb form.
As someone who lives with disabilities and works in NLP it is disgusting and disappointing to have the noun form of this horrible slur presented as a valid pronunciation.
There is only one pronunciation of the word, hence it should not appear in this or any dataset.

@kylebgorman @jseale


Project name changed to Scior

The project's name was changed from OntCatOWL to Scior.
We need to substitute every occurrence of the term OntCatOWL to Scior in code, resources, and documentations.
In this case: Scior-Tester

@mozzherina, please solve this issue only after the re-generation of the dataset.

@pedropaulofb Partially done, waiting for Scior updates.


Get Product Options Rules

Hello team!
I wen't through the code and it doesn't seem to be a way to get Product Options rules.
The ones specified in each product here:

There is a way to get Product Options, which is already working from the playground:

But not the rules values.
Can I get your knowledge on how we could leverage this from any of your APIs.
Thank you in advance.

Hi,
This 'feature' still isn't exposed in the GraphQL endpoint.
I hope it will be in the near future. Now I am forced to use the REST API.
For the people still looking for a solution...you will find a parameter value called 'adjusters' from this endpoint.
https://developer.bigcommerce.com/api-reference/c799ca0742d1b-get-all-product-modifiers


Remove Global Variables

The global variables can be substituted by the Group or Call class.
The class instance can be saved as pickle for the duration of the process (ConversationHandler) - see https://www.journaldev.com/15638/python-pickle-example

The name of the pickle file should be a string formed by the ID of the chat + the ID of the user who launches the command

The updated group instance can be saved to the same pickle file from one step to the other within a Conversation.

Once the conversation is over, you can delete such pickle file

Global variables have been replaced by pickle files in the persistence folder.
Need to figure out how this configuration works on a hosted server


VirtualAlloc() failed: [0x00000008] Not enough memory resources are available to process this command.

Hi.
how are you? I need your help.
I want to use this package in my project.
So I tried to install this package.
composer require farhanwazir/laravelgooglemaps
But I see this error.
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
VirtualAlloc() failed: [0x00000008] Not enough memory resources are available to process this command.
Please help me.

I am using php7.2 and laravel7.4.
I can't install this package. What problem?


dayRender Disable Date

I'm trying to disable the dates before the current date but I can not get it.
I do not understand how I get the days before the current date
I appreciate the help you can give me
this my code
dayRender: function (date, cell) {
          var today = new Date();
         if (date < today.getDate()) {
              cell.css("background-color", "green");
          }
}

Is your question about the specific if statement? Or how you would disable days before today?

I don't think there is an off the shelf solution for this. You could probably build something with a combination of the dayRender and dayClick callbacks. dayRender for the styling of the disabled dates and the dayClick callback to only call an event creation callback if the date is not disabled?

on the web I found this solution, which applies to my situation.
dayClick: function( date, jsEvent, view) {
          if (moment().format('YYYY-MM-DD') === date.format('YYYY-MM-DD') || date.isAfter(moment())){
                 // This allows today and future date
          }else {
              // Else part is for past dates
          }
   }


Update Terraform Install Docs

Harness Developer Pull Request
change misleading terraform install documentation.

we should be recommending customers create a custom delegate image when installing 3d party tools
the current script targets macos on intel which is a rare case when running a delegate

provide tips for changing the script based on the users target architecture

What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

LGTM

Change looks great from an SA perspective.
Though eventually I think it might be worth a more generic page where we can bake in some of the best practices stuff from this change.  Then link back to it from pages like this.  Such as:

Recommending enterprise customers create their own delegate image, rather than using INIT_SCRIPT
Switching to root and then creating a real user for UID 1001, then switching back to 1001 with the code the change adds here:

USER 0
RUN useradd -u 1001 -g 0 harness
...
USER 1001

Switching to root and then creating a real user for UID 1001, then switching back to 1001 with the code the change adds here:

This will be fixed in the next delegate image, then I will remove that part.

Great news!

Preview environment: https://hdh.pr.harness.io/pr-1041

Preview environment: https://hdh.pr.harness.io/pr-1041


Initialize loops using other iterators

This is a common pattern for offset-ted array accesses:
for (int i = 0; i < 8; i++) {
  for (int j = i; j < 8; j++) {
    a[i][j];
  }
}

The type checker will reject this program because the ranges must be static. However, we can rewrite the two loops to:
for (int i = 0; i < 8; i++) {
  for (int j = 0; j < 8; j++) {
    if (j >= i) { a[i][j]; }
  }
}

The benefit of the rewrite is that both the loops can be unrolled. Furthermore, it seems to me that the HLS compiler has to essentially discover this relationship b/w i and j to efficiently compile the hardware.
(1) Should we force programmers to write programs in the second form?
@sampsyo pointed out that the mux in front of the loop implies a logical time gap (@sampsyo please expand).
If we do choose (1), then this easily extends to while loops too (after #63):
  int f = 0;
  while(f > 10) {
    f++;
    for (int i = f; i < 10; i++) {
      a[i] *= f
    }
}

turns into
  int f = 0;
  while(f > 10) {
    f++;
    for (let i = 0..10) {
      if (i >= f) { a[i] *= f }
    }
 }

Concretely, this will allow us to rewrite the loops in fft (@tedbauer #60):
for(span=FFT_SIZE>>1; span; span>>=1, log++){
  for(odd=span; odd<FFT_SIZE; odd++) {
  ...
  }
}

into:
let span = FFT_SIZE>>1;
while(span == 0) {
  for(let odd = 0..FTT_SIZE) {
    if (odd >= span) {
    ...
    }
  }
  span = span >> 1;
  log = log + 1;
}

@sampsyo pointed out that the mux in front of the loop implies a logical time gap (@sampsyo please expand).

The issue I was referring to is that putting an if inside the loop implies that those loop iterations still run, and take time, even though they don’t “do” anything. So requiring the program to condition off some iterations is a bit in conflict with our “informal cost model” we’re presenting to programmers.
Allowing the inner loop to have proper bounds that reflects its number of iterations would be nice! My rough alternative proposal was to use views: the inner loop could iterate over a view whose offset comes from the index of the outer loop.


memory cache always fail after recieving memory warning over 2 times?

Issue Info

Info
Value

Platform Name           ios

Platform Version        9.3 ,8.4,(maybe ocurr in any version)

SDWebImage Version      3.7.5

Integration Method       cocoapods

Xcode Version           Xcode 7.3.1

Repro rate              90%

Repro with our demo prj    it happen with demo project

Issue Description and Steps
in my application，we have feeds with many images. sometimes we find all the imagesviews flicker when we reloadData all just setImage,each time it happen, all imageViews from any page will flicker.then i looked into the SDWebImage code and got the way to reappear it. in the Demo, we can reapear it to,just
change this method to:
'- (void)flushCache
{
[self.tableView reloadData];
//    [SDWebImageManager.sharedManager.imageCache clearMemory];
//    [SDWebImageManager.sharedManager.imageCache clearDisk];
}'
then ,we loaded in the simulator and the images all downloaded and showed, then we choose simulator's hadware to simulate Memory warning.then we reloadData(after change above method ,we can just click clear cache button), at this time the images flicker but it's ok,it's logical because the SDImageCache will clear the memory (by calling [self.memcache removeAllObject]), and must load imageData from disk.then we reloadload data a few times, it won't flicker ,because SD will save it to memCache(by [self.memCache setObject:diskImage forKey:key cost:cost];) after load from disk. It seems all right, no problem.
But if we repeat above Steps (continue simulate Memory Warning more than once),we find it always flicker when we reloadData,and i find the reason is that the image will alway be nil when
UIImage *image = [self imageFromMemoryCacheForKey:key]; which means we can't get cache from memory forever, even if it actually called [self.memCache setObject:diskImage forKey:key cost:cost].
it's confused, when it call setObject ,this delegate called - (void)cache:(NSCache *)cache willEvictObject:(id)obj; then the object will Evict.
is it the NSCahce's  logic or issue?somebody say after called removeAllObject, then NSCache can't setObject , but I didn't find any document suggest it.

by the way , i find SD observe UIApplicationDidReceiveMemoryWarningNotification and removeAllObject two times, one is in AutoPurgeCache init method. another is SDImageCache init method then call clearMemory.they do the same thing ,is it duplicate?(it does't relate my issue)


customizing Select's Paper with a forwardRef looses style on the way

I'm trying to customize the Paper in the Select component, to add "clear" and "select all" buttons.
I need to pass props to my customized paper so I extracted it to a new component using forwardRef.
But when selecting an option, the menu looses its positioning attributes, and it goes on the top-left on my screen.

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

The Paper should not move
Current Behavior 😯

The paper moves.
Steps to Reproduce 🕹

Link: https://codesandbox.io/s/material-ui-responsive-table-butui
Context 🔦

I want to do this

Your Environment 🌎

Tech
Version

Material-UI
v4.1.3

React
16.8.6

Browser
chrome Version 75.0.3770.100 (Official Build) (64-bit)

TypeScript
no

etc.

Thanks for the help if I'm mistaken !

@raphaelbadia You are creating a new component at each render. React will unmount and remount it. We don't handle that well. Using the same component seems to solve the issue: https://codesandbox.io/s/material-ui-responsive-table-butui.

But how can I pass props to my paper then ?
On Thu 4 Jul 2019 at 18:57, Olivier Tassinari<EMAIL_ADDRESS>wrote:

Closed #16484 https://github.com/mui-org/material-ui/issues/16484.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mui-org/material-ui/issues/16484?email_source=notifications&email_token=AAOQIPHUIVIIYRZSFOZLGK3P5YTY3A5CNFSM4H55B2GKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSKYQZXA#event-2461076700,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOQIPBHYK5AICR7VCBDAX3P5YTY3ANCNFSM4H55B2GA
.

Like this?
    <Select
      multiple
      value={personName}
      onChange={handleChange}
      input={<Input id="select-multiple" />}
      MenuProps={{
        PaperProps: {
          Foo: 'Foo',
          component: B
        }
      }}
    >

Oh it works perfectly, thanks a lot !


DEV: Remove ._buf on RandomTextIO

No longer needed now that the callback method for persisting the
underlying stream contents is implemented.
The two test asserts for ._buf have to just be removed, since direct access to
the underlying buffer is no longer available, and thus there is nothing
to compare the detached f to.
Closes #67.

Codecov Report

Merging #72 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #72   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines         101    100    -1
=====================================
- Hits          101    100    -1

Impacted Files
Coverage Δ

src/stdio_mgr/stdio_mgr.py
100% <100%> (ø)
:arrow_up:

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 ec9f50f...e393d66. Read the comment docs.


Next

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/wildfly-camel-pullreq/477/
Test FAILed.


Find most similar

What algoritm should I use to find the closest match from a string to a set of strings.
Example of known inputs:
I would like a cheese pizza
I would like a cheese pizza with onions
I would like a cheese pizza without onions

Input I wanna match up and find most similiar, in case there are any similar (in this example there are just spelling mistakes):
I would like a ceese pizza with out onnions.

There are several similarities implemented in the library. The main idea would be to compute features for the strings and then the similarity should be computed based on the features.
If you want to try some experimental feature in the develop branch there is a KDTree implemented which can return the k-nearest neighbors in a set of documents.


Script file brief tags

I used @file for script/class title and @brief for script/class description. This is inspired by the way doxygen does it: https://www.stack.nl/~dimitri/doxygen/manual/commands.html#cmdbrief

@constrict0r: Great choose of names! Merging. Thanks again.


Add Ulises to allcontributors

Add Ulises to allcontributors

@UlisesGascon already contributed before to bug, code, doc, ideas, maintenance, review, test

@UlisesGascon already contributed before to bug, code, doc, ideas, maintenance, review, test

@allcontributors please add @UlisesGascon for bug, code, doc, ideas, maintenance, review, test.