Add code of conduct document (first-timers-only)

first-timers-only
This issue is tagged :octocat: first-timers-only. It is only for people who have never contributed to open source before, and are looking for an easy way take their first steps.
Consider this your chance to dip your toe into the world of open-source, and get some bragging rights for writing code that makes drones fly, lets cars find charging stations, helps people and goods get from place to place, and more.
Find more first-timers-only issues here:

Missions
Mission Control
Captain

Thank you for your help :heart:
What is this project?
DAV (Decentralized Autonomous Vehicles) is a new foundation working to build an open-source infrastructure for autonomous vehicles (cars, drones, trucks, robots, and all the service providers around them) to communicate and transact with each other over blockchain.
As an organization that believes in building a large community of open-source contributors, we often create issues like this one to help people take their first few steps into the world of open source.
Missions
The DAV project you are looking at is Missions. Missions is the client facing side of the marketplace connecting DAV users looking to ship packages, with autonomous vehicles such as drones.
How you can help
To help create an open and welcoming environment, we would like to have a code of conduct document as part of this project.
Please add a file called code_of_conduct.md to the root of the project. This file should be based on the Contributor Covenant Code of Conduct. This document requires an email address in it. Please enter<EMAIL_ADDRESS>Contributing to Missions

[ ] Fork the repository from the Mission Control GitHub page.
[ ] Clone a copy to your local machine with $ git clone git@github.com:YOUR-GITHUB-USER-NAME/missioncontrol.git
[ ] Add the file
[ ] Commit your changes and push your local changes back to github with $ git push -u origin master
[ ] Visit your fork on GitHub.com (https://github.com/YOUR-USER-NAME/missioncontrol) and create a pull request for your changes.
[ ] Make sure your pull request describes exactly what you changed and references this issue (include the issue number in the title like this: #2)

@sblasa - This one is all yours 👍

@TalAter thanks for the details! I will start on this one.

Thank you @sblasa. It's an important document for creating a welcoming community.
And congratulations on your first pull request! I hope it is the first of many contributions to open-source. ❤

@sblasa Thanks for your work. we are happy to see you make your first contribution to open source. :) Keep spreading the awesomeness. Feel free to join our hitter chat room.


Continously rotating without jumps between tours

I'm trying to achieve a very simple thing, rotating a square continuously without a jump between 2 tours.
I want to keep control of the position and therefore I don't want to use the loop property available in the different hooks.
I created a codesandbox to explain the current situation : https://codesandbox.io/s/twilight-http-l0jm0?file=/src/App.js
As you can see when it goes forward 360 degrees, it's animating all the way back to go to 0.
I suppose this is the expected behaviour. Thus, my question is, is there any way to smoothly animate between 2 rotation tours instead of animating all the way back?
Thanks in advance!

(this.state.currentRotationValueInDegrees + 10)
instead of
(this.state.currentRotationValueInDegrees + 10) % 360

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

(this.state.currentRotationValueInDegrees + 10) instead of (this.state.currentRotationValueInDegrees + 10) % 360

That works but that has the potential to lead soon or later to a Javascript exception caused by the MAX_SAFE_INTEGER  limit reached.

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。


Compute dtypes at runtime for fft

It looks like MKL's fft algorithm now supports smaller dtypes,
like float32 and complex64.  This removes our default dtypes to that
we determine dtype with a small computation
cc @jakirkham

[x] Tests added / passed
[x] Passes flake8 dask

Generally this seems reasonable. Wonder if we could cache known dtypes that we have already checked against to avoid repeating this lots of times.

Suppose we can add in some type caching if we find it slow. For now let's get this in.

Thanks for adding this @mrocklin. :)


Roll engine 209250da1bb3..f1d821d8fde7 (4 commits)

