Generic Monitor Node and Support Libraries

Feature request
Description
Currently we have a number of issues that require fail over capabilities within nodes. Here are a few:

#102
#100
We also occasionally need to write new nodes which eventually will inevitably require fail over support:
#103

The schedule node already has a very strong fail over support through the use of a specialized monitor node. This is a good starting point for this new feature. There is also the stubborn_buddies library which enables basic fail over support through link time composition.
Implementation considerations
These are just some quick mental notes about this feature:

Do we want a specialized monitor node for each application or a single grand monitor node?
How do we encode the status of nodes that are actively running?

One alternative if we choose the "specialized monitor node per node type" approach is to have the current node publish on a status topic and the monitor read this status topic. When the node fails, we call some type of factory method to instantiate a new version of the node.

The pros of this method are that it is simple.
One con is that the status topic may get very large. In practice, I doubt that is the case with most of our use cases. However, its still prudent to consider this.
Another con is that every ros2 topic requires us to use a different Message type. This can become quite cumbersome to manage.

We could potentially just use a generic message and encode yaml strings in the message but this would be gross.
We could ignore this problem altogether and template<our<way<out<of<here>>>> .

Another alternative is to serialize the state to disk and pass the file path around.

The pros of this method are that it can handle large data and solves the problem of using a common ros message.
One con is that this isn't suited for distributed systems over the network. We may want our monitor node to be split between two machines.

Fail over capability of the monitor node itself. I think this should be fairly trivial to do with stubborn_buddies.
How do we launch the node across different machines? (Probably something we don't need to worry about just yet)
What will the API look like?

Should we have an abstract RestorableNode class which the node will inherit or should we use some other architecture.
Alternatively we could instantiate a MonitorNode<T> class where T refers to the status topic.

Another con is that every ros2 topic requires us to use a different Message type.

Is this sentence backwards? Every message type needs to be on its own topic, but we don't need each topic to use a different message type.

Hmm I think I meant "every node may have a different internal state leading to a proliferation of different message types."

Personally I'd like us to finish ad hoc fail-over implementations for at least three very different kinds of nodes before we start worrying too much about how to encapsulate all fail-over into one implementation. I have a pretty strong feeling that the needs for doing efficient and reliable fail-over will be so different between the different types of nodes that trying to encapsulate it all into one implementation may actually add complexity overall with little tangible benefit.
These questions are certainly good to keep in mind as we go forward, but I would avoid putting this goal on the roadmap until we have some more concrete fail-over implementations to account for besides just the schedule node.


dynamic input shape yunet model face detection

Is yunet face detection model supports dynamic input shape by using OpenCV??

Hello @erfansafaie , yes, with our code and model you can use various kinds of input scales for face detection. Note that you need to set input scale each time you do a inference on an image with a different input scale from the previous one:
https://github.com/opencv/opencv_zoo/blob/05fe0a4d797ad31848872f77e7ba8511bbaeb70f/models/face_detection_yunet/yunet.py#L49-L50
https://github.com/opencv/opencv_zoo/blob/05fe0a4d797ad31848872f77e7ba8511bbaeb70f/models/face_detection_yunet/demo.py#L96-L98


Update schema to use OBI v1.1

Digital Certificate Schema Improvements
Problem statement
The original goal was to update the digital certificate schema to use OBI v1.1 schema, which includes a JSON-LD schema. The intent was to make the digital certificates schema validate against OBI v1.1 and retrofit any differences as OBI extensions.
This goal turned out to be problematic, for reasons below, listed by increasing difficulty level:

Inconsistencies: the original digital certificates schema did not validate against previous versions of open badges (http://validator.openbadges.org/). These could be fixed with breaking changes, renames, etc. Some examples:

The digital certificates verify type "ECDSA(secp256k1)" is not allowed in the OBI format (only hosted and signed are permitted)
The image fields did not consistently use extensions (e.g. image:signature), causing conflicts when validating (OBI expects URLs to png files)
Types are renamed, e.g. OBI "badge" = our "certificate"

Structural mismatch: this is more problematic. Factors are:

In OBI v1.1 the objects (Assertion, BadgeObject, etc) are independently hosted and they reference each other with URIs. Our certificate format includes all objects in a single file
Switching to that structure would be a significant change to the digital certificates format, and works against the current ease of hashing/signing the entire certificate contents.
These changes are not possible as OBI extensions; it would involve changes to the obi schema.

Approach
After discovering the structural problems, I realized we needed a first step of keeping the original digital certificates schema (with minor modifications to very problematic fields). I relaxed the goal of making digital certificates schema an extension of OBI, and instead retrofitted our schema onto OBI by using its definitions where possible. It's now better anchored to OBI in the sense that we have clarity of how types map and where there are differences. This will help with future efforts to improve compatibility as well.
Changes
PR is here: https://github.com/digital-certificates/cert-schema/pull/8/files
I haven't updated the Markdown files yet. Will do before merging.
JSON LD
Created a context.json for digital certificates, which uses OBI definitions where possible. I use the model (same as OBI) of focusing on JSON LD for semantic context, and JSON schema for syntactic validation. This required updates to our JSON schema as well
JSON Schema
Reworked the schemas to rely on OBI schema types where possible and call out different types.
I separated into multiple schemas per object for manageability. Also made the schemas extensible, because why not?!
Changes to problematic fields

made language and evidence not required: we typically didn't use this field but didn't notice because we were not validating
cleaned up subtitle: the 'display' field didn't make sense to me. It seemed like a workaround for making this type optional. Instead viewer can check property is non-empty

Other goodness

used semantic versioning scheme
the previous "issuer" schema was for hosting the issuer keys -- independent from certificate types. I restructured and renamed this schema to issuer-keys for clarity.

Additional follow up needed
Audit cert-viewer, cert-store, and cert-verifier to see if any of these name changes require code changes. If so, ensure backward compatibility (todo)
Review this section carefully, digital-certs team
@1l2p @downie

I'm planning to change assertion 'uid' to specify a guid. This is better guidance that the Mongo/BSON description that's currently there for platform independence and contributing to uniqueness of certificates. Question: should we also validate against a guid format? I think yes.
OBI spec allows hashing of emails as identity. This is a best practice I believe we should use to improve privacy. Any objections?
I've decided to keep issuer keys as URIs instead of writing inline. The issuer key schema allows multiple keys to be listed, associated with different effective dates. I''m reviewing this schema to make sure it's clear. I'll follow up by publishing the details of this decision (factors, best practices, etc)

General schema review feedback encouraged
Feedback is especially encouraged from anyone familiar with JSON LD, JSON schema, and OBI schema. These changes are the fruit of a couple of mad days attempting to get up to speed in all of these, and it's possible these changes are not using best practices.

This all sounds good to me. I'm definitely a fan of the subtitle change -- wasn't sure why it had to be an object in the first place vs an optional property.
A quick question about versioning, since I'm seeing 1.1 in a number of places. Is it accurate to say that this is how the versions of the different formats are evolving together:
| Format  | Old Version  | New Version  |
|---|---|---|---|---|
| Certificates  | 1.1  | 1.2  |
| Badges  | 1.0  | 1.1  |
| uses JSON LD?  | ⛔ | ✅ |
To your questions:

guid sounds good. And yes, if we can figure out a guid format that we can validate somehow, that would be great. The weakness of simple JSON type validation is that so much data is just strings. So anything we can do to enforce the strings pass additional validation, the better.
👍 on hashing emails. The fallout of this is that a Consumer may find a certificate and would only know that someone is an MIT alum (for instance) but not who. That is, until the Recipient sends the Consumer the email used to generate that hash. Right?
I'm curious how hosted issuer keys impact the scenarios we've discussed. Seems like it puts a hard requirement on issuers to host some data, but it means they can host old, expired public keys for validation provided the validator checks the date range.

Great work!

Question: should we also validate against a guid format? I think yes. I agree. I think it was mainly out of convenience that we went with the Mongo solution.
OBI spec allows hashing of emails as identity. This is a best practice I believe we should use to improve privacy. Any objections? No ;-)
All looks good. Would love to hear Nate's comments on how to stay in sync with future OBI spec (as much as he knows what that will look like).
I think @JNazare was able to validate certificates against the old spec. Adding her here to confirm.

Thanks guys!
@downie: your versioning table is correct, and thanks for calling this out. Fyi, our own versioning was confusing because the file name said 1.1 but the file contents said v2. I want to make everything consistent before merging my PR. I'll paste your table somewhere very visible to clarify this.
On hashing emails -- that's correct. OBI examples include a representation of the hash used as well so others can duplicate the hash:
"identity": "sha256$c7ef86405ba71b85acd8e2e95166c4b111448089f2e1599f42fe1bba46e865c5"
On hosting expired keys, I still owe a writeup. It turns out our issuer key schema had structure to allow for this anyway, and it seems fairly lightweight for issuers that want to do it. More details coming.
@1l2p: I've been discussing with Nate on OBI slack. He said he would work with us so that we can converge in future versions. We're going to sync up in the next couple of weeks.
Regarding validating against the old spec -- we are very close to matching it. There were some trivial issues such as our use of embedded images vs links. The only significant issue was out validation type. I think the changes described in #9 will allow us to fix this problem.

@kimdhamilton I've got little snippets of time over the next couple days so I can't respond to everything here in one go. First thought is:

The digital certificates verify type "ECDSA(secp256k1)" is not allowed in the OBI format (only hosted and signed are permitted)
Yes, you should use "signed" here. We could talk about introducing an additional property to describe the signing algorithm, but in the JOSE spec the Open Badges community uses for signing, the alg is specified in the header of the delivered signed document itself, not in the body of the assertion.

@ottonomy: Sorry, I described the signing changes in a different issue: https://github.com/digital-certificates/cert-schema/issues/9
Sounds like we are saying the same thing. I'll update this issue to more clearly link to #9

Addressed with PR #8. Will address additional OBI compliance issues in schema version 1.3


One test case is faulty

Challenge Check for Palindromes has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

function palindrome(str) {
  // Good luck!
  str = str.replace(/[^a-zA-Z]/gi, '');
  str = str.toLowerCase();
  strRev = str.split('');
  strRev = strRev.reverse();
  strRev = strRev.join('');

  if(strRev === str ){
    return true;
  }
  return false;

}

palindrome("eye");

I believe the test case "palindrome("1 eye for of 1 eye.") should return false." is faulty and should rather return true. After removing the spaces and digits and any other characters other than alphabets the string becomes : "eyeforofeye" which is a palindrome.

It's supposed to be alpha numeric characters that should be preserved-- my bad.


how to use with pfc

Not an issue, but I'm a little confused how to use ssu with pfc.  I got as far as setting ssu_support in financial_insts, but it just doesn't seem to work.
What a I missing?
Thanks so much

@smiggly: Can you explain exactly what isn't working?

Sorry, I am using Ubuntu Server 11.04.  I followed the directions at https://github.com/wesabe/mesabe/wiki/Mesabe-DIY to install, and have it working fine, able to upload ofx and everything, just missing ssu.
I tried to install ssu, so I put in in the same directory with everything else.  I tried to add an account (Bank of America & Citi), but it just went straight to uploading ofx, I did recompile pidhelper because it didn't urn, I also updated the db to set ssu_support for Bank of America, now I get asked for a user/pass, but when I click connect, I get sent back to the login screen, and see this error.
Started POST "/credentials" for <IP_ADDRESS> at Tue Oct 18 11:01:54 -0500 2011
Processing by AccountCredsController#create as
Parameters: {"fi"=>"com.bankofamerica", "creds"=>"[FILTERED]"}
*** [check_authentication] no current user; current_user: nil
Redirected to http://<IP_ADDRESS>:3000/login
Completed 302 Found in 262ms
I am using Xvfb, which works when running the server and client.  I also tried running it on my desktop which has X installed, but it did the same thing, so I don't think that's the problem, but if you think this may be the problem, I will setup the server with X to make sure I can see what's going on.  I have tried running the ssu server first, and without running it (As I understand pfc should start it?) it does the same thing both ways.
So my question is what steps do you need to do to get ssu working with PFC?  Any configuration file changes?  Do I need to run anything?  Do I need to set ssu_support for banks that should use ssu?  Anything else?
Thanks so much.


Timestamp server authentication

Hi,
First of all thank you for your work. This library is great!
We need to sign our PDFs with a timestamp provided by a timestamp server that requires basic access authentication. I don't think this is possible now but we'd like to help implementing it.
I was thinking on adding a new optional parameter to the function:
def sign(
    datau, udct, key, cert, othercerts, algomd="sha1", hsm=None, timestampurl=None
):

Would be this ok with you?

Merged, thanks for the patch :)


