Fail to install mouseless

Hello,
Thanks for the repo. I was before using xmouseless, but with the upgrade of ubuntu to the 22.04 version, I had to rebuilt xmouseless but it did not worked anymore, so I am trying to make mouseless work.
I am quite a novice, and I am trying to figure out how to make mouseless working. I have found my keyboard in "/dev/input/by-path/platform-i8042-serio-0-event-kbd  so that I replace this on the third line of the config.yaml file given in the configuration (only the third line has changed) :
devices:
# change this to a keyboard device
- "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
# this is executed when mouseless starts
# startCommand: ""
# the default speed for mouse movement
baseMouseSpeed: 750.0
# the default speed for scrolling
baseScrollSpeed: 20.0
layers:
# the first layer is active at start
- name: initial
  bindings:
    # when tab is held and another key pressed, activate mouse layer
    tab: tap-hold-next tab ; toggle-layer mouse ; 500
    # when a is held for 300ms, activate mouse layer
    a: tap-hold a ; toggle-layer mouse ; 300
    # right alt key toggles arrows layer
    rightalt: toggle-layer arrows
    # switch escape with capslock
    esc: capslock
    capslock: esc
# a layer for mouse movement
- name: mouse
  # when true, keys that are not mapped keep their original meaning
  passThrough: true
  bindings:
    # quit mouse layer
    q: layer initial
    # keep the mouse layer active
    space: layer mouse
    r: reload-config
    l: move  1  0
    j: move -1  0
    k: move  0  1
    i: move  0 -1
    p: scroll up
    n: scroll down
    leftalt: speed 4.0
    e: speed 0.3
    capslock: speed 0.1
    f: button left
    d: button middle
    s: button right
    # move to the top left corner
    k0: "exec xdotool mousemove 0 0"
# another layer for arrows and some other keys
- name: arrows
  passThrough: true
  bindings:
    e: up
    s: left
    d: down
    f: right
    q: esc
    w: backspace
    r: delete
    v: enter

It is located in  ~/.config/mouseless.
Since sudo mouseless --config ~/.config/mouseless/config.yaml  is returning mouseless: command not found, I am guessing I have to install mouseless before, so that I ran ./mouseless  when I am on the dist directory downloaded previsouly, but it is giving me the following error:
ERRO[0000] Failed to init the virtual mouse: could not create relative axis input device: could not open device file
Can anyone help me ?
Thanks for your help.

I think it does not find my keyboard since when I am replacing /dev/input/by-path/platform-i8042-serio-0-event-kbd  with nothing, i am getting the same issue.

Hi, the problem is that mouseless cannot create the virtual mouse, probably due to missing permission, have you also run the second command with sudo like this: sudo ./mouseless ... ?
You can install the program by copying it to a location where Linux searches for binaries, e.g. ~/.local/bin or /usr/local/bin, then you can call it directly with sudo mouseless ....

I tried but it gives me a blank line for 5 minutes:
bastien@bastien:~/.local/bin$ ls
mouseless  pkginfo  twine  wheel
bastien@bastien:~/.local/bin$ sudo ./mouseless --config ~/.config/mouseless/config.yaml

and it does not work and j is actually writing when I press it, so that it does not work.
I tried to put it in ~/.local/bin  and then running
mouseless  pkginfo  twine  wheel
bastien@bastien:~/.local/bin$ sudo mouseless --config ~/.config/mouseless/config.yaml
sudo: mouseless: command not found
bastien@bastien:~/.local/bin$

, giving me an error.
I also tried on  /usr/local/bin:
bastien@bastien:/usr/local/bin$ ls
mouseless  nsys  nsys-ui  nvtop  pyright  pyright-langserver  xmouseless
bastien@bastien:/usr/local/bin$ sudo mouseless --config ~/.config/mouseless/config.yaml

giving me a blank line and j is actually writing when I press it.

mouseless works a little different than xmouseless, it keeps running all the time and the mouse bindings are activated only when one switches to the mouse layer. With the default config, this is e.g. achieved by holding down the tab key, then the mouse bindings are activated until tab is released again. Or one can press tab+space to switch to the mouse layer, and go back with q again.
You can also use the --debug flag to see if mouseless is doing something.

OK I see, Thanks for the explanation, it works very fine now.
Thanks )


Code Coverage using xConstrRandFuncCov (OSVVM)

Hi
UVVM has integrated the CoveragePkg and RandomPkg libraries from OSVVM. I have the verification test bench and test harness for test the system using UVVM and now I would like to check and analysis the code coverage in my system, i.e. what percent of the code is unused and untested.
I checked the CoveragePkg user guide but it seems like it is only available for use when you define you own coverage model and you want to reach it, like the ALU shown as a example in the user guide. So, I would like to know if there is the possibility to check the complete code coverage of all the system by using this library?
Thank you

Hi,
There are no libraries available to do code coverage (only functional coverage), as code coverage must be handled by the simulator. The simulator then ticks off for instance every statement that is executed in your code.
Your simulator may have code coverage included, but it could also be that you need an additional license to use code coverage.
Applying code coverage is dead simple and requires no additional coding. You only have to set some switches when compiling/simulating. Check out relevant info on this from for instance Mentor or Aldec.

Espen

Hello Espen,
For code coverage in ModelSim I need a license this is why I was thinking to use this library.
Thanks for the information.


Please document the limitations for Azure DNS zones and Traffic Manager on this page as well

Hi Team!
Azure DNS zones and Traffic Manager have limitations when it comes to tagging.
These limitations are documented here: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-resources?tabs=json#limitations
However, as https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-support is the primary source of information for many customers regarding resource tagging, these limitations should also be documented here. E. g. with a "Yes*" in the tag support columns and then a short annotation below.
Thank you!

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

ID: 66769e1b-720b-f1b1-a5e3-ed5cb24cd233
Version Independent ID: b6272e61-58c1-3e2f-3e36-a9ee920c0915
Content: Tag support for resources - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/tag-support.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@Boostah Thanks for your comment! We will review and provide an update as appropriate.

@Boostah - I like your suggestion. I'll add the limitations to the tag support article.

This update will be published today.
#please-close


Non-BMP unicode characters in source code break VS debugging

A single non-BMP character such as "𨭎" (cjk unified ideographs extension b u+28b4e) in TypeScript code prevents debugging in VS. Hovering over a breakpoint would show no symbols have been loaded for this document. This will also happen if the character appears in a comment block and "keep comments" is set to true.
The following line:
var t = "𨭎";

would compile to:
var t = "ð¨Ž";

Attempting to debug the generated JS file directly would partially work (at least in my basic test) but would break current line highlighting correctness. During debugging the line would show as var t = "������";. An editor exception may also occur.
I found this when trying to investigate a project that at some point mysteriously stopped hitting breakpoints in the debugger (but otherwise compiled and worked correctly). Source-mapped debugging for it did work in Chrome and Firefox, and intermittently on IE11 as well. It turned out it contained a unit test that had strings with inline non-BMP characters. Removing that test fixed the problem.
(The problem happens in both VS 2013 and 2015)

Is this with the latest TypeScript installed?

Currently it's with <IP_ADDRESS>, but it also happened with several (or even all) previous versions, as far as I can remember (It's a large project, and debugging stopped working about a year ago, probably around the time I introduced those characters into the code. For a long time I had no clue why it was happening and I thought it was related to https://github.com/Microsoft/TypeScript/issues/556).

@sheetalkamat can you take a look,

Investigated this and it seems like bug in IE where it doesn't give source file contents to debugger correctly. Have routed this forward.


Inference time?

I was wondering if any of these methods would be able to run  > 10 fps on full 360 point cloud for pedestrian detection only?

By modifying the configuration files, all these methods could  be able to run on full 360 point cloud for pedestrian detection. The speed depends on the running environment, and you could refer to the inference time to approximately figure out the speed order of the inference time for different methods.


Anchore parser, use vuln_id_from_tool instead of unique_id_from_tool

As discussed in https://owasp.slack.com/archives/C014H3ZV9U6/p1619635577100800
No real impact out of the box, unless for people that may have used a different dedupe algo than the default for this parser.

what about existing findings?

what about existing findings?

You just love migrations :trollface:


Update deployment-scenario-internet-access.md

small typo fixed as obviously 2 groups should be created

@Gargi-Sinha
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


delete logs

can auto delete logs by time or other ways

@powerzd Sorry we can't, currently. You need to delete logs by yourself.

