Q: Using NSwag on non-AspNetCore Project

Hi, I have a suite of C#/.Net Core Lambda functions that I want to publish to drive APIs via API Gateway.  I am using AWS SAM for build, local test and deploy.  This code neither requires nor uses AspNetCore.
From what I have read in the docs, NSwag equires the use of Microsoft.AspNetCore for building out OpenAPI docs. (identifying Controller classes, HttpPost/HttpGet attributes, etc.)  What I would like is to a mechanism to generate OpenAPI documentation that is completely attribute driven, and those attributes are not tied to a specific implementation (MVC or otherwise).  I had something like this in TypeScript that would use JSDoc info to generate OpenAPI docs. I would also like to use/merge in the JSON Schema generated by NJsonSchema (which is working fine).
I am guessing I need to write my own version of NSwag.Generation (instead of NSwag.Generation.AspNetCore it would be something like NSwag.Generation.Attributes or whatever).  Before I go down that rabbit hole, is this a good idea?  Has somebody already done something like this already?

That would be the only way to go since you can't rely on ApiExplorer which is provided by asp.net core.
As far as I know, nobody has done that for AWS, but there has been work done for Azure functions (Have a look at issues in this repository)

Thanks, I found  Jusas/NSwag.AzureFunctionsV2.  That at least gives me a jumping-off point to investigate.  Thanks!


detect language

Is it possible to just detect language and not transcribe? Just detect the language

There is no specific task for detect language.
My suggestion to cut the first 30 seconds of the media file (whisper only looks at the first 30 seconds) and run whisper on it. It produces a json with the detected language.


Swift Package Manager compatibility

I added Package.swift in order to make this project usable with the swift package manager.

wrong branch


Support partial generic specialization of closures

Clean-up the code and fix a bug on the way.

@swift-ci please smoke test

Looks good, thanks!

@swift-ci please smoke test


Why casperjs runs so slowly?

I just use a simple example to test,but casperjs runs for half an hour,how to speed up?
var casper = require('casper').create({
    pageSettings: {
    loadImages: false,
    loadPlugins: false,
    webSecurityEnabled: false
    }
});

casper.start('http://casperjs.org/', function() {
    this.echo(this.getTitle());
});

casper.thenOpen('http://phantomjs.org', function() {
    this.echo(this.getTitle());
});

casper.run();

$ time casperjs c.js
CasperJS, a navigation scripting and testing utility for PhantomJS and SlimerJS
PhantomJS | PhantomJS
casperjs c.js  0.65s user 0.20s system 30% cpu 2.788 total

Check your network connectivity/performance.

Why do you explain this ?

casperjs

  1 var casper = require('casper').create();
  2
  3 casper.start("http://www.alibaba.com/catalogs/corporations/CID63710");
  4
  5 casper.run();

$time casperjs test.js

real    1m22.989s
user    0m4.384s
sys     0m2.272s

curl

time curl "http://www.alibaba.com/catalogs/corporations/CID63710" -I
real    0m0.689s
user    0m0.002s
sys     0m0.010s

To be honest, use casperjs run test cases is very very slow, but I can't find the reason. I'm so confused by this problem. And I found many other person search "casperjs slow" in Google. So it definitely has nothing to do with the network.

@zhangjh use casperjs is like running a real browser ! You can't compare it with a curl call ^^
Compare casperjs results with selenium results using Google chrome or firefox for instance :)


updated formState api

added isValid property to formState, it's nice to have one instead of calculating 🤗

could you please add invalid type to types.ts?

I will update the type :) 👍 thank you contributor

Not been sure what you mean by updating type in types.ts, if typescript can get type by ducktyping 🤔, wouldn't it be like overkill?

