Compressed Image Topic

I understand that this topic is available for the camera from /head_front_camera/rgb/image_raw
is there a compressed image topic?
Thank you

Hello!
Can you please give some more context on this?
Best Regards,
Sai Kishor Kothakota

sudo apt install ros-humble-image-transport-plugins ros-humble-theora-image-transport ros-humble-compressed-depth-image-transport ros-humble-compressed-image-transport
seem to solve the issue
After a showing the ros2 topic list, I get the following
/head_front_camera/depth/image_raw/compressed
/head_front_camera/depth/image_raw/compressedDepth
/head_front_camera/depth/image_raw/theora
/head_front_camera/depth_registered/camera_info
/head_front_camera/depth_registered/image_raw
/head_front_camera/depth_registered/points
/head_front_camera/image_raw/compressed
/head_front_camera/image_raw/compressedDepth
/head_front_camera/image_raw/theora
/head_front_camera/rgb/camera_info
/head_front_camera/rgb/image_raw
Thank you. Please include in the readme file.


Auto-merge is stuck

I'm using this action to enable auto-merge for Dependabot. Everything seemed to work fine, but the PR is not being merged. I'm not sure how to debug this and probably it doesn't have anything to do with the action but I don't know where else to report it 😬

It's been attempting to auto-merge for more than 24 hours now.
This is the PR https://github.com/nginxinc/nginx-asg-sync/pull/108
and this the action https://github.com/nginxinc/nginx-asg-sync/blob/master/.github/workflows/dependabot-auto-merge.yml
Does anybody know how to fix this?
Thanks.

Odd, it seems like something is wonky with the PR automerge feature. I can reach out to that team and see if they have any thoughts!

Thank you so much @asciimike . Yes, that would be great any additional insight you can get I'd appreciate.

@asciimike it seems like Dependabot can't merge to a protected branch, I tried removing the protection and it started merging the PRs. Is there something I can do about this? When I try to add Dependabot to the list of apps allowed to push to master, it doesn't show up.
Separately the PRs merged by Dependabot are not being closed https://github.com/nginxinc/nginx-asg-sync/pull/108

Is there something I can do about this? When I try to add Dependabot to the list of apps allowed to push to master, it doesn't show up.

This just came up in the context of codeowners, so I'll see if I can work with that team to see what we can do about allowing Dependabot to push to restricted branches

Separately the PRs merged by Dependabot are not being closed nginxinc/nginx-asg-sync#108 is this the expected behavior?