@powerzd @jebai0521 The function you want is added and you can use it by newest code (https://github.com/elvishew/xLog/pull/41)


Future of journals

"I could see a world where all articles are put first on prepreint servers and 'journals' act as aggregators for peer review and professional editing/ layout etc of the most interesting in their particular field.  This could work becasue curated sites that help flag outstanding articles save academics time and add prestige. These journal sites would have to be paid for by institutional subscriptions or advertisements." - TR

This rather radical approach would save a lot of money and could be run by a university infrastructure many Open Science advocates have been proposing (e.g. Björn Brembs @brembs: http://bjoern.brembs.net/2015/04/what-should-a-modern-scientific-infrastructure-look-like/). Each publication could be easily tagged by scientific field etc and a rating system could be included as in Science Open.
Putting a very "thin" peer-review level over preprint servers has already been done by Overlay Journals (https://en.wikipedia.org/wiki/Overlay_journal), e.g. in mathematics with arXiv: http://www.nature.com/news/leading-mathematician-launches-arxiv-overlay-journal-1.18351

I kind of touch on this in addressing Issue #24


action-encode fail with 1.15.1 release of nexrender-cli-win64

Describe the bug
With the 1.15.1 release the ffmpeg.exe is not present in the temp file (-- skip-cleanup used in command line), so @nexrender/action-encode fail to produce mp4 file
Information about environment

Which version of nexrender are you using? 1.15.1
What kind of the setup do you have? (server+worker or cli) cli
Are you using pre-built binaries or globally installed npm packages? pre-built
Which kind (and version) of operating system you are running it in? windows 10 pro 1909
Any additional information that might be helpful

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

This issue exists for me on Mac using nexrender-cli version 1.14.3.
[_bXCNLlufAafZmYRS5iR8] rendering took ~569.815 sec.
[_bXCNLlufAafZmYRS5iR8] writing aerender job log to: /var/folders/3_/f_vd74w974v2qyrcdqf3x_d00000gn/T/nexrender/aerender-_bXCNLlufAafZmYRS5iR8.log
[_bXCNLlufAafZmYRS5iR8] applying postrender actions...
[_bXCNLlufAafZmYRS5iR8] starting action-encode action (ffmpeg)
[_bXCNLlufAafZmYRS5iR8] action-encode: input file /var/folders/3_/f_vd74w974v2qyrcdqf3x_d00000gn/T/nexrender/_bXCNLlufAafZmYRS5iR8/result.mov
[_bXCNLlufAafZmYRS5iR8] action-encode: output file /var/folders/3_/f_vd74w974v2qyrcdqf3x_d00000gn/T/nexrender/_bXCNLlufAafZmYRS5iR8/test_Facebook_5ec1895b7d40b00b28a45c72.mp4
> job rendering failed
Error: Error loading postrender module @nexrender/action-encode: Error: Error in action-encode module (ffmpeg) TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
    at<EMAIL_ADDRESS>    at runMicrotasks (<anonymous>)

Please, check if the release v1.16.0 fixes that issue.

@inlife Thank you issue is resolved for me.

the last binary from https://github.com/inlife/nexrender/releases is the 1.15.1 :(

Indeed, there were issues with travis, pushed a new build that hopefully should fix that as well. :)

@inlife  thank you, resolved with 1.16.2 !

I'm seeing this again on version 1.22, ffmpeg is not present in temp folder
I'm starting the worker with -w C:\tmp, if it makes any difference
The precise error is
Error loading postrender module @nexrender/action-encode: TypeError: Cannot use 'in' operator to search for '-i' in undefined
    at<EMAIL_ADDRESS>
Downloaded ffmpeg and placed it manually in the temp folder but it continued throwing
Setting env var with set NEXRENDER_FFMPEG=C:\tmp\ffmpeg.exe then starting worker again did nothing also :(

@inlife i am also having the same issue

Seems like a new bug introduced in one of the https://github.com/inlife/nexrender/pull/513
I'll try to work on a fix ASAP 👍
Thanks for the reports,
Cheers!

Pushed as v1.23.2, please try if that fixes it @Thiago-Dantas @ilhamzacky

Just tested 1.23.2 and worker was able to download ffmpeg


New job for buildx testing on postsubmit

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm


The ingress and egress gateways stuck on pending

Hi @morlay:
First of all, thanks for sharing the ARM Istio Images.
I met a problem after followed the installation guide in README. I'm not sure if my operation is wrong.
Description
I am using an istioctl with version 1.10.2. I initialized the operator by executing the command below:
istioctl operator init --hub=docker.io/querycapistio --tag=1.9.2

The operator is running as expected:
❯ k -n istio-operator get pod
NAME                              READY   STATUS    RESTARTS   AGE
istio-operator-59588b8ff6-95s8m   1/1     Running   0          9m40s

I found the namespace istio-system is created after initialization and I installed istio:
kubectl apply -f - <<EOF
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  namespace: istio-system
  name: example-istiocontrolplane
spec:
  hub: docker.io/querycapistio
  profile: demo
EOF

The operator realized the installation request, and the two pods istio-ingressgateway and istio-ingressgateway were created. However, they were stuck at pending because affinity did not match. I found there is no value arm64 added in spec.affinity.

Other information:

system: macOS
arch: arm64
cluster is built by minikube

Another try
I also tried to set spec.components.*.k8s.affinity and create a new manifest below:
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  namespace: istio-system
  name: example-istiocontrolplane
spec:
  hub: docker.io/querycapistio
  profile: demo
  components:
    pilot:
      k8s: # each components have to set this
        affinity: &affinity
          nodeAffinity:
            requiredDuringSchedulingIgnoredDuringExecution:
              nodeSelectorTerms:
                - matchExpressions:
                    - key: kubernetes.io/arch
                      operator: In
                      values:
                        - arm64
                        - amd64
    egressGateways:
      - k8s:
          affinity: *affinity
    ingressGateways:
      - k8s:
          affinity: *affinity

After applied that, the operator logged an error:
2021-09-17T02:59:08.754190Z	info	installer	Reconciling IstioOperator
2021-09-17T02:59:08.755945Z	info	installer	Updating IstioOperator
2021-09-17T02:59:08.756054Z	info	installer	Loading values from compiled in VFS at path profiles/demo.yaml
2021-09-17T02:59:08.756076Z	info	installer	Loading values from compiled in VFS at path profiles/default.yaml
2021-09-17T02:59:08.879809Z	error	installer	failed to merge base profile with user IstioOperator CR example-istiocontrolplane, json merge error (map: map[k8s:map[affinity:map[nodeAffinity:map[requiredDuringSchedulingIgnoredDuringExecution:map[nodeSelectorTerms:[map[matchExpressions:[map[key:kubernetes.io/arch operator:In values:[arm64 amd64]]]]]]]]]] does not contain declared merge key: name) for base object:
{"apiVersion":"install.istio.io/v1alpha1","kind":"IstioOperator","metadata":{"namespace":"istio-system"},"spec":{"components":{"base":{"enabled":true},"cni":{"enabled":false},"egressGateways":[{"enabled":true,"k8s":{"resources":{"requests":{"cpu":"10m","memory":"40Mi"}}},"name":"istio-egressgateway"}],"ingressGateways":[{"enabled":true,"k8s":{"resources":{"requests":{"cpu":"10m","memory":"40Mi"}},"service":{"ports":[{"name":"status-port","port":15021,"targetPort":15021},{"name":"http2","port":80,"targetPort":8080},{"name":"https","port":443,"targetPort":8443},{"name":"tcp","port":31400,"targetPort":31400},{"name":"tls","port":15443,"targetPort":15443}]}},"name":"istio-ingressgateway"}],"istiodRemote":{"enabled":false},"pilot":{"enabled":true,"k8s":{"env":[{"name":"PILOT_TRACE_SAMPLING","value":"100"}],"resources":{"requests":{"cpu":"10m","memory":"100Mi"}}}}},"hub":"docker.io/istio","meshConfig":{"accessLogFile":"/dev/stdout","defaultConfig":{"proxyMetadata":{}},"enablePrometheusMerge":true},"tag":"1.9.2","values":{"base":{"enableCRDTemplates":false,"validationURL":""},"gateways":{"istio-egressgateway":{"autoscaleEnabled":false,"env":{},"name":"istio-egressgateway","secretVolumes":[{"mountPath":"/etc/istio/egressgateway-certs","name":"egressgateway-certs","secretName":"istio-egressgateway-certs"},{"mountPath":"/etc/istio/egressgateway-ca-certs","name":"egressgateway-ca-certs","secretName":"istio-egressgateway-ca-certs"}],"type":"ClusterIP","zvpn":{}},"istio-ingressgateway":{"autoscaleEnabled":false,"env":{},"name":"istio-ingressgateway","secretVolumes":[{"mountPath":"/etc/istio/ingressgateway-certs","name":"ingressgateway-certs","secretName":"istio-ingressgateway-certs"},{"mountPath":"/etc/istio/ingressgateway-ca-certs","name":"ingressgateway-ca-certs","secretName":"istio-ingressgateway-ca-certs"}],"type":"LoadBalancer","zvpn":{}}},"global":{"arch":{"amd64":2,"ppc64le":2,"s390x":2},"configValidation":true,"defaultNodeSelector":{},"defaultPodDisruptionBudget":{"enabled":true},"defaultResources":{"requests":{"cpu":"10m"}},"imagePullPolicy":"","imagePullSecrets":[],"istioNamespace":"istio-system","istiod":{"enableAnalysis":false},"jwtPolicy":"third-party-jwt","logAsJson":false,"logging":{"level":"default:info"},"meshNetworks":{},"mountMtlsCerts":false,"multiCluster":{"clusterName":"","enabled":false},"network":"","omitSidecarInjectorConfigMap":false,"oneNamespace":false,"operatorManageWebhooks":false,"pilotCertProvider":"istiod","priorityClassName":"","proxy":{"autoInject":"enabled","clusterDomain":"cluster.local","componentLogLevel":"misc:error","enableCoreDump":false,"excludeIPRanges":"","excludeInboundPorts":"","excludeOutboundPorts":"","image":"proxyv2","includeIPRanges":"*","logLevel":"warning","privileged":false,"readinessFailureThreshold":30,"readinessInitialDelaySeconds":1,"readinessPeriodSeconds":2,"resources":{"limits":{"cpu":"2000m","memory":"1024Mi"},"requests":{"cpu":"10m","memory":"40Mi"}},"statusPort":15020,"tracer":"zipkin"},"proxy_init":{"image":"proxyv2","resources":{"limits":{"cpu":"2000m","memory":"1024Mi"},"requests":{"cpu":"10m","memory":"10Mi"}}},"sds":{"token":{"aud":"istio-ca"}},"sts":{"servicePort":0},"tracer":{"datadog":{},"lightstep":{},"stackdriver":{},"zipkin":{}},"useMCP":false},"istiodRemote":{"injectionURL":""},"pilot":{"autoscaleEnabled":false,"autoscaleMax":5,"autoscaleMin":1,"configMap":true,"cpu":{"targetAverageUtilization":80},"deploymentLabels":null,"enableProtocolSniffingForInbound":true,"enableProtocolSniffingForOutbound":true,"env":{},"image":"pilot","keepaliveMaxServerConnectionAge":"30m","nodeSelector":{},"replicaCount":1,"traceSampling":1},"telemetry":{"enabled":true,"v2":{"enabled":true,"metadataExchange":{"wasmEnabled":false},"prometheus":{"enabled":true,"wasmEnabled":false},"stackdriver":{"configOverride":{},"enabled":false,"logging":false,"monitoring":false,"topology":false}}}}}}
 override object:
{"apiVersion":"install.istio.io/v1alpha1","kind":"IstioOperator","metadata":{"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"install.istio.io/v1alpha1\",\"kind\":\"IstioOperator\",\"metadata\":{\"annotations\":{},\"name\":\"example-istiocontrolplane\",\"namespace\":\"istio-system\"},\"spec\":{\"components\":{\"egressGateways\":[{\"k8s\":{\"affinity\":{\"nodeAffinity\":{\"requiredDuringSchedulingIgnoredDuringExecution\":{\"nodeSelectorTerms\":[{\"matchExpressions\":[{\"key\":\"kubernetes.io/arch\",\"operator\":\"In\",\"values\":[\"arm64\",\"amd64\"]}]}]}}}}}],\"ingressGateways\":[{\"k8s\":{\"affinity\":{\"nodeAffinity\":{\"requiredDuringSchedulingIgnoredDuringExecution\":{\"nodeSelectorTerms\":[{\"matchExpressions\":[{\"key\":\"kubernetes.io/arch\",\"operator\":\"In\",\"values\":[\"arm64\",\"amd64\"]}]}]}}}}}],\"pilot\":{\"k8s\":{\"affinity\":{\"nodeAffinity\":{\"requiredDuringSchedulingIgnoredDuringExecution\":{\"nodeSelectorTerms\":[{\"matchExpressions\":[{\"key\":\"kubernetes.io/arch\",\"operator\":\"In\",\"values\":[\"arm64\",\"amd64\"]}]}]}}}}}},\"hub\":\"docker.io/querycapistio\",\"profile\":\"demo\"}}\n"},"creationTimestamp":"2021-09-17T02:58:47Z","finalizers":["istio-finalizer.install.istio.io"],"generation":"1","managedFields":[{"apiVersion":"install.istio.io/v1alpha1","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:spec":{".":{},"f:components":{".":{},"f:egressGateways":{},"f:ingressGateways":{},"f:pilot":{".":{},"f:k8s":{".":{},"f:affinity":{".":{},"f:nodeAffinity":{".":{},"f:requiredDuringSchedulingIgnoredDuringExecution":{".":{},"f:nodeSelectorTerms":{}}}}}}},"f:hub":{},"f:profile":{}}},"manager":"kubectl-client-side-apply","operation":"Update","time":"2021-09-17T02:58:47Z"},{"apiVersion":"install.istio.io/v1alpha1","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:finalizers":{".":{},"v:\"istio-finalizer.install.istio.io\"":{}}}},"manager":"operator","operation":"Update","time":"2021-09-17T02:58:47Z"}],"name":"example-istiocontrolplane","namespace":"istio-system","resourceVersion":"572","uid":"46203465-810c-46fe-bcc8-81cdcb6e6dda"},"spec":{"components":{"egressGateways":[{"k8s":{"affinity":{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"kubernetes.io/arch","operator":"In","values":["arm64","amd64"]}]}]}}}}}],"ingressGateways":[{"k8s":{"affinity":{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"kubernetes.io/arch","operator":"In","values":["arm64","amd64"]}]}]}}}}}],"pilot":{"k8s":{"affinity":{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"kubernetes.io/arch","operator":"In","values":["arm64","amd64"]}]}]}}}}}},"hub":"docker.io/querycapistio","profile":"demo"}}	moreInfo=The values in the selected spec.profile could not be merged with the user IstioOperator resource. impact=The operator controller cannot create and act upon the user defined IstioOperator resource. The Istio control plane will not be installed or updated. action=Check that the IstioOperator resource has the correct syntax. If you are sure your configuration is correct, see https://istio.io/latest/about/bugs for possible solutions. likelyCause=The likely cause is an incorrect or badly formatted configuration.Another possible cause could be an issue with the Istio code.

