Removed Collector and interface submodule

We decided a while back that we'd move Collector elsewhere (probably topographica) and since the remaining files in interface are now gone, now would be a good opportunity to get rid of the entire interface submodule.

Happy to merge when the tests pass.

Okay, I've now moved it into featuremapper. Topographica was already importing it from there for some reason so it seemed easiest.

Only a 0.4% gain, still 81% coverage!

Going to merge, since you already agreed 😄


Create a non-root user for production Docker images

Description
Created a non-root user for the production container image.

Closes #3992.
Readiness checklist

[ ] I added/updated unit tests (and they pass).
[ ] I added/updated integration/compatibility tests (and they pass).
[ ] I added/updated comments and checked rendering.
[ ] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[x] I ensured that PR title is good enough for the changelog.
[ ] (for maintainers only) I set Reviewers (@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@ahmethakanbesel Please sign our CLA by clicking a button in that comment: https://github.com/FerretDB/FerretDB/pull/4004#issuecomment-1906756680

@ahmethakanbesel Please sign our CLA by clicking a button in that comment: #4004 (comment)

Signed.

@ahmethakanbesel, please don't forget to re-request a review; otherwise, the PR will not show up in our dashboards. https://github.com/FerretDB/FerretDB/blob/main/CONTRIBUTING.md#submitting-pr


Account Spotlight (and dialog) page is broken when connected to indexer

This is likely due to differences in the models

This is also affecting the dialog container.
 We might be able to solve this by switching over to the GraphQL endpoint. All that is needed is the

balance
nonce
delegate information

Assigned to myself as this can be fixed on the front-end

Unblocked, since the cited issue is closed.

PR has been submitted, but remains blocked by

Now only #692 remains.


No sound_detection in MQTT (Yi Home 1080p - IFUS)

Good afternoon.
Please help me solve the problem. Topics for "sound_detection" and "crying" are not published in MQTT. All other "motion_start", "motion_stop", "human", "motion_file" events are created.
In the YI Home application, these events work fine.
What has already been done:

Several times completely reset the camera.
Several times completely installed Hack.
I tried to install Hack from other cameras of similar models (not successful).
All sorts of combinations of settings via app and web.
I re-read all the created issues, I did not find a solution.

Made noise around the camera, but there is only motion. The application has both motion and sound.:
root@yi-c23c:/bin# mqttv4
Starting mqttv4 v0.1.0
Trying to connect... Client yi-cam sending CONNECT
Client yi-cam received CONNACK (0)
Client yi-cam sending PUBLISH (d0, q1, r1, m1, 'yicam/status', ... (6 bytes))
.
connected!
Client yi-cam received PUBACK (Mid: 1)
CALLBACK MOTION START
Thread 0 available
Client yi-cam sending PUBLISH (d0, q1, r0, m2, 'yicam/motion_detection', ... (12 bytes))
Client yi-cam received PUBACK (Mid: 2)
CALLBACK MOTION STOP
Client yi-cam sending PUBLISH (d0, q1, r0, m3, 'yicam/motion_detection', ... (11 bytes))
Thread 0 waiting
Thread 0 starting
Client yi-cam received PUBACK (Mid: 3)

Firmware Version	0.2.3
Base Version	<IP_ADDRESS>_202011101611
Serial Number	IFUSY65WX******
Model Suffix	y211ga
Load Average	2.09 1.82 1.50
Free/Total Memory	36240/60912 KB

mqttv4.conf:
# -----------------------------------------------------------------------------
# Set the topics where the messages will be published
# The final topic will be MQTT_PREFIX/TOPIC_MOTION
# -----------------------------------------------------------------------------

TOPIC_BIRTH_WILL=status
TOPIC_MOTION=motion_detection
TOPIC_MOTION_IMAGE=
MOTION_IMAGE_DELAY=0.5
TOPIC_MOTION_FILES=
TOPIC_SOUND_DETECTION=sound_detection

# -----------------------------------------------------------------------------
# Set the topics messages
# -----------------------------------------------------------------------------

BIRTH_MSG=online
WILL_MSG=offline
MOTION_START_MSG=motion_start
MOTION_STOP_MSG=motion_stop
AI_HUMAN_DETECTION_MSG=human
BABY_CRYING_MSG=crying
SOUND_DETECTION_MSG=sound_detected

# -----------------------------------------------------------------------------
# Other settings
# -----------------------------------------------------------------------------

MQTT_KEEPALIVE=120
MQTT_QOS=1
MQTT_RETAIN_BIRTH_WILL=1
MQTT_RETAIN_MOTION=0
MQTT_RETAIN_MOTION_IMAGE=0
MQTT_RETAIN_MOTION_FILES=0
MQTT_RETAIN_SOUND_DETECTION=0

camera.conf
SWITCH_ON=yes
SAVE_VIDEO_ON_MOTION=yes
SENSITIVITY=low
AI_HUMAN_DETECTION=no
FACE_DETECTION=no
MOTION_TRACKING=no
SOUND_DETECTION=yes
SOUND_SENSITIVITY=50
LED=yes
ROTATE=no
IR=yes

Do you receive audio messages in the app?

Do you receive audio messages in the app?

Yes. The screenshot:
https://ltdfoto.ru/images/2022/10/05/IMG_0558.jpg

It works, thanks!
But the sensitivity is very bad, but this is a problem in the camera itself. Or I have a defective camera.

I think it's a problem of the model, not your camera.

I think it's a problem of the model, not your camera.

Tell me, in your experience, which model is the most stable?

I have:

MStar y203c
Allwinner y20ga
Allwinner-v2 y21ga
Allwinner-v2 h51ga

The best is the old one: y203c.


Extraneous item in list of supported clients

In the list of supported email clients under Organization-level scenarios, the e-mail client "Open Outlook on the web" seems to be an error. "Outlook on the web" is listed earlier, and there isn't such a thing as "Open Outlook on the web".

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

ID: c476abb1-28db-ffe7-bd2f-3a9fa2505d17
Version Independent ID: 5b6842d5-50a2-10e3-5061-cabefecc9ccd
Content: Exchange Online monitoring for Microsoft 365 - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/microsoft-365-exchange-monitoring.md
Service: o365-administration
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@mealiffe Thank you for your feedback. We have made changes the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/6436
Thanks
Sri


wide_resnet error

from wide_resnet import WideResNet
ModuleNotFoundError: No module named 'wide_resnet'

Please report exactly what you did for reproducibility of the problem.

Hmm, it's strange.
There is no dependencies related to the error because demo.py simply imports a function from wide_resnet.py that is included in the project: age-gender-estimation/wide_resnet.py...

Boss, I had the same error, wide_resnet.py is in the repo... Its not in pip

!! any solution....

Run the script in the project root directory.

The wide_resnet.py is no longer there?

As i tried to install this package several times.Still it is showing the same as below:
!pip install wide_resnet
ERROR: Could not find a version that satisfies the requirement wide_resnet (from versions: none)
ERROR: No matching distribution found for wide_resnet
What  should i do..?

I have the same error
!pip install wide_resnet
ERROR: Could not find a version that satisfies the requirement wide_resnet (from versions: none)
ERROR: No matching distribution found for wide_resnet


CI Clean-up

No functionality change in this PR.

Removes mentions of UMPIRE in variable naming (makes the yaml file easier to use in another project).
Removes the start job, not necessary in newer Gitlab. The needs key can now be given an empty list in which case the job will start immediately.

LGTM


Fix ModelLoaderMixin

Remove test-mod dependency on deprecated module.
Also changes the texture atlas sprite registration event to work.
Fixes .mcmeta not being discovered (it was previously skipped in findresources)

Going to merge this just so I can contiune, the review comments still need to be fixed, might be best put on the main PR.


Fix NPE issue of kojiClient

Actually this should be part of the revert for the previous commit 424fbc51, that aims to fix the CDI @PostConstruct errors. But it caused the NPE failure that CDI expose the kojiClient first before running start() method based on the propulsor mechanism. So just make this revert first to let the failure gone and we can think how to fix the CDI error later.

Yeah, agree with you for adding a mock one.

This is what things looked like before, and it's causing an error in the CDI boot sequence. I noticed it while debugging one of the production issues last week. @PostConstruct cannot throw an exception. I'm not sure how it was ever working, TBH. The ScheduleManager had a similar problem.

Closing this one and let's ref #1378.


read.maf Silently Removes Samples Without Variants

A minimal example. There is also a strange and unintelligible warning shown during importation about NAs introduced.

Create the input data.

varData <- data.frame(Hugo_Symbol = c("TP53", "NOTCH1"),
                     Chromosome = ".",
                     Start_Position = ".",
                     End_Position = ".",
                     Reference_Allele = ".",
                     Tumor_Seq_Allele2 = ".",
                     Variant_Classification = c("Missense_Mutation", "Nonsense_Mutation"),
                     Variant_Type = '.',
                     AAChange = '.',
                     Tumor_Sample_Barcode = factor(c("John", "James"), levels = c("John", "James", "Jimmy")))

clinData <- data.frame(Tumor_Sample_Barcode = c("John", "James", "Jimmy"), Outcome = c("Bad", "Good", "Bad"))

Import it and notice the warning.

MAF <- read.maf(varData, clinData)
Warning messages:
1: In eval(jsub, SDenv, parent.frame()) : NAs introduced by coercion
2: In eval(jsub, SDenv, parent.frame()) : NAs introduced by coercion

It's impossible to plot three patients because Jimmy was dropped from all of the object slots of MAF.

oncoplot(MAF, removeNonMutated = FALSE, showTumorSampleBarcodes = TRUE, clinicalFeatures = "Outcome")

Hi,

Warning is because Start and End position are expected to numeric. Substituting '.' with some dummy numeric values will work without warnings.

Yes the unused factors are dropped on purpose. You can add a dummy synonym variant to Jimmy and he will show up in oncoplot.

varData <- data.frame(Hugo_Symbol = c("TP53", "NOTCH1", "TP53"),
                      Chromosome = ".",
                      Start_Position = 1200,
                      End_Position = 1200,
                      Reference_Allele = ".",
                      Tumor_Seq_Allele2 = ".",
                      Variant_Classification = c("Missense_Mutation", "Nonsense_Mutation", "Silent"),
                      Variant_Type = '.',
                      AAChange = '.',
                      Tumor_Sample_Barcode = factor(c("John", "James", "Jimmy"), levels = c("John", "James", "Jimmy")))

clinData <- data.frame(Tumor_Sample_Barcode = c("John", "James", "Jimmy"), Outcome = c("Bad", "Good", "Bad"))

MAF <- read.maf(varData, clinData)

oncoplot(MAF, removeNonMutated = FALSE, showTumorSampleBarcodes = TRUE, clinicalFeatures = "Outcome")

This does not work if the MAF object is subsequently subsetted using subsetMaf. Please try
> badMAF <- subsetMaf(MAF, clinQuery = "Outcome %in% c('Bad', 'Good')")
-subsetting by clinical data..
--3 samples meet the clinical query
> oncoplot(badMAF, removeNonMutated = FALSE, showTumorSampleBarcodes = TRUE) # Only two patients are plotted.

Jimmy is no longer plotted.

Setting dropLevels = FALSE works.
badMAF <- subsetMaf(MAF, clinQuery = "Outcome %in% c('Bad', 'Good')", dropLevels = FALSE)
oncoplot(badMAF, removeNonMutated = FALSE, showTumorSampleBarcodes = TRUE)

Touché.


🐛 透视表自定义主题，开启序号时，调整序号列宽，会导致自定义主题丢失。

https://s2.antv.vision/zh/examples/theme/custom#custom-palette

直接使用官方Demo
https://s2.antv.vision/zh/examples/theme/custom#custom-palette

:tada: This issue has been resolved in version @antv/s2-v1.23.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-react-v1.21.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-v1.23.0-alpha.4 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-react-v1.21.0-alpha.3 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


devspace ui command intermittently fails with segmentation violation

What happened?
While running devspace ui I experienced a segmentation violation, which I have seen occur intermittently:
➜  repo git:(devspace-tweaks) devspace ui
[info]   Using namespace 'way'
[info]   Using kube context 'gke_lively-video_us-central1-b_lively-devspace-usc1b'
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x569497f]