Move jquery-mockjax from bower dependency to npm dependency?

Hi, @danielspaniel!
Have you already considered moving jquery-mockjax from being a bower dependency to an npm dependency? jquery-mockjax is the last vestige of bower that I have left in my project. Considering the Ember community seems to be moving away from bower, I was curious if you've thought about it already.
Is it a matter of getting the time to work on it? Or are there some blockers I'm unaware of? I might be able to take a crack at it if the answer is the former instead of the latter. Thanks!

Sure thing @mblayman .. if you can make it work, I am up for it.


Dose the code support multiple GPUs

Thanks for you sharing the codes!
In your codes, I cannot find the setting of GPU number, does the code support multiple GPUs?

@lapvision , did you get it to run on multiple GPUs? If so, how?


Issue #259 fix typo

#259
##Why is this happening?
There was a misspelling in the method name for TTS synthesize.
##How was this fixed?
By renaming the method and maintaining the deprecated method by injecting the new one as the callee.

I have read the CLA Document and I hereby sign the CLA

The PR looks good to me. Merging.
Thanks!


terminal is crashed when build android.

Hello.
This project is amazing!
I really want to run my android device. but i have a problem.
when i make by below command, my ubuntu terminal is crashed.
make -j
I used ubuntu 22.04.
When it reached 31%, PC is stoped few minutes and suddenly closed terminal.
Could you tell me what is problem? and how can i build this?

make -j4  you can try

Cool!


fix: JB-499 - Increase Activity heading size to 24px to match other tabs

What does this PR do and why?
Closes JB-499
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] (if relevant) I have tested this PR in all supported browsers.
[ ] (if relevant) I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #3777

PR #3778

PR #3779

PR #3780

PR #3781   👈

This comment was auto-generated by Graphite.

@wraeth-eth started a stack merge that includes this pull request via Graphite.

Graphite rebased this pull request as part of a merge.

@wraeth-eth merged this pull request with Graphite.


Problem downloading symbols

Hi everyone,
I've just created a docker with the last releas of BC, with this command:
New-BCContainer -accept_eula -containerName BeteaBC -auth NavUserPassword -imageName "mcr.microsoft.com/businesscentral/onprem:es" -UpdateHosts -includeAL
.Seems that everything is correct, but when I create a new project, and try to download the symbols, I get this error:

I'm quite lost with all this changes...
Any hint? May be I should cvreate the Container in another way??
Thank you all

did you install the new .vsix in VS Code?

Also you are requesting symbols on localhost / BC150
localhost is not a docker container and BC150 is not the serverinstance on docker.
You would have to specify BeteaBC as server name and BC as serverinstance in launch.json

Sorry Freddy, I forgot to change the launch.json.... Thank you!!


HTTP/2 examples run script support

Motivation:
The example script has some changes that have not yet been backported.  These changes should be backported.
Modifications:
run-example.sh changes related to http/2 are backported
Result:
HTTP/2 examples can be run on the 4.1 branch.

@nmittler @buchgr - Should be trivial.

@Scottmitch +1 ... Please cherry-pick

LGTM

Cherry picked into 4.1 (d94eab7)


[Improvement] Double cursors on Windows Terminal

Description of the problem or steps to reproduce
Start Windows Terminal, then start micro, then press CTRL+E, and you'd see two cursors. THe first darker is the micro's one and the second one blinking is the Windows Terminal's cursor. The WT cursor always follows last render position of micro's cursor.

Specifications
I'd expect the WT's cursor got hidden as same as in micro hosted by cmd.exe or ConEmu.
Version: 2.0.0-rc3.93
Commit hash: 63046ae
Compiled on February 10, 2020
OS: Windows 10
Terminal: Windows Terminal (Preview) Version: 0.8.10261.0