Unfortunately this is a known issue with the UI displaying the right state :(
I've been chatting with the team on how to prioritize getting that fixed.

For what it's worth I reached out to GitHub Support about this issue about a month ago. Here's what they said:

The default authentication tokens used by GitHub Actions belongs to user github-actions[bot]. It seems that you've enabled the "Restrict who can push to matching branches" rule. The default GitHub Actions actor does not have the permission to push (merge or commit) to the protected branch.
You may need to make a few changes in your Actions workflow file. First, you will need to create a personal access token (PAT) for user with either admin permissions or a user with write access who's been granted push permission to the protected branch of the repository (Step 12 in this help doc article):
https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token
You can change this default value by setting the environmental variable GITHUB_TOKEN to the access token that you created in the previous step.
You'll need to create a repository secret giving it a name e.g "GITHUB_TOKEN" with the actual token as its value. See here how to create secrets and use them in a GitHub Actions workflow file:
https://docs.github.com/en/actions/reference/encrypted-secrets

Though I would have rather granted github-actions[bot] write access to our repo, they said that was not possible. I followed their advice instead and it's been working for us, though I'd love a simpler solution.

Though I would have rather granted github-actions[bot] write access to our repo, they said that was not possible.

Agreed, the PAT solution is pretty ugly :(

As a side note, I re-discovered https://github.com/dependabot/feedback/issues/86, and am talking to the folks who own branch protection rules about how we can get Dependabot added.

@asciimike any updates on this?

At this point it looks like the problem is more of "we should show an error rather than hang forever", as I think adding Dependabot as a trusted actor is going to be a bit more work.

https://github.com/dependabot/dependabot-core/issues/2480

👋🏻 @lucacome I'm going to close this out as we are tracking this in core since it is a problem with the service vs protected branches.
Unfortunately I don't have anything to share on this right now.

Thanks for the update @brrygrdn !


Additional: max size and number of files

This is a continuation of abandoned PR https://github.com/jquery-validation/jquery-validation/pull/1512, in that it validates the maximum size of a selected file.
Since the "file" type can contain the multiple attribute, another method was added to validate the maximum size of all selected files.  Finally, a third method was added to validate the maximum number of files.

@Arkni  Done.

Thanks a lot for your contribution :)


MM-36743: sidebar recency sorting regards CRT

Summary
When you sort sidebar channel by recency new thread replies are marking
a channel as recent. This is OK for CRT off, but with CRT on only new
root posts should mark a channel as recent.
This commit uses the  new channel.last_root_post_at to solve this.
Ticket Link
https://mattermost.atlassian.net/browse/MM-36743
Related Pull Requests

Has server changes (https://github.com/mattermost/mattermost-server/pull/18366)

Release Note
NONE

/update-branch


Maps don't load

Description
After the last update, some maps \shuttles stopped loading on one of the servers, there are screenshots of the error, I would really like this error to be fixed.
Screenshots

shouldnt it use string not String


Add State Manager

This will contain the Ward container which can have flags set to allow certain behaviours to be applied and observed by other threads holding the Ward.
I have implemented the basic structure of the Ward object and a Pausable flag/function.
More to follow

@disruptek can I get you to review the clearImpl in loony and see what you think? Does the logic make sense?
I am primarily concerned about the edge cases where other threads are cooperatively updating the queue nodes, interfering with that, and somehow messing with their reclamations or making them get stuck in a loop.
But maybe thats not an issue? see what you think.


New role for sharing projects with same rights as creator

From Xerte Conference Developers Day
Currently only the creator can do certain things with a project (export, share with others etc.)
Create a new role so that projects can be fully shared
Possibly also allow users to transfer ownership to someone else

Related request from forum - allow editors to duplicate projects and allow the permissions for different roles to be changed via the management login.
http://www.xerte.org.uk/index.php?option=com_kunena&view=topic&catid=10&id=1201&Itemid=759&lang=en#4142

@torinfo am I right in thinking there's a new co-author role that you added with the merge pages stuff? Does this role have the same permissions as creator? If not, what's different? Thanks (I can't test this on xampp)

@FayCross That role is not there yet. And yes it will basically give the co-author the same rights as the creator.

Ok, thanks

Closing as Tom's made a new co-creator role

Just checked this new role and can see that the co-creator can import pages from other projects they own which is great however should the co-creator be able to duplicate the project that they are co-creator of? I tried this and the duplicate appears in the workspace but the project folder is empty so when trying to edit the copy just an empty tree appears.

Yes, I'd like it to work so that they had exactly the same roles as the creator (except probably delete project)

Will have a look at that.


Unable to save logic app in VSCode

Describe the Bug with repro steps

Open logic app workflow in designer
After having it open for around 2 hours the auth token will expire
Changes can still be made but saving does not update workflow.json
Observe no warnings or notification saving failed and no way to prevent changes from being lost

What type of Logic App Is this happening in?
Standard (VSCode)
Which operating system are you using?
Windows
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos
No response
Browser
VSCode
Additional context
No response

Hi @zzznz27 thanks for raising this issue. Here are some questions and keynotes to better understand the issue:

VSCode extension doesn't necessarily uses tokens to save the workflow. As it is all local development it just updates the file. It might use the token to create the connections of certain actions.
Did you add any spefic action or connectors to the workflow? Does this also happens if you don't add them?
Does this happens if you keep saving the workflow while you keep working on it?

Sorry i had meant to come back and add more context when it occurred again but forgot.
When i hit save on an expired session it seems to call all the managed connectors metadata (possibly as a validation step) before saving but if the auth token has expired i get back a 401.
See below:
Here is an example of the calls failing

Call made when hitting save
Request URL: https://management.azure.com//subscriptions/<SubscriptionId>/providers/Microsoft.Web/locations/australiaeast/managedApis/commondataservice?api-version=2018-07-01-preview
Request Method: GET
Status Code: 401 Unauthorized
Remote Address: <IP_ADDRESS>:443
Referrer Policy: strict-origin-when-cross-origin

Response
{
    "error": {
        "code": "ExpiredAuthenticationToken",
        "message": "The access token expiry UTC time '9/23/2024 8:04:31 AM' is earlier than current UTC time '9/23/2024 11:23:34 PM'."
    }
}

Hitting save multiple times results in the same calls being made and failing
I have also tired re authenticating with AZ accounts and that does not fix the issue
As far as i can tell there is no way to update this authentication to force a save while in this state and any progress made is lost.
If no managed connectors are present then the issue does not appear

A possible feature request, which would be very helpful in Visual Studio Code when using connection keys would be a command to refresh the connectionkeys. For example: CTRL + SHIFT + P "Azure Logic Apps: Refresh local connectionkeys" which would force an update of the connectionkeys in local.settings.json (if there is a local.settings.json present, otherwise a warning, local.settings.json was not found)


BaseModel.construct does not set aliased fields consistently with standard instantiation

Checks

[x] I added a descriptive title to this issue
[x] I have searched (google, github) for similar issues and couldn't find anything
[x] I have read and followed the docs and still think this is a bug

Bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.8.2
            pydantic compiled: False
                 install path: /Users/kyleamos/Library/Caches/pypoetry/virtualenvs/api-KwVDv1SR-py3.9/lib/python3.9/site-packages/pydantic
               python version: 3.9.1 (default, Jan 18 2022, 12:54:24)  [Clang 13.0.0 (clang-13<IP_ADDRESS>)]
                     platform: macOS-12.1-arm64-arm-64bit
     optional deps. installed: ['email-validator', 'typing-extensions']

from pydantic import BaseConfig, BaseModel, Field

class Foo(BaseModel):
    class Config(BaseConfig):
        allow_population_by_field_name = True

    bar_: int = Field(..., alias="bar")

expected_value = 2
assert Foo(bar=expected_value).bar_ == expected_value
assert Foo.construct(bar=expected_value).bar_ == expected_value  # AttributeError: 'Foo' object has no attribute 'bar_'
...

https://github.com/samuelcolvin/pydantic/pull/4191
I'll try to get everything installed for checks to pass on the PR tomorrow, the current fail one at a time in CI stuff has exhausted my time for this for today.
I'm sure there's an automagic way to get the PR to link to this issue as well and I'm sure I messed that up.


Important Info

Update: The official website Qt for Python has been updated to a new CSS style, but this project is adapted to the old style. This means that the project cannot function correctly at this stage.

this is solved in https://github.com/acbetter/qt-for-python-to-dash-docset/pull/8


Add session_id in binding.proto to use FetchSession to connect to ATE

The current static binding creates a new ATE session for each run. The test/ondatra doesn't clear the port ownership. When running the testcase again, it may hit the port not available. Based on that, re-using the existing session id could be helpful since ports will be reclaim in the same session. Also session_id/FetchSession could help enable connection to IXIA windows REST API client.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 9 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.5%) to 67.606%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

topologies/binding/binding.go
0
9
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.5%

Covered Lines:
576

Relevant Lines:
852

💛  - Coveralls

/gcbrun


[Event Request] Table 37 "Sales Line" - field 98 "Blanket Order Line No."

Please add an Event OnAfterValidateBlanketOrderLineNo in field 98 in Table 37 "Sales Line"
        field(98; "Blanket Order Line No."; Integer)
        {
            AccessByPermission = TableData "Sales Shipment Header" = R;
            Caption = 'Blanket Order Line No.';
            TableRelation = "Sales Line"."Line No." WHERE("Document Type" = CONST("Blanket Order"),
                                                           "Document No." = FIELD("Blanket Order No."));

            trigger OnValidate()
            var
                IsHandled: Boolean;
            begin
                IsHandled := false;
                OnBeforeValidateBlanketOrderLineNo(IsHandled, Rec);
                if IsHandled then
                    exit;

                TestField("Quantity Shipped", 0);
                if "Blanket Order Line No." <> 0 then begin
                    SalesLine2.Get("Document Type"::"Blanket Order", "Blanket Order No.", "Blanket Order Line No.");
                    SalesLine2.TestField(Type, Type);
                    SalesLine2.TestField("No.", "No.");
                    SalesLine2.TestField("Bill-to Customer No.", "Bill-to Customer No.");
                    SalesLine2.TestField("Sell-to Customer No.", "Sell-to Customer No.");
                    if "Drop Shipment" or "Special Order" then begin
                        SalesLine2.TestField("Variant Code", "Variant Code");
                        SalesLine2.TestField("Location Code", "Location Code");
                        SalesLine2.TestField("Unit of Measure Code", "Unit of Measure Code");
                    end else begin
                        Validate("Variant Code", SalesLine2."Variant Code");
                        Validate("Location Code", SalesLine2."Location Code");
                        Validate("Unit of Measure Code", SalesLine2."Unit of Measure Code");
                    end;
                    Validate("Unit Price", SalesLine2."Unit Price");
                    Validate("Line Discount %", SalesLine2."Line Discount %");

                    OnAfterValidateBlanketOrderLineNo(Rec, SalesLine2); <-- NEW EVENT
                end;
            end;
        }

    [IntegrationEvent(false, false)]
    local procedure OnAfterValidateBlanketOrderLineNo(var SalesLine: Record "Sales Line"; BlanketOrderSalesLine: Record "Sales Line")
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 45720.


eu_dcc_remove FAQ entry is out of date for iOS

Where to find the issue

https://www.coronawarn.app/en/faq/#eu_dcc_remove
https://www.coronawarn.app/de/faq/#eu_dcc_remove

Describe the issue
The FAQ entry is outdated, because under iOS one has to click on "More" and then on "Delete Vaccination Certificate" and then on "Remove Certificate".
These steps are not covered in the FAQ entry.
Suggested change
Include the steps mentioned above in the FAQ entry.
Additional information
I will provide a PR fixing this tomorrow.

@Ein-Tim
Please check the steps for Android 2.13 as well if you are proposing a change.
On Android, you have to tap the right arrow after tapping Certificates before you can scroll down.
Then the text is "Remove Certificate", not just "Remove".

Also the question is if the FAQ should cover the instructions for all versions or only for the latest version.

@MikeMcC399

Please check the steps for Android 2.13 as well if you are proposing a change.

Okay, I did not yet receive 2.13 on my Android device but as soon as I have I will check and propose the change with the PR.
This question would have to be answered by the Open-Source-Team.

@Ein-Tim
I checked on the current and earlier versions, so I suggest for Android:
https://www.coronawarn.app/en/faq/#eu_dcc_remove
"Android: Tap on the three-dot symbol on the top right of the screen, and then tap on 'Remove Certificate' (or 'Remove' for version 2.9 and earlier)"
https://www.coronawarn.app/de/faq/#eu_dcc_remove
"Android: Tippen Sie auf das drei-Punkte-Icon oben rechts auf dem Bildschirm, und danach auf 'Zertifikat entfernen' (bzw. auf 'Entfernen' für Version 2.9 und früher)

The Android UI has been changed quite a few times.
In 2.3 there was no Certificates tab. That came with 2.4. In these two versions the English text was "Delete".
In 2.5 - 2.9 the texts were "Remove" and "Entfernen", also for the confirmation pop-up.
In 2.10 the text changed to "Remove Certificate" and "Zertifikat entfernen". The confirmation texts remained as "Remove" and "Entfernen" though.
Version 2.11 is not relevant since it is forced updated to the latest version, so any user with an Internet connection can't be using it any more.
Version 2.12 is the same as 2.10.
In Version 2.13.2 which was just released the texts are "Remove Certificate" and "Zertifikat entfernen", also in the confirmation pop-up.
It would make the article very complicated to try to describe all versions accurately, so I don't think that would be good to even try.
I would also not describe the label on the confirmation dialog because that just makes the description more complicated. Also, the main reason for the FAQ is to help users who could not find the function to remove a certificate. Once they find the right place, they don't really need advising about how to complete the confirmation dialog. At least that part is self-explanatory.

Version question raised in https://github.com/corona-warn-app/cwa-website/issues/2032.

@MikeMcC399

I checked on the current and earlier versions, so I suggest for Android:
https://www.coronawarn.app/en/faq/#eu_dcc_remove
"Android: Tap on the three-dot symbol on the top right of the screen, and then tap on 'Remove Certificate' (or 'Remove' for version 2.9 and earlier)"
https://www.coronawarn.app/de/faq/#eu_dcc_remove
"Android: Tippen Sie auf das drei-Punkte-Icon oben rechts auf dem Bildschirm, und danach auf 'Zertifikat entfernen' (bzw. auf 'Entfernen' für Version 2.9 und früher)

Thanks for the suggestion! I will go with your text then!

It would make the article very complicated to try to describe all versions accurately, so I don't think that would be good to even try.

I agree, also under iOS, the UI since 2.3 changed heavily, thus I am also absolutely against describing all versions in the FAQ entry.

I would also not describe the label on the confirmation dialog because that just makes the description more complicated. Also, the main reason for the FAQ is to help users who could not find the function to remove a certificate. Once they find the right place, they don't really need advising about how to complete the confirmation dialog. At least that part is self-explanatory.

Agreed, will change!

@Ein-Tim
Good to hear you agree!
Enjoy your Sunday too!

FYI: A PR is ready, but I found a inconsistency in the iOS implementation and provided a PR which fixes this: https://github.com/corona-warn-app/cwa-app-ios/pull/3803
After this PR is merged, I will provide a PR here, fixing this issue.

As the wording under iOS will change in 2.14 (see https://github.com/corona-warn-app/cwa-app-ios/pull/3803#issuecomment-963903180), I will wait with a PR until things have sorted out.

I'm not certain what exactly will be released with 2.14, so I decided to just describe the implementation in 2.13 and adjust it if necessary with the 2.14 release.
PR will follow tomorrow.


The color selected does not match the color ring

I don't have that issue.

Already fixed! Thanks!


can you bump the angular version?

I'm getting a version error when using angular 1.5.3
1) angular#~1.4.1 which resolved to 1.4.10 and is required by schema-form#0.1.4
all my other packages resolve to angular#1.5.3 which resolved to 1.5.3

Sure, I'm not sure how Bower handles this but I think we can change the version to * in dependencies and what it is in devDependencies so our tests pass.
If you work on a pull request I'll be happy to merge it.

bower.json should just use angular: ^1.x

sounds good! please make a pull request... or I'll do it tonight


'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key

Unable to compile pods due to the error above.
Line 277:
Fix: Change NSAttributedStringKey -> NSAttributedString.Key

Fixed by #21


Feature/52-vehicle-make-and-model

This closes #52
I wrote the UT, and a candidate coded the functionality during an interview (though I cleaned it up a bit to conform better to ES6).

Coverage increased (+0.3%) to 82.767% when pulling 1a493e6ab763b58c9335413682f4dc04726d2291 on feature/52-vehicle-make-and-model into 1826a297b370c5ded5a97634e82e09ff806cc337 on development.

Just looking for someone to pull and run it. I'd approve it, but I created the PR ;-)


chore: permanently remove authorizations from max permissions

This is a clean-up PR.
I have built influxd locally and I don't think we need this now.
It was left in for OSS, under the speculation that something depended on it. It was suspected for bootstrapping a new cluster. However, I have managed to bootstrap a cluster with no problems and gone on to use the app successfully.
UPDATE:
There is a test using the initial users session to do an API call to perform a privileged action (create a user). Instead of using the onboarded initial users magical access all areas token.
So the question is... does this user really need those permissions in its session (not token)?
Since I don't believe any of the UI based operations allow this kind of management anyway.

[x] CHANGELOG.md updated with a link to the PR (not the Issue)
[x] Well-formatted commit messages
[x] Rebased/mergeable
[x] Tests pass
[x] http/swagger.yml updated (if modified Go structs or API)
[x] Documentation updated or issue created (provide link to issue/pr)
[x] Signed CLA (if not already signed)

Closing as stale


Convert tests to use Python unittest with tox/pyenv

See #40

Thanks for the pull request. This is a really busy week for me; I'll take a look as soon as I can.

I think it's dangerous to have tests use the real file system - if there's a bug in Dotbot code, something bad could happen. The current approach (with the VM) is slow, but it works, and the tests only need to be run every time there's an update (which doesn't happen all that often), so I don't think it's a huge problem. So for now, I think we'll stick with the old format of the tests.


New version: Google.Chrome.Canary version 128.0.6581.0

Created by 🥟 Dumplings in workflow run #6411.

Log
Updated: 128.0.6580.0 → 128.0.6581.0
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

/azp run


[storage] DataLake Path Permissions Support for Sticky Bit while Execute is enabled

Library name
Azure.Storage.Files.DataLake
Please describe the feature.
Following the update to the Storage Datalake REST API documentation for Path Update Permissions regarding the x-ms-permissions

We will look to update the functionality of PathPermissions
https://docs.microsoft.com/en-us/dotnet/api/azure.storage.files.datalake.models.pathpermissions?view=azure-dotnet
To follow this documentation, as well as the parsers to convert from string to PathPermissions.

@amnguye
Would you please share the fix plan for this issue?
Thanks!


Add up-to-date Python template

This works with no modifications in flox-examples/hello-python. I don't think we've resolved where default.nix should go, but hey this works

https://github.com/flox/product/issues/14


Fix flaky quickstart test

I've noticed that the following e2e test frequently fails, and always in the same way. Rerunning it generally passes. It's almost certainly just a flake.
• Failure [66.126 seconds]
Quickstart
/usr/local/google/home/aludwin/git/hierarchical-namespaces/test/e2e/quickstart_test.go:11
  Should propagate different types [It]
  /usr/local/google/home/aludwin/git/hierarchical-namespaces/test/e2e/quickstart_test.go:81

  Timed out after 2.119s.
  Command: [kubectl -n service-1 get secrets]
  included the undesired output "my-creds":
  NAME                  TYPE                                  DATA   AGE
  default-token-9w45m   kubernetes.io/service-account-token   3      15s
  my-creds              Opaque                                1      7s

  /usr/local/google/home/aludwin/git/hierarchical-namespaces/test/e2e/quickstart_test.go:102
------------------------------
[1648589350] Running:  [kubectl get ns -o custom-columns=:.metadata.name --no-headers=true -l hnc.x-k8s.io/testNamespace=true]
[1648589351] Running:  [kubectl get ns ]
[1648589351] Running:  [kubectl hns config set-resource secrets --mode Ignore]
Output (passed):
[1648589352] Running:  [kubectl create ns acme-org]
Output (passed):  namespace/acme-org created

[1648589353] Running:  [kubectl label --overwrite ns acme-org hnc.x-k8s.io/testNamespace=true]
Output (passed):  namespace/acme-org labeled

[1648589354] Running:  [kubectl hns create team-a -n acme-org]
Output (passed):  Successfully created "team-a" subnamespace anchor in "acme-org" namespace

[1648589355] Running:  [kubectl label --overwrite ns team-a hnc.x-k8s.io/testNamespace=true]
Output (passed):  namespace/team-a labeled

[1648589356] Running:  [kubectl hns create team-b -n acme-org]
Output (passed):  Successfully created "team-b" subnamespace anchor in "acme-org" namespace

[1648589358] Running:  [kubectl label --overwrite ns team-b hnc.x-k8s.io/testNamespace=true]
Output (passed):  namespace/team-b labeled

[1648589359] Running:  [kubectl create ns service-1]
Output (passed):  namespace/service-1 created

[1648589360] Running:  [kubectl label --overwrite ns service-1 hnc.x-k8s.io/testNamespace=true]
Output (passed):  namespace/service-1 labeled

[1648589361] Running:  [kubectl hns set service-1 --parent team-b]
Output (passed):  Setting the parent of service-1 to team-b
Succesfully updated 1 property of the hierarchical configuration of service-1

[1648589362] Running:  [kubectl -n team-b create secret generic my-creds --from-literal=password=iamteamb]
Output (passed):  secret/my-creds created

[1648589366] Running:  [kubectl -n service-1 get secrets]
[1648589367] Running:  [kubectl hns config set-resource secrets --mode Propagate --force]
Output (passed):
[1648589368] Running:  [kubectl get hncconfiguration config -oyaml]
Output (passed):  apiVersion: hnc.x-k8s.io/v1alpha2
kind: HNCConfiguration
metadata:
  creationTimestamp: "2022-03-29T21:18:15Z"
  generation: 55
  name: config
  resourceVersion: "375005"
  uid: 2d882728-f583-4eb4-8a47-d05252fe2576
spec:
  resources:
  - mode: Propagate
    resource: secrets
status:
  resources:
  - group: ""
    mode: Propagate
    numPropagatedObjects: 1
    numSourceObjects: 6
    resource: secrets
    version: v1
  - group: rbac.authorization.k8s.io
    mode: Propagate
    numPropagatedObjects: 3
    numSourceObjects: 0
    resource: rolebindings
    version: v1
  - group: rbac.authorization.k8s.io
    mode: Propagate
    numPropagatedObjects: 1
    numSourceObjects: 0
    resource: roles
    version: v1

[1648589369] Running:  [kubectl -n service-1 get secrets]
Output:  NAME                  TYPE                                  DATA   AGE
default-token-9w45m   kubernetes.io/service-account-token   3      10s
my-creds              Opaque                                1      2s

[1648589370] Running:  [kubectl hns set service-1 --parent team-a]
Output (passed):  Changing the parent of service-1 from team-b to team-a
Succesfully updated 1 property of the hierarchical configuration of service-1

[1648589371] Running:  [kubectl hns describe team-a]
Output:  Hierarchy configuration for namespace team-a
  Parent: acme-org
  Children:
  - service-1
  No conditions

No recent HNC events for objects in this namespace

[1648589373] Running:  [kubectl -n service-1 get secrets]
[1648589374] Running:  [kubectl -n service-1 get secrets]
[1648589375] Running:  [kubectl get ns -o custom-columns=:.metadata.name --no-headers=true -l hnc.x-k8s.io/testNamespace=true]
[1648589376] Running:  [kubectl get ns acme-org]
[1648589377] Running:  [kubectl annotate ns acme-org hnc.x-k8s.io/subnamespace-of-]
Output (passed):  namespace/acme-org annotated

[1648589378] Running:  [kubectl get ns service-1]
[1648589379] Running:  [kubectl annotate ns service-1 hnc.x-k8s.io/subnamespace-of-]
Output (passed):  namespace/service-1 annotated

[1648589380] Running:  [kubectl get ns team-a]
[1648589381] Running:  [kubectl annotate ns team-a hnc.x-k8s.io/subnamespace-of-]
Output (passed):  namespace/team-a annotated

[1648589382] Running:  [kubectl get ns team-b]
[1648589383] Running:  [kubectl annotate ns team-b hnc.x-k8s.io/subnamespace-of-]
Output (passed):  namespace/team-b annotated

[1648589384] Running:  [kubectl get ns ]
[1648589385] Running:  [kubectl delete ns acme-org]
Output (passed):  namespace "acme-org" deleted

[1648589396] Running:  [kubectl delete ns service-1]
Output (passed):  namespace "service-1" deleted

[1648589403] Running:  [kubectl delete ns team-a]
Output (passed):  namespace "team-a" deleted

[1648589409] Running:  [kubectl delete ns team-b]
Output (passed):  namespace "team-b" deleted

HNC seems to get into a bad state which causes the flakes. After I saw this problem as part of a full suite, I reran this test alone and it failed on 4/4 times. Then I killed the pod and it passed 4/4 times. I consistently saw errors from a nonexistent Kind (another test tries to sync nonexistent resources) which may or may not be related.


Add Rider to IDE

Rider - https://www.jetbrains.com/rider
A cross-platform C# IDE based on the IntelliJ platform and ReSharper.
Currently in private Early Access.

It's a nice addition, but since it is still in EAP, I don't know if it qualifies as "stable".
Let's see what the other maintainers think.

I agree with @devkhan. But, what an exciting project right? I wonder, given the official tooling for netcore is still beta, if we could allow an exception for this?

I'm completely in favor. Go ahead.
On Oct 17, 2016 4:51 AM, Wade Baglin<EMAIL_ADDRESS>wrote:
I agree with @devkhanhttps://github.com/devkhan. But, what an exciting project right? I wonder, given the official tooling for netcore is still beta, if we could allow an exception for this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/quozd/awesome-dotnet/pull/412#issuecomment-254083216, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHrRxI6wEdbr1D3r-LrJ1K_v92QBPjOdks5q0rF-gaJpZM4KQB7T.


Repeat Payment Derived Key/Addresses

Recap
Currently, each sender chooses a random number R and uses it with the receiver's public key Pk to generate a stealth address S, such that only the receiver can generate the stealth address' private key. The sender announces R on-chain encrypted with an ephemeral key derived via ECDH from Pk such that only the receiver can decrypt it. To find stealth payments intended for them, each receiver must attempt to decrypt every Announcement in the contract. Until attempting to decrypt it, the user's software has no intuition whether a payment is intended for them.
Proposal
For repeat payments, from a known sender to the same receiver, we could opt to use a deterministic function, H(R0, n), to derive subsequent "random" values after the first one R0, used to generate the stealth addresses when paired with a monotonically increasing nonce n, such that:
R0 = CSPRNG()
R1 = H(R0, 1)
R2 = H(R0, 2)
R3 = H(R0, 3)
...

Alternatively, the function, H'(RN) could derive R of N recursively from the previous value of R:
R0 = CSPRNG()
R1 = H'(R0)
R2 = H'(R1)
R3 = H'(R2)
...

With some minor implementation tradeoffs, both seem roughly equivalent to me.
Some obvious prior art here is BIP32 HD wallets, and a deeper dive into that spec is warranted. It might be worthwhile adopting that spec outright.
But Why
By calculating subsequent R values deterministically, receiving user's software can pre-calculate a list of stealth addresses it expects it might receive to if a previous payer sends a repeat payment. (Presumably, in situations like salaries and e-commerce, repeat payments between entities will be quite common).
When a user returns to Umbra to scan announcements, they can first search for any payments to pre-computed stealth addresses they might receive a repeat payment to. Scanning for the presence of given addresses is (likely) an order of magnitude faster than attempting a decryption of the Announcement payload, so these payments can be recognized and available for withdrawal much faster.
Downsides
User's software now has to keep track of the initial R0 (in the case of H) to derive subsequent values RN.
Because the deterministic R values are still available via decryption according to the standard protocol, users are at no risk of losing funds if they lose R0, and in fact, R0 itself could always be recovered from the initial announcement.
However, if R0 is ever compromised, i.e. leaked in some way, all payments between that sender and receiver would lose privacy protections. Funds would not be at risk unless the user also leaks their private key pk. Also, if the sender and receiver are aware R0 is leaked, they can simply restart the derivation with a new R0' on the next payment. (Privacy is still lost for all payments made in the interim).
One final comment: because  it's essentially "backwards compatible" with the existing architecture, a scheme like this need not be implemented in the core protocol. It could, instead, be built and adopted "on top" of it, in conjunction with #30, where part of the payload in the initial payment is used to signal a derivation scheme to the receiver's software.

Even though this does not solve the initial O(n) scanning overhead (n is the number of all Umbra stealth transactions) of recipient for the very first transaction,  this would be quite a nice and necessary improvement. This proposal allows the recipient to have a constant scanning time for repeat payments, which will be super important as soon as Umbra will (hopefully) become widely used.
IMO the first construction is probably better than the second  because in the second the client would need to essentially store all R1, R2, R3,  etc. values. This would give a linear-space requirement for clients. On the other hand the first construction would allow a direct access to any repeat payment, i.e. only by storing R0 all subsequent repeat payment addresses are computable. Though, in the second proposal this is only possible by either storing the Ri values or recomputing a few hashes.

A thought coming back to this: is there any downside to keeping this extremely simple, like literally as simple as incrementing R by one for each subsequent payment?

Would not that be broken privacy-wise? I suppose here that everyone knows the public keys corresponding to an address. This certainly holds whenever funds are redeemed, since it is possible to obtain the public key from an ECDSA signature. Let's say recipient's public key is sG and then the first stealth address is RsG. One could link the next stealth address (R+1)sG to RsG by verifying whether  RsG+sG=(R+1)sG holds. You could just try to brute-force every public key sG and check which one satisfies this equality. So privacy is lost in this construction.


Fix index out of size error on Image

Fix #18229
This PR covers all repeat, mirrored repeat, and no repeat cases.
This error occurs too with 3.0.2 stable official when clicking it.

While you're here, maybe you could fix #18177 too ? ^^

@groud
I saw Image::get_pixel(int p_x, int p_y) can not get color from compressed texture.
I think I can't do anything about this method.
is it enough to just check bound for the compressed texture instead exact picking introduced with #15093?

It just needs a test whether the image is compressed or not (with something like image->is_compressed()).
If it's compressed, this function should return something like dst_rect.has_point(p_point)

@groud it's fixed now. :)

Cherry picked into 3.0.3


Fix section line height for captions

When I vertically centered the "Next Showcase" I introduced a bug affecting the height of captions

:+1:

:+1:


Web – The down arrow for the "new message" notification is positioned on the left side in comparison to the placement of other buttons

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open any chat.
Mark any message as unread and scroll to the top to make the "New Message" notification appear within a button. Take note that the arrow inside the button is on the left side.
Proceed to the "request money" section and locate the "See More" button. Observe that the down arrow is on the right side.
Navigate to the "request money" chat and notice that in the header, the down arrow next to "Pay Elsewhere" is on the right side.

Expected Result:
Consistency should be maintained in the placement of arrows, either on the left or the right side.
Actual Result:
An inconsistency is observed. In the "New Message" notification, the arrow is positioned on the left side, unlike in other sections where it is on the right side.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/77d9e985-0fdd-4cbe-aff3-a54827e390ec
https://github.com/Expensify/App/assets/93399543/7f2f2f76-6821-4f03-8f43-2bc0d9e75389
Expensify/Expensify Issue URL:
Issue reported by: @usmantariq96
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693465851943509
View all open jobs on GitHub

This is Dupe of  #26670

Agreed.


Pattern - Rename to something else

The pattern in the connector json file is a bit confusing name
https://github.com/redhat-ipaas/connectors/blob/master/connectors/timer-connector/src/main/resources/camel-connector.json#L14
It has the values: From, To or Both
It denotes whether you can use it as input or output in an integration flow, or both.
It name is inspired from MEP (aka Message Exchange Pattern in Apache Camel.
We can try to come up with a different name or change it to two options
input: true|false
output: true|false

If input or output is better understood?
The EIP / Camel terms with Consumer and Producer is maybe also a bit confusing from ipaas pov?
consumer: true|false
producer: true|false

I think since time has passed we are stuck with this name


remove ssh_config

We are looking at using another way to manage our ssh stuff.

Should we wait until we have the new way to manage our SSH configuration before merging this?

We use a tag for this module. Its a bit :hatching_chick: and :egg:
To not break stuff when I switch I need a new tag for the Puppetfile.


WIP: reflect default values for Scala 2 case class constructors

Derive/reflect default values for case classes, when an object instance from a checkpoint/savepoint does not have enough constructor args.
This solves case class evolution problem.

Scala2: reflection
Scala 3: TODO

Hi,
I have double checked, fix looks good.
Thanks for taking care of this bug.
Cheers.


friend controller test

Sorry somehow cannot push local changes in last pr

Here is the controller test

rename the PR


CVE-2023-32697 is not detected

CVE-2023-32697 is not detected by StackRox scanner (v4.0.0)
java library org.xerial:sqlite-jdbc (sqlite-jdbc-<IP_ADDRESS>.jar)
I have installed version <IP_ADDRESS> of sqlite-jdbc-<IP_ADDRESS>.jar, the fixed version would be <IP_ADDRESS>

moving to stackrox/scanner

This is for stackrox/scanner but there doesn't seem to be a way to add issues for them specifically

Hello, thank you for raising this issue!
I have reported it to the scanner team.

@stackrox/scanner any updates from your side?

Hi @danekantner, I'm seeing the same result on my end with the Stackrox Scanner, I'm assuming this is an issue mapping the jar to the vulnerability with the metadata from NVD.
The latest stackrox version (4.4) includes a new tech preview scanner (referred to as Scanner V4) that accurately detects this vulnerability, which may be worth considering.
I'll followup with the team to see what our options (if any) for fixing this detection in the "Stackrox Scanner"

Thanks for raising this issue @danekantner - detection for this CVE has been fixed with the latest "Stackrox Scanner" vulnerability definitions as well - closing this issue as a result. Thanks!


task: worked on angry page

worked on the angry page, since it's slightly similar to being angry, I decided to just change the text but kept it almost similar. Hope that is still okay. Let me know what you would want changed and removed

ss please

This is the screenshot for the angry page

Align items in center.

The text is already aligned, it's just in the screenshot the browser was minimised. It's the same for the pages when I view them in a minimised window. So there are no changes I can make. Try to view the changes in a large window


Modify robots.txt

Checklist

[x] I have read the newlest tutorials and know the correct effect of the functional design.
[x] There is no similar question on existing issues (including closed ones).
[x] I have tried to find the answer on Jekyll Forum and StackOverflow.
[x] My question is based on the latest code of the master branch.

Description

Hey,
I'm new to jekyll and hope it's really a problem with chirpy and not a jekyll-problem:
I want to disallow some pages of my site in robots.txt. But I don't know where to modify/edit this. When I change it in my _site-folder, it is overwritten with every build. So where can I modify it, so it isn't overwritten with every build?

assets/robots.txt

assets/robots.txt

That only puts it in my assets-folder. But i need it in my _site-root


target: mbedos5: Support for building on Windows

This patch allows users to build for the mbedos5 target on Windows (normal
Windows and Cygwin). Also needs
https://github.com/ARMmbed/mbed-js-gulp/pull/14.
JerryScript-DCO-1.0-Signed-off-by: Jan Jongboom<EMAIL_ADDRESS>/cc @thegecko

This is the error:
Signed-off-by message is incorrect. The following line should be at the end of the f1835e4 commit's message: 'JerryScript-DCO-1.0-Signed-off-by: Jan Jongboom<EMAIL_ADDRESS>

@zherczeg Ah, my VM had the wrong git email set. Rebased and re-committed.

LGTM


0x8960 reboots after stage patch in linux..

Hi sir, 0x8960 device reboots after patch...

usb_timeout: 5
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID:8960 CPRV:11 CPFM:03 SCEP:01 BDID:00 ECID:000000B6F437ED14 IBFL:1C SRTG:[iBoot-1704.10]
Found the USB handle.
Stage: RESET
ret: true
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID:8960 CPRV:11 CPFM:03 SCEP:01 BDID:00 ECID:000000B6F437ED14 IBFL:1C SRTG:[iBoot-1704.10]
Found the USB handle.
Stage: SPRAY
ret: true
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID:8960 CPRV:11 CPFM:03 SCEP:01 BDID:00 ECID:000000B6F437ED14 IBFL:1C SRTG:[iBoot-1704.10]
Found the USB handle.
Stage: SETUP
ret: true
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID:8960 CPRV:11 CPFM:03 SCEP:01 BDID:00 ECID:000000B6F437ED14 IBFL:1C SRTG:[iBoot-1704.10]
Found the USB handle.
Stage: PATCH
ret: true
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227

output in kmsg gives:

6,1050,83212389,-;usb 1-1: new high-speed USB device number 4 using xhci_hcd
SUBSYSTEM=usb
DEVICE=+usb:1-1
6,1051,83361052,-;usb 1-1: New USB device found, idVendor=05ac, idProduct=1227, bcdDevice= 0.00
SUBSYSTEM=usb
DEVICE=c189:3
6,1052,83361060,-;usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
SUBSYSTEM=usb
DEVICE=c189:3
6,1053,83361063,-;usb 1-1: Product: Apple Mobile Device (DFU Mode)
SUBSYSTEM=usb
DEVICE=c189:3
6,1054,83361065,-;usb 1-1: Manufacturer: Apple Inc.
SUBSYSTEM=usb
DEVICE=c189:3
6,1055,83361067,-;usb 1-1: SerialNumber: CPID:8960 CPRV:11 CPFM:03 SCEP:01 BDID:0A ECID:0000078D8A0C8A98 IBFL:1C SRTG:[iBoot-1704.10]
SUBSYSTEM=usb
DEVICE=c189:3
6,1056,83372515,-;usbcore: registered new device driver apple-mfi-fastcharge
6,1057,178436938,-;apple-mfi-fastcharge 1-1: reset high-speed USB device number 4 using xhci_hcd
SUBSYSTEM=usb
DEVICE=c189:3
6,1058,188933074,-;apple-mfi-fastcharge 1-1: reset high-speed USB device number 4 using xhci_hcd
SUBSYSTEM=usb
DEVICE=c189:3
6,1059,189425117,-;apple-mfi-fastcharge 1-1: reset high-speed USB device number 4 using xhci_hcd
SUBSYSTEM=usb
DEVICE=c189:3
6,1060,189713104,-;apple-mfi-fastcharge 1-1: reset high-speed USB device number 4 using xhci_hcd
SUBSYSTEM=usb
DEVICE=c189:3
6,1061,189860842,-;apple-mfi-fastcharge 1-1: device firmware changed
SUBSYSTEM=usb
DEVICE=c189:3
6,1062,189860921,-;apple-mfi-fastcharge 1-1: USB disconnect, device number 4
SUBSYSTEM=usb
DEVICE=c189:3
6,1063,189988727,-;usb 1-1: new high-speed USB device number 5 using xhci_hcd
SUBSYSTEM=usb
DEVICE=+usb:1-1
4,1064,190137372,-;usb 1-1: config index 0 descriptor too short (expected 25, got 9)
SUBSYSTEM=usb
DEVICE=+usb:1-1
4,1065,190137384,-;usb 1-1: config 1 has 0 interfaces, different from the descriptor's value: 1
SUBSYSTEM=usb
DEVICE=+usb:1-1
6,1066,190137738,-;usb 1-1: New USB device found, idVendor=05ac, idProduct=1227, bcdDevice= 0.00
SUBSYSTEM=usb
DEVICE=c189:4
6,1067,190137749,-;usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=6
SUBSYSTEM=usb
DEVICE=c189:4
6,1068,190137755,-;usb 1-1: Product: \xd0\x89
SUBSYSTEM=usb
DEVICE=c189:4
6,1069,190137759,-;usb 1-1: Manufacturer: Apple Mobile Device (DFU Mode)
SUBSYSTEM=usb
DEVICE=c189:4
6,1070,190137763,-;usb 1-1: SerialNumber: Apple Inc.
SUBSYSTEM=usb
DEVICE=c189:4
3,1071,195172866,-;apple-mfi-fastcharge 1-1: can't set config #1, error -110
SUBSYSTEM=usb
DEVICE=c189:4
6,1072,236138787,-;apple-mfi-fastcharge 1-1: USB disconnect, device number 5
SUBSYSTEM=usb
DEVICE=c189:4
6,1073,442930647,-;usb 1-1: new high-speed USB device number 6 using xhci_hcd
SUBSYSTEM=usb
DEVICE=+usb:1-1
6,1074,443079369,-;usb 1-1: New USB device found, idVendor=05ac, idProduct=1227, bcdDevice= 0.00
SUBSYSTEM=usb
DEVICE=c189:5
6,1075,443079377,-;usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
SUBSYSTEM=usb
DEVICE=c189:5
6,1076,443079380,-;usb 1-1: Product: Apple Mobile Device (DFU Mode)
SUBSYSTEM=usb
DEVICE=c189:5
6,1077,443079383,-;usb 1-1: Manufacturer: Apple Inc.
SUBSYSTEM=usb
DEVICE=c189:5
6,1078,443079385,-;usb 1-1: SerialNumber: CPID:8960 CPRV:11 CPFM:03 SCEP:01 BDID:0A ECID:0000078D8A0C8A98 IBFL:1C SRTG:[iBoot-1704.10]
SUBSYSTEM=usb
DEVICE=c189:5
6,1079,446891100,-;apple-mfi-fastcharge 1-1: reset high-speed USB device number 6 using xhci_hcd
SUBSYSTEM=usb
DEVICE=c189:5
6,1080,457375178,-;apple-mfi-fastcharge 1-1: reset high-speed USB device number 6 using xhci_hcd
SUBSYSTEM=usb
DEVICE=c189:5
6,1081,457655206,-;apple-mfi-fastcharge 1-1: reset high-speed USB device number 6 using xhci_hcd
SUBSYSTEM=usb
DEVICE=c189:5
6,1082,457943236,-;apple-mfi-fastcharge 1-1: reset high-speed USB device number 6 using xhci_hcd
SUBSYSTEM=usb
DEVICE=c189:5
6,1083,458091019,-;apple-mfi-fastcharge 1-1: device firmware changed
SUBSYSTEM=usb
DEVICE=c189:5
6,1084,458091090,-;apple-mfi-fastcharge 1-1: USB disconnect, device number 6
SUBSYSTEM=usb
DEVICE=c189:5
6,1085,458218879,-;usb 1-1: new high-speed USB device number 7 using xhci_hcd
SUBSYSTEM=usb
DEVICE=+usb:1-1
4,1086,458367447,-;usb 1-1: config index 0 descriptor too short (expected 25, got 9)
SUBSYSTEM=usb
DEVICE=+usb:1-1
4,1087,458367457,-;usb 1-1: config 1 has 0 interfaces, different from the descriptor's value: 1
SUBSYSTEM=usb
DEVICE=+usb:1-1
6,1088,458368122,-;usb 1-1: New USB device found, idVendor=05ac, idProduct=1227, bcdDevice= 0.00
SUBSYSTEM=usb
DEVICE=c189:6
6,1089,458368132,-;usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=6
SUBSYSTEM=usb
DEVICE=c189:6
6,1090,458368137,-;usb 1-1: Product: \xd0\x89
SUBSYSTEM=usb
DEVICE=c189:6
6,1091,458368140,-;usb 1-1: Manufacturer: Apple Mobile Device (DFU Mode)
SUBSYSTEM=usb
DEVICE=c189:6
6,1092,458368143,-;usb 1-1: SerialNumber: Apple Inc.
SUBSYSTEM=usb
DEVICE=c189:6
3,1093,463463016,-;apple-mfi-fastcharge 1-1: can't set config #1, error -110
SUBSYSTEM=usb
DEVICE=c189:6
6,1094,504428614,-;apple-mfi-fastcharge 1-1: USB disconnect, device number 7
SUBSYSTEM=usb
DEVICE=c189:6

i think is because of this?

4,1064,190137372,-;usb 1-1: config index 0 descriptor too short (expected 25, got 9)
SUBSYSTEM=usb
DEVICE=+usb:1-1
4,1065,190137384,-;usb 1-1: config 1 has 0 interfaces, different from the descriptor's value: 1

Will close this issue as problem was fixed with latest commit..
Thanks 0x7ff for your hard work ..


docs(v2): Add AI-Speaker site to showcase page

Motivation
The documentation of AI-Speaker is using Docusaurus v2. It could be cool to add it in the showcase page.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Run yarn run start:v2 and check that the page http://localhost:3000/showcase is rendered properly.
Related PRs
No

thanks, LGTM 👍
The CI issue is just due to prettier formatting, will fix this


[stable/prometheus] Unify labels and annotations

Is this a new chart
No
What this PR does / why we need it:
This PR unify labels and annotations across all deploymets and statefulsets in stable/prometheus Helm chart
+ removed useless trailing pipe chars (|) in README.md
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @xtigyro

/ok-to-test

See #23692. We're ready to deprecate stable/prometheus in favor of the new repo. Can this PR please be opened over there instead?

@hmlkao The only option has become the new repo. Please open the same PR there if it's okay for ya. Apologies for the double effort!
@scottrigby Agreed.

Well, I've created PR in new repo and add requested additions
https://github.com/prometheus-community/helm-charts/pull/45


include-what-you-use: 0.18 -> 0.19

Description of changes
https://github.com/include-what-you-use/include-what-you-use/releases/tag/0.19
Work in progress, waiting LLVM 15 in #194634.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

LLVM 15 landed in #194634. I rebased my PR on top of it.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1786


Design profile photo

it is necessary to design a profile picture

This is the image, it's done with gimp


Check variable implements a protocol

Hi!
First of all great work!
I had the same idea from months but I've never found the time to implement it. Very great work :)
I'm trying to understand how to check if a variable (of a struct) implements a protocol but I can't find a way.
Is it possible? it could be that I'm missing something though (I just started to try the project)

Hi @bolismauro . Yes it is possible. When you have variable int he template just do {% if variable.type.implements.Protocol %}

What I'm trying to achieve is this
{% for type in types.implementing.AutoEquatable %}
extension {{ type.name }}: Equatable {
  func == (lhs: {{ type.name }}, rhs: {{ type.name }}) -> Bool {
      {% for variable in type.storedVariables %}
        {% if variable.type.inheritedTypes.Equatable %}
        if lhs.{{ variable.name }} != rhs.{{ variable.name }} { return false }
        {% endif %
      {% endfor %}
      return true
  }
}
{% endfor %}

with this struct
struct Book: AutoEquatable {
  let name: String
  let author: String
  let numPages: Int
}

I get an empty file (completely empty). I guess there is some kind of problem in the template, because at least some part of the code should be generated.
Is it because of #41 ?

You should have AutoEquatable defined in your sources somewhere, do you? If you don't that might be the reason why you get an empty file. implementing and inheriting only contain known types, meaning that they are defined in processed sources so that we know either they are protocols or classes. If type is defined somewhere else it will be present in types.based only (this collection contains all the types, known and unknown).
For variables type property will be only set if the type is known. In case of String type we don't know what is this type and what protocols it implements, that's why inheritedTypes.Equatable will not work. You should add extension String: AutoEquatable {}, then you will be able to check it with variable.type.inheritedTypes.AutoEquatable.

I tried it before writing but I didn't restart sourcery (it was in watch mode) and that's why I didn't see changes.
In general I think it would be extremely useful to access to built-in types, but I guess it would take a lot of time to analyse all that code, right?
Thanks for the help :)

I tried it before writing but I didn't restart sourcery (it was in watch mode) and that's why I didn't see changes.
The problem is that I have to let sourcery find the Int: AutoEquatable but then it will also generate the equatable definition for the Int type, which is of course something wrong.
I guess I have to add another protocol like Skip to prevent this behaviour. Is there a better way?
In general I think it would be extremely useful to access to built-in types, but I guess it would take a lot of time to analyse all that code, right?
Thanks for the help :)

We could in theory run Sourcery against iOS frameworks and cache meta-data informations in the tool, but we'd need to make sure it's updated properly etc so not sure if that's something we should tackle yet.
@bolismauro you can use source annotations to skip, take a look at docs

I'll add ability to check conformance as in #42

Makes sense @krzysztofzablocki
Thanks to both of you for the help. I think I've managed to do what I was trying to achieve :)
I think we can close this if it is ok for you

Glad to hear, we are very actively working on features so more and more should be possible with less burden soon :)

For future reference
variable.type.inheritedTypes.PROTOCOL doesn't work
See also #42 and #43


help with Leaflet.awesome-markers

im tyring to use https://github.com/lennardv2/Leaflet.awesome-markers
tried to pass icon as suggested but getting error
$markers[] = [
'lat' => $record->latitude,
'long' => $record->longitude,
'info' => $info,
'icon' => L.AwesomeMarkers.icon(array(
'icon' => 'spinner',
'prefix' => 'fa',
'markerColor' => 'red'
))
];
and

im tyring to use https://github.com/lennardv2/Leaflet.awesome-markers tried to pass icon as suggested but getting error
$markers[] = [ 'lat' => $record->latitude, 'long' => $record->longitude, 'info' => $info, 'icon' => L.AwesomeMarkers.icon(array( 'icon' => 'spinner', 'prefix' => 'fa', 'markerColor' => 'red' )) ];
and

I don't know how to use the library in the laravel maps but for me when I wanted a marker to look different I just change the icon property like this :

The marker.png is an icon

Hey @NXC-Controls and @tarikbouchaala this library does not support working with https://github.com/lennardv2/Leaflet.awesome-markers. We only support what is said in the readme.

Hey @NXC-Controls and @tarikbouchaala this library does not support working with https://github.com/lennardv2/Leaflet.awesome-markers. We only support what is said in the readme.

Yeah yeah I gave him an alternative


Merge this package?

I came across your repositories, and this one. And think it should maybe go into DataStructures.jl (also your Index1024.jl which looks intriguing, or too specialized there?) or more likely it's dependency:
https://github.com/JuliaCollections/OrderedCollections.jl/blob/301ec4b616768730c1b28fa8f13663b440030fb1/src/ordered_dict.jl#L13
I'm not sure if your and the above should subtype AbstractDict directly. Maybe rather AbstractOrderedDict (that should be available?) that would be a subtype of AbstractDict.
I tried unsuccessfully to get an ordered dict into Base. I think it should be the default there (as in Python), while maybe not hugely important. Basically I'm thinking have the best defaults, and only one (or possibly two) there, to now confuse users too much (same for arrays, one default, then open to also static arrays in Base). But haveing all the alternatives, in one or few places is also a good thing.
I believe you can change the license to MIT from Unlicence/public domain, and would need to to merge there (or could some implementations have a more permissive one, just stated in its file?). I believe @oxinabox would know if and where this AODict might be well received.
I also noticed (your) DataFrameTools.jl, the fork and the original I didn't know of. In an open source world, it's inevitable you have code spread out. I knew of the to DF packages related to DataFrames.jl, but again, maybe some should be merged (get more of a Pandas ecosystem, one go to place, or at least a link from there to a few extras).

Hi, that's interesting. The AODict is not my original creation but a derivative work from someone else's Gist - hence the license change - Gists don't have them and I picked MIT by habit but contacted the original author and we agreed on PD.
tbh I'm not totally happy with it now I've used it a few times. It's never quite what I want and the interface is incomplete as a Dict (I think). It seems to have gotchas when I've tried to use it.
Index1024 is interesting. I have been using it regularly as I work with multiple Gb read-only datasets and putting them into an RDBMS would consume even more disk space and I enjoyed the challenge of writing it.
I only added one line of code to DataFrameTools so that I can use it in a pipe. The project I use it in caches a few Gb of SQL results and tbh now I would save them as CSV and use Index1024 instead.
I shall look at DataStructures.jl and see what that is about. The thousands of Julia packages around are a blessing and a curse. I really enjoy the fact I can generalise something and put it on GitHub and incorporate it easily into my future code. I've been programming since the 1980s and never had such code re-usability available.

DataStructures.jl is not accepting PR to add more DataStructures until it hits a 1.0 release.


E5560: nvim_create_buf must not be called in a lua loop callback

I have this error returning to nvim after the laptop was locked
Error executing luv callback:
...re/nvim/site/pack/packer/opt/drop.nvim/lua/drop/drop.lua:74: E5560: nvim_create_buf must not be called in a lua loop callback
stack traceback:
        [C]: in function 'nvim_create_buf'
        ...re/nvim/site/pack/packer/opt/drop.nvim/lua/drop/drop.lua:74: in function 'show'
        ...re/nvim/site/pack/packer/opt/drop.nvim/lua/drop/init.lua:9: in function 'show'
        .../nvim/site/pack/packer/opt/drop.nvim/lua/drop/config.lua:70: in function <.../nvim/site/pack/packer/opt/drop.nvim/lua/drop/config.lua:68>

I am also having this issue whenever the screensaver is supposed to display.


Wires are missing a range check

They should use InRangeUnobstructed to check the range

Any idea on how Byond is doing this, and how we should do it? Do they use a NLP library, or just search for the previous / next "argument" word?


Bratseth/specify bandwidth

We haven't really treated bandwidth as a real constrained resource, but at least the first step to do so will be to actually set it.
This also fills in missing architecture @mpolden

11:46:40 [ERROR] Failures:
11:46:40 [ERROR]   ModelProvisioningTest.testRequiredNodesAndDedicatedClusterControllers:1406 Unexpected exception type thrown ==> expected: <java.lang.IllegalArgumentException> but was: <java.lang.IllegalStateException>
11:46:40 [ERROR]   ModelProvisioningTest.testRequiringMoreNodesThanAreAvailable:1384 Unexpected exception type thrown ==> expected: <java.lang.IllegalArgumentException> but was: <java.lang.IllegalStateException>
11:46:40 [ERROR]   QuotaValidatorTest.test_deploy_above_quota_budget:51 expected: <The resources used cost $1.63 but your quota is $1.25: Contact support to upgrade your plan.> but was: <Cannot perform this on unspecified resources>
11:46:40 [ERROR]   QuotaValidatorTest.test_deploy_above_quota_budget_in_dev:88 expected: <The resources used cost $0.16 but your quota is $0.01: Contact support to upgrade your plan.> but was: <Cannot perform this on unspecified resources>
11:46:40 [ERROR]   QuotaValidatorTest.test_deploy_above_quota_budget_in_publiccd:62 expected: <publiccd: The resources used cost $1.63 but your quota is $1.00: Contact support to upgrade your plan.> but was: <Cannot perform this on unspecified resources>
11:46:40 [ERROR]   QuotaValidatorTest.test_deploy_above_quota_clustersize:40 expected: <Clusters testCluster exceeded max cluster size of 10> but was: <Cannot perform this on unspecified resources>
11:46:40 [ERROR]   QuotaValidatorTest.test_deploy_max_resources_above_quota:73 expected: <publiccd: The resources used cost $1.63 but your quota is $1.25: Contact support to upgrade your plan.> but was: <Cannot perform this on unspecified resources>
11:46:40 [ERROR]   QuotaValidatorTest.test_deploy_with_negative_budget:108 expected: <The resources used cost $-.-- but your quota is $--.--:


profiles/graphical.nix: Drop systemWide pulseaudio in iso

Motivation for this change
It's not needed since #66338 and should have been done earlier.
This is based on a follow-up on #56167.
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @

Did the users of graphical.nix ever use a root user?
It appears Demo user account is what's used in demo.nix, so I'm not sure this was ever needed.

@worldofpeace

Did the users of graphical.nix ever use a root user?

Yes it did. That's why I added that line. I tested it myself both before and after adding the line on actual hardware.

It appears Demo user account is what's used in demo.nix, so I'm not sure this was ever needed.

I'm not sure what demo.nix is for...

@etu I believe it's for the ova. We have this annoying inconsistency with the ISO's and the OVA.
Even worse is we've documented and exposed them https://nixos.org/nixos/manual/index.html#sec-profile-demo, https://nixos.org/nixos/manual/index.html#sec-profile-graphical. I really hope no one was using this.

https://github.com/NixOS/nixpkgs/pull/66338 is in 19.09 so I think we should backport this.

@worldofpeace Yeah, we should. I'll look into it later today unless someone does it before me.


Bring back defaultEntryPoints in v2

I would like to propose bringing back the defaultEntryPoints option in version 2.
While it's not a huge deal to have to specify the entrypoints on your routers, having it default to every entrypoint if not specified can lead to unintended consequences.
In my case, I have services opened to the internet and some opened internally. If I forget to specify the entrypoint option, it will open my internal services to the internet. It would be nice to have the defaultEntryPoints option again such that if it's forgotten or omitted, it will default to what it specified which might be more restrictive than just automatically enabling it for all entryPoints.
Happy to work on a quick pull request if you give me some hints as to where you want it in the config and what files I should be looking at.

Related to https://github.com/containous/traefik/issues/5624

Hi @snowzach , thanks for the feature request.
The defaultEntrypoints directive had a meaning in v1 when TLS options where set per entrypoint.
With v2, TLS being defined at router level + ability to route at TCP level, the default entrypoint does not make sense as it could break the TCP router, or accidentally mux HTTP/TCP.
This is why we're going to close this issue as declined.

@dduportal couldn't this be considered at least for the base http option. The logs even sort of imply it should be a thing. I had some old docker labels in my config and started traefik v2 and by default: No entryPoint defined for this router, using the default one(s) instead: [http https ext_http ext_https] and I've just exposed a service to the internet that should never be open to the internet. It's just a safety net feature.


Sms autofill works only when you get the first sms

If the app receives a second sms the autofill doesn't work

Do you really need to listen for second SMS?

Makes sense, will do something about it.

Tks. It's not a big problem. The actual version is really good and functional!

2.2.7 -04/04/2022

Option to listen for multiple sms on android
| Property   | Meaning/Default |
|------------|:-------:|
| listenForMultipleSmsOnAndroid  | false |


Ouroboros is Unsound -- RUSTSEC-2023-0042

Unfortunate news, but may be relevant before v3 release: https://rustsec.org/advisories/RUSTSEC-2023-0042
$ cargo audit
...
Crate:     ouroboros
Version:   0.15.6
Warning:   unsound
Title:     Ouroboros is Unsound
Date:      2023-06-11
ID:        RUSTSEC-2023-0042
URL:       https://rustsec.org/advisories/RUSTSEC-2023-0042
Dependency tree:
ouroboros 0.15.6
└── imap 3.0.0-alpha.10
...

#265 is now merged and according to the advisory, 0.16 does not have this issue any more, so I think we're good! I'll cut a new alpha soon-ish :) If I forget, please ping me!


Add aws-sdk-dynamodb 0.22 support

https://github.com/zenlist/serde_dynamo/issues/57

Thank you!

Released in version 4.0.10 which is now on crates.io.


Changes from running IDE generator

Run IDE generator on release-candidate
Checklist:

[ ] I have tested my changes. No regression in existing tests.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Closing the PR as correct changes were made in #2018


Add adapt credentials endpoint

Pull Request Template
Prerequisites

This relates to #167 and implements the adapt_credentials endpoint.

Motivation
One step closer to implementing the issue #167
Approach
It forwards the additional endpoint adapt_credentials to the service broker.
Pull Request status

[x] Initial implementation
[x] Unit tests

Third-party code
n/a
Work in Progress label
n/a

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

Adapt credentials is probably part of 2.15 OSB spec.


Support camelCase shourtcuts for configuration selection in dependecies/dependencyInsinght task

Fixes #16141
I'll add relevant docs for this feature if required.
Do I need to add some integration tests for such trivial change? I've added couple of tests into DependencyReportTaskTest which check relevant behavior change.
Also sanityCheck against master fails 'cause dependency verification failures in independent modules. So I checked relevant todo item below.
Context
See #16141 and https://gradle-community.slack.com/archives/CA7UM03V3/p1611706682059700
Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[x] Provide unit tests (under <subproject>/src/test) to verify logic
[x] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass sanity check: ./gradlew sanityCheck
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

Rebased on master and squashed commits into one

@grossws Sorry for the late reply. Your PR makes sense. I'll give it a more thorough review.

Running the changes through CI: https://builds.gradle.org/viewQueued.html?itemId=43971909

@donat, thanks for review. I'll update PR when have a bit of time.

Sounds good. Looking forward to the update.

@grossws It's fine, I've adjusted the text there.

@bot-gradle test and merge

OK, I've already triggered a build for you.

Thanks, @donat

This PR breaks configurations that are created via Rules. There should be a final getByName if the finder here fails (https://github.com/gradle/gradle/commit/c190a1ba9997db532884c0f0a443dc4b29c638d2#diff-9c98c9ba8979d3a753ca3ebdc39a2c5d84bef93c3889132cc0ff67bf8702eedaR30). For example, in Nokee we use this code to execute additional code that may create configurations. The previous getByName here would trigger any container rules.

@grossws https://github.com/gradle/gradle/pull/16142#issuecomment-859076187 is valid. I'm about to revert your PR: https://github.com/gradle/gradle/pull/17428.
Could you please submit another PR that takes the rules into account?
An integtest is pretty simple for this case: gradle dependencies --configuration foo should pass for the following build script:
project.afterEvaluate { p ->
    p.configurations.addRule('my custom config defined via a rule', { s ->
        if (s == 'foo') {
            p.configurations.create('foo')
       }
	)
}

@donat, ok, I'll fix that and add tests. Should I create PR against current master or this PR branch?
@lacasseio, thanks for your feedback and catching a bug)

I feel bad for forcing a revert as the feature is pretty cool. I hope you can submit a change quickly. :-)

@lacasseio, already done in #17445 ,)


Showing a way to handle Mime Types and the Apache mime.types file

It is nice if a server responds with Content-Type set in the header when sending files.
The example shows a way to handle mime types (ready for copy and paste for all the lazy ones ;-) ) and how to use it in the default file handler of the example.
The mime types are downloaded from the web. This demonstrates the use of Client to download content from another server and react on the content of the respone's status code. If successful (200 OK) it parses the content into a simple lookup table.
Perhaps it is useful to move the "class MimeTypes" lookup table to some other part of the project. Having a config option to automatic load a file in the mime.types format. I missed this kind of feature everytime I had to use an embedded web server. But perhaps this is not in the scope of this project...?