goroutine 1 [running]:
github.com/loft-sh/devspace/cmd.(*UICmd).RunUI(0xc000404040, 0x5fc4328, 0x7458330, 0x7458330, 0x0, 0x0, 0xc0010e0840, 0x7458330, 0x0, 0x0, ...)
        /Users/runner/work/devspace/devspace/cmd/ui.go:173 +0x4bf
github.com/loft-sh/devspace/cmd.NewUICmd.func1(0xc0010e0840, 0x7458330, 0x0, 0x0, 0x0, 0x0)
        /Users/runner/work/devspace/devspace/cmd/ui.go:55 +0x89
github.com/spf13/cobra.(*Command).execute(0xc0010e0840, 0x7458330, 0x0, 0x0, 0xc0010e0840, 0x7458330)
        /Users/runner/work/devspace/devspace/vendor/github.com/spf13/cobra/command.go:850 +0x472
github.com/spf13/cobra.(*Command).ExecuteC(0xc000156840, 0x7458330, 0xc000156840, 0x0)
        /Users/runner/work/devspace/devspace/vendor/github.com/spf13/cobra/command.go:958 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/runner/work/devspace/devspace/vendor/github.com/spf13/cobra/command.go:895
github.com/loft-sh/devspace/cmd.Execute()
        /Users/runner/work/devspace/devspace/cmd/root.go:110 +0x7d
main.main()
        /Users/runner/work/devspace/devspace/main.go:20 +0xf7

What did you expect to happen instead?
devspace ui to work and launch the UI.
How can we reproduce the bug? (as minimally and precisely as possible)
I'm honestly not sure how to reproduce this issue, but running devspace ui I run into this fairly frequently and it appears to remain consistent until some state changes (not sure what) and the command works again.
Local Environment:

DevSpace Version: 5.14.4
Operating System: mac
Deployment method: helm

Kubernetes Cluster:

Cloud Provider: google
Kubernetes Version: 1.19

Anything else we need to know?
/kind bug

@wayspurrchen thanks a lot for creating this issue! Yes seems like the panic occurs as soon as you call devspace ui and no devspace.yaml can be found. We'll fix this for the next release.

Closing due to inactivity. DevSpace is on 6.3.12. If this is still an issue on the latest version, please open a new issue.


Looking for more features, such as home value estimate or history

Hi this is really impressive! Thank you so much for sharing. I am looking for more property history that we can see from the Realtor.com website or the home value estimate. Do you think if it's something that is valuable to add to this project? If so, can you direct me to their API doc so that I can add it myself if you don't have time to do this? Really appreciate it!

Hey!
Regarding property history, it is possible to get, but due to the time complexity of getting it, we haven't added it to the software. The issue is the same with home valuations.
If you want to see the API documentation, run an introspection query on the gql endpoint in our code, and you can play around with it like that.


Add std::vector pool to lower the allocation overhead

Just use std::swap or std::vector::swap to switch vectors of grids and vectors of cells whenever a new one is needed.


Updates spo tenant appcatalog add reference to deprecated spo site classic add command. Closes #3457

Closes #3457
Updates spo tenant appcatalog add reference to deprecated spo site classic add command.
Remark
We're currently still creating a classic AppCatalog site. This is OK, but SharePoint itself creates a modern AppCatalog site these days. This means SharePoint is much faster creating it. We might look into that using another issue. Maybe we can update the creation as well.

Hi @Adam-it, no this PR can be merged already. spo site add and spo site classic add where consolidated some time ago by @garrytrinder.

I also fixed an issue that originated in the default output being json these days. Nobody must have executed the command in the meantime @Adam-it 😂

I also fixed an issue that originated in the default output being json these days. Nobody must have executed the command in the meantime @Adam-it 😂

hmm.. that could be one of the reasons I had a hard time testing this command locally 😅. Thanks for investigating this and the additional fixes 👍 you rock 🤩.


Console Error

Describe the bug
It appeared on my console. Probably while loading some chunks
How to reproduce
idk
Screenshots / Videos
No response
Server Log
https://mcpaste.io/991e4802125c0ea1

When it comes to chunk issues it's difficult to know what's the problem. I think the plugin is trying to get a chunk that isn't loaded and that causes a deadlock, so I will make a solution for this hypothesis. Anyways, you're using 1.20.4 or 1.20.3 so you're 5-6 versions outdated, and maybe your problem is solved in a more recent version.


The Title of FloatingActionButton disappears after removeButton() and addButton() are called

add TextView back to FloatingActionsMenu after removeButton() and then addButton() are called.

Fixed in 1.9.1


NTR/intermediate term: mechanically-gated cation channel activity

Could I request a term intermediate to mechanically-gated ion channel activity and the cation-specific terms to describe mechanically-gated channels that are not selective for a specific cation (or at least have not had their specific permeabilities characterised).
Term request: mechanically-gated cation channel activity
Definition:Enables the transmembrane transfer of a cation by a channel that opens in response to a mechanical stress.
Ref:PMID:22343900
xref:GOC:ha
Is_a
GO:0005261 | cation channel activity
Is_a
GO:0008381 mechanically-gated ion channel activity
child terms (to be moved from under GO:0008381 mechanically-gated ion channel activity)
GO:0098782 mechanically-gated potassium channel activity
GO:0101013 mechanically-modulated voltage-gated sodium channel activity
GO:0015275 stretch-activated, cation-selective, calcium channel activity

Hi @hattrill
I have two questions:

Looking at the children you suggest, and reading on wikipedia https://en.wikipedia.org/wiki/Mechanosensitive_channels, it seems 'mechanosensitive channel activity' would be a better term name, as it would then clearly cover  'mechanically-modulated' channels as well.

It looks like all mechanosensitive channels/mechanically-gated channels are ion channels. Should I merge
GO:0022833 mechanically gated channel activity (4 annotations, could be annotated to GO:0008381)
into GO:0008381 mechanically-gated ion channel activity ? (almost 600 annotations).
What do you think ?

Thanks,

Yes, merge GO:0022833 mechanically gated channel activity into GO:0008381 mechanically-gated ion channel activity. I don't know of any other kind.
And I prefer "mechanosensitive channel activity" as it is the coverall used in the literature.
Thanks.


Miscellaneous improvements to Matcher interface

Just a couple random edits I did while working on the new filter parser implementation.
Reviews from everyone are welcome. Will merge in three days.

Coverage remained the same at 54.229% when pulling 06c53675c8e7c19d1678e6c67898f35aeabdbdd7 on feature/matcher-interface-improvements into 44e643a64d4241512afa3aa65429d7c1e9a80d78 on master.

Thanks for the review, @dennisschagt!


Set custom highlights for jsdoc tags?

I'd like to change the colors of my jsdoc tags (eg. @param in purple to some other color) - is there a way to do this? Or can I override Treesitter somehow to achieve this?

Hi, I think that the treesitter playground lets you see which groups are currently applied with :TSHighlightCapturesUnderCursor. It gives me the following:

So it looks like you would have to change TSKeyword!

Awesome. I had never heard of TS Playground, that's so helpful! Thanks again.

No problem! Yeah it's been really helpful for me 😁


Make reusable minilcm tests out of FW data tests

