8/16/2022 Publish

Docs Build status updates of commit 1d3fb5c:
:warning: Validation status: warnings

File
Status
Preview URL
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

<EMAIL_ADDRESS>:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/active-directory.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/analysis-services.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/api-for-fhir.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/api-management.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/app-configuration.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/appcontainers.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/application-insights.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/app-platform.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/appservice.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/app-service.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/authorization.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/azureadexternalidentities.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/azure-confidential-ledger.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/azure-stack.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/batch-ai.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/bot-service.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/changeanalysis.md
:warning:Warning
View (azure-node-latest)
Details

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

<EMAIL_ADDRESS>
Line 24, Column 16: [Warning: xref-not-found] Cross reference not found: '7.0'.
Line 24, Column 39: [Warning: xref-not-found] Cross reference not found: '7.1'.
Line 24, Column 62: [Warning: xref-not-found] Cross reference not found: '7.2'.
Line 24, Column 85: [Warning: xref-not-found] Cross reference not found: '7.3'.

<EMAIL_ADDRESS>
Line 5, Column 22: [Warning: xref-not-found] Cross reference not found: 'createCertificate'.

<EMAIL_ADDRESS>
Line 5, Column 22: [Warning: xref-not-found] Cross reference not found: 'updateCertificate'.

<EMAIL_ADDRESS>
Line 6, Column 12: [Warning: xref-not-found] Cross reference not found: 'JsonWebKey'.
Line 109, Column 52: [Warning: xref-not-found] Cross reference not found: 'JsonWebKey'.

<EMAIL_ADDRESS>
Line 5, Column 22: [Warning: xref-not-found] Cross reference not found: 'KeyClient.getRotationPolicy'.

<EMAIL_ADDRESS>
Line 5, Column 22: [Warning: xref-not-found] Cross reference not found: 'backupSecretOptions'.

<EMAIL_ADDRESS>
Line 24, Column 16: [Warning: xref-not-found] Cross reference not found: '7.0'.
Line 24, Column 39: [Warning: xref-not-found] Cross reference not found: '7.1'.
Line 24, Column 62: [Warning: xref-not-found] Cross reference not found: '7.2'.
Line 24, Column 85: [Warning: xref-not-found] Cross reference not found: '7.3'.

<EMAIL_ADDRESS>
Line 6, Column 77: [Warning: xref-not-found] Cross reference not found: 'beginRecoverDeletedKey'.

docs-ref-services/latest/active-directory.md

Line 2, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'activedirectory'.
Line 17, Column 211: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/active-directory/develop/reference-v2-libraries' will be broken in isolated environments. Replace with a relative link.
Line 17, Column 343: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/graph/overview' will be broken in isolated environments. Replace with a relative link.
Line 20, Column 38: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/active-directory/develop/sample-v2-code' will be broken in isolated environments. Replace with a relative link.
Line 21, Column 26: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/active-directory/develop/msal-compare-msal-js-and-adal-js' will be broken in isolated environments. Replace with a relative link.
Line 21, Column 143: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/graph/migrate-azure-ad-graph-overview' will be broken in isolated environments. Replace with a relative link.
Line 67, Column 68: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/samples/browse/?products=azure&terms=node.js' will be broken in isolated environments. Replace with a relative link.

docs-ref-services/latest/analysis-services.md

Line 2, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'analysisservices'.
Line 31, Column 70: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/samples/browse/?languages=javascript' will be broken in isolated environments. Replace with a relative link.

docs-ref-services/latest/api-for-fhir.md

Line 2, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'apiforfhir'.

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


Tried - Error Logging for GradientTape #26143

i have added isinstance() method to check variable type and raise according exception message

@shashvatshahi1998 please sign CLA

i am trying again and again why this is not working.

ok its done

i have commited once again can you please review it

Did you mean to close this PR?


chore: fixed all tags issues and linter warnings and enforced formatting ci to trigger on push

Description
This pull request includes the following updates and fixes:

Enforcements for CI Formatting: The continuous integration (CI) process now enforces consistent code formatting.

HTML Tags Error Fixes: All issues related to unexpected closing HTML tags have been resolved.

Updated CI Workflow: The CI workflow has been updated to run on push events. This enhancement facilitates contributors in addressing formatting and syntax issues before the code review stage.

The formatting workflow is now stable and will be triggered for all subsequent pushes and pull requests.

Type of Change

[x] ✨ New feature (non-breaking change which adds functionality)
[x] 🛠 Bug fix (non-breaking change which fixes an issue)
[x] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[x] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[x] 🗑 Chore

Changes

Please which part of the project your changes affect ?

[x] Frontend (Templates, CSS, JS)
[ ] Backend (Dancer2, api-docs, Dockerfile)

Hello mentor @manwar 👋

Here is a fix for HTML tag errors and workflow failures.
I also enforced prettier linter suggestions.
The Nodejs version in the workflow has also been updated to the latest version.

Thanks for reviewing this.

Thanks for your contributions. @baimamboukar


Text color in Marker is not updated

Describe the bug
Updating the textComponent(color = ) parameter is not updating the text color of the label on the Marker
It seems to be copying the lineColor and can't be changed.
If there is way to do this could you please point me to the solution?
Module

[x] compose
[ ] views
[x] compose-m2
[ ] compose-m3
[ ] core (select if none of the above apply)

To reproduce
Steps to reproduce the behavior.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Android versions
Android 13
Additional context
version of lib 1.6.4

Hello! This behavior is expected, but you can change it. Please see issue #183 for more information.


further reduce CI

Codecov Report

Merging #246 (87cdfd0) into main (aa4330a) will decrease coverage by 0.29%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #246      +/-   ##
==========================================
- Coverage   84.97%   84.68%   -0.30%
==========================================
  Files          16       16
  Lines        1198     1175      -23
  Branches      154      154
==========================================
- Hits         1018      995      -23
  Misses        159      159
  Partials       21       21

Impacted Files
Coverage Δ

nbcelltests/extension.py
55.71% <0.00%> (-3.50%)
:arrow_down:

nbcelltests/tests_vendored.py
84.48% <0.00%> (-0.27%)
:arrow_down:

nbcelltests/tests/test_test.py
90.97% <0.00%> (-0.11%)
:arrow_down:

nbcelltests/tests/test_shared.py
98.91% <0.00%> (-0.04%)
:arrow_down:

nbcelltests/tests/test_lint.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


[BUG] If console.log is used , application crashes

OS : Android 5.0 lollipop
Cordova: 6.2.1 with Crosswalk 2.2
Application crashes after Logging while background mode is activated .

Does anybody else has the issue? I've tested Crosswalk@latest, cordova@latest and Android 6 (and console.log) yesterday without any crashes.

i will test with crosswalk latest and see if it still happens , android is 5 tho.

Please reopen if still required.


"io is not defined" with nodejs06 Windows

Hi there,
since I'm forced to use a Windows-Webserver-System I'm using nodejs06 for Windows as well (Cygwin is no real option in my setup).
To be able to re"require" the socket.io.js cloned from the socket.io.js-github-repository I had to clone the socket.io-client-repository as well since it is required in socket.io and I cannot use npm to install the whole thing. Now socket.io-client seems to be defined in socket.io but but now I'm stuck on an error of socket.io-client in there. It sais
"ReferenceError: io is not defined
at Object.<anonymous> (path\to\socket.io-client\lib\socket.io-client.js:1:63)"
I can't see how to fix this at the moment, since "io" is instanciated in io.js as
var io = exports;
Would be grateful for any kind of hint!
Cheers,
Andreas

I have a similar setup running somewhere, and it works quite well. Are you sure you've got the dependency structure right?

Thanks for your quick response
redis and policyfile were missing. Now I have the same structure as you do. But the error still occurs. I believe it somehow deals with that definition in socket.io-client.js as mentioned above. socket.io-client.js just "calls" io.js and inside io.js we have var io = exports; in line 16. Shouldn't it be s.th. around there?
And further, didn't you have to adjust the paths in redis/socket.io/policyfile or anywhere else?
Cheers,
Andreas

I didn't change anything. I had the exact same setup running on one of my Linux boxes. I may get around to doing a vanilla test later today -- in the mean time I suggest you install the npm beta for Windows, and see if that sorts out the deps for you.


This is a real issue: Going back after after opening an issue shows old issues of hours ago.

Going back after opening an issue shows old issues from hours past instead of current ones

Added here: #225


Custom event parameters are ignored

I am sending a custom welcome event called "demo-welcome" via v2 with version 0.8.2
{
	"session":"projects/XXXXXXXXXXXX/agent/sessions/20055814231515",
	"queryInput": {
		"event": {
			"name":"demo-welcome",
			"parameters": {
				"party":"123456"
			},
			"languageCode":"de"
			}
		}
}

The event fires correctly but unfortunately parameter party cannot be accessed: #demo-welcome.party does not exist.
Any help is appreciated.
Mark.

Hi @mwoop the issue is that parameters needs to be formatted as protobuf Struct. I actually put together a little utility module to help with conversions if you're interested
const {struct} = require('pb-util');
const parameters = struct.encode({party: '123456'});

Hi @callmehiphop - that solved my issue. Thanks a lot.

@mwoop awesome, glad to hear it!


Fix some trivial nits

Sorry for the delay, I'd forgotten this was here. I'm not keen on the change to the warnings. In general, I like to use roughly the set used by jbuilder by default. I'm fine with turning on some of the others, but I'd like them to be turned on explicitly (e.g. :standard -w +foo) rather than disabling others explicitly (e.g. :standard -w +A-not_foo).

Idem, completely forgot this PR.
Apart from Leo's remark, I'll be happy to merge once you rebase.

Made obsolete by #9.


Support initialising otherwise null fields on ConfigSerializable annotated classes

As briefly discussed in Discord, we had a field that we didn't provide a default for (so was null). In the Sponge global config, it makes no sense for any entry to be null.
It would be nice to allow Configurate initialise objects in the ConfigSerializable classes if population from a node would otherwise set null on a field. This should probably be optional via an option on the ObjectMapper builder.

it makes no sense for any entry to be null.
What about primitive wrappers?


Fix updating of webhooks in setup_sparkpost command

Updating webhooks failed often with Permission denied, which prevented backend deployment. I disabled the webhook updates, which means that changing webhook secrets and other sparkpost-related settings is now a manual command.
It would be nice if the reason for Permission denied was found and fixed.

Ah, I think the problem was really missing API permissions. Let's try to enable the script again.


Fixes for android and llvm

in android file needs to be aboslute path
add EXCLUDE_PATHS var to bypass multiple defination error
use readelf instead of objdump to get section offset and size

What’s with the copyright lines?

What’s with the copyright lines?

