Camel-k does not terminate previous pods after updating of integration

I run camel integration using kamel cli, it runs successfully.

I do not understand why you are explicitly using --trait knative-service.enabled=true on that integration?

That's because we rely on other knative service parameters:
        --trait knative-service.min-scale=1 \
        --trait knative-service.max-scale=3 \
        --trait knative-service.enabled=true \
        --trait knative-service.autoscaling-class=hpa.autoscaling.knative.dev \
        --trait knative-service.autoscaling-metric=cpu \
        --trait knative-service.autoscaling-target=70 \

I just wonder because the integration uses from: uri: timer://tick and this is an active consumer in Camel
I think the Knative service takes over control of the Deployment and its Pods when enabled. So Knative serving will create a new revision of that service when something is changed on the Integration. Could you please check the logs of the Knative serving controller in order to find out why the older revision pod is kept running? Also could you please have a look on the Knative service resource that should be created as part of the Integration and maybe review its state and condition.

I put timer here for example, I tried to use rest:post:/ as well.
Here I found errors on knative serving controller related to my integration:
{
  "severity": "WARNING",
  "timestamp": "2023-05-08T07:52:37.848252947Z",
  "logger": "controller",
  "caller": "route/reconcile_resources.go:230",
  "message": "Failed to update k8s service",
  "commit": "4126928",
  "knative.dev/pod": "controller-59d79ddc96-9959f",
  "knative.dev/controller": "knative.dev.serving.pkg.reconciler.route.Reconciler",
  "knative.dev/kind": "serving.knative.dev.Route",
  "knative.dev/traceid": "827e4975-baf0-4779-aeb6-b11447d5e715",
  "knative.dev/key": "myns/myintegration",
  "error": "failed to fetch loadbalancer domain/IP from ingress status"
}

{
  "severity": "ERROR",
  "timestamp": "2023-05-08T07:55:25.013525929Z",
  "logger": "net-istio-controller.istio-ingress-controller",
  "caller": "status/status.go:403",
  "message": "Probing of http://myintegration.myns.sl.lab.myns.tech:80 failed, IP: <IP_ADDRESS>:8080, ready: false, error: unexpected hash: want \"0db52465cf4c5add5ddb60953a8b815516c04b65a6175b9290ef38e33d5c3b0c\", got \"5cf4a47eeebb85a867374afd842334c671dc37460984c778f92920101ae44e63\" (depth: 0)",
  "commit": "c096fb6",
  "knative.dev/controller": "knative.dev.net-istio.pkg.reconciler.ingress.Reconciler",
  "knative.dev/kind": "networking.internal.knative.dev.Ingress",
  "knative.dev/traceid": "7586bb75-5654-4177-ae29-e1bd7e261f52",
  "knative.dev/key": "myns/myintegration",
  "stacktrace": "knative.dev/networking/pkg/status.(*Prober).processWorkItem\n\tknative.dev/networking@v0.0.0-20220302134042-e8b2eb995165/pkg/status/status.go:403\nknative.dev/networking/pkg/status.(*Prober).Start.func1\n\tknative.dev/networking@v0.0.0-20220302134042-e8b2eb995165/pkg/status/status.go:288"
}

Sorry, I have not seen these kind of errors before related to Camel K and Knative. Could you please try to run a simple example (e.g. timer-to-log) on your environment so we make sure that this is not a general problem?
Maybe also try to run the same integration.yaml of yours without the knative-service traits
  --trait knative-service.min-scale=1 \
  --trait knative-service.max-scale=3 \
  --trait knative-service.enabled=true \
  --trait knative-service.autoscaling-class=hpa.autoscaling.knative.dev \
  --trait knative-service.autoscaling-metric=cpu \
  --trait knative-service.autoscaling-target=70 \

This way we can see if this is something general or related to the trait configuration.

 But I do not see any annotations related to scaling (not expected, how scaling is done in this case?), and pod does not have revision number (expected)

When I add --trait knative-service.enabled=true
kamel run \
  --trait knative-service.enabled=true \
  --trait health.enabled=true \
  --trait knative-service.min-scale=1 \
  --trait knative-service.max-scale=3 \
  --trait knative-service.autoscaling-class=hpa.autoscaling.knative.dev \
  --trait knative-service.autoscaling-metric=cpu \
  --trait knative-service.autoscaling-target=70 \
  --config file:lab.properties \
  integration.yaml \
  --name my-test \
  --namespace myns

I see all scaling related annotations

but it does not get updated, instead new knative revisions are running 00001, 00002, 00003..

And I see errors on knative serving controller: Operation cannot be fulfilled on deployments.apps \"my-test-00001-deployment\": the object has been modified; please apply your changes to the latest version and try again
{
    "severity": "ERROR",
    "timestamp": "2023-05-10T07:41:37.250943327Z",
    "logger": "controller",
    "caller": "revision/reconciler.go:302",
    "message": "Returned an error",
    "commit": "4126928",
    "knative.dev/pod": "controller-59d79ddc96-9959f",
    "knative.dev/controller": "knative.dev.serving.pkg.reconciler.revision.Reconciler",
    "knative.dev/kind": "serving.knative.dev.Revision",
    "knative.dev/traceid": "74531e26-4ee8-4160-bc9c-801ef5f6119f",
    "knative.dev/key": "myns/my-test-00001",
    "targetMethod": "ReconcileKind",
    "error": "failed to update deployment \"my-test-00001-deployment\": Operation cannot be fulfilled on deployments.apps \"my-test-00001-deployment\": the object has been modified; please apply your changes to the latest version and try again",
    "stacktrace": "knative.dev/serving/pkg/client/injection/reconciler/serving/v1/revision.(*reconcilerImpl).Reconcile\n\tknative.dev/serving/pkg/client/injection/reconciler/serving/v1/revision/reconciler.go:302\nknative.dev/pkg/controller.(*Impl).processNextWorkItem\n\tknative.dev/pkg@v0.0.0-20220301181942-2fdd5f232e77/controller/controller.go:535\nknative.dev/pkg/controller.(*Impl).RunContext.func3\n\tknative.dev/pkg@v0.0.0-20220301181942-2fdd5f232e77/controller/controller.go:484"
}
{
    "severity": "ERROR",
    "timestamp": "2023-05-10T07:41:37.2510664Z",
    "logger": "controller",
    "caller": "controller/controller.go:559",
    "message": "Reconcile error",
    "commit": "4126928",
    "knative.dev/pod": "controller-59d79ddc96-9959f",
    "knative.dev/controller": "knative.dev.serving.pkg.reconciler.revision.Reconciler",
    "knative.dev/kind": "serving.knative.dev.Revision",
    "knative.dev/traceid": "74531e26-4ee8-4160-bc9c-801ef5f6119f",
    "knative.dev/key": "myns/my-test-00001",
    "duration": "118.680141ms",
    "error": "failed to update deployment \"my-test-00001-deployment\": Operation cannot be fulfilled on deployments.apps \"my-test-00001-deployment\": the object has been modified; please apply your changes to the latest version and try again",
    "stacktrace": "knative.dev/pkg/controller.(*Impl).handleErr\n\tknative.dev/pkg@v0.0.0-20220301181942-2fdd5f232e77/controller/controller.go:559\nknative.dev/pkg/controller.(*Impl).processNextWorkItem\n\tknative.dev/pkg@v0.0.0-20220301181942-2fdd5f232e77/controller/controller.go:536\nknative.dev/pkg/controller.(*Impl).RunContext.func3\n\tknative.dev/pkg@v0.0.0-20220301181942-2fdd5f232e77/controller/controller.go:484"
}

{
    "severity": "ERROR",
    "timestamp": "2023-05-10T07:44:07.038910041Z",
    "logger": "controller",
    "caller": "service/service.go:185",
    "message": "Route my-test is not yet what we want:   []v1.TrafficTarget{\n  \t{\n  \t\tTag:               \"\",\n- \t\tRevisionName:      \"my-test-00001\",\n+ \t\tRevisionName:      \"my-test-00003\",\n  \t\tConfigurationName: \"\",\n  \t\t... // 2 ignored and 1 identical fields\n  \t},\n  }\n",
    "commit": "4126928",
    "knative.dev/pod": "controller-59d79ddc96-9959f",
    "knative.dev/controller": "knative.dev.serving.pkg.reconciler.service.Reconciler",
    "knative.dev/kind": "serving.knative.dev.Service",
    "knative.dev/traceid": "9c9a182c-49af-4a2c-ae3d-8479dd78bd07",
    "knative.dev/key": "myns/my-test",
    "stacktrace": "knative.dev/serving/pkg/reconciler/service.(*Reconciler).checkRoutesNotReady\n\tknative.dev/serving/pkg/reconciler/service/service.go:185\nknative.dev/serving/pkg/reconciler/service.(*Reconciler).ReconcileKind\n\tknative.dev/serving/pkg/reconciler/service/service.go:113\nknative.dev/serving/pkg/client/injection/reconciler/serving/v1/service.(*reconcilerImpl).Reconcile\n\tknative.dev/serving/pkg/client/injection/reconciler/serving/v1/service/reconciler.go:239\nknative.dev/pkg/controller.(*Impl).processNextWorkItem\n\tknative.dev/pkg@v0.0.0-20220301181942-2fdd5f232e77/controller/controller.go:535\nknative.dev/pkg/controller.(*Impl).RunContext.func3\n\tknative.dev/pkg@v0.0.0-20220301181942-2fdd5f232e77/controller/controller.go:484"
}

I need to dive into this myself but my current take on this is that the integration with from: timer://tick is not eligible to using Knative serving capabilities with --trait knative-service.enabled=true. Usually the Camel K operator decides automatically which integrations are eligible for Knative serving and automatically applies the Knative service capabilities when it is possible.
As you are forcing this with --trait knative-service.enabled=true this may lead to the unexpected behavior. I think it may be because the usual timer://tick integration does not expose a service but usually operates with a normal deployment.

I agree, but what about scaling? There are few ways to scale integration: manual scaling and autoscaling with knative.
We open camel-integrations management via API to our customers and we do not want to give them all the internal features. Sinse we do not know what integrations they deploy we tried to come up to a generic autoscaling solution, knative autoscaling seemed like suitable.

@astelmashenko With the changes in #4368 you can continue using the Knative annotations for auto-scaling on any integration but the Camel K operator will only apply the Knative service and its auto-scaling to those integrations where it actually makes sense (e.g. from: timer://tick will always be using an arbitrary deployment without auto-scaling). Does it solve your issue?

