UX Research

Series of research were carried out in the making of the website, to make life easier and better for our users

I interviewed a few persons on the subject in view (favicons) and the results that were compiled helped the team brainstorm and get the features list

I submitted the responses from the persons that I interviewed in the subject to the team for collective brainstorming during the course of the research.

Responses I got from the interview which I carried out was taken note of and then brainstorming began. We all contributed equally

I got to understand users needs from the interview I carried out, and the responses were vital in the whole team's brainstorming process and creation of  our user stories and website features.

I sent out screener questions to few surposed audience. And I got my main audience. I had an interview with them and submitted their responses which were very vital to the project. Relevant pain points and behaviours were noted.

I worked with the team on

User Persona
User Story
Empathy Map
Pain Points

Here's a link to the frame

i created research question Section 4 in the interview script, and worked with my team mates on the UX research https://docs.google.com/document/d/14mBeRUoBKj3ynNwAG_E2vqnylWgz9SolZeaH5qfoisg/edit
I interviewed participant A and filled in his response. I also worked with my team mate in the creation of user personal, flow and user journey https://www.figma.com/file/Pb3wFzD1f7g1K4B0x9WIn7/Team-68_Conficon-(Copy)?node-id=2844%3A3749

I worked on the empathy map and brainstormed ideas with my team
https://www.figma.com/file/vxxeG9DebSxJc05LIs9oeu/Team-68_Conficon-draft?node-id=1723%3A2383
https://www.figma.com/file/vxxeG9DebSxJc05LIs9oeu/Team-68_Conficon-draft?node-id=1723%3A2310


Converted the project to be a .NET Standard Library. Breaking API ...

…changes in switching from NameValueCollection to Dictionary<string, string>.

Awesome, thanks


Feat: prototype for extracting teamProject from initial request

Prototype for extracting teamProject from initial request and setting that as a user role.
This prototype is still missing a method to remove all teamProject roles at the start of a login AND is also missing a method to validate the teamProject against Arborist.

replaced by https://github.com/uc-cdis/WebAPI/pull/93


variable contextroot value, apikey header auth

adding variable context root for non standard endpoints via api proxy as well as apikey header based authentication

I've merged your PR into the main branch.  I've left the pull request open for now.  For the CLI utility changes, you can either keep making changes to this PR or open up a new PR.  I don't have strong feelings one way or the other, so I will leave it up to you which you prefer.  If you open up a new PR, then I will close this one down and we can continue there.  Thanks for the contribution!


JVM: Fix constructor's exception in prompt

This PR improves the JVM prompt by adding exceptions details of object constructors / methods that create the needed object for method invocation.

Closed. Changes has combined into #489.


ARROW-17980: [C++] As-of-Join Substrait extension #14385

@westonpace, I see this is a PR on your personal GitHub space. Is this intended?

@westonpace, I see this is a PR on your personal GitHub space. Is this intended?

I think so.  My understanding is that we are going to do some rapid prototyping on this branch.

I'll review the substrait changes more closely when we can figure out how to get rid of the ::substrait change (I think Anja was making progress on this)?

I discussed this issue with @icexelloss. Instead of this ::substrait change, a more localized change may be possible by a using statement for the namespace. I'll look into this.


fake outputs don't notify and task completes successfully

Is this a BUG REPORT or FEATURE REQUEST?:
Seems like a bug but I would put it as a feature request
What happened:
When defining outputs that don't exist, the stage exists properly.  No notification is sent.
What you expected to happen:
I expected the stage to crash as something that doesn't exist is being saved.
How to reproduce it (as minimally and precisely as possible):
script:
  image: alpine:latest
  command: [bash]
  source: |
     echo 'this is real' > /real.txt
outputs:
  artifacts:
    - name: real
       path: /real.txt
    - name: fake
       path /fake/path/to.txt

Anything else we need to know?:
Environment:

Argo version:

$ argo version
argo: v2.2.1
  BuildDate: 2018-10-11T16:25:59Z
  GitCommit: 3b52b26190163d1f72f3aef1a39f9f291378dafb
  GitTreeState: clean
  GitTag: v2.2.1
  GoVersion: go1.10.3
  Compiler: gc
  Platform: darwin/amd64

Kubernetes version :

$ kubectl version -o yaml
clientVersion:
  buildDate: 2018-11-27T01:15:02Z
  compiler: gc
  gitCommit: 435f92c719f279a3a67808c80521ea17d5715c66
  gitTreeState: clean
  gitVersion: v1.12.3
  goVersion: go1.11.2
  major: "1"
  minor: "12"
  platform: darwin/amd64
serverVersion:
  buildDate: 2018-11-26T14:25:46Z
  compiler: gc
  gitCommit: 637c7e288581ee40ab4ca210618a89a555b6e7e9
  gitTreeState: clean
  gitVersion: v1.10.11
  goVersion: go1.9.3
  major: "1"
  minor: "10"
  platform: linux/amd64

Other debugging information (if applicable):

workflow result:

$ argo get <workflowname>

executor logs:

$ kubectl logs <failedpodname> -c init
$ kubectl logs <failedpodname> -c wait

workflow-controller logs:

$ kubectl logs -n kube-system $(kubectl get pods -l app=workflow-controller -n kube-system -o name)

The issue has been fixed.
PR : https://github.com/argoproj/argo/commit/3f06385b129c02e23ea283f7c66d347cb8899564


need a builder approach for graphql

after seeing how effective the new set via table keyword is, why not have something similar for graphql
need to work out a way where some metadata (may be the redux flavored JSON?) can be used.
or maybe we can use something similar to the set with auto create of nodes. hmm

closing due to inactivity


Release 0.3.0

Rebuild with CUDA 12.5.1
Drop CentOS 7
Fix wheels to exclude libcuda.so
Add new nvjitlink_version function to determine the nvJitLink version built with
Exclude CMake 3.30.0 when building
GHA improvements (including publishing directly to PyPI)
Other minor cleanup

/merge


Improve logging for SwaggerGenerator

Description

Increases the available logging produced by the SwaggerGenerator, to assist in debugging generation failures with complex types.
This uses https://github.com/IBM-Swift/TypeDecoder/pull/12 (now tagged in TypeDecoder 1.2.0)
... and https://github.com/IBM-Swift/TypeDecoder/pull/13 (now tagged in TypeDecoder 1.3.0)
Motivation and Context

There are several instances where we currently swallow errors while generating swagger, which makes it difficult to debug failures.  This PR logs errors at error level, increases the level of processing related messages (generation of models and paths) to verbose, and clarifies wording for some of the existing debug messages.
One implication of this change is that errors encountered during swagger generation will be logged for all Kitura users, regardless of whether they wanted to generate swagger.  We may need to think about whether this is appropriate, or whether we should have a way to opt in/out of the swagger generation capability.
How Has This Been Tested?

Checklist:

[ ] If applicable, I have updated the documentation accordingly.
[ ] If applicable, I have added tests to cover my changes.

Needs https://github.com/IBM-Swift/TypeDecoder/pull/13 to be merged + tagged, as the log formatting improvements depend on the new TypeDecodeError type.

Examples of a TypeDecodingError (introduced in https://github.com/IBM-Swift/TypeDecoder/pull/13) formatted by SwaggerGenerator during route registration:
No conformance to ValidKeyedCodingValueProvider or ValidSingleCodingValueProvider:

[2018-10-11T13:59:03.800+01:00] [WARNING] [SwaggerGenerator.swift:893 logTypeDecodeError(_:for:on:as:)] Output type ContainsValidations on path /testTypeSingular could not be decoded: TypeDecoder was unable to decode type YoungAdult: conformance to ValidKeyedCodingValueProvider or ValidSingleCodingValueProvider may be required. Underlying error: dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "Age 0 is outside the permitted range of 18-30", underlyingError: nil))

ValidKeyedCodingValueProvider implemented, but decoding still failed:

[2018-10-11T13:50:36.783+01:00] [WARNING] [SwaggerGenerator.swift:893 logTypeDecodeError(_:for:on:as:)] Output type ContainsValidations on path /testTypeSingular could not be decoded: TypeDecoder was unable to decode keyed type YoungAdult, confirm that validCodingValue(forKey:) provides appropriate values for all validated fields. Underlying error: dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "Age 12345 is outside the permitted range of 18-30", underlyingError: nil))

@ianpartridge From my perspective this is ready - are you happy to merge?


Allow self-referencing recursive struct definition

@maralla  @lxyu Ref https://github.com/eleme/thriftpy/issues/144

Now we have the necessity.


error during connect: Get "https://docker:2376/v1.24/containers/json?all=.." tls: failed to verify certificate: x509: certificate signed by unknown authority

