Restore flags to include from file and exclude from file

What does this PR change? What problem does it solve?
Added --exclude-file, --iexclude-file, include-file and iinclude-file to the restore command.
Was the change previously discussed in an issue or on the forum?
#4781

Checklist

[x] I have read the contribution guidelines.
[x] I have enabled maintainer edits.
[ ] I have added tests for all code changes.
[ ] I have added documentation for relevant changes (in the manual).
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
[ ] I have run gofmt on the code in all commits.
[ ] All commit messages are formatted in the same style as the other commits in the repo.
[ ] I'm done! This pull request is ready for review.

@MichaelEischer please review this and let me know if I am on the right track.

I'd prefer a different design. runRestore is already too long, so I'd like to extract the include/exclude pattern parsing code. Judging from a quick look at the exclude code used by the backup command (see cmd/restic/exclude.go), it should be possible to directly reuse the code for the exclude options. And it should be possible to adapt that pattern to add new include options. (Feel free to ask if you need more details to understand what I have in mind)

I wanted to propose this too. I will update this draft over the next weekend.

Tests failing is unrelated.


fix(tests): bring back MagicEndpoint connect-close test

Description

This brings back the MagicEndpoint connect-close test and attempts to
make it more reliable.

Most importantly the client sends one message to the server before
the server closes the connection.  This is a crucial bit of
synchronisation for the interaction to be deterministic.

Both client and server run in a task again.  Keeps things a bit more
local.

The endpoints are now created in the spawned tasks, this ensures we
get nice span prefixes on all the logging for each thus
distinguishing the log output.

The run_derp_and_stun function is moved into test_utils.  Maybe it
belongs better there?

The run_derp_and_stun function now returns a drop guard for cleanup.
This ensures that whatever happens to the test, regardless of
assertions, the cleanup will run.  It does mean for a successful
test the test will no longer delay exiting before the cleanup is
finished (was already not the case for the STUN server).  This is
fine though, the servers both bind to <IP_ADDRESS>:0 so do not affect
anything else while they are still shutting down.

The run_derp_and_stun function now disables IPv6 in the returned
DerpMap.  Previously it would trigger a DNS lookup.  But we only
bind on IPv4 so skip this noise.

A couple of minor logging output adjustments.

Part of #1183.
If you're reading this commit message because you're looking the
test added here having just failed.  Let me know!  I'd love to
debug it further.
Notes & open questions

This may not fix it, we can't know until we try.  But if it doesn't it will have good logging to help me further.  Which is why I'm cautiously just submitting this one test and would like to see it on CI for a while.
Change checklist

[x] Self-review.
[ ] Documentation updates if relevant.
[ ] Tests if relevant.

ptal


Add jonyw4 as contribuitor

@all-contributors please add @jonyw4for code and doc

@all-contributors please add @jonyw4 for code and doc

@all-contributors please add @jonyw4 for code and doc

@all-contributors please add @outerlook for code and doc


柱状图叠加问题，当barGap设置为-100%产生叠加效果，如果视图的宽度小的时候会有问题

General Questions

Issue Type

[ ] I have a question to ask about how to use ECharts to ...；我想提问如何使用 ECharts 实现某功能
[x] I have a bug to report；我想要报 bug
[ ] I have a feature to request, e.g.: I'd like a new feature that ...；我需要一个新功能
[ ] I have a feature to enhance, e.g.: The current feature should be improved in the way that ...；我希望改进某个功能
[ ] There's something wrong with the documents；文档有些问题
[ ] Others, or I'm not sure which issue types to choose here；其他，或我不知道应该选什么类型

Issue Details

Expected Behavior

Current Behavior

Online Example

Topics

Anything Else We Need to Know

Environment

ECharts version；ECharts 版本: {DESCRIBE_HERE}

[ ] It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题，请提供相应环境信息：{BROWSER_VERSION_OR_OS_INFORMATION_HERE}

https://gallery.echartsjs.com/editor.html?c=xUk6lbVKBp&v=2
缩小右边的范围区域可看到效果

怎么没解决就关闭了


Use distinc colours for the different tasks lists undet Settings->Calendars

I use ToDo Agenda 3.1.7-560.  In the Settings under Calendar I see my calendars and my several opentasks-Tasklists.  Before each calendar there is a coloured square and befor each task list there is a coloured tick.
When I scroll that window the squared colors do not change, but the colours of the ticks change to the colour of one task list.  The list always shows all tasks of being in tge same colour, but in fact tge different task lists have different colours.

Hi @dilyanpalauzov, I suspect that this is mostly Launcher's compatibility problem.
Q1. What is Android version of your device
Q2. What Launcher app are you using?
Q3. Please try another launcher: Nova Launcher or your device's stock Launcher.

I am using Android 8.1 with whatever Launcher comes with Lineage.  Changing the Launcher does not help.  I am not talking about the colors presented in the widget, these are correct. I am talking about the colors presented in the “Todo Agenda 5” settings window under “Calendars” .

The initial subject is more correct than the changed one.  This happens under the Settings→Calendars window.

Thank you for clarification. Now I understand, where to look :-)


Add global SSH keys for all projects

Hi there,
I have a bunch of GitHub repositories I want Strider to deploy and test. But somehow this does not work as I hoped.
I wanted Strider to use the default SSH-keys that are in my user-folder username/.ssh/ and which work in my commandline perfectly with Git. But somehow strider does not want them. When I provide the SSH-keys directly in the project-settings, strider is able to get the repository. But leaving them blank does not work and Strider outputs the following error:
$ git clone --recursive git@github.com:url.git . -b master

Cloning into '.'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

An unexpected error occurred while executing this job. Please report at https://github.com/Strider-CD/strider/issues

Git clone failed with code 500

Error: Git clone failed with code 500
    at badCode (/Users/admin/strider/node_modules/strider-git/worker.js:88:11)
    at updateCache (/Users/admin/strider/node_modules/strider-git/worker.js:152:31)
    at /Users/admin/strider/node_modules/strider-git/lib/index.js:99:5
    at Function.<anonymous> (/Users/admin/strider/node_modules/strider-git/node_modules/gitane/index.js:161:7)
    at next (/Users/admin/strider/node_modules/step/lib/step.js:51:23)
    at ChildProcess.<anonymous> (/Users/admin/strider/node_modules/strider-git/node_modules/gitane/index.js:151:9)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:735:16)
    at Socket.<anonymous> (child_process.js:948:11)
    at Socket.EventEmitter.emit (events.js:95:17)

Running the same command in the terminal works perfect.
So my question is: Am I making something wrong here? Is this a bug? Do I need to set the keys for each project by hand or is there a way to provide one SSH-key for all projects?
Best

1 for this feature!

+1 for this one too

Global as in to the user or for all users?

all users please

@knownasilya I see this one was not added to v1.7.0

No, a few items that were planned didn't make it due to lack of man power, but it's still planned for as soon as possible.

any plans for this one go to the next release version?


Feture request: card holder as a bauble

Describe the feature you'd like to have added
simple as placing the card holder in a bauble slot and being able to see the holder GUI in nodes without taking an inventory slot. possibly keybinds to open the holder without taking it out or put it in suck mode.
Additional information
No response

I'll investigate how easy this'll be to do.


[Screen Reader: Settings>Keyboard Manager>Remap a shortcut]: Screen reader does not announce any information about the error suggestion appear on the screen.

[[Power Toys Setting-Keyboard Manager-Remap a key]
User Experience:
It will impact the scrren reader users if the error appear on the screen is not announce by the screen reader.
Test Environment:
OS Version: 20221.1000
App Name: Power Toy Preview
App Version: v0.23.0
Screen Reader: Narrator
Repro Steps:

Open Power Toys Settings App. Turn on narrator.
Navigate to Keyboard Manager menu item present in left pane and activate it.
Navigate to Remap a shortcut button present in right pane and activate it.
Remap shortcut window will open.
Navigate to 'Add' button present in window and activate it.
Navigate to 'comb box' and activate it.
Type s and press enter key and verify the issue.

Actual Result:
Screen reader does not announce any information about the error suggestion appear on the screen.
Expected Result:
Screen reader should announce the information about the error suggestion appear on the screen.
Note:
Same issue is repro with NVDA(2020.2)
Same issue repro when user user same key twice to remap
MAS Reference:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={e948edf0-c090-43a6-8713-66c175de7020}
Remap shortcut_Screen reader is not announcing suggestion info.zip

Added in 0.25 release https://github.com/microsoft/PowerToys/releases/tag/v0.25.0


visual line between num and denom in mathlive editor

See screenshot
https://www.evernote.com/l/ABpUo-xyYBtCkKekwPTrRHaRsIX5MdcUWYM

I've seen occasionally, much more recently. For some reason, the line drops out at certain display sizes. This is something that needs to get fixed in mathlive, and likely will take time. I suggest we change a font size so it doesn't happen in the next few weeks.

Neil, do you have suggestions on what to change the font type/size to?

No. Increasing the font size one step in the browser solves the problem for me.
I see the problem on mathlive.io in Chrome but not Firefox. I filed a bug report there:  https://github.com/arnog/mathlive/issues/26

duplicate of issues #59


Added Second Blog

Added my second blog regarding the progress so far for the project "PolyPhy"

Dear @Ayush-Sharma410 -- Please update your fork with the latest version of the website's repository and create a new pull request that only includes your second blog entry and its featured image. This pull request if merged might overwrite recent updates. Therefore I close this one.


Feature request: getting stories from a venue

There should be a way to get all the stories from a tagged location.

I believe to remember that Instagram deleted tagged locations and similar, but I do not know it certainly.

No you can still go to a location and see the stories
search -> Places -> sketch, 9 conduit street -> click on the round circle on the top :

Hi, It's implemented currently. But you can't see :)) Because the response struct is not new ( does not has story items )
Will update it as soon as possible.