Yes, it does. I just wonder, what is the difference if we just use --trait knative-service.auto=true instead, is not it the same behavior?

thanks for your response

I just wonder, what is the difference if we just use --trait knative-service.auto=true instead, is not it the same behavior?

Not exactly the same. Before the changes in #4368 this annotation forcibly enabled the Knative service and now the operator additionally also checks if it makes sense to apply the Knative service and maybe uses the fallback of a normal deployment.

Thank you for resolving this issue. Then I close the ticket. Which version this fix is planned for?

Thank you for resolving this issue. Then I close the ticket. Which version this fix is planned for?

We should provide it in next 1.12.1 patch release (later this month or beginning of next one) and 2.0.0.


Common converters

Implemented converters for date and itemList enum types. These can be accessed as a namespace under dataContracts as:
services.dataContracts.converters.dateConverter; and
new services.dataContracts.converters.EnumConverter(itemList);
Requires https://github.com/RenovoSolutions/TypeScript-Angular-Utilities/pull/79

Very nice


Add Tree Traversal Techniques in Java (Preorder , Inorder , Postorder)

to add postorder  ,  inorder ,  preorder traversal techniques in JAVA

hello @AdarshInDev I would like to work on this issue can you please assign it to me? Thanks.

@AdarshInDev issue is assigned to you !


Number of items displayed Let's set at 20 per page with 'next' and 'previous' buttons

Done. 20 per page


Uri.file(x).fsPath lowercases drive letter

This code:
console.log(Uri.file("M:\\Test").fsPath);

outputs:
m:\Test

There have been a lot of cases over the last few months about casing of Windows driver letters breaking things and the conclusion was generally that things should be normalised to uppercase. I don't know if that's valid here, but it should at least preserve the casing of the drive letter from the input.

/cc @roblourens @weinand

Yeah, we made that (arguable arbitrary) choice and it's too late to change it now. If I remember correctly we did that because of Omnisharp and how drive letter are normalised there.