I've tinkered with this a bit and can't seem to find a solution. It seems like this is a problem with the Windows Terminal and not micro (especially since this problem doesn't exist on cmd.exe or ConEmu). No matter how many times I disable the cursor it continues to draw it...

ok, I'll try to open an issue at the Windows Terminal project. Can you advise which sequences or methods Micro uses to disable the cursor, so I can include it as a reference?

I believe the way this works in tcell is that it makes a call to SetConsoleCursorInfo in kernel32.dll with a cursor info struct where the visible field is set to 0.

Perhaps, this issue is the closest to https://github.com/microsoft/terminal/issues/4124
The terminal's behavior is closer to VT's based terminals and understands more VT sequences than the legacy "conhost". Could you try to send also a VT sequence to disable/hide the cursor?

The double cursor disappered with Windows Terminal 0.11.1121.0 and Micro-2.0.4-dev.7.

Thank you for the great work on this great editor. Please, keep the ball rolling.


bootstraph.sh: Fail early if go get fails.

Recently, we saw some Travis failures because not all Go dependencies
were successfully 'go get'd. However, the test run didn't stop early and
instead it was difficult to find out the original reason for the test
failure. This commit will make it easier to find out when the bootstrap
flaked and the test simply has to be restarted.
@enisoc @alainjobart

LGTM


Retrieve extrinsics for a certain block

Since Datalog stores only 128 records, sometimes it's needed to extract extrinsics by block hash.
https://github.com/polkascan/py-substrate-interface#retrieve-extrinsics-for-a-certain-block

5073ca7ec7449c568f15394cb77c644e9fee6ed0


Creating SVG files

Im having trouble creating my own SVG files to use in ofxLaser, I try to make some basic shapes in inkscape, but I can seem to get any of them to display in ofxLaser. Are their any special requirments for the SVG`s to be imported properly?

just saw this https://github.com/sebleedelisle/ofxLaser/issues/35 Will try to see if I can export to svgtiny profile

May I ask which software you used to create the svg frames in the animation example? I have not found any software oher then adobe animate that can export frames to seperate svgs.. And since I`m on linux I can use adobe animate..

I used Adobe Animate with a super flaky SVG export plug-in. I wouldn't
recommend it. There are slim pickings for vector animation software
unfortunately, but I did have some luck with Keyshape (Mac only I think,
sorry). I would investigate SVG exports from Blender. Or you could see if
there are any animation plugins/capabilities for Inkscape. Let me know how
you get along!
Seb
On Wed, 20 Sept 2023 at 15:01, yiids @.***> wrote:

Reopened #39 https://github.com/sebleedelisle/ofxLaser/issues/39.
—
Reply to this email directly, view it on GitHub
https://github.com/sebleedelisle/ofxLaser/issues/39#event-10423706388,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA3CERRRFV54XYRFDOMCRLX3LZK5ANCNFSM6AAAAAAWOP2Y2Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

There's some more background in this video https://www.youtube.com/watch?v=U4D0wJNYtWs


BigTable: Fixing system test

Fixing the system test 'test_create_table_with_split_keys'

@aneepct, @zakons, rebase on master.  There are too many commits in this PR.

Given the number of commits in this PR, I raised #5607 instead.  I'm closing this PR.  Let's discuss git development workflows offline.

@sduskis okay forked repository having issues. These commits are ahead from main repository


[ko] Translate content\en\docs\tasks\extend-kubernetes\http-proxy-access-api into Korean

This is a Feature Request
What would you like to be added
Translate content/en/docs/tasks/kubelet-credential-provider/kubelet-credential-provider.md into Korean
◾ Page: https://kubernetes.io/docs/tasks/extend-kubernetes/http-proxy-access-api/
◾ File: https://github.com/kubernetes/website/blob/dev-1.24-ko.3/content/en/docs/tasks/extend-kubernetes/http-proxy-access-api.md
Why is this needed
Not translated yet

/language ko
/assign

@Seo-yul 감사합니다!
/triage accepted

Resolved by

#36505
#36804
#36810

/close


[Sample Onboard Request] Excel-Add-in-ChartAPI-Anylysis-Data

Owner:
XuanZhouMSFT
ID:
Excel-Add-in-ChartAPI-Anylysis-Data
Title:
Using chart API to analyse data
Description:
The sample add-in demonstrates Excel add-in capablities to help users using chart API to analyse data.
Tags:
"TS", "Chart", "Excel", "Office Add-in"
Time:
5mins to run.
Configuration:
Ready for local debug
Thumbnail:
https://github.com/OfficeDev/Office-Samples/tree/main/Excel-Add-in-ChartAPI-Anylysis-Data/assets/thumbnail.png
(Optional) Demo GIF:
https://github.com/OfficeDev/Office-Samples/tree/main/Excel-Add-in-ChartAPI-Anylysis-Data/assets/sampleDemo.gif
(Source code in this Repo) Source Code PR:
Code in another Repo
(Source code NOT in this Repo) Sample URL:
https://github.com/OfficeDev/Office-Samples/tree/main/Excel-Add-in-ChartAPI-Anylysis-Data/
(Optional) Minimum Teams Toolkit Version:
Teams Toolkit version requirement to run the sample - minimum version
(Optional) Maximum Teams Toolkit Version:
Teams Toolkit version requirement to run the sample - maximum version

Suggest the following update to this sample README file:

Give a title to this README file.
Do not use name :"M365 Toolkit". Remove keyword: M365. Just use "Teams Toolkit"
The command name keep consistent with screenshot (or update your screenshot):

updated

[like]  Xuan Zhou reacted to your message:

From: Herman Wen @.>
Sent: Thursday, March 21, 2024 7:09:23 AM
To: OfficeDev/TeamsFx-Samples @.>
Cc: Author @.***>
Subject: Re: [OfficeDev/TeamsFx-Samples] [Sample Onboard Request] Excel-Add-in-ChartAPI-Anylysis-Data (Issue #1216)
updated
—
Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/TeamsFx-Samples/issues/1216#issuecomment-2011350289 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHZG6N7OZMB6UY4XSKIWS23YZKBSHBFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVI3DOMRQGY2DKNRZGCSG4YLNMWUWQYLTL5WGCYTFNSWHG5LCNJSWG5C7OR4XAZNMJFZXG5LFINXW23LFNZ2KM5DPOBUWG44TQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKJTGQ4DEOBYGE2DDAVEOR4XAZNFNFZXG5LFUV3GC3DVMWVDEMJZGY2TMMBTGQ4YFJDUPFYGLJLMMFRGK3FFOZQWY5LFVI3DOMRQGY2DKNRZGCTXI4TJM5TWK4VGMNZGKYLUMU.
You are receiving this email because you authored the thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


add the list of outputs for falcosidekick

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

/kind event

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area community

What this PR does / why we need it:
Add the list of available outputs in falcosidekick
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Issif
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [Issif]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Issif, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [Issif,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 625348934be75bb1393f45c474b16f7c8b342571


[apply] AWS/RedHat/flannel - application replicas not talking to each other

RabbitMQ/KeyCloak deployments do not seem to be clustered. After rescaling with command kubectl scale --replicas=xxx everything works fine. Probably some restart is needed for kubelet service.

queue                  rabbitmq-cluster-0                                                          0/1     CrashLoopBackOff   17         68m
[ec2-user@ec2-35-181-49-111 ~]$ kubectl logs rabbitmq-cluster-0 -n=queue

  ##  ##
  ##  ##      RabbitMQ 3.7.10. Copyright (C) 2007-2018 Pivotal Software, Inc.
  ##########  Licensed under the MPL.  See http://www.rabbitmq.com/
  ######  ##
  ##########  Logs: <stdout>

              Starting broker...
2020-04-03 08:29:00.163 [info] <0.211.0>
 Starting RabbitMQ 3.7.10 on Erlang 21.2.3
 Copyright (C) 2007-2018 Pivotal Software, Inc.
 Licensed under the MPL.  See http://www.rabbitmq.com/
2020-04-03 08:29:00.168 [info] <0.211.0>
 node<EMAIL_ADDRESS> home dir       : /var/lib/rabbitmq
 config file(s) : /etc/rabbitmq/rabbitmq.conf
 cookie hash    : LHdDZeqDJjd4t89pwS5zHg==
 log(s)         : <stdout>
 database dir<EMAIL_ADDRESS>2020-04-03 08:29:01.534 [info] <0.219.0> Memory high watermark set to 1864 MiB<PHONE_NUMBER> bytes) of 3729 MiB<PHONE_NUMBER> bytes) total
2020-04-03 08:29:01.538 [info] <0.221.0> Enabling free disk space monitoring
2020-04-03 08:29:01.538 [info] <0.221.0> Disk free limit set to 50MB
2020-04-03 08:29:01.541 [info] <0.224.0> Limiting to approx 1048476 file handles (943626 sockets)
2020-04-03 08:29:01.541 [info] <0.225.0> FHC read buffering:  OFF
2020-04-03 08:29:01.541 [info] <0.225.0> FHC write buffering: ON
2020-04-03 08:29:01.542 [info] <0.211.0> Node database directory at<EMAIL_ADDRESS>is empty. Assuming we need to join an existing cluster or initialise from scratch...
2020-04-03 08:29:01.542 [info] <0.211.0> Configured peer discovery backend: rabbit_peer_discovery_k8s
2020-04-03 08:29:01.542 [info] <0.211.0> Will try to lock with peer discovery backend rabbit_peer_discovery_k8s
2020-04-03 08:29:01.542 [info] <0.211.0> Peer discovery backend does not support locking, falling back to randomized delay
2020-04-03 08:29:01.542 [info] <0.211.0> Peer discovery backend rabbit_peer_discovery_k8s does not support registration, skipping randomized startup delay.
2020-04-03 08:29:09.545 [info] <0.211.0> Failed to get nodes from k8s - {failed_connect,[{to_address,{"kubernetes.default.svc.cluster.local",443}},
                 {inet,[inet],nxdomain}]}
2020-04-03 08:29:09.545 [error] <0.210.0> CRASH REPORT Process <0.210.0> with 0 neighbours exited with reason: no case clause matching {error,"{failed_connect,[{to_address,{\"kubernetes.default.svc.cluster.local\",443}},\n
 {inet,[inet],nxdomain}]}"} in rabbit_mnesia:init_from_config/0 line 164 in application_master:init/4 line 138