TL;DR - same job template, each one use different docker-compose.yaml, one is working fine, and one is getting errors during DIND injection.
Minimal .gitlab-ci.yml illustrating the issue
---
Component Test out_of_disk:
  stage: component_test
  image: docker:24.0.2-git
  tags:
  - k8s-2c4m
  services:
  - name: registry.hub.docker.com/library/docker:24.0.2-dind
    alias: docker
  before_script:
  - docker-compose ${ENV_FILE:+--env-file $ENV_FILE} -f "$TEST_COMPOSE_PATH" $(test
    -f "$NETWORK_COMPOSE_PATH" && echo "-f $NETWORK_COMPOSE_PATH") up -d --force-recreate
    && sleep 40
  - docker-compose -f ${TEST_COMPOSE_PATH} logs -f >> component_test.log 2>&1 &
  script:
  - |
    docker run --network=docker_$NETWORK -v ${CI_PROJECT_DIR}:${CI_PROJECT_DIR} \
      ${VOLUMES:+$(echo "$VOLUMES" | awk -F',' '{ for (i=1; i<=NF; i++) print "-v", $i ":" $i }' | tr '\n' ' ')} \
      --env PIP_INDEX_URL="http://nexus.dc.local:8081/repository/deepypigr/simple" \
      --env PIP_TRUSTED_HOST="nexus.dc.local" \
      --env CONFIG_FILE_NAME=$CONFIG_FILE_NAME \
      --env PYTEST_ADDOPTS="--color=yes" \
      --env PYTHONPATH=${CI_PROJECT_DIR} \
      --env DC_HOME=$DC_HOME \
      ${DOCKER_DOWNLOAD_NEXUS_REGISTRY}/${REGISTRY_PREFIX}/test-server:latest /bin/bash -c \
        "pip3 install -r ${CI_PROJECT_DIR}/$TEST_REQ_TXT_FILE_NAMES --timeout $TIMEOUT \
                      -r ${CI_PROJECT_DIR}/$REQ_TXT_FILE_NAMES --timeout $TIMEOUT \
            && pytest -v ${CI_PROJECT_DIR}/$PATH_TO_TEST_FILS \
                      --junitxml=${CI_PROJECT_DIR}/results/result.xml $PYTEST_EXTRA_FLAGS"
  artifacts:
    when: always
    paths:
    - component_test.log
    - results/*
    - "$DC_HOME"
    reports:
      junit:
      - results/result.xml
    expire_in: 1 week
  variables:
    NETWORK: runner
    REGISTRY_PREFIX: app/runner
    BUILDKIT_NO_CLIENT_TOKEN: 'true'
    PATH_TO_ENV: docker/http_file_server/config
    PATH_TO_TEST_FILS: test/component_tests/test_runner_component${TEST_FILE}.py
    CONFIG_FILE_NAME: "${CI_PROJECT_DIR}/test/configurations/component_test_configuration.ini"
    VOLUMES: "/netapp,/tmp,/var/run/docker.sock,/usr/bin/docker"
    ENV_FILE: docker/config/env_out_of_disk
    TEST_FILE: _out_of_disk_space
    TEST_COMPOSE_PATH: tests/docker/docker-compose-out-of-disk-space-test.yaml

Expected behavior
getting test working
Host information
Ubuntu 22.04
gitlab-ci-local 4.46.1
Containerd binary
docker
Additional context
I have two jobs which use the same template job, one is using docker compose A, and the other docker compose B.
The one that use compose A, is finish successfully, the other one fail with error:
Component Test out_of_disk $ docker-compose ${ENV_FILE:+--env-file $ENV_FILE} -f "$TEST_COMPOSE_PATH" $(test -f "$NETWORK_COMPOSE_PATH" && echo "-f $NETWORK_COMPOSE_PATH") up -d --force-recreate && sleep 40
Component Test out_of_disk > error during connect: Get "https://docker:2376/v1.24/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Ddocker%22%3Atrue%7D%7D": tls: failed to verify certificate: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "docker:dind CA")

Compose a:
version: "3.5"
services:
  redis-db:
    image: redislabs/rejson:2.0.11
    container_name: redis-db
    restart: unless-stopped
    ports:
      - 6379:6379
    networks:
      - runner

  garbage-collector:
    image: ${DOCKER_DOWNLOAD_NEXUS_REGISTRY}/app/garbage_collector/garbage_collector:v0.1.98
    container_name: garbage-collector
    restart: unless-stopped
    environment:
      DC_HOME: /dc_home
    volumes:
      - ${DC_HOME}:/dc_home
    ports:
      - 60000:60000
    networks:
      - runner

  runner:
    image: ${DOCKER_DOWNLOAD_NEXUS_REGISTRY}/app/runner/pyrunner-generic-cpu:${VERSION}
    container_name: runner
    restart: unless-stopped
    environment:
      DC_HOME: /dc_home
    volumes:
      - ${CI_PROJECT_DIR}/test/configurations/component_test_configuration.ini:/configuration.ini:ro
      - /netapp:/netapp
      - /tmp:/tmp:rw
      - ${CI_PROJECT_DIR}/docker/algorithmic_solutions_list_mock.txt:/home/scripts/algorithmic_solutions_list.txt
      - ${CI_PROJECT_DIR}/docker/deployment_settings_list.txt:/home/deployments/deployment_settings_list.txt
      - ${DC_HOME}:/dc_home
    ports:
      - 8080:8080
    networks:
      - runner

networks:
  runner:

compose b:
version: "3.5"
services:
  redis-db:
    image: redislabs/rejson:2.0.11
    container_name: redis-db
    restart: unless-stopped
    ports:
      - 6379:6379
    networks:
      - runner
  garbage-collector:
    image: ${DOCKER_DOWNLOAD_NEXUS_REGISTRY}/app/garbage_collector/garbage_collector:v0.1.98
    container_name: garbage-collector
    restart: unless-stopped
    environment:
      DC_HOME: /dc_home
    volumes:
      - ${DC_HOME}:/dc_home
    ports:
      - 60000:60000
    networks:
      - runner

  runner:
    image: ${DOCKER_DOWNLOAD_NEXUS_REGISTRY}/app/runner/pyrunner-generic-cpu:${VERSION}
    container_name: runner
    restart: unless-stopped
    environment:
      DC_HOME: /dc_home
    volumes:
      - ${CI_PROJECT_DIR}/test/configurations/component_test_configuration.ini:/configuration.ini:ro
      - /netapp:/netapp
      - /tmp:/tmp:rw
      - data-storage-vol:/tmp/data/jobs/component_test/job_123456:rw
      - ${CI_PROJECT_DIR}/docker/algorithmic_solutions_list_mock.txt:/home/scripts/algorithmic_solutions_list.txt
      - ${CI_PROJECT_DIR}/docker/deployment_settings_list.txt:/home/deployments/deployment_settings_list.txt
      - ${DC_HOME}:/dc_home
    ports:
      - 8080:8080
    networks:
      - runner

volumes:
  data-storage-vol:
    driver_opts:
      type: "tmpfs"
      device: "tmpfs"
      o: "size=${RAM_DRIVE_SIZE:?err},uid=1000"

networks:
  runner:

My .gitlab-ci-local-env file:
PRIVILEGED=true
ULIMIT=8000:16000
VOLUME="/etc/docker/daemon.json:/etc/docker/daemon.json certs:/certs/client /netapp:/netapp"
VARIABLE="DOCKER_TLS_CERTDIR=/certs DOCKER_BUILDKIT=0 COMPOSE_DOCKER_CLI_BUILD=0"

Please, get rid of as many factors and yaml as possible.
This is not an as simple as possible .gitlab-ci.yml at all 😁
It makes it overly difficult for others to debug.

Please, get rid of as many factors and yaml as possible.
This is not an as simple as possible example at all 😁
It makes it overly difficult for others to debug.

Is it better now?

---
test-job:
  image: docker:24.0.2-git
  services:
    - name: registry.hub.docker.com/library/docker:24.0.2-dind
      alias: docker
  script:
    - docker version

Using this .gitlab-ci-local-env
PRIVILEGED=true
ULIMIT=8000:16000
VOLUME="/etc/docker/daemon.json:/etc/docker/daemon.json certs:/certs/client /netapp:/netapp"
VARIABLE="DOCKER_TLS_CERTDIR=/certs DOCKER_BUILDKIT=0 COMPOSE_DOCKER_CLI_BUILD=0"

I'm not seeing the symptom, when using a simple example.
https://gitlab.com/firecow/gitlab-ci-debugging/-/jobs/6254313223

I would be nice to add some sort of hint for others that might end up in a similar situation.
What was your mistake?

I would be nice to add some sort of hint for others that might end up in a similar situation. What was your mistake?

Not reproducible :(
The next business day, everything worked, not sure why.


How to Customise PlayBackRate or Fast_Forward rate

Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
yes
What version of Shaka Player are you using?
v3.1.0
Please ask your question
I want to customize the playback rate and/or fast forward with personal rates like I want only x0.5, x0.2, x0.4
Is it possible to use a Shaka player customized UI to do so?
if yes, can you please tell me how to do or give some hint?
Thank you in advance :)

We don't support changing that currently, but we can add it in the future.  It would involve changing playback_rate_selection.js and making playbackRates_ configurable.

Hello :)
Thank you for your reply,
Yes, it would be great if we can edit those rates.
I will try my logic to do so in my project and let you know for PR
Thank you and have a nice week!


Hummingbird\Services\ManualChatbot - change 'run' function to 'send'

I think you should change the name of 'run' function to 'send' in the manual chatbot to match the command for the FacebookMessenger class.

Hi, @wheredidgogogo
I should the class that in your project. Not Include the laravel-fb-messenger.
You can modify by yourself.


Changes setup to pbr and travis and dependency building to tox

Well I guess you were faster here than me, since I was also planing to do the packaging with pbr.


Prioritize DRs with selector in merging

Please provide a description of this PR:
Related to https://github.com/istio/istio/issues/48918
This PR is changing how the merging operation is performed when DR with workload selector are present.
As of now we don't document how merging between DRs with selectors and one without should be carried out, in fact we treat it similarly to a merge between DRs without selectors. This means that the outcome wildly changes based on the creationTimestamp of the DRs.
This PR tries to ensure that merging between DRs with and without selectors is handled more consistently.
Assuming we have 3 DRs, one without selector "drWithout1" and two containing different selectors "drWith1, drWith2".
The creation time of the 3 DRs is drWithout1 < drWith1 < drWith2
Current behavior on master:
DRs list is sorted in ascending order based on creationTimestamp: [drWithout1, drWith1, drWith2]:
    push_context_test.go:2204: we consolidate to 3 DRs
    push_context_test.go:2206: consolidated destination rule test/drWithout1 info:
    push_context_test.go:2207:  from: [test/drWithout1 test/drWith1 test/drWith2]
    push_context_test.go:2209:  spec: {"host":"httpbin.org","trafficPolicy":{"connectionPool":{"tcp":{"maxConnections":111,"connectTimeout":"1s"}},"tls":{"mode":"MUTUAL","clientCertificate":"/etc/certs/myclientcert.pem","privateKey":"/etc/certs/client_private_key.pem","caCertificates":"/etc/certs/rootcacerts.pem"}},"subsets":[{"name":"v1"},{"name":"v3"}]}
    push_context_test.go:2206: consolidated destination rule test/drWith1 info:
    push_context_test.go:2207:  from: [test/drWith1]
    push_context_test.go:2209:  spec: {"host":"httpbin.org","trafficPolicy":{"connectionPool":{"tcp":{"maxConnections":111,"connectTimeout":"1s"}},"tls":{"mode":"MUTUAL","clientCertificate":"/etc/certs/myclientcert_fromwith1.pem","privateKey":"/etc/certs/client_private_key_fromwith1.pem","caCertificates":"/etc/certs/rootcacerts_fromwith1.pem"}},"workloadSelector":{"matchLabels":{"app":"app1"}}}
    push_context_test.go:2206: consolidated destination rule test/drWith2 info:
    push_context_test.go:2207:  from: [test/drWith2]
    push_context_test.go:2209:  spec: {"host":"httpbin.org","trafficPolicy":{"connectionPool":{"tcp":{"maxConnections":222,"connectTimeout":"2s"}},"tls":{"mode":"MUTUAL","clientCertificate":"/etc/certs/myclientcert_fromwith2.pem","privateKey":"/etc/certs/client_private_key_fromwith2.pem","caCertificates":"/etc/certs/rootcacerts_fromwith2.pem"}},"subsets":[{"name":"v3"}],"workloadSelector":{"matchLabels":{"app":"app2"}}}
--- PASS: TestMyMergeDestinationRule (0.00s

Content of the ones with selectors got merged into the one without selector (Traffic policy was not present in the original drWithout1 and it got added from drWith1).
When merging into drWithout1, content of drWith1 is prioritized when compared to drWith2 (in case of conflicting fields like traffic policies). Oldest DR always has priority in merging.
Behavior will change wildly based on the creation timestamp, if the creation timestamp was akin to drWith1 < drWith2 < drWithout1 we would end up with the same behavior that is enforced with this PR (see below).

After this PR:
DRs is sorted to [drWith1, drWith2, drWithout1].
List is sorted both on the presence/absence of selectors and creation timestamp.
    push_context_test.go:2204: we consolidate to 3 DRs
    push_context_test.go:2206: destination rule test/drWith1 info:
    push_context_test.go:2207:  from: [test/drWith1 test/drWithout1]
    push_context_test.go:2209:  spec: {"host":"httpbin.org","trafficPolicy":{"connectionPool":{"tcp":{"maxConnections":111,"connectTimeout":"1s"}},"tls":{"mode":"MUTUAL","clientCertificate":"/etc/certs/myclientcert_fromwith1.pem","privateKey":"/etc/certs/client_private_key_fromwith1.pem","caCertificates":"/etc/certs/rootcacerts_fromwith1.pem"}},"subsets":[{"name":"v1"}],"workloadSelector":{"matchLabels":{"app":"app1"}}}
    push_context_test.go:2206: destination rule test/drWith2 info:
    push_context_test.go:2207:  from: [test/drWith2 test/drWithout1]
    push_context_test.go:2209:  spec: {"host":"httpbin.org","trafficPolicy":{"connectionPool":{"tcp":{"maxConnections":222,"connectTimeout":"2s"}},"tls":{"mode":"MUTUAL","clientCertificate":"/etc/certs/myclientcert_fromwith2.pem","privateKey":"/etc/certs/client_private_key_fromwith2.pem","caCertificates":"/etc/certs/rootcacerts_fromwith2.pem"}},"subsets":[{"name":"v3"},{"name":"v1"}],"workloadSelector":{"matchLabels":{"app":"app2"}}}
    push_context_test.go:2206: destination rule test/drWithout1 info:
    push_context_test.go:2207:  from: [test/drWithout1]
    push_context_test.go:2209:  spec: {"host":"httpbin.org","trafficPolicy":{"connectionPool":{"tcp":{"maxConnections":111,"connectTimeout":"1s"}},"tls":{"mode":"MUTUAL","clientCertificate":"/etc/certs/myclientcert.pem","privateKey":"/etc/certs/client_private_key.pem","caCertificates":"/etc/certs/rootcacerts.pem"}},"subsets":[{"name":"v1"}]}
--- PASS: TestMyMergeDestinationRule (0.00s)

The new sorting ensures that the content of the drWithout1 always gets merged into drWith1 and drWith2 (and not the other way around).
In a more general way:

content of the oldest DR is prioritized in merge when compared to other DRs in the same group (with/without selector).
DR with selector is prioritized when compared to DR without one.
No content from a DR with selector will be consolidated into a DR without one.

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

/test all

@leosarra: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
e93715a07b5d19d54baf67cd111a95e2a9d0cbc3
link
true
/test release-notes

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

cc @hzxuzhonghu @kfaseela
While my goal was to make the merging of behavior for DRs with/without selectors more consistent, after checking the current handling I got a doubt.
What was the reason why we allow the DRs with and without selectors to get merged together? I don't think it is leading to a reduction in consolidated DRs.
Anyway the PR is currently missing unit tests (I tested it manually for now) and a documentation update, I will add them if the changes looks good to you on a high level.

/test all

cc @hzxuzhonghu @kfaseela While my goal was to make the merging of behavior for DRs with/without selectors more consistent, after checking the current handling I got a doubt. What was the reason why we allow the DRs with and without selectors to get merged together in the first place? I don't think it is leading to a reduction in consolidated DRs.
Anyway the PR is currently missing unit tests (I tested it manually for now) and a documentation update, I will add them if the changes looks good to you on a high level.

without selector DRs are like global ones, which would be the parent for even DRs with selectors right? So ideally they should be merged?

@kfaseela I see. I guess it is fine as long as the one without selector is always considered as the parent, that is not always the case on master where we could get the selector one becoming the parent depending on the creationTimestamp sorting.
After the changes the one without selector is always the parent from which the one with selector are inheriting from.

Basically, there are two ways to alter the merging:

like this pr does, prioritize DR with workloadSelector, and creation timestamp as the next crieria
Make DR with selector stand-alone, donot merge it with others.

Another resource that have workloadSlector is Sidecar, we donot merge sidecars. So it may not have reference meaning.

Thank you @hzxuzhonghu . Do you have any preference on which approach I should go for?
I feel I'm more inclined to make DRs with selector stand-alone and merge them only with DRs who share the same selector. The reason is that we are still sending both DRs (with/without selector) to the workload instances, so merging them perhaps does not provide additional value. WDYT?

I did read the code again. We have already considered this case in mergeDestinationRule.
If i understand correct, this patch seems not needed.
https://github.com/istio/istio/blob/383a8bcfd718ab3e8615f4357df14fbc443ea123/pilot/pkg/model/destination_rule.go#L66-L72

I did read the code again. We have already considered this case in mergeDestinationRule.
If i understand correct, this patch seems not needed.
https://github.com/istio/istio/blob/383a8bcfd718ab3e8615f4357df14fbc443ea123/pilot/pkg/model/destination_rule.go#L66-L72

Hello @hzxuzhonghu
Sorry for the late reply.
That part of the code is just making sure that a DR without selector and one with selector are treated as their own entity in the consolidated list of DRs and do not collapse into one entity.
Although they are treated as separate entity, we are still applying  the content of one into the other (depending on the order in which they are sorted). This can lead to the content of the DR with selector to end up inside the non-scoped one as shown here:
push_context_test.go:2206: consolidated destination rule test/drWithout1 info:
push_context_test.go:2207:  from: [test/drWithout1 test/drWith1 test/drWith2]
push_context_test.go:2209:  spec: {"host":"httpbin.org","trafficPolicy":{"connectionPool":{"tcp":{"maxConnections":111,"connectTimeout":"1s"}},"tls":{"mode":"MUTUAL","clientCertificate":"/etc/certs/myclientcert.pem","privateKey":"/etc/certs/client_private_key.pem","caCertificates":"/etc/certs/rootcacerts.pem"}},"subsets":[{"name":"v1"},{"name":"v3"}]}

I think that if we want to apply the content of one DR into another another then we must ensure that, in presence of drWithoutSelector and drWithSelector, the content is merged to drWithSelector and the content is always coming from drWithoutSelector which is acting as "parent" (and not the other way around).

Added a test case for the scenario

@leosarra: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio
3b4aed9964f58c28ef514c499f8cc2c3b709ec08
link
unknown
/test integ-security-multicluster

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

/retest


Exception: Exception: HttpException: Failed Forbidden

I am getting these exception even if I turn on api v2 in the developer console
Also I noticed one thing in your example that you are using loginv2 in main.dart in your example but I did not found this method in my example please help me where can I find that method

@zoylee-dev
Please update to v4.1.0-dev.
loginv2 is available in 4.1.0-dev.


ems with_provider_connection use try with nils

I saw these while working on foreman with @brandondunne.
@Fryguy throw this away if you already handle this.

These are fine :+1:


Build and deploy Python package to PyPi

Add support for automatic build and deploy for the package on Pypi

Already implemented - I have only updated the status of this issue


Fe homework 12

Metric
Value

alert_status
:white_check_mark: OK

bugs
1

code_smells
8

reliability_rating
C (at least 1 Major Bug)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0


Type 'VisualConstructorOptions | undefined' is not assignable to type 'VisualConstructorOptions'.

Hello,
As per the context mentioned in the below mention issue raised by me:
realWindow and fakeDefine resolve Issue
I am getting this issue along with the mentioned above:
ERROR in path_to_project\.tmp\precompile\visualPlugin.ts
./.tmp/precompile/visualPlugin.ts
[tsl] ERROR in path_to_project\.tmp\precompile\visualPlugin.ts(13,5)
      TS2322: Type '(options: VisualConstructorOptions) => Visual' is not assignable to type '(options?: VisualConstructorOptions | undefined) => IVisual'.
  Types of parameters 'options' and 'options' are incompatible.
    Type 'VisualConstructorOptions | undefined' is not assignable to type 'VisualConstructorOptions'.
      Type 'undefined' is not assignable to type 'VisualConstructorOptions'.
i ｢wdm｣: Failed to compile.

I am currently trying to merge the tsconfigs for both the projects. This is what I could come up with:
{
  "compilerOptions": {
    "target": "es6",
    "module": "es6",
    "strict": true,
    "allowJs": false,
    "declaration": true,
    "emitDecoratorMetadata": true,
    "jsx": "preserve",
    "importHelpers": true,
    "moduleResolution": "node",
    "experimentalDecorators": true,
    "outDir": "./.tmp/build/",
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "sourceMap": true,
    "baseUrl": ".",
    "types": [
      "webpack-env"
    ],
    "paths": {
      "@/*": [
        "src/*"
      ]
    },
    "lib": [
      "es2015",
      "dom",
      "dom.iterable",
      "scripthost"
    ]
  },
  "include": [
    "src/**/*.ts",
    "src/**/*.tsx",
    "src/**/*.vue",
    "tests/**/*.ts",
    "tests/**/*.tsx"
  ],
  "exclude": [
    "node_modules"
  ],
  "files": [
    "./src/visual.ts"
  ]
}