This error in log is clear
does not contain declared merge key: name

You should declare name in each component, follow the demo profile
https://github.com/istio/istio/blob/master/manifests/profiles/demo.yaml#L8
https://github.com/istio/istio/blob/master/manifests/profiles/demo.yaml#L17
Consider use 1.10+, the spec.components.*.k8s.affinity is not need any more.


[test] testLineInteraction fails on windows

Windows 10, python 3.8.3, pyqt5.15 (over remote desktop)
FAIL: testLineInteraction (silx.gui.plot.tools.test.testROI.TestRegionOfInterestManager)
This test make sure that a ROI based on handles can be edited with
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\projects\silx\build\lib.win-amd64-3.8\silx\gui\plot\tools\test\testROI.py", line 570, in testLineInteraction
    self.assertNotEqual(points[0, 1], result[0, 1])
AssertionError: 0.0 == 0.0

Points and result are the same:
points: [[  0.   0.]
        [100. 100.]]
result: [[  0.   0.]
        [100. 100.]]

It could be because of a small screen. As result there is no space to click on the plot and display the profile.

It also fails on a Debian10 machine. I'm doing these tests remotely. The widget takes approx 1/3th of the screen size.

Sounds weird, the screen and widget size looks to match.

Debian10, you mean no uptodate PyQt5?

I can provide a patch to hide the profile window before when a mouse interaction is needed. This way we could see if it's the problem.

Debian10, you mean no uptodate PyQt5? What is the version you have?

pyqt 5.15

I tried to reproduce under similar conditions.
I get many errors during the tests through remote desktop on Windows... but running this test passes.
Since all tests are fine when run through CI, I would be in favor of dropping this from 0.13 milestone.
Anyone with a different opinion?

I've removed the 0.13 milestone, please add it back quickly if you disagree.


First tests

Coverage increased (+10.3%) to 47.126% when pulling 5961a4d5d00c2f3a14066a8bd745eab82b6d0178 on martazaryn:tutorial_wip into d5fd52c818b07dcac4abe7eb852a216c80b6fde2 on keeppythonweird:master.

Coverage increased (+10.3%) to 47.126% when pulling 5961a4d5d00c2f3a14066a8bd745eab82b6d0178 on martazaryn:tutorial_wip into d5fd52c818b07dcac4abe7eb852a216c80b6fde2 on keeppythonweird:master.


Remote Update (v9-interactions): catboi8/interactions

This pull request has been superseded by #129


Write a Java program to convert kilometers to miles

Description
Write a Java program to convert kilometers to miles
1 mile = 1.609 kilometers
Input  : 8.04672
Output : 5

How to contribute

Save the solution in program/ConvertKilometersToMiles.java file
Add ConvertKilometersToMiles.java file in convert-kilometers-to-miles folder

Greetings from France ! Can you assign me this issue ?

Hi, I am looking for my first contribution, can I take this issue?

!assign

Hey @Avicenne-b @aghiles-medane
You can comment !assign on any good first issue you want to contribute to, to be auto-assigned
!assign


Update package name in docs

Would you please also change the one in docs/advanced/ExampleRedditAPI.md?

Thanks.


trailingSlash:true corrupts payloads

Versions

nuxt: 2.14.11
node: 12.18.2

Steps to reproduce
I'm using generate with { target: 'static' } in my config to get a fully-static website.
I'm using asyncData to retrieve content from Prismic API.
And I'm using { router: { trailingSlash: true } } in Nuxt config to add trailing slash all URLs.
What is actually happening?
Problem is, the generated payload files don't have a trailing slash in their keys, so pages's data remains blank, and new calls to API are made on each route change.

Thank you for your insight, I faced the same issue without realizing that it's related to the trailing slash this whole afternoon... However, I can confirm that when setting trailingSlash: false, the issue now no longer seems to appear. Good job tracking down this issue, and looking forward to a fix.

Any update on this one?

We ran into the same problem. But we have the default setting of trailingSlash, which is undefined. How is this valid case handled? Wouldn't it be possible to change the loader to ask for a chunkId with a trailing slash in this "mixed" mode as fallback?

@realityfilter In #8489, we remove trailing slashes if trailingSlash: false but otherwise leave them as the route is rendered because there are some scenarios where trailingSlash should make a difference. For example, see the docs though note that behaviour won't match docs fully until https://github.com/nuxt/nuxt.js/pull/8423 is merged.

What a great improvement, thank you!


Add Flysystem pre-signed links

Add patch to enable pre-signed links in Flysystem
Update Composer JSON to apply patches
Update Compose lock file
Update Drupal to 8.9.2
Update gitignore

WIP - Presumably will also require additional configuration in Helm


fix typo in package name in readme.md

Fixed a typo in the required package name.

Yes it is libappindicator1 but in the readme you've got:
sudo apt-get install libappindicator-1 libnotify4
There should be no hyphen in the package name.

Hey sorry, I was extremely tired last night o.0


Subjects retiring with too few classifications!

@camallen @edpaget I have a bunch of subjects in Season Spotter Questions that are all marked "retired", but have fewer than 5 classifications. (5 is the set retirement limit.)
For example, check out subject 595581, which has 10 classifications according to the subject export, but only 2 classifications show up in the classifications export.

duplicate of #1363 (really not sure what's going on)

@mkosmala We'll make sure to unretire any falsely retired subjects when we fix this.

@mkosmala the solution we ended up with calculates by counting classifications made since a given date. I have Season Spotter Questions down as 2015-07-21, is that the date you'd want to start the counters (essentially that's then the date they would have all been zero). If so, I'll trigger a recount.

@marten Yep, 2015-07-21 is perfect. For both Season Spotter Questions (project id 347) and Season Spotter Image Marking (id 348).

@mkosmala In that case, everything should be fixed up now. Here's the number of subjects that were dragged out of retirement as a result:
Questions:

"1-4_SimpleSingleCrops" => 200
"1-3_SimpleSingleGrass" => 163
"1-1-5_SimpleSingleShrubs" => 211
"1-2_SimpleSingleNeedleleafTrees" => 167
"1-1_SimpleSingleBroadleafTrees" => 179
"2-2_SimpleDoubleDeciduousFall" => 152
"2-1_SimpleDoubleDeciduousSpring" =>156

Image Marking:

"3-2_ComplexTrees" => 0
"5_ComplexShifts" => 3
"4_ComplexAMOS" => 2


KFLUXINFRA-570: Config Change for Multi-Arch Builds Public Staging

This PR will make the following changes --

Replace RHEL Base images with Blessed Images
Make use of spot instances
New AWS Account for provisioning multi-arch VM(s)

/lgtm

/lgtm


added check for running Steam

a small addition for the Project, i have added a function of mine that checks for a running steam client in the background and launches it if not. Feel free to use any or nothing of it.
Best Regards,
J

I think this could be an interesting feature but I would like to make this configurable since I feel like in most cases we will not want to launch steam if it is not already started. Since in most cases the user would start the game through Steam.
I would also like to verify this works on every OS before merging.


Submit queue: show the additions/deletions of PRs.

ref #727
cc @goltermann

LGTM

will merge on green.


Cannot deserialize..

