Add support for IAM MSK auth

This is an updated version of https://github.com/Shopify/sarama/pull/2192 from @sethpollack

@bpaquet as mentioned in the discussion on #2192 — it's a bit tricky to approve and merge this as-is

I wasn't aware that AWS had implemented their own custom SASL mechanism for this, rather than adopting one of the existing standards. Whilst I can understand that people using AWS would like this support, ideally we wouldn't want to a) introduce a direct dependency on aws-sdk-go-v2 for everyone or b) have service-specific configuration parameters etc. — this is also quite hard for us to regression test without provisioning a live service
I notice that other kafka clients had this support added using a pluggable "opt-in" sasl provider architecture. I wonder how much work it would be to achieve a similar result with Sarama? i.e., keeping the dependencies and configuration in a separate module path that people can opt-in to using by pulling it in as a dependency

The suggestion on the other PR was to look at making SCRAMClientGeneratorFunc flexible enough that the IAM MSK auth could be a pluggable addition for users that need it in their applications

Thx for the feedback :)
I do not want to use the franz-go library, which does not handle all authent scheme. I will have a look on the opt-in solution.

Hi everyone, IMHO, we could simply remove this validation:
https://github.com/Shopify/sarama/blob/9127f1c432c08b9a766fdb0931bfd0da80dddde0/config.go#L675-L678
to allow users to use any custom SASL mechanism. This way, users can implement their own AWS_MSK_IAM authentication mechanism or use one from another library. Sarama could also provide an example like the way we provided for XDG SCRAM.

I think the nuance for AWS_MSK_IAM is that SCRAMClientGeneratorFunc doesn't currently pass along the broker address as a parameter and it seems that AWS expect the specific broker host address (minus the port) to be used for the HTTP auth request and to also be included in the json payload
It would probably be simplest to assume that current usage of SCRAMClientGeneratorFunc is low enough that just bumping the version to /v2 and adding the param (breaking compile compat) would be OK. Otherwise we'd have to add a new config name and deprecate the old one if we wanted to stay v1

longit644

Hi, everyone, I'm trying to create a client using this code and I'm getting the following error:
[sarama] 2023/04/19 10:47:27 client/metadata fetching metadata for all topics from broker b-1.mycluster.kafka.us-east-1.amazonaws.com:9098
[sarama] 2023/04/19 10:47:27 Error while performing SASL handshake b-1.mycluster.kafka.us-east-1.amazonaws.com:9098
[sarama] 2023/04/19 10:47:27 Closed connection to broker b-1.mycluster.kafka.us-east-1.amazonaws.com:9098
[sarama] 2023/04/19 10:47:27 client/metadata got error from broker -1 while fetching metadata: unexpected EOF

My code looks like this: client, err := sarama.NewClient(strings.Split(kafkaConfig.ConnectionString, ","), config) while in the config I set these parameters:
conf.Net.SASL.Enable = true
conf.Net.SASL.Mechanism = IAMMechanism
conf.Net.SASL.AWSMSKIAM = AWSMSKIAMConfig{Region: "us-east-1"}

Do you have any suggestions on how to solve this?

You can find a working version here: https://github.com/birdayz/kaf/compare/master...bpaquet:kaf:msk_iam_2. Are you sure your AWS creds are properly set? What is the result of aws sts get-caller-identity?

Hi, is there any update on this,
Is it going to be merged, and is IAM authentication  possible with this kafka client ?

The current plan on my side is to finish and merge this PR
https://github.com/Shopify/sarama/pull/2466, which will allow to provide an
external mechanism for MSK https://github.com/bpaquet/awsIamMskForSarama
On Tue, Jun 27, 2023 at 1:57 PM Bojan Milinkovic @.***>
wrote:

Hi, is there any update on this,
Is it going to be merged, and is IAM authentication possible with this
kafka client ?
—
Reply to this email directly, view it on GitHub
https://github.com/Shopify/sarama/pull/2465#issuecomment-1609353460, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACSJXPCWIZ4WR5HZLKQ6X3XNLDCNANCNFSM6AAAAAAXBXWGUU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Can anyone give an ETA? Very interested.


Cannot import as a Helm repo

Your effort here is much appreciated. I've been running everything in Docker under Ubuntu 16.04 this year thanks to plexguide.com but would rather run it in IBM Cloud Private (ICP). The bananaspliff repo goes a long way towards enabling the supporting tools and can be directly registered as a Helm repo in ICP. Yours adds PMS to the mix, but for some reason, ICP doesn't register your repo as a Helm repo.
Any chance you can look at BananaSpliff's repo to see if there's something there that's missing from yours? I'd love to be able to deploy PleX and associated tools with Bluemix and compatible services like ICP, and adding your repo to ICP would be a great step towards that. Can't do that until I can get ICP to register your site as a Helm repo.
Thanks!

#38, once implemented, should resolve this issue.


Decimal support for sqlite

Environment
Knex version: 0.15.2
sqlite3: 4.0.1
OS: MacOS 10.13.5
Feature discussion / request

Explain what is your use case
We need support for sqlite's decimal column

Explain what kind of feature would support this
Is it necessary to map decimal or double to float?
@ knex/lib/dialects/sqlite3/schema/columncompiler.js

https://www.sqlite.org/datatype3.html
What is sqlite's decimal column type? I can see only float and integer number types there.

@kornel-kedzierski knex support decimal however it maps to float internally. https://github.com/tgriesser/knex/blob/master/src/dialects/sqlite3/schema/columncompiler.js#L16-L17

Closing until someone shows that sqlite3 has a decimal type.


Undefined seenNodes

What happened: I receive a message Failed at Cannot read property 'seenNodes' of undefined by submitting a blueprint to build a diagram
What you expected to happen: Receive a more descriptive message of the problem encountered.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?: It probably was related to a missing lane.
Environment:

version: 1.0.2

Welcome to FlowBuild. Thanks a lot for reporting your first issue.
Keep in mind there are also other channels you can use to interact with FlowBuild community.


Add posargs for tweaking pytest

This allows for passing flags to pytest, for example to make it quieter:
tox -- --no-print-logs --capture=fd

Coverage decreased (-0.4%) to 76.984% when pulling 37acda42f5efb517d3eb5edc4a1e66fa7a18c7af on maxnordlund:add-posargs-to-tox into c07a906ed52f131bcdda67d84e493390c614b3ae on klen:develop.

@maxnordlund Thank you for the PR.


cant find new issues to grab

working thru the list, with someone else, i can't  find new issues to grab since "i would like to work on this" does not assign a label to  the issue
how can we help people find unstarted issues?

Several ways:

Filter the issue list using this filter: https://github.com/bhermann/DoR/issues?q=is%3Aopen+is%3Aissue+label%3A"1.+data+collection"+no%3Aassignee
See them in the first column here: https://github.com/bhermann/DoR/projects/2

Also... open issues to review: https://github.com/bhermann/DoR/issues?q=is%3Aopen+is%3Aissue+no%3Aassignee+label%3A"2.+check+work+package"

Are my comments solving this issue?


Fix dataset reload

The current import button reloads the page when an import is correctly called. This should be modified to a broadcast methodology. We should also use promises to update page when data import is finished.

what is a broadcast methodology?

Don't worry about it. It's a way to refresh content without reloading the page.

The flash message about confirming an import has started is gone :-(


Fix index based lhs expressions

Purpose
Fix index based expressions in lhs
Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks
Need to fix http client side on top of this
Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #15583 into master will decrease coverage by 0.05%.
The diff coverage is 50%.

@@             Coverage Diff              @@
##             master   #15583      +/-   ##
============================================
- Coverage      12.3%   12.25%   -0.06%
  Complexity     1579     1579
============================================
  Files           934      940       +6
  Lines         36205    36340     +135
  Branches       5244     5259      +15
============================================
- Hits           4456     4453       -3
- Misses        31264    31402     +138
  Partials        485      485

Impacted Files
Coverage Δ
Complexity Δ

...llerinalang/net/http/serviceendpoint/Register.java
24.13% <50%> (ø)
1 <0> (ø)
:arrow_down:

...main/java/org/ballerinalang/net/http/HttpUtil.java
31.62% <0%> (-0.29%)
79% <0%> (ø)

...ain/java/org/ballerinalang/net/http/BHttpUtil.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...erinalang/net/http/actions/httpclient/Execute.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...nalang/net/http/nativeimpl/connection/Respond.java
20.51% <0%> (ø)
3% <0%> (ø)
:arrow_down:

...erinalang/net/http/actions/httpclient/Forward.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...g/observe/metrics/extension/defaultimpl/Clock.java
0% <0%> (ø)
0% <0%> (?)

.../metrics/extension/defaultimpl/DefaultCounter.java
0% <0%> (ø)
0% <0%> (?)

...etrics/extension/defaultimpl/RollingHistogram.java
0% <0%> (ø)
0% <0%> (?)

...rics/extension/defaultimpl/DefaultPolledGauge.java
0% <0%> (ø)
0% <0%> (?)

... and 2 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 e9b720a...05c2a0c. Read the comment docs.


compatible low-level jdk

In RemoveFilesFromZipTask.updateHeaders， Math.negateExact  is jdk version 1.8, it is recommended to rewrite it, so that it can support low-level android calls

I am not an android expert, but there are tests to make sure that zip4j is compatible with Android. These tests run on different versions of Android SDK from 23 to 29, and the test are passing there. Do you mean this method in missing in a SDK version lower than 23?

yes！The SDK below version 23, removeFiles will crash, because the SDK below version 24 uses java jdk1.6, SDK 24 ~ 26 uses java jdk 1.7, SDK 26 above uses java jdk 1.8 ...

This is a minor change, and the method call can be implemented directly in zip4j to avoid calling jdk's method, but I hope that there are no more such methods, it will be difficult to change all method calls if there are any more. I will make this change and include it in the next release.

Fix included in v2.6.1 released today.


Upgrade to Docsy 0.5.1

We'll be building upon the successful integration of: #48721
This is a step of #44002
Partly contributes to #41171
Upgrade to 0.5.1 from 0.3.0, because 0.5.1 is the first official version that supports use of Docsy via an NPM module.

Issues found and to be resolved in scope of this work:

[ ] #32905
[ ] #48806
[ ] #48808
[ ] #48811. Actually, all v3-v5 IDs should be updated to use the v6 icon's canonical name
[ ] #48813

Note that @sftim did some preliminary exploration:

#48722
#48723
Etc

Resources:

Changelog#v0.5.1
https://github.com/google/docsy/compare/v0.3.0...v0.5.1

/assign
/cc @nate-double-u

/area web-development
/triage accepted


feat: improve operator CSV documentation and metadata

The changes made here aligns with the 0.0.21 bundle submitted to community catalog - https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/2712

I have converted this to draft to avoid multiple reviews of this PR.
Lets wait for  https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/2712 to merge first. Please feel free to comment on that PR 🙏 .


OnVideoErrorData Typed Incorrectly in 6.0.0-alpha.9

Bug
The type definition of OnVideoErrorData doesn't match the shape of the error returned in Android. I haven't compared it against iOS.
The Android data is generated here:
https://github.com/react-native-video/react-native-video/blob/master/android/src/main/java/com/brentvatne/common/react/VideoEventEmitter.java#L370
The type is defined here:
https://github.com/react-native-video/react-native-video/blob/master/src/types/events.ts#L120
Platform

Android

Environment info
Library version: 6.0.0-alpha.9
Device: Android Pixel 4 (emulator)
Steps To Reproduce

Do something that generates an error in Android. For us, this happens at the end of a video playing in an emulator when it resets to the start.

Expected behaviour

The error shape matches the shape of the OnVideoErrorData.

Actual Error Shape
Here's the actual shape of the error object when there is an error in Android:
{
  "error": {
    "errorStackTrace": "...",
    "errorCode": "24003",
    "errorException": "...",
    "errorString": "..."
  }
}

The issue is that errorStackTrace, errorCode, errorException, and errorString are nested inside of a containing error object, whereas the type definition defines it at the top level:
export type OnVideoErrorData = Readonly<{
  errorString: string;
  errorException: string;
  errorStackTrace: string;
  errorCode: string;
  error: string;
}>;

The error: string also appears to be incorrect in this case for Android.

Thank you for the report @brianlenz
I provided a fix for this issue, let me know if it looks good for you.

@freeboub yep, #3349 should fix the issue! Thanks 🙏

Merged, will be available in alpha.11 (or beta.1 🤞)

Any solution?
I am getting the same error. I am using react-native-video version: "6.4.3"
Thanks in advance.


Grammar issue in Great Exceptions section of website home page

This is a request to improve the home page at https://jestjs.io/.
Note the text:

Tests fail, when they do Jest provides rich context why, here’s some examples:

from https://github.com/facebook/jest/blob/master/website/pages/en/index.js#L423

I suggest this be changed to something like:

Tests fail—when they do, Jest provides rich context why. Here are some examples:

Or the same thing, but with a period instead of the em dash.

Sounds good, wanna send a PR? :)