Fixed on https://github.com/ahmdrz/goinsta/commit/d1a532f71b121158f50349a30d71ebe410b76138
Example :
	feed, err := insta.GetLocationFeed(304808222867610, "")
	if err != nil {
		fmt.Println(err)
		return
	}
	for _, story := range feed.Story.Items {
		fmt.Println(story.ImageVersions2.Candidates[0].URL)
	}

Regards


Valid bower fields

PR for #26

Could you also update the installation instructions in the readme please?

LGTM. Thanks!


ControlBlock should be primitive

it does not call apply! of its block member.
in gate counting, it's behavior is different from other composite blocks.
RotationGate is primitive, for consistency, control block should also be primitive.

The definition of composition is Block constructed by other blocks. The reason why RotationGate is primitive is because the usually we only use XYZ block and use that as a mark, that's why it's primitive. But it's true, one can also rotate on a parametrized block, so making RotationGate a composite gate is more correct.
On the other hand, if control become primitive, there'll be a large influence on printing, cache and block tree iteration.

we can also use SWAP and CNOT (any Hermitian, Reflexive operator) inside a RotationGate.
when X, Y and Z gate used in controlled block and rotation block, they are not actually applied. In fact, for rotation gate, it is incorrect to call the sub-block as gates, because they are in fact generators.

The definition of composition is Block constructed by other blocks.

constructed by is not accurate. Let's say, apply! of sub-blocks are called, or effectively called.

On the other hand, if control become primitive, there'll be a large influence on printing, cache and block tree iteration.

It should be special

constructed by is not accurate. Let's say, apply! of sub-blocks are called, or effectively called. At least this is physically well defined.

The tiny type system in Yao is based on some basic type theory definition. This is already accurate enough: https://en.wikipedia.org/wiki/Composite_data_type
The reason why there's nothing to do with a specific method is because we don't want to mangle type with methods, type is a separated concept. This is straight forward, well known and easy to understand.

It should be special

I don't see any benefits to make this special. Making anything special will result in inconsistency.

The only two primitive blocks that remains questionable are RotationGate and TimeEvolution, but the reason why they are primitive is also simple:

the block inside RotationGate is just a mark on directions (although arbitrary constant gate can be used inside it, but since constant gates are just marks, this is fine)
the block inside TimeEvolution serve as a Hamiltonian matrix rather than block

and as for apply!, the general control block (note this block is general, which means it should be able to control an arbitrary block) should use its subblock's apply! instead of its matrix when its subblock is too large (we do this in some old version of Yao, I can't remember).

Sorry, I don't get the metaphor of type system. Let's talk about the practical side.

re-writing a large amount of code
I don't think so, like RotationGate, the file is not much longer than ControlBlock.

to only make gate counting easier
The major difference is the subblocks interface, allowing accessing subblocks may have the following trouble.

Gate Counting and Timing a circuit should be handled as special cases.
Make autodiff easier, unlike Rz(theta) in other composite blocks, the gradient of C-Rz(theta) can not be obtained using the formula in this paper. Making Controlled Blocks composite ruined the simplicity of recursive implementation of autodiff.
Avoid confusing in gate filtering. When people are filtering gates, is it expected to filter out an X gate out of a CNOT gate? CNOT is already an elementary gate, from both programming realization (apply! function of subblocks not called) and experimental realization (controlled-U is not composed of U).
Composite Blocks are algorithmic, which should not be related to instruct, control blocks are bind to instruct directly.

Gate Counting and Timing a circuit should be handled as special cases.

I think is straight forward, and remember control gate is has type parameters, you can/should dispatch it according to what's in it.

Make autodiff harder to implement, unlike Rz(theta) in other composite blocks, the gradient of C-Rz(theta) can not be obtained using the formula in this paper. Making Controlled Blocks

similar as above, you can just dispatch based on the type. And this could be why original autodiff is hard to support this and require a refactor against Flux.

Potential confusion in gate filtering. When people are filtering gates, is it expected to filter out an X gate out of a CNOT gate? CNOT is already an elementary gate, from both programming realization (apply! function of subblocks not called) and experimental realization (controlled-U is not composed of U).

If the controlled block is a parameterized block, e.g control(Rx(theta)), filter out a Rx(theta) is expected.

The only composite block that bind to instruct directly?

Again, composite is not about what methods it has.

I would also suggest to make Daggered as a subtype of PrimitiveBlock. It also changes the behavior of apply!.

Daggered will be part of the symbolic computation, or it would be hard to optimize things like the following:
dag(X) * Y * dag(Z) * X * dag(dag(Z) * dag(Y))

The example is not proper, dag is a function that can propagate through composite gates.
Daggered is a type.


Update Protocol messaging.md

to improve clarity by removing "at the very least"
to remove conformance language wording from a note which is now specified in MS-05-02.

Reviewed on the call on the 20th of June 2023.


Upgrade Python 3.8 to 3.10

Python 3.9 was released 2020-10-05 and has been supported by Azure App Service and Azure Functions for a while, so it should be fine to update the samples to all use 3.9.
We could almost update them to 3.10, but we're waiting for that to be out of preview for Azure Functions:
https://learn.microsoft.com/en-us/azure/azure-functions/functions-reference-python?tabs=asgi%2Capplication-level&pivots=python-mode-configuration#python-version
The template-tests job should be kicked off for this to confirm no issues.

Can you see if you can find out when 3.10 will be out of preview?