https://github.com/flutter/engine/compare/209250da1bb3...f1d821d8fde7
git log 209250da1bb31dd3cc56e9a96274e62c7d7d39ee..f1d821d8fde79569f801cb9c902c2e9d45b46fb6 --no-merges --oneline
f1d821d8f Set identity instead of crash in opt build (flutter/engine#9262)
8b44c521e Roll src/third_party/skia 187e8f31236f..084fa1b52f30 (1 commits) (flutter/engine#9310)
a39d4eca8 Roll src/third_party/skia 47c7e80e9552..187e8f31236f (1 commits) (flutter/engine#9309)
07f7932d7 Roll src/third_party/skia b9416caa367a..47c7e80e9552 (2 commits) (flutter/engine#9308)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


Bot thinks it can jump over fences

The bot seems to have a problem jumping over fences, likely because it just sees the fence as a single block instead of 1.5 blocks. It's safe to assume this problem also exists for walls.

Fixed


Task scripts should return non-zero if any tasks were DISABLED or FAILED

This would make error handling much simpler because the return code of a workflow would indicate whether it completed successfully. Workflows could then be run in a shell script which could check the return code and take appropriate action if anything failed (e.g. try again, trigger alerts, etc.).

Hmm, maybe that should be configurable from a command line flag to the luigi command. But I don't think we dare change the current behavior.

I actually agree with this,  think it would make more sense. What's the current behavior?

The current behavior is that we return 0, because the scheduler didn't crash.

I've changed my mind on this. I'm all for this being implemented. :)

I would say it should be optional. There is a difference between luigi & tasks failing.
Maybe some option like in salt i.e. --retcode-passthrough to pass return code from task to the runner.

I doubt we're going to break anything if we just exit 1. Should we try?

Follow progress in #1264


Update how-to-use-a-transactional-template-with-smtp.md

I have changed the word "transactional" to "legacy" as transactional templates means something different now. I have also created a warning, but not linked it to anything as of yet since the new dynamic templates have not been fully integrated into the documentation. Not sure if we have a way to change the URL from transactional templates to legacy templates.

Hello @kylearoberts,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Uninstall npm package gulp-load-plugins

Current Implementation

https://github.com/corona-warn-app/cwa-website/blob/14346df15158c57fbf7ad44f54ef6a326134d32c/package.json#L41

installs the npm package gulp-load-plugins.

The use of this package was removed through PR https://github.com/corona-warn-app/cwa-website/pull/3181.

The npm package gulp-load-plugins use was removed and replaced by individual imports of gulp modules. This is because it produced the error TypeError: Cannot read properties of undefined (reading 'filename') in an ESM environment.

Suggested Enhancement
Uninstall the unused npm package gulp-load-plugins.
Expected Benefits
Removing unused external software components reduces exposure to security and compatibility issues.

Internal Tracking ID: EXPOSUREAPP-14268

@MikeMcC399 Same here, thanks for the "house-keeping"!

PR https://github.com/corona-warn-app/cwa-website/pull/3196 resolves this issue.

Logically, uninstall of gulp-load-plugins belonged to PR https://github.com/corona-warn-app/cwa-website/pull/3181 however I deferred the uninstall due to a potential conflict with PR https://github.com/corona-warn-app/cwa-website/pull/3183 which was making major changes to npm packages, hence a separate issue and PR.


#52 breaks modeler when append anything is used with keyboard

Describe the Bug
Given I press a, and try to append a non-interrupting timer boundary event with keyboard only, it breaks the modeler. This is worse than the issue which https://github.com/bpmn-io/bpmn-js-connectors-extension/pull/52 aimed to fix, because without the fix the modeler is not broken.
Steps to Reproduce
https://user-images.githubusercontent.com/28307541/204483114-48d21a4f-faeb-4cc9-9a41-2ddf18dfc7b6.mov
Expected Behavior
Modeler does not break, and no errors are thrown.
Environment

Host (Browser/Node version), if applicable: [e.g. MS Edge 18, Chrome 69, Node 10 LTS]
OS: [e.g. Windows 7]
Library version: [e.g. 2.0.0]

Related to https://github.com/bpmn-io/bpmn-js/issues/1731

I reverted #52, and am releasing 0.4.4 in a while.

OK released.


References: Build links to external resources and display them in Detail

Priority because we are having a hackathon on this and this would help.
If a Resource has Base URL, and an entity has a Reference to that Resource with a Part filled in with a Value, then build the link as "Base URL + this Value", and show it in a clickable way in the Detail, at the side of that reference. The link will be labeled "external link", and will appear between Part and the action buttons.

@Ptrhnk thanks for implementing, seems done in the main deploy even?

@davidzbiral it was there but not working properly so I resolved the bug - when missing "/" at the end of link, it didn't build the link correctly


Release Candidate Comments (Reviews Declined)

This issue was created to collect comments about the upcoming metrics release.
This thread is for comments about Reviews Declined
GitHub location: https://github.com/chaoss/wg-evolution/blob/master/metrics/Reviews_Declined.md
See all release candidates of metrics are at:
https://chaoss.community/metrics-202001/

"Resources" should be "References"

Un-bold "Question"

@germonprez fixed by #304


Document  ref.kubemod.io/inject-node-ref  rule

In your docs you describe this "If you want to have this rule apply to pods which don't have this annotation, you can create another ModRule which injects ref.kubemod.io/inject-node-ref into any pod that matches a given criteria, or to all pods that are created in the cluster."
Unfortunately it is quite difficult to implement that, my lastest failing rule looks like this:

---
apiVersion: api.kubemod.io/v1beta1
kind: ModRule
metadata:
  name: inject-node-ref-annotation
  namespace: kubemod-system
spec:
  type: Patch
  targetNamespaceRegex: ".*"
  admissionOperations:
    - CREATE
    - UPDATE

  match:
    # Match pods...
    - select: '$.kind'
      matchValue: 'Pod'

    - select: '$.metadata.annotations["ref.kubemod.io/inject-node-ref"]'
      matchValue: "true"
      negate: true

  patch:
    # Add annotations ref.kubemod.io/inject-node-ref
    - op: add
      path: /metadata/annotations/ref.kubemod.io~1inject-node-ref
      value: "true"
---
apiVersion: api.kubemod.io/v1beta1
kind: ModRule
metadata:
  name: inject-topology-labels
  namespace: kubemod-system
spec:
  type: Patch
  targetNamespaceRegex: ".*"
  admissionOperations:
    - UPDATE

  match:
    # Match pods...
    - select: '$.kind'
      matchValue: 'Pod'
    # ...which have access to the node's manifest through the synthetic ref injected by KubeMod.
    - select: '$.syntheticRefs.node.metadata.labels'

  patch:
    # Grab the node's region and zone and put them in the pod's corresponding labels.
    - op: add
      path: /metadata/labels/topology.kubernetes.io~1region
      value: '"{{ index .Target.syntheticRefs.node.metadata.labels "topology.kubernetes.io/region"}}"'
    - op: add
      path: /metadata/labels/topology.kubernetes.io~1zone
      value: '"{{ index .Target.syntheticRefs.node.metadata.labels "topology.kubernetes.io/zone"}}"'

It would be great to have a working example in the docs.
Once I had the rule in place I could not spin up any new pod:
│ {"level":"info","ts":"2023-01-26 16:42:59.963Z","logger":"dragnet-webhook","msg":"Applying ModRule patch","request uid":"f59ff87d-3143-4f7b-a9d3-8e65351d6df9","namespace":"wp-bedrock-sample","resource":"pods/","operation":"CREATE","patch":[{"op":"add","path":"/metadata/annotations/ref.kubemod.io~1inject-node-ref","value":true}]}                  ││││││
│ {"level":"info","ts":"2023-01-26 16:43:05.121Z","logger":"dragnet-webhook","msg":"Applying ModRule patch","request uid":"eac8adc6-2cc0-4207-8264-6e8f8c44d47f","namespace":"wp-bedrock-sample","resource":"pods/","operation":"CREATE","patch":[{"op":"add","path":"/metadata/annotations/ref.kubemod.io~1inject-node-ref","value":true}]}                  ││││││
│ {"level":"info","ts":"2023-01-26 16:43:15.388Z","logger":"dragnet-webhook","msg":"Applying ModRule patch","request uid":"95182d7e-5d88-4142-a75f-d071fd1c1b73","namespace":"wp-bedrock-sample","resource":"pods/","operation":"CREATE","patch":[{"op":"add","path":"/metadata/annotations/ref.kubemod.io~1inject-node-ref","value":true}]}                  ││││││
│ {"level":"info","ts":"2023-01-26 16:43:25.383Z","logger":"dragnet-webhook","msg":"Applying ModRule patch","request uid":"ccfdc133-bf8b-4a1a-b6b0-9625beab68d7","namespace":"wp-bedrock-sample","resource":"pods/","operation":"CREATE","patch":[{"op":"add","path":"/metadata/annotations/ref.kubemod.io~1inject-node-ref","value":true}]}                  ││││││
│ {"level":"info","ts":"2023-01-26 16:43:25.408Z","logger":"dragnet-webhook","msg":"Applying ModRule patch","request uid":"508b45db-4c46-4b36-800f-6c4051a78e67","namespace":"wp-bedrock-sample","resource":"pods/","operation":"CREATE","patch":[{"op":"add","path":"/metadata/annotations/ref.kubemod.io~1inject-node-ref","value":true}]}                  ││││││
│ {"level":"info","ts":"2023-01-26 16:43:25.585Z","logger":"dragnet-webhook","msg":"Applying ModRule patch","request uid":"1d65cd07-51c2-4567-91a3-281dc934d107","namespace":"wp-bedrock-sample","resource":"pods/","operation":"CREATE","patch":[{"op":"add","path":"/metadata/annotations/ref.kubemod.io~1inject-node-ref","value":true}]}                  ││││││
│ {"level":"info","ts":"2023-01-26 16:43:35.894Z","logger":"dragnet-webhook","msg":"Applying ModRule patch","request uid":"50a132d7-1aa5-4692-a3e4-be75c75cc1ff","namespace":"wp-bedrock-sample","resource":"pods/","operation":"CREATE","patch":[{"op":"add","path":"/metadata/annotations/ref.kubemod.io~1inject-node-ref","value":true}]}                  ││││││
│ {"level":"info","ts":"2023-01-26 16:45:00.287Z","logger":"dragnet-webhook","msg":"Applying ModRule patch","request uid":"4d6adbb6-bc32-4d39-88db-081c2d6201f2","namespace":"wp-multisite-demo","resource":"pods/","operation":"CREATE","patch":[{"op":"add","path":"/metadata/annotations/ref.kubemod.io~1inject-node-ref","value":true}]}                  ││││││
│ {"level":"info","ts":"2023-01-26 16:45:00.387Z","logger":"dragnet-webhook","msg":"Applying ModRule patch","request uid":"6b4cdc1b-3de1-4831-af27-6990a664f2e2","namespace":"wp-bedrock-sample","resource":"pods/","operation":"CREATE","patch":[{"op":"add","path":"/metadata/annotations/ref.kubemod.io~1inject-node-ref","value":true}]}

Hi @runningman84,
Right - it would be best to document this.
The issue with the last version of your ModRules is that inject-node-ref-annotation ModRule attempts to inject annotation ref.kubemod.io/inject-node-ref with boolean value true, instead of with string "true".
Try this:
apiVersion: api.kubemod.io/v1beta1
kind: ModRule
metadata:
  name: inject-node-ref-annotation
  namespace: kubemod-system
spec:
  type: Patch
  targetNamespaceRegex: ".*"
  admissionOperations:
    - CREATE

  match:
    # Match pods...
    - select: '$.kind'
      matchValue: 'Pod'

    - select: '$.metadata.annotations["ref.kubemod.io/inject-node-ref"]'
      matchValue: 'true'
      negate: true

  patch:
    # Add annotations ref.kubemod.io/inject-node-ref
    - op: add
      path: /metadata/annotations/ref.kubemod.io~1inject-node-ref
      value: '"true"'

Two things to note:

The last line sets the value to '"true"' instead of 'true'. I know, this is not intuitive, but with a ModRule you are putting together a JSON patch, so you are allowed different types of values. The reason this ModRule rendered your cluster incapable of creating pods is that the patch with the boolean value of true ended up producing an invalid Pod manifest, which prompted the Kubernetes API server to keep retrying the KubeMod webhook. KubeMod itself is unaware of the issue, so it keeps patching and returning the patched (invalid) pod.
I changed the ModRule to apply only when Pods are created (see admissionOperations). You don't really need to reapply this annotation on every subsequent UPDATE.

@runningman84, documentation updated with a sample ModRule which injects ref.kubemod.io/inject-node-ref.

Thanks for your quick help, the labels now work as designed...
A common use case would be to add the AWS_ZONE as an env variable. I tried it this way:
---
apiVersion: api.kubemod.io/v1beta1
kind: ModRule
metadata:
  name: inject-topology-env
  namespace: kubemod-system
spec:
  type: Patch
  targetNamespaceRegex: ".*"
  admissionOperations:
    - UPDATE

  match:
    # Match pods...
    - select: '$.kind'
      matchValue: 'Pod'
    # ...which have access to the node's manifest through the synthetic ref injected by KubeMod.
    - select: '$.syntheticRefs.node.metadata.labels'

    - select: '$.spec.template.spec.containers[*].env[? @.name == "AWS_ZONE" ]'
      negate: true

  patch:
    # Grab the node's zone and put them in the pod's env.
    - op: add
      select: '$.spec.template.spec.containers[? @.name =~ "wordpress-bedrock-php-fpm" ]'
      path: /spec/template/spec/containers/#0/env/-
      value: |-
        name: AWS_ZONE
        value: {{ index .Target.syntheticRefs.node.metadata.labels "topology.kubernetes.io/zone"}}

Unfortunately the wordpress pods do not get the expected env in the php-fpm container section.

The reason this ModRule won't work is that it attempts to add a new environment variable to a container's spec during an UPDATE operation. This part of the Pod spec is immutable. You can only change it with a ModRule on CREATE.
In order to inject topology into the containers as environment variables, you should use a combination of KubeMod rules to copy node topology labels into pod labels, and then Kubernetes Downward API to grab the values from the pod labels and inject them as environment variables.
Here's the full list of resources:
ModRule to inject ref.kubemod.io/inject-node-ref into every pod
apiVersion: api.kubemod.io/v1beta1
kind: ModRule
metadata:
  name: patch-pod-with-inject-node-ref
  namespace: kubemod-system
spec:
  type: Patch
  targetNamespaceRegex: ".*"
  admissionOperations:
    - CREATE

  match:
    - select: '$.kind'
      matchValue: 'Pod'
    - select: '$.metadata.annotations["ref.kubemod.io/inject-node-ref"]'
      matchValue: 'true'
      negate: true

  patch:
    - op: add
      path: /metadata/annotations/ref.kubemod.io~1inject-node-ref
      value: '"true"'

ModRule to copy node topology labels into pod topology labels
apiVersion: api.kubemod.io/v1beta1
kind: ModRule
metadata:
  name: inject-topology-labels
  namespace: kubemod-system
spec:
  type: Patch
  targetNamespaceRegex: ".*"
  admissionOperations:
    - UPDATE

  match:
    # Match pods...
    - select: '$.kind'
      matchValue: 'Pod'
    # ...which have access to the node's manifest through the synthetic ref injected by KubeMod.
    - select: '$.syntheticRefs.node.metadata.labels'

  patch:
    # Grab the node's region and zone and put them in the pod's corresponding labels.
    - op: add
      path: /metadata/labels/topology.kubernetes.io~1region
      value: '"{{ index .Target.syntheticRefs.node.metadata.labels "topology.kubernetes.io/region"}}"'
    - op: add
      path: /metadata/labels/topology.kubernetes.io~1zone
      value: '"{{ index .Target.syntheticRefs.node.metadata.labels "topology.kubernetes.io/zone"}}"'

ModRule to create environment variable which pulls zone from pod's zone topology label
apiVersion: api.kubemod.io/v1beta1
kind: ModRule
metadata:
  name: inject-topology-variables
  namespace: kubemod-system
spec:
  type: Patch
  targetNamespaceRegex: ".*"
  admissionOperations:
    - CREATE

  match:
    # Match pods...
    - select: '$.kind'
      matchValue: 'Pod'
    # ...which have a wordpress container with no AWS_ZONE variable.
    - select: '$.spec.template.spec.containers[? @.name =~ "wordpress-bedrock-php-fpm" ]'
    - select: '$.spec.template.spec.containers[*].env[? @.name == "AWS_ZONE" ]'
      negate: true

  patch:
    # Construct a K8S Downward API ref environment variable to grab the zone from the label
    # injected by by ModRule inject-topology-labels.
    - op: add
      select: '$.spec.template.spec.containers[? @.name =~ "wordpress-bedrock-php-fpm" ]'
      path: /spec/template/spec/containers/#0/env/-1
      value: |-
        name: AWS_ZONE
        valueFrom:
          fieldRef:
            fieldPath: metadata.labels['topology.kubernetes.io/zone']

Perfect example please add that to your docs!


About the eos token

hi, i have a question about eos token.
In the file(hf_decoder_model.py), i find that you use the class of AutoTokenizer. i want to know if it will add the eos token automatically.

Different models have different behaviors on the eos token. If there is a specification of eos token in the model config, then it will add the eos token. Otherwise, the eos token will be None. Thanks!

do you mean it will be defined in the tokenizer_config.json?
I did find that there is a parameter "add_eos_token" in this file.
thank you!

yes you can modify it according to your setting.

thank you!


Implement Encode/Decode for BTreeSet

I add Encode/Decode for BTreeSet, because it is not implement.
And btree_set_workds checked.

Can you please merge lasted master. We don't use option as result of decode anymore.

@bkchr Many happened conflict. Can I resolve it?

I don't understand your question.

I execute git merge origin/master in this branch.
And many conflicts have happened.

Ah, The problem is that I forked from parity-codec-v3. I will fork from the master and try again.

Please just cherry-pick your two commits into your branch.

@pepyakin I don't understand your comment, the original set already should not contain any duplicates.

Not sure (not needed in most case), could be interesting to fail on unordered content when decoding (only allow set to be encoded/decoded as ordered content).

Hmm yeah, but also adds extra complexity/cost to the decoding.

@cheme I think that we should not allow using unordered contents sets.
Fortunately, Btree(Set|Map) meets that specification. But, Hash(Set|Map) is not.

@satellitex yes but as @bkchr point out, with current std btreeset implementation I do not know of a costless way to check content is rightly ordered without manually checking the ordering in the decode loop (checking if a value is added twice is natively supported but that will just do half the job of avoiding malleability).
This could be made optional, but it then does add upon code complexity.

Is unique Encoding/Decoding something we want to enforce ?
It seems to be an interesting property when we use it in the trie: two difference keys cannot be decoded as the same rust structure (or enum).
But I don't know how much it is interesting and important ?

@thiolliere
It is important to ensure that encoded a set of elements is always the same binary.
As you point out, there may be differences in the trie calculation results at each node.

If someone sees any further issues or have other ideas for improvements, just open an issue :)
@cheme made decoding for the compact unique and the rest should already be unique.


customRowAction parameter values list

Category

[x] Question

I would like to suggest a clear reference for the customRowAction key.
By searching this repo, I found the action parameter takes these three values:

editProps - opens the item edit form
executeFlow - runs flow
defaultClick - opens the item view form

Are there any other allowed values?

Thanks for your question!
Supported customRowAction values are:

defaultClick - opens the information panel (same as clicking on an item)
share - opens the sharing dialog for the item
delete - opens the delete confirmation dialog for the item
editProps - opens the item properties page in edit mode
executeFlow - launches a specified flow for the item (the Flow ID is specified in the actionParams attribute)

You can find the full documentation of these here: https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting#button-elements
Please reach out if you have any additional questions!

is there any property to perform the defaultClick open in new tab instead of same window?

Is there a way for customRowAction to perform a default item "selection" for it to work with a list porperty webpart?

Hello expert,
I used editProps and executeFlow in one of my list which works perfect in a list view. But when I embed my list as a webpart in a webpage in modern view, those actions don't work. Is there any workaround to get them working in a webpage? or at least hide the link when the list view is used as a webpart.


Page content not loaded

[Enter feedback here]

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

ID: f15f40a4-bae9-154b-752a-2e9f453d79e3
Version Independent ID: 3b937e0b-f919-f227-742f-dc740ad4e6f9
Content: What is Azure Pipelines? - Azure Pipelines
Content Source: docs/pipelines/get-started/what-is-azure-pipelines.md
Product: devops
Technology: devops-cicd-get-started
GitHub Login: @juliakm
Microsoft Alias: jukullam

@SairamSuravajhala-TomTom - All the content seems to load for me. Can you try again? Maybe it's a temporary glitch.


Game status

Complexity : mid
Task consists of next steps:

Implement routine to print game status - board, move, .
Implement command .status.

The next samples can be helpful:

Minimal chess game.


Any documents to tell how to quick start?

I cannot find any examples or document to explain how to run a server quickly

you can see mrniko/netty-socketio-demo for reference


Unstable notification visibility with Astro

Hi! I discovered this when upgraded to 2.4.4 from 2.2.1. In my astro app,  the notifications are not showing up completely, even though custom events are sent. To test this in another environment, I chose this example with astro. For some reason, the notifications stop appearing after some attempts to reload the page, but events seemed to be received, just as in my case. To be 100% sure that it's not a stackblitz issue, I tried doing it locally and yeah, the problem remained the same.
https://github.com/smastrom/notivue/assets/51422045/cb574982-76fb-46c6-a70a-69f7d0d09460

I am aware of that, unfortunately either Astro or Vue for Astro changed something regarding their server rendering behavior between those versions that made it unstable. I also had issues with this setup.
Since they both have been releasing only minor versions, it's 100% their "fault", not sure if Astro or Vue though. If it is not fixed on its own in 2 months I'll remove support for Astro because it's not acceptable that Vue packages stop working between minor versions.

Hi @MellKam, I have some updates regarding the matter.
After spending an hour testing combinations of all minor and patch releases of astro, @astrojs/vue, and vue released since their latest major, I was able to identify which package breaks Notivue.
<EMAIL_ADDRESS>is the release that if updated to, Notivue will stop working with both MPA and View Transitions. So as a workaround you can pin it to 4.0.7 and expect it to work.
Other packages involved (astro and vue) instead, can be safely updated to their latest version.
All of the above can be played with on StackBlitz. This is just a clone of the Astro example where only the @astrojs/vue version differs.
According to the above package changelog these were the fixes introduced:

4.0.8
Patch Changes

#9620 - Fixes class property hydration error

#9490 - Fixes a bug that caused styles referenced by appEntrypoint to be excluded from the build

That said, I have no idea why and how this clashes with Notivue as my Astro knowledge is limited to its consumer APIs.
For this reason, I am not sure on how to create a proper useful issue that may lead to solve the bug neither I would expect them to deal with Notivue's codebase as they probably have better things to do.
I would keep investigating in the next days, hoping to get enough material to open an useful issue.

@smastrom Thanks for your investigation. That's really interesting, how the patch release can break whole library XDD

@MellKam I believe it's inevitable as it's not an easy job to coordinate and maintain all these adapters, renderers, and all the core framework issues. At the end of the day they do an incredible job, I wouldn't even know where to start if I was in their shoes honestly.
I'll do my best to investigate even further hoping this can be sorted out as I'd prefer to not drop support for Astro.
And also, please let me know if you still encounter issues with<EMAIL_ADDRESS>

@smastrom I tried to changed the version of @astrojs/vue to 4.0.7 in stackblitz, but it still works 50/50

Have you tried with this one: https://stackblitz.com/edit/withastro-astro-qyesvk ?

Have you tried with this one: https://stackblitz.com/edit/withastro-astro-qyesvk ?

No, but that doesn't work for me either

Well, v4.0.7 defintely works on Firefox but yeah, on Chrome it doesn't. I also tried to downgrade Notivue till v2.2.1 but the strange behavior persists. I will take a better look at it and let you know. Thanks for trying it out.


Create sitemap.xml automatically

We should publish a sitemap.xml automatically to help search engines update our content faster.
There's an extension for hexo that does that. We probably want to add the scanner and other non static pages in there as well if they aren't pulled automatically.

Some tasks:

[ ] Generate sitemap
[ ] Add missing entries to sitemap
[ ] Exclude sitemap from caching strategy as it will always have the same value
[ ] Profit

Fixed via eef0ad8f71acc82ff7fa99ae47cab7fafb1d0e5b


ubi fails to install neovim: could not find any entries named nvim-linux64/bin/nvim

Describe the bug
Unclear "found entry" / "could not find any entries" sequence for the same entry:
DEBUG found tarball entry with path nvim-linux64/bin/nvim
DEBUG could not find any entries named nvim-linux64/bin/nvim
DEBUG Failed to install with ubi version 'v0.10.2': could not find any files named nvim-linux64/bin/nvim in the downloaded tarball, trying with<EMAIL_ADDRESS>
To Reproduce

Add to config: "ubi:neovim/neovim" = { version = "0.10.2", exe = "nvim-linux64/bin/nvim" }
mise i

Expected behavior
It should install at least Neovim binary. (Not sure is it will work and able to find it resource files.)
mise doctor output
version: 2024.11.3 linux-x64 (19a6ed0 2024-11-06)
activated: yes
shims_on_path: no

build_info:
  Target: x86_64-unknown-linux-gnu
  Features: DEFAULT, NATIVE_TLS, OPENSSL
  Built: Wed, 6 Nov 2024 11:58:14 +0000
  Rust Version: rustc 1.82.0 (f6e511eec 2024-10-15)
  Profile: release

shell:
  /bin/zsh
  zsh 5.9 (x86_64-pc-linux-gnu)

dirs:
  data: ~/.local/share/mise
  config: ~/.config/mise
  cache: ~/.cache/mise
  state: ~/.local/state/mise
  shims: ~/.local/share/mise/shims

config_files:
  ~/.config/mise/config.toml
  ~/.config/nvim/.mise.toml

backends:
  cargo
  core
  go
  npm
  pipx
  spm
  ubi
  vfox

plugins:
  jq<EMAIL_ADDRESS>  yamlfmt<EMAIL_ADDRESS>
toolset:
<EMAIL_ADDRESS>(missing)
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>  pipx:a13xp0p0v/kernel-hardening-checker@latest
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>  go:github.com/erning/gorun@latest
  go:golang.org/x/pkgsite/cmd/pkgsite@latest
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>  go:rsc.io/rf@latest
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>  go:github.com/koron/iferr@latest
<EMAIL_ADDRESS>  go:github.com/davidrjenni/reftools/cmd/fillswitch@latest
  go:github.com/davidrjenni/reftools/cmd/fillstruct@latest
<EMAIL_ADDRESS><EMAIL_ADDRESS>  go:golang.org/x/perf/cmd/benchstat@latest

env_vars:
  MISE_LOG_FILE=~/.local/share/mise.log
  MISE_LOG_FILE_LEVEL=info
  MISE_SHELL=zsh

settings:
  activate_aggressive = false
  all_compile = false
  always_keep_download = false
  always_keep_install = false
  asdf_compat = false
  cache_prune_age = "30d"
  ci = false
  color = true
  debug = false
  disable_backends = []
  disable_default_registry = false
  disable_hints = []
  disable_tools = []
  experimental = true
  fetch_remote_versions_cache = "1h"
  fetch_remote_versions_timeout = "10s"
  go_default_packages_file = "~/.default-go-packages"
  go_download_mirror = "https://dl.google.com/go"
  go_repo = "https://github.com/golang/go"
  go_set_gopath = false
  go_set_goroot = true
  go_skip_checksum = false
  http_timeout = "30s"
  jobs = 4
  legacy_version_file = true
  legacy_version_file_disable_tools = []
  libgit2 = true
  lockfile = false
  log_level = "info"
  not_found_auto_install = true
  paranoid = true
  pin = false
  plugin_autoupdate_last_check_duration = "7d"
  quiet = false
  raw = false
  trace = false
  trusted_config_paths = [
      "~/.config/mise/config.toml",
      "~/.config/nvim/",
      "~/proj/soft/golangci-lint-strict/",
  ]
  use_versions_host = true
  verbose = false
  yes = false

  [cargo]
  binstall = true

  [node]

  [pipx]
  uvx = true

  [python]
  default_packages_file = "~/.default-python-packages"
  pyenv_repo = "https://github.com/pyenv/pyenv.git"
  venv_auto_create = false
  venv_stdlib = false

  [ruby]
  default_packages_file = "~/.default-gems"
  ruby_build_repo = "https://github.com/rbenv/ruby-build.git"
  ruby_install = false
  ruby_install_repo = "https://github.com/postmodern/ruby-install.git"

  [status]
  missing_tools = "if_other_versions_installed"
  show_env = false
  show_tools = false
No warnings found
No problems found

Additional context
$ mise i -v
DEBUG ARGS: mise i -v
DEBUG vfox_plugin: "/home/powerman/.local/share/mise/plugins/yamlfmt"
DEBUG vfox_plugin: "/home/powerman/.local/share/mise/plugins/jq"
DEBUG config: ~/.config/nvim/.mise.toml
DEBUG config: ~/.config/mise/config.toml
DEBUG install_versions: ubi:plandex-ai/plandex@cli/v1 <EMAIL_ADDRESS>ubi:JohnnyMorganz/stylua@latest ubi:ast-grep/ast-grep@latest shellcheck@latest
INFO<EMAIL_ADDRESS>          installing
DEBUG GET https://api.github.com/repos/neovim/neovim/releases/tags/0.10.2
DEBUG starting new connection: https://api.github.com/
DEBUG GET https://api.github.com/repos/neovim/neovim/releases/tags/0.10.2 404 Not Found
DEBUG Failed to get release for<EMAIL_ADDRESS>trying with 'v' prefix: HTTP status client error (404 Not Found) for url (https://api.github.com/repos/neovim/neovim/releases/tags/0.10.2)
DEBUG Parsed --project neovim/neovim = neovim / neovim
DEBUG exe name = nvim-linux64/bin/nvim
DEBUG install path = /home/powerman/.local/share/mise/installs/ubi-neovim-neovim/0.10.2/bin/nvim-linux64/bin/nvim
DEBUG adding GitHub token to GitHub requests
DEBUG starting new connection: https://api.github.com/
DEBUG filtering out assets that do not have a valid extension
DEBUG skipping asset with invalid extension: nvim-linux64.tar.gz.sha256sum
DEBUG skipping asset with invalid extension: nvim-macos-arm64.tar.gz.sha256sum
DEBUG skipping asset with invalid extension: nvim-macos-x86_64.tar.gz.sha256sum
DEBUG skipping asset with invalid extension: nvim-win64.msi
DEBUG skipping asset with invalid extension: nvim-win64.msi.sha256sum
DEBUG skipping asset with invalid extension: nvim-win64.zip.sha256sum
DEBUG skipping asset with invalid extension: nvim.appimage
DEBUG skipping asset with invalid extension: nvim.appimage.sha256sum
DEBUG skipping asset with invalid extension: nvim.appimage.zsync
DEBUG skipping asset with invalid extension: nvim.appimage.zsync.sha256sum
DEBUG current OS = linux
DEBUG matching assets against OS using (?i:(?:\b|_)linux(?:\b|_|32|64))
DEBUG matching OS against asset name = nvim-linux64.tar.gz
DEBUG matches our OS
DEBUG matching OS against asset name = nvim-macos-arm64.tar.gz
DEBUG does not match our OS
DEBUG matching OS against asset name = nvim-macos-x86_64.tar.gz
DEBUG does not match our OS
DEBUG matching OS against asset name = nvim-win64.zip
DEBUG does not match our OS
DEBUG current CPU architecture = x86_64
DEBUG matching assets against CPU architecture using (?ix)
        (?:
            \b
            |
            _
        )
        (?:
            386 | i586 | i686
            |
            x86[_-]32
            |
            x86[_-]64
            |
            x64
            |
            amd64
            |
            linux64
            |
            # This is gross but the OS matcher will reject this on non-Windows
            # platforms.
            win64
        )
        (?:
            \b
            |
            _
        )

DEBUG there is only one asset that matches our OS
DEBUG matches our CPU architecture
DEBUG only found one candidate asset
DEBUG picked asset from matches named nvim-linux64.tar.gz
DEBUG picked asset named nvim-linux64.tar.gz
DEBUG downloading asset from https://api.github.com/repos/neovim/neovim/releases/assets/196604884
DEBUG starting new connection: https://api.github.com/
DEBUG redirecting 'https://api.github.com/repos/neovim/neovim/releases/assets/196604884' to 'https://objects.githubusercontent.com/github-production-release-asset-2e65be/16408992/97155533-319e-4d69-974c-2195f347e8ad?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241106%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241106T165725Z&X-Amz-Expires=300&X-Amz-Signature=00338a524f93b5b587524be04b5f2dac3d1fed4ded124b7f539983c1a880117c&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dnvim-linux64.tar.gz&response-content-type=application%2Foctet-stream'
DEBUG starting new connection: https://objects.githubusercontent.com/
DEBUG archive path is /tmp/.tmpnI0QdE/nvim-linux64.tar.gz
DEBUG extracting binary from tarball at /tmp/.tmpnI0QdE/nvim-linux64.tar.gz
DEBUG found tarball entry with path nvim-linux64/lib/nvim/parser/c.so
DEBUG found tarball entry with path nvim-linux64/lib/nvim/parser/lua.so
DEBUG found tarball entry with path nvim-linux64/lib/nvim/parser/vimdoc.so
DEBUG found tarball entry with path nvim-linux64/lib/nvim/parser/vim.so
DEBUG found tarball entry with path nvim-linux64/lib/nvim/parser/markdown_inline.so
DEBUG found tarball entry with path nvim-linux64/lib/nvim/parser/markdown.so
DEBUG found tarball entry with path nvim-linux64/lib/nvim/parser/query.so
DEBUG found tarball entry with path nvim-linux64/share/applications/nvim.desktop
...skip 1906 lines...
DEBUG found tarball entry with path nvim-linux64/share/nvim/runtime/syntax/javascript.vim
DEBUG found tarball entry with path nvim-linux64/share/icons/hicolor/128x128/apps/nvim.png
DEBUG found tarball entry with path nvim-linux64/bin/nvim
DEBUG could not find any entries named nvim-linux64/bin/nvim
DEBUG Failed to install with ubi version 'v0.10.2': could not find any files named nvim-linux64/bin/nvim in the downloaded tarball, trying with<EMAIL_ADDRESS>DEBUG Parsed --project neovim/neovim = neovim / neovim
DEBUG exe name = nvim-linux64/bin/nvim
DEBUG install path = /home/powerman/.local/share/mise/installs/ubi-neovim-neovim/0.10.2/bin/nvim-linux64/bin/nvim
DEBUG adding GitHub token to GitHub requests
DEBUG starting new connection: https://api.github.com/
Error:
   0: Failed to install<EMAIL_ADDRESS>   1: Failed to install with ubi<EMAIL_ADDRESS>could not find any files named nvim-linux64/bin/nvim in the downloaded tarball

Location:
   src/backend/ubi.rs:123

Version:
   2024.11.3 linux-x64 (19a6ed0 2024-11-06)

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

have you verified this isn't a problem with ubi?

Sorry, exe = "nvim" works.


If Success/Warning/Failure Matches are not supplied for Monitor connector, use Nagios defaults

no longer applicable


[ceres] update to 2.2.0

Fixes https://github.com/microsoft/vcpkg/issues/34483
According to https://github.com/ceres-solver/ceres-solver/commit/2335b5b4b7a4703ca9458aa275ca878945763a34, remove feature cxsparse.
According to https://github.com/ceres-solver/ceres-solver/commit/0c88301e6658f9c52e54621d45e333dce35c09ec, add dependency metis for feature eigensparse.
Modify 0003_fix_exported_ceres_config.patch to add the required dependencies.
Modify find-package-required.patch to use the ports provided by vcpkg.

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

/azp run

According to https://github.com/ceres-solver/ceres-solver/commit/0c88301e6658f9c52e54621d45e333dce35c09ec, add dependency metis for feature eigensparse.

If I understood you correctly, you want to add a dependency on metis whenever the feature ceres[eigensparse] is requested? As far as I understand https://github.com/ceres-solver/ceres-solver/commit/0c88301e6658f9c52e54621d45e333dce35c09ec, metis is not a dependency of eigensparse, it's an optional extra - but I'm not 100% sure. If that is the case, then please don't pull in metis as a dependency whenever someone requests ceres[eigensparse].

What is the status of this PR? Is anyone still working on it? I would like to create another patch for Ceres which will be based on 2.2.0. So it would be nice to have this in master.

It would be really great to have Ceres 2.2.0 available in vcpkg, it's been out for quite a few months now.

@Cheney-W Are you still working on it?

So, is there any progress at the moment?

Bump🤜

@Cheney-W Any update on why this was closed? (Thanks for the efforts BTW!)

Just FYI, I intend to re-open a v2.2.0 PR after #39297 is merged.

I encountered some compilation issues during the update, and I'm not sure how to resolve them yet. To avoid blocking others from updating this port, I've decided to close this PR for now. I will carefully investigate the errors on my local machine, and once I resolve them, if no one else has updated this port, I will reopen my PR.

Another attempt here: https://github.com/microsoft/vcpkg/pull/42475 - getting close.


Prevent helm 3.10.3 linting failure

What this PR does / why we need it
Linting the timescaledb-single chart with a helm 3.10.3 fails.
https://github.com/timescale/helm-charts/issues/542 provides additional details and a fix.
Which issue this PR fixes

fixes #542

Special notes for your reviewer
None
Checklist

[x] Chart Version bumped
[X] CLA signed

@paulfantom Seems like this one should be easy to get review :-)


[tracegen] Enable BlockOnQueueFull in OTel SDK to make spans not dropped in spikes

Which problem is this PR solving?
[tracegen] Enable BlockOnQueueFull in OTel SDK to make spans not dropped in spikes
Short description of the changes
Call WithBlocking() from OTel SDK to enable BlockOnQueueFull=true to make spans not dropped when the queue is full.
Tested locally:

Before the change: Spans in tracegen were dropped when generated to jaeger-collector, even with just 1m duration and 1 worker.
With the change: Spans in tracegen were not dropped even with 1h duration and 10 workers.

@haanhvu in the future, use a branch in a fork to create PRs, don't do it from main. It both breaks the CI and makes it harder for you to keep main in sync with upstream.

@haanhvu in the future, use a branch in a fork to create PRs, don't do it from main. It both breaks the CI and makes it harder for you to keep main in sync with upstream.

Yeah, I just did a super quick change on main since it's a tiny PR. Forgot that CI didn't accept it...


Using the value of input_number as action field?

Suuuper quick question which I am unable to find the answer for it:
I have a input_number variable that contains an integer which is set by another automation (which works). It contains the Temperature required for the leaving water temperature of the heatpump.
I can set this only as an action → device (not service) as such:
          - device_id: 67472ecafa2092a1b9d0ef6f38173dfe
            domain: number
            entity_id: number.temperature_control
            type: set_value
            value: 38

Now this is static for 38. I want the 38 to be whatever input_number.daikin_ufh_lwt is:
          - device_id: 67472ecafa2092a1b9d0ef6f38173dfe
            domain: number
            entity_id: number.temperature_control
            type: set_value
            data_template:
              value: >-
              {{ states("input_number.daikin_ufh_lwt") | float }}

yields Message malformed: extra keys not allowed @ data['data_template'], while doing a
          - device_id: 67472ecafa2092a1b9d0ef6f38173dfe
            domain: number
            entity_id: number.temperature_control
            type: set_value
            value: >
              {{ states("input_number.daikin_ufh_lwt") | float }}

yields a Message malformed: expected float for dictionary value @ data['value']
The heat curve is perfect. I just need to punch that number in… *But How? :slight_smile:

          - service: number.set_value
            data_template:
              value: "{{ states('input_number.daikin_ufh_lwt') }}"
            target:
              entity_id: number.temperature_control

Dont use the Device, use this input_number. Woot!


lab 2 bubble

Fixes #302
Review of colleague's PR #
Changes proposed in this PR:
-

Codecov Report

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

@@          Coverage Diff          @@
##           master   #204   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      3    +1
  Lines          18     23    +5
=====================================
+ Hits           18     23    +5

Impacted Files
Coverage Δ

02_bubble/shuutech/main.go
100% <100%> (ø)

Continue to review full report at Codecov.

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

I believe you have 2 files commited that should not be.
The go binary and the "fmt" file.
You should remote them from version control.

I believe you have 2 files commited that should not be.
The go binary and the "fmt" file.
You should remove them from version control.

done!

You have commited the binary again, you should not be commiting the binary to the git repo ;)

The go-course is now closed. Thank you very much for participating.


Can we start doing releases?

There has been a lot of great work since the most recent release (March 2 :scream:) . I am working on an IOG project that is depending on a cornucopia of forks and arbitrary pinned commits, and am hoping to assess the work of depending on this official repo. It would be helpful in general to have more frequent minor releases and change logs in order to do the assessment, and also to track down changes to the dependencies of this lib. Is this something that we are able to start doing?

We have now, see v1.0.0 for latest cooked-version that supports Plutus V1. Currently, main is the development version of Plutus V2, it fully supports Plutus V2 features but we have yet to stabilize the API before we release cooked v2.0.0


+Adding school from Hanover - Germany

+Adding BBS|ME public vocational school

@TheCyk Pull request merged. Thank you!


[Backport release/2.8.x] fix(Make): explicitely set the KONG_SOURCE_LOCATION environment variable

Backport 19a08d9423ff8006c367cd0c99f1349c3f2858fd from #9822.

@hutchic Is this needed?

@dndx without it KBT will make a best effort guess where your kong source code is located.

Superseded by Bazel.

Bazel isn't on the 2.8.x branch yet ....


Try to find where github actions windows CI keeps clang so bindgen can use it.

might not work

i mean i found it, but can't make it work. I'll file a bug with clang-sys about this later.


Settings to override which eslint installation is used

Since I'm using eslint for vscode I like to keep my eslint installation and plugins installed globally. Sometimes when I'm working on a project that has a local installation of eslint, I want to be able to configure vscode to use the global installation instead, that way all of my plugins can be installed globally instead of locally. An example use case would be when working on projects created with create-react-app, which have a package called react-scripts installed which depends on eslint and runs it (with very specific configuration) before the project is ran through webpack. It would be very useful for vscode, in that situation, to ignore the local installation and use the global one instead. That way it would be possible to separate custom linting in the editor, and other linting at build time.
It would be nice for us to be able to specify something like { eslint.useInstallation: 'global' }
Alternatively it might be a better idea to allow users to specify a direct path to the eslint installation, much like the eslint.nodePath option. However this setting would stop the extension from looking in other locations for an installation. In any event, I think an option along the lines of {  eslint.pathOverride: 'path/to/eslint/bin'} would be very useful.

@TheMaxMarchuk this option exists: it is eslint.nodePath. If set the extension will prefer it over a local or global install eslint.
Please give it a try. If it doesn't help you please ping in this issue.


[ENHANCEMENT] Consider using drawTriangles or drawQuads instead of fillRect

I assume it might be a bit more performant than constantly drawing on the graphic, but is the difference big enough to be worth it? Are there any drawbacks?

Superceded by #19


user.current_otp code sent to user are always invalid

Hi, apologies if this is covered elsewhere but I've not been able to find any similar issues.
We recently upgraded to Rails (carefully following the upgrade guide) and everything works perfectly running locally with mailcatcher however, on production/staging environments the code sent in the mailer is always incorrect.
def send_otp
  user = self.resource = find_user
  @user = user
  @user.otp_secret = User.generate_otp_secret
  @user.save!
  OtpMailer.send_otp(@user).deliver!
  render 'devise/sessions/two_factor'
end

class OtpMailer < ApplicationMailer
  def send_otp(user)
    @user = user
    @otp = @user.current_otp
    mail(to: @user.email, subject: 'subject')
  end
end

When user.validate_and_consume_otp!(user_params[:otp_attempt]) is called it returns false preventing login.
I spent a long time digging into the env variables to see if encryption was somehow not working correctly but everything seems fine.
The strangest thing is that if I manually generate a code in the console on the server by doing user.current_otp and then input that same otp code to user.validate_and_consume_otp! the method returns true. That same otp code also works on the view allowing the user to login.
I would say it's just a problem with my setup if it wasn't for the above example and the fact that the exact same code works perfectly on local :shrug: .
I've tried logging the otp at every point to see if it changes somewhere without success so I'm not sure why invalid codes keep being sent. Any help or ideas would be much appreciated.
Thanks for your time!

Update/Possible solution
Just for reference in case anyone else is having similar problems, I managed to get round the issue by only conditionally generating a new secret to ensure that there is only ever one at a time by using the return of this: https://github.com/tinfoil/devise-two-factor/blob/733d11fe590bcfc14afc55082b33e83fe756c058/lib/devise_two_factor/models/two_factor_authenticatable.rb#L14-L20
The result for my case looks something like this:
  def send_otp
    user = self.resource = find_user
    @user = user
    # Only generate a new secret if user doesn't already have one
    if @user.otp_secret.nil?
      @user.otp_secret = User.generate_otp_secret
      @user.save!
    end
    OtpMailer.send_otp(@user).deliver!
    render 'devise/sessions/two_factor'
  end

I can only assume that new codes were being generated invalidating the old ones somehow. Still not sure why it wasn't happening in dev environments though.


[Snyk] Security upgrade org.springdoc:springdoc-openapi-starter-webflux-ui from 2.0.4 to 2.1.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

r2dbc/spring-boot-jooq-r2dbc-sample/pom.xml

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

544/1000  Why? Has a fix available, CVSS 6.6
Arbitrary Code Execution SNYK-JAVA-ORGYAML-3152153
org.springdoc:springdoc-openapi-starter-webflux-ui:  2.0.4 -> 2.1.0
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

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

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Closing in favor of #579


add missing swagger-models dependencies: issue #1941

See @webron 's comments on issue #1941 -- the team is unable to reproduce the error, and in fact after a day passed, I'm unable to reproduce the problem either.


Ability to select language mode in command palette itself

Currently, to select/change the language mode of a file, we need to click on the button at the bottom, which invokes the 'Language Mode Changer'.
I'd be great if we can select a language mode in the generic command palette itself.
(Like how it is in Sublime Text 3)
Usage example:

I type Shift+Ctl+P, the command palette opens up
I start typing javascript, the suggestions include: (Select Language Mode: JavaScript)
I select it, the language mode is changed.

@virajvchavan well you can do this to bring up the picker, isn't that enough?

@virajvchavan well you can do this to bring up the picker, isn't that enough?
It does seem enough for a user if he knows about this and is used to this.

For a new user, especially someone who comes from using Sublime Text, it will be intuitive to do this in one go from the generic command palette.
I created this issue because as a previous Sublime user(which has what I have described), to change the language mode I started typing 'javascript' in the command palette directly, and it did not give me an option to do so. Maybe there are some number of users who feel the same.


docs: There is no space between status bar & header bar.

Type: docs
Platform: ios 6 webview
I'm testing with a 'ionic view' app in iphone 6. There is any problem on the first page, but it happens when I use menu-toggle, modal and href and sth like these. There is no space between status bar & header bar.
So they overlaps. The height of status bar is 20px, and height of nav bar is 44px in iPhone. So I'm wondering if there is problem in 'ionic.css'.
Plz let me know how can I figure out this problem. thanks!

What version of ionic are you using in the app?
I just tested a fresh project on ionic view and everything seemed to work fine for me.

@mhartington oh it's 1.0.1..I think this is the latest version, right?
Have you tested in iPhone either?

Correct, that is the latest version.
I've also tested it right on the device as well (not inside of ionic view).
Could you share the app code?

@mhartington Here is my code :)  Really want to know the cause!!!

