How to prepare dataset for training the model?

Hi, Thanks for sharing this awesome work. I have a few doubts please help me to understand:
I have a set of text paragraphs and want to extract entities and relationships between the entities detected. How would I prepare my dataset for NER and Relation Extraction model on this paragraph? What formate should I follow?
If any tool you could recommend or any way to prepare tor annotate he data according to the desired format that the model is expecting, it would be a great help.
Thanks.

Hi,
please execute bash ./scripts/fetch_datasets.sh to download the preprocessed datasets. The datasets are then placed under data/datasets. You should follow the format used in the processed datasets. Each sample (e.g. in data/datasets/conll04/conll04_dev.json) contains the sentence tokens, entities (with start/end referring to a token index, end is exclusive) and relations (with head/tail referring to an index in the entity list). There is also a *_types.json file (e.g. data/datasets/conll04/conll04_types.json), containing entity/relation types.
There are multiple annotation tools for entities/relations, for example brat. However, you probably need to convert the data annotated with a tool such as brat to the format used in SpERT.

Hi! I've develop a parser to transform from brat standoff to SpERT format, it loses some data due to the complexity of brat standoff and the simplicity of the data required by SpERT, but is better than nothing. Ask me if you want it, i'll try to documentate it for it's use.

Hi! I've develop a parser to transform from brat standoff to SpERT format, it loses some data due to the complexity of brat standoff and the simplicity of the data required by SpERT, but is better than nothing. Ask me if you want it, i'll try to documentate it for it's use.

@Kerman-Sanjuan Thank you so much!
That would be a great if you could do so! It would benefit the audience.
Moreover, did you train the model using SpERT on your dataset? How was the performance?
if you could also prepare such descriptive step by step implementation it would be super good!
Thanks again!

Hi! I've develop a parser to transform from brat standoff to SpERT format, it loses some data due to the complexity of brat standoff and the simplicity of the data required by SpERT, but is better than nothing. Ask me if you want it, i'll try to documentate it for it's use.

@Kerman-Sanjuan Thank you so much! That would be a great if you could do so! It would benefit the audience. However, did you train the model using SpERT on your dataset? How was the performance?
if you could also prepare such descriptive step by step implementation it would be super good!
Thanks again!

Hi! I've develop a parser to transform from brat standoff to SpERT format, it loses some data due to the complexity of brat standoff and the simplicity of the data required by SpERT, but is better than nothing. Ask me if you want it, i'll try to documentate it for it's use.
@Kerman-Sanjuan Thank you so much! That would be a great if you could do so! It would benefit the audience. However, did you train the model using SpERT on your dataset? How was the performance?
if you could also prepare such descriptive step by step implementation it would be super good!
Thanks again!

Hi, please execute bash ./scripts/fetch_datasets.sh to download the preprocessed datasets. The datasets are then placed under data/datasets. You should follow the format used in the preprocessed datasets. Each sample (e.g. in data/datasets/conll04/conll04_dev.json) contains the sentence tokens, entities (with start/end referring to a token index, end is exclusive) and relations (with head/tail referring to an index in the entity list). You should also split your paragraphs in sentences and add one sample for each sentence. There is also a *_types.json file (e.g. data/datasets/conll04/conll04_types.json), containing entity/relation types.
There are multiple annotation tools for entities/relations, for example brat. However, you probably need to convert the data annotated with a tool such as brat to the format used in SpERT.

@markus-eberts  Thanks for answering. I would like to know more on the data side. I have very long paragraphs consider more than 1024 tokens. Does SpERT has restriction in tokens size or it uses sliding window concept to tackle long paragraphs from relation and entity extraction?
I used Spacy Relation extraction model but it failed on long distance relationship extraction when two entities are present at little significant distance. Does this problem SpERT pertains? Or it can handle such long relationship extraction when entities are little far from eachother?

Thank you so much! That would be a great if you could do so! It would benefit the audience. However, did you train the model using SpERT on your dataset? How was the performance?
if you could also prepare such descriptive step by step implementation it would be super good!
Thanks again!
@karndeepsingh Im currently working with SpERT on my CS final thesis, testing different clinical-related datasets and trying to improve the model. Currently i´ve parsed all BioNLP2011 task corpus, theorically i´m able to parse any Brat Standoff formatted corpus.  With BioNLP2011  SpERT performs quite good, better than expected to be honest.  The following weeks i´ll clear the code a bit, and documentate it.

Hi, please execute bash ./scripts/fetch_datasets.sh to download the preprocessed datasets. The datasets are then placed under data/datasets. You should follow the format used in the preprocessed datasets. Each sample (e.g. in data/datasets/conll04/conll04_dev.json) contains the sentence tokens, entities (with start/end referring to a token index, end is exclusive) and relations (with head/tail referring to an index in the entity list). You should also split your paragraphs in sentences and add one sample for each sentence. There is also a *_types.json file (e.g. data/datasets/conll04/conll04_types.json), containing entity/relation types.
There are multiple annotation tools for entities/relations, for example brat. However, you probably need to convert the data annotated with a tool such as brat to the format used in SpERT.

@markus-eberts @Kerman-Sanjuan
Hi,
Please,Can you share the parser or code to convert the output from Brat to the required format that SpERT accepts? As I have annotated the dataset in BRAT tool and want it to be used in SpERT. It would be good if you could help in sharing the code that helps to convert thee brat relationship annotated data to required SpERT format.
Thanks

Hi, please execute bash ./scripts/fetch_datasets.sh to download the preprocessed datasets. The datasets are then placed under data/datasets. You should follow the format used in the preprocessed datasets. Each sample (e.g. in data/datasets/conll04/conll04_dev.json) contains the sentence tokens, entities (with start/end referring to a token index, end is exclusive) and relations (with head/tail referring to an index in the entity list). You should also split your paragraphs in sentences and add one sample for each sentence. There is also a *_types.json file (e.g. data/datasets/conll04/conll04_types.json), containing entity/relation types.
There are multiple annotation tools for entities/relations, for example brat. However, you probably need to convert the data annotated with a tool such as brat to the format used in SpERT.

@markus-eberts @Kerman-Sanjuan Hi, Please,Can you share the parser or code to convert the output from Brat to the required format that SpERT accepts? As I have annotated the dataset in BRAT tool and want it to be used in SpERT. It would be good if you could help in sharing the code that helps to convert thee brat relationship annotated data to required SpERT format.
Thanks

Yes, no problem, the usage is a bit tricky and has some limitations at the moment, but i can explain/improve it.
How do you want me to send you the source code?

Hi, please execute bash ./scripts/fetch_datasets.sh to download the preprocessed datasets. The datasets are then placed under data/datasets. You should follow the format used in the preprocessed datasets. Each sample (e.g. in data/datasets/conll04/conll04_dev.json) contains the sentence tokens, entities (with start/end referring to a token index, end is exclusive) and relations (with head/tail referring to an index in the entity list). You should also split your paragraphs in sentences and add one sample for each sentence. There is also a *_types.json file (e.g. data/datasets/conll04/conll04_types.json), containing entity/relation types.
There are multiple annotation tools for entities/relations, for example brat. However, you probably need to convert the data annotated with a tool such as brat to the format used in SpERT.

@markus-eberts @Kerman-Sanjuan Hi, Please,Can you share the parser or code to convert the output from Brat to the required format that SpERT accepts? As I have annotated the dataset in BRAT tool and want it to be used in SpERT. It would be good if you could help in sharing the code that helps to convert thee brat relationship annotated data to required SpERT format.
Thanks

@karndeepsingh Yes, no problem, the usage is a bit tricky and has some limitations at the moment, but i can explain/improve it. How do you want me to send you the source code?

@Kerman-Sanjuan Hi, could you please send it to my email address<EMAIL_ADDRESS>? Thanks a lot!

Hi, please execute bash ./scripts/fetch_datasets.sh to download the preprocessed datasets. The datasets are then placed under data/datasets. You should follow the format used in the preprocessed datasets. Each sample (e.g. in data/datasets/conll04/conll04_dev.json) contains the sentence tokens, entities (with start/end referring to a token index, end is exclusive) and relations (with head/tail referring to an index in the entity list). You should also split your paragraphs in sentences and add one sample for each sentence. There is also a *_types.json file (e.g. data/datasets/conll04/conll04_types.json), containing entity/relation types.
There are multiple annotation tools for entities/relations, for example brat. However, you probably need to convert the data annotated with a tool such as brat to the format used in SpERT.

@markus-eberts @Kerman-Sanjuan Hi, Please,Can you share the parser or code to convert the output from Brat to the required format that SpERT accepts? As I have annotated the dataset in BRAT tool and want it to be used in SpERT. It would be good if you could help in sharing the code that helps to convert thee brat relationship annotated data to required SpERT format.
Thanks

@karndeepsingh Yes, no problem, the usage is a bit tricky and has some limitations at the moment, but i can explain/improve it. How do you want me to send you the source code?

@Kerman-Sanjuan Hi! I was following this issue's thread, since I'm really interested in converting my brat annotations (as @Yolalapi or @karndeepsingh) and if there's someone that's already done this work, it could save a lot of time for me and for all the community. Could you kindly share with me (or the entire community) the code to "parse" the brat annotation in json?
Thank you so much for your help in advance and your time.
Pierpaolo


Database Usage Request

Hello to all. I am a Ph. D. scholar. Can I use the patient database of your website for my research?

Yes, of course. The data is available through the APIs: https://api.covid19india.org/


mini-SPIKE Determine ECR settings to use

ECR created and we are only having one repo per instrument (not level).


Erlang tool installation not passing tests for Ubuntu Focal (20.04)

Description
I am getting the following error:
==> azure-arm: Provisioning with shell script: /home/vsts/work/1/s/images/linux/scripts/installers/erlang.sh
    azure-arm: Hit:1 http://azure.archive.ubuntu.com/ubuntu focal InRelease
    azure-arm: Hit:2 http://azure.archive.ubuntu.com/ubuntu focal-updates InRelease
    azure-arm: Hit:3 http://azure.archive.ubuntu.com/ubuntu focal-backports InRelease
    azure-arm: Hit:4 http://azure.archive.ubuntu.com/ubuntu focal-security InRelease
    azure-arm: Hit:5 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease
    azure-arm: Ign:6 https://packages.erlang-solutions.com/ubuntu focal InRelease
    azure-arm: Get:7 https://packages.erlang-solutions.com/ubuntu focal Release [3132 B]
    azure-arm: Get:8 https://packages.erlang-solutions.com/ubuntu focal Release.gpg [833 B]
    azure-arm: Ign:8 https://packages.erlang-solutions.com/ubuntu focal Release.gpg
    azure-arm: Reading package lists...