yea you are right. that was my bad :(

thank you ❤


Extend CSL processor to include URIs

CSL-JSON, the bibliographic format used by Citation Style Language processors, supports data field uris with an array of URIs of a document. For instance Wikidata entity URIs could be used as URIs to connect WikiCite items with their bibliographic data in CSL-JSON format.
To make use of this URIs, CSL processors should include its value in HTML output, for instance as HTML attribute for further processing.
In the end I want to link from bibliographic references in texts to WikiCite.
Update: The uris field is not part of CSL-JSON but CSL-Citation, so another field may better be used. How about call-number. The best supported field so far seems to be note.
A good place to put Wikidata ids into BibTeX seem to be citation key aliases. Biblatex has field ids for this purpose but it is not suppported by pandoc-citeproc yet.

Wikidata Qids can be put into the ids field of biblatex so they can be used as citation key aliases.


Add last/first name in userSearchAttributes for AD

https://github.com/rancher/rancher/issues/13300

LGTM


Rename home page to index.html

I'm pretty sure that if the main page is renamed from QED.html to index.html, then it will be accessible using the simpler and more easily publicized URL https://teorth.github.io/QED/ (because of how GitHub Pages is configured).
If this is done, it will require updating some links in the blog, etc. However, a simple HTML redirect page could also be added for people who already have a bookmarks set, etc.

Sure, we can do this.  My reasoning for not using index.html originally was so that one could view the directory containing the code (as in http://www.math.ucla.edu/~tao/QED/ ), but I guess the github website does not permit this, so moving the page and making a redirect would be fine.

Closed by a975e3fab8074d7046f392693cb40376d6b7f74f.
@teorth Can you set the "URL" for the GitHub project to https://teorth.github.io/QED/? This should be under the GitHub project settings next to the project description (the description is currently set to "Repository for the QED interactive text and possible extensions").


Language Table Should Be Localized

This table of languages is very difficult to read as it lists the language in the actual language itself as opposed to listing it in the local language for the page.
As an example, I can't tell if Mandarin is supported as I would need to know how to translate Mandarin into Mandarin to check.

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

ID: 1b80d884-1a88-d2d2-0495-ae89c9ef5fef
Version Independent ID: 1b80d884-1a88-d2d2-0495-ae89c9ef5fef
Content: Supported languages in Viva Learning
Content Source: Viva/learning/viva-learning-supported-languages.md
Service: viva
Sub-service: viva-learning
GitHub Login: @bhaswatic
Microsoft Alias: bhaswatic

Hello @jpalarchio Joe, how are you?
Just FYI I'm discussing this internally.

Closed and discussing internally with Product Group input.


sudo docker run --rm --runtime=quark hello-world

thread 'main' panicked at 'InitUring fail: SysError(22)', src/vmspace/uringMgr.rs:93:14
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
docker: Error response from daemon: OCI runtime start failed: unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v2.task/moby/8a32da8fbf9259f23947f1b72cde646bd663a56e45a132136c9e1c9831d11109/log.json: no such file or directory): /usr/local/bin/quark did not terminate successfully: exit status 255: : unknown.

@lebron8dong could you please let me know the Linux kernel version of the environment? It could be got from command "uname -r"

@lebron8dong could you please let me know the Linux kernel version of the environment? It could be got from command "uname -r"
ubuntu22.04
Linux kernel version：6.5.0-14-generic

I would suggest you check the log first: /var/log/quark/quark.log
Also perhaps increase the log level in config.json

Looks like there is some different behavior for io_uring in Linux Kernel 6.x than previous versions. Quark is not compaitble with that change so far :-(. Need some debug.

Looks like there is some different behavior for io_uring in Linux Kernel 6.x than previous versions. Quark is not compaitble with that change so far :-(. Need some debug.

That would explain why quark suddenly stopped working on my machine (perhaps it was a kernel update I don't remember). What's the latest kernel version known to work?

If that was indeed breaking changes in the kernel:
"WE DON'T BREAK USERSPACE!" :(

I don't which exact Linux kernel version leads to such change. My current dev box linux kernel version is 5.15.0-91-generic. It works without any issue.

The Linux 6.5 io_uring doesn't allow mmap a io_uring to fix address. The QKernel IOUring direct sq/cq depeneds on this feature. So it breaks Quark.
The fix is to disable IOUring direct sq/cq. And it has been checked in.l


DbConnectionInterceptor ConnectionOpened (Async) doesn't allow executing a command immediately.

Issue or suggestion
There is an error when intercepting the ConnectionOpened and executing a command.
Does ConnectionOpened happen after it is "opened" and allow for any command to be run after?

This issue is lacking enough information for us to be able to fully understand what is happening. Please attach a small, runnable project or post a small, runnable code listing that reproduces what you are seeing so that we can investigate.

Thanks, sorry, apparently the code does work.
        public override async Task ConnectionOpenedAsync(DbConnection connection, ConnectionEndEventData eventData, CancellationToken cancellationToken = default)
        {
            var connectionString = connection.ConnectionString;
            using (var command = connection.CreateCommand())
            {
                command.CommandText = $"BEGIN {_sessionWrapper.Schema}.Package.Proc('{_sessionWrapper.UserKey}'); END;";
                await command.ExecuteNonQueryAsync();
            }
            await base.ConnectionOpenedAsync(connection, eventData, cancellationToken);
            return;
        }


Fix B023 shadowed variables in nested functions

Current dependencies on/for this PR:

main

PR #4111   👈

This comment was auto-generated by Graphite.


Update go.mod to oras.land/oras-go/v2

Resolves #76

Is this not going to cause issues elsewhere on pkg/, where it still includes the non-v2 path?

The pkg folder will not be impacted. Before we releasing 2.0, we will do #63 and eventually remove the entire /pkg folder.
All old implementation will still be there in the v1 branch and tagged by v1.x.x. Developers can import oras.land/oras-go v1.0.0 to access oras.land/oras-go/pkg.


Handle PCI paths consistently and more generally

This series is designed to change the agent to handle PCI paths more consistently, see issue #854 for more information.

/test-vfio

/test-vfio

/test-vfio

/test-vfio

/test-vfio

/test-vfio

/test-vfio

/test-vfio

/test-vfio

thanks @dgibson  - lgtm but travis is failing
Found 3 commits between commit f2db939b620618987d350f941a0c8d13941c7db1 and branch master

ERROR: No "Fixes" found

ERROR: checkcommits failed. See the document below for help on formatting

commits for the project.

/retest-vfio

now a different error :nerd_face:
/home/travis/gopath/src/github.com/kata-containers/agent/protocols/mockserver

device.go:45: File is not `gofmt`-ed with `-s` (gofmt)
	sysBusPrefix        = sysfsDir + "/bus/pci/devices"
	pciBusRescanFile    = sysfsDir + "/bus/pci/rescan"
	pciBusPathFormat    = "%s/%s/pci_bus/"
	systemDevPath       = "/dev"
	getSCSIDevPath      = getSCSIDevPathImpl
	getPmemDevPath      = getPmemDevPathImpl
	getPCIDeviceName    = getPCIDeviceNameImpl
	pciPathToSysfs      = pciPathToSysfsImpl
	scanSCSIBus         = scanSCSIBusImpl

/test-vfio

/test-vfio
/test-ubuntu

/test

Restarted Debian CI which timed out.
Also restarted the CentOS one but I think we may have seen this issue before @GabyCT?
bats integration/netmon/netmon_test.bats
1..1
not ok 1 test netmon
# (in test file integration/netmon/netmon_test.bats, line 60)
#   `[ "$after_interfaces" -gt "$before_interfaces" ]' failed
#
# e6153b744972f86bffc5573fdc0f2a52eea49ebdcb78510d3599aa5e13ffcfb6
# 0ee6e23ddfe3a27d0cea0d80768de2d882bfe5bd5ca92f940b62a9fbfce42ef7
# containerA
# containerA
# test
#


explain metrics with more details

Let's improve the details of some metrics:

DOER
FOUT
HSD, HSE, HSV
MIDX
NCSS
NULLS

Currently, they are very sketchy, which makes it hard to use them.

@yegor256 I'll work on it to details as mush as I can from those metrics

@yegor256 Just quick question , Should I document and details the code in ast.py or add the details to somewhere else.Thanks

@LaithAlebrahim each of these metrics print their "details" as an output, for example in this line: https://github.com/yegor256/cam/blob/master/metrics/ast.py#L456 The output is " Data vs Object Encapsulation Ratio" -- this is not enough to understand what DOER metric is about. We should print a much more detailed explanation.

@yegor256 could you close the issue?


feat(launch): Support job creation for notebooks

Fixes
Fixes WB-12217
Fixes #NNNN
Description
Adds support for creating jobs from notebooks. Caveats: No magic, and only 1 wandb.init call per notebook. Also runs the full notebook, not the session history
Tests in env:
Colab

Works with colab notebooks for artifact sourced jobs. ( takes a long time to install everything)
Not tested with git in colab, is that common?

Jupyter
Artifact:
-  notebook is in same dir as call to jupyter notebook
-  notebook in nested dir of call to jupyter notebook
Git:

jupyter notebook is called at the root of the git server and file in same dir
jupyter notebook is called at the root of the git server and file in child dir
jupyter notebook called within git repo and file in same dir
jupyter notebook called within git repo and file in child dir
jupyter notebook called from outside git repo and file in repo

VSCode notebooks
Artifact:

requires users to call log_code to make a job artifact.
user should set WANDB_NOTEBOOK_NAME env var to get a job

Git:

users must set WANDB_NOTEBOOK_NAME to the notebook name to get a job

🤖 Generated by Copilot at 5b45e1c
Summary
📝🚀🐛

This pull request adds support for launching jobs from notebook artifacts and improves the handling of notebook runs in the wandb library. It modifies the Job, JobBuilder, and Run classes to handle the notebook source information and configuration, and updates the corresponding tests and utility functions. It also adds new notebooks, tests, and fixtures to demonstrate and verify the functionality.

We're launching jobs from notebooks, me hearties, yo ho ho
We're logging code and git info, me hearties, yo ho ho
We're testing Job and JobBuilder, me hearties, yo ho ho
We're heaving on the count of three, me hearties, yo ho ho

Walkthrough

Rename the source_info field to _job_info in the Job class and update the references to it (link, link, link, link)
Add the convert_jupyter_notebook_to_script function to the wandb/apis/public.py file and import it in the wandb/sdk/launch/utils.py file (link, link)
Add the _notebook_job and _entrypoint attributes to the Job class and update the constructor to set them based on the job source information and the _jupyter setting (link, link)
Add the _configure_launch_project_notebook method to the Job class and update the _configure_launch_project_repo method to call it for notebook jobs (link, link)
Add the _get_code_artifact method to the Job class to fetch the code artifact from the API (link)
Add the NotebookSourceDict type to the wandb/sdk/internal/job_builder.py file and update the existing types to include an optional notebook field and make the entrypoint field optional (link)
Add the _notebook_job attribute to the JobBuilder class and update the build method to set it based on the _is_notebook_run method (link, link)
Add the _build_notebook_source_dict method to the JobBuilder class to return the notebook source information from the code artifact (link)
Update the signatures and logic of the _build_repo_job and _build_artifact_job methods of the JobBuilder class to handle the notebook job case (link, link, link, link, link, link, link)
Update the logic of the log_code method of the Run class in the wandb/sdk/wandb_run.py file to handle the notebook run case and use the notebook name or path as the code artifact name (link)
Add two new notebook files one_cell_disable_git.ipynb and one_cell_set_git.ipynb to the tests/pytest_tests/assets/notebooks directory with examples of using wandb with the disable_git and git_remote_url and git_commit settings (link, link)
Add two new test functions test_notebook_creates_artifact_job and test_notebook_creates_repo_job to the tests/pytest_tests/system_tests/test_notebooks/test_notebooks.py file to check that the notebooks create a job artifact with the expected number of files (link)
Add two new test functions test_configure_notebook_repo_job and test_configure_notebook_artifact_job to the tests/pytest_tests/unit_tests/tests_launch/test_job.py file to check that the Job class can configure a launch project with the correct entry point and notebook source information (link)
Add a new test function test_build_repo_notebook_job to the tests/pytest_tests/unit_tests/test_job_builder.py file to check that the JobBuilder class can build a job artifact with the expected name, type, and manifest entries for a notebook run (link)
Add a new test function test_build_artifact_notebook_job to the tests/pytest_tests/unit_tests/test_job_builder.py file to check that the JobBuilder class can build a job artifact with the expected name, type, and manifest entries for a notebook run (link)
Add the _jupyter setting to the SettingsStatic object in the tests/pytest_tests/unit_tests/test_job_builder.py file to indicate that the test is not running in a jupyter notebook context (link, link, link)
Update the logic of the convert_jupyter_notebook_to_script function in the wandb/sdk/launch/utils.py file to use the replace method instead of the rstrip method for the notebook file name and to remove any lines that start with ! (link, link)
Remove the print statement in the convert_jupyter_notebook_to_script function in the wandb/sdk/launch/utils.py file as it is likely a debugging statement (link)

Testing
How was this PR tested?
Checklist

[ ] Include reference to internal ticket "Fixes WB-NNNN" and/or GitHub issue "Fixes #NNNN" (if applicable)
[ ] Ensure PR title compliance with the conventional commits standards

🤖 Generated by Copilot at 2058601

Oh we are the coders of the wandb crew
And we log and launch our notebooks as we sail the blue
We sanitize the names and we convert them to scripts
And we heave away together on the count of three, heave-ho!

Ugh, I forgot about vscode notebooks

@bcsherma to be sure, the issue was just the notebook_name = None, when setting the WANDB_NOTEBOOK_NAME env var, you were able to successfully get a job?

/fix-title


Application syntax

What am I supposed to be doing exactly?
[sokam@nox tool]$ ls
layoutString.py  py2nim  random.py  rng.nim
[sokam@nox tool]$ py2nim layoutString.py python
py2nim.nim(13)           translate
Error: unhandled exception: Unable to parse python module. Response:  [ModuleError]
[sokam@nox tool]$ python
python             python2.7          python2-config     python3.10         python3-config
python2            python2.7-config   python3            python3.10-config  python-config

Is this some syntax on my file that conflicts with the translator, or am I calling the app wrong?

@heysokam Working on the fix now, nimble doesn't install the .py and .nims file from the source directory.
Also, this is extremely early on with this tool. We have very little functionality right now. Will be posting the list of current functionality shortly.

@heysokam update py2nim to it's latest version (0.1.2) and you should be good to go man!
I will be creating documentation, listing all features, roadmap by EOW


[ko] Sixth Korean l10n work for release-1.20

Sixth Korean l10n work for release-1.20
Consists of following contributions (is:pr base:dev-1.20-ko.6 is:merged)

[ko] Update outdated files in dev-1.20-ko.6 (p1)  #26964 by @seokho-son
Reflect some changes to dev-1.20-ko.6  #26951 by @jihoon-seo
[ko] Update outdated files in dev-1.20-ko.6 (p2)  #26949 by @jihoon-seo
Translate reference/glossary/persistent-volumn-claim.md in Korean  #26827 by @santachopa

Reviewed by @kubernetes/sig-docs-ko-reviews

/lgtm

/milestone dev-1.20-ko.6

/approve


adding number of participants

Are these numbers correct @wikfeldt? Numbers I added here are based on Indico registration tables.
I need these for reporting.

ping @wikfeldt now that you are back.


Test App templates

Hi!
I'm working on creating tests for Application templates. This is a first step and it works.
The idea is: You can test an addon with an app template at the same time.
I renamed addon to module to use a name which includes both addon and application templates.
I also did some refactor, using less global variables and more functions attributes, which is more reliable and pythonic. (It's a freedom I took, it's up to you to tell me if it's consistent with your design).
I'm proposing you this code to make your work more global and valuable (it helped me a lot), and to keep everything in the same place instead of forking all the time.
Hope this first contribution of mine will foster you ;)
Closes #28

Thanks for this.  I'll need to review.
But first up is that none of the travis tests pass any more:
https://travis-ci.org/github/nangtani/blender-addon-tester/builds/746090718
Typically the branch needs to at least be passing in of itself to push a merge through.

Okay, I'll have a look to it!

The testing is failing because these commands are no longer working.
- cd ${TRAVIS_BUILD_DIR}
- export PYTHONPATH=${TRAVIS_BUILD_DIR}
- cd examples/testing-fake-addon/
- python test_addon_blender.py ${BL_ADDON} ${BLENDER_VERSION}

Trying to debug further

In the test script this is what is being called:
    exit_val = BAT.test_blender_addon(addon_path=addon, blender_revision=blender_rev)

which is calling this:
from .run_blender import run_blender_version_for_addon_with_pytest_suite as test_blender_addon

which is this:
def run_blender_version_for_addon_with_pytest_suite(addon_path="", app_template_path="", blender_exec_path="", blender_revision=None, config={}, dir_to_ignore=set()):

so the app_template is not being set explictly, so it is being set implicitly to '', which is this complaint:
[Errno 2] No such file or directory: ''

@line 125 of addon_helper.py
I still don't understand all you have done to fix this yet.

Don't bother, I'll make it work, it's up to me :)

Closed as it is too dirty. Will make a new one when it'll be ready.


Merge from 3.0.x for CVE fix

  * commons-codec: 1.10 -> 1.15
  * commons-compress: 1.19 -> 1.21
  * archetype-catalog: 2.4 -> 3.2.1
  * groovy: 2.2.1 -> 2.4.21
  * Remove kafka-log-appender as useless
  * Upgrade kafka-clients to 3.1.1 due to cve
  * Upgrade infinispan to 9.4.24.Final
  * o11yphant to 1.5-SNAPSHOT for cascading amqp-client upgrade.

LGTM.


Broken Documentation link in Readme

Issue Type
Documentation Bug
Source
source
Giskard Library Version
2.0.3
Giskard Hub Version
2.0.3
OS Platform and Distribution
No response
Python version
No response
Installed python packages
No response
Current Behaviour?
The documentation link on the Readme is broken: `https://docs.giskard.ai/en/latest/getting-started/quickstart.html` (404 Not Found) and should be replaced to `https://docs.giskard.ai/en/latest/index.html`

Standalone code OR list down the steps to reproduce the issue
1. Just click on the main Documentation link in the readme: https://github.com/Giskard-AI/giskard
2. There's no step 2 :P

Relevant log output
No response

Hi @simonamaggio thanks for reporting this! Were you planning on applying the fix as your first contribution? Otherwise we will take it internally!

I would like to work on this issue
Can you please assign this to me ?

Thanks @akhil888binoy !


New version: Unity.Unity.6000.WebGL version 6000.0.14f1

Created by 🥟 Dumplings in workflow run #7196.

Log
Updated: 6000.0.13f1 → 6000.0.14f1
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000 version 6000.0.14f1 - https://github.com/microsoft/winget-pkgs/pull/166895
Handling Unity.Unity.6000.Android...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.Android version 6000.0.14f1 - https://github.com/microsoft/winget-pkgs/pull/166896
Handling Unity.Unity.6000.iOS...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.iOS version 6000.0.14f1 - https://github.com/microsoft/winget-pkgs/pull/166897
Handling Unity.Unity.6000.tvOS...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.tvOS version 6000.0.14f1 - https://github.com/microsoft/winget-pkgs/pull/166898
Handling Unity.Unity.6000.visionOS...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.visionOS version 6000.0.14f1 - https://github.com/microsoft/winget-pkgs/pull/166899
Handling Unity.Unity.6000.LinuxIL2CPP...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.LinuxIL2CPP version 6000.0.14f1 - https://github.com/microsoft/winget-pkgs/pull/166901
Handling Unity.Unity.6000.LinuxMono...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.LinuxMono version 6000.0.14f1 - https://github.com/microsoft/winget-pkgs/pull/166902
Handling Unity.Unity.6000.LinuxServer...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.LinuxServer version 6000.0.14f1 - https://github.com/microsoft/winget-pkgs/pull/166903
Handling Unity.Unity.6000.MacMono...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.MacMono version 6000.0.14f1 - https://github.com/microsoft/winget-pkgs/pull/166904
Handling Unity.Unity.6000.MacServer...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.MacServer version 6000.0.14f1 - https://github.com/microsoft/winget-pkgs/pull/166905
Handling Unity.Unity.6000.UWP...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.UWP version 6000.0.14f1 - https://github.com/microsoft/winget-pkgs/pull/166908
Handling Unity.Unity.6000.WebGL...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

/azp run

Automatic Validation ended with:

Installation failed with exit code -1978335226
2024-08-09 22:20:47.077 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(757)\WindowsPackageManager.dll!00007FFCF190C11F: (caller: 00007FFCF1698D6F) LogHr(1) tid(d88) 8A15005E     Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FFCF1812B08: (caller: 00007FFCF18BBC20) Exception(1) tid(d88) 8A15005E ]
2024-08-09 22:20:56.919 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(757)\WindowsPackageManager.dll!00007FFCD166C11F: (caller: 00007FFCD13F8D6F) LogHr(1) tid(1428) 8A15005E     Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FFCD1572B08: (caller: 00007FFCD161BC20) Exception(1) tid(1428) 8A15005E ]
2024-08-09 22:45:01.142 [CLI ] ShellExecute installer failed: 2

Automated error analysis suggests -1978335226 may mean Running ShellExecute failed
Automated error analysis suggests 8A15005E may mean APPINSTALLER_CLI_ERROR_PINNED_CERTIFICATE_MISMATCH - The server certificate did not match any of the expected values.
(Automated response - build 887.)


Allow to disable compinit

Implement ZGEN_AUTOLOAD_COMPINIT to allow disabling compinit in cases where you want to skip them for secure reasons. For example when you login as a root.

In my case I want to use something like
ZGEN_AUTOLOAD_COMPINIT=true
if [[ ${USER} == "root" ]]; then
    ZGEN_AUTOLOAD_COMPINIT=false
fi

so for root user I will not load autocomp. One of the reasons I don't want to see this error
zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]?

Thank you!


Kestrel server crashes with System.BadImageFormatException: Bad IL format.

ASP.NET Core 2.1.0 web application deployed to Windows Azure App Service randomly crashes in production environment and server stops handling resuests, just sending 502.3 errors:
Response: The specified CGI application encountered an error and the server terminated the process.
The problem occurs multiple times in a day, the only way to recover it is to restart Azure App Service. CPU and Memory usage are ok before the crash, no any additional errors or failed requests have been found before crashes.
Application is using IdentityServer4 and compiled in Release (Any CPU) default configuration.
From event logs I can see an exception causing process terminating:
<Event>
  <System>
    <Provider Name=".NET Runtime"/>
    <EventID>1026</EventID>
    <Level>1</Level>
    <Task>0</Task>
    <Keywords>Keywords</Keywords>
    <TimeCreated SystemTime="2018-06-20T19:15:11Z"/>
    <EventRecordID>1163393500</EventRecordID>
    <Channel>Application</Channel>
    <Computer>RD0003FF55B38D</Computer>
    <Security/>
  </System>
  <EventData>
    <Data>
Application: dotnet.exe CoreCLR Version: 4.6.26515.7 Description: The process was terminated due to an unhandled exception. Exception Info: System.BadImageFormatException: Bad IL format.

at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketConnection.ProcessReceives()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.<>c.<.cctor>b__9_0(Object s)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---

at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext()
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketAwaitable.<>c.<Complete>b__12_0(Object state)
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.IOQueue.DoWork()
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.IOQueue.<>c.<.cctor>b__8_0(Object s) at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---

at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.QueueUserWorkItemCallback.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
    </Data>
  </EventData>
</Event>

Azure App Service dotnet info:
> dotnet --info
D:\home\site\wwwroot
.NET Core SDK (reflecting any global.json):
 Version:   2.1.300
 Commit:    32f29b6eb9

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.14393
 OS Platform: Windows
 RID:         win10-x86
 Base Path:   D:\Program Files (x86)\dotnet\sdk\2.1.300\

Host (useful for support):
  Version: 2.1.0
  Commit:  caa7b7e2ba

.NET Core SDKs installed:
  1.1.8 [D:\Program Files (x86)\dotnet\sdk]
  2.1.101 [D:\Program Files (x86)\dotnet\sdk]
  2.1.300 [D:\Program Files (x86)\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.0-rc1-final [D:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.0 [D:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.0-rc1-final [D:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.0 [D:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 1.0.10 [D:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 1.1.7 [D:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.6 [D:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.0-rc1 [D:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.0 [D:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]

This looks like https://github.com/dotnet/coreclr/issues/18323. Give the workaround a try and let us know.

Hey, @tratcher thank you for pointing out the issue. The nature looks similar, however the stack trace which leads to process crash for me looks always the same and not related to EF.
I just disabled AI Profiler Web Job and AI Profiler Web Job monitoring, so will give you an update if anything will change in next few days.
I also has found a couple of other System.BadImageFormatException exceptions in logs, however they don't lead to process crash, just to 'Connection processing ended abnormally' errors.
Here is some of them: https://gist.github.com/streepteaze/e150c8d6eb431f2e90664c671b3079b2

Unfortunately this workaround with disabling profiler didn't help, so I'm still experiencing 2 - 7 process crashes a day and ~100 non-fatal System.BadImageFormatException exceptions daily.

Does it look like https://github.com/dotnet/coreclr/issues/18448 ?

Crashes appear only when the project is deployed to Azure App Service, and it has no references to New Relic or App Dynamics profilers.

After redeploying an app, I was able to catch logs right before and after process crash, so possibly it could be relevant and will help to identify the problem: https://gist.github.com/streepteaze/abea8fae92c045c128601c3603fa9d86

@streepteaze What exactly did you disable?

cc @shirhatti

@muratg

@muratg / @pakrym / @halter73 - does Kestrel do any wacky IL ref emit at runtime that might cause magical bad IL to show up? Or could this still be caused by https://github.com/dotnet/coreclr/issues/18448 somehow? (Which looks like it's planned to be fixed in the next patch.)

Only DI does, considering exception is in at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketConnection.ProcessReceives() still looks like  dotnet/coreclr#18448 to me.

Hi, all! After some experiments I can confirm that updating Application Insights site extension to latest 2.6.5 version and switching off profiler when reconnecting Application Insights resource to App Service solved the problem.

However it still confuses me, as App Insights UI reports that profiler is enabled.

Not sure if it helps but after a few production crashes in my Azure Web App I managed to reproduce the System.BadImageFormatException by multi clicking the submit button on one of my forms many times which then displayed "The specified CGI application encountered an error and the server terminated the process." in the browser.
In the application event log of my web app i have the following entry...

Application: dotnet.exe
CoreCLR Version: 4.6.26628.5
Description: The process was terminated due to an unhandled exception.
Exception Info: System.BadImageFormatException: Bad IL format.
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketConnection.ProcessSends()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.<>c.<.cctor>b__9_0(Object s)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext()
at System.Runtime.CompilerServices.ValueTaskAwaiter.<>c.<.cctor>b__11_1(Object state)
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.IOQueue.DoWork()
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.IOQueue.<>c.<.cctor>b__8_0(Object s)
at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.QueueUserWorkItemCallback.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

I will be going through my app and adding javascript to disable the submit button once clicked all my forms to help prevent this happening again in future. However should the runtime be able to handle this scenario without crashing?

@mojohub Have you tried updating the App Insights site extension and disabling profiler like @streepteaze did?

@halter73 Yes I have the latest App Insights extension installed (2.6.5) and I also disabled the profiler from running as per findings from @streepteaze above. I did not have another crash since doing that however I was able to force the crash myself by smashing the save button on one of my forms (ie clicking it a dozen times or so in quick succession).
I came across this because I found 10 duplicate records in my database that were created by one user all within a few seconds of each other and this was just before the last production crash. The only way this could happen was if the user was trigger happy so when I tested this myself in my dev environment it sure enough crashed the system. I cannot say whether disabling profiler made any difference or i'm just lucky that nobody has been so trigger happy in production lately.
If you want me to generate any other info or dumps from doing this just let me know?

@mojohub or others: If you guys are still seeing this issue, please file another bug.


feat: integrate weak supervision for Token Classification with gazetteer/knowledge based matching during inference

Is your feature request related to a problem? Please describe.
I can see it being useful to be able to easily use previously defined rules with the actual inference pipeline so that these rules can also be used as a gazetteer/knowledge base. A good example would be the skweak.gazetteers.GazetteerAnnotator. This also aligns with this issue.
Describe the solution you'd like
N.A.
Describe alternatives you've considered
N.A.
Additional context
N.A.

https://github.com/argilla-io/argilla-plugins/issues/12

https://github.com/argilla-io/argilla-plugins/issues/10


[Internal] Changelog: Refactors changelog to include Query fix for HPK

Pull Request Template
Description
Please include a summary of the change and which issue is fixed. Include samples if adding new API, and include relevant motivation and context. List any dependencies that are required for this change.
Type of change
Please delete options that are not relevant.

[] Bug fix (non-breaking change which fixes an issue)
[] 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

Closing issues
To automatically close an issue: closes #IssueNumber

LGTM


Error using Imath to build Blender

[ 47%] Building CXX object extern/mantaflow/CMakeFiles/extern_mantaflow.dir/preprocessed/timing.h.reg.cpp.o
In file included from /home/meglet/blender/source/blender/imbuf/intern/openexr/openexr_api.cpp:43:
In file included from /usr/local/include/OpenEXR/ImfCompressionAttribute.h:15:
In file included from /usr/local/include/OpenEXR/ImfAttribute.h:18:
In file included from /usr/local/include/OpenEXR/ImfXdr.h:79:
/usr/local/include/OpenEXR/half.h:91:7: error: definition of type 'half' conflicts with type alias of the same name
91 | class half
|       ^
/usr/local/include/Imath/half.h:983:7: note: 'half' declared here
983 | using half = IMATH_INTERNAL_NAMESPACE::half;
|       ^
In file included from /home/meglet/blender/source/blender/imbuf/intern/openexr/openexr_api.cpp:43:
In file included from /usr/local/include/OpenEXR/ImfCompressionAttribute.h:15:
In file included from /usr/local/include/OpenEXR/ImfAttribute.h:18:
In file included from /usr/local/include/OpenEXR/ImfXdr.h:79:
/usr/local/include/OpenEXR/half.h:422:7: error: 'half' is missing exception specification 'noexcept'
422 | half::half ()
|       ^
/usr/local/include/Imath/half.h:506:5: note: previous declaration is here
506 |     half () IMATH_NOEXCEPT = default;
|     ^
In file included from /home/meglet/blender/source/blender/imbuf/intern/openexr/openexr_api.cpp:43:
In file included from /usr/local/include/OpenEXR/ImfCompressionAttribute.h:15:
In file included from /usr/local/include/OpenEXR/ImfAttribute.h:18:
In file included from /usr/local/include/OpenEXR/ImfXdr.h:79:
/usr/local/include/OpenEXR/half.h:433:7: error: redefinition of 'half'
433 | half::half (float f)
|       ^
/usr/local/include/Imath/half.h:646:14: note: previous definition is here
646 | inline half::half (float f) IMATH_NOEXCEPT : _h (imath_float_to_half (f))
|              ^
In file included from /home/meglet/blender/source/blender/imbuf/intern/openexr/openexr_api.cpp:43:
In file included from /usr/local/include/OpenEXR/ImfCompressionAttribute.h:15:
In file included from /usr/local/include/OpenEXR/ImfAttribute.h:18:
In file included from /usr/local/include/OpenEXR/ImfXdr.h:79:
/usr/local/include/OpenEXR/half.h:468:6: error: use of undeclared identifier '_eLut'
468 |         e = _eLut[e];
|             ^
/usr/local/include/OpenEXR/half.h:486:11: error: use of undeclared identifier 'convert'
486 |             _h = convert (x.i);
|                  ^
/usr/local/include/OpenEXR/half.h:497:7: error: redefinition of 'operator float'
497 | half::operator float () const
|       ^
/usr/local/include/Imath/half.h:661:14: note: previous definition is here
661 | inline half::operator float () const IMATH_NOEXCEPT
|              ^
In file included from /home/meglet/blender/source/blender/imbuf/intern/openexr/openexr_api.cpp:43:
In file included from /usr/local/include/OpenEXR/ImfCompressionAttribute.h:15:
In file included from /usr/local/include/OpenEXR/ImfAttribute.h:18:
In file included from /usr/local/include/OpenEXR/ImfXdr.h:79:
/usr/local/include/OpenEXR/half.h:499:12: error: use of undeclared identifier '_toFloat'
499 |     return _toFloat[_h].f;
|            ^
/usr/local/include/OpenEXR/half.h:508:7: error: non-constexpr declaration of 'round' follows constexpr declaration
508 | half::round (unsigned int n) const
|       ^
/usr/local/include/Imath/half.h:671:7: note: previous declaration is here
671 | half::round (unsigned int n) const IMATH_NOEXCEPT
|       ^
In file included from /home/meglet/blender/source/blender/imbuf/intern/openexr/openexr_api.cpp:43:
In file included from /usr/local/include/OpenEXR/ImfCompressionAttribute.h:15:
In file included from /usr/local/include/OpenEXR/ImfAttribute.h:18:
In file included from /usr/local/include/OpenEXR/ImfXdr.h:79:
/usr/local/include/OpenEXR/half.h:567:7: error: non-constexpr declaration of 'operator-' follows constexpr declaration
567 | half::operator - () const
|       ^
/usr/local/include/Imath/half.h:727:7: note: previous declaration is here
727 | half::operator- () const IMATH_NOEXCEPT
|       ^
In file included from /home/meglet/blender/source/blender/imbuf/intern/openexr/openexr_api.cpp:43:
In file included from /usr/local/include/OpenEXR/ImfCompressionAttribute.h:15:
In file included from /usr/local/include/OpenEXR/ImfAttribute.h:18:
In file included from /usr/local/include/OpenEXR/ImfXdr.h:79:
/usr/local/include/OpenEXR/half.h:576:7: error: out-of-line definition of 'operator=' does not match any declaration in 'Imath_3_2::half'
576 | half::operator = (half h)
|       ^~~~~~~~
/usr/local/include/Imath/half.h:535:28: note: type of 1st parameter of member declaration does not match definition ('const half &' vs 'half')
535 |     half& operator= (const half& h) IMATH_NOEXCEPT = default;
|                            ^
/usr/local/include/Imath/half.h:538:22: note: type of 1st parameter of member declaration does not match definition ('half &&' vs 'half')
538 |     half& operator= (half&& h) IMATH_NOEXCEPT = default;
|                      ^
In file included from /home/meglet/blender/source/blender/imbuf/intern/openexr/openexr_api.cpp:43:
In file included from /usr/local/include/OpenEXR/ImfCompressionAttribute.h:15:
In file included from /usr/local/include/OpenEXR/ImfAttribute.h:18:
In file included from /usr/local/include/OpenEXR/ImfXdr.h:79:
/usr/local/include/OpenEXR/half.h:584:7: error: redefinition of 'operator='
584 | half::operator = (float f)
|       ^
/usr/local/include/Imath/half.h:733:7: note: previous definition is here
733 | half::operator= (float f) IMATH_NOEXCEPT
|       ^
In file included from /home/meglet/blender/source/blender/imbuf/intern/openexr/openexr_api.cpp:43:
In file included from /usr/local/include/OpenEXR/ImfCompressionAttribute.h:15:
In file included from /usr/local/include/OpenEXR/ImfAttribute.h:18:
In file included from /usr/local/include/OpenEXR/ImfXdr.h:79:
/usr/local/include/OpenEXR/half.h:586:13: error: no matching conversion for functional-style cast from 'float' to 'half'
586 |     *this = half (f);
|             ^~~~~~~
/usr/local/include/Imath/half.h:515:15: note: candidate constructor not viable: no known conversion from 'float' to 'const half' for 1st argument
515 |     constexpr half (const half&) IMATH_NOEXCEPT = default;
|               ^     ~~~~~~~~~~~
/usr/local/include/Imath/half.h:518:15: note: candidate constructor not viable: no known conversion from 'float' to 'half' for 1st argument
518 |     constexpr half (half&&) IMATH_NOEXCEPT = default;
|               ^     ~~~~~~
/usr/local/include/Imath/half.h:506:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
506 |     half () IMATH_NOEXCEPT = default;
|     ^
/usr/local/include/Imath/half.h:653:24: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
653 | inline constexpr half::half (FromBitsTag, uint16_t bits) IMATH_NOEXCEPT
|                        ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/meglet/blender/source/blender/imbuf/intern/openexr/openexr_api.cpp:43:
In file included from /usr/local/include/OpenEXR/ImfCompressionAttribute.h:15:
In file included from /usr/local/include/OpenEXR/ImfAttribute.h:18:
In file included from /usr/local/include/OpenEXR/ImfXdr.h:79:
/usr/local/include/OpenEXR/half.h:592:7: error: redefinition of 'operator+='
592 | half::operator += (half h)
|       ^
/usr/local/include/Imath/half.h:740:7: note: previous definition is here
740 | half::operator+= (half h) IMATH_NOEXCEPT
|       ^
In file included from /home/meglet/blender/source/blender/imbuf/intern/openexr/openexr_api.cpp:43:
In file included from /usr/local/include/OpenEXR/ImfCompressionAttribute.h:15:
In file included from /usr/local/include/OpenEXR/ImfAttribute.h:18:
In file included from /usr/local/include/OpenEXR/ImfXdr.h:79:
/usr/local/include/OpenEXR/half.h:594:13: error: no matching conversion for functional-style cast from 'float' to 'half'
594 |     *this = half (float (*this) + float (h));
|             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/Imath/half.h:515:15: note: candidate constructor not viable: no known conversion from 'float' to 'const half' for 1st argument
515 |     constexpr half (const half&) IMATH_NOEXCEPT = default;
|               ^     ~~~~~~~~~~~
/usr/local/include/Imath/half.h:518:15: note: candidate constructor not viable: no known conversion from 'float' to 'half' for 1st argument
518 |     constexpr half (half&&) IMATH_NOEXCEPT = default;
|               ^     ~~~~~~
/usr/local/include/Imath/half.h:506:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
506 |     half () IMATH_NOEXCEPT = default;
|     ^
/usr/local/include/Imath/half.h:653:24: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
653 | inline constexpr half::half (FromBitsTag, uint16_t bits) IMATH_NOEXCEPT
|                        ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/meglet/blender/source/blender/imbuf/intern/openexr/openexr_api.cpp:43:
In file included from /usr/local/include/OpenEXR/ImfCompressionAttribute.h:15:
In file included from /usr/local/include/OpenEXR/ImfAttribute.h:18:
In file included from /usr/local/include/OpenEXR/ImfXdr.h:79:
/usr/local/include/OpenEXR/half.h:600:7: error: redefinition of 'operator+='
600 | half::operator += (float f)
|       ^
/usr/local/include/Imath/half.h:747:7: note: previous definition is here
747 | half::operator+= (float f) IMATH_NOEXCEPT
|       ^
In file included from /home/meglet/blender/source/blender/imbuf/intern/openexr/openexr_api.cpp:43:
In file included from /usr/local/include/OpenEXR/ImfCompressionAttribute.h:15:
In file included from /usr/local/include/OpenEXR/ImfAttribute.h:18:
In file included from /usr/local/include/OpenEXR/ImfXdr.h:79:
/usr/local/include/OpenEXR/half.h:602:13: error: no matching conversion for functional-style cast from 'float' to 'half'
602 |     *this = half (float (*this) + f);
|             ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/Imath/half.h:515:15: note: candidate constructor not viable: no known conversion from 'float' to 'const half' for 1st argument
515 |     constexpr half (const half&) IMATH_NOEXCEPT = default;
|               ^     ~~~~~~~~~~~
/usr/local/include/Imath/half.h:518:15: note: candidate constructor not viable: no known conversion from 'float' to 'half' for 1st argument
518 |     constexpr half (half&&) IMATH_NOEXCEPT = default;
|               ^     ~~~~~~
/usr/local/include/Imath/half.h:506:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
506 |     half () IMATH_NOEXCEPT = default;
|     ^
/usr/local/include/Imath/half.h:653:24: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
653 | inline constexpr half::half (FromBitsTag, uint16_t bits) IMATH_NOEXCEPT
|                        ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/meglet/blender/source/blender/imbuf/intern/openexr/openexr_api.cpp:43:
In file included from /usr/local/include/OpenEXR/ImfCompressionAttribute.h:15:
In file included from /usr/local/include/OpenEXR/ImfAttribute.h:18:
In file included from /usr/local/include/OpenEXR/ImfXdr.h:79:
/usr/local/include/OpenEXR/half.h:608:7: error: redefinition of 'operator-='
608 | half::operator -= (half h)
|       ^
/usr/local/include/Imath/half.h:754:7: note: previous definition is here
754 | half::operator-= (half h) IMATH_NOEXCEPT
|       ^
In file included from /home/meglet/blender/source/blender/imbuf/intern/openexr/openexr_api.cpp:43:
In file included from /usr/local/include/OpenEXR/ImfCompressionAttribute.h:15:
In file included from /usr/local/include/OpenEXR/ImfAttribute.h:18:
In file included from /usr/local/include/OpenEXR/ImfXdr.h:79:
/usr/local/include/OpenEXR/half.h:610:13: error: no matching conversion for functional-style cast from 'float' to 'half'
610 |     *this = half (float (*this) - float (h));
|             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/Imath/half.h:515:15: note: candidate constructor not viable: no known conversion from 'float' to 'const half' for 1st argument
515 |     constexpr half (const half&) IMATH_NOEXCEPT = default;
|               ^     ~~~~~~~~~~~
/usr/local/include/Imath/half.h:518:15: note: candidate constructor not viable: no known conversion from 'float' to 'half' for 1st argument
518 |     constexpr half (half&&) IMATH_NOEXCEPT = default;
|               ^     ~~~~~~
/usr/local/include/Imath/half.h:506:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
506 |     half () IMATH_NOEXCEPT = default;
|     ^
/usr/local/include/Imath/half.h:653:24: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
653 | inline constexpr half::half (FromBitsTag, uint16_t bits) IMATH_NOEXCEPT
|                        ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/meglet/blender/source/blender/imbuf/intern/openexr/openexr_api.cpp:43:
In file included from /usr/local/include/OpenEXR/ImfCompressionAttribute.h:15:
In file included from /usr/local/include/OpenEXR/ImfAttribute.h:18:
In file included from /usr/local/include/OpenEXR/ImfXdr.h:79:
/usr/local/include/OpenEXR/half.h:616:7: error: redefinition of 'operator-='
616 | half::operator -= (float f)
|       ^
/usr/local/include/Imath/half.h:761:7: note: previous definition is here
761 | half::operator-= (float f) IMATH_NOEXCEPT
|       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [source/blender/imbuf/intern/openexr/CMakeFiles/bf_imbuf_openexr.dir/build.make:76: source/blender/imbuf/intern/openexr/CMakeFiles/bf_imbuf_openexr.dir/openexr_api.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:7467: source/blender/imbuf/intern/openexr/CMakeFiles/bf_imbuf_openexr.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
This is with the latest version of both Imath and OpenEXR.

/usr/local/include/OpenEXR/half.h:91:7: error: definition of type 'half' conflicts with type alias of the same name

This part raises alarm bells for me. IIRC, since 3.0, half.h has been part of Imath, not part of OpenEXR. You should be seeing it in include/Imath, not in include/OpenEXR.
This leads me to think that you might have multiple installations of OpenEXR/Imath simultaneously, or possibly written over one another without having full removed the previous versions.

I did have multiple installations of OpenEXR, even though I was almost certain I did not. Re-doing my whole compile setup is kinda painstaking, but I guess I should.


User Story 2.1 - Issue 3: Individual user  be able to type in the pre-screening form with a single mouse click and the mouse cursor/pointer

@xJamesScott  User Story 2.1-Individual user  be able to type in the pre-screening form with a single mouse click and the mouse cursor/pointer.
The asterik sign is left to next line rather than next to question mark .

https://user-images.githubusercontent.com/51660881/117062667-b5ac5d00-acf1-11eb-9f57-16eaca792a3c.mp4


RU Cost of TableOperation.Insert vs InsertOrMerge

When I insert an entity using InsertOrMerge, the RequestCharge is get is about half of what I get when I use the Insert method. I have validated that I am always inserting a new entity in both cases. Is this expected?

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

ID: 27457010-fd1f-4a39-ca5e-93f118e4ac4e
Version Independent ID: 605a5b19-a4c8-4c30-ebb4-ce5175f1f4f8
Content: Optimizing the cost of reads and writes in Azure Cosmos DB
Content Source: articles/cosmos-db/optimize-cost-reads-writes.md
Service: cosmos-db
GitHub Login: @rimman
Microsoft Alias: rimman

Thank you for the detailed feedback.
We are actively investigating and will get back to you soon.

@olufea I tried to reproduce this for various document samples but wasn't successful
The insert was always cheaper in my case.
Insert an Entity.
Request Charge of Insert Operation: 8.19
Inserting a new Entity using the InsertOrMerge Upsert Operation.
Request Charge of InsertOrMerge Operation: 12.55
Could you please post a sample document with details of your PartitionKey and RowKey

Here're the snippets below. Interestingly, the cost of the InsertOrMerge is not constant.. I get a different number every time i run it. 9.99, 10.15, 10.01. Insert is constant though.
var data = CustomerEntity.GetV1_AverageCase();
var w = table.ExecuteAsync(TableOperation.Insert(data)).Result.RequestCharge; // Result = 22.86
var data2 = CustomerEntity.GetV1_AverageCase();
var w2 = table.ExecuteAsync(TableOperation.InsertOrMerge(data2)).Result.RequestCharge; // Result = 9.99
        public static CustomerEntity GetV1_AverageCase()
        {
            return new CustomerEntity
            {
                PartitionKey = $"15c1819d8402ff35a3e8a11390c12420{Guid.NewGuid().ToString()}",
                RequestId = Guid.NewGuid().ToString(),
                RowKey = Guid.NewGuid().ToString(),
                AssociatedClientIds = "5c6833e8-035a-46e4-9156-a332dedacbfc,5c6833e8-035a-46e4-9156-a332dedacbfc,5c6833e8-035a-46e4-9156-a332dedacbfc,5c6833e8-035a-46e4-9156-a332dedacbfc",
                AssociatedRequestIds = "5c6833e8-035a-46e4-9156-a332dedacbfc,5c6833e8-035a-46e4-9156-a332dedacbfc,5c6833e8-035a-46e4-9156-a332dedacbfc,5c6833e8-035a-46e4-9156-a332dedacbfc,5c6833e8-035a-46e4-9156-a332dedacbfc,5c6833e8-035a-46e4-9156-a332dedacbfc,5c6833e8-035a-46e4-9156-a332dedacbfc,5c6833e8-035a-46e4-9156-a332dedacbfc",
                Metadata = "{'Flags':{'Analyst':{'Determination':'Pass_FalsePositive_VendorConfirmed','AssignedTo':'username','TimeStamp':'2019 - 03 - 14T00:29:35.6705721Z','Comments':'Analysis completed. No issue found.','Status':'Completed'}}}",
            };
        }

Also this is a 2 region Multi-Master Write with Strong-Consistency

@olufea - please send us questions like these to<EMAIL_ADDRESS>This is use-case-specific question. Thank you.

@wmengmsft is looking into this issue.

@olufea InsertOrMerge method implements stored procedure so its a little bit more variable in terms of request charge. As Rimma mentioned, can you please direct your question to askcosmosdb alias, we can help you debug the issue better. We will close the issue here but track it within the email thread.
#please-close


[CodeCompletion] Complete typealias from inherited protocol

Always suggest typealias declarations from inherited protocols.
Fixes rdar://78780638 [SR-14688]

@swift-ci Please smoke test


Console messages not visible when using with visionmedia/debug

Steps to reproduce
Tell us about your environment:

ndb version: 1.0.24
Platform / OS version: macOS 10.13.4 (17E202)
Node.js version: 8.11.3

What steps will reproduce the problem?
Please include code that reproduces the issue.

Start the server with ndb nodemon --exec \"NODE_ENV=development DEBUG=app* DEBUG_DEPTH=10 node --require dotenv/config --require babel-register src/index.js\"

What is the expected result?
The log message should be present in ndb console.
They are present in Terminal console but not in the ndb console.
What happens instead?
They are present in Terminal console but not in the ndb console.

The same issue with winstonjs/winston using console transport. My winston config here
import { createLogger, format, transports } from 'winston';

const { align, colorize, combine, printf, timestamp } = format;

const prettify = (log) => {
    const { level, message, timestamp, ...args } = log;

    const msg = ((typeof message === 'string') && (message.trim() !== 'undefined')) ? message : '';
    const payload = Object.keys(args).length ? JSON.stringify(args, null, 2) : '';

    return `${timestamp} [${level}]: ${msg.replace(/\\n/g, '\n')} ${payload}`;
};

const consoleTransport = new transports.Console({
    format: format.combine(
        timestamp({ format: 'YYYY-MM-DD HH:mm:ss' }),
        colorize(),
        align(),
        printf(prettify),
    ),
});

const logger = createLogger({
    level: 'info',
    transports: [
        consoleTransport,
    ],
    exceptionHandlers: [
        consoleTransport,
    ],
});

export default logger;

Then in code I use
logger.log('info', 'This line is displayed in the terminal, but not in the ndb Chrome console');

The same issue happening with https://github.com/lerna/lerna and https://github.com/mysticatea/npm-run-all parallel/serial execution outputs. The automatic connected child-child process outputs are correct but [colored-module-name] Some output... lines are not visible
Could the reason be that these modules are streaming into process.stderr instead of process.stdout?


Building out the Accelerate / BNNS backend

Hi, thank you so much for making this project! Also been loving your papers on it. This has been all great progress on stuff I was hoping would happen. I'm also a Stanford grad and focused on AI during my time there.
I've been using the GuitarML project to use that made plug-in set up to train my own model that can be loaded in the plug-in that I can then use as a full-on plugin tool in Logic. So far I've had great results for distortion effects! However, I'm hoping to experiment more architecturally to improve on complex, time-dependent effects. It would be super cool to build it out some sort of real-time Transformer layer or experiment with other ideas like VQ-VAE, WaveNet-like architectures, Diffusion models, Fourier Transform tricks etc.
From some detective work, it seems Apple is trying to extend Pytorch to compile into Accelerate/BNNS for the Apple platforms: https://jobs.apple.com/en-us/details/200265506/accelerating-pytorch-on-macs-with-bnns
With that in mind, it seems like a good idea to build out the Accelerate backend to reap the benefits of building models in Pytorch. For now, I also think Accelerate / BNNS might be the easiest for me to extend since it already has BNNS that incorporates useful functional layers.
However, from my digging, the docs seem to be either be in Swift or C++ https://developer.apple.com/documentation/accelerate/bnns. How did you get the project set up to use Accelerate from a C++ interface? Are all of Apple's Swift libraries available as a C++ interface in Xcode? Or maybe I can get away with using the easier-to-read Swift interface? Any other tips on getting started with building out the Accelerate backend would be much appreciated!

Thanks, glad you're enjoying the project! Extending the library to handle more complex networks like the ones you mentioned is definitely one of my goals for the project.
I haven't used BNNS directly, though it definitely seems pretty powerful. Instead, the Accelerate backend directly calls methods from the vDSP library. Even though the documentation is technically in Swift/Objective-C, it can usually be translated to C++ without too much trouble. For example, from looking at this page on vDSP_vadd, UnsafePointer<Float> would be translated to const float * in C++, and so on from there.
As far as "setting up" the project to link with Accelerate, it's all handles in the CMake configuration, with the key line being target_link_libraries(RTNeural PUBLIC "-framework Accelerate").
At the moment, the Accelerate backend is not supported in the RTNeural compile-time API, so maybe trying to get that working could be a cool place to start. When I was putting together the compile-time API, I found that supporting the other 3 backends was quite a lot of work as it was, plus I wasn't using the Accelerate backend as much since most of my projects have pretty strict cross-platform constraints.
Anyway, definitely curious about any specific things you'd like to work on, and I'd be happy to help out wherever I can!


Change ANSI escape to \033 and get rid of -e flag

Problems summary

\x1B seem to not function properly as an escape sequence on WSL.
since escape sequence is in printf, echo -e does not do anything useful. Example attached below. Please check on other platforms.
In addition, flags in echo seem to be outputted for some reason.

I do realize that I could submit a pull request to resolve it, but it seems that recent changes were made by @santosned , so I wanted to make sure we are okay with any changes.
Expected
Escape character to be recognized and codebase simplified.
I do recognize this is more of a Windows problem, but from a portability perspective, it is better to have portable solutions. "Portable" solutions such as pfetch seems to use \033, and this program (pfetch) works flawlessly on WSL.
Environment Information (Required!)
Ubuntu in WSL over Windows Terminal.

dein.vim version(SHA1):
33a475f
OS:
Windows (WSL)
neovim/Vim :version output:
Irrelevant. Related to Terminal and shell.

Provide a minimal init.vim/vimrc without plugin managers (Required!)
Irrelevant
How to reproduce the problem from neovim/Vim startup (Required!)
Screen shot (if possible)
This screenshot showcases what would happen if I ran ./install with \x1B as escape sequence in Windows Terminal (Ubuntu in WSL):

The following screenshots showcase if I:

replace \x1B with \033
get rid of flags in echo (no echo -e, no echo -ne)
replace 30 color with 32 just so we can see some result:

If I do 1 and 3 but not 2, then it would output

This screenshot shows that when passing result of printf to echo, -e flag is unnessary. Please double check on other platforms.

Upload the log messages by :redir and :message (if errored)

I didn't expect this problem with echo since Octal, Unicode, or Hexadecimal ANSI formats should be supported by both echo or printf on bash or sh.
As showed running on Bourne Shell:

 Echo command

Printf command

Conclusion
As you said this must be related with an specific version of the shell you're using.
Nevertheless, I see your point. I'll close my initial PR and work on an improved version of the formated messages. Thanks for the contribution @samyilin.

So this could related to how it's been handelled by Windows or Windows Terminal or your nested usage of echo and printf? More testing could be needed.

I guess it's both options, the usage of nested echo and printf on Windows.
I've other script that I didn't used this nested method and are being used in production currently without any problems like this.
This case I tested on Linux only, so I couldn't known how it would go on Windows.
This sure is a learning experience.
Thanks again @samyilin
And you don't need to close the issue by hand.
If you tested and it's working leave a comment or emoji reaction in the pull request, so we known it's fixed.
The issue is automatically closed when an PR related to it is merged.

Thanks for the knowledge @santosned, I haven't raised issues before, so pardon my closing issue by hand.
I tested your code and it works great!
I've learned a lot about terminal and ANSI codes in this process.
Thank you again for the effort!


MODIFIED DOCUMENTATION AND FIXED THE BUGS

Added open source license to the README file
Corrected grammatical errors
Fixed the link not found bugs
Added JWOC about section to the README

I request you to merge my PR , since added Open-source-license to the README and edited the documents for grammatical errors and finally fixed Link not found errors in README file.
worked under JWOC and fixed issue number #306 DOC

@Monishparameswaran Great work!!
Thanks for contributing


Update to Swift4.1.

Remove warning.

👍  Thanks!

A new version 4.7.0 was released for Swift 4.1


A-pose garments?

Hi, thanks for the work! I am wondering if your work can be used for other datasets, e.g. BEDLAM, where the rest poses of all clothes are in A-pose. I tried to modify smplx_v_rest_pose when adding garments into dict but without luck (but it seems that the upper part looks alright): Anything else I need to change? Thanks a lot!

The code initializes the garment geometry for the first 2 frames with LBS using the canonical SMPL body.
In your case, you would need to initialize the garment geometry from an existing mesh in the A-pose and not rely on LBS.
I hope to add the functionality to start inference from arbitrary poses without LBS next week if I have time.

Hi! Thanks for the reply! But I did not quite get you. All of the garments are in A-rest pose and I did change that line to smplx_v_rest_pose = smpl_model(body_pose=A_POSE).vertices[0].detach().cpu().numpy(). Could you please refer to the exact code lines that I need to change? Thanks a lot!

To whom it may concern: you need to multiply an inverse matrix (zero-pose to A-pose transformation) here and also use correct pose_offsets

Hello @ligengen , would you mind sharing the code changes you did please?


make respStmt and model.dateLike optional within change

From<EMAIL_ADDRESS>on November 20, 2012 15:06:05
earlier addition of att.datable and att.responsibility membership to <change> ( issue #67 ) made it possible to record the date and responsible party in these attributes or in the content of change.
Currently, however, the content model of change still requires respStmt and model.dateLike.  These should be made optional, allowing one to record date and responsibility using either method.  This is still essential information, however, so a schematron rule should be added to require it one place or the other.
Original issue: http://code.google.com/p/music-encoding/issues/detail?id=136

From<EMAIL_ADDRESS>on November 20, 2012 12:10:27
This issue was closed by revision r728 .
Status: Fixed


Releases / docs

Just wondering if there will be any releases published to crates.io, which would also have the added benefit of documentation being automatically available at docs.rs.
This question of course also applies to mctokio

Released on crates.io with a different implementation for mctokio called craftio-rs
See: https://crates.io/crates/mcproto-rs and https://crates.io/crates/craftio-rs

Released on crates.io with a different implementation for mctokio called craftio-rs
See: https://crates.io/crates/mcproto-rs and https://crates.io/crates/craftio-rs

Great, thank you very much!

Great, thank you very much!


Roll engine ca86f6d7e153..0e90cb40822b (2 commits)

git@github.com:flutter/engine.git/compare/ca86f6d7e153...0e90cb40822b
git log ca86f6d7e153..0e90cb40822b --no-merges --oneline
2019-08-20<EMAIL_ADDRESS>Fix a segfault in EmbedderTest.CanSpecifyCustomTaskRunner (flutter/engine#11305)
2019-08-20<EMAIL_ADDRESS>Add Chrome to Dockerfile (flutter/engine#11210)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


dep: bump up ibm-watsonx-ai to 1.1.25

Description
bump up ibm-watsonx-ai to 1.1.25
OLS-1278

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

Project coverage is 96.96%. Comparing base (7280586) to head (6391603).
Report is 16 commits behind head on main.

Additional details and impacted files

@@             Coverage Diff             @@
##             main    #2053       +/-   ##
===========================================
+ Coverage   74.89%   96.96%   +22.06%
===========================================
  Files          70       71        +1
  Lines        2892     2895        +3
===========================================
+ Hits         2166     2807      +641
+ Misses        726       88      -638

see 36 files with indirect coverage changes

/lgtm
/approve
/override "Red Hat Konflux / ols-enterprise-contract / lightspeed-service"


correct package

I'm so sorry .  It is my error. I find some package which i provide is incorrect . Here is correct package

fixed merge problem  see #253


transmitter training doesn't stop despite reaching num_train_epochs

in train_transmitter.py:
num_train_epochs = 4
Despite that the model keeps training after 4 epochs.
pfa

@parthpatwa It does not occur for me in my experiments. However, you could just shut down it and find the latest checkpoint as Transmitter model.

I think I found why is it happening:

in train_transmitter.py line 74: num_train_epochs = 4
however in parlai/scripts/train_model.py line 237:   self.max_num_epochs = opt['num_epochs'] if opt['num_epochs'] > 0 else float('inf')

so parlai expects the key to be 'num_epochs' not 'num_train_epochs'
is this correct reason?
If yes, should I go ahead and open a Pull Request?

@parthpatwa Yeah, you catch it. I will be very happy if you could open a PR 👍

@SivilTaram done, check.

@SivilTaram ignore the num_epoch PR. I will open a new one.

@parthpatwa Thanks :)


Cannot add Keybase folder to Explorer in Windows

Windows app, File area. Click the "Display in Explorer".
"Repair" option in installer is prompted. Click it to start.
Installer prompts for EXE: Keybase_1.0.33-20171003150842+ea019b3.386.exe, default folder is my Downloads folder. However this file is not found there. Pressing cancel cancels the operation.

Screenshot 01
Log file Keybase_20171005083857.log

I try again, this time searching for the file name on my PC. I find it in the folder
C:\Users\gustafe\AppData\Local\Package Cache{8029599c-5d18-407a-9bc1-5b7875d899d5}
However, pasting that path into the Find File prompt and selecting the file fails the install.

Log file Keybase_20171005084018.log

Keybase_20171005083857.log
Keybase_20171005084018.log

I have exactly the same problem.

cc: @zanderz

Can you also do a keybase log send ? Thanks.

Meanwhile, it should work if you point that dialog at the installer you downloaded,  https://prerelease.keybase.io/keybase_setup_386.exe

Pointing to the keybase_setup_386.exe instead of the pre-filled Keybase_1.0.33-20171003150842+ea019b3.386.exe in the dialog box allows the repair process to complete and I can now see the KBFS in Explorer. Thanks for the tip @zanderz .

@igufi Can you do a keybase log send too? We aren't yet able to reproduce this and it could help to see the resolution case. Thanks.

Log id 9823525bd9bef541d6c16f1c was sent via the CLI. Is this enough or do you need it also as an attachment in this thread?

After uninstalling and reinstalling Keybase client, issue is resolved.

Hello,
I don't want to hijack this thread but I am also getting the same issue
I reinstalled as gustafe has done without any success (however on another computer that I was able to reproduce this one the reinstalling and running with Administrator rights did solve the issue).
I have sent a log with Log ID: 65faeddecb387dd185e3b31c for further troubleshooting.
Let me know if it's better if I open a new issue for this or if I should continue in this thread

@XIRGO Do you mean that "Display in Explorer" fails? Does it open a dialog to find a weirdly named installer? If you select the original download at that point it should work: https://prerelease.keybase.io/keybase_setup_386.exe
We've identified the problem and it should work better in an upcoming release.

@zanderz, I went ahead and did this and even tried uninstalled + reinstalled but with using "Run as Administrator". This fixed the issue and I no longer see the first issue however I do not see any K: drive in Explorer nor can I open any of the folders from the keybase client.
When I quit the client and rerun it I get a notification pop-up at the bottom right of my screen that says

Keybase: KBFS error

& another that says

KBGS: Disk cache not initialized. Please send Feedback to Keybase

I have also attached the imagine in this comment

Let me know if there's any other information I could provide you to help troubleshoot this further.

You can safely ignore the cache error, it's really just a warning.  As long as everything else seems to be working fine, you should be good. We're looking into that separately.  cc: @jzila.

"Run as Administrator" isn't usually recommended, since Keybase has to run with the same permissions as the current user. It may enable installation in cases where the normal user account lacks permission to install things, but that doesn't mean you're out of the woods. Please do a keybase log send and post the ID and we'll see what happened to your drive letter.

@strib the drive is not mounting after being ran and I'm unable to open any folders from within the client either
@zanderz I have resent the log. The log id is: 0e05d432d384522d1d53bb1c

@XIRGO Logs show a "start error" from Dokan, the filesystem driver. I don't know what causes that but you might try uninstalling Dokan from the control panel, then doing the "Display in Explorer" again. Or it may be a symptom of having been installed as administrator. @taruti ?

@zanderz alright, I've uninstalled Dokan, reinstalled it via the Display in Explorer. When that didnt work i uninstalled keybase and Dokan fully and tried reinstalling everything without any administrator rights. When that didnt work i disabled my anti-virus (webroot) and tried the above steps all over. I've rebooted my computer between all these steps as well.
Lastly I shared a folder with myself from another keybase user account to see if this would do anything different, rebooted and still nothing.
None of these steps have fixed the issue
I've generated a new keybase log send id of: 72bbaf07678dd49c064ea41c
Is there anything I could do to get some additional debugging logs to troubleshoot this further?


IPv6 support

Please add IPv6 support. It seems that nginx is not configured --with-ipv6.
Nodejs (port 81) is listening on IPv6 if it is configured.

would like to see that too. ipv4 is lagacy and ipv6 should be implemented :) hope to see this soon :)

+1, would like to see IPv6 support..since I got at home dual stack from my provider.


Do not upload integration test asset

This file doesn't exist anymore

Thanks a lot for the quick approval!


Accessing the maps hosted in tmap/assets

Site is at: https://udsleeds.github.io/openinfraresults/
to find maps, use: https://udsleeds.github.io/openinfraresults/tmap/assets/<html_filename_here!>

Awesome!


Replace webpack-visualizer-plugin with webpack-stats-plugin

Fixes #2583.
Changelog Entry
Changed

bundle: Webpack will now use webpack-stats-plugin instead of webpack-visualizer-plugin, by @compulim in PR #2584

This will fix #2583 by not bringing in transient dependency of React
To view the bundle stats, browse to https://chrisbateman.github.io/webpack-visualizer/ and drop the file /packages/bundle/dist/stats.json

Description
(Copied from #2583.)

This bug only affect users who "npm install" Web Chat with devDependencies, e.g. playground or any packages that use npm link or lerna to include Web Chat in their build.
When botframework-webchat is installed with devDependencies, it installed React 0.14.9 due to transient dependencies from webpack-visualizer-plugin
botframework-webchat do not include devDependencies of React 16.8.6. This is because of the "Rules of Hooks" to maintain a single instance of React. We do include React 16.8.6 at the root package, so both playground and botframework-webchat-* will share the same instance of React.

Specific Changes

bundle: Replace webpack-visualizer-plugin plugin with webpack-stats-plugin

[x] ~Testing Added~

No tests are added for playground

FYI, this should be caught earlier if we have #2505. We are prophets (or things just bite us back.)

Coverage remained the same at 63.902% when pulling 1eef61441e46f7245d5f12276284743104597be7 on compulim:fix-2583 into a97fbb865982e0bccd3ca1e12d265628ab3441d9 on microsoft:master.


(docs) Correct the core lib path lib/core to lib/highlight

There's no lib/core in highlight.js's NPM package. I think it's wrong. Maybe it should be lib/highlight.

See the docs for 9.18.x, they are correct.  The repository reflects version 10, which is not released yet.  The new docs are correct if you build the source from master.

Added a small note to top of README.


SW-5851 Use parent deliverable IDs for child variables

Currently, it's possible for parent variables such as tables to have different
deliverable IDs than their children, or for their children to not have deliverable
IDs at all even though the parents do.
It never makes sense to split related variables across deliverables, so update the
all-variables importer to always use the parents' deliverable IDs.

#2340  👈
main

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

Join @sgrimm and the rest of your teammates on  Graphite


Basic Duplicate Detection

References

Replaces #1732
Requires DSpace/DSpace#9265

The initial work on this feature was supported by TU Berlin. This work was supported by FHNW and ZHAW.
Description
This feature introduces basic Duplicate Detection into DSpace submission and item links, using Solr's ability to search by levenshtein distance.
A new solr field item_signature is indexed for in-progress and archived items, with a normalised version of the title to allow it to be treated as a single term using the ~n operator, where n is a configurable edit distance.
The potential duplicates detected by this search will be displayed to submitters or reviewers as a submission step, for their information (they could then choose to ignore the report if they know this is a new different item, or cancel their submission if there is a legitimate duplicate already present).
If a potential duplicate is in workspace, only the submitter of an item can see this information.
Workflow reviewers are given a small hint indicating how many potential duplicates are detected for a pooled or claimed task, and directing them to the 'Edit' (form) where the step will show details. If the potential duplicate is in workflow, only a reviewer or admin will be able to see this information.
If versioning is used, only the latest version is included in comparison.
Instructions for Reviewers

Make sure you are using the backend PR DSpace/DSpace#9265
Configure submission to include the new duplicate step
Enable duplication in dspace/config/modules/duplicate-detection.cfg and configure as desired
Add items with the exact same (or play around with edit distance) titles, and see what shows up in the Duplicate section

Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

[ ] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
[x] My PR passes ESLint validation using yarn lint
[x] My PR doesn't introduce circular dependencies (verified via yarn check-circ-deps)
[x] My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.
[x] My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
[x] If my PR includes new features or configurations, I've provided basic technical documentation in the PR itself.
[x] If my PR fixes an issue ticket, I've linked them together.

@MW3000 thank you for the further review. I have fixed the issues identified.

@atarix83 thank you for the review! Yes, this isn‘t a port anymore. As the port didn‘t got reviewed for several DSpace versions, we reimplemented this to get much smaller PRs. We hoped to get it reviewed this time by reducing the PR to roughly 20% of the original size.

@atarix83 we addressed your feedback. Can you please confirm?

@atarix83 thanks for your review, I have addressed your feedback as below:

Warning alert panel for "potential duplicates" message in submission section, claimed task and pooled task

Section data is not assumed to exist in the component template so those errors reading from missing section data will not occur
I made the default behaviour of the submission section to hide the duplicate section (at form load and after parsing save response, using very similar approach to the CRIS code you linked) when there are no duplicates to display.

However, if the angular env config submission.duplicateDetection.alwaysShowSection is set to true (default false) then the section will show the "no duplicates" message, in case that fits the user requirements. The message is displayed in an info alert panel:

(ignore that black border, that is my screenshot utility, not the actual web display)

@tdonohue I have moved duplicate search API method to a separate controller and angular data service as per comments on the related PRs, and rebased against main.

@kshepherd : I just found a second bug which will need to be fixed
When I disable this feature (duplicate.enable=false or commented out), the checks for Duplicates still occur on the Workflow pages. To reproduce:

Disable the feature.  Open up your browser DevTools to watch the "Network" tab
Go to MyDSpace, select "Workflow tasks"
In the "Network" Tab of DevTools you'll see that a call to [dspace.url]/server/api/duplicates/search?uuid=[uuid] is still made for every Item in workflow.

I tested the feature again with the new changes. For me the feature worked well. I did not experience the bug @tdonohue was describing for the workflow step. The duplicate section did appear in the workflow step as well.

@tdonohue regarding the requests being made even if the feature was disabled - i had a check on the backend that always returned an empty response if the feature was disabled (now that will be 404 as discussed, with my other change).
To better achieve what you want here, I have reworked things so that duplicate.enable is exposed via REST, and the claimed/pooled task components will only request duplicate searches if that config comes back as enabled. I hope I have done it in the most efficient manner - it is async, and no new subscriptions were introduced.
I moved the api path to /core/submission/ as suggested, and renamed my service accordingly.
I could not reproduce the problem you had, but i haven't got my local env tested in production yet (will do when i get time). The only thing i could thing of is some unexpected submission configuration?

not sure why these e2e tests are failing - i didn't touch a 'profiles' endpoint or edit-item...

I restarted the tests and now they passed all.

@kshepherd : I'm noticing this is now failing Codecov checks (sigh).  It has dropped just below the "-0.5%" threshold for whether it has enough tests (we allow PRs to only drop overall code coverage by 0.5% at a maximum).
It looks like your latest changes were to submission-objects.effects.ts and submission-objects.reducer.ts.  Both of these already have related spec files.  Maybe you could add specs for your small updates to bring the code coverage back up slightly?
In the meantime, I'm giving this a quick re-test to see if prior issues are resolved.

@kshepherd : If you have time to do a final cleanup, I believe this PR just needs two things:

A fix to the error I was getting... I think the problem is in claimed-search-result-list-element.component.ts
A few more specs/tests so that it no longer fails our CodeCov checks

Once those are resolved, I can give it a final test & then merge both the backend & frontend (assuming everything works as planned)

pushed a large rebase (lots of conflicts with modules now that other submission PRs are pushed and this one has so many commits), and includes changes to use searchBy endpoint again as per last reversion/change in backend PR

@tdonohue although code cov looked ok after i made my last changes, i also added new tests for the data service and the object reducer / actions, to keep things in line with general good practice and get coverage up a bit more, hope that works well

Flagging as needs documentation until Documentation is added for this new feature to the pre-8.0 docs: https://wiki.lyrasis.org/display/DSDOC8x/Submission+User+Interface

Removing "needs documentation" flag as docs now exist in https://wiki.lyrasis.org/pages/viewpage.action?pageId=328958055


Extract renovate automerge-with-tide preset

/kind enhancement
What this PR does / why we need it:
Follow-up to https://github.com/gardener/ci-infra/pull/2616:
Make the renovate config for using tide-based automerging reusable in other repositories via a shared config preset.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
/hold
let's see if https://github.com/gardener/ci-infra/pull/2642 actually works before merging this PR

Nice, the fixed config seems to work: https://github.com/gardener/ci-infra/pull/2639#issuecomment-2461557928
/hold cancel

/lgtm
/approve


[LiveComponent] - Live component and Input File

I'm working on a project where you can add multiple attachments to an event. I use the LiveCollectionType in my form for this.
I render the form via a LiveComponent, for each attachment you add, you can upload a picture via an input file.
`<div {{ attributes }}>
{{ form_start(form) }}
{{ form_row(form.name) }}
{% for key, attachment in form.attachments %}
	<div class="flex justify-between">
                  //...
                  {{form_widget(attachment.file) }}

		<button data-action="live#action" data-action-name="removeAttachment(index={{ key }})" type="button">X</button>
	</div>
{% endfor %}

<button data-action="live#action" data-action-name="addAttachment" type="button">+ Add Attachment</button>

<button type="submit">Save</button>
{{ form_end(form) }}

`
This works great when i submit the form and the request goes through a regular controller. However, i can't get it working when i redirect the submit to the php component.
I change that in the Twig
{{ form_start(form, {     attr: {         'data-action': 'live#action',         'data-action-name': 'prevent|save'     } }) }}
If i dmp $this->formValues in the "save" method of my php component, i can see regular fields (like name, description) are filled, but the files of my attachments is empty.
I have also noticed that you can't simply bind an input type "file" in a normal component, out of a "form" context.
For instance, i can do:
<input type="file" data-model="myFile" />
and get the file data in my php component when i upload something. It works great with all other fields, but it seems like file input has trouble working with live component, and i really didn't see a lot of responses on the matter. Anyone else had the same issue ?
Thank you so much in advance !

Hi @Laguigue!
Unfortunately, right now, file uploads simply don't work with LiveComponents. @Lustmored is working on that in #834... which I see now I need to give another round of review! Hopefully we'll have something shortly - right now, if you have upload fields in your form, they need to have data-live-ignore so that they are completely ignored by the live component. Basically, they don't work yet :/.


[WIP / DMMEAS-1646] adds chore queue option to dedupe on arbitrary value per job

The goal of this PR is to allow chore jobs to define a custom lambda to be called before perform, the results of which we would use as a key to dedupe the job runs. We currently do part of this today for sqs message ids (sqs is "at-least once") in sqs/consumer.rb. Part of this PR refactors the code so that we are either doing one dedupe: using the custom job-defined function, or falling back to using the message id.
A random sided-benefit of this PR is that by moving the deduping code from the sqs/consumer class to the worker, we actually gain the ability to dedupe on filesystem queues which wasn't previously possible before.

Jun  3 15:36:48 ip-10-191-50-185 tapjoyserver-jobs[1]: [2019-06-03 15:36:48 +0000 (5850)] INFO : Running job NonManagedSendCurrencyJob with params {"class"=>"NonManagedSendCurrencyJob", "args"=>["38df22f9-1cec-4c8d-87b1-28fa23e273c6"]}
Jun  3 15:36:48 ip-10-191-50-185 tapjoyserver-jobs[1]: [2019-06-03 15:36:48 +0000 (5850)] ERROR : Failed to run job {"class":"NonManagedSendCurrencyJob","args":["38df22f9-1cec-4c8d-87b1-28fa23e273c6"]} with error: Reward not found: 38df22f9-1cec-4c8d-87b1-28fa23e273c6 at /opt/apps/tapjoyserver/releases/tapjoyserver-20190603135335-98dea6193b/app/helpers/send_currency_job_helper.rb:52:in `perform'
Jun  3 15:36:49 ip-10-191-50-185 tapjoyserver-jobs[1]: [2019-06-03 15:36:49 +0000 (5845)] INFO : Found and deleted duplicate job NonManagedSendCurrencyJob
Jun  3 15:37:20 ip-10-191-50-185 tapjoyserver-jobs[1]: [2019-06-03 15:36:49 +0000 (5850)] INFO : Found and deleted duplicate job NonManagedSendCurrencyJob
Jun  3 15:37:20 ip-10-191-50-185 tapjoyserver-jobs[1]: [2019-06-03 15:36:49 +0000 (5850)] INFO : Found and deleted duplicate job NonManagedSendCurrencyJob
Jun  3 15:37:20 ip-10-191-50-185 tapjoyserver-jobs[1]: [2019-06-03 15:36:50 +0000 (5850)] INFO : Found and deleted duplicate job NonManagedSendCurrencyJob
Jun  3 15:37:20 ip-10-191-50-185 tapjoyserver-jobs[1]: [2019-06-03 15:36:50 +0000 (5850)] INFO : Found and deleted duplicate job NonManagedSendCurrencyJob
Jun  3 15:37:20 ip-10-191-50-185 tapjoyserver-jobs[1]: [2019-06-03 15:36:53 +0000 (5850)] INFO : Found and deleted duplicate job NonManagedSendCurrencyJob
Jun  3 15:37:20 ip-10-191-50-185 tapjoyserver-jobs[1]: [2019-06-03 15:37:20 +0000 (5850)] INFO : Running job NonManagedSendCurrencyJob with params {"class"=>"NonManagedSendCurrencyJob", "args"=>["38df22f9-1cec-4c8d-87b1-28fa23e273c6"]}
Jun  3 15:37:20 ip-10-191-50-185 tapjoyserver-jobs[1]: [2019-06-03 15:37:20 +0000 (5850)] ERROR : Failed to run job {"class":"NonManagedSendCurrencyJob","args":["38df22f9-1cec-4c8d-87b1-28fa23e273c6"]} with error: Reward not found: 38df22f9-1cec-4c8d-87b1-28fa23e273c6 at /opt/apps/tapjoyserver/releases/tapjoyserver-20190603135335-98dea6193b/app/helpers/send_currency_job_helper.rb:52:in `perform'
Jun  3 15:38:26 ip-10-191-50-185 tapjoyserver-jobs[1]: [2019-06-03 15:37:51 +0000 (5850)] INFO : Running job NonManagedSendCurrencyJob with params {"class"=>"NonManagedSendCurrencyJob", "args"=>["38df22f9-1cec-4c8d-87b1-28fa23e273c6"]}
Jun  3 15:38:26 ip-10-191-50-185 tapjoyserver-jobs[1]: [2019-06-03 15:37:51 +0000 (5850)] ERROR : Failed to run job {"class":"NonManagedSendCurrencyJob","args":["38df22f9-1cec-4c8d-87b1-28fa23e273c6"]} with error: Reward not found: 38df22f9-1cec-4c8d-87b1-28fa23e273c6 at /opt/apps/tapjoyserver/releases/tapjoyserver-20190603135335-98dea6193b/app/helpers/send_currency_job_helper.rb:52:in `perform'
Jun  3 15:38:26 ip-10-191-50-185 tapjoyserver-jobs[1]: [2019-06-03 15:38:26 +0000 (5850)] INFO : Running job NonManagedSendCurrencyJob with params {"class"=>"NonManagedSendCurrencyJob", "args"=>["38df22f9-1cec-4c8d-87b1-28fa23e273c6"]}
Jun  3 15:38:26 ip-10-191-50-185 tapjoyserver-jobs[1]: [2019-06-03 15:38:26 +0000 (5850)] ERROR : Failed to run job {"class":"NonManagedSendCurrencyJob","args":["38df22f9-1cec-4c8d-87b1-28fa23e273c6"]} with error: Reward not found: 38df22f9-1cec-4c8d-87b1-28fa23e273c6 at /opt/apps/tapjoyserver/releases/tapjoyserver-20190603135335-98dea6193b/app/helpers/send_currency_job_helper.rb:52:in `perform'

is calling all the hooks for duplicates a problem?

calling complete deletes all the messages from the queue with the same id. this is a problem if we have two messages with the same sqs id and the first fails (and thus is added to the back of the queue), the 2nd will 'complete' (because it is a duplicate) and then delete the first (uncompleted) job from the queue.

filesystem queue doesn't really need this, can we make it optional

don't connect to the local memcached, try fakememached

/to @obrie @Tapjoy/dmmeas

review @obrie @Tapjoy/dmmeas

I've built and deployed this as version 3.2.0


version1 fields should not be required/mandatory

when generating a version1 schema from v2 parts, the 'required' schema attribute should not be set. This is because version1 did not have mandatory fields.

After discussing, let's go back to the original plan to have fields the equivalent mandatory fields in version 2 be mandatory in version 1.

Ok, in that case I'll close this issue.


Plugins - Include the version number of the main software the plugin is based on

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Is your feature request related to a problem? Please describe.
Currently plugins have a version number that is used to identify which iteration the plugin is itself.  However, there is no easy way to identify what is the version of the base package the version is based off of, that is what package was downloaded by the maintainer, modified, and uploaded to this repository.  An example,  os-nginx.  The latest plugin is listed as 1.34 but the nginx website is listed as 1.26.1 stable and 1.27.0 main.  I understand the changelog has the version number included.  However, they are the change logs for the maintainer and not the base software.
Describe the solution you like
For all plugins, require the inclusion of the name of the software package (as shown above there are 2 possibilities), and more importantly the version number of the base software.
The purpose of this is to understand what version the firewall administrator is using as many of the packages used have settings. Which are version specific and the packages may be at an much newer release than what is available on the firewall.
I have see where the package being maintained was over a full major version behind.  This is not to say the maintainers for opnsense are this way.  It is to show that the documentation and settings being reviewed by the administrators will not work, or may not work correctly as it is not the correct version.
Also, some of the  opnsense documentation for the plugins is short and points administrators to the software website for further information / configurations, etc.
Using the example above,
OS-nginx  maintainer version   1.34   base version  1.26.1
Describe alternatives you considered
There are currently no alternatives.
Additional context
None

Thank you; mistakenly, this ticket was created in the wrong area.  Could it be moved over to plugins, or would a new one need to be created?
I would like to contribute as you have pointed out "Maintainers and users are free to document version changes in pkg-descr changelog."  How could I find out what the latest version the maintainer is using in order to document.  I am in I.T. however, do not know what or how git operates in order to support this process.  Could you recommend some material I could view and be in a better position to help?