Html

Close

Css
.open-src-modal {
background-color:#4E67C6;
border: none;
border-radius: 4px;
color: #fff;
outline: none;
padding: 20px 40px;
}

html

2.css

3.js

here is my code!

Ah okay, so you just need to switch out the div with a class of header for an ion-header-bar. The directive will take care of adjusting it's height automatically.
Take a look at the codepen demo.
http://codepen.io/ionic/pen/gblny

Great! It works well. Thank you so much!
Can I have one more question?
I want to change status bar font color in iPhone.
So I've installed
cordova plugin add org.apache.cordova.statusbar

but my .run is designed like this.
So how can I make it?

You can use any style that is mentioned in the statusbar plugin docs page.
https://github.com/apache/cordova-plugin-statusbar


Add unit test for strings.StringInSlice

Add unit test, thank you!

This change is

This change is

Coverage increased (+0.1%) to 39.916% when pulling 1bd97e82727eda5c808e64a80e912d836690bbfc on chentao1596:add-unit-test-for-strings into 756b41bc231f361a7180be296993872f2004da87 on kubernetes:master.

Coverage increased (+0.1%) to 39.916% when pulling 1bd97e82727eda5c808e64a80e912d836690bbfc on chentao1596:add-unit-test-for-strings into 756b41bc231f361a7180be296993872f2004da87 on kubernetes:master.