There were a number of tests in the FW data bridge test project that could be generalized and used for both fwdata and crdt backends. So I made a new MiniLcm.Tests project, moved the code in there and made them abstract. Then extended those abstract tests in both the fwdata and crdt test projects.
You'll notice I didn't migrate the UpdateComplexFormsTests this is due to them being over specified on how we do updates and it turns out that doesn't work well for CRDTs
~waiting on #1114 before merging this~

Yeah I looked into it, there are other ways to do it, however they would require a project to reference both Crdt and FwData. This was also a pattern I saw other people suggesting as well, so I decided it was acceptable.


Error with Amazon Polly

I created an access key and secret key.  created the config and put the info in, and it always returns this:
"ttsultimate-config: Error getting polly voices CredentialsError: Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1"

Hello to you too
Please double check the credentials for spaces after and before.
In the readme on github, there is a link to a german how-to on how to register to aws polly.

Hello to you too
Please double check the credentials for spaces after and before.
In the readme on github, there is a link to a german how-to on how to register to aws polly.

HI @Supergiovane.  I've double checked the credentials, and they are good.  no spaces.  It looks like in the browser that the secret key isn't being retained to get saved.  I'm using Chrome.  I did notice (and this may not be anything) that when i paste the secret key in the field, it shows the full length, but after updating it and doing a full deploy, it shows a much shorter secret key.  i'm attaching some pics of that so you can see.

HI @Supergiovane.  I've double checked the credentials, and they are good.  no spaces.  It looks like in the browser that the secret key isn't being retained to get saved.  I'm using Chrome.  I did notice (and this may not be anything) that when i paste the secret key in the field, it shows the full length, but after updating it and doing a full deploy, it shows a much shorter secret key.  i'm attaching some pics of that so you can see.

Hi
this is normal. All passwords on browser’s fields appears shorter after you’ve set it.
Try to restart nodered.

Hi
this is normal. All passwords on browser’s fields appears shorter after you’ve set it.
Try to restart nodered.

Another thing: do you maybe have unusual chars in the password?

Another thing: do you maybe have unusual chars in the password?

Another thing: do you maybe have unusual chars in the password?

no unusual characters.  all upper and lower case letters and numbers.

Another thing: do you maybe have unusual chars in the password?

no unusual characters.  all upper and lower case letters and numbers.

Well, i'm getting a different error this morning.
"ttsultimate-config: Error getting polly voices InvalidSignatureException: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details."

Well, i'm getting a different error this morning.
"ttsultimate-config: Error getting polly voices InvalidSignatureException: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details."

Hi Ps
That error comes directly from Amazon AWS. It's not related to tts-ultimate.
You should do what Amazon asks you. Have you followed this tutorial https://technikkram.net/blog/2020/09/26/sonos-sprachausgabe-mit-raspberry-pi-node-red-und-amazon-polly-fuer-homematic-oder-knx-systeme ?

Hi Ps
That error comes directly from Amazon AWS. It's not related to tts-ultimate.
You should do what Amazon asks you. Have you followed this tutorial https://technikkram.net/blog/2020/09/26/sonos-sprachausgabe-mit-raspberry-pi-node-red-und-amazon-polly-fuer-homematic-oder-knx-systeme ?

Hi Ps
That error comes directly from Amazon AWS. It's not related to tts-ultimate.
You should do what Amazon asks you. Have you followed this tutorial https://technikkram.net/blog/2020/09/26/sonos-sprachausgabe-mit-raspberry-pi-node-red-und-amazon-polly-fuer-homematic-oder-knx-systeme ?

I have.  So, i think i have this fixed.  I created a new key, put the new creds in and did a full deploy of the flows.  still got the error.  I restarted Node-Red and now everything seems to be working.

Hi Ps
That error comes directly from Amazon AWS. It's not related to tts-ultimate.
You should do what Amazon asks you. Have you followed this tutorial https://technikkram.net/blog/2020/09/26/sonos-sprachausgabe-mit-raspberry-pi-node-red-und-amazon-polly-fuer-homematic-oder-knx-systeme ?

I have.  So, i think i have this fixed.  I created a new key, put the new creds in and did a full deploy of the flows.  still got the error.  I restarted Node-Red and now everything seems to be working.

Well done!

Well done!

Thanks for creating this package and thanks for the prompt support!!!

Thanks for creating this package and thanks for the prompt support!!!


Add "Ship/Deliver Cargo" icon to control button icons

Prelude
icarus entities now have to wait until the "parent" miningstation entities have at least 250 resources in total until the Entity.Delivery activity is executed. This gives no control to the user when and how frequently the resources can be collected at the commandstation.
User story
As a Project Owner
I'd like to provide a control button to the user to manually trigger delivery of resources accumulated in the miningstation entities
So that User do not necessarily have to wait until the cargo of the attached icarus is full up.
Acceptance Criteria

Ship/Deliver Cargo icon is added to the GUI.png spritesheet
Atlas file is updated accordingly

As a designer I make a control button graphics. The user can manually trigger delivery of resources accumulated in the miningstation entities by clicking on it.


HDDS-9134. Decommissioning does not complete even after 40 mins

What changes were proposed in this pull request?

Wrapped Request Stream observer, with setting observer as error and returning isReady() true, so that it will fail while operating
timeout provided with 1 minute even if stream is not ready

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-9134
How was this patch tested?
Test with debug to verify exit of replication at DN

Change seems reasonable to me, but I don't have any prior knowledge of how this stuff works (Grpc, or the changes to make the sender backoff). Ideally someone more familiar with this should review.

Merging to master. Thanks @sumitagrawl for working on this, and @kerneltime and @sodonnel for the reviews.


[squirrel] update to 3.2

[ ] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[ ] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

@microsoft-github-policy-service agree

Maybe review waits until it is no longer a draft?

Pinging @MatusGuy for response. Is work still being done for this PR?

No, it's not. Sorry.

Closing this PR since it seems that no progress is being made. Please ping us to reopen if work is still being done.


Update JplayerRtmp.as

Fix problem with connection Amazon cloudfront signeture url

I don't think this fix worked. Still can't play when the urls are signed.
RTMP is horribly broken.


conpass: init at 0.1.2

Description of changes
Continuous password spraying tool
https://github.com/login-securite/conpass
Related to https://github.com/NixOS/nixpkgs/issues/81418

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 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.

Add a :+1: reaction to pull requests you find important.

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

2 packages built:

conpass
conpass.dist

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

2 packages built:

conpass
conpass.dist


feat: set config by env variables

something like
$ OTELTOOL_DEBUG_LOG=true OTELTOOL_VERBOSE=false ./otel go build

It overwrites the config items  even if otel set is performed before.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.81%. Comparing base (2ef0d50) to head (e8c5e7d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #236   +/-   ##
=======================================
  Coverage   83.81%   83.81%
=======================================
  Files          19       19
  Lines         791      791
=======================================
  Hits          663      663
  Misses        102      102
  Partials       26       26

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Do we have any documents to demonstrate the usage of the environment variables?

Do we have any documents to demonstrate the usage of the environment variables?

Done


Improve run time for the multi arch build

What type of PR is this?
/kind feature
What this PR does / why we need it:
Improved run time for multi arch build by avoid passing platforms to buildx and passing platform to the base image.
Also changed default target as centos-base.
Which issue(s) this PR fixes:

Fixes #146
Special notes for your reviewer:
Release note:
none

@Madhan-SWE rebase the code


Changes for Hugo theme site

To get a demo up and running.

Bump.
Note, we need this before we can go live with the new Hugo Theme Site.

Bump.
Note, we need this before we can go live with the new Hugo Theme Site.


Build instructions missing submodule instructions

System Details

OS: [e.g.  Ubuntu 22.04, Windows 7, 8.1, 10, 11]
Thorium Version [e.g.107.0.5347.0]

Problem
Build instructions don't specify to initialize and update submodules for thorium-libjxl, which is required for running version.sh
git submodule init
git submodule update

Screenshots
If applicable, add screenshots to help explain your problem.
Additional Notes
Add any other context about the problem here.

Are you really familiar with how to compile chromium? Also, have you checked the compilation guidelines? Instead of using these git commands to get and update submodules, we use commands such as fetch and gclient in depot_tools to get source code, update checkout, get and update submodules, etc.
https://github.com/Alex313031/thorium/tree/main/docs
@qoijjj

@gz83 I followed the instructions verbatim, including the fetch and gclient commands. They did not populate the submodule properly.

and to clarify this is specifically for  thorium-libjxl submodule, not the others

Just add the --recursive parameter to the command to clone thorium's repo to pull the submodule.
When the submodule is updated, the thorium repo will also be updated synchronously.
@qoijjj

@gz83 yes, my point is that that should be reflected here:
https://github.com/Alex313031/thorium/blob/3351465f2bdea7b724ea4338eea3f90d2559772e/docs/BUILDING.md?plain=1#L45

https://github.com/Alex313031/thorium/pull/220

fixed in https://github.com/Alex313031/thorium/pull/220


Does this cache images to disk or in memory?

i.e If I view or preload an image from a url, quit the app, go offline, open the app. Will I still see the image? If not is it possible to make that happen?
EDIT: Unsure how to remove bug label

Yeah, you'll still see the image if you've already loaded it and then you open up your app again, offline. I just started using this component simply because React Native's built-in Image component was unreliable when it came to caching. This seems to work out of the box.

Technically this package caches in memory by default. There is no way to change this without changing the Glide module config and SDWebImage config. Storing in memory is faster, but can take away memory from other memory-intensive features of your application, especially if you're caching large images. Storing in disk is a bit slower (may result in a brief flash while loading if you don't configure it properly), but leaves more memoyr for the rest of your app.

Is there any where I can find details on the SDWebImage config? I have an offline first app so need the images to be cached to disk.