I have made a repo for this. If you want a reference to the base default tsconfigs and package.json, find on this link:
https://github.com/dhwanils95/vue-power-bi-visual
(Commit ID for base projects: c888b8b8a8b628f1198e40a89e511219b19c3800)
(Commit ID for initial merge: f10326c07fb3cfac8c817707e97d2d6d7025892d)

Please upgrade to API 3.0, it doesn't use FakeWindow anymore.


non static function calls do not work if object is loaded from JSON using JSON.parse()

Playground Link: Here
If a class is parsed from JSON data. Instance methods cannot be access anymore. Method calls fail silently without any logging. It works fine if class is created using "new ClassName()". Also works fine for static method calls.

Now I understand why it would happen, but isn't it the intended behaviour

This is intended behavior as far as the language and the teams intention goes. JSON.parse returns any, and the any type is implicitly assignable to any type. You're responsible to make sure the any type is compatible.
A suggestion to you would be to replace the type of the JSON.parse method returns:
interface JSON {
    parse(text: string, reviver?: (key: any, value: any) => any): unknown;
}

This way the method returns unknown and won't be assignable anymore. The TypeScript team will not introduce this breaking change to JSON.parse: #26993

Thanks for the information. But since generics are supported in typescript, I am think will a Generic implementation help in this context.  As a workaround I have introduced static methods to my class and passing the instance for parsing.

It looks like this is a question rather than a bug report. This issue tracker is for tracking bugs and active work on TypeScript itself, rather than a general forum for programmers using TypeScript to get help or ask questions.
You can ask questions on sites like Stack Overflow. We are not able to provide one-on-one support on the issue tracker. Please read the issue template carefully - it has important information on what kinds of reports can be acted on here, as well as links to useful TypeScript resources. Thanks!

To me it absolutely looked like bug.
I am assigning a value parsed from a Type using Json. Parsed. But after assigning the Methods in the Class are no more available. It works during the compilation and fails in Run-time.


support for long polling (WaitTimeSeconds)

fixes #22
allow a ReceiveMessage action to know whether an attempt (via call)
"satisified" the request, and then have the dispatcher in the API loop
until it is satisfied, sleeping in between, rather than just making one
attempt.
the ReceiveMessage action is "satisfied" by either return 1+ results, or
by expiring. it expires according to the action's WaitTimeSeconds or the
queue's ReceiveMessageWaitTimeSeconds. if neither is set, or is set to
0, then only one attempt is made before immediately expiring.
I intend to add another commit with specs for the new behavior, but want to trigger the CI build to compare it with #56, since I can't replicate its failures locally.

Thanks for your contribution!

Would it possible to get a new version of gem with this in released onto rubygems? :pray:


Update for up to JDK12