/lgtm

@chentao1596 thanks!


Advanced Note function, !delnote !shownote !setnote

With this module you'll be able to create note for every users of the modmail.
When a user have a note, if he create a ticket you'll see the note at the top of the thread.
With the " !shownote " command you can see what note have a user ("!shownote ID" when you're not on a thread)
With the " !setnote text " command you can set a note for a user ("!shownote ID text" when you're not on a thread)
With the " !delnote ID " command you can delete a note for a user ("!delnote ID" when you're not on a thread)
Thanks for your review and have a nice evening

Fixed the 3 reports of DarkView

UP

It's good, should be merged

UP

UP

Thank you for the PR!


Add prometheus metrics config by default

Currently the prometheus config has to be added separately.
Since a lot of people will want to have metrics, perhaps it's useful to add it in the default config layout?
https://clickhouse.tech/docs/en/operations/server-configuration-parameters/settings/#server_configuration_parameters-prometheus

operator uses its own metrics-exporter that provides more data compared to the built-in ClickHouse Prometheus exporter. There is also a dedicated Grafana dashboard that is integrated with it: https://github.com/Altinity/clickhouse-operator/tree/master/grafana-dashboard
The operator's metrics-exporter has been designed before ClickHouse endpoint was available, and it is easier to adopt. Nevertheless, we are in a process of designing a solution that would allow operator to use ClickHouse endpoint that will require some extension and configurable tagging.

Ah perfect, thank you. I must have missed that. I'll have a look at the metrics and dashboard :-) Thanks!

Closing as there are existing metrics indeed and added the dashboard. Thank you for pointing me to it.


feat(settings): accept enablePersonalization boolean as a valid setti…

Q
A

Bug fix?
no

New feature?
yes

BC breaks?
no

Related Issue
Fix #693

Need Doc update
yes

Describe your change
Accept enablePersonalization boolean as a valid setting parameter

@Aallam Could you fix the latest conflicts, and then feel free to Rebase and Merge, everything LGTM 👍


Add asio 1.28.2

I wonder how can I test it locally ..

BcrValidationResult.FAILED<EMAIL_ADDRESS>is using an unstable source url: `https://github.com/chriskohlhoff/asio/archive/refs/tags/asio-1-28-0.zip`.
--
  | You should use a release archive URL in the format of `https://github.com/<ORGANIZATION>/<REPO>/releases/download/<version>/<name>.tar.gz` to ensure the archive checksum stability.
  | See https://blog.bazel.build/2023/02/15/github-archive-checksum.html for more context.

Asio upstream doesn't seems to have a releases/download artifacts. How can we do for this situation?

CI gives green now. May you take another look @fmeum .

@ltekieli Could you take a look as the current maintainer of the asio module?


Report profile

Issue
It should be possible to report a character profile, which would allow moderators to review a snapshot of the profile the character used at the time of the report.
Notes

Related to the updates of ToS:
#287
The report dialog should have a checkbox to include the profile in the report
The character profile should have a Report icon which opens the report dialog
The report command should open a dialog rather than sending the report right away. Any message should be prefilled.

Resolved in PR #307


Fix issue 705

Related Issue
#705
Description
Handle an error emerging case that tableData doesn't exist when the defaultSort applied.
https://codesandbox.io/s/new-tree-znzku?file=/src/App.js
Related PRs
List related PRs against other branches:

branch
PR

other_pr_production
link

other_pr_master
link

Impacted Areas in Application
List general components of the application that this PR will affect:
*
Additional Notes
This commit is based on the below assumptions;

The column's field value has to be(or usually) an unique value. (like id)
The column's id is as same as its index of the whole column array.

IF NOT, this pull request will cause some side-effects in case of the column's id customized.

Hi thanks for the fix. We are currently merging branches and can you move this PR to the master branch?

Hi! I moved the base branch of this PR to the master branch. Because of the commit between next and master branch, there are several other changes besides the fix commit.
But if this is not what you mean, please note me. I'll make a new PR to the master branch.
Thank you for your effort!

Done with the next release. Thanks


Fix Lint and test code GitHub Action

continue-on-error supports true and false values without backtick

Ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idcontinue-on-error
See error workflow here:
https://github.com/criblio/k8s-webhook-cert-manager/actions/runs/4572818414

LGTM


[Tizen] disable nns-edge on TV profile.

Disable nnstreamer-edge on TV profile.

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #389. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


New Miner WebUI scripts

Created a new miner called Master.Risklist Miner for Recorded Future Inc as discussed with Mr. Luigi Mori to fetch data with following features:
1.) by customizing risklist path (Fusion)
2.) by specifying a specific risklist (Connect API)

Should I close this PR since we already have #133 ?


fixed unvisible texts in canvas editor

Before the texts in Canvas Editor were not visible due to similar background color and text color.
I have fixed unvisible Texts issue in Canvas Pallet.
(labels: gssoc-extended, hacktoberfest-accepted)

Please mention your issue no.

Issue no. #148
Issue Title: The Canvas Editor options is not visible #148


Scrollbar in chrome is hide

When i use library classes in chrome it make scrollbar hidden but firefox no have any problems , How can make it unhide in chrome ?

I just use 'scrollbar-thin' class

Is there anyone?

same problem!

same!

Same here.

Anybody want to share some code? :)