I'm from quicinc, that's what the company asked for.
I'm fine to remove it if you insist to not have any copyright, but I think license is more important here.

I'm not keen on the copyright.
It would be nice if you could summarize the changes.
Is that a new environment variable I see? That will need some explanation in the README to be of any use.
Do these changes effect other platforms other than android?

I'm not keen on the copyright. It would be nice if you could summarize the changes. Is that a new environment variable I see? That will need some explanation in the README to be of any use. Do these changes effect other platforms other than android?

updated the readme for the var.
updated the summary of the pr.
and there is no side effect as readelf has consistant output with gnu or llvm ones while objdump diffs.

can u review again?

I added another comment about the file type, but it seems to have disappeared, so here it is again.
I'm not going to merge in hard coded paths. When we use a tool (via Popen) we often provide the ability to include its location via a environment variable. This approach would work for 'file' but it would need to be documented. Something like WLLVM_FILE_TOOL_PATH


Integration with node js and ionic angular project

Can you please explain how can I integrate this momo payments for vietnam in my ionic angular mobile application or also any web application.

Hi @varaprasadreddy9676 the MTN MoMo API only works for the countries in which MTN operates in Africa. It is not the right package for use in Vietnam.

Hi @varaprasadreddy9676 the MTN MoMo API only works for the countries in which MTN operates in Africa. It is not the right package for use in Vietnam.

Thank you for clarification.

You are welcome.


[skip ci][ci][docker] Prune all non-relevant images

Before this would leave around any image that could be used in CI. This PR changes it so that the docker rmi knows exactly which image is being used in CI so all others (even those that are being used in the same build but not currently on that node) are deleted
This also adds some more logging so we can see what's going on and should help keep disk usage down. Skipped CI since this runs during lint.
Thanks for contributing to TVM!   Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.
cc @Mousius @areusch

shouldn't have skipped CI on this one, the Jenkinsfile needed to read a variable during groovy execution that wasn't set correctly


Feature Request: kpt pkg update should allow absolute paths

For some reason, kpt pkg get accepts absolute paths, but kpt pkg update does not.
Does this inconsistency have a reasons? Seems arbitrary.
I would like kpt pkg update to take absolutes so it's easier to automate.

kpt pkg update /workdir/environs/dev/project --strategy resource-merge
error: package path must be relative

kpt pkg update /workdir/environs/dev/project --strategy resource-merge
error: package path must be relative

@phanimarupaka @mortent Can you take a look at this?

@karlkfi That is intentional. kpt needs the parent folder to be checked in to git so that when there is a failure while doing an update, users can fall back to git in order to stash those changes. For example, --strategy=force-delete-update would first delete the package and fetch it from remote. In case delete succeeds but fetch fails, the package will be gone. So to avoid that, kpt requires the parent folder checked in to git and accepts only relative paths.

I'm not sure why the requirement for being a git folder requires specifying a relative directory.
I see two workarounds to allow absolute directories:

