Use the new screen component on multiple screens

Description
This branch turned out to be mainly refactors after looking at the legacy code. The biggest refactors are:

property renamed step -> currentStep
removed JoinHeader and used ProgressHeader instead

On what platform have you tested the change?

[ ] Android - Emulator
[ ] Android - Physical device
[x] iOS - Emulator
[ ] iOS - Physical device

Screenshots
Only after screenshot (no before, otherwise it would become too large)

Checklist (for submission)

[ ] Analytics/tracking events have been added (if relevant)
[ ] Added new screen(s) to src/features/screens.ts and new Redux slice(s) to mocks/mockedInitialState.ts (if relevant)

Checklist (for reviewers)

[ ] Checked against Figma designs (if relevant)
[ ] Checked that data has been successfully saved to the backend (if relevant)

Out of scope and potential follow-up

Really nice refactor and imporvements to the screens!
I'm not a fan of the "ScreenNew" name. Maybe merge all these PRs in and then rename it to something like GenericScreen or just Screen?

Really nice refactor and imporvements to the screens!
I'm not a fan of the "ScreenNew" name. Maybe merge all these PRs in and then rename it to something like GenericScreen or just Screen?

@selvach Agreed, the name will become just Screen but to prevent naming collision and confusing during refactoring I decided to go for this temporary name

Got it! Okay, can you hold off merging until end of day. Otherwise very happy with these changes!!!


APEXMALHAR-2298 Making the KafkaExactlyOnceOutputOperator take generi…

…c object as input.
@siyuanh please review.

@sandeshh Looks good to me. Please squash the commits and update the PR.

@chaithu14 Done.


bin/alluxio copyDir should copy to both masters and workers

Is your feature request related to a problem? Please describe.
bin/alluxio copyDir is often used to sync configuration across cluster machines. Currently it only syncs to worker machines listed in conf/workers. It would be good to also sync to master machines listed in conf/masters.
Describe the solution you'd like
sync to both conf/masters and conf/workers
Describe alternatives you've considered
The alternative is manually syncing to master nodes.
Urgency
New users could naturally assume that copyDir will sync master configuration. This will result in confusion and difficulty deploying Alluxio.

@aaudiber Thank you very much.


[PLAT-1095] Some users' bookmarks don't load

Purpose
When users with >1000 go to the My Projects page their collections query times out, so that their bookmarks don't show. This PR attempts to address that.
Changes

adds minor optimizations to

NodeLinkedRegistrationsList get_queryset
related counts for linked nodes and registrations
LinkedNodesList get_queryset

QA Notes
This issue can't be reproduced locally because a local node table is going to be too small to time out. If this is successful endpoints like /v2/collections/<collection_guid>/relationships/linked_nodes/ for collections with >1000 nodes should load without timing out.
Documentation
🐞 fix, no docs.
Side Effects
Just want to note that there's no guarantee this will work, I tried to optimize this but I have no way of telling  locally if this will time out. If there was a better way of benchmarking/reproducing this that would be great.
Ticket
https://openscience.atlassian.net/browse/PLAT-1095

Changes look good on a quick glance. @Johnetordoff Not strictly required, but it would be helpful to see response times and/or query counts before and after this change.

@Johnetordoff, you should be able to use the django debug toolbar locally to get an idea of before and after query counts for this endpoint (make sure to test with all of the filter and embeds that are used on the My Projects page).

Testing this with ~1000 nodes, I'm not seeing a noticeable change in response time and no change in number of queries. I think it's like the total node table isn't big enough to see a difference. Also having ~1000 nodes alone doesn't reproduce the bug in the ticket.

@Johnetordoff, I looked into this a bit more and while I still think performance is an issue, I'm getting a 502 on production and a 500 locally with just /v2/collections/?embed=linked_nodes (part of the request the My Projects page is making). Can you look into this? I'll leave the tracebacks on the ticket.

@caseyrollins With the new staging data and Django debug toolbar. I was able to really increase the speed of these queries.
Before related counts for linked_nodes/registrations would load in about 13000ms now it's down to 3000ms. Embeds would timeout, but now they load within about 3000ms. The whole query v2/collections/?related_counts=linked_nodes,linked_registrations&embed=linked_nodes takes about 6000ms. So this is a much more noticeable improvement!

@Johnetordoff, nice! Does /v2/collections/?embed=linked_nodes still 500 locally or has that been resolved? Also, could you please document the number of queries before and after as well (since time can be influenced by so many other factors).

@caseyrollins /v2/collections/?embed=linked_nodes passes locally. Number of queries for related_counts actually stayed the same at 13.

Headed to staging3 🚢 🇮🇹

Merging so that QA can test on staging1


Add xcschemes generator

https://github.com/MobileNativeFoundation/rules_xcodeproj/pull/2686 shows the Starlark side of it.

https://github.com/MobileNativeFoundation/rules_xcodeproj/issues/2814


The files from private repositories can be downloaded via direct link

Gitea version (or commit ref): 4586ae3
Git version: 2.17.1
Operating system: Ubuntu bionic, Linux 4.4.0-139-generic
Database (use [x]):

[x] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[x] No
[ ] Not relevant