It is working on chrome and firefox, here is some code
version<EMAIL_ADDRESS>file: tailwind.config.js
plugins: [require('tailwind-scrollbar')({ nocompatible: true })],
file js
<ul
      className={`flex flex-nowrap overflow-x-auto scrollbar-thin scrollbar-thumb-gray-300 scrollbar-thumb-rounded-full dark:scrollbar-thumb-red-100`}
    >
     <li
        className={`py-2 border-b-2 border-transparent hover:border-b-2 hover:border-green-800 hover:text-green-600 mx-3.5 relative`}
      >
      {quicklink}
     </li>
</ul>

Thanks for the extra confirmation, @datvnn. I'm gonna close this one for now.
For anyone seeing this kind of issue, the usual culprit (in my experience) is confusion around what the plugin's meant to do: it styles scrollbars; it doesn't have anything to say about when they appear. For that, the overflow family of utilities are your friend. No need to reinvent the wheel when they're already hanging around. :)


(FACT-1087) Add acceptance tests to validate SLES 10, 11 and 12

This commit adds a new fact-based acceptance test to validate
critical facts on SLES 10, 11 and 12.

Validating SLES 10 would be trivial, but I didn't because A) I'm not sure if we really care, and B) Beaker is choking on a curl call requiring commandline input to continue, so I wasn't able to properly test.