2020-04-03 08:29:09.546 [info] <0.43.0> Application rabbit exited with reason: no case clause matching {error,"{failed_connect,[{to_address,{\"kubernetes.default.svc.cluster.local\",443}},\n                 {inet,[inet],nxdomain}]}"} in rabbit_mnesia:init_from_config/0 line 164
{"Kernel pid terminated",application_controller,"{application_start_failure,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{{case_clause,{error,\"{failed_connect,[{to_address,{\\"kubernetes.default.svc.cluster.local\\",443}},\n
              {inet,[inet],nxdomain}]}\"}},[{rabbit_mnesia,init_from_config,0,[{file,\"src/rabbit_mnesia.erl\"},{line,164}]},{rabbit_mnesia,init_with_lock,3,[{file,\"src/rabbit_mnesia.erl\"},{line,144}]},{rabbit_mnesia,init,0,[{file,\"src/rabbit_mnesia.erl\"},{line,111}]},{rabbit_boot_steps,'-run_step/2-lc$^1/1-1-',1,[{file,\"src/rabbit_boot_steps.erl\"},{line,49}]},{rabbit_boot_steps,run_step,2,[{file,\"src/rabbit_boot_steps.erl\"},{line,49}]},{rabbit_boot_steps,'-run_boot_steps/1-lc$^0/1-0-',1,[{file,\"src/rabbit_boot_steps.erl\"},{line,26}]},{rabbit_boot_steps,run_boot_steps,1,[{file,\"src/rabbit_boot_steps.erl\"},{line,26}]},{rabbit,start,2,[{file,\"src/rabbit.erl\"},{line,815}]}]}}}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{{case_clause,{error,"{failed_connect,[{to_address,{\"kubernetes.defau

Crash dump is being written to: /var/log/rabbitmq/erl_crash.dump...done

@przemyslavic can you update title and description of this bug? Title is saying about AWS/RedHat/flannel and description about RabbitMQ/KeyCloak. Can you describe in points what are you doing (steps to reproduce)?

@to-bar @ar3ndt  can you check if that is related to #1395

RabbitMQ part is being handled in #1395

I've been trying to reproduce this issue for Keycloak for 2 days without any luck. We are not sure if this one is a real thing, because nobody recollects seeing it happen.
This is what I've been seeing consitently in logs (for 3 replicas in this case):
12:02:56,955 INFO  [org.infinispan.CLUSTER] (remote-thread--p13-t5) [Context=work] ISPN100010: Finished rebalance with members [as-testauthdb-0, as-testauthdb-1, as-testauthdb-2], topology id 7

We think it's possible it got "added" to the description of the RMQ issue by mistake.
The related RMQ issue https://github.com/epiphany-platform/epiphany/issues/1395 is for sure real, which makes me think it's not really k8s related, but more of a something specific to RMQ itself.
Closing for now.


Sending multiple Push APNS

Hi, sorry to bother, but i can't seem to be able to send multiple push notifications via APNS.
here is the code.
def sendIos()
  toPush = getAllPush('ios')
  if toPush.count >= 1
    APNS.start_persistence
    send = []

    toPush.each_with_index do |p, i|
      if p["token"].length == '64'.to_i
        puts 'sending IOS'
        send << APNS::Notification.new(p["token"], :alert => p["text"], :sound => p["sound"])
        deletePush(p["id"])
      else
        deletePush(p["id"])
      end
    end

    APNS.send_notifications(send)
    APNS.stop_persistence
  end
end

i have no error, the code it acts like if it sent the push without a problem. but i have both devices on my hand, and none of them gt the push notification, now if ther is only one push on the send array, then it works, but if there is more than one push on the array, then it dont work at all. can you plis help me?? thanks

Hi @yairvillar ,
Did you success to send 1000 push to APNS?
I saw this error message "Errno::ECONNRESET: Connection reset by peer" when I try to send only about 200 devices. :disappointed:
I ask you this question because I want to find the correct number to divide the notifications before send them.
Thanks!


VectorQuantizedVAE2

In the reproduce function of VQ-VAE-2, you use VectorQuantizedVAE rather than VectorQuantizedVAE2.

Good catch, thanks!


Unable to install Integration: Config flow could not be loaded: {"message":"Invalid handler specified"}

Version of the custom_component

Configuration

2024-03-21 17:13:24.661 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.midea_dehumidifier_lan.config_flow
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1025, in _load_platform
    cache[full_name] = self._import_platform(platform_name)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1058, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "", line 1387, in _gcd_import
  File "", line 1360, in _find_and_load
  File "", line 1310, in _find_and_load_unlocked
  File "", line 488, in _call_with_frames_removed
  File "", line 1387, in _gcd_import
  File "", line 1360, in _find_and_load
  File "", line 1331, in _find_and_load_unlocked
  File "", line 935, in _load_unlocked
  File "", line 995, in exec_module
  File "", line 488, in _call_with_frames_removed
  File "/config/custom_components/midea_dehumidifier_lan/__init__.py", line 31, in
    from midea_beautiful.lan import LanDevice
  File "/usr/local/lib/python3.12/site-packages/midea_beautiful/__init__.py", line 7, in
    from midea_beautiful.lan import LanDevice, appliance_state
  File "/usr/local/lib/python3.12/site-packages/midea_beautiful/lan.py", line 13, in
    from midea_beautiful.appliance import Appliance
  File "/usr/local/lib/python3.12/site-packages/midea_beautiful/appliance.py", line 8, in
    from midea_beautiful.command import (
  File "/usr/local/lib/python3.12/site-packages/midea_beautiful/command.py", line 17, in
    _order_lock = RLock()
                  ^^^^^^^
  File "/usr/local/lib/python3.12/multiprocessing/context.py", line 73, in RLock
    return RLock(ctx=self.get_context())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/multiprocessing/synchronize.py", line 194, in __init__
    SemLock.__init__(self, RECURSIVE_MUTEX, 1, 1, ctx=ctx)
  File "/usr/local/lib/python3.12/multiprocessing/synchronize.py", line 57, in __init__
    sl = self._semlock = _multiprocessing.SemLock(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 30] Read-only file system
2024-03-21 17:13:24.664 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration midea_dehumidifier_lan: Exception importing custom_components.midea_dehumidifier_lan.config_flow

Describe the bug
Downloaded via HACS.
Tried to install:

The issue persists after multiple restarts of home assistant and the host machine. I also tried changing the installed version of this integration and fully removing it. Nothing seems to help.
Debug log

Logger: homeassistant.loader
Source: loader.py:1025
First occurred: 5:13:06 PM (4 occurrences)
Last logged: 5:14:53 PM

Unexpected exception importing platform custom_components.midea_dehumidifier_lan.config_flow
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1025, in _load_platform
    cache[full_name] = self._import_platform(platform_name)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1058, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/config/custom_components/midea_dehumidifier_lan/__init__.py", line 29, in <module>
    from midea_beautiful.cloud import MideaCloud
  File "/usr/local/lib/python3.12/site-packages/midea_beautiful/__init__.py", line 7, in <module>
    from midea_beautiful.lan import LanDevice, appliance_state
  File "/usr/local/lib/python3.12/site-packages/midea_beautiful/lan.py", line 13, in <module>
    from midea_beautiful.appliance import Appliance
  File "/usr/local/lib/python3.12/site-packages/midea_beautiful/appliance.py", line 8, in <module>
    from midea_beautiful.command import (
  File "/usr/local/lib/python3.12/site-packages/midea_beautiful/command.py", line 17, in <module>
    _order_lock = RLock()
                  ^^^^^^^
  File "/usr/local/lib/python3.12/multiprocessing/context.py", line 73, in RLock
    return RLock(ctx=self.get_context())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/multiprocessing/synchronize.py", line 194, in __init__
    SemLock.__init__(self, RECURSIVE_MUTEX, 1, 1, ctx=ctx)
  File "/usr/local/lib/python3.12/multiprocessing/synchronize.py", line 57, in __init__
    sl = self._semlock = _multiprocessing.SemLock(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 30] Read-only file system

Also of note is that the other integration isn't configured yet and I had this error before it was installed.

i ve the same problem since 2 week....
"Invalid Handler Specified"
any update to correct this ?

I ended up going with Midea AC Lan for my cube dehumidifier instead. After some minor tweaks it's working.
Shame I couldn't use this more featured library but it is what it is.

I'm also having the same problem. It looks like the most recent update to CORE may have broken this??  I am restoring back to 2.5 now to see if that fixes it.

I'm also having the same problem. It looks like the most recent update to CORE may have broken this?? I am restoring back to 2.5 now to see if that fixes it.

Restoring did not fix the problem! :(

"Midea AC LAN" seems to work fine - discovering both AC unit's that I have so I have switched over to it instead of this integration - for those having the same problem.

"Midea AC LAN" seems to work fine - discovering both AC unit's that I have so I have switched over to it instead of this integration - for those having the same problem.

Of note is that Midea AC LAN is using some depreciated code and will stop working in Jan.

"Midea AC LAN" seems to work fine - discovering both AC unit's that I have so I have switched over to it instead of this integration - for those having the same problem.

Of note is that Midea AC LAN is using some depreciated code and will stop working in Jan.

Oh great! Then nothing will work unless either of which are updated. I'm not holding my breath! Ugh

I'm afraid it's the same issue as is being discussed here https://github.com/nbogojevic/homeassistant-midea-air-appliances-lan/issues/134 , the integration needs to be re-written after a change in Docker CE (this is the real root cause of why all of a sudden this stopped working and why a downgrade in e.g. Home Assistant doesn't solve it).

"Midea AC LAN" seems to work fine - discovering both AC unit's that I have so I have switched over to it instead of this integration - for those having the same problem.

Of note is that Midea AC LAN is using some depreciated code and will stop working in Jan.

Oh great! Then nothing will work unless either of which are updated. I'm not holding my breath! Ugh

Good news, looks like the depreciated code is being addressed. So that one should keep working.

Seems to be solved in version 0.9.4!

Great! I see the update now! Thanks!


Delta not showing up

Hi everyone,
I have been trying to implement React Quill in my project but can't seem to get it working 100%.
To be honest I don't think these are bugs, but more my lack of knowledge about Quill.

I can't seem to console.log(delta)
How can I display the content of my Quill in my preview window without the html tags?

This is my code:
`
import ReactQuill from 'react-quill';
export default class AddSpark extends Component {
constructor(props) {
super(props);
this.onChange = this.onChange.bind(this);

this.state ={
  content: '',
};

}
onChange(html) {
this.setState ({ content: html });
console.log(html)
}
render() {
const events = {
'text-change': delta => {
console.log(delta)
}
}
return (

  <Col xs={12} md={6}>
    <form ref={(input) => this.sparkForm = input} onSubmit={(e) => this.createSpark(e)}>

        <ControlLabel>Select your city</ControlLabel>
        <select id="formControlsCity" placeholder="Choose your city" onChange={this.onChange} className="form-control" onClick={ moreOptions } ref={(input) => this.city = input}>
          <option value="select">Choose your city</option>
          <option value="Beijing">Beijing</option>
          <option value="Shanghai">Shanghai</option>
          <option value="Chengdu & Chongqing">Chengdu & Chongqing</option>
        </select>

        <ControlLabel>Select your person</ControlLabel>
        <select id="formControlsPerson" placeholder="Choose your person" className="form-control" ref={(input) => this.person = input}>
          <option value="select">First select your city</option>
        </select>

        <ControlLabel>Select your location</ControlLabel>
        <select id="formControlsLocation" placeholder="Choose your location" className="form-control" ref={(input) => this.location = input}>
          <option value="select">First select your city</option>
        </select>

        <ControlLabel>Title</ControlLabel>
        <input type="text" label="Title" placeholder="Enter your title" className="form-control" ref={(input) => this.title = input}/>

        <ControlLabel>Content</ControlLabel>

            <ReactQuill
              theme="snow"
              ref='editor'
              onChange={this.onChange}
              events={events} />

      <Button type="submit">Submit</Button>
    </form>
  </Col>
  <Col xs={12} md={6}>

Preview

        {this.state.content}
  </Col>

)}
}
`

You need to set the value of the editor if you want it to be a controlled input (value={this.state.html})
you would either want to strip the HTML tags with another library, or override the CSS to make all the classes appear as plain text in your preview area
See the README for basic and advanced configuration options: https://github.com/zenoamaro/react-quill#use-it-straight-away

Also, it looks like you are trying to register the event listener on the Quill instance, so you need to use the API provided for that by Quill: http://quilljs.com/docs/api/#text-change


Liveshare debugger does not respect DAP continued event

Describe what happened: Testing the  upcoming vscode debugger with liveshare, running the "pretty print" command does not move the guest session into the new pretty printed script.
What was your system configuration?
Product and Version [VS/VSCode]: VS Code, 1.46.0-insider 2020-05-11T10:00:12.459Z
OS Version[macOS/Windows]: Windows_NT x64 10.0.18363
Live Share Extension Version: v1.0.2106
Target Platform or Language [e.g. Node.js]: Node 12
Steps to Reproduce / Scenario:

Debug a Node.js script using the upcoming vscode debugger
Pause/break in a file. Then, run the pretty print for debugging
The host session correctly moves into ${originalname}-pretty.js (with formatting changes, depending whether or not the script was already formatted. However, the guest session doesn't.
Stepping works correctly.

The request sequence that happens is:

The UI requests that the debug adapter pretty print a source, using a custom message.
{
  "command": "prettyPrintSource",
  "arguments": {
    "source": {
      "path": "c:\\Users\\Connor\\Documents\\Github\\vscode-js-debug\\node_modules\\micromatch\\index.js",
      "sourceReference": 0
    },
    "line": 27,
    "column": 2
  },
  "type": "request",
  "seq": 34
}

The debug adapter does some stuff behind the scenes, loading a new 'source' with the pretty printed contents. It then sends a quick continued event:
{
  "seq": 213,
  "type": "event",
  "event": "continued",
  "body": {
    "threadId": 0,
    "allThreadsContinued": false
  }
}

Followed by a stop.
{
  "seq": 227,
  "type": "event",
  "event": "stopped",
  "body": {
    "reason": "pause",
    "description": "Paused on debugger statement",
    "threadId": 0,
    "allThreadsStopped": false
  }
}

In code we call this "refreshing" the stacktrace, which we use to get the UI to take another look at the call stack. However, it seems that live share ignores the continued event (if I omit the following "stopped", the guest session remains paused at the breakpoint indefinitely). We also use this process when updating the skip files at runtime.
Please attach logs to this issue:
https://memes.peet.io/img/pretty-print-logs.zip
Screenshots
If applicable, add screenshots to help explain your problem.

@Davsterl why was this closed?

seems to work now


Panning using space click and mouse click isn't working, fixed it

after the introduction of panning using keyboard space click the delete button wan't working which was fixed by PR #46, but after this PR panning using space click isn't working.
how to reproduce the issue: try panning using space key and mouse click, it doesn't pan
Here's a ScreenCast showcasing the problem and the solution
Screencast from 19-05-24 04:59:49 PM IST.webm
The issue here is that the canvas isn't getting focused, so added tabIndex = 0 to the canvas object which fixes this issue

@a-khushal  Hi , everything works greate , but there is one issue with the undo and redo , have a look :
https://github.com/dhruvpatidar359/nextdraw/assets/103873587/a9844d3c-3886-4650-8d12-60ebc99ed100
Both the text and the color disappear simultanously . This is because , these two changes are included in the same state , we have to create this in two different states .

Alright, will work on it

@dhruvpatidar359 I have added layers to the same branch. Here's a screencast
Screencast from 06-06-24 11:36:47 PM IST.webm

@dhruvpatidar359 I have added layers to the same branch. Here's a screencast showing the working of layers Screencast from 06-06-24 11:36:47 PM IST.webm

Now how do I get assigned the issue under GSSOC, it's level3 also since I have pushed to the same PR

@a-khushal  I am impressed with this , just two things to consider more .
Please put this into another PR , not in the same PR . We have to track each individual PR separate .
second is there are some issues with the implementation .
Have a look : Again the Work is awesome .
https://github.com/dhruvpatidar359/nextdraw/assets/103873587/08143b10-417b-42ad-92d8-97f8669854cb

@dhruvpatidar359 please refer #76 this solves layers and the above shown issue


formData null

When I try to send the file(s) the formData FormData {} goes null to the API

I will take a look! Thanks!

Where is formData null? Is it null when it hits the backend? Or somewhere in the Angular code?

I will look my code again and reply you, thanks and sorry !


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 82 ms

Resolved: ClamAV performance has improved in 696fbea after 541 days, 23 hours, 4 minutes.


🎯 New Sink Connector Request: Google Sheets

Sink Connector-Google Sheets
What is a Vanus Connector
Vanus Connect allows you to skip the complex integration with external services by offering out-of-the-box connectors. Each connector acts as a proxy between outside services and your system, enabling users to have faster integrations with no codes. All data produced or processed by our connectors conforms to the CloudEvents specification, which helps enterprises leverage event-driven architecture to do business in the age of events.
What is a Sink Connector
A sink connector receives CloudEvents and does some specific business logics. For example:

MySQL Sink extracts useful data from CloudEvents and writes them to a MySQL database.
Display Sink prints incoming CloudEvents out.
Slack Sink extracts data from CloudEvents and send them to a Slack channel.

Features of this Connector

Sink-Google-Sheets allows users to insert a new row based on the incoming CloudEvents.

How to create a new connector

Fork the vanus-connect repo.
Create a sink_google_sheets_proposal.md based on the sink_proposal_example.md under vanus-connect/proposals directory. The proposal will introduce how a developer tends to implement the connector in detail. The proposal PR must be approved and merged before going to the next step.
Copy one of the sink templates (Golang template, Java template) to vanus-connect/connectors/ and rename it as sink-google-sheets.
Implement your connector and submit a PR.
Wait the connector to be reviewed and approved.

How to claim to implement this connector
f you want to solve this issue, please leave a comment in this issue like:

I'd like to implement the connector, please assign it to me.

Vanus community will assign the issue to you on time.

Cannot locate the directory called proposals inside vanus-connect.
Cannot find proposal_template.md

2. sink_proposal_example.md

Please check vanus-connect/proposals/sink_proposal_example.md

I'd like to implement the connector, please assign it to me.

I'd like to implement the connector, please assign it to me.

I'd like to implement the connector, please assign it to me.

Happy you'd like to do this


Infra: use v2 trust store when feature flag set

Closing this, because we're going to switch to v2 trust libraries directly.


adding "--config-dir" flag to CLI to support specifying path for config files

to: @airbnb/streamalert-maintainers
Background
With upcoming packaging changes, users will need to be able to specify a path to config files that need to be loaded.
Changes

Adding -c/--config-dir flag to top of manage.py to allow for loading config from users specified path (defaults to conf/)

Testing
Updating unit tests

Coverage decreased (-0.0007%) to 95.431% when pulling 35fb4848ea1ffecd5d562f2e74a89d8c166b9cd7 on ryandeivert-config-path-load into fc02df5dbb7da91fc923c301daae240f98c91f03 on release-3-2-0.


add way to change starting port

can you add a way for us to set the port before installing the firmware? i have stuff that uses port 8080 so i have to disable it every time i want to set up a camera.

If you update with ota feature, the cam saves and restores configuration. When the system reboots you don't have to reconfigure it.
If you use update files on sd, you can follow this procedure:

Create /tmp/sd/fw_upgrade directory
Copy /home/yi-hack/etc/*.conf in /tmp/sd/fw_upgrade/
Copy /home/yi-hack/etc/hostname in /tmp/sd/fw_upgrade/
Copy the update files
Reboot the cam

The new firmware will find backup files and will restore it.

Oh I'm not talking about updating the cameras. I'm talking about if you get more and are setting them up

You could still use the method above.
You could create directory and files using a PC, maybe using a backup from another CAM as a template.
What service are you using on port 8080 of the cam?

That would work, I'll give it a try next time. My music server uses port 8080.


Cross-plugin dependencies?

I’m looking at developing a variation of the kx tool (a fork of kiex) that I had been working on as an rtx plugin in order to provide a better replacement for the existing Elixir plug-in, since there are some limitations involved with how Elixir (and other BEAM-based languages) work in relation to Erlang. I’ll try to explain, since it’s a little wonky if you’re not in the ecosystem.
The current Elixir plug-in only allows downloading precompiled versions of Elixir, but those versions include ones that specify a major version of OTP (e.g., 1.15.7-otp-25 and 1.15.7-otp-26; if you specify 1.15.7 by itself, you get a version that is equivalent to 1.15.7-otp-25). This matters because if your Elixir is built for otp-25 (Erlang 25), you will not have features that may only be available when built on otp-26 (Erlang 26). It also matters because if you try to run either of these with otp-24 (Erlang 24)…it will not work.
So the plugins erlang and elixir have a dependency relationship that is not currently expressed (it is a limitation of the existing ASDF plug-ins). The erlang plugin is OK as it is based on kerl, but the Elixir plug-in is based in part on exenv, which has not been maintained in many years.
I’m looking for at least one of the following:

When my new "elixir" plug-in is installed, I want to force the installation of the "erlang" plug-in. You cannot use Elixir without an Erlang environment, so it makes no sense to have one without the other.
I want to allow more complex version strings like<EMAIL_ADDRESS>(not a currently supported version by the prebuilt versions).

On detecting that 1.15.7-otp-26.1.2 is not a currently prebuilt version, I want to be able to ask the erlang plug-in whether 26.1.2 is installed.

If not, I want to ask the erlang plug-in to install 26.1.2.

After otp-26.1.2 is installed, I want to use that Erlang version in a build environment to build Elixir 1.15.7.
I want to be able to activate both otp-26.1.2 and elixir 1.15.7-otp-26.1.2 since I have built this version of Elixir with that version of Erlang/OTP.
(This would also allow the installation of special case versions like<EMAIL_ADDRESS>as 1.16.0-dev1.)

I want to be able to error out if attempting to use incompatible Elixir / Erlang versions.

This may not be possible right now, but I’m not sure how it would be done if it could be, or if this is something that you would be interested in offering extended capabilities in rtx for this sort of linked plugin capability.
(I could develop a plug-in that manages both things at the same time, but that gets a bit messy and would require reimplementing a fairly large part of kerl, which is unnecessary. It would also mean that if I have multiple Elixir versions that use the same version of OTP, I would end up duplicating the Erlang/OTP installation multiple times unnecessarily. I’d like to use the builds that are already provided by other systems.)

It's a long-standing gap of rtx, but yes, at some point this should be supported https://github.com/jdx/rtx/issues/393

#1047 is at least a partial solution here. With that in place users can at least reuse an existing erlang install.

You cannot use Elixir without an Erlang environment, so it makes no sense to have one without the other.

perhaps, but I'm not sure rtx is the right tool to enforce this kind of relationship. I think when you want to strictly define each tool down to each dependency until you get to a common base there is a great tool for that already: nix.
I think rtx is useful for people that don't want that sort of pattern. For when you want your system dependencies used but then install things on top. I get that erlang+kx/elixir is a unique relationship though.
Another option might be building on something like I talk about in #1038

Well, Elixir, Gleam, LFE, etc. all require an underlying Erlang baseband. It would be the same with Scala, Clojure, etc. requiring an underlying JVM baseband.
nix is really not a great tool for this stuff—not least of which because the nix language is only slightly better than the syntax of Dockerfile (I exaggerate — the nix language is excessively complex, but the Dockerfile syntax is excessively simplistic). At least the last time that I tried it, the experience on macOS was nearly unusable compared to the tools I was already using.
Going with the Elixir setup because I can describe it well, each version typically supports at least two major versions of Erlang (1.15 supports OTP 24, 25, and 26). I would love to have some way, from within an rtx plugin (I do not care about asdf compatibility), to basically say:
# assume that I have written a version parser — I have for other projects, even with bash
# this would take<EMAIL_ADDRESS>and extract `otp-26.1.2`.
otp_version="$(parse_otp_version $provided_version)"
otp_major="$(parse_major_version $otp_version)"
# this would be 1.15.7-otp-26
elixir_version="$(parse_elixir_version $provided_version)"
elixir_otp_major="$(replace_otp_major $elixir_version $otp_major)"
elixir_version_only="$(remove_otp_major $provided_version)"

if rtx has erlang@$otp_version; then
  rtx use erlang@$otp_version
  install_elixir $elixir_version
elif has erlang@$otp_major; then
  rtx use erlang@$otp_major
  install_elixir $elixir_otp_major
elif has erlang@26; then
  install_elixir $elixir_version_only-otp-26
elif has erlang@25; then
  install_elixir $elixir_version_only-otp-25
elif has erlang@24; then
  install_elixir $elixir_version_only-otp-24
fi

My other option is to make one rtx plugin that manages both dependencies, but that has the downside of not being able to really reuse Erlang installations (well, it could, but it would be a bit on the messy side).

so the following should work now:
rtx use erlang@26
rtx use<EMAIL_ADDRESS># erlang will be on PATH

but there is a downside that (at least currently) if you ran rtx use erlang@26 <EMAIL_ADDRESS>it would attempt to install both in parallel and fail.
elixir will have erlang on PATH for installation in this case. I'm not sure I think that we would want to force a relationship where you have to manage erlang with rtx if you manage elixir with rtx. As an example, some users use poetry with rtx but use it with their system or pyenv managed python.

Hm. I don't think that I agree with your conclusion, having found cases where not remembering to upgrade Erlang leads to weird errors on some Elixir upgrades. Of the languages that I mentioned, only Gleam and Elixir are managed outside of Erlang packaging (LFE and some others are defined as packages within a rebar3 configuration file), but both Gleam and Elixir have instructions indicating "install Erlang, too…".
I wonder if it might not be better to look at making a beam plugin for rtx that you do something like beam@$otp-version[+elixir-$elixir-version][+gleam-$gleam-version] and it knows how to parse those as if they were variants (described by MacPorts).
Having tightly matched build/runtime versions for Elixir is fairly important:

Versions built on newer Erlang runtimes cannot run on older Erlang runtimes (you cannot use<EMAIL_ADDRESS>if you only have erlang@24 installed).
Versions built on older Erlang runtimes can usually run on newer Erlang runtimes, but will usually run with a performance and/or feature penalty due to conditional compilation. There are cases where this is not the case, and some Elixir versions will not run on newer Erlang runtimes than their maximum supported runtime in any case.

I can definitely make a new elixir plug-in that runs both kerl and better Elixir install mechanisms than what is currently present in the asdf-elixir plug-in, but it will mean that multiple versions of Erlang at the same version might be installed rather than taking advantage of the perviously installed erlang@version or indicating that there is no suitable version installed and therefore triggering an install or failing.

Today I realized I'd love to have a way to at least specify that certain plugins depend on others during basic commands like mise install. If not in the plugin itself (which I think makes more sense), at least a way to define such dependencies in the local .mise.toml config.
Recently I was trying to build this Elixir/Erlang project: https://github.com/elixir-tools/next-ls/blob/main/.mise.toml
When running mise install, mise attempts to install Elixir before Erlang, which fails because the Elixir install step can't find erlc.
The workaround is to just manually install each language in the correct order:
mise install erlang
mise install elixir

Just an idea. 😅

There's an additional problem here when running the mise GitHub action. If one specifies a config like this:
[tools]
erlang = "27"
rebar = "latest"

Mise will try to install Rebar before Erlang (which also doesn't make sense in the same way as installing Elixir before Erlang) and CI jobs fail because of this. Is there a way to manually specify these dependencies somehow? Or some workaround?

I've discovered one workaround for CI jobs at least, and that is to limit the number of jobs to 1. It seems that Mise then installs tools in the order listed. E.g.
    - uses: jdx/mise-action@v2
      with:
        mise_toml: |
          [settings]
          jobs = 1

This might be good to have the configuration be a bit more dynamic. I’m headed into a meeting, but why not something like:
[tool]
elixir = { version = "1.17", depends = { erlang = 27 } }

this shouldn't be necessary anymore: https://github.com/jdx/mise/blob/0d598908ca4a02d5bd04b6ab280d1934899ee257/registry.toml#L242

This change works.

@jdx Nice to see this in main! rebar should depend on erlang too since that installation crashes if Erlang doesn't exist.

submit a pr


Add request 'Link Campus University', Rome, Italy

For More information: https://www.unilink.it/

@kalik1 Pull request merged. Thank you!


WARNING: Unable to configure server software

Hi there
We've used the default installer method (e.g. just running letsencrypt.exe) and it will install a cert fine.
But if we use the command line like this:

letsencrypt --accepttos --manualhost oursite.com --webroot c:\path\to\oursite\webroot --keepexisting

We get "WARNING: Unable to configure server software"
It seems to create the cert, renewal, etc, but just doesn't create the https binding in IIS
Any ideas?
Dave

I have the same issue.
It does not really bother me that I have to add the certificate manually to the binding afterwards, however I do wonder now if the automatic renewal will work?
Anyone know if this will also affect the auto renewal?

It would be fantastic if the manual command line method would:

Not ask if you want to replace the scheduled task
Provide an optional flag to install the IIS binding with the cert attached.

All I can find is using --script and doing something with powershell? Would be awesome if the app handled all this as it does for the non-commandline approach.

Did you guys setup with --manualhost? You guys are probably confusing the way this ACME client runs with Apache/Certbot. Manualhost option has no way of relating host binding with a website/vhost in IIS, so it doesn't know which vhost a binding belongs to; and as a result there's no SSL binding done for you.
For scripting, you can write Powershell script to a) Lookup binding b) Find its website c) Create ssl binding if it doesn't exist or d) Delete and update it if it does. Well not so quickly because bummer; Get-WebBinding and Get-Website don't relate and work with each other (the way Powershell is designed) so without extensive and slow looping, you'll probably redo the job.
The easier way is: letsencrypt.exe --san.
Then select the IIS vhost/website ID as seen in IIS Manager (these with match if you used --san option; I know weird but I didn't notice until I read the code). When asked, create a scheduled task by inputting an admin user and pass. This creates a config entry in HKEY_CURRENT_USER\Software and uses it to renew that particular vhost/website's SSL.

I got the same error and then tried to install the .pfx certificate manually, but it requires a password.
Should I start over and make those bindings first?
Can I install the .pfx manually, with which password?

The default pfx password is an empty string, but can be changed in letsencrypt.exe.config.
Currently it's not possible to mix and match plugins (e.g. manual input of DNS identifiers followed by an IIS install), so either you do it all manually (which means with a script) or all through the CLI.
Looking to fix that with #398


no data sent with STOR

version 1.5.6
When the client sends a STOR command, the local file is opened on the server, but the file object never gets write() of writelines() called. The file is created on the file system, but its size remains 0 bytes.
Eventually tested with the most basic setup as in the tutorial.
This happens with WinSCP as client, not with (window's xp cmd) ftp shell.

see also: https://github.com/WimWWimW/mpFPTel/issues/1

@giampaolo do you have an idea ? I get the same issue on my ftp server
Some users can't upload any files due to the fact that STOR sends no data at all (seems an issue with opening the Data Connection)
On the server logs I see
150 File status okay. About to open data connection.

and, while connection still hasn't been opened (?) The filezilla client is already sending data, therefore the server gets nothing at all...
It's a really weird which isn't 100% reproductible


[bug] - Error: ClientCtrl has no client set after upgrading to 2.2.0

Link to minimal reproducible example
https://codesandbox.io/s/interesting-water-lr0i46?file=/tsconfig.json
Summary
I'm runninng into an issue that I'm having hard times to reproduce on a CodeSandbox (I've though recreated it - link below). I want to raise attention as I've seen other users in the Discussion section reporting this problem.
I'm referring to this https://github.com/WalletConnect/walletconnect-monorepo/discussions/2083
I'm going to report the issue also here, as I'm getting pretty mad.
I'm working on a dApp (unfortunately I cannot share the full codes). It is a React App with Typescript. I started by using "@web3modal/react": "2.1.1", and the integration was working with no problems.
Today, I upgraded it to "@web3modal/react": "^2.2.0", (and to "wagmi": "^0.12.1",), I followed the breaking changes introduced with this version and it compiles with no problem. The problem is that I see this error in console.

The App compiles, the only thing that doesn't work is the Web3 Modal to connect a wallet.
This is the index.ts of my App
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import {ApolloClient, ApolloProvider, HttpLink, InMemoryCache} from '@apollo/client';
import {CssBaseline, ThemeProvider} from "@mui/material";
import {theme} from "./GlobalStyles";
import { EthereumClient, w3mConnectors, w3mProvider } from '@web3modal/ethereum'
import {Web3Modal} from "@web3modal/react";
import {configureChains, createClient, WagmiConfig} from "wagmi";
import {mainnet, polygon} from "wagmi/chains";
import {store} from "./store";
import {Provider} from "react-redux";

// ----------------
// APOLLO CLIENT
// ----------------
const httpLink = new HttpLink({
  uri: process.env.REACT_APP_GRAPHQL_ENDPOINT
});
const client = new ApolloClient({
  cache: new InMemoryCache(),
  link: httpLink
});

// ----------------
// WAGMI CLIENT
// ----------------
const chains = [mainnet, polygon];
const { provider } = configureChains(chains, [
  w3mProvider({ projectId: process.env.REACT_APP_WALLETCONNECT_PROJECT_ID as string }),
]);
const wagmiClient = createClient({
  autoConnect: true,
  connectors: w3mConnectors({
    projectId: process.env.REACT_APP_WALLETCONNECT_PROJECT_ID as string,
    version: 2,
    chains,
  }),
  provider,
});

// Web3Modal Ethereum Client
const ethereumClient = new EthereumClient(wagmiClient, chains);

const root = ReactDOM.createRoot(
  document.getElementById('root') as HTMLElement
);
root.render(
  <React.StrictMode>
    <Provider store={store}>
      <WagmiConfig client={wagmiClient}>
        <ApolloProvider client={client}>
          <ThemeProvider theme={theme}>
            <CssBaseline />
            <App />
          </ThemeProvider>
        </ApolloProvider>
      </WagmiConfig>
    </Provider>
    <Web3Modal
      projectId={process.env.REACT_APP_WALLETCONNECT_PROJECT_ID as string}
      ethereumClient={ethereumClient}
    />
  </React.StrictMode>
);

If I comment the  <Web3Modal/> component, the error disappears. If I uncomment, the error shows up.
I recreated a simpler version in CodeSandbox, with all the dependencies, but the error is not showing up there. You can find it here:
https://codesandbox.io/s/interesting-water-lr0i46?file=/tsconfig.json
If I remove all the other elements, so if I get down to have (in the return function) this
<React.StrictMode>
    <Web3Modal
      projectId={process.env.REACT_APP_WALLETCONNECT_PROJECT_ID as string}
      ethereumClient={ethereumClient}
    />
  </React.StrictMode>

The issue is still there. So the issue is definitively isolated with the <Web3Modal/> component.
But in CodeSandbox the issue is not showing up.
Any suggestions on how to debug further the issue? I'm really not understanding what can cause this, and why it does not show up in CodeSandbox. Looks like a sort of bug, but I'd like to provide more relevant information.
Thanks,
List of related npm package versions
"@web3modal/ethereum": "^2.2.0",
"@web3modal/react": "^2.2.0",
"wagmi": "^0.12.1",

Same here, right now even the example provided does not work anymore

same issue

Same here

Hey guys, ty for report. Since this is not reproducible in CodeSandbox, I have few ideas you could try out

Delete node_modules and any .lock files you have and install everything fresh (could be some lingering wagmi version conflict)
If you were using version: 2 before, try to clear localStorage (v2 stuff changed here, maybe it is conflicting with older entries)

it happens when deploying, in localhost no problem

Hey guys, ty for report. Since this is not reproducible in CodeSandbox, I have few ideas you could try out

Delete node_modules and any .lock files you have and install everything fresh (could be some lingering wagmi version conflict)
If you were using version: 2 before, try to clear localStorage (v2 stuff changed here, maybe it is conflicting with older entries)

While cloning the code-sandbox repo and trying it locally, it produces the error

Confirm what @bitoffabyte just said!
@0xAsimetriq I already tried both option 1. and 2. and he issue is there.
rm -rf node_modules/ yarn.lock
yarn install

Then launching the application on a new Private Window, and the error is there too locally.
(removed only yarn.lock as I do not use npm, thus no package-lock.json)

I have just updated my personal minimal demo to 2.2.0, here is the commit https://github.com/0xAsimetriq/web3modal-demo/commit/3df8ed2daeeec14c74d400671208c002663ee151
Unable to replicate the issue. Nor can I replicate in provided codesandboxes (only issue I saw there was error connecting to relay websocket, but after replacing projectid with my own, it was solved).
Last idea I have, maybe try with strict versions i.e. 2.2.0 instead of ^2.2.0?

Let me know if that works, but it shouldn't matter I think. Also, try to console log your ethereumClient to double check that it is defined before it is passed to web3modal perhaps.

I have just updated my personal minimal demo to 2.2.0, here is the commit 0xAsimetriq/web3modal-demo@3df8ed2
Unable to replicate the issue. Nor can I replicate in provided codesandboxes (only issue I saw there was error connecting to relay websocket, but after replacing projectid with my own, it was solved).
Last idea I have, maybe try with strict versions i.e. 2.2.0 instead of ^2.2.0?

I had cloned a fresh copy, created the env and ran yarn and yarn dev
I am still getting this issue

same issue

Was able to replicate with yarn, worked fine with npm, gona look into this

Yeah, was telling you the same. With npm no problem, with yarn I have this problem! Good you were able to replicate

@70nyIT @lemihthien @RivetParallel @bitoffabyte and anyone else who was using yarn, could you try again with latest versions of wagmi and web3modal please. Issue should be resolved.
Just in case
rm -rf node_modules; rm yarn.lock; yarn

@70nyIT @lemihthien @RivetParallel @bitoffabyte and anyone else who was using yarn, could you try again with latest versions of wagmi and web3modal please. Issue should be resolved.
Just in case
rm -rf node_modules; rm yarn.lock; yarn

Great, it worked for me. Thank you for your help!

*package.json:
"@web3modal/ethereum": "^2.2.1",
"@web3modal/react": "^2.2.1",
"wagmi": "^0.12.1",

Today, I have this error. Any suggestions on how to fix this?

@tradaik there is no 2.2.0 at the moment, and that standalone package error is a known bug, fixing it today, to fix it meanwhile you can install that package @web3modal/standalone

@tradaik there is no 2.2.1 at the moment, and that standalone package error is a known bug, fixing it today, to fix it meanwhile you can install that package @web3modal/standalone

Thank you so much! Its so easy lol! <3

@tradaik you can now install 2.2.1 and remove @web3modal/standalone dependency

After few confirmations and from my own tests, I believe issue is now solved when using latest modal packages 2.2.1 and latest version of wagmi. As per above, to ensure that you do have latest stuff indeed installed, try to do a fresh install without node_modules and .lock file.
Feel free to @ me here if you are still experiencing the issue 👍 after doing above.

I have the same problem on ^2.4.5 - any ideas?

I haven't seen this issue for a long while now, if you are upgrading from earlier versions of modal, make sure to combine it with latest viem / wagmi. Sometimes you need to delete node_modules and package-lock.json file and install everything fresh.

Yes i do have wagmi: 1.1.1 and viem: 1.0.2, used this one rm -rf node_modules; rm yarn.lock; yarn and tried manually as well after deleting node_modules and yarn.lock

Any ideas, building desktop app with Next 13.0 and Tauri

I see, then it's more likely an implementation issue, do you have a repo / codesandbox you can share with reproduction? If modal is used in react, don't initialise wagmi and ethereum client inside components that re-render, do it outside of them as in docs and examples.

Here is the example repo:
https://github.com/AndonMitev/tauri-playground/blob/main/app/page.tsx
I'm using NextJS 13.4  Nothing is re-rendered more than it should but somehow cannot manage to make it work :S btw is good this modal for desktop applications?

Same issue here @AndonMitev
Using Vuejs3 and yarn.
"@wagmi/core": "^1.1.1",
"@web3modal/ethereum": "^2.4.5",
"@web3modal/html": "^2.4.5"

You can reference this example for simple nextjs implementation
https://github.com/WalletConnect/web3modal-examples/tree/main/nextjs-wagmi
And since both of you are using yarn, maybe it's somehow causing this, perhaps by not installing sub-dependencies of some packages correctly?

And since both of you are using yarn, maybe it's somehow causing this, perhaps by not installing sub-dependencies of some packages correctly?

I just tested by switching to npm and it works. Seems like it's not compatible with yarn.

Having the same issue, also got it working by using npm. But why is this issue closed. I think that there's still an issue here, and it should be possible to use yarn.

@carloscip @AndonMitev @zk118 and others, which yarn version(s) are you using?

@0xAsimetriq<EMAIL_ADDRESS>

Is this an issue on newer / latest yarn versions? Since yarn v1 is very old, it could be having trouble resolving some dependencies / sub dependencies of the packages we use due to newer package-lock.json file formats that we or our dependencies use.

@0xAsimetriq, any suggestions which version of yarn to use?

Going with latest is always the best bet imho

@0xAsimetriq Hello! Also using yarn v1.22.19 which is lts.

Same error here.

Should we wait for better yarn compatibility?

@AdrianChyzh judging by yarn's docs https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable yarn v1 is only in maintanance mode, I'm not sure if they will fix anything in this version. Looks like v3 is what's used?

@AdrianChyzh judging by yarn's docs https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable yarn v1 is only in maintanance mode, I'm not sure if they will fix anything in this version. Looks like v3 is what's used?

Thanks for your reply. You might be right, I will try settings yarn to v3.
Note: I managed to fix the issue by switching from yarn to npm. I think it should be highlighted somewhere, IF yarn v3 won't work

npm / pnpm should work and I believe newer versions of yarn as well, but if you run into issues with their latest one, let me know 👍


Drop tests

This PR removes the tests folder as it wasn't being used and the test was broken.
It also removes the test related stuff from the CONTRIBUTING.md.
I don't think any of the npm packages were installed just for testing but I might be wrong; if so, let me know and I can amend to remove them too.

:tada: Thanks!


can i contribute pretrained models on speech domain ?

Hi, I'm a creator of TensorflowTTS: Real-Time State-of-the-art Speech Synthesis for Tensorflow 2. on https://tfhub.dev/ i see no pretrained models on speech domain like Speech synthesis, Speech recognition, Voice conversion ... So i want to contribute it :)). Here is a samples and github link:
samples: https://dathudeptrai.github.io/TensorflowTTS/
github: https://github.com/dathudeptrai/TensorflowTTS

Sorry for the delay in response. Yes, we welcome community contributions! You can follow the process at https://github.com/tensorflow/hub/tree/master/tfhub_dev


WSL pip error

My operation system is Win11, so i decide to use WSL2 to try Open -Sora. But when I exec 'pip install -v .', some error
happened.
Using pip 24.0 from /home/ikaros/miniconda3/envs/opensora/lib/python3.9/site-packages/pip (python 3.9)
Processing /mnt/d/Code/Open-Sora
Running command pip subprocess to install build dependencies
Collecting setuptools>=40.8.0
Using cached setuptools-71.0.3-py3-none-any.whl.metadata (6.5 kB)
Using cached setuptools-71.0.3-py3-none-any.whl (2.3 MB)
Installing collected packages: setuptools
Successfully installed setuptools-71.0.3
Installing build dependencies ... done
Running command Getting requirements to build wheel
running egg_info
writing opensora.egg-info/PKG-INFO
error: [Errno 1] Operation not permitted: '/mnt/d/Code/Open-Sora/opensora.egg-info/tmpx8cn12ar'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /home/ikaros/miniconda3/envs/opensora/bin/python /home/ikaros/miniconda3/envs/opensora/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py get_requires_for_build_wheel /tmp/tmpaltpyzhp
cwd: /mnt/d/Code/Open-Sora
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

Resolved.
I used the loacl project on Win11 and the codna env on Ubuntu, but there are some error. So now I connect the WSL by Pycharm and clone projejct on WSL, then build env once again. Now my problem is solved.


Error in exporting Mask-RCNN to onnx format

🐛 ONNX export of Mask-RCNN results in KeyError: '_new_empty_tensor_op'
Following the guide(https://github.com/pytorch/vision/releases) to export Mask-rcnn with resnet-50 backbone, there was error. Details of this as  :
versions
PyTorch version: 1.5.0a0+3bbb36e
Is debug build: No
CUDA used to build PyTorch: 10.2

OS: Ubuntu 18.04.3 LTS
GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
CMake version: version 3.14.0

Python version: 3.6
Is CUDA available: Yes
CUDA runtime version: 10.2.89
GPU models and configuration: GPU 0: Tesla P100-PCIE-16GB
Nvidia driver version: 418.87.00
cuDNN version: /usr/lib/x86_64-linux-gnu/libcudnn.so.7.6.5

Versions of relevant libraries:
[pip] msgpack-numpy==<IP_ADDRESS>
[pip] numpy==1.18.1
[pip] pytorch-transformers==1.1.0
[pip] torch==1.5.0a0+3bbb36e
[pip] torchtext==0.4.0
[pip] torchvision==0.6.0a0
[conda] magma-cuda101             2.5.1                         1    local
[conda] mkl                       2019.1                      144
[conda] mkl-include               2019.1                      144
[conda] msgpack-numpy             <IP_ADDRESS>                  py36_0
[conda] nomkl                     3.0                           0
[conda] numpy                     1.18.1           py36h94c655d_0
[conda] numpy-base                1.18.1           py36h2f8d375_1
[conda] pytorch-transformers      1.1.0                    pypi_0    pypi
[conda] torch                     1.5.0a0+3bbb36e          pypi_0    pypi
[conda] torchtext                 0.4.0                    pypi_0    pypi
[conda] torchvision               0.6.0a0                  pypi_0    pypi

code:
model_tv = torchvision.models.detection.maskrcnn_resnet50_fpn(pretrained=True)
model_tv.eval()
torch.onnx.export(model_tv, torch.rand(1,3,300,300), "mask_rcnn_r50_fpn.onnx",
                  do_constant_folding=True,
                  opset_version=11  # opset_version 11 required for Mask R-CNN
                  )

error log:
KeyError                                  Traceback (most recent call last)
<ipython-input-5-83afd8e59ef2> in <module>
      2 torch.onnx.export(model_tv, torch.rand(1,3,300,300), "mask_rcnn_r50_fpn.onnx",
      3                   do_constant_folding=True,
----> 4                   opset_version=11  # opset_version 11 required for Mask R-CNN
      5                   )

/opt/conda/lib/python3.6/site-packages/torch/onnx/__init__.py in export(model, args, f, export_params, verbose, training, input_names, output_names, aten, export_raw_ir, operator_export_type, opset_version, _retain_param_name, do_constant_folding, example_outputs, strip_doc_string, dynamic_axes, keep_initializers_as_inputs, custom_opsets)
    153                         do_constant_folding, example_outputs,
    154                         strip_doc_string, dynamic_axes, keep_initializers_as_inputs,
--> 155                         custom_opsets)
    156
    157

/opt/conda/lib/python3.6/site-packages/torch/onnx/utils.py in export(model, args, f, export_params, verbose, training, input_names, output_names, aten, export_raw_ir, operator_export_type, opset_version, _retain_param_name, do_constant_folding, example_outputs, strip_doc_string, dynamic_axes, keep_initializers_as_inputs, custom_opsets)
     65             example_outputs=example_outputs, strip_doc_string=strip_doc_string,
     66             dynamic_axes=dynamic_axes, keep_initializers_as_inputs=keep_initializers_as_inputs,
---> 67             custom_opsets=custom_opsets)
     68
     69

/opt/conda/lib/python3.6/site-packages/torch/onnx/utils.py in _export(model, args, f, export_params, verbose, training, input_names, output_names, operator_export_type, export_type, example_outputs, propagate, opset_version, _retain_param_name, do_constant_folding, strip_doc_string, dynamic_axes, keep_initializers_as_inputs, fixed_batch_size, custom_opsets, add_node_names)
    465                                                         example_outputs, propagate,
    466                                                         _retain_param_name, val_do_constant_folding,
--> 467                                                         fixed_batch_size=fixed_batch_size)
    468
    469         # TODO: Don't allocate a in-memory string for the protobuf

/opt/conda/lib/python3.6/site-packages/torch/onnx/utils.py in _model_to_graph(model, args, verbose, training, input_names, output_names, operator_export_type, example_outputs, propagate, _retain_param_name, do_constant_folding, _disable_torch_constant_prop, fixed_batch_size)
    335     graph = _optimize_graph(graph, operator_export_type,
    336                             _disable_torch_constant_prop=_disable_torch_constant_prop,
--> 337                             fixed_batch_size=fixed_batch_size, params_dict=params_dict)
    338
    339     if isinstance(model, torch.jit.ScriptModule) or isinstance(model, torch.jit.ScriptFunction):

/opt/conda/lib/python3.6/site-packages/torch/onnx/utils.py in _optimize_graph(graph, operator_export_type, _disable_torch_constant_prop, fixed_batch_size, params_dict)
    150         torch._C._jit_pass_erase_number_types(graph)
    151
--> 152         graph = torch._C._jit_pass_onnx(graph, operator_export_type)
    153         torch._C._jit_pass_lint(graph)
    154

/opt/conda/lib/python3.6/site-packages/torch/onnx/__init__.py in _run_symbolic_function(*args, **kwargs)
    184 def _run_symbolic_function(*args, **kwargs):
    185     from torch.onnx import utils
--> 186     return utils._run_symbolic_function(*args, **kwargs)
    187
    188

/opt/conda/lib/python3.6/site-packages/torch/onnx/utils.py in _run_symbolic_function(g, n, inputs, env, operator_export_type)
    769                               "torch.onnx.register_custom_op_symbolic(symbolic_name, symbolic_fn)?"
    770                               .format(ns, op_name, opset_version, op_name))
--> 771             symbolic_fn = sym_registry.get_registered_op(op_name, ns, opset_version)
    772             attrs = {k: n[k] for k in n.attributeNames()}
    773             return symbolic_fn(g, *inputs, **attrs)

/opt/conda/lib/python3.6/site-packages/torch/onnx/symbolic_registry.py in get_registered_op(opname, domain, version)
     92         warnings.warn("ONNX export failed. The ONNX domain and/or version are None.")
     93     global _registry
---> 94     return _registry[(domain, version)][opname]

KeyError: '_new_empty_tensor_op'

@neginraoof could you have a look?
This type of issues have showed up in the past and have been fixed, but looks like @ResByte is using a recent enough version of PyTorch / TorchVision

Sure. Export for _new_empty_tensor_op has been enabled in: https://github.com/pytorch/vision/pull/1733
@fmassa  Do you know how can I check if this commit is in torchvision 0.6.0a0 ?

@neginraoof Same original issue here. Nightly built torch and torchvision dev20200414 solved  _new_empty_tensor_op. But it occurred a new one: Exporting the operator prim_Uninitialized to ONNX opset version 11 is not supported. Please open a bug to request ONNX export support for the missing operator.

My system is ubuntu 16.04,
torch and torchvision version as below:
torch.version
Out[5]: '1.5.0+cu101'
torchvision.version
Out[6]: '0.6.0+cu101'
~$ nvidia-smi
Mon May 11 11:20:04 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.56       Driver Version: 418.56       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  TITAN X (Pascal)    Off  | 00000000:01:00.0  On |                  N/A |
| 35%   60C    P0    62W / 250W |    724MiB / 12192MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1321      G   /usr/lib/xorg/Xorg                           427MiB |
|    0      3958      G   compiz                                       116MiB |
|    0      5483      G   ...AAAAAAAAAAAACAAAAAAAAAA= --shared-files   175MiB |
+-----------------------------------------------------------------------------+
~$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:01_CDT_2018
Cuda compilation tools, release 10.0, V10.0.130
cuda version:
~$ cat /usr/local/cuda/version.txt
CUDA Version 10.0.130
cudnn version:
~$ cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
#define CUDNN_MAJOR 7
#define CUDNN_MINOR 6
#define CUDNN_PATCHLEVEL 4
#define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)
#include "driver_types.h"
and I have met the same problem when I run the Mask R-CNN demo in the https://pytorch.org/docs/stable/torchvision/models.html#object-detection-instance-segmentation-and-person-keypoint-detection , I have met the same problem:
RuntimeError: Exporting the operator prim_Uninitialized to ONNX opset version 11 is not supported. Please open a bug to request ONNX export support for the missing operator.
How can I fix the issue?

Same problem, is there any workaround?

same issue here

same issue here, can anyone give some advice about "operator prim_Uninitialized" ?

cc @neginraoof @lara-hdr can you please have a look?

Thanks for reporting this.
I believe this issue is resolved as part of https://github.com/pytorch/vision/pull/2215
Torchvision nightly build should work now.
I just tested the repro code:
model_tv = torchvision.models.detection.maskrcnn_resnet50_fpn(pretrained=True)
model_tv.eval()
torch.onnx.export(model_tv, torch.rand(1,3,300,300), "mask_rcnn_r50_fpn.onnx",
do_constant_folding=True,
opset_version=11  # opset_version 11 required for Mask R-CNN
)
And export was successful.
To run this model with ONNX Runtime, please try ONNX Runtime 1.3.0.
Thanks.

Thanks @neginraoof @fmassa , It works now. you may close the issue.


Ditto isn't be finished

the set_parameters method haven't been finished yet.

so that the program block

i can only run fedavg normally. Could you tell me what's wrong with me?
rtx 3090, torch 1.10, cuda 1.11.

Thank you for pointing out this issue! I have fixed this bug in the current version. This bug comes up when merging several versions together.
The details of the methods corresponding to the client object, such as set_parameters(), can be found in clientbase.py or the specific client class, such as clientditto.py, as all the specific client classes inherit from the Client class.

Thanks TsingZ0, I have tested the code and it works well!
By the way, I want to point out another little "bug" which may happen on some devices.
label_binarize() in every where it is called misses a parameter label "classes" after the first parameter.
The right way is label_binarize(y,classes=[])

Thanks, hacker-jerry, I have updated the code in the new version.


Documentation on how to add "implementors"

Say you get an error like this:
JFixture was unable to create an instance of play.api.libs.json.JsValue
Most likely because it has no public constructor, is an abstract or non-public type or has no static factory methods.
If this isn't the case it's likely that all constructors and factory methods on the type have thrown an exception.
To view any thrown exceptions just add the Tracing Customisation to the JFixture instance, e.g. fixture.customise(new TracingCustomisation(System.out));

		List[package.mypackage.ThingIWant] -->
		package.mypackage.ThingIWant -->
		package.mypackage.ThingIWant -->
		public package.mypackage.ThingIWant(long,java.lang.String,java.lang.String,java.time.LocalDateTime,boolean,java.lang.String,flextrade.wham.messages.Schedule,java.lang.String,java.lang.String,play.api.libs.json.JsValue) -->
		play.api.libs.json.JsValue -->
		play.api.libs.json.JsValue

What you really want to do is to customise the fixture with something to implement JsValue.
It would be nice to expand the README with how to do this.

Take a look at fixture.customise().*(): there are multiple options there that would help to resolve the issue. In your case it's likely a lazyInstance with a reusable SpecimenSupplier, or a useSubType(JsValue.class, JsObject.class).


Learning path exercises order keeps changing: See PR #9565

Describe the bug
The order of two exercises in a learning path changes as I go through them
https://github.com/user-attachments/assets/2c7d59c0-ac72-4f1a-b165-be7fc70162d3
To Reproduce

Go to 'https://artemis-test5.artemis.cit.tum.de/courses/30/learning-path'
Click on 'Next' till the end of the learning path then click on Previous
The order of the exercises change from test1 -> test2 -> end of learning path to test2 -> test1 -> end of learning path. These two orders alternate

Expected behavior
I presume the order should not change! I haven't tested with more exercises, but that might reduce the usability.
Screenshots
No response
Which version of Artemis are you seeing the problem on?
7.6.3
What browsers are you seeing the problem on?
Chrome
Additional context
This should be reproducible independent of PR #9565
Relevant log output
No response

The order of learning objects will be fixed in #9565.
Regarding the issue that the next and previous learning object is the same, this is ok, since this learning object is part of multiple competencies. When progressing to the next learning object, the competency is also tracked, so there cannot be any loops in the learning path


Use X-Forwarded-For header (if defined) to extract real client IP

See https://en.wikipedia.org/wiki/X-Forwarded-For
Client IP is not correct when server is behind a proxy or a load balancer. Real client IP can be identified thanks to X-Forwarded-For header.

Hi David, thanks for this PR. I'm not a contributor for this project, but I just did the same as you and only notice now that you had a PR open. Hope this can be merged soon since it was implemented in another sentry client way back.

Thank you for this fix!


Importing CSV results in only one row imported

I have a CSV file I downloaded from data.gov (https://catalog.data.gov/dataset/crime-data-from-2010-to-present).  When I try to import it into a table, it goes through all the motions like it's importing.  Takes 20+ minutes to complete.  However, when all is said and done, only one row appears in the new table.
Any clue as to what might be happening here?

Never mind.  User error.  I had mistakenly overwritten the row limit.


doesn't include 15.4 new emoji on pixel2

What android version are you currently using?
Does it not include all the iOS emojis, or just the 15.4 new emojis?


Sources inside executables

The README clearly states:

scripts is a glob or list of globs. Files specified as scripts will be compiled using v8::ScriptCompiler and placed into executable without sources.

However, if include my script in scripts section I still can see my source code inside the executable file via HEX editor.
I also tried to package example folder, but I could not succeed in removing source code from the executable.
Am I doing something wrong or this is a bug?

Solved here


Look into submitting more information about errors to metrics API

This looks great, a couple of small comments. One thing we may also want to include (though it may be too noisy) would be here. If result.errors, we could report those. Let's hold off on that until we get this thing working and maybe revisit.
Originally posted by @jeffsee55 in https://github.com/tinacms/tinacms/pull/2450#pullrequestreview-868542583

We may still want to track different types of errors, but closing for now (as we have an open ticket for: https://github.com/tinacms/tinacms/issues/2620)


fix: set displayname and __ui__

Closes #2895
Description
The component "@yamada-ui/rating" uses forwardRef, but displayName is not set, making it difficult to see the display in React Developer Tools.
New behavior
Set displayNane and __ui__
Is this a breaking change (Yes/No):
No

Thanks!