Hi, i am getting this error, i tried using different .sav files but it's the same, though offsets do change from each file, the offset numbers are still strange and i have no clue why they are. If you could help I would be the happiest!
throw new ERR_OUT_OF_RANGE(type || 'offset',
RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 2463. Received -947025976

Would you be able to provide me the specific .sav you are trying to deserialize?

Thank's for the reply <3 Here's the .sav files I am using from the game.
savfiles.zip

So I know, at least the first problem. The property LastPlayerLocation is a StructProperty that contains a single Vector, which is not implemented because I did not encounter Vector with BPM. Looking at the binary data in HxD, it looks like Vector is a data structure that contains 3 values that are 4 bytes each(I'm assuming these are floats).

Also, this StructProperty and the next one(LastPlayerRotation) don't seem to conform to the StructProperty structure I've implemented. I THINK it's because they only contain a single property, there isn't a list that terminates with None in these 2 structs in the save file.
This should be a fairly easy fix, just gotta implement Vector and Rotator, and find a way to not have the Tuple in the StructProperty if it only contains 1 property.

Thank you. We have lots of experience on Javascript and Node, but we are very fresh on binary stuff, could you maybe say what we have to do to fix? We then would try to follow your instructions, if we succeed fixing this we will of course give the source code. Also not sure whats vector and rotator in binary world.

So the structure of the LastPlayerRotation is as follows(NOTE: LastPlayerLocation structure is identical):

Bytes
Description
Value

13 00 00 00
Size of Name string
19 bytes

4C 61 73 74 50 6C 61 79 65 72 52 6F 74 61 74 69 6F 6E 00
Name string
"LastPlayerRotation\0"

0F 00 00 00
Size of Type string
15 bytes

53 74 72 75 63 74 50 72 6F 70 65 72 74 79 00
Type string
"StructProperty\0"

0C 00 00 00
Size of Stored data
12 bytes

00 00 00 00
Padding
4 null characters

08 00 00 00
Size of StoredType string
8 bytes

52 6F 74 61 74 6F 72 00
StoredType string
"Rotator\0"

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Padding
17 null characters

00 00 00 00 B0 5D 32 C3 00 00 00 00
Stored Data
[ 0, -178.36..., 0 ]

You can see, the data highlighted in this image:

The 17 bytes of padding is standard in all StructProperty structures, and the stored data always begins after this padding. So you can just count the bytes read from that point until the end of the 12 bytes. The problem is, the way I've implemented StructProperty involves a class called Tuple that I created to handle lists(which end with None in the save file). The reason I did this, was that BPM only had StructProperty that were structured that way. So a solution to that might involve rewriting either the StructProperty class or the Tuple class, but preferably, just adding some conditional statement somewhere to handle this particular case.
Aside from that, Vector and Rotator need to be added as classes that extend from Property, and implement the inherited functions. I'm not entirely familiar with Vector or Rotator but I'm making the assumption that they are just arrays with 3 floats, since the numbers look reasonable in HxD editor as floats. Also, we can see that the size of the stored data is 12 bytes, and it's reasonable to assume it's divided into 4 bytes either as int32 or float. For Rotator, it might also be the case that 4 bytes out of those 12 are actually just padding, and there are only 2 4byte values, or 8 bytes of padding and a single 4 byte value. I'm not entirely sure, but it wouldn't hurt to interpret that as 3 values in an array.
Here, you can analyze a BPM save using the tool if it would help you understand how the binary data is formatted
ContinueStateV2.zip
Also, every new Property must implement serialize() and deserialize(), you can use a Buffer for serialize() but deserialize() receives a Serializer object. I created the Serializer class to handle keeping track of the current offset automatically, and it just makes reading/writing values easier. I kind of wish I exclusively used Buffer, but it would have resulted in a lot of additional boilerplate.

It is a lot of information and new terms to process, I will learn some stuff. If i am lost i will get back to you!
Thank you very much again

So I'm still looking into a good solution for deserializing your .sav files. I was able to produce an output by pretty much ignoring the StructProperty data. I think I might have some ideas on how to make this work:

The Tuple class should be modified so that if only 1 property is added, the "None" string is not expected in the save file
The Vector and Rotator classes should have a normal Property structure, but in these particular cases be compressed to just the 12 bytes of data within the Tuple of the StructProperty called LastPlayerLocation and LastPlayerRotation

Here is the output file I was able to produce:
output1.zip
And the changes to StructProperty.deserialize() I made to produce it:
    deserialize(serial, size) {
        console.log(`Deserializing ${this.Name} Size: ${size}`)
        serial.seek(4);
        this.StoredPropertyType = serial.readString();
        serial.seek(17);
        // let end = serial.tell + size;
        // let i = 0;
        let data_buf = serial.read(size);
        console.log(data_buf);
        // while (serial.tell < end) {
        //     let Name = this.StoredPropertyType;
        //     let Type = 'Tuple';
        //     let prop = PropertyFactory.create({ Name, Type })
        //     prop.deserialize(serial)
        //     this.Properties.push(prop);
        //     i++;
        // }
        console.log(`Done Deserializing ${this.Name} Offset: ${serial.tell}`)
        return this;
    }

Hi it seems like im getting some progress. But not sure how to use seek(), and how to get the Stored Data from the serial

Serializer.seek(bytes) adds the given number of bytes to the current offset in the data buffer and sets the offset to the resulting value:
seek(bytes) {
    this._offset += bytes // bytes is a Number
}

To return the data buffer itself from the Serializer object, you can use the Data attribute:
let data_buf = serial.Data // returns a nodejs Buffer

OR, if the data is a sub-part of the data buffer being deserialized, you should use Serializer.read(bytes):
let data_buf = serial.read(bytes_to_read) // returns a Buffer

Also why AnimalSkin doesnt have any properties?

This section of the code I commented out in StructProperty.deserialize() would handle that for AnimalSkin, but it doesn't work on LastPlayerLocation and LastPlayerRotation:
        // let end = serial.tell + size;
        // while (serial.tell < end) {
        //     let Name = this.StoredPropertyType;
        //     let Type = 'Tuple';
        //     let prop = PropertyFactory.create({ Name, Type })
        //     prop.deserialize(serial)
        //     this.Properties.push(prop);
        // }

Once we can store Vector and Rotator data into an object, we can think about bringing back this functionality, but in a way that doesn't break anything. I'm just trying to focus on one thing at a time.

I've made that Vector and Rotator would work in StructProperty.
Now i need to find a way to get the commented code back

i have uncommented code back. It works good, but doesnt store AnimalSkin properties

I see, I wrote a semi-generic VectorProperty class for both Vector and Rotator and can see AnimalSkin is a NameProperty, which might be similar to StrProperty. Let me look a bit closer at the binary.

Okay, so here is the structure of SkinName:

Bytes
Description
Value

09 00 00 00
Property Name Size
9 bytes

53 6B 69 6E 4E 61 6D 65 00
Property Name
"SkinName\0"

0D 00 00 00
Type String Size
13 bytes

4E 61 6D 65 50 72 6F 70 65 72 74 79 00
"NameProperty\0"

0D 00 00 00
Property Data Size
13 bytes

00 00 00 00 00
Padding
5 null characters

09 00 00 00
Data string size
9 bytes

45 6C 65 70 68 61 6E 74 00
Data string
"Elephant\0"

The Property Data Size is the total size of the Data string + Data string size in bytes, so 4 + 9 = 13 bytes;

Yeah, so this is the same structure as StrProperty, you can just add NameProperty as an alias to PropertyFactory, let me see if I can get that working.

I was able to get it working with 1 new line in the index.js that contains the aliases for properites for PropertyFactory
output1.zip

The 1 line I added was:
PropertyFactory.Properties['NameProperty'] = StrProperty;

I've pushed a commit to the issue-7-fix branch. You can test it out.

How about serializing all this?

In propertyfactory.js i added console.log(obj) before everything. And here it shows that it fails

for some reason it wants to grab the first property

heres the whole log `{
Name: '',
Type: 'Guid',
Id: '11310aed-4d61-2e55-a39a-67af2c08a1c5',
Value: 17
}
{
Name: '',
Type: 'Guid',
Id: '24bb7af3-4f83-5646-c22d-2f1fff96ad49',
Value: 5
}
{
Name: '',
Type: 'Guid',
Id: '76a52329-45b5-0923-41d8-ae98d86a2fcf',
Value: 5
}
{
Name: '',
Type: 'Guid',
Id: '5fbc6907-40ae-55c8-84f1-678e3ff1ff5e',
Value: 1
}
{
Name: '',
Type: 'Guid',
Id: 'fb26e412-4b4d-1f15-0a55-7293702f1d96',
Value: 3
}
{
Name: '',
Type: 'Guid',
Id: 'fcf57afa-4283-5076-58e6-a9b9322da0ff',
Value: 66
}
{
Name: '',
Type: 'Guid',
Id: '82e77c4e-43a5-3323-c513-6bb4f30d3197',
Value: 0
}
{
Name: '',
Type: 'Guid',
Id: '9c54d522-4fbe-a826-4607-2194d082b461',
Value: 38
}
{
Name: '',
Type: 'Guid',
Id: 'b0d832e4-4f0d-1f89-b77e-cfaca24afd36',
Value: 10
}
{
Name: '',
Type: 'Guid',
Id: 'e1c64328-4d53-a22c-868e-6ca38cbd1764',
Value: 0
}
{
Name: '',
Type: 'Guid',
Id: '375ec13c-48fb-06e4-f084-00b57e712a26',
Value: 4
}
{
Name: '',
Type: 'Guid',
Id: 'e4b068ed-42e9-f494-0bda-31a241bb462e',
Value: 40
}
{
Name: '',
Type: 'Guid',
Id: 'cffc743f-4480-43b0-df14-919373201d17',
Value: 37
}
{
Name: '',
Type: 'Guid',
Id: 'b02b49b5-44e9-bb20-b732-04a36003e452',
Value: 3
}
{
Name: '',
Type: 'Guid',
Id: 'a4e4105c-49b5-59a1-c440-c5a7eedf7e54',
Value: 0
}
{
Name: '',
Type: 'Guid',
Id: '39c831c9-47dc-5ae6-179c-449a7c8e1c3e',
Value: 0
}
{
Name: '',
Type: 'Guid',
Id: '78f01b33-4f98-ebea-ea84-b4b9a25ab9cc',
Value: 4
}
{
Name: '',
Type: 'Guid',
Id: '6631380f-43e0-2d4d-27cf-09805aa95669',
Value: 0
}
{
Name: '',
Type: 'Guid',
Id: '12f88b9f-4afc-8875-0cd9-7ca629bd3a38',
Value: 44
}
{
Name: '',
Type: 'Guid',
Id: '7b5ae74c-4c10-d270-9857-58a95a2a210b',
Value: 12
}
{
Name: '',
Type: 'Guid',
Id: 'd7296918-4bdd-1dd6-a864-e29d8438c13c',
Value: 3
}
{
Name: '',
Type: 'Guid',
Id: 'c2a15278-4afe-bfe7-ff90-176c55f71d53',
Value: 1
}
{
Name: '',
Type: 'Guid',
Id: '6eaca3d4-4cc1-40ec-ed8b-86b7c58f4209',
Value: 3
}
{
Name: '',
Type: 'Guid',
Id: '29e575dd-4627-e0a3-76d2-109deadc2c23',
Value: 17
}
{
Name: '',
Type: 'Guid',
Id: 'af43a65d-4947-7fd3-8e3e-739805bbc1d9',
Value: 15
}
{
Name: '',
Type: 'Guid',
Id: '6b266cec-4b8f-1ec7-d9e4-0ba307fc4209',
Value: 1
}
{
Name: '',
Type: 'Guid',
Id: '0df73d61-47ea-a23f-e989-27b79a49410c',
Value: 1
}
{
Name: '',
Type: 'Guid',
Id: '601d1886-4f84-ac64-ded3-16aad6c7ea0d',
Value: 43
}
{
Name: '',
Type: 'Guid',
Id: 'e7086368-4c58-6b23-701b-3984915e2616',
Value: 1
}
{
Name: '',
Type: 'Guid',
Id: '9dffbcd6-0158-494f-8212-21e288a8923c',
Value: 10
}
{
Name: '',
Type: 'Guid',
Id: 'f2aed0ac-416f-9afe-7faa-6486fcd626fa',
Value: 1
}
{
Name: '',
Type: 'Guid',
Id: '174f1f0b-45a5-b4c6-e82e-3fb17d91fbd0',
Value: 10
}
{
Name: '',
Type: 'Guid',
Id: '35f94a83-406c-e258-f509-18a37c241096',
Value: 40
}
{
Name: '',
Type: 'Guid',
Id: 'b68fc16e-42e2-8b1b-5c21-53b4fe448805',
Value: 1
}
{
Name: '',
Type: 'Guid',
Id: 'b2e18506-cfc2-4273-bbf4-4ea507ba8b75',
Value: 1
}
{
Name: '',
Type: 'Guid',
Id: '64f58936-42ba-fd1b-8972-96ba4efad0d5',
Value: 1
}
{
Name: '',
Type: 'Guid',
Id: '6f0ed827-4895-a609-8d99-919ca40e1890',
Value: 2
}
{
Name: '',
Type: 'Guid',
Id: '717f9ee7-493a-e9b0-3291-b3880781381b',
Value: 7
}
{
Name: '',
Type: 'Guid',
Id: '54683250-48af-8099-9698-c88bb7f9adfb',
Value: 0
}
{
Name: '',
Type: 'Guid',
Id: '430c4d19-4970-7154-699b-6987e5b090df',
Value: 15
}
{
Name: '',
Type: 'Guid',
Id: 'aafe32bd-4c14-5395-255e-6ab6ddd13210',
Value: 1
}
{
Name: '',
Type: 'Guid',
Id: '23afe18e-4e58-4ce1-52c2-618db7be53b9',
Value: 11
}
{
Name: '',
Type: 'Guid',
Id: 'a462b7ea-4e3a-f499-1fec-c199b2e12482',
Value: 4
}
{
Name: '',
Type: 'Guid',
Id: '2eb5fdbd-4d10-01ac-8ff3-3681daa59333',
Value: 5
}
{
Name: '',
Type: 'Guid',
Id: '509d354f-492f-f6e6-b285-49a71c633c07',
Value: 0
}
{
Name: '',
Type: 'Guid',
Id: '4a56eb40-11dc-10f5-7e34-d392e76ac9b2',
Value: 2
}
{
Name: '',
Type: 'Guid',
Id: 'd78a4a00-4697-e858-b519-a8bab4467d48',
Value: 18
}
{
Name: '',
Type: 'Guid',
Id: '5579f886-4c1f-933a-7b08-ba832fb96163',
Value: 2
}
{
Name: '',
Type: 'Guid',
Id: '612fbe52-400b-da53-914f-0d917c85b19f',
Value: 1
}
{
Name: '',
Type: 'Guid',
Id: 'a4237a36-41c9-caea-f818-a28ff31b6858',
Value: 4
}
{
Name: '',
Type: 'Guid',
Id: '804e3f75-4b49-7088-068c-d6a4dcb67e3c',
Value: 5
}
{
Name: '',
Type: 'Guid',
Id: 'fb680af2-4ba3-59ef-b519-a8ba3d44c873',
Value: 2
}
{
Name: '',
Type: 'Guid',
Id: '9950b70e-4e17-b41a-0dfa-ccbbd67f8157',
Value: 1
}
{
Name: '',
Type: 'Guid',
Id: 'ab965196-08fc-45d8-8d22-d7b79e56ad78',
Value: 1
}
{
Name: '/Script/AnimaliaSurvival.PlayerSaveGame\x00',
Type: 'Tuple',
Properties: [
{
Name: 'LastPlayerLocation\x00',
Type: 'StructProperty\x00',
StoredPropertyType: 'Vector\x00',
Properties: [Array]
},
{
Name: 'LastPlayerRotation\x00',
Type: 'StructProperty\x00',
StoredPropertyType: 'Rotator\x00',
Properties: [Array]
},
{
Name: 'Growth\x00',
Type: 'FloatProperty\x00',
Property: [Array]
},
{
Name: 'AnimalClass\x00',
Type: 'ObjectProperty\x00',
Property: '/Game/AnimaliaSurvival/Blueprints/Animals/Harpy/Harpy_M/BP_M_Elder_MartialEagle.BP_M_Elder_MartialEagle_C\x00'
},
{
Name: 'Health\x00',
Type: 'FloatProperty\x00',
Property: [Array]
},
{
Name: 'stamina\x00',
Type: 'FloatProperty\x00',
Property: [Array]
},
{
Name: 'Sprint\x00',
Type: 'FloatProperty\x00',
Property: [Array]
},
{
Name: 'Oxygen\x00',
Type: 'FloatProperty\x00',
Property: [Array]
},
{ Name: 'Food\x00', Type: 'FloatProperty\x00', Property: [Array] },
{ Name: 'Water\x00', Type: 'FloatProperty\x00', Property: [Array] },
{
Name: 'AnimalSkin\x00',
Type: 'StructProperty\x00',
StoredPropertyType: 'StructSaveAnimalSkin\x00',
Properties: []
},
{
Name: 'MorphTargets\x00',
Type: 'StructProperty\x00',
StoredPropertyType: 'StructSaveMorphTargets\x00',
Properties: []
}
]
}
{
Name: 'LastPlayerLocation\x00',
Type: 'StructProperty\x00',
StoredPropertyType: 'Vector\x00',
Properties: [ -72453.7265625,<PHONE_NUMBER>25, 4100.37841796875 ]
}
-72453.7265625
file:///C:/Users/Elvinas/Desktop/bot/node_modules/uesavetool/models/factories/PropertyFactory.js:13
let type = obj.Type.split('\0')[0];
^
TypeError: Cannot read property 'split' of undefined
at Factory.create (file:///C:/Users/Elvinas/Desktop/bot/node_modules/uesavetool/models/factories/PropertyFactory.js:13:29)
at file:///C:/Users/Elvinas/Desktop/bot/node_modules/uesavetool/models/properties/StructProperty.js:93:85
at Array.forEach ()
at Function.from (file:///C:/Users/Elvinas/Desktop/bot/node_modules/uesavetool/models/properties/StructProperty.js:93:28)
at Factory.create (file:///C:/Users/Elvinas/Desktop/bot/node_modules/uesavetool/models/factories/PropertyFactory.js:18:38)
at file:///C:/Users/Elvinas/Desktop/bot/node_modules/uesavetool/models/properties/Tuple.js:59:82
at Array.forEach ()
at Function.from (file:///C:/Users/Elvinas/Desktop/bot/node_modules/uesavetool/models/properties/Tuple.js:59:28)
at Factory.create (file:///C:/Users/Elvinas/Desktop/bot/node_modules/uesavetool/models/factories/PropertyFactory.js:18:38)
at Function.from (file:///C:/Users/Elvinas/Desktop/bot/node_modules/uesavetool/models/Gvas.js:46:43)
C:\Users\Elvinas\Desktop\bot>pause
Press any key to continue`

Ah, I see, I overlooked the StructProperty.from() static function. What's happening is, the script is trying to parse the json, and the from() function tries to create a property but the way I implemented, it needs a name and needs to be added as an alias to PropertyFactory... uh, should be simple to fix that.

I pushed a commit that fixes the serialization of VectorProperty which was the main issue there. I was able to produce an identical copy of the first .sav you provided with it:
output1.zip


Enable custom 404 pages for external web containers

Removed external container check. This gives external web containers the ability to use CustomErrorMessages.

Since this behavior is very old (pre custom error pages), I want to check with @perwendel before merging it.

I'm trying to figure out why && !externalContainer is there to begin with!

Since this is the only usage of the externalContainer flag, would it make sense to also remove it completely from this class, including the constructor? If you agree, I can update this PR.

Update:
I've been on vacation for 6 weeks that now is over so work on the project will start again. I will start review PRs ASAP.

Just looking back at this, it looks like I inadvertently pushed unrelated commits into this pull request. I'm thinking I should re-do this pull with only my change?

I'm thinking I should re-do this pull with only my change?

Please do.


Upgrade to Node.js 16

When using this action there is a warning about using Actions based on Node.js 12 and that they need to be upgraded to Node.js 16, more info: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

Any update on this?

I opened a PR #51 for this, as we have been getting these warnings for a while now.

Even node16 is reaching EOL now https://github.blog/changelog/2024-09-25-end-of-life-for-actions-node16/

I think we need to fork this and update it ourselves and start using a non-official action.


[Feature request] Add to GraphQL API or ClientSDK way to get Tx_hash before broadcasting to the network.

Hi,
I develop my wallet and I want to add Mina support to it.
For this I desperately need to know Transaction Hash of signed transaction BEFORE I will broadcast it through
sendPayment(signature: SignatureInput, input: SendPaymentInput!): SendPaymentPayload!
I investigate:

https://github.com/MinaProtocol/mina
https://github.com/MinaProtocol/c-reference-signer
https://github.com/MinaProtocol/signer-reference

In the last two I see how you get tx hash - but it's challenging to rewrite and bind it to my NodeJS.
I think that for experienced and talented Mina developers it can be done pretty fast.
And I am sure that this will greatly help all developers to integrate Mina.
Kinda like
GraphQL Schema query:
# Retrieve a payment hash
#
# Arguments
# signature: If a signature is provided, this transaction is
# considered signed and ready to be broadcasted to the network without requiring a
# private key
# input: [Not documented]
paymentHash(signature: SignatureInput, input: SendPaymentInput!): String!

Or
ClientSDK:
/**
  * Retrieve hash of a signed payment.
  *
  * @param signedPayment - A signed payment transaction
  * @returns Transaction hash
   */
export const getPaymentHash: (signedPayment:signed<payment>) => string;

or
export type signed<signable> = {
  readonly publicKey: publicKey;
  readonly signature: signature;
  readonly payload: signable;
  readonly hash: string;
};

To reply to your comment here:

@mrmr1993 where did you get tx ID?
From the PaymentPayload?
I need the feature to get tx_hash from the signed transaction body.
Like described here #9378
Maybe you can help with it, please)

I'm not aware of an existing API for this, aside from the the GraphQL APIs for transactions submitted to a network. In the meantime, you may find it helpful to run an isolated local node with mina daemon --seed --proof-level none, to which you can send GraphQL commands. Of course, that won't help for transactions that aren't compatible with the node's ledger, since they will be rejected outright.
I was surprised that this wasn't already in the SDK tbh. @bkase / @MartinMinkov, seems like an easy add?

https://github.com/MinaProtocol/mina
https://github.com/MinaProtocol/c-reference-signer
https://github.com/MinaProtocol/signer-reference

In the last two I see how you get tx hash - but it's challenging to rewrite and bind it to my NodeJS.

@SerhiiYakhin  I don't see any other implementation except in the ClientSDK
@mrmr1993 I have a signed transaction for rosetta, can you tell me how to generate the hash from this json?
"signed_transaction": "{\"signature\":\"D32FE641A6D4DF2C09880C8055E8CAF42DCEE43819BED63CBCB2BFE24914C51A0B669F692567C07191448BE39A1DFD205C0A173B7CEC14983C490686B40D4D01\",\"payment\":{\"to\":\"B62qjXBHo2QVrHF3P1Dt7JnqoNQ4u1qCTrLbwfq3bnvcoaDogq2BXH4\",\"from\":\"B62qjXBHo2QVrHF3P1Dt7JnqoNQ4u1qCTrLbwfq3bnvcoaDogq2BXH4\",\"fee\":\"5500000\",\"token\":\"1\",\"nonce\":\"0\",\"memo\":null,\"amount\":\"1\",\"valid_until\":\"4294967295\"},\"stake_delegation\":null,\"create_token\":null,\"create_token_account\":null,\"mint_tokens\":null}"

"transaction_identifier": {
        "hash": "CkpZB49SPeoapP25cLf8sDNhqhmZJXB9eKLxiJLqkRVWi4j37psu4"
    }

I'm not familiar with ocaml, can you describe the specific details in language, or show it in pseudocode in other languages?

@mrmr1993 I see that PR #9394 was merged. Did you intend for that work to close this issue?


Create a way to control simple IdentityModel settings at runtime without code

Simple settings require coding.
For example:
JwtSecurityTokenHandler.MapInboundClaims
https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/ce23b8c4002d168d6ab2f9d971a9993e5cba99cc/src/System.IdentityModel.Tokens.Jwt/JwtSecurityTokenHandler.cs#L122
https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/pull/1143

Want to make some progress on this in July.

Closing as a duplicate of: https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/1274


Change configuration to allow config values required for redis sentinel

This allows for supplying the required values for redis sentinel (supported by Predis 1.1.x, out soon). See https://github.com/nrk/predis/issues/131#issuecomment-219053799 . Unfortunately the password is somehow not used when connecting to the redis master. After hours of debugging I worked around this by creating a very hacky custom connection factory (at the moment I simply have no time for a proper solution. Maybe someone else has...):
class ConnectionFactory extends \Snc\RedisBundle\Client\Predis\Connection\ConnectionFactory
{
    private $masterPassword = null;

    public function create($parameters)
    {
        if (isset($parameters['parameters']['password'])) {
            $this->masterPassword = $parameters['parameters']['password'];
        }
        if ((int) $parameters['port'] === 6379) {
            $parameters['password'] = $this->masterPassword;
        }

        return parent::create($parameters);
    }

}

@phofmann-trust  What was your snc_redis config to allow support for Sentinels? From what I can see, whilst Predis now supports Sentinel, SncRedisBundle does not

Did this for my old job. Don't have access to working configuration/source code anymore. Sorry :(
I remember that I had to do some other magic to get fully working Sentinel support with SncRedisBundle (some kind of config provider hack? Hm...)
thumbtyped, please excuse brevity and typos

Am 20.07.2016 um 17:32 schrieb Alex Cartwright<EMAIL_ADDRESS>@phofmann-trust What was your snc_redis config to allow support for Sentinels? From what I can see, whilst Predis now supports Sentinel, SncRedisBundle does not
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

+1 for sentinel support
i worked around this with overriding the predis client service definitions in production since the main benefit of this bundle for me is logging & webprofiler, thus dev things which can be omitted in production.
snc_redis.default:
        class: Predis\Client
        arguments: ['%live.redis.sentinels%', '%live.default.redis.options%']

+1 for redis sentinel support

Closing this because it is now supported with version 2.


libraryDependencySchemes doesn't seem to work for scala-java8-compat

steps
Reproducible example on Scastie: https://scastie.scala-lang.org/hRyPIl7IQiCLzo2RXG6gwg
Using SBT 1.5.6. Not necessarily restricted to 1.5.6, I haven't checked other 1.5.x. I'm not sure what version of SBT scastie is using, but it fails the same as 1.5.6 in a local project.
With following dependencies:

akka-actor 2.6.0, which depends on scala-java8-compat 0.8.0.
swagger-akka-http 1.4.0, which depends on scala-java8-compat 0.9.1.

With following eviction settings:
assumedEvictionErrorLevel := Level.Error
assumedVersionScheme := VersionScheme.EarlySemVer
libraryDependencySchemes += "org.scala-lang.modules" %% "scala-java8-compat" % VersionScheme.Always

problem
sbt evicted still returns an error:
java.lang.RuntimeException: found version conflict(s) in library dependencies; some are suspected to be binary incompatible:

	* org.scala-lang.modules:scala-java8-compat_2.12:0.9.1 (early-semver?) is selected over 0.8.0
	    +- com.github.swagger-akka-http:swagger-akka-http_2.12:1.4.0 (depends on 0.9.1)
	    +- com.typesafe.akka:akka-actor_2.12:2.6.0            (depends on 0.8.0)

this can be overridden using libraryDependencySchemes or evictionErrorLevel
	at scala.sys.package$.error(package.scala:30)
	at sbt.internal.LibraryManagement$.resolve$1(LibraryManagement.scala:89)
	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$12(LibraryManagement.scala:133)
	at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:73)
	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$20(LibraryManagement.scala:146)
	at scala.util.control.Exception$Catch.apply(Exception.scala:228)
	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11(LibraryManagement.scala:146)
	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11$adapted(LibraryManagement.scala:127)
	at sbt.util.Tracked$.$anonfun$inputChangedW$1(Tracked.scala:219)
	at sbt.internal.LibraryManagement$.cachedUpdate(LibraryManagement.scala:160)
	at sbt.Classpaths$.$anonfun$updateTask0$1(Defaults.scala:3678)
	at scala.Function1.$anonfun$compose$1(Function1.scala:49)
	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
	at sbt.std.Transform$$anon$4.work(Transform.scala:68)
	at sbt.Execute.$anonfun$submit$2(Execute.scala:282)
	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
	at sbt.Execute.work(Execute.scala:291)
	at sbt.Execute.$anonfun$submit$1(Execute.scala:282)
	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:64)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:831)