The CI failed on files I did not change:
Run cspell lint '**/*' --config ./.vscode/cspell.yaml --relative --no-progress
./schemas/v1.0/azure.yaml.json:159:30 - Unknown word (postdeploy)
./schemas/v1.0/azure.yaml.json:16[4](https://github.com/Azure/azure-dev/actions/runs/4057804310/jobs/6983992673#step:5:5):30 - Unknown word (prerestore)
./schemas/v1.0/azure.yaml.json:169:30 - Unknown word (postrestore)
./schemas/v1.0/azure.yaml.json:179:30 - Unknown word (postpackage)
./schemas/v1.0/azure.yaml.json:2[5](https://github.com/Azure/azure-dev/actions/runs/4057804310/jobs/6983992673#step:5:6)3:18 - Unknown word (preprovision)
./schemas/v1.0/azure.yaml.json:258:18 - Unknown word (postprovision)
./schemas/v1.0/azure.yaml.json:2[6](https://github.com/Azure/azure-dev/actions/runs/4057804310/jobs/6983992673#step:5:7)3:18 - Unknown word (preinfracreate)
./schemas/v1.0/azure.yaml.json:268:18 - Unknown word (postinfracreate)
./schemas/v1.0/azure.yaml.json:2[7](https://github.com/Azure/azure-dev/actions/runs/4057804310/jobs/6983992673#step:5:8)3:1[8](https://github.com/Azure/azure-dev/actions/runs/4057804310/jobs/6983992673#step:5:9) - Unknown word (preinfradelete)
./schemas/v1.0/azure.yaml.json:278:18 - Unknown word (postinfradelete)
./schemas/v1.0/azure.yaml.json:283:18 - Unknown word (predown)
./schemas/v1.0/azure.yaml.json:288:18 - Unknown word (postdown)
./schemas/v1.0/azure.yaml.json:2[9](https://github.com/Azure/azure-dev/actions/runs/4057804310/jobs/6983992673#step:5:10)3:18 - Unknown word (preup)
./schemas/v1.0/azure.yaml.json:298:18 - Unknown word (postup)
./schemas/v1.0/azure.yaml.json:308:18 - Unknown word (postdeploy)
./schemas/v1.0/azure.yaml.json:3[13](https://github.com/Azure/azure-dev/actions/runs/4057804310/jobs/6983992673#step:5:14):[18](https://github.com/Azure/azure-dev/actions/runs/4057804310/jobs/6983992673#step:5:19) - Unknown word (prerestore)
./schemas/v1.0/azure.yaml.json:318:18 - Unknown word (postrestore)

The CI failed on files I did not change:
Run cspell lint '**/*' --config ./.vscode/cspell.yaml --relative --no-progress
./schemas/v1.0/azure.yaml.json:159:30 - Unknown word (postdeploy)
./schemas/v1.0/azure.yaml.json:16[4](https://github.com/Azure/azure-dev/actions/runs/4057804310/jobs/6983992673#step:5:5):30 - Unknown word (prerestore)
./schemas/v1.0/azure.yaml.json:169:30 - Unknown word (postrestore)
./schemas/v1.0/azure.yaml.json:179:30 - Unknown word (postpackage)
./schemas/v1.0/azure.yaml.json:2[5](https://github.com/Azure/azure-dev/actions/runs/4057804310/jobs/6983992673#step:5:6)3:18 - Unknown word (preprovision)
./schemas/v1.0/azure.yaml.json:258:18 - Unknown word (postprovision)
./schemas/v1.0/azure.yaml.json:2[6](https://github.com/Azure/azure-dev/actions/runs/4057804310/jobs/6983992673#step:5:7)3:18 - Unknown word (preinfracreate)
./schemas/v1.0/azure.yaml.json:268:18 - Unknown word (postinfracreate)
./schemas/v1.0/azure.yaml.json:2[7](https://github.com/Azure/azure-dev/actions/runs/4057804310/jobs/6983992673#step:5:8)3:1[8](https://github.com/Azure/azure-dev/actions/runs/4057804310/jobs/6983992673#step:5:9) - Unknown word (preinfradelete)
./schemas/v1.0/azure.yaml.json:278:18 - Unknown word (postinfradelete)
./schemas/v1.0/azure.yaml.json:283:18 - Unknown word (predown)
./schemas/v1.0/azure.yaml.json:288:18 - Unknown word (postdown)
./schemas/v1.0/azure.yaml.json:2[9](https://github.com/Azure/azure-dev/actions/runs/4057804310/jobs/6983992673#step:5:10)3:18 - Unknown word (preup)
./schemas/v1.0/azure.yaml.json:298:18 - Unknown word (postup)
./schemas/v1.0/azure.yaml.json:308:18 - Unknown word (postdeploy)
./schemas/v1.0/azure.yaml.json:3[13](https://github.com/Azure/azure-dev/actions/runs/4057804310/jobs/6983992673#step:5:14):[18](https://github.com/Azure/azure-dev/actions/runs/4057804310/jobs/6983992673#step:5:19) - Unknown word (prerestore)
./schemas/v1.0/azure.yaml.json:318:18 - Unknown word (postrestore)

@wbreza can you take a look?

(Sigh accidentally clicked close, re-opened now!)

Yeah, thanks.

@jongio Updated to 3.10 and updated images to be language-specific (across all the languages), per my comment.

/azp run azure-dev - repoman

@jongio ping

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/1463

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/1463

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-aks
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-terraform -b pr/1463

View Changes | Compare Changes

This is currently blocked by: https://github.com/Azure/azure-dev/issues/1237
Deploying with pyhon is falling on CI due to symlink.  Should get unblock after: https://github.com/Azure/azure-dev/pull/1764

/azp run azure-dev - repoman

/azp run azure-dev - repoman

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/1463

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/1463

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-aks
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-terraform -b pr/1463

View Changes | Compare Changes

/azp run azure-dev - repoman

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/1463

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/1463

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-aks
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-terraform -b pr/1463

View Changes | Compare Changes

/azp run azure-dev - repoman

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/1463

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/1463

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-aks
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-terraform -b pr/1463

View Changes | Compare Changes

/azp run azure-dev - repoman

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/1463

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/1463

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-aks
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-terraform -b pr/1463

View Changes | Compare Changes

/azp run azure-dev - repoman

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/1463

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/1463

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-aks
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-nodejs-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-terraform -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/1463

View Changes | Compare Changes

Project: todo-python-mongo-terraform
Remote: azure-samples-staging
Branch: pr/1463
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-terraform -b pr/1463

View Changes | Compare Changes


React does not recognize the containerRef

Steps to reproduce

clone repo
run yarn dev
open developer console, you can see warning:

Warning: React does not recognize the `containerRef` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute,spell it as lowercase `containerref` instead. If you accidentally passed it from a parent component, remove it from the DOM element.

What is expected?
no warning message
What is actually happening?
containerRef prop exists in PerfectScrollbar but not Box
Additional data
NodeJS Version: 16.1
Package manager: yarn  1.22.5
Browser name & version: brave 1.49
System: windows

Hi @megaacheyounes,
Thanks for reporting this issue and creating a pull request for the same.
We will review your pull request and merge it in the next week if all the changes are correct.


Test devops

A little cleanup from the previous PR (#2).
/cc @willsmythe. I spent some time looking through the Lerna docs, and it looks like we still weren't quite up-to-date with v3. Does my updated publish command look okay from what you know?
TODO:

[ ] Doesn't look like we're exiting scripts properly as seen in https://dev.azure.com/ianschmitz/test-cra/_build/results?buildId=29. It continues on with the lerna publish even though git status check fails?

@ianschmitz - your updates to the publish command look correct to me. Git status not being clean was caused by Azure Pipelines not cloning into a directory named create-react-app (which was the last issue fixed in my PR)


Add support for ubi9, ubi9-minimal

Description of the changes
Add support for ubi9, ubi9-minimal

How to test this PR?
To test this PR, set follow similar procedure as followed with Ubuntu and do gsc build and signing commands.

This change is

@jkr0103 and @anjalirai-intel Please review

templates/redhat/ubi-minimal/Dockerfile.build.template line 4 at r4 (raw file):
Previously, dimakuv (Dmitrii Kuvaiskii) wrote…
Note for other reviewers: this is a smart trick for splitting UBI-minimal. Note how - is used as a separator instead of : for UBI. That's because we need to extract the major version, and the distro name for UBI-minimal is redhat/ubi9-minimal:9.4. Whereas for UBI it is redhat/ubi9:9.4.

Thanks, this was the easier solution

Previously, dimakuv (Dmitrii Kuvaiskii) wrote…
The PR looks good to me. Waiting for reviews from others.
TODO for myself: need to test it when all reviews are done.

Thanks

There is an option in gsc where you can just build gramine, and build workload image later, When I tried to build just gramine, it failed with error distro is not supported by GSC

Config.yaml
Distro: "redhat/ubi9:9.4"

Steps to Reproduce
./gsc build-gramine bash_test
Building base-Gramine Docker image bash_test...
redhat/ubi9 distro is not supported by GSC.

The latest commits are addressing that issue. - https://github.com/gramineproject/gsc/pull/207/commits/747a51a71f2955dba74177d8c34b481c9f70c20e

templates/redhat/ubi/Dockerfile.build.template line 5 at r8 (raw file):
Previously, mkow (Michał Kowalczyk) wrote…
https://reviewable.io/reviews/gramineproject/gsc/207#-O21tXbL0TQQJ8fIYQol

Done.
Implemented the regex_match function to validate regular expressions across various templates.


new errorprone's annotation CheckReturnValue for CheckReturnValue

reason is at - https://github.com/google/guava/issues/2629
rule - http://errorprone.info/bugpattern/CheckReturnValue
Guava team want to use errorprone, so it should to use annotations that errorprone understand for both - triggering validation and suppression.
In other case there is conflict with other tools - IntelijIdea inspections.
Or may be you be able to persuade to use guava team jdk standard ways to suppress validation that will help us to file issue on IntelijIdea to respect SuppressWarning annotation. I doubt that IntelijIdea will agree on new dependency to errorprone's annotation.

Update from the Guava bug: IntelliJ will be supporting @CanIgnoreReturnValue: https://youtrack.jetbrains.com/issue/IDEA-158576
(I'm also unsure whether a custom Error Prone annotation named @CheckReturnValue would be ignored by IntelliJ. If we do want to do anything like that, we should see.)


CODEOWNERS: Initial version

This commit adds a rough first version of a CODEOWNERS file to allow us to extend Cilium's review workflow to cilium/cilium-cli.
Not everything is distributed among teams yet, please provide feedback :pray:
Note: I'm a bit reluctant to assign all of connectivity/ to @cilium/ci-structure, but unsure what other team(s) could take it.
@cilium/maintainers @cilium/azure @cilium/ci-structure @cilium/contributing @cilium/cli @cilium/hubble @cilium/vendor See new responsibilities. Please speak up if it doesn't look right.

Note: I'm a bit reluctant to assign all of connectivity/ to @cilium/ci-structure, but unsure what other team(s) could take it.

Ah, I thought I was missing that package in the list. I'd be happy to take it (see #215), this shouldn't fall on janitors. Just took a look at the existing teams, I guess I could join @cilium/policy. This package mainly exercises the policy engine, so it would make sense. @jrajahalme any other suggestions?


Bingel DC + INT white.base

color.palette.white.base should be #ffffff instead of #f8f8f8 in both Bingel DC + INT.

See branch #593


Messages are not showing in iOS

I'm sending two types of firebase messages :

notifications and custom messages.
but I'm seeing that they are both not showing.
Do I have to set some special fields on the data_payload or notification_payload to make them shown in iOS?

I'm testing the plugin and also having the same issue: no problems on Android but I'm not getting any notifications on iOS (once all has been configured in the cordova project and Firebase)

@gvolpe1968 @adrigardi90 do you have issues in showing foreground or background notifications? Data-only messages do not display anything.

@chemerisuk hi  Maksim, I'm not able to see neither foreground nor background .

Data-only messages do not display anything
that means the payload should always have the notification stream and that is what is always shown ?
thx

I'm also having the same issue. Messages show up on Android and not iOS.

Any solutions ?

I went to phonegap push plugin, working both platforms

Possible duplicate of https://github.com/chemerisuk/cordova-plugin-firebase-messaging/issues/95


Rollback dependency from wrong major

Why are you dropping the version of this? Can you explain pls?

<EMAIL_ADDRESS>was unpublished


Upgrade lint tool based on go1.18

Signed-off-by: xuezhaojun<EMAIL_ADDRESS>https://github.com/stolostron/backlog/issues/22707

/assign @skeeey

/close
Should submit this change in update 1.18 PR


Bump the MLJModelInterface [compat] requirement to 0.3

and fix a few last minute issues with measures

Codecov Report

Merging #334 into dev will increase coverage by 48.95%.
The diff coverage is 66.66%.

@@             Coverage Diff             @@
##              dev     #334       +/-   ##
===========================================
+ Coverage   33.38%   82.33%   +48.95%
===========================================
  Files          31       31
  Lines        2462     2214      -248
===========================================
+ Hits          822     1823     +1001
+ Misses       1640      391     -1249

Impacted Files
Coverage Δ

src/MLJBase.jl
100.00% <ø> (+33.33%)
:arrow_up:

src/univariate_finite/methods.jl
88.07% <ø> (+14.35%)
:arrow_up:

src/measures/finite.jl
89.94% <66.66%> (-5.27%)
:arrow_down:

src/univariate_finite/types.jl
90.72% <0.00%> (-2.42%)
:arrow_down:

src/measures/continuous.jl
100.00% <0.00%> (ø)

src/parameter_inspection.jl
0.00% <0.00%> (ø)

src/univariate_finite/arrays.jl
100.00% <0.00%> (ø)

src/measures/confusion_matrix.jl
93.90% <0.00%> (+0.56%)
:arrow_up:

... and 22 more

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 17f4d15...7c50320. Read the comment docs.


add 1.4.3 changelog

as title

LGTM

It passed tests https://drone.gitea.io/go-gitea/gitea/1653 and has 2 LG-TMs :roll_eyes:


How to configure and deploy this project?

Hey! Anyone please help to configure and demo this code?(if possible step by step)
coz  I am new to work with Django and this project can help me to understand and learn something new.
which IDE i need to use ? (generally I am used Spyder IDE for python programm)

Hi,
it is easy as stated in the readme.
Install Vagrant
https://www.vagrantup.com
Install VirtualBox:
https://www.virtualbox.org
Checkout this project.
Open a shell und cd into the vagrant folder
type: vagrant up
wait...
Point your browser at:  http://<IP_ADDRESS>
(or change the settings in the Vagrant file)
You can use any editor to change the python files. The will be changed in the virtual box as well.
For deploying this project, check out the django docu here:
https://docs.djangoproject.com/en/1.7/howto/deployment/


Separate Databases ConnectionString with v7.0

The documentation for Separate Databases still refer to TenantInfo ConnectionString:
optionsBuilder.UseSqlServer(TenantInfo.ConnectionString);
Now that ConnectionString is removed, how should this work?

Hi, you just define your own ITenantInfo that has a connection string property and use that.  Nothing else really needed.


Provide a wider explanation on outlier detection?

I checked the outlier detection part and although it is great I would like to know if it is possible to provide an explanation of what is happening, is this possible?.

Usually I only work on the material as preparation for talks or trainings
and I have too much other stuff to do.
I might update it if I give another training on this. Check the
scikit-learn docs for some more details.
Sent from phone. Please excuse spelling and brevity.
On Mar 8, 2017 14:49, "Alonso"<EMAIL_ADDRESS>wrote:

I checked the outlier detection part and although it is great I would like
to know if it is possible to provide an explanation of what is happening,
is this possible?.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/amueller/advanced_training/issues/1, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAbcFkuwRcWpYIAMNJ0x-6ohPWn5nknnks5rjwY5gaJpZM4MXOf9
.


make the ping queue use a more compact data structure

and reduce some IPv4/IPv6 code duplication.

lgtm


BrowserslistError: Unknown browser query 'dead'

🐛 Bug Report
Site fails to start due to dependency issue
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
npx docusaurus-init && yarn --cwd website start

Expected behavior
Site runs
Actual Behavior
An exception is thrown:
BrowserslistError: Unknown browser query `dead`.

Reproducible Demo
npx docusaurus-init && yarn --cwd website start

@dfadev Did you figure out the issue? Mind providing some insight?

No.  I wasn't able to repro on another machine.  Are you getting the same exception?

Hi, I am having the same exception when running npm start in the website directory.

I am getting the same issue. Anyone have an idea why this is?
BrowserslistError: Unknown browser query 'dead'

Are you getting this issue only with npm start? Does yarn start work? I know that yarn --cwd website start was causing an issue. I am wondering if cd website; yarn start works?

Getting the same error. yarn start and npm start give the same error.

There is a BroswerList object in your package.json in the main part of whatever app your docs live in. I deleted that and got it to work. Try that and see if it works for you.

cc @yangshun @endiliey ^

Is it correct to assume that this bug only occurs if your docusaurus app lives inside another app with another package.json ? 👍

@twhite96 is correct, thank you! -- I am able to repro this on multiple machines by placing the following package.json in my home directory:
{
  "browserslist": [
    ">0.2%",
    "not dead",
    "not ie <= 11",
    "not op_mini all"
  ]
}

Am closing this because according to Browerslist docs, it's the expected behavior to search for a browerslist key in package.json in current and parent directories.
You can resolve this error by adding a browerslist key to website/package.json.


Support SELECT/INSERT/UPDATE/DELETE db operation + span names

Ref #743
From the semconv for db spans:
Database spans MUST follow the overall [guidelines for span names](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.37.0/specification/trace/api.md#span).

The span name SHOULD be {db.query.summary} if a summary is available.

If no summary is available, the span name SHOULD be {db.operation.name} {target} provided that a (low-cardinality) db.operation.name is available (see below for the exact definition of the [{target}](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/database/database-spans.md#target-placeholder) placeholder).

If a (low-cardinality) db.operation.name is not available, database span names SHOULD default to the [{target}](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/database/database-spans.md#target-placeholder).

If neither {db.operation.name} nor {target} are available, span name SHOULD be {db.system}.

Semantic conventions for individual database systems MAY specify different span name format.

The {target} SHOULD describe the entity that the operation is performed against and SHOULD adhere to one of the following values, provided they are accessible:

db.collection.name SHOULD be used for data manipulation operations or operations on a database collection.
db.namespace SHOULD be used for operations on a specific database namespace.
server.address:server.port SHOULD be used for other operations not targeting any specific database(s) or collection(s)
If a corresponding {target} value is not available for a specific operation, the instrumentation SHOULD omit the {target}. For example, for an operation describing SQL query on an anonymous table like SELECT * FROM (SELECT * FROM table) t, span name should be SELECT.

We don't have collection (table), namespace, or server.address readily available (right now), but we can at least parse certain operations. We can also support more over time. So this gets us at least a couple useful span names besides DB (fallback for unsupported operations)
This means we can also set db.operation.name with that same value when it is available.

I agree with the revert to the other sql parsing package. I think we should still be able to support table parsing though based on https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1253#discussion_r1854195790

@MrAlias @RonFed this is ready for another round of review, I reverted back to the other library and we'll just support basic statements + collection when available


⚠ ClamAV has degraded performance

In 0d196f8, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 170 ms

Resolved: ClamAV performance has improved in 49f04a4.


Add support for the  Shipment Invoicing API

Reference :
http://docs.developer.amazonservices.com/en_UK/shipment_invoicing/ShipmentInvoicing_Overview.html

Fixed in https://github.com/bhushankumarl/amazon-mws/pull/136


Object not found

In several methods, like for example "get_flight_details", it says "object not found"'
Expected behavior
I expected that it would give me details about the flight (I did it with a for loop).
System:

OS: [Windows 11]
Python Version [3.12]

Could you show me your code and the query you are doing? Is this error still happening?

I'm closing this issue for now. If you have more information about the problem, please reopen the issue and send it here so I can help you.


daos: negative test case bug fixes

This fixes bugs found in a test case that is currently being
skippin the DAOS CI. There were a couple of regressions that
need fixing. If a daos source string without a container was
passed in dcp was not reporting invalid arguments were passed.
It should not matter if the source/dest pool or cont UUID
are upper or lower case. It was incorrectly reporting that the
DAOS source and destination were the same in that case. The
daos_pwrite/pread calls were not returning -1 on error.
* properly check if a source pool and source cont are passed
* allow passing in upper or lower case UUIDs for src and dst
* return -1 when daos read/write calls fail

Signed-off-by: Danielle Sikich<EMAIL_ADDRESS>

@daltonbohning added a fix for when program was continuing to write to a DAOS container when it was out of space. All datamover/negative.py are passing now with these fixes.


Native code dependencies issue (libmysqlclient.so.1020)

Hi, guys!
I need to launch a lambda function that uses mysqlclient==1.4.2 and SQLAlchemy==1.2.16.
I followed your instructions and got an error:
ImportError: /var/task/libmysqlclient.so.1020: symbol X509_check_ip_asc, version libcrypto.so.10 not defined in file libcrypto.so.10 with link time reference
I tried to use docker images: amazonlinux:1 (as you suggested) and amazonlinux:2<IP_ADDRESS>70812. And I got the same result.
Does anyone know how to solve my problem?

Hey 👋 I'm closing this ticket as it looks like it's heavily outdated, we can of course reopen it if needed 👍


(Feature) [Spending Limits] Transaction List details

This PR closes #691, by:

identifying and displaying tx details for Spending Limit txs

also displays hex data for those txs that don't have decodedData and wraps its content to avoid overflow of text:

Travis automatic deployment:
https://pr1271--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1271--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1271--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1271--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1271--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1271--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1271--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1271--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr1271--safereact.review.gnosisdev.com/app

https://pr1271--safereact.review.gnosisdev.com/app/#/safes/0x9913B9180C20C6b0F21B6480c84422F6ebc4B808/transactions
The user that has the spending limit 0x6E45d69a383CECa3d54688e833Bd0e1388747e6B
If I open a tx "Spending limit" created by sending funds using the user with the spending limit I get a console error and the page crashes

@francovenica, thanks for the catch. Now ETH spending limit txs are properly displayed.

Travis automatic deployment:
https://pr1271--safereact.review.gnosisdev.com/app


Improve the contact us form in the website

I want to improve the contact page by -
1)Aligning the text heading to the centre and making it bigger in size.
2)I want to add a submit button with hover effect.
I want to work on this issue as a participant of GSSOC'21. Please assign it to me.

Hey, I would love to improve to Contact Us form and work on this issue. I will ad

Form validation in Name, email section
reduce the width and make everything to the center
Add some hover effects on Submit Button
Increase the size of the header section and give some styling

Hey I want to add the back button in contact us form to improve the accessibility of the user can you assign it to me .
I am participant of GSSoc' 21

Hello, @jaypatel31 , You are good to go with your idea.

@jaypatel31 You have 2 days left for the PR or else i will assign it to other participant.

@harshgupta20 I will complete it within two days

@harshgupta20 I am willing to do this within 2 days. Please assign it to me.

@harshgupta20 I have opened a pull request #972 with the necessary changes please review it.


Feat: Improve focus/first responder handling in SwiftUI

Why?
To provide a better API for making CurrencyTextField the first responder in SwiftUI.
Context
CurrencyTextField is currently bridged from UIKit to SwiftUI, so iOS 15's focus API doesn't work for it.
The only way to make a CurrencyTextField the first responder programmatically is as indicated by YeungKC on #81:
textFieldConfiguration: { uiTextField in
    DispatchQueue.main.async {
        if !becomeFirstResponderCalled {
            uiTextField.becomeFirstResponder()
        }
        becomeFirstResponderCalled = true
    }
}

which is error prone and ugly.
Changes
This PR adds a new property to CurrencyTextFieldConfiguration called hasFocus, an OptionalBinding to drive an listen to the first responder state of a CurrencyTextField wrapped UITextField.
The usage is as follows:
struct SwiftUIExampleView2: View {
    @State private var hasFocus: Bool? = false // or this initially as true
    @State private var text = ""

    var body: some View {
        CurrencyTextField(
            configuration: .init(
                placeholder: "type here...",
                text: $text,
                hasFocus: $hasFocus,
                formatter: .default,
                textFieldConfiguration: { uiTextField in
                    uiTextField.borderStyle = .roundedRect
                    uiTextField.font = UIFont.preferredFont(forTextStyle: .body)
                },
                onEditingChanged: { isEditing in
                    print("onEditingChanged: \(isEditing)")
                },
                onCommit: {
                    print("onCommit")
                }
            )
        )
        .onAppear {
            hasFocus = true
        }
    }
}

Tests
Tests were updated and CurrencyTextFieldConfigurationTests was extended.
Related issue: #81

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@1d9a6aa). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #85   +/-   ##
=======================================
  Coverage        ?   95.65%
=======================================
  Files           ?       22
  Lines           ?     1104
  Branches        ?        0
=======================================
  Hits            ?     1056
  Misses          ?       48
  Partials        ?        0

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 1d9a6aa...7444dfc. Read the comment docs.


Synchronize screed and khmer read record details

khmer.ReadParser returns read objects that differ from screed-created read objects in silly ways; this should be fixed.

One question - is it OK for a legitimate read to have an empty quality attribute?

Note: ReadParser reads still refer to 'accuracy'

See also #645

Needs to be verified.

ReadParser reads do correctly refer to 'quality' instead of 'accuracy'
Reads from FASTA files still have an 'accuracy' attribute (an empty UTF string).
In [6]: o = khmer.ReadParser('tests/test-data/paired.fa')

In [7]: n = o.next()

In [8]: n.
n.annotations  n.name         n.quality      n.sequence

In [9]: n.quality
Out[9]: u''

Has the opinion on exposing the Read object "fully" changed since #645? Motivation for doing so would be to make it easy to test that screed.Record and khmer.Read look and feel the same.

On Mon, Oct 24, 2016 at 07:02:46AM -0700, Tim Head wrote:

Has the opinion on exposing the Read object "fully" changed since #645? Motivation for doing so would be to make it easy to test that screed.Record and khmer.Read look and feel the same.

Yes, I think it's a good idea for that reason.


OmbuLabs Products Post

@etagwerker @mauro-oto @schmierkov
Please check this article! do you think we need to add an extra tag?
Thanks

@etagwerker I made some changes on this, let me know what you think.
As you said, we can use http://shop.ombulabs.com. Once created, let me know, so I can change it here and in the store. Thanks.

@cecilia-ombulabs Other than that it's much better!

Done! @etagwerker
Are we going to publish this article now?
OCA is still being tested and we are waiting some information about their shipping workflow. We have no shipping methods at the store yet.

@cecilia-ombulabs We can wait until the OCA issue is fixed.

@cecilia-ombulabs Please solve the conflicts in this PR.
Also, is this ready to be merged?

@cecilia-ombulabs could you fix the conflicts in this PR? Thanks!

@mauro-oto @schmierkov can you merge this? It's ready to be published :)

@mauro-oto Done!


The etag from data can never be a string

Q
A

Bug fix?
no

New feature?
no

BC breaks?
maybe?

Deprecations?
no

License
MIT

I don't think this key can ever produce anything other than a string, since it is set by $response->getHeader('ETag') which is always of type string[].
Is this there for historical reasons perhaps? If so, instead of this PR, a comment should be added, similar to to the isset removal comment.

@Nyholm added this with the introduction of e-tag support in 4bf191d7c984d960f9383a9381c6f6cbdb2e011e - not sure if there is something that could mess this up?


Memory leak when losing connection with server

Issue
Our service serves 40-50 requests/sec. When it lost connection with the ES server for 15 minutes, the amount of memory occupied increases to more than 300MB. I have found out where the memory is leaking:
https://github.com/elastic/go-elasticsearch/blob/698f9f3b9fe3cac9c648569e095e5ad8d2c671c3/estransport/estransport.go#L258
When losing connection with the server, err == nil but res.StatusCode == 502 and res.Body contains error message data.
If max tries > 1, I think that res.Body.Close() should be called before the next retry.
How to reproduce this bug

Use Nginx to route all requests from http://<IP_ADDRESS>:9200 to http://<IP_ADDRESS>:9201 that is not available.
Create an es client to send 10.000 search requests to http://<IP_ADDRESS>:9200.
Check memory occupied by the client process.

Hi, sorry for the delay here! So I understand that the error happens when a proxy in the middle returns an 502 error, is that right? If the client is retrying in this situation, res.Body should be closed (and drained) after the following code:
https://github.com/elastic/go-elasticsearch/blob/68f14edba6d35cbf14652c26f89f2e99b5e4cb6c/estransport/estransport.go#L307-L313
Is that right? I'll have a look into a reproduction and a fix.

Thanks for your response!
You have understood exactly the problem that I encountered.

I've fixed the memory leak and merged the patch into master and 7.x branches.
This was a little hard to reproduce for me, since the OS reported a stable value with tools such as ps -axm -o %mem,rss,comm | grep 'go$', and I had to observe the memory growing by using the runtime Go package.
For the record, this is the full test script I've used:
//+build ignore

package main

import (
	"context"
	"fmt"
	"io"
	"io/ioutil"
	"log"
	"math"
	"net/http"
	"os"
	"runtime"
	"strings"
	"time"

	_ "net/http/pprof"

	"github.com/elastic/go-elasticsearch/v8"
	"github.com/elastic/go-elasticsearch/v8/esapi"
	"github.com/elastic/go-elasticsearch/v8/estransport"
)

var (
	_ = fmt.Print
	_ = context.WithTimeout
	_ = math.Exp
	_ = strings.NewReader
	_ = http.DefaultClient
)

func main() {
	log.SetFlags(0)

	go func() { log.Fatalln(http.ListenAndServe("localhost:6060", nil)) }()

	count := 10000

	cfg := elasticsearch.Config{
		Addresses: []string{"http://localhost:8000"},
		Logger:    &estransport.ColorLogger{Output: os.Stdout},
		// RetryBackoff:  func(i int) time.Duration { return time.Duration(0) },
	}

	es, err := elasticsearch.NewClient(cfg)
	if err != nil {
		log.Fatalf("Error creating the client: %s", err)
	}
	log.Println("Client ready with URLs:", es.Transport.(*estransport.Client).URLs())

	for i := 0; i < count; i++ {
		var (
			res *esapi.Response
			err error
		)

		res, err = es.Info()

		if err != nil {
			log.Printf("Error getting response: [%T]: %s", err, err)
		}

		io.Copy(ioutil.Discard, res.Body)
		res.Body.Close()

		if i%10 == 0 {
			printMemUsage()
		}
	}

	log.Println("Waiting...")
	time.Sleep(time.Hour)
}

func printMemUsage() {
	var m runtime.MemStats
	runtime.ReadMemStats(&m)
	fmt.Printf("   m.Sys: %v MB\n", m.Sys/1024/1024)
}

This is the Nginx configuration used:
# docker run --name nginx --volume $PWD/nginx-proxy.conf:/etc/nginx/nginx.conf --publish 8000:8000 --network elasticsearch --rm nginx

user nginx;

worker_processes auto;
worker_rlimit_nofile 10240;
pid nginx.pid;

error_log off;

events {
  worker_connections  10240;
  accept_mutex        off;
  multi_accept        off;
}

http {
	upstream elasticsearch {
    server es1:9200;
  }

  server {
    listen 8000 default_server;

		location / {
      proxy_pass http://elasticsearch;
    }

    location /status {
      stub_status;
    }
  }
}


Simple access logos format implemented, closes #916

@isagalaev please review this.

I have some itching feeling that something should be wrong with it but since it doesn't actually break anything yet, I'm going to merge it anyway. We'll fix it when it breaks :-)


Mod set request -> Krastorio 2 + Space exploration + 248k mod

Have you checked whether this mod or set of mods has already been requested?
Yes
What mod set are you requesting?
Krastorio 2 + Space exploration + 248k mod
**Is this mod set compatible with the latest version of Factorio?"
Yes
What mods are included in this mod set?
nothing more gamechanging

Man, everyone taking about 248k lately.
#737 will make this a lot easier, I should be able to generate these data sets quickly once I make a few minor updates to the calculator.

https://www.youtube.com/watch?v=5W4VA_7VjJg this is why i think. and thanks.

atleast thats why i even want to play it

i forgot about AII industry you need to have that for SE


Routes generation params and redirects

Hi, guys!
I have two issues with routes:

All parameters generated as optional, even with index.vue files
pages:

generated routes:

extendRoutes option lead to empty import
I'm trying to add redirects like:

and generated routes.js looks like:

const _29172c1a = () => import('' /* webpackChunkName: "pages/" */)
...
{
	path: "/icon",
	component: _29172c1a
},
{
	path: "/icon/new-icons",
	component: _29172c1a
}

and when I use 'npm run dev' I got:
This dependency was not found:
*  in ./.nuxt/router.js
To install it, you can run: npm install --save

Using nuxt 0.10.7

Hi @KonstantinVlasov
You cannot create route with redirect, instead, create a middleware for it which check the route.path to call redirect directly.

Thank you!

@Atinux I have a similar problem and I created a middleware but that does not work... Some background:
My site is static and we had a redirect set on the server and since been removed BUT some users might have had /index.html cached due to that redirect being 301. So when someone visits my site they might get: http://mysite.com/index.html This causes an error due to page not being found. Is there a way I can check for that in the url before anything else happens?


Created multiplication and division and modified the display of output

Created functions for multiplication and division as well as modified display of output in all functions to make it more likely presentable
a + b = c instead of a+b=c
multiplication as .... a x b = c.....instead of a*b=c

I've created multiplication and division functions and modified the display of output
#7 Do please check it out

Thank you for your pull request. Your code was not merged because another request had already been made that passed tests. If you submitted your pr for hacktoberfest, I added the hacktoberfest-accepted label to your pr and it should be counted. On a side note, your code contained a few spelling errors and would not run until fixed.

Im extremely  sorry for the spelling errors caused...will try to review it again....and thank you for attaching the label for hactoberfest- accepted


convert to/from ITensors MPS

It would be good to be able to convert between the two. An ITensorMPS.MPS is basically a list of ITensors plus a couple integers (llim, rlim) that localize the orthogonality center, but those should be added automatically when you create one.
The simplest way is probably to convert the tensors of Tenet's MPS into ITensors, and feed the list of ITensors into the ITensorMPS.MPS() constructor. The only thing I don't know how to do in Tenet,as always, is how to map the indices into the tensors.  Here's a (non-working) attempt
 psi_tensors = [rand(2,10), rand(2,10,12), rand(2,12,4), rand(2,4)]
 psi_tenet = MPS(psi_tensors)

itensors = []
# this assumes some ordering of the Tenet tensor indices. one should also treat first and last separately but you get the idea
for (j,t) in enumerate(tensors(psi_tenet))
   it = ITensor(t, Index(dim("physical index of t"),"Site,n=$j"),Index(dim("left link index of t"),"Link,l=$j"),Index(dim("right link index of t"),"Link,l=$(j+1")
push!(itensors, it)
end
psi_itensors = ITensorMPS.MPS(itensors)

the other way around is probably simpler (for me at least), here's one way to do it
psiten = ITensorMPS.random_mps(siteinds(4, 10), linkdims=7)

# bring itensors to (o,l,r) and convert them

# first and last always annoying
first_ten = array(psiten[1], siteinds(psiten)[1], linkinds(psiten)[1])
last_ten = array(psiten[end], siteinds(psiten)[end], linkinds(psiten)[end])

ttensors = Array{}[array(psiten[jj], siteinds(psiten)[jj], linkinds(psiten)[jj-1],linkinds(psiten)[jj]) for jj in eachindex(psiten)[2:end-1]]
pushfirst!(ttensors, first_ten)
push!(ttensors,last_ten)

Tenet.MPS(ttensors)

You can convert from Tenet.MPS to ITensorsMPS.MPS like this:
using Tenet
using ITensors
using Tenet: MPS, tensors
using ITensors: Index, ITensor, dim
using ITensorMPS

psi_tensors = [rand(2,10), rand(2,10,12), rand(2,12,4), rand(2,4)]
psi_tenet = MPS(psi_tensors)

itensors = ITensor[]

for (j,t) in enumerate(tensors(psi_tenet))
    if j == 1 # first tensor
        it = ITensor(parent(t), Index(size(t, 1),"Site,n=$j"),Index(size(t, 2),"Link,l=$j"))
    elseif j == length(tensors(psi_tenet)) # last tensor

        it = ITensor(parent(t), Index(size(t, 1),"Site,n=$j"),Index(size(t, 2),"Link,l=$j"))
    else # bulk tensors
        it = ITensor(parent(t), Index(size(t, 1),"Site,n=$j"),Index(size(t, 2),"Link,l=$j"),Index(size(t, 3),"Link,l=$(j+1)"))
    end

    push!(itensors, it)
end
psi_itensors = ITensorMPS.MPS(itensors)

Do you want to have this as an extension in Tenet? We should also store the ortogonality center information

Conversion from/to ITensors.ITensor and Tenet.Tensor is already implemented. You can just do:
# Tensor -> ITensor
convert(ITensor, tensor)

# ITensor -> Tensor
convert(Tensor, itensor)

What I'm not sure about is whether Index carries some site information. In that case, we lose it and we will need to do sth more for converting ITensorsMPS.MPS to our MPS and the other way around.


ImportError: DLL load failed: The specified module could not be found.

I am getting the following error when trying to import tensorflow. I have tried many solutions and non seem to work.
I have seen Issue #22794, but it does not seem to help.
Versions -- > python 3.7.4 -- > tensorflow 2.3.0

runfile('C:/Users/pshad/.spyder-py3/temp.py', wdir='C:/Users/pshad/.spyder-py3')
Traceback (most recent call last):
File "", line 1, in
runfile('C:/Users/pshad/.spyder-py3/temp.py', wdir='C:/Users/pshad/.spyder-py3')
File "C:\Users\pshad\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
execfile(filename, namespace)
File "C:\Users\pshad\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Users/pshad/.spyder-py3/temp.py", line 9, in
import tensorflow as tf
File "C:\Users\pshad\Anaconda3\lib\site-packages\tensorflow_init_.py", line 41, in
from tensorflow.python.tools import module_util as _module_util
File "C:\Users\pshad\Anaconda3\lib\site-packages\tensorflow\python_init_.py", line 40, in
from tensorflow.python.eager import context
File "C:\Users\pshad\Anaconda3\lib\site-packages\tensorflow\python\eager\context.py", line 35, in
from tensorflow.python import pywrap_tfe
File "C:\Users\pshad\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tfe.py", line 28, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\pshad\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 83, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\pshad\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors

I tried to reinstall the tensorflow, downgrade,  and upgrade as well. Nothing seem to work, unfortunately.

@SRJaffry
What is make/model of your cpu?
I suspect your cpu model does not support AVX instructions sets.See hardware requirements
Make sure to download the latest microsoft visual c++ redistributable from here.
.Also, please follow the instructions from to install from Tensorflow website.
Please, check Your CPU/Python is on 32 bits?Please, refer #36167 and see if it helps you.Please, refer similar issue #36167 #36151 #36138 #36054 #36045 #36020 #36003 #35988 #35903 #35880 #35865 #35805 #35789 #35773 #35772 #35767 #35766 #35749 #35721 #35618 #35204
Thanks!

Thanks, I installed the latest distribution of Visual C++ from the link your shared and the problem seem to solve. Thank you.


Switch/Toggle doesn't update in card component unless scrolled through

💬 Question
Issue: Switch(toogle) component does not update its rendered view (on screen) unless i scroll through the cards/or i press on a card.
Code:
constructor() {
        super();
        this.state = {

            outputimg:null,
            displayedImages:[],
            pageToken:null,
            nrOfPhotosOnScreen:0,
            pageNames:null,
            authorOfThePost:null,
            visible:false,
            checked:false,
            key:0
        }
    }

This for loop is inside a function that is called onComponentDidMount() but there is no problem with anything else except the switch -->
for(var k=0;k<=Object.keys(this.state.pageNames).length-1;k++){
if(firstPage.items[i].path.replace(/images\//g,'').includes(Object.keys(this.state.pageNames)[k]))
{
    let authorOfThePost = Object.values(this.state.pageNames)[k];
    let linkToPage = "https://www.instagram.com/"+authorOfThePost.replace(/@/g,'')+"/";
    let headerPost = (props) => (
        <View {...props}>
            <Text category='h6'>Posted by </Text><Text style={{color:'blue'}} category='h6' onPress={() => Linking.openURL(linkToPage)}>{authorOfThePost}</Text>
        </View>
    )
    let footerPost = (props) => (
        <View {...props} style={[props.style, styles.footerContainer]}>
            <Toggle checked={this.state.checked} key={this.state.key} onChange={this.onCheckedChange}>
            {`Checked: ${this.state.checked}`}
            </Toggle>
        </View>
    )
    let output = <Card style={styles.card} activeOpacity={1}  footer = {footerPost} header={headerPost}>{outputimg}</Card>
    this.setState({
        displayedImages: [...this.state.displayedImages, output],
        key:this.state.key+1
    });
}

onCheckedChange function -->
    onCheckedChange = () => {
        this.setState({checked:!this.state.checked})
  };

The switch button and the card are imported from UI Kitten( Switch Toggle and Card Component)
How the app looks
UI Kitten and Eva version

Package
Version

@eva-design/eva
^2.0.0

@ui-kitten/components
^5.0.0

There are way too many issues with your code, including performance penalties, and stalled state variables.
The latter one is the issue you are experiencing. It is due to you saving components in state variables. Do not do that.
More specifically, in your case, the Toggle component uses this.state.checked, which at the time of setting the component in the state (with the this.setState(...) in your for loop in componentDidMount) still has the old value. Moreover, the component that you set in state, is only set at componentDidMount time, and it is not updated when you call the onCheckedChange method.
This is called "stalled state", which simply means that the most recent state is still not the most updated state.
The reason why it updates when you scroll over it is because something causes a re-render either in the Toggle component or your whole component, which causes it to re-read the this.state.checked variable - but stalled state issues usually cause undefined behaviors.
I will try to give you an example of better code to use, but keep in mind that this code is incomplete since I don't have your full code. You need to add missing code parts in the proper places.
class Post extends React.Component{
	constructor(props) {
		super(props);

		this.state = {
			outputimg: null,
			displayedImages: [],
			pageToken: null,
			nrOfPhotosOnScreen: 0,
			pageNames: null,
			authorOfThePost: null,
			visible: false,
			checked: false,
			key: 0
		}
	}

	componentDidMount = () => {
		// Do not loop through an array with a conditional for finding a single value
		// The Array.find() method works great in this case
		const pageNamesList = Object.keys(this.state.pageNames);
		const pageName = pageNamesList.find((_pageName) => {
			// Not sure where `firstPage` or `i` comes from
			// it did not appear in the code you posted
			// make sure you update it here as you need
			return (firstPage.items[i].path.replace(/images\//g, '').includes(_pageName));
		});

		// If the Array.find() method cannot find a result, returns undefined
		if (postData !== undefined) {
			// Now you have your page name here, evaluate values that you need
			const authorOfThePost = this.state.pageNames[pageName];
			const linkToPage = "https://www.instagram.com/" + authorOfThePost.replace(/@/g, '') + "/";

			const data = { authorOfThePost, linkToPage };

			this.setState({
				displayedImages: [
					...this.state.displayedImages,
					data	// append the newly evaluated data
				]
			});
		}
	}

	onCheckedChange = () => {
		// Try not to use the `!` (not) operator to toggle booleans
		this.setState({
			checked: (this.state.checked === false)
		});
	}

	headerPost = (props) => (
		<View {...props}>
			<Text category='h6'>Posted by </Text><Text style={{color:'blue'}} category='h6' onPress={() => Linking.openURL(linkToPage)}>{authorOfThePost}</Text>
		</View>
	)

	footerPost = (props) => (
		<View {...props} style={[props.style, styles.footerContainer]}>
			<Toggle checked={this.state.checked} key={this.state.key} onChange={this.onCheckedChange}>
				{`Checked: ${this.state.checked}`}
			</Toggle>
		</View>
	);

	render = () => {
		return this.state.displayedImages.map((data) => {
			return <Card
				// Do not save `key`s in state, and do not use `index` or counting as keys
				// Any string value can be a valid `key`, just make sure it's unique
				// The `linkToPage` string should be unique enough
				key={`${data.linkToPage}`}
				style={styles.card}
				activeOpacity={1}
				footer={this.footerPost}
				header={this.headerPost}
			>
				{/* not sure where `outputimg` comes from */}
				{outputimg}
			</Card>;
		});
	}
}

Thank you so much, after an hour of modifying some of the information you provided I made it work!


Suggestion: Change Location It Pops Up

In the module configuration settings, can we get an option to make this timer popup from Topleft, TopRight, Bottomleft, & BottomRight?

Hello! It seems you haven't read the Before Posting an issue as indicated at the top of the Repository Readme (https://github.com/theripper93/Levels/blob/v9/ISSUES.md) The Issue has been closed.
If you are reporting a bug, feel free to follow the steps here (https://theripper93.com/#/faq/issues) and reopen the issue with all the relevant information.


Evaluate feedback from Jamboard

The original Jamboard (which looks updated from the image above) is here: https://jamboard.google.com/d/1cauw9IY5C9ksP-O-rd3xWwX_bl0ZwhgzV6-Sb2wEhcw/viewer?f=0


SCRCPY not working on Huawei

Please fill out one of the templates on: https://github.com/Homebrew/brew/issues/new/choose or we will close it without comment.
Hey guys.  I installed scrcpy on my 2012 Macbook Pro (High Sierra). It works flawlessly with my Moto G7 but I am getting the following results with my Huawei P30 Lite.  (I have debugging and ADB turned on, and I've tried every combination I can think of with debugging and File Transfer options.
Can anyone help please?

Duplicate of #8937


aws lambda - relayer observer

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the new behavior?

This Lambda automates the process of maintaining relayer balances, ensuring they always have sufficient funds to operate

Balance monitoring: Periodically checks the ETH balance of the main relayer account and individual relayers.

Automatic funding: If a relayer's balance falls below a predefined threshold, the Lambda attempts to fund it automatically with a fixed amount of ETH.

Slack notifications: Sends alerts to Slack channel #relayers-observer when:

The main relayer account balance is low and requires replenishment.
An error occurs while attempting to fund a relayer.

Uses AWS Secrets Manager to securely retrieve the private keys necessary for transactions.

Manual replenishment of the main account: avoid automating the withdraw call to the coinbase address to replenish the main relayer account. This decision was taken to prevent the need for an automatic call by the contract owner within the Lambda, thus maintaining greater control over significant fund replenishment operations.

This change is

Can you add AWS CDK Python probably it is the best idea

What is the status of this @eugypalu


One or more issues with SSAO

In the examples/ssao.html it's missing a script tag:

Also missing:
GET http://localhost:7000/Wagner.experimental.js 404 (File not found)
The output is also unexpected:

Yes, that pass (actually passes, since there are several versions) is broken ATM. I have to fix it and push it. Shortly, hopefully!

Cool!
For anyone following along though, I've modified the THREE.js SSAO shader to work with WAGNER, for the time being:
/**
 * @author alteredq / http://alteredqualia.com/
 *
 * Screen-space ambient occlusion shader
 * - ported from
 *   SSAO GLSL shader v1.2
 *   assembled by Martins Upitis (martinsh) (http://devlog-martinsh.blogspot.com)
 *   original technique is made by ArKano22 (http://www.gamedev.net/topic/550699-ssao-no-halo-artifacts/)
 * - modifications
 * - modified to use RGBA packed depth texture (use clear color 1,1,1,1 for depth pass)
 * - refactoring and optimizations
 */

THREE.SSAOShader = {

  uniforms: {

    "tInput":     { type: "t", value: null },
    "tDepth":       { type: "t", value: null },
    "resolution":         { type: "v2", value: new THREE.Vector2( 512, 512 ) },
    "cameraNear":   { type: "f", value: 1 },
    "cameraFar":    { type: "f", value: 100 },
    "onlyAO":       { type: "i", value: 0 },
    "aoClamp":      { type: "f", value: 0.5 },
    "lumInfluence": { type: "f", value: 0.5 },
    "time":         { type: "f", value: 0.0 }

  },

  vertexShader: [

    "varying vec2 vUv;",

    "void main() {",

      "vUv = uv;",

      "gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );",

    "}"

  ].join("\n"),

  fragmentShader: [

    "uniform float cameraNear;",
    "uniform float cameraFar;",

    "uniform bool onlyAO;",      // use only ambient occlusion pass?

    "uniform vec2 resolution;",        // texture width, height
    "uniform float aoClamp;",    // depth clamp - reduces haloing at screen edges

    "uniform float lumInfluence;",  // how much luminance affects occlusion

    "uniform sampler2D tInput;",
    "uniform sampler2D tDepth;",

    "varying vec2 vUv;",

    // "#define PI 3.14159265",
    "#define DL 2.399963229728653",  // PI * ( 3.0 - sqrt( 5.0 ) )
    "#define EULER 2.718281828459045",

    // helpers

    "float width = resolution.x;",   // texture width
    "float height = resolution.y;",  // texture height

    "float cameraFarPlusNear = cameraFar + cameraNear;",
    "float cameraFarMinusNear = cameraFar - cameraNear;",
    "float cameraCoef = 2.0 * cameraNear;",

    // user variables

    "const int samples = 8;",     // ao sample count
    "const float radius = 5.0;",  // ao radius

    "const bool useNoise = false;",      // use noise instead of pattern for sample dithering
    "const float noiseAmount = 0.0003;", // dithering amount

    "const float diffArea = 0.4;",   // self-shadowing reduction
    "const float gDisplace = 0.4;",  // gauss bell center

    // RGBA depth

    "float unpackDepth( const in vec4 rgba_depth ) {",

      "const vec4 bit_shift = vec4( 1.0 / ( 256.0 * 256.0 * 256.0 ), 1.0 / ( 256.0 * 256.0 ), 1.0 / 256.0, 1.0 );",
      "float depth = dot( rgba_depth, bit_shift );",
      "return depth;",

    "}",

    // generating noise / pattern texture for dithering

    "vec2 rand( const vec2 coord ) {",

      "vec2 noise;",

      "if ( useNoise ) {",

        "float nx = dot ( coord, vec2( 12.9898, 78.233 ) );",
        "float ny = dot ( coord, vec2( 12.9898, 78.233 ) * 2.0 );",

        "noise = clamp( fract ( 43758.5453 * sin( vec2( nx, ny ) ) ), 0.0, 1.0 );",

      "} else {",

        "float ff = fract( 1.0 - coord.s * ( width / 2.0 ) );",
        "float gg = fract( coord.t * ( height / 2.0 ) );",

        "noise = vec2( 0.25, 0.75 ) * vec2( ff ) + vec2( 0.75, 0.25 ) * gg;",

      "}",

      "return ( noise * 2.0  - 1.0 ) * noiseAmount;",

    "}",

    "float readDepth( const in vec2 coord ) {",

      // "return ( 2.0 * cameraNear ) / ( cameraFar + cameraNear - unpackDepth( texture2D( tDepth, coord ) ) * ( cameraFar - cameraNear ) );",
      "return cameraCoef / ( cameraFarPlusNear - unpackDepth( texture2D( tDepth, coord ) ) * cameraFarMinusNear );",

    "}",

    "float compareDepths( const in float depth1, const in float depth2, inout int far ) {",

      "float garea = 2.0;",                         // gauss bell width
      "float diff = ( depth1 - depth2 ) * 100.0;",  // depth difference (0-100)

      // reduce left bell width to avoid self-shadowing

      "if ( diff < gDisplace ) {",

        "garea = diffArea;",

      "} else {",

        "far = 1;",

      "}",

      "float dd = diff - gDisplace;",
      "float gauss = pow( EULER, -2.0 * dd * dd / ( garea * garea ) );",
      "return gauss;",

    "}",

    "float calcAO( float depth, float dw, float dh ) {",

      "float dd = radius - depth * radius;",
      "vec2 vv = vec2( dw, dh );",

      "vec2 coord1 = vUv + dd * vv;",
      "vec2 coord2 = vUv - dd * vv;",

      "float temp1 = 0.0;",
      "float temp2 = 0.0;",

      "int far = 0;",
      "temp1 = compareDepths( depth, readDepth( coord1 ), far );",

      // DEPTH EXTRAPOLATION

      "if ( far > 0 ) {",

        "temp2 = compareDepths( readDepth( coord2 ), depth, far );",
        "temp1 += ( 1.0 - temp1 ) * temp2;",

      "}",

      "return temp1;",

    "}",

    "void main() {",

      "vec2 noise = rand( vUv );",
      "float depth = readDepth( vUv );",

      "float tt = clamp( depth, aoClamp, 1.0 );",

      "float w = ( 1.0 / width )  / tt + ( noise.x * ( 1.0 - noise.x ) );",
      "float h = ( 1.0 / height ) / tt + ( noise.y * ( 1.0 - noise.y ) );",

      "float ao = 0.0;",

      "float dz = 1.0 / float( samples );",
      "float z = 1.0 - dz / 2.0;",
      "float l = 0.0;",

      "for ( int i = 0; i <= samples; i ++ ) {",

        "float r = sqrt( 1.0 - z );",

        "float pw = cos( l ) * r;",
        "float ph = sin( l ) * r;",
        "ao += calcAO( depth, pw * w, ph * h );",
        "z = z - dz;",
        "l = l + DL;",

      "}",

      "ao /= float( samples );",
      "ao = 1.0 - ao;",

      "vec3 color = texture2D( tInput, vUv ).rgb;",

      "vec3 lumcoeff = vec3( 0.299, 0.587, 0.114 );",
      "float lum = dot( color.rgb, lumcoeff );",
      "vec3 luminance = vec3( lum );",

      "vec3 final = vec3( color * mix( vec3( ao ), vec3( 1.0 ), luminance * lumInfluence ) );",  // mix( color * ao, white, luminance )

      "if ( onlyAO ) {",

        "final = vec3( mix( vec3( ao ), vec3( 1.0 ), luminance * lumInfluence ) );",  // ambient occlusion only

      "}",

      "gl_FragColor = vec4( final, 1.0 );",

    "}"

  ].join("\n")

};

and then
var ssaoPass = new THREE.SSAOPass( THREE.SSAOShader );
ssaoPass.uniforms[ 'tDepth' ].value = depthTarget;

finally
composer.pass( ssaoPass.material );

Is there a working example of this? You mention you got it working with Wagner, however there is no reference to WAGNER in your code?

@mflux where did you end up generating your depthTarget? Having trouble getting this to apply any change in my project, although it runs fine. Seems like the tDepth uniform isn't getting a proper depth texture, so I'm curious where you're getting it. Using WebGL2?


Scanning in background

Awesome library.
I'm curious as to how you guys recommend scanning when the app is backgrounded. Generally I'm scanning in a service that keeps running even after the app is backgrounded. I know in Android 5.0(?) they added a LOW_POWER_MODE or something to that effect for scanning and wondering if you guys leverage this? Or generally what your thoughts are on the best way to scan using RxAndroidBle while backgrounded. Thanks!

Hello there,
Currently the library does not use scanning methods introduced in API 21. We have an issue created for the feature #16
So as for now it is not recommended to do scanning in the background as prolonged scans using API 18 are sometimes causing the whole Android BLE stack to malfunction. But if you really have to do it - you have no other option than to use it.
Pull requests are always welcome. ;)
Best Regards


Hash-URL is not updated on OSM.org

The configuration hash on OSM.org is not updated anymore. For example, custom image URL or the info "show mapillary" is not added to the URL.
https://www.openstreetmap.org/edit#map=19/52.94899/14.10464
Tested in Chrome + Chrome Canary.

Looking into this:

https://github.com/openstreetmap/iD/issues/6492 about this feature as well
The code that updates the location-hash-part still works
The code that adds the params like source is still there at https://www.openstreetmap.org/assets/edit/id-60c5d3261020229458760d5c4a399f4c1988e5ca0a2a2fd17e923614b70a15f3.js which is included in https://www.openstreetmap.org/edit#map=19/52.47232/13.44548

@tordans do you need those params on the url to share an iD config with someone? I prefer to have a cleaner URL. Maybe a solution would be a share URL function to get the URL with alll the hash params.

@willemarcel yes, the state of the app config should be shareable via URL. I am pretty shure it was before. IMO, longer urls are not unclean - it is how the web works. Hiding the config in a config hash breaks the old system, makes it less hackable and more complex to maintain, IMO.


Updating eslint and ran into some regex errors that appear to not be, but want clarification.

So I updated ESlint and xo, as my npm test said there were some minor security issues. Most of the fixes were straightforward and result in better code like two if statements in a row being turned into one with '&&', and add one being operator++ rather than o = o + 1.
However, there are three lines that are regex replaces. The first two deal with curly quotes in the data from the device (and I'm pretty sure I caught a bug in that the if statement is triggered on the same Curley bracket twice on line 198 and might be why "26" needs a special handler), and the third deals with some sort of garbage text in the event input.
Anyhow, they all three seem to be escaped out of the older version of eslint with a comment of "eslint-disable no-useless-escape".  However, that isn't working in the newer eslint as it is triggered by unicorn/better-regex.
So it looks like these regex lines are intentional, but I can't for the life of me understand why.  If they need to search for the escape, they should be escaping the escape (\). If they don't, they should be simplified.
Please let me know which should be done and I'll update my fork and send a pull request for the whole shebang.

You can also disable the check in this case. See package.json for other checks already disabled for similar reasons.

I'm questioning the need to have the code that violates the check.  The first pair is a regex that deals with right and left curly double quotes. (/\“/g and /\”/g, which don't need to be escaped at all according to the lint). The second is /[[]"]+/g, which is the equivalent to /[[]"]+/g and searches for [,], and ".
If it were browser code, I'd understand that there can be nuances and this might be necessary, but if possible I'd rather see the "correct" Regex and a comment explaining what and why it's doing the replace than code that may or may not work properly in the first place and in the future.

You are welcome to improve the code.  :-)
I did not dare to touch that part of the code nor can I recall who wrote that part.


Oracle JDBC error when connecting Oracle with ServerName mode

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Bug

Bug

Which version of SkyWalking, OS and JRE?
6.6.0
windows 10
java8

What happen?

当jdbc url为全小写时会出现URLParse解析失败的情况。
比如: jdbc:oracle:thin:@(description=(address=(host=x.x.x.x)(protocol=tcp)(port=1521))(load_balance=yes)(failover=on)(connect_data=(service_name=orcl)))

Requirement or improvement

Please describe about your requirements or improvement suggestions.

Oracle plugin doesn't belong to the Apache, It is a 3rf party plugin only.

但是问题是出现在jdbc-commons下

Again English only, if you want to add some parser logic, feel free to submit the pull request.