Description
The files from the private repository can be downloaded via direct link (tested with wget and curl).
For now I have patched this with this patch:
diff --git a/routers/routes/routes.go b/routers/routes/routes.go
index 5d9a6b31f..bcb7f3c2c 100644
--- a/routers/routes/routes.go
+++ b/routers/routes/routes.go
@@ -738,12 +738,12 @@ func RegisterRoutes(m *macaron.Macaron) {

 		m.Get("/compare/:before([a-z0-9]{40})\\.\\.\\.:after([a-z0-9]{40})", repo.SetEditorconfigIfExists,
 			repo.SetDiffViewStyle, repo.MustBeNotBare, reqRepoCodeReader, repo.CompareDiff)
-	}, ignSignIn, context.RepoAssignment(), context.UnitTypes())
+	}, reqSignIn, context.RepoAssignment(), context.UnitTypes())
 	m.Group("/:username/:reponame", func() {
 		m.Get("/stars", repo.Stars)
 		m.Get("/watchers", repo.Watchers)
 		m.Get("/search", reqRepoCodeReader, repo.Search)
-	}, ignSignIn, context.RepoAssignment(), context.RepoRef(), context.UnitTypes())
+	}, reqSignIn, context.RepoAssignment(), context.RepoRef(), context.UnitTypes())

 	m.Group("/:username", func() {
 		m.Group("/:reponame", func() {

But as far as I understand this patch breaks files downloading via direct link for public repositories.

Interestingly enough, I am able to also download an attached issue image
for a private repository on GitHub.

@pavelxdd Could you provide an example url scheme? I cannot reproduce this when trying to download either full zips or individual files (via http://gitea.tld/user/repo/src/branch/master/filename)

@kolaente sure
https://gitea.tld/organization/repo/raw/branch/master/filename

I am unable to verify this using that example at https://git.ferricyanide.solutions/A_D/test-repo/raw/branch/master/test_fi

@pavelxdd could not reproduce it on latest 76060613efa85b828ff06de3172d94d00e580726

I'm not able to reproduce it on latest revision either.


AVRO-2248 Added support for Java parameterized types

This patch allows support for Java Parameterised types in Avro. Ex: Pair<K, V>
Corresponding JIRA is: https://issues.apache.org/jira/browse/AVRO-2248
Please review this and I am willing to take suggestions and make required changes to mainline this. Thanks

Adding a new fundamental type of schema is incompatible.  In particular, any implementation that has not implemented this will be unable to read data that uses this feature.  Inclusion of this would thus force a major release of Avro, i.e., 2.0.
Also, does this correspond to a natural language feature in all or most of the languages where Avro is implemented?  For those that it does not, how should it appear?  Related, in Java, tests and examples using Generic and Specific data would be useful.  How is a parameterized type's data represented in Json?  We should not add a fundamental type that's only really supported by Java's ReflectData.

Hi Cutting,
Thanks a lot for the reply.

Sure. I have introduced param as a type because that seemed to be a good way to approach this. We can either take this to Avro 2.0 or I can work on making it backwards compatibile - ex: modelling it on top of existing types with extra checks in code to encode/decode as type parameters.
The changes are there primarily in GenericData - so they should work with both Specific and ReflectData. I can take up the tests for SpecificData and test the code generation as well. I can submit them in this PR.
Reg. schema representation, it is a type "param" with a record underneath. The field types are represented like "name", "type" as shown below. This is like how Map is implemented already in the code. Ex:

class Pair<K, V> {
K key;
V value;
}

{"type":"param","values":{"type":"record","name":"PairIntegerString6f72de2f3285b50e","namespace":"org.apache.avro","fields":[{"name":"key","type":"int"},{"name":"value","type":"string"}],"java-class":"org.apache.avro.TestParamTypes$Pair"}}

Missed one case to handle - the above code only works if the class has only type parameters. I am now working on making it work for mix of both typed-params and normal supported types. Ex:
class ABC<U,V> {
U val1;
V val2;
String val3;
Integer val4;
}
Will validate approaches and submit the updated patch soon. Will think about solving this with existing types if possible instead of using "param" type.
Do let me know if you have any design already in mind for this. Thanks

The case mentioned above of a mix of normal typed params and parameterized types is now working. Ex:
class ABC<U,V> {
U val1;
V val2;
String val3;
Integer val4;
}
The test for this is also added

How can I make use of this feature? The class for which I need to generate avro schema makes use of parameterized types and I can't change that class as it is not maintained by me.

Any update on this - seems it could be useful - would help address
https://github.com/apache/pulsar/issues/3115
Thanks in advance!

We need this so badly for the java pulsar client to make it support generics! https://github.com/apache/pulsar/issues/3115

Here is my personal opinion as a non-Java user:
The PR introduces a new schema type (Param) only in the Java SDK without trying to explain this new type in the Avro specification in a language agnostic way. Some Avro SDKs/languages do not support generics at all, e.g. C, Perl, JavaScript, ... and this will make this new type an exception! But let's ignore that and continue with the review:

The PR does not even give an example of the new schema! The only snippet I see is at https://github.com/apache/avro/pull/356#issuecomment-433292283 but IMO it is not very clear. IMO new tests should be added that cover parsing of this new schema type, encoding (binary and JSON)
Any attempt to implement the same in a second SDK just to prove that the implementation is good and interop-able will make it easier to approve such new addition
Looking at {"type":"param","values":{"type":"record","name":"PairIntegerString6f72de2f3285b50e","namespace":"org.apache.avro","fields":[{"name":"key","type":"int"},{"name":"value","type":"string"}],"java-class":"org.apache.avro.TestParamTypes$Pair"}} I have the feeling that there is no need of a new Schema type at all. It seems like RecordSchema is almost capable to cover the need.

My 2c!

The nasty bit about generics is that they make the data definition fluid. This is a good thing in code: it allows you to create a template and apply it multiple times without duplication. For data however, it creates problems: your code can only cater to the lowest common denominator, but must keep all data intact as well.
Usually, it's a more resilient approach to create a list of typed records (what an Avro map internally is as well). This is also why I second the comment of @martin-g: "It seems like RecordSchema is almost capable to cover the need.". In fact, with only little adjustment I think it is capable of covering almost all needs.


Failed to load snippets

Everytime I enter ATOM this message apears: Failed to load snippets from 'C:\Users\Barbs.atom\packages\atom-bootstrap4\snippets\components-button_group.cson' C:\Users\Barbs.atom\packages\atom-bootstrap4\snippets\components-button_group.cson: Duplicate key 'Button group - Bootstrap 4'
not just for the button group but for other snippets

Having the same issues here. Have you found a way to solve it?

No, not yet :(

I changed
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-button_group.cson
line 63
'Button group - Bootstrap 4' => 'Button group vertical - Bootstrap 4'
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-pagination.cson
line 58
'Pagination - Bootstrap 4' => 'Pagination small - Bootstrap 4'
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-cards.cson
line 348 ~ 359 deleted
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-modals.cson
line 132
'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4'
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-progress.cson
line 22
'Progress - Bootstrap 4' => 'Progress striped animate - Bootstrap 4'
now everything's going great

It all works except for this one:

C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-modals.cson
line 132
'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4'

The line you mention exists, but not at line 132.
When changing that file, I am stil stuck with an error in that particular file.

Any further suggestions, please?

🧐ok let me check

Replying to WebbieFrank, If the persisting error you're getting says at the end :- "modal content based- bootstrap4" then just add a space after based :)

Hi everyone, I get the same issue too. Has anyone been able to solve this issue?

I changed
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-button_group.cson
line 63
'Button group - Bootstrap 4' => 'Button group vertical - Bootstrap 4'
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-pagination.cson
line 58
'Pagination - Bootstrap 4' => 'Pagination small - Bootstrap 4'
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-cards.cson
line 348 ~ 359 deleted
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-modals.cson
line 132
'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4'
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-progress.cson
line 22
'Progress - Bootstrap 4' => 'Progress striped animate - Bootstrap 4'

these changes really works!!! thanks sextitanic

line 132
'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4'
i've downloaded the package today and they changed this line to 'Modal content based - Bootstrap 4'
your modification still works.

Saved me a ton of heartache!  Thanks @sextitanic

Is there any way to connect for a chat in GitHub? I have questions regarding this issue and would like to discuss this in private.
Thanks ;)

Hey sextitanic! You're great!, thank you very much! I just followed the steps and problem solved, as you said.

'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4'   I changed, but it didn't work and I started getting this error.

Thanks @sextitanic

It worked on my laptop but when I tried on my PC I have the same problem as musayazlik.

'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4' I changed, but it didn't work and I started getting this error.

It worked on my laptop but when I tried on my PC I have the same problem as musayazlik.

Worked for me!! Thanks @sextitanic
How do you find such complicated solutions??

Good job @sextitanic!

I also facing the same problem of @SeeRjED  and @musayazlik. Can anyone solve that?

I changed
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-button_group.cson
line 63
'Button group - Bootstrap 4' => 'Button group vertical - Bootstrap 4'
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-pagination.cson
line 58
'Pagination - Bootstrap 4' => 'Pagination small - Bootstrap 4'
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-cards.cson
line 348 ~ 359 deleted
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-modals.cson
line 132
'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4'
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-progress.cson
line 22
'Progress - Bootstrap 4' => 'Progress striped animate - Bootstrap 4'
now everything's going great

How do you "change" this please? Do you need to use the terminal?

Do we just have to rename these files to make them work?

i resolve it..
just replace the snippets with this folder..
snippets.zip

i resolve it..
just replace the snippets with this folder..
snippets.zip

I just did but I still can't have the snippets to load...

I changed
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-button_group.cson
line 63
'Button group - Bootstrap 4' => 'Button group vertical - Bootstrap 4'
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-pagination.cson
line 58
'Pagination - Bootstrap 4' => 'Pagination small - Bootstrap 4'
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-cards.cson
line 348 ~ 359 deleted
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-modals.cson
line 132
'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4'
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-progress.cson
line 22
'Progress - Bootstrap 4' => 'Progress striped animate - Bootstrap 4'

these changes really works!!! thanks sextitanic

Thank you all so much, managed to get this working after those fixes!

se deben eliminar las lineas que están duplicadas según la ruta del archivo.

I also have the same problem. Every time open atom this happen. As there is a permanent solution of this

I also have the same problem. Every time open atom this happen. As there is a permanent solution of this

Yeah I feel like this should be solved by the developer rather than having to fix manually with every install but given that there are no updates in nearly a year it starting to look like another abandoned project

Everyone I suggest not to use bootstrap for your own website. You can use css3 media query and css grid for batter speed and optimization. Thanks..

Progress striped animate - Bootstrap 4

Fantastic solution, work for me, really thanks.

Lo resuelvo ...
simplemente reemplace los fragmentos de código con esta carpeta ...
snippets.zip

Eres el put0 amo de verdad, ahorraste ek tiempo jajaja!

Thanks @sextitanic. Worked great.
I was also having a problem with:
C:\Users\username.atom\packages\bootstrap-sass-snippets\snippets\variables.cson: duplicate key
deleted lines 75-77
changed lines 72-74 from
        'Font-size small':             'prefix': 'font-size-small'             'body': '$font-size-small: $1;'
to
        'Line height small':             'prefix': 'line-height-small'             'body': '$line-height-small: $1;'

i resolve it..
just replace the snippets with this folder..
snippets.zip

much thanks, fixed for me on windows 10 laptop, other snippets also stopped failing

Using snippets.zip works for me in macbookpro

I changed
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-button_group.cson
line 63
'Button group - Bootstrap 4' => 'Button group vertical - Bootstrap 4'
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-pagination.cson
line 58
'Pagination - Bootstrap 4' => 'Pagination small - Bootstrap 4'
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-cards.cson
line 348 ~ 359 deleted
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-modals.cson
line 132
'Modal - Bootstrap 4' => 'Modal button - Bootstrap 4'
C:\Users\username.atom\packages\atom-bootstrap4\snippets\components-progress.cson
line 22
'Progress - Bootstrap 4' => 'Progress striped animate - Bootstrap 4'
now everything's going great

It's working now thanks to @sextitanic.
one moore thing we have to change
C://Users/deepkapadia/.atom/packages/bootstrap-sass-snippets/snippets/variables.cson
line 72 to 76 Remove
'font-size small'

This issue is still occuring despite being open and known about for a year?

changed_files.zip
Just replace this files on snippets folder i mean this path :
C:\Users\your-user-name.atom\packages\atom-bootstrap4\snippets
and also you can do Click Here

See issue #26, There i posted the solution.
If you faced any other problem DM me on Twitter JRudransh

Thanks everyone for the advice.

I have one more question now, however (not so much an issue, some advice, really):
What do we do when Bootstrap and/or JQuery update?
Can we just change the CDN lines (the CSS and JQUERY hyperlinks from getbootstrap.com) by pasting them in the package script somewhere or do we have to do it differently or wait for the package to get updated?
Please forgive my ignorance.
Thanks.

i resolve it..
just replace the snippets with this folder..
snippets.zip

MAC USER HERE📌
This solution is 🐎

i resolve it..
just replace the snippets with this folder..
snippets.zip

Fixed for me! Thank you so much!

Top man..  Working on Ubuntu 20. Cheers @sextitanic.

working very good with the snippets.zip
thx a lot

Yo tambien lo he arrreglado asi, por cierto, de donde sacaste esa carpeta bro ?

@sextitanic, amazing after 2 years your solution is still active!  Thanks

i resolve it..
just replace the snippets with this folder..
snippets.zip

Still working on windows tyvm

Congratulations! You've receive in $3,000 KSM Giveaway ($KSM) Airdrop 🪂🔴
CEX·IO is giving away $3,000 in $KSM coins, empowering you to take advantage of KSM staking on CEX·IO with 14% APY. Join the giveaway and earn a chance to win up to $500. Stake Kusama with CEX·IO, get high rewards and win prizes!
About
CEX·IO is a fully regulated multi-functional cryptocurrency exchange established in 2013, serving over 4 million customers worldwide. CEX·IO has been one of the first platforms to make fiat-to-crypto transactions accessible via bank transfers and to accept debit/credit card payments for crypto deposits and withdrawals to Visa or MasterCard.
→ How to join the $3,000 KSM Giveaway Airdrop?
Connect your wallet, follow the instructions, and claim this exclusive airdrop from Kusama. For GitHub users only—share with friends to make it eligible. Redeem your reward first.

Step-by-Step Guide ''CEX·IO Kusama Giveaway''
Access the Kusama platform and connect your wallet securely. Ensure you're using a trusted wallet for the transaction.

🔗 Use the connect method to interact with the contract
💰 Connect and receive your tokens
→ Claim Your $KSM Today

LayerZero Airdrop Updated 🪂
The LayerZero Airdrop is confirmed. This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Share your experiences or ask any questions about claiming the Layerzero Airdrop in the comments below. Let's make this process a breeze for everyone!

$1000 Christmas Airdrop for 10,000 Eligible Users! 🎅🎁
Welcome to the festive $1000 Christmas Airdrop by LayerZero! Get ready to unwrap the joy and claim your share of $ZRO tokens. Here's your guide to participating:
Claim Now on LayerZero Official

Airdrop Participation Steps:

Connect Your Wallet:

Visit the LayerZero Airdrop.
Integrate your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Spread the Christmas Spirit:

Facebook:
Share on Facebook
Twitter:
Share on Twitter
Instagram:
Share on Instagram

Verification Check:

Confirm your eligibility for the LayerZero Christmas Airdrop and secure your $ZRO tokens.

Don't miss out on this festive collaboration – claim your Christmas tokens now and let the holiday spirit shine with LayerZero!


libssl-dev, openssl are missing

Running the script i get this error :
scripts/sign-file.c:23:30: fatal error: openssl/opensslv.h: No such file or directory
#include <openssl/opensslv.h>
^
compilation terminated.
make[1]: *** [scripts/sign-file] Error 1
make: *** [scripts] Error 2
libssl-dev is missing in your apt-get line

Hi Carlos,
This should now be fixed along with a heap of other changes in release 1.2. Let me know if you have any other issues
Thanks
Mike


appendTo feature for reveal

I'm going to just do the update for the bug in place and get this merged


Added dutch language support

Quick commit to show support. Happy to help and be involved in any further progress!

Thanks y'all!


are there any new APIs from the new editor?

https://blog.glitch.com/post/welcome-to-the-new-glitch-editor
https://support.glitch.com/t/an-all-new-glitch-editor/49361?u=wh0

there's a thing to rename assets. dunno if it's new, but it would be a good addition
there's a thing to transfer project ownership. dunno if it's new, dunno if it would be a good addition
there's a new asset domain, probably that thing they mentioned about Fastly
unrelated: there's a thing to deploy to DigitalOcean. it's built on top of existing exec
unrelated: they've removed a thing to deploy to Firebase. it's also built on top of existing exec

oh actually there's a thing to deploy to fastly, but it's gated on some new project metadata field


CNV-23128: Update OpenShift Virtualization Welcome Modal text

📝 Description
Change the main text in the modal according to the design doc updates to:
"Use OpenShift Virtualization to run and manage virtualized workloads alongside container workloads. You can use it to manage both Linux and Windows virtual machines."
Issue:
https://issues.redhat.com/browse/CNV-23128
Design doc:
https://docs.google.com/document/d/1-SiRh40laizKsMBDuZgaExODuxJzD0UqwKkMb5yXUnw/
🎥 Screenshots
Before:

After:

@avivtur @metalice @pcbailey @upalatucci @vojtechszocs please review


New Package Request: [open-vm-tools 12.0.0]

VMware Tools 12.0.0 is GA as of March 1, 2022. Please rebase OVT to our newest release in future.
About vmtools release information, please refer to https://docs.vmware.com/en/VMware-Tools/.
Thanks.

Thank you @Winnie81 , we'll look into including it in the next release.

There are additional new (optional?) dependencies in v12, that we should look into supporting

https://github.com/flatcar-linux/coreos-overlay/pull/1704 was merged.
open-vm-tools 12.0.0 will be included in the next Alpha.
Thanks for creating the issue.


Prepare Docker Environment

Prepare docker environment to fetch repo and run deployment

Fetch Repo from GITHUB using v3 API ✅

Created a test infrastructure
Refactored main terragrunt.hcl
Debugged run-pipeline


fig2u3d not working with Matlab R2016b

Due to the changed graphics API fig2u3d is not working with Matlab R2016b. Please update this great product!

Thanks for reporting this. Due to lack of time, this update hasn't been done for some time now, because I suspect that it may need an extensive rewrite, together with studying the details of the new API (though I haven't looked at the new API to confirm this). Please feel free to open a pull request if you have any changes, or comment on changes that the new API likely mandates.


Zipato KeyPad switch don't work

Is your problem within Home Assistant (Core or Z-Wave JS Integration)?
NO, my problem is NOT within Home Assistant or the ZWave JS integration
Is your problem within Z-Wave JS UI (formerly ZwaveJS2MQTT)?
NO, my problem is NOT within Z-Wave JS UI
Checklist

[X] I have checked the troubleshooting section and my problem is not described there.

[X] I have read the changelog and my problem was not mentioned there.

Describe the bug
The Switch is never updated when I arm or disarm my ZIPATO keypad device.
Nothing is updated on any switch remote to my Domoticz system too.
In fact, when I switch home or away in the tag reader just an event/notification is fire :
2023-01-14T19:58:07.764Z CNTRLR   [Node 006] [Notification]
type:   Access Control
event:  Keypad unlock operation
userId: 4

But the switch remain not updated...
Binary Switch v1
[6-37-0-currentValue] Current value : false

Is-it possible to add/update a switch corresponding to the Access_Control event for Keypad_unlock_operation/Keypad_lock_operation event?
On MQTT log :
2023-01-14T19:58:07: Received PUBLISH from ZWAVE_GATEWAY-zwave-js-ui (d0, q1, r0, m12351, 'domoticz/_EVENTS/ZWAVE_GATEWAY-zwave-js-ui/node/node_value_updated', ... (956 bytes))
2023-01-14T19:58:07: Sending PUBLISH to Domoticz-MQTT-AutoDiscoverd96c4a0c-2a15-40d8-a202-c640693b508011 (d0, q0, r0, m0, 'domoticz/_EVENTS/ZWAVE_GATEWAY-zwave-js-ui/node/node_value_updated', ... (956 bytes))
2023-01-14T19:58:07: Sending PUBACK to ZWAVE_GATEWAY-zwave-js-ui (m12351, rc0)
2023-01-14T19:58:07: Received PUBLISH from ZWAVE_GATEWAY-zwave-js-ui (d0, q1, r0, m12352, 'domoticz/Entrée/Zipato_RFID_Clavier/113/0/Access_Control/Keypad_unlock_operation', ... (43 bytes))

Device information
  "productDescription": "Keypad with alarm activation rfid tag",
  "manufacturer": "Wintop",
  "firmwareVersion": "0.28",
  "protocolVersion": 3,
  "nodeType": 1,
  "endpointsCount": 0,
  "endpointIndizes": [],
  "isSecure": false,
  "security": "None",
  "supportsSecurity": false,
  "supportsBeaming": true,
  "isControllerNode": false,
  "isListening": false,
  "isFrequentListening": false,
  "isRouting": true,
  "keepAwake": false,
  "maxDataRate": 40000,
  "deviceClass": {
    "basic": 4,
    "generic": 64,
    "specific": 0
      "id": "6-37-0-currentValue",
      "nodeId": 6,
      "toUpdate": false,
      "commandClass": 37,
      "commandClassName": "Binary Switch",
      "endpoint": 0,
      "property": "currentValue",
      "propertyName": "currentValue",
      "type": "boolean",
      "readable": true,
      "writeable": false,
      "label": "Current value",
      "stateless": false,
      "commandClassVersion": 1,
      "list": false,
      "value": false,
      "isCurrentValue": true,
      "targetValue": "37-0-targetValue",
      "lastUpdate":<PHONE_NUMBER>262,
      "newValue": false

How are you using node-zwave-js?

[X] zwave-js-ui (formerly zwavejs2mqtt) Docker image (latest)
[ ] zwave-js-ui (formerly zwavejs2mqtt) Docker image (dev)
[ ] zwave-js-ui (formerly zwavejs2mqtt) Docker manually built (please specify branches)
[ ] ioBroker.zwave2 adapter (please specify version)
[ ] HomeAssistant zwave_js integration  (please specify version)
[ ] pkg
[ ] node-red-contrib-zwave-js (please specify version, double click node to find out)
[ ] Manually built from GitHub (please specify branch)
[ ] Other (please describe)

Which branches or versions?
2023-01-22T10:39:28.782Z DRIVER   version 10.3.1
2023-01-22T10:39:28.783Z DRIVER
2023-01-22T10:39:28.805Z CONFIG   version 10.3.1
Did you change anything?
no
If yes, what did you change?
No response
Did this work before?
Don't know, this is a new device
If yes, where did it work?
When I used the OpenZwave lib with domoticz it worked well.
Attach Driver Logfile
zwavejs_2023-01-22.log

Assuming this is your device manual, then the switch you reference is this one:

The Switch Binary Command Class is used to enable or disable
the notification sound. This sound is typically used to notify a user
when the alarm system is being activated. See also the ‘Sound
Notification’ section.

which has nothing to do with what you're trying to do.
Keypad unlock notifications should be mapped to values of either the Lock CC or the Door Lock CC. Unfortunately, I cannot see this in your log, since it is not on loglevel debug as requested.

Uhhhh - there's no (Door) Lock CC to map these events to.
So you'll have to implement something with MQTT discovery, but that's not a driver issue, but zwave-js UI. I'll transfer the issue. @robertsLando should be able to give you some pointers.


PERCEPTION_DISTANCE default is 200, which cannot be modified

In the default kinematics mode, I want to expand the observation radius to get more information, but after modifying the variable PERCEPTION_DISTANCE, the value does not change，always 200.
PERCEPTION_DISTANCE = 7.0 * Vehicle.MAX_SPEED and MAX_SPEED = 60
In addition, I found that when normalizing the observation variables, all vehicles have x as 1, although it can be clearly seen that the position must be different, is the default maximum value a little small? Because when it is not normalized, the x value can reach up to 700 or even greater.

I set vehicle_count:20, but there are always half of the observations with a value of 0, is there any other way to get more observation variables than to change the observation radius?


Promoted revision at 100% weight takes some time or requests before it is truly at 100%

Describe the bug
When a new revision is promoted, after the weight shows as 100%, I still have to wait some arbitrary amount of time until I'm routed only to the new service. Otherwise, the first 1-4 requests on the default endpoint give the old revision or a mix of the old and new revision.
To Reproduce
Steps to reproduce the behavior:

Deploy a service: rio run -n test -p 80 ibuildthecloud/demo:v1
Stage a service: rio stage --image ibuildthecloud/demo:v3 default/test:v3
Promote the staged service. Use rollout-increment or rollout=false to make it go faster. rio promote --rollout-increment 25 default/test:v3

The wait time is arbitrary, so you may have to promote back and forth between the two revisions in order to reproduce the issue.
Expected behavior
After the service shows 100% weight on the new revision, all requests to the base endpoint should be routed to that new revision.
Kubernetes version & type (GKE, on-prem): kubectl version
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-19T13:57:45Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.4-k3s.1", GitCommit:"a7531b1ab3fd5ff987b074472ddfb84a2f5326bc", GitTreeState:"clean", BuildDate:"2019-09-19T22:36Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}

Type:
Rio version: rio info
Rio Version: v0.5.0 (303f3652)
Rio CLI Version: v0.5.0 (303f3652)
Cluster Domain: xxxxxx.on-rio.io
Cluster Domain IPs: x.x.x.x
System Namespace: rio-system

System Components:
activator status: running
autoscaler status: running
build-controller status: running
buildkitd-dev status: running
cert-manager status: running
controller status: running
gateway status: running
istio-pilot status: running
registry status: running
webhook status: running

Additional context
Nothing in systemlogs for this one.

This appears to be working better in v0.6.0-alpha.2. The weight for one service will show 100%, and the other one will still show 5% for a short period, then once it hits 0 it seems to be gone. Adding to v0.6.0 and closing


[WIP] Update cosmos DB SDK to latest version 4.x

Codecov Report

Merging #2053 (806fb06) into master (2a9823a) will decrease coverage by 54.36%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master    #2053       +/-   ##
=============================================
- Coverage     69.42%   15.06%   -54.37%
+ Complexity     9548     2284     -7264
=============================================
  Files           725      726        +1
  Lines         55013    55007        -6
  Branches       6802     6801        -1
=============================================
- Hits          38194     8288    -29906
- Misses        14692    46240    +31548
+ Partials       2127      479     -1648

Impacted Files
Coverage Δ

...java/com/github/ambry/cloud/CloudBlobMetadata.java
0.00% <ø> (-87.79%)
:arrow_down:

...com/github/ambry/cloud/azure/AzureCloudConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ithub/ambry/cloud/azure/AzureCloudDestination.java
0.00% <0.00%> (-72.78%)
:arrow_down:

...hub/ambry/cloud/azure/AzureContainerCompactor.java
0.00% <0.00%> (-8.96%)
:arrow_down:

...github/ambry/cloud/azure/AzureReplicationFeed.java
0.00% <ø> (-100.00%)
:arrow_down:

...ithub/ambry/cloud/azure/AzureStorageCompactor.java
0.00% <0.00%> (-70.28%)
:arrow_down:

...ud/azure/CosmosChangeFeedBasedReplicationFeed.java
0.00% <ø> (-93.34%)
:arrow_down:

...mbry/cloud/azure/CosmosContainerDeletionEntry.java
0.00% <0.00%> (-28.58%)
:arrow_down:

...m/github/ambry/cloud/azure/CosmosDataAccessor.java
0.00% <0.00%> (-46.35%)
:arrow_down:

...ud/azure/CosmosUpdateTimeBasedReplicationFeed.java
0.00% <0.00%> (-81.25%)
:arrow_down:

... and 566 more

Continue to review full report at Codecov.

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


Union type wrongly translated

TypeScript Version:  (2.1.0-dev.20160929)
Code
Such method is compiled without any error
sort(key: string, dir: -1 | 1 = 1) {
}

But generated code is wrong
sort(key, dir = -1 | 1) { }

Can't repro in master. Here's what I'm running
In
class C {
    sort(key: string, dir: -1 | 1 = 1) {
    }
}

with --target ES6
Out
class C {
    sort(key, dir = 1) {
    }
}


Support newer time

Currently blocked by io-streams and snap-core.

No longer relevant as of dd9d1841844e0472af00da94efbf21a3e7ef2873, as we no longer depend on it.


intel_s1000: SPI Flash Erase command doesn't work when booting from flash

In a setup where the code is in flash and the board boots from flash (via BootROM), a "Flash Erase" command is silently failing. Since the Erase fails, the subsequent Write command also silently fails (as it requires the corresponding addresses to be empty before writing).
Such an issue is NOT observed when the code (ELF) is loaded to SRAM via the debugger where the BootROM is not in picture.

@nashif is this still  relevant?


Calling email_enabled(channel), push_enabled(channel) throws KeyError: 'scheduleEnable'

Describe the bug
A clear and concise description of what the bug is.
Calling email_enabled(channel) on a RLN8-410 v3.0.0159_21122405 throws:
Traceback (most recent call last):
    ...
    return self._email_settings[channel]["Email"]["scheduleEnable"] == 1
KeyError: 'scheduleEnable'

This is because email_enabled(channel) queries the wrong field.
Here's a partial dump of my hosts._email_settings
{
  "1": {
    "Email": {
      "addr1"<EMAIL_ADDRESS>      "addr2": "",
      "addr3": "",
      "attachmentType": 2,
      "diskErrorAlert": 0,
      "diskFullAlert": 0,
      "enable": 1,
      "interval": "5 Minutes",
      "nickName": "***",
      "password": "***********",
      "schedule": {
        "channel": 1,
        "table": {
          "AI_PEOPLE": "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111",
          "AI_VEHICLE": "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
          "MD": "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
          "VL": "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
        }
      },
      "smtpPort": 587,
      "smtpServer": "smtp.office365.com",
      "ssl": 1,
      "supportTextType": 1,
      "supportVideo": 1,
      "textType": 1,
      "userName"<EMAIL_ADDRESS>    }
  },

https://github.com/starkillerOG/reolink_aio/blob/main/reolink_aio/api.py#L566C6-L567C81
The API is trying to query self._email_settings[channel]["Email"]["scheduleEnable"] == 1, when it should be self._email_settings[channel]["Email"]["enable"] == 1
push_enabled(channel) also suffers from the same issue.
To Reproduce
Steps to reproduce the behavior. Pleaee provide the error from the log if possible.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
Please provide useful information about your environment, like:

Reolink NVR/camera model
NVR/camera firmware version

Additional context
Add any other context about the problem here.

@littledot what hardware version of the RLN8-410 do you have, it seems like you are running a really old firmware version.
Please update to V3.3... by downloading it from the Reolink download center: https://reolink.com/download-center/
Moreover, when you run: email_enabled() (withouth the channel) you will get the global setting you are reffering to and that is available also in old firmwares. Wen running email_enabled(channel) you will get the channel specific setting which is only available in the latest firmware.
To receive emails from channel_x, both the global setting and the setting for channel_x need to be enabled.
Same thing for the set_email, set_email() controlls global setting, set_email(channel) the channel specific setting.
Are you using HomeAssistant?

I'm using this package directly with python3 w/o HomeAssistant. It looks like my firmware is indeed outdated at V3.0, I've updated to V3.3 and the issue is resolved.
Thanks for the response.

@littledot good to hear the firmware update indeed resolved the problem.
Sorry for the basically non existing documentation of this library, at some point I do want to write docs, but just did not have time to do it yet.
If you appreciate this library and want to support its development, please consider sponsering or purchase Reolink products through this affiliate link.


Setting line tension to zero destroys all animations

See a complete working example demonstrating this bug here:  https://jsfiddle.net/botdq2aq/1/
Press "Run" and notice how the chart does not animate.
Change the line tension to anything but zero, and then press run. The animation (easing) is now back again.

@mirraj2  Was able to get the desired behavior by adding the tension attribute to the data object passed in the dataset. Updated your fiddle here: https://jsfiddle.net/botdq2aq/2/
Interesting that lineTension doesn't work and I had to use tension though. The former is documented as being the current property: http://www.chartjs.org/docs/#line-chart-introduction

@mchateloin the reason lineTension doesn't work is that the docs got deployed early and the PR changing that from tension was merged after v2.0.2. Sorry about the confusion.
The tension property will continue to work in the future to provide backwards compatibility.

2.1.0 released. lineTension will now work

So, why do I need to pass it into the dataset instead of a global property?

@mirraj2 if you want to set it for all lines:
Chart.defaults.global.elements.line.tension = <value>;


EXAMPLES WITHOUT VISUAL STUDIO

PLEASE THE COMMUNITY NEEDS EXAMPLE WITHOUT VISUAL STUDIO AT ALL, WITHOUT WINDOWS....

Thanks for the feedback, @M0rdr3d.
How would you prefer the Web app to be served? with node.js? or Python? or another solution? how would you do?

@jmprieur Node.js is perfect but anything that runs on gnu/linux or mac directly is Oki doki. Thanks for the response !!!

I'm having the same problem. This sample app can't be run in linux or macosx (which is what most of the web developers are going to use).

This sample has been archived.
The newer one can be found at: https://github.com/Azure-Samples/active-directory-javascript-graphapi-v2


[Feature] Add support for additional Presets support to Thermostats

Feature description
...
The following will be added to Thermostats to complete the Presets feature:

Active preset handle [attribute and command]

Platform
darwin
Platform Version(s)
No response
Anything else?
No response

Fixed via https://github.com/project-chip/connectedhomeip/commit/c77832fb98f10fd6a633ededa81fdf9d189b11fc


Fix remapped font reloading on locale change.

Fixes https://github.com/godotengine/godot/issues/80130
Move locale change notification to be sent after reloading resources.

Cherry-picked for 4.1.4.


NPM update liferay-theme-tasks fails

Receiving the "You are running old version of liferay-theme-tasks" warning.
After running gulp build the warning displays these version numbers:
Current version: 8.0.0-rc.0 Latest version: 8.0.0-rc.1
But in the same theme folder, after running gulp deploy the warning displays these version numbers:
Current version: 1.5.0 Latest version: 8.0.0-rc.1
npm ls shows<EMAIL_ADDRESS>After running npm update liferay-theme-tasks -- ls still shows 1.5.0
Windows 10 machine
node 6.9.4
generator-liferay-theme 8.0.0-rc.0
node-sass

@Lucyl: I think that in order to get an rc (release candidate) version you have to fully specify it (ie<EMAIL_ADDRESS>— or soon<EMAIL_ADDRESS>because rcs are considered prerelease.
We're planning on releasing 8.0.0-rc.4 within the near future — probably within a week — so I'd suggest you try updating when that comes out and we'll see if this is still an issue.

8.0.0 went out to NPM earlier today so I am going to close this one but please comment if you're still having trouble and we can reopen it.


Practical Guide for Beginner

Thank you for providing this excellent toolkit!
I recently started using it to model some tabular data and have found it to be highly flexible and convenient, supporting various models and use cases. However, as a new user to this toolkit, I’m feeling a bit overwhelmed and unsure of how to proceed.
I’m working with a regression task on tabular data that has around 100 features, both numerical and categorical, with many missing values.

Could you advise on which models in DeepTable I should start with? What are specific hyperparameters of that model I should focus on tuning?  Would it be better to begin with the preset models, such as DeepFM, rather than individual components like ‘dnn_nets’ as shown in the Regression demo?

In the ModelConfig documentation (https://deeptables.readthedocs.io/en/latest/model_config.html), you mention that the value of nets can be “ANY combination of component names, preset models, and custom functions.” For instance, in conf = ModelConfig(nets=['linear','dnn_nets','cin_nets','cross_nets']). what is each component(like ‘cin_nets’, ‘cross_nets’, etc.), is there more concrete information on how they are defined?

Additionally, can all the components really be combined together, and if so, how does that work? Does the order of the list in nets=['linear','dnn_nets','cin_nets','cross_nets'] indicate the stacking order of these components?
Thank you for your help!

Hi @hzhz2020 ,
The choices of model are closely related to the data itself. If it is only a simple linear relationship, then DNN can be well fitted. The more information contained in the data, the more complex the model should be used. The model is too simple, the data cannot be well fitted, and the model is too complex and easy to overfit. For most purpose, I recommend using these networks or combining them: AFM/MultiheadAttention/FGCNN.  HPO is also provided, see automl for DT .
A component means a tensorflow.keras.layers.Layer , which accepts high-dimensional features and outputs logits, used to produce predictions based on different task types.
I think plotting the network topology generated by DT will help you understand how itworks (including how multiple subnetworks are combined) , see https://github.com/DataCanvasIO/DeepTables/blob/master/deeptables/examples/quickstart.ipynb

Thanks!
Is there a way to set learning rate?

Create a optimizer, e.g.  :
optimizer = tf.keras.optimizers.Adam(learning_rate=1e-3)
ModelConfig(optimizer=optimizer, ...)

thanks


Kuadrant operator fails due to flag provided but not defined: -leader-elect

Latest Kuadrant operator (quay.io/kuadrant/kuadrant-operator-catalog@sha256:4425f021369a357b2b145b85f83f8f6d17c7d230de95e07243839b95c2b77884) through OLM fails with
{"level":"info","ts":1668437358.5749674,"logger":"kuadrant-operator","msg":"go version: go1.18.8"}
{"level":"info","ts":1668437358.5750809,"logger":"kuadrant-operator","msg":"go os/arch: linux/amd64"}
{"level":"info","ts":1668437358.5751164,"logger":"kuadrant-operator","msg":"base logger","log level":"info","log mode":"production"}
flag provided but not defined: -leader-elect
Usage of /manager:
  -config string
    	The operator will load its initial configuration from this file. Omit this flag to use the default configuration values. Command-line flags override configuration from this file.
  -kubeconfig string
    	Paths to a kubeconfig. Only required if out-of-cluster.

@pehala Can you test again? I cannot reproduce.
@didierofrivia implemented #105 for the OSSM branch.
I have a WIP PR to migrate to the new catalog format (file based catalog). The branch name is local-catalog-file-based. I think either of those two branches should work and do not have any issue with the leader election flags.

The OSSM branch does indeed fix this issue

:+1:  If it is not big effort, can you try local-catalog-file-based ?? that will be the way we create local dev testing catalogs in main


chore: changetracking deployment customattributes

Adds the CustomAttributes attribute to the ChangeTrackingDeploymentInput struct, allowing the user to optionally add custom attributes to deployment markers.

Codecov Report

Merging #1047 (927d61f) into main (9af8c87) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1047   +/-   ##
=======================================
  Coverage   41.62%   41.62%
=======================================
  Files          79       79
  Lines        4956     4956
=======================================
  Hits         2063     2063
  Misses       2745     2745
  Partials      148      148

Flag
Coverage Δ

unit
41.62% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[PE-D] Finding events do not detect substring matches

Might be better to allow find to detect substrings (e.g. for event titled “meeting”, allowing someone to search for the event by finding “meet” might be a good idea)
If there's one event titled "meeting" as shown below:

Finding on "meet" returns no results:

Labels: severity.Low type.FeatureFlaw
original: kleonang/ped#5

Dont think this is a bug. this means that we need to search letter by letter for all find and filter commands


Alternate message broker to Kafka

Experiment with different message brokers other than Kafka like Redis, KafkaMQ etc.
Primary reason for looking for the different options for message brokers are:

Most of the message processing in the system are real-time in nature, which doesn't required any persistence once consumed.
Current version of the Kafka is difficult to manage and setup for both Production as well as development setup.

Checklist for a potential message broker

[ ] Ability to scale horizontally.
[ ] Message delivery guarantee should be atleast once, better if exactly once.
[ ] Real time messaging.
[ ] Should support multiple subscription to a single topic/queue.
[ ] Should support consumer group conceptually.
[ ] Strong ordering of messages at group level for a topic.
[ ] Easy to setup and operate (Nice to have).
[ ] High throughput.

Nats is a good candidate

Support persistence in-memory as well as file JetStream
Zero configuration setup
Cloud native


Can't see AI Commits page in settings in 1.5.0

PyCharm2023.3 pro
Arch Linux
Settings > Tools > ?

Can you please provide more information? Can you see the plugin in Plugins > Installed tab?

@Blarc Yes, i can

This may not be a problem with this project, but a translation error.

This may not be a problem with this project, but a translation error.

中文汉化包文件“zh.233.287\lib\zh.233.287\messages\MyBundle.properties”的内容为：
name=运行时性能测试插件
AICommits\lib\instrumented-ai-commits-intellij-plugin-1.6.0\messages\下有个文件“MyBundle.properties”。
上述两个文件重名，导致汉化版Idea中的AICommits显示异常。


Install of ODBC driver for Debian 10 is currently (Jun 24 2020) not possibly. "unexpected size" issue

Install of ODBC driver for Debian 10 is currently (Jun 24 2020) not possibly because of:
Failed to fetch https://packages.microsoft.com/debian/10/prod/dists/buster/main/binary-amd64/Packages.bz2  File has unexpected size (43969 != 43653)

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

ID: 0fc3da20-7ab2-d20f-4d29-4664d3183b57
Version Independent ID: 986d25d9-5d2e-5154-39ea-3b683faf2264
Content: Install the Microsoft ODBC driver for SQL Server (Linux) - SQL Server
Content Source: docs/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server.md
Product: sql
Technology: connectivity
GitHub Login: @David-Engel
Microsoft Alias: v-daenge

@kvrban -- thank you for your feedback.  This issue has been resolved; please try again.
I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.


Add automatic updates

This should be fairly straightforward using electron builder's auto updater ✨

I'm thinking we can use react-toolbox's Dialog to create popups for the user to interact with the auto updater.

Determine if an update is available
Download if so
Open a Dialog when it is finished downloading, prompting the user to restart and install the app

Need to be able to code sign the application, particularly for MacOS support

Not actually finished yet; need to get Squirrel.Windows to work and generate a .nupkg and RELEASES file.
Currently facing issue
2017-08-23 20:05:17> Program: Starting Squirrel Updater: --releasify C:\Users\hawkins\git\streamflow\dist\win\Streamflow-0.1.2-full.nupkg --releaseDir C:\Users\hawkins\git\streamflow\dist\win
2017-08-23 20:05:17> Unhandled exception: System.UriFormatException: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at NuGet.ManifestMetadata.NuGet.IPackageMetadata.get_ProjectUrl()                                                       at NuGet.LocalPackage.ReadManifest(Stream manifestStream)
at NuGet.ZipPackage.EnsureManifest()
at NuGet.ZipPackage..ctor(String filePath, Boolean enableCaching)
at Squirrel.Update.Program.ReleasifyElectron(String package, String targetDir, String baseUrl)
at Squirrel.Update.Program.executeCommandLine(String[] args)
at Squirrel.Update.Program.main(String[] args)
System.UriFormatException: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at NuGet.ManifestMetadata.NuGet.IPackageMetadata.get_ProjectUrl()
at NuGet.LocalPackage.ReadManifest(Stream manifestStream)
at NuGet.ZipPackage.EnsureManifest()
at NuGet.ZipPackage..ctor(String filePath, Boolean enableCaching)
at Squirrel.Update.Program.ReleasifyElectron(String package, String targetDir, String baseUrl)
at Squirrel.Update.Program.executeCommandLine(String[] args)
at Squirrel.Update.Program.main(String[] args)
at Squirrel.Update.Program.Main(String[] args)

https://github.com/electron-userland/electron-builder/issues/2020 may have what we need
(avoiding link so as to not point to this issue from that one)

In progress on #49

After a lot of thought, I've decided to close this since it's taken so much time, and I frankly don't care. I'm probably the only one using this app anyways, these days, and if any users were using the app, they'd probably appreciate real updates over this hopeful one 🤔


Makefile-Linux-Mono is missing

Makefile-Linux-Mono is missing from the repository. In order to build on mono, I had to find a copy in the revision history, paste it into a text file manually, and then use it to build.

It was replaced by the build.open-xml-sdk.sh file, looks like the docs need to be updated.

Interestingly, if I copy the old Makefile-Linux-Mono and call make
directly, the build succeeds.
If I call ./build.open-xml-sdk.sh, I get the following build error:
Konsole output
Tests.cs(9,7): error CS0246: The type or namespace name `Xunit' could
not be found. Are you missing an assembly reference?
Some additional documentation or pointers would be helpful.
On 08/04/2015 02:50 PM, Alexander Köplinger wrote:

It was replaced by the build.open-xml-sdk.sh
https://github.com/OfficeDev/Open-XML-SDK/blob/vNext/build.open-xml-sdk.sh
file, looks like the docs need to be updated.
—
Reply to this email directly or view it on GitHub
https://github.com/OfficeDev/Open-XML-SDK/issues/53#issuecomment-127772484.

That looks like restoring the NuGet packages failed, possibly because you don't have nuget installed (it should show you an error related to that though). If you're using the official Mono apt repositories, try sudo apt-get install nuget.

Note that the xunit tests don't work on Linux at the moment anyway. You could just call xbuild and nuget commands instead of using the shell script. Using xbuild rather than the makefile makes the build consistent between platforms, so the makefile which listed files would not be out of date. I for one had more success with xbuild.

@akoeplinger:
I am trying to build the solution on Ubuntu using build.open-xml-sdk.sh.
I have mono working fine. I am stuck with NuGet package download nuget restore Open-XML-SDK.sln when I am trying to execute sudo apt-get install nuget  I am getting message -Unable to locate package nuget-
will you help me with installation of NuGet on Ubuntu

The newbuild.open-xml-sdk.sh doesn't seem to create any DLL files. I'm not sure if its still meant to do this. I cant run mcs WmlComparer01.cs as I get the following errors:
WmlComparer01.cs(6,18): error CS0234: The type or namespace name `Linq' does not exist in the namespace `System.Xml'. Are you missing `System.Xml.Linq' assembly reference?
WmlComparer01.cs(7,7): error CS0246: The type or namespace name `DocumentFormat' could not be found. Are you missing an assembly reference?
Compilation failed: 2 error(s), 0 warnings

I'm guessing this is because the DLLs are missing, but I'm unable to generate them.

I tried to compile the library with the provided script.

I found a way to disable the test that have references to libraries that currenty are not available for non-Windows distributions. In the .sln file, you have to remove the references to the projects that have tests:  DocumentFormat.OpenXml.Tests, DocumentFormat.OpenXml.WB.Tests, System.IO.Packaging.Tests. The final .sln file looks like this:

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocumentFormat.OpenXml", "DocumentFormat.OpenXml\DocumentFormat.OpenXml.csproj", "{E5D39C6A-9067-477E-B0D3-A9419B86E6E5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.IO.Packaging", "System.IO.Packaging\System.IO.Packaging.csproj", "{4C88A3AD-1241-4A04-854B-8372DF29828D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{E43CE613-45B8-4FFC-AE29-3876ABD68244}"
	ProjectSection(SolutionItems) = preProject
		.nuget\packages.config = .nuget\packages.config
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocumentFormat.OpenXml.WB", "DocumentFormat.OpenXml.WB\DocumentFormat.OpenXml.WB.csproj", "{55FB0A8A-B816-4DC9-9BB4-4DB5B5950F5A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestUtil", "TestUtil\TestUtil.csproj", "{B63E969B-F7EC-4B6C-8540-67FC0C0C3E56}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{E5D39C6A-9067-477E-B0D3-A9419B86E6E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{E5D39C6A-9067-477E-B0D3-A9419B86E6E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{E5D39C6A-9067-477E-B0D3-A9419B86E6E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{E5D39C6A-9067-477E-B0D3-A9419B86E6E5}.Release|Any CPU.Build.0 = Release|Any CPU
		{4C88A3AD-1241-4A04-854B-8372DF29828D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{4C88A3AD-1241-4A04-854B-8372DF29828D}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{4C88A3AD-1241-4A04-854B-8372DF29828D}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{4C88A3AD-1241-4A04-854B-8372DF29828D}.Release|Any CPU.Build.0 = Release|Any CPU

		{55FB0A8A-B816-4DC9-9BB4-4DB5B5950F5A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{55FB0A8A-B816-4DC9-9BB4-4DB5B5950F5A}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{55FB0A8A-B816-4DC9-9BB4-4DB5B5950F5A}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{55FB0A8A-B816-4DC9-9BB4-4DB5B5950F5A}.Release|Any CPU.Build.0 = Release|Any CPU

		{B63E969B-F7EC-4B6C-8540-67FC0C0C3E56}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{B63E969B-F7EC-4B6C-8540-67FC0C0C3E56}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{B63E969B-F7EC-4B6C-8540-67FC0C0C3E56}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{B63E969B-F7EC-4B6C-8540-67FC0C0C3E56}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

I'm not sure to make a pull request for this mod. I think there is a leaner way to do this using flags in xbuild/msbuild/nuget. Also, note that I'm a beginner in .NET issues

This project has switched to the new .NET tooling. Please see the README for details.


Problems when pulling merged (non conflicting) commits

Make changes to the same github repository from two different images (not sharing local repo).
Commit & push from the first one.
Commit (a non conflicting change) from the second one and "fetch from upstream".
This will pull from remote and automatically merge the local branch.
Update commit does not work because it does not recognize correctly the commit resulting from merge.

Also review the senders of #pull

I propose a partial fix, this button should be removed if we manage to avoid multiple window opening on double click

The problem is in fact not with merging but with trying to load  a commit that does not change a package (and therefore has no own version for that package).


Feature request: route with empty name still should show default component

latest version vue, latest version vue-router.
Here I want to have several view for one route, I use named view:
https://jsfiddle.net/k7ce2zcw/
But if name='' it don’t show default.
How could I fix it without making two different names?
This is working well: https://jsfiddle.net/k7ce2zcw/1/
But I just want to use default. When I don’t use name at all it shows default, but if name is even empty string it shows nothing.

Set name to ''.
  path: '/',
  components: {
    '': Default,
    default: Default,
    login: Login
  }
}

I agree with @znck , you should set the corresponding entry to Default to make it explicit. You can also set the name to 'default' instead of ''.


microsoft tools

Is your feature request related to a problem? Please describe.

Describe the solution you'd like:

Describe alternatives you've considered:

Additional context:

nin

Yes, they are. Can you explain more what the problem is?


wrappingIndent not consistently working

VSCode Version: 1.16.1
OS Version: macOS 10.12.6 (Sierra)

Steps to Reproduce:

Open a large file or create one
Use these settings:

   "atomKeymap.promptV3Features": true,
   "editor.multiCursorModifier": "ctrlCmd",
   "editor.formatOnPaste": true,
   "editor.fontSize": 14,
   "editor.wordWrap": "on",
   "editor.acceptSuggestionOnEnter": "off",
   "workbench.activityBar.visible": true,
   "terminal.external.osxExec": "iterm.app",
   "window.zoomLevel": 1,
   "workbench.sideBar.location": "left",
   "workbench.statusBar.visible": true,
   "extensions.ignoreRecommendations": false,
   "editor.dragAndDrop": false,
   "editor.links": false,
   "bracketPairColorizer.forceUniqueOpeningColor": true,
   "bracketPairColorizer.forceIterationColorCycle": true,
   "bracketPairColorizer.consecutivePairColors": [
       ...
   ],
   "editor.fontFamily": "Input",
   "editor.fontWeight": "100",
   "editor.wrappingIndent": "indent",
   "editor.wordWrapColumn": 100

Reproduces without extensions: Yes
Here's an image that illustrates the inconsistencies (sorry I had to block some things out):
Screenshot
As you can see, all the things at the bottom of the editor are wrapping and indenting correctly, but many lines above are wrapping and not indenting at all. Sometimes they wrap, sometimes they don't. It's even more inconsistent (and impossible to work with) if I have the file explorer open (can provide another screenshot if needed, but honestly, it's impossible to tell what's going on as indentation is so all over the place).
This happens whether I have editor.wrappingIndent set to indent or same, and without extensions loaded. It's very frustrating and can make some files a huge PITA to edit (it seems that after about 5 indentations things get weird, and almost everything I'm working with is in the 8-20 indentation range).
Edit: after playing around, it seems the wrappingIndent definitely breaks at 10 indents every time, but the presence of anything over 9 indents seems to cause the weird inconsistencies with other lines/indent amounts. This, again, becomes painfully hard to deal with if the file explorer is open.

@slaughtr The wrapped line gets "unindented" if indentation would cover more than 50% of the line's width. That is a decent heuristic when things get very packed i.e. like resizing the editor to have a very small width, but, I agree, it doesn't make sense when the editor has a decent enough large width.

before:

after (still happens, but only when the indent would be so large that no characters would fit):


Add a narrower SNAT rule for LB egress

The SNAT rules added for LB egress is broader and breaks load balancing
if the service is connected to multiple networks. Make it conditional
based on the subnet to which the network belongs so that the right SNAT
rule gets matched when egressing the corresponding network.
Signed-off-by: Jana Radhakrishnan<EMAIL_ADDRESS>

LGTM


Added License page

PR Title
Added license page.
The purpose of this Pull Request is to fix #190
Description
Now license page is visible to the user from the footer link (License)
How you solved

Created folder legal

Wrote the license.js function

Added LicenseContent component with the MIT license text from the github repo.

Screenshots

Checklist

[x ] I have Made this contribution as per the CONTRIBUTING guide in this repo
[x] I have tested in local Environment.
[x] I have made the fix as per issue converstaion
[x] I have starred the repository ⭐

Great @mnosov622
Please check for other issues which are open

Thank you @jsvigneshkanna !
I will :)
Are you going to merge this PR ?

@jsvigneshkanna ,
could you label this PR with hacktoberfest label, please ?

@mnosov622 didnt this counted to hacktoberfest?

I was hoping this could be for hacktoberfest :)

@mnosov622 welcome mate 🍻, check for other open issue

I will :)
You are so kind 😊


any plans for a discord?

wondering if you guys have plans for a discord or slack? if so, would love to join, as it might make it easier for some of us early adopters/potential-contributors :)

@avonian here it is: https://discord.gg/d45vsC6Z - you will be the first! 🙂
We actually created the Discord server some time ago but never set it up properly and promoted it.
I will add it to the repo's README now, as it makes total sense!  Thanks for the suggestion!


GetParams error: panic: runtime error: index out of range [3] with length 0

I'm getting this stack trace error when calling GetSnapshotIndexCycle
encoding/binary.bigEndian.Uint32(...)
    /usr/local/Cellar/go/1.16.6/libexec/src/encoding/binary/binary.go:112
blockwatch.cc/tzgo/tezos.ChainIdHash.Uint32(...)
    ../vendor/blockwatch.cc/tzgo/tezos/hash.go:650
blockwatch.cc/tzgo/tezos.(*Params).ForHeight(0xc0024ef8c0, 0x26c47, 0xc0029537d0)
    ../vendor/blockwatch.cc/tzgo/tezos/protocols.go:309 +0x307
blockwatch.cc/tzgo/rpc.(*Client).GetParams(0xc00267b200, 0x68a6560, 0xc0029537d0, 0x6882f88, 0xc002698888, 0x83595b8, 0x6de7d67, 0x4b)
    ../vendor/blockwatch.cc/tzgo/rpc/constants.go:188 +0x9c
blockwatch.cc/tzgo/rpc.(*Client).GetSnapshotIndexCycle(0xc00267b200, 0x68a6560, 0xc0029537d0, 0x6882f88, 0xc002698888, 0x26, 0x8, 0x0, 0x62863a2)
    ../vendor/blockwatch.cc/tzgo/rpc/rights.go:274 +0x74
I've logged the inputs and they appear to be reasonable to me {.."height": 158791, "cycle": 38}. Note, this is in alphanet by the way.

This should work again with recent master.
Alphanet and sandboxes are a bit tricky because the Params type tries to be smart about bugs, quirks and changes in cycle length all found on mainnet. I changed the way params are loaded from on-chain constants which now makes sure that chain id is always initialized.
Note: the client holds a copy of most recent params (client.Params) and uses it in some places, i.e. to serialize binary operations and observe/monitor for new blocks. If you use any of these features, please init the client before like
c, err := rpc.NewClient("https://rpc.tzstats.com", nil)
if err != nil {
	return err
}
if err := c.Init(ctx); err != nil {
    return err
}

Closing this issue for now. Please reopen if the problem still exists in some form.

Could we cut a release that includes this fix?


Increase backend github/api coverage

Is your feature request related to a problem? Please describe.


Add a middleware manager spec

Starting to write specs for middleware provider.
Adding a basic spec file for types testing.

@miq-bot label_add providers/middleware

@miq-bot add_label providers/hawkular

@Fryguy @chessbyte could you please review ?
This is a preliminar PR to prepare specs for hawkular provider.

@matthewd I had one relatively minor comment, but I am good with the rest.  If you are good please merge.

Meh, I'll merge it anyway


Added new config setting: IncludeHprNumber

When IncludeHprNumber = true:
Person with HprNumber:

Person without HprNumber:

Both gets logged in.

Fixes #536


Killed!

When I tried to run the file runner.py, it shows "Allocation of<PHONE_NUMBER> exceeds 10% of system memory." and then is killed. I tried to run it on colab as well as my laptop but they have the same result.
I have installed "tensorflow==1.13.1", "dm-sonnet==1.29" and "tensorflow-probability==0.5.0"

The problem is solved when there is more RAM.


CUDA error at external/CSR5_cuda/detail/cuda/format_cuda.h:18 code=0(cudaSuccess) "cudaFree(d_scan)"

Can I ask why this error message appears? Moreover, after displaying this error message, the program terminates without performing the spgemm computation. How can I solve this problem? Thank you! Below is the detailed output.
command： ./test -d 0 ~/code/SSSLab/TileSpGEMM/src/matrix_data/rma10.mtx
--------------------------------!!!!!!!!------------------------------------
device_id = 0
input matrix A: ( 46835, 46835 ) nnz = 2374001
loadfile time    = 0.99411 sec
Device [ 0 ] NVIDIA A100-SXM4-80GB @ 1410.00 MHz
The number of tile = 39933
Run CPU TileSpMV, errcount = 0
CUDA error at external/CSR5_cuda/detail/cuda/format_cuda.h:18 code=0(cudaSuccess) "cudaFree(d_scan)"

I met the same problem ,did you solve it?


kube3d: 4.4.4 -> 4.4.5

Motivation for this change
Bump kube3d/k3d to 4.4.5
If you have issues please view the FAQ post: https://k3d.io/faq/faq/#workaround
And make sure the image actually exists, or remove that flag
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 126784 run on x86_64-linux 1

1 package built:

kube3d


dunfell branch missing configure.ac file in rdkb-turris-hal

Signed-off-by: Rajakumaran1106<EMAIL_ADDRESS>

Looks okay to me.


Add a dev.yml which uses dev's minikube support to get Shopify employees set up quickly

Getting kubectl and minikube isn't the hardest thing in the world but it turns out dev is actually pretty good at it. Dev isn't open source but since the majority of contributors are likely to be Shopifiers I figure we may as well add the file that makes it real easy for us to get set up with the normal dev up command. I don't think the dev.yml will ever have anything sensitive in it so I think this is safe from a security and privacy standpoint.
Thoughts? I 🎩 'd and the test suite passes locally after dev uping.

Btw the fix for your CI failures is on master now 😄

@KnVerey @airhorns It seems dev minikube support is deprecated: https://dev-accel.shopify.io/dev-acceleration/Developer Environments/minikube_is_dead

oh no, that's too bad. It does say:

The system is being left in place for use in infrastructure related experiments.

I wonder for how long.

I've updated this to use minikube from brew as suggested, based on our setup for cloudbuddies. @stefanmb @karanthukral can you please 👀 and try it out?


update Josh's name yayy

Can we amend the commit and change the PR name to make it a bit more professional?

rest lgtm :shipit:


fix whitespace regex to include carriage return

Thanks!

Symbolic links also don't work on Windows, which is why the tests are failing.


Do not cd inside update-codegen

It should be safe to assume that these scripts are run from within the target repo.

/lgtm
/approve


how do i get each agent message? instead of agent last message?

how do i get each agent message? instead of agent last message?

https://microsoft.github.io/autogen/docs/reference/agentchat/conversable_agent#chat_messages

Candidate for FAQ.

https://microsoft.github.io/autogen/docs/reference/agentchat/conversable_agent#chat_messages

But how can during conversation ? i mean chat_messages print after all convertion finish. right?

No the property provides access to a dictionary of all the messages send or received by the agent. It is organized by conversation partner, and it should be up to date whenever you access it.
Note that the key to the dictionary is the actual Agent instance (not a string name, etc.)

No the property provides access to a dictionary of all the messages sent or received by the agent. It is organized by conversation partner, and it should be up to date whenever you access it.
Note that the key to the dictionary is the actual Agent instance (not a string name, etc.)

Then How can i get each messages of agent during conversion? Because chat_messages property provides after whole task completes.

@xmi1an you can hook in function that is called whenever an agent receives a message.
Assuming you have two agents user_proxy and assistant, you can register a function with these agents that gets called with some parameters.

def print_messages(recipient, messages, sender, config):
    if "callback" in config and  config["callback"] is not None:
        callback = config["callback"]
        callback(sender, recipient, messages[-1])
    print(f"Messages sent to: {recipient.name} | num messages: {len(messages)}")
    return False, None  # required to ensure the flow continues

user_proxy.register_reply(
    [autogen.Agent, None],
    reply_func=print_messages,
    config={"callback": None},
)

assistant.register_reply(
    [autogen.Agent, None],
    reply_func=print_messages,
    config={"callback": None},
)

In the above, we register a print_messages message that is called each time the agent receive a message.

@xmi1an you can hook in function that is called whenever an agent receives a message.
Assuming you have two agents user_proxy and assistant, you can register a function with these agents that gets called with some parameters.
def print_messages(recipient, messages, sender, config):
    if "callback" in config and  config["callback"] is not None:
        callback = config["callback"]
        callback(sender, recipient, messages[-1])
    print(f"Messages sent to: {recipient.name} | num messages: {len(messages)}")
    return False, None  # required to ensure the agent communication flow continues

user_proxy.register_reply(
    [autogen.Agent, None],
    reply_func=print_messages,
    config={"callback": None},
)

assistant.register_reply(
    [autogen.Agent, None],
    reply_func=print_messages,
    config={"callback": None},
)

In the above, we register a print_messages message that is called each time the agent receive a message.

How to use it then?

can you elaborate what's your usage case?

I would like to save the chat messages in the DB of a website, and doing it with an async function while the agents are conversing through a group chat would be very useful, so that the user can also see who says what, while the discussion is being made.
Could you please let me know an example of how this could be achieved?

You can take a look at autogen studio in samples/apps. It realizes the functionality you mentioned.


Build fails on a MacBook Pro M1 running macOS Big Sur version 11.5.2

I'm trying to build this on a MacBook Pro M1 running macOS Big Sur version 11.5.2, and the build fails.
rustup run nightly cargo version
cargo 1.56.0-nightly (b51439fd8 2021-08-09)

Build invocation and output from the point where it fails.
rustup run nightly cargo build --release
   Compiling miniaudio v0.10.0 (https://github.com/jpochyla/miniaudio-rs#d75bf62d)
error[E0425]: cannot find value `MA_SAMPLE_RATE_8000` in crate `sys`
   --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:507:40
    |
507 | pub const SAMPLE_RATE_8000: u32 = sys::MA_SAMPLE_RATE_8000;
    |                                        ^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `MA_SAMPLE_RATE_11025` in crate `sys`
   --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:508:41
    |
508 | pub const SAMPLE_RATE_11025: u32 = sys::MA_SAMPLE_RATE_11025;
    |                                         ^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `MA_SAMPLE_RATE_16000` in crate `sys`
   --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:509:41
    |
509 | pub const SAMPLE_RATE_16000: u32 = sys::MA_SAMPLE_RATE_16000;
    |                                         ^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `MA_SAMPLE_RATE_22050` in crate `sys`
   --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:510:41
    |
510 | pub const SAMPLE_RATE_22050: u32 = sys::MA_SAMPLE_RATE_22050;
    |                                         ^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `MA_SAMPLE_RATE_24000` in crate `sys`
   --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:511:41
    |
511 | pub const SAMPLE_RATE_24000: u32 = sys::MA_SAMPLE_RATE_24000;
    |                                         ^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `MA_SAMPLE_RATE_32000` in crate `sys`
   --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:512:41
    |
512 | pub const SAMPLE_RATE_32000: u32 = sys::MA_SAMPLE_RATE_32000;
    |                                         ^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `MA_SAMPLE_RATE_44100` in crate `sys`
   --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:513:41
    |
513 | pub const SAMPLE_RATE_44100: u32 = sys::MA_SAMPLE_RATE_44100;
    |                                         ^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `MA_SAMPLE_RATE_48000` in crate `sys`
   --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:514:41
    |
514 | pub const SAMPLE_RATE_48000: u32 = sys::MA_SAMPLE_RATE_48000;
    |                                         ^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `MA_SAMPLE_RATE_88200` in crate `sys`
   --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:515:41
    |
515 | pub const SAMPLE_RATE_88200: u32 = sys::MA_SAMPLE_RATE_88200;
    |                                         ^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `MA_SAMPLE_RATE_96000` in crate `sys`
   --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:516:41
    |
516 | pub const SAMPLE_RATE_96000: u32 = sys::MA_SAMPLE_RATE_96000;
    |                                         ^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `MA_SAMPLE_RATE_176400` in crate `sys`
   --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:517:42
    |
517 | pub const SAMPLE_RATE_176400: u32 = sys::MA_SAMPLE_RATE_176400;
    |                                          ^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `MA_SAMPLE_RATE_192000` in crate `sys`
   --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:518:42
    |
518 | pub const SAMPLE_RATE_192000: u32 = sys::MA_SAMPLE_RATE_192000;
    |                                          ^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `MA_SAMPLE_RATE_352800` in crate `sys`
   --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:519:42
    |
519 | pub const SAMPLE_RATE_352800: u32 = sys::MA_SAMPLE_RATE_352800;
    |                                          ^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0425]: cannot find value `MA_SAMPLE_RATE_384000` in crate `sys`
   --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/base.rs:520:42
    |
520 | pub const SAMPLE_RATE_384000: u32 = sys::MA_SAMPLE_RATE_384000;
    |                                          ^^^^^^^^^^^^^^^^^^^^^ not found in `sys`

error[E0609]: no field `isBackendAsynchronous` on type `ma_context`
    --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/device_io.rs:1023:27
     |
1023 |         from_bool8(self.0.isBackendAsynchronous)
     |                           ^^^^^^^^^^^^^^^^^^^^^ unknown field
     |
     = note: available fields are: `callbacks`, `backend`, `logCallback`, `threadPriority`, `threadStackSize` ... and 10 others

error[E0609]: no field `usingDefaultFormat` on type `ma_device__bindgen_ty_3`
    --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/device_io.rs:1539:27
     |
1539 |         from_bool8(self.0.usingDefaultFormat)
     |                           ^^^^^^^^^^^^^^^^^^ unknown field
     |
     = note: available fields are: `id`, `name`, `shareMode`, `format`, `channels` ... and 9 others

error[E0609]: no field `usingDefaultChannels` on type `ma_device__bindgen_ty_3`
    --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/device_io.rs:1543:27
     |
1543 |         from_bool8(self.0.usingDefaultChannels)
     |                           ^^^^^^^^^^^^^^^^^^^^ unknown field
     |
     = note: available fields are: `id`, `name`, `shareMode`, `format`, `channels` ... and 9 others

error[E0609]: no field `usingDefaultChannelMap` on type `ma_device__bindgen_ty_3`
    --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/device_io.rs:1547:27
     |
1547 |         from_bool8(self.0.usingDefaultChannelMap)
     |                           ^^^^^^^^^^^^^^^^^^^^^^ unknown field
     |
     = note: available fields are: `id`, `name`, `shareMode`, `format`, `channels` ... and 9 others

error[E0609]: no field `usingDefaultFormat` on type `ma_device__bindgen_ty_2`
    --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/device_io.rs:1582:27
     |
1582 |         from_bool8(self.0.usingDefaultFormat)
     |                           ^^^^^^^^^^^^^^^^^^ unknown field
     |
     = note: available fields are: `id`, `name`, `shareMode`, `format`, `channels` ... and 9 others

error[E0609]: no field `usingDefaultChannels` on type `ma_device__bindgen_ty_2`
    --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/device_io.rs:1586:27
     |
1586 |         from_bool8(self.0.usingDefaultChannels)
     |                           ^^^^^^^^^^^^^^^^^^^^ unknown field
     |
     = note: available fields are: `id`, `name`, `shareMode`, `format`, `channels` ... and 9 others

error[E0609]: no field `usingDefaultChannelMap` on type `ma_device__bindgen_ty_2`
    --> /Users/user/.cargo/git/checkouts/miniaudio-rs-0268a3ab613f78e9/d75bf62/miniaudio/src/device_io.rs:1590:27
     |
1590 |         from_bool8(self.0.usingDefaultChannelMap)
     |                           ^^^^^^^^^^^^^^^^^^^^^^ unknown field
     |
     = note: available fields are: `id`, `name`, `shareMode`, `format`, `channels` ... and 9 others

Some errors have detailed explanations: E0425, E0609.
For more information about an error, try `rustc --explain E0425`.
error: could not compile `miniaudio` due to 21 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed

This happens both with stable rust, which I tried first, and with nightly which I then used and which I have pasted the results for above.

Trying to build on the M1 Macbook Air, I have the same error.
Looks like @lonkle merged a PR that fixed an earlier arm miniaudio bug. Maybe he has some insight on this?
#51 is related.

I did what @lonkle did on #51 (install llvm, install bindgen, add the feature to mini audio in psst-core) and built successfully.

Yeah miniaudio doesn't have aarch64 bindings, so compilation fails. This PR should fix it. Adding a bindings folder for macos-aarch64 isn't too hard btw. You'll need to do the following:

Clone miniaudio and pull submodules
Set up bindgen
Compile generate-bindings.rs: rustc generate-bindings generate-bindings.rs
Execute ./generate-bindings

There should be a macos-aarch64 folder in miniaudio/miniaudio-sys/bindings now. If you switch psst-core to use your local copy of miniaudio, it'll build.

Hey @NicholasLYang
I've failed at 1. "set up bindgen" - could you elaborate this a little more for non-rustonauts?... I hope that's the right term :)

@elmcrest I'm not a particularly knowledgeable rustacean but the following slightly more detailed instructions are what I did to get it to run on my M1 pro:

Clone miniaudio
Update submodules: cd miniaudio-rs && git submodule update --recursive --init
Setup bindgen:

Install llvm: brew install llvm
Install bindgen in the miniaudio folder(unsure if this is necessary): cargo install bindgen

Compile generate-bindings.rs: rustc generate-bindings.rs
Execute ./generate-bindings
Make psst-core to your local miniaudio(in psst-core/Cargo.toml change the miniaudio line to the following two):

  miniaudio = { path = "../../miniaudio-rs/miniaudio", default-features = false, features = ["ma-log-level-error", "ma-no-flac", "ma-no-mp3", "ma-no-wav"] }
ep-miniaudio-sys = { path = "../../miniaudio-rs/miniaudio-sys", default-features = false, features = ["ma-log-level-error", "ma-no-flac", "ma-no-mp3", "ma-no-wav"] }

@trescenzi your detailed instructions were really helpful!
Few points to note for new rust users -- if you haven't added cargo to your $PATH, you'll definitely need to do that (so cargo install bindgen was required for me).
Once you add it your relevant profile, re run the commands listed in the README.md here and everything should build successfully, besides a few warnings.

Could you please open a PR in https://github.com/jpochyla/miniaudio-rs with the fixed bindings? Thanks!

Should be fixed as of 634f2d0, can you confirm?

Confirmed working on M1 Air

Confirmed that 634f2d0a0289319923c88770d292881eb0e05358 works on M1

Thanks!


Update readme to point to 1.14.1 release

Rationale for this change
What changes are included in this PR?
Update README.md to point to 1.14.0 release
Are these changes tested?
Are there any user-facing changes?

cc @wgtmac


Wildy demi bso

Deranged archaeologist doesnt get a hf bow boost or amulet of zealots

Deranged is on fossil island isn't he?
https://oldschool.runescape.wiki/w/Deranged_archaeologist#:~:text=The deranged archaeologist is a,in order to reach him.


[SUG]

put methods if use like:
1 - Kill if using
2 -  will damage back, if using, in %
3 - kick player
4 - ban player

1 and 2 are implemented. kick and ban MIGHT follow at some point


Azure adapter: method to get required headers

The blob service will return a 400 error notifying you of a missing header if you do not include the x-ms-blob-type header when making a PUT request to the blob path. Here, I add a method that PFE will need to call in order to see what headers will need to be added to the request. We will also need to make changes to PFE in order for this to work.
I have named the method after Rails Active Storage, but I was also thinking of naming it headers_for_put_path to better line up with our put_path method name (the method will need to be used in conjunction with the put_path method). Any preferences?
Also curious if other have thoughts on different ways to fix the current missing header issue.

Review checklist

[ ] First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.
[ ] If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).
[ ] If anything changed with regards to the public API, are those changes also documented in the apiary.apib file?
[ ] Are all the changes covered by tests? Think about any possible edge cases that might be left untested.

I'm closing for now, we can re-open if we get time to work on this again.


Serve ux angular app from Rails (combining repos)

[x] Can't view Admin items
[x] No background images
[ ] Can't fill in other than 0 on new project form

Logged in as an admin I currently can't access any of the Admin menu items.

This one is probably pretty simple to fix, but there are some issues with the css images.

I can only type zeroes into the budget box? Ignore me if this is desired demo behavior...

@cluobah Super weird. I can't think of anything I would have changed there, but it definitely doesn't work on the merged stuff and did before.

@calebthompson Are all these attributes of the form right?

Yeah they're the same on https://jellyfish-ux-dev.herokuapp.com/project/new.


No podspec found for image_gallery in .symlinks/plugins/image_gallery/ios.This plugin works fine in Android but it is giving error in ios.Basically I want to fetch all the images from gallery.

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

Hi @ubaidsuhail
can you please provide your flutter doctor -v and flutter run --verbose? Also, to better address the issue, would be helpful
if you could post a minimal code sample to reproduce the problem
Thank you


Add systemtypefaces module

A necessary evil.

Last time when I looked at this problem is that many system type faces on Windows are in .ttc file format. So first order of business to use system fonts is to be able to load them.
I don't think getting the family, style, weight of a font is that hard, you just need to scan the system font directory and load the meta data for each file. Reading meta data from files directly might be easier than going through system APIs of Window, Mac, Linux and potentially Android and iOS.
Because you can never rely on a font being already installed, we recommend shipping your own fonts with the program. That is why we have not invested in system fonts loading.

Also pixie does not have any platform specific APIs. It might feel wrong to include this here. It might be better to be in some thing like Windy which is all about platform stuff.

I wanted this for text in SVGs but SVGs aren't great for text anyway. I can move my font management into the application.


TypeRelay or some other means to always use generic class for generic interface?

How can I configure a Fixture so that any request to create an IReadOnlyList<T> or IReadOnlyCollection<T> uses a List<T> without having to customize for all possible T?
Similarly, I'd like IReadOnlyDictionary<T,K> to always be created as a Dictionary<T,K>
And perhaps related...is there a way to override an existing mapping?  For example, when I ask for an IEnumerable<T> I get back some custom Autofixture object that honors that interface.  I'd like to just get back a List<T>

Anyone?  @ploeh, @Zvirja, @sergeyshushlyapin? (picked recent committers)

@SurajGupta, you need to create new ReadOnlyListRelay and ReadOnlyDictionary Specimen Builders similar to the existing ListRelay and DictionaryRelay:
[Fact]
public void CreateReadOnlyList()
{
  var fixture = new Fixture();
  fixture.Customizations.Add(new ReadOnlyListRelay());
  var readOnlyList = fixture.Create<IReadOnlyList<object>>();
  Assert.IsType<ReadOnlyCollection<object>>(readOnlyList);
}

internal class ReadOnlyListRelay : ISpecimenBuilder
{
  public object Create(object request, ISpecimenContext context)
  {
    if (context == null)
      throw new ArgumentNullException(nameof(context));

    var t = request as Type;
    if (t == null)
      return new NoSpecimen();

    var typeArguments = t.GetGenericArguments();
    if (typeArguments.Length != 1 ||
        typeof(IReadOnlyList<>) != t.GetGenericTypeDefinition())
      return new NoSpecimen();

    return context.Resolve(
        typeof(ReadOnlyCollection<>).MakeGenericType(typeArguments));
  }
}

Unfortunately it cannot be included into AutoFixture 3.x because it's based on .Net 4 whereas IReadOnlyDictionary is available starting from .Net 4.5. You may track .Net upgrading progress in #404. But, it should not prevent you from applying the customization on your side.

@sergeyshushlyapin - much appreciated!  I'll give that a spin.


Remove "experimental" from crate-level docs

#1607 forgot to do this.

Coverage remained the same at 71.12% when pulling 5dcefc9247b43720f4b24f9cfe22d7e82bbb6e3c on YaLTeR:remove-experimental into 32d8baceb025d9f70de3d9c924a5a99bd7092e9e on xiph:master.


fix 305: external images URLs are not properly escaped

fixes https://github.com/kovetskiy/mark/issues/305

Good catch, Thanks a lot!


Phone battery indicator

This is my favourite watchface! It works very well with the Pebble Time UI.
The one thing missing for me is a well to tell the battery status of the connected smartphone (Android). This will save me from having to periodically check my phone (which itself drains the battery). The watch itself has great battery life, so I don't need to know how much power is in it.
I understand that the Pebble app doesn't report phone battery status, so this will require a companion app. Some apps already do this (e.g. [Glance] (http://www.finebyte.co.uk/) and [Canvas] (https://play.google.com/store/apps/details?id=com.pennas.pebblecanvas)). I used to use Glance, but I'd prefer a watchface so that I can make full use of the timeline interface.

This can't be done without a companion app, as you say. I personally consider this out of scope for the project, since it would add an enormous amount of complexity for a single data point. That said, though, if someone else contributed such a feature I would consider integrating it.

It turns out this may be doable using the technique from here https://github.com/aHcVolle/TrekVolle/blob/master/src/js/battery.js#L87 More analysis is required to determine which phones/OSs this works on.


Upgrade to YARP v0.8.0 (indexer changes)

Motivation
Closes https://github.com/Shopify/ruby-lsp/issues/912
Implementation
Handle the new OrWriteNode in YARP v0.8.0.
Automated Tests
Updated
Manual Tests
n/a

I believe the current implementation isn't handling &&= and some other kinds of operator assignments, should we handle that here or separately?

Actually &&= is not valid for constants, but I wonder if anything similar is...

I think we can focus this PR on fixing the breaking changes, but we should indeed consider these other assignment operators as other entries for the same constant.

I think we can focus this PR on fixing the breaking changes, but we should indeed consider these other assignment operators as other entries for the same constant.

https://github.com/Shopify/ruby-lsp/issues/916


feature(debugging): random code added

Thanks @sandeepdhobi ! We will be improving the book in late summer this year and review your contributions then.