Many people are up to date and following the new release rate of Open JDK.
I suggest to switch from JDK8 to JDK12 support.

Thanks for your pull request. I've thought about this multiple times and would love to support every version in one Action, but thats not possible right now and a solution is not planned according to a GitHub Product Manager, so I've struggeled whether I should update or not.
I've received multiple messages regarding it so I will merge this PR.


Add documentation for setup and contribution

Hey, It'll be super helpful if we can have a small text about how to set up the project and also about the contribution guidelines

Hey @kautukkundan
The documentation for Setup is given in the image in Readme itself.
Please find the contribution guidelines here - https://github.com/GeekBoySupreme/TabTrum/blob/master/Contributing.md


Selecting text in chatbox does not  work

How have you installed cordless

[x] git clone & go build .

What happened
In the chatbox, Shift-Left/Right and Ctrl-Shift-Left/Right do not work
How do you reproduce this bug
Press the keys :P
System information

Key
Value

OS
Arch Linux

Architecture
amd64

Terminal
kitty

Go version
1.16.3

select appears to work, ctrl select doesnt.

This issue is kitty-specific - kitty reserves Ctrl-Shift for its own actions such as opening tabs, controlling zoom level, etc.


[index.d.ts] allow passing null to control props

What:
added null type to control props

Why:
null can be passed to control props, as per the actual implementation.

How:
change the index.d.ts file.

Checklist:

[ ] Documentation
[ ] Tests
[x] Ready to be merged

[x] Added myself to contributors table

How would you like to be a TypeScript maintainer @franklixuefei? :)

Sounds good! I can take that responsibility :-)
Frank

On Jun 20, 2018, at 11:37 AM, Kent C. Dodds<EMAIL_ADDRESS>wrote:
How would you like to be a TypeScript maintainer @franklixuefei? :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks so much for your help! I've added you as a collaborator on the project. Please make sure that you review the other/MAINTAINING.md and CONTRIBUTING.md files (specifically the bit about the commit messages and the git hooks) and familiarize yourself with the code of conduct (we're using the contributor covenant). You might also want to watch the repo to be notified when someone files an issue/PR. Please continue to make PRs as you feel the need (you can make your branches directly on the repo rather than your fork if you want). Thanks! And welcome to the team :)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Thanks Kent!
I’ve already watched the repo. I’ll take some time in the afternoon to review the documentation and readmes.
Thanks!
Frank

On Jun 20, 2018, at 12:03 PM, Kent C. Dodds<EMAIL_ADDRESS>wrote:
🎉 This PR is included in version 2.0.5 🎉
The release is available on:
npm package (@latest dist-tag)
GitHub release
Your semantic-release bot 📦🚀
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


OpenCV

Hello, I cant run program because i dont have opencv_world452.ddl, opencv_world452d.ddl

I compiled it、I have the same problem as you. There is no OpenCV_ World452 file

您好，我无法运行程序，因为我没有 opencv_world452.ddl、opencv_world452d.ddl

https://github.com/sr-henry/league-hack/tree/73b2b9bd04c6b2997b1d85e81512f35848e71976/league-hack/dependencies/opencv

Hi, you can download this dll from this repo and place in system32 folder or install opencv in your pc


STA Mode server does not host my webpage

I have included the wifi manager in my code and what my code does is it hosts a webpage but when I try to open the webpage in my browser it shows your webpage instead of mine even though I am on a home network where esp should be connected as station hosting the webpage.
Also, how can I retrieve the ssid and password from your code so  I can manually start my station code thus solving the above-mentioned problem

You cannot run two different web servers on the same port. You have two choices here:

Change http_server.c to serve your pages
Run http_server on a different port than your own http server

I change my port to 81 and it works also before closing the issue can you tell where exactly in code are you assigning a static IP? I changed the bool value to 1 but can't find which and where the IP is.
Also a huge Thankyou your project helped me a lot

IP of the server is set by
/** @brief Defines the access point's default IP address. Default: "<IP_ADDRESS> */ #define DEFAULT_AP_IP						CONFIG_DEFAULT_AP_IP
You can run make menuconfig to change it or hardcode a value

Isn't that the IP of ESP32 as access point, I want to static the IP when it connects to my home router.

This is not possible today, simply because I had no use for it and I was a bit lazy to code the UI for static ip... That being said, you can assign a static IP to the esp32 on your router level through the mac address.

No worries Sir, I have made changes to the code for assigning static IP to my home router.


add already crafted

add already crafted information

Do not merge !
on quantity change, the js can go in infinite loop ...


With the Prettier plugin, multiple comment lines are reduced to a single one

Describe the bug
Using the Antlers Prettier plugin, comments with multiple lines are reduced to a single line as you can see in the screenshots below. Further the second command is appended to the line before.

Impacted Products
Which Antlers Toolbox products does this bug apply to?

[ ] Antlers Toolbox for VS Code
[ ] Antlers Toolbox for VS Code Formatter
[ ] Formatter CLI
[x] Antlers Prettier Plugin
[ ] Antlers Syntax Highlighting (external systems - not VS Code)

Versions and Other Plugins/Extensions
Here is my nearly empty settings.json from vs code:
{
  "editor.formatOnSave": true,
  "editor.formatOnType": true,
  "editor.formatOnPaste": true,
  "antlersLanguageServer.languageVersion": "runtime",
  "editor.defaultFormatter": "esbenp.prettier-vscode"
}

To Reproduce

create a new statamic site
install prettier, prettier-plugin-tailwind and prettier-plugin-antlers
Add some comments an a view/layout-file
run prettier on file save