SLES10 is still supported until July 2016. Would appreciate validating on that platform as I'm still managing thousands of them.

@ghoneycutt can do!

CLA signed by all contributors.

Thanks @whopper  !!

How can I go about running these tests?

@MikaelSmith right now, you can do a puppet-agent vanagon build for SLES, install the resulting package on a SLES vmpooler VM, and run something like:
bundle exec beaker --hosts ./config/nodes/hosts_preserved.yaml --options config/git/options-no-provision.rb --no-provision --keyfile ~/.ssh/id_rsa-acceptance --preserve-hosts onfail --tests ./tests/facts

... where hosts_preserved.yaml has a config for a pre-provisioned SLES box, like so:
HOSTS:
  axrfkdtfmoh7c56.delivery.puppetlabs.net:
   roles:
   - agent
   platform: sles-11-x86_64
   hypervisor: vcloud
   template: sles-11-x86_64


Please add the feature for greying out unused variables and functions [Python]

I am currently using the VS Code 1.46.1. I have installed the plugins: python(2020.6.90262), docker(1.3.1), docker-compose(0.3.5), Remote-Containers(0.122.1).
I found that the unused python variables and functions cannot be greyed out. I would like to advocate to add the feature to grey out unused variables and functions, like PyCharm. This is very useful.

/extPython

using pylance instead of python solves this problem


WorkloadEntry: Add Status Field to Config

[ X] Configuration Infrastructure
[ X] Networking
adds much needed status field to config.Config
cc @howardjohn

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

Test name
Commit
Details
Rerun command

release-notes_istio
7084071cc46fb4c93f41649c17c4d7a402833463
link
/test release-notes_istio

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

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

Test name
Commit
Details
Rerun command

release-notes_istio
4397bfb5e4ce7d5ea994c75f90ed483f25500e8a
link
/test release-notes_istio

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

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

Test name
Commit
Details
Rerun command

release-notes_istio
4397bfb5e4ce7d5ea994c75f90ed483f25500e8a
link
/test release-notes_istio

unit-tests_istio
4397bfb5e4ce7d5ea994c75f90ed483f25500e8a
link
/test unit-tests_istio

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

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

Test name
Commit
Details
Rerun command

release-notes_istio
4397bfb5e4ce7d5ea994c75f90ed483f25500e8a
link
/test release-notes_istio

unit-tests_istio
4397bfb5e4ce7d5ea994c75f90ed483f25500e8a
link
/test unit-tests_istio

integ-security-k8s-tests_istio
4397bfb5e4ce7d5ea994c75f90ed483f25500e8a
link
/test integ-security-k8s-tests_istio

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

/retest

can someone add release-notes-none to this?
@howardjohn @hzxuzhonghu

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

Test name
Commit
Details
Rerun command

unit-tests_istio
4397bfb5e4ce7d5ea994c75f90ed483f25500e8a
link
/test unit-tests_istio

integ-security-k8s-tests_istio
4397bfb5e4ce7d5ea994c75f90ed483f25500e8a
link
/test integ-security-k8s-tests_istio

release-notes_istio
4397bfb5e4ce7d5ea994c75f90ed483f25500e8a
link
/test release-notes_istio

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

@adiprerepa added the release-notes-none label

/retest

thank you @ramaraochavali


[🌎 Group Effort]: create a new logo for our community (open to everyone, no assign required)

Hello contributors! We would like to have a new logo for our community and would love to have your help with that.
To this task, we imagined a different kind of issue. This active issue will not have an assignee, it will be an open issue where anyone that feels like can send your logo idea on the comments
We will leave it open for some time, and then will make a pool to choose the best one!
The best idea will have the logo presented on our github, discord and our socials. We will give credit to you on GitHub, but remember, we want it to be open source as well :wink: !!
Tips:

Try to create something that represents RUXAILAB as an organization
Be creative! Try to make something unique
If you are in doubt about colors, you can follow up RUXAILAB main repository colors as a reference

Send your ideas here on this issue to be considered and not on DMs please.
Thanks!

The logo must include the name which helps establish immediate recognition, especially for new organizations/communities. the name clarifies the org identity and purpose, making it easier for customers to associate the logo with services such as a remote lab. Using the full name allows the logo to stand out and create a unique identity.
Let's say "RUXAILAB," with the letters "AI" to highlight the AI aspect. The globe symbolizes the platform's global reach and remote nature, while the interconnected nodes or circuitry patterns represent the AI-driven aspect.
I want to know about any preferred colors or gradients RUXAILAB uses.

here is my first draft any changes or improvement is very much welcomed.

@KarinePistili is there any theme that RUXAILAB follows? like the font color scheme etc.

Hi @DarrenDsouza7273 and @abhayku2002 here are some colors we have into ruxailab main repository theme:
#FF9800
#414d55
#8e8e8e
#ffcd86
#fca326

@saltykheera I like that is very clean and concise

@saltykheera I like that is very clean and concise

what should be my next step ?

I think you can do some variations of it, changing the background to white, also a no background option.
Maybe some options with the RUXAILAB title written beside or below it to see how it fits in multiple scenarios.
@saltykheera

is sushi related in anyway?