It is slightly out of scope of this project, but I'm thinking of adding a util.hpp with various functions such as this maybe. At the moment though, the client is able to figure out the file type based on the extension of the give path? There are cases though where the file extension is not given in the path, for instance if something like this is used instead: http://localhost/file?id=42.

In my changes in http_example.cpp the mime type is detected based on the file extension of the file on disk which is send back by the "default handler".
I guess a utils.hpp would be really nice.
In most cases the author of the handler methods is in charge for setting (or not setting) the Content-Type correctly. Usually the handler knows what it delivers. But the default (file) handler in the example does not know. It only sends files back. It needs a way to detect what Conten-Type to set based on the real content of the file. And this simple mapping from file extension to mime type is enough for most use cases. This is all what my example does. MimeTypes only parses the mime.types file with an "official" list of file extension to mime type mapping. (The file can be distributed like a config file or hard coded or downloaded in the real application which is using SimpleWebServer. Downloading the file from apache has nothing to do with this Content-Type stuff in general. I only thought it is nice to show the use of the Client downloading something and then processing it.)

Thank you, but let's say that you request http://localhost/test.jpg form the client. At least most browsers understands that the response is a jpg file (when Content-Type is absent) based on the request path (/test.jpg), or am I wrong?

I guess some browsers simply try to identify the real content of the data they get in response. I cannot immagine that examining the request path is really done (and I immagine that this could induce some security risks. But I am no expert!)
Another feature: One can use the Content-Type to explicitly tell the client what this representation of a resource really is.
Without Content-Type present in the header a lot clients interpret the data as application/octet-stream which perhaps opens a download window or something like this. While image/jpeg displays the same data of this resource on the screen.
But this has nothing to do with the Mime Type lookup in my http_example.
I think correct handling of Content-Type is "polite" and especially for RESTful services more or less important.