expectation
From my understanding, the libraryDependencySchemes setting to Always should mean that versions of scala-java8-compat library are always compatible. So the 0.8.0 and 0.9.1 incompatibility should be ignored, and the error should not be thrown.
notes
Is setting the version scheme for a specific library to "always" the correct way to specify "don't check the version compatibility of this library"? That's what it seems like from the docs and release notes, but maybe I've missed someting.

The problem goes away if you don't set assumedVersionScheme. I don't know what to make of that.

If that indicates that assumption logic (assumedVersionScheme) is taking higher precedence than manually set libraryDependencySchemes overrides, that sounds like a bug?

FWIW, still seeing this in 1.8.2. This time w/ scala-xml

@alexklibisz Not sure if this is the case for you for scala-xml, but it was for me and it might help some others:
The source of a scala-xml conflict for me was in the metabuild, with (2.12…) scala-compiler depending on 2.x and several sbt plugins wanting 1.x.
Since it's the metabuild the solution is to make the setting in project/ such as project/plugins.sbt.
libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always

This worked for me. (Well, with fingers crossed that we don't encounter any runtime errors).
I'm using sbt 1.8.2.
I do not set assumedVersionScheme explicitly and show assumedVersionScheme shows always as the default. For science I tried setting it to VersionScheme.EarlySemVer in light of @SethTisue's earlier point and it didn't make a difference either way. That is expected though since scala-xml 2.1.0 does have a version scheme property in its POM, an assumed scheme shouldn't be applied to it.

@ches  Yeah, I had to do this in a project recently, too. I put the setting in project/build.sbt. Seemed like it relates to the recent scala-xml major dependency upgrade. https://github.com/sbt/sbt/issues/6997

A fix was contributed by @adriaanm in https://github.com/sbt/librarymanagement/pull/415


Top of Text cut off when lineHeight < fontSize

Version: 0.25.1
OS: Mac 10.11.3
Platform: iOS only since lineHeight seems to only be supported for iOS
Screenshot:

Code:
// JSX
<Text style={styles.text}>
  Text that goes on multiple lines.
</Text>

// style
var styles = StyleSheet.create({
  text: {
    fontSize: 35,
    lineHeight: 35 * 0.75
  }
});

https://rnplay.org/apps/GPgsLg
Note: Setting overflow: "visible" or a large height doesn't fix this.

Why is this an issue? Surely it's expected behaviour?
Just remove lineHeight altogether and it renders correctly.

@rogchap the purpose of this issue is to use lineHeight so removing it doesn't make sense. The expected behaviour would be for the top of the text to not be cut off (see here). I used 0.75 to really show the effect, but in my actual scenario I am using 0.90.

In your link on stackoverflow the UILabel is larger than the text and is vertically aligned in the middle.
RN Text is rendered very differently, so best way to solve this is to add a paddingTop to your styles:
instructions: {
    fontSize: 35,
    lineHeight: 35 * 0.75,
    paddingTop: 35 - (35 * 0.75), // <-- Add this
  },

https://rnplay.org/apps/5MiWQQ

@rogchap you're right! I just applied a background colour and I can see that happening. Thanks!

I closed this, but actually I'm going to re-open it. It still doesn't seem right that react-native doesn't handle this automatically. I'll let someone on the team close it.

Even I have the same issue, In my case even if the give the line height equal to my font size, I still see the text cut on the top.
Reason being is it's top aligned and I also I see some extra spacing at the bottom.

@kirankalyan5 Do you have any fix?

@kirankalyan5 @rogchap's solution worked for me like a charm

Closing this issue because it has been inactive for a while. If you think it should still be opened let us know why.

This should be reopened? It doesn't seem like the padding hack is working anymore:

Using the style:
  title: {
    fontSize: 18,
    lineHeight: 18 * 0.4,
    paddingTop: 18 - (18 * 0.4)
  }

Yes, can we please reopen this issue? Special characters like Â, É (yes, capitals) are cut off as well, even when lineHeight is the same as fontSize (which will mean the workaround above won't work). When lineHeight is not set at all, there're no issues.
With {fontSize: 48, lineHeight: 48}:

With {fontSize: 48}:

As you can see, omitting lineHeight does not result in the same thing (which could be different in different fonts I guess), but adding it cuts of the first line.

Highly recommend opening a new issue and filling out the template. This issue has been closed for a while.

Some fonts are not rendered correctly due to a bug(?) in ios (since 7.0!).
If you are experiencing the following:

only on iOS, not Android
with some custom fonts and not the built-in ones
the vertical center is slightly above where you'd expect

Here's how I fixed it.  An excerpt from my upcoming autobiography:  "Why Do I Even Code Anymore?".

Grab font tools for xcode 9 from Apple.  (note you will have to login to get that)
Install.
ftxdumperfuser -t hhea -A d CrappyFont.ttf
Edit the new xml file and tweak the values. For my case, I changed lineGap to 0 and added 300 to ascender.  You'll need to play around to find the right value for you.
Fuse these new values back into the font ftxdumperfuser -t hhea -A f CrappyFont.ttf.  (this overwrites!)
Rebuild your app (since this is a "binary" change).
Repeat until you get the right numbers.
Weep gently.

There's a few blog articles around with more info if you care more about "why".
Make sure you use a separate version of the font for Android since it doesn't have this problem.
An alternative way to fix would be to change the NSParagraphStyle of the NSAttributedString which backs the rendering of <Text />.  There are two properties headIndent and lineSpacing which control this.  They're not reachable via React Native though (source:  none, I'm guessing).

@skellock I've got a lot of respect for your rabbit hole expedition 🙌 but since this goes wrong with the system font as well, I think we can assume the issue is with the code in ReactNative instead.
I've opened a new issue for it: https://github.com/facebook/react-native/issues/17064

@Jpunt I hadn't noticed any issues with the system fonts on iOS, nor any problems with Android.
I'll have another look tho. You likely have a better eye than me. 😆

@Jpunt How did you solve the issue with this exact setting lineHeight === fontSize? i have upgraded RN to 0.54 but i still see the special chars cut off at the top in Android :(

We ended up specifying manual values for a paddingTop, for each case of fontSize + lineHeight 😒

@Jpunt ah, i see. What a bummer. I will go with undefined lineHeight in that case.. :| not happy either

Yes, this is all very depressing..


Some Playwright Chromium/Javascript URLs fail after v0.39.15

Describe the bug
Some Playwright Chromium/Javascript URLs fail after upgrading to v0.39.16. Running changeditection.io:latest in docker, as well as browserless/chrome:latest. I have not changed anything to the Browserless docker.
Version
Exact version in the top right area: 0.39.16
To Reproduce
Steps to reproduce the behavior:

Add URL https://twitter.com/search?q=%22changedetection.io%22&src=typed_query&f=live
Click on 'Save & Preview'

Expected behavior
Results (see screenshots).
Screenshots

Additional context
I monitor 40 URLs and 5 fail (not just Twitter) after upgrading to 0.39.16

Another example:
URL: https://1drv.ms/f/s!Ainhp1nBLzMJrEeyV5NOiKa8zDA3

whats in the [screenshot] part?

0.39.15:

0.39.16:


Update desktop-connect-bigquery.md

Add a note about the new Storage API support and possible issues customers see and how to work around it.

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

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

Looks good - thanks for the addition!


instrumented gate: observe permitted and non-permitted queries separately

This distinction helps when debugging increased congestion on a gate.
Checklist

[ ] Tests updated
[ ] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

LGTM! I would just add a CHANGELOG entry. Thanks!

thanks for the review. I added further separation of outcomes between context cancelled and deadline exceeded (and now "other"). Also added a changelog entry. I rebase the branch, so you can look at only the last 2 commits if you want partial diff.

i also mistakenly committed some other changes; cleared them out in another 2 commits


feat(controller): routes, handling function backbone and errors management

routes, handling function backbone and errors management
The goal here is to provide the backbone of the rest API to then only have to implement it.
There are some TODOs in the code to split the work efficiently with my team.
Featuring

error handling using thiserror and anyhow
the following routes and their handling function definition

Routes
GET workloads/
POST workloads/
GET workloads/:id
DELETE workloads/:id
GET instances/
POST instances/
GET instances/:id
DELETE instances/:id

ping @sameo (sorry we can't add you as reviewer)

Some nits. Overall it looks good, but please:
1. Squash your cleanup/fixes/linting commits (e.g. [7568cfe](https://github.com/dev-sys-do/orka/commit/7568cfe690a92120acd528e449be7f09760f6f76))

2. Add some actual commit message (not just a subject) to your commits. They are doing some meaningful changes, and the commit messages should describe them.

done

Please rebase your PR on top of the main one and we'll merge it.

done let me know if i did the right thing

Please rebase your PR on top of the main one and we'll merge it.

done let me know if i did the right thing

You did, thanks.


Can't connect - Error: Decimal with a width of 255 is bigger than the maximum supported of 38.

unfortunately, I couldn't connect to any of my postgresql databases through the duckdb scanner due to 2 types of errors.
first one: Decimal with a width of 255 is bigger than the maximum supported of 38.
I tried with both mechanisms, to connect to the database and to connect to just a table.
call postgres_attach('dbname=bassam');
select * from postgres_scan('dbname=bassam', 'public', 'test');

the only database that I could able to connect to is the one that having 0 tables.
the second problem: is that the database has not been invalidated!
D select * from postgres_scan('dbname=bassam', 'public', 'untitled_table');

you can replicate the issue with the this dataset below:
https://github.com/bassamsdata/earthquake_data/blob/main/earthquake.csv
postgresql version: 14.5
duckdb version: 0.5.1
macOS: 12.6
thanks a lot for your efforts.

the second problem: is that the database has not been invalidated!

The database has been invalidated message comes from DuckDB itself, it does not relate to the Postgres database. This error happens after an internal exception is triggered. That is because internal exceptions are not expected (i.e. essentially assertions). As the system might be in an undefined state, we disable any operations on the database to prevent potential problems or data corruptions.
The error message should be made more clear - I will work on that.

Can you try to make a reproducible example of this please?

Yea sure, I'll give the exact steps along with the databases to reproduce the issue.

Is there any movement on this issue?
Steps to reproduce would be to

Create a postgres table with a column with a defined NUMERIC size >38. ie: CREATE TABLE big ( name TEXT, value NUMERIC(78,0) )
Attempt to connect to postgres with duckdb's postgres scanner. Doesn't matter which method. They all exhibit the same behavior.

Duckdb will fail to connect providing the DECIMAL width error in the original issue. If you don't don't define the size of the NUMERIC column in postgres it will connect but, will overflow on widths >38 as mentioned in numerous issues.
The most annoying part of this connection issue is that when using POSTGRES_SCAN or POSTGRES_SCAN_PUSHDOWN the error occurs regardless of whether you even access the NUMERIC column. And additionally prevents connecting and coercing the column. ie: using other tools like connectorx which pushes the full query I have commonly done my_big_number::{TEXT, FLOAT}. While those don't preserve precision it at least allows me to operate on the column.

Thanks for the report! This should be fixed now in #111.


[Python] Extract common device str parse function in ChatModule

This PR lifts the device string parsing (just a few of lines) to a standalone function, so that on the serving side the serving can make use of this function as well.
Tested Python API and it does not seem to incur regression.

@sunggg Hi Sung, just letting you know that I rebased the serving branch again after merging this PR.

Looks like the logic appears in many places across MLC and TVM codebase. Perhaps we could consolidate them :)

@LeshengJin please follow up


bash.sh and develop.sh error

When I run bash.sh or develop.sh I get the following error:
RuntimeError: CUDA error: invalid device function
build.sh: line 10: 16755 Segmentation fault      (core dumped) python examples/hello-world.py

Hi @bubas3000 , I met exactly the same issue here. Have you found a way out?


Build error involving bevy_reflect_derive on current stable toolchain (1.74.1)

Heads up
Works on beta and nightly
Bevy version
0.12.1
Relevant system information
cargo 1.74.1 (ecb9851af 2023-10-18)
rustc 1.74.1 (a28077b28 2023-12-04)
rustup 1.26.0 (1980-01-01)
NixOS 23.11 (Tapir)
(That's the latest stable toolchain from rustup, started via rustup, everything's via rustup, which is from nixos hence the strange date)
What you did
cargo new, no workspace or anything, then
[package]
name = "bevy-test"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bevy = "0.12.1"

then cargo check or run or build, same issue.
What went wrong
error[E0463]: can't find crate for `bevy_reflect_derive`
 --> /home/ksf/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_reflect-0.12.1/src/type_uuid.rs:1:9
  |
1 | pub use bevy_reflect_derive::TypeUuid;
  |         ^^^^^^^^^^^^^^^^^^^ can't find crate

...repeated half a million times in different places followed up by a quadrillion of followup errors.
Tried resolver = "2" out of curiosity, didn't change anything.
Curiously enough though the single dependency bevy_reflect = "0.12.1" works, including
use bevy_reflect::Reflect;

#[derive(Reflect)]
struct Foo {}

above the standard hello world main().
Which means that bevy_reflect actually compiles, and I'm completely at a loss as to what is, or even could be, wrong here.
This all started happening after a nixos and rustup upgrade and cargo update (which switched the lock from 0.12.0 versions to 0.12.1) and cargo clean , this morning my actual project still built. Please don't ask me for the old versions.
I'm not entirely convinced it's even an issue with bevy, OTOH someone might have a clue as to what could possibly trigger this. Gremlins?
And just for completeness' sake, my flake.nix or the build would fail with alsa not found before getting to the juicy part. Mold or not doesn't make a difference.

flake.nix
{
  description = "dev flake";

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/23.11";

    flake-utils.url = "github:numtide/flake-utils";
  };

  outputs = { self, nixpkgs, flake-utils }:
    let supportedSystems = [ "x86_64-linux" ];
    in flake-utils.lib.eachSystem supportedSystems (system:
      let pkgs = import nixpkgs {inherit system;};
      in {
        inherit pkgs;
        devShell = with pkgs; mkShell.override {
          stdenv = stdenvAdapters.useMoldLinker clangStdenv;
        } rec {
          nativeBuildInputs = [
            pkg-config
          ];
          buildInputs = [
            udev alsa-lib
            gtk3 # panic handler msgbox
            vulkan-loader
            xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr
            libxkbcommon wayland
          ];
          LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
        };
      }
    );
}

Adding this to the 0.13 milestone: by then we will know if we need to scream upstream before our next release or if this has been fixed.

And of course I forgot to check on the 28th, 37c3 and all. Anyhow, works on rustc 1.75.0 (82e1608df 2023-12-21), closing.

And of course I forgot to check on the 28th, 37c3 and all. Anyhow, works on rustc 1.75.0 (82e1608df 2023-12-21), closing.


Exec tachikoma update<PHONE_NUMBER>1947

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io

Coverage remained the same when pulling c13979e64241a2f487a2e8b09de5c221ffb05779 on tachikomapocket:tachikoma/update-20150108151947 into 77a776d257a2436999eb722afb99b372b7aa9f95 on hoshinotsuyoshi:master.


Setup CI service

Acceptance Criteria

[ ] Hookup TravisCI to repo
[ ] Setup automatic builds/testing on master and every PR
[ ] Make master a "protected" branch, setup PRs to require peer review and passing tests before merge

@conrad-vanl I don't have access to set up travis on behalf of new spring, do you? If not, who can we get that from?

@delianides or @richarddubay How should we go about setting up TravisCI? It looks like we can request access:

Is this the proper route to take?

Hey @conrad-vanl, I think @meredithrouse took care of this yesterday, right?

Confirmed. Thanks!


Additional wlroots features when building with makefile

I might be asking in the wrong place, but when building wlroots with Hyprland's makefile, I get the following:
wlroots 0.15.0

    drm-backend     : NO
    x11-backend     : NO
    libinput-backend: YES
    xwayland        : YES
    gles2-renderer  : NO
    vulkan-renderer : NO
    xcb-errors      : YES

how do I enable the rest of those?

no clue, but this is not the ver hyprland uses. We use 0.16.0-dev

Weird.... That came from the AUR 😄


Wrapper $.open in a promise

new Sockette returns a promise that is resolved once the connection in open and rejected on error.
With this is possible to await the connection and send message already. I know we have the onopen callback. this is just syntax sugar.
const ws = await new Sockette(`${wssURL}?token=${currentToken}`, {
      timeout: 5e3,
      maxAttempts: 10,
      onopen: e => console.log('Connected', e),
      onmessage: handleOnMessage,
      onreconnect: e => console.log('Reconnecting...', e),
      onmaximum: e => console.log('Stop Attempting!', e),
      onclose: e => console.log('Closed!', e),
      onerror: e => console.log('Error:', e)
    })
ws.json({ action: 'foo' })

this would fix this issue: https://github.com/lukeed/sockette/issues/47

Hey,
Thank you for the suggestion but a priority for sockette is size. The only conveniences it seeks to offer are 1) reconnecting 2) JSON messages since that's a 90% use case. Everything else, including this request, is easily achievable in application code with little effort (as you've described).
I'm sorry but I won't be including this. I hope you understand.
Thanks again 🙇♂