==> azure-arm: W: GPG error: https://packages.erlang-solutions.com/ubuntu focal Release: The following signatures were invalid: BADSIG D208507CA14F4FCA Erlang Solutions Ltd<EMAIL_ADDRESS>==> azure-arm: E: The repository 'https://packages.erlang-solutions.com/ubuntu focal Release' is not signed.
    azure-arm: Reading package lists...
    azure-arm: Building dependency tree...
    azure-arm: Reading state information...
==> azure-arm: E: Unable to locate package esl-erlang
    azure-arm: Downloading 'https://github.com/erlang/rebar3/releases/latest/download/rebar3' to '/usr/local/bin/rebar3'...
    azure-arm: Download completed
    azure-arm: Pester v5.3.3
    azure-arm:
    azure-arm: Starting discovery in 1 files.
    azure-arm: Discovery found 100 tests in 577ms.
    azure-arm: Filter 'FullName' set to ('erlang').
    azure-arm: Filters selected 3 tests to run.
    azure-arm: Running tests.
    azure-arm:
    azure-arm: Running tests from '/imagegeneration/tests/Tools.Tests.ps1'
    azure-arm: Describing erlang
    azure-arm:   [-] erlang erl -version 235ms (203ms|33ms)
    azure-arm:    Command 'erl -version' has finished with exit code
    azure-arm:        /usr/bin/bash: erl: command not found
    azure-arm:    at "$ErlangCommand" | Should -ReturnZeroExitCode, /imagegeneration/tests/Tools.Tests.ps1:143
    azure-arm:    at <ScriptBlock>, /imagegeneration/tests/Tools.Tests.ps1:143
    azure-arm:   [-] erlang erlc -v 35ms (33ms|2ms)
    azure-arm:    Command 'erlc -v' has finished with exit code
    azure-arm:        /usr/bin/bash: erlc: command not found
    azure-arm:    at "$ErlangCommand" | Should -ReturnZeroExitCode, /imagegeneration/tests/Tools.Tests.ps1:143
    azure-arm:    at <ScriptBlock>, /imagegeneration/tests/Tools.Tests.ps1:143
    azure-arm:   [-] erlang rebar3 -v 13ms (12ms|1ms)
    azure-arm:    Command 'rebar3 -v' has finished with exit code
    azure-arm:        /usr/bin/env: ‘escript’: No such file or directory
    azure-arm:    at "$ErlangCommand" | Should -ReturnZeroExitCode, /imagegeneration/tests/Tools.Tests.ps1:143
    azure-arm:    at <ScriptBlock>, /imagegeneration/tests/Tools.Tests.ps1:143
    azure-arm: Tests completed in 1.15s
    azure-arm: Tests Passed: 0, Failed: 3, Skipped: 0 NotRun: 97
    azure-arm:
    azure-arm: Containers            : {[-] /imagegeneration/tests/Tools.Tests.ps1}
    azure-arm: Result                : Failed
    azure-arm: FailedCount           : 3
    azure-arm: FailedBlocksCount     : 0
    azure-arm: FailedContainersCount : 0
    azure-arm: PassedCount           : 0
    azure-arm: SkippedCount          : 0
    azure-arm: NotRunCount           : 97
    azure-arm: TotalCount            : 100
    azure-arm: Duration              : 00:00:01.1523868
    azure-arm: Executed              : True
    azure-arm: ExecutedAt            : 07/04/2022 11:14:26
    azure-arm: Version               : 5.3.3
    azure-arm: PSVersion             : 7.2.5
    azure-arm: PSBoundParameters     : {[Configuration, PesterConfiguration]}
    azure-arm: Plugins               :
    azure-arm: PluginConfiguration   :
    azure-arm: PluginData            :
    azure-arm: Configuration         : PesterConfiguration
    azure-arm: DiscoveryDuration     : 00:00:00.5621498
    azure-arm: UserDuration          : 00:00:00.2570051
    azure-arm: FrameworkDuration     : 00:00:00.3332319
    azure-arm: Failed                : {[-] erlang erl -version, [-] erlang erlc -v, [-] erlan
    azure-arm:                         g rebar3 -v}
    azure-arm: FailedBlocks          : {}
    azure-arm: FailedContainers      : {}
    azure-arm: Passed                : {}
    azure-arm: Skipped               : {}
    azure-arm: NotRun                : {[ ] azcopy, [ ] azcopy10 link exists, [ ] Bicep, [ ] R
    azure-arm:                         ustup is installed…}
    azure-arm: Tests                 : {[ ] azcopy, [ ] azcopy10 link exists, [ ] Bicep, [ ] R
    azure-arm:                         ustup is installed…}
    azure-arm: CodeCoverage          :
    azure-arm:
==> azure-arm: Exception: Test run has failed

Platforms affected

[ ] Azure DevOps
[ ] GitHub Actions

Virtual environments affected

[ ] Ubuntu 18.04
[X] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 10.15
[ ] macOS 11
[ ] macOS 12
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
20220626.1
Is it regression?
Not sure
Expected behavior
Erlang should be installed successfully with erl, erlc and escript CLI available.
Actual behavior
Failing to install following CLI: erl, erlc and escript
Repro steps
Run images/linux/scripts/installers/erlang.sh

Hi @gaui, thank you for reporting this error, we will take a look.

Hi, Can we exclude the Erlang tool while building the image? Do we have any ETA on this?

Hi @gaui, thank you for reporting this error, we will take a look.