Expected behavior
Fix indentation but keep multi-line comments
If submitting a formatting bug, please include the template contents below as well as an attachment
{{#
    @name The template name.
    @desc A human-friendly description for your awesome template.
    @entry collectionName
    @collection collectionName
#}}
<!DOCTYPE html>
<html lang="{{ site:short_locale }}">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    <title>{{ title ?? site:name }}</title>
    <link rel="stylesheet" href="{{ mix src='css/tailwind.css' }}" />
</head>
<body class="bg-gray-100 leading-normal text-gray-800 font-sans ">
    <div class="mx-auto flex flex-col items-center justify-center px-2 lg:min-h-screen">
        {{ template_content }}
        {{#
            Lorem
            ipsum
            dolor
        #}}
    </div>
    <script src="{{ mix src='/js/site.js' }}"></script>
</body>
</html>

I can replicate this only if the Antlers plugin has not been loaded. Are you able to view your Prettier debug output in VS Code to ensure that it is actually being used?
I can replicate this if the output is similar to:
["INFO" - 9:43:18 AM] Prettier Options:
{
  "filepath": "formatter_test\\resources\\views\\layout.antlers.html",
  "parser": "html",
  "useTabs": false,
  "tabWidth": 4,
  "endOfLine": "lf",
  "plugins": [
    "formatter_test\\node_modules\\prettier-plugin-antlers",
    "formatter_test\\node_modules\\prettier-plugin-blade"
  ]
}

Adding this to a .prettierrc at the root of the project:
{
    "plugins": [
        "./node_modules/prettier-plugin-antlers/"
    ],
    "overrides": [
        {
            "files": "*.antlers.html",
            "vscodeLanguageIds": ["antlers"],
            "options": {
                "parser": "antlers"
            }
        }
    ]
}

should cause the Prettier debug output to produce something similar to the following:
["INFO" - 9:44:40 AM] Prettier Options:
{
  "filepath": "formatter_test\\resources\\views\\layout.antlers.html",
  "parser": "antlers",
  "useTabs": false,
  "tabWidth": 4,
  "endOfLine": "lf",
  "plugins": [
    "formatter_test\\node_modules\\prettier-plugin-antlers"
  ]
}

Thank you very much for pointing me to the solution. Now it works!
With "editor.formatOnPaste": true, there is still a notification in VS Code. But with formatOnSave it works anyway.

{
  "editor.formatOnPaste": true,
  "editor.formatOnSave": true,
  "editor.formatOnType": true,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "antlersLanguageServer.languageVersion": "runtime"
}


Create upgrade path fedora37to38

Hm, the test plan doesn't make sense here .... we receive f36 from  TFT so fedora37to38 cannot be checked (as provision is being ignored).


Make it possible to supply the rpID and origin dynamically (based on the request)

This would make it so it works nicely in staging or preview deployments. So something like:
      rpID: (request: Request) => getDomain(request),
      // Website URL (or array of URLs) where the registration can occur
      origin: (request: Request) => getDomain(request),

I'll get this out in the next release.


Clarify instance identifier source info

@tryrobbo : Thanks for your contribution to the Azure documentation! The author, @jeevansd, has been notified to review your proposed change.

#sign-off


First Changes

This is my first pull request on this project
You Can Check the Recorded Presentation Video of the Project on This Loom link
You can Take a Look at This Project on This Link

Thank you so much @leonardodiasb for your review, I appreciate it. I will certainly take your feedback into consideration and make the necessary changes to improve my code. :pray:


feat: adds the franklin experimentation engine

Add the Franklin experimentation engine from https://github.com/adobe/aem-experimentation. Also added a demo page in the drafts and hooked into the Milo block rendering to support block-level experiments with an alternate homepage-brick component that has a yellow background.
Requires: https://github.com/adobecom/milo/pull/1494
Test Documents:

https://adobe.sharepoint.com/sites/adobecom/Shared Documents/Forms/AllItems.aspx?cid=6cca42ee-a3ff-433f-9d5a-f3db15862b5e&FolderCTID=0x012000F36D5B4C46F81741BCAC9F03FA9F93D1&id=%2Fsites%2Fadobecom%2FShared Documents%2Fhomepage%2Fdrafts%2Framboz&viewid=d776cf70-9b7e-4ab7-b9da-9e0f8e03a7d2

Test URLs:

Before: https://main--homepage--ramboz.hlx.live/drafts/ramboz/index-loggedout?martech=off&georouting=off
After: https://franklin-experimentation--homepage--ramboz.hlx.live/drafts/ramboz/index-loggedout?experiment=demo/challenger-1&milolibs=fix-expblocks&martech=off&georouting=off (PSI Report)

@ramboz Who requested this?  What's the use case?

@vgoodric This was discussed in our recent hackathon with @yesil and @meryllblanchet. The goal is to see if running experiments using the OOTB Franklin engine, instead of Target, has a noticeable performance gain and if we can increase conversion with this

@ramboz your example seems to be a test.  Does this UED handle personalization?

@vgoodric Correct. And no, not full-on personalization (as in targeting single users) at this point. The Franklin engine is GDPR/HIPAA compliant and only does id-less targeting. We do have limited support for segmentation use cases (as in targeting group of users) though, so you can target mobile vs desktop, or browsers, etc.

Closing in favor of https://github.com/ramboz/homepage/pull/1 for now, so the PR stays in my fork until we are ready to share with the broader audience


ETDA Workflow to LionPath Integration

I've labeled this an epic since there are several components to it that can be broken out into their own issues.
The first component is to pull and store the "Candidate Number" (SSR_RS_CANDIT_NBR ) for students from LionPATH (LP).  This will be added to the end of the student program data we are already getting.  Considering this, I also assume that each record will have a unique candidate number.  So, if a single student has a Master's Thesis and Dissertation record, each would have their own candidate number.  This number can then be used to identify which record should be updated in LionPath when we send data back to LionPath.
The next part is sending data back to LionPath.  We discussed a REST API, but never who would be building it and who would be building an integration with it.  Some of the data requires real-time updates, so in this case we would probably have to export from ETDA into some webservice that the LP team has built.  For more general data that does not need real-time updates, we could just have a simple REST API on our end for the LP team to integrate with.  The LP team has a document with the data needed, and how it maps up with data in ETDA.
The final component is to let LP know when a submission has been cancelled or administratively rescinded.  Submissions can be deleted in ETDA by admins, so we could send a request out to LP at that point to update a record in their system letting them know it's been deleted.  We also automatically delete some submissions if they are no longer in LP.  We don't store any information about things that have been rescinded.

Some more notes on this from the Grad School can be found here: https://pennstateoffice365.sharepoint.com/:w:/r/sites/GraduateSchool-UniversityLibrariesWorkingGroup/_layouts/15/Doc.aspx?sourcedoc={F3F3337C-2D9B-44C6-B1C7-6AE997CA1248}&file=ETD to LP Meeting Agenda.docx&action=default&mobileredirect=true

The "Candidate Number" column name will be Can Nbr in the student program CSV


Unable to add a callback after reset

It doesn't add a callback (mockWithCallback) after a reset.
The server no longer gives any response (it gets stuck "loading" the response")
I'll try to provide more information, let me know what could be useful.
log
2018-07-12 15:05:38,949 INFO o.m.m.HttpStateHandler resetting all expectations and request logs

2018-07-12 15:05:38,994 INFO o.m.m.HttpStateHandler creating expectation:

        {
          "httpRequest" : {
            "method" : "GET",
            "path" : "/api/token"
          },
          "times" : {
            "remainingTimes" : 0,
            "unlimited" : true
          },
          "timeToLive" : {
            "unlimited" : true
          },
          "httpObjectCallback" : {
            "clientId" : "2f5efa32-65bd-4512-9f97-b041a0f2e701"
          }
        }

2018-07-12 15:07:05,809 INFO o.m.m.HttpStateHandler request:

        {
          "method" : "GET",
          "path" : "/api/token",
          "cookies" : {
            "d5b5278d6ecca213a6cda3f6cfaa8cef" : "a396c9685fdd684091487953f02f498e"
          },
          "headers" : {
            "Cookie" : [ "d5b5278d6ecca213a6cda3f6cfaa8cef=a396c9685fdd684091487953f02f498e" ],
            "content-length" : [ "0" ],
            "Accept" : [ "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8" ],
            "Upgrade-Insecure-Requests" : [ "1" ],
            "Connection" : [ "keep-alive" ],
            "User-Agent" : [ "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36" ],
            "Host" : [ "localhost:1080" ],
            "Accept-Encoding" : [ "gzip, deflate, br" ],
            "Accept-Language" : [ "es-419,es;q=0.9,en;q=0.8" ]
          },
          "keepAlive" : true,
          "secure" : false
        }

 matched expectation:

        {
          "method" : "GET",
          "path" : "/api/token"
        }

mmh, it looks like the code that handled the callback was running twice, killing it before starting the new fixed my issue.


[REEF-459] Remove org.apache.reef.runtime.common.client.api.JobSubmissionEvent#getQueue

This addressed the issue by

removing JobSubmissionEvent#getQueue, JobSubmissionEventImpl#getQueue and JobSubmissionEventImpl#setQueue

JIRA:
REEF-459

@tcNickolas This now has conflicts. Can you please resolve?

Done

@tcNickolas Thanks, I will merge.


Added DisableCommenting parameter to Set-PnPList cmdlet

Type

[ ] Bug Fix
[x] New Feature
[ ] Sample

Related Issues?
Related to #2913
What is in this Pull Request ?
Added -DisableCommenting parameter to Set-PnPList cmdlet which allows enabling/disabling comments on individual SharePoint lists.

Thanks @ganesh-sanap !

Thank you @KoenZomers for merging PR!


Feature request: Color styling depending on success

Hi,
I have a program where the process represented by a progress bar might result in an error. I would like to have a functionality to set the message for that bar to a (for example) red string.
Right now that seems not to be possible, hence this is a feature request for such a feature.

You can set the finish style to change the message, which could include a different color. Would that be sufficient? If not, please make a proposal for what kind of API you would like to see for this.

Sounds good. Thanks for coming back to this!


SCM incoming/outgoing changes show full commit message on hover

When hovering over a commit in the SCM incoming/outgoing changes view I should get a tooltip showing the full commit message. Currently if I want to view full commit messages I need to resize the sidebar so they aren't cut off.

This is available in the latest VS Code Insiders release.


Text message identifier

Hi,
It's should be a silly question but I cannot handle the problem. Should I separate the text messages? How can I teach the bot which message it must answer.
For example, B: Bot, U: User
B: Where are you from?
U: I am from Turkey.
B: Which city did you born in Turkey?
U: I was born in Istanbul.
B: When did you born in Istanbul?
U: in 1986.
In that example the bot should understand the sequence of the messages. It should answer the questions in order.
It's just an example. I can use regex in here but my scenario is more complex than the example. I tried to use metadata but I see that I cannot get from user message. I made a class which have some attributes message_id, message_text and previous_message_id. I initialized the class when user writes an answers but in that time bot answered the all questions :/ It have should quited the :message block.
My point is that bot should know the next right question after user text message.
Cheers.

Hey @enderahmetyurt
The sequence solution could be tricky unless you are making sure a user asks the question in same order no matter what. Regex can also produce edge case considering all users won't type consistently.
I guess a probable solution would be to use contexts, meaning giving bot some sort of background about each question and then use that context to call dynamic methods to fetch and show specific data. For ex: If someone asks, where are you from? Then, you can train the bot that if a word where  is involved then a user is more likely asking for some sort of location. And then I guess somehow you can group and map these contexts to reduce duplication.
You can take a look at this website and see how they use contexts and entities. https://wit.ai/docs/quickstart

Thank you for quick reply @gauravtiwari. I will try wit.ai I hope it will solve my problem 🙏


similarityRatio Error: JSONDecodeError: Expecting value: line 1 column 1 (char 0)

After I loaded my picture, there is an error when I use the similarityRatio function. How to fixed this error?
Besides, I am quite confused about the difference between geometricRatio and similarityRatio. What does these two indexes mean?
I want to quantify the attractiveness of one face using the Golden Ratio Rule, in this case, which index should I use for my purpose?  Is higher geometricRatio or similarityRatio , the higher the attractiveness?

I have solved this problem. There is something wrong with the source code:
in File "init.py" Function similarityRatio
The "landmark.yaml" should be replaced as "goldenFace.json"

Could you please provide the code in the form of a Jupyter Notebook or Google Colab? This would help me better understand and debug the issues
Thanks


pycrypto fails to build on Fedora 23

It was working fine on Fedora 22. Not sure what changed. To replicate simply run the install for encrypted jrnl.
pip install jrnl[encrypted]

Or you can also get the error by trying to install pycrypto directly.
pip install pycrypto

Here's the error I'm seeing:
    warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
    building 'Crypto.Hash._MD2' extension
    creating build/temp.linux-x86_64-2.7
    creating build/temp.linux-x86_64-2.7/src
    gcc -pthread -fno-strict-aliasing -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-x86_64-2.7/src/MD2.o
    src/MD2.c:31:20: fatal error: Python.h: No such file or directory
    compilation terminated.
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-L8N7aQ/pycrypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-V3vHvr-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-L8N7aQ/pycrypto

By the way, I love this jrnl project! It's exactly what I've been looking for to make writing easy with encryption.

Problem solved! I seems some python dependencies were not installed. After installing deluge, which uses has many python dependencies, pycrypto started working.
dnf install deluge

And now jrnl will work too.
pip install jrnl[encrypted]

I had the same problem on Fedora 25 but I think this solution is a bit overkill. I looked at Deluge dependencies and after some try and errors, you just need to install python3-pyOpenSSL and its own dependencies. It would be great to have some distribution specific instructions on the website site to help future users on Linux.


[USB-User cabinet. Bonuses] The column 'Кількість' has integers format instead of a float number

Environment: Mac OS Monterey 12.4;
Safari 15.5
Reproducible: always
Build found:  09/06/2022
Preconditions

Logged in to GreenCity as a User https://ita-social-projects.github.io/GreenCityClient/#
The UBS-user page is opened
Use test user with available bonuses in the cabinet

Steps to reproduce

Click on the button 'Рахунок' on the left menu panel
Open a window about bonuses information for a user
Look at the available bonuses
Look at the button 'Кількість' for sorting by spending or replenishing and pay attention to the format of the column

Actual result
The column 'Кількість' has an integers format instead of a float number (e.g: 255)
Expected result
The column 'Кількість' should have a float number with 2 digits (e.g: in format 255.00 bonuses when replenished, and 255.00 bonuses when spending);
User story and test case links
E.g.: "User story #3670
Test case"
Labels to be added
"Bug"

Fixed


Disable BOINC generation in OneClick

Script generation is currently useless and it requires dependencies on default script files. Since we don't use it, please comment out these parts (which should alleviate the dependencies).

Closed due to Oneclick migration to a separate repo (issue #186).


[Event Request] Codeunit 7312 "Create Pick" - OnCreateTempActivityLineOnAfterCheckWhseSource

Hi team,
In Codeunit 7312 "Create Pick" procedure CreateTempActivityLine we would like to have the ability to run some code depending on WhseSource, for that an event after checking the WhseSource variable would be a good solution:

[IntegrationEvent(false, false)]
local procedure OnCreateTempActivityLineOnAfterCheckWhseSource(var TempWhseActivLine: Record "Warehouse Activity Line" temporary; QtyToPick: Decimal; QtyToPickBase: Decimal; WhseSource: Option "Pick Worksheet",Shipment,"Movement Worksheet","Internal Pick",Production,Assembly,,,,,,,,,"Production DiVA","Production Rcpt. DiVA"; WhseSource2: Option)

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release.
We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues.
If you have follow-up questions or requests, please create a new issue where you reference this one.


minor revisions to the agent usage doc

@xiaohe27 Please review

Can one of the admins verify this patch?

@owolabileg  looks good to me


Automated cherry pick of #5378: fix: Add 'scope=system' and 'system' for Caches when querying from Keystone.

Cherry pick of #5378 on release/3.1.
#5378: fix: Add 'scope=system' and 'system' for Caches when querying from Keystone.

/lgtm

/lgtm

/approve


Pod install Error

Description

When init Project use
npx react-native init udemy --template react-native-template-typescript

Version
0.69.5
Output of npx react-native info
System:
OS: macOS 12.5.1
CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
Memory: 183.38 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.11.0 - ~/.nvm/versions/node/v16.16.0/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK:
API Levels: 30, 31
Build Tools: 29.0.2, 31.0.0
System Images: android-25 | Google Play Intel x86 Atom, android-26 | Google Play Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7784292
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
Languages:
Java: 14.0.2 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
cd ios/ & pod install
Snack, code example, screenshot, or link to a repository
https://github.com/scott8013/react-native-udemy.git

You'll probably get more help reporting this in the typescript templates repository. https://github.com/react-native-community/react-native-template-typescript

I don't use typescript. Always has the same proplem.

In your issue description you wrote:

When init Project use
npx react-native init udemy --template react-native-template-typescript

Thats the typescript template. You should omit --template react-native-template-typescript if you don't want to use typescript.

Don't use ts template.  have same error message.
I test clone ...

It's OK, Thanks


Tribonacci Number in C++

💥 Proposal
Tribonacci Number in CPP
Have you read the Contributing Guidelines on Pull Requests?
YES

/assign


PDF Report

What would you like to be added:
Is it possible to build a new feature where we can get a PDF report about a project's scan?
Why is this needed:
For executive reasons. Sometimes we need to send a report to CISO/CTO to show how are our security maturity and how is manage the vulnerabilities

hello @lcaoppit currently onlly output enabled are: json, text, sarif, sonarqube, this is great idea and I'll add in us backlog tnks :)

@wiliansilvazup i just ran the CLI tool and can't figure out how to output to those types


Video Segment Count in Demo

Hi Rowan,
In the code, you state the code only supports at most 8 segments. I would like to learn how you handle these segment counts in your demo at https://merlot.apps.allenai.org/
Thank you for your time and attention,
Mustafa

Because in the demo there are very long videos and the model seems to be capable of handling both beginning and ending parts.

hey Mustafa! yep. the demo does support at most 8 segments, and it extracts a single frame every 5 seconds (e.g. at t=2.5, t=7.5, and so on). Somehow that works for the videos we chose!


Showing delimiter on the right side of the terminal

I'm trying to abuse vorpal for a chat client and use .catch('[input...]') to grab a chat message the user may have entered. Is it possible to show send on the lower right side of the terminal by relocating the delimiter maybe?

+1
I'd love to be able to style the delimiter e.g. give it a different color


IonEqual - go-cmp

This is the initial PR which we looked at briefly during our sync-up, and this is the commit where I applied Zack's suggestions.
Let me know your thoughts, thanks.


chore: updated docs; fixed storybook minor issue

Description
Minor changes to the ts-docs
Fixed a few issues on storybook file

I've cherry picked this PR to the original PR.Here is the commit 83eb10d4ff3e4232301fddba7c001842ff6514e8
Hence closing this PR.


Need documentation on how to use a knowledge graph in grape

Hello, I have another question on how to import my data in grape.  I think it is more a clarification on my method to import my KG.
kg = Graph.from_csv(directed=True,
                       edge_path="sample_mabkg.tsv",
                       sources_column_number= 0,
                       edge_list_edge_types_column_number=1,edge_list_separator="|",
                       destinations_column_number=2, name="mAbKG", verbose=True, edge_list_header=True)

but i saw that it exists node_path and other properties like in edge_path, so i don't know if i did in the good way my read from_csv.  Can you please give me some explanation knowning i have a KG (with edge and node typed). Below is an example of my data.
Thank you for your answer
Gaoussou
 node source|edge|node destination
_:B4dff5e7d17225b25b13ad12737e49779|imgt:isDecidedBy|imgt:EC
pubmed:2843774|dc:title|Selective killing of HIV-infected cells by recombinant human CD4-Pseudomonas exotoxin hybrid protein.
imgt:Product_8e9250cf-276a-3282-954f-3791316ac5a6|rdf:type|obo:NCIT_C51980
imgt:Segment_212_1|obo:BFO_0000050|imgt:Construct_212
imgt:IgG4-kappa_1001|rdfs:label|IgG4-kappa_1001
imgt:V-D-GENE|owl:sameAs|obo:SO_0000510
imgt:Segment_536_1|rdf:type|imgt:Segment
imgt:LRR13|rdf:type|imgt:RepeatLabel
imgt:StudyProduct_c2bc9b3a-a15e-376f-bda5-f87089b3f54b|imgt:application_type|Therapeutic
imgt:StudyProduct_54a14ca8-f916-338b-af18-d079beb598a4|imgt:development_technology|  Dyax human antibody phage display library

sample_mabkg.txt

Hi! Here you have a decently complete tutorial on file loading. Anyhow, your parametrization seems okay. Is there any error?

Otherwise, you can create a node_types file which is just a list of the types of each node and can be loaded using the node_type_list_path parameter.
paper
paper
gene
book

Do you have a single type or multiple types for each node?

Thank you for your different answers,
@zommiommy i have multiple type of each node (all the rdf:type) so i think i need to create a file with the node_name and its type based on the rdf:type as you mention it.
Thank you in advance
Gai

Hi @gsanou, generally, we have two files for the KG use case: a node list and an edge list. Additionally, in some cases, you may want to specify a node type list and an edge type list which contains the unique types. On kgobo, you can find tens of examples of KGs presented in this format.
Contact us on Telegram or Discord if you need a quick call to resolve this issue (links in the read me).

@LucaCappelletti94  thank you, the telegram link is missed in the readme can you please provide for future issues ;) .
Gaoussou

There is the button, right on the top.


Visual Rust extension not found in Visual Studio 2015 "Extensions and Updates" search

I tried "Rust" and "Visual Rust" but I got zero results for both.

:+1:

:+1: Just went to install rust and ran into this.

Done

@vosen Thank you so much for this! :+1:
Being able to use breakpoints for debugging and change the runtime state using the immediate window or watch variables is awesome.

Wow, even drag and dropping the next instruction pointer works the same way it works in C#. This is really really useful.

All the thanks should go to Microsoft's MIEngine team. We are just repackaging their work.

@vosen Thanks to the MIEngine team too, in any case, very nice integration!
Are there are any plans to make a list of features of Visual Rust and add them to the README.md? Seeing something like:

debugger powered by MIEngine
watch window
immediate window (for contextual REPL experience)
using both the watch and the immediate window the runtime state can be changed
ability to drag and drop to change the next code line that will be executed
call stack view and navigation

Would be quite convincing that this is a great plugin.


Merge refs/heads/feature/find-as-cursor into alpha

Merge refs/heads/feature/find-as-cursor into alpha

This PR has been merged into alpha and tagged as 1.6.0-alpha-202304131139. Thanks for your contribution!


invalid escape sequence fix

The regular expression needs to be escaped otherwise a syntax warning message
bloodhound/ad/utils.py:115: SyntaxWarning: invalid escape sequence '\-'
is printed when running bloodhound.py

thanks!


Cant make it work. Still got "Attention required" message

So i had just cloned this repo, and a project is launching ok.
But when i make POST request to it, solver responses with status OK, but response value is "Attention required"

I've tried this link: "http://ru.pm-498.info/en/live.html"
I just wondering what should i do to fix it.
Regards.

Check out my spin-off of this project, CloudProxy.
I just tested it and it works successfully on the example URL you provided. However, my request wasn't flagged by CF. If you encounter this error feel free to open an issue on my repo, try and paste the entire response value so I can see what kind to message CF is sending. It could be related to your IP.

Check out my spin-off of this project, CloudProxy.
I just tested it and it works successfully on the example URL you provided. However, my request wasn't flagged by CF. If you encounter this error feel free to open an issue on my repo, try and paste the entire response value so I can see what kind to message CF is sending. It could be related to your IP.

Oh Thanks, i'll take a look. I'd bypassed too at first time, but when i did ~10th request, it got banned like this.

Well with the use of sessions which I added to my version you won't have to keep passing the challenge over and over. You'll only need to pass it once per session instance.

FlareSolverr 1.2.0 is out!
It's working for all sites protected by CloudFlare.
Installation => https://github.com/FlareSolverr/FlareSolverr#docker


coda_recognize_file_fuzzer: Out-of-memory in coda_recognize_file_fuzzer

   #8 0x56552655c278 in read_dim_array third_party/stcorp_coda/libcoda/coda-netcdf.c:131:19
    #9 0x56552655affb in coda_netcdf_reopen third_party/stcorp_coda/libcoda/coda-netcdf.c:898:9
    #10 0x565526551daf in reopen_with_backend third_party/stcorp_coda/libcoda/coda-product.c:404:17
    #11 0x56552654ea78 in open_file third_party/stcorp_coda/libcoda/coda-product.c:552:9
    #12 0x56552654e3ba in coda_recognize_file third_party/stcorp_coda/libcoda/coda-product.c:596:9
    #13 0x5655264610b1 in LLVMFuzzerTestOneInput third_party/stcorp_coda/fuzz/coda_recognize_file_fuzzer.cc:19:3

testcase-5173175302488064.zip
I have this fix locally that limits the number of dimensions, but maybe there is something else that can be done to catch non-sensical values.  At a minimum, there can't be more dimensions than the available remaining file size / minimum storage per dimension.  Can a negative number of dimensions ever be valid?  I'm guessing no.  Can things have zero dimensions in a netcdf file?
    if (tag != 10)      /* NC_DIMENSION */
    {
        coda_set_error(CODA_ERROR_PRODUCT, "invalid netCDF file (invalid value for NC_DIMENSION tag)");
        return -1;
    }

    // BEGIN GOOGLE MODIFICATION
    // The testcase has<PHONE_NUMBER>
    // fprintf(stderr, "num_dims %ld\n", *num_dims);
    if (*num_dims < 0 || 1000000)
    {
        coda_set_error(CODA_ERROR_PRODUCT, "Unreasonable num_dims (%ld) (%s:%d)",
                       *num_dims, __FILE__, __LINE__);
        return -1;
    }
    // END GOOGLE MODIFICATION

    *dim_length = malloc((*num_dims) * sizeof(int64_t));
    if (*dim_length == NULL)
    {
        coda_set_error(CODA_ERROR_OUT_OF_MEMORY, "out of memory (could not allocate %lu bytes) (%s:%u)",
                       (*num_dims) * sizeof(int64_t), __FILE__, __LINE__);
        return -1;
    }

We already had a check for this in in read_length_value. It just wasn't applied to 32bit lengths yet. This is fixed in 9b442add1bfb18835392cd8bf708375fb5713132


[Discussion] Preview for scenes

Do you think it would make sense to have some kind of preview for tscn files without having to open the scene?
e.g. I have a project with many different trees. Every tree has its own scene. When I'm looking for a specific tree I have to open every scene until I find the one I'm looking for and then close every other scene I have opened this way.
I thought of two possible solutions:

The preview could show inside the inspector.

Or maybe it could open the scene as a temporary tab, like in Atom or visual studio code when single-clicking on a text file from the folder-tree. And when you select another scene, the temporary tab closes automatically. When you change something inside the scene, the temporary tab turns into a normal scene tab.

What do you think?

Binary (.scn) scenes already have a preview, .tscn scenes also have one (it's stored in a cache directory of the Godot user data directory). You can see these when browsing files using the built-in file browser in Godot, but it may not always show up.

Thanks for the info, I didn't know that. I usually open the scenes via the filesystem-tree-area or by using the quick-open functionality.
But I was also looking for something a bit more interactive, like being able to rotate the camera inside the preview to get a better view of the scene (would only make sense for 3d scenes). But the more I think about it, the less I'm convinced that this a necessary feature. It's probably better to just open the scene...

@BeayemX interesting idea.
But I think the 3d preview would take quite a lot of resources. than it might be better to just open it.
I think the current image is a good compromise of getting enough information about the scene and not taking o much work to develop + easy to compute.

I like your idea number 2 for Godot to have a tabbed interface... Godot 4.0 FTW! :)


paket pack with enabled include-referenced-projects flag fails with NRE

Find the build log here https://ci.appveyor.com/project/ar3cka/journalist

I can reproduce

@pms1969 I fixed it in https://github.com/fsprojects/Paket/pull/1435, but I'm not completely sure why that was in there. Any ideas?

@ar3cka I released a new paket prerelease which allows you to test if the behaviour is correct. I mean the NRE should be gone, but you should look if the packages are built correctly.

ok, I'll check it out.

looks good.

I've checked. Package contains all assemblies. Thx.


Issue on page /index.html - The link to blogpost doesn't work

The link to the blog post on the documentation's index page doesn't work

Hm I was able to load it, would you be able to try again? Perhaps it was a temporary browser issue?

@krandiash weird, it still doesn't work for me. The link to the blogpost on the documentation page is https://hazyresearch.stanford.edu/blog/meerkat while if I go directly to the blog, the link to this specific article is  - http://meerkat.wiki/blog. Attached a gif also.

Ah, thanks for clarifying, looks like the link is wrong and should be https://hazyresearch.stanford.edu/blog/2023-03-01-meerkat, appreciate it!


Unable to import with Django 1.7b4 and Python 3.4

After installing this and including it in my INSTALLED_APPS tuple, I get this error when I try to run a dev server.
Is this just not Python 3 compatible yet?
c:\code\Tools\MSAnalysis\massspec>python manage.py runserver <IP_ADDRESS>:80
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "C:\Python34\lib\site-packages\django-1.7b4-py3.4.egg\django\core\management\__init__.py", line 4
27, in execute_from_command_line
    utility.execute()
  File "C:\Python34\lib\site-packages\django-1.7b4-py3.4.egg\django\core\management\__init__.py", line 3
91, in execute
    django.setup()
  File "C:\Python34\lib\site-packages\django-1.7b4-py3.4.egg\django\__init__.py", line 21, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "C:\Python34\lib\site-packages\django-1.7b4-py3.4.egg\django\apps\registry.py", line 85, in popul
ate
    app_config = AppConfig.create(entry)
  File "C:\Python34\lib\site-packages\django-1.7b4-py3.4.egg\django\apps\config.py", line 87, in create
    module = import_module(entry)
  File "C:\Python34\lib\importlib\__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
  File "C:\Python34\lib\site-packages\django_table-1.0.0-py3.4.egg\table\__init__.py", line 5, in <module>
ImportError: No module named 'tables'

thanks a lot!


Convert runJavascript to use QuickJS

See https://github.com/justjake/quickjs-emscripten

I would heartily recommend going with rquickjs instead. Compiles really well to Wasm, and Amazon’s llrt has all kinds of plugins to provide the standard globals like TextEncoder, crypto.subtle etc

https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_Wasm

Easiest way: wasm-pack. It even generates a package.json and stuff.
And for all the low-level questions and needs you might have about compiling Rust to WebAssembly, I'll shamelessly self-plug my blog post.

Thank you so much. At this point, my next step is to get something together very quickly to run existing runJavascript configs through and see what breaks.


health check: allow request header formatting for HTTP health check request

Description:
This PR enables the use of header formatting pattern for HTTP health check request.
And while at this, the hostname initialization is moved to the HttpActiveHealthCheckSession's constructor for consistency.
Risk Level: Low.
Testing: Unit test.
Docs Changes: Updated.
Release Notes: Added.
Fixes #3835
Signed-off-by: Dhi Aurrahman<EMAIL_ADDRESS>

Thanks for doing this! I tried this branch out and it definitely fixed my issue (injecting upstream metadata)

@bplotnick thank you for verifying this!
@zuercher, thanks for the review. Updated the doc and release note in here: 75d1be9.

@zuercher is there anything else that I need to look at? Thanks

@alyssawilk do you have time to take a look?


feat(markerclustererplus): add className property for ClusterIconStyle

Closing https://github.com/googlemaps/v3-utility-library/issues/589

@jpoehnelt FYI

@jpoehnelt Hey, do you have any updates on that?

@thekip Thanks and sorry for the delay!


Cookiecutter

Add a reference to a mixed layout python/rust package cookiecutter.
Very much still a work in progress.
pip install . and deploying to pypi on tagged commit through travis_ci should work out of the box.
Most other features have not been tested.
Contributions welcome

I think that an example/template for the mixed layout is definitely a good idea, however I'm not sure if cookiecutter-pypackage is right base for that. Cookiecutter is centered around setup.py, while pyo3-pack is based on the new PEP 517 with its pyproject.toml. Also note that idiomatic testing with tox is currently blocked on a tox bug (https://github.com/tox-dev/tox/issues/1344).

My fork of cookiecutter-pypackage has removed setup.py and tox. It just has a make pattern for testing which uses pyo3-pack develop and pytest. Travis handles making virtual environments for testing different versions.


Unable to self update the certificate

The ingress should poll the backend daily and installs a (re)new(ed) cert once it is there.
This is realized as a dcron cronjob /etc/periodic/daily/nginx-renew.
PID   USER     TIME  COMMAND
    1 root      0:00 nginx: master process nginx -g daemon off;
   52 root      0:17 crond -L/dev/null

This cronjob is never triggered from a vanilla deployment. A manual trigger works like a charm.

I need to investigate further. Seems there are possible pitfalls...
First we really need to enable crond and cronjob logs to docker.
Actually I'm checking if this strange behaviour is a potential root cause.

The renew crontab doesn't use the internal auth endpoint which is also not inherited to crond by the entrypoint. Instead wrong inherited DNS3L_AUTH_URL is used after bootstrapping causing an invalid auth token. Proper but not inherited DNS3L_AUTH_URL default is used after restart which worked perfect. Hmmpf.


Inaccurate reciprocal affects tan outside [-1. 1]

Describe the bug
Inaccurate results from sfpu_reciprocal affects precision of other ops, such as ttnn.tan.
To Reproduce
Steps to reproduce the behavior:

Checkout tenstorrent/pytorch2.0_ttnn#276
Run pytest tests/lowering/eltwise/unary/test_tan.py
Get the xfailed test case that tests [-2, 2]

Expected behavior
That test case should pass, and then we can remove the xfail mark.
Screenshots
I once ran the test without xfail.  The expected -9.7500 became 6.7139e-04.
expected_pytorch_result = tensor([[ 0.9609,  0.8750,  0.4863,  ..., -9.7500,  0.3066,  0.2383]],
       dtype=torch.bfloat16)
actual_pytorch_result = TorchTensor([[9.6094e-01, 8.7109e-01, 4.8633e-01,  ..., 6.7139e-04,
              3.0469e-01, 2.3828e-01]], dtype=torch.bfloat16), pcc = 0.999

    def assert_with_pcc(expected_pytorch_result, actual_pytorch_result, pcc=0.999):
        assert list(expected_pytorch_result.shape) == list(
            actual_pytorch_result.shape
        ), f"list(expected_pytorch_result.shape)={list(expected_pytorch_result.shape)} vs list(actual_pytorch_result.shape)={list(actual_pytorch_result.shape)}"
        pcc_passed, pcc_message = comp_pcc(expected_pytorch_result, actual_pytorch_result, pcc)
>       assert pcc_passed, construct_pcc_assert_message(pcc_message, expected_pytorch_result, actual_pytorch_result)
E       AssertionError: 0.026999771597640554

tests/utils.py:218: AssertionError

Please complete the following environment information:

OS: Ubuntu 20.04 with a TT-LoudBox
Version of software: #14368, tenstorrent/pytorch2.0_ttnn#276

Additional context
I double-checked the formula for tan.  This branch is for 1 < |x| < π/2, where x = πv.
https://github.com/tenstorrent/tt-metal/blob/754a92c00139d19a42c4d940dab569ea2d09cd38/tt_metal/hw/ckernels/blackhole/metal/llk_api/llk_sfpu/ckernel_sfpu_trigonometry.h#L63-L66
We have the identities:

tan(π/2 - x) = cot(x)
1/tan(x) = cot(x)

Therefore, tan(x) = 1 / tan(π/2 - x)

This issue looks to be closely related to the request we have from the LLK team on #14672


error when doing /awt reset normal

Hello.
I want to report that I get this error whenever I do /awt reset normal. I am not sure if it is anything I am doing but it is an error in the console and in the game so just a heads up. Thanks. https://pastebin.com/DHAJEmN8

Thank you for reporting! Even if you haven't installed Discord SRV, there is a bug that it will be loaded, so we will fix it.

I do have discordsrv installed.

After investigating, I found out that the error occurs when DiscordSRV is included, but the use of DiscordSRV is set to false in Config. Please try to see if it recurs with the fixed version 1.4.

It is fixed. Thanks.


Recognize IDs added by markdown-it-attrs

markdown-it-attrs makes it possible to define custom slugs for headers. For example,
# This is an example header { #foo-bar }

…becomes…

This is an example header

Is there a way to make markdown-it-table-of-contents recognize these pre-existing header IDs instead of making up its own?

Closing as noone seems to want to do a fix for it. If you create a with PR with the necessary fixes I'd accept it.


Introduced flags in workflows

Codecov Report

Merging #4 (a60451c) into main (384b1d7) will decrease coverage by 16.36%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main       #4       +/-   ##
===========================================
- Coverage   63.92%   47.55%   -16.37%
===========================================
  Files          24       12       -12
  Lines        4540     2450     -2090
===========================================
- Hits         2902     1165     -1737
+ Misses       1638     1285      -353

Flag
Coverage Δ

packchk
47.55% <ø> (?)

packchk1
?

projmgr1
?

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

Impacted Files
Coverage Δ

tools/projmgr/src/ProjMgrXmlParser.cpp

tools/projmgr/src/ProjMgrYamlParser.cpp

tools/projmgr/src/ProjMgrUtils.cpp

tools/projmgr/src/ProjMgrParser.cpp

tools/projmgr/src/ProjMgrYamlEmitter.cpp

tools/projmgr/src/ProjMgrGenerator.cpp

tools/projmgr/src/ProjMgrKernel.cpp

tools/projmgr/src/ProjMgrLogger.cpp

tools/projmgr/src/ProjMgrWorker.cpp

tools/projmgr/src/ProjMgrCallback.cpp

... and 2 more


Use SCEP CA to issue other certificates

Noting as issue for later fleshing out. Things like DEP keypair, package/profile signing, https TLS, etc.

Wrong repo. :)


Schedule non-MW sensors

Right now, the scheduler assumes that the sensor capacity is given in MW.
It should become more versatile, e.g. for kW.
Now that we have better support for a lot of units this should be possible.

@victorgarcia98 There was some work done in #1007 but it's unclear what is left - especially to improve the user perspective. Can a battery sensor for which I trigger a schedule in the API have any unit by now?


#喵喵更新 失败

云崽是在docker里运行的，提示不是一个git存储库？
`’喵喵更新失败！
Error code: 128
Error: Command failed: git  pull
fatal: not a git repository (or any parent up to mount point /app/Yunzai-Bot)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
at ChildProcess.exithandler (node:child_process:410:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:513:28)
at Pipe.<anonymous> (node:net:757:14)

请稍后重试。`

我的是这样
喵喵更新失败！
Error code: 1
Error: Command failed: git  pull
error: Your local changes to the following files would be overwritten by merge:
config/profile_default.js
Please commit your changes or stash them before you merge.
Aborting
at ChildProcess.exithandler (node:child_process:398:12)
at ChildProcess.emit (node:events:527:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)

请稍后重试。

已自行解决


Large external dependencies in xray package introduced by v1.5.0

The release of v1.5.0 has brought in some heavy-weight dependencies via https://github.com/aws/aws-xray-sdk-go/pull/292 and https://github.com/aws/aws-xray-sdk-go/pull/299. Prior to this release, the xray package's dependencies have primarily consisted of dependencies that typically derive from the standard library.
This approach has implications in both binary size and the amount of vendored dependencies.
It would be great if features that incurred heavy external dependencies were offerred in a way that was a easier to opt-in as a consumer of the package.
Example
Take a fairly simple Lambda that uses an instrumented AWS service, we get the following:

v1.4.0

go build: 14MB
117 dependencies (49 internal, 68 external, 0 testing).

v1.5.0

go build: 20MB
235 dependencies (67 internal, 168 external, 0 testing).

package main

import (
	"context"

	"github.com/aws/aws-lambda-go/events"
	"github.com/aws/aws-lambda-go/lambda"
	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/s3"
	"github.com/aws/aws-xray-sdk-go/xray"
)

func main() {
	sess := xray.AWSSession(session.Must(session.NewSession()))
	svc := s3.New(sess)

	lambda.Start(func(ctx context.Context, event events.S3Event) {
		for _, record := range event.Records {
			_, err := svc.HeadObjectWithContext(ctx, &s3.HeadObjectInput{
				Bucket: aws.String(record.S3.Bucket.Name),
				Key:    aws.String(record.S3.Object.Key),
			})
			if err != nil {
				panic(err)
			}
		}
	})
}

I'm seeing similar behaviours to above - agree, we want to stay up to date with the xray package, but ideally would like to avoid the bloat that grpc/etc. has added as we don't use these paths.

It looks like Go's dead code elimination doesn't work that great for removing the dependencies from a package even if not used. We probably should have made a package for each instrumentation. This was a miss by us, but unfortunately we'd need to do a major version release to move things around at this point.
OpenTelemetry seems to appropriately split packages for each instrumentation so that should not have the problem. We're currently working on Lambda support for it and hopefully that'll provide a better experience going forward.
https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/instrumentation
In the meantime, is it possible to use the go.mod exclude directive to exclude the unneeded transitive dependencies?

Thanks for the quick response.
IIRC the exclude directive is intended for preventing a specific version of a module being loaded so wouldn't be suitable for this.
There is a possibility to retract v.1.5.0 without needing to resort to a major release. But I realise that this would be a bit of effort and still have non-zero downstream impacts.
Definitely looking forward to OpenTelemetry being a viable option. :+1:

@danielwhite Yeah I think the impact on downstream of retracting is something we want to avoid if possible, it will still mean code changes for gRPC users using this package I think. Given that, because we are currently working on the OTel based lambda instrumentation for Go (tracked at https://github.com/aws-observability/aws-otel-lambda/issues/101) and the impact of 6MB, while definitely not great, is a lot less than other possible blowups, we're leaning towards not making any changes on this though for any new instrumentations like #309 we will separate out a package. Do you think that this is ok for you and we can close the issue?


When a new certificate is available the secondary should just drop connections and get on with it..

Is your feature request related to a problem? Please describe.
Currently we are way too polite and it causes issues..
So @visual61 is the receiving half of the @kryz_9850 stream of SNMP stats. It stopped allowing new connections as it wanted to up date its certificate.

 It got stuck as there is no break in the data.. So as a test I shutdown the SNMP notifications and receivers and then after a while for the TCP connections to drop the new cert popped into place.

But we should think about killing all connections and just do the cert renewal, as that would be less distruptive that disallowing connections until " connections drop" as in this case they would never drop.

I will raise a ticket.. The good news, I did not bounce the secondary and the new cert is in place that secondary has been up for 4 weeks and handled about 620k notifications and about 4M data points.

Describe the solution you'd like
Just drop the connection and renew the certificate at some stage. Blocking incoming connections just caused a bigger outage than getting on with the cert renewal.
Describe alternatives you've considered
This is Dart bug/feature that needs raising with the team.. We should be able to change the security context on the fly so new connections use the new security context. Perhaps there is a way but I have not found it ?
Additional context
Perhaps force clients to disconnect occasionally instead ?

This is already fixed, it's in canary since a few days ago, not yet promoted to prod. See https://github.com/atsign-foundation/at_server/pull/1131 and https://github.com/atsign-foundation/at_server/issues/960

This is Dart bug/feature that needs raising with the team.. We should be able to change the security context on the fly so new connections use the new security context. Perhaps there is a way but I have not found it ?

There is no way to change it currently. The context can be supplied at bind time only.


kotlin-wasm-examples/browser-example build and run,Why is an error reported when importing wasm files: Unknown type kind: -49

I am using the http-server service。
Shouldn't we get the following results？

What did I do wrong??

Which version of Kotlin is used there?
Which browser and version do you use?

Anyway, it looks like a bug in the browser, please file an issue.


Feature support - allow overriding model attribute GraphQL types

related to #4, #10
In previous discussions it was requested to be able to override (input/output) types for attributes on the models. This is necessary for model types that use AR enums or contain embedded/formatted data in the attribute.
The discussion included the possibility of either mapping the types through a configuration entry, i.e.
attribute_name -> custom_type
or through convention
if const_defined?([model_name][attribute_name][type])
using either of these methods should support the authoring of the custom type for inclusion into the schema
I believe the easiest way to implement this would be to allow the custom type to be defined in an initializer and then be accessed via convention. This is an example for creating a custom enum type to match a Rails enum type defined on the model (AR enum types are available in AR 4.1)
in the app code
app/models/job.rb
#app/models/job.rb
class Job < ApplicationRecord
     enum status: { accepted: 100, released: 200, scheduled: 300, pending: 350, partially_sprayed: 375, sprayed: 400, billed:500, paid:600, cancelled: 10000, enrolled: 0 }
end

config/initializers/graphql_model_mapper.rb
#config/initializers/graphql_model_mapper.rb
GraphqlModelMapper::JobStatusAttributeType = GraphQL::EnumType.define do
  name "JobStatusAttributeType"
  # ...
  # use the `value:` keyword:
  value("Accepted", "", value: 'accepted')
  value("Released", "", value: 'released')
  value("Scheduled", "", value: 'scheduled')
  value("Pending", "", value: 'pending')
  value("Partially_sprayed", "", value: 'partially_sprayed')
  value("Sprayed", "", value: 'sprayed')
  value("Billed", "", value: 'billed')
  value("Paid", "", value: 'paid')
  value("Cancelled", "", value: 'cancelled')
  value("Enrolled", "", value: 'enrolled')
end

in the GraphqlModelMapper gem code the type would be searched before defaulting to the db_type search.
graphql_model_mapper/lib/mapper_type.rb
#graphql_model_mapper/lib/mapper_type.rb
if GraphqlModelMapper.const_defined?("#{model_name}#{column_name}AttributeType")
    field f.to_sym, -> {GraphqlModelMapper.const_get("#{model_name}#{column_name}AttributeType"))}
else
    field f.to_sym, -> {GraphqlModelMapper::MapperType.convert_type(...)

end
This would/could get more involved when defining the input type. Implementing an input type would require a custom resolver for that field since the custom type would need to be mapped back to the underlying model value. It should still be doable with an established, accepted, non-conflicting naming convention and some good examples to guide the extender author.
note: the string query capability in the select: input would still look at the underlying values on the table i.e status = 200
Thoughts?
Note: in the screenshot I used JobAttributeStatusType rather than JobStatusAttributeType as the naming convention

Example initialization for coverage of the previous status enum on Job model for inputs and outputs, utilizing the option of defining an argument for the input (to be able to intercept the prepare method as well as using a defined field for output (to enable intercepting the resolve method). The naming convention ("#{model_name.classify}#{column_name.classify}Attribute#{input/output}Type" allows the field type override to be picked up by convention. If you did not need to intercept the prepare and resolve methods you could simply use the enum type as the input/output argument/field type like so:
GraphqlModelMapper::JobStatusAttributeOutputType = GraphqlModelMapper::JobStatusAttributeInputType = GraphqlModelMapper::JobStatusAttributeEnumType

otherwise you could use the following to control the resolve and prepare methods
config/initializers/graphql_model_mapper.rb
#config/initializers/graphql_model_mapper.rb
GraphqlModelMapper::JobStatusAttributeEnumType = GraphQL::EnumType.define do
  name "JobStatusAttributeEnumType"
  value("Accepted", "", value: 'accepted')
  value("Released", "", value: 'released')
  value("Scheduled", "", value: 'scheduled')
  value("Pending", "", value: 'pending')
  value("PartiallySprayed", "", value: 'partially_sprayed')
  value("Sprayed", "", value: 'sprayed')
  value("Billed", "", value: 'billed')
  value("Paid", "", value: 'paid')
  value("Cancelled", "", value: 'cancelled')
  value("Enrolled", "", value: 'enrolled')
end

GraphqlModelMapper::JobStatusAttributeOutputType = GraphQL::Field.define do
  name "JobStatusAttributeOutputType"
  type(GraphqlModelMapper::JobStatusAttributeEnumType)
  description("testing")
  resolve ->(object, arguments, context) {
    object.status
  }
end

GraphqlModelMapper::JobStatusAttributeInputType = GraphQL::Argument.define do
  name "JobStatusAttributeInputType"
  type (GraphqlModelMapper::JobStatusAttributeEnumType)
  prepare ->(value, ctx) do
    value
  end
end

before update

update

after update

After a quick thought, it would probable make sense for these custom types constants to reside in their own namespace to avoid conflict with possible types in the GraphqlModelMapper module constants. Probably GraphqlModelMapper::CustomType or something similar

I've implemented this approach in #16 for review

I've also determined that if enums are used that I can convert the input/output types for that db field to a string and it will handle the mapping without a custom type. I've included this default behavior in the PR that can be applied without a custom type since without it the output was attempting to convert the enum value in the query result to its base db type (int) and showing a '0' if the field was not nil. It's a bit of misdirection and I'm not fond of it, but it's better than showing an invalid value IMO. I guess it's one step away from just converting it to an enum and maybe that would be better, but I'll stop here for now.

OK, I bit the bullet and worked around the Rails version issue and just decided to create the enum type when it is encountered. The type override will still be useful for other non-standard types but I figure the enum type was standard enough and used often enough to warrant not making the end user create a custom type to make it work as expected. The current enum type is used for input as well as output and if it is desired to intercept the response/prepare on the field/argument it will still need to be done in a custom type. Its also more apparent that when the type is showing an enum type that the value is not directly queryable in the form it is displayed.

custom types and automatic resolution of enum types for Rails >= 4.1 is now enabled in the master branch

included in v0.1.0 #20