Segmentation Fault

Version swiftgen 0.5.0_1 installed with via brew doesn't work and throws the following error no matter what command I try :(
Tried with Xcode 7 and Xcode 7.1
swiftgen
[1]    72547 segmentation fault  swiftgen

That's probably because it has detected your Twitter name and want to troll you :wink:
But seriously, when installed via brew and especially if Homebrew did pour the "bottle" (= the precompiled version of swiftgen directly downloaded via a .tar.gz) instead of compiling it on your machine locally during installation, then swiftgen will have a @rpath set to some path inside /Applications/Xcode.app/… so that's where it's gonna look for the Swift dylibs to load. Even if that version installed at that path is in fact Xcode 6.
I added a protection in SwiftGen's formula to only use the bottle if the path /Applications/Xcode.app exist on your machine but didn't check that the version at that path was Xcode 7.0.1. I'll bet that's not the case for you and that's the cause of the SegFault because SwiftGen will then load Xcode 6's Swift libs instead of Xcode 7's ones, no matter what xcode-select -p you have.

Could you rename your Xcode 7.0.1 to /Applications/Xcode.app and try again?

Oh! The twitter handle irony :joy:
I do have a symlink pointing to 7.1; don't know if that's the issue or if it should be pointing to 7.0.1 instead.
I'll try changing it anyways.
Xcode.app -> /Applications/Xcode-7.1.app