@CDBridger have you checked their Common Problems wiki?

Where can I find docs for enabling disk storage on android (using Glide of course)?

Can we limit the memory size this package can allocate for images?


Show localized names for system folders

Fixes #1226
This PR adds support for showing localized folder names (e.g. "Programmi" instead of "Program Files" for it-IT)
Does not slow down file loading, display name is loaded in LoadExtendedItemProperties() (if not cached).
@jakoss I've employed your caching feature to save the display name for files, I'd be happy if you could take a look at the code to see if there's anything amiss ;)
Note: This PR contains some changes done by @hez2010 for #3350 (also needed here)

@gave92 What kind of impact will this have on performance?

@yaichenbaum it should have almost no impact as the localized name is loaded in LoadExtendedItemProperties. Reading the name from cache should also be pretty fast. I haven't noticed slow downs in C:\Windows\System32 (big folder with lots of subfolders). Have you seen something different in your testing?

@gave92 There doesn't really seem to be any major impact, good work!

Aha sorry now it's ready I think


handle an error during oidc login

There was recently an issue where oidc login failed halfway due to
application - LoginId [some-id] complete with error: ErrorResponse(500,Couldn't retrieve remote JWK set: Read timed out)application - LoginId

Afterwards, it appears our setOidcSession function in our VinylDNS controller was stuck in a retry loop trying to login with the now stale token. This pr redirects to an error page if the oidc login fails in setOidcSession

do we need a log messages right before and after the redirect to the login-error route? Can we just have one or the other? Also weird that one says login complete then the next says login failed.


cant load and could not resolve error of chromium link at /en-US/docs/Web/Security/Mixed_content

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details

URL https://wiki.developer.mozilla.org/en-US/docs/Web/Security/Mixed_content
Active content examples
as they are in Chromium redirects to chromium.org
it shows the following error

Can't load 'chromium/src/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp':
Could not resolve path src/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp.

Hrm, I've just removed the link.


Model Binder more misleading that before when using Required non-nullable strings.

I understand why this is the way it is, what I'm not sure if there are any intention to "fix"/change this behavior. My concern being that now is significant more misleading than it was before.
aka, not predictable, easy to miss and have bugs.
Using C#8 <Nullable>Enable</Nullable> property.
Posting a model with same "apparent" requirements on model binder (required, non null with a default value) will return error for string but not for other non-nullable types.
Behaves exactly as before, as if string is a nullable type.
        [Required]
        public string StringAsEmpty { get; set; } = string.Empty;

        [Required]
        public string StringAsDefault { get; set; } = default!;

        [Required]
        public int IntAsEmpty { get; set; } = default; // same as 0, or not assigned.

As "expected" posting to a controller that accepts that model without any form field/value:
<form asp-action="Create">

    <button type="submit">Submit</button>
</form>

It will generate ModelState errors for string properties but not for int. (working as if string is a nullable type)

@Bartmax Thanks for contacting us.
As far as I know, modelbinding is not affected in any way by the use of Nullable types in C#. Nullable types help the compiler specify the behavior, but don't offer any runtime guarantee about it nor extend the range of values a type can take.
C# 8 nullable types in essence are syntactic sugar to indicate that there should not be a null value in there, but the types it apply to are those that can have null as a value (references), while that is not the case for value types like int, where null is not a valid value for the type and the default value is not special in any way.
What I'm trying to say with this is that modelbinding should not be affected by C# 8 nullable types (I don't expect the behavior to have changed) and that the behavior you are seeing is modelbinding's behavior with the feature on or off.
Maybe a solution is to model your DTOs differently (use int?). The reason modelbinding doesn't give you an error on int fields is because it acts on the model, not on the payload of the request and value types always have a valid value, so they are always present.
@rynowak can correct me if I'm wrong :)
Hope that helps.

@rynowak can correct me if I'm wrong :)

Ok, here I am. You're wrong 😆
@Bartmax  - you're running into a common point of confusion/contention with [Required]. [Required] is defined-as not-null. An integer is never null, so it will never trigger a validation error with [Required]. All of the types in System.Collections.DataAnnotations refer to the state of a model object once binding is complete - they don't say anything about whether or not there was data on the wire. If you want to validate that data was included, use [BindRequired].

[Required] is defined-as not-null.

I wasn't, this is what I meant. But maybe my English is broken :)

Ok, I think both are 👍 and also missing the point here, sorry for not making it clear enough.
So let me address what's the issue or my point in here.
As @rynowak said,

[Required] is defined-as not-null. An integer is never null, so it will never trigger a validation error with [Required].

From a " concept " point of view, we now have, with c#8, string as not-null, following the same logic, a non-null value never trigger a validation error with [Required] before, but as of right now, a non-value string will trigger validation.
TLDR, what changed?:
Before:
Non-null value will never trigger validation error.
Now:
Non-null value except non-null string will never trigger validation error.
It's ok from code point of view, it's misleading or confusing from api consumer point of view.

From a " concept " point of view, we now have, with c#8, string as not-null, following the same logic, a non-null value never trigger a validation error with [Required] before, but as of right now, a non-null string will trigger validation error.

Ah! Ok. This makes sense now. Let me elaborate.
 You can easily produces instance of objects that contain null where you said you don't expect to find null. You can prove this by newing up the class from your example.
MVC's error handling contract for model binding is that new up your class, and hand you an instance in your action method - even if it's invalid.  This presents us (MVC team) with a decision to make - we're going to give you an instance of your object sometimes that has null where you don't expect to find null.
The only real pivot we have is to make this a validation error or not, so we chose to make it a validation error. I hope that makes sense.

Thanks, @rynowak. I think the key point is that C#8 no-null is not a runtime contract, hence i don't think there's anything actionable here, also I agree making it a validation error was the correct call here.