You are right, it is polite to add Content-Type:) Do you know of a git repository that is dedicated to having an up to date Mime type lookup? We could maybe add this as a git submodule and use this in case it is present? The functionality should maybe be in a utils.hpp file instead of the http(s)_examples.cpp since these latter files should be as basic as possible I think. The function definition could maybe be something like SimpleWeb::Utils::content_type(const std::string &extension) and should return for instance image/jpg if jpg is the extension parameter. I'm open for discussion however!

Some browser (like chrome) couldnt care less about the content-type (probably doing some mime magic stuff). But some are expecting them (like firefox) and might even whine in some context to the end-user.


EBS io1 volumes support

It looks like the AWS plugin doesn't support io1 EBS volumes, is there any particular reason for it? I can open a PR if necessary.

It's coming in a future Director release. In addition to the logic to request the volumes, this requires a new configuration parameter and extra validation logic.

Perfect, thanks!


pull request for e2e test at 11/14/2016 02:56:09

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


The zoo is under new management (zk cleanup)

Be much nicer to zookeeper by avoiding possible large payloads, specifically:

Namespace pending tasks by request id so that the list children call for this does not get to large when there are thousands of pending tasks

Avoid the list + filter call, which required fetching all pending task ids to find the ones for a particular request

Remove usage of the /tasks/active node entirely since we have this data elsewhere
Namespaces last active task statuses nodes by request id and use this data to power the active tasks list instead
clean up nodes from old features that are no longer used

Still TODO on this PR:

[x] automatic cleanup of request groups when a request is deleted
[x] revisit caching to determine if any additional data can be leader cached
[x] more aggressive pruning of inactive slaves data

We weren't using the correct code paths to hit the leader cache for slave + rack data, causing lots of unneeded zk calls for those. Fixed in this PR now

/fixes https://github.com/HubSpot/Singularity/issues/1823

:ship:


How should imports in js modules be handled?

I am working on creating Rust bindings for the three.js graphics library. I have checked out the js library as a submodule as part my repository threejs-sys. Now, in this js library there are several js modules that reference each other. For this example, one of the lowest level classes called Object3D depends on several other classes via import statements (mostly math classes like vectors, quaternions etc). I would have thought that since these import statements exist, these modules would have been included in pkg/snippets/CRATE-xyz/ alongside Object3D.js when I build with wasm-pack.
However, when I build my testbench, I find that only Object3D.js gets pulled into the build and everything that it imports is left behind leaving dangling references to the other modules.
Is this a bug or am I doing something wrong here?

Currently transitive imports in included snippets to other snippets is not supported. The intention is that you'd list code as depending on the npm module directly, and then an ambient bundler/runtime would get the npm dependency working.


Allow overriding ESXi IP address with a custom attribute - Part 2

This pull request is a follow-up of https://github.com/ManageIQ/manageiq/pull/19954 to account for the custom attributes when using SSH transport method.
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1812685

@miq-bot add-label v2v, enhancement, ivanchuk/yes
@miq-bot add-reviewer @agrare

Backported to ivanchuk via https://github.com/ManageIQ/manageiq/pull/20069

Jansa backport details:
$ git log -1
commit 8bc4cf631609fd321632b5d883f7f3bb217733b3
Author: Adam Grare<EMAIL_ADDRESS>Date:   Mon Mar 23 11:05:51 2020 -0400

    Merge pull request #19995 from fdupont-redhat/v2v_bz_1812685_2

    Allow overriding ESXi IP address with a custom attribute - Part 2

    (cherry picked from commit<PHONE_NUMBER>680c426e319124c4bf789863a33d4c)

    https://bugzilla.redhat.com/show_bug.cgi?id=1812685


Undetected garbage input for traverse

If I understand the problem correctly, then I think all functions which take a TypeRep f and an f somewhere would suffer from the same problem. I fear the solution would involve adding a new kind of check to sanctuary-def, or in other words: built-in support for type representatives.

Oh it's worse. In your example we cannot know that Maybe is the wrong typerep, unless we would know the return type of words beforehand.

We don't know a function's return type at run time, so I don't think there's anything sanctuary-def can do in this case, unfortunately.


Once progressed to completion, how do I get it back?

I pressed enter on something "in progress" by mistake. How do I get it back?

Hey @canadaduane, good question. Currently you can't. If you accidentally hit enter on something in TODO and it moves to In Progress you can just hit BACKSPACE on it, but if it goes off the board currently you're sort of screwed.
🤔 I'm thinking maybe there should be a way to view all of your "Completed" items on a screen with some stats or something that would provide you a way to bump it back onto the board.


_ServiceNotes Empty

I was wondering why serviceNotes comes back empty when there is data on bookings.

I suggest using https://developer.microsoft.com/en-us/graph/support to submit questions and feature requests. Thanks.


Create WaterReminder.py

Also, add Water_Reminder_CONTRIBUTION.md inside your project's folder.
Refer this file here.


Hide scrollbar automatically if --no-mouse is specified

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[ ] Linux
[x] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[ ] zsh
[x] fish

Problem / Steps to reproduce
After updating to v0.36.0 scrollbar appeared at window and at preview window. I wanted to hide it, because I don't use mouse and I have --no-mouse enabled in my FZF_DEFAULT_OPTS. I added --no-scrollbar, as it was described in release notes, but I think, it will be better to automatically hide scrollbars, if --no-mouse is enabled, because scrollbars are inactive and don't to anything. Also they don't give useful visual information about position, because there are already an entry counter at bottom of window and a line counter at top of preview window.

Also they don't give useful visual information about position

That's subjective. I find it easier to find the position by looking at the size and position of the scrollbar than by reading the numbers. Actually, I really considered removing the line counter of the preview window after adding the scrollbar but now I know someone prefers it over the scrollbar :)
Wonder why you disable mouse support, it's quite useful for scrolling the preview window.

Thanks for the detailed answer!
I have an other question. The preview window has a line counter, but the main window doesn't. I mixed up the entry counter (filtered/all at the bottom of the entry window) with a cursor position (pos/filtered). Is there a way to show a cursor position like showing a line counter? It will help to understand a relative position of cursor, so it will fit my workflow.

No. The two windows have very different purposes and it's natural they provide different UI elements. The main search window presents the results sorted by their relevance, and the user normally wouldn't have to scroll far away from the top position. (i.e. Narrow down the list by typing in the query until the best match appears, then press enter to select it. No cursor movement during the process.) I believe the additional scroll info panel will likely confuse the users without much benefit.

Okay, I understand now. Thank you, have a nice day!


Login as other user and then elevate as root

I am trying to login to my synology using my user and then elevate to root and then run a command using a home assistant script.
This is what i have so far:
service: ssh_command.exec_command
data:
  host: <IP_ADDRESS>
  port: 22
  user: andremain
  pass: password
  command: ssh -p password<EMAIL_ADDRESS>-i sudo synonet --wake "54:04:a6:28:d4:fa" eth0

Please help!

I don't know how to help

I am trying to login to my synology using my user and then elevate to root and then run a command using a home assistant script.
This is what i have so far:
service: ssh_command.exec_command
data:
  host: <IP_ADDRESS>
  port: 22
  user: andremain
  pass: password
  command: ssh -p password<EMAIL_ADDRESS>-i sudo synonet --wake "54:04:a6:28:d4:fa" eth0

Please help!

Do you have SSH enabled on the Synology server? You might also try the Synology integration in HomeAssistant but I think you're trying to do a "Wake on Lan" argument.


Don't set parent buffer as hidden

solves https://github.com/rmagatti/goto-preview/issues/66

Thanks for the PR!


Update README.md

fix update guide link: removed spacing between [] ()

Hi @dietergoetelen
Thanks for your PR, sadly there's already an open PR to fix this issue:
https://github.com/angular/angular-cli/pull/5604

Closing as above.


Null Pointer Exception in QualarooActivity

Hi
We get lot of production crashes with the below stack trace.  Could you check what would be the issue?
`Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.goeuro.rosie/com.qualaroo.QualarooActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'long com.qualaroo.internal.model.Question.a()' on a null object reference
at android.app.ActivityThread.performLaunchActivity + 3448(ActivityThread.java:3448)
at android.app.ActivityThread.handleLaunchActivity + 3595(ActivityThread.java:3595)
at android.app.servertransaction.LaunchActivityItem.execute + 83(LaunchActivityItem.java:83)
at android.app.servertransaction.TransactionExecutor.executeCallbacks + 135(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute + 95(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage + 2147(ActivityThread.java:2147)
at android.os.Handler.dispatchMessage + 107(Handler.java:107)
at android.os.Looper.loop + 237(Looper.java:237)
at android.app.ActivityThread.main + 7811(ActivityThread.java:7811)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run + 493(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main + 1076(ZygoteInit.java:1076)
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'long com.qualaroo.internal.model.Question.a()' on a null object reference
at com.qualaroo.internal.d.a.a + 10(a.java:10)
at com.qualaroo.internal.d.a.b + 83(a.java:83)
at com.qualaroo.internal.d.a.a + 104(a.java:104)
at com.qualaroo.internal.d.a.b + 83(a.java:83)
at com.qualaroo.internal.d.a.a + 74(a.java:74)
at com.qualaroo.internal.d.a.b + 41(a.java:41)
at com.qualaroo.internal.d.a. + 52(a.java:52)
at com.qualaroo.ui.h. + 87(h.java:87)
at com.qualaroo.ui.e. + 36(e.java:36)
at com.qualaroo.ui.e.(e.java)
at com.qualaroo.ui.e$a.a + 90(e.java:90)
at com.qualaroo.Qualaroo.a + 4(Qualaroo.java:4)
at com.qualaroo.QualarooActivity.onCreate + 47(QualarooActivity.java:47)
at android.app.Activity.performCreate + 7955(Activity.java:7955)
at android.app.Activity.performCreate + 7944(Activity.java:7944)
at android.app.Instrumentation.callActivityOnCreate + 1307(Instrumentation.java:1307)
at android.app.ActivityThread.performLaunchActivity + 3423(ActivityThread.java:3423)
at android.app.ActivityThread.handleLaunchActivity + 3595(ActivityThread.java:3595)
at android.app.servertransaction.LaunchActivityItem.execute + 83(LaunchActivityItem.java:83)
at android.app.servertransaction.TransactionExecutor.executeCallbacks + 135(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute + 95(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage + 2147(ActivityThread.java:2147)
at android.os.Handler.dispatchMessage + 107(Handler.java:107)
at android.os.Looper.loop + 237(Looper.java:237)
at android.app.ActivityThread.main + 7811(ActivityThread.java:7811)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run + 493(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main + 1076(ZygoteInit.java:1076)`

Hi @ponsuyambu would you be able to provide proguard mapping file to<EMAIL_ADDRESS>We won't be able to do anything without as whole path is obfuscated.

Hi,
it's the Deobfuscated log. Qualaroo SDK itself comes with the obfuscated jar. See the attached pic.

@scana any update on this ticket?

@scana is there an update on this? I've just gotten Qualaroo set up and am seeing a similar crash (in Message, instead of Question)

@ahabbaba9 I am sorry, I am no longer employed at Qualaroo. From what I can see in this stacktrace, this seems like a backend issue. The only solution that comes to mind is to fork the library and work your way around with additional null-checks. However, this won't be a long-lasting solution.
I reached out to the new owners of Qualaroo and offered my help on fixing this and the other issues present, but I haven't got any response from them - so my hands are tied here.

@scana thank you for the reply! Appreciate your help on this

@gorillka @radiantnode pinging you both, since you show up as contributors on the main landing page. Maybe you can help give some insight here?

@ponsuyambu @ahabbaba9 We sincerely sorry for the inconvenience. Please connect with us at<EMAIL_ADDRESS>We need a few information regrading the survey that we cannot request here. Rest assured a dedicated mobile team is maintaining the repository and promising to act fast on it. Thank you for your kind patience.

@durgeshqualaroo I have sent an email.

Looks like this issue is fixed in the version 2.0.0! Thank you!

@ahabbaba9 Where did you find the version 2.0.0? I still see the latest version as 1.9.0? https://github.com/qualaroo/android-sdk/releases

@ponsuyambu I saw your email and I am responding you back with the steps. The upgraded version is something we're evaluating with the various circumstances. Once approved, it will be available here for everyone. Thank you for your kind patience.

@ahabbaba9 Thanks for the confirmation.

This issue was fixed in Qualaroo Backend and it is working fine for me, the issue was related to handling non-English languages in their backend. Thanks for the support @durgeshqualaroo

This issue was fixed in Qualaroo Backend and it is working fine for me, the issue was related to handling non-English languages in their backend. Thanks for the support @durgeshqualaroo


Disabled the X-Powered-By header

Attackers can use this header (which is enabled by default) to detect apps running Express and then launch specifically-targeted attacks.

Express Best Security Practices

I'd just install helmet at this point.

Closed in favor for #36


samples of the different keyboard sounds

What would you like to be added?
In the settings or on the community plugin page in Obsidian:
It would be nice to have samples of the different keyboard sounds.
Could be a link to a youtube video if not embedded.
Link to the github resource pack with the sample.
Why is this needed?
Otherwise have to download it from the github resources to test the sound.

didn't realize that you can download them from the plugin's settings page and then refresh the list.


Scrim improvements

Conform on open/close behaviour as other components #719. Introduce open property for controlling visiblity
Disable scroll when visible (#1587 )

Create a seperate task for disabling scrolling when scrim is visible for "good first issue"

Create a seperate task for disabling scrolling when scrim is visible for "good first issue"

Done #1587

Remaining feature todo:

Conform on open/close behaviour as other components Analyse conform close logic across components #719. Introduce open property for controlling visiblity