Not anymore. Before we used to be called Uramaki LAB as our organization was focused on mixing up several areas of knowledge in one place. So the uramaki theme used to fit with vibe.
Right now we are updating it all to be called RUXAILAB, to represent better our main repository and efforts. So that's why we would also want to rethink our logos and way of promoting the orgs name ;D

here are few sample!!!!
@KarinePistili any feedback is welcomed

RUXAILAB sample.zip
@KarinePistili, I have attached a sample of the design.

Some of my designs ⬇  @KarinePistili

Hi @KarinePistili here is a sample template logo i worked on. Still working on colors to see which ones blend better. Any opinion is highly appreciated from anyone.


[OLINGO-1301] In Spring Boot application is impossible to redefine Me…

If mapping XML file not found by old path ( prefix = '../../') File have been searched in path without prefix.
Fix for Issue https://issues.apache.org/jira/projects/OLINGO/issues/OLINGO-1301

This is done and merged see OLINGO-1301.


[wip] fix horovod installation

What does this PR do?
Trying to fix #12314.
Does your PR introduce any breaking changes? If yes, please list them.
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

TODO

[ ] Confirm that the built docker image is pushed to the hub: https://github.com/PyTorchLightning/pytorch-lightning/runs/5590124349?check_suite_focus=true
[ ] Revert FIXME in the nightly release CI config
[ ] Confirm that the GPU testing passes in Azure CI
[ ] Mark this PR as ready for review

The built image has been successfully pushed to the hub, and GPU CI doesn't have the issue #12314 anymore, but I'm seeing another issue...
tests/callbacks/test_quantization.py::test_quantization[True-True-average] /__w/_temp/6c6a26ed-fe5c-4e9d-83d9-a3a6a6b6dabb.sh: line 1:   343 Segmentation fault      (core dumped) python -m coverage run --source pytorch_lightning -m pytest pytorch_lightning tests --ignore tests/benchmarks -v --junitxml=/__w/1/a/test-results.xml --durations=50
##[error]Bash exited with code '139'.

https://dev.azure.com/PytorchLightning/pytorch-lightning/_build/results?buildId=61463&view=logs&j=3afc50db-e620-5b81-6016-870a6976ad29&t=8b07f9df-ad34-5ead-2e0d-a2d35ff7ad3a

UPDATE: Couldn't reproduce the above error in our cluster. Will try to debug it in the CI...

@akihironitta maybe we try to skip the test to see if it is this particular test itself causing the problem or something else.

seems I found the bug, it was my typo in the past missing check for correct build https://github.com/PyTorchLightning/pytorch-lightning/pull/12318#discussion_r829785780


HoloJS with HoloLens 2

I am not able to compile an app for HoloLens 2 using HoloJS (my final purpose is to run HTML/WebGL files, threejs for example).
I tried following the instructions from https://microsoft.github.io/HoloJS/ ( uwp-apps was my choice)
If I create a new DirectX11 project and I run it on the device I see that it works, everything is ok, app is built no the HoloLens.
(platform ARM, I checked that this is the right one for HoloLens 2)
But if I add HoloJS (via nuget) I get the missing files error (MSB3030 on libEGL.dll, libEGLv2.dll, libholojs-uwp.dll).
BUT if I run the same app (with holojs included) on the HoloLens 2 Emulator (x86 platform) it runs.
What am I doing wrong? Thanks

Solved manual copying the missing files.
Maybe the installation script needs to be updated?

I found there is a vs2019 branch but I cannot understand how to use that.
Tried following build instructions but cannot find all the files to build
(is there an already built win32 holojs version to just link in nuget?)

You are not doing anything wrong; it's just that HoloJS does not support HoloLens 2. There is no ARM64 HoloJS NUGET package and consequently the binaries are missing when you deploy the app.
Since HoloJS is using multiple open source projects to assemble its dependencies (ANGLE, LabSound, Canvas API, etc.), all of these projects would have to be built for ARM64 in order to support HoloLens 2.

I see. So how am I supposed to build apps for HoloLens 2 with HTML and JS?
Is there a way?
Sorry, I know this is ot but I dinged a lot of documentation and stack overflow but most of them refers to HoloLens V1, even official Microsoft documentation I think.

I don't know of a way to build HTML/JS apps for the HoloLens 2. These would be apps that you can install and/or submit to the store.
However, you could build immersive web apps that run in the web browser on HoloLens 2 using WebXR. See https://docs.microsoft.com/en-us/windows/mixed-reality/develop/javascript/webxr-overview
Web apps would be limited to the capabilities of WebXR - a subset of HL2's capabilities. I believe there is no web standard that would give you access to surface reconstruction, voice commands, etc.

Thank you a lot.
I already checked that I can run 3D capable webapps on a browser but my purpose was to encapsulate them.
I already developed apps with Ionic so I'm used to work on web technologies (so they are my first choice) and then upload them on the stores.

@daniele-bordignon-kodis try Buildwagon , it is javascript development for Hololens 2 with full access to the device features like: spatial understanding, eye gaze, voice commands, azure spatial anchors... You can also package your app and upload it to the store, just like ionic.


[kjobctl] Add --mem flag to Slurm mode

What type of PR is this?

/kind feature
What this PR does / why we need it:
Adds --mem flag to set memory per pod (slurm node).
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/cc @mbobrovskyi

Can we use SBATCH_MEM_PER_NODE?

Can we add SBATCH_MEM_PER_NODE?

Ah, sorry, I missed. We already have it.

Do we need to update // +kubebuilder:validation:MaxItems=12 on RequiredFlags?

I think it's not needed for this flag as --mem, --mem-per-task, --mem-per-cpu and --mem-per-gpu are mutually exclusive.

/lgtm
Thanks!

/assign @mwielgus

/cc @mimowo

/lgtm
/approve


[HUDI-6819] Fix logic for throwing exception in getRecordIndexUpdates.

Change Logs
Fix logic for throwing exception in getRecordIndexUpdates.
Impact
None
Risk level (write none, low medium or high below)
Low
Documentation Update
None
Contributor's checklist

[X] Read through contributor's guide
[X] Change Logs and Impact were stated clearly
[X] Adequate tests were added if applicable
[X] CI passed

@hudi-bot run azure


Update Globals “nav”

Automatically generated by Netlify CMS

👷 Deploy Preview for thunderous-brigadeiros-23902d processing.

Name
Link

🔨 Latest commit
825beebbdb5099153a09dc82b69ea57ac5bbefdc

🔍 Latest deploy log
https://app.netlify.com/sites/thunderous-brigadeiros-23902d/deploys/63308079c6f2620008e492a0


Error in ContextType

from yapypy.utils.easy_debug import *

async def f(i):
    return i
async def run_list():
    return [await c for c in [f(1), f(41)]]
assert run_async(run_list()) == ([], [1, 41])

Connected to pydev debugger (build 182.4505.26)
Traceback (most recent call last):
  File "/Users/liufengkai/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/182.4505.26/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1664, in <module>
    main()
  File "/Users/liufengkai/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/182.4505.26/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1658, in main
    globals = debugger.run(setup['file'], None, None, is_module)
  File "/Users/liufengkai/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/182.4505.26/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1068, in run
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "/Users/liufengkai/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/182.4505.26/PyCharm.app/Contents/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "/Users/liufengkai/Documents/Code/personal-projects/YAPyPy/test_fuck.py", line 13, in <module>
    yapypy_test_code(code, True)
  File "/Users/liufengkai/Documents/Code/personal-projects/YAPyPy/yapypy/utils/easy_debug.py", line 48, in yapypy_test_code
    c = py_compile(res)
  File "/Users/liufengkai/Documents/Code/personal-projects/YAPyPy/yapypy/extended_python/py_compile.py", line 18, in py_compile
    raise exc
  File "/Users/liufengkai/Documents/Code/personal-projects/YAPyPy/yapypy/extended_python/py_compile.py", line 15, in py_compile
    py_emit(node.it, ctx)
  File "<string>", line 8, in new_func
  File "/Users/liufengkai/Documents/Code/personal-projects/YAPyPy/yapypy/extended_python/emit_impl/__init__.py", line 113, in py_emit
    py_emit(each, ctx)
  File "<string>", line 8, in new_func
  File "/Users/liufengkai/Documents/Code/personal-projects/YAPyPy/yapypy/extended_python/emit_impl/__init__.py", line 107, in py_emit
    py_emit(node.it, ctx)
  File "<string>", line 8, in new_func
  File "/Users/liufengkai/Documents/Code/personal-projects/YAPyPy/yapypy/extended_python/emit_impl/new_context.py", line 158, in py_emit
    emit_function(node, new_ctx, is_async=True)
  File "/Users/liufengkai/Documents/Code/personal-projects/YAPyPy/yapypy/extended_python/emit_impl/new_context.py", line 37, in emit_function
    py_emit(each, new_ctx)
  File "<string>", line 8, in new_func
  File "/Users/liufengkai/Documents/Code/personal-projects/YAPyPy/yapypy/extended_python/emit_impl/simple_stmt.py", line 15, in py_emit
    py_emit(node.value, ctx)
  File "<string>", line 8, in new_func
  File "/Users/liufengkai/Documents/Code/personal-projects/YAPyPy/yapypy/extended_python/emit_impl/__init__.py", line 107, in py_emit
    py_emit(node.it, ctx)
  File "<string>", line 8, in new_func
  File "/Users/liufengkai/Documents/Code/personal-projects/YAPyPy/yapypy/extended_python/emit_impl/comprehensions.py", line 380, in py_emit
    is_async_outside, first_iter = _emit_comprehension(ctx, node.generators, delay)
  File "/Users/liufengkai/Documents/Code/personal-projects/YAPyPy/yapypy/extended_python/emit_impl/comprehensions.py", line 170, in _emit_comprehension
    action()
  File "/Users/liufengkai/Documents/Code/personal-projects/YAPyPy/yapypy/extended_python/emit_impl/comprehensions.py", line 377, in delay
    py_emit(node.elt, ctx)
  File "<string>", line 8, in new_func
  File "/Users/liufengkai/Documents/Code/personal-projects/YAPyPy/yapypy/extended_python/emit_impl/constrains.py", line 51, in py_emit
    raise exc
  File "<unknown>", line 7
SyntaxError: await outside async functions.

fixed.

use snippet.py to generate concrete bytecode information and bytecode instructions from
async def f():
    return [await a for a in b]

async def g():
    return [await a async for a in b]


Change contract state to relative path

Closes #1532
Right now temp directory path is being set but it should be relative to the project.

For contributor use:

[ ] Targeted PR against master branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[ ] Code follows the standards mentioned here
[ ] Updated relevant documentation
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Added appropriate labels

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 39.34%. Comparing base (5a7a078) to head (d17f617).

Additional details and impacted files
@@                     Coverage Diff                      @@
##           feature/interactive-init    #1568      +/-   ##
============================================================
+ Coverage                     39.32%   39.34%   +0.01%
============================================================
  Files                            52       52
  Lines                          3425     3426       +1