Changing the symlink to 7.0.1 and «re-pouring» the bottle fixed it :beers:
Don't know if 7.1 doesn't work for this or what ¯\_(ツ)_/¯
I'm closing it. Thanks :bow:

I don't like it. One more restriction on homebrew behavior.
I'll make a 0.5.1 that copies Swift libs over so it's independent of your Xcode install path.

@esttorhe SwiftGen 0.5.1 just got merged into Homebrew; could you test it (with your symlink reset to 7.1 like when you had the issue) and tell if it fixed it?
Thx!

@AliSoftware just tested with the symlink back at 7.1.
Uninstalled swiftgen and reinstalled via homebrew and is working now :ok_hand:

:tada:


WIP: Add loading spinner

@pmusaraj I noticed it can be quite confusing with the modal being blank for slow connections, so I thought it might be good to add a loading spinner.
I'm testing by throttling for Fast 3G, where I can see it load slowly.

However, I'm quite stuck on how to make the loading spinner work. The element is present in the DOM but its blank and I don't see anything working. Do you know what I'm missing?

I'm not quite sure how to fix this... maybe try setting loading = false once the table has been drawn? Probably in buildSpreadsheet()?

Actually, nevermind my previous comment. I think the issue here is the did-insert helper, it's not triggering a change to the loading property.

Ah yes, silly me 😅, simply needed to make it a @tracked property


[process-agent] don't send payloads for the first 3 container checks