I had the same problem today  :(

Hi, Can we exclude the Erlang tool while building the image? Do we have any ETA on this?

Hello, we have no ETA yet, we are awaiting a response from the repo owners first.

Hi, Can we exclude the Erlang tool while building the image? Do we have any ETA on this?

try remove it ("{{template_dir}}/scripts/installers/erlang.sh",) on ubuntu2004.json

Simply excluding erlang is not possible because it is also referenced from SoftwareReportGenerator:
==> azure-arm: Provisioning with shell script: /home/vsts/work/1/s/virtual-environments/images/linux/scripts/base/apt-mock-remove.sh
==> azure-arm: Provisioning with shell script: /tmp/packer-shell804581750
==> azure-arm: /imagegeneration/SoftwareReport/SoftwareReport.Generator.ps1 : The term 'erl' is not recognized as a name of a cmdlet, function, script file, or executable program.

which is due to
function Get-ErlangVersion {
    $erlangVersion = (erl -eval '{ok, Version} = file:read_file(filename:join([code:root_dir(), "releases", erlang:system_info(otp_release), ''OTP_VERSION''])), io:fwrite(Version), halt().' -noshell)
    $shellVersion = (erl -eval 'erlang:display(erlang:system_info(version)), halt().' -noshell).Trim('"')
    return "Erlang $erlangVersion (Eshell $shellVersion)"
}

In general, it would be great to not have an explicit dependencies in the software report generator, but instead to exclude the specific software (erlang in this case) from the generated report if it not found.

@mikhailkoliada can you please post the link to where this has been reported to the repo owners, thanks

I am also facing error due to softwarereport generator error.
==> azure-arm: /imagegeneration/SoftwareReport/SoftwareReport.Generator.ps1 : The term 'erl' is not recognized as a name of a cmdlet, function, script file, or executable program.
==> azure-arm: Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
==> azure-arm: + CategoryInfo          : ObjectNotFound: (erl:String) [SoftwareReport.Generator.ps1], CommandNotFoundException
==> azure-arm: + FullyQualifiedErrorId : CommandNotFoundException,SoftwareReport.Generator.ps1
==> azure-arm: Provisioning step had errors: Running the cleanup provisioner, if present...

cc @garazdawi, could you please escalate?

Same problem here. Trying to recreate the same images that the Azure Pipelines are using, but the current agent with build label ubuntu20/20220626.1 are not able to be rebuilt again due to:
azure-arm: Err:7 https://packages.erlang-solutions.com/ubuntu focal/contrib amd64 esl-erlang amd64 1:25.0.2-1
azure-arm:   File has unexpected size (40579688 != 40585792). Mirror sync in progress? [IP: <IP_ADDRESS> 443]
azure-arm:   Hashes of expected file:
azure-arm:    - SHA256:8645d44d27d641ba927f4899aabfd1e6317b56efb620495051b899de5d3ca57f
azure-arm:    - SHA1:77df6ed1e992c5714ca968e7637500ee1604e60f [weak]
azure-arm:    - MD5Sum:1c383df15d0fa762c9312daca01c5175 [weak]
azure-arm:    - Filesize:40585792 [weak]
azure-arm: Fetched 5548 kB in 0s (40.2 MB/s)

Above workaround solved the problem for us, many thanks.
Please consider the refactoring proposed above to remove the tight coupling between the set of tools installed, and the SoftwareReport generator. Allowing tools to be excluded easily by removing the installation script from the packer file would be beneficial not only in cases such as this one, but also more generally. E.g. if I would like to prepare a build agent based on this template, but remove all tools that I know are not used within my environment in order to reduce disk footprint, image buildtime and inventory security risks.

Thank you for the workaround @mikhailkoliada :pray:

The fix was reverted now as everything looks fine by default.

@mikhailkoliada
Facing the same issue today... Seems the issue is back again..
In the meantime, I will overwrite the original erlang.sh by your workaround #5867 in my pipeline.
Hope you will consider @jappenzesr suggestions https://github.com/actions/runner-images/issues/5859#issuecomment-1177461072


[Question]: promtail_version latest

Hi,
New to ansible and was trying to use this role. When I set promtail_version: latest in my vars the  role errors out with the following.

Now in another run, I set ANSIBLE_DEBUG=true since it seemed like thats how I can enable no_log=false but I can't really make heads or tail what the error is in the very verbose output.
But ff I set that var to a number it works fine since it uses another task step to download the binary.
So my question is, any guidance on how to debug this better so I can fix the problem?

@codezninja
From your description, the problem does not seem to be related directly to the role and more of an environment issue.
Right now it's hard to provide any guidance - as a lot of information is missing. Especially having the  full text output of a run with ANSIBLE_DEBUG=true.
If you are failing with setting ANSIBLE_DEBUG=true might I suggest that you just edit the role locally and set no_log=false manually on the task?

I'll try and get some more debug information.

This is the output from that task when no_log=false

So it seems like the delegate_to: localhost was the issue that I was having when using version 1.21.0. When I comment that part out. It works as expected. I see that the latest version of the module, we removed that attribute. So I'll test out the latest version 1.22.0 and see how it functions.

@codezninja
This seems still to be more of an issue with your environment / playbook. The role will not per-default elevate the privileges for the preflight tasks - please see: https://github.com/patrickjahns/ansible-role-promtail/blob/master/tasks/main.yml#L1-L22
Please share your playbook and the way you are executing your playbook - the core cause for this is most likely there
Can I also ask you, to share any issues as plaintext instead of screenshots. Screenshots are hard to read when it's text, as it is cropped to fit into size and makes it very uncomfortable to read. Thank you

Can I also ask you, to share any issues as plaintext instead of screenshots. Screenshots are hard to read when it's text, as it is cropped to fit into size and makes it very uncomfortable to read. Thank you

Sorry about that. Will do plaintext going forth.

Please share your playbook and the way you are executing your playbook - the core cause for this is most likely there

So the playbook is pretty simple. I'm just running this with packer with the ansible provider. When the provider ssh into the system. It is as a non-root user, since root user ssh is locked down. I use ansible become to allow that user to become root before it executes the playbook. It's able to do that since that ssh user is allowed sudo privs
The problem I think is happening is that since part of the task in the role is delegated to localhost. Ansible is trying to run sudo on my local machine which it can't so it fails to run the task. I opened a PR that fixed my problem by not escalating the user for that task but I can just leave it in my fork if it's not what you desired.
Playbook
---
- name: Setup promtail
  hosts: all
  become: true
  vars_files:
    - ./vars/default.yml
  roles:
    - { role: promtail,  tags: promtail }

default.yml
promtail_version: latest
promtail_log_level: debug
promtail_loki_server_url: https://my.domainname.com
promtail_config_scrape_configs:
- job_name: system
  static_configs:
  - targets:
      - localhost
    labels:
      job: varlogs
      host: "{{ ansible_hostname }}"
      __path__: /var/log/*log

thats good to know. Some roles required me to elevate to root before running. Running this role without root worked. So I'll just separate out those roles into another step.
Thanks for the help.

Happy to hear that it's now working for you as intended 👍 . Thank you very much for the open communication and collaboration on this issue

thank you for a great role.


Add region names

Adds a property on countries called subdivision_name which is the noun used to describe the territory_1/territory_2 regions which should appear on addresses. Names were taken in part from this wikipedia article with some additional research.

This looks great, though question should this be a translated field?

@rposborne Great question.
Given that ISO country names are in English (at least most of them, AFAIK) and then we have translations (eg "Spain" vs "España"), I'd go with english subdivision names, and consider having additional localized data if needed.

Closing this in favour of #758, which uses ISO3166-2 data for subdivision types. I'll look into adding a method to "humanize" the types


Brazilian Portuguese [pt-br]

Brazilian Portuguese!

Complete translating made by me and (LucasRo7)[https://github.com/LucasRo7] in pull request #56


publish wheel for v2.10

Hi, I noticed the latest stable version (which people install by default) doesn't contain a wheel on PyPI. I am wondering if you can publish one.

Hi, thanks for the feedback. Is there a significant benefit in providing a wheel for a pure-python project?

I am using pylatexenc with pyodide, the Python distribution for the browser. micropip can only install wheels.


Reach Router and TypeScript: Property 'path' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly<{ children?: ReactNode; }> ...

REPO OWNER MESSAGE
This doc should help: https://github.com/reach/router/blob/master/website/src/markdown/pages/typescript.md

Original issue
Hi!
I'm getting this error when using Reach Router with TypeScript:

I know that this is a TypeScript-specific issue and not necessarily a bug but I'm probably not the only having this problem and getting some documentation for a workaround would be great. :)
You can solve it by specifying the types of the props of whatever page component you're using and adding a path: string; to them. That does not seem like a good idea though because you won't be actually using that prop and that will cause other errors with linters and the like.
I'm sure there are other solution but at this time I don't really know of any as I'm not a TypeScript expert. All I know that this error is due to path not being a typed prop of the page you're using.
I made a minimal test case in CodeSandbox that can reproduce it: https://codesandbox.io/s/pmkw4wr9oj (you will have to download it and open index.tsx in VS Code to see it)
I appreciate any help on this issue! Thanks!

I just came across the same issue and got around it as follows:

Install typings (npm install @types/reach__router or yarn add @types/reach__router)

Use a props interface which extends RouteComponentProps:

import { RouteComponentProps } from '@reach/router';

interface ISignupPageProps extends RouteComponentProps {
  someProp: string;
}

class SignupPage extends React.Component<ISignupPageProps> {
  // ...
}

or if the component doesn't have any props, use RouteComponentProps directly:
class SignupPage extends React.Component<RouteComponentProps> {
  // ...
}

The type declaration includes path and some other potential props as optional, so it doesn't cause any errors if they're omitted. For reference, here's the type declaration (part of the above typings on DefinitelyTyped)
    path?: string;
    default?: boolean;
    location?: WindowLocation;
    navigate?: NavigateFn;
    uri?: string;
};

As @maximilianschmitt suggested, it'd be great to have some guidance on this in the reach router docs.

Hey @mattwilson1024, this is great, thank you! It seems like a very sensible solution.
But actually I now have a new problem. :D It's a different one, so I created a new issue: #147

As mentioned one possible workaround is to add to all page components RouteComponentProps which seems annoying. Another, maybe nicer, solution is to create wrapper component that does this:
import React from "react";
import { Router, RouteComponentProps } from "@reach/router";
import Index from "./pages/index.jsx";
import Profile from "./pages/profile.jsx";

const App = () => (
  <Router>
    <RouterPage path="/" pageComponent={<Index />} />
    <RouterPage path="/profile" pageComponent={<Profile />} />
  </Router>
);
export default App;

const RouterPage = (
  props: { pageComponent: JSX.Element } & RouteComponentProps
) => props.pageComponent;

Sometimes TS seems hardly worth the bother

Understatement of the century. I'm just trying to render a simple page and, looking at this thread, it's mind bogglingly complicated to just render something simple. Who ever decided this was a great idea...
I'm just trying to render a simple functional component like this:
const Home = () => ;

Leading to errors such as:

TypeScript error: Type '{ path: string; }' is not assignable to type 'IntrinsicAttributes'.
Property 'path' does not exist on type 'IntrinsicAttributes'.  TS2322

So path is not assignable to the type IntrinsicAttributes. Where do those come from, then? I haven't defined them. And it sounds to me like the TS definitions for a Routing library should probably include the "path" attribute. I'm new to TS so I have no clue how to contribute to that, yet.
So instead my code is multiplied by 11 lines into this dramatic creation:
interface IRouteComponentProps extends RouteComponentProps {
  path: string
}

class Home extends Component<IRouteComponentProps> {
  render() {
    return (

    );
  }
}

(And now we see why TypeScript is the biggest waste of time you could possibly apply to your project. Among many other reasons.)
Can Reach-Router using TypeScript even render a simple component like this?
const Home = () => ;

Or do I really need to start billing clients per line of code written? Because then maybe TS starts being useful 😉

@marcelhageman,
I don't love @reach/router experience in TypeScript either, but it's not nearly as bad as your making it out to be.
You just need:
import { RouteComponentProps } from "@reach/router";
const Home = (_: RouteComponentProps) => ;

If you have some props that you're actually using, then you just do this:
import { RouteComponentProps } from "@reach/router";

interface Props {
    alt: string;
}

const Home = ({ foo }: Props & RouteComponentProps) =>
    ;

@devuxer You are a saviour and a saint! That link has found a new home in my bookmarks. Cheers!

Wouldn't this be solvable by bundling a declaration merge for path on all react base component types and definitions?
I could easily be wrong here, but the idea seems to be that once you're using reach, any react component is now eligible to be routed...?

@atrauzzi,
I may be misunderstanding, but how would that work for functional components, which don't inherit from a base component type?

The .d.ts for React still defines a signature for component types (functional and class based).  Going off of that, I'm pretty sure that so long as it's a type in a module (AKA: everything 😉), you can augment it.

Wouldn't this be solvable by bundling a declaration merge for path on all react base component types and definitions?

@atrauzzi,
@antmdvs addressed such an approach >> https://github.com/reach/router/issues/11#issuecomment-393999063 and codesandbox here
@devuxer works even with functional components.
My concern though is every React component now has that path attribute, whether I intend to use it for routing or not.

const Home = (_: RouteComponentProps) => ;

You saved me a great deal of hair @devuxer, but some how the underscore is making my eslint scream big time about no-unused-vars.

My concern though is every React component now has that path attribute, whether I intend to use it for routing or not.

@Sowed - This is going to sound super broad, but technically, when you're in a project that uses reach, that's exactly what it's doing.  It's making every component eligible to be routed.
Doesn't mean you'll always take advantage of that.  But the types are being augmented only in the scope of your project.  In another project that doesn't use reach, that hint won't be there.

const Home = (_: RouteComponentProps) => ;

You saved me a great deal of hair @devuxer, but some how the underscore is making my eslint scream big time about no-unused-vars.
edit Alternatively, this helps bypass the warning.
const Home: React.FC<RouteComponentProps> = () => ;

Interesting, with TSLint, prefixing a parameter with an underscore or using only an underscore silences that warning.

I follow  @Hurtak solution and it's working. However ,how could we parse data from the URL from the RouterPage to the pageComponent
import React from "react";
import { Router, RouteComponentProps } from "@reach/router";
import Index from "./pages/index.jsx";
import Profile from "./pages/profile.jsx";

const App = () => (
  <Router>
    <RouterPage path="/" pageComponent={<Index />} />
    <RouterPage path="/profile" pageComponent={<Profile />} />
  </Router>
);
export default App;

const RouterPage = (
  props: { pageComponent: JSX.Element } & RouteComponentProps
) => props.pageComponent;

@mustafa-alfar how about this https://github.com/reach/router/issues/141#issuecomment-458992749 ?

@Hurtak , Thank you. I have a small question,
I try this and it works so,
However when I'm trying to destruct the id in the Home component, typescript throw an error told me props id dose not exit on type string, so it does not work except when I put it to any,
is there any suggestion to solve this issue ?
import React, { FC } from "react";
type Props = {
	component: FC;
} & RouteComponentProps;
const Route: FC<Props> = ({ component: Component, ...rest }) => (
	<Component {...rest} />
);
const Home: FC = ({ id }: string ): JSX.Element => (

	<Link to="/">App</Link>
	<Link to="/home/1">Home</Link>

{id}

);

ReactDOM.render(
 <Router>
    <Route component={Home} path="/home/:id" />
 </Router>,
document.getElementById("root") as HTMLElement
);

@mustafa-alfar What you want to do is:
// setting type on the destructured property
const Home: FC = ({ id: string }): JSX.Element => (
...

or
// setting type on the argument(props)
interface HomeProps {
	id: string
}
const Home: FC = ({ id }: HomeProps): JSX.Element => (
...

you were setting the type of the argument(props) to the Home fn. as string which is not what you want because id doesn't exist on the string type.

Here's an easy way to handle this with a parsed URL:
Routed component (HelloWorld.tsx):
import React, { FunctionComponent } from 'react';
import { RouteComponentProps } from '@reach/router';

// component props (you can use any type here)
interface HelloWorldProps {
  name: string;
}

const HelloWorld: FunctionComponent<RouteComponentProps<HelloWorldProps>> = ({ name }) => {
  // for some reason "name" here is possibly undefined
  if (name) {
    return
Hello {name}!

  }

  return null;
}

export default HelloWorld;

Router:
import React from 'react';
import { Router } from '@reach/router';

import HelloWorld from './HelloWorld';

const App = () => (

    <Router>
      <HelloWorld path="/hello/:name" />
    </Router>

);

This results in going to i.e. /hello/world properly displaying the name from the URL, and the route component happily compiles.

`import React, { FC } from 'react';
import { RouteComponentProps } from "@reach/router";
interface ExtendProps extends React.PropsWithChildren {
pageComponent: FC
}
const RouterPage = ({children, ...props}: ExtendProps & RouteComponentProps): React.ReactElement => {
const {pageComponent, ...others} = props;
return (
<props.pageComponent {...others}>
{children}
</props.pageComponent>
)
};
export default RouterPage;
`
it can nested components

Merged this, I dont' use TS (obviously because look at this API 🙃) so I can't judge the quality of it, hope it helps!
https://github.com/reach/router/blob/master/website/src/markdown/pages/typescript.md
As we iterate this project and React Router to the same hook-based API, we are taking special care to not make things so difficult on typescript users.
https://reacttraining.com/blog/reach-react-router-future/

Strangely, if I use react-redux's connect method to wrap the component I don't get this error if ensure that mapToStateProp method accepts ownProp as 2nd parameter - even though when I am not using ownProp to get view's props from store.

@smilealdway  can you show an example of doing what you just described?

I see some comments in this thread blaming typescript for this difficulty, but I feel like this is just Typescript revealing how odd this API really is. path isn't really a prop in the sense that props are intended to be used in React, but is instead black magic that takes advantage of the prop API because of how visually appealing it is. I get that there is precedence with the key prop, but that API isn't very react-y in the first place tbh.

I had a look at reach briefly just now and am going back to looking at react-router 5 because of this "magic" that, while looking rather neat, causes trouble for TypeScript and leaves me wondering what's going on under the hood to make it work and under what circumstances it will break. That all said, it's great to see exploration of these sorts of things :)

"The Future of React Router and @reach/router"
"React Router v6 Preview"
They are just playing in 'touch and run'. I refuse to understand. 👎

I am confused that none posted here the solution that @atrauzzi suggested in https://github.com/reach/router/issues/141#issuecomment-478196461 so here I go:
// react.d.ts
declare namespace React {
  export interface Attributes {
    // for routing via @reach/router
    path?: string;
  }
}

Just save this file where it would be included by the typescript compiler.
BTW, I also think this should have been included in the reach router typings.

@ekzyis your solution looks super elegnant but it gives me an error for the element attribute on the <Router path="/" element={<Dashboard />} > :
Property 'element' does not exist on type 'IntrinsicAttributes & RouterProps'.

@ekzyis your solution looks super elegnant but it gives me an error for the element attribute on the <Router path="/" element={<Dashboard />} > :
Property 'element' does not exist on type 'IntrinsicAttributes & RouterProps'.

Uhm, yes, because my solution only is for the path attribute. If I remember correctly, you should do <Dashboard path='/' />, anyway.
But if you really want to do this, you could add element to the typings using JSX.Element as the type.


Download option in dashboard front-end

Dashboards currently lack a download option for the underlying data, many (if not all) of which are not available in the data catalogue (or from a cursory glance at the docs, not via API endpoints either).
May be relevant: https://github.com/dosm-malaysia/kawasanku-front/issues/44

This feature will not be added - all underlying data (higher granularity and frequency than presented on the dashboard) will be available via the DC in due course.


Error using mwc-checkbox

I am experimenting using material-components-web-components in the pwa-starter-kit.
I installed the mwc-checkbox element as follows:
npm install @material/mwc-checkbox

Then imported in my js module:
import { html } from '@polymer/lit-element';
import { SharedStyles } from './shared-styles.js';
import { PageViewElement } from './page-view-element.js';
import { Checkbox } from '@material/mwc-checkbox';

class MyView1 extends PageViewElement {
  _render(props) {
    return html`
      ${SharedStyles}

Static page

This is a text-only page.

It doesn't do anything other than display some static text.

Welcome

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ac nisi orci. Maecenas sollicitudin diam in diam efficitur cursus. Morbi sollicitudin in justo tincidunt placerat. Integer tincidunt elementum nisi, eu ornare dolor lacinia eget. Fusce pulvinar massa eget odio placerat, commodo molestie ipsum tempus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse porttitor id purus eu cursus. Suspendisse arcu nulla, mattis vel hendrerit et, malesuada a elit. Nam at diam ornare, aliquet est sed, malesuada metus. Cras nec enim vel nibh tincidunt euismod ut et enim. Etiam pharetra eros in sodales iaculis. Duis sagittis urna et cursus mollis. Cras tempor rutrum est. Praesent sollicitudin ligula at laoreet placerat. Praesent tortor dui, semper in sapien non, pharetra luctus turpis.

Vestibulum at est ex. Aenean id ligula id nibh dictum laoreet. Etiam non semper erat. Pellentesque eu justo rhoncus diam vulputate facilisis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam feugiat metus ex, vel fringilla massa tincidunt sit amet. Nunc facilisis bibendum tristique. Mauris commodo, dolor vitae dapibus fermentum, odio nibh viverra lorem, eu cursus diam turpis et sapien. Nunc suscipit tortor a ligula tincidunt, id hendrerit tellus sollicitudin.

        <mwc-checkbox></mwc-checkbox>

    `;
  }
}

window.customElements.define('my-view1', MyView1);

But get the following:

Hello,
with my test,  same with  pwa-starter-kit. but works properly with the polymer-3-starter-kit

Same here for mwc-checkbox and mwc-radio.
If you swap out the import {style} from './mwc-checkbox-css.js'; line and define html directly within mwc-checkbox.js everything works fine...
const style = html`


Fluent interface for the etl framework

I made the fluent interface work that you suggested. I really like the style, plus it was a nice challenge.
TODO: Documentation.
NOTE: This is a pull-request to merge into another feature branch. This is intentional.

Nice! This is exactly what I had in mind! Thanks!


vEthernet (WSL) is gone after WSL --update

Windows Version
Microsoft Windows [版本 10.0.22621.2715]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-1
Distro Version
Ubuntu-22.04
Other Software
Docker version 23.0.5, build bc4487a
Repro Steps
wsl --update
Expected Behavior

Actual Behavior
wsl --update restarts after successful execution. Then the vEthernet (WSL) adapter was gone
Diagnostic Logs
No response

Still not after the first start of wsl

Hello,
Can confirm the issue - after installing the last update and restarting a machine. The WSL spits out.
Output when starting wsl or name of a machine:
Failed to configure network (networkingMode Nat). To disable networking, set wsl2.networkingMode=None in C:\Users\<Username>\.wslconfig
Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/ERROR_SERVICE_NOT_ACTIVE

While spitting out:

WSL version(omitted):
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-1
WSLg version: 1.0.59

Windows Event Logs(HNS-Network-Create):
In Custom Events -> Administrative Events:
HNS-Network-Create :-
 Network id = '{790e58b4-7939-4434-9358-89ae7ddbe87e}'.
 Network type = 'ICS'.
  Result code = '0x80070426'.

HNS failed to set interface configuration with error '0x80070426'.
NetCfgInstanceId = '{81E1E38E-04C6-484F-AF4B-EE17D4377E6A}'.
HostDnsServerList = '-Missing-'.
HostDnsSuffix = '-Missing-'.
EnableLLMNR = 'false'.
Unique error string = '0'.

HNS failed to set interface configuration with error '%1'.
NetCfgInstanceId = '%2'.
HostDnsServerList = '%3'.
HostDnsSuffix = '%4'.
EnableLLMNR = '%5'.
Unique error string = '%6'.

Those logs repeats a few times as an retry somewhere in a code 7 times in a row.
Reinstallation/restart
Doesnt fix the problem.
Reinstallation of WSL2 will temporary create a new entry in network devices, but without any reasons soon as the installation is done the network adapter is gone.
I have also tried the current pre-release version <IP_ADDRESS> - without success.

Registry
Setting up registry with values for the missing values: HostDnsServerList and HostDnsSuffix has no effect.
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss
Windows features
HyperV + MVP + WSL enabled
Services
Something is off with the communication with the service Host Network Service or service itself.
I have tried to create my own network adapter in Powershell(HCN/HNS), but the command only returned that service is not started.
In services.msc the service is actually running.
Any ideas?

您好， 可以确认问题 - 安装最后一个更新并重新启动计算机后。WSL吐了出来。 启动时输出wsl或name of a machine：
Failed to configure network (networkingMode Nat). To disable networking, set wsl2.networkingMode=None in C:\Users\<Username>\.wslconfig
Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/ERROR_SERVICE_NOT_ACTIVE

吐的时间：
WSL版本（略）：
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-1
WSLg version: 1.0.59

Windows事件日志（HNS-网络-创建）： 在自定义事件 -> 管理事件中：
HNS-Network-Create :-
 Network id = '{790e58b4-7939-4434-9358-89ae7ddbe87e}'.
 Network type = 'ICS'.
  Result code = '0x80070426'.

HNS failed to set interface configuration with error '0x80070426'.
NetCfgInstanceId = '{81E1E38E-04C6-484F-AF4B-EE17D4377E6A}'.
HostDnsServerList = '-Missing-'.
HostDnsSuffix = '-Missing-'.
EnableLLMNR = 'false'.
Unique error string = '0'.

HNS failed to set interface configuration with error '%1'.
NetCfgInstanceId = '%2'.
HostDnsServerList = '%3'.
HostDnsSuffix = '%4'.
EnableLLMNR = '%5'.
Unique error string = '%6'.

这些日志会重复几次，就像代码中某处连续重试7次一样。
重新安装/重新启动 无法解决问题。
安装WSL2时会临时在网络设备中创建一个新的边界，但安装完成后，没有任何原因，网络适配器就重新消失了。
我也尝试过当前的预发布版本 <IP_ADDRESS> - 但没有成功。

栅栏 使用栅栏值的值设置栅栏值：HostDnsServerList 并且HostDnsSuffix没有效果。 Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss
Windows功能 启用HyperV + MVP + WSL
服务 与服务的通信Host Network Service或服务本身出现问题。 我尝试在 Powershell(HCN/HNS) 中创建自己的网络适配器，但该命令仅返回该服务未启动。 在 services.msc 中，服务实际上正在运行。
有什么想法吗？

I changed the bridge mode to host mode is work

Yes, I was thinking as well about this solution, but after writing this post I just fixed it old fashion way.
1. Made a backup of all distributions *.vhd
2. Unistalled WSL app
3. Turned off WSL in Windows features
4. Reboot
5. Installed WSL app + distros(in my case via MS Store)  + Enabled the Windows feature
6. Reboot
7. Started vanilla WSL
8. Replaced new *.vhds with old ones
9. Fixed

The whole process was quick and in few mins everything was installed.

Hi. Can you please collect networking logs by following the instructions below?
https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues

是的，我也在考虑这个解决方案，但在写完这篇文章后，我只是以旧的方式修复了它。
1. Made a backup of all distributions *.vhd
2. Unistalled WSL app
3. Turned off WSL in Windows features
4. Reboot
5. Installed WSL app + distros(in my case via MS Store)  + Enabled the Windows feature
6. Reboot
7. Started vanilla WSL
8. Replaced new *.vhds with old ones
9. Fixed

整个过程很快，几分钟内就安装好了所有东西。

Thank you for your reply

你好。您可以按照以下说明收集网络日志吗？ https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues

I changed the bridge mode to host mode is work.
Not for a while, thank you

I think wsl has a thing with windows home editions (well no hyper-v that should be obvious...), even after enabling hper-v manually the vEthernet will not appear, the only fix i did was to set:
wsl --set-version
i figured the wsl im using doesnt use vEthernet it ues "NAT"labelled as "Local area network"
that should be a final fix.


Possible incorrect sample code to add NuGet source for GitHub Packages

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
Working with the NuGet registry (https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry)
What part(s) of the article would you like to see updated?
The section Authenticating in a GitHub Actions workflow uses this code to add a Nuget feed source for GitHub Packages with the nuget registry:
dotnet nuget add source --username USERNAME --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/NAMESPACE/index.json"
and the instruction about the NAMESPACE placeholder is:

Replace NAMESPACE with the name of the personal account or organization to which your packages are scoped.

But nothing is said about the USERNAME placeholder. Which value should be used? (it cannot be omitted because the username parameter is mandatory in the command dotnet nuget add source if the password parameter is supplied).
Additional information
No response

@carlos-quintero Thank you for opening an issue! I'll get this triaged for review ✨

@carlos-quintero - Thank you for raising this. We could clarify what USERNAME should be - e.g. by using the same wording as in the Microsoft documentation for this: https://learn.microsoft.com/lb-lu/dotnet/core/tools/dotnet-nuget-add-source#options
I've marked this issue help-wanted. If you (or anyone else reading this) would like to raise a pull request to update the docs accordingly that would be great.
Information about contributing to the docs:
https://docs.github.com/en/contributing


add debug for stac and gdal_source

 fix ad debug stac

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 21 (19.05%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 79.617%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

services/src/pro/datasets/external/sentinel_s2_l2a_cogs.rs
0
8
0.0%

operators/src/adapters/raster_subquery_adapter.rs
2
11
18.18%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
18519

Relevant Lines:
23260

💛  - Coveralls


Minor: Add doc example to RecordBatchStreamAdapter

Which issue does this PR close?
Part of #7013
Rationale for this change
While working on https://github.com/apache/datafusion/issues/13714 I got hung up (again) on creating a SendableRecordBatchStream from some batches (I forgot to Box::pin the RecordBatchStreamAdapter  a while)
Let's put this in a documentation example on RecordBatchStreamAdapter
What changes are included in this PR?

Add a doc example of using RecordBatchStreamAdapter

Are these changes tested?

Are there any user-facing changes?
Only docs, no functional changes

Thank you for the review @berkaysynnada


Typos in notebooks 01 and 02

Corrected a few typos and slips. From notebook01:

The model goes through all of the training data once, performing its forward() function calculations.

To:

The model goes through all of the testing data once, performing its forward() function calculations.

From notebook02:

What do you think will happen when we introduce the capability for our model to use non-linear actviation functions?

To:

What do you think will happen when we introduce the capability for our model to use non-linear activation functions?

From:

Calcuate loss and accuracy

To:

Calculate loss and accuracy

From:

To measure model accuray

To:

To measure model accuracy

Thank you very much!


Reproducing Qwen2-VL-72B-Instruct Evaluation Results Fails

Hi,
I git clone your code (commit 0c44cd2845a0fab51580c5654a86c0da96c7d155) and follow [Official Qwen2-VL (https://github.com/QwenLM/Qwen2-VL) to run Qwen2-VL-72B-Instruct, however, the evaluation results on the OpenCompass Multi-modal Leaderboard benchmarks are different from that of learderboard. Since I don't use GPT as I have no access to GPT, some results such as HallusionBench are low as expected. However, some resutls such as AI2D_TEST are much low.
Here is our environments:

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Mon_Apr__3_17:16:06_PDT_2023
Cuda compilation tools, release 12.1, V12.1.105
Build cuda_12.1.r12.1/compiler.32688072_0

相关依赖

accelerate==0.34.2
transformers==4.45.0.dev0
torch==2.4.0+cu121
torchaudio==2.4.0+cu121
torchvision==0.19.0+cu121
nvidia-cublas-cu12==<IP_ADDRESS>
nvidia-cuda-cupti-cu12==12.1.105
nvidia-cuda-nvrtc-cu12==12.1.105
nvidia-cuda-runtime-cu12==12.1.105
nvidia-cudnn-cu12==<IP_ADDRESS>
nvidia-cufft-cu12==<IP_ADDRESS>
nvidia-curand-cu12==<IP_ADDRESS>
nvidia-cusolver-cu12==<IP_ADDRESS>
nvidia-cusparse-cu12==<IP_ADDRESS>
nvidia-ml-py==12.560.30
nvidia-nccl-cu12==2.20.5
nvidia-nvjitlink-cu12==12.1.105
nvidia-nvtx-cu12==12.1.105

Here is our evaluation results:

Thanks for your time~

Hi, @ChuanyangZheng ,
Actually , for other MCQ benchmarks like MMMU or AI2D_TEST, we also use GPT-3.5-Turbo for choice label extraction. So it's possible that the reproduced results without GPT is a little bit lower.

Could I download the results from your leaderboard evaluation resutls, including detailed predications, to compare the difference?

Sure, I'm going to upload the evaluation records to https://huggingface.co/datasets/VLMEval/OpenVLMRecords/tree/main/mmeval today.

Thanks, we found all the gaps (including  AI2D_TEST) come from the evaluation with/wo GPT. The detailed predications of ours aligns with yours.

Glad to see the problem is resolved.


feat(typescript-resolvers): Added internalResolversPrefix flag to allow modifications to resolveType and isTypeOf resolvers

Hi @dotansimha, I recently started to use mecurius instead of Apollo Server and they use resolveType instead of __resolveType as a field name for abstract type resolver.
See https://github.com/mercurius-js/mercurius/commit/fd9040b772eedc2d50d4bce196c7ff6745d3742a
I think it will be nice if the field name is customizable. and here is how :)
appreciate your work.

Well I want to use isTypeOf also without prefix. Would it be better to be resolveTypeFieldName and isTypeOfFieldName?

This is great. Thank you so much @cometkim !  2 small notes:

What about __isTypeOf? it should also be without __?
Can you please add a changeset? (run yarn changeset)

Well, I want to use isTypeOf also without prefix. Would it be better to be resolveTypeFieldName and isTypeOfFieldName?

Maybe it could be prefixInternalTypeResolver or something similar? @kamilkisiela ideas on that name? :D

Thank @cometkim .
I changed the name of the configuration flag to internalResolversPrefix and applied it to both isTypeOf and resolveType. Also, added the missing changeset.
Thank you!

Available in<EMAIL_ADDRESS>

Thank you @dotansimha !


Support concatenating programs

I recently had to build a program from two different program sources: one with the calibrations, and another with the actual program logic. It was not exactly ergonomic, and I think we should support something akin to pyQuil's program concatenation.

Hi @notmgsk, Is this issue still relevant? I can try and help wherever possible.

@kris524 Yeah! That would be great. Take a look at how pyQuil does the same. There is some care to be taken, especially WRT combining calibrations, frames, etc. from both programs. Let me know if you have more questions.

Hi @notmgsk, I had a look at some files but I have difficulty finding the ones you mention. Do you know the exact paths to the files or examples I can have a look at? I can find the calibration.rs but not sure where to look in pyQuil


feat(artifacts): add check logic for logo artifacts

Linter functionality was added to check whether the logo artifact data is correct when a new artifact manifest is uploaded, with the artifactType 'com.zot.logo' .
Signed-off-by: Alex Stan<EMAIL_ADDRESS>
What type of PR is this?
feature

Which issue does this PR fix:
Closes https://github.com/project-zot/zot/issues/971
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This PR is no longer applicable.


Treemap or TreemapChart

Was thinking about this a while ago. Thought it would be nice to have every chart components' name look like ...Chart but when I look at the wikipedia page of charts , tree map is just called tree map. Instead of tree map chart.
@esbullington What do you think ?

Hey @yang-wei I think it's fine as it is for now.  If it appears to be confusing people then we can revisit the issue.


Feature/thrift forward adapter

TL;DR This PR adds an abstraction for application owners to easily forward thrift calls that are invoked over tchannel to other nodes in a ringpop enabled application.
Blocked on: https://github.com/uber/tchannel-go/pull/94
tchannel-go provides an application called thirft-gen that generates code so thrift calls can be invoked over tchannel. This PR enhances ringpop with features to easily route those remote calls to a ringpop enabled application by wrapping around your service implementation. In the wrapping layer you configure how endpoints in services should be routed by providing the following 4 fields.

N This is the number of nodes on the ring that should be looked up based on the key
Fanout This is the actual number of nodes that the request will be forwarded to
Key This is a closure with the same arguments as your service implementation (including the thrift context) that returns a string. The string returned will be used as the key to do the ring lookup
Reducer When Fanout is bigger than 1 there are multiple response values. These get passed into the reducer to do a reduce phase comparable to MapReduce. The input is a slice for every output argument of your service endpoint. The output has the same signature as your service.

The adapter gets generated by thrift-gen based on the thrift specification you pass in. To accomplish this we made some changes to thrift-gen; https://github.com/uber/tchannel-go/pull/94. When those changes are finished and accepted thrift-gen accepts multiple --template <path> flags. With this flag you can pass a template file -suggested convention is to call these <module>.thrift-gen- that can generate your code based on the thrift specification. In this PR we add a ringpop.thrift-gen file to ringpop-go.
The usage of the generated code looks as follows;
keyvalue.thrift:
exception KeyNotFound {
  1: required string key
}

exception InvalidKey {
  1: required string reason
}

service KeyValue {
  // If the key does not exist, KeyNotFound is returned.
  string Get(1: string key) throws (
    1: KeyNotFound notFound
  )

  // Set returns InvalidKey is an invalid key is sent.
  void Set(1: string key, 2: string value) throws (
    1: InvalidKey invalidKey
  )

}

// Returned when the user is not authorized for the Admin service.
exception NotAuthorized {}

service Admin {
  void clearAll() throws (1: NotAuthorized notAuthorized)
}

This thrift file describes a key value service. The implementation of this service will not be covered here, but we expect you to be able to create an implementation of the keyvalue.TChanKeyValue interface as an implementation of your service.
After you have this you can wrap ringpop around your implementation like the following code:
var handler gen.TChanKeyValue
handler = handlers.NewKeyValueHandler(store)

// wrap the handler with the ringpop adapter
handler = gen.NewRingpopKeyValueAdapter(handler, ring, ch, gen.KeyValueConfiguration{
	Set: &gen.KeyValueSetConfiguration{
		N:      2,
		Fanout: 2,
		Reducer: func(errs []error) error {
			return errs[0]
		},
		Key: func(ctx thrift.Context, key string, value string) string {
			return key
		},
	},
	Get: &gen.KeyValueGetConfiguration{
		N:      2,
		Fanout: 1,
		Key: func(ctx thrift.Context, key string) string {
			return key
		},
	},
})

server.Register(gen.NewTChanKeyValueServer(handler))

In this example we configure the Set endpoint of our service with N: 2 and Fanout: 2. This makes sure there will be 2 copies of the value for the key in the cluster during writing a key.
The Get endpoint is configured with N: 2 and Fanout: 1. This is because we only care about 1 version of the key since the key should be replicated during the write phase. We need to specify N: 2 because ringpop needs to know which nodes hold the data. The implementation of the fanout is that it prefers local execution over remote execution when possible.
Valid values for N and Fanout are:

Positive non 0 numbers
ringpop.ALL

The numbers indicate the number of nodes that should be selected as candidates, ALL indicates that the complete cluster will be a candidate for the operation. A good candidate for this would be Admin::clearAll from our thrift file. When Admin::clearAll is executed on 1 host it automatically gets forwarded to all online hosts.
Please take a look at the changes and be fierce in feedback!
cc @uber/ringpop and @prashantv in case you're interested in following along.

This is cool.
It def. requires some tests. I'd even suggest pulling some of the fan-out logic out into other PRs, if possible since you've conflated both Thrift support with things that are relatively unrelated.
But more fundamentally, I think there's too much logic in the generated code. I think most of it can be pulled out into core Ringpop APIs, by potentially introducing something like a Ringpop Router object. Though, we'll have to think about it some more since we have to decide how much, internally, Ringpop should know about Thrift.


UI shows no data when accesing from remote

I have a gekko instance running on a second laptop and all is working fine when i use the browser installed on this laptop. But when i use a other computer and browser to access the gekko instance i cannot see any gathered data or the running market watchers.
How can i access the gekko ui from a remote computer?

What do you mean cannot see any data? When you click on the "scan data" button nothing pops up?

i cannot see any running market watchers or when i click on scan data it did not shows any previous gathered data.

It sounds like you are running 2 gekkos: You only need to start Gekko once (with node gekko --ui).
If you have 2 computers and want to run Gekko on computer A and watch it on computer B (and A) you need to follow these instructions: https://gekko.wizb.it/docs/installation/installing_gekko_on_a_server.html#Configuring-Gekko-to-run-headless-in-a-trusted-environment
The gist is:

configure the Gekko (using UIconfig) to listen for network connections, and set the UI up for connecting to Gekko over a network.
start Gekko once (on the machine you want to run it)
Connect to Gekko everywhere by typing in your browser http://[IP ADDRESS]:3000.

If that does not solve it, please reply here :)


Class-based F# Azure Functions with Dependency Injection possible?

Hi @mikhailshilkov,
Do you know if class-based F# Azure Functions with Dependency Injection (need this TelemetryConfiguration) are possible? Just trying but the AF runtime tells me 0 functions found ...
Thanks in advance!

pls ignore, my mistake - had a top-level module instead of namespace, and the nesting probably did not allow the runtime to reflect properly on the functions ... With namespace and type directly inside works .. Now need to find why there is a mismatch between the injected/referenced types ... this is a mess ..


build(deps): update scala3-library from 3.1.2 to 3.1.3

Updates org.scala-lang:scala3-library from 3.1.2 to 3.1.3.
GitHub Release Notes - Version Diff - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala3-library" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Codecov Report

Merging #76 (e1d2da1) into main (fdb4fbf) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #76   +/-   ##
=======================================
  Coverage   85.36%   85.36%
=======================================
  Files           3        3
  Lines          41       41
  Branches        3        3
=======================================
  Hits           35       35
  Misses          6        6

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 fdb4fbf...e1d2da1. Read the comment docs.


⚠ Bofrost.be has degraded performance

In d6120ea, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2777 ms

Resolved: Bofrost.be performance has improved in af12df0.


CON-1062: Update references to the new conclave-core-sdk repo

Also changed "Conclave SDK" references to either be more specific by adding "Core" or modified in other ways.
The root README has also been cleaned up.

Comments address, PTAL


Running "mvn package" in the root directory results in build failure

If I 'git clone' the repo, and then enter the directory and run:
mvn package
I get the following error:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] trunk .............................................. SUCCESS [  5.391 s]
[INFO] Apache Standard License v2 ......................... SUCCESS [  0.409 s]
[INFO] com.google.cloud.tools.eclipse.3rdparty.feature .... SUCCESS [  0.118 s]
[INFO] com.google.cloud.tools.eclipse.appengine.ui ........ FAILURE [  5.033 s]
[INFO] com.google.cloud.tools.eclipse.appengine.localserver SKIPPED
[INFO] com.google.cloud.tools.eclipse.appengine.newproject  SKIPPED
[INFO] com.google.cloud.tools.eclipse.appengine.newproject.maven SKIPPED
[INFO] com.google.cloud.tools.eclipse.appengine.whitelist . SKIPPED
[INFO] com.google.cloud.tools.eclipse.suite.e45.feature ... SKIPPED
[INFO] google-cloud-plugin-eclipse.repo ................... SKIPPED
[INFO] com.google.cloud.tools.eclipse.test.dependencies ... SKIPPED
[INFO] com.google.cloud.tools.eclipse.appengine.localserver.test SKIPPED
[INFO] com.google.cloud.tools.eclipse.appengine.whitelist.test SKIPPED
[INFO] com.google.cloud.tools.eclipse.appengine.newproject.test SKIPPED
[INFO] com.google.cloud.tools.eclipse.appengine.newproject.maven.test SKIPPED
[INFO] com.google.cloud.tools.eclipse.appengine.ui.test ... SKIPPED
[INFO] com.google.cloud.tools.eclipse.usagetracker ........ SKIPPED
[INFO] com.google.cloud.tools.eclipse.usagetracker.test ... SKIPPED
[INFO] gcp-eclipse-mars ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:49 min
[INFO] Finished at: 2016-06-12T14:19:59-04:00
[INFO] Final Memory: 150M/907M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.24.0:compile (default-compile) on project com.google.cloud.tools.eclipse.appengine.ui: useJDK = BREE configured, but no toolchain of type 'jdk' with id 'JavaSE-1.7' found. See http://maven.apache.org/guides/mini/guide-using-toolchains.html -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :com.google.cloud.tools.eclipse.appengine.ui
Note that I have not run the step to build the target platform (due to https://github.com/GoogleCloudPlatform/gcloud-eclipse-tools/issues/232). Seems unrelated though.

Ah, never mind, I see that there is information on what to do in "Configuring Maven/Tycho Builds" under README.md.
Perhaps we should move this information higher up in the README.md text.

done


⚠ Bofrost.lu has degraded performance

In eab0e81, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1554 ms

Resolved: Bofrost.lu performance has improved in d732bd9 after 6 minutes.


Still get old notebook ui

Steps to cause the bug to occur
1.Reinstall my computer to Ubuntu 20
2. Install a clean vscode from store, and install python and intellicode extension
3. open a new blank jupyter notebook
Actual behavior

Expected behavior

Your Jupyter and/or Python environment
Please provide as much info as you readily know

Jupyter server running: Local
Extension version: 2020.9.111407
VS Code version: 1.49.2
Setting python.jediEnabled: true | false (where?)
Setting python.languageServer: Jedi
Python and/or Anaconda version: 3.8.3
OS: Ubuntu 20.04.1
Virtual environment: miniconda

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

Hey @richarddwang, just to confirm, do you have the following entry in your settings.json to explicitly opt into the new notebook UI?
    "python.experiments.optInto": [
        "NativeNotebook - experiment"
    ],

Hi @joyceerhl
Thanks for the reply.
I didn't.

I add it.

restart vscode
open a blank notebook
get the same old ui

Apologies, not sure if you saw my edited message. The new notebook UI is only available in the Insiders version of VS Code, and it looks like you are using the Stable version of VS Code. You would need to download the Insiders version of VS Code https://code.visualstudio.com/insiders/ and install the Python extension there, then opt into that experiment above, to get access to the new notebook UI.

Thanks @joyceerhl ,
It looks pretty !

Several quick question

I noticed the jupyter notebook ux updates is in VSCode release notes but not in VSCode insider, will it be confusing ? And how can I get  introduction to new features if I use vscode insider ?

I got a warning "Couldn't find kernel 'Python 3.8.5 64-bit ('py38': conda)' that the notebook was created with. Using the current interpreter." every time execute a new notebook. Is there some way to solve this ?

Is there a place I can learn about experiment things, such as opt out something like this

If you run the 'Code - Insiders: Show Release Notes' command, that should bring up the following page. From here you can get to the VS Code iteration plan, which tracks the features that will be included in the upcoming release as they are completed.

I just had a look at the relevant code (included below), and I think we ought to provide a way to suppress that warning for the current notebook or all future notebooks, as I can see how that might get annoying:

https://github.com/microsoft/vscode-python/blob/6332b811dff577b383bc9715d3a34ec22df2eed3/src/client/datascience/jupyter/kernels/kernelSelector.ts#L628-L634

Are you referring to the bar with the green check mark and the time? If so, you can hide that in your settings:

Are you saying that you can't open a Jupyter notebook that's on a remote host in VS Code?

Thank you @joyceerhl

I see. Thanks for pointing out
That would be great !
Yes. Your suggestion works. Thanks !
No.
Originally I wanted to say I can but I get old ui for notebook when using remote-ssh

But after I update python extension in the server to 2020.9.112786 (released 1 hour ago), I can't even open the notebook

after I update python extension in the server to 2020.9.112786 (released 1 hour ago), I can't even open the notebook

Does this behavior persist even after you close and reopen the jupyter notebook? If closing and reopening works, you likely ran into https://github.com/microsoft/vscode-python/issues/14172.

Yes, I even reopen vscode. And it still happens.

This should be fixed in the latest insiders build of the extension.

Thanks you @greazer  and @joyceerhl for working on the issue.
I still can't open notebook on "remote-ssh" with the latest insider python version (2020.10.113101-dev)

But I can open notebook with new ui on local without any problems.

Any suggestions ?

Is the native notebook editor experiment enabled on the remote system too? Additionally just wanted to double check, are you using the insider's version of VS code?

Yes I am using VS code insider.
Oh I wasn't aware of remote settings. But I got the same issue after add the setting.

Also I can't switch to insider daily channel, it said no this command.


Decide on naming and icon for pass app

Name: "Explore"? "Raw data visualizations"?
Icon: If we're using the original mbio icons for the eda apps, would be great for @dpbisme to design the new icon here, as well.

After long slack threads, decided to first have a meeting where we revisit the vision for apps.


Adds ComponentRendererWithQuery and ComponentRendererWithContext

Please delete checklist items and sections that are not relevant
Checklist

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Storybook or docs have been added / updated (for bug fixes / features)

What is the ticket / issue associated with this change? (Link to the ticket or issue)
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information:
Storybook Link (Link to a local storybook url to review new functionality)

Missing the libbuild step

Hey @tkanzakic - how do you mean? This PR just adds a couple of additional helper components, libbuild is in package.json
and hasn't been touched.


feat(roll): roll to 1.42 Playwright

Upstream commit: https://github.com/microsoft/playwright/commit/8709a3a24b22304a2be67ac5688a998e71a32c5e

Deployment link is https://delightful-forest-0a29f6210-1301.centralus.azurestaticapps.net/.
Fixed for the future in https://github.com/microsoft/playwright.dev/pull/1302.


jason first commit

Jason first SEG commit.

Few main comments

you can't have math in the text
you need to add the math to the figure
remove the (a), (b) these are way too big, same for start/middle/...
what the total injected amount
Axes/labels if figures aren't readable

Need to undo your last commit since it adds all unnecessary files


Samarth

AAD Manual steps added and corrected URLs

Docs Build status updates of commit d2dd835:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-community-training/frequently-asked-questions/faqs-general.md
:warning:Warning
View
Details

microsoft-community-training/frequently-asked-questions/faqs-installation-and-setup.md
:warning:Warning
View
Details

microsoft-community-training/frequently-asked-questions/pricing-subscription.md
:warning:Warning
View
Details

microsoft-community-training/frequently-asked-questions/security-and-privacy.md
:warning:Warning
View
Details

microsoft-community-training/infrastructure-management/configure-your-platform-infrastructure/learner-action-events-infrastructure.md
:warning:Warning
View
Details

microsoft-community-training/infrastructure-management/install-your-platform-instance/configure-login-social-work-school-account.md
:warning:Warning
View
Details

microsoft-community-training/infrastructure-management/install-your-platform-instance/installation-guide-detailed-steps.md
:warning:Warning
View
Details

microsoft-community-training/infrastructure-management/install-your-platform-instance/installation-overview.md
:warning:Warning
View
Details

microsoft-community-training/infrastructure-management/install-your-platform-instance/troubleshooting.md
:warning:Warning
View
Details

microsoft-community-training/whats-new-in-microsoft-community-training/2020/whats-new-in-february-2020.md
:bulb:Suggestion
View
Details

microsoft-community-training/TOC.yml
:white_check_mark:Succeeded
View

microsoft-community-training/content-management/content-management-overview.md
:white_check_mark:Succeeded
View

microsoft-community-training/content-management/create-content/create-course-category/create-a-new-course.md
:white_check_mark:Succeeded
View

microsoft-community-training/content-management/create-content/create-course-category/upload-content-to-a-course.md
:white_check_mark:Succeeded
View

microsoft-community-training/content-management/manage-content/manage-course-category/change-course-details.md
:white_check_mark:Succeeded
View

microsoft-community-training/frequently-asked-questions/analytics-reporting.md
:white_check_mark:Succeeded
View

microsoft-community-training/frequently-asked-questions/custom-integration.md
:white_check_mark:Succeeded
View

microsoft-community-training/frequently-asked-questions/faqs-course.md
:white_check_mark:Succeeded
View

microsoft-community-training/frequently-asked-questions/faqs-user-management.md
:white_check_mark:Succeeded
View

microsoft-community-training/frequently-asked-questions/portal-branding-customization.md
:white_check_mark:Succeeded
View

microsoft-community-training/frequently-asked-questions/user-roles-groups.md
:white_check_mark:Succeeded
View

microsoft-community-training/frequently-asked-questions/web-mobile-app.md
:white_check_mark:Succeeded
View

microsoft-community-training/get-started/step-by-step-configuration-guide.md
:white_check_mark:Succeeded
View

microsoft-community-training/index.yml
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/configure-your-platform-infrastructure/azure-front-door-migration.md
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/configure-your-platform-infrastructure/business-continuity-and-disaster-recovery-for-your-platform-instance.md
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/configure-your-platform-infrastructure/customize-the-name-and-icon-of-the-training-tab-in-ms-teams.md
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/configure-your-platform-infrastructure/delete-your-training-instance.md
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/configure-your-platform-infrastructure/scale-up-instance-configuration.md
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/configure-your-platform-infrastructure/set-up-custom-homepage-for-your-mct-instance.md
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/configure-your-platform-infrastructure/setup-custom-domain-url.md
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/install-your-platform-instance/apis.md
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/install-your-platform-instance/create-publish-mobile-app.md
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/install-your-platform-instance/create-teams-app-for-your-training-portal.md
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/install-your-platform-instance/setup-platform-instance-on-azure-subscription-for-nonprofits.md
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/monitor-your-platform-infrastructure/backup-and-recovery.md
:white_check_mark:Succeeded
View

microsoft-community-training/infrastructure-management/monitor-your-platform-infrastructure/monitor-your-infrastructure.md
:white_check_mark:Succeeded
View

microsoft-community-training/learner-experience/mobile.md
:white_check_mark:Succeeded
View

microsoft-community-training/learner-experience/web-app.md
:white_check_mark:Succeeded
View

microsoft-community-training/media/ManualAADSetup1.png
:white_check_mark:Succeeded
View

microsoft-community-training/media/ManualAADSetup2.png
:white_check_mark:Succeeded
View

microsoft-community-training/media/ManualAADSetup3.png
:white_check_mark:Succeeded
View

microsoft-community-training/media/ManualAADSetup4.png
:white_check_mark:Succeeded
View

microsoft-community-training/rest-api-management/api-documentation.md
:white_check_mark:Succeeded
View

microsoft-community-training/rest-api-management/service-to-service-authentication.md
:white_check_mark:Succeeded
View

microsoft-community-training/settings/add-additional-profile-fields-for-user-information.md
:white_check_mark:Succeeded
View

microsoft-community-training/settings/configurations-on-the-training-platform.md
:white_check_mark:Succeeded
View

microsoft-community-training/settings/configure-the-look-and-feel-of-your-portal.md
:white_check_mark:Succeeded
View

microsoft-community-training/settings/customize-languages-for-the-learners-on-the-platform.md
:white_check_mark:Succeeded
View

microsoft-community-training/settings/customize-the-certificate-template.md
:white_check_mark:Succeeded
View

This comment lists only the first 50 files in the pull request.

microsoft-community-training/frequently-asked-questions/faqs-general.md

Line 161, Column 4: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/industry/training-services/microsoft-community-training/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 161, Column 4: [Suggestion-docs-link-absolute] Absolute link 'https://docs.microsoft.com/en-us/azure/industry/training-services/microsoft-community-training/' will be broken in isolated environments. Replace with a relative link.

microsoft-community-training/frequently-asked-questions/faqs-installation-and-setup.md

Line 22, Column 53: [Warning-hard-coded-locale] Link 'https://azure.microsoft.com/en-in/pricing/purchase-options/pay-as-you-go/' contains locale code 'en-in'. For localizability, remove 'en-in' from links to most Microsoft sites.

microsoft-community-training/frequently-asked-questions/pricing-subscription.md

Line 18, Column 65: [Warning-hard-coded-locale] Link 'https://azure.microsoft.com/en-us/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 24, Column 65: [Warning-hard-coded-locale] Link 'https://azure.microsoft.com/en-in/pricing/purchase-options/pay-as-you-go/' contains locale code 'en-in'. For localizability, remove 'en-in' from links to most Microsoft sites.

microsoft-community-training/frequently-asked-questions/security-and-privacy.md

Line 115, Column 8: [Warning-hard-coded-locale] Link 'https://azure.microsoft.com/en-in/services/ddos-protection/' contains locale code 'en-in'. For localizability, remove 'en-in' from links to most Microsoft sites.

microsoft-community-training/infrastructure-management/configure-your-platform-infrastructure/learner-action-events-infrastructure.md

Line 18, Column 238: [Warning-hard-coded-locale] Link 'https://azure.microsoft.com/en-in/services/service-bus/' contains locale code 'en-in'. For localizability, remove 'en-in' from links to most Microsoft sites.

microsoft-community-training/infrastructure-management/install-your-platform-instance/configure-login-social-work-school-account.md

Line 186, Column 5: [Warning-alt-text-bad-value] Alt text 'ManualAADSetup1' is the same as the image file name. This redundancy adds no value for users of screen readers. For accessibility, add more descriptive alt text.
Line 189, Column 1: [Warning-alt-text-bad-value] Alt text 'ManualAADSetup2' is the same as the image file name. This redundancy adds no value for users of screen readers. For accessibility, add more descriptive alt text.
Line 192, Column 1: [Warning-alt-text-bad-value] Alt text 'ManualAADSetup3' is the same as the image file name. This redundancy adds no value for users of screen readers. For accessibility, add more descriptive alt text.
Line 204, Column 5: [Warning-alt-text-bad-value] Alt text 'ManualAADSetup4' is the same as the image file name. This redundancy adds no value for users of screen readers. For accessibility, add more descriptive alt text.

microsoft-community-training/infrastructure-management/install-your-platform-instance/installation-guide-detailed-steps.md

Line 18, Column 88: [Warning-hard-coded-locale] Link 'https://azure.microsoft.com/en-in/pricing/purchase-options/pay-as-you-go/' contains locale code 'en-in'. For localizability, remove 'en-in' from links to most Microsoft sites.

microsoft-community-training/infrastructure-management/install-your-platform-instance/installation-overview.md

Line 12, Column 260: [Warning-hard-coded-locale] Link 'https://azure.microsoft.com/en-in/overview/what-is-azure/' contains locale code 'en-in'. For localizability, remove 'en-in' from links to most Microsoft sites.
Line 38, Column 13: [Warning-hard-coded-locale] Link 'https://azure.microsoft.com/en-in/pricing/purchase-options/pay-as-you-go/' contains locale code 'en-in'. For localizability, remove 'en-in' from links to most Microsoft sites.

microsoft-community-training/infrastructure-management/install-your-platform-instance/troubleshooting.md

Line 34, Column 2: [Warning-hard-coded-locale] Link 'https://azure.microsoft.com/en-in/pricing/purchase-options/pay-as-you-go/' contains locale code 'en-in'. For localizability, remove 'en-in' from links to most Microsoft sites.
Line 50, Column 117: [Warning-hard-coded-locale] Link 'https://azure.microsoft.com/en-in/pricing/purchase-options/pay-as-you-go/' contains locale code 'en-in'. For localizability, remove 'en-in' from links to most Microsoft sites.

microsoft-community-training/whats-new-in-microsoft-community-training/2020/whats-new-in-february-2020.md

Line 43, Column 31: [Suggestion-docs-link-absolute] Absolute link 'https://docs.microsoft.com/azure/industry/training-services/microsoft-community-training/' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


billinear interpolation filters

Hi, @Kaixhin ,
Have you appended the billinear interpolation filters in your fcn implementation? I cannot found this layer in your code. Is that the reason for lower performance ?

It is true that sometimes people have reported better results by replacing transposed convolutions with bilinear filtering. I just tried this, replacing all of my transposed convolutions with bilinear upsampling + normal convolutions, but this does not seem to make a change to previous results that reached 30% IoU quickly and saturated at 40% IoU (graph below).


Build(deps): Bump @tanstack/react-query from 5.28.14 to 5.37.1 (#5762)

Pull request opened by the merge tool on behalf of #5762

Merged in 04653246ed4b783702ed1ad7b4f697a6f805e367


Revert "Add a script for running the sms service incrementally"

Reverts AfricasVoices/Operations-Dashboard#42

@as2388
Actually this causes a bunch of problems.
Having to install dround on the virtual machines that we use to execute this doesn't seem like a good complexity tradeoff.
We could either set it up so that this was added as a dependency inside the docker container, or in the python script. Either would avoid having to do another custom setup step that's OS dependent on the context that we run these scripts from.
Sorry for merging the PR before realising this problem

Pushing dround into the Docker container feels like the way to go to me (as we'd have to make some changes to the interface to the python script otherwise). I will do that.


Experimentation

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #
Test URLs:

Before: https://main--aem-boilerplate1--dipenrique.hlx.live/
After: https://--aem-boilerplate1--dipenrique.hlx.live/

Approved


User can view Action Cover Page for a search result

For a selected search result, the user should be able to open the corresponding Action in order to view all the information held about it.
The “Action cover page” should display:

Action name e.g. Net Zero Strategy
Action description - CCLW summary
Location of publication (geography - e.g. France, United States, Peru etc)
Action year e.g. 2020
Action type - either executive or legislative
Sector e.g. energy, transport etc
Instrument e.g. taxes, subsidies etc
Events e.g. published 2020, amended 2021, replaced 2022
Keywords e.g. carbon trading, electric vehicles etc
Theme e.g. mitigation, adaptation etc
Documents contained in the action

This information should be read-only.

Updated the metadata shown on the action cover page as agreed with @danny-waite-cpr and @eurolife, and as reflected in mockup of action cover page.

Hey team! Please add your planning poker estimate with ZenHub @eurolife @kdutia @opyate

@chrisaballard to adjust the scope of this task for the current sprint

At a push, we can mock data to get Paula started quickly:
Mock Servers: Fake servers that take description document as input, then route incoming HTTP requests to example responses or dynamically generates examples.


Revert "fix(archive): Single dest_key archive not working"

This reverts commit 278cdffb055e5b1edda6277c4a6a94f170990c79.

:tada: This PR is included in version 1.72.0-develop.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.72.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Change the error message if spend from a watch-only address

due to the balance is cheched before, I remove the "Insufficient funds" error message.

when is the message shown?

If you want to spend the coin from a watch-only address, which you do not have the private key, it original said that the address does not have the sufficient fund. I think it should notice the user that it is a watch-only address, so you can't spend coin from the address, not because the address have insufficient fund.

relatively safe change.  only message is changed.


Failed to gracefully shutdown application (IIS Hang)

on application pool recycle (automatic by duration) and under high load i often get the following entry in event log Failed to gracefully shutdown application 'MACHINE/WEBROOT/APPHOST/WEBNAME'.
this was already happen in 2.1 with outproc, but now i've updated to 2.2 with hostingModel="InProcess", but i get a additional eventlog entry:
CoreCLR Version: 4.6.27207.3
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException: The handle is invalid
   at System.ConsolePal.WindowsConsoleStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
   at System.IO.StreamWriter.WriteLine(String value)
   at System.IO.SyncTextWriter.WriteLine(String value)
   at System.Console.WriteLine(String value)
   at Microsoft.AspNetCore.Hosting.WebHostExtensions.<>c__DisplayClass6_0.<AttachCtrlcSigtermShutdown>g__Shutdown|0()
   at Microsoft.AspNetCore.Hosting.WebHostExtensions.<>c__DisplayClass6_0.<AttachCtrlcSigtermShutdown>b__1(Object sender, EventArgs eventArgs)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.AppContext.OnProcessExit(Object sender, EventArgs e)

I use overlapped recycling, the new process is already stated, but i need to recycle manualy else the IIS is not processing requests anymore, they just timed out.
Setup:

Windows Server 2012 R2
IIS 8.5
.net core runtime and hosting bundle 2.2.1
overlapped recycling enabled
web: preload enabled = true
application pool: start mode always running
32bit application

any idea why this exception happens?
the related code should be this https://github.com/aspnet/Hosting/blob/master/src/Microsoft.AspNetCore.Hosting/WebHostExtensions.cs#L142 (this Console.Log)

this is happening to us as well. we are load balanced, and as soon as one instance fails from this, the others shortly fail as well. This issue is happening during high traffic hours

I am also facing the same issue. I have hosted Asp.Net Core 2.2 API project InProcess (IIS) and frequently getting "Failed to gracefully shutdown process". Any solution?

I am also facing the same issue. I have hosted Asp.Net Core 2.2 API project InProcess (IIS) and frequently getting "Failed to gracefully shutdown process". Any solution?

Any update?

We have managed to avoid this Problem by optimizing the http response time.
The main reason for the problem (i n my case) was a quite long request queue in IIS, ans some long running requests ~30sec.
If the IIS Worker triggered the recycle the process will try to conclude all requests in queue, if this will not be able until the IIS recycle timeout value is reached the process will get in this state (and this exception appears).
If the request processing is fast enougth, it would be no problem, but i think the Problem should be resolved in a proper way, even if we have long queues

Looks similar to our other test failures

This isn't likely to be an issue in 3.0. We've moved to logger from Console.WriteLine in the new generic host

We believe we've made significant improvements on shutdown in preview4. If you're still hitting this after preview 4 is released (and you've updated), let us know.

This is affecting us quite badly during local development under 2.2. We're running under IIS using the in-process model and everytime the app pool needs to recycle (usually due to actual changes made during development) a build fails because files are locked by the process crash being handled.
We have to stop the app pool in IIS, build and then restart - this is painful! Are there any known workarounds in 2.2?

To expand on what @deanward81 said:
What are the chances of this getting fixed in 2.2? 3.0 is great, and we're trialing the preview in some areas, but this is crashing the process on the latest stable version.
This is affecting every application we're porting at Stack Overflow. While we'll upgrade to 3.0 as soon as is reasonable, troubleshooting, logging, monitoring, or anything to do with process crashes and event logs is a very high noise to signal ratio and triggers every build.
Can we please get a fix for this in 2.2? By fix I mean something where the process doesn't crash every shutdown, it doesn't have to be fancy. Right now we can't alert on process crashes because every deploy would have n of them, and that makes the platform a risky proposition to move to. The impact of this issue has become more of an issue the bigger the service and when debugging anything, so we now consider this a blocker to any further production deploys. Even a hacky workaround on current bits would be very much appreciated - anything to unblock our moves.

This is affecting us quite badly during local development under 2.2. We're running under IIS using the in-process model and everytime the app pool needs to recycle (usually due to actual changes made during development) a build fails because files are locked by the process crash being handled.

If you are using the VS IIS development tools, you shouldn't be hitting this issue. @BillHiebert  to confirm?

We are going to consider fixing this bug in 2.2.

Three variants:
2.2 web host: https://github.com/aspnet/AspNetCore/pull/12518/files
3.0 web host: https://github.com/aspnet/AspNetCore/blob/f3f9a1cdbcd06b298035b523732b9f45b1408461/src/Hosting/Hosting/src/Internal/WebHostLifetime.cs#L69
3.0 generic host: https://github.com/aspnet/Extensions/blob/45647cef001961bd82c8ac4c112d24d4254e44cf/src/Hosting/Hosting/src/Internal/ConsoleLifetime.cs#L84 (Ensure the logger doesn't throw after disposed on shutdown)

This should be fixed in the next patch release (2.2.7).

do we have the estimated release date for 2.2.7? our application crashes in production causing the transaction failures...

Targetting next week to get 2.2.7 out.

Thank you very much for your quick response!


Version 2.1.4 Regression - Catching DioError doesn't work

Hi, since version 2.1.4 catching DioError doesn't work anymore. I've written a unit test that fails, but should pass, using the syntax in the documentation:
import 'package:flutter_test/flutter_test.dart';
import 'package:dio/dio.dart';

void main() {
  test("dio error test", () async {
    final dio = Dio();

    bool hasError = false;

    try {
      await dio.get("https://wendux.github.io/xsddddd");

      hasError = false;
    } on DioError catch (e) {
      hasError = true;
    }

    expect(hasError, true);
  });
}

fixed, please upgrade to v2.1.5, and try again.

It's working with 2.1.5. Thank you! Awesome job on the library btw!

@wendux can you push the code to 2.1.5? I'd like to PR another fix.


fix: use repo metadata to populate nodejs CODEOWNERS

This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/1d90da25-93b2-47fe-b508-e19cc8071d7a/targets

[ ] To automatically regenerate this PR, check this box.

Source-Link: https://github.com/googleapis/synthtool/commit/318e351e26ba65b2b3cfa3f61b3b64e3540c3525

@bcoe, this change would eliminate DPE ownership over samples. Should I close this and manually add this line to CODEOWNERS?