This is really confusing. How do I make a string property not required?
This property:
public string? Details { get; set; }
Is being considered as required:
{"errors":{"Details":["The Details field is required."]}
Are we saying it not possible for modelbinding to allow null on a string?

@brunosantosrhsenso string? should not be marked as required. Try to do [Required(false)] and see if changes. I can only assume that you are marking it as required somewhere else or using old bins, something along these lines or a bug somewhere.
You can totally bind nullable strings as non-required.

@Bartmax [Required(false)] doesn't exist.

@Bartmax [Required(AllowEmptyStrings = true)] doesn't allow nulls.

@Bartmax I've got same situation as @brunosantosrhsenso .
Code
public class QueryFilter
{
    private string? query;
    [StringLength(255, MinimumLength = 2, ErrorMessage = "Min length is 2.")]
    public string? Query
    {
        get
        {
            if (string.IsNullOrEmpty(this.query))
            {
                return this.query;
            }

            return query.ToUpper();
        }

        set { this.query = value; }
    }
}

public class QuerySortingFilter : QueryFilter
{
    public QuerySortingFilter()
    {
        Sorting = new SortingFilter();
    }
    public SortingFilter Sorting { get; set; }
}

public class GetByStatusesFilter : QuerySortingFilter
{
    public DocStatus[]? Statuses { get; set; }
}

[HttpGet("docs/{userId}")]
public async Task<IActionResult> GetDocsAsync
(
    Guid userId,
    [FromQuery] ListFilter<GetByStatusesFilter> listFilter
)
{
    // Something.
}

Error

Details
My controller has attribute [ApiController].

It shouldn't.
Submit a new issue as a bug.
Not setting the required attribute should not trigger a validation error


Copying files broken by Node v8.5.0

Since Node v8.5.0 fs.copyFile and fs.copyFileSync require the full path of the destination file, breaking the jsdoc build process sincelib/jsdoc/fs.js (until jsdoc 3.5.5.) prefers native methods over its overrides.  See error encountered below.
The jsdoc team has resolved the issue with the release of jsdoc 3.5.5.  Please update grunt-jsdoc accordingly.
npm list jsdoc
<EMAIL_ADDRESS>/Users/arwhyte/Development/repos/github/IMSGlobal/caliper-js
└─┬<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>Issue first reported
https://github.com/jsdoc3/jsdoc/issues/1438
Issue resolved
https://github.com/jsdoc3/jsdoc/pull/1440
jsdoc release (3.5.5.)
https://github.com/jsdoc3/jsdoc/releases/tag/3.5.5
Local error encountered (running node v8.6.0)
Running "jsdoc:dist" (jsdoc) task
>> fs.js:1919
>>   binding.copyFile(src, dest, flags);
>>           ^
>>
>> Error: EISDIR: illegal operation on a directory, copyfile '/Users/arwhyte/Development/repos/github/IMSGlobal/caliper-js/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Bold-webfont.eot' -> 'doc/fonts'
>>     at Object.fs.copyFileSync (fs.js:1919:11)
>>     at /Users/arwhyte/Development/repos/github/IMSGlobal/caliper-js/node_modules/jsdoc/templates/default/publish.js:471:12
>>     at Array.forEach (<anonymous>)
>>     at Object.exports.publish (/Users/arwhyte/Development/repos/github/IMSGlobal/caliper-js/node_modules/jsdoc/templates/default/publish.js:468:17)
>>     at Object.module.exports.cli.generateDocs (/Users/arwhyte/Development/repos/github/IMSGlobal/caliper-js/node_modules/jsdoc/cli.js:430:39)
>>     at Object.module.exports.cli.processParseResults (/Users/arwhyte/Development/repos/github/IMSGlobal/caliper-js/node_modules/jsdoc/cli.js:383:20)
>>     at module.exports.cli.main (/Users/arwhyte/Development/repos/github/IMSGlobal/caliper-js/node_modules/jsdoc/cli.js:227:14)
>>     at Object.module.exports.cli.runCommand (/Users/arwhyte/Development/repos/github/IMSGlobal/caliper-js/node_modules/jsdoc/cli.js:180:5)
>>     at /Users/arwhyte/Development/repos/github/IMSGlobal/caliper-js/node_modules/jsdoc/jsdoc.js:103:9
>>     at Object.<anonymous> (/Users/arwhyte/Development/repos/github/IMSGlobal/caliper-js/node_modules/jsdoc/jsdoc.js:104:3)
>>     at Module._compile (module.js:624:30)
>>     at Object.Module._extensions..js (module.js:635:10)
>>     at Module.load (module.js:545:32)
>>     at tryModuleLoad (module.js:508:12)
>>     at Function.Module._load (module.js:500:3)
>>     at Function.Module.runMain (module.js:665:10)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Version 2.2.0 should fix the issue. Thanks for reporting.

Thanks for your quick response.  Cheers.


Support for .NET Core

Hello, I want to thank you for this awesome lib. However when I deal with .svgs from Adobe Illustrator (not sure which version, because graphics man...) I got bunch of errors like:
The CreateDocument method can only be used to parse root <svg> elements. or Stack empty.
I use SVG 2.4.0, NetCore 2.1.
SVG sample here: https://pastebin.com/jsfeRi1y
Code I use is just simple open and after this the errors happen: SvgDocument svgDocument = SvgDocument.Open(file);
Edit: maybe it can be fixed by merging #326.

I adapted the issue title to clarify what this is about. Note that there is a new PR (#415) that specifically adds support for .NET Core 2.2, so that may work for you.

I'll check it out later, thank you.

please some workaround or merge pull request to support .net core

The committer wanted to make some changes I'm waiting for, and we are also waiting for @tebjan for clarification regarding VS version - so I can't give you a definitive date for when this will be merged...

i'd say VS2017 is fine. if it all works with VS2015, even better. but i think .net core and standard have much better support in 2017.

Ok, thanks! So merging the PR which requires VS2017 would be fine (once it is finished)?

@tebjan - I think it would make sense to make another minor release before that, just in case - there have been a few fixes since the last release.

when can i except that release with .net core support?
thx!

@mrbean-bremen sure thing, i'll upload a new nuget.

@Noah1911 - it has been some time; if you are still interested, could you please check with current master?

@mrbean-bremen - yes I'm still interested. I still don't have time to test it, but it looks promising. I try to test it at the end of this week.

Hey I'm going to chime in here since I had the same problems with .NET core 2.1.  I was getting my This morning I updated everything to .NET core 2.2 and cloned master.  I popped the dll in there with a local reference and suddenly all my SVGs started rendering.
I'm using an SVG template that I dynamically inject some values into before I go through a few conversions.  The conversion chain was  SVG template > XmlDoc > SVGDocument > Bitmap > ByteArray(PNG) > Base64 String.
I'm returing that Base64 string as a data URI for an image's source tag, and that image lives in an HTML div.  Everything renders nicely now.
Before I was using SVG 2.4.3 and all of my images were just rendering as either a white box (PNG) or a black box (GIF/JPEG).
Thanks for the update.

Am I interpreting that thread correctly, it looks like the next nuget package release will support .NET Core?  Since master source does currently?
Just wondering if I should bother cloning and building myself or just wait a few days.  Any help needed with testing?

Yes, you are right. Any tests are welcome, especially on non-Windows systems.
I'm not sure about the release date, I would have been given it some time to be tested, though an early release with some bugfix release later might also be ok.
@tebjan - what do you think?

@jackmott it’d be particularly helpful for someone to test on Linux, since I believe nobody has.

i should be able to help with that monday night when i get home

@tebjan it seems this is geared to you: to make testing easier i'd advocate for releasing "preview" flavors of nuget packages so you can control the installation process and ensure there's no issues with the variability in people compiling and dropping dlls and such as it seems is needed at the moment to test.

Yes, I agree. If there is no more fixes on master to release we can bump the major version and do a pre release.

@tebjan - the ongoing fixes on master are not related to .NET Core support, so I would suggest to make a pre-release for testing specifically .NET Core support. If new fixes accumulate meanwhile, you may make another pre-release later.

@mrbean-bremen sounds good! i'll do a local build and test it out.

Hi! Did you solve the problem The CreateDocument method can only be used to parse root <svg> elements. and Stack empty.. Also empty file after all?

I'm not aware of this problem. Can you file an issue describing the problem?

I am trying to convert SVG to PNG with this code:
`public IActionResult CodeplexToPng()
{
       var svgDocument = SvgDocument.Open("..\\qq\\lastCreated.svg");
        using (var smallBitmap = svgDocument.Draw())
        {
            var width = smallBitmap.Width;
            var height = smallBitmap.Height;
            if (width != 2000)// I resize my bitmap
            {
                width = 2000;
                height = 2000/smallBitmap.Width*height;
            }

            using (var bitmap = svgDocument.Draw(width, height))//I render again
            {
                bitmap.Save("..\\qq\\pngPath.png", ImageFormat.Png);
            }
        }

        return View();
   }`

When i start the method it shows:
Error: 0 : The CreateDocument method can only be used to parse root <svg> elements.  Error: 0 : Stack empty..
After hundred or so this messages it creates empty black .png file.

I understand you are using .NETCore?

I understand you are using .NETCore?

yes

Are you using master, or the nuget package? And which OS?

Are you using master, or the nuget package? And which OS?

nuget, windows 10

Hm, this exception happens if the root element is not an svg, actually this shall not be dependent on .NETCore. Can you show an example SVG that causes this issue?

lastCreated.zip

Ok, this looks fine at first glance. I may have another look later today.

Hm, I couldn't reproduce this. Also, I don't understand where this "Stack empty" message comes from - this is not logged.
Are you able to check this with master by building master yourself?

@mrbean-bremen Did you also do a test what happens if you do a render within another render (like @8m0 did in his example), maybe the XML parser/reader somehow messes up if you try to render twice or try to render when there is another bitmap also in use (which might hint on issues with concurrency).
The Stack empty can be due to the type of exception used, we use  InvalidOperationException, googling the exception and the stack message shows that apparently it's something related to this type of error. Maybe using (some of the) system exceptions is something to change (many guidelines and best-practice guides advice against using these).

@gvheertum - I wrote a small test with the code given above and used it on the example file, though maybe I did something different. I will have a another go at this sometime later (though of course I'd be happy if someone could tackle this ;)

@gvheertum - I wrote a small test with the code given above and used it on the example file, though maybe I did something different. I will have a another go at this sometime later (though of course I'd be happy if someone else could tackle this ;)

I'm on it, I'll make a unittest to test this behavior and keep track of issues when rendering multiple times after each other.
By the way, what are your thoughts about the InvalidOperationException being thrown instead of a customized exception? I'm not even sure if the InvalidOperation is the correct type of exception, since it's more likely a parser or document error.

@mrbean-bremen I put it in a test-harness (see PR #549), I could not test it fully on Mac (somehow Mac goes crazy on fonts), but maybe you can give it a run on Windows.
Using a simple SVG without text showed no issues in the unittests when I did them, so if you also have the same result with the Windows run I think this issue can be closed.

Thanks for that! I did the test under Windows (with .NET Core) and it all passed. Though I shouldn't have bothered as the AppVeyor build already had passed :)
About the InvalidOperationException - I'm not sure. For me the usage looks right in this case, but generally I also prefer the usage of custom exceptions.
I would also tend to close this issue, as support for .NET Core is there, and all problems shall be handled in separate issues.


Document the files in openfood/category package

Summary:
Document the files in openfood/category package: https://github.com/openfoodfacts/openfoodfacts-androidapp/tree/master/app/src/main/java/openfoodfacts/github/scrachx/openfood/category

Thanks for creating individual packages @RajaVamsi11. I am currently working on few of the classes and will send  a PR soon :)


2 player mode with additional input device does not work in retroarch

When connecting an additional Gamepad via USB on OGA 1.1 it cannot be used as input for player 2.
I connected a Stadia Controller before starting retroarch SNES Core. The controller works fine for Player 1, also button reconfiguration does sork fine. However whenever this controller is connected all buttons on the OGA do not work. They cannot even be configured in input device configuration as the button presses are not recognized.
If Retroarch is started before the Stadia controller isconnected the OGA controls work fine. However the Stadia buttons then will not work and the buttons cannot be configured in input device configuration as the button presses are not recognized. The Stadia controller device is however detected fine as it can be chosen in input menu device index.
Environment

Device: OGA 1.1
Stadia Controller, connected via USB
Arkos 2.0 12232021

Steps to reproduce

Connect Stadia Controller to USB Port
Start Retroarch SNES
Controls work fine
In Arkos Settings>Input set Maximum Users 2
Got to Port 2 Controls
Set Device Index to Odroid GO Advance Joypad
Configure Buttons
Button mapping will not work as button presses are not recognized

Expected Behaviour

Buttons can be configured on Odroid GO Advance Joypad

Sorry as I don't offer support for 2 players on ArkOS on any supported device.  Only Netplay via Retroarch is supported.


Bugfix/home page typo

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: deepakpal-in sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Ceph RGW nfs user modify to specific defined access key and secret key

RGW NFS user should update with the keys from group vars when those are specified

@radut please, read https://github.com/ceph/ceph-ansible/blob/master/CONTRIBUTING.md#commit-guidelines

Up

@radut you are still missing a commit message

Are you reffering to body for commit message ?

Are you reffering to body for commit message ?

yes, commit title should be brief whereas body should give more detail.
ie:
rgw: support specific keys for rgw nfs user

This brings the possibility to modify the rgw nfs user to use specific keys
when those are defined.

jenkins test centos-non_container-lvm_batch

Thank you for the suggetion. Updated

@radut sorry but I put you on the wrong path I think :grin:
rgw: support specific keys for rgw nfs user -> nfs: support specific keys for rgw nfs user

Up

jenkins test centos-container-collocation

jenkins test centos-container-lvm_osds

jenkins test centos-container-update

jenkins test centos-container-purge

jenkins test centos-container-podman

sure

jenkins test centos-container-podman

jenkins test centos-container-podman


Unclear wording: "Open JSON file"

Windows Terminal version (or Windows build number)
10.0.19041.985
Other Software
No response
Steps to reproduce
Open settings
Expected Behavior
No response
Actual Behavior
Not clear what "Open JSON file" means.
If it said "Open JSON settings file" or "Open settings.json file", it would be much clearer.
I was quite surprised to see a very generic "Open JSON file" function in the settings when I just opened it for the first time

I always found it intuitive. The json file clearly mean it was for settings or it would be presented as an option. If you want something more specific then it would be "Open settings.json".

Yep, "Open settings.json" would be clear that it's talking about precise settings.json, not just some arbitrary-format JSON format.
It also should be clear what "Open settings.json" does. Does it open the current settings.json in a text editor? Or will it show a file dialog for opening pre-saved settings.json (e.g. for import of settings from another machine)?

There's limited space. Do you want it to say "Open the settings document, which is actually a JSON file called settings.json, in a text editor, so that you might observe its raw structure?"

I want the button text to indicate clearly what it does. Currently it says very generic "Open a JSON file"
There are at least two legitimate functions to be expected in this context:

open an external user-provided settings.json (file dialog)
open a current settings.json (text editor)

I'm sure one can find a concise enough wording much shorter than your proposal, e.g. "Open active settings.json"
But I'm not a native English speaker, so I don't take responsibility for telling actual native speakers what the exact wording should be. I'm sure other people would have better ideas.

open an external user-provided settings.json (file dialog)

In the old days, that one would have a label ending with an ellipsis ("Open JSON file…") because it must ask for more information before it can do what it says. But I don't know if Microsoft has changed its guidelines since then.

After a long discussion with the team, we realized that there's a tooltip that explains what it does. While I agree that the "Open" verb typically means "get external content into my application," we're choosing to accept the tooltip as a disambiguator.
Thanks/sorry!


Fix test_host_queue_order not to rely on bit accurate float opsHost order

Currently, test_host_queue_order relies on bit accurate float ops.
It expects expects that sqrt((float)i * i) == i.
This is not always true due to floating point precision limitations.
The test does not really need the sqrt operation and it can be removed
instead of trying to correct the floating point check.
Replace problematic float operation with constant value of 1.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.13 out of 15 committers have signed the CLA.:white_check_mark: jrprice:white_check_mark: alycm:white_check_mark: kpet:white_check_mark: yxsamliu:white_check_mark: gwawiork:white_check_mark: rszymanski:white_check_mark: b-sumner:white_check_mark: hewj03:white_check_mark: nikhiljnv:white_check_mark: Jeremy-Kemp:white_check_mark: pierremoreau:white_check_mark: cdai2:white_check_mark: bsochack:x: kepatil:x: KhronoswebmasterYou have signed the CLA already but the status is still pending? Let us recheck it.

Closing this pull request in favor of #294


barter.vg does not work on Firefox 77.0.1

After updating Firefox to version 77.0.1, the script for barter.vg stopped working. It seems that the problem with locking the CSP

After updating Firefox to version 77.0.1, the script for barter.vg stopped working. It seems that the problem with locking the CSP

I can confirm this too.

I don't think anything related to CSP has changed on the site in the past week.
What is the error message? You should be able to see it by opening DevTools (F12 or Cmd + Opt + I)  and clicking the Console tab.

I have a second computer, the problem remains... so the thing is in the site...
Same browser, same site, same script:
https://yadi.sk/i/XKOfjU3qVBH_RQ
https://yadi.sk/i/HS9MhU5u42XJow

After updating Windows, Tampermonkey and restarting the computer, the problem disappeared on the second computer..

Thanks for those screenshots.
I'm excerpted what appears to be the relevant error

Has this been resolved?

Has this been resolved?
Yes.
Thanks for the script!


Add pagination to graphql provider

Is it much more difficult to do the more efficient mechanism of using block/log index to page vs using skip?


Add const generics to Managed classes

What do you think of the idea of adding const generics to managed structs? For instance
enum ManagedMap<'a, K, V, const N: usize = 0> {
    Borrowed(&'a mut [Option<(K, V)>; N]),
    OwnedStd(BTreeMap<K, V>),
    OwnedCore([Option<(K, V)>; N]),
}

or if we want to make a more breaking change perhaps only allowing owned variants so we can reduce lifetime generics.
enum ManagedMap<K, V, const N: usize = 0> {
    OwnedStd(BTreeMap<K, V>),
    OwnedCore([Option<(K, V)>; N]),
}

The const generics would have to propagate through TcpSocket, UdpSocket, Socket, SocketSet, Interface, wouldn't they? I don't think
IMO the current approach with slices is better, because

It doesn't infect everything with const generics.
Buffer size can be calculated at runtime
Different sockets can have different buffer sizes.

oh, that makes sense. I didn't factor that in. Thanks!


Normals of collision shapes appear to be inverse when created after player object added to scene

When working in the sandbox toys, or in modules of my own, collision normals appear to be getting inverted depending on the sequence of adding objects to a scene. Tested it through a variety of Torque development builds but the behavior has remained consistent and I have been unable to determine if it is something I am doing or not.
I create some basic platforms as such:
function PlatformerDemo::createPlatformBlock(%this, %posX, %posY, %sizeX, %sizeY)
{
    %posZ = 0;
    %object = SandboxScene.create( Sprite );
    %object.Size.x = %sizeX;
    %object.Size.y = %sizeY;
    %object.setBodyType("static"); // Platforms float, so we don't want them effected by gravity
    %object.Position = %posX SPC %posY SPC %posZ;
    %object.Image = "ToyAssets:Tiles";
    // Create some collision shapes.
    %object.createPolygonBoxCollisionShape(%sizeX,%sizeY);
    %object.setSceneLayer(10);
    return %object;
}

When a player collides with the object, I check to see if its the top of a platform or block. If so, I turn off gravity on the player object and set a variable denoting that it is on the ground:
function Player::onCollision(%this, %colide, %details)
{
    %normal = getWord(%details, 2) SPC getWord(%details, 3);
    // Adjust our normal by rounding up a little
    %word0 = getWord(%normal, 0);
    %word1 = getWord(%normal, 1);
    %word0 = mFloatLength(%word0, 2);
    %word1 = mFloatLength(%word1, 2);
    %normal = mFloatLength(%word0, 4) SPC mFloatLength(%word1, 4);
    if (%normal $= "-0.0000 1.0000" || %normal $= "0.0000 1.0000")       // Haven't checked this recently, may be a result of my rounding, but sometimes the normal returns with a -0.0000 value on the first word so I try to account for both here
        {
        %this.onGround = true;
        %this.setGravityScale(0); // turn off gravity while we're grounded
        }
}

If the blocks are added to the scene before the player object, everything functions as expected. If the blocks are added after the player is added to the scene, those blocks act as if their normals were reversed: Landing on the top of the block keeps gravity on and treats the player like they are falling in the air. Touching the underside of the block, turns gravity off as if the player landed on the top of the block, and the player will be able to hang in the air and can run back and forth under the edge of the platform.
Currently I've worked around this by setting a flag on any blocks created when the player object already exists, and checking that flag on collisions. If its true, I reverse the normals before comparing them for the collisions.

This is an interesting bug.  According to the documentation:

Both the contact normals and contact points come directly from Box2D itself and Torque 2D does not manipulate them in any way.

But I know that every contact generates two opposite normals, one for each object.  It's possible that the engine is returning the wrong normal based on the order that the objects are created.  I'll have to investigate further. Thanks for posting up the bug.

No problem, thank you for working on this!
I have something of a development jam with a friend of mine coming up in January so I have been dusting off some of my Torque prototypes and testing them out in the latest builds. I first noticed it when I was testing one-sided collisions like two years ago, and had some custom C++ code so I thought perhaps it was some fault of mine. The player would drop down through those platforms created later, and bump against the underside. That's since been unnecessary after #238 when they added one-sided with edge collision shapes, so now I'm using the stock code and noticed it still happened on other collisions.

I was right! In Scene.cc starting at line 555 we pass the same miscInfoBuffer into the callbacks for both objectA and objectB.  We should be inverting the normal for objectB first.  I'll get a fix in for it. Thanks again for pointing this out.

Check to see if this has been fixed in the development branch.

I'll take a look at this when I get tonight, thanks!

So after some testing, it actually appears like everything is the opposite now: With my existing code, collisions against objects made before the playerObject appear to be inverted, and collisions against objects made after the playerObject are working normally. If I reverse the logic of my .inverseNormals variable, everything works as I would expect.
I'll try to gather some data from some of the other toys to make sure it isn't something I've done specifically in my platformer concept.

And does it still flip if you change the creation order of the ground and blocks?
I'll have to experiment with this further.

The first try fell flat, but I took anther stab at this.  Testing with the Pyramid Toy was successful.  Try it out and let me know if it works for you.

I didn't see any new commits?

Ack! Forgot to sync...

Boom! Appears that I am no longer getting any strange behavior with the normals, regardless of what order my collision shapes are created in! Bravo!

Glad I could help!    Hope your development jam goes well.


[ui] Light and dark theme have different spacing around clusters

Running master head the clusters have less spacing per row vs the light theme, which I think is better anyways

Reproduced the issue in 2.3.5

Validated the fix on master-head - latest2


afterEach has no context when using Jasmine instead of Mocha

/* global ngDescribe, it, beforeEach, afterEach */
angular.module('BeforeAndAfterA', [])
  .value('foo', 'bar');

ngDescribe({
  name: 'before and after example',
  module: 'BeforeAndAfterA',
  inject: 'foo',
  only: false,
  verbose: false,
  tests: function (deps) {
    var localFoo;
	var context;

    beforeEach(function () {
      console.log('before localFoo, deps', deps);
      la(deps.foo === 'bar');
      localFoo = deps.foo;
	  la(this !== undefined, 'beforeEach has no context');
	  context = this;
    });

    it('test 1: has correct value foo', function () {
      console.log('inside test 1 localFoo, deps', deps);
      la(localFoo === 'bar');
      la(deps.foo === 'bar', 'dependencies still has foo', deps);
    });

    it('test 2: has correct value foo', function () {
      console.log('inside test 1 localFoo, deps', deps);
      la(localFoo === 'bar');
      la(deps.foo === 'bar', 'dependencies still has foo', deps);
    });

	it('test 3: has correct context', function () {
      la(this === context, 'test function has wrong context');
    });

    afterEach(function insideNgDescribeAfterEach() {
      console.log('after localFoo, deps', deps);
      la(localFoo === 'bar', 'localFoo is', localFoo);
      la(deps.foo === 'bar', 'dependencies still has foo', deps);
	  la(this === context, 'afterEach has wrong context');
    });
  }
});

I doubt this is useful to fix right now. We hacked just to get around Jasmine's wrong (in our opinion) reverse afterEach callback execution. Binding "this" seems like unnecessary thing. Why use this at all inside specs?

Well, it was working till 1.2.0, so...
And why use this?
beforeEach(function() {
  this.someInstance = new deps.someComponent()
});

it('some test', function() {
  expect(this.someInstance.someProperty).toEqual(someValue);
});

Of course variable can be declared in scope shared by those functions, but this felt more natural.

Good point, but we had to hack around Jasmine's reverse order (issue #52) so not worth implementing something only because one testing framework has a bug. Mocha to the rescue!

From Jasmine doc:

The this keyword
Another way to share variables between a beforeEach, it, and afterEach is through the this keyword. Each spec’s beforeEach/it/afterEach has the this as the same empty object that is set back to empty for the next spec’s beforeEach/it/afterEach.

      window.afterEach = _afterEach;

      function singleAfterEachInOrder(afterCallbacks) {
        la(check.array(afterCallbacks), 'expected array of callbacks', afterCallbacks);
        log('single "after" block with', afterCallbacks.length, 'callbacks');
        afterCallbacks.forEach(function (fn, k) {
          log('"after callback"', k, fn.name);
          fn.call(this);
        }.bind(this));
      }
      var singleCleanup = function() { singleAfterEachInOrder.call(this, afters); };

It should probably be reopened and fixed with #74 and #81.

Agreed, at this point I really advise anyone to NOT use Jasmine - no releases, bugs, weird features that try to do too much - Mocha or anything really is better.


Mention that xtensa-esp32*-{none-elf,espidf} targets are stable as of Rust 1.81

This was mentioned in the GitHub release notes, will this make working with Xtensa ESP32 easier?

This is by design, the LLVM used by upstream rust does not have enough commits for it to be usable for development (yet). Until it is, we don't want users to get confused so we're omitting talking about it in the book. For now, targeting the Xtensa chips still requires the esp-rs/rust toolchain.


Typings about WebRTC

I can't find type definitions about WebRTC like RTCPeerConnection.
Is there a plan to support or some progress?

Any updates?
Maybe you can open-source your private definitions?

Is the lack of such obvious types as WebRTC ones for several years
the sign that flow project is being abandoned?

Is the lack of such obvious types as WebRTC ones for several years
the sign that flow project is being abandoned?

No, it means no one has put up a PR for them (and no one has requested these internally). We regularly merge PRs which add new library definitions.

Does the fact that there are more than 100 bugs with the needs triage label mean the project is abandoned? Because it certainly feels that way.


How to useContractRead on a mapping

I have a public mapping called balances. mapping(address => uint) public balances;
I'm trying to fetch the balance of a user like this:
  const { data, error, isLoading, refetch } = useContractRead({
    addressOrName: '0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82',   //contract address
    contractInterface: myABI,
    functionName: 'balances',
    args: ["0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"], // Get this users balance
  })

  console.log('data', data, error, isLoading);

But I'm getting this error:
Error: call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="balances(address)", data="0x", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.7.0)

Is this the proper way to read from a mapping? Am I passing the address as an arg correctly?

I realize this error is actually happening because I'm having issues to connect to a localhost hardhat chain...
My wallet connects to the local site, but I can not interact with my local smart contract on my hardhat chain.
Any help would be greatly appreciated!

Would this be a correct way to connect to a local chain:
import { chains, providers } from '@web3modal/ethereum';
import { Web3Modal } from '@web3modal/react'

const config = {
  projectId: process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID,
  theme: 'dark',
  accentColor: 'default',
  ethereum: {
    appName: 'Web3dApp',
    chains: [
      {
        id: 31337,
        name: "Hardhat 31337",
        network: "localhost",
        rpcUrls: {default: 'http://<IP_ADDRESS>:8545'}
      }
    ],
    providers: [providers.walletConnectProvider({ projectId: process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID })],
  }
}

function MyApp({ Component, pageProps }) {
  return (
    <>
      <AppLayout>
        // rest of my app
      </AppLayout>
      <Web3Modal config={config} />
    </>
  )
}

I've tried this but still getting the same error...
I think that this should definitely be explained clearly in the documentation because as people are building dApps they often just start with the contract running on a local development chain.

Ok finally got it working! Had to use a jsonRpcProvider in the config providers.
See below. hope it helps someone in the future.
And someone please add it to the docs!
const config = {
  projectId: process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID,
  theme: 'dark',
  accentColor: 'default',
  ethereum: {
    appName: 'Web3dApp',
    chains: [
      {
        id: 31337,
        name: "Hardhat 31337",
        network: "localhost",
        rpcUrls: {default: 'http://<IP_ADDRESS>:8545'}
      }
    ],
    providers: [providers.jsonRpcProvider({rpc: (chain) => ({http: 'http://<IP_ADDRESS>:8545'}) })],})],
  }
}