What does this PR do?
In some cases, especially in ECS/Fargate environment where container tags are collected by pulling information from API, the tagger runs tag collection asynchronously in the background and the API call returns slower than container check. This causes the first several checks to miss container tags. Therefore we need to skip sending payloads for the first three payloads. This PR should fix the UI inconsistency because we only update container metadata periodically, so for quite some time the new container in the UI would show incomplete info, until next metadata update happens. By delaying three checks, we wait on the tag latency so that the information is already correct the first time we send containers to Datadog.
Motivation
https://datadoghq.atlassian.net/browse/CONS-3261 describes the UI behavior, the most obvious inconsistency is that the container would initially show as a fargate task arn. After a while(10-15 minutes) it populates the correct name.
Additional Notes
Anything else we should know when reviewing?
Describe your test plan
Write there any instructions and details you may have to test your PR.

This is a sketchy implementation and has no guarantee that it'll work, so close it for now.


Region pages inaccessible from homepage

Title says everything. The only way to reach them right now is to:

Go directly to the URL, or
Finding the page via a search engine

Maybe a page containing links to all the region pages should be added? So like hackathons.hackclub.com/regions or something?

Just added links to the regions in the footer


feat: add android udev rules to /etc/udev/rules.d

partially solves: https://github.com/ublue-os/config/issues/46
Don't know how to update the RPM spec file yet, maybe i'll read up on it later

Copying thoughts here which I shared in chat...
I love the idea of this contribution... but I was looking at the upstream of  this file, https://github.com/M0Rf30/android-udev-rules , and it provides an RPM spec file.
It would be preferable to build that RPM (in COPR?) and install it directly in main.


Reproduces without extensions: Yes
I have tried the workaround suggested in #28635 and removed terminal.copySelection from my settings, but it still doesn't work.
"terminal.integrated.commandsToSkipShell": [
        "editor.action.toggleTabFocusMode",
        <snip>
        "workbench.action.terminal.clear",
        //"workbench.action.terminal.copySelection",
        "workbench.action.terminal.deleteWordLeft",
        <snip>
        "workbench.action.togglePanel"
    ]

Tracking ctrl+c issues on Windows in https://github.com/Tyriar/node-pty/issues/7


Does not support using nested template tags.

When using the template tag within a component's root template, the syntax formatting stops at the first inner .  I know this is just a regex issue, but I'm not very good with regex.

It works well for me. Can you provide a repro for it?

Closing for inactivity


Pixi Renders SVG on iOS devices incorrectly.

I'm having this problem whereby when SVGs are drawn on the Canvas, they are drawn too small. If subsequent frames are then added in (also SVGS), they load in the correct width and height.
There is nothing in the console about any errors and it works perfectly fine on Chrome emulating iOS. All tablets seem to have this behaviour.
Once the SVG has been added once (it's tiny), if I then add it again, it draws tiny (because it's in the texture cache). If however, I make a small change to the SVG, it's no longer in the cache and therefore Pixi recreates the texture, this time it's shown completely correctly.
It's really hard for me to show a demo with the issue since I'm working on a project that isn't public yet. If I simply draw the SVG on a plain canvas, it works fine, even on iOS.
The asset has a width and height defined, and it seems like the texture obeys this but the image inside the texture seems to be super tiny.
Do you have any tips on how to debug this?
Here are a few screenshots:
When asset added to stage on iOS:

When more frames added into MovieClip and played (this problem also occurs if I only make a sprite):

I'm using the latest Pixi on the dev branch. I've checked the height and width of the textures and also the realHeight and realWidth, they are all correct.
Any idea why this problem is isolated to touch devices and why the SVG is being rendered tiny? I've tried removing viewbox and also the height width attributes but it doesnt seem to make a difference.
I noticed that in the past I got canvas buffer errors and the asset would be drawn tiny, but the latest dev changes have removed that.
I would really appreciate any tips in terms of debugging this.
Thank you!

Something-something  element width and height ? Different behaviours in different browsers.

Hey Ivan,
Could you elaborate? A height and width has been defined in the SVG.

@gurmukhp there are multiple ways to define them: in svg file, in svg element itself. I dont know exactly whats wrong, but I remember that I had problems with SVG elements across browsers.

Update: This problem occurs when the same SVG has been drawn on the page as an image.
If I draw the SVG in Pixi, it loads perfectly fine. If I then append that same SVG string in the DOM, Pixi will render it small. I wonder why?

I have fixed this. The problem was related to the browser caching the SVG before loading it onto the Canvas. A way to fix this is to slightly change the SVG by adding a space somewhere inside the string, this fools the browser into thinking its a new image and therefore loads it correctly.


Mistake with the feet

In some motions, the feet are rendered incorrectly.
Motion: https://drive.google.com/file/d/1RXQaP-vaE3WRji_TkBCIPKuWaZpFYPlR/view?usp=sharing

idk what happened there, but I changed the Plugin Export so that it doesn't happen anymore.
I'll have to look at some other point why exactly that is happening.

Super works now thanks for your work.


Disallow multiple parents for a workitem during link creation

Expected behavior
When you select a "parent of" or "child of" link type in the UI, the core needs to check if a parent for the current work item already exists. Currently the decision on whether a parent link exists or not shall be made analog to the list children action that @baijum created.
If a parent exists, the core's workitem/link/type_repository.go needs to return an error from the Create function.
Actual behavior
Currently you can create links without any restriction.

reason for this being urgent is that if this is not in place users can create data we can't migrate automatically as we don't have enough context to choose the right parent if there are multiple.

@maxandersen I am on it. The PR is raised. We will fix this as soon as possible.


Es6 implementation

This pull request features a transformation of the original AwesomeBooks project (found here https://github.com/mrjuda/books) into a new project featuring ES6 syntax. All of the javascript classes & objects have been transformed into modules and set up via import/export in the main JS file for this website.
This site also features a DateTime object from the Luxon library. Upon loading, the user will have their local time displayed at the top right corner of the page beneath the navbar.

Hi @AKeeganDev,
Wow, you did it

Thank you for ensuring that after page refresh all the data from localStorage is displayed on the Library page, as requested by the previous reviewer
Well done!
Your project is complete! There is nothing else to say other than... it's time to merge it :shipit: Congratulations! tada
Cheers and Happy coding!clapclapclap
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

@Meltrust  Thank you!


Implement: files pems delete

Add a "files pems delete" command to tapis-cli

Replaced by files pems drop in #194


[Bug]: The time delay of the content displayed in the drop-down box is too long

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Release v1.6.0~v1.6.12
When there are more than 1000 records in the drop-down box, the display delay time is very long, more than 5 seconds. It is hoped that this function module can be improved and the use efficiency can be improved.
Same with #11252
Steps To Reproduce

Environment
Release
Version
Self-Hosted

@prsidhu any updates on this?

@dilippitchika https://github.com/appsmithorg/appsmith/pull/11673


Smart way to use ErrorOr in a similar style to with-Expressions

This is more of a question than an issue. I use ErrorOr to guard my calculation engine from getting faulty data and it works great. I usually do this by making constructors private and my objects immutable and allow object creation only in form of
public static ErrorOr<T> TryCreate(parameters...);

I now have some cases where I would like to change one or two properties of the object. For C# record classes this is solved very elegantly by using with expresisons:
var person2 = person1 with {Lastname='Doe' };

The drawback of with-expressions is that in this case I cannot run all my validation logic.
In some cases I decided to create a copy constructor-like version of TryCreate() manually to still get an ErrorOr and all it's validation logic but writing copy constructors is not something I enjoy doing. This looks something like this:
 public static ErrorOr<MyClass> TryCreate(MyClass orig, int? id= null, string? name= null)
 {
     id ??= orig.Id;
     name ??= orig.Name;
     return TryCreate(id.Value, name.Value);
 }

// can be called with named parameters like so:
 var y = TryCreate(myClassObj, name:"Bill");

While this consuming part is okay, the writing part of the copy constructors is something I would want to avoid.
I wonder if there is a more elegant solution (which does not involve Reflections). I think it could be done with code generation but that's something I havent't done before.
would appreciate ideas on this topic.

Hey Jan, it's been a while..
Right, you would have to put the "validation" logic in the property's setter, but then you can't return an ErrorOr object.
What I do, is create specific methods for the data manipulation.
For example I would implement the person example as follows:
var result = Person.Create("John", "Doe"); // I go with Create, since TryX in C# usually comes with the following signature: bool TryCreate(parameters.., out Person person)

if (result.IsError) return result.Errors;

var person = result.Value;

var person2 = person.Clone();

var result = person2.SetLastName("Doe2");

if (result.IsError) return result.Errors;


fix ignore of mimeTime set in mediaRenderer

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR modifies the isFetched property in the useResolvedMediaType.ts file to include an additional condition for its value, enhancing the logic that determines whether media type data has been successfully fetched.
Detailed summary

The isFetched property is updated to:

Use resolvedMimeType.isFetched or check if mimeType is truthy (!!mimeType).

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#5683  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Add flagsmith-vue-client

Hey, I've developed a Flagsmith Vue Client, it would be great if we add it to the docs, thanks!

This is awesome! Thanks so much 👏👏👏


RLException when calling roslaunch on jsbsim_bridge

I followed the instructions for running the bridge with ROS here. The bridge package appears to build correctly but when I go to launch it with:
roslaunch jsbsim_bridge px4_jsbsim_bridge.launch
I get the following output:
RLException: [px4_jsbsim_bridge.launch] is neither a launch file in package [jsbsim_bridge] nor is [jsbsim_bridge] a launch file name
The traceback for the exception was written to the log file

Does anybody know what could be going wrong here?

@zimmy87 Have you sourced yout workspace?

Thanks @Jaeyoung-Lim! That solved the RLException error I'm seeing, but now when I run the roslaunch jsbsim_bridge px4_jsbsim_bridge.launch command I get the following output:
... logging to /home/v-dazi/.ros/log/c06e3c44-f8b5-11eb-950c-00155d59a2df/roslaunch-LAPTOP-726PT48T-1778.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

Resource not found: px4
ROS path [0]=/opt/ros/noetic/share/ros
ROS path [1]=/home/v-dazi/catkin_ws/src/px4-jsbsim-bridge
ROS path [2]=/home/v-dazi/AirSim/ros/src
ROS path [3]=/opt/ros/noetic/share
The traceback for the exception was written to the log file

The only web search result I could find mentioning the Resource not found: px4 error is here, but all the solutions mentioned in that thread were for a Gazebo-specific scenario and didn't work for me locally. Do you know what could be going on here?

@zimmy87 Great, this means that you don't have the PX4 catkin package in your path.
Where is your PX4 located? Probably the documentation is assuming that you have a working PX4 SITL setup.
For example, you need to do (http://docs.px4.io/master/en/simulation/ros_interface.html)
cd <PX4-Autopilot_clone>
DONT_RUN=1 make px4_sitl_default gazebo
source ~/catkin_ws/devel/setup.bash    # (optional)
source Tools/setup_gazebo.bash $(pwd) $(pwd)/build/px4_sitl_default
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)/Tools/sitl_gazebo
roslaunch px4 posix_sitl.launch

@zimmy87 Please share the whole log.


Fix scrolling in view and edit mode

Task/Issue URL: https://app.asana.com/0/488551667048375/1202854142935495/f
Description
Fixes the scrolling in credential view/edit modes so that all content is always reachable and visible.
Steps to test this PR

[ ] View a credential in landscape on a phone
[ ] Scroll down and ensure last updated time is viewable
[ ] Edit and ensure you can scroll down enough to reach notes

Current dependencies on/for this PR:

develop

PR #2225   👈

This comment was auto-generated by Graphite.