============================================================
+ Hits                           1347     1348       +1
  Misses                         1911     1911
  Partials                        167      167

Flag
Coverage Δ

unittests
39.34% <100.00%> (+0.01%)
:arrow_up:

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

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


Fix minor sanitizer issue

AttachedProbe has a reference to a Probe inside RequiredResources. Thus, strictly speaking, RequiredResources resources should be destroyed after std::vector<std::unique_ptr<AttachedProbe>> attached_probes_.
This means std::vector<std::unique_ptr<AttachedProbe>> attached_probes_ should be declared after RequiredResources resources; in the struct, so that the AttachedProbes are destroyed first on ~BPFtrace.
This was caught by an independent ASAN build. It doesn't affect much in practice, but changing it for strict correctness.
Checklist

[x] Language changes are updated in man/adoc/bpftrace.adoc and if needed in docs/reference_guide.md
[x] User-visible and non-trivial changes updated in CHANGELOG.md
[x] The new behaviour is covered by tests

LGTM but can you rebase onto master?


Limit scrolling in week mode

Hi @kizitonwose,
I initially wanted to have a min and max date from a specific day rather than the whole months, but after researching through your documentation and other various comments, I believe we can only set the min and max months. I have disabled the onclick for the dates I don't want to include and also greyed them out.
However, as I am in week mode (where the rowCount == 1), there's a lot of unnecessary scrolling that I don't want the user to do. Is there a way I can limit the scroll to certain days.
To illustrate this, say the start day I want is Thursday 28th Jan and I want the end date to be Thursday 11th Feb. This means I have to include the whole of January and February in the week mode calendar. What I want to do is not allow the user to scroll before Thursday 28th Jan or after Thursday 11th Feb (anything up until saturday will be greyed out, but will not be able to scroll past this point).
Here's an image of what I'm trying to accomplish using your sample 1 as an example. Hopefully it's clear what I'm trying to do!

Thank you!

This is tricky but I think something like this should work:
calendarView.addOnItemTouchListener(object : RecyclerView.SimpleOnItemTouchListener() {
    override fun onInterceptTouchEvent(rv: RecyclerView, e: MotionEvent): Boolean {
        if (rv.scrollState == RecyclerView.SCROLL_STATE_DRAGGING) {
            val firstVisible = calendarView.findFirstVisibleDay() ?: return false
            val lastVisible = calendarView.findLastVisibleDay() ?: return false
            val firstValidDate: LocalDate /// Get date from VM or elsewhere
            val lastValidDate: LocalDate /// Get date from VM or elsewhere
            return firstVisible.date == firstValidDate || lastVisible.date == lastValidDate
        }
        return false
    }
})

Thanks for the reply @kizitonwose! I test this piece of code and unfortunately, once firstVisible.date == firstScrollableDate or lastVisible.date == lastScrollableDate, you can't scroll anymore. It just stops allowing you two swipe in either direction.

I guess you could use the motion event to detect the scroll direction, so the check would look like:
return firstVisible.date == firstScrollableDate && isLeftScroll || lastVisible.date == lastScrollableDate && !isLeftScroll

I'll give that a go and let you know, thanks!

I assume this is resolved now.


mk-docker-opts: Remove bash dependency

Rewrite the option handling to avoid bash specific features.  Can be processed by busybox shell support.
Removal of bash and its dependencies reduces the flannel docker image size by 5 MiB.

I noticed my 1st version doesn't do quite the same thing as the original.  I'll push out an update when ready.

@glevand Any update on this? It would be great to be able to remove the dependency on bash.


security configuration reloaded one time per second, is it expected?

Hi fg,
As titled, is it normal?

As per the design of the module and code written in the plugin , it is scheduled to refresh after every second.


ignore log directory

To avoid crawling through all log directories when not search through src explicitly.

Rebased - "fixed" the new CI failures.

Ignoring failing CI which is due to a regression in the new flake8-builtins release.


update to modernize recipe

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

This PR updates recipe/meta for new infrastructure & reqs. – follows #15

@conda-forge-admin, please rerender


Fix rust docs build

The rust API docs aren't being generated on docs.rapids.ai/cuvs . While the build.sh docs script was including the rust api docs, the ci/build_docs.sh wasn't. Fix.

/merge


EE-1071: Added regression test for the issue.

Ref: https://casperlabs.atlassian.net/browse/EE-1071
By naming a function inside a library that's part of a contract the same as one of FFI functions we export results in infinite loop if we'd call contract API function that internally uses imported FFI function of said name.
Example:
// Contract's lib.rs
#[no_mangle]
pub extern "C" fn new_uref() {
    let new_uref = storage::new_uref(0); // This results in calling `new_uref` (itself) rather than imported one
    runtime::put_key(&new_uref.to_formatted_string(), new_uref.into())
}
// Contract's main.rs
#[allow(unused_imports)]
use ee_1071_regression::new_uref; // doesn't import `new_uref` from the host

With this change I prefixed host functions with a casper_ prefix to avoid obvious naming clashes.
NOTE: Originally I was thinking about using __cl_ prefix although this might be controversial as this would be exploiting UB in some of the languages like C/C++

bors r+


no such table in [com.android.tools.build:gradle:2.0.0-beta6]

I found in  [com.android.tools.build:gradle:2.0.0-beta6]
always get No such table error...
I trace the source to here class : com.orm.util.ReflectionUtil
getAllClasses method always return 0 length
Could you fix this bug?

@s90304a123 show me your model classes! Have they an empty constructor? How is defined the AndroidManifest metadata?

@jonisaa I'm pretty sure model classes have an empty constructor. And my AndroidManifest metadata like this :
 <meta-data  android:name="DATABASE"   android:value="ccv.db"/>
 <meta-data  android:name="VERSION"  android:value="3"/>
 <meta-data android:name="QUERY_LOG" android:value="true"/>
 <meta-data  android:name="DOMAIN_PACKAGE_NAME"  android:value="db"/>

I change android plugin version to : com.android.tools.build:gradle:1.5.0
and grandle version to: 2.6
does not appear this bug

@s90304a123 When you where working with the plugin version 1.5.0 of gradle, your code works correctly?

@jonisaa Yes, when I downgrade to 1.5 version  of com.android.tools.build:gradle, everything is perfect.
I guess the problem is Reflection.

@s90304a123 It's strange, because I have a project with the latest gradle beta plugin working fine. When working with gradle beta plugin, which version of gradle do you use?

I'm also seeing this issue.

I realized that I'm using Sugar 1.3. I'm in the progress of updating to 1.5. I'll report back with results.

Ok, I have confirmed this is an issue with Sugar 1.5 as well.

@mikecole20 could you share your logs?
could you create a repo on github with this problem? so we can reproduce it?

I've run into a similar problem, but it's only an issue if I build from Android Studio - everything is fine if I build from command line. Not sure if there's anything else I can contribute.

I also experienced this issue (see #542) and found that disabling the experimental 'Instant Run' feature resolved it.

Thanks for the tip @ed-george - disabling instant run did fix it. I've also updated to 2.1.0-alpha1 and this fix works there as well.

No problem @WoogieNoogie, for the meantime I would suggest that disabling the feature is the current workaround and should be documented as such.
Currently in which channel is 2.1.0-alpha1 available? I will try to verify that too.

It's up on Jcenter, you can use it without updating Android Studio, but the version of AS that forces the update to it is in the Canary channel.

@mikecole20 I can confirm that the issue only occurred once the app was uninstalled, however the AS version migration I had problems with was from 2.0.0-beta4 to 2.0.0-beta6. 2.0.0-beta4 seemed to work as expected for me.

Android Instant run is a problem. disable it and remove your build folder.
Do a fresh install and all set

Any updates on this issue?

use sugar 1.5

1.5 didn't solve the InstantRun issue

have you guys added the following information in the manifest http://satyan.github.io/sugar/getting-started.html
and in the Application?

@sibeliusseraphini yes definitely, I didn't just start using SugarORM

Instant Run now works #559

fixed with https://github.com/satyan/sugar/pull/564 @firasalkafri


Edit the php protobuf compiler for compiling and referencing dependencies in their own directories

Edit the php protobuf compiler to compile dependencies in their own directories and have require_once statements point to those compiled files
Use case: when I compile a proto file, the file itself and any imported proto files should all be compiled in the folder they're currently in, instead of the current working directory of the script.
Changes made:

added a new input option: --compile-in-place, that takes the directory of the proto source file and uses that as the path for the generated/compiled file
a proto file is associated with its compiled filename
when an import "some_file.proto" statement is encountered by the compiler, it will use the compiled file path in the generated php require_once "..." statement

Testing done:

made folder1/ with proto files
made folder2/ with proto files that imported the files in folder 1
in the base folder that contained both folder1 and folder2, ran:

php $PHP_COMPILE_SCRIPT --compile-in-place <path to proto file>

Verified the compiled files for each file were in their respective folders
Verified that the compiled php file in folder2/ had require_once statements that referred to the compiled files in folder1/

The project uses now the official protoc compiler so the issue should no longer be valid. It's fixed in #74.


fix: use dotnet standard

Description
use dotnet standard for libraries
Related issue(s)
Fixes #213

/rtm


Conflict in ContentProvider Authority causing issues on Google Play Console

We are currently using your Text to Speech in my Android application, and I have encountered an issue related to the ContentProvider authority used in the SDK.
Issue Description:
Upon uploading my application to the Google Play Console, I received an error stating:
"Remove conflicts from the manifest before uploading. The following content provider authorities are in use by other developers: com.microsoft.cognitiveservices.speech.util.InternalContentProvider."
Upon analyzing the merged AndroidManifest.xml of our application we have found this:
<provider
  android:name="com.microsoft.cognitiveservices.speech.util.InternalContentProvider"
  android:exported="false"
  android:authorities="com.microsoft.cognitiveservices.speech.util.InternalContentProvider" />

This is due to the authority "com.microsoft.cognitiveservices.speech.util.InternalContentProvider" defined in the SDK's manifest, which is conflicting with some other applications on the Google Play Store.
Suggested Resolution:
To resolve this issue, I suggest that the authority of the ContentProvider should be made unique by appending the applicationId. The suggested code modification would look like this:
<provider
    android:name="com.microsoft.cognitiveservices.speech.util.InternalContentProvider"
    android:exported="false"
    android:authorities="${applicationId}.com.microsoft.cognitiveservices.speech.util.InternalContentProvider" />

This change would ensure that the authority is unique for each application using the SDK, thereby preventing conflicts on the Google Play Console.
Please let me know if you need any further information regarding this issue. I look forward to your prompt response and a resolution to this issue.
Thanks
CC : @jpalvarezl @minghuaiping

@yulin-li could you please help to take a look

@BrianMouncer could you help to check this issue?

I have this issue also. I need to change plan to use google Speech to text

Closed since a service incident 516797247 was reported instead.


Updating documentation

Merge request for updating documentation

I have read the CLA Document and I hereby sign the CLA