Define base path

Hi!
I want to run this in subdir of server.
e.g.: localhost/snapcastr
Is this supported?

sure, you need your webserver (apache, nginx, ...) to run as a reverse
proxy for that, translating between webserver-ip/some/subdir and
localhost:5011.
On Mon, Apr 13, 2020 at 9:16 PM Digl<EMAIL_ADDRESS>wrote:

Hi!
I want to run this in subdir of server.
e.g.: localhost/snapcastr
Is this supported?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/xkonni/snapcastr/issues/18, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABVJW2CN7SRZYHH2YELHHTRMNQKBANCNFSM4MHFOYQQ
.

I did that, but then the paths in the nav lead to nowhere...


clarification on documentation about "Stream chat messages"

Library name and version
Azure.AI.OpenAI 1.0.0-beta.12
Query/Question
in the docs
https://github.com/Azure/azure-sdk-for-net/blob/Azure.AI.OpenAI_1.0.0-beta.12/sdk/openai/Azure.AI.OpenAI/README.md
there is a section named "Stream chat messages with non-Azure OpenAI".
Does it mean that Azure OpenAI does not support chat-completion streaming , or does not this SDK ?
I have been using chat streaming against a an azure open ai instance and it looks like working.
thanks
Enrico
Environment
No response

I think this can be closed, as the provided link now includes a clearer definition:

"It can connect to Azure OpenAI resources or to the non-Azure OpenAI inference endpoint, making it a great choice for even non-Azure OpenAI development."

@sabbadino, it means you are not isolated to using just the endpoints available via Azure OpenAI.

Fine for me :)

Ok


gl_PointCoord can not be supported on windows and linux for openGL 2.0

@ricardoquesada
Heard from minggo, that you have a solution for this.
Could you please take a look at it?

I have the same problem when compile shader

I had a similar problem. For me, it was resolved by specifying version 1.2, not 1.1:
#version 120

I can not find where is gl_PointCoord  being used in latest codes. @octachrome could you please show me where it is used? Thanks.

@minggo Sorry, I am not actually using cocos2d. My post was a general solution for how to compile a shader which uses gl_PointCoord. There is a mistake in the OpenGL docs which state that gl_PointCoord is a 1.1 feature, whereas in fact it was introduced in 1.2.

@octachrome good to know, thanks.
I will close this issue since gl_PointCoord is not used anymore.


Make margins on mobile more similar to original HN

The larger margins in iphone result in fewer stories on the feont page.

https://user-images.githubusercontent.com/508886/193922205-ed0f6c41-98c8-4636-9acf-6268db68c42a.MOV

Is it enough now?

The only place where I see excessive margin is next to the upvote link, which we will remove with issues #73


Minor fixes

Hello @leo8a, thanks for the PR with some good ideas for improvements! Could you open a similar PR upstream instead:
https://github.com/openshift-psap/special-resource-operator

/hold

Hi @dagrayvid, sure np, thanks.

https://github.com/openshift-psap/special-resource-operator/pull/80

/close in favor of #80


Change the april fools around a bit.

This is to reduce drama...
What it does it does the fake explosion, and also have a silly message on the fact that it's a fake explosion, and then logs the user out.

Please submit this as two PRs, one for making gradle (black) magic work again, and one for the "april fools" stuff.

See #302...


Support querying unmanaged, existing Presto table metadata.

Currently, spec.columns are a required value in the PrestoTable CRD which is not always ideal. In the case of unmanaged tables, you would still need to specify a spec.columns configuration despite that table schema already existing in Presto. This would update the way that the reporting-operator handles unmanaged tables, namely natively querying the Presto go-client for the spec.tableName table_name, which eliminates the need to specify a column definition.