@jrieken What about some opt-in way of not messing with it? Since drive letters are being normalised to uppercase elsewhere, this puts quite a burden on extension devs - if our path gets converted to a Uri at any point and then we read the fsPath back, we've got a path that's not the same (I know ideally all path-comparisons should be case-sensitivity aware, but that's another can of worms).
I'd happily call an overloaded Uri.file() to preserve this.
Alternatively, given the other changes to normalise to uppercase, maybe Omnisharp devs may have a different opinion about this now? It seems weird to normalise in two different directions within Code's code.
(again, I'm not saying you need to normalise to uppercase, just preserving the input you were given would be fine IMO.. let the user deal with all of the normalisation and just keep what you get)

To be fair, I now see this behaviour is quite explicitly called out in the docs on the fsPath property! ;(


This script file seems to have some issues running on version 1.6

I am using your script: translate event files.
Because my English is not very good, I referred to translation software to have a conversation with you. I am trying to make my question appear clear and accurate.
Perhaps my usage method is incorrect. When I change the configuration to open different JSON, the script always prompts me
[Can't part this file as an event dictionary. The file must contain either a flat JSON object (i.e. Load format), or an object with only an Entries property containing a flat JSON object (i.e. EditData with FromFile format)]
I checked the specific error data and it seems to always appear in the first symbol of the format, which is: []
Here are some screenshots provided to you, and I would like to know if there is a solution. This is just an example, in fact, in different JSON files, there is always an error on this symbol in the first one.

Thank you for your efforts. When I played games, it was your work that made the valley better！

Hi! The file needs to be one of the formats listed in the readme. The quickest solution might be to copy your Entries block into the "raw event file" format, run the tool, then copy the modified text back into your content.json.
If you still need help, feel free to come ask in #making-mods-general on the Stardew Valley Discord and I'll help there.


Add liblz4-tool package install to the dockerfile

Install liblz4-tool for lz4 and lz4c required to package cyanogenmod images.

Thanks!

I have to add thought that my builds run fine without these packages. What device are you building for?

Moto X 2014 Pure Edition XT1095, victara

Thanks. Weird that I didn't need it. However, the patch was already merged so nothing more that needs to be done here.


QTStylish

Describe the bug
I try to run with pandasgui and keep getting
ModuleNotFoundError: No module named 'qtstylish'
Environment
OS: Windows 10
Python: 3.9.5)
IDE: Visual Studio Code
Package versions
TO GET ALL RELEVANT PACKAGE VERSIONS, RUN THIS COMMAND IN BASH AND PASTE THE OUTPUT
pip freeze | grep -i "pyqt|pandasgui|plotly|ipython|jupyter|notebook"
ipython==7.25.0
ipython-genutils==0.2.0
jupyter-client==6.1.12
jupyter-core==4.7.1
pandasgui==0.2.12
plotly==5.1.0
PyQt5==5.15.4
PyQt5-Qt5==5.15.2
PyQt5-sip==12.9.0
PyQtWebEngine==5.15.4
PyQtWebEngine-Qt5==5.15.2

I fixed the issue by installing the module separately with
pip install qtstylish


Search control buttons truncated on High Sierra

Replace All/Replace/Replace & Find/Previous/Next buttons are truncated when running on 10.13
Resizing the window does not correct the layout

If anyone wants to investigate this bug, feel free. It may be a while before I can look into it since I'm still on 10.12 and attempting to upgrade to 10.13 results in an error on my computer.


Tooltip on Address field

Hi, This plugin works fantastic on all of my site.
I noticed that in Address field, the tooltip icon not coming with field label, rather its going beside sub-field's label.
Plz check if it is on my side only...

I'm not seeing that happen on my end.

Can you try after the placement of sub-label? My sub fields label is set to above the field. Which means Street address, address line 2 etc. Shown before sub field.

so it's showing on each sublabel on the address?

Sorry for translation..... the tooltip is showing on first sub-label.

ok, I see now. let me take a look. this may be an edge case

which layout type do you have set on this field?

Address type is = international
Description placement = Below inputs
Sub-Label placement = Above inputs
On 24 Apr 2016 8:10 p.m., "Norcross"<EMAIL_ADDRESS>wrote:

which layout type do you have set on this field?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/norcross/gravity-tooltips/issues/26#issuecomment-213964176

Wanna make sure we're referring to the same thing. Please confirm the settings as indicated here:

Yup it's as shown in image. I just clicked on information not question mark.
On 24 Apr 2016 8:38 p.m., "Norcross"<EMAIL_ADDRESS>wrote:

Wanna make sure we're referring to the same thing. Please confirm the
settings as indicated here:
[image: tooltip-layout-2]
https://cloud.githubusercontent.com/assets/98561/14768179/8fffc9ac-0a08-11e6-9d0d-98b93d6d1cc8.png
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/norcross/gravity-tooltips/issues/26#issuecomment-213970508

ok. I've tested numerous configurations and they're all outputting the icon as expected. I don't know what is different about yours. is there a live URL I can see?


source_id registration of GCOAST-AHOI1-1

label
GCOAST-AHOI1-1
label_extended
Regional coupled atmosphere-hydrological discharge-ocean-sea ice model based on COSMO-CLM v6.0, HD v5.2 and NEMO v3.6 for the North and Baltic Sea
source_id
GCOAST-AHOI1-1
source_type
AORCM
release_year
2024
activity_participation
DD
institution_id
CLMcom-Hereon
further_info_url
https://doi.org/10.3390/atmos11030227
What license do you choose?
CC BY 4.0

Thank you for the input, Ha. Shall we capitalize COSMO-CLM in the extended label? There's no standalone COSMO model version registered yet, but I think this model is typically referred to in uppercase (e.g. #191).
Also, we should add some further_info_url to have some details of this model. If there's no URL of this very specific configuration, we could use in the meantime the same as in #198. What do you think? In such a case, you can freely use this thread to explain the differences with the other versions (#198, #199), or add links to the components.

Dear Jesus,
Yes, I have overseen that I used cosmo-clm instead of COSMO-CLM. I don't know how to edit the information. Can you please help to correct it? Thank you!
Also, the further_info_url for this one and the GCOAST-AHOIB1-1 can be "doi:10.3390/atmos11030227". The paper was published in 2020 actually for an older version of CCLM (e.g. CCLM5.0). When I publish the new article for this coupled model with CCLM6.0, I can replace the URL. What do you think?

Thank you. Looks good in this way. We can go with the old paper for now, no problem in updating the URL later on.
I see you mentioned spectral nudging in the paper above, but I think you don't finally use. Could you confirm that no nudging was applied? Otherwise, you should add a "-SN" ending to your source_id

Thanks Jesus! No, I don't (and will not) apply the spectral nudging in the coupled model. Only one reference simulation with the atmosphere-only CCLM used it.

/register


DBforPostgreSQL DataEncryption type inconsistency

DataEncryption type has 2 values in the specs at the moment - SystemAssigned and AzureKeyVault.
When I use SystemAssigned, I get an error in return that it is an invalid value. The value I get from Azure Cloud by default is SystemManaged.

@jbrezina Apologies for the late reply. Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.


maybe should addaxios?

Perhaps we should increase the dependency related to requests?

Sorry, after reviewing the documents, I found that currently nuxt3 does not support the use of Axios.


Q1 updates

includes all changes from the #47 PR
includes @vinarahimian original commits from PR #40 for proper attribution (these files were re-worked in a subsequent commit)
some small tweaks to ML section

Hi Radu,
Thanks for taking care of this. I clicked on the "download files for this
workflow" and it redirects me to the website's homepage instead of
downloading the files. Would you please take a look?
Thanks,
Vina
On Wed, Apr 8, 2020 at 1:46 PM Radu Gidei<EMAIL_ADDRESS>wrote:

Merged #48 https://github.com/DynamoDS/RefineryPrimer/pull/48 into
master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DynamoDS/RefineryPrimer/pull/48#event-3215790515, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRZGM6MH2RXQM4OZMBU7GTRLTPDHANCNFSM4MEHDKNQ
.

--
Mina (Vina) Rahimian
PhD Candidate, Computational Sustainability
The Pennsylvania State University
Email<EMAIL_ADDRESS>Mobile:<PHONE_NUMBER>
URL: www.vinarahimian.com
LinkedIn: https://www.linkedin.com/in/minarahimian/
GitHub: https://github.com/vinarahimian

Can we also change the still image to a better crop or gif? I believe I
have included all.
On Wed, Apr 8, 2020 at 1:46 PM Radu Gidei<EMAIL_ADDRESS>wrote:

Merged #48 https://github.com/DynamoDS/RefineryPrimer/pull/48 into
master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DynamoDS/RefineryPrimer/pull/48#event-3215790515, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRZGM6MH2RXQM4OZMBU7GTRLTPDHANCNFSM4MEHDKNQ
.

--
Mina (Vina) Rahimian
PhD Candidate, Computational Sustainability
The Pennsylvania State University
Email<EMAIL_ADDRESS>Mobile:<PHONE_NUMBER>
URL: www.vinarahimian.com
LinkedIn: https://www.linkedin.com/in/minarahimian/
GitHub: https://github.com/vinarahimian

I'm attaching a gif and two image here
On Wed, Apr 8, 2020 at 1:46 PM Radu Gidei<EMAIL_ADDRESS>wrote:

Merged #48 https://github.com/DynamoDS/RefineryPrimer/pull/48 into
master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DynamoDS/RefineryPrimer/pull/48#event-3215790515, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRZGM6MH2RXQM4OZMBU7GTRLTPDHANCNFSM4MEHDKNQ
.

--
Mina (Vina) Rahimian
PhD Candidate, Computational Sustainability
The Pennsylvania State University
Email<EMAIL_ADDRESS>Mobile:<PHONE_NUMBER>
URL: www.vinarahimian.com
LinkedIn: https://www.linkedin.com/in/minarahimian/
GitHub: https://github.com/vinarahimian

Hi Radu, Thanks for taking care of this. I clicked on the "download files for this workflow" and it redirects me to the website's homepage instead of downloading the files. Would you please take a look? Thanks, Vina

Hi Vina, the release files were being uploaded, links should be fixed in a few hours.

I'm attaching a gif and two image here

Attachments don't seem to come through when replying by email, would you be able to please upload again on Github ?

@martinstacey once we have the images/gif, can we please update in another PR ?

Does this work @radumg?

Hi @vinarahimian thanks again for your PR! I already made a new PR with the appropriate links to the files, @radumg should update it soon. Do you think you can send me an image with this format? size: width 720px, height 300px, we are trying to keep it standardized so that the list of examples look organized. Thank you, Martin.

Hi @martinstacey
Sorry for some reason I missed your message. I'm attaching an image in the format you mentioned. I had to put the image behind a white background because it was the only way I could get it formatted without being distorted. Does this work?


Mesh collider fails to see a collision

Forum post: https://forum.playcanvas.com/t/adding-mesh-collider-though-script/16677/14
Repro project: https://playcanvas.com/project/755286/overview/collider-test
For some reason, when using an entity set from Editor as a collider (mesh collision), it works fine. However, adding the collider through script fails.
How to repro:

The scene has "Lever" entity with 2 scripts fromEditor and fromScript, where one is using collider from script, the other from editor.
Enable fromEditor script to use a collider set in the Editor (works).
Disable fromEditor and enable fromScript - collision fails.

On a side note, I am using yaustar's booklet for drawing physical shapes at run-time. The booklet doesn't work, e.g. trying to change opacity of the physical shape will crash, stating that it cannot find meshInstances of undefined. Perhaps related? If not, let me know and I will create a new issue.

There's an error in the documentation (or code depending on the POV 😅 ) asset needs an id, not pc.Asset
Fixed fork: https://playcanvas.com/project/768847/overview/collider-test-fork
https://user-images.githubusercontent.com/16639049/109224580-0e242300-77b4-11eb-8457-85365e1809f1.mp4
See PR: https://github.com/playcanvas/engine/pull/2915

Side note: The debug physics visualiser doesn't support mesh collision 😅 It's due an update the next time I need to use it :)

@LeXXik Turns out you forgot to add the trigger script to the from script script file 😅
        entity.addComponent('script');
        entity.script.create('trigger');

Fixed version here: https://playcanvas.com/editor/scene/1099325


Added JAMstack article

Hello!
Snipcart has been a huge advocate for the JAMstack for a couple of years now. I added our JAMstack for beginners article to your awesome list and I hope it's a good fit :)
At any rate, thanks for spreading the word and keep up the great work!

thanks


[MNT] Conda Forge 0.13.0 Release

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Things I have done in this PR:
Set build version to 0.13.0
Set SHA to SHA256 found on sktime's release page
Add the following soft dependencies

gluonts >=0.8.0
tensorflow
tensorflow-probability
tslearn >=0.5.2
statsforecast >=0.5.2
mne
pyod >=0.8.0

Note: conda is having trouble installing pip packages (latest gluonts, kotsu and esig). Those have been excluded from this release.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

It seems that gluonts breaks the deps resolution, is there a conda package available for it?

@TNTran92 I just merged #52 which should help with some of the issues here. Could you rebase this on main and rerender?

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I was trying to look for recipes to lint for you, but it appears we have a merge conflict.
Please try to merge or rebase with the base branch to resolve this conflict.
Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.


[BUG] AttributeError: 'NoneType' object has no attribute 'numel'

when i was training llama2-7b-chat with peft(lora), AttributeError occurs.
Traceback (most recent call last):
  File "train.py", line 81, in <module>
    trainer.train()
  File "usr/.local/lib/python3.8/site-packages/trl/trainer/sft_trainer.py", line 323, in train
    output = super().train(*args, **kwargs)
  File "usr/.local/lib/python3.8/site-packages/transformers/trainer.py", line 1537, in train
    return inner_training_loop(
  File "usr/.local/lib/python3.8/site-packages/transformers/trainer.py", line 1854, in _inner_training_loop
    tr_loss_step = self.training_step(model, inputs)
  File "usr/.local/lib/python3.8/site-packages/transformers/trainer.py", line 2744, in training_step
    self.accelerator.backward(loss)
  File "usr/.local/lib/python3.8/site-packages/accelerate/accelerator.py", line 1899, in backward
    self.deepspeed_engine_wrapped.backward(loss, **kwargs)
  File "usr/.local/lib/python3.8/site-packages/accelerate/utils/deepspeed.py", line 167, in backward
    self.engine.backward(loss, **kwargs)
  File "usr/.local/lib/python3.8/site-packages/deepspeed/utils/nvtx.py", line 15, in wrapped_fn
    ret_val = func(*args, **kwargs)
  File "usr/.local/lib/python3.8/site-packages/deepspeed/runtime/engine.py", line 1964, in backward
    self.optimizer.backward(loss, retain_graph=retain_graph)
  File "usr/.local/lib/python3.8/site-packages/deepspeed/utils/nvtx.py", line 15, in wrapped_fn
    ret_val = func(*args, **kwargs)
  File "usr/.local/lib/python3.8/site-packages/deepspeed/runtime/zero/stage3.py", line 2152, in backward
    self.loss_scaler.backward(loss.float(), retain_graph=retain_graph)
  File "usr/.local/lib/python3.8/site-packages/deepspeed/runtime/fp16/loss_scaler.py", line 63, in backward
    scaled_loss.backward(retain_graph=retain_graph)
  File "usr/.local/lib/python3.8/site-packages/torch/_tensor.py", line 487, in backward
    torch.autograd.backward(
  File "usr/.local/lib/python3.8/site-packages/torch/autograd/__init__.py", line 197, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
  File "usr/.local/lib/python3.8/site-packages/torch/autograd/function.py", line 267, in apply
    return user_fn(self, *args)
  File "usr/.local/lib/python3.8/site-packages/torch/utils/checkpoint.py", line 157, in backward
    torch.autograd.backward(outputs_with_grad, args_with_grad)
  File "usr/.local/lib/python3.8/site-packages/torch/autograd/__init__.py", line 197, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
  File "usr/.local/lib/python3.8/site-packages/deepspeed/utils/nvtx.py", line 15, in wrapped_fn
    ret_val = func(*args, **kwargs)
  File "usr/.local/lib/python3.8/site-packages/deepspeed/runtime/zero/stage3.py", line 1129, in reduce_partition_and_remove_grads
    self.reduce_ready_partitions_and_remove_grads(param)
  File "usr/.local/lib/python3.8/site-packages/deepspeed/runtime/zero/stage3.py", line 1422, in reduce_ready_partitions_and_remove_grads
    self.reduce_independent_p_g_buckets_and_remove_grads(param)
  File "usr/.local/lib/python3.8/site-packages/deepspeed/runtime/zero/stage3.py", line 1163, in reduce_independent_p_g_buckets_and_remove_grads
    self.__reduce_and_partition_ipg_grads()
  File "usr/.local/lib/python3.8/site-packages/deepspeed/utils/nvtx.py", line 15, in wrapped_fn
    ret_val = func(*args, **kwargs)
  File "usr/.local/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "usr/.local/lib/python3.8/site-packages/deepspeed/runtime/zero/stage3.py", line 1193, in __reduce_and_partition_ipg_grads
    if param.grad.numel() != param.ds_numel:
AttributeError: 'NoneType' object has no attribute 'numel'

I can load model and start training.
However, during execution, an error occurs at the same step and the program stops.
{'loss': 0.8804, 'learning_rate': 0.0009444444444444445, 'epoch': 0.22}
{'loss': 0.51, 'learning_rate': 0.0008888888888888888, 'epoch': 0.44}
{'loss': 0.4295, 'learning_rate': 0.0008333333333333334, 'epoch': 0.67}
{'loss': 0.3746, 'learning_rate': 0.0007777777777777778, 'epoch': 0.89}
{'loss': 0.3622, 'learning_rate': 0.0007222222222222222, 'epoch': 1.11}
{'loss': 0.3326, 'learning_rate': 0.0006666666666666666, 'epoch': 1.33}
{'loss': 0.3409, 'learning_rate': 0.0006111111111111112, 'epoch': 1.56}
{'loss': 0.3235, 'learning_rate': 0.0005555555555555556, 'epoch': 1.78}
{'loss': 0.3473, 'learning_rate': 0.0005, 'epoch': 2.0}
{'loss': 0.3, 'learning_rate': 0.0004444444444444444, 'epoch': 2.22}
{'loss': 0.3098, 'learning_rate': 0.0003888888888888889, 'epoch': 2.44}
 66%|██████████████████████████████████████████████████████████████▏                               | 119/180 [18:45<09:56,  9.77s/it]

this is zero3's config
{
    "fp16": {
        "enabled": "auto",
        "loss_scale": 0,
        "loss_scale_window": 1000,
        "initial_scale_power": 16,
        "hysteresis": 2,
        "min_loss_scale": 1
    },
    "optimizer": {
        "type": "AdamW",
        "params": {
            "eps": 1e-8
        }
    },
    "zero_optimization": {
        "stage": 3,
        "offload_optimizer": {
            "device": "cpu",
            "pin_memory": true
        },
        "offload_param": {
            "device": "cpu",
            "pin_memory": true
        },
        "overlap_comm": true,
        "contiguous_gradients": true,
        "sub_group_size": 1e9,
        "reduce_bucket_size": "auto",
        "stage3_prefetch_bucket_size": "auto",
        "stage3_param_persistence_threshold": "auto",
        "stage3_max_live_parameters": 1e9,
        "stage3_max_reuse_distance": 1e9,
        "stage3_gather_16bit_weights_on_model_save": true
    },
    "gradient_clipping": "auto",
    "steps_per_print": 2000,
    "train_batch_size": "auto",
    "train_micro_batch_size_per_gpu": "auto",
    "wall_clock_breakdown": false
}

please help me!
System info (please complete the following information):

OS: [e.g. Ubuntu 20.04]
Python 3.8
GPU V100(32GB) & QuadroRTX8000(48GB)

this is because of my training code error. I adopt NVMe 's example but this is not my expected work.

Hello, I got the same error. Can you explain to me what causes this error?
I don't use any custom trainer and in the for loop I create new trainer with new datalist (with the same model) and call trainer.train().
It works well for the first iteration, but for the second iteration, I got the same error as yours.
Can you help me??

I forgot where I modified the code, but I still remember that my training code was wrong. To repair the error, I read huggingface docs and changed train.py.
this is my train.py that was modified and works correctly.


Contact Applicant - Template Copy Saved When Sending Email

Describe the bug in current situation
When sending correspondence through the contact applicant log, the system saves the email as expected, but it also saves the copy of the template. We only need what was sent to the applicant to be saved.
Link bug to the User Story
Impact of this bug
Impact: Medium - will eventually crowd the contact applicant log, and create confusion with entries doubled.
Chance of Occurring (high/medium/low/very low)
high
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
Steps to Reproduce
Steps to reproduce the behavior:

Go to Test Marshal and have a request with an approved fee estimate
Send the fee estimate through the contact applicant log
See error

Actual/ observed behaviour/ results
Expected behaviour
GIVEN the preview correspondence modal is open
WHEN the user hits send email
THEN the sent email will be saved in the contact applicant log
AND any attachments associated with it
Screenshots/ Visual Reference/ Source

Repeated "Steps to Reproduce" several times and only the copy of what was sent to the applicant is being saved into the contact log.


noSuchMethod forwarders are recognized by the class hierarchy as concrete members when they come via a mixed-in class

Because of https://github.com/dart-lang/sdk/issues/33380 the mixed-in classes shouldn't provide their noSuchMethod forwarders to the mixin applications.  Consider the following code:
class A {
  int foo();

  noSuchMethod(im) => 42;
}

class B extends Object with A {
  noSuchMethod(im) => 87;

  foo() => super.foo();
}

main() {
  print(new B().foo());
}

It should be a compile-time error, because Object with A does not have a noSuchMethod forwarders, including that for A.foo, and B does not have a foo in any of its superclasses, including Object with A.  However, currently class hierarchy treats the forwarders as regular members, and includes them in the query results, including those that search for a dispatch target.  Because of that, the code above prints out 42.

The issue is being worked on in CL 61261.

language_2/super_no_such_method5_test also fails similarly.

@a-siva Thanks for noticing this.  The update for the tests is coming in CL 61500.


Handle redirect urls and unbounded positional arguments

This pull request addresses the following issues:
Fixes #89
Fixes #27
Changes:

Allows for redirect urls to be downloaded and parsed. The maximum number of redirects is 2.
Adds additional hidden parameter that captures all unbound parameters after the first positional argument in the update and submit command. This is used to check if any invalid parameters are included and let the user know if they might have forgotten to include a flag.

Microsoft Reviewers: Open in CodeFlow

    public const string TestMsixManifest = "WingetCreateE2E.MsixTest.yaml";

Why is this back?

Refers to: src/WingetCreateTests/WingetCreateTests/TestConstants.cs:69 in 8d84419. [](commit_id = 8d844193d817958a031e0441d194233eb6d9f57a, deletion_comment = False)

    public const string TestMsixManifest = "WingetCreateE2E.MsixTest.yaml";

Why is this back?
Refers to: src/WingetCreateTests/WingetCreateTests/TestConstants.cs:69 in 8d84419. [](commit_id = 8d84419, deletion_comment = False)

I had to reset some files, but you're probably referencing an old commit. It shouldn't be there.


Add a handler for the [enter] key

This new function will check if enter is pressed. If so, and the template being used is a code type, then it will insert the new line with an indentation level matching the previous line. This should allow code being typed to look neater with less keystrokes or in the case of indentation sensitive languages (e.g. Python), be correct with less keystrokes.

Thank you for this, and sorry for answering late. This will be extremely useful!

I've released v1.0.3 with this.

Thanks. And thanks for the project in general. It was released right at the right time for me to use it. I was really dismayed at the lack of choices for a simple code editing widget, which is all I wanted/needed, until I found your article and then the repo with all the work done in a self-contained custom element.


There is no fbobjclldb.py module which is mentioned in the README.md

In Custom Command, "Chisel has a python function just for this, loadCommandsInDirectory in the fbobjclldb.py module."
Actually, the name of the module is fbchisellldb.py  or fblldb.py.

@Liiiszt this is mistake in official documentation.
This should work:
# => make sure to import fbchisellldb.py from libexec at the very top
...
script fbchisellldb.loadCommandsInDirectory('/Users/$USER/.lldb/your_commands/src/cmds/')

Paging @kastiglione to notify about the wrongfully stated documentation.


Small error in README, number of bits for p is 16

params - 32-bit hex integer containing log2(N) (16 bits), r (8 bits), and p (8 bits)

should be:
params - 40-bit hex integer containing log2(N) (16 bits), r (8 bits), and p (16 bits)

Where do you see that it should be 40-bit, @wyssli? https://github.com/wg/scrypt/blob/master/src/main/java/com/lambdaworks/crypto/SCryptUtil.java#L49 seems to hint pretty clearly at p being 8 bits long since r is left-shifted 8 bits.

What
On Fri, Oct 5, 2018, 7:53 AM Jonas Berg<EMAIL_ADDRESS>wrote:

Where do you see that it should be 40-bit, @wyssli
https://github.com/wyssli?
https://github.com/wg/scrypt/blob/master/src/main/java/com/lambdaworks/crypto/SCryptUtil.java#L49
seems to hint pretty clearly at p being 8 bits long since r is left-shifted
8 bits.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wg/scrypt/issues/18#issuecomment-427356104, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AjaxmpLH8TO2hyjE8o4ZNE2ELRwiRY_5ks5uh1ZagaJpZM4BkpBl
.

ในวันที่ ส. 6 ต.ค. 2018 01:32 Jeffrey Leonard<EMAIL_ADDRESS>เขียนว่า:

What
On Fri, Oct 5, 2018, 7:53 AM Jonas Berg<EMAIL_ADDRESS>wrote:

Where do you see that it should be 40-bit, @wyssli
https://github.com/wyssli?

https://github.com/wg/scrypt/blob/master/src/main/java/com/lambdaworks/crypto/SCryptUtil.java#L49

seems to hint pretty clearly at p being 8 bits long since r is
left-shifted
8 bits.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wg/scrypt/issues/18#issuecomment-427356104, or mute
the thread
<
https://github.com/notifications/unsubscribe-auth/AjaxmpLH8TO2hyjE8o4ZNE2ELRwiRY_5ks5uh1ZagaJpZM4BkpBl
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wg/scrypt/issues/18#issuecomment-427459550, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Abf7j0lOWFJvc7AC5bIVfGs-DCa6bJvCks5uh6XZgaJpZM4BkpBl
.


cannot import name 'pybundle' from partially initialized module 'opensfm' (most likely due to a circular import)

Facing same Issue. What are the possible workarounds? Any Ideas?

I'm facing the same problem too...

I didn't build the library, after building it (see on the installation page) the example works for me

Any updates about this


About dataset and audio part

Thank you for your great work. I have the following questions:

Will you release the dataset mentioned in the paper? Currently, the GitHub repository only seems to have the code for training with the video-llava dataset. How much improvement does your dataset have compared to video-llava?

It seems that the current code does not include the audio part. Will this be provided later? If we do not perform Audio-Language Training and Audio-Video Joint Training, will it affect the performance on Video QA benchmarks?

Looking forward to your reply. Thanks!

1.1: Currently we have no plan to release the dataset we use to train VideoLLaMA 2, however, almost all of the data we use are from the open-source community (see Table 2-4) and it is not difficult to create a comparable or even better data mixture based on what we have mentioned.
1.2: The numbers in Table 1 and Table 5 should tell the difference
2.1: Yes, you are right. We are still cleaning the code of the audio-language branch, it will be available soon.
2.2: It doesn't matter. The results of the Video QA benchmarks are from the vision-only VideoLLaMA 2.
Thanks for your interest.

Thank you for your quick response!


implement Snippet mechanism like Paradox

This implements low-tech solution for compiled documentation, inspired by Lightbend Paradox's snippet feature. It's low tech because this feature itself just grabs the referenced file as a code block and includes it, and assumes compile or other validation is done elsewhere. (In our case we are using scripted) This low tech approach is nice because it's fast.
// This includes the entire file as Scala code snippet
@@snip [build.sbt]($root$/src/sbt-test/ref/basic/build.sbt) {}

or

// This includes snippet between a line containing #example another line with #example
@@snip [build.sbt]($root$/src/sbt-test/ref/basic/build.sbt) { #example }

or

// This specifies syntax highlight
@@snip [build.sbt]($root$/src/sbt-test/ref/basic/build.sbt) { #example type=text }

There's a hard-coded treatment for $root$, which is interpreted to be the root of the build. Otherwise, the path is treated to the relative path from the markdown file.

Oh the dilemma.. not having these code blocks inline is a major pain, but enforcing that they're absolutely correct is a great benefit..
Any chance we can refine this to leave them inline?

@dwijnand Well, if we are compatible with Paradox behavior this is how it works.
If we leave anything in but not sync it, then it's confusing.
So a way it work might be:
@@snip [build.sbt]($root$/src/sbt-test/ref/basic/build.sbt) {}

<!-- SNIIPPET BEGIN. DO NOT EDIT MANUALLY -->
```
lazy val root ...
```
<!-- END SNIIPPET -->

and during the "compile"-time we just remove "@@snip" line and HTML-comment (Pamflet unfortunately doesn't support HTML-comment https://github.com/foundweekends/pamflet/issues/70).

I was hoping to have the same behaviour as tut, where you can just write:
Here is how you add numbers:
```tut
1 + 1
```

So I guess ideally we'd have:
Use the following build definition:
```sbt
val root = project in file(".")
```

I've tried that approach with sbt-pamflet https://github.com/sbt/sbt-pamflet, and it's super slow. Besides, I am not sure if that makes sense for builds.
If you are suggesting that we go the opposite direction by generating scripted out of snippet, I don't think it would always work out since we often want part of the code, not the whole thing.

I think we should merge this as is for now, also for the Paradox compatibility.
If you were considering Paradox, then we should keep the snippet syntax the same.
I want to move on and focus my energy on actually documenting things using this feature.


Chunk API improvements for usability

@seanmonstar
I'm working out a plan on how to build a fork of multipart on top of the async API once the dust settles. For the server-side API, I'm thinking of having a Multipart master struct which then becomes a stream of MultipartField, then each MultipartField is a stream of Chunk.
Of course, the main problem that multipart solves is deliminating on the multipart boundary. What I want to do is yield Chunks for each field until the boundary is hit, and then yield the data in that Chunk up to the boundary. If the byte subsequence turns out not to be the multipart boundary (such as if it was split between chunks), it needs to be yielded as well. I would prefer to do this without copying the data in the chunks and creating the new ones, if possible.
I see two potential solutions:

Add an API for creating an owned Chunk which is a subslice into an existing one.  Memslice, which is used internally for server streams (I think), supports this already so is essentially zero-cost, same with the &'static [u8] variant. The other two variants would require copying the data but they appear to be used when the user is providing bodies and so would not be a major cost here.

Implement Clone for Chunk so that I can clone chunks and yield a wrapper type which subslices them on deref. The costs are comparable, but the Arc<Vec<u8>> variant would have a trivial cost as well, making Vec<u8> the only costly one, though I don't believe it's relevant to my usage anyway.

cc #953

Closing in favor of posting on #953.


request streaming poc

Codecov Report

Merging #737 (8544e5a) into main (1918118) will decrease coverage by 0.73%.
The diff coverage is 37.63%.

@@            Coverage Diff             @@
##             main     #737      +/-   ##
==========================================
- Coverage   48.70%   47.97%   -0.74%
==========================================
  Files          68       69       +1
  Lines        2014     2097      +83
  Branches       46       52       +6
==========================================
+ Hits          981     1006      +25
- Misses       1033     1091      +58

Impacted Files
Coverage Δ

zio-http/src/main/scala/zhttp/http/Request.scala
16.00% <0.00%> (-11.28%)
:arrow_down:

...in/scala/zhttp/service/server/ContentDecoder.scala
2.56% <2.56%> (ø)

...io-http/src/main/scala/zhttp/service/Handler.scala
64.10% <63.04%> (-1.69%)
:arrow_down:

...http/service/server/ServerChannelInitializer.scala
100.00% <100.00%> (ø)

.../scala/zhttp/service/server/WebSocketUpgrade.scala
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Documentation on mapping child device MEA to an explicit ID without prefixing main device ID

Is your documentation request related to a problem? Please describe.
I've encountered a challenge with the current method of mapping child device measurements to an external ID in thin edge mapper, as illustrated in the provided example. The problem arises when the system prefixes the <main-device-id>:device to the child ID in the thin edge mapping of the payload. This convention can be restrictive and doesn't seem to allow for mapping measurements to an explicit, predefined ID without this prefixing behavior. I'm not sure if an alternative mapping strategy is possible within the current framework, which leads to my documentation request.
Describe the improvement you'd like
I'm seeking an improvement in the documentation that addresses whether it's possible to map a child device measurement to an explicit ID, bypassing the default behavior of prefixing <main-device-id>:device to the child ID in the payload mapping. If such a capability exists or can be implemented, a detailed example illustrating how to achieve this would be nice. This example should demonstrate how to map a child device measurement to an explicit child device ID directly, without automatically including the main device ID as a prefix.
Additional context
Screenshot from the documentation here

This is indeed a documentation issue.
There is a hint to solve your issue here:

the child device must be explicitly registered using a registration  message
and this message must provide an explicit "@id"
as explained in this comment

=> The documentation is not clear and will be improved.

@d-timotijevic @didier-wenzek, on the same page referenced in the ticket, there is a section about registering a child device with an explicit id, and the last sentence says that the @id value will be used in the external id.

https://thin-edge.github.io/thin-edge.io/references/mappers/c8y-mapper/#child-device-with-explicit-id

If you're using Cumulocity IoT, then you will have to be careful that child id's don't conflict, as the child device managed object MUST be owned by the agent, otherwise you won't be able to publish data to the child device managed object in Cumulocity IoT.

This is indeed a documentation issue.
There is a hint to solve your issue here:

the child device must be explicitly registered using a registration  message
and this message must provide an explicit "@id"
as explained in this comment

=> The documentation is not clear and will be improved.
A couple of questions:

Do I understand it correctly that what is specified in the @id  field is to be used as the external ID of type c8y_Serial in C8Y?
What is the difference between child01 in the topic name and @id in the payload when registering an entity?
Can @id be used in the payload of measurements sent to te/device/child01///m/ to direct it to a specific external ID?

@d-timotijevic @didier-wenzek, on the same page referenced in the ticket, there is a section about registering a child device with an explicit id, and the last sentence says that the @id value will be used in the external id.

https://thin-edge.github.io/thin-edge.io/references/mappers/c8y-mapper/#child-device-with-explicit-id

Yes, noticed that one. A little unclear which of the child01 references are to be used as a external ID, the one in the topic name or the one specified in @id field of the payload. Another thing is that the documented mapping seems to be incorrect when looking into it, the following example
tedge mqtt pub -r 'te/device/child0001//' '{
  "@type": "child-device",
  "@id": "child0001",
  "name": "child0001",
  "type": "SmartHomeHub"
}'

yields this mapping:
c8y/s/us 101,child0001,child0001,SmartHomeHub

This is indeed a documentation issue.
There is a hint to solve your issue here:

the child device must be explicitly registered using a registration  message
and this message must provide an explicit "@id"
as explained in this comment

=> The documentation is not clear and will be improved.

Thanks you for the reply, a couple of questions:

Do I understand it correctly that what is specified in the @id  field is to be used as the external ID of type c8y_Serial in C8Y?

Yes the @id field is the external identity with the type c8y_Serial in Cumulocity IoT.

What is the difference between child01 in the topic name and @id in the payload when registering an entity?

The topic name is a local address for the data to be published. Since the local MQTT broker does not have to be unique across multiple thin-edge.io instances, it allows users to decouple the topic name from the cloud identity. The registration message is used to establish the relationship between the topic name and the external id. The default naming convention is described here, and for most cases it is ok, however you can use your own topic structure by controlling the @id values in the registration messages. You can set the <device_id> in the topic name to match the @id value provided in the registration message if you would prefer, but again you must ensure that you won't have any naming conflicts between thin-edge.io instances.

Can @id be used in the payload of measurements sent to te/device/child01///m/ to direct it to a specific external ID? If not, how does thin-edge determine whether there should be a main device prefix before the child01?

No, the @id can only be specified in the registration messages, as you are also declaring to all the listeners on the MQTT broker, the meta information about your device. The mappers will then use the entity registration messages when performing the mapping.

Do I understand it correctly that what is specified in the @id  field is to be used as the external ID of type c8y_Serial in C8Y?

Yes, this is correct

What is the difference between child01 in the topic name and @id in the payload when registering an entity?

The @id is identifier of the device in the cloud and should be unique for the a tenant. device/child01// in the identifier of the child device on a main thin-edge device. Note that the identifier is device/child01// and not child01.

Can @id be used in the payload of measurements sent to te/device/child01///m/ to direct it to a specific external ID? If not, how does thin-edge determine whether there should be a mainhttps://thin-edge.github.io/thin-edge.io/references/mappers/c8y-mapper/#child-device-with-explicit-id device prefix before the child01?

No @id cannot be used with measurements. The relationship between  device/child01// and external id which is not the default must be established using a registration message.

The docs have been updated, and can be viewed from the "next" version. https://thin-edge.github.io/thin-edge.io/next/references/mappers/c8y-mapper/#child-device-with-explicit-id


Update to streamlit 1.34.0 breaks callbacks. Solution has been provided

Hey, this pretty much fixes breaking of callbacks in streamlit custom components. Please update.

Confirming that callbacks are still not invoked at all on most recent streamlit version (1.36.0).

created pull request to support new custom component support since 1.36: https://github.com/nicedouble/StreamlitAntdComponents/pull/60

@ythsl28  I have built a patch reflecting changes in v. 1.36.0 here.

@nicedouble is this repo still mantained?
this PR's will be approved at some point?

Doubt it, no activity has been going on for a while now.


Update README.md

Weird that the tests are failing now, I'll have to look into it since your README.md change obviously didn't effect that.

In our discussion last meeting, you found that the error was caused by Travis failing to install Java 8. #97 will hopefully fix this.


chore(deps): update dependency @octokit/webhooks-types to v6.11.0

This PR contains the following updates:

Package
Type
Update
Change

@octokit/webhooks-types
dependencies
minor
6.10.0 -> 6.11.0

Release Notes

octokit/webhooks
v6.11.0
Compare Source
Features

updates to webhook event schemas (#785) (84ce9b0)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: package-lock.json
rm: cannot remove '/opt/buildpack/env.d/node.sh': Permission denied


Updated flutter_facebook_auth version

I have updated the library to make the implementation in iOS easier by eliminating a configuration in the AppDelegate.swift
Description
Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change.
Related Issues
Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR. Note that you'll have to prefix the issue numbers with flutter/flutter#.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] If the pull request affects only one plugin, the PR title starts with the name of the plugin in brackets (e.g. [cloud_firestore])
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (flutter analyze) does not report any problems on my PR.
[ ] I read and followed the Flutter Style Guide.
[ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[ ] I updated CHANGELOG.md to add a description of the change.
[ ] I signed the CLA.
[ ] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[ ] No, this is not a breaking change.

LGTM - please sign the CLA

I been signed the CLA

@the-meedu-app If the CLA has been signed, please reply in a comment with @googlebot I signed it!

CLAs look good, thanks!
ℹ Googlers: Go here for more info.

@googlebot I signed it!


Unable to Access Forgot Password Feature After Navigating Back to Login

Description
There is a bug that occurs when a user clicks on the "Forgot Password" link, navigates back to the login page, and then attempts to revisit the "Forgot Password" feature. The feature does not open again.
Steps to Reproduce
Navigate to the login page.
Click on the "Forgot Password" link.
Navigate back to the login page (using the back button or a link).
Click on the "Forgot Password" link again.
Expected Behavior
The "Forgot Password" feature should open and allow the user to input their email for password recovery each time the link is clicked
Actual Behavior
Upon clicking the "Forgot Password" link after returning to the login page, the feature does not open or becomes inaccessible.
Screenshots
https://github.com/user-attachments/assets/5962dea4-92a7-4f9c-8064-c798d7eab06d
Additional Information
This issue has been observed on both Firefox, Microsoft Edge and Chrome browsers.
This issue affects user experience by preventing access to the password recovery process.
What browser are you seeing the problem on?

[X] Firefox
[X] Chrome
[ ] Safari
[X] Microsoft Edge

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

@saras-69 assigning this issue to you.
Make sure to complete this fast.
make sure to add the same toggle design in other page.
And one more thing this project and i am going to be inactive from today night.
so make sure to complete this.

@saras-69 have you completed the task.

@vivekvardhan2810 give me few minutes


Always display the size in the status bar when ShowFolderSize is enabled

What's the Problem?
In a folder you have to select all to display the total size.
Solution/Idea
It would be handy to show the total size in the status bar when nothing is selected and the option to show folder sizes is enabled.
Alternatives
None.
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

Files Version
No response
Windows Version
No response
Comments
No response

@yaira2 this is already supported, I think you can close it

Might keep this open until we decide is if we should show this even with the option turned off.


Interactive environment problems

I'm using Visual Studio 2015 Express for Desktop. I have PyPy 2.7 installed in c:\pypy, and configured as a PTVS custom environment. It all worked with an earlier PTVS version, but now with 2.2.5RC1 when I try to open an interactive session, I get "Value does not fall within the expected range".
I then made a custom environment for my c-python 3.5 32-bit install in c:\python35. Opening an interactive window failed with "The DocumentSite on a WindowFrame may only be set once".
I then deleted all my environments, and made a new custom c-python 2.7 32-bit environment pointed to c:\python27 . Opening an interactive session gave me "Value does not fall within the expected range".

Can you show me all the values you've configured for these environments? There are a lot of places that error could be coming from, but if I can see the actual values it will probably be easy to figure out.

I got the same error when I try to open the "Python 3.4 Interactive". When I try to open the "interactive window" in Python environments VS Express 2015 crashed.
Is there any workaround/fix for this problem?

@MatzeTechInfo Can you try with PTVS 2.2.6 and see if it still fails?
If so, please attach the output from Tools, Python Tools, Diagnostic Info here, as a gist or email to<EMAIL_ADDRESS>


Not able to import in postman

I am not able to import the folders or the individual JSON's in postman.
getting the below error.

Hi @varun77sports
Have you tried to import the last release ?

Hi @varun77sports, I suspect that you tried to import the repo content.
Make sure that you import the salesforce-apis.postman_export.json file available form the releases.

Closing after inactivity. Please reopen the issue or comment if the issue is still valid.


Duty report review when going off duty - ability to "go back" and not go off-duty

confirmation. Before or after shift review (time and boardings)?

@Sheeri Need design and flow

Design and flow as per https://mongodb.invisionapp.com/share/RWX43EEF567#/screens/415937302

Fixed in scope #18


Release DisplayServer's rendering resources before destroying the associated RenderingServer

Currently this seems to only affect textures related to custom cursors.
X11 and macOS implementations were not tested.
fixes #68472

I haven't looked at this for a long time. I am currently occupied with a lot of other things, but I might be able to get back to this in a few weeks.
If anybody needs this urgently, feel free to take over.


Fix some typos

Objective
Stumbled on a typo and went on a typo hunt.
Solution
Fix em

bors r+

My bad. I'll follow up in a separate PR if I find more.

Wonder if we should have a CI check for common typos.

That approach might work/help I guess. In general I think there are way too many false positives for automation to help with this sort of thing.


Allow XmlFile to compile with qt5 again

I have no idea if this change is desired upstream. Nevertheless, I have used QT_VERSION based #ifdefs in XmlFile to allow compilation with qt5.

resolves #126

Thank you for this PR, but I'm sorry that I won't be merging this in. It increases the maintenance burden and also it moves in the wrong direction.
I would be more than happy to merge in a complete replacement of Qt's XML with something like pugixml.
By the way, I intend to merge in my other PR (#122 ) sometime this week as Blackrock is already selling devices with firmware 7.5 (data protocol 4.0). If you are unable to upgrade your firmware then you will be stuck at a previous CereLink release anyway, so you might not want to put too much effort into backwards compatibility at this stage.


ci: also build with Python 3.11

Summary of Changes
We support Python 3.11, so we should also ensure the library can be used with it.

🦙 MegaLinter status: ✅ SUCCESS

Descriptor
Linter
Files
Fixed
Errors
Elapsed time

✅ REPOSITORY
git_diff
yes

no
0.02s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
MegaLinter is graciously provided by

Blocked by https://github.com/microsoft/debugpy/issues/1246.
See https://github.com/python-poetry/poetry/issues/7686 for a workaround.

:tada: This PR is included in version 0.3.0 :tada:
The release is available on:

v0.3.0
GitHub release

Your semantic-release bot :package::rocket:


Help getting started?

So I have the following. These are the first 2 records of a text file that has a custom format. It is basically a list. Each record has 5 Items, They start with a # and end when they encounter the next #. Each item is an array of strings, delimited with the | pipe symbol.
The first line we can ignore for now.
So for each record, I need something like this
    class Record
    {
        public int Id {get;set;} //** first element of First line
        public List<string> Properties { get; set; }
        public List<List<string>> Parameters { get; set; }
        public List<List<string>> Alarm { get; set; }
        public List<List<string>> History { get; set; }
        public List<List<string>> ItemParameters { get; set; }
    }

So I would like to end up with a List
// 20.00 - Version
#1|SomeText and stuff|0|1| | |1|0| |
#Parameters
<[0]>|1|0|0|0|0|0.000000|0.000000|0.000000| | | |
#Alarm
#History
#ItemParameters
<[0]>|1|1|
#2|SomeMoreText|0|3| | |1|0| |
#Parameters
<[0]>|1|0|0|0|0|0.000000|0.000000|0.000000| | | |
<[1]>|1|0|0|0|0|0.000000|0.000000|0.000000| | | |
#Alarm
#History
#ItemParameters
<[0]>|1|1|

P.S. What is the difference between https://github.com/datalust/superpower and Sprache?

Hi! Thanks for getting in touch.
RE getting started, the best way to do it is to pick out the smallest units of the grammar - say, a Heading rule representing #Name, and model those:
class Heading
{
    public Heading(string name) { ...  }
}

It's not strictly necessary to create fine-grained types for everything, but it'll make everything easier to follow in the end (and you can map back to whatever data structure you need after parsing is done).
static Parser<Heading> Heading =
    from _ in Parse.Char('#')
    from name in Parse.LetterOrDigit.Many().Text()
    select new Heading(name);

Then, once you've got Heading sorted out, you might create a ValueList (maybe it's type is List<string>), and then a Section parser that uses Heading and ValueList to parse a single #Name heading and the trailing lists of values.
Working from the small to the large is almost always easier, not least because you can test the tiny parsers as you go.
I wrote Superpower mainly to produce better error messages than Sprache can, in Seq's query parser, but it has a few other advantages (especially if you have to deal with comments).
Original reasoning for building it: https://nblumhardt.com/2016/09/superpower/
But the README is more up-to-date, and there are sample projects in its repository if you are keen to get a feel for the differences between the two.
Good luck and have fun! :)

Ah also, sorry - there are quite a few people following the sprache and superpower tags on Stack Overflow, it's usually the quickest and most efficient way to get help if you're stuck at any point.

I am moving to use superpower. I posted a question on SO last but so far I haven't gotten a response.
Closing this and going a new issue on the superpower Repo


Network 2018 05 01

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Hi @sergey-shandar  @dsgouda can you please help to escalate merging process. it contains a fix for a PR with a mistake I missed...

@dsgouda ready to merge :)


make test fails unless sinon is installed

sinon should be added to packages.json. if sinon is not installed via npm, then make test fails.

sinon in in package.json (devDependencies section)


Why AFNetworkReachabilityManager support IPv6 need to do conditional compile?

I don't understand why there needs to check the OS_VERSION_MIN_REQUIRED. This mean only the iOS version over 9.0 and OSX version over 10.11 supported IPv6. Is this right?  #3174
+ (instancetype)manager
{
#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 90000) || (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)
    struct sockaddr_in6 address;
    bzero(&address, sizeof(address));
    address.sin6_len = sizeof(address);
    address.sin6_family = AF_INET6;
#else
    struct sockaddr_in address;
    bzero(&address, sizeof(address));
    address.sin_len = sizeof(address);
    address.sin_family = AF_INET;
#endif
    return [self managerForAddress:&address];
}

Maybe you can refer "Use System APIs to Synthesize IPv6 Addresses" section in following page -
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW16

Take a look at this issue: https://github.com/Alamofire/Alamofire/issues/1228.
We need to make sure we are consistent in both places.

Except AlamoFire uses a run-time check rather than a compile-time check, right?

Yes, that rights, mainly due to some bugs with how iOS 8 work with IPv6

Yes，I have found this bug both iOS 7 and iOS 8 works with IPv6. But why not use run-time check there? If I use the iOS 9 SDK compile the project and running it on iOS 7, the bug still exist.

Right. I'm agreeing with you. We should probably migrate to a runtime check.

I am using iOS 9 and connect to a NAT64 network hotspot share from my Mac. I try to test the AFNetworking Reachability without ipv6 setting and it still works. Can someone explain? Many thanks.

However in the README of the Reachability sample, it says
Reachability fully supports IPv6.  More specifically, each of the APIs handles IPv6 in the following way:

...

- reachabilityForInternetConnection:  This monitors the address <IP_ADDRESS>, which reachability treats as a special token that causes it to actually monitor the general routing status of the device, both IPv4 and IPv6.

So what is the actual reason to use sockaddr_in6 on iOS 9 or later? I just worry that it will cause problems when connected to a IPv4-only network

It seems the Reachability function is not compatible to iOS 7. The function returns no reachable status even I have connected to a NAT64 share network. Is this a bug or iOS 7 isn't support NAT64?
Also I found that reachabilityDidChange is slightly delay to trigger in iOS 8 (compare to iOS 9) when I try to connect to a IPv6 network from no network status.

I agree with cezheng. Demo by apple maybe right. I will just use the sockaddr_in in my app. @cezheng

There is no need to change anything if you just want to check whether the internet is avaliable,just like the Sample by Apple: reachabilityForInternetConnection //This monitors the address <IP_ADDRESS>, which reachability treats as a special token that causes it to actually monitor the general routing status of the device, both IPv4 and IPv6. ,  is it right?

There is no need to change anything if you just want to check whether the internet is avaliable,just like the Sample by Apple:
 reachabilityForInternetConnection //This monitors the address <IP_ADDRESS>, which reachability treats as a special token that causes it to actually monitor the general routing status of the device, both IPv4 and IPv6  is it right?

@kcharwood Shall we draw to a conclusion yet? I think we should remove the sockaddr_in6 address part of the code.

But I think the solution used here is also correct. We can use ipv4/ipv6 either under iOS9 in this condition.

@kcharwood do you have any updates on this? Should the os version check be removed as Alamofire?

My app minimum supported version of the app is iOS9,  use AFNetworking by cocoapods, when run at any device, __IPHONE_OS_VERSION_MIN_REQUIRED value is 70000，Causing  works with IPv4 all the time。

can you tell me  how  to  use  AlamoFire for  swift  in  IVP6


Travis builds are failing with 137

Tried disabling all tests that uses the cluster, in case the build was killed by the host for consuming too much memory. Had no effect.
Might be System.exit(0) that is triggered by Launcher integration tests. Had a similar issue months ago when using maven, where the build would fail with an useless error message.

Test executor passes when all map test cases are disabled. Does not even seem to be caused by clustering, as testing fails using the normal maps.. with only 200 entries.
However, the build still fails as the logging output exceeds 4 MB 🤣

Removed debug logging and disabling all map test cases causes the build to pass.
Most likely memory consumption that is getting out of hand during the map tests. Should not be the case when only 200 entries are used. More debugging required.

Added to .travis.yml to save some memory, proceeding with testing.
before_script:
  - sudo service postgresql stop || true
  - sudo service mysql stop || true
  - sudo service memcached stop || true
  - sudo service bootlogd stop || true
  - sudo service elasticsearch stop || true
  - sudo service mongodb stop || true
  - sudo service neo4j stop || true
  - sudo service cassandra stop || true
  - sudo service riak stop || true
  - sudo service rsync stop || true
  - sudo service x11-common stop || true

Indications that this is related to IndexedMap and its test cases.

Not limited to IndexedMap.

Memory issue fixed by adding
.travis.yml
env:   global:     - GRADLE_OPTS="-Xms512m"
build.gradle
if (System.env.TRAVIS == 'true') {     allprojects {         tasks.withType(GroovyCompile) {             groovyOptions.fork = false         }         tasks.withType(Test) {             // serial execution required.             maxParallelForks = 1             minHeapSize = '256m'         }     } }

BindException: Address already in use
Fixed by setting max parallel executors to 1.
Rotating ports for each test did not seem to work.

For the final failing test,

fixed future completion that was commented out in logger mock
fixed rest listener to reuse Router object across instances for the same port.
UDP listeners was fixed to only deploy once instead of one per core.

137 is back again with intermittent failures.

7 builds have passed, one almost failing that passed. Closing for now.


feat(product): implement category create in combobox

Summary by CodeRabbit

New Features

Introduced an interactive category selection mechanism with a search feature and the ability to create new categories.
Enhanced the ProductForm layout for better usability and clarity.

Bug Fixes

Improved organization of inventory fields for clearer user input.

Refactor

Streamlined the JSX structure for better readability and maintainability.

Preview


AttributeError: module 'time' has no attribute 'clock' when running with Python 3.9.9

I'm getting this stack trace when launching with
> python3 --version
Python 3.9.9
> uname -v
Darwin Kernel Version 19.6.0: Tue Jun 22 19:49:55 PDT 2021; root:xnu-6153.141.35~1/RELEASE_X86_64

> python3 log4j-scan.py -u https://myservice.com --run-all-tests
[•] CVE-2021-44228 - Apache Log4j RCE Scanner
[•] Scanner provided by FullHunt.io - The Next-Gen Attack Surface Management Platform.
[•] Secure your External Attack Surface with FullHunt.io.
[•] Initiating DNS callback server (interact.sh).
Traceback (most recent call last):
  File "/Users/rochec/Documents/Temp/log4j-scan/log4j-scan.py", line 336, in <module>
    main()
  File "/Users/rochec/Documents/Temp/log4j-scan/log4j-scan.py", line 306, in main
    dns_callback = Interactsh()
  File "/Users/rochec/Documents/Temp/log4j-scan/log4j-scan.py", line 156, in __init__
    rsa = RSA.generate(2048)
  File "/usr/local/lib/python3.9/site-packages/Crypto/PublicKey/RSA.py", line 508, in generate
    obj = _RSA.generate_py(bits, rf, progress_func, e)    # TODO: Don't use legacy _RSA module
  File "/usr/local/lib/python3.9/site-packages/Crypto/PublicKey/_RSA.py", line 50, in generate_py
    p = pubkey.getStrongPrime(bits>>1, obj.e, 1e-12, randfunc)
  File "/usr/local/lib/python3.9/site-packages/Crypto/Util/number.py", line 264, in getStrongPrime
    return _fastmath.getStrongPrime(int(N), int(e), false_positive_prob,
  File "/usr/local/lib/python3.9/site-packages/Crypto/Random/_UserFriendlyRNG.py", line 202, in read
    return self._singleton.read(bytes)
  File "/usr/local/lib/python3.9/site-packages/Crypto/Random/_UserFriendlyRNG.py", line 202, in read
    return self._singleton.read(bytes)
  File "/usr/local/lib/python3.9/site-packages/Crypto/Random/_UserFriendlyRNG.py", line 202, in read
    return self._singleton.read(bytes)
  File "/usr/local/lib/python3.9/site-packages/Crypto/Random/_UserFriendlyRNG.py", line 178, in read
    return _UserFriendlyRNG.read(self, bytes)
  File "/usr/local/lib/python3.9/site-packages/Crypto/Random/_UserFriendlyRNG.py", line 129, in read
    self._ec.collect()
  File "/usr/local/lib/python3.9/site-packages/Crypto/Random/_UserFriendlyRNG.py", line 77, in collect
    t = time.clock()
AttributeError: module 'time' has no attribute 'clock'

Seems to be due to this:
The function time.clock() has been removed, after having been deprecated since Python 3.3: use time.perf_counter() or time.process_time() instead, depending on your requirements, to have well-defined behavior.

you can try this.
pip3 uninstall PyCrypto
pip3 install -U PyCryptodome

Was already reported by others, see: https://github.com/fullhunt/log4j-scan/issues. Why creating a whole new issue for the same problem, lol.

The function time.clock() has been removed, after having been deprecated since Python 3.3: use time.perf_counter() or time.process_time() instead, depending on your requirements, to have well-defined behavior. (Contributed by Matthias Bussonnier in bpo-36895.)

Duplicate of #10

pip3 install -U PyCryptodome

ok 4 me

Please check: https://github.com/fullhunt/log4j-scan/issues/10#issuecomment-993304115


Fix conflic markers in asset files

timestamp.txt and virus.csv both got conflict markers in them during the last
merge which prevents the tool from rendering.
I've resolved the timestampt.txt conflict with the latest timestamp. For the
virus.csv conflict I did not actually evaluate how to merge the data, I just
took the latter data. I presume you have an excel sheet where this is being
copied from, you might want to check if I have lost any data here!

Some conflict markers got into virus.py too: a23f1dc#diff-f3aa0562df7c95a89f59d309fb66d870
I'll leave that one to you since presumably those comments are your notes.

Thank you, it was just fixed!! I should pull yours!

Looks like you have it under control. Keep up the good work :)


Crash when trying to re-enable a disabled monitor

Hyprland Version
Hyprland, built from branch main at commit d7aed240db408259228bf09708986c82bdca23eb  (text-input-v3: atomically enable/disable on commit).
Date: Thu May 9 10:27:48 2024
Tag: v0.40.0-37-gd7aed240, commits: 4643
flags: (if any)
System Information:
System name: Linux
Node name: archlinux
Release: 6.8.9-arch1-2
Version: #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000
GPU information:
06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c5) (prog-if 00 [VGA controller])
os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
plugins:
Bug or Regression?
Bug
Description
I have a laptop (monitor eDP-1) and an external monitor (monitor HDMI-A-1).  If I disable anyone of those via
hyprctl keyword monitor "eDP-1, disable
and try to re-enable
hyprctl keyword monitor "eDP-1, enable
sometimes Hyprland crashes.
If I unplug the external monitor, Hyprland also crashes.
How to reproduce

Plug in and external monitor
Try to disable your laptop monitor via hyprctl keyword monitor "eDP-1, disable
Try to re-enable your laptop monitor via hyprctl keyword monitor "eDP-1, enable
Sometimes it crashes.

Crash reports, logs, images, videos
Crash reports:
crash trying to enable eDP1.txt
crash Trying to enable HDMI-A-1.txt
crash trying to unplug or plug the external monitor.txt

likely fixed in https://github.com/hyprwm/Hyprland/commit/fe4737fb9d578400ecfc63dc6ab4d684993362b8

ye

Yes, it is fixed now. Thanks!!


E2 can read messages that use hideChat()

Not sure if intentional or not. You can have someone have an e2 that's a simple if(chatClk()){hideChat(1)} and you have an e2 that's if(chatClk()){print(lastSaid())} (Something like this) and you'll be able to read their messages. Not sure if this is intended or not; if it is, or there's no way to fix it, then nevermind

Ah alright


How is the target image obtained?

Hi, dear authors, thanks so much for the great work, which is really interesting and inspiring. From Eq.(4) of the paper, it seems that the optimization problem $\max_{c^\prime}p_{\theta^*}(c^\prime|x_\text{tgt})$ requires access to a target image $x_\text{tgt}$. But during evaluation it seems that only the unlearned model parameters and an original prompt are available. Could you please kindly provide details on how is the target image obtained? Thank you very much!

Hi Boheng,
Thank you for your interest in our work on evaluating unlearned diffusion models. To maintain consistency in our evaluation results, the target images are generated using the original base diffusion model (e.g., SD v1.4). It's important to note that the target images can also be random internet images, provided they are relevant to the concept targeted for erasure.


The sticky search bar and staging warning do not stack nicely

I wouldn't be against removing the warning from the search page.

Fixed in aeb816ced613fea65093f631777ebf877f83d782


Manual 'repolint' from TODO hackathon - license and contribution info improvements

Improve contribution policy language and make it easier to find.
Add copy of MIT license, and remove 'All rights reserved. to match OSI-approved license text.
Clarify that two licenses are used and indicate which types of content
they are used for.

Thank you for your first-time contribution, @kpfleming! :-D


Use SrsAsyncCallWorker in http hooks instead, to covert to async call.

Codecov Report

Merging #2542 (b58905a) into develop (85620a3) will decrease coverage by 0.03%.
 Consider uploading reports for the commit 052b4dd to get more accurate results

@@             Coverage Diff             @@
##           develop    #2542      +/-   ##
===========================================
- Coverage    59.18%   59.15%   -0.04%
===========================================
  Files          122      122
  Lines        51724    51747      +23
===========================================
- Hits         30611    30609       -2
- Misses       21113    21138      +25

Impacted Files
Coverage Δ

trunk/src/app/srs_app_rtc_server.cpp
3.90% <0.00%> (-0.08%)
:arrow_down:

trunk/src/app/srs_app_rtc_conn.cpp
10.43% <8.06%> (-0.10%)
:arrow_down:

trunk/src/protocol/srs_rtmp_handshake.cpp
83.95% <0.00%> (-0.36%)
:arrow_down:

Continue to review full report at Codecov.

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


Relax tolerance of UnitaryOverlap tests

Summary
The failure rate for the parametric identity tests was about 0.2%, which at our CI scale corresponds to approximately one spurious failure every two days.  The alternative to this is to fix the random seed of the test, but similar to other quantum_info tests, we would like some degree of extended coverage.  Lifting the tolerance by three orders of magnitude at this circuit size should ensure a zero false-positive rate.
This also changes the test to actually display the failure tolerance, so it's easier to tell from a CI run if a failure was real.

Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
13 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.004%) to 86.898%

Files with Coverage Reduction
New Missed Lines
%

qiskit/pulse/library/waveform.py
3
93.75%

crates/qasm2/src/lex.rs
4
91.41%

crates/qasm2/src/parse.rs
6
97.6%

Totals

Change from base Build<PHONE_NUMBER>:
0.004%

Covered Lines:
73868

Relevant Lines:
85005

💛  - Coveralls


Minimal updates for API 6

Bump DalamudPackager to verion 2.1.6
Remove API level override from json (DP will handle that for you)
Remove unneeded Dispose line. (Dalamud has deprecated disposing the plugin interface for each plugin)

Looks good to me, thanks! I don't have access to my PC until later tonight, so feel free to make the change to DalamudPlugins if you want.

Sure, I can push it. I'll make a note in the PR there to mention I got the go-ahead here.


currentSlide - can it return object?

it only returns index.
is there an easyier way to get the slide obj after changed?

$(".slider").slick("getSlick").$slides.eq( index );

or
$("[data-slick-index="+ index +"]");

both of the options dosent work.  i use it inside an afterChange function:
    $('.your-class').on('afterChange', function(event, slick, currentSlide){
      console.log( $(".slider").slick("getSlick").$slides.eq( currentSlide) ); //undifined got no index.
      console.log($slides); //undifined
      console.log($(".slick-slide[data-slick-index="+ currentSlide +"]"));  //not the current slide
    });

really, @mor-b -- I think you should do some basic Javascript and jQuery training before you go any further :smiley: You're missing some fundamental knowledge which would allow you to solve this issue. - stackoverflow.com is your best bet to resolve your problem.
Regards, Simon. :bow:

maybe it will help you:
$('.your-class').on('afterChange', function(event, slick, currentSlide){
console.log( $(".your-class").slick("getSlick").$slides );
});
see console.


Invalid code snipet in saml-sso-configure-api

Hi, on code snippet in section 4 [https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/application-saml-sso-configure-api#step-4-configure-signing-certificate] in definition of key-credentials private key used for Sign must be of type X509CertAndPassword rather than AsymmetricX509Cert. Other wise you will receive meaningless response that valid usage is either
[Sign, Verify] which is true for the request.
Also would be nice to mention that non-empty password is required.

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

ID: aa04cf91-e1eb-5b59-f85f-1cb46a08f40b
Version Independent ID: a4aff3ba-9c3f-71c5-bf8b-a4101b94b073
Content: Use Microsoft Graph APIs to configure SAML-based single sign-on - Azure Active Directory
Content Source: articles/active-directory/manage-apps/application-saml-sso-configure-api.md
Service: active-directory
Sub-service: app-mgmt
GitHub Login: @msmimart
Microsoft Alias: mimart

@plachor Thank you for your feedback . We will investigate and update the thread further.

I cannot confirm this. For me both public key types "X509CertAndPassword" and "AsymmetricX509Cert" work.

Have you used SDK or directly graph API?

Actually, I have to correct myself:
I used Graph and the upload does not complain using "AsymmetricX509Cert".
However, it only works when type "X509CertAndPassword" is used.
This is really severe - please correct the docs soon!

#reassign:kenwith

@plachor and @MrAzureAD - I found similar information here: https://docs.microsoft.com/en-us/graph/api/application-addkey?view=graph-rest-1.0&tabs=http#request-body
I walked through with both values for usage Sign and it seemed to work but I feel like I must be missing something since you both experienced issues. I am using Graph Explorer though and validating in the UI. I didn't test the cert with an app with SAML all the way through yet though so maybe that is what you are referring. Maybe it is just that Graph Explorer is not passing the error back that the SDK is giving but the value needs to be X509CertAndPassword to work properly. At any rate, good catch and let's get this updated.
I have submitted a PR to update the value for usage Sign to be X509CertAndPassword.

#please-close


NumberEntity is not valid and will be unsupported from Home Assistant 2022.10

Version of the custom_component

Debug log

2022-07-09 12:00:03 WARNING (MainThread) [homeassistant.components.number] custom_components.traeger.number::TraegerNumberEntity is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.

Looks like the NumberEntity was refactored, and we need to update the properties we're setting to match the new setup. Doesn't look like too hard of a fix.
Blog post on the refactor
New Number Entity documentation we need to match

If you still use this integration it would be great to see it updated. Thanks @stephenpapierski

372a80fdc114edbae7b42eece55e617a7fcdda92 should fix the issue, but @sebirdman will have to cut a new release before an update shows in home assistant.

Any update on a release being cut @sebirdman ?

I think @sebirdman may be done developing on this project. @njobrien1006 has been actively developing over at https://github.com/njobrien1006/hass_traeger.

Good to know a fork lives on, I'll close this issue.


Mount romfs ourselves

Runs plugins earlier.
Avoids a potential crash if the rom is not yet mounted after >10 seconds.
Avoids a potential crash if the game doesn't mount rom as "rom" and mounts too early for skyline to hook it.

Tested with smash ultimate.
Potential memory leak if the game mounts as "rom" as well? Wasn't sure if it'd be safe to free the game's buffer.

Does this break games which have different mount names?

Pretty sure it does just that.

In the case of a game using a different mount name, romfs will just be mounted as "rom" as well as whatever name the game chooses. I did not test with other games, but did test using a mount name other than rom on smash ultimate.


Adopt the RISC-V documentation format

This is a 3-step update for which I will be submitting a PR:

Import of docs-resources project as a submodule.
Updates to the Makefile to use more options on asciidoctor PDF build, including the RISC-V theme (.yml file) and the fonts directory.
Updates to the main .adoc file to include more variables for the build and the logo for the title page

Once complete, the side-effect for anyone starting to use this repo locally will be that they'll need to learn to use Git Submodules. Plenty of useful information is here. But the key step is to issue a git submodule update --init after a new clone or the first pull after this PR.
At key points in the future, we may want to use the git submodule update to update to a new level because Submodules always "link" at a given commit level. (More discussion here as we work with this.)
If anyone has questions about the process, please free to let me know.

Thanks for merging, @kumarsankaran.  I'll leave this open until you feel comfortable that we've addressed any issues with the change.  Please close when you are ready.


feat(sdk): As an Issuer, I want to pass my custom ABI to the SDK to get contextualized errors

What does this PR do?
This PR addresses Issue #770 by adding support for passing a custom ABI to the SDK functions (attest, replace, etc.), enabling issuers to handle errors with improved context.
Summary of Changes:

Updated SDK functions in PortalDataMapper to accept an optional customAbi parameter, which allows merging the provided ABI with the default one.
Enhanced error handling to include custom ABI error definitions, providing more specific error messages for transaction simulations.
Added tests to verify that errors from both default and custom ABIs are handled correctly and in a contextualized manner.

Benefits:
Issuers can now include custom ABIs, making it easier to capture and handle specific errors during transaction simulations, leading to seamless error management within their applications.
Related ticket
Fixes #770
Type of change

[ ] Chore
[ ] Bug fix
[x] New feature
[ ] Documentation update

Check list

[ ] Unit tests for any smart contract change
[ ] Contracts and functions are documented

resolved some issues if you need any changes ,please let me know @alainncls


Chore/456 operation representative

Card: https://github.com/bcgov/cas-reporting/issues/456
Changes:-

Added a model report_operation_representative
Updated schema
modified create-report and get-report
updated operation_representative from string field to multiselect

@shon-button Creating this draft PR

@ayeshmcg
Done:

Fixed schema for operation_representative
Cleanup of form
Updated vitests
Updated endpoint test GET

To Do:

POST endpoint
POST endpoint tests
Suggestion: The router should navigate to the continueUrl only when the onSubmit function resolves with a truthy response