Reopening with a clarification request:  Please add that curl to <IP_ADDRESS> does not work with MK, instead you have to curl to the first IP address shown after issuing the minikube service ... command, so in this example:

          Reopening with a clarification request:  Please add that curl to <IP_ADDRESS> does not work with MK, instead you have to curl to the first IP address shown after issuing the minikube service ... command, so in this example:

$ kubectl get service -n ingress
NAME                          TYPE       CLUSTER-IP      EXTERNAL-IP   PORT(S)                      AGE
nginx-ingress-nginx-ingress   NodePort   <IP_ADDRESS>           80:31859/TCP,443:30898/TCP   14m
$ curl -H "Host: api.sentence.com" http://<IP_ADDRESS>:31859/api/sentence
curl: (7) Failed to connect to <IP_ADDRESS> port 31859 after 0 ms: Connection refused
$ minikube service nginx-ingress-nginx-ingress --url -n ingress
http://<IP_ADDRESS>:31859
http://<IP_ADDRESS>:30898
$ curl -H "Host: api.sentence.com" http://<IP_ADDRESS>:31859/api/sentence
{"sentence": {"adjectives": "kind", "animals": "mouse", "colors": "green", "locatio...}
Originally posted by @bwolmarans in https://github.com/f5devcentral/sentence-demo-app/issues/1#issuecomment-1387381799

Done :)


Privacy Concern: Zap wallet accessing 3rd party servers

Zap is doing those calls:

And the wallet is NOT working when fulmo.org is disabled.
Why is the wallet doing that?
I am little bit worried, that wallet connected to my LN node is doing something like that.
I would expect that the only communication will be the communication with my node.

Hi,
Thanks for your issue.
I can explain the blockchain.info call. This is to fetch current exchange rates.
But the fulmo thing, i have no Idea where that comes from.
I do not even know what fulmo.org is, so I definetly did not add a call like that on purpose.
And I don't think this is in any dependency either.
What node Setup do you have? A raspiblitz? When I go to fulmo.org there seems to be stuff of RaspiBlitz mentioned.
Can you test to use another app like Zues and see if this also needs fulmo to work? If yes, then it is not a Zap issue.

What software did you use that shows this?
I would like to try if I can reproduce this on my device.

Actually after googling I think this has something to do with Tor.
tondro01.fulmo.org seems to be a tor node.
Do you use tor to connect to your node?
If yes it would also make sense, why it doesn't work if you block it. You cannot block the Tor node you are connected to and expect it to work.
Please try to connect to another tor node and see if the address Zap tries to connect to changes.
If yes, there is nothing to worry about.

Yes, I am running Raspiblitz and my node is behind Tor, but to make Zap work I had to use IP2TOR.
I had only IP, so I didn't know the domain is it. Sorry for confusion. I should have double checked it before.

I can explain the blockchain.info call. This is to fetch current exchange rates.

Thank you for clearing it. I would suggest do disable this by default. I have seen in settings that I can choose what source I will app use. Maybe this can be asked by app on the first startup.

No problem,
better safe than sorry.
The blockchain.info call only queries the current exchange rate, it of course does not send any information about your balances or any other personal data with the exception of the ip.
If you want to disable this, you can select a bitcoin unit as second currency instead of a fiat currency. In this case no further exchange rate request will be sent.


Fix i18n NS ref in shared + publish new version

Remove explicit reference to plugin__odf-console under shared.
This gets reflected on the library consumer side, creating a new plugin__odf-console.json file.

/override ci/prow/odf-console-e2e-aws


Migrate from Ripper to syntax_tree

Had a talk here at Ruby Kaigi with a Ruby committer and they said Ripper is semi-deprecated and that syntax_tree is a better option so I'd like to use it.
Since this gem is still in the early stages of development it shouldn't be that hard to implement, so I plan to prioritize this overall #10.

Also considering the referral gem.

Actually, now that I'm looking over syntax_tree, I feel like it would take more work than just using Ripper. It's a great interface, but I don't think it'll currently be able to handle what I'm looking for.
syntax_tree CLI
At first I thought it would be great because using the > stree expr file_name.rb returns an easy-to-look at AST like this:
10.times do |n|
  puts n
end

> stree expr file_name.rb
SyntaxTree::MethodAddBlock[
  call: SyntaxTree::CallNode[
    receiver: SyntaxTree::Int[value: "10"],
    operator: SyntaxTree::Period[value: "."],
    message: SyntaxTree::Ident[value: "times"]
  ],
  block: SyntaxTree::BlockNode[
    block_var: SyntaxTree::BlockVar[
      params: SyntaxTree::Params[requireds: [SyntaxTree::Ident[value: "n"]]]
    ],
    bodystmt: SyntaxTree::BodyStmt[
      statements: SyntaxTree::Statements[
        body: [
          SyntaxTree::Command[
            message: SyntaxTree::Ident[value: "puts"],
            arguments: SyntaxTree::Args[
              parts: [SyntaxTree::VarRef[value: SyntaxTree::Ident[value: "n"]]]
            ]
          ]
        ]
      ]
    ]
  ]
]

This is much easier to decipher as opposed to Ripper#sexp's output, but the problem is you can only do one expression at a time. For example if I edit the code like this...
10.times do |n|
  puts n
end
# Adding a comment here.

It will yield the following message:
> stree expr file_name.rb
The input to `stree expr` must be a single expression.

This won't work since we're trying to use multiple expressions. Also, the SyntaxTree library doesn't offer the same AST output, which I would like to use in a Ruby file as opposed to the CLI but have not found out how to implement.
syntax_tree's SyntaxTree library
I wanted to use the SyntaxTree library instead, but it doesn't have the same behavior as the CLI, and SyntaxTree.parse outputs information very similar to what Ripper#sexp does:
[1] pry(#<TestMasamune>)> code = <<~CODE
[1] pry(#<TestMasamune>)* 10.times do |n|
[1] pry(#<TestMasamune>)*   puts n
[1] pry(#<TestMasamune>)* end
[1] pry(#<TestMasamune>)* CODE
=> "10.times do |n|\n  puts n\nend\n"
[2] pry(#<TestMasamune>)> SyntaxTree.parse code
=> (program
  (statements
    ((method_add_block
        (call (int "10") (period ".") (ident "times"))
        (block (block_var (params ((ident "n")))) (bodystmt (statements ((command (ident "puts") (args ((var_ref (ident "n")))))))))))))

However, the line positions which are necessary for the Masamune replacement logic to work aren't here. If I have to write more code for syntax_tree to perform the commands I want it to do, I figure I might as well continue working on this library and keep working with Ripper until it's completely deprecated.
Side Note
syntax_tree also uses Ripper anyways:
https://github.com/ruby-syntax-tree/syntax_tree/blob/2ae6d6cc8412b74f0dcca7747ed5cb1c22d7907b/lib/syntax_tree.rb#L142

Okay, I think I found a meaningful way to put this together with syntax_tree:
code = <<~CODE
10.times do |n|
  puts n
end
# Add comment to show multiple expressions can be handled.
CODE

program = SyntaxTree.parse(code)
program.statements.body.each {|stmt| puts stmt.construct_keys.split("\n") }

This will print out the tree, and contruct_keys gives a name to each portion:
SyntaxTree::MethodAddBlock[
  call: SyntaxTree::CallNode[
    receiver: SyntaxTree::Int[value: "10"],
    operator: SyntaxTree::Period[value: "."],
    message: SyntaxTree::Ident[value: "times"]
  ],
  block: SyntaxTree::BlockNode[
    block_var: SyntaxTree::BlockVar[
      params: SyntaxTree::Params[requireds: [SyntaxTree::Ident[value: "n"]]]
    ],
    bodystmt: SyntaxTree::BodyStmt[
      statements: SyntaxTree::Statements[
        body: [
          SyntaxTree::Command[
            message: SyntaxTree::Ident[value: "puts"],
            arguments: SyntaxTree::Args[
              parts: [SyntaxTree::VarRef[value: SyntaxTree::Ident[value: "n"]]]
            ]
          ]
        ]
      ]
    ]
  ]
]
SyntaxTree::Comment[
  value: "# Add comment to show multiple expressions can be handled."
]

Figured this out by looking at the Expr class.
This should work, but I just want to make sure it's not missing any nodes and covering all of the code being passed to it.

This still doesn't solve the line position issue, but it helps with readability.

Now that we can get line positions and tokens from DataNodes, I want to consider how we can use syntax_tree's statements to provide useful information to developers.
Basically, the same as the comment above:
program = SyntaxTree.parse(code)
program.statements.body.each {|stmt| puts stmt.construct_keys.split("\n") }

I'm thinking we could combine this msmn.pry #23.

Closing in favor of #52 (See this comment)


upload msql file ... and how to install it

I have given the schema for all the 3 tables that are required in the Readme page. Have a look at that. And to install Mysql see the commands on the internet for your particular OS.
Hope it helps.🙂

I have given the schema for all the 3 tables that are required in the Readme page. Have a look at that. U can create tables in MySQL with those schemas.
Hope it helps.🙂


TXID - We're sorry - something's gone wrong.

Describe the bug
A clear and concise description of what the bug is.
I withdraw all reward (https://testnet.explorer.agoric.net/account/agoric1mw8mjy0ecmpr4hvvrudhmwxhz2fhhkhf3ujrcw) and saw this error when I decided to look at the transaction.
We're sorry - something's gone wrong.
Please try to refresh the page and see if the problem is gone. If the problem keeps happening, please consider filing a Github issue.
To Reproduce
Steps to reproduce the behavior:

Go to https://testnet.explorer.agoric.net/transactions/B35ACFD7C5C630B802995B4E50CF6CE9DAF8C986E07D5BF763E998D6DE5F737C
See error

Desktop (please complete the following information):

OS: Windows 10
Browser Yandex

same error, https://testnet.explorer.agoric.net/transactions/29D739902B8B65E289152F13CF88862E1523755AF26FF8F51CB52651636400CC,
OS Linux Mina 18.3
Browser Google


Add deprecation dates. Align with Chef 13

"next major version" is pretty vague. Let's give a date. Once Chef 13 comes out the compatibility with Chef < 12.6 in this cookbook is going to be removed.

appveyor broke but probably not relevant to anything here but you might want to rerun it.


"Parameter 1 to shd_buffer_replace() expected to be a reference, value given"

Description
--Description Here--

"Parameter 1 to shd_buffer_replace() expected to be a reference, value given"
Steps to reproduce

SMF 2.0 and SD 2.0
Browse any non helpdesk page

Environment (complete as necessary)

Version/Git revision: 2.0.0
Database Type: MySQL
Database Version:
PHP: 8.1

Additional information/references
Stricter type handling in newer PHP versions has shown this error.

Fixed in 2.0.1


PEP3101 standardization

Standardize on "".format instead of "%s" % ( ), add enforcement of that for the future.

Since #102 was merged there is a conflict with the findbugs tool plugin file. I'm not very familiar with editing in Github and don't want to make a hash of it. If you could merge master into your pep3101 branch I'd appreciate it.

Will do.

Codecov Report

Merging #103 into master will decrease coverage by 1.99%.
The diff coverage is 30.43%.

@@           Coverage Diff           @@
##           master     #103   +/-   ##
=======================================
- Coverage   58.02%   56.03%   -2%
=======================================
  Files          45       45
  Lines        2263     2247   -16
=======================================
- Hits         1313     1259   -54
- Misses        950      988   +38

Impacted Files
Coverage Δ

...atick_tool/plugins/tool/pycodestyle_tool_plugin.py
77.77% <0%> (ø)
:arrow_up:

...tatick_tool/plugins/tool/perlcritic_tool_plugin.py
76.47% <0%> (ø)
:arrow_up:

statick_tool/plugins/tool/make_tool_plugin.py
14.45% <0%> (ø)
:arrow_up:

statick_tool/plugins/tool/cpplint_tool_plugin.py
22.03% <0%> (ø)
:arrow_up:

statick_tool/plugins/tool/xmllint_tool_plugin.py
83.72% <0%> (ø)
:arrow_up:

statick_tool/plugins/tool/findbugs_tool_plugin.py
20.33% <0%> (ø)

...tatick_tool/plugins/tool/uncrustify_tool_plugin.py
16.92% <0%> (ø)
:arrow_up:

statick_tool/plugins/tool/cmakelint_tool_plugin.py
80.85% <0%> (ø)
:arrow_up:

...tick_tool/plugins/tool/clang_format_tool_plugin.py
31.7% <0%> (ø)
:arrow_up:

statick_tool/plugins/tool/lizard_tool_plugin.py
22.72% <0%> (ø)
:arrow_up:

... and 14 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 0fd1a70...a7e7034. Read the comment docs.


Should the destroy method be private?

I followed the Readme but, had to make this public in order to shatter my mesh.

I also had to make the method public in order to call it.

I also had to make the method public in order to call it from another object in C#.

Can you show me how you're calling it? In my demo it calls just fine as a private so I wanna see what ways it doesn't
The way demo calls:
extends Node3D

@onready var destruction = $DestructibleCube/Destructible
@onready var destroy_button: Button = $DestroyButton

var destructible_cube_scene := preload("res://Demo/destructible_cube.tscn")

func _on_destroy_button_pressed() -> void:
	destruction.Destroy(10, Vector3.ZERO)
	destroy_button.disabled = true
	await get_tree().create_timer(1).timeout
	var new := destructible_cube_scene.instantiate()
	add_child(new)
	destruction = new.get_node("Destructible")
	destroy_button.disabled = false

I'm not definitely sure, but I think GDScript can call private C# methods.  If you're using C# to call the method it won't be accessible unless you're calling from within the methods class.  Changing it to public allows it to be called from other classes.
If I set the function back to private and try calling from a different script with a reference to the Destructible it gives this error:

Gotcha, I hadn't tried it through C# so just wanted to double check before editing it. Will send a commit with that fixed now and update the asset store version too. Thanks!


Upload/Download Artefacts related to Benchmark Tests

All necessary files that contain model configurations and results we preserve as artefacts. We will mechanism for uploading and downloading those files, and parsing them with aim to extract the performance results.

@vmilosevic The files we want to upload are .json files. The files should start with "forge-benchmark-e2e", for example it can be "forge-benchmark-e2e-mnist.json". Also, JSON files are preserved in the root directory.

@vmilosevic I am sure if this should be part of this issue, these are fields we want to add.

model, string, name of the model
config, string, the configuration of the model, very often small, large, medium, etc.
date, string or datetime, the date and time the model was run.
hash, string, hash code of git commit on which the model was run.
machine_name, string,  name of the machine on which the model was run
samples_per_sec, float, speed of the model given in samples per second
total_samples, integer, total number of the samples for the model
total_time, float, total execution time
training, bool, it is training or inference
batch_size, integer, it represents batch size, number of samples in one batch, it can be total number of samples, but generally that's not true
loop_count, integer, number of times we run the test, and average perf result
output, string, name of the output file where we preserve the results and configurations, it is an artifact
arch, string, the architecture on which we run the model
chips, integer, number of the chips used for running the model
dataformat, string, initial data format used in the model
math_fidelity, string, initial math fidelity used in the model
device, string, type of the device on which we run the model
galaxy, bool, indicator that says we are running on the galaxy device
perf_analysis, bool, model was run with perf analysis mode
load_tti, string, path the model, from this location we load the model
save_tti, string, path the model, to this location we preserve the model
task, string, type of the problem we want to solve, e.g, image classification, image generation, etc.
evaluation_score, float, score we get on the model for given data and task


[druid] Fixing issue 3894  multi-processing w/ Gunicorn

This PR fixes issue https://github.com/apache/incubator-superset/issues/3894.
It seems that using multi-processing for fetching Druid datasource metadata asynchronously fails under a Gunicorn environment. Switching to multi-threading seems to remedy the problem.
Note previously Pool() created only 4 processes and I'm not overly certain why this part of the code needs to leverage multi-processing from a performance standpoint, i.e., I would be supportive of remove the multi-threading/processing logic entirely.
Also it seems like we're using the synchronous PyClient and thus refresh_async seems like a misnomer to me.
to: @mistercrunch @Mogball @xrmx

Multithreaded execution was introduced because refreshing a cluster with many datasources took... a long time. Metadata queries were issued sequentially, but multithreading this makes refreshing lots of datasources much faster.

Thanks @Mogball for the explanation. Are you opposed to using multi-threading rather than multi-processing? Also could you provide context on the refresh_async method name?

Looks okay to me. I'm pretty sure it should be thread-safe.
refresh_async was the name of the function when it was suppose to be actually asynchronous but I never changed the name afterwards (i.e. a bit of a misnomer).

@Mogball per @xrmx's comment in the issue this may actually be a Gevent issue. I'm not certain whether we want to disable that or go with the approach outlined in this PR, i.e., moving from multi-processing to multi-threading.

If you are just waiting on druid threads instead of processes should be fine. To avoid the possible creation of ton of threads you can initialize the pool outside the function so the number is fixed.

@mistercrunch @Mogball @xrmx I'm not overly familiar with this portion of the code base, and the interactions with Gevent, I'm merely trying to fix an issue which is plaguing us in production.
I can't fathom the scale @Mogball of your Druid datasources, but for us this request takes mere seconds and thus I'm unsure whether the 4x speedup (maximum) of a multi-threaded environment outweighs the additional complexity, potential thread-safeness etc.

The speed up is more than just 4x (or whatever the number of available threads). Most of the time is spent waiting for Druid to respond, which means that the metadata requests are issued more or less at simultaneously for each datasource, and then processed when they all start coming back. This makes a difference of like 40 seconds to 3 seconds (when hard refreshing all datasources).
This should be thread-safe since there is no interaction outside of the datasource object and with the Superset backend during refresh.

Heads up that there are caveats with thread-safety around SQLAlchemy

latest_metadata doesn't make any calls to SQLAlchemy 👍


Add point and vector transformations to FXGLMath

For example, scaling a point around a point and rotating a point around a point. Plus, other vector math that may be missing from the source in FXGLMath.
Also, in PhysicsWorld, BoundingBoxComponent, HitBox and SAT there is a lot of inlined code for similar math operations. They should ideally be rerouted to use the above addition to FXGLMath.

Could be useful:
    Point2D rotatePoint(float cx,float cy, double angle, Vec2 p0) {
        Vec2 p = p0.copy();

        double s = FXGLMath.sinDeg(angle);
        double c = FXGLMath.cosDeg(angle);

        // translate point back to origin:
        p.x -= cx;
        p.y -= cy;

        // rotate point
        double xnew = p.x * c - p.y * s;
        double ynew = p.x * s + p.y * c;

        // translate point back:
        p.x = (float) (xnew + cx);
        p.y = (float) (ynew + cy);
        return p.toPoint2D();
    }

// from https://stackoverflow.com/questions/5227373/minimal-perpendicular-vector-between-a-point-and-a-line
fun vectorFromPointToLine(p: Point2D, lineStart: Point2D, lineEnd: Point2D): Point2D {
    // (P-A).D == |X-A|

    val d = lineEnd.subtract(lineStart).normalize()

    //X == A + ((P-A).D)D
    val x = lineStart.add(d.multiply(p.subtract(lineStart).dotProduct(d)))

    return x.subtract(p)
}


Unity: how to ignore errors in depth stream due to defective cam

I'm using an L515 cam with latest firmware (<IP_ADDRESS>) in Unity on Windows 10.
The cam appears to be defective (the depth sensor, afaict). Unfortunately I need to continue with development using this cam until the replacement will arrive.
My questions regard some behaviour I found and if I could work around it for some time.
In "RealSense Viewer", when I enable "RGB Camera", after a couple of seconds, I get a black frame with "No Frames Received!". OTOH, when I first enable "L500 Depth Sensor" (which shows two stream windows for depth and infrared, also blinking "No Frames Received" on it), and only then also enable "RGB Camera" the camera picture is shown alongside the erroneous Depth Sensor streams.
In Unity 2021.3.8f1, with .unitypackage of SDK 2.50 (although I tried previous versions of both to no avail) I get a message
ExternalException: rs2_pipeline_wait_for_frames(pipe:0000029454FC5010)
Rethrow as Exception: Frame didn't arrive within 5000

So, out of curiosity, why does "RealSense Viewer" depend on the order of sensor activation? More importantly however, is there any way to get a similar behaviour in Unity: use RGB camera picture and ignore error of Depth sensor for the time being?

Hi @jeffrson  Could you first try unplugging the micro-sized end of the USB cable from the base of the L515 camera, reversing the connector's orientation and plugging it back into the camera, please (USB-C cables are two-way insertion at the micro-sized end).
Does doing so make any difference?

Hi @jeffrson  Do you require further assistance with this case, please?  Thanks!

Thanks @MartyG-RealSense - I had tried reversing the connector's orientation before. I didn't help then and now.
I wasn't able to to read the RGB picture with the defective camera to help with in-house development. I tried to work around with some screenshots, which is far from effective, but I had no choice.
I finished the project for now, so I don't need further assistance at the moment, although the question remains unanswered. Feel free to close though.
Thanks!

Thanks very much @jeffrson for the update!  As you suggested, I will close the case.  Thanks again!


Custom SSH Password Prompt of "Enter PASSCODE:"

Describe the bug
We use RSA SecurID to authenticate against Cisco and Juniper devices which changes the login prompt to "Enter PASSCODE:". I can see how to change this using telnet_password_prompt, but there is no equivalent for SSH.
To Reproduce

Implement RSA SecurID authentication in IOS-XR :)
My script

from scrapli.driver import GenericDriver
from getpass import getpass

device = {
  'host': 'xxxx',
  'auth_username': input('Username: '),
  'auth_password': getpass('Enter PASSCODE: '),
  'auth_strict_key': False
}

with GenericDriver(**device) as c:
  c.send_command('terminal length 0')
  print(c.send_command('show version'))

Expected behavior
There should be the ability to change the expected username and password prompts under SSH.
Stack Trace
DEBUG:scrapli.channel:read: b'Enter PASSCODE: '
CRITICAL:scrapli.channel:operation timed out, closing connection
DEBUG:scrapli.transport:closing transport connection to 'xxxx' on port '22'
DEBUG:scrapli.channel:read: b'\n'
DEBUG:scrapli.transport:transport connection to 'xxxx' on port '22' closed successfully
Traceback (most recent call last):
  File "/home/user/fetch.py", line 25, in <module>
    main()
  File "/home/user/fetch.py", line 18, in main
    with GenericDriver(**device) as c:
  File "/venv/python3/lib64/python3.9/site-packages/scrapli/driver/base/sync_driver.py", line 42, in __enter__
    self.open()
  File "/venv/python3/lib64/python3.9/site-packages/scrapli/driver/base/sync_driver.py", line 88, in open
    self.channel.channel_authenticate_ssh(
  File "/venv/python3/lib64/python3.9/site-packages/scrapli/decorators.py", line 216, in decorate
    return _multiprocessing_timeout(
  File "/venv/python3/lib64/python3.9/site-packages/scrapli/decorators.py", line 108, in _multiprocessing_timeout
    return _handle_timeout(
  File "/venv/python3/lib64/python3.9/site-packages/scrapli/decorators.py", line 134, in _handle_timeout
    raise ScrapliTimeout(message)
scrapli.exceptions.ScrapliTimeout: timed out during in channel ssh authentication

OS (please complete the following information):

OS: Red Hat Enterprise Linux 8
scrapli version - 2023.01.30

That does have the desired affect if I switch from using a context manager.
  c = GenericDriver(**device)
  c.channel.auth_password_pattern = r'PASSCODE:'
  c.open()
  c.send_command('terminal length 0')
  print(c.send_command('show version'))

How difficult would it be to allow it via GenericDriver so we can continue with a context manager, e.g:
  device = {
    'host': 'xxxx',
    'auth_username': input('Username: '),
    'auth_password': getpass('Enter PASSCODE: '),
    'auth_password_pattern': r'PASSCODE:',
    'auth_strict_key': False
  }

Is there a documentation link to the auth_password_pattern property as I couldn't find it?

Actually, not a massive issue not using a context manager - happy to set it before calling open().

nice, glad thats working then! re docs: honestly probably its not really documented... too many things to keep up with!
I think we can/should be exposing this so it can be used w/ context manager. will take a peak this weekend.

hey @cmason3 -- can ya take a peak at #296 and let us know if that looks cool/works well for ya?

🥳 thanks again! closing as fixed !


Bug: fix zod typing

Hey @chronark,
currently the typing for the inputs and outputs of zod bird are incorrect. The current version does not take transformations into account f.e.
Would love to see this fixed.
Julius

hey @juliuslipp, could you give me a quick example of what didn't work before and works now?
also we need to update the types for src/noop.ts too.

export const test = tb.buildPipe({
pipe: 'test_vv1',
parameters: z.object({
end_date: z
.date()
.transform((d) => d.toISOString().split('T')[0])
.optional(),
}),
data: z.object({
test: z.string(),
}),
});

https://github.com/chronark/zod-bird/releases/tag/v0.3.2


LocationAttachment fix

Fix for locations where address is provided instead of GPS co-ords (issue #392)

Add self.location attribute to class LocationAttachment to house address string
Fix for graphql_to_extensible_attachment(a) to include location attribute for addresses, while maintaining current lat/long attributes

I can see the black lint check failed, and I have seen on a previous PR that this is requested to be fixed by referring to 'CONTRIBUTING.rst' which to be honest is not a guide at all.
As mentioned 20 days ago by madsmtm in a PR, the use of flint has indeed increased the initial difficulty of manual installation (users have to learn a new tool) and unfortunately I can't help any more than provide what I have in this initial PR.
Anyway, I hope it helps.

I would change the location attribute name to address.
And please mention in the attribute docs that available are only the coordinates OR only the address

I'm happy for you to do whatever you like with the code I've presented to make it viable for your project. I've had a crack at using GitHub to fork/push request etc and learned a bit trying to contribute to FBchat - and I appreciate you bearing with me along the way.
That said, I'm not bothered by having a successful PR contribution next to my name, just wanted to offer a means to improve the API so perhaps you can find some use from what I've added here.


Emulate mouse from touch and Emulate touch from mouse not working

Godot version
4.0.beta2.official.f8745f2f7
System information
Windows 10, Mobile, Intel - Intel(R) HD Graphics 620 (<IP_ADDRESS>0)
Issue description
Testing how application will look like on touchscreen device with emulate touch from mouse and emulate mouse from touch works well on Godot 3.x but not working on Godot 4.x with the same settings.

Steps to reproduce
none
Minimal reproduction project
Godot 4.0.2.zip

this issue seems to continue in rc2

It has been rectified since Godot 4 Beta 3

Seems like @finecco still experiences something similar.
@finecco Could you open a new with a minimal reproduction project?

touch_emulate.zip
hello again, in the project attached, touch screen node does not fire for me with touch from mouse emulation on, Macos Ventura M1.
on android deploy the node is working.
tbh not sure the if it is really related to this pr.


[FEATURE REQUEST] Add alert_screen to display instant messages

Feature Request
Describe the solution / feature you'd like
Add alert_screen to display instant messages:
alert_screen or info_screen with parameters ("icon_name", "text", "screen_time", "default_font", "r", "g", "b")
screen_time - how long is this screen display in the loop (seconds), also lifetime is set automatically to screen_time. And immediately force_screen is called for this screen.
Each next call to alert_screen or info_screen replaces the previous one (while the previous one lives on), and sets the new passed values for screen_time and lifetime.
This will be convenient for displaying instant messages, especially if they need to be displayed once, say within 15sec, and will replace the inconvenient co in the form:

del_screen
icon_screen (You can't set the lifetime less than a minute, so you'll have to wait and delete it, if you want to show a message, like 15 seconds)
force_screen
delay
del_screen

Describe alternatives you've considered

del_screen
icon_screen (You can't set the lifetime less than a minute, so you'll have to wait and delete it, if you want to show a message, like 15 seconds)
force_screen
delay
del_screen

For me force screen works, especially with all modes, so I need an example in detail why your suggestion is helpful.

I need to show an instant message with an icon, within 15 sec. Now it happens like this:

del_screen
icon_screen with screen_time: 15 and lifetime: 1 (Minimum possible value)
force_screen
delay 15s
del_screen

If make the changes I suggest, it will all be called in one command, and the screen will always display the actual instant message.

alert_screen with screen_time: 15

Seems logical, convenient, and simple to me.

Like this:
  EHMTX_queue *EHMTX::find_mode_queue_element(int mode)
  {
    for (size_t i = 0; i < MAXQUEUE; i++)
    {
      if ((this->queue[i]->mode == mode))
      {
        ESP_LOGD(TAG, "free_screen: found by mode %d", mode);
        return this->queue[i];
      }
    }
    return this->find_free_queue_element();
  }

  void EHMTX::alert_screen(std::string iconname, std::string text, int screen_time, bool default_font, int r, int g, int b)
  {
    uint8_t icon = this->find_icon(iconname.c_str());

    if (icon >= this->icon_count)
    {
      ESP_LOGW(TAG, "icon %d not found => default: 0", icon);
      icon = 0;
      for (auto *t : on_icon_error_triggers_)
      {
        t->process(iconname);
      }
    }
    EHMTX_queue *screen = this->find_mode_queue_element(MODE_ALERT_SCREEN);

    screen->text = text;
    screen->endtime = this->clock->now().timestamp + screen_time;
    screen->text_color = Color(r, g, b);
    screen->default_font = default_font;
    screen->mode = MODE_ALERT_SCREEN;
    screen->icon_name = iconname;
    screen->icon = icon;
    screen->calc_scroll_time(text, screen_time);
    for (auto *t : on_add_screen_triggers_)
    {
      t->process(screen->icon_name, (uint8_t)screen->mode);
    }
    ESP_LOGD(TAG, "alert screen icon: %d iconname: %s text: %s screen_time: %d", icon, iconname.c_str(), text.c_str(), screen_time);
    screen->status();

    force_screen(iconname, MODE_ALERT_SCREEN);
  }

  void EHMTX::force_screen(std::string icon_name, int mode)
  {
    for (uint8_t i = 0; i < MAXQUEUE; i++)
    {
      if (this->queue[i]->mode == mode)
      {
        if ((mode == MODE_ICON_SCREEN) || (mode == MODE_FULL_SCREEN) || (mode == MODE_RAINBOW_ICON))
        {
          if (strcmp(this->queue[i]->icon_name.c_str(), icon_name.c_str()) == 0)
          {
            ESP_LOGD(TAG, "force_screen: found position: %d", i);
            this->queue[i]->last_time = 0;
            this->queue[i]->endtime += this->queue[i]->screen_time_;
            this->next_action_time = this->clock->now().timestamp;
            ESP_LOGW(TAG, "force_screen: icon %s in mode %d", icon_name.c_str(), mode);
          }
        }

        if ((mode == MODE_ALERT_SCREEN))
        {
          if ((this->queue[i]->mode == MODE_ALERT_SCREEN))
          {
            ESP_LOGD(TAG, "force_screen: found position: %d", i);
            this->queue[i]->last_time = 0;
            this->queue[i]->endtime += this->queue[i]->screen_time_;
            this->next_action_time = this->clock->now().timestamp;
            ESP_LOGW(TAG, "force_screen: icon %s in mode %d", icon_name.c_str(), mode);
          }
        }
      }
    }
  }

Now I understand! I don't like the concept of showing the message only once, but it doesn't "hurt" in the code. So P will include it within the next days.

I don't like the concept of showing the message only once, but it doesn't "hurt" in the code

In my opinion, this is the most convenient way to show instant messages, such as incoming call, air alert, etc. They are shown once for 15/30 seconds, and that's it, they attracted attention, if you need to show constantly, then for this there are already all the necessary mechanisms.

Parameter name was wrong, corrected to icon_name instead of iconname

@lubeda For uniformity, it's worth changing https://github.com/andrewjswan/EspHoMaTriXv2/commit/3075fd8da7de53fe058a775434d1abe61eaeba57


Cannot use Update-AzTSMMARemovalUtilityDiscoveryTrigger

There are some points to execute  Update-AzTSMMARemovalUtilityDiscoveryTrigger .
No1
Directory path is wrong.
CD "<LocalExtractedFolderPath>\AzTSMMARemovalUtilityDeploymentFiles"

Correctly path:
CD "<LocalExtractedFolderPath>\AzTSMMARemovalUtilityDeploymentFiles\DeploymentFiles"

No2
We need to execute following.
. ".\MMARemovalUtilitySetup.ps1"

No3
Parameter spell is wrong.

wrong
correct

StartExtensionDiscoveryImmediatley
StartExtensionDiscoveryImmediately

No4
After executing the Update-AzTSMMARemovalUtilityDiscoveryTrigger .
What should we do next?
Please add the instruction.

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

ID: b6492b16-82f3-73da-99bf-471277fbd74b
Version Independent ID: 7e5fbd8f-4699-c65a-e147-5ed5564db19f
Content: MMA Discovery and Removal Utility - Azure Monitor
Content Source: articles/azure-monitor/agents/azure-monitor-agent-mma-removal-tool.md
Service: azure-monitor
Sub-service: agents
GitHub Login: @guywi-ms
Microsoft Alias: guywild

@NakayamaKento
Thanks for your feedback! We will investigate and update as appropriate.


Add glossary terms

Signed the CLA

I've manually verified that @DavidScales has signed the CLA, and well, he's working for Google, so uh, yah.


SIGKILL

Getting SIGKILL in docker deployment while converting html to pdf. while it is working fine with ec2 instance.
Points to consider

It works perfectly fine sometimes and returns SIGKILL error few times.
Size of pdf is 44 MB.
working fine for small amount of data as well.

Issue is  SIGKILL undefined
Trace: 1111111  SIGKILL at /app/routes/pdf.js:55:17
at execPdfToBuffer (/app/node_modules/html-pdf/lib/pdf.js:45:21)
at ChildProcess.respond (/app/node_modules/html-pdf/lib/pdf.js:126:14)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

Did you get any clue?
Is it because we are running the application as a docker container?
Or anything related to phantomjs timeout?
Any idea to fix it?

In our case, it was basically Memory Issue only. On an urgent basis, we increased containers memory and later on shifted to puppeteer.


feature: Added Keploy orange theme to the website

Changed the color of the gifs that were already available on the website.

PR checked and merged


chore(examples): Prepare Recipes example for website demo

Some changes to the recipes example in order to include them as live demos on the website.
I've been having some trouble with the Stackblitz web containers failing to Vite build, seemingly inconsistent (sometimes it works sometimes it doesn't) - I'll have to dig a bit deeper for that.
Here's an example of how we would embed the project: embed url

👋 we've been working the last month on a rebuild of the Electric server over at a temporary repo https://github.com/electric-sql/electric-next/
You can read more about why we made the decision at https://next.electric-sql.com/about
We're really excited about all the new possibilities the new server brings and we hope you'll check it out soon and give us your feedback.
We're now moving the temporary repo back here. As part of that migration we're closing all the old issues and PRs. We really appreciate you taking the time to investigate and create this improvement!


How to configure large file storage location?

I have git and git-lfs installed on my primary, solid-state drive, C:. But I keep my projects and data in general on D:. I would like to configure git-lfs to follow this convention.

Git LFS stores data relative to the git repository. So if you clone to d:\projects\my-repo, the files would be in d:\projects\my-repo\.git/lfs/objects.

It's good idea to share lfs storage between working copies.
It's very usefull for:

builder farms with multiple working copies of same project;
moving local storage outside SSD to HDD.

Hi @bozaro, I'm going through old issues and noticed this one. This is supported now via #2023, so I think that this issue can be closed.


Unable to chef-server-ctl reconfigure a new 15.3.2 install on Ubuntu 22.04

Chef Server Version
Chef-server standalone installation 15.3.2
Platform Details
Ubuntu 22.04
Installing on a ProxmoxVM, with iSCSI backed disks on a TrueNAS.
16GB ram, 50GB overall disk space
Configuration
Standalone, new install. Have also tried upgradding. The farthest I can upgrade to seems to be 14.14.1. If I try to upgrade to anything newer than that, I get all the index corrupt issues I'll paste below.
Scenario
I'm trying to run chef-server-ctl reconfigure after a fresh install. I have also done it after an upgrade and have failed.

opensearch log
opensearch-log.zip

Steps to Reproduce

Create a VM on proxmox:

Install ubuntu 22.04 from the ubuntu server ISO.

Download the chef-infra-server package from: https://www.chef.io/downloads/tools/infra-server?v=15.3.2

apt install ./chef-server-core_15.3.2-1_amd64.deb

chef-server-ctl reconfigure

Expected Result
I was expecting to have a working chef server that I could then try restoring backups to.
Actual Result
There's the open search log which happens at this phase of the chef-server-ctl reconfigure
* runit_service[opensearch] action reload_log
      - reload log service

Recipe: infra-server::opensearch
  * component_runit_service[opensearch] action start
  Recipe: <Dynamically Defined Resource>
    * service[opensearch] action nothing (skipped due to action :nothing)
    * runit_service[opensearch] action start (up to date)
     (up to date)
Recipe: infra-server::opensearch
  * chef_sleep[10] action sleep
    - sleep 10 seconds
  * execute[add internal user to opensearch security plugin] action run

I have tested this on a KVM based VM on my desktop, which has NVMe Backed storage, and it worked fine.
Perhaps there's some race condition during the setup that is causing the opensearch/elasticsearch to become corrupt after 14.14.x ?
I have confirmed I have no other data corruption problems on my server hardware, and the iSCSI disks.

@dkowis Yes!
AFAIK, this problem occurs on cpu that does not support SSE 4.2.
If the physical cpu supports SSE 4.2, enabling SSE 4.2 on the virtual cpu resolves this problem.

Ah yeah that'd do it, these CPUs are slightly too old for that: https://ark.intel.com/content/www/us/en/ark/products/75277/intel-xeon-processor-e52680-v2-25m-cache-2-80-ghz.html
Thanks for finding this! I hope the chef team updates it!

Ah yeah that'd do it, these CPUs are slightly too old for that: https://ark.intel.com/content/www/us/en/ark/products/75277/intel-xeon-processor-e52680-v2-25m-cache-2-80-ghz.html

Actually, I think this CPU should support SSE4.2 It's supposedly Sandy Bridge era, which, in theory, supports SSE 4.2 HRMMM

Yeah, I don't see it passed through in proxmox, so I've gotta figure that part out!

probably same problem #3451


bug: homepage in package.json breaks react-create-app if it contains a fragment identifier (#foo)

Describe the bug
This is a subtle bug which causes create-react-app to strip a character from the homepage URL and then crash. It was discovered by @cyrille-arundo, @geevb and myself.
Did you try recovering your dependencies?
Yes.
Which terms did you search for in User Guide?
Irrelevant.
Environment
Environment Info:

  current version of create-react-app: 3.4.0
  running from /Users/michaelmcmillan/.npm/_npx/14940/lib/node_modules/create-react-app

  System:
    OS: macOS 10.15.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  Binaries:
    Node: 12.13.1 - /usr/local/bin/node
    Yarn: 1.21.0 - /usr/local/bin/yarn
    npm: 6.12.1 - /usr/local/bin/npm
  Browsers:
    Chrome: 79.0.3945.130
    Firefox: 71.0
    Safari: 13.0.3
  npmPackages:
    react: ^16.12.0 => 16.12.0
    react-dom: ^16.12.0 => 16.12.0
    react-scripts: 3.4.0 => 3.4.0
  npmGlobalPackages:
    create-react-app: Not Found

(paste the output of the command here.)
Steps to reproduce

npx create-react-app my-app
Add a URL with a fragment identifier to package.json's homepage: https://domain.com/page#hello"
Run npm start
Watch it blow up in all its glory.

Expected behavior
It should work.
Actual behavior
It blows up.
Compiled successfully!

You can now view my-app in the browser.

  Local:            http://localhost:3000/pag
  On Your Network:  http://<IP_ADDRESS>:3000/pag

Note that the development build is not optimized.
To create a production build, use yarn build.

URIError: Failed to decode param '/%PUBLIC_URL%/favicon.ico'
    at decodeURIComponent (<anonymous>)
    at decode_param (/Users/michaelmcmillan/reproduce/my-app/node_modules/express/lib/router/layer.js:172:12)
[...]

Reproducible demo
Check this pull request #8514

this is not fixed


NIFI-10332 - Updated determineLogoutMethod() to use the discovery doc…

…ument

Summary
NIFI-10332
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-10332
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-10332

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
x ] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 8
[x] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

One thing I noticed when testing was I had to add _https://domain.com:8443/nifi-api/access/oidc/logoutCallback_ to the 'Valid Redirect URI' for Azure and Keycloak. I don't believe this is expected so it seems we're now passing through the wrong callback address? I'll keep looking into it


node-mssql unable to connect to azure db

Hi,
is node-mssql already supported on ChakraCore? I'm unable to connect to Azure DB (simple select example). It will just crash an app - no part of it will work anymore - I need to restart / redeploy to run/debug.

Sounds like this is an issue related to Node-ChakraCore. @kunalspathak  could confirm. You might want to move this issue report to https://github.com/nodejs/node-chakracore

Thanks for reporting @matejv1 . Could you please open an issue in nodejs/node-chakracore? Also, please provide repro steps.


Provide Support for Multi-Cloud AK/SK Management

Support keystone credential retrieval mechanism and provide signing and authenticating requests to manage multi-cloud APIs.

@wisererik @leonwanghui


Silverblue Nvidia images

I wonder do I need to install additional packages to Nvidia Silverblue based image like e.g. nv-codec-headers and others. Perhaps there is no need to install anything else related to Nvidia?

no, shouldn't be needed. if nv-codec-headers is something we should be preinstalling from negativo, please open a PR.


Reduce resource utilization during startup and resyncs

Description:
Currently with a large number of CRs the gateway controller's resource utilization is very spiky at startup and at re-syncs when resources are periodically re-reconciled. This requires high resource limits to be configured in order to handle these short infrequent bursts.
Ideally the resource usage would be lower and more consistent during large re-sync events.
This could be accomplished by compacting many reconcile calls into a single run of the main reconciliation loop rather then wasting resources re-building the state of the world for each CR. external-dns does something similar here.
The minimum interval the reconciliation loop runs could be configurable with a sensible default (something like 1-5 seconds). The behavior should allow the controller to react immediately to a single event but then wait the the configured interval before running again.
Here is the behavior observed at startup where cpu and memory usage is high while the controller tries to reconcile ~600 TLSRoutes.

@dboslee can you also share which version you are running, we made some changes in the last few weeks, that may improve things

the MinEventSyncInterval design pattern of batching events into one, is a great idea, def worth implementing !

@dboslee can you also share which version you are running, we made some changes in the last few weeks, that may improve things

I am pretty far back on v0.4.0. I did hack together a quick proof of concept and saw a huge improvement https://github.com/envoyproxy/gateway/compare/main...dboslee:gateway:david/demo/compact-updates.

trying to limit this specific issue to one problem, @dboslee is this the thundering herd problem when many resources are applied at once to the k8s API server, triggering EG's Reconcile to run multiple times (since we have one Reconcile for all resources) ?

@arkodg Yes sounds like the same issue. And to clarify this happens under normal operations (startup and re-syncs) when a large number of resources already exist not just when resources are created/updated.

the normal operations case, feels like it should have been solved with https://github.com/envoyproxy/gateway/pull/1455 & https://github.com/envoyproxy/gateway/pull/1723 which were part of v0.5


'CompileC' error after React Native Upgrade

Description
The following build commands failed:
CompileC /Users/username/Library/Developer/Xcode/DerivedData/Aposto-gmqtdupzstzukkcwwycvjhdnwfeh/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-Core.build/Objects-normal/x86_64/RCTAppSetupUtils.o /Users/username/file/Dev/mobile/node_modules/react-native/React/AppSetup/RCTAppSetupUtils.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-Core' from project 'Pods') (1 failure)
I wanted to take a big step from 0.63.3 to 0.70.3. I made all the changes with the upgrade helper. I have done the installations according to x86_64 before, but I wanted to use arm when switching to the new react-native version, maybe there was a problem here, I don't know. I have tried to clean the cache and everything I can do and find on the internet, but nothing of these works.
Version
0.70.3
Output of npx react-native info
System:
    OS: macOS 12.4
    CPU: (8) arm64 Apple M1
    Memory: 1.33 GB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.13.0 - /usr/local/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 8.1.0 - /usr/local/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.3 -<EMAIL_ADDRESS>  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
    Android SDK:
      API Levels: 28, 29, 30, 31, 33
      Build Tools: 29.0.2, 30.0.2, 30.0.3, 31.0.0
      System Images: android-31 | Google APIs ARM 64 v8a
      Android NDK: Not Found
  IDEs:
    Android Studio: 2021.2 AI-212.5712.43.2112.8815526
    Xcode: 13.4/13F17a - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.11 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.1.0 => 18.1.0
    react-native: ^0.70.3 => 0.70.3
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce
1 - run yarn react-native run-ios
2 - build failed
Snack, code example, screenshot, or link to a repository
I don't have any code to show, it's not a my code problem

Hi @efeakyuz Maybe this thread is useful for you: https://github.com/facebook/react-native/issues/26118#issuecomment-525085809

@Marcoo09 I already checked this, nothing came up here :(

Problem solved yey. Maybe these reproduce steps will help someone. #26118 (comment) I applied the solution here before, but nothing happened. I tried these steps again. Then I stopped running Xcode with rosetta and came back on arm64. I realized that these kinds of errors are much more difficult to resolve with CLI. so I started getting builds from Xcode and check the errors from there. The first error I saw was the "Flipper is not found". I think I solved it by removing #use_frameworks!:linkage => :static, I don't really remember. then I got FirebaseCore is not found error. I solved this by adding pod 'FirebaseCore', :modular_headers => true to the Podfile. Then return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
I got error here and I fixed it by converting it to return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"]; Now I can get builds without any problems.

@efeakyuz This was actually a good suggestion.
I was facing the error:
The following build commands failed: CompileC
I've tried to load the project into xcode, build and see the errors like you suggested.
I saw that I was missing AppDelegate.m. Good because upgrading from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>change the file from .m format to .mm.

By changing the name of the file from AppDelegate.m to AppDelegate.mm worked.

@efeakyuz thx this save me the day 👍

I'm glad to hear this guys 🤙🏼 @Sassar88 @EmilianoMorghen


test_ldexp failure on armel

Hi,
with the update to 0.4.1, we see the following test failure in Debian on our armel (armv5te-unknown-linux-gnueabi) architecture:
---- test::test_ldexp stdout ----
thread 'test::test_ldexp' panicked at 'assertion failed: `(left == right)`
  left: `2.2250738585072014e-308`,
 right: `0.0`', src/lib.rs:3090:9
stack backtrace:
   0: rust_begin_unwind
             at /usr/src/rustc-1.63.0/library/std/src/panicking.rs:584:5
   1: core::panicking::panic_fmt
             at /usr/src/rustc-1.63.0/library/core/src/panicking.rs:142:14
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
             at /usr/src/rustc-1.63.0/library/core/src/panicking.rs:181:5
   4: num_rational::test::test_ldexp
             at /usr/share/cargo/registry/num-rational-0.4.1/src/lib.rs:3090:9
   5: num_rational::test::test_ldexp::{{closure}}
             at /usr/share/cargo/registry/num-rational-0.4.1/src/lib.rs:3072:5
   6: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.63.0/library/core/src/ops/function.rs:248:5
   7: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.63.0/library/core/src/ops/function.rs:248:5

See https://buildd.debian.org/status/fetch.php?pkg=rust-num-rational&arch=armel&ver=0.4.1-1&stamp=1671490743&raw=0 for the full log.

My conclusion after some experimentation is that this appears to be an issue in the underlying floating point implementation. Specifically it seems that powi and division (but not multiplication) on armel underflows to zero earlier than it should. I did some testing with gcc and clang and couldn't reproduce the issue, so this seems to be rust specific.
The good news is, this only seems to affect the test code, not the code under test.
My first suspicion was that powi was responsible, so I replaced it with my own naive implementation, that failed too. However after some tweaking I managed to produce a powi function that produces the correct results. Specifically the key seems to be after raising to the positive equivilent of power rather than doing 1 / x directly, I do 2 / x and then multiply by 0.5.
I'm going to make an upload to Debian working around this issue soon.

thread 'test::test_ldexp' panicked at 'assertion failed: (left == right)
left: 2.2250738585072014e-308,
right: 0.0', src/lib.rs:3090:9

The left is what this crate computes, and that is the correct value, the same as f64::MIN_POSITIVE. But the right 2f64.powi(MIN_EXP - 1) is what underflowed to zero, and that implementation is using an intrinsic. I'm not sure what that lowers to on arm, but this may be worth a Rust bug. For the test in this crate we could just switch directly to MIN_POSITIVE.


How to add appsync datasource to api that is already exist.

problem
I generate environment as follows
| Category | Resource name | Operation | Provider plugin   |
| -------- | ------------- | --------- | ----------------- |
| Api      | resource       | No Change    | awscloudformation |
| Auth     | resource       | No Change | awscloudformation |
| Storage  | resource       | No Change | awscloudformation |

I selected appsync and create DynamoDB table from GraphQL schema.

Next, I want to add new datasource to api.
Searching in web, I had no idea.
What should I do ?

@yukitaka13-1110 in projects where the CLI is managing the resources for you, DataSources are always handled for you by the CLI, you do not need to manage them manually for the GraphQL schema types where you specified @model. You have the ability to use custom resources and create new data sources or other type of resources, but I guess this is not relevant to your case.
Could you please tell us more about what are you trying to achieve? Perhaps share the schema what you currently have.

@attilah Thank you for quick response !
I want to create two DynamoDB tables by using graphql schema.
Now, I create DynamoDB table automatically by usign the shcema as follows
type PanInfo @model @key(fields: ["category", "name"]) {
  category: String!
  name: String!
  price: String
  auther: String
}

I want to create another table. Can I create it if I define another type ?
Is there another way?

Yes @yukitaka13-1110 You can create another type with the @model annotation.
Read more about it out here - https://aws-amplify.github.io/docs/cli/graphql#graphql-transform

@kaustavghosh06 Thank you so much !


Missing Rest API samples

[Enter feedback here]
missing Rest API get started and samples
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 31806d3b-6d26-ba48-3860-559dc0938b9d
Version Independent ID: 3eccfc69-2ea4-d8ab-3299-df054a0f6a47
Content: What is Azure App Configuration?
Content Source: articles/azure-app-configuration/overview.md
Service: azure-app-configuration
GitHub Login: @lisaguthrie
Microsoft Alias: lcozzens

@tshaiman -
Thanks for brining this to our attention. We will investigate it further and update you shortly.

@lisaguthrie - Do you have any insights on the above?

We are actively working on a REST API quickstart.
There is also documentation linked on this page: https://github.com/Azure/AppConfiguration
@AlexandraKemperMS - FYI.

@lisaguthrie  - Thank you for providing your insights.
@tshaiman - I hope @lisaguthrie has answered your question.
At this moment, Since there is no doc update required, We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

great job !
thanks a lot
On Thu, 8 Oct 2020 at 21:13 MonikaReddy-MSFT<EMAIL_ADDRESS>wrote:

@lisaguthrie https://github.com/lisaguthrie - Thank you for providing
your insights.
@tshaiman https://github.com/tshaiman - I hope @lisaguthrie
https://github.com/lisaguthrie has answered your question.
At this moment, Since there is no doc update required, We will now proceed
to close this thread. If there are further questions regarding this matter,
please tag me in your reply. We will gladly continue the discussion and we
will reopen the issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/63935#issuecomment-705738587,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD5FRK3KFAVK4TODPCAJYDSJX6MBANCNFSM4SG7VLZA
.

--
Sent from Gmail Mobile


Add Google Cloud Platform to list of tools

We use Google Cloud Platform's natural language api to run sentiment analysis on text messages. Based on the overall sentiment of the text, we can automate how our bot should respond.

Thanks @cjpwrs !


Lily/standard styling

Styled according to global.scss
Summary
Closes #73
Updated the paragraph and heading styles according to global.scss and the hi-fi mockup. The text in some of the tasks and text boxes are unstyled.

also the permission page doesn't have content yet so i didn't style that


Access and read from multiple email accounts

Hello
This is a feature request more than an issue.
I have a series of tests in a number of feature files that generate emails when users are created. Part of each test is checking the content of the last unread email.
Ideally, I'd like each feature file to have its own email address so the tests could be run concurrently, but as the email account is set in the mail defaults, I can't work out how to change it for each feature file.
Any help would be most appreciated.
This is in the .env.rb file:
Mail.defaults do
  retriever_method :pop3,
                   :address => "pop.gmail.com",
                   :port => 995,
                   :user_name => gmail_file['gmail_username'],
                   :password => gmail_file['gmail_pw'],
                   :enable_ssl => true
end

Where gmail_username and gmail_pw are read in from another file.
And the last unread email is accessed like this:
 @recd_mail = Mail.last
Thanks,
Peter

Is OK, I think I got it now.

There is a special place in hell for people, who ask a question and answer it with "nevermind, i figured it out" without posting the actual solution!! :rage1::rage2::rage3::rage4:

Here is what worked for me:
When I want to change the account, I overwrite the retreiver_method, before calling Mail.all (or Mail.first or whatever)
  def mail_account_login(user_name, password)
    Mail.retriever_method.settings[:user_name] = user_name
    Mail.retriever_method.settings[:password] = password
  end

Sorry about that.
If I still had the solution, I'd post it, but I had to change to the Gmail API client so all my code for the mail gem is gone.
Won't happen again.


Spelling error on Allops page

Hey,
'professionals' is misspelt as 'proffestinals' as shown in the attached screenshot. You can assign me to correct this.

yes please correct it


Missing toleration for master nodes in install documentation

Hello,
Compliance Operator cannot run on OpenShift Container Storage as it's missing toleration for master nodes. I think  install docs need to be updated to include that or operator should include this by default.At this moment attaching PVC to master node fails with following error:
MountVolume.MountDevice failed for volume "pvc-04cce714-b99e-439f-b593-de260050e5b9" : kubernetes.io/csi: attacher.MountDevice failed to create newCsiDriverClient: driver name openshift-storage.cephfs.csi.ceph.com not found in the list of registered CSI drivers
Issue opened for compliance operator:
https://github.com/openshift/compliance-operator/issues/642
Could someone guide me how I can modify already deployed OCS cluster to include that tolleration?

Tolerations can be added using the Spec.Placements field, which is a Rook struct and can be looked up there. This is not yet a supported feature, so there is no official documentation nor any examples.

Would the following example of adding a master toleration in the rook-ceph-operator-config configmap be supported?  e.g.
apiVersion: v1
data:
  CSI_PLUGIN_TOLERATIONS: |
    - effect: NoSchedule
      key: nodetype
      operator: Equal
      value: master
    - effect: NoSchedule
      key: node.ocs.openshift.io/storage
      operator: Exists
kind: ConfigMap

Ref:
https://access.redhat.com/documentation/en-us/red_hat_openshift_container_storage/4.6/html-single/managing_and_allocating_storage_resources/index#managing-container-storage-interface-component-placements_rhocs

Many thanks, have done just that https://bugzilla.redhat.com/show_bug.cgi?id=1963040

Many thanks, have done just that https://bugzilla.redhat.com/show_bug.cgi?id=1963040

Thanks James for helping out with this problem.

Sounds like the issue is resolved! If something else come sup, feel free to follow up here.


Update extract_images.py

Dataset is an object (not a list), looping over will make nothing. Instead we need, to loop over the list of video clips in order to extract images.

this change makes no functional difference? what was done originally works. why change it?
Also the change has a typo. a ")" is missing

this change makes no functional difference? what was done originally works. why change it?
Also the change has a typo. a ")" is missing

for the typo, you are right :) I am sorry for this
For the code was not working to generate images.
Looping over the dataset object, instead you need to loop over the videos


Test Se1Main.java uses io.helidon.media.jsonp.common

After the MediaType flattening (PR #1899) the following test breaks:
$ grep -r --include "*.java" io.helidon.media.jsonp.common .
./tests/integration/native-image/se-1/src/main/java/io/helidon/tests/integration/nativeimage/se1/Se1Main.java:import io.helidon.media.jsonp.common.JsonpSupport;
Looks like this test is protected by the native-image profile and is not run by default  in the pipeline (so that's why the PR passed the pipeline).

fixed


upgrade to hyper 0.12, ..

.. extra:

optimizations around allocations,
Cosmos DB: changed PartitionKey API
EH sender embeds hyper client like other clients

This is amazing! The amount of work done to support hyper 0.12 is massive! Thank you!


feat: template init.lua autogeneration

Closes https://github.com/nvim-lsp/try.nvim/issues/5

Nice. I haven't had the time to work on that, so I appreciate that progress. I still would prefer to integrate a recompiling of the self-contained configs inside each dir on any changes. Probably by comparing hashes on every run of GHA.


CivitAI checkpoints?

Hi,
Is it possible to use civitAI models? I noticed the format of the models are from huggingface "user_name/model_name". How about if I want to add models from civit AI? I tried using one of my predownloaded model and edited the config with "home/user/path/to/model/juggernaut.safetensor (not the exact path)". It appeared in the selection but I got error saying the model is not supported or something. Are we only able to use the listed models? Thanks!

I am also at a loss to understand how I can use .safetensors for LORA and Models from external sources.
If I try and change the config .txt file, I see errors like:
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/.cache/huggingface/hub/models--somemodel--somemodel_3/refs/main'
If I put in a full path to a safetensors file, it will  have more than one / in the path and gets a different error because of that
It seems that we can maybe only use huggingface models? Or do I have to write some python to get e.g. 'somemodel' to work?
It may well be that I'm not understanding something here about how this works. I'm very new to SD because I thought, until now, that I couldn't run Stable Diffusion without a GPU. Yet here this project is :)

You need to use the diffusers model format eg : https://huggingface.co/stablediffusionapi/dreamshaper-v8/

@SmoothBrainApe @processor286  Lora support added you can use civitai lora models (.safetensors format)
Latest release: https://github.com/rupeshs/fastsdcpu/releases/tag/v1.0.0-beta.25
How to use lora models : https://github.com/rupeshs/fastsdcpu?tab=readme-ov-file#how-to-use-lora-models

Yaay, thanks a lot, that really safed my workflow. I really appreciate it. Continue like this :)

Am I reading correctly that fastsdcpu can now read safetensors for lora models but the base models still need to be in diffusers model format? If so is there an easy way to convert one to the other?


Skip validation

Could you include the option to skip validation when installing ? (providing this is not already what you do)
xip -x Xcode-14.0.1.xip`.
The -x switch skips the validation step

why would you want this?

I guess it was to speed things up, but honestly it's been so long I don't remember now... Anyways works fine as is for me.


fix inf/nan codegen

We were appending f to NAN and INFINITY constatns, and now we don't!
Constants taken from https://www.gnu.org/software/libc/manual/html_node/Infinity-and-NaN.html

Also would be good to add a test for operations on infs

Thanks!


Chaincode visible in user data

All api returning user data in the website backend is chaincode, we don't want that.

@lakshayman hey, Can you help me to understand this issue and project. So i can help to solve this bug.


Discord supports PKCE and requires it in mobile development

Using ARCTIC V2 I'm trying to use Discord provider in a React Native application using expo auth sessions.
Using PKCE mode I can redirect to native scheme URI myapp:// without PKCE it's not possible.
Could we implement PKCE in validation URL ?

Arctic provides utilites for web-based flows. When using apps, the auth flow usually goes with build id's of your app. Meaning, it is the app itself, not your backend, who gets an oauth2.0  JWT for the provider.
For example, with Google sign in, you would register the name of the app build, as well as the signing certificate of that build

Related: https://github.com/pilcrowonpaper/arctic/issues/208


chore: Updates to Go 1.23

Description
Updates to Go 1.23
Ticket: CLOUDP-276354
Type of change:

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

Required Checklist:

[x] I have signed the MongoDB CLA
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added any necessary documentation (if appropriate)
[x] I have run make fmt and formatted my code

Further comments

@gssbzn sorry I don't understand your comment in this context

if you change the version in the go.mod, consumers need to also update to 1.23 and we would drop support to 1.22 which we shouldn't

see, that's why I was asking AKO https://mongodb.slack.com/archives/C04N6N6KJUW/p1727769055935239

But consumers is not only AKO, see https://github.com/mongodb/atlas-sdk-go/network/dependents?package_id=UGFja2FnZS01MjgxMDY5MDM1


Fix bug in PartialMergeJoin

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Category (leave one):

Build/Testing/Packaging Improvement

Short description (up to few sentences):
Add perf test for partial merge join

No need to backport (bugfix in new fucntionality - it's not released yet)


Is the Snapshot feature out of date? Please clarify task as it is not available on Dashboards

In the tasks for the Solution Engineer you are requesting :
Once this is created, access the Dashboard from your Dashboard List in the UI:

Set the Timeboard's time frame to the past 5 minutes
Take a snapshot of this graph and use the @ notation to send it to yourself.

My issues with this task :
--> There is no snapshot functionality in Dashboards, Only the Metrics Explorer offers this feature.
--> It was unclear to me what 'this graph' was referring to. Reading it now again I see that you are referring the the "my_metrics with roll-up" which were created earlier.

I was pointed to the "Annotation" Feature. The Camera Icon is gone, but you can now select the Annotation Feature for a dropdown.


[Device Support Request] Siterwell GS361 (uses the tuya platform)

Is your feature request related to a problem? Please describe.
No support for Siterwell GS361 or essentials ESS-HK-TRV-6103 in zha (both are the same).
It's possible to pair such a device, but there are no entities to controll it.
Describe the solution you'd like
Support for the above mentioned TRVs
Device signature - this can be acquired by removing the device from ZHA and pairing it again from the add devices screen. Be sure to add the entire content of the log panel after pairing the device to a code block below this line.
[0x4a73:1:0x0400] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=104 command_id=Command.Report_Attributes>
[0x4a73:1:0x0400] ZCL request 0x000a: [[<Attribute attrid=0 value=<TypeValue type=uint16_t, value=20001>>]]
[0x4a73:1:0x0400] Attribute report received: measured_value=20001
Device 0x2d4f (08:6b:d7:ff:fe:c8:3f:a5) joined the network
[0x2d4f:zdo] ZDO request ZDOCmd.Device_annce: [0x2d4f, 08:6b:d7:ff:fe:c8:3f:a5, 128]
[0x2d4f] Requesting 'Node Descriptor'
Tries remaining: 2
[0x2d4f] Extending timeout for 0x3a request
[0x2d4f] Node Descriptor: <Optional byte1=2 byte2=64 mac_capability_flags=128 manufacturer_code=0 maximum_buffer_size=82 maximum_incoming_transfer_size=255 server_mask=11264 maximum_outgoing_transfer_size=255 descriptor_capability_field=0>
[0x2d4f] Discovering endpoints
Tries remaining: 3
[0x2d4f] Extending timeout for 0x3c request
[0x2d4f] Discovered endpoints: [1]
[0x2d4f:1] Discovering endpoint information
Tries remaining: 3
[0x2d4f] Extending timeout for 0x3e request
[0x2d4f:1] Discovered endpoint information: <Optional endpoint=1 profile=260 device_type=0 device_version=0 input_clusters=[0, 3] output_clusters=[3, 25]>
[0x2d4f] Extending timeout for 0x40 request
[0x2d4f:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=64 command_id=Command.Read_Attributes_rsp>
[0x2d4f:1] Manufacturer: _TYST11_jeaxp72v
[0x2d4f:1] Model: eaxp72v
Checking quirks for _TYST11_jeaxp72v eaxp72v (08:6b:d7:ff:fe:c8:3f:a5)
Considering <class 'bellows.zigbee.application.EZSPCoordinator'>
Fail because device_type mismatch on at least one endpoint
Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
Fail because endpoint list mismatch: {11, 13} {1}
Considering <class 'zhaquirks.lutron.lzl4bwhl01remote.LutronLZL4BWHL01Remote2'>
Fail because profile_id mismatch on at least one endpoint
Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
Fail because device_type mismatch on at least one endpoint
Considering <class 'zhaquirks.osram.a19twhite.A19TunableWhite'>
Fail because endpoint list mismatch: {3} {1}
Considering <class 'zhaquirks.philips.rom001.PhilipsROM001'>
Fail because device_type mismatch on at least one endpoint
Considering <class 'zhaquirks.philips.rwl020.PhilipsRWL020'>
Fail because endpoint list mismatch: {1, 2} {1}
Considering <class 'zhaquirks.philips.rwl021.PhilipsRWL021'>
Fail because endpoint list mismatch: {1, 2} {1}
Considering <class 'zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor'>
Fail because device_type mismatch on at least one endpoint
Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
Fail because device_type mismatch on at least one endpoint
Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
Fail because endpoint list mismatch: {232, 230} {1}
Considering <class 'zhaquirks.xbee.xbee_io.XBeeSensor'>
Fail because endpoint list mismatch: {232, 230} {1}
Considering <class 'zhaquirks.xiaomi.mija.smoke.MijiaHoneywellSmokeDetectorSensor'>
Fail because device_type mismatch on at least one endpoint
device - 0x2d4f:08:6b:d7:ff:fe:c8:3f:a5 entering async_device_initialized - is_new_join: True
device - 0x2d4f:08:6b:d7:ff:fe:c8:3f:a5 has joined the ZHA zigbee network
[0x2d4f](eaxp72v): started configuration
[0x2d4f:ZDO](eaxp72v): 'async_configure' stage succeeded
[0x2d4f] Extending timeout for 0x42 request
[0x2d4f] Extending timeout for 0x44 request
[0x2d4f:1:0x0000]: bound 'basic' cluster: Status.SUCCESS
[0x2d4f:1:0x0000]: finished channel configuration
[0x2d4f] Extending timeout for 0x46 request
[0x2d4f:1:0x0019]: bound 'ota' cluster: Status.SUCCESS
[0x2d4f:1:0x0019]: finished channel configuration
Ignoring message (b'09000100350404000102') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'09010100350404000102') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'09020100350404000102') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'090301003602020004000000d2') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'090401003602020004000000d2') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
[0x2d4f:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=70 command_id=Command.Read_Attributes_rsp>
Ignoring message (b'090501003602020004000000d2') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
[0x2d4f:1:0x0000]: initializing channel: from_cache: False
[0x2d4f:1:0x0000]: 'async_configure' stage succeeded
[0x2d4f:1:0x0019]: 'async_configure' stage succeeded
[0x2d4f](eaxp72v): completed configuration
[0x2d4f](eaxp72v): stored in registry: ZhaDeviceEntry(name='_TYST11_jeaxp72v eaxp72v', ieee='08:6b:d7:ff:fe:c8:3f:a5', last_seen=1595603349.5616336)
[0x2d4f] Extending timeout for 0x48 request
Ignoring message (b'09060100371201000101') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'09070100371201000101') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'09080100371201000101') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'09090100381401000101') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'090a0100381401000101') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'090b0100381401000101') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
[0x2d4f:1:0x0003] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=72 command_id=Command.Default_Response>
[0x2d4f:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: [64, <Status.UNSUP_CLUSTER_COMMAND: 129>]
[0x2d4f](eaxp72v): started initialization
[0x2d4f:ZDO](eaxp72v): 'async_initialize' stage succeeded
Ignoring message (b'090c0100390701000100') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
[0x2d4f] Extending timeout for 0x4a request
[0x2d4f:1:0x0019]: initializing channel: from_cache: False
Ignoring message (b'090d0100390701000100') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'090e0100390701000100') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'090f01003a1104000100') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'091001003a1104000100') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'091101003a1104000100') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'091201003b1304000100') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
[0x2d4f:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=74 command_id=Command.Read_Attributes_rsp>
[0x2d4f:1:0x0000]: initializing channel: from_cache: False
[0x2d4f:1:0x0000]: 'async_initialize' stage succeeded
[0x2d4f:1:0x0019]: 'async_initialize' stage succeeded
[0x2d4f](eaxp72v): power source: Battery or Unknown
[0x2d4f](eaxp72v): completed initialization
Ignoring message (b'091301003b1304000100') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'091401003b1304000100') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'091501003c0302000400000116') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'091601003c0302000400000116') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'091701003c0302000400000116') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'091801003d1502000400000064') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'091901003d1502000400000064') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'
Ignoring message (b'091a01003d1502000400000064') on cluster 61184: unknown endpoint or cluster id: 'No cluster ID 0xef00 on (08:6b:d7:ff:fe:c8:3f:a5, 1)'

Additional context
Support is available in zigbee2mqtt, which might help to get it working, see https://github.com/Koenkk/zigbee-herdsman-converters/pull/1120

I might be able to translate the zigbee2mqtt support into a quirk.

This devices is on my wish list then its have all the futures that i want and nice design.
Hope getting it integrated in ZHA and if possible more of the tuya TRV devices but this is my number one for the moment.

The quirk I would work would base off the work done in #530 so I suppose you'd have to wait until that one is merged. I can still upload a preliminary version here integrating the needed changes.

@MattWestb @saz can you test this branch to see if the valve seem usable ? As I do not have the device, I'm blindly translating things. In particular, I found two different places where the device is supported, and they do not agree on the meaning of two attributes: one thinks they report the states, the other thinks they enable/disable such reporting. I implemented the reporting (because otherwise I do not know how the reporting would be done).
Could you test when the "valve_state" attribute changes on the TuyaManufacturerCluster, and if writing to it does something sane or not ? Same for "window_open".

I'd love to, but I don't have a device laying around right now. :-(

@FrnchFrgg I have odred on 5 pack with GW that looks the same RC-290.zigbee if its is that we knowing in some day or you is getting little more code to do ;-)))

I have getting the TRVs and have starting installing them (need adapter for mounting) and using the original GW for testing. Waiting for your code being committed so being easier testing in my production system.


Prefix tables

Sorry, i search a way to define tables prefix dynamically for each connection.
Any idea to doing that properly?
Regards,

I would take a look at overriding the Query\Resolver. To use your new Resolver, you need to extend the Mapper and override the resolver method. Also, I think you would also need to override the table to add your prefix.

I just made an Base Entity inherited by all and just override table method (mode getter) and that seem to work.


Controller is dispose when State was Refreshed

I am trying to set up a countdown timer when state was refreshed, but it throwing an error and i'm not using void dispose();
How to fix it?

Sorry for the inactivity, I haven't been able to maintain the project during this time.
The package has been updated to address this issue.
I'll close this for now. If the problem continues, please let me know so I can reopen it.


Better stack trace error reporting and verbosity options for tests.

I spent quite some time trying to figure out a problem with my tests.  The only error I was getting was a timeout issue.  --stack didn't give anything meaningful.  It turned out to be a typo in the test code.
  Contract: Gold
    1) "before all" hook: redeploy before each contract

  Contract: GoldRegistry
    2) "before all" hook: redeploy before each contract

  0 passing (4m)
  2 failing

  1) Contract: Gold "before all" hook: redeploy before each contract:
     Error: timeout of 120000ms exceeded. Ensure the done() callback is being called in this test.

  2) Contract: GoldRegistry "before all" hook: redeploy before each contract:
     Error: timeout of 120000ms exceeded. Ensure the done() callback is being called in this test.

You should have the full stack now.