cd into the parent dir before deleting the package directory, to avoid executing git without a workdir (requires one of the parent dirs to be a git repo)
change kpt pkg get to allow checking out into the current dir (https://github.com/GoogleContainerTools/kpt/issues/1407), then don't delete the whole directory (for --strategy=force-delete-update), only its contents (excluding the .git dir). Then you can repopulate the package without needing to change directory.

As part of the new implementation of kpt packaging, we are trying to address both of the issues here.
We will make kpt use absolute paths consistently internally, and convert user provided paths that are relative to absolute paths within the cobra command.
We are also changing how we implement some of the update strategies. This means we will no longer completely delete directories, but instead handle it on a file-by-file (and subdirectories) basis. The delete directory approach doesn't handle subpackages correctly, so we need to replace it anyway.

This has been addressed in the next branch.

@karlkfi
 ~/src/sandbox » kpt pkg update /Users/mikebz/src/sandbox/mysql

Package "mysql":
Fetching upstream from sso://user/mikebz/blueprints@main.
From sso://user/mikebz/blueprints
 * branch            main       -> FETCH_HEAD
Fetching origin from sso://user/mikebz/blueprints@main.
From sso://user/mikebz/blueprints
 * branch            e59fa3473c45904b50c6c24dcc0ca3e9ddccd42d -> FETCH_HEAD
Updating package "mysql" with strategy "resource-merge".

This is how it works.  LMK if that solves your problem.

:+1: Thanks!
This should make it easier to run a pkg update from inside a script and containerize.


Add .gitignore.

Added .gitignore, removed .idea and __pycache__. Resolves #1.

Needed to fix my repository, merging this would've caused problems.


Rake

With fd0424bf472823d9b71371a867385be48e8917c5, the Rake DSL is now included when the fabrication gem is required. I tried to follow that commit message, but wasn't able to figure out what the reason for that change was. If you could help enlighten me, I would really appreciate it!
In any event, we're having an issue where we have a model that has an attribute named link - the exception is:
ActiveAttr::DangerousAttributeError: an attribute method named "link" would conflict with an existing method

Which is super weird! With some help from my friends (@ashkan18 and @yuki24), we figured out that fabrication 2.14.0 was the version that broke things for us.
Check this out:
$ gem install rake fabrication
Successfully installed rake-12.0.0
Successfully installed fabrication-2.16.0
2 gems installed
$ irb
2.3.1 :001 > require 'rake'
 => true
2.3.1 :002 > Object.new.method(:link).source_location
NameError: undefined method `link' for class `Object'
	from (irb):2:in `method'
	from (irb):2
	from /Users/jon/.rvm/rubies/ruby-2.3.1/bin/irb:11:in `<main>'
2.3.1 :003 > require 'fabrication'
 => true
2.3.1 :004 > Object.new.method(:link).source_location
 => ["/Users/jon/.rvm/gems/ruby-2.3.1/gems/rake-12.0.0/lib/rake/file_utils_ext.rb", 33]

I think that's pretty unexpected, no? I don't know what the way forward is here, but I wanted to raise the issue and see if anyone had any good ideas about what to do.

Fabrication's task definition is perfectly compatible with both rake 0.9.* and 10.*. What was really deprecated was something like below, and I believe we can safely remove the include call.
#!/usr/bin/env rake

module Namespace
  desc 'description'
  task :run do
    sh 'say "Running this task shows deprecation warnings"'
  end
end

And if you run the rake task, it shows the following:
$ rake run
WARNING: Global access to Rake DSL methods is deprecated.  Please include
    ...  Rake::DSL into classes and modules which use the Rake DSL methods.
WARNING: DSL method Module#desc called at /Users/yuki/GitHub/tmp/rake-922/Rakefile:4:in `<module:Namespace>'
WARNING: DSL method Module#task called at /Users/yuki/GitHub/tmp/rake-922/Rakefile:5:in `<module:Namespace>'
WARNING: DSL method Module#sh called at /Users/yuki/GitHub/tmp/rake-922/Rakefile:6:in `block in <module:Namespace>'
say "Running this task shows deprecation warnings"

Make sure to use rake <IP_ADDRESS> otherwise it raises an NoMethodError


LoadError: libffi.so.7: cannot open shared object file for Action on 22.04

Description
The ubuntu-latest runner was recently upgraded to 22.04 from 20.04 which has caused my Rails tests to fail
Platforms affected

[ ] Azure DevOps
[X] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

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

Image version and build link
Image: ubuntu-22.04
Version: 20221127.1

Is it regression?
Yes
Expected behavior
Tests pass as normally as when runs-on: ubuntu-20.04
Actual behavior
Fails with
LoadError: libffi.so.7: cannot open shared object file: No such file or directory - /home/runner/work/unflow-server/unflow-server/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/lib/ffi_c.so

Repro steps

Setup a Rails app that includes the ffi gem with version 1.15.5
Run a GitHub action that runs a rake command

@daibhin please provide minimal workflow with all the dependencies to reproduce the issue and/or link to affected run.

Almost sure it will be connected to https://github.com/orgs/community/discussions/24949
And big thread about the same symptoms: https://github.com/ffi/ffi/issues/881
But we cannot be sure without additional info.

Hi again @daibhin
Please provide additional information or I will be forced to close the application.

I just hit the same but it's not the fault of runner-images.  The FFI issue (cached/broken c lib link) fixed it for me.  Thanks.

Hello @daibhin, could you please try to use another version of Ruby as @pglombardo advises? We will close the issue for now. Feel free to reach out if you have any concerns.


TPL upgradeability depends on old library version

The TPL contracts in package/vouching depend on version 1.4.0 of zos-lib. ZepToken is now upgradeable using this version, but Vouching uses 2.0.0-alpha.0. We should move TPL to use the newer version (while maintaining compatibility with openzeppelin-zos).

This is superseded by #128, which is tackled in #123, @facuspagnuolo let me know if I can close.


Axis' labels in multiple line for long length texts

Is your feature request related to a problem? Please describe.
I want to display axis' long labels in multiple lines
Current:
// Example in xaxis
<text>
  <tspan>Line1, line2</tspan>
  <title>Line1, line2</title>
</text>

PS: Labels on X-Axis and Y-Axis, not the title.
Describe the solution you'd like
Wanted:
// Example in xaxis
<text>
  <tspan>Line1,</tspan>
  <tspan>Line2</tspan>
  <title>Line1, line2</title>
</text>

Describe alternatives you've considered
Give the formatter function in labels object that can target <tspan> and <text> if I shorten the label in <tspan>, but the hover tooltips in x-axis won't be affected.
Alternatives:
// Example in xaxis
<text>
  <tspan>Line1</tspan>
  <title>Line1, line2</title>
</text>

Additional context
screenshot:

Thanks for the suggestion.
Closing this one in favor of #388

@max8hine  were u able to get it any way on multiple lines .
In my case i hava a chart called as weekly view , where the labels on xaxis for each bar says,
2019-10-11 To
2019-11-12


SectionedTableView crashing on moveItem(from: to:)

aMutableObservableArray2D.moveItem(from: to:) works fine sometimes but crashes consistently others.
Crash:
'NSInternalInconsistencyException', reason: 'attempt to move index path (<NSIndexPath: 0x600002626fa0> {length = 2, path = 1 - 0}) to index path (<NSIndexPath: 0x600002626dc0> {length = 2, path = 0 - 2}) that does not exist - there are only 2 rows in section 0 after the update
Setup:
controller1.viewModel.array2d
^ array is bound to a tableView on controller1
2 items in section 0
1 item in section 1
expected after data refresh:
3 items in section 0
0 items in section 1
It works as expected when:

updating data manually (in db)
doing "pull to refresh"

It crashes when:

pushing controller2 onto the nav stack
updating data manually (in db)
hitting "back" to return to controller1
reloading data on viewWillAppear

which results in controller1.viewModel.array2d.replace(with: performDiff: )
the data updating on device works as expected

crash. every time

My fault!!
The table and datasource got rebound during the navigation exchange...


fix bug for stop in commit wait

fix bug for all node restart at commit wait step

Please update the submodule of CITA.

This PR is related to
https://github.com/cryptape/cita/issues/549


display modal on page load

how can I display the modal once the page loads?

solved it whit below code

Thanks @krutsednar.  Don't know why this didn't occur to me sooner...  abstracted to:
       <script> window.addEventListener('load', ()=>{ Livewire.emit('showInitialModal'); }) </script>
and added to my layout with listener for showInitialModal.


TODO: enum as native type

add enum types as output annotation without the need to wrap it into pydantic model

working now in v0.2.0a5


Cannot verify only content type

From<EMAIL_ADDRESS>on January 15, 2012 16:49:20
given()
..
expect().
contentType("somehing").
when().get("/something");
will always validate!
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=146

From<EMAIL_ADDRESS>on January 15, 2012 07:53:14
It doesn't seem to work at all.
Labels: -Priority-Low Priority-High

From<EMAIL_ADDRESS>on January 15, 2012 08:46:41
Summary: Cannot verify only content type

From<EMAIL_ADDRESS>on January 15, 2012 09:28:09
Status: Fixed


Set-Content error when running New-SelfSignedCertificateEx on PowerShell 6.0

Because of this change PowerShell Core does not have -Encoding Byte. Replaced with new parameter AsByteStream,
The following line has error when running on Powershell 6.0
			Set-Content -Path $Path -Value ([Convert]::FromBase64String($PFXString)) -Encoding Byte
Any plan to have a version that can run on both PowerShell Core and PowerShell Windows?
Thanks.

Reopenning. Going to make requested changes.

Linked: https://github.com/PKISolutions/PSPKI/issues/104


feature: Static machine support

Support tests on real machinge (no vm provisoring).
example of worker config file:
 env: linux
 queue: builds.linux.static
 linux:
   amqp:
     host: localhost
     port: 5672
     username: travisci_worker
     password: travisci_worker_password
     virtual_host: travisci.development
   vms:
     provider: static_machine
     count: 2
   static_machine:
    username: travis
    private_key_path: /path/to/kay/id_rsa
    ip: [<IP_ADDRESS>, <IP_ADDRESS>]
    port: 22
  language_mappings:
    haskell: jvm

In case of merging #177 and this, use please 43797b0f401b6a944315d2b1507abdd84f5f1ee8 in https://github.com/finalci/travis-worker

this is interesting, we had been thinking of adding something similar, but instead of connecting to a remote machine the worker would be installed on the machine itself (eg. agent mode)
i think we would be interested to merge in this, but maybe focus on the 'agent mode' approach.
also, I think it might be best to add this to travis-ci/worker, which is our new worker code base
would you be interested in porting over your changes there?

also, is there a particular reason you changed the license?

@joshk Agent approach is good idea.
Let me say little background of my pull requests (this previous and nexts):
I am currently working on proof of concept of extending travis to be able to run e2e tests, e.g.:

enable tests with restart
gather test results and present them (similarly as Bamboo does)
test on windows as well
add support of libvirt and vsphare
support test with involving more machines (e.g. ntp server and client)
..and other

...currently I am working on guest API to be able to communicate from the machine under the test with the worker.
(I am open to any architecture discussion on these changes, we can discuss it via mail if you want.)
In light of e2e test this solution has advantage that the VM machine is pure.
Because of little time on proof of concept I cannot afford to rewrite this changes to travis-ci/worker now, but if the PoF will be successfull... who knows...


Use keyword-style arguments for read functions

If https://github.com/cmiles74/bencode/pull/2 gets merged, there will be already 3 optional parameters to the read functions. They all create some kind of specialized behavior. I usually see such cases utilizing the keyword-style arguments https://janet-lang.org/docs/functions.html.
I would suggest to use this style for all public read functions: read, read-buffer and read-stream. The reason is just a more convenient API for the library. If you think this is good, I can prepare a pull request.

https://github.com/cmiles74/bencode/blob/2954ae3f3f13f28c1284be438a3c947f48830863/test/bencode_test.janet#L60-L64
When doing this issue I read the docs for this test function. It is outdated at least, keys are turned into keywords in the current tests. Can I remove this function altogether in favor of the library function or was there an idea behind this behavior?
I think I will replace it and just add a couple of tests that all the options supplied to this function work as expected


Normalization layer masking

System information

TensorFlow version (you are using): nightly (on colab) (also on my machine, but behind a few weeks (built upstream from source for ROCm support))
Are you willing to contribute it (Yes/No): Yes, once maintainers evaluate proposal

Describe the feature and the current behavior/state.
tf.keras.layers.Normalization() does not ignore masked values.
Will this change the current api? How?
Only additional parameters, should not contain any non-backwards compatible changes.
Who will benefit with this feature?
People working with ragged data who want to include a preprocessing layer to normalize in model.
Any Other info.
Proposing:

add parameter to .adapt() method (mask_value=0.0 and/or boolean mask)
add call(..., mask=None) and tensor multiply to allow masking during model fitting/evaluation

Colab gist current behavior
An attempt at masked normalization (does NOT generalize to any input shape)
class MaskedNormalization(tf.keras.layers.Layer):
    """custom masked normalization layer"""

    def __init__(
        self,
        mask_value: int = 999,
        input_dims: tuple = (51, 3),
        name: str = "masked_normalizer",
    ):
        super(MaskedNormalization, self).__init__()

        self.mask_value = mask_value
        self.supports_masking = True

        self.normalization = tf.keras.layers.experimental.preprocessing.Normalization(axis=2)

    def adapt(self, inputs):
        """redefined adapt to ignore masked values"""
        if not self.normalization.built:
            raise RuntimeError("layer must be \"built\" prior to calling `.adapt()`, see `model.build_graph()`")

        mask = inputs != self.mask_value

        float_mask = tf.cast(mask, dtype=tf.dtypes.float32)

        mean = tf.reduce_sum(inputs * float_mask, axis=[0, 1]) / tf.reduce_sum(
            float_mask, axis=[0, 1]
        )
        # sample variance (divide by: n-1)
        var = tf.reduce_sum(((inputs - mean) ** 2) * float_mask, axis=[0, 1]) / (
            tf.reduce_sum(float_mask, axis=[0, 1])
            - tf.constant(1, dtype=tf.dtypes.float32, shape=(3,))
        )
        count = tf.experimental.numpy.count_nonzero(
            float_mask
        )

        self.normalization.adapt_mean.assign(mean)
        self.normalization.adapt_variance.assign(var)
        self.normalization.count.assign(count)

        self.normalization.finalize_state()
        self.normalization._is_adapted = True

    def call(self, inputs, mask=None):

        # if mask provided mask output values (multiply by zero)
        if mask is not None:
                reshape_mask = tf.transpose(
                    tf.expand_dims(tf.cast(mask, dtype=tf.dtypes.float32), axis=0),
                    perm=[1, 2, 0],
                )
            return self.normalization(inputs) * reshape_mask

        return self.normalization(inputs)

    def compute_mask(self, inputs, mask=None):
        """return the input_mask directly"""
        return mask

Hi @ianzur !
Please post this issue on keras-team/keras repo.
To know more see;
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999 . Thanks!

Moved issue to keras repo.
Closing here.


bind to recognition service failed

i got this error
bind to recognition service failed

This error is from SpeechRecognizer, not from SpeechRecognitionView

bind to recognition service failed
How can I resolve this error?


Design enhancement

This PR aims at adding some design revamping :

Btn styles within alert selection area
Some info displayed such as site name instead of 'localisation' in alert modal and azimuth instead of camera id within alert selection area
Converting alert time to GMT + 2

Thanks a lot for this PR, edits are very clear and it seems to work very smoothly!


update bootstrap dmd to 2.068.2

also use .tar.xz download when xz is available

Tested on linux and osx w/ zip and tar.xz.

Now also tested on FreeBSD, remember to explicitly use stdin (tar -f -) b/c FBSD's tar defaults to read from /dev/sa0 (tape).

Auto-merge toggled on


Disable the TPP E2E tests

Disable the TPP E2E tests while we resolve a problem with the TPP server.
They can be run manually with /test pull-cert-manager-e2e-v1-20-feature-issuers-venafi-tpp
xref: https://github.com/jetstack/cert-manager/issues/3555
NONE

/kind flake

/cherry-pick release-1.5


"Contributions Graph is taking longer than expected to load"

Describe the bug
"Contributions Graph" had been working. Now we are getting the error message, "Contributions Graph is taking longer than expected to load."
This particularly occurs when trying to select user names for the graph.
Environment:

Chrome
hosted (Azure Devops)

Screenshots

To Reproduce
Navigate to any project. Select the "Contributions Graph" under "Boards".
Attempt to select users. But the "Suggested People" hangs at "Loading" (Waited 15 minutes and counting)
Expected behavior
List of users should appear; Graph should be populated.

+1 to the issue. Can this issue be triaged with priority? It's impacting report generation for my team.

+1 to the same issue. My hopes are that creators (@ostreifel) of Contribution Graph still remembers that they did it (last upgrade was in 2020).

+1 to the issue. Last contribution of creator overall was almost 3 years ago... I think someone needs to fork this and start maintaining on their own..


Add link to parsers.go in README.md

This makes clear that the parsers aforementioned are not the only ones included with kingpin, and are only examples.

I just discovered a bunch of included parsers I initially had no clue they existed. This might help new users. I originally wanted to include the full list (so Ctrl+F in the README.md would bring up the parser name, some description, etc.) but I figured this would only add complexity and duplicate what's already documented in parsers.go.

Good idea!

Fastest merge ever :+1: Thanks, good day to you!


1.5.1 Release

@vania-pooh @baev
Hi guys! I ve released 1.5 version via jenkins deploy job, but it didnt appear on public repos.
(see https://oss.sonatype.org/#nexus-search;quick~allure-cucumber-jvm-adaptor).
Should it aproved by someone or I`ve missed something?

Update to 1.5.1 version.

@vania-pooh Thanks!


Add the error message 'field' into the primary error message

quick refactor of the if's into a switch
tests fix up for this

Codecov Report

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

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


right clicking while placing decals crashes client

Description
If you right click while placing decals the client will crash. Old behavior was just that it would remove decals
Reproduction

Open Decals UI
start placing decals
right click to remove decals
client crashes
cry

Screenshots
Additional context
I had the palette open and was placing the colored half-tile decals. This happened on both debug (which isn't surprising) and tools configuration.
I am running the game on manjaro linux.

isn't right clicking with decals just supposed to remove the decals in that area?

isn't right clicking with decals just supposed to remove the decals in that area?

Oh yea you're right. I forgot (I haven't done any decalling in a couple months)
Still though, that's a pretty big problem if you cannot remove decals...

I cannot replicate this, can you give more details

well it's actually a dupe of https://github.com/space-wizards/space-station-14/issues/30162
happens on debug build and crash caused by exception

its a meme debug assert in control handling code i think

I cannot replicate this, can you give more details

it happens on the debug build, I get the following exception
Exception has occurred: CLR/Robust.Shared.Utility.DebugAssertException
An unhandled exception of type 'Robust.Shared.Utility.DebugAssertException' occurred in Robust.Shared.dll
   at Robust.Shared.Utility.DebugTools.Assert(Boolean condition) in /home/moomoo/Documents/git/space-station-14/RobustToolbox/Robust.Shared/Utility/DebugTools.cs:line 37
   at Robust.Client.UserInterface.UserInterfaceManager.KeyBindDown(BoundKeyEventArgs args) in /home/moomoo/Documents/git/space-station-14/RobustToolbox/Robust.Client/UserInterface/UserInterfaceManager.Input.cs:line 118
   at Robust.Client.UserInterface.UserInterfaceManager.OnUIKeyBindStateChanged(BoundKeyEventArgs args) in /home/moomoo/Documents/git/space-station-14/RobustToolbox/Robust.Client/UserInterface/UserInterfaceManager.Input.cs:line 453
   at Robust.Client.Input.InputManager.SetBindState(KeyBinding binding, BoundKeyState state, Boolean uiOnly, Boolean isRepeat) in /home/moomoo/Documents/git/space-station-14/RobustToolbox/Robust.Client/Input/InputManager.cs:line 412
   at Robust.Client.Input.InputManager.DownBind(KeyBinding binding, Boolean uiOnly, Boolean isRepeat) in /home/moomoo/Documents/git/space-station-14/RobustToolbox/Robust.Client/Input/InputManager.cs:line 362
   at Robust.Client.Input.InputManager.KeyDown(KeyEventArgs args) in /home/moomoo/Documents/git/space-station-14/RobustToolbox/Robust.Client/Input/InputManager.cs:line 283
   at Robust.Client.GameController.KeyDown(KeyEventArgs keyEvent) in /home/moomoo/Documents/git/space-station-14/RobustToolbox/Robust.Client/GameController/GameController.Input.cs:line 12
   at Robust.Client.Graphics.Clyde.Clyde.DispatchSingleEvent(DEventBase ev) in /home/moomoo/Documents/git/space-station-14/RobustToolbox/Robust.Client/Graphics/Clyde/Clyde.Events.cs:line 47
   at Robust.Client.Graphics.Clyde.Clyde.DispatchEvents() in /home/moomoo/Documents/git/space-station-14/RobustToolbox/Robust.Client/Graphics/Clyde/Clyde.Events.cs:line 31
   at Robust.Client.Graphics.Clyde.Clyde.ProcessInput(FrameEventArgs frameEventArgs) in /home/moomoo/Documents/git/space-station-14/RobustToolbox/Robust.Client/Graphics/Clyde/Clyde.Windowing.cs:line 391
   at Robust.Client.GameController.Input(FrameEventArgs frameEventArgs) in /home/moomoo/Documents/git/space-station-14/RobustToolbox/Robust.Client/GameController/GameController.cs:line 494
   at Robust.Client.GameController.<StartupContinue>b__60_2(Object sender, FrameEventArgs args) in /home/moomoo/Documents/git/space-station-14/RobustToolbox/Robust.Client/GameController/GameController.cs:line 245
   at Robust.Shared.Timing.GameLoop.Run() in /home/moomoo/Documents/git/space-station-14/RobustToolbox/Robust.Shared/Timing/GameLoop.cs:line 187
   at Robust.Client.GameController.ContinueStartupAndLoop(DisplayMode mode) in /home/moomoo/Documents/git/space-station-14/RobustToolbox/Robust.Client/GameController/GameController.Standalone.cs:line 162
   at Robust.Client.GameController.GameThreadMain(DisplayMode mode) in /home/moomoo/Documents/git/space-station-14/RobustToolbox/Robust.Client/GameController/GameController.Standalone.cs:line 147
   at Robust.Client.GameController.<>c__DisplayClass102_0.<Run>b__0() in /home/moomoo/Documents/git/space-station-14/RobustToolbox/Robust.Client/GameController/GameController.Standalone.cs:line 106

I don't know how to get logs in localhost.


Logging - typst-preview process exited with code 101

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior (Library test):

I open a folder in VS Code container my Typst file.
Open a document in the editor.
Select F1 -> Typst Preview from the menu
I get a toast-style popup telling me the process didn't complete. There are no logs I can click to view

Form looking online, I just learned I can find a folder where VS Code keeps extension logs. Turns out to be an iwatchnotify problem. But, it would be easier overall if I can click to see some details if and when the process crashes, in the popup message that appears.
Thanks
Package/Software version:
VSCode version(Help -> About):
Version: 1.81.1
Commit: 6c3e3dba23e8fadc360aed75ce363ba185c49794
Date: 2023-08-09T22:18:39.991Z
Electron: 22.3.18
ElectronBuildId: 22689846
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 6.2.0-27-generic

typst-preview extension version: v0.8.1
Logs:
N/A

I remember clangd and rust analyzer can do that. It provides a link to output when the lsp crashes. We may see how it is implemented

The crash is also visible in the Output pane if you select the logs from typst-preview. Here is mine:
[2023-10-15T10:15:29Z ERROR typst_preview::actor::typst] TypstActor: failed to create filesystem watcher: Too many open files (os error 24)
thread 'main' panicked at 'explicit panic', src/actor/typst.rs:98:17
stack backtrace:
   0: rust_begin_unwind
             at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5
   1: core::panicking::panic_fmt
             at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14
   2: core::panicking::panic
             at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:117:5
   3: typst_preview::actor::typst::TypstActor::new
   4: tokio::runtime::park::CachedParkThread::block_on
   5: tokio::runtime::context::runtime::enter_runtime
   6: tokio::runtime::runtime::Runtime::block_on
   7: typst_preview::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[2023-10-15T17:25:40Z INFO  typst_preview] Arguments: CliArguments {
        font_paths: [],
        root: Some(
            "<project-root>",
        ),
        data_plane_host: "<IP_ADDRESS>:0",
        control_plane_host: "<IP_ADDRESS>:0",
        static_file_host: "<IP_ADDRESS>:0",
        dont_open_in_browser: true,
        enable_partial_rendering: true,
        input: "<project-root>/main.typ",
    }

Oh, in the Output pane. I had never seen that you could use the drop-down there, thank you.
Currently (0.8.2) I get the error message back from the typst CLI, but, not what was calling it:
error: unexpected argument '--data-plane-host' found

Usage: typst [OPTIONS] <COMMAND>

For more information, try '--help'.

Would be good to see the full command being invoked I think.

Usage: typst [OPTIONS]

this is strange. why it calls typst? did you manually changes some config?

I think I glossed over the settings and didn't realise typst-preview is a separate binary. I think having the command that was called as well as the output would still be good though :)


Update misleading page rule docs

Apply will fail if ignore is set as true and any of exclude or include is non-empty. It is not ignored.
It was a pain to debug due to https://github.com/cloudflare/terraform-provider-cloudflare/issues/1579

this change needs to be made to the file in templates directory and then run make docs to generate this file. without it, your changes will be lost on next generation.

ah bummers, i will let you take care of it


A line break is added before a range operator when the line isn't too long

When there's a range operator that is part of a pretty long overall expression (> the line length) but there are already valid line breaks, swift-format still inserts additional unnecessary line breaks before the range operator.
input:
let range =
  veryLongNameForDateStartDate.lowerBound.timeIntervalSince1970..<veryLongNameForDate.upperBound
  .timeIntervalSince1970

Note that the line is 97 characters, and the default line length is 100 characters.
output:
let range =
  veryLongNameForDateStartDate.lowerBound
  .timeIntervalSince1970..<veryLongNameForDate.upperBound
  .timeIntervalSince1970

swift-format adds a line break before the last expression before the range operator (the only safe place before the operator), even though there's already a valid line break that makes the line shorter than the max line length.

Tracked in Apple’s issue tracker as rdar://126948227


episode 4 semantics

Thanks for your awesome videos and source code!
So I'm trying to piece together how websockets work in your episode 4 tuturial.  I notice in the ServeHTTP implementation for wsHandler, there is a line to defer removing the newly added connection.  Presumably this is so the server doesn't leak resources.
What I'm confused about is when (exactly) the deferred statement gets executed in this case.  And does the sync.WaitGroup come into play?
Can you shed some light on that (or point me in the right direction in some docs).  Thanks!

I think perhaps I answered my own question, but I wanted to sanity check it:
sync.WaitGroup (docs here) waits for a collection of goroutines to finish.  In this case, we're waiting for 2 go routines to finish:  The connection's reader and writer.
Both the reader and writer get passed a reference to the WaitGroup (so they can each call wg.Done() when they're done).  After they have both called done, the execution after wg.Wait() continues, the websocket connection is closed, and the hub connection is removed.
Sound right?

Looks like the "barrier pattern" is outlined nicely in episode 10 -- if anybody is interested in learning more about sync.WaitGroup

Hey @danesparza - sorry for the delay here. It seems like you answered your own question though! Hopefully I can add some more clarity:

What I'm confused about is when (exactly) the deferred statement gets executed in this case

It gets executed after the wsConn.Close() line gets executed (if there were multiple defers, they'd get executed in stack order, in case you were wondering).

sync.WaitGroup (docs here) waits for a collection of goroutines to finish. In this case, we're waiting for 2 go routines to finish: The connection's reader and writer.

Exactly!

Both the reader and writer get passed a reference to the WaitGroup (so they can each call wg.Done() when they're done).

Yup, and remember that if you pass a sync.WaitGroup around, it should always be a reference (AKA a pointer).

In this case, we're waiting for 2 go routines to finish: The connection's reader and writer.

Yup, and that's why the code calls wg.Add(2) above. If there were more, we'd change the 2 in that call

After they have both called done, the execution after wg.Wait() continues, the websocket connection is closed, and the hub connection is removed. Sound right?

Yep, that's exactly right. Since it's a websocket connection, the expectation is that the reader and writer will stay open for a while while the two people are talking. If either side leaves, then both the reader and writer will eventually return and the WaitGroup will go to 0 and wg.Wait() will then return.
Again, hopefully that helped a little bit more.


Use the proper endpoints for popular/editor choice

currently we are using the latest updated for all of them

Implemented in #5


ConfigureAwait

Consistent usage of ConfigureAwait(false)
You could also enable FxCop with
https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca2007?view=vs-2019
enabled. Happy to send another PR

Hi again @danielmarbach - I'd be happy to accept a PR to include the .editorconfig updates. Also, this looks great - thank you.

Go ahead with this one, I was planning to do the other things in a dedicated PR if you don't mind

Closed and reopened to trigger build validation.

@all-contributors please add @danielmarbach for code


Could you support 2022.1

Please support latest version ( 2022.1 )  of intelij

@helmus because the plugin uses non public API I prefer to wait until it's released, thanks for you comprehension

Related to #47

@helmus
At the moment Intellij 2021 does not start

Are you saying the plugin is also broken in 2021 ?

2021 is fine on my side, you can try it with the latest release ( v213.1.1) with some improvments.
You can start debug routines or triggers from the Database tree.

@helmus the new version is on the go, will be available within 2 days on the marketplace or directly here
v221.1.1


Updates From Part three

Integrate #16

Coverage remained the same at 99.004% when pulling 1f65ce792048bd65d99202fe45feab9d83a4b1c1 on part-three into b2ea71716102cf7da2fde3b33591d12be907b13d on master.


Data Engine OMAS - Schema Type optimizations

Implements issue https://github.com/odpi/egeria/issues/1826.
SchemaAttributes no longer have SchemaTypes associtated with them, they have the associated TypeEmbeddedAttribute classifications.
LineageMapping relationships are now created between SchemaAttributes instead of SchemaTypes.
The TypeEmbeddedAttribute classifications are added in DataEningeSchemaTypeHandler for now, until the SchemaTypeHandler is updated for the SchemaType optimizations.
SchemaAttribute new properties(minCardinbality, maxCardinality, allowsDuplicateValues, orderedValues) are added as additionalProperties for the TabularColumns ritght now, SchemaTypeHandler will be refactored to add these new properties to a SchemaAttribute.

I assumed that the new classification is mandatory, every schema attribute will have a TypeEmbeddedAttribute classification linked to it.
Each classification will have a dataType property added, with the value being taken from the payload.
Is this the desired behavior?

Each classification will have a dataType property added

In this case it is true each schemaAttribute will attach a new classification.

@popa-raluca the TypeEmbeddedAttribute is not mandatory.  There are complex schema types that can not be represented by the classification.  It is more of a choice - either the classification is used or there is a relationship to the SchemaType.


Error: Syntax error at 'Boolean'; expected ')' at /etc/puppet/modules/ntp/manifests/init.pp:63

Error: Syntax error at 'Boolean'; expected ')' at /etc/puppet/modules/ntp/manifests/init.pp:63
It happens when using puppet 3.x with ntp version 6.x (See https://tickets.puppetlabs.com/browse/MODULES-4125)
It can be fixed with:
# wget https://github.com/puppetlabs/puppetlabs-ntp/archive/4.2.0.tar.gz
# puppet module install --force 4.2.0.tar.gz

But at some point it would be better to be able to choose the puppetlabs-ntp version in function of puppet version.

This was actually an issue with puppet.quirks and it is hopefully fixed with 3c20fc70eda1fe80c65e6b8bca456ca10ae0c61e


handle tiny changes in componentplan

For big version changes,we can create a new component plan.But we don't  have a scenario to handle  tiny changes like override which is also important.

closed as this has been completed.


avatar image keep getting net::ERR_CONNECTION_REFUSED

Laravel Version: 5.4
Voyager Version: 0.11.4
PHP Version:7.1.2
Database Driver & Version: Mysql 5.6

Description:
My avatar image of admin account keep getting net::ERR_CONNECTION_REFUSED even for default.png.
Is there any specific setting need to be done?
Steps To Reproduce:

solved. Just change APP_URL to http://localhost:8000


After updating to version 0.09 can't connect to wallet [BUG]

After updating to version 0.09 can't connect to wallet [BUG]

Please delete ~/.silicoin before you start 0.0.9


refactor: make Nat.digits an irreducible_def

I don't understand what is meant by "the desired definitional unfolding" in this comment (and I'm worried that this PR might somehow destroy whatever that desired property is):
https://github.com/leanprover-community/mathlib4/blob/25c2e96a350d027a9373ce86cfe8156018b9c2f3/Mathlib/Data/Nat/Digits.lean#L51-L56
The comment was part of the original pull request for nat.digits in mathlib3: https://github.com/leanprover-community/mathlib/pull/2686
https://github.com/leanprover-community/mathlib/pull/2686

Closing, because I like #10429 better. See also #10428, which introduces a simp_digits tactic.


Wox.Plugin.Shell- Option to run scripts in either CMD or PS

Currently it's a toggle in the plugin's settings menu. Instead, allow user to run command in either PS or Cmd without haven't to change it in settings every time.

I think there can exists 2 results, one for cmd, the other for PS, rather than set this in settings page.

Yeah am thinking like how it's set up in WebSearch plugin, can use hotkey to trigger them.

Just going to close this as this repo is no longer maintained, feel free to open the issue in Flow if this is still a problem


fix: broken syntax

should fix #3

Thanks.  Last minute typo.
fixes https://github.com/niknah/ComfyUI-F5-TTS/issues/5


Switch from using rprogram to use command_mapper

Combine the Nmap::Task and Nmap::Program classes into one Nmap::Command class.

Done in 9d6bb748d1119b16799cc7f1b0ef237ddc86bff0.


Role to manage solr configset and collection

solr functionality is working now (configset synced, uploaded to zookeeper, and collection created if it doesn't exist)
no molecule tests yet
some cleanup still needed for variables and the like, and hoping we can come up with a better solution for running the deploy user role on the solr server, but thought it would be useful to create a draft pr for input

I'm going to merge this and work on the molecule tests in a separate branch.


refactor: change advisor alert deployment to false

Change default deployment of advisor alerts to false based on internal discussions

@cuanl-cd / @StuartCD - the GitHub app for iOS and Android is fantastic for PRs. Download it if you haven't got it already.
Also good for MFA with push notifications to the app.


Editor crashes for no reason

Godot version
4.0-stable
System information
Windows 10
Issue description
Crashes randomly for no obvious reasons. The most likely when I stop the game
Logs from %appdata%/Godot/app_userdata/<Project> are as useless as that:
Godot Engine v4.0.stable.mono.official.92bee43ad - https://godotengine.org
Vulkan API 1.3.236 - Forward+ - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1060 6GB

200

Steps to reproduce
No clear steps known to me
Minimal reproduction project
I can't send you my project. Tell me where to find more useful logs or how to track the issue down myself

I guess it's not a crash log. 200 is my variable printed into log. Where to find crash log?

Now it crashed when I clicked Stop button. The game was still playing

Where to find crash log?

Launch Godot from the command line.

It's a very unpleasant way to get crash info to be honest
Here is the crash data:
Godot Engine v4.0.stable.mono.official.92bee43ad - https://godotengine.org
ERROR: FATAL: Condition "gchandle.is_released()" is true.
   at: mono_object_disposed_baseref (modules/mono/csharp_script.cpp:1771)
Fatal error. System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
   at Godot.NativeInterop.NativeFuncs.godotsharp_internal_refcounted_disposed(IntPtr, IntPtr, Godot.NativeInterop.godot_bool)
E   at Godot.GodotObject.Dispose(Boolean)
R   at Godot.GodotObject.Finalize()
ROR: System.InvalidOperationException: Handle is not initialized.
   at System.Runtime.InteropServices.GCHandle.FromIntPtr(IntPtr value)
   at Godot.Bridge.CSharpInstanceBridge.SerializeState(IntPtr godotObjectGCHandle, godVulkan API 1.3.236 - Forward+ - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1060 6GB

I'm unsure about C#, but a crash dump usually looks like:
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.beta.custom_build (7a0a3fea94e9fc70736ef93f2a024e023d53d6ed)
Dumping the backtrace. Please include this when reporting the bug on: https://github.com/godotengine/godot/issues
[...]
-- END OF BACKTRACE --

I don't know, it doesn't write anything else except what I posted above

Editor version: v4.0.1.stable.mono.official [cacf49999]
I'm hitting this issue as well pretty frequently (maybe once or twice per hour), with the following stack trace:
Running: C:/Users/UserNameRedacted/Documents/Programs/Godot_v4.0.1-stable_mono_win64/Godot_v4.0.1-stable_mono_win64.exe --path C:/Users/UserNameRedacted/ProjectNameRedacted --remote-debug tcp://<IP_ADDRESS>:6007 --editor-pid 9684 --position 680,75 res://Contexts/Game/Game.tscn
Godot Engine v4.0.1.stable.mono.official.cacf49999 - https://godotengine.org
Vulkan API 1.2.194 - Forward Mobile - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1050

ERROR: AttemCopying Godot Offline Packages...
ERROR: FATAL: Condition "gchandle.is_released()" is true.
   at: mono_object_disposed_baseref (modules/mono/csharp_script.cpp:1770)
Fatal error. System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
   at Godot.NativeInterop.NativeFuncs.godotsharp_internal_refcounted_disposed(IntPtr, IntPtr, Godot.NativeInterop.godot_bool)
   at Godot.GodotObject.Dispose(Boolean)
   at Godot.GodotObject.Finalize()
ERROR: System.InvalidOperationException:

I've also gotten this crash/stack trace while doing things other than running a scene (saving, building, clicking on the "Node" tab, etc.

For more information attach a mixed mode debugger (ie start the project from visual studio and enable native debugging) and possibly use a debug build of the engine.

Is this repo the official place to get such a build? I'd be willing to daily drive it for a little bit to try to get some more info on why these random crashes keep happening.

Is this repo the official place to get such a build? I'd be willing to daily drive it for a little bit to try to get some more info on why these random crashes keep happening.

It's not official, but it's a place to get debug builds from.

Instructions for building from source with .NET, note that on the first build you will get a message box about an error, but you can just ignore that the build will work just fine.
If you can create an MRP / a fairly reliable set of instructions for this crash I can take a look as well.
If you want to try and narrow down you project: From what I can see from the code around the crash, likely relevant are:

Creating objects from C#
Creating objects elsewhere and passing them to C#
Disposing of objects from C#
Loosing all references to an object in C# so that it gets garbage collected
Possibly doing these things multi-threaded
The object in particular that has caused the crash was a RefCounted, eg not a node
Building the project likely helps triggering the crash because with the build every single managed object gets garbage collected and recreated afterwards

Thanks for the help! I haven't been able to encounter the crash in the debug build yet - however, I'm probably going to stop looking into this for now since I'm moving my project back to Godot 3 for the time being (due to 4 not having mobile support for Mono yet). I may kick around and try to narrow down what's needed for an MRP in my free time, but I can't really guarantee that will happen anytime soon. Sorry!

@trudeaua-vividream-software @xahon by chance, were you using TileData objects in your project?

@germanbv No, I wasn't using TileData objects.

I've had the same crash using 4.1.1.mono.stable
I've narrowed the cause down to the following code being used inside an abstract class. When this code is move out of the abstract class I no longer get the error:
    public abstract partial class BasePopup : MarginContainer
    {
        private Tween Tween;

        [Node]
        protected PanelContainer Background;

        [Node]
        protected MarginContainer TweenContainer;

        [Signal]
        public delegate void ClosedEventHandler();

        protected void StartDisplay()
        {
            Tween = GlobalTweenFactory.CreateTween();

            TweenContainer.AddThemeConstantOverride("margin_top", 700);
            TweenContainer.Modulate = new Color(1, 1, 1, 0);

            Tween.SetParallel();
            Tween.TweenProperty(Background, "modulate", new Color(1, 1, 1, 1), 0.50f);
            Tween.TweenProperty(TweenContainer, "modulate", new Color(1, 1, 1, 1), 0.30f);
            Tween.TweenProperty(TweenContainer, "theme_override_constants/margin_top", 0, 0.40f).SetTrans(Tween.TransitionType.Quart);
        }

        protected void StartDestroy()
        {
            GlobalTweenFactory.DisposeProperly(Tween);

            Tween = GlobalTweenFactory.CreateTween();

            Tween.SetParallel();
            Tween.TweenProperty(Background, "modulate", new Color(1, 1, 1, 0), 0.50f);
            Tween.TweenProperty(TweenContainer, "modulate", new Color(1, 1, 1, 0), 0.30f);
            Tween.TweenProperty(TweenContainer, "theme_override_constants/margin_top", 700, 0.40f).SetTrans(Tween.TransitionType.Quart);
            Tween.SetParallel(false);
            Tween.TweenCallback(Callable.From(Destroy));

            GlobalInputManager.SetInputHandler(GlobalCurrentRunManager.CurrentWorld.MainGameInputManager);
            EmitSignal(SignalName.Closed);
        }

        public void Destroy()
        {
            GlobalTweenFactory.DisposeProperly(Tween);
            QueueFree();
        }
    }

This only started to crash once I started using Tween in the abstract class. Moving the above code out of the abstract class into the classes that were inheriting from it caused the crash to go away. Hope this helps!

I used to have similar issues and found the reason to be related to methods being called in C# Constructors.
If I absolutely must perform a method call in a constructor, I always use a deferred call with the below extension method:
    public static async void CallDeferred(this GodotObject node, Action action, int frames = 1) {         for (int i = 0; i < frames; i++)             await node.ToSignal(Engine.GetMainLoop() as SceneTree, SceneTree.SignalName.ProcessFrame);         action.Invoke();     }

I used to have similar issues and found the reason to be related to methods being called in C# Constructors. It was difficult to troubleshoot due to the exception stack not yielding much useful information, even when using visual studio.
If I absolutely must perform a method call in a constructor (cant use entertree or ready), I often use a deferred call with the below extension method. This seems to have fixed my crashes
    public static async void CallDeferred(this GodotObject obj, Action action, int frames = 1) {
        for (int i = 0; i < frames; i++)
            await obj.ToSignal(Engine.GetMainLoop() as SceneTree, SceneTree.SignalName.ProcessFrame);
        action.Invoke();
    }

Thank you! Every time I ran or built my project, I would get 1000s of errors like:
System.InvalidOperationException: Handle is not initialized.
   at System.Runtime.InteropServices.GCHandle.FromIntPtr(IntPtr value)
   at Godot.Bridge.CSharpInstanceBridge.SerializeState(IntPtr godotObjectGCHandle

I could usually ignore them but it was obviously slowing down the editor when it happened. You're right, it's because I had logic in the constructor of a C# [Tool] class. When I moved it to _EnterTree as you suggested, I no longer get the errors.


Add support for STM32WL series Sub-GHz radio (SX1262 based)

Hi, this adds support for the WL SX1262 based radio.
The radio is baked in the SoC, it's internally wired to a dedicated SPI port but the control signals are through the other SoC units (RCC, PWR, EXTI...) rather than using GPIOs.
The proposed implementation uses a new compatible for the ST radio, replaces the control lines GPIOs with ST HAL calls and interrupt, and uses an otherwise unmodified SPI and radio drivers.
The SPI CS logic would normally not belong to the radio driver, but in this case it doesn't matter since the SPI is internally dedicated, and I think it's nice to keep all the SUBGHZ specific modifications in the same file.
For SX126xGetDio1PinState() I could not find a matching implementation, but I suspect that that's used for some interrupt related workaround which I suspect may not matter with the WL interrupt implementation, which seems to retrigger until the irq bits are cleared.
Tested on a Seeed LoRa-E5 against the samples/subsys/lorawan/class_a (hacked to get random DevNonce support) on The Things Network. That setup has a different RF switch port and SoC variation than the nucleo_wl55jc, so it'd be great if someone can test it there (I don't own one).
The other implementation plan I considered was to implement a GPIO compatible driver to implement the WL specific radio signal and interrupt behind the Zephyr GPIO API. That I think would have allowed to run the sx1262 driver unmodified, at the cost of a more complex implementation. Up the the sx1262 driver maintainers to decide whether the extra code path here are acceptable or not.
Let me know what you think.

Since this does not use the SUBGHZ HAL, that needs to be turned off first in the module. Sent https://github.com/zephyrproject-rtos/hal_stm32/pull/102 for it so that has to be merged first.

@fabiobaltieri I'm seeking internal help from ST Lora expert in order to prodive a useful feedback.

@fabiobaltieri I'm seeking internal help from ST Lora expert in order to prodive a useful feedback.

Oh cool, thanks for that! Sorry for messing with the tags, was curious to see if that west trick would work to make buildkite happy... turns out it did. :-)

The other implementation plan I considered was to implement a GPIO compatible driver to implement the WL specific radio signal and interrupt behind the Zephyr GPIO API. That I think would have allowed to run the sx1262 driver unmodified, at the cost of a more complex implementation. Up the the sx1262 driver maintainers to decide whether the extra code path here are acceptable or not.

I'm happy with the current implementation. It'd be better if we can avoid hacking the sx1262 but the other solution of having a dedicated GPIO driver for radio sounds no good to me.

Thanks! A few nits:
* I believe you should add st_subghz_radio also to the BUILD_ASSERT in sx126x.c line 34.

* The gpio device structs for reset, busy and dio1 are not needed for SX126X_STM32WL.
  You could exclude them from the sx126x_data struct.

* I'd avoid `#ifndef SX126X_STM32WL` for SX1261 and SX1262 specific code and instead introduce a flag named `SX126X_GPIO`, `SX126X_SIGNAL_GPIO`, or something like that.
  This would improve the readability a bit and additionally a third implementation could eventually be added easier in the future.

All done, good points, I didn't like those #ifndef either, code looks a fair bit more understandable now.

Updates:

rebased
added the interrupt description (reference to how it's described in the SoC user manual)
added the new node to the build assert
added a define for SX126X_GPIO
used the new define to drop the non used device nodes
reworked all the code path to check for SX126X_GPIO or SX126X_STM32WL
renamed compatible to st,stm32wl-subghz-radio, left the node name and label property unchanged, keep it short, let me know if you think I should change it as well

Pending:

update the commit hash in the manifest change (not merged yet)

The other implementation plan I considered was to implement a GPIO compatible driver to implement the WL specific radio signal and interrupt behind the Zephyr GPIO API. That I think would have allowed to run the sx1262 driver unmodified, at the cost of a more complex implementation. Up the the sx1262 driver maintainers to decide whether the extra code path here are acceptable or not.

I'm happy with the current implementation. It'd be better if we can avoid hacking the sx1262 driver but the other solution of having a dedicated GPIO driver for radio sounds no good to me.

Yeah I share that feeling, it's a bit of a compromise, but then this seems to be the accepted pattern in Zephyr. Guess we can always abstract these details out if we see more custom implementations showing up on the market.

I tend to agree with @mniestroj here. I think it would be better to split the driver into several files and define some variant-specific functions.

From last round of comment: moved the SPI NSS bit into the SPI driver, @erwango @str4t0m you may want to check that separately, kept it all in the second patch (drivers: spi_ll_stm32: add SUBGHZSPI NSS support ).

Alright new round of updates:

SPI:

switched form dt property to different compatible
moved spi_context_cs_control to the same function as the new subghz specific one (felt silly to pair the two calls manually)

sx126x:

added a new patch to refactors the existing functions around in preparation of the one adding the WL specific ones
regrouped the WL ones together, it's now a single block

As I mentioned in the patch comment, subtle change: in this version the irq enable and disable functions are enabled unconditionally. They may be redundant in few cases but I left them for the sake of having less cases.

Renamed the SX126X define and rebased. CI is happy now.

Added DNM, as we wait for https://github.com/zephyrproject-rtos/hal_stm32/pull/102.

zephyrproject-rtos/hal_stm32#102.

Which would need one more approval

zephyrproject-rtos/hal_stm32#102.

Which would need one more approval

Do west modules require 3 approvals? Or is it hal_stm32 specific policy?

zephyrproject-rtos/hal_stm32#102.

Which would need one more approval

Do west modules require 3 approvals? Or is it hal_stm32 specific policy?

I would be able to merge it myself, but then I'd need one more approval.

Cool! Rebased, updated the hash in the manifest and moved the manifest patch ahead of all the others.

Alright, updates:

reworded one outdated commit still mentioning the old NSS logic
renamed the radio dts node
split the driver in two

About the split, I would have normally reshuffled the change in the two existing commits: refactor and add, but since there were few approval already (@erwango @mniestroj) I've figured I'll keep the split on a separate commit and give you a chance to review it separately. If you prefer, I can squash it into the refactor patch, and then keep the "add..." one just for the new file related changes.
So the way I went was to add a sx126x_common.h with few common function declarations, and called those from the original ones. Went the wrapper way so that we don't have to share the dev_data pointer and we can keep it static (which it was not). That gave a chance to also keep some of the logic in the common driver (sleeps etc...).
I also added a patch to isolate the standalone specific gpios to the standalone file, and converted those to the new gpio_dt_spec api, left the existing ones untouched for now.
Tested on a WLE5 but only built tested for the standalone variant (I don't have a board for that).

Well scrape the comment about the extra commit, could not stand the previous commit sequence narrative. Refactored the split in three commits: refactoring the existing code out, convert the gpio api, add wl32 support. Sorry about the extra re-reviewing work. Also moved few functions back to their original place to minimize the delta and built test the intermediate patches. Let me know what you think.

Small update:

rebased
dropped the HAL patch (it's already being updated by another commit)
added the subghz node definition for the newly introduced lora_e5_dev_board board as well, in the module dtsi file

@Mani-Sadhasivam, @andysan Can you have a new look ?

Cool, hey thanks everyone for the reviews and comments!

Cool, hey thanks everyone for the reviews and comments!

Thanks for your patience and going into these multiple iterations!

It looks like this was merged without even cursory testing of the standalone code. The struct sx126x_data instances used in sx126x.c and sx126x_standalone.c are completely separate variables, resulting in hard faults as soon as any transmission completes when the sx126x_standalone.c file tries to queue an uninitialized work item:
https://github.com/zephyrproject-rtos/zephyr/blob/f3435b75efbfd7614ff873f8bfa90a031d6d27e8/drivers/lora/sx126x_standalone.c#L65
https://github.com/zephyrproject-rtos/zephyr/blob/f3435b75efbfd7614ff873f8bfa90a031d6d27e8/drivers/lora/sx126x.c#L42
@Mani-Sadhasivam

It looks like this was merged without even cursory testing of the standalone code.

Yeah unfortunately I don't own every possible piece of hardware supported by Zephyr, but hey I'm working on it. :-)

The struct sx126x_data instances used in sx126x.c and sx126x_standalone.c are completely separate variables, resulting in hard faults as soon as any transmission completes as sx126x_standalone.c tries to queue an uninitialized work item:
https://github.com/zephyrproject-rtos/zephyr/blob/f3435b75efbfd7614ff873f8bfa90a031d6d27e8/drivers/lora/sx126x_standalone.c#L65
https://github.com/zephyrproject-rtos/zephyr/blob/f3435b75efbfd7614ff873f8bfa90a031d6d27e8/drivers/lora/sx126x.c#L42

That is not the problem, the dev_data pointer in standalone is just a local pointer that refers to the main one. The problem is that the gpio callback device is not the LORA device, it's the GPIO one.
Breakpoint 1, sx126x_dio1_irq_callback (dev=0xf2a4 <__device_dts_ord_10>, cb=0x20000604 <dev_data>, pins=8192) at /home/fabiobaltieri/zephyrproject/zephyr/drivers/lora/sx126x_standalone.c:59
59              if (pins & BIT(sx126x_gpio_dio1.pin)) {
(gdb) p dev->data
$1 = (void * const) 0x2000134c <gpio_nrfx_p0_data>

Right thing to do is to get back the structure from cb, sent a PR to do that.

Yeah unfortunately I don't own every possible piece of hardware supported by Zephyr, but hey I'm working on it. :-)

This wasn't a dig at you, the maintainers who approved should have a board between them :)

That is not the problem, the dev_data pointer in standalone is just a local pointer that refers to the main one. The problem is that the gpio callback device is not the LORA device, it's the GPIO one.

True, I always get thrown off by the non-standard way that struct is defined and used...


'Newest first' shows 'recently updated' and not 'newest'

I think we should consider separating between 'newest' and 'recently updated'.
As a user, I expect to find new libraries when I sort by 'newest' and not libraries that were recently updated.
We can change the wording and/or add a new sort type.

There are two ways of handling this:
UX Only: Rename the label from newest to recently updated (simple)
BE: We need to determine if both npm & code artifact expose an original publish date property, that way we can distinguish between recent updates vs package age


cli: add action scaffolding command

Add a popper scaffold command that creates a workflow folder. The structure of the folder can be the following:
./main.workflow
./actions/example/Dockerfile
./actions/example/entrypoint.sh
./actions/example/README.md

The workflow can be a 3-stage one, with one action from the official actions repo, another one using docker:// and the third one using the actions/example/ one.

@ivotron Will the ./main.workflow file look like this ?
workflow "example" {
  on = "push"
  resolves = "some action"
}

action "github official action" {
  uses = "actions/bin/sh@master"
  args = ["ls"]
}

action "docker action" {
  needs = "node install"
  uses = "docker://node:6"
  runs = "yarn test"
}

action "example action" {
  uses = "actions/example"
}

And will the Dockerfile and entrypoint.sh be empty or something template type will be present ?

Will the ./main.workflow file look like this ?

that .workflow would be a good example! We might want to change the docker image, as yarn test might fail. We could for example run the docker action and just print the version of docker.
For the last action (example action), it needs to refer to the local repo by doing ./actions/example. And we also get the current working directory with respect to the root of the project, because locally-defined actions are referenced with the full path w.r.t. the root of the project. For example, if our project is in /home/user/myproject/ and we are defining an action while being inside the /home/user/myproject/pipelines/firstpipe/ folder, then the action needs to be:
action "example action" {
  uses = "./pipelines/firstpipe/actions/example"
}

And will the Dockerfile and entrypoint.sh be empty or something template type will be present ?

We can have something relatively simple. For example a Dockerfile that installs curl and the entrypoint takes as argument a URL to download.


importer: added grafana for point in time restore.

What is changed and how it works?

Issue Number: Close #14573
What's Changed:
Added a grafana row for PITR.

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

No code
(I have imported it into a random cluster, it seems work.)

Release note
Added a metrics about point in time restore.

/merge

/test


FromIterator changes and phantom type annotations.

This fixes the build on rustc 1.0.0-nightly (522d09dfe 2015-02-19) (built 2015-02-20) for me.

:+1: This should be merged at once

Yep, I just restarted the Travis build just to be safe.


utility - angle between two vectors

One of our users expressed an interest in a utility function that calculates the angle between to Vector3Ds. This could be added to the Vector3D object.

It should function on _vec3 not just Vector3D so it include Normal3D. Angle in degrees.


Add required kernel modules for Rancher networking

This is the list of modules based on https://github.com/rancher/rancher/issues/10499#issuecomment-393297923 and my own tests to make Rancher networking work properly.

Nice!
I do wonder how much of this is Rancher-specific and how much is general to Kubernetes at large (perhaps there's a better source of what's necessary for Kubernetes in general that we could glean a more complete list from).  Room for future research/improvement. :+1:
Thanks for the contribution and especially for digging up a useful source and doing testing! :+1: :heart:


Takahirom/use transparent activity/2024 12 10

DO NOT CREATE A PULL REQUEST WITHOUT READING THESE INSTRUCTIONS
Instructions
Thanks for submitting a pull request. To accept your pull request we need you do a few things:
If this is your first pull request

Sign the contributors license agreement

Ensure tests pass and code is formatted correctly

Run local tests on the DemoDebug variant by running ./gradlew testDemoDebug
Fix code formatting: ./gradlew --init-script gradle/init.gradle.kts spotlessApply

Add a description
We need to know what you've done and why you've done it. Include a summary of what your pull request contains, and why you have made these changes. Include links to any relevant issues which it fixes.
Here's an example.
NOW DELETE THIS LINE AND EVERYTHING ABOVE IT
What I have done and why
<add your PR description here>

Sorry I was trying to create a pull request to my fork 🙇


Can you filter based on more options rather than location and subscription?

[Enter feedback here]
It would be useful if you could filter on, say, resource group too in the "filter" properties. Why can't you do this? If you can't do this directly through the "filter" properties, what would you suggest as a suitable work around?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 5d434cfc-714c-3ca6-6806-cb15a6a08bf8
Version Independent ID: e60b36a7-3f6c-dfbb-86fd-11c9d8bbbbf8
Content: ResourceSelector UI element - Azure Managed Applications
Content Source: articles/azure-resource-manager/managed-applications/microsoft-solutions-resourceselector.md
Service: managed-applications
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@danhayes123 Thanks for your comment.
@tfitzmac Can you please provide your insights on this?

#reassign:davidsmatlak

Hello, are there any updates on this? It's been over a year and I haven't heard anything, nor has the ticket been closed.

@danhayes123 Thanks for your feedback. I submitted your comment to the team that manages the user-interface (UI) elements. I also tested the ResourceSelector element and it works as described in the documentation to filter by subscription or location. I found during my tests that from the element's UI, you can search within the list's contents for a resource group name, resource name, or partial name.
I updated the documentation and after the pull request is merged, this issue will automatically close. After the merge, the updated document will be online within 24 hours.


Brazilian Portuguese Translation

Hi there! We've updated a fair amount since you issued this pull request. I'm going to merge it now, but an updated copy would be great! Thanks.


Dino D-Day corrupted output with Intel vendor id

Software information
Game is Dino D-Day, a DirectX9 Source engine game: https://store.steampowered.com/app/70000/Dino_DDay/
The game if launched on my Intel Arc A770 without overriding the vendor ID produces a corrupted output as shown below

By setting d3d9.customVendorId to 10de it works perfectly.
System information

GPU: A770
Driver: 23.1.0-devel (git-7bed7d9 2023-01-20)
Wine version: Proton Experimental
DXVK version:

Apitrace file(s)
The game doesn't seem to launch with the apitrace files in the directory, I can try to capture one on Windows without an Arc GPU if desired.
Log files
With 10de as d3d9.customVendorId:

d3d9.log:
dinodday_d3d9.log

d3d11.log:

dxgi.log:
dinodday_dxgi.log

Hm interesting. I've not been able to reproduce any corruption on my R9 380X by telling I'm on Intel. So the driver might be at least partly involved here.

can you run the game with Vulkan validation enabled and post a log?

DXVK_DEBUG=validation VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation are the relevant env vars, provided you have vulkan validation layers installed on your system.

Trying to get this working, however even with lib32-vulkan-validation-layers installed from the Arch repos the DXVK logs say:
Validation layers not found `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`

Something I found while testing is that the issue doesn't occur if there is an overlay active such as mangohud or even the steam overlay if there is a notification.

Trying to get this working, however even with lib32-vulkan-validation-layers installed from the Arch repos the DXVK logs say:

Yes, this is normal since DXVK cannot know whether the validation layers are actually supported or not from the Windows side. Please just ignore that error.

Trying to get this working, however even with lib32-vulkan-validation-layers installed from the Arch repos the DXVK logs say:

Yes, this is normal since DXVK cannot know whether the validation layers are actually supported or not from the Windows side. Please just ignore that error.
Also, that message not appearing with 7.0 doesn't mean it works, it just means that DXVK is too old for DXVK_DEBUG=validation to actually do anything.

Ah, apologies then.
When I add VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation DXVK_DEBUG=validation PROTON_LOG=1 %command% to the launch options of the game, the game crashes instantly before reaching the main menu or showing the logo where the issue shows visually, with these files created in the game's directory:
dinodday_d3d9.log
dinodday_dxgi.log

err:   Validation Error: [ VUID-VkFramebufferCreateInfo-pAttachments-00877 ] Object 0: handle = 0xe48dfca0, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x60bcc0b7 | vkCreateFramebuffer:  Framebuffer Attachment (0) conflicts with the image's IMAGE_USAGE flags (VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT). The Vulkan spec states: If flags does not include VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT, each element of pAttachments that is used as a color attachment or resolve attachment by renderPass must have been created with a usage value including VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkFramebufferCreateInfo-pAttachments-00877)

This would certainly explain artifacting, but DXVK does not use VkFramebuffer objects anymore so this must come from the Steam overlay.
Can you try disabling the Steam overlay and see if that changes anything? Would be extremely weird if that was in any way influenced by the vendor ID though....

Can you try disabling the Steam overlay and see if that changes anything? Would be extremely weird if that was in any way influenced by the vendor ID though....

Running this with mangohud and Steam overlay disabled
With vendor id override or without it the game still crashes with validation enabled, difference is with the vendor override to 10de and without validation enabled the game runs without any artifacts
With validation enabled and vendor id to 10de:
dinodday_d3d9.log
dinodday_dxgi.log
With validation enabled without vendor id overwritten:
dinodday_d3d9.log
dinodday_dxgi.log
Without validation and without vendor id overwritten:
dinodday_d3d9.log
dinodday_dxgi.log
Without validation and with vendor id overwritten to 10de:
dinodday_d3d9.log
dinodday_dxgi.log

hello
Intel dxvk trace: https://drive.google.com/file/d/1JmnI-rRHs1adfonU9Qze5VDSdgDkZLk4/view?usp=sharing
Intel wined3d trace: https://drive.google.com/file/d/1tfjuCbQeGl_lQe0ePJhQzZnoSiXwebMX/view?usp=sharing
Running this game on my Skylake iGPU doesnt seem to reproduce the issue at all:

I've tested this on my new Intel card and haven't seen a issue either. @Evernow Are you still seeing the issue?

I'll assume this was a driver bug that has been fixed since then. I'll reopen it if someone shows up that can reproduce the bug.


AdobeBlank injection appears to slow page load

The injection of the AdobeBlank font appears to slow my initial page load time down by about 0.5 seconds on average. My understanding from looking at the code and and previous issues is that this font is only used to support the custom-font attribute, which my application doesn't require.
Could there an option be provided in ember-cli-build to disable custom font support and then not inject the AdobeBlank font?

Sure! I'd be welcome to accept a PR for that

@mayatron This is closed by #88 thanks to @jheth ❤


How to stop animated navigation using ?

How can I stop animated navigation using <page-router-outlet>?
It seems to always navigate with animation here https://github.com/NativeScript/nativescript-angular/blob/77b943769949c339fc380fe80f21eec26c92e318/src/nativescript-angular/router/page-router-outlet.ts#L180
Is it possible to stop animated navigation in some way?

I don't think we've added the option for that yet, but we definitely should. Adding it shouldn't be too hard, but I'm not sure if making it work for the "old" (@angular/router-deprecated) router is worth the effort.
Maybe we should just keep this in mind when adding support for the new ng2 router.

Just to add to this, when we do add support for the new router it’d be nice if we supported all the other options that topmost().navigate() provides. I’ve already had the need to clear history and configure transitions in my app.

There is little value in implementing support for this with the current router-deprecated package. We'll add this feature when we integrate the new router.


new version not opening

how to fix?

disable real time protection

I disabled the antivirus fully

Still the icon shows up in the taskbar but doesn't open. Started happening after the latest update


Does not work for non-American keyboard keys.

I'll have to look into how other keyboards produce characters such as é or あ. PyAutoGUI currently uses virtual key codes (the "VK" stuff in the source) to do this, but this needs to be expanded to other characters.

I made scripts using VK write é, ã, ê, etc (in portuguese we use a lot letter like this). I simulated click a sequence, for instance, for é I simulate click 0xdb and after click  0x45. So, when you put teclar('é') (my script function equivalent to typewrite in PyAutoGUI) the functions in fact press 0xdb and after 0x45.
I mapped this kind of letter like this:
'á':[0xDB, 0x41], 'é':[0xDB, 0x45], 'í':[0xDB, 0x49], 'ó':[0xDB, 0x4F], 'ú':[0xDB, 0x55],
'à':['0xDB', 0x41], 'è':['0xDB', 0x45], 'ì':['0xDB', 0x49], 'ò':['0xDB', 0x4F], 'ù':['0xDB', 0x55],
'ã':[0xDE, 0x41], 'õ':[0xDE, 0x4F], 'â':['0xDE', 0x41], 'ê':['0xDE', 0x45], 'ô':['0xDE', 0x4F],
'Á':[0xDB, '0x41'], 'É':[0xDB, '0x45'], 'Í':[0xDB, '0x49'], 'Ó':[0xDB, '0x4F'], 'Ú':[0xDB, '0x55'],
'À':['0xDB', '0x41'], 'È':['0xDB', '0x45'], 'Ì':['0xDB', '0x49'], 'Ò':['0xDB', '0x4F'], 'Ù':['0xDB', '0x55'],
'Ã':[0xDE, '0x41'], 'Õ':[0xDE, '0x4F'], 'Â':['0xDE', '0x41'], 'Ê':['0xDE', '0x45'], 'Ô':['0xDE', '0x4F'],
This works for keyboard ABNT2 (the most common in Brazil).
I used like reference the followed page:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
I'm sorry, but I could't realize how I can implement this in PyAutoGUI code. Maybe some argument defining keyboard in init like:
KEYBOARD = ''
And if you define pyautogui.KEYBOARD = 'ABNT2' it should update the keyboardMapping dictiionary.

Folding this into issue #137


M35911: Ambiguity: Please, explain what "from the box" means

Hello @ericc1103,
Translator has reported possible source content issue.
Link to Github file: https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/Workbooks/TSG/Performance Counter TSG/Performance Counter TSG.workbook
Row where the issue is located: 217
Comment: Translator asks to confirm the meaning of "serviced from the box" here, since they could not find a definition for this expression.
Can you please review the comment and provide answer/explanation? Also, if source fix is needed please provide link to the PR that will include the fix, so we can confirm and close this Issue.
Many thanks in advance.

Other possible reasons include: ...**too many web apps being serviced from the box**...

Replacing this section with:
Other possible reasons include:
1. Frequent jobs or scheduled tasks on the machine,
2. Excessive modules/plugins/extensions,
3. Too many web apps running on the underlying compute resources,
4. Search engine spiders and bots.

It was meant to mean - there may be many other apps running on the same compute instance, possibly slowing down the current app.
Hopefully, this clarifies things.


umi的项目该如何迁移？

What problem does this feature solve?
umi的项目该如何迁移到rswebpack?
What does the proposed API of configuration look like?
umi的项目该如何迁移到rswebpack?

你可以迁移到 Modern.js 框架哈，Modern.js 默认支持 Rspack 构建，并且框架能力也和 Umi 比较类似。
官网：https://modernjs.dev/

I'm going to close this issue, since this does not related to the core feature of Rspack. Feel free to reopen this if you have any further question.


update navigation in navbars in story.html section

Title and Issue number

Title : update the navigation of  navbars in the story.html
Issue No. : #345
Code Stack : navigation html css
Close #345

Video/Screenshots (mandatory)

i have fixed the bug "When navigating from the story.html page back to the index.html page's testimonial section or trip gallery or any other navbars by clicking on the navbar link in the navigation bar, the user is not directed to that section as expected."
Checklist:

[ X] I have mentioned the issue number in my Pull Request.
[X ] I have commented my code, particularly in hard-to-understand areas
[X ] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
Are you contributing under any Open-source programme?
yes i am contributing under GSSOC24 open source program

fixed bugs


Integrated Terminal Renders Text Incorrectly with WSL2 / zsh

Issue Type: Bug

Install WSL2 - Ubuntu.
Set zsh as the shell of choice.
Launch VS Code.
Hit Ctrl + ` to open the integrated terminal.
Expected: The intergrated terminal renders correctly.
Actual: The integrated terminal renders with errors. An errant '%' is printed between every line of input. Additionally, when text should be printed on a new line, it often sporadically overwrites the text on the previous line instead.

My .zshrc is entirely blank when performing these tests.
I have run these tests on two separate Windows computers with identical results in both

This was the result of typing git commit -m This is my in VS Code's integrated terminal:

For reference, Windows Terminal does not show these text printing bugs:

It appears the bug is also present when using bash:

VS Code version: Code 1.55.2 (3c4e3df9e89829dce27b7b5c24508306b151f30d, 2021-04-13T09:35:57.887Z)
OS version: Windows_NT x64 10.0.19042
Remote OS version: Linux x64 4.19.84-microsoft-standard

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz (4 x 3792)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.96GB (4.57GB free)

Process Argv
--folder-uri=vscode-remote://wsl+Ubuntu/home/davidhorstman/.homesick/repos/dotfiles/home --remote=wsl+Ubuntu --crash-reporter-id 545719ed-ac0b-4bdc-9837-2100c4c6bde6

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu

OS
Linux x64 4.19.84-microsoft-standard

CPUs
Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz (4 x 3791)

Memory (System)
12.45GB (7.96GB free)

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

remote-wsl
ms-
0.54.6

docker
vsc
1.0.0

yaml
vsc
1.0.0

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspyt653:30270858
pythonvspyt602cf:30291500
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vstry914:30276682
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
pythonvspyt639:30291489
pythontb:30283811
vspre833:30267464
pythonptprofiler:30281270
vshan820cf:30276953
pythondataviewer:30285071
vscus158:30286553
vscgsv2:30286881

I realize this issue belongs in vscode-remote-release - I re-posted it there as #4925.


Question about cutting gradient

Hello and thanks for your work. I would like to ask regarding the “on-the-fly” linear evaluation that you do after each pre-training epoch. In the tf original implementation, they cut the gradient during linear evaluation training to ensure that labels are not backpropgated to the ResNet-50. In PyTorch, this can be done by detach(). But I see that you only include a seperate optimizer for the linear evaluation and include the parameters of this linear evaluation layer in the optimizer (which means they will be updated only). That makes sense, but have you made sure that this is the case? (Have you made sure that using a seperate optimizer ensures the gradient does not flow to the resnet-50)?

Hi @fawazsammani  thanks for your question. Rest assured, no gradients are backpropagating to the ResNet. The training set that we use for L-BFGS is created within a torch.no_grad() block. See here https://github.com/ae-foster/pytorch-simclr/blob/dc9ac57a35aec5c7d7d5fe6dc070a975f493c1a5/evaluate/lbfgs.py#L7 . If we were backpropagating gradients for all 50000 training examples to the ResNet we would definitely hit an out of memory error!

I see. Sorry, i didn't look at that portion of the code. Many thanks for your reply and your work.

No problem! Thanks for your interest


Add link to support gitter room

There should be a link to https://gitter.im/codingteam/loglist somewhere.

It is in our Readme, nothing else should be done.