/hold

/hold

/retest

/retest

/lgtm

/hold cancel

/lgtm


Dropdown: setState in onChange leads to mismatch of 'active' and 'selected' option

Steps
I want to setState() by onChange of the Dropdown
Expected Result
The state should be set and the dropdown should change its value.
The selected option should be active and selected
Actual Result
The state is set as expected
The selected option is set to active, the previously selected option is kept as selected.
=> Selected and active do not match the same option anymore
Version
0.75.1
Testcase
https://codesandbox.io/s/lrvqlpy7oz

You should use the Dropdown as controlled component, codesandbox.

Thanks, but it seems like that does not help! Could you check my sandbox one more time, maybe I am doing something wrong?
https://codesandbox.io/s/nn2wn70r5j

Thanks, now I understand your problem, my poor display doesn't show issue to me :sob: Looks like problem with indexes, should be checked. Help is much appreciated.

It looks like the issue is still present in some cases.
E.g.  passing an element to the content of an option within name, text or content like so:
let options = [       {         text: "1",         value: "1",         content: a       }, ...     ];
will lead to mismatch again.
ShowCase: https://codesandbox.io/s/pp0w7wrn7q

Here's another one which is bugged: https://codesandbox.io/s/xr4xz2x9n4
Select 3 in the second dropdown, then 1 in the first dropdown and then open the second dropdown again. You will see the mismatch.

should I open a new issue for this?

Yes, please open a new issue and fully fill the issue template.

Do we have a fix for this issue?


coq83: version prior OCaml & Camlp5 for build compatibility

Closes #674

Not 100% sure this will work. If it does though, will have to either conflict with OCaml and co in the main repo, or be keg_only.

@BrewTestBot test this please


[animation] The snake eat my code

Hey @denstiny, can u specify your issue?
Which snake ate your code?

This is a new animation request, I want to get an animation of a snake eating code

I have added it to the list, but will take time because I'm a little busy these days 😅

Hi, so I have decided not to add any other styles to the plugin since my time is limited for plugin development. But I'm open for PR's 😅


Doorbell battery sensor not showing correct value on T8210

Please check Services, Known Bug / Issues and Troubleshooting over here first: https://github.com/fuatakgun/eufy_security/blob/master/README.md
Describe the bug
Battery level sensor is showing 0, even though there are plenty of battery left. Battery powered doorbell model T8210. Seems to sometimes show the correct battery level but most of the time it is just zero.

To Reproduce
Setup is done via instructions, nothing special in that really.
Expected behavior
Correct battery percentage shown in the battery level sensor.
**Hardware Information about Home Assistant
HAOS 7.2, HA CORE 1/2022, Raspberry PI4 4gb
**Hardware Information about Cameras

Camera Model T8210
Live Streaming Protocol: P2P

Quick comment: battery shows OK in the Eufy app.

@TuomasPakkanen
The logfiles for this problem was headed over to Bropat as he maintains eufy-security-ws.
You could follow the latest progress over here: https://github.com/bropat/eufy-security-ws/issues/57


bug: different in events when replaying Kakarot Sepolia transactions on Madara

We were replaying all txs that were executed on Kakarot Sepolia on Madara to check if it works as expected. For each transaction executed we

Match all events in the tx receipt
Ignore the fee transfer event only (as the sequencer address and amount differs between Madara and Kakarot)

On transaction 0x41ed84a54d0f464bdf91282f2cdffc929ddcd082ae82822484a916b19d088e1 (SN hash), we found a bug that the events were not matching. The exact difference can be found here - https://www.diffchecker.com/8rDHGtNM/. If we ignore the fee transfer event, the mismatch is with a specific element in event data being 0x8 on Madara but 0x6 on Kakarot.
We aren't very sure on how to debug this at the moment and need some help in understanding the exact contract call and event data which was fired in this txn to reason why there might have been a difference.

closing this as currently not able to debug it


Made changes in Discovering-Subdomains

Description
Made changes in Discovering-Subdomains to run files using python3
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
Fixes #(93)
Fixes #93
Replace issue_no with the issue number which is fixed in this PR
Have you read the Contributing Guidelines on Pull Requests?

[x] Yes
[ ] No

Type of change
Please delete options that are not relevant.

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

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I've edited the README.md and link to my code.
[x] I have created a helpful and easy to understand README.md
[x] My documentation follows Template for README.md
[x] My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

Hi @c0sm0void, can you review this PR. Thank you!

Hi @avinashkranjan, I was given level 2 before but now the tag is showing level 1 can you please look into this.

It didn't seem like a Level2 contribution..So, I changed it to Level1

@avinashkranjan, Oh ic thank you for informing, I thought there was some issue😄


[FR]: Option to disable auto-folder creation.

Is your feature request related to a problem? Please elaborate.
Kinda not really but sort of.
The "problem" is qbit_manage creates categories if you save your torrents to folders not defined in the config.
For instance, in this example, my default save-to folder is /downloads/Unsorted
Now if for whatever reason I manually set a download to /downloads/Unsorted/some_kinda_os after a little while, qbit_manage will have the following error and then create the categories with the same name as the folder.
Existing category "some_kinda_os" not found for save path /downloads/Complete/Unsorted/some_kinda_os, category will be created.
This is an issue because it creates clutter in your categories and I've heard it even messes with cross-seeding although I don't know much about that.

Describe the solution you'd like
Just a simple option in the config like "folder_create = false" or something.
Does your solution involve any of the following?

[X] New config option
[ ] New command option

Describe alternatives you've considered
I know we can set folders to categories in the config, but everytime I manually set a download folder it's on the fly to group several torrents together in my folder structure, so manually setting them in the config each time isn't really viable.
Who will this benefit?
Everyone who doesn't like auto-categories. People like me who want clean and organized setups.
Additional Information
Thank you for listening!

The "problem" is qbit_manage creates categories if you save your torrents to folders not defined in the config.

All categories must be defined in the configuration and is a requirement.
https://github.com/StuffAnThings/qbit_manage/wiki/Config-Setup#cat

The "problem" is qbit_manage creates categories if you save your torrents to folders not defined in the config.

All categories must be defined in the configuration and is a requirement. Wiki: Config Setup (cat)

I realize that. I was just requesting an option to do away with that requirement.
Like... I can't be the only one who sets impromptu download folders once in a while.


eslint

Hello and thank you for your template.
How can I setup eslint for this project? I have a eslintrc.json file but it does not seem to lint my files properly

Hello! Setting up ESLint should be easy.
First of all, you can check one of my projects as an example, it's built using this template and already has eslint enabled and working, but I'll try to go step-by-step and explain:
It would be good if you used eslint extension, it's free and can be downloaded in Visual Studio Code or whatever editor you're using.

Download ESLint dependency and needed plugins, for this case we can go: npm i -D eslint eslint-plugin-react eslint-plugin-react-hooks but you can add any plugin you want. In my project I also used @typescript-eslint/eslint-plugin and @typescript-eslint/parser
Create .eslintrc.json files both in the root and in the src/renderer directories.
Example configuration for the .eslintrc.json at the root directory.
Example configuration for the .eslintrc.json at the src/renderer directory.

I guess that's all that needed to get your ESLint to work. Sorry for possible mistakes, was typing from my phone 😅

Thanks, I will definetly check your project. What's the difference between the two eslint config? Or why two are needed. The Root eslint still apply on the renderer folder or not?

Thanks, I will definetly check your project. What's the difference between the two eslint config? Or why two are needed. The Root eslint still apply on the renderer folder or not?

Two configs are needed to separate renderer from the project. Root eslintrc has configuration that is used globally, verdions, parsers, rules, also it's where typescript plugin connected because you use typescript all over the project.
Eslintrc in the renderer directory has settings and plugins for React, because renderer is the only place where you use it.
Yes, eslintrc at the root still applies to the renderer, so I guess you all of your configurations in the single config at the root, but I personally would not recommend that.


[backport | stable-1.11] sandbox: Disconnect from agent after VM shutdown

When a one-shot pod dies in CRI-O, the shimv2 process isn't killed until the pod is actually deleted, even though the VM is shut down. In this case, the shim appears to busyloop when attempting to talk to the (now dead) agent via VSOCK. To address this, we disconnect from the agent after the VM is shut down.
This is especially catastrophic for one-shot pods that may persist for hours or days, but it also applies to any shimv2 pod where Kata is configured to use VSOCK for communication.
Backport of https://github.com/kata-containers/kata-containers/pull/556 to kata-containers/runtime 1.11 branch.
Fixes #2719
Signed-off-by: Evan Foster<EMAIL_ADDRESS>(cherry picked from commit 227cba6b10a8dcbda6a0e2f82710a7c0711dd8f9)

/test-ubuntu


X509_VERIFY_PARAM_set_flags.pod: fix typos

This pull request is ready to merge

Merged to both branches, thanks for the fix.


[Draft] Add tools functionality to vLLM

What this PR does / why we need it: Currently the tools from a user request does not propagate to the vLLM backend. This PR fixes that by adding the necessary fields to apply_chat_template and SamplingParams.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Type of changes
Please delete options that are not relevant.

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

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[x] Pytest test suite

[ ] Currently figuring out how to spin up an instance and actually verify that the fix works

Logs

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works? WIP, need to verify this is in fact the fix
[x] Has code been commented, particularly in hard-to-understand areas?
[x] Have you made corresponding changes to the documentation?

Release note:

Re-running failed tests

/rerun-all - rerun all failed workflows.
/rerun-workflow <workflow name> - rerun a specific failed workflow. Only one workflow name can be specified. Multiple /rerun-workflow commands are allowed per comment.

Identical to https://github.com/kserve/kserve/